Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #26329

Closed (moved)
Open
Opened Jun 08, 2018 by Georg Koppen@gk

Rust invocation for Firefox on 32bit Windows is failing

Firefox's configure is failing when checking for a functional rustc with

 0:32.86 DEBUG: Executing: `/var/tmp/dist/rust/bin/rustc --crate-type staticlib --target=i686-pc-windows-gnu -o /tmp/conftest66YTEr.rlib /tmp/conftestkSgS7j.rs`
 0:32.86 DEBUG: The command returned non-zero exit status 101.
 0:32.86 DEBUG: Its error output was:
 0:32.86 DEBUG: | error: the crate `panic_unwind` does not have the panic strategy `unwind`
 0:32.86 DEBUG: |
 0:32.86 DEBUG: | error: aborting due to previous error
 0:32.86 DEBUG: |
 0:32.86 ERROR: Cannot compile for i686-w64-mingw32 with /var/tmp/dist/rust/bin/rustc

Firefox is getting compiled with panic=abort (https://dxr.mozilla.org/mozilla-central/source/testing/geckodriver/.cargo/config) for 32bit Windows and we intend to create a Rustc compiler with that panic strategy as well, given that cross-compiling with panic=unwind is not working (see: comment:1:ticket:25894).

While compiling every crate in the std lib with panic-abort is working it seems we still miss some crucial bit here.

One option to test would be if we can get rid of panic_unwind if we don't need it anyway when compiling for 32bit Windows. For what it is worth, the compiler as we have it right now is working for tor compiled with Rust.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#26329