Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Sep 2022 21:50:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        uboot@FreeBSD.org
Subject:   [Bug 266404] sysutils/edk2: on aarch64, edk2 fails to build for FreeBSD aarch64 libgcc_s.so.1 issues
Message-ID:  <bug-266404-39090-3t9LiMD0P0@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-266404-39090@https.bugs.freebsd.org/bugzilla/>
References:  <bug-266404-39090@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266404

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=3D236582&action=
=3Dedit
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=3Dyes: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=3Dyes: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=3Dyes:build

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-266404-39090-3t9LiMD0P0>