Date: Sat, 12 May 2018 21:12:48 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 228205] [PATH] lang/gcc6: fail to build with -mretpoline Message-ID: <bug-228205-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228205 Bug ID: 228205 Summary: [PATH] lang/gcc6: fail to build with -mretpoline Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: gerald@FreeBSD.org Reporter: rozhuk.im@gmail.com Flags: maintainer-feedback?(gerald@FreeBSD.org) Assignee: gerald@FreeBSD.org Created attachment 193342 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D193342&action= =3Dedit patch: strip -mretpoline option /etc/make.conf: # Retpoline speculative execution vulnerability mitigation (CVE-2017-5715) CFLAGS+=3D-mretpoline CXXFLAGS+=3D-mretpoline COPTFLAGS+=3D-mretpoline ... checking for x86_64-portbld-freebsd11.2-gcc... /tmp/ports/usr/ports/lang/gcc6/work/.build/./gcc/xgcc -B/tmp/ports/usr/ports/lang/gcc6/work/.build/./gcc/ -B/usr/local/x86_64-portbld-freebsd11.2/bin/ -B/usr/local/x86_64-portbld-freebsd11.2/lib/ -isystem /usr/local/x86_64-portbld-freebsd11.2/include -isystem /usr/local/x86_64-portbld-freebsd11.2/sys-include=20=20=20 checking for suffix of object files... configure: error: in `/tmp/ports/usr/ports/lang/gcc6/work/.build/x86_64-portbld-freebsd11.2/libg= cc': configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[4]: *** [Makefile:14944: configure-stage1-target-libgcc] Error 1 gmake[4]: Leaving directory '/tmp/ports/usr/ports/lang/gcc6/work/.build' gmake[3]: *** [Makefile:21516: stage1-bubble] Error 2 gmake[3]: Leaving directory '/tmp/ports/usr/ports/lang/gcc6/work/.build' gmake[2]: *** [Makefile:21848: bootstrap-lean] Error 2 gmake[2]: Leaving directory '/tmp/ports/usr/ports/lang/gcc6/work/.build' =3D=3D=3D> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure = to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/lang/gcc6 --=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-228205-7788>