http://bugzilla.opensuse.org/show_bug.cgi?id=1180882
Bug ID: 1180882 Summary: perf does not build reproducibly Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: All Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-bugs@opensuse.org Reporter: bwiedemann@suse.com QA Contact: qa-bugs@suse.de Blocks: 1041090 Found By: Development Blocker: ---
While working on reproducible builds for SLE and openSUSE, I found that our perf package differs across builds.
/usr/bin/perf differs in ELF section .dynsym /usr/bin/perf differs in ELF section .rela.dyn
because nftw in https://github.com/torvalds/linux/blob/v5.3/tools/perf/pmu-events/jevents.c#... reads pmu-events/arch/x86/*/*.json in random filesystem readdir order
http://bugzilla.opensuse.org/show_bug.cgi?id=1180882 http://bugzilla.opensuse.org/show_bug.cgi?id=1180882#c6
Bernhard Wiedemann bwiedemann@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |IN_PROGRESS URL| |https://lore.kernel.org/lin | |ux-perf-users/2023032020184 | |1.1133-1-bwiedemann@suse.de | |/T/#u
--- Comment #6 from Bernhard Wiedemann bwiedemann@suse.com --- I sent a fix upsteam. Thanks Tony for the help.