Re: [tor-bugs] #26329 [Applications/Tor Browser]: Rust invocation for Firefox on 32bit Windows is failing

2018-06-14 Thread Tor Bug Tracker & Wiki
#26329: Rust invocation for Firefox on 32bit Windows is failing
-+--
 Reporter:  gk   |  Owner:  tbb-team
 Type:  defect   | Status:  closed
 Priority:  Very High|  Milestone:
Component:  Applications/Tor Browser |Version:
 Severity:  Normal   | Resolution:  fixed
 Keywords:  ff60-esr, TorBrowserTeam201806R  |  Actual Points:
Parent ID:  #26203   | Points:
 Reviewer:   |Sponsor:
-+--
Changes (by boklm):

 * status:  needs_review => closed
 * resolution:   => fixed


Comment:

 This looks good to me. I pushed the patch to master as commit
 `3751474686ba0d2cc7b8a4086114332cbc36e29c`.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #26329 [Applications/Tor Browser]: Rust invocation for Firefox on 32bit Windows is failing

2018-06-14 Thread Tor Bug Tracker & Wiki
#26329: Rust invocation for Firefox on 32bit Windows is failing
-+-
 Reporter:  gk   |  Owner:  tbb-team
 Type:  defect   | Status:
 |  needs_review
 Priority:  Very High|  Milestone:
Component:  Applications/Tor Browser |Version:
 Severity:  Normal   | Resolution:
 Keywords:  ff60-esr, TorBrowserTeam201806R  |  Actual Points:
Parent ID:  #26203   | Points:
 Reviewer:   |Sponsor:
-+-
Changes (by gk):

 * cc: boklm (added)
 * keywords:  ff60-esr, TorBrowserTeam201806 => ff60-esr,
 TorBrowserTeam201806R
 * status:  new => needs_review


Comment:

 Okay, this works for me and I get a functional 32bit Windows Tor Browser.
 `bug_26329` (https://gitweb.torproject.org/user/gk/tor-browser-
 build.git/commit/?h=bug_26329=3751474686ba0d2cc7b8a4086114332cbc36e29c)
 in my public `tor-browser-build` repo has a fix for review.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #26329 [Applications/Tor Browser]: Rust invocation for Firefox on 32bit Windows is failing

2018-06-08 Thread Tor Bug Tracker & Wiki
#26329: Rust invocation for Firefox on 32bit Windows is failing
+--
 Reporter:  gk  |  Owner:  tbb-team
 Type:  defect  | Status:  new
 Priority:  Very High   |  Milestone:
Component:  Applications/Tor Browser|Version:
 Severity:  Normal  | Resolution:
 Keywords:  ff60-esr, TorBrowserTeam201806  |  Actual Points:
Parent ID:  #26203  | Points:
 Reviewer:  |Sponsor:
+--

Comment (by gk):

 Okay, let's go with plan d): Alex Crichton pointed me to
 https://github.com/rust-lang/rust/pull/49633 a while ago as a potential
 stopgap solution. It turns out that one works in the sense that 32bit tor
 for Windows with Rust enabled is still compiling and running AND that I am
 now hitting #26326.

 I'll post a proper patch for this bug once I can verify that Tor Browser
 properly compiles and runs.

 If that still hits some problems we could think about plan e) to ditch
 SjLj exception handling for 32bit Windows in favor of Dwarf2 or we could
 think about resorting to the official std lib for the time being.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

[tor-bugs] #26329 [Applications/Tor Browser]: Rust invocation for Firefox on 32bit Windows is failing

2018-06-08 Thread Tor Bug Tracker & Wiki
#26329: Rust invocation for Firefox on 32bit Windows is failing
-+-
 Reporter:  gk   |  Owner:  tbb-team
 Type:  defect   | Status:  new
 Priority:  Very High|  Milestone:
Component:  Applications/Tor |Version:
  Browser|   Keywords:  ff60-esr,
 Severity:  Normal   |  TorBrowserTeam201806
Actual Points:   |  Parent ID:  #26203
   Points:   |   Reviewer:
  Sponsor:   |
-+-
 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.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs