This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/42047] New: Failed build genmodes
- From: "monaka at monami-software dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Nov 2009 05:49:35 -0000
- Subject: [Bug c/42047] New: Failed build genmodes
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I failed to build gcc with configuration follows:
../gcc/configure --target=sh-elf --host=i386-pc-mingw32
--build=i686-apple-darwin10 --enable-languages=c --with-gmp=/opt/MinGW
--with-mpfr=/opt/MinGW
I think genmodes should be built on build environment, but there seems it was
built with include pathes for "host".
gcc -c -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -DGENERATOR_FILE -I. -Ibuild
-I../../gcc/gcc -I../../gcc/gcc/build -I../../gcc/gcc/../include -I./../intl
-I../../gcc/gcc/../libcpp/include -I/opt/MinGW/include -I/opt/MinGW/include
-I../../gcc/gcc/../libdecnumber -I../../gcc/gcc/../libdecnumber/dpd
-I../libdecnumber \
-o build/genmodes.o ../../gcc/gcc/genmodes.c
In file included from ../../gcc/gcc/system.h:42,
from ../../gcc/gcc/genmodes.c:22:
I think this issue is caused by "BUILD_CPPFLAGS=$(ALL_CPPFLAGS)" in Makefile.in
I got sources from git://git.infradead.org/gcc.git, not official svn. But this
issue will be occured with official releases.
--
Summary: Failed build genmodes
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: monaka at monami-software dot com
GCC build triplet: i686-apple-darwin10
GCC host triplet: i386-pc-mingw32
GCC target triplet: sh-elf
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42047