[tor-bugs] #14821 [Tor]: --enable-expensive-hardening broken with clang
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Feb 9 07:52:37 UTC 2015
#14821: --enable-expensive-hardening broken with clang
-----------------------+------------------------------------
Reporter: Sebastian | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Tor: 0.2.7.x-final
Component: Tor | Version:
Keywords: | Actual Points:
Parent ID: | Points:
-----------------------+------------------------------------
When passing -fsanitize=address, clang internally defines
_FORTIFY_SOURCE=0. This conflicts with the _FORTIFY_SOURCE=2 we like to
set beforehand, so we don't enable -fsanitize=address at all. Perhaps we
should try to use fsanitize-address, if it fails try again with
_FORTIFY_SOURCE remoeved, and only then resolve that it isn't available.
I am calling this 0.2.7 territory for now, but if the fix turns out to be
easy we could conceivably backport it.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/14821>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list