Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Mar 2019 10:38:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 233707] www/firefox: fails to build with -fstack-protector-{strong,all} + -Wl,-z,nocopyreloc
Message-ID:  <bug-233707-29464-H4jt18HdUu@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-233707-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-233707-29464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233707

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

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

--=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-233707-29464-H4jt18HdUu>