[Bug 266404] sysutils/edk2: on aarch64, edk2 fails to build for FreeBSD aarch64 libgcc_s.so.1 issues
Date: Tue, 13 Sep 2022 22:59:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266404 --- Comment #1 from Mark Millard <marklmi26-fbsd@yahoo.com> --- (In reply to Mark Millard from comment #0) For portlint I get: # portlint -C /usr/ports/sysutils/edk2/ WARN: Makefile: [37]: 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=${GCC_VINTAGE}:build+. WARN: Makefile: "ONLY_FOR_ARCHS" has to appear earlier. WARN: Makefile: "ONLY_FOR_ARCHS_REASON" has to appear earlier. 0 fatal errors and 3 warnings found. The USE_GCC WARN is tied to being able to bind rpath to the right /usr/local/lib/gcc*/libgcc_s.so.1 . I'm not aware of a hook for being able to handle such for :build+ possibly picking a newer GCC vintage. The ONLY_FOR_ARCHS WARNs are historical and are for conditional such based on FLAVOR . I replaced some space sequences with tab usage, thus avoiding some historical WARNs. In my aarch64 enviroment I get: [00:05:00] [03] [00:04:46] Finished sysutils/edk2@fvp | edk2-fvp-g202202_1: Success [00:05:21] [04] [00:05:07] Finished sysutils/edk2@macchiatobin | edk2-macchiatobin-g202202_1: Success [00:06:27] [05] [00:06:13] Finished sysutils/edk2@rpi3 | edk2-rpi3-g202202_1: Success [00:06:27] [01] [00:06:13] Finished sysutils/edk2@rpi4 | edk2-rpi4-g202202_1: Success This was in a context where I had set lang/gcc12 as the default. -- You are receiving this mail because: You are the assignee for the bug.