Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78342 - glibc emerge fails
Summary: glibc emerge fails
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: Sparc Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-17 04:05 UTC by persson
Modified: 2005-01-17 04:22 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 persson 2005-01-17 04:05:14 UTC
I used to have a NPTL glibc on this sparc system, but now (after upgrading linux26-headers) I wanted to recompile glibc. It fails with the following error:

[Mon Jan 17 10:53:34 root@blackbox ~]# emerge -Dav glibc

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] sys-libs/glibc-2.3.3.20040420-r2  -build -debug -erandom -hardened +nls +nptl (-pic) 0 kB

Total size of downloads: 0 kB

Do you want me to merge these packages? [Yes/No] y
>>> emerge (1 of 1) sys-libs/glibc-2.3.3.20040420-r2 to /
>>> md5 src_uri ;-) glibc-2.3.2.tar.bz2
>>> md5 src_uri ;-) glibc-linuxthreads-2.3.2.tar.bz2
>>> md5 src_uri ;-) glibc-2.3.3-branch-update-20040420.patch.bz2
>>> Unpacking source...

nptl
 * Checking for sufficient version kernel headers ... yes
 * Checking kernel headers for broken sysctl.h ... no
nptl
 * Checking gcc for __thread support ... no

 * Could not find a gcc that supports the __thread directive!
 * please update to gcc-3.2.2-r1 or later, and try again.

!!! ERROR: sys-libs/glibc-2.3.3.20040420-r2 failed.
!!! Function glibc_setup, Line 230, Exitcode 0
!!! No __thread support in gcc!
!!! If you need support, post the topmost build error, NOT this status message.

is this nptl-related? and if the answer is yes, is nptl working on sparc? should I revert to non-nptl and (possibly) linux 2.4 headers? Thank you.


Reproducible: Always
Steps to Reproduce:
1.emerge glibc
2.
3.

Actual Results:  
Error messages (see above)

Expected Results:  
Build without problems.

[Mon Jan 17 10:54:09 root@blackbox ~]# emerge info
Portage 2.0.51-r3 (default-linux/sparc/sparc64/2004.3/26headers, gcc-3.3.5,
glibc-2.3.3.20040420-r2, 2.6.7 sparc64)
=================================================================
System uname: 2.6.7 sparc64 sun4u
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r2
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="sparc"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=ultrasparc"
CHOST="sparc-unknown-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=ultrasparc"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo
ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo
ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/
http://gentoo.mirror.solnet.ch
http://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="arts avi berkdb bitmap-fonts crypt cups encode esd f77 fbcon font-server
foomaticdb fortran gcc64 gdbm gif gtk2 imlib ipv6 jpeg libwww mad mikmod motif
mpeg ncurses nls nptl nptlonly oggvorbis opengl oss pam pdflib perl png python
readline sdl spell ssl truetype truetype-fonts type1-fonts xml2 xmms xv zlib"
Comment 1 persson 2005-01-17 04:22:22 UTC
Reposted by error, sorry.