libc6-dev: broken ld scripts under /usr/lib/ntpl

Bug #39592 reported by Thomas Arcila
8
Affects Status Importance Assigned to Milestone
glibc (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

/usr/lib/nptl/libpthread.so links to /usr/lib/tls/libpthread_nonshared.a
but the file is /usr/lib/nptl/libpthread_nonshared.a
/usr/lib/nptl/libc.so links to /usr/lib/tls/libc_nonshared.a which is
located in /usr/lib

for example:
g++ -shared -Iinclude -I/usr/include/nptl -DFLOWVR_OS=Linux
-DFLOWVR_OS_Linux=1 -DFLOWVR_USE_MPTHREAD -O3 -DFLOWVR_VERSION=\"CVS\"
-Wall -fpic -fPIC -o lib/libflowvr-mod.so tmp/obj/moduleapi.o
tmp/obj/moduleapifactory.o tmp/obj/moduleapimultiprocessimpl.o
tmp/obj/moduleapifileimpl.o tmp/obj/module.o tmp/obj/parallel.o -Llib
-lpthread -L/usr/lib/nptl -lflowvr-base -Wl,-soname,libflowvr-mod.so
/usr/bin/ld: ne peut trouver /usr/lib/tls/libpthread_nonshared.a
collect2: ld a retourné 1 code d'état d'exécution
make: *** [lib/libflowvr-mod.so] Erreur 1

Also /usr/lib/nptl/libc.so is executable and it probably should not.

Thomas Arcila (tarcila)
Changed in glibc:
status: Unconfirmed → Confirmed
Revision history for this message
Matthias Klose (doko) wrote :

/usr/lib/nptl/libpthread.so is not shipped anymore in hardy and intrepid.

> Also /usr/lib/nptl/libc.so is executable and it probably should not.
no, this is intended

Changed in glibc:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.