[tbb-bugs] #25975 [Applications/Tor Browser]: Get a rust cross-compiler for macOS

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu May 24 10:20:54 UTC 2018


#25975: Get a rust cross-compiler for macOS
-------------------------------------------------+-------------------------
 Reporter:  gk                                   |          Owner:  tbb-
                                                 |  team
     Type:  defect                               |         Status:
                                                 |  needs_revision
 Priority:  High                                 |      Milestone:
Component:  Applications/Tor Browser             |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  tbb-rbm, ff60-esr,                   |  Actual Points:
  TorBrowserTeam201805R, GeorgKoppen201805,      |
  boklm201805                                    |
Parent ID:  #25779                               |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------
Changes (by gk):

 * status:  needs_review => needs_revision
 * keywords:
     tbb-rbm, ff60-esr, TorBrowserTeam201805R, GeorgKoppen201804,
     boklm201805
     =>
     tbb-rbm, ff60-esr, TorBrowserTeam201805R, GeorgKoppen201805,
     boklm201805


Comment:

 Okay, this likely needs a revision as using a so-created Rust cross-
 compiler leads to:
 {{{
  8:36.74 error[E0433]: failed to resolve. Could not find
 `__FastLocalKeyInner` in `thread`
  8:36.74   --> third_party/rust/futures/src/task_impl/std/mod.rs:28:1
  8:36.74    |
  8:36.74 28 | thread_local!(static CURRENT_TASK: Cell<*mut u8> =
 Cell::new(ptr::null_mut()));
  8:36.74    |
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 Could not find `__FastLocalKeyInner` in `thread`
  8:36.74    |
  8:36.74    = note: this error originates in a macro outside of the
 current crate (in Nightly builds, run with -Z external-macro-backtrace for
 more info)
  8:36.74
  8:36.75 error[E0433]: failed to resolve. Could not find
 `__FastLocalKeyInner` in `thread`
  8:36.75    --> third_party/rust/futures/src/task_impl/std/mod.rs:494:1
  8:36.75     |
  8:36.75 494 | / thread_local! {
  8:36.75 495 | |     static CURRENT_THREAD_NOTIFY: Arc<ThreadNotify> =
 Arc::new(ThreadNotify {
  8:36.75 496 | |         state: AtomicUsize::new(IDLE),
  8:36.75 497 | |         mutex: Mutex::new(()),
  8:36.75 498 | |         condvar: Condvar::new(),
  8:36.75 499 | |     });
  8:36.75 500 | | }
  8:36.75     | |_^ Could not find `__FastLocalKeyInner` in `thread`
  8:36.75     |
  8:36.75     = note: this error originates in a macro outside of the
 current crate (in Nightly builds, run with -Z external-macro-backtrace for
 more info)
  8:36.75

 }}}

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


More information about the tbb-bugs mailing list