Bug 162601 - Linker error when creating a profiled executable
Linker error when creating a profiled executable
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: glibc (Show other bugs)
4
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Brian Brock
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-07-06 15:07 EDT by Jason Beardsley
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version: 2.3.90-2
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-07-10 16:27:14 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jason Beardsley 2005-07-06 15:07:09 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050319

Description of problem:
Attempting to make a profiled executable results in a linker error.  (I have installed the glibc-profile package.)  I could find no library that provided the missing function (_dl_runtime_profile), I suspect it is internal to glibc but couldn't find it in the sources there, either.

> cat foo.c
int main() { return 0; }

> gcc -static -profile -g foo.c -o foo
/usr/lib/gcc/i386-redhat-linux/4.0.0/../../../libc_p.a(dl-trampoline.op)(.text+0x4b): In function `_dl_runtime_profile':
: undefined reference to `_dl_profile_fixup'
collect2: ld returned 1 exit status


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

How reproducible:
Always

Steps to Reproduce:
See description


Additional info:
Comment 2 Ulrich Drepper 2005-07-06 22:40:02 EDT
Should be fixed upstream and be in the next rawhide release.
Comment 3 Jakub Jelinek 2005-07-10 16:27:14 EDT
Fixed in glibc-2.3.90-2.
Comment 4 Jason Beardsley 2005-07-12 15:00:43 EDT
Thanks.  Do you know if this update will eventually find its way to the FC4
updates?  (I'm assuming it may not be safe to install the updated packages
directly from rawhide.)

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