[Reproducible-builds] Bug#777753: gcc: LTO produces unreproducible debug information

conchur at web.de conchur at web.de
Wed Feb 18 09:34:44 UTC 2015


> I have to correct my last statement. It is still necessary to add
> -flto-partition=none when using -flto in a package. My earlier statement
> came from the wrong understanding of buildid as explained in the gcc bug [3].

A new patch [4] was submitted by Richard Biener. Together these patches [1,2,3]
were enough to fix all my testcases and at least build some of the affected
packages reproducible (I haven't tested all of them). 

-flto-partition=none wasn't necessary anymore in my tests

The gcc-4.9 patch used for this test is attached.

[1] https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=220678
[2] https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=220613
[3] https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=220735
[4] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65015#c22
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-4.9_flto-reproducible.patch
Type: text/x-patch
Size: 2230 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20150218/ff36b5f6/attachment.bin>


More information about the Reproducible-builds mailing list