[tbb-bugs] #26148 [Applications/Tor Browser]: Update binutils to a version more recent than 2.26.1
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri Jan 11 11:48:40 UTC 2019
#26148: Update binutils to a version more recent than 2.26.1
-------------------------------------------------+-------------------------
Reporter: boklm | Owner: tbb-
| team
Type: task | Status: new
Priority: High | Milestone:
Component: Applications/Tor Browser | Version:
Severity: Normal | Resolution:
Keywords: tbb-rbm, TorBrowserTeam201901, | Actual Points:
boklm201811 |
Parent ID: | Points:
Reviewer: | Sponsor:
-------------------------------------------------+-------------------------
Comment (by boklm):
I have been building using `-Wl,-t` two times on one machine, and one time
on an other one. The builds from the same machine were identical, but
different on the second machine.
Comparing the logs from the non maching builds, the main difference was
the order of `.o` files included inside `libstdc++.a`. It seems that with
previous versions of binutils, the order of objects inside a `.a` file did
not affect the output, but it is not the case anymore with more recent
versions of binutils.
The reason why `libstdc++.a` is including objects in random order is that
gcc is using an old version of libtool:
https://gcc.gnu.org/ml/gcc-patches/2018-06/msg01115.html
With the libtool patch sorting the output of `find`, I am now able to get
matching builds on different machines.
I am now testing a patch to update binutils to 2.31.1.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26148#comment:8>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tbb-bugs
mailing list