https://qa.mandrakesoft.com/show_bug.cgi?id=393
Product: glibc
Component: glibc
Summary: libpthread is stripped, preventing debugging of threaded
apps
Version: 2.2.5-16mdk
Platform: Other
OS/Version: All
Status: ASSIGNED
Severity: normal
Priority: P2
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
gdb (and other debuggers) need to find symbols in libpthread in order to debug
threaded applications. /lib/libpthread.so.0 as provided by the glibc rpm has
no symbols.
i can supply a trivial test case, if desired.
------- Additional Comments From [EMAIL PROTECTED] 2002-11-11 23:29 -------
If you are running a Cooker system, glibc-2.2.5-19mdk should solve this
issue. There is even a glibc-debug package with any glibc library left
unstripped and available in /usr/lib/debug.
If this works, I could rebuild that glibc for 9.0/unsupported.
------- Additional Comments From [EMAIL PROTECTED] 2002-11-14 19:23
-------
I am running a Cooker system and have glibc-2.2.5-19mdk installed
but that did not solve the problem. As a temporary fix,
LD_LIBRARY_PATH=/usr/lib/debug gdb ./t
does work, however.
------- Additional Comments From [EMAIL PROTECTED] 2002-12-10 17:30 -------
I am also experiencing this problem with the glibc-devel package that ships with
standard 9.0. Why are _any_ of the libraries in a "devel" package being
stripped? "devel" packages are installed so that users can do development,
which is made rather painful if the symbols are stripped out. I understand that
for the normal, non-devel glibc package you would want to strip the symbols to
shrink the size (disk and memory) and speed up loading and everything, but that
shouldn't apply to the devel packages.
I am running a straight 9.0 system (non-Cooker), because I am using this for
production development work, and had hoped to be using a stable system.
This used to be a problem in 7.2, and was fixed for the 8.x line. Why was it
re-broken in the 9.x line? It was reported during the beta test period, but
nothing was done about it.
I cannot redesign my application as a non-multithreaded application, and I am
going to have serious problems trying to figure out what is going wrong if I
can't debug it. A non-stripped libpthread (at least) would be greatly appreciated.
Mac
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.