Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 49941

Summary: glibc-2.3.3_pre20040420 fails to compile
Product: Gentoo Linux Reporter: Tim Tsahayev <xeonium>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tim Tsahayev 2004-05-04 01:32:21 UTC
Error when emerging recent (2.3.3_pre20040420) ~x86 glibc.

Reproducible: Always
Steps to Reproduce:
1.ACCEPT_KEYWORDS=~x86 emerge -v glibc
2.
3.

Actual Results:  
gcc ../sysdeps/generic/initfini.c -c -std=gnu99 -O2 -Wall -Winline 
-Wstrict-prototypes -Wwrite-strings -freorder-blocks -mcpu=k6-2 -pipe 
-mpreferred-stack-boundary=4   -g0 -fPIC -fno-inline-functions  -march=i386 
-mcpu=i386  -I../include -I. 
-I/var/tmp/portage/glibc-2.3.3_pre20040420/work/glibc-2.3.2/buildhere/csu -I.. 
-I../libio  
-I/var/tmp/portage/glibc-2.3.3_pre20040420/work/glibc-2.3.2/buildhere 
-I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix/sysv/linux/i386 
-I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread 
-I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv 
-I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386/i586 
-I../linuxthreads/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386 
-I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common 
-I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 
-I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix 
-I../sysdeps/posix -I../sysdeps/i386/i586 -I../sysdeps/i386/i486 
-I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 
-I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 
-I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf 
-I../sysdeps/generic -nostdinc 
-isystem /usr/lib/gcc-lib/i486-pc-linux-gnu/3.2.3/include 
-isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h       
-DHAVE_INITFINI -S -g0 -fPIC -fno-inline-functions  -march=i386 -mcpu=i386 
-finhibit-size-directive \ 
        -fno-exceptions 
-o /var/tmp/portage/glibc-2.3.3_pre20040420/work/glibc-2.3.2/buildhere/csu/initfini.s 
In file included from ../linuxthreads/sysdeps/i386/tls.h:24, 
                 from ../include/tls.h:6, 
                 from ../sysdeps/unix/sysv/linux/i386/sysdep.h:29, 
                 from <stdin>:1: 
../linuxthreads/sysdeps/i386/pt-machine.h: In function `testandset': 
../linuxthreads/sysdeps/i386/pt-machine.h:46: internal error: Segmentation 
fault 
Please submit a full bug report, 
with preprocessed source if appropriate. 
See <URL:http://bugs.gentoo.org/> for instructions. 
make[2]: *** 
[/var/tmp/portage/glibc-2.3.3_pre20040420/work/glibc-2.3.2/buildhere/tcb-offsets.h] 
Error 1 
make[2]: *** Waiting for unfinished jobs.... 
In file included from ../include/stdlib.h:8, 
                 from ../sysdeps/generic/initfini.c:39: 
../stdlib/stdlib.h: In function `strtod': 
../stdlib/stdlib.h:311: internal error: Segmentation fault 
Please submit a full bug report, 
with preprocessed source if appropriate. 
See <URL:http://bugs.gentoo.org/> for instructions. 
make[2]: *** 
[/var/tmp/portage/glibc-2.3.3_pre20040420/work/glibc-2.3.2/buildhere/csu/initfini.s] 
Error 1 
make[2]: Leaving directory 
`/var/tmp/portage/glibc-2.3.3_pre20040420/work/glibc-2.3.2/csu' 
make[1]: *** [csu/subdir_lib] Error 2 
make[1]: Leaving directory 
`/var/tmp/portage/glibc-2.3.3_pre20040420/work/glibc-2.3.2' 
make: *** [all] Error 2 
 
!!! ERROR: sys-libs/glibc-2.3.3_pre20040420 failed. 
!!! Function src_compile, Line 535, Exitcode 2 
!!! (no error message) 

Expected Results:  
clean install 

Portage 2.0.50-r6 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 
2.4.26-grsec-2.0) 
================================================================= 
System uname: 2.4.26-grsec-2.0 i586 AMD-K6(tm) 3D processor 
Gentoo Base System version 1.4.10 
distcc 2.13 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
Autoconf: sys-devel/autoconf-2.59-r3 
Automake: sys-devel/automake-1.8.3 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -mcpu=k6-2 -fomit-frame-pointer -ffast-math -pipe" 
CHOST="i586-pc-linux-gnu" 
COMPILER="gcc3" 
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=k6-2 -fomit-frame-pointer -ffast-math -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo/" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="3dnow acl apm arts avi berkdb crypt cups encode foomaticdb gdbm gif gtk2 
imlib java jpeg kde libg++ libwww mad mikmod mmx motif mpeg ncurses nls 
oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl 
slang spell ssl tcpd threads truetype x86 xml2 xv zlib" 
 
binutils version - 2.15.90.0.3-r1
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2004-05-04 05:42:37 UTC
*** Bug 49942 has been marked as a duplicate of this bug. ***
Comment 2 SpanKY gentoo-dev 2004-05-05 21:01:32 UTC
upgrade your gcc first, then your glibc, and stop tryin to mess around with wicked unstable binutils with such old gcc/glibc versions ;)