Bug 1159556 - libmicro has unreproducible .o files from LTO
Summary: libmicro has unreproducible .o files from LTO
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Development (show other bugs)
Version: Current
Hardware: Other openSUSE Factory
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Martin Pluskal
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-19 14:16 UTC by Bernhard Wiedemann
Modified: 2020-01-01 09:32 UTC (History)
2 users (show)

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 2019-12-19 14:16:08 UTC
While working on reproducible builds for openSUSE, I found that
the libmicro package varies across builds in .o files.

Are these .o files supposed to be in there? Why?

/usr/lib/libMicro/bin/benchmark_fini.o differs in ELF section .gnu.lto_.jmpfuncs
.9193de93f5298bd9
--- /tmp/tmp.8Hjil1D2IL/tmp.NbPnGK5mUm  2019-12-16 17:00:40.655455842 +0000
+++ /tmp/tmp.8Hjil1D2IL/tmp.UKdlTnPDZU  2019-12-16 17:00:40.659455870 +0000
@@ -1,3 +1,6 @@

 /usr/lib/libMicro/bin/benchmark_fini.o:     file format elf64-x86-64

+Contents of section .gnu.lto_.jmpfuncs.9193de93f5298bd9:
+ 0000 789ce360 60646065 40004610 0100012a  x..``d`e@.F....*
+ 0010 0010                                 ..
Comment 1 Martin Pluskal 2019-12-19 15:16:36 UTC
Thanks for noticing, it really seems to be a mistake to ship .a files.
Comment 2 Swamp Workflow Management 2019-12-19 15:50:05 UTC
This is an autogenerated message for OBS integration:
This bug (1159556) was mentioned in
https://build.opensuse.org/request/show/758238 Factory / libmicro
Comment 3 Bernhard Wiedemann 2020-01-01 09:32:31 UTC
The libmicro package now builds reproducibly.