public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* 3.0.4 cross build fails on i686-pc
@ 2002-04-12  3:52 ackek
  2002-04-12 11:43 ` Richard Henderson
  0 siblings, 1 reply; 2+ messages in thread
From: ackek @ 2002-04-12  3:52 UTC (permalink / raw)
  To: gcc

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 3.0.4 cross build fails on i686-pc
  2002-04-12  3:52 3.0.4 cross build fails on i686-pc ackek
@ 2002-04-12 11:43 ` Richard Henderson
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Henderson @ 2002-04-12 11:43 UTC (permalink / raw)
  To: ackek; +Cc: gcc

On Fri, Apr 12, 2002 at 12:17:24PM +0200, ackek wrote:
> printf_fp.c:1144: Internal compiler error in gen_subprogram_die, at 
> dwarf2out.c:9512

Fixed in gcc 3.1.  Work around in 3.0 with -fno-reorder-blocks
for this file.


r~

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-04-12 18:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-12  3:52 3.0.4 cross build fails on i686-pc ackek
2002-04-12 11:43 ` Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).