Bug 11921 - libstdc++-staticdev_7.1.0: improve reproducibility
Summary: libstdc++-staticdev_7.1.0: improve reproducibility
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.5
Hardware: x86 Multiple
: Low normal
Target Milestone: 2.5
Assignee: Juro Bystricky
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-08-09 21:19 UTC by Juro Bystricky
Modified: 2018-01-10 22:54 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
diffoscope output that corroborates the claim. (2.15 MB, text/html)
2017-08-09 21:19 UTC, Juro Bystricky
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.