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.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to