This is the mail archive of the 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]

Re: bootstrap failure of tree-ssa on armv5l-linux

Diego Novillo wrote:

I will try to reproduce it with a cross compiler. Could you send me a .i file and the configuration needed to get a cross cc1 for your target?

Thanks. Diego.

Assuming that you have binutils compiled and installed for arm-linux, in /opt/test-cross-gcc-arm-linux

and your working directory layout is :

./build        -> for building
./gcc          -> gcc source
./genattrtab.i -> for testing

You can do this :

export PATH=/opt/test-cross-gcc-arm-linux/bin:$PATH
cd build
../gcc/configure --prefix=/opt/test-cross-gcc-arm-linux --target=arm-linux --with-cpu=xscale --enable-languages=c
gcc/cc1 -fpreprocessed ../genattrtab.i -quiet -dumpbase genattrtab.c -auxbase-strip genattrtab.o -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Werror -Wno-error -version -fno-common -o genattrtab.s

Results in :

GNU C version 3.5-tree-ssa 20030516 (merged 20030511) (arm-linux)
	compiled by GNU C version 3.0.4.
GGC heuristics: --param ggc-min-expand=64 --param ggc-min-heapsize=64015
../../gcc/gcc/genattrtab.c: In function `attr_rtx':
../../gcc/gcc/genattrtab.c:726: warning: second parameter of `va_start' not last named argument
../../gcc/gcc/genattrtab.c: In function `attr_rtx_cost':
../../gcc/gcc/genattrtab.c:3201: internal compiler error: in verify_local_live_at_start, at flow.c:578
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:> for instructions.

Note : In my testsetup, I have in /opt/test-cross-gcc-arm-linux, besides binutils,
 also glibc and a cross-arm-linux gcc-3.0.4 compiler installed.
 This may influence the reproducability of this procedure. (headers, libraries, ...)

Jeroen Dobbelaere
Embedded Software Engineer

ACUNIA Embedded Solutions

Attachment: genattrtab.i.bz2
Description: BZip2 compressed data

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