[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #14821 [Tor]: --enable-expensive-hardening broken with clang



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs