Checking failure building arm-elf

Hans-Peter Nilsson hp@bitrange.com
Thu Mar 6 13:12:00 GMT 2003


On Thu, 6 Mar 2003, Andreas Schwab wrote:

> Richard Earnshaw <rearnsha@arm.com> writes:
>
> |> This is new since yesterday.  Building arm-elf now fails with an internal
> |> check failure:
> |>
> |> /work/rearnsha/gnu/egcs/gcc/xgcc -shared-libgcc -B/work/rearnsha/gnu/egcs/g
> |> cc/ -nostdinc++  -L/work/rearnsha/gnu/egcs/arm-elf/libstdc++-v3/src
> |> -L/work/rearnsha/gnu/egcs/arm-elf/libstdc++-v3/src/.libs -nostdinc
> |> -B/work/rearnsha/gnu/egcs/arm-elf/newlib/ -isystem
> |> /work/rearnsha/gnu/egcs/arm-elf/newlib/targ-include -isystem
> |> /home/rearnsha/gnusrc/egcs-cross/newlib/libc/include
> |> -B/work/rearnsha/gnu/install/arm-elf/bin/ -B/work/rearnsha/gnu/install/arm-
> |> elf/lib/ -isystem /work/rearnsha/gnu/install/arm-elf/include -isystem
> |> /work/rearnsha/gnu/install/arm-elf/sys-include -L/work/rearnsha/gnu/egcs/ld
> |>  -c -S -O2 -g -O2 conftest.C 1>&5
> |> configure: In function `void foo()':
> |> configure:3967: internal compiler error: tree check: expected class 'd',
> |> have 't
> |>    ' (record_type) in decl_assembler_name, at tree.c:151
>
> Same on ia64. Since this is called from cgraph_rtl_info via cgraph_node at
> cgraph.c:88 I suspect it's the last change in this file that broke this.

Same on *all* other targets I try to build (except those failing
before this point) for example: cris-axis-elf,
mmix-knuth-mmixware, h8300-hitachi-hms, i960-unknown-coff,
m32r-unknown-elf, mn10300-unknown-elf, d30v-unknown-elf,
mcore-unknown-elf (though some usually fail *after* this point).

Do thing bootstrap *anywhere else* than i686-pc-linux-gnu?

Whatever the failing failing patch is, it should be ASAP fixed
or reverted.

I'll check by reverting the last cgraph.c patch locally.

(Rant: Why can't people take the time to build and test their
patches with at least *one* simulator chain besides their native
machine, instead inconveniencing all other people?  It's even a
in the testing instructions!  Though it's stated as an
"encouragement", maybe it should be made a "requirement".
mn10300-unknown-elf is a complete toolchain usually buildable
and with few multilibs, mmix-knuth-mmixware too except you need
the mmix simulator from Knuth's site, see readings.html.)

brgds, H-P



More information about the Gcc-bugs mailing list