Bug 11921

Summary: libstdc++-staticdev_7.1.0: improve reproducibility
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Juro Bystricky <juro.bystricky>
Component: coreAssignee: Juro Bystricky <juro.bystricky>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Low CC: meta.mr.watcher, meta.watcher
Version: 2.5   
Target Milestone: 2.5   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
diffoscope output that corroborates the claim. none

Description Juro Bystricky 2017-08-09 21:19:56 UTC
Created attachment 3934 [details]
diffoscope output that corroborates the claim.

There are many binary differences between two builds of the same library.
Please see the attached diffoscope output. One potential culprit is that it
seems the debug symbols are present (for example, when running nm --debug-syms libstdc++.a ). Runing "strings" on the .a files does not seem to show any host build references, though.
Comment 1 Juro Bystricky 2017-08-09 21:27:30 UTC
It is possible to run diffoscope with more verbose output (more lines that differ), this may shed some light on the problem, showing a smoking gun. But the generated file could be rather large.
Comment 2 Juro Bystricky 2017-08-09 21:49:07 UTC
Also it seems the individual .o files were linked in different order.