Bugzilla – Bug 1198822
librsb stores build machine cache details
Last modified: 2022-07-25 10:01:08 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
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