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/>

index | next in thread | previous in thread | raw e-mail

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

--- 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+=-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.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-233707-29464-H4jt18HdUu>