Bug 1885607 - Strip unable to merge notes in binaries containing multiple same-named sections
Summary: Strip unable to merge notes in binaries containing multiple same-named sections
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: binutils
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nick Clifton
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1893197
TreeView+ depends on / blocked
 
Reported: 2020-10-06 13:44 UTC by Nick Clifton
Modified: 2021-01-18 01:34 UTC (History)
6 users (show)

Fixed In Version: binutils-2.35.1-3.fc34 binutils-2.35-17.fc33
Clone Of:
Environment:
Last Closed: 2021-01-18 01:34:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Nick Clifton 2020-10-06 13:44:54 UTC
Description of problem:

  Building glibc on non-x86 architectures fails in rawhide because strip fails to merge notes.

Version-Release number of selected component (if applicable):

  binutils-2.35.1-1.fc34

How reproducible:

  100%

Steps to Reproduce:
1. Build glibc on a non-x86 architecture
2.
3.

Actual results:

/usr/bin/strip:
/builddir/build/BUILDROOT/glibc-2.32.9000-8.fc34.arm/usr/lib/stcP8g45/libpthread.o[.gnu.build.attributes]:
error: failed to copy merged notes into output: bad value"


Expected results:

  No errors.


Additional info:

Comment 1 Nick Clifton 2020-10-06 17:00:52 UTC
This should be fixed in binutils-2.35.1-2.fc34 .

Comment 2 Nick Clifton 2020-10-07 13:36:56 UTC
*sigh* That did not work....  Investigating.

Comment 3 Nick Clifton 2020-10-07 19:10:16 UTC
Silly mistake - I created a patch but failed to apply it in the spec file.  Now fixed.

Comment 4 Fedora Update System 2021-01-15 09:05:12 UTC
FEDORA-2021-f186072e3e has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-f186072e3e

Comment 5 Fedora Update System 2021-01-16 02:17:57 UTC
FEDORA-2021-f186072e3e has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-f186072e3e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-f186072e3e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2021-01-18 01:34:02 UTC
FEDORA-2021-f186072e3e has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.