Opened 2 months ago

Last modified 31 hours ago

#26376 needs_revision enhancement

add cross compiling docs

Reported by: Hello71 Owned by: Hello71
Priority: Medium Milestone:
Component: Core Tor/Tor Version: Tor: unspecified
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: catalyst Sponsor:

Description

since apparently nobody on #tor-dev knows, I wrote a document.

https://cgit.alxu.ca/tor.git/commit/?h=building-tor-mingw-docs

setting catalyst as reviewer since they say they tried it and it works.

Child Tickets

Change History (6)

comment:1 Changed 2 months ago by rl1987

comment:2 Changed 8 weeks ago by Hello71

Status: assignedneeds_review

Updated to add MXE instructions. It works fairly well after fixing #26464.

comment:3 Changed 5 weeks ago by catalyst

Status: needs_reviewneeds_revision

Thanks for the new documentation!

I'm not sure the core team has much experience with MXE or much interest in trying it out. Please delete the MXE section for now. Feel free to submit it under a separate ticket.

RUST_TARGET should be TOR_RUST_TARGET. We changed it to reduce chances of environment variable conflicts.

Please don't refer to yourself as "this author" in a shared-authorship document. Also I'm not sure we should be making such claims about the security properties of using the Jenkins build artifacts. I think it's a tradeoff, and maybe one that we shouldn't try to summarize here. Maybe it's enough to mention that the artifacts aren't signed and their integrity depends on the Jenkins infrastructure itself and the web CA infrastructure.

comment:4 Changed 5 weeks ago by Hello71

ahf said that MXE "sounds cool" and presumably would like to not maintain https://github.com/ahf/tor-win32/. additionally, the MXE option supports zstd and xz. therefore, I would like to keep those. if you or ahf could test those it would be great.

already fixed TOR_RUST_TARGET in an earlier revision.

changed jenkins wording to be more critical.

comment:5 Changed 5 weeks ago by asn

Status: needs_revisionneeds_review

comment:6 in reply to:  4 Changed 31 hours ago by catalyst

Status: needs_reviewneeds_revision

Replying to Hello71:

ahf said that MXE "sounds cool" and presumably would like to not maintain https://github.com/ahf/tor-win32/. additionally, the MXE option supports zstd and xz. therefore, I would like to keep those. if you or ahf could test those it would be great.

already fixed TOR_RUST_TARGET in an earlier revision.

changed jenkins wording to be more critical.

Thanks. Please delete mentions of MXE for now. We can look at that in a separate ticket. Also, what do you mean by this:

Jenkins is not a part of the Tor infrastructure

Note: See TracTickets for help on using tickets.