Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67650 - glibc-2.3.4.20040808-r1 builds in infinite loop with gcc-3.4.2 and NPTL
Summary: glibc-2.3.4.20040808-r1 builds in infinite loop with gcc-3.4.2 and NPTL
Status: RESOLVED INVALID
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-10-15 05:43 UTC by Thomas T. Veldhouse
Modified: 2005-03-11 13:46 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 Thomas T. Veldhouse 2004-10-15 05:43:16 UTC
A snippet follows, but the build continues on in a loop and never completes, with the following segment part of that loop.  glibc building more than 24+ hours on a P2-333 when I finally halted it.

       -MD -MP -MT '$(common-objpfx)tls.make' -MF /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/tls.make.dT \
 | sed -n '/@@@/{s/@@@[  ]*\(.*\)@@@/\1/;s/[     ]*$//p;}'; \
 echo 'common-generated += tls.make'; \
 sed -e 's@ /var/tmp/portage/glibc-2\.3\.4\.20040808-r1/work/build/@ $(common-objpfx)@g' -e 's@^/var/tmp/portage/glibc-2\.3\.4\.20040808-r1/work/build/@$(common-objpfx)@g' -e 's@  *\([^       \/$][^  \]*\)@ $(..)\1@g' -e 's@^\([^   \/$][^ \]*\)@$(..)\1@g' /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/tls.make.dT; \
 rm -f /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/tls.make.dT) > /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/tls.makeT
mv -f /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/tls.makeT /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/tls.make
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20040808-r1/work/glibc-2.3.3'
make[1]: Entering directory `/var/tmp/portage/glibc-2.3.4.20040808-r1/work/glibc-2.3.3'
make[1]: Warning: File `//usr/include/linux/limits.h' has modification time 5.8e+05 s in the future
rm -f /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/tls.makeT /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/tls.make.dT
(echo '# Generated from tls.make.c by Makerules.'; \
 gcc -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -freorder-blocks -march=pentium2 -pipe -mpreferred-stack-boundary=2     -Iinclude -I. -I/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build  -Ilibio -Inptl -I/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build -Isysdeps/i386/elf -Inptl/sysdeps/unix/sysv/linux/i386/i686 -Inptl/sysdeps/unix/sysv/linux/i386 -Inptl/sysdeps/unix/sysv/linux -Inptl/sysdeps/pthread -Isysdeps/pthread -Inptl/sysdeps/unix/sysv -Inptl/sysdeps/unix -Inptl/sysdeps/i386/i686 -Inptl/sysdeps/i386 -Isysdeps/unix/sysv/linux/i386 -Isysdeps/unix/sysv/linux -Isysdeps/gnu -Isysdeps/unix/common -Isysdeps/unix/mman -Isysdeps/unix/inet -Isysdeps/unix/sysv/i386 -Isysdeps/unix/sysv -Isysdeps/unix/i386 -Isysdeps/unix -Isysdeps/posix -Isysdeps/i386/i686/fpu -Isysdeps/i386/i686 -Isysdeps/i386/i486 -Inptl/sysdeps/i386/i486 -Isysdeps/i386/fpu -Isysdeps/i386 -Isysdeps/wordsize-32 -Isysdeps/ieee754/ldbl-96 -Isysdeps/ieee754/dbl-64 -Isysdeps/ieee754/flt-32 -Isysdeps/ieee754 -Isysdeps/generic/elf -Isysdeps/generic -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/include -isystem //usr/include -D_LIBC_REENTRANT -D_LIBC_REENTRANT -include include/libc-symbols.h       -E tls.make.c \
       -MD -MP -MT '$(common-objpfx)tls.make' -MF /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/tls.make.dT \
 | sed -n '/@@@/{s/@@@[  ]*\(.*\)@@@/\1/;s/[     ]*$//p;}'; \
 echo 'common-generated += tls.make'; \
 sed -e 's@ /var/tmp/portage/glibc-2\.3\.4\.20040808-r1/work/build/@ $(common-objpfx)@g' -e 's@^/var/tmp/portage/glibc-2\.3\.4\.20040808-r1/work/build/@$(common-objpfx)@g' -e 's@  *\([^       \/$][^  \]*\)@ $(..)\1@g' -e 's@^\([^   \/$][^ \]*\)@$(..)\1@g' /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/tls.make.dT; \
 rm -f /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/tls.make.dT) > /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/tls.makeT
mv -f /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/tls.makeT /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/tls.make
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20040808-r1/work/glibc-2.3.3'
make[1]: Entering directory `/var/tmp/portage/glibc-2.3.4.20040808-r1/work/glibc-2.3.3'
make[1]: Warning: File `//usr/include/linux/limits.h' has modification time 5.8e+05 s in the future
rm -f /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/tls.makeT /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/tls.make.dT
(echo '# Generated from tls.make.c by Makerules.'; \
 gcc -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -freorder-blocks -march=pentium2 -pipe -mpreferred-stack-boundary=2     -Iinclude -I. -I/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build  -Ilibio -Inptl -I/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build -Isysdeps/i386/elf -Inptl/sysdeps/unix/sysv/linux/i386/i686 -Inptl/sysdeps/unix/sysv/linux/i386 -Inptl/sysdeps/unix/sysv/linux -Inptl/sysdeps/pthread -Isysdeps/pthread -Inptl/sysdeps/unix/sysv -Inptl/sysdeps/unix -Inptl/sysdeps/i386/i686 -Inptl/sysdeps/i386 -Isysdeps/unix/sysv/linux/i386 -Isysdeps/unix/sysv/linux -Isysdeps/gnu -Isysdeps/unix/common -Isysdeps/unix/mman -Isysdeps/unix/inet -Isysdeps/unix/sysv/i386 -Isysdeps/unix/sysv -Isysdeps/unix/i386 -Isysdeps/unix -Isysdeps/posix -Isysdeps/i386/i686/fpu -Isysdeps/i386/i686 -Isysdeps/i386/i486 -Inptl/sysdeps/i386/i486 -Isysdeps/i386/fpu -Isysdeps/i386 -Isysdeps/wordsize-32 -Isysdeps/ieee754/ldbl-96 -Isysdeps/ieee754/dbl-64 -Isysdeps/ieee754/flt-32 -Isysdeps/ieee754 -Isysdeps/generic/elf -Isysdeps/generic -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/include -isystem //usr/include -D_LIBC_REENTRANT -D_LIBC_REENTRANT -include include/libc-symbols.h       -E tls.make.c \
       -MD -MP -MT '$(common-objpfx)tls.make' -MF /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/tls.make.dT \
 | sed -n '/@@@/{s/@@@[  ]*\(.*\)@@@/\1/;s/[     ]*$//p;}'; \
 echo 'common-generated += tls.make'; \
 sed -e 's@ /var/tmp/portage/glibc-2\.3\.4\.20040808-r1/work/build/@ $(common-objpfx)@g' -e 's@^/var/tmp/portage/glibc-2\.3\.4\.20040808-r1/work/build/@$(common-objpfx)@g' -e 's@  *\([^       \/$][^  \]*\)@ $(..)\1@g' -e 's@^\([^   \/$][^ \]*\)@$(..)\1@g' /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/tls.make.dT; \
 rm -f /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/tls.make.dT) > /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/tls.makeT
mv -f /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/tls.makeT /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/tls.make
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20040808-r1/work/glibc-2.3.3'




Reproducible: Always
Steps to Reproduce:
See details

Actual Results:  
See details

Expected Results:  
glibc should not be building in an infinite loop [should not be building the
same source over and over again]

Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.3.20040420-r2, 2.6.8.1)
=================================================================
System uname: 2.6.8.1 i686 Pentium II (Deschutes)
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-Os -march=pentium2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-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="-Os -march=pentium2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.seren.com/gentoo"
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X509 aalib accounting acpi activefilter alsa apache2 authdaemond avi bcmath
berkdb bzlib c cddb clamav crypt ctype cups curl curlwrappers dba dbm devmap
dhcp dlopen encode erandom f77 fam fastcgi fftw flac flatfile foomaticdb ftp gd
gdbm gif gmp gmtfull gmthigh gmtsuppl gmttria gsl gsm guile iconv idea imap
imlib java javascript jpeg kde kerberos ldap libg++ libwww lzw-tiff mad maildir
mcal mcve memlimit mhash migemo mikmod mime ming mmap mmx mng mono mp3 ncurses
neural nls nptl ntlm odbc oggvorbis oss pam pcap pcntl pcre pdflib perl perlsuid
pg-hier pg-intdatetime pg-vacuumdelay pic pie png posix postgres postgresql
private procmail python radius readline rtc ruby samba sdl session sharedmem
skey slang slp smime soap sockets spell ssl svga tcpd threads tiff tokenizer
transparent-proxy truetype usb vhosts x86 xml2 xmlrpc xsl yaz zeo zlib"

Note that my system was built entirely using gcc-3.4.2-r2 and NPTL.  Note the
contents of /etc/portage/package.use:

sys-kernel/linux26-headers ~x86
sys-kernel/development-sources ~x86
app-crypt/gnupg ~x86
sys-devel/gcc ~x86
sys-libs/libstdc++-v3 ~x86
dev-libs/gmp ~x86
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2005-03-10 05:28:01 UTC
Are you still experiencing problems?  Can you please try the latest glibc release?
Comment 2 Tim Coulter 2005-03-11 13:42:36 UTC
I had the same problem on my computer. I noticed the following string in both mine and your output:

make[1]: Warning: File `//usr/include/linux/limits.h' has modification time 5.8e+05 s in the future

If you use the date command to change the date of your system to the correct time and date, the problem should be correct. 

Tim Coulter
Comment 3 SpanKY gentoo-dev 2005-03-11 13:46:33 UTC
nice catch, thanks :)

invalid system clock time often causes make to freak out and go into infinite loops