Bug 1198822 - librsb stores build machine cache details
Summary: librsb stores build machine cache details
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Development (show other bugs)
Version: Current
Hardware: Other All
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Jan Engelhardt
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 1100677
  Show dependency treegraph
 
Reported: 2022-04-25 12:15 UTC by Bernhard Wiedemann
Modified: 2022-07-25 10:01 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 2022-04-25 12:15:25 UTC
While working on reproducible builds for openSUSE, I found that
https://build.opensuse.org/request/show/971619
introduced some variation depending on the build machine CPU.

Maybe a regression on bug 1184750 ?

Building without LTO shows diffs in
rsbpp_coo.o
rsbpp_csr.o
rsbpp.o
rsbtt.o

In both cases it is built the same way with
g++ -DHAVE_CONFIG_H -I.   -I/home/abuild/rpmbuild/BUILD/librsb-1.3.0.0 -I/home/abuild/rpmbuild/BUILD/librsb-1.3.0.0/librsbpp -I/home/abuild/rpmbuild/BUILD/librsb-1.3.0.0/rsblib -I/home/abuild/rpmbuild/BUILD/librsb-1.3.0.0/rsblib/.. -I/home/abuild/rpmbuild/BUILD/librsb-1.3.0.0 -I/usr/include/ -DRSBPP_HAS_RSB_H=1 -pipe -fPIC -fopenmp -mtune=native -Wall -pedantic-errors -Wno-sign-compare -Wextra  -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type  -I/usr/include/ -DRSBPP_HAS_RSB_H=1 -c -o rsbtt.o rsbtt.cpp
Comment 1 Bernhard Wiedemann 2022-07-25 10:01:08 UTC
1.3.0.1 now builds reproducibly.

Probably, the problem came from -mtune=native

or maybe the update of reproducible.patch helped?
https://code.opensuse.org/package/librsb/c/d17672d7439e0fdf31e37977feca9a9f43deea51