Bug 1698824 - glibc: --g-libs argument for find-debuginfo.sh strips ld.so, breaking valgrind
Summary: glibc: --g-libs argument for find-debuginfo.sh strips ld.so, breaking valgrind
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Carlos O'Donell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-04-11 09:50 UTC by Mattias Ellert
Modified: 2019-04-11 10:47 UTC (History)
10 users (show)

Fixed In Version: glibc-2.29.9000-13.fc31
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-04-11 10:47:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1661510 0 unspecified CLOSED glibc: Adjust to rpm's find-debuginfo.sh changes, to keep stripping binaries [Fedora] 2021-05-25 13:31:16 UTC

Internal Links: 1661510

Description Mattias Ellert 2019-04-11 09:50:40 UTC
Description of problem:

valgrind:  Fatal error at startup: a function redirection
valgrind:  which is mandatory for this platform-tool combination
valgrind:  cannot be set up.  Details of the redirection are:
valgrind:  
valgrind:  A must-be-redirected function
valgrind:  whose name matches the pattern:      strlen
valgrind:  in an object with soname matching:   ld-linux-x86-64.so.2
valgrind:  was not found whilst processing
valgrind:  symbols from the object with soname: ld-linux-x86-64.so.2

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

glibc-2.29.9000-12.fc31

This is a regression - glibc-2.29.9000-10.fc31 worked fine.

How reproducible:

Always

Steps to Reproduce:
1. Build HepMC3 in rawhide: 

See: https://apps.fedoraproject.org/koschei/package/HepMC3?collection=f31

Actual results:

Errors in tests

Expected results:

No errors in tests

Comment 1 Florian Weimer 2019-04-11 10:16:24 UTC
Sorry about that.  It's caused by the change in bug 1661510. --g-libs treats ld.so is a PIE program and strips it.


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