[tor-bugs] #31552 [Core Tor/Tor]: --disable-module-dirauth broken (missing symbols)

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Sep 9 23:57:07 UTC 2019


#31552: --disable-module-dirauth broken (missing symbols)
-------------------------------------------------+-------------------------
 Reporter:  LarryBitcoin                         |          Owner:  nickm
     Type:  defect                               |         Status:
                                                 |  needs_review
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.4.1.x-final
Component:  Core Tor/Tor                         |        Version:  Tor:
                                                 |  0.4.1.5
 Severity:  Normal                               |     Resolution:
 Keywords:  build, configure, features,          |  Actual Points:  .1
  modules, regression, 041-should                |
Parent ID:                                       |         Points:
 Reviewer:  catalyst                             |        Sponsor:
                                                 |  Sponsor31-can
-------------------------------------------------+-------------------------
Changes (by nickm):

 * status:  needs_information => needs_review


Comment:

 For me, the previous changes work with GCC and -O0, but fail with clang
 and -O0.  The configuration that reproduces the failure with the original
 version of the patch but which succeeds with the second is:
 {{{
 ./configure  --disable-module-dirauth --disable-gcc-hardening CC=clang
 CFLAGS='-O0'
 }}}

 (The `--disable-gcc-hardening` part is necessary to turn off
 FORTIFY_SOURCE, which is not compatible with `-O0`.)

 For me, both versions of the patch work with GCC.  My GCC is 9.2.1; my
 clang is 8.0.0.

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


More information about the tor-bugs mailing list