[Bug 228205] [PATH] lang/gcc6: fail to build with -mretpoline
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat May 12 21:12:51 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228205
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 at FreeBSD.org
Reporter: rozhuk.im at gmail.com
Flags: maintainer-feedback?(gerald at FreeBSD.org)
Assignee: gerald at FreeBSD.org
Created attachment 193342
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=193342&action=edit
patch: strip -mretpoline option
/etc/make.conf:
# Retpoline speculative execution vulnerability mitigation (CVE-2017-5715)
CFLAGS+=-mretpoline
CXXFLAGS+=-mretpoline
COPTFLAGS+=-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
checking for suffix of object files... configure: error: in
`/tmp/ports/usr/ports/lang/gcc6/work/.build/x86_64-portbld-freebsd11.2/libgcc':
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'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/lang/gcc6
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list