bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/23466] Issues with Windows reproducible builds starting wi


From: boklm at torproject dot org
Subject: [Bug binutils/23466] Issues with Windows reproducible builds starting with commit 13e570f80cbfb299a8858ce6830e91a6cb40ab7b
Date: Wed, 16 Jan 2019 11:37:14 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=23466

Nicolas Vigier <boklm at torproject dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Nicolas Vigier <boklm at torproject dot org> ---
After investigating the issue, it seems that what is causing our build to be
unreproductible is that an .a archive that we use to link a dll is containing
.o files in random order. It seems that before commit
13e570f80cbfb299a8858ce6830e91a6cb40ab7b the order of .o files inside an .a
archive did not matter, but not anymore.

During our build, we are building gcc 6.4.0, which is using an old version of
libtool, which is adding the .o files inside libstdc++.a in a nondeterministic
order. We can easily patch libtool to sort the .o files when adding them to an
.a archive, which is solving the issue for us.

I don't know if ld giving different output depending on the order of .o files
is a bug or not. As we can easily solve this issue at the gcc/libtool level, I
am closing this ticket, but feel free to reopen it if you think otherwise.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]