[rb-general] Reproducible build of a GCC cross-compiler?
Bernhard M. Wiedemann
bernhardout at lsmod.de
Wed Jun 12 13:07:52 UTC 2019
On 12/06/2019 14.42, Sebastian Huber wrote:
> do you have a log of the cross compiler build which shows the GCC
> configure command line? An example for a proven reproducible build would
> be a big help for me.
This week, I confirmed that openSUSE's gcc9 + gcc8 can build
reproducibly (non-cross) when we disable Profile Guided Optimization
Unfortunately, this also loses 8% compiler performance, so we leave PGO
enabled in our official builds for now.
gcc9 needed 1 new fix:
in addition to previous fixes like
plus all the normalizations we apply in our build env (constant path,
user, umask, locale, timezone)
has build logs
I'll also test a cross-ppc64le-gcc8 build to see if it behaves worse,
but would not expect so.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 261 bytes
Desc: OpenPGP digital signature
More information about the rb-general