[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#25977: Cross-compiling tor rust for macOS is broken
--------------------------+------------------------------------
 Reporter:  gk            |          Owner:  (none)
     Type:  defect        |         Status:  needs_information
 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:
--------------------------+------------------------------------
Changes (by teor):

 * status:  new => needs_information


Comment:

 Ok, well, the error logs show some architectural mismatch. So we need to
 know what architecture the C and Rust object files are to help you
 further.

 Please run "file" on one of the C (libtor-testing.a) and one of the Rust
 (libtor_rust.a) files in the linker error messages.
 It might also help to check the timestamps on the lib files: are you sure
 they're not left over from an earlier build?

 Please also run the following Rust commands to determine the actual target
 triple being used:
 {{{
 rustc --version --verbose
 cargo --version --verbose
 rustup target list
 }}}

 Some of these commands might not be present, depending on how you
 installed rust.

 Please also provide the cargo command-line that make produces.
 It should be something like:
 {{{
 cargo build --target x86_64-apple-darwin
 }}}
 But I wonder if the target is missing from the cargo command line.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25977#comment:6>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs