Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119649 - nptl no more as default
Summary: nptl no more as default
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-20 00:02 UTC by Jedi
Modified: 2006-01-22 12:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jedi 2006-01-20 00:02:06 UTC
after upgrading/installing the following packages:

sys-apps/baselayout-1.11.13-r1
media-gfx/yafray-0.0.7
media-libs/glitz-0.4.4
x11-libs/cairo-1.0.2
app-admin/showconsole-1.07

nptl is no more the default lib for my system: i.e. I see all java threads again as processes in the 'top'

I use:
[ebuild R ] sys-libs/glibc-2.3.5-r2 -build -erandom -glibc-compat20 -glibc-omitfp -hardened -linuxthreads-tls (-multilib) +nls +nptl -nptlonly -pic -profile (-selinux) -userlocales 0 kB

I tried to reemerge glibc but nothing has changed.

I verified:
Code:

/lib/libc.so.6
GNU C Library stable release version 2.3.5, by Roland McGrath et al.
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8).
Compiled on a Linux 2.6.11 system on 2006-01-18.
Available extensions:
        GNU libio by Per Bothner
        crypt add-on version 2.1 by Michael Glad and others
        linuxthreads-0.10 by Xavier Leroy
        The C stubs add-on version 2.1.2.
        GNU Libidn by Simon Josefsson
        BIND-8.2.3-T5B
        libthread_db work sponsored by Alpha Processor Inc
        NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Thread-local storage support included.
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.

/lib/tls/libc.so.6
GNU C Library stable release version 2.3.5, by Roland McGrath et al.
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8).
Compiled on a Linux 2.6.11 system on 2006-01-18.
Available extensions:
        GNU libio by Per Bothner
        crypt add-on version 2.1 by Michael Glad and others
        Native POSIX Threads Library by Ulrich Drepper et al
        The C stubs add-on version 2.1.2.
        GNU Libidn by Simon Josefsson
        BIND-8.2.3-T5B
        NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Thread-local storage support included.
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.


seems to be correct...

emerge --info
Code:

Portage 2.0.53 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 2.6.14-suspend2-r10 i686)
=================================================================
System uname: 2.6.14-suspend2-r10 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/jetty/etc /opt/openjms/config /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/fax /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/test /usr/local/portage/manual"
SYNC="rsync://jedilinux.lds.it/gentoo-portage"
USE="x86 X X509 a52 aalib acl acpi adns alsa apache2 apic apm arts audiofile avi bash-completion berkdb bitmap-fonts bluetooth browserplugin bzip2 cairo cdr cdw cjk clflush cmov crypt cups curl cx8 dbus de dga dhcp divx4linux doc dts dv dvd dvdr dvdread eds emboss encode esd est ethereal exif expat fam fbcon fbdev ffmpeg firefox flac foomaticdb fortran fpu freetds fxsr gd gdbm geoip gif glut gmp gnome gphoto2 gpm gps gsm gstreamer gtk gtk2 gtkhtml guile hal howl idn ieee1394 imagemagick imap imlib ipv6 irda jack java javascript joystick jpeg junit kde kerberos lcms ldap libcaca libg++ libwww linguas_en linguas_it lirc lm_sensors mad mca mcal mce mhash mikmod ming mmx mng motif mozilla mp3 mpeg msr mtrr mysql nas ncurses net network nls nntp nptl nsplugin ogg oggvorbis openal opengl pam pat pbe pcmcia pcre pda pdflib perl pge png pnp postgres pse pthreads python qt quicktime readline recode rtc samba scanner sdl sep slang snmp socks5 speex spell sse sse2 ssl sysfs tcltk tcpd tetex theora threads tiff tm tm2 truetype truetype-fonts tsc type1-fonts udev unicode usb v4l v4l2 vme vorbis wifi win32codecs wmf xine xml xml2 xmms xv xvid yaz zlib video_cards_radeon userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

before, if I run

ldd /opt/sun-jdk-1.4.2.10/bin/java
/opt/libcwait/libcwait.so (0xb7f6e000)
linux-gate.so.1 => (0xffffe000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7eec000)
libdl.so.2 => /lib/libdl.so.2 (0xb7ee8000)
libc.so.6 => /lib/tls/libc.so.6 (0x0078e000)
/lib/ld-linux.so.2 (0xb7f70000)

now

ldd /opt/sun-jdk-1.4.2.10/bin/java
/opt/libcwait/libcwait.so (0xb7f6e000)
linux-gate.so.1 => (0xffffe000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7eec000)
libdl.so.2 => /lib/libdl.so.2 (0xb7ee8000)
libc.so.6 => /lib/libc.so.6 (0xb7dd0000)
/lib/ld-linux.so.2 (0xb7f70000) 


this is my ld.so.conf:
# ld.so.conf autogenerated by env-update; make all changes to
# contents of /etc/env.d directory
/usr/local/lib
/usr/lib/opengl/ati/lib
/usr/i686-pc-linux-gnu/lib
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6
/opt/intel/compiler70/ia32/lib
/usr/lib/mozilla-firefox
/usr/lib/mozilla
/usr/lib
/opt/fdo/lib
/usr/X11R6/lib
/usr/lib/openmotif-2.2
/opt/sun-jdk-1.4.2.10/jre/lib/i386/
/opt/sun-jdk-1.4.2.10/jre/lib/i386/native_threads/
/opt/sun-jdk-1.4.2.10/jre/lib/i386/classic/
/opt/sun-jdk-1.4.2.10/jre/lib/i386/server/
/usr/qt/3/lib
/usr/kde/3.4/lib
/usr/lib/nspr
/usr/lib/nss
/usr/NX/lib
/usr/lib/oracle/10.2.0.1/client/lib
/usr/lib/speech-tools/lib
/usr/games/lib
/usr/lib/fltk-1.1
/usr/lib/libffi
/usr/lib/octave-2.1.69
Comment 1 SpanKY gentoo-dev 2006-01-20 03:58:32 UTC
none of those packages have to do with nptl
Comment 2 Jedi 2006-01-20 04:27:00 UTC
ok, but I don't have touched any configuration related to librari loading.

could be the upgrade to sys-devel/libtool-1.5.22 ?

which is the configuration/pacckage that can be the responsible of this kind of behavior change?

thanks
Comment 3 SpanKY gentoo-dev 2006-01-20 05:35:33 UTC
no, libtool has nothing to do with system library maintenance

it is used in compiling packages only
Comment 4 Jedi 2006-01-20 07:00:52 UTC
which is the configuration file or package that can be the responsible of this kind of
behavior change?

how can I fix this problem?
which kind of analysis should be performed?

thanks again
Comment 5 SpanKY gentoo-dev 2006-01-20 07:19:36 UTC
there is none

also, stop screwing with the Product
Comment 6 Jedi 2006-01-20 08:12:08 UTC
dear spanky,

what you mean? 
for solve the problem I should switch to another distribution?

anyway thanks for Your professional answers.
Comment 7 Jedi 2006-01-22 02:44:01 UTC
something has changed in sys-apps/baselayout-1.11.13-r1 ... I 'am looking for what.

For sure at boot it will be executed / sourced the file /etc/env.d/oracle.sh

this file was added by me and was explicitely executed when /etc/init.d/oracle is started.
in the last baselayout this script is executed anyway, even if the service oracle is not started.

The problem is that this script contains
export LD_ASSUME_KERNEL=2.4.20

this prevents /lib/ld-linux.so.2 from load libc from /lib/tls

I hope it can help some other than spanky
Comment 8 SpanKY gentoo-dev 2006-01-22 08:11:15 UTC
dont put files into /etc/env.d unless you want them added to your profile.env file

this is not new behavior, it's been like this for at least the last three years

in your case, you've forced LD_ASSUME_KERNEL into the env of every process
Comment 9 Jedi 2006-01-22 09:49:07 UTC
sorry bad pat it was under /etc/profile.d/oracle.sh
you are right it is normal that /etc/env.d files are sourced

tx
Comment 10 SpanKY gentoo-dev 2006-01-22 11:35:02 UTC
that would make sense then as to why things changed

newer versions of baselayout automatically source /etc/profile.d/*.sh for bash shells ...
Comment 11 Jedi 2006-01-22 12:07:21 UTC
happy end :-)

I hope next time a comment with the einfo in ebuild of baselayout would be nice.

anyway I still like gentoo