bootstrap/3368: m68k-elf fails to compile on gcc 3.0 CVS branch

Toshi Morita tm2@best.com
Fri Jun 22 15:15:00 GMT 2001


Joel Sherril wrote:

> Toshi Morita wrote:
> 
> >> OK.  This fixes the problem reported but the build only gets to another 
> >> failure.  Do we
> >> close this one and create another one for this?
> >> 
> >> /usr3/ftp_archive/gnu/gcc/ss/b3/b-m68k-coff/gcc/xgcc 
> >> -B/usr3/ftp_archive/gnu/gcc/ss/b3/b-m68k-coff/gcc/ -nostdinc 
> >> -B/usr3/ftp_archive/gnu/gcc/ss/b3/b-m68k-coff/m68k-coff/newlib/ -isystem 
> >> /usr3/ftp_archive/gnu/gcc/ss/b3/b-m68k-coff/m68k-coff/newlib/targ-include 
> >> -isystem /usr3/ftp_archive/gnu/gcc/ss/b3/gcc/newlib/libc/include 
> >> -B/usr1/tmp-tools/m68k-coff/bin/ -B/usr1/tmp-tools/m68k-coff/lib/ 
> >> -isystem  /usr1/tmp-tools/m68k-coff/include -DPACKAGE=\"newlib\" 
> >> -DVERSION=\"1.9.0\"  -I. -I../../../../../gcc/newlib/libc/stdlib  -O2 
> >> -DMISSING_SYSCALL_NAMES -I../../targ-include 
> >> -I../../../../../gcc/newlib/libc/../libc/include -fno-builtin      -g 
> >> -O2 -c ../../../../../gcc/newlib/libc/stdlib/dtoa.c 
> >> ../../../../../gcc/newlib/libc/stdlib/dtoa.c: In function `_dtoa_r':
> >> ../../../../../gcc/newlib/libc/stdlib/dtoa.c:853: Internal compiler 
> >> error in update_equiv_regs, at local-alloc.c:1097
> >> Please submit a full bug report,

I'm getting a different error...strange.

/home/tm/gcc-3.0-m68k-elf/gcc/xgcc -B/home/tm/gcc-3.0-m68k-elf/gcc/ -nostdinc -B/home/tm/gcc-3.0-m68k-elf/m68k-elf/newlib/ -isystem /home/tm/gcc-3.0-m68k-elf/m68k-elf/newlib/targ-include -isystem /home/tm/gcc-3.0/newlib/libc/include -B/usr/local/m68k-elf/bin/ -B/usr/local/m68k-elf/lib/ -isystem /usr/local/m68k-elf/include -DPACKAGE=\"newlib\" -DVERSION=\"1.9.0\"  -I. -I../../../../../../../../gcc-3.0/newlib/newlib/libc/stdlib  -O2 -Wall -D_I386MACH_ALLOW_HW_INTERRUPTS -D_LOOSE_KERNEL_NAMES -fPIC -D_I386MACH_NEED_SOTYPE_FUNCTION -DMISSING_SYSCALL_NAMES -I../../targ-include -I../../../../../../../../gcc-3.0/newlib/newlib/libc/../libc/include -fno-builtin      -g -O2  -m68000 -c ../../../../../../../../gcc-3.0/newlib/newlib/libc/stdlib/__adjust.c
cc1: -fPIC is not currently supported on the 68000 or 68010

In file included from ../../../../../../../../gcc-3.0/newlib/newlib/libc/include/time.h:32,
                 from ../../../../../../../../gcc-3.0/newlib/newlib/libc/include/sys/reent.h:14,
                 from ../../../../../../../../gcc-3.0/newlib/newlib/libc/include/reent.h:48,
                 from ../../../../../../../../gcc-3.0/newlib/newlib/libc/stdlib/__adjust.c:6:
../../targ-include/sys/types.h:27:25: linux/types.h: No such file or directory
In file included from ../../../../../../../../gcc-3.0/newlib/newlib/libc/include/errno.h:1,
                 from ../../../../../../../../gcc-3.0/newlib/newlib/libc/stdlib/std.h:3,
                 from ../../../../../../../../gcc-3.0/newlib/newlib/libc/stdlib/__adjust.c:7:
../../targ-include/sys/errno.h:26:23: asm/errno.h: No such file or directory
../../../../../../../../gcc-3.0/newlib/newlib/libc/stdlib/__adjust.c: In function `__adjust':
../../../../../../../../gcc-3.0/newlib/newlib/libc/stdlib/__adjust.c:25: `ERANGE' undeclared (first use in this function)
../../../../../../../../gcc-3.0/newlib/newlib/libc/stdlib/__adjust.c:25: (Each undeclared identifier is reported only once
../../../../../../../../gcc-3.0/newlib/newlib/libc/stdlib/__adjust.c:25: for each function it appears in.)

I'll look into it a bit further...which host are you using, btw?

Toshi



More information about the Gcc-bugs mailing list