[tor-bugs] #14166 [- Select a component]: torsock's configure.ac: avoid tests which have both -pie and -static

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Jan 11 17:30:24 UTC 2015


#14166: torsock's configure.ac: avoid tests which have both -pie and -static
----------------------------------+---------------------
 Reporter:  blueness              |          Owner:
     Type:  defect                |         Status:  new
 Priority:  normal                |      Milestone:
Component:  - Select a component  |        Version:
 Keywords:                        |  Actual Points:
Parent ID:                        |         Points:
----------------------------------+---------------------
 Building and linking with both -pie and -static is not supported for some
 toolchain combinations (eg. glibc or binutil's gold).  Yet this
 combination is hit if the check for gcc hardening is done before
 AC_PROG_LIBTOOL and AC_ENABLE_STATIC.  We avoid the issue by moving the
 gcc hardening check to after AC_PROG_LIBTOOL and friends.

 See:

 https://sourceware.org/bugzilla/show_bug.cgi?id=17826
 https://sourceware.org/bugzilla/show_bug.cgi?id=16428
 https://bugs.gentoo.org/show_bug.cgi?id=533862

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/14166>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list