Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 196085 - glibc 2.6.1 upgrade breaks applications
Summary: glibc 2.6.1 upgrade breaks applications
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 196302 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-10-16 19:37 UTC by David
Modified: 2007-11-11 19:54 UTC (History)
3 users (show)

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


Attachments
/var/db/pkg/sys-libs/glibc-2.6.1/CONTENTS (CONTENTS,196.54 KB, text/plain)
2007-11-10 19:21 UTC, Binary Runner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David 2007-10-16 19:37:13 UTC
Amarok din not start so I tried to re-emerge amarok but in the middle of the compilation says that I have not ruby package installed.But that is not true, I have ruby installed but when I tried to run it , it says "segment fault".
With kdebluetooth and yakuake I have the same problem "segment fault".
And in /var/log/messages there is this==>
yakuake[659] general protection eip:b7f35f4c esp:bf861e18 error:9b80
ruby[9808] general protection eip:b7fd0f4c esp:bfeaec68 error:b80
kbluetoothd[9968] general protection eip:b7fbbf4c esp:bf83b9f8 error:1b80


Reproducible: Always

Steps to Reproduce:
1.execute amarok or yakuake or kdebluetooth
2.
3.

Actual Results:  
segment fault

Expected Results:  
lauch the program

Portage 2.1.3.9 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23 i686)
=================================================================
System uname: 2.6.23 i686 Intel(R) Pentium(R) M processor 1.60GHz
Timestamp of tree: Mon, 15 Oct 2007 04:20:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O3 -march=pentium-m -pipe -fomit-frame-pointer -finline-functions"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache confcache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="es_ES@euro"
LC_ALL="es_ES@euro"
LINGUAS="es"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa avi berkdb bitmap-fonts bluetooth bzip2 cairo cdparanoia cdr cjk cli cracklib crypt dbus dga directfb dri dvd dvdr dvdread emboss encode evo fam fbcon firefox gdbm gif glitz gnokii gpm gstreamer hal iconv ieee1394 imagemagick ipv6 irda isdnlog jpeg jpeg2k jpeg2kquicktime kde kdeenablefinal kdexdeltas kerberos ldap live mad matroska midi mikmod mmx mp3 mpeg mudflap ncurses nls nptl nptlonly ogg oggvorbis opengl openmp pam pch pcmcia pcre pdf perl pic png pppd python qt qt3 qt3support qt4 quicktime readline real reflection samba sdl session silc spell spl sse sse2 ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb videos vorbis wifi win32codecs x86 xcomposite xinerama xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es" USERLAND="GNU" VIDEO_CARDS="i810 i915"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

The version of libc 
[ebuild   R   ] sys-libs/glibc-2.6.1  USE="glibc-omitfp nls profile -debug -glibc-compat20 (-hardened) (-multilib) (-selinux)

The version of yakuake is
[ebuild   R   ] kde-misc/yakuake-2.8  USE="xinerama -arts -debug" LINGUAS="es -de -el -et -it -ja -nl -pa -pt -pt_BR -sv -tr"

the version of kdebluetooth
[ebuild   R   ] net-wireless/kdebluetooth-1.0_beta1-r2  USE="irmc xinerama -arts -debug

the version of amarok is 
[ebuild   R   ] media-sound/amarok-1.4.7  USE="amazon daap ipod kde python real
Comment 1 Ioannis Aslanidis (RETIRED) gentoo-dev 2007-10-19 14:04:29 UTC
Try running 
# revdep-rebuild

That might help you out.
Comment 2 Ioannis Aslanidis (RETIRED) gentoo-dev 2007-10-19 14:06:20 UTC
*** Bug 196302 has been marked as a duplicate of this bug. ***
Comment 3 Florian Friesdorf 2007-10-21 03:26:34 UTC
(In reply to comment #1)
> Try running 
> # revdep-rebuild
> 
> That might help you out.

In my case offlineimap segfaults more or less at random. In addition, konqueror sometimes fails to load pages indicating that something unexpectedly died. After reloading the pages several times, it normally succeeds.

revdep-rebuild from gentoolkit 0.2.4_pre7 doesn't find any broken files on my system.
Comment 4 Florian Friesdorf 2007-10-21 03:47:46 UTC
(In reply to comment #3)
> (In reply to comment #1)
> > Try running 
> > # revdep-rebuild
> > 
> > That might help you out.
> 
> In my case offlineimap segfaults more or less at random. In addition, konqueror
> sometimes fails to load pages indicating that something unexpectedly died.
> After reloading the pages several times, it normally succeeds.
> 
> revdep-rebuild from gentoolkit 0.2.4_pre7 doesn't find any broken files on my
> system.

After recompiling python-2.4.4-r5, offlineimap is now running without segfault since a while. Before it wasn't finishing a single sync for one account. Now it did several syncs for 3 accounts.

In order to track down the library causing the segfaults, without revdep-rebuild knowing about it:
# ldd /usr/bin/python
        libpython2.4.so.1.0 => /usr/lib/libpython2.4.so.1.0 (0x00002b0982307000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00002b0982629000)
        libdl.so.2 => /lib/libdl.so.2 (0x00002b0982844000)
        libutil.so.1 => /lib/libutil.so.1 (0x00002b0982a49000)
        libm.so.6 => /lib/libm.so.6 (0x00002b0982c4c000)
        libc.so.6 => /lib/libc.so.6 (0x00002b0982ecd000)
        /lib64/ld-linux-x86-64.so.2 (0x00002b09820eb000)

As the main konqueror window is not crashing I have a feeling that threading and therefore maybe libpthread is guilty. I just recompiled python, but maybe somebody else with the same/similar problem could give a try with offlineimap - the number of connections and therefore threads can be configured. Any other threading application in python would do it, too.
Comment 5 Florian Friesdorf 2007-10-21 03:53:59 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > (In reply to comment #1)
> > > Try running 
> > > # revdep-rebuild
> > > 
> > > That might help you out.
> > 
> > In my case offlineimap segfaults more or less at random. In addition, konqueror
> > sometimes fails to load pages indicating that something unexpectedly died.
> > After reloading the pages several times, it normally succeeds.
> > 
> > revdep-rebuild from gentoolkit 0.2.4_pre7 doesn't find any broken files on my
> > system.
> 
> After recompiling python-2.4.4-r5, offlineimap is now running without segfault
> since a while. Before it wasn't finishing a single sync for one account. Now it
> did several syncs for 3 accounts.
> 
> In order to track down the library causing the segfaults, without
> revdep-rebuild knowing about it:
> # ldd /usr/bin/python
>         libpython2.4.so.1.0 => /usr/lib/libpython2.4.so.1.0
> (0x00002b0982307000)
>         libpthread.so.0 => /lib/libpthread.so.0 (0x00002b0982629000)
>         libdl.so.2 => /lib/libdl.so.2 (0x00002b0982844000)
>         libutil.so.1 => /lib/libutil.so.1 (0x00002b0982a49000)
>         libm.so.6 => /lib/libm.so.6 (0x00002b0982c4c000)
>         libc.so.6 => /lib/libc.so.6 (0x00002b0982ecd000)
>         /lib64/ld-linux-x86-64.so.2 (0x00002b09820eb000)
> 
> As the main konqueror window is not crashing I have a feeling that threading
> and therefore maybe libpthread is guilty. I just recompiled python, but maybe
> somebody else with the same/similar problem could give a try with offlineimap -
> the number of connections and therefore threads can be configured. Any other
> threading application in python would do it, too.

The error message of the failing konqueror:

An error occurred while loading https://<url>:
The process for the https://<url> protocol died unexpectedly.

After 3 reloads, loading of the page succeeded.
Comment 6 Binary Runner 2007-10-21 14:58:40 UTC
I've compiled suspicious libraries. I think the problem si in glibc - either libpthread or libpthread_db or in the way kde applications use that libraries. I've even compiled glibc with omitftp and -O1 withour result. I'll apprecaiate an advice leading to knowing where is the problem instead of guessing - if I'd want to reinstall whole system, I could easily use Windows.

Please reopen the issue as it is not resolved.
Comment 7 David 2007-10-21 18:20:34 UTC
try to disable ccache an emerge -e world
Comment 8 Florian Friesdorf 2007-10-22 13:29:40 UTC
(In reply to comment #6)
> I've compiled suspicious libraries. I think the problem si in glibc - either
> libpthread or libpthread_db or in the way kde applications use that libraries.
> I've even compiled glibc with omitftp and -O1 withour result. I'll apprecaiate
> an advice leading to knowing where is the problem instead of guessing - if I'd
> want to reinstall whole system, I could easily use Windows.

I fully agree with you - the purpose of putting effort into reporting and solving bugs cannot be to solve it by recompiling the whole system.

As I am working happily with many programs, it cannot be necessary to recompile everything.
The error in my case is:
kio_http[17972] general protection rip:2af7abb3008c rsp:7fff0343b870 error:0

Recompiling python helped in case of offlineimap, despite having ccache enabled.

Any advice on how to track this bug systematically?

$ emerge --info
Portage 2.1.3.9 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22.1-s2-
mactel-evms-3-noalsa x86_64)
=================================================================
System uname: 2.6.22.1-s2-mactel-evms-3-noalsa x86_64 Intel(R) Core(TM)2 CPU T7400 @
 2.16GHz
Timestamp of tree: Sat, 20 Oct 2007 15:20:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r4
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdow
n /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /e
tc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms s
trict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo pandemonium.tis
cali.de/pub/gentoo http://distfiles.gentoo.org"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="en en_GB en_US de sr sr_CS sr@Latn"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --fo
rce --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles
--exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/mine /usr/local/portage/picoverlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib accessibility acl acpi akode alsa amd64 amr apache2 arts artswr
appersuid audiofile avahi bash-completion bcp bdf berkdb bitmap-fonts bittorrent bja
m blas bluetooth boost branding bzip2 cairo caps cddb cdparanoia cli cracklib crypt
cscope css cups curl daap dbus dga directfb djvu dmi doc dri dv dvd dvdr dvdread enc
ode epydoc examples exif expat fam ffmpeg fftw firefox flac fontconfig fortran ftp g
d gdbm gif glib gnokii gphoto2 gpm graphviz gstreamer gtk hal hdf5 ibam ical iconv i                                        cu ieee1394 imagemagick imlib iproute2 ipv6 isdnlog ithreads java javascript jbig jc                                        e jingle jpeg jpeg2k kde kdeenablefinal kerberos lapack lcms ldap libcaca libnotify                                         live lm_sensors logitech-mouse logrotate lua lzo mad madwifi midi mikmod mmap mmx mn                                        g modplug motif mozdevelop mp3 mpeg mpi mplayer mudflap multicall musepack musicbrai                                        nz ncurses nls nptl nptlonly nsplugin numeric ocaml ogg openal openexr opengl openmp                                         pam pch pcre pdf perl pic plotutils png povray powersaving ppds pppd pulseaudio pys                                        te python qt3 qt4 quicktime rdesktop readline reflection restrict-javascript rtc rub                                        y samba scanner sdl session sid slp smp sndfile snmp socks5 sound source speex spell                                         spl sse sse2 ssl ssse3 subversion svg sysfs syslog szip tcpd tetex theora threads t                                        hreadsonly tidy tiff timidity tk truetype truetype-fonts tta type1-fonts unicode usb                                         v4l v4l2 vcd vim vim-syntax vorbis vorbis-psy wavpack webdav wifi wma wmf x264 xani                                        m xattr xcomposite xine xinerama xml xorg xpm xscreensaver xv xvid xvmc zeroconf zli                                        b" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop                                         empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null p                                        lug rate route share shm softvol" DVB_CARDS="usb-wt220u" ELIBC="glibc" INPUT_DEVICES                                        ="keyboard mouse synaptics evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz                                         cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB en_US de                                         sr sr_CS sr@Latn" USERLAND="GNU" VIDEO_CARDS="i810 vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTA                                        GE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 9 Binary Runner 2007-10-27 11:13:00 UTC
OK, it seems it is definitively not KDE issue, I found that fontforge si broken too:

runner paludis # gdb  /usr/bin/fontforge
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu"...
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run
Starting program: /usr/bin/fontforge 
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
warning: Cannot initialize thread debugging library: unknown thread_db error '22'
warning: Cannot initialize thread debugging library: unknown thread_db error '22'
warning: Cannot initialize thread debugging library: unknown thread_db error '22'
warning: Cannot initialize thread debugging library: unknown thread_db error '22'

Program received signal SIGSEGV, Segmentation fault.
0x00002b1ae8069ea8 in ?? () from /lib64/ld-linux-x86-64.so.2


(gdb) backtrace
#0  0x00002b1ae8069ea8 in ?? () from /lib64/ld-linux-x86-64.so.2
#1  0x00002b1ae9a778d2 in __pthread_initialize_minimal_internal () from /usr/lib64/libpthread.so.0
#2  0x00002b1ae9a77059 in _init () from /usr/lib64/libpthread.so.0
#3  0x0000000000000000 in ?? ()

I was not able to find any library loaded by faulting applications and not loaded by runninfg ones, so the segfaults are related to some specific call or calls. 

There are lines in system log of this kind:
[kernel] dcopidl[20497]: segfault at 00002b7360bf7ea8 rip 00002b7360bf7ea8 rsp 00007fff4a0cc358 error 15
[kernel] k3b[20499]: segfault at 00002ab3ff06dea8 rip 00002ab3ff06dea8 rsp 00007fffabc569e8 error 15
[kernel] fontforge[31962]: segfault at 00002b9804a4eea8 rip 00002b9804a4eea8 rsp 00007fffa6271cb8 error 15


Please provide further instructions how to collect more detailed information so we can track the source of the problem and can help with finding the solution. I'm willing to help but I'm not C developer so someone has to tell me how. If the problem is in glibc, should it be assigned to the "core system" component and rise the priority to P1 ?
Comment 10 Binary Runner 2007-10-27 13:03:09 UTC
OK, now it is no more just annoying, subversion client segfaults too.
The errors are the same - "unknown thread_db error '22'" in gdb, backtrace listing libpthread and and segfault with error 15 in system log.

The bug renders my system almost useless and I fear what more I'll find not working. I'm not going to reinstall everything, I don't have so the time needed for such operation .

---- 

SOLVED ?

I've found thet in /usr/lib64 is OLD glibc - libpthread-2.5.so . 
After copying libpthread-2.6.1.so form /usr/lib64 ti /lib64 and
redirecting symlink libpthread.so.0 to it everything seems to work fine.

I know that /lib is link to /lib64 and /usr/lib si linked to /usr/lib64,
please explain what relationship is between /lib64 and /usr/lib64 with 
regard to glibc and what libraries and version should be there.

Please change the component to "Core System" and remove "kde" from summary
as the problem is not in KDE.

Comment 11 Wulf Krueger (RETIRED) gentoo-dev 2007-10-27 13:31:55 UTC
Not a KDE problem. Re-assigning.
Comment 12 SpanKY gentoo-dev 2007-10-27 19:36:04 UTC
you're saying that on your machine, the libpthread from older glibc's was not unmerged ?  post the output of:
ls /*lib*/*pthread* /usr/*lib*/*pthread*
Comment 13 Justin 2007-10-28 20:22:14 UTC
Does http://forums.gentoo.org/viewtopic-t-603599-highlight-.html  have anything to do with this bug?

A glibc upgrade to 2.6.1 caused the above.
Comment 14 Binary Runner 2007-11-02 20:49:39 UTC
(In reply to comment #12)
> you're saying that on your machine, the libpthread from older glibc's was not
> unmerged ?  post the output of:
> ls /*lib*/*pthread* /usr/*lib*/*pthread*
> 

/lib32/libpthread-2.6.1.so             /usr/lib64/libpthread-2.5.so
/lib32/libpthread.so.0                 /usr/lib64/libpthread-2.6.1.so
/lib64/libpthread-2.6.1.so             /usr/lib64/libpthread.a
/lib64/libpthread.so                   /usr/lib64/libpthread_g.a
/lib64/libpthread.so.0                 /usr/lib64/libpthread_nonshared.a
/lib64/libpthreadX.so                  /usr/lib64/libpthread.so
/lib/libpthread-2.6.1.so               /usr/lib64/libpthread.so.0
/lib/libpthread.so                     /usr/lib/libgpgme-pthread.la
/lib/libpthread.so.0                   /usr/lib/libgpgme-pthread.so
/lib/libpthreadX.so                    /usr/lib/libgpgme-pthread.so.11
/usr/lib32/libpthread.a                /usr/lib/libgpgme-pthread.so.11.6.3
/usr/lib32/libpthread_g.a              /usr/lib/libpthread-2.5.so
/usr/lib32/libpthread_nonshared.a      /usr/lib/libpthread-2.6.1.so
/usr/lib32/libpthread.so               /usr/lib/libpthread.a
/usr/lib64/libgpgme-pthread.la         /usr/lib/libpthread_g.a
/usr/lib64/libgpgme-pthread.so         /usr/lib/libpthread_nonshared.a
/usr/lib64/libgpgme-pthread.so.11      /usr/lib/libpthread.so
/usr/lib64/libgpgme-pthread.so.11.6.3  /usr/lib/libpthread.so.0
Comment 15 SpanKY gentoo-dev 2007-11-03 07:08:29 UTC
a better question is why do you have versioned libpthread in /usr at all

you should only have /usr/lib*/libpthread.so and /usr/lib*/libpthread.a

please post your /var/db/pkg/sys-libs/glibc-*/CONTENTS file as an attachment and the full build log from glibc (if you have logging turned on, it'll be in /var/lib/portage/ by default)
Comment 16 Binary Runner 2007-11-10 19:21:56 UTC
Created attachment 135659 [details]
/var/db/pkg/sys-libs/glibc-2.6.1/CONTENTS
Comment 17 SpanKY gentoo-dev 2007-11-11 19:54:02 UTC
that CONTENTS file doesnt show any pthread libs in /usr/lib*/ like your `ls` showed

so either your symlinks are screwed, or something else on your system is copying files around

post the full build log as an attachment and try running:
qfile /usr/*lib*/*pthread*