[Bug 233707] www/firefox: fails to build with -fstack-protector-{strong,all} + -Wl,-z,nocopyreloc

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Mar 7 10:38:40 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233707

--- Comment #25 from rozhuk.im at gmail.com ---
(In reply to Tijl Coosemans from comment #24)
Try -fstack-protector-all.

Mine make.conf (without comments)
CFLAGS+=-O2 -DSTRIP_FBSDID -pipe
CXXFLAGS+=-DSTRIP_FBSDID
COPTFLAGS+=-O2 -funroll-loops -DSTRIP_FBSDID -pipe
SSP_CFLAGS=-fstack-protector-all
WITH_SSP=yes
WITH_SSP_PORTS=yes
CFLAGS+=-D_FORTIFY_SOURCE=2
CXXFLAGS+=-D_FORTIFY_SOURCE=2
COPTFLAGS+=-D_FORTIFY_SOURCE=2
CFLAGS+=-mretpoline
CXXFLAGS+=-mretpoline
COPTFLAGS+=-mretpoline

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-toolchain mailing list