This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/40586] New: CROSS COMPILE Badness
- From: "cfriedt at visible-assets dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Jun 2009 12:32:32 -0000
- Subject: [Bug c/40586] New: CROSS COMPILE Badness
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I'm using OpenEmbedded to cross-compile xf86-input-keyboard-1.2.2 for the
OpenMoko FreeRunner.
It appears that the cross-compiler is inserting an invalid header location,
with -I/usr/include/xorg .
The exact error message is below.
I would imagine that "cc1: internal compiler error: in add_path, at
c-incpath.c:362" indicates an error with gcc.
Please see the attached config.log file for more details.
configure:11681: ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t
-mtune=arm9
20t -mthumb-interwork -mno-thumb -c
-isystem/home/cfriedt/openmoko/fso-testing/t
mp/staging/armv4t-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations
-
frename-registers -fomit-frame-pointer -O2 -ggdb3
-isystem/home/cfriedt/openmoko
/fso-testing/tmp/staging/armv4t-angstrom-linux-gnueabi/usr/include conftest.c
>&
5
configure:11687: $? = 0
configure:11812: ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t
-mtune=arm9
20t -mthumb-interwork -mno-thumb -c
-isystem/home/cfriedt/openmoko/fso-testing/t
mp/staging/armv4t-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations
-
frename-registers -fomit-frame-pointer -O2 -ggdb3 -I/usr/include/xorg
-isystem/h
ome/cfriedt/openmoko/fso-testing/tmp/staging/armv4t-angstrom-linux-gnueabi/usr/i
nclude conftest.c >&5
CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include/xorg
cc1: internal compiler error: in add_path, at c-incpath.c:362
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: CROSS COMPILE Badness
Product: gcc
Version: 4.1.2
Status: UNCONFIRMED
Severity: blocker
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: cfriedt at visible-assets dot com
GCC build triplet: i686-linux-gnu
GCC host triplet: armv4t-linux-gnueabi
GCC target triplet: armv4t-linux-gnueabi
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40586