It just doesnt build, hasnt for a bit, ive often resorted to just downloading the pkg and installing, im using synth, heres full build log, this might be related to other bugs, synth build log is attached checking for x86_64-portbld-freebsd12.1-ranlib... /usr/local/x86_64-portbld-freebsd12.1/bin/ranlib checking for x86_64-portbld-freebsd12.1-strip... /usr/local/x86_64-portbld-freebsd12.1/bin/strip checking whether ln -s works... yes checking for x86_64-portbld-freebsd12.1-gcc... /construction/xports/lang/gcc48/work/.build/./gcc/xgcc -B/construction/xports/lang/gcc48/work/.build/./gcc/ -B/usr/local/x86_64-portbld-freebsd12.1/bin/ -B/usr/local/x86_64-portbld-freebsd12.1/lib/ -isystem /usr/local/x86_64-portbld-freebsd12.1/include -isystem /usr/local/x86_64-portbld-freebsd12.1/sys-include checking for suffix of object files... configure: error: in `/construction/xports/lang/gcc48/work/.build/x86_64-portbld-freebsd12.1/libgcc': configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[3]: *** [Makefile:13844: configure-stage1-target-libgcc] Error 1 gmake[3]: Leaving directory '/construction/xports/lang/gcc48/work/.build' gmake[2]: *** [Makefile:18677: stage1-bubble] Error 2 gmake[2]: Leaving directory '/construction/xports/lang/gcc48/work/.build' gmake[1]: *** [Makefile:18993: bootstrap-lean] Error 2 gmake[1]: Leaving directory '/construction/xports/lang/gcc48/work/.build' *** Error code 1 Stop. make: stopped in /xports/lang/gcc48 -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Saturday, 7 MAR 2020 at 06:26:44 UTC Duration: 00:11:26
@Reporter Could you please Add additional information including: - Exact FreeBSD version (uname -a) - /etc/make.conf contents (as an attachment) - pkg version -v output (as an attachment) - Attach the complete build log (as an attachment) - Attach the config.log file from the build (as an attachment) And additionally: - Try to reproduce the issue building directly from ports (without synth), using an up to date ports tree (head version), and report back
For what it's worth this appears to be an issue for lang/gcc48, which is deprecated (as of January 2020), which is being built as a dependency, not (apparently) related to sysutils/bhyve-firmware lang/gcc48 in a current version of the ports tree is only depended on by the following ports: sysutils/memtest86+ sysutils/uefi-edk2-bhyve sysutils/uefi-edk2-bhyve-csm See ports r524029
Created attachment 212233 [details] make.conf
Created attachment 212234 [details] src.conf
Created attachment 212235 [details] pkg version -v
it is related to that, so i was unsure where to submit the synth build log was 30 mb https://files.catbox.moe/756ag2.log so i uploaded it to another site FreeBSD mouserpad 12.1-STABLE FreeBSD 12.1-STABLE r358686 FREESTEP amd64
Created attachment 212236 [details] kernel config just incase
I guess ill just close this bug and wait on news for when these ports will use newer gcc, i guess that is really more the question, is their any active work on uefi-ed2k-bhyve to make it compile with new versions of gcc?
I believe this is caused by CPUTYPE?=ivybridge set in /etc/make.conf. GCC 4.8 went end of life more than five years ago and does not know about the Intel Ivy Bridge micro architecture. I'll work around this in lang/gcc48 in the next days. The better/long term fix is upgrade sysutils/uefi-edk2-bhyve to use a current version of GCC (or clang) and then remove lang/gcc48 altogether.
A commit references this bug: Author: gerald Date: Thu Oct 22 13:41:32 UTC 2020 New revision: 552977 URL: https://svnweb.freebsd.org/changeset/ports/552977 Log: Remove -march=ivybridge from CFLAGS and CXXFLAGS if present since this version of GCC does not support the Intel Ivy Bridge architecture. PR: 244654 Changes: head/lang/gcc48/Makefile