[tor-bugs] #27530 [Core Tor/Tor]: Configure: Use AC_TRY_RUN() to check that --enable-gcc-hardening works

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue May 28 17:22:54 UTC 2019


#27530: Configure: Use AC_TRY_RUN() to check that --enable-gcc-hardening works
-------------------------------------------------+-------------------------
 Reporter:  teor                                 |          Owner:  nickm
     Type:  defect                               |         Status:
                                                 |  accepted
 Priority:  Low                                  |      Milestone:  Tor:
                                                 |  0.4.1.x-final
Component:  Core Tor/Tor                         |        Version:  Tor:
                                                 |  unspecified
 Severity:  Normal                               |     Resolution:
 Keywords:  fast-fix, postfreeze-ok, 041-can,    |  Actual Points:
  041-should                                     |
Parent ID:  #28611                               |         Points:  .2
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by nickm):

 I'm not 100% sure that the approach suggested above is the way I'd like to
 do it.  The basic hardening features that we use are not stuff that we
 want to turn off silently.  But maybe we should generate a more useful
 failure message if we are unable to build with them, and tell the user to
 do `--disable-gcc-hardening` themself.

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


More information about the tor-bugs mailing list