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

Skip to content

Conversation

@davidlattimore
Copy link
Owner

Other linkers don't emit sections for these parts of the file. Also, using SHT_NULL for sections other than section 0 causes problems for some tools, such as GNU strip.

Other linkers don't emit sections for these parts of the file. Also, using
SHT_NULL for sections other than section 0 causes problems for some tools, such
as GNU strip.
Copy link
Collaborator

@marxin marxin left a comment

Choose a reason for hiding this comment

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

I can confirm it fixed the gpm shared library, where strip command now makes the library unbroken.

@davidlattimore davidlattimore merged commit 282c10a into main Jun 29, 2025
20 checks passed
@marxin
Copy link
Collaborator

marxin commented Jun 29, 2025

@davidlattimore Should we close the reported issue (https://sourceware.org/bugzilla/show_bug.cgi?id=33119) as invalid, or is the patch still worth being accepted? Note that llvm-strip works fine.

@davidlattimore davidlattimore deleted the push-wyvkkorqqmyl branch June 29, 2025 21:35
@davidlattimore
Copy link
Owner Author

@davidlattimore Should we close the reported issue (https://sourceware.org/bugzilla/show_bug.cgi?id=33119) as invalid, or is the patch still worth being accepted? Note that llvm-strip works fine.

I'd say comment on the issue that the linker in question has been updated to not emit those sections. They may still decide that they want to make the change.

@marxin
Copy link
Collaborator

marxin commented Jun 30, 2025

Yep, I've just sent the comment, leaving the decision to them.

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.

3 participants