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

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Sep 10 15:35:35 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
-------------------------------------------------+-------------------------

Old description:

> build with ./configure --disable-module-dirauth
>
> this will fail at linking time because of missing symbols.
>
> It used to work in 0.4.0.5 and is broken in 0.4.1.5
>

> for example
>
> make: *** [Makefile:9672: src/app/tor] Error 1
> ld.lld: error: undefined symbol: dirserv_should_launch_reachability_test
> >>> referenced by ld-temp.o
> >>>
> lto.tmp:(routers_update_status_from_consensus_networkstatus)
>
> ld.lld: error: undefined symbol: authdir_wants_to_reject_router
> >>> referenced by ld-temp.o
> >>>               lto.tmp:(router_add_to_routerlist)
>
> ld.lld: error: undefined symbol: dirserv_would_reject_router
> >>> referenced by ld-temp.o
> >>>               lto.tmp:(update_consensus_router_descriptor_downloads)
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)

New description:

 build with ./configure --disable-module-dirauth

 this will fail at linking time because of missing symbols.

 It used to work in 0.4.0.5 and is broken in 0.4.1.5


 for example
 {{{
 make: *** [Makefile:9672: src/app/tor] Error 1
 ld.lld: error: undefined symbol: dirserv_should_launch_reachability_test
 >>> referenced by ld-temp.o
 >>>
 lto.tmp:(routers_update_status_from_consensus_networkstatus)

 ld.lld: error: undefined symbol: authdir_wants_to_reject_router
 >>> referenced by ld-temp.o
 >>>               lto.tmp:(router_add_to_routerlist)

 ld.lld: error: undefined symbol: dirserv_would_reject_router
 >>> referenced by ld-temp.o
 >>>               lto.tmp:(update_consensus_router_descriptor_downloads)
 clang: error: linker command failed with exit code 1 (use -v to see
 invocation)
 }}}

--

Comment (by catalyst):

 Fix formatting in description.

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


More information about the tor-bugs mailing list