[tor-bugs] #9948 [Tor]: Configure should error if libssp is not installed

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Oct 10 16:50:52 UTC 2013


#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


More information about the tor-bugs mailing list