sh-elf build failure on mainline
Joern RENNECKE
joern.rennecke@st.com
Wed Jun 14 22:36:00 GMT 2006
The build fails with:
/mnt/scratch/nightly/2006-06-14/sh-elf/./gcc/xgcc
-B/mnt/scratch/nightly/2006-06-14/sh-elf/./gcc/ -nostdinc
-B/mnt/scratch/nightly/2006-06-14/sh-elf/sh-elf/newlib/ -isystem
/mnt/scratch/nightly/2006-06-14/sh-elf/sh-elf/newlib/targ-include
-isystem /mnt/scratch/nightly/2006-06-14/srcw/newlib/libc/include
-B/usr/local/sh-elf/bin/ -B/usr/local/sh-elf/lib/ -isystem
/usr/local/sh-elf/include -isystem /usr/local/sh-elf/sys-include
-L/mnt/scratch/nightly/2006-06-14/sh-elf/./ld -DHAVE_CONFIG_H
-I/mnt/scratch/nightly/2006-06-14/srcw/boehm-gc/include -fexceptions
-Iinclude -I././targ-include -I.//libc/include -O2 -g -O2 -fexceptions
-Iinclude -I././targ-include -I.//libc/include -c
../../../srcw/boehm-gc/allchblk.c -o allchblk.o
In file included from
/mnt/scratch/nightly/2006-06-14/srcw/boehm-gc/include/private/gc_priv.h:70,
from ../../../srcw/boehm-gc/allchblk.c:19:
/mnt/scratch/nightly/2006-06-14/srcw/boehm-gc/include/private/gcconfig.h:462:
error: expected identifier or '(' before '--' token
make[2]: *** [allchblk.lo] Error 1
make[2]: Leaving directory
`/mnt/scratch/nightly/2006-06-14/sh-elf/sh-elf/boehm-gc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/mnt/scratch/nightly/2006-06-14/sh-elf/sh-elf/boehm-gc'
make: *** [all-target-boehm-gc] Error 2
The attached patch alows the build to proceed past this obstacle,
although I don't know how patches to this files are supposed to be
handled, or if the build will eventually succeed.
Or why we need to cross-build boehm-gc for the target of a C / C++ /
objc cross compiler in the first place. We didn't one or two weeks ago.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tmp4
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20060614/eb620dc8/attachment.ksh>
More information about the Gcc-patches
mailing list