This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/11177] New: LD_AUDIT doesn't work with shared libraries containing no code


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]