On Aug 23, 2015, at 9:44 PM, Stephan Gatzka stephan.gat...@gmail.com wrote:
Hi,
We still lack a test for reproducible builds. I asked the gcc guys and
got the answer, that pretty much anything compiled with -flto leads to
different binaries.
So I tried it out:
cat a.c:
int bar
Hi,
We still lack a test for reproducible builds. I asked the gcc guys and
got the answer, that pretty much anything compiled with -flto leads to
different binaries.
So I tried it out:
cat a.c:
int bar (void) { return 0; }
gcc -flto -c -o a1.o a.c
gcc -flto -c -o a2.o a.c
diff a1.o a2.o
Binary