[tor-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
Wed Jul 25 07:19:05 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):

 Interesting, look what I get after trying to run the repro script for the
 macOS target after the bump to LLVM 7 (i.e. with the nightly from
 2017-07-13):
 {{{
 + for i in `seq 1 100`
 + rm -rf a b
 + mkdir a b
 + rustc /dev/stdin -O -C lto -C panic=abort -C codegen-units=1 --emit
 llvm-ir,obj --crate-type staticlib --out-dir a --target x86_64-apple-
 darwin
 + rustc /dev/stdin -O -C lto -C panic=abort -C codegen-units=1 --emit
 llvm-ir,obj --crate-type staticlib --out-dir b --target x86_64-apple-
 darwin
 ++ md5sum a/stdin.ll
 ++ awk '{print $1}'
 + a=d3665a14a5cf9bf1c4630c001e8d4dfc
 ++ md5sum b/stdin.ll
 ++ awk '{print $1}'
 + b=4d3336f9f9c5bc4b91653c1fc51d0bf6
 + '[' d3665a14a5cf9bf1c4630c001e8d4dfc '!='
 4d3336f9f9c5bc4b91653c1fc51d0bf6 ']'
 + echo IR is different
 IR is different
 + exit 1
 }}}
 Linux is fine (which is probably what glandium found).

 FWIW: I see different objects for macOS with the repro script when using
 the nightly from 2018-07-11, so, indeed, I did not do enough Firefox
 compilations to trigger the problem for macOS there.

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


More information about the tor-bugs mailing list