[tor-bugs] #31552 [Core Tor/Tor]: --disable-module-dirauth broken (missing symbols)
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Sep 10 15:42:27 UTC 2019
#31552: --disable-module-dirauth broken (missing symbols)
-------------------------------------------------+-------------------------
Reporter: LarryBitcoin | Owner: nickm
Type: defect | Status:
| merge_ready
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 catalyst):
* status: needs_review => merge_ready
Comment:
Replying to [comment:20 nickm]:
> 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.
Thanks! Patches look good.
I have
{{{
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609
clang version 3.8.0-2ubuntu4 (tags/RELEASE_380/final)
}}}
and gcc works with the first version of the patch while clang does not.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/31552#comment:22>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list