Hi,

When I try to emerge -u world, the only package that's going to be updated
is glibc. However the build fails with the following error:

--- snip ---
/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthrea
ds/linuxthreads/libpthread_pic.a(pthread.os)(.text+0x1cd): In function
`pthread_initialize':
: undefined reference to `_res'
/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthrea
ds/linuxthreads/libpthread_pic.a(pthread.os)(.text+0x1033): In function
`__pthread_reset_main_thread':
: undefined reference to `_errno'
/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthrea
ds/linuxthreads/libpthread_pic.a(pthread.os)(.text+0x1042): In function
`__pthread_reset_main_thread':
: undefined reference to `_h_errno'
/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthrea
ds/linuxthreads/libpthread_pic.a(pthread.os)(.text+0x1051): In function
`__pthread_reset_main_thread':
: undefined reference to `_res'
/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthrea
ds/linuxthreads/libpthread_pic.a(pthread.os)(.data.rel+0x1b8): undefined
reference to `_errno'
/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthrea
ds/linuxthreads/libpthread_pic.a(pthread.os)(.data.rel+0x1c0): undefined
reference to `_h_errno'
/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthrea
ds/linuxthreads/libpthread_pic.a(pthread.os)(.data.rel+0x1c8): undefined
reference to `_res'
collect2: ld returned 1 exit status
make[2]: ***
[/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthre
ads/linuxthreads/libpthread.so] Error 1
make[2]: Leaving directory
`/var/tmp/portage/glibc-2.3.5/work/glibc-2.3.5/linuxthreads'
make[1]: *** [linuxthreads/others] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.5/work/glibc-2.3.5'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.3.5 failed.
!!! Function toolchain-glibc_src_compile, Line 237, Exitcode 2
!!! (no error message)
--- snap ---

Here's my make.conf:

CFLAGS="-march=i586 -m3dnow -O3 -pipe -fomit-frame-pointer -mmmx"
CHOST="i586-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"
FEATURES="ccache"
CCACHE_SIZE="2G"
USE="-X -kde -gnome -gtk -gtk2 -qt -sdl -dvd -cdr -dvdr -truetype svga
unicode alsa"
ALSA_CARDS="via82xx"

Does anyone have any suugestions how to fix the problem?


Thanks in advance
Alex

-- 
gentoo-user@gentoo.org mailing list

Reply via email to