Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Sep 2022 22:59:26 +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-0YSMQSQ9oF@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

--- 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=3D${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.

--=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-0YSMQSQ9oF>