This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

3.0.4 cross build fails on i686-pc


Hi,

Try to build an alpha-linux-gnu-"tool-chain" from scratch.
The steep was,

1) Build an simple gcc:
../gcc-3.0.4/configure --target=alpha-linux-gnu --enable-languages=c
--with-newlib --disable-multilib --disable-threads --bindir=/usr/bin
( I use 
#define HOST_BITS_PER_WIDE_INT 64 in gcc-3.0.4/gcc/config/i386/xm-i386.h
#define HOST_WIDE_INT long long       --------------------"------------------
TARGET_LIBGCC2_CFLAGS = -Dinhibit_libc in gcc-build/gcc/Makefile)

2) This stopped with errors but I try to use the xgcc to build glibc this 
stop because of missing libgcc, but this was after crt1.o , crti.o and crtn.o 
was build, I could also in glibc run:
make echo-headers
make install-headers

3) Now with headers , the crt*.o files from glibc and kernel-headers rebuild 
gcc without errors installed and try to build glibc but this stop whit 
following errors:

=================================================================
make -r PARALLELMFLAGS="" CVSOPTS="" -C ../glibc-2.2.5 objdir=`pwd` all
make[1]: Entering directory `_BUILD_ROOT/glibc-2.2.5'
make  -C csu subdir_lib
make[2]: Entering directory `_BUILD_ROOT/glibc-2.2.5/csu'
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `_BUILD_ROOT/glibc-2.2.5/csu'
make  -C iconv subdir_lib
make[2]: Entering directory `_BUILD_ROOT/glibc-2.2.5/iconv'
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `_BUILD_ROOT/glibc-2.2.5/iconv'
make  -C iconvdata subdir_lib
make[2]: Entering directory `_BUILD_ROOT/glibc-2.2.5/iconvdata'
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `_BUILD_ROOT/glibc-2.2.5/iconvdata'
make  -C locale subdir_lib
make[2]: Entering directory `_BUILD_ROOT/glibc-2.2.5/locale'
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `_BUILD_ROOT/glibc-2.2.5/locale'
make  -C localedata subdir_lib
make[2]: Entering directory `_BUILD_ROOT/glibc-2.2.5/localedata'
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `_BUILD_ROOT/glibc-2.2.5/localedata'
make  -C assert subdir_lib
make[2]: Entering directory `_BUILD_ROOT/glibc-2.2.5/assert'
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `_BUILD_ROOT/glibc-2.2.5/assert'
make  -C ctype subdir_lib
make[2]: Entering directory `_BUILD_ROOT/glibc-2.2.5/ctype'
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `_BUILD_ROOT/glibc-2.2.5/ctype'
make  -C intl subdir_lib
make[2]: Entering directory `_BUILD_ROOT/glibc-2.2.5/intl'
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `_BUILD_ROOT/glibc-2.2.5/intl'
make  -C catgets subdir_lib
make[2]: Entering directory `_BUILD_ROOT/glibc-2.2.5/catgets'
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `_BUILD_ROOT/glibc-2.2.5/catgets'
make  -C math subdir_lib
make[2]: Entering directory `_BUILD_ROOT/glibc-2.2.5/math'
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `_BUILD_ROOT/glibc-2.2.5/math'
make  -C setjmp subdir_lib
make[2]: Entering directory `_BUILD_ROOT/glibc-2.2.5/setjmp'
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `_BUILD_ROOT/glibc-2.2.5/setjmp'
make  -C signal subdir_lib
make[2]: Entering directory `_BUILD_ROOT/glibc-2.2.5/signal'
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `_BUILD_ROOT/glibc-2.2.5/signal'
make  -C stdlib subdir_lib
make[2]: Entering directory `_BUILD_ROOT/glibc-2.2.5/stdlib'
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `_BUILD_ROOT/glibc-2.2.5/stdlib'
make  -C stdio-common subdir_lib
make[2]: Entering directory `_BUILD_ROOT/glibc-2.2.5/stdio-common'
alpha-linux-gnu-gcc printf_fp.c -c -O3 -Wall -Winline -Wstrict-prototypes 
-Wwrite-strings -g -mieee     -I../include -I. 
-I_BUILD_ROOT/glibc-build/stdio-common -I.. -I../libio  
-I_BUILD_ROOT/glibc-build -I../linuxthreads/sysdeps/alpha/elf 
-I../sysdeps/alpha/elf -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/alpha -I../sysdeps/unix/sysv/linux/alpha/alpha 
-I../sysdeps/unix/sysv/linux/alpha -I../sysdeps/unix/sysv/linux 
-I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman 
-I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/alpha 
-I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/alpha/fpu 
-I../sysdeps/alpha -I../sysdeps/wordsize-64 -I../sysdeps/ieee754/flt-32 
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic/elf 
-I../sysdeps/generic  -nostdinc -isystem 
/usr/libexec/alpha-linux-gnu/gcc-lib/alpha-linux-gnu/3.0.4/include -isystem 
TMP_DIR/temp/kernel-headers -D_LIBC_REENTRANT -include 
../include/libc-symbols.h     -D_IO_MTSAFE_IO -o 
_BUILD_ROOT/glibc-build/stdio-common/printf_fp.o
printf_fp.c: In function `__printf_fp':
printf_fp.c:1144: Internal compiler error in gen_subprogram_die, at 
dwarf2out.c:9512
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[2]: *** [_BUILD_ROOT/glibc-build/stdio-common/printf_fp.o] Error 1
make[2]: Leaving directory `_BUILD_ROOT/glibc-2.2.5/stdio-common'
make[1]: *** [stdio-common/subdir_lib] Error 2
make[1]: Leaving directory `_BUILD_ROOT/glibc-2.2.5'
make: *** [all] Error 2
=================================================================

Have I  do everything wrong or?

Ace


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]