Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75136 - glibc-2.3.4.20041102 says I don't have __thread support to upgrade to >gcc-3.2.2 but I have gcc 3.4.3
Summary: glibc-2.3.4.20041102 says I don't have __thread support to upgrade to >gcc-3....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-20 21:12 UTC by Doug Goldstein (RETIRED)
Modified: 2005-02-04 02:37 UTC (History)
1 user (show)

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 Doug Goldstein (RETIRED) gentoo-dev 2004-12-20 21:12:41 UTC
# emerge -u glibc 
......
 * 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.

# gcc-config -l
[1] i686-pc-linux-gnu-3.3.4
[2] i686-pc-linux-gnu-3.4.3 *
[3] i686-pc-linux-gnu-3.4.3-hardened
[4] i686-pc-linux-gnu-3.4.3-hardenednopie
[5] i686-pc-linux-gnu-3.4.3-hardenednossp

# emerge info
Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041021-r0, 2.6.8-gentoo-r4 i686)
=================================================================
System uname: 2.6.8-gentoo-r4 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Sep 11 2004, 16:01:37)]
distcc 2.18.2 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.9.3, 1.6.3, 1.7.9
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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 -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.chem.wisc.edu/gentoo/"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X aac alsa apache2 apm audiofile avi berkdb bitmap-fonts cdr crypt cups dba dvd encode f77 flac foomaticdb footmaticdb freetype gd gdbm gif gnomedb gpm gstreamer imagemagick imlib ipv6 jpeg libclamav libg++ libwww lirc mad mikmod mmx motif mozilla mpeg mysql nas ncurses nptl nvidia oav oggvorbis opengl oss pam pcmcia pdflib perl php png pnp ppds python qt quicktime readline samba sdl session slang slp smooth spell sse ssl svga tcpd tiff truetype usb v4l2 wmf x86 xinerama xml2 xmms xv xvid zlib"


Reproducible: Always
Steps to Reproduce:
Comment 1 Olivier Castan 2005-01-06 05:24:35 UTC
I've experienced the same problem twice (sparc and x86 arch). Removing the redirection to /dev/null for the test in the ebuild, I read the error message from gcc-config which wasn't able to find gcc...
So it may be a gcc-config compatibility problem or an environment variable problem.
I ran :
emerge -v --oneshot gcc-config
etc-update
env-update
source /etc/profile

... and glibc is now building fine with nptl support.
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2005-02-04 02:37:41 UTC
This should be fixed in the toolchain.eclass update (properly running gcc-config after the emerge).