[tbb-bugs] #26475 [Applications/Tor Browser]: ESR60-based .dmg images are not built reproducibly with Stylo enabled using rustc > 1.25.0

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jul 24 20:26:38 UTC 2018


#26475: ESR60-based .dmg images are not built reproducibly with Stylo enabled using
rustc > 1.25.0
-------------------------------------------------+-------------------------
 Reporter:  gk                                   |          Owner:  tbb-
                                                 |  team
     Type:  defect                               |         Status:
                                                 |  needs_information
 Priority:  Very High                            |      Milestone:
Component:  Applications/Tor Browser             |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  tbb-rbm, TorBrowserTeam201807,       |  Actual Points:
  GeorgKoppen201807                              |
Parent ID:                                       |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by gk):

 Replying to [comment:23 gk]:
 > Replying to [comment:22 alexcrichton]:
 > > Hm interesting! I wonder if this is perhaps related to
 https://github.com/rust-lang/rust/issues/52044? That claims it was fixed
 with the most recent LLVM upgrade. Are you able to reproduce the non-
 determinism on the most recent nightly?

 [snip]

 > Trying to figure out where all this started, I am pretty sure that
 2018-02-15 is good and 2018-03-07 is bad.

 So, here is another interesting bit: While running the script
 (https://github.com/rust-lang/rust/issues/52044#issuecomment-402349038) on
 a Linux box does replicate the issue for a Linux build using the nightly
 from 2018-07-11, it does not replicate it using the nightly from
 2018-03-07 (I ran the script a couple of times). On the other hand, using
 the nightly from 2018-03-07 to generate a Firefox build for macOS does
 show differences (while, as mentioned above, I seemingly can't reproduce
 the problem with the nightly from 2018-07-11 anymore when cross-compiling
 for macOS).

 To test better I adapted your repro script and added a respective
 `--target x86_64-apple-darwin` and with that setup it's easy to see the
 bug with the nightly from 2018-03-07.

 So, to sum up, the problem is not just bumping the LLVM version but it
 seems to be somewhat target dependent, too.

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


More information about the tbb-bugs mailing list