Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 71299

Summary: glibc-2.3.4.20041102 +nptl -nptlonly. ldd not working for linuxthreads.
Product: Gentoo Linux Reporter: Sebastian Tyler <b-o-s-s>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED WORKSFORME    
Severity: normal CC: gentoo, rockoo
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sebastian Tyler 2004-11-15 10:31:44 UTC
donald bin # unset LD_ASSUME_KERNEL
donald bin # ldd `which ls`
        linux-gate.so.1 =>  (0xffffe000)
        librt.so.1 => /lib/tls/librt.so.1 (0x40021000)
        libncurses.so.5 => /lib/libncurses.so.5 (0x4002b000)
        libc.so.6 => /lib/tls/libc.so.6 (0x40071000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x4018a000)
        /lib/ld-linux.so.2 (0x40000000)
donald bin # export LD_ASSUME_KERNEL="2.4.1"
donald bin # ldd `which ls`
        not a dynamic executable
donald bin #
----------------------------------------------
Note that everything is running fine, only ldd seems to have a problem...

Reproducible: Always
Steps to Reproduce:
1. see above




Expected Results:  
ldd showing the to-be-used libs in both cases.

Think this isn't specific to glibc-2.3.4.20041102, but for all glibc versions 
with support for linuxthreads and nptl (on gentoo).

Portage 2.0.51-r3 (default-linux/x86/2004.2/gcc34/2.6, gcc-3.4.3, glibc-2.3.4.20
041102-r0, 2.6.5-gentoo-r1 i686)
=================================================================
System uname: 2.6.5-gentoo-r1 i686 Pentium III (Katmai)
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.7-r4
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -mtune=pentium3 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/s
hare/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -mtune=pentium3 -O2 -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/dis
tributions/gentoo"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X apm avi berkdb bitmap-fonts crypt cscope doc encode f77 foomaticdb fortra
n gdbm gif gpm gtk gtk2 imlib java jpeg libg++ libwww mad mikmod mmx motif mpeg
ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python qt quicktime re
adline samba sdl slang spell sse ssl svga tcltk tcpd tiff truetype x86 xml2 xmms
 xv zlib"
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2005-07-14 02:06:45 UTC
worksforme in 2.3.5  Please reopen if this is still an issue for you.