Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146077 - sys-libs/glibc-2.4-r3 fails on TLS error
Summary: sys-libs/glibc-2.4-r3 fails on TLS error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-02 19:53 UTC by Andrew Dorney
Modified: 2006-09-03 17:09 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 Andrew Dorney 2006-09-02 19:53:04 UTC
I'm trying to emerge glibc 2.4, but it fails every time I try to build it. Do I need to upgrade GCC to 4.1 first, before compiling glibc 2.4, or should this work? I noticed it said it was having problems making x86, so maybe it's an error since I run 64-bit. ('course, it could be multilib too).

Any light you could shed on the subject would be great.


| x86_64-pc-linux-gnu-gcc -E -undef  -Iinclude  -I/var/tmp/portage/glibc-2.4-r3/work/build-x86-x86_64-pc-linux-gnu-nptl -Isysdeps/i386/elf -Inptl/sysdeps/unix/sysv/linux/i386/i686 -Inptl/sysdeps/unix/sysv/linux/i386 -Isysdeps/unix/sysv/linux/i386 -Iports/sysdeps/unix/sysv/linux -Inptl/sysdeps/unix/sysv/linux -Inptl/sysdeps/pthread -Isysdeps/pthread -Isysdeps/unix/sysv/linux -Isysdeps/gnu -Isysdeps/unix/common -Isysdeps/unix/mman -Isysdeps/unix/inet -Iports/sysdeps/unix/sysv/i386 -Isysdeps/unix/sysv/i386 -Iports/sysdeps/unix/sysv -Inptl/sysdeps/unix/sysv -Isysdeps/unix/sysv -Isysdeps/unix/i386 -Iports/sysdeps/unix -Inptl/sysdeps/unix -Isysdeps/unix -Isysdeps/posix -Isysdeps/i386/i686/fpu -Inptl/sysdeps/i386/i686 -Isysdeps/i386/i686 -Isysdeps/i386/i486 -Inptl/sysdeps/i386/i486 -Isysdeps/i386/fpu -Inptl/sysdeps/i386 -Isysdeps/i386 -Isysdeps/wordsize-32 -Isysdeps/ieee754/ldbl-96 -Isysdeps/ieee754/dbl-64 -Isysdeps/ieee754/flt-32 -Isysdeps/ieee754 -Isysdeps/generic/elf -Isysdeps/generic -Iports -Inptl   -Ilibio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/include -isystem /usr/include -D_LIBC_REENTRANT -include include/libc-symbols.h       \
           -DASSEMBLER -x assembler-with-cpp - \
           > /var/tmp/portage/glibc-2.4-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/Versions.v.iT
In file included from nptl/sysdeps/i386/i686/tls.h:34,
                 from include/tls.h:6,
                 from <stdin>:1:
nptl/sysdeps/i386/i686/../tls.h:65:3: #error "TLS support is required."
make[1]: *** [/var/tmp/portage/glibc-2.4-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/Versions.v.i] Error 1
make[1]: Leaving directory `/var/tmp/portage/glibc-2.4-r3/work/glibc-2.4'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.4-r3 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  glibc-2.4-r3.ebuild, line 1168:   Called src_compile
  glibc-2.4-r3.ebuild, line 1179:   Called toolchain-glibc_src_compile
  glibc-2.4-r3.ebuild, line 253:   Called die

!!! make for x86 failed
!!! If you need support, post the topmost build error, and the call stack if relevant.



emerge --info:

Portage 2.1-r2 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /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/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig distlocks fixpackages metadata-transfer sandbox sfperms splitdebug strict"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.mirrors.pair.com"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
MAKEOPTS="-j2"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/portage-xgl"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d aac aalib accessibility acpi aim alsa amd64 apm arts audiofile avi bash-completion berkdb bitmap-fonts bluetooth bonobo bzlib cdparanoia cdr cjk cli crypt cups curl curlwrappers dbus ddbm dga dio divx4linux dlloader dri dvd dvdr dvdread eds emboss emul-linux-x86 encode esd ethereal exif expat f77 faad fam fbcon ffmpeg flac flash font-server foomaticdb fortran ftp gd gdbm ggi gif glut gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal icq imagemagick imap imlib inifile ipv6 isdnlog jabber jack java javascript joystick jp2 jpeg kde ladcca ldap lesstif libcaca libg++ libwww lm_sensors lmcs lzw lzw-tiff mad mbox mikmod mng motif mp3 mpeg msn nas ncurses nls nptl nptlonly ogg oggvorbis openal opengl oss pam pcre pdds pdflib perl png portaudio ppds pppd python qt qt3 qt4 quicktime readline reflection ruby sambasasl scanner sdl seamonkey session slang sndfile snmp sockets sox speex spell spl ssl svg tcpd theora threads tidy tiff truetype truetype-fonts type1-fonts unicode usb userlocales utf8 vcd videos vorbis wifi wmf xine xinerama xml xml-rpc xml2 xmms xorg xosd xpm xprint xrandr xv xvid yahoo zlib elibc_glibc input_devices_joystick input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_dummy video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_vesa video_cards_vga"
Unset:  CTARGET, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-09-03 00:13:50 UTC
(In reply to comment #0)
> Do I need to upgrade GCC to 4.1 first, before compiling glibc 2.4

Might be a good idea, your multilib setup looks broken.
Comment 2 Andrew Dorney 2006-09-03 17:09:46 UTC
Upgrading to GCC 4.1 first fixed the issue. Thanks.