[Bug 266404] sysutils/edk2: on aarch64, edk2 fails to build for FreeBSD aarch64 libgcc_s.so.1 issues

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 15 Sep 2022 21:50:28 UTC

Mark Millard <marklmi26-fbsd@yahoo.com> changed:

           What    |Removed                     |Added
 Attachment #236544|0                           |1
        is obsolete|                            |

--- Comment #6 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
Created attachment 236582
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=236582&action=edit
Update the edk2 Makefile to use /usr/local/lib/gcc*/libgcc_s.so.1

This updated patch uses bsd.ports.pre.mk material to track the
lang/gcc* that the ports infrastucture picks.

portlint reports:

# portlint -C /usr/ports/sysutils/edk2/
WARN: Makefile: [23]: Setting a specific version for USE_GCC should only be
done as a last resort.  Unless you have confirmed this port does not build with
later versions of GCC, please use USE_GCC=yes:build+.
WARN: Makefile: "ONLY_FOR_ARCHS" has to appear earlier.
WARN: Makefile: "ONLY_FOR_ARCHS_REASON" has to appear earlier.

But its suggested notation "USE_GCC=yes:build+" is rejected in poudriere bulk
testing. For example:

[00:00:07] Ignoring sysutils/edk2@fvp | edk2-fvp-g202202_1: bad target
specification in USE_GCC; only "build" is supported

Thus the use of just: USE_GCC=yes:build

The ONLY_FOR_ARCHS relted notices are because of historically present
such conditional on FLAVOR .

You are receiving this mail because:
You are the assignee for the bug.