[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs