Weird glibc emerge error
[…]
CPP='i686-pc-linux-gnu-gcc -E -x c-header' /var/tmp/portage/glibc-2.3.6-r3/work/build-default-i686-pc-linux-gnu-nptl/elf/ld-l
inux.so.2 –library-path /var/tmp/portage/glibc-2.3.6-r3/work/build-default-i686-pc-linux-gnu-nptl:/var/tmp/portage/glibc-2.3.
6-r3/work/build-default-i686-pc-linux-gnu-nptl/math:/var/tmp/portage/glibc-2.3.6-r3/work/build-default-i686-pc-linux-gnu-nptl/
elf:/var/tmp/portage/glibc-2.3.6-r3/work/build-default-i686-pc-linux-gnu-nptl/dlfcn:/var/tmp/portage/glibc-2.3.6-r3/work/build
-default-i686-pc-linux-gnu-nptl/nss:/var/tmp/portage/glibc-2.3.6-r3/work/build-default-i686-pc-linux-gnu-nptl/nis:/var/tmp/por
tage/glibc-2.3.6-r3/work/build-default-i686-pc-linux-gnu-nptl/rt:/var/tmp/portage/glibc-2.3.6-r3/work/build-default-i686-pc-li
nux-gnu-nptl/resolv:/var/tmp/portage/glibc-2.3.6-r3/work/build-default-i686-pc-linux-gnu-nptl/crypt:/var/tmp/portage/glibc-2.3
.6-r3/work/build-default-i686-pc-linux-gnu-nptl/nptl /var/tmp/portage/glibc-2.3.6-r3/work/build-default-i686-pc-linux-gnu-nptl
/sunrpc/rpcgen -Y ../scripts -c rpcsvc/bootparam_prot.x -o /var/tmp/portage/glibc-2.3.6-r3/work/build-default-i686-pc-linux-gn
u-nptl/sunrpc/xbootparam_prot.T
cannot set up thread-local storage: setthreadarea failed when setting up thread-local storage
make[2]: *** [/var/tmp/portage/glibc-2.3.6-r3/work/build-default-i686-pc-linux-gnu-nptl/sunrpc/xbootparam_prot.stmp] Error 127
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.6-r3/work/glibc-2.3.6/sunrpc'
make[1]: *** [sunrpc/others] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.6-r3/work/glibc-2.3.6'
make: *** [all] Error 2
!!! ERROR: sys-libs/glibc-2.3.6-r3 failed.
!!! Function toolchain-glibcsrccompile, Line 261, Exitcode 2
!!! make for default failed
!!! If you need support, post the topmost build error, NOT this status message.
Is anybody else seeing this? I'm running the "Latest 2.6 series" kernel configuration. I let my linode go without updating packages for a few months, then I recently changed my make.profile to 2006.0.
After glibc first failed I updated my gcc to 3.4.6 using
5 Replies
Switch to 2.6.17-rc2-linode19 or disable TLS:
mv /lib/tls /lib/tls-disabled
I guess I'll just –skipfirst past glibc until linode's 2.6-latest catches up with the tls feature. I'm not interested in running a bleeding-edge linode, I probably shouldn't even have upgraded to 2.6.
I guess I could also do something like 'USE="-tls" emerge -u glibc' if skipping glibc turns out to be problematic.