[tor-bugs] #25977 [Core Tor/Tor]: Cross-compiling tor rust for macOS is broken

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu May 31 22:02:07 UTC 2018


#25977: Cross-compiling tor rust for macOS is broken
--------------------------+------------------------------------
 Reporter:  gk            |          Owner:  (none)
     Type:  defect        |         Status:  new
 Priority:  Medium        |      Milestone:  Tor: 0.3.4.x-final
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:  rust build    |  Actual Points:
Parent ID:  #25779        |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------------------

Comment (by teor):

 It looks like you're cross-compiling rust for macOS i686 (32-bit), but
 cross-compiling C for macOS x86_64 (64-bit),
 That's why the linker gives you architecture errors.

 If you are using rustup, you can override toolchains for a build directory
 using:
 {{{
 rustup override set x86_64-apple-darwin
 }}}

 Alternately, you could install just that toolchain.

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


More information about the tor-bugs mailing list