[tor-bugs] #25341 [Core Tor/Tor]: Remove now-unnecessary Rust linking workaround

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Mar 22 02:08:52 UTC 2018


#25341: Remove now-unnecessary Rust linking workaround
-------------------------------------------------+-------------------------
 Reporter:  isis                                 |          Owner:  (none)
     Type:  enhancement                          |         Status:
                                                 |  needs_review
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.3.4.x-final
Component:  Core Tor/Tor                         |        Version:  Tor:
                                                 |  0.3.2.2-alpha
 Severity:  Normal                               |     Resolution:
 Keywords:  rust, tor-build, autoconf, review-   |  Actual Points:
  group-34                                       |
Parent ID:                                       |         Points:  .1
 Reviewer:  catalyst                             |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by catalyst):

 MacOS 10.12.6, with rust from homebrew:

 {{{
   CCLD     src/or/tor
 Undefined symbols for architecture x86_64:
   "_res_9_init", referenced from:
 std::sys::unix::net::res_init_if_glibc_before_2_26::he8c674397a656892 in
 libtor_rust.a(std-
 b11ab8f1585f119d.std15-94ef799fc274932c8f7e09df8e855996.rs.rcgu.o)
 ld: symbol(s) not found for architecture x86_64
 clang: error: linker command failed with exit code 1 (use -v to see
 invocation)
 make[1]: *** [src/or/tor] Error 1
 make: *** [all] Error 2
 mirkwood:tor tlyu$ rustc --version
 rustc 1.24.1
 }}}

 I haven't tracked down any further yet.

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


More information about the tor-bugs mailing list