[SM-Discuss] GCC 4.3.0

Eric Sandall eric at sandall.us
Tue Mar 18 00:00:31 EDT 2008


On Monday 17 March 2008 17:51:38 Eric Sandall wrote:
> Hey all,
>
> Some of you may have noticed I pushed (at ruskie's insistence ;)) what I
> had of GCC 4.3.0 to devel-gcc. If you've had the pleasure of helping test
> it, you may have run into the same problem I have on both x86 and x86_64,
> namely glibc faililng:
> ...
> gawk -f ../scripts/gen-as-const.awk ../nptl/sysdeps/i386/tcb-offsets.sym \
>
> gcc -S -o /usr/src/glibc-2.7.bld/tcb-offsets.hT3 -std=gnu99 -fgnu89-inline
> -DPIC -O2 -O3 -Wall -Winline -Wwrite-strings -fPIC -fmerge-all-constants
> -march=pentium-m -pipe -Wstrict-prototypes -mpreferred-stack-boundary=4    
> -I../include -I/usr/src/glibc-2.7.bld/csu -I/usr/src/glibc-2.7.bld
> -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686
> -I../nptl/sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/i386
> -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread
> -I../sysdeps/pthread -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../nptl/sysdeps/unix/sysv
> -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../nptl/sysdeps/unix
> -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu
> -I../nptl/sysdeps/i386/i686 -I../sysdeps/i386/i686 -I../sysdeps/i386/i486
> -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../nptl/sysdeps/i386
> -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
> -I../nptl  -I.. -I../libio -I. -nostdinc -isystem
> /usr/lib/gcc/i686-pc-linux-gnu/4.3.0/include -isystem
> /usr/src/glibc-2.7/linux-headers-2.6.23.1-i386/usr/include
> -D_LIBC_REENTRANT -include ../include/libc-symbols.h       -DHAVE_INITFINI
> -x c - \
>                 -MD -MP -MF /usr/src/glibc-2.7.bld/tcb-offsets.h.dT -MT
> '/usr/src/glibc-2.7.bld/tcb-offsets.h.d
> /usr/src/glibc-2.7.bld/tcb-offsets.h' In file included from
> ../nptl/sysdeps/pthread/allocalim.h:21,
>                  from ../include/alloca.h:20,
>                  from ../stdlib/stdlib.h:497,
>                  from ../include/stdlib.h:8,
>                  from ../nptl/sysdeps/i386/i686/../tls.h:28,
>                  from ../nptl/sysdeps/i386/i686/tls.h:34,
>                  from ../include/tls.h:6,
>                  from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
>                  from <stdin>:1:
> ../include/limits.h:125:26: error: limits.h: No such file or directory
> make[2]: *** [/usr/src/glibc-2.7.bld/tcb-offsets.h] Error 1
> make[2]: Leaving directory `/usr/src/glibc-2.7/csu'
>
> I will be looking into this as I have time, but volunteers are, as always,
> welcome. :)
>
> -sandalle

Elisamuel Resto (ryuji) found the fix for me. :) It's a known bug by the GCC 
guys whom say it's GLIBC which needs to fix (of course ;)): 
http://sources.redhat.com/bugzilla/show_bug.cgi?id=5442

I'm testing it now on my x86 and x86_64 boxes.

Thanks Sam! :)

-sandalle

-- 
Eric Sandall                     |  Source Mage GNU/Linux Developer
eric at sandall.us PGP: 0xA8EFDD61  |  http://www.sourcemage.org/
http://eric.sandall.us/          |  http://counter.li.org/  #196285
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.ibiblio.org/pipermail/sm-discuss/attachments/20080317/6d2e2ade/attachment.bin 


More information about the SM-Discuss mailing list