Bug 1698824

Summary: glibc: --g-libs argument for find-debuginfo.sh strips ld.so, breaking valgrind
Product: [Fedora] Fedora Reporter: Mattias Ellert <mattias.ellert>
Component: glibcAssignee: Carlos O'Donell <codonell>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: aoliva, arjun.is, codonell, dj, fweimer, law, mfabian, pfrankli, rth, siddhesh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glibc-2.29.9000-13.fc31 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-04-11 10:47:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.