Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@bmwiedemann
Copy link
Contributor

Add a .file entry to .s files for reproducible builds.

Without this patch, building _multiarray_umath.cpython-312-x86_64-linux-gnu.so with debuginfo contained the random temporary ccXXXXXX.o filenames used by gcc for assembler output.

There are details in
https://bugzilla.opensuse.org/show_bug.cgi?id=1245203#c9

btw: the lines were added with

for f in *.s ; do export f; perl -i -pe 'if(/\.text/) {print "\t.file   \"$ENV{f}\"\n"}' $f ; done

for reproducible builds.

Without this patch, building _multiarray_umath.cpython-312-x86_64-linux-gnu.so
with debuginfo contained the random temporary ccXXXXXX.o filenames used by gcc
for assembler output.

There are details in
https://bugzilla.opensuse.org/show_bug.cgi?id=1245203#c9
Copy link
Member

@r-devulap r-devulap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for reporting and fixing it! @bmwiedemann

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants