[Bug 4602] New: sh4, gcc-cross-initial: CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include
bugzilla-daemon at amethyst.openembedded.net
bugzilla-daemon at amethyst.openembedded.net
Fri Oct 3 15:12:18 UTC 2008
http://bugs.openembedded.net/show_bug.cgi?id=4602
Summary: sh4, gcc-cross-initial: CROSS COMPILE Badness:
/usr/include in INCLUDEPATH: /usr/include
Classification: Unclassified
Product: Openembedded
Version: Angstrom 2008.x
Platform: SuperH
OS/Version: Linux
Status: UNCONFIRMED
Severity: critical
Priority: P3
Component: org.openembedded.dev
AssignedTo: openembedded-issues at lists.openembedded.org
ReportedBy: jin at mediatomb.cc
I am trying to build for sh4, using oe.dev, Angstrom angstrom-2008.1, uclibc
The bug can be reproduced with the titan machine config that is available in
OE.
I would appreciate any help or hints on how to debug this problem.
Btw, same happens with gcc 4.2.3.
| ccache gcc -c
-isystem/opt/jin/OE/build/angstrom/staging/x86_64-linux/usr/include -Os
-DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute
-DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild
-I/opt/jin/OE/build/angstrom/work/sh4-angstrom-linux-uclibc/gcc-cross-initial-4.2.4-r3/gcc-4.2.4/gcc
-I/opt/jin/OE/build/angstrom/work/sh4-angstrom-linux-uclibc/gcc-cross-initial-4.2.4-r3/gcc-4.2.4/gcc/build
-I/opt/jin/OE/build/angstrom/work/sh4-angstrom-linux-uclibc/gcc-cross-initial-4.2.4-r3/gcc-4.2.4/gcc/../include
-I/opt/jin/OE/build/angstrom/work/sh4-angstrom-linux-uclibc/gcc-cross-initial-4.2.4-r3/gcc-4.2.4/gcc/../libcpp/include
-I/opt/jin/OE/build/angstrom/work/sh4-angstrom-linux-uclibc/gcc-cross-initial-4.2.4-r3/gcc-4.2.4/gcc/../libdecnumber
-I../libdecnumber -o build/fix-header.o
/opt/jin/OE/build/angstrom/work/sh4-angstrom-linux-uclibc/gcc-cross-initial-4.2.4-r3/gcc-4.2.4/gcc/fix-header.c
| ccache gcc
-isystem/opt/jin/OE/build/angstrom/staging/x86_64-linux/usr/include -Os
-DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute
-DHAVE_CONFIG_H -DGENERATOR_FILE -o build/fix-header \
| build/fix-header.o c-incpath.o cppdefault.o build/scan-decls.o prefix.o \
| build/scan.o build/errors.o ../libcpp/libcpp.a ../libiberty/libiberty.a
../libdecnumber/libdecnumber.a
| if [ -f fixhdr.ready ] ; then \
| true; \
| else \
| echo timestamp > fixhdr.ready; \
| fi
| if [ -f include/fixed ] ; then true; \
| else \
| : This line works around a 'make' bug in BSDI 1.1.; \
| FIXPROTO_DEFINES=""; export FIXPROTO_DEFINES; \
| FIX_HEADER="build/fix-header"; export FIX_HEADER; \
| mkinstalldirs="/bin/sh
/opt/jin/OE/build/angstrom/work/sh4-angstrom-linux-uclibc/gcc-cross-initial-4.2.4-r3/gcc-4.2.4/gcc/../mkinstalldirs";
\
| export mkinstalldirs; \
| if [ -d "`echo
/opt/jin/OE/build/angstrom/staging/sh4-angstrom-linux-uclibc/usr/include | sed
-e :a -e 's,[^/]*/\.\.\/,,' -e ta`" ]; then \
| /bin/sh
/opt/jin/OE/build/angstrom/work/sh4-angstrom-linux-uclibc/gcc-cross-initial-4.2.4-r3/gcc-4.2.4/gcc/fixproto
include include `echo
/opt/jin/OE/build/angstrom/staging/sh4-angstrom-linux-uclibc/usr/include | sed
-e :a -e 's,[^/]*/\.\.\/,,' -e ta`; \
| if [ $? -eq 0 ] ; then true ; else exit 1 ; fi ; \
| else true; fi; \
| echo timestamp > include/fixed; \
| fi
| fixproto: populating `include'
| CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include
| fix-header: Internal error: abort in add_path, at c-incpath.c:371
| make[2]: *** [stmp-fixproto] Error 1
| make[2]: Leaving directory
`/opt/jin/OE/build/angstrom/work/sh4-angstrom-linux-uclibc/gcc-cross-initial-4.2.4-r3/gcc-4.2.4/build.x86_64-linux.sh4-angstrom-linux-uclibc/gcc'
| make[1]: *** [all-gcc] Error 2
| make[1]: Leaving directory
`/opt/jin/OE/build/angstrom/work/sh4-angstrom-linux-uclibc/gcc-cross-initial-4.2.4-r3/gcc-4.2.4/build.x86_64-linux.sh4-angstrom-linux-uclibc'
| make: *** [all] Error 2
| FATAL: oe_runmake failed
NOTE: Task failed:
/opt/jin/OE/build/angstrom/work/sh4-angstrom-linux-uclibc/gcc-cross-initial-4.2.4-r3/temp/log.do_compile.24374
NOTE: package gcc-cross-initial-4.2.4-r3: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package gcc-cross-initial-4.2.4: failed
ERROR: Build of
/opt/jin/OE/org.openembedded.dev/packages/gcc/gcc-cross-initial_4.2.4.bb
do_compile failed
ERROR: Task 9
(/opt/jin/OE/org.openembedded.dev/packages/gcc/gcc-cross-initial_4.2.4.bb,
do_compile) failed
NOTE: Tasks Summary: Attempted 154 tasks of which 135 didn't need to be rerun
and 1 failed.
ERROR:
'/opt/jin/OE/org.openembedded.dev/packages/gcc/gcc-cross-initial_4.2.4.bb'
failed
--
Configure bugmail: http://bugs.openembedded.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Openembedded-issues
mailing list