Bug 2244632 - "ar with versioned solib" ld test failing because of egrep deprecation warning
Summary: "ar with versioned solib" ld test failing because of egrep deprecation warning
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: binutils
Version: 38
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Nick Clifton
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-10-17 12:57 UTC by Miloš Prchlík
Modified: 2024-05-31 08:47 UTC (History)
6 users (show)

Fixed In Version: binutils-2.39-16.fc38
Clone Of:
Environment:
Last Closed: 2024-05-31 08:47:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Miloš Prchlík 2023-10-17 12:57:25 UTC
/tmp/tmp.mZXvrL90Kx/BUILD/binutils-2.39/build-x86_64-redhat-linux/ld/../binutils/ar -cr tmpdir/vers13.a tmpdir/vers1.so
/tmp/tmp.mZXvrL90Kx/BUILD/binutils-2.39/build-x86_64-redhat-linux/ld/../binutils/nm-new --print-armap tmpdir/vers13.a | grep \ in\  | egrep VERS\|bar\|foo | grep -v ^\\. | sort > tmpdir/nm.out
egrep: warning: egrep is obsolescent; using grep -E
FAIL: ar with versioned solib

This has been fixed upstream in https://sourceware.org/pipermail/binutils/2022-September/123127.html, and according to Nick Clifton, it's fixed in Fedora 40 and newer. I am unable to reproduce the issue with Fedora 39 binutils builds either, fc38 seems to be the only affected as far as my experiments go.

This is the only failing test from the upstream test suite, which makes it the only failing test in the build gating test run. Should the fix be cheap, it would be a good contribution to smooth gating out.

Reproducible: Always

Comment 1 Nick Clifton 2023-10-30 14:59:41 UTC
Fixed in binutils-2.39-16.fc38.

Note - in order to keep things simple I have only applied a small part of the patch referenced in the description.  Specifically the part that fixes the linker testsuite so that it no longer generates a FAIL result for the "ar with versioned solib" test.  There are other places in the binutils sources where egrep is used, but these do not prevent the build from completing, nor do they generate failures in the testsuite.

Comment 2 Aoife Moloney 2024-05-31 08:47:25 UTC
Fedora Linux 38 entered end-of-life (EOL) status on 2024-05-21.

Fedora Linux 38 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.


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