reproducible gcc

Bernhard M. Wiedemann bernhardout at lsmod.de
Mon Feb 14 09:56:08 UTC 2022


Hi Vagrant,

I missed you in IRC where you wondered why openSUSE's gcc shows as
reproducible in http://ismypackagereproducibleyet.org/?pkg=gcc

Our 'gcc' is just a meta-package that pulls in gcc11 or whatever version
is current.

Since around gcc9, we were also able to build gcc reproducibly if we
disabled profiling. We just don't do that for official builds, because
there is a 8% performance impact.
In general, compiler devs are very interested in deterministic results.

However, my notes show, gcc11 only becomes reproducible with
deterministic filesystem readdir order (which we have in production[1])
Thus I don't spend much time on the related bug:
https://bugzilla.opensuse.org/show_bug.cgi?id=1188621

So http://ismypackagereproducibleyet.org/?pkg=gcc11
in green here means, I was able to build reproducibly in some way - but
not in the default way.

Ciao
Bernhard M.


[1] https://github.com/openSUSE/obs-build/pull/634
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <http://lists.reproducible-builds.org/pipermail/rb-general/attachments/20220214/7d76cc3c/attachment.sig>


More information about the rb-general mailing list