This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/11177] New: LD_AUDIT doesn't work with shared libraries containing no code
- From: "andris dot zeila at accenture dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 15 Jan 2010 11:04:35 -0000
- Subject: [Bug libc/11177] New: LD_AUDIT doesn't work with shared libraries containing no code
- Reply-to: sourceware-bugzilla at sourceware dot org
Preface:
This issue comes from latrace inability to trace applications built with ICU
library for unicode support.
Steps to repeat:
1) compile the attached audit library: gcc libaudittest.c -o libaudittest.so
--shared
2) compile the attached sample application: gcc audittest.c -o audittest
$(icu-config --ldflags)
3) run the resulting application with audit enabled:
LD_AUDIT=$(pwd)/libaudittest.so ./audittest
Result:
../audittest: no PLTREL found in object /usr/lib/libicudata.so.40
While running just ./audittest works normally.
Apparently lbicudata is ICU data only library without any code segments, which
confuses glibc.
--
Summary: LD_AUDIT doesn't work with shared libraries containing
no code
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: andris dot zeila at accenture dot com
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=11177
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.