Bug 1100677 - trackerbug: packages do not build reproducibly from compile-time CPU-detection
trackerbug: packages do not build reproducibly from compile-time CPU-detection
Status: IN_PROGRESS
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Development
Current
Other openSUSE Factory
: P2 - High : Critical (vote)
: ---
Assigned To: Bernhard Wiedemann
E-mail List
:
Depends on: 1152001 1100520 1101262 1110722 1154578 1159231 1180472 1184995 1198818 1198822
Blocks: 1081754
  Show dependency treegraph
 
Reported: 2018-07-10 04:27 UTC by Bernhard Wiedemann
Modified: 2022-04-25 12:15 UTC (History)
0 users

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard Wiedemann 2018-07-10 04:27:51 UTC
e.g. bug 1100520
compiler options -march=native and -mtune=native
make the resulting machine code depend on the build system's CPU
which breaks reproducible builds.

affects at least: glucat form python-annoy legion trigger-rally

This is already fixed in: clpeak higan kyotocabinet

one common approach seems to do
sed -i "s|-march=native||g" $FILE
Comment 1 Bernhard Wiedemann 2018-07-13 03:06:59 UTC
This can cause crashes when binaries (built on new CPUs)
are executed on old CPUs
Comment 2 Swamp Workflow Management 2018-07-30 07:10:06 UTC
This is an autogenerated message for OBS integration:
This bug (1100677) was mentioned in
https://build.opensuse.org/request/show/626162 Factory / moarvm
Comment 4 Swamp Workflow Management 2019-02-20 14:20:06 UTC
This is an autogenerated message for OBS integration:
This bug (1100677) was mentioned in
https://build.opensuse.org/request/show/677735 15.1 / form
Comment 5 Swamp Workflow Management 2019-04-08 09:20:06 UTC
This is an autogenerated message for OBS integration:
This bug (1100677) was mentioned in
https://build.opensuse.org/request/show/692232 Factory / python-autobahn
Comment 7 OBSbugzilla Bot 2020-07-05 07:40:06 UTC
This is an autogenerated message for OBS integration:
This bug (1100677) was mentioned in
https://build.opensuse.org/request/show/818824 Factory / ugrep
Comment 8 OBSbugzilla Bot 2020-07-31 10:00:07 UTC
This is an autogenerated message for OBS integration:
This bug (1100677) was mentioned in
https://build.opensuse.org/request/show/823706 Factory / insighttoolkit
Comment 9 OBSbugzilla Bot 2020-10-03 12:30:07 UTC
This is an autogenerated message for OBS integration:
This bug (1100677) was mentioned in
https://build.opensuse.org/request/show/839307 Factory / nauty
Comment 11 OBSbugzilla Bot 2021-04-14 16:00:03 UTC
This is an autogenerated message for OBS integration:
This bug (1100677) was mentioned in
https://build.opensuse.org/request/show/885420 Backports:SLE-15-SP3 / librsb
Comment 12 OBSbugzilla Bot 2022-01-25 09:20:04 UTC
This is an autogenerated message for OBS integration:
This bug (1100677) was mentioned in
https://build.opensuse.org/request/show/948952 Factory / liboqs