[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #9948 [Tor]: Configure should error if libssp is not installed
#9948: Configure should error if libssp is not installed
-------------------------+------------------------------
Reporter: huslage | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Tor | Version: Tor: 0.2.4.17-rc
Resolution: | Keywords:
Actual Points: | Parent ID:
Points: |
-------------------------+------------------------------
Comment (by sqrt2):
It appears what gcc does is to look for a define TARGET_LIBC_PROVIDES_SSP,
and if it's not there, add -lssp -lssp_nonshared to the linker flags if
-fstack-protector{,-all,-strong} is specified
(<http://gcc.gnu.org/git/?p=gcc.git;a=blob;f=gcc/gcc.c;hb=HEAD#l682>).
The tests for TARGET_LIBC_PROVIDES_SSP are here:
<http://gcc.gnu.org/git/?p=gcc.git;a=blob;f=gcc/configure.ac;hb=HEAD#l4835>
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9948#comment:6>
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