Compiling glibc-2.3.2 (-2.3.3?) snapshot 20031115 with gcc-3.4 snapshot 20031119

Robert Moss robert.moss@jesus.ox.ac.uk
Tue Nov 25 00:44:00 GMT 2003


>> It appears that this is sadly completely knackered - as is compiling 
>> *any* glibc 2.3.2 release or snapshot. The compile dies as soon as 
>> elf/ld.so is used for the first time, with the following error:
>>
>> CPP='gcc -E -x c-header' 
>> /var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/elf/ld-linux.so.2 
>> --library-path 
>> /var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere:/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/math:/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/elf:/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/dlfcn:/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/nss:/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/nis:/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/rt:/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/resolv:/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/crypt:/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/nptl 
>> /var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/sunrpc/rpcgen 
>> -Y ../scripts -c rpcsvc/bootparam_prot.x -o 
>> /var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/sunrpc/xbootparam_prot.T 
>>
>> make[2]: *** 
>> [/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/sunrpc/xbootparam_prot.stmp] 
>> Segmentation fault
>> ... The compile was done with CFLAGS="-O" to prevent other errors that 
>> stopped the build getting even this far.
> 
> 
> Hmm.  http://sources.redhat.com/ml/bug-glibc/2001-01/msg00065.html
> suggests that -O2 (and maybe -pipe?) are needed to avoid this problem.
> 
> What trouble did you run into that made you switch to -O ?
> - Dan

This is the info which remains in the xterm when the build process fails:

----------

make[2]: Entering directory 
`/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/iconv'
gcc iconv_charmap.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes 
-Wwrite-strings -freorder-blocks -pipe -mpreferred-stack-boundary=2 
-I../locale/programs   -I../include -I. 
-I/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/iconv -I.. 
-I../libio -I../nptl 
-I/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere 
-I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 
-I../nptl/sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux 
-I../nptl/sysdeps/pthread -I../sysdeps/pthread 
-I../nptl/sysdeps/unix/sysv -I../nptl/sysdeps/unix 
-I../nptl/sysdeps/i386/i686 -I../nptl/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/i686/fpu -I../sysdeps/i386/i686 
-I../sysdeps/i386/i486 -I../nptl/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/i686-pc-linux-gnu/3.4/include -isystem 
/lib/modules/2.6.0-test9/build/include -D_LIBC_REENTRANT 
-D_LIBC_REENTRANT -include ../include/libc-symbols.h      -DNOT_IN_libc 
-o 
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/iconv/iconv_charmap.o 
-MD -MP -MF 
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/iconv/iconv_charmap.o.dt
gcc ../locale/programs/charmap.c -c -std=gnu99 -O2 -Wall -Winline 
-Wstrict-prototypes -Wwrite-strings -freorder-blocks -pipe 
-mpreferred-stack-boundary=2 
-DCHARMAP_PATH='"/usr/share/i18n/charmaps"' 
-DDEFAULT_CHARMAP=null_pointer -DNEED_NULL_POINTER   -I../include -I. 
-I/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/iconv -I.. 
-I../libio -I../nptl 
-I/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere 
-I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 
-I../nptl/sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux 
-I../nptl/sysdeps/pthread -I../sysdeps/pthread 
-I../nptl/sysdeps/unix/sysv -I../nptl/sysdeps/unix 
-I../nptl/sysdeps/i386/i686 -I../nptl/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/i686/fpu -I../sysdeps/i386/i686 
-I../sysdeps/i386/i486 -I../nptl/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/i686-pc-linux-gnu/3.4/include -isystem 
/lib/modules/2.6.0-test9/build/include -D_LIBC_REENTRANT 
-D_LIBC_REENTRANT -include ../include/libc-symbols.h      -DNOT_IN_libc 
-o 
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/iconv/charmap.o 
-MD -MP -MF 
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/iconv/charmap.o.dt
gcc ../locale/programs/charmap-dir.c -c -std=gnu99 -O2 -Wall -Winline 
-Wstrict-prototypes -Wwrite-strings -freorder-blocks -pipe 
-mpreferred-stack-boundary=2   -I../include -I. 
-I/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/iconv -I.. 
-I../libio -I../nptl 
-I/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere 
-I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 
-I../nptl/sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux 
-I../nptl/sysdeps/pthread -I../sysdeps/pthread 
-I../nptl/sysdeps/unix/sysv -I../nptl/sysdeps/unix 
-I../nptl/sysdeps/i386/i686 -I../nptl/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/i686/fpu -I../sysdeps/i386/i686 
-I../sysdeps/i386/i486 -I../nptl/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/i686-pc-linux-gnu/3.4/include -isystem 
/lib/modules/2.6.0-test9/build/include -D_LIBC_REENTRANT 
-D_LIBC_REENTRANT -include ../include/libc-symbols.h      -DNOT_IN_libc 
-o 
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/iconv/charmap-dir.o 
-MD -MP -MF 
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/iconv/charmap-dir.o.dt
../locale/programs/charmap-dir.c: In function `charmap_aliases':

../locale/programs/charmap-dir.c:268: warning: float format, pointer arg 
(arg 3)../locale/programs/charmap-dir.c:269: warning: float format, 
pointer arg (arg 3)gcc ../locale/programs/linereader.c -c -std=gnu99 -O2 
-Wall -Winline -Wstrict-prototypes -Wwrite-strings -freorder-blocks 
-pipe -mpreferred-stack-boundary=2  -DNO_TRANSLITERATION   -I../include 
-I. -I/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/iconv 
-I.. -I../libio -I../nptl 
-I/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere 
-I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 
-I../nptl/sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux 
-I../nptl/sysdeps/pthread -I../sysdeps/pthread 
-I../nptl/sysdeps/unix/sysv -I../nptl/sysdeps/unix 
-I../nptl/sysdeps/i386/i686 -I../nptl/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/i686/fpu -I../sysdeps/i386/i686 
-I../sysdeps/i386/i486 -I../nptl/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/i686-pc-linux-gnu/3.4/include -isystem 
/lib/modules/2.6.0-test9/build/include -D_LIBC_REENTRANT 
-D_LIBC_REENTRANT -include ../include/libc-symbols.h      -DNOT_IN_libc 
-o 
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/iconv/linereader.o 
-MD -MP -MF 
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/iconv/linereader.o.dt
gcc dummy-repertoire.c -c -std=gnu99 -O2 -Wall -Winline 
-Wstrict-prototypes -Wwrite-strings -freorder-blocks -pipe 
-mpreferred-stack-boundary=2  -I../locale/programs   -I../include -I. 
-I/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/iconv -I.. 
-I../libio -I../nptl 
-I/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere 
-I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 
-I../nptl/sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux 
-I../nptl/sysdeps/pthread -I../sysdeps/pthread 
-I../nptl/sysdeps/unix/sysv -I../nptl/sysdeps/unix 
-I../nptl/sysdeps/i386/i686 -I../nptl/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/i686/fpu -I../sysdeps/i386/i686 
-I../sysdeps/i386/i486 -I../nptl/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/i686-pc-linux-gnu/3.4/include -isystem 
/lib/modules/2.6.0-test9/build/include -D_LIBC_REENTRANT 
-D_LIBC_REENTRANT -include ../include/libc-symbols.h       -o 
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/iconv/dummy-repertoire.o 
-MD -MP -MF 
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/iconv/dummy-repertoire.o.dt
gcc ../locale/programs/simple-hash.c -c -std=gnu99 -O2 -Wall -Winline 
-Wstrict-prototypes -Wwrite-strings -freorder-blocks -pipe 
-mpreferred-stack-boundary=2  -I../locale   -I../include -I. 
-I/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/iconv -I.. 
-I../libio -I../nptl 
-I/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere 
-I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 
-I../nptl/sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux 
-I../nptl/sysdeps/pthread -I../sysdeps/pthread 
-I../nptl/sysdeps/unix/sysv -I../nptl/sysdeps/unix 
-I../nptl/sysdeps/i386/i686 -I../nptl/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/i686/fpu -I../sysdeps/i386/i686 
-I../sysdeps/i386/i486 -I../nptl/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/i686-pc-linux-gnu/3.4/include -isystem 
/lib/modules/2.6.0-test9/build/include -D_LIBC_REENTRANT 
-D_LIBC_REENTRANT -include ../include/libc-symbols.h       -o 
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/iconv/simple-hash.o 
-MD -MP -MF 
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/iconv/simple-hash.o.dt
gcc ../locale/programs/xstrdup.c -c -std=gnu99 -O2 -Wall -Winline 
-Wstrict-prototypes -Wwrite-strings -freorder-blocks -pipe 
-mpreferred-stack-boundary=2     -I../include -I. 
-I/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/iconv -I.. 
-I../libio -I../nptl 
-I/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere 
-I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 
-I../nptl/sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux 
-I../nptl/sysdeps/pthread -I../sysdeps/pthread 
-I../nptl/sysdeps/unix/sysv -I../nptl/sysdeps/unix 
-I../nptl/sysdeps/i386/i686 -I../nptl/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/i686/fpu -I../sysdeps/i386/i686 
-I../sysdeps/i386/i486 -I../nptl/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/i686-pc-linux-gnu/3.4/include -isystem 
/lib/modules/2.6.0-test9/build/include -D_LIBC_REENTRANT 
-D_LIBC_REENTRANT -include ../include/libc-symbols.h       -o 
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/iconv/xstrdup.o 
-MD -MP -MF 
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/iconv/xstrdup.o.dt
gcc ../locale/programs/xmalloc.c -c -std=gnu99 -O2 -Wall -Winline 
-Wstrict-prototypes -Wwrite-strings -freorder-blocks -pipe 
-mpreferred-stack-boundary=2     -I../include -I. 
-I/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/iconv -I.. 
-I../libio -I../nptl 
-I/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere 
-I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 
-I../nptl/sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux 
-I../nptl/sysdeps/pthread -I../sysdeps/pthread 
-I../nptl/sysdeps/unix/sysv -I../nptl/sysdeps/unix 
-I../nptl/sysdeps/i386/i686 -I../nptl/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/i686/fpu -I../sysdeps/i386/i686 
-I../sysdeps/i386/i486 -I../nptl/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/i686-pc-linux-gnu/3.4/include -isystem 
/lib/modules/2.6.0-test9/build/include -D_LIBC_REENTRANT 
-D_LIBC_REENTRANT -include ../include/libc-symbols.h       -o 
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/iconv/xmalloc.o 
-MD -MP -MF 
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/iconv/xmalloc.o.dt
gcc strtab.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes 
-Wwrite-strings -freorder-blocks -pipe -mpreferred-stack-boundary=2 
-I../include -I. 
-I/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/iconv -I.. 
-I../libio -I../nptl 
-I/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere 
-I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 
-I../nptl/sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux 
-I../nptl/sysdeps/pthread -I../sysdeps/pthread 
-I../nptl/sysdeps/unix/sysv -I../nptl/sysdeps/unix 
-I../nptl/sysdeps/i386/i686 -I../nptl/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/i686/fpu -I../sysdeps/i386/i686 
-I../sysdeps/i386/i486 -I../nptl/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/i686-pc-linux-gnu/3.4/include -isystem 
/lib/modules/2.6.0-test9/build/include -D_LIBC_REENTRANT 
-D_LIBC_REENTRANT -include ../include/libc-symbols.h    -DNOT_IN_libc -o 
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/iconv/strtab.o 
-MD -MP -MF 
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/iconv/strtab.o.dt
gcc ../intl/hash-string.c -c -std=gnu99 -O2 -Wall -Winline 
-Wstrict-prototypes -Wwrite-strings -freorder-blocks -pipe 
-mpreferred-stack-boundary=2     -I../include -I. 
-I/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/iconv -I.. 
-I../libio -I../nptl 
-I/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere 
-I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 
-I../nptl/sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux 
-I../nptl/sysdeps/pthread -I../sysdeps/pthread 
-I../nptl/sysdeps/unix/sysv -I../nptl/sysdeps/unix 
-I../nptl/sysdeps/i386/i686 -I../nptl/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/i686/fpu -I../sysdeps/i386/i686 
-I../sysdeps/i386/i486 -I../nptl/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/i686-pc-linux-gnu/3.4/include -isystem 
/lib/modules/2.6.0-test9/build/include -D_LIBC_REENTRANT 
-D_LIBC_REENTRANT -include ../include/libc-symbols.h       -o 
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/iconv/hash-string.o 
-MD -MP -MF 
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/iconv/hash-string.o.dt
gcc iconvconfig.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes 
-Wwrite-strings -freorder-blocks -pipe -mpreferred-stack-boundary=2 
-DGCONV_PATH='"/usr/lib/gconv"' -DGCONV_DIR='"/usr/lib/gconv"' 
-I../include -I. 
-I/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/iconv -I.. 
-I../libio -I../nptl 
-I/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere 
-I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 
-I../nptl/sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux 
-I../nptl/sysdeps/pthread -I../sysdeps/pthread 
-I../nptl/sysdeps/unix/sysv -I../nptl/sysdeps/unix 
-I../nptl/sysdeps/i386/i686 -I../nptl/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/i686/fpu -I../sysdeps/i386/i686 
-I../sysdeps/i386/i486 -I../nptl/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/i686-pc-linux-gnu/3.4/include -isystem 
/lib/modules/2.6.0-test9/build/include -D_LIBC_REENTRANT 
-D_LIBC_REENTRANT -include ../include/libc-symbols.h   -DNOT_IN_libc=1 
  -DNOT_IN_libc -o 
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/iconv/iconvconfig.o 
-MD -MP -MF 
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/iconv/iconvconfig.o.dt
rm -f 
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/libc.so.6.new
/bin/sh ../scripts/rellns-sh 
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/libc.so 
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/libc.so.6.new
mv -f 
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/libc.so.6.new 
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/libc.so.6
gcc iconv_prog.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes 
-Wwrite-strings -freorder-blocks -pipe -mpreferred-stack-boundary=2 
-I../locale/programs   -I../include -I. 
-I/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/iconv -I.. 
-I../libio -I../nptl 
-I/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere 
-I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 
-I../nptl/sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux 
-I../nptl/sysdeps/pthread -I../sysdeps/pthread 
-I../nptl/sysdeps/unix/sysv -I../nptl/sysdeps/unix 
-I../nptl/sysdeps/i386/i686 -I../nptl/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/i686/fpu -I../sysdeps/i386/i686 
-I../sysdeps/i386/i486 -I../nptl/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/i686-pc-linux-gnu/3.4/include -isystem 
/lib/modules/2.6.0-test9/build/include -D_LIBC_REENTRANT 
-D_LIBC_REENTRANT -include ../include/libc-symbols.h   -DNOT_IN_libc=1 
  -DNOT_IN_libc -o 
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/iconv/iconv_prog.o 
-MD -MP -MF 
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/iconv/iconv_prog.o.dt
gcc -nostdlib -nostartfiles -o 
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/iconv/iconvconfig 
  -Wl,-dynamic-linker=/lib/ld-linux.so.2   -Wl,-z,combreloc 
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/csu/crt1.o 
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/csu/crti.o 
`gcc --print-file-name=crtbegin.o` 
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/iconv/iconvconfig.o 
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/iconv/strtab.o 
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/iconv/xmalloc.o 
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/iconv/hash-string.o 
 
-Wl,-rpath-link=/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere:/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/math:/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/elf:/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/dlfcn:/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/nss:/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/nis:/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/rt:/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/resolv:/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/crypt:/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/nptl 
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/libc.so.6 
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/libc_nonshared.a 
-lgcc -lgcc_eh `gcc --print-file-name=crtend.o` 
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/csu/crtn.o
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/csu/crtn.o(.text+0x0): 
In function `dummy':
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/csu/crtn.S:14: 
multiple definition of `dummy'
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/csu/crti.o(.text+0x0):/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/csu/crti.S:33: 
first defined here
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/csu/crtn.o(.text+0x14): 
In function `_init':
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/csu/crtn.S:28: 
multiple definition of `_init'
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/csu/crti.o(.text+0x24):/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/csu/crti.S:61: 
first defined here
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/csu/crtn.o(.init+0x8): 
In function `_fini':
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/csu/crtn.S:69: 
multiple definition of `_fini'
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/csu/crti.o(.init+0x4):/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/csu/crti.S:36: 
first defined here
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/csu/crti.o(.init+0x16): 
In function `_fini':
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/csu/crti.S:43: 
undefined reference to `i_am_not_a_leaf'
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/csu/crtn.o(.init+0x2b): 
In function `_fini':
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/csu/crtn.S:37: 
undefined reference to `i_am_not_a_leaf'
/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/csu/crtn.o(.init+0x30):/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/csu/crtn.S:39: 
undefined reference to `i_am_not_a_leaf'
collect2: ld returned 1 exit status
make[2]: *** 
[/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/iconv/iconvconfig] 
Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory 
`/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/iconv'
make[1]: *** [iconv/others] Error 2
make[1]: Leaving directory 
`/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.3.2-r9 failed.
!!! Function src_compile, Line 492, Exitcode 2
!!! (no error message)

----------

The latter 3 lines are distro (Gentoo) specific, so ignore those. If the 
above errors are fixable, or have perhaps even already been fixed, that 
would be great...

Any ideas?

Cheers,

Rob Moss
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 264 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20031125/c1c110d5/attachment.sig>


More information about the Libc-alpha mailing list