[tor-bugs] #24652 [Core Tor/Tor]: Rust builds fail on macOS with linker error

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Dec 18 03:58:33 UTC 2017


#24652: Rust builds fail on macOS with linker error
------------------------------+--------------------------------
     Reporter:  teor          |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: 0.3.2.x-final
    Component:  Core Tor/Tor  |    Version:  Tor: 0.3.2.1-alpha
     Severity:  Normal        |   Keywords:  rust
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------------
 Both my gcc and clang builds get this error:
 https://travis-ci.org/teor2345/tor/jobs/316748503
 https://travis-ci.org/teor2345/tor/jobs/316748509

 {{{
 Undefined symbols for architecture x86_64:

   "_res_9_init", referenced from:

 std::sys::unix::net::res_init_if_glibc_before_2_26::h5cce5181e3d1daee in
 libtor_rust.a(std-
 af00cffd9617c4f1.std13-3c37598e0257c2e4b7713b0956fa5bab.rs.rcgu.o)

 ld: symbol(s) not found for architecture x86_64
 }}}

 The Linux builds are fine, as are the non-Rust macOS builds.

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


More information about the tor-bugs mailing list