[Bug 222233] sysutils/uefi-edk2-bhyve: still requires obsolete GCC 4.8 to build
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Oct 13 02:11:30 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222233
--- Comment #7 from Peter Grehan <grehan at FreeBSD.org> ---
The port builds using gcc49, which is the most recent toolchain explicitly
supported in that version of UEFI.
However, using the trick of just replacing the gcc soft link when doing the
setup (the line "ln -s /usr/local/bin/gcc48 Build/gcc" from the instructions at
https://people.freebsd.org/~grehan/bhyve_uefi/bhyve-uefi-UDK2014.SP1-build.txt),
I was able to get clean (untested) builds using ports gcc5 (gcc 5.4.0) and gcc6
(gcc 6.4.0) on a FreeBSD 12-current amd64 machine.
It also built clean using ports gcc7 (7.2.0) after applying the one-line patch
from the upstream UEFI git commit
https://github.com/tianocore/edk2/commit/fe4a28ccbfd33
Perhaps the simplest way forward is to see what if any changes were made
upstream to the UEFI build to support gcc5 (possibly none), back-port those to
the bhyve UEFI branch, and cut over to gcc5 after verifying that the resultant
UEFI binary is ok.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list