public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/42047] New: Failed build genmodes
@ 2009-11-15 5:50 monaka at monami-software dot com
2009-11-15 5:55 ` [Bug c/42047] " monaka at monami-software dot com
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: monaka at monami-software dot com @ 2009-11-15 5:50 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/42047] Failed build genmodes
2009-11-15 5:50 [Bug c/42047] New: Failed build genmodes monaka at monami-software dot com
@ 2009-11-15 5:55 ` monaka at monami-software dot com
2009-11-15 6:02 ` [Bug bootstrap/42047] " pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: monaka at monami-software dot com @ 2009-11-15 5:55 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from monaka at monami-software dot com 2009-11-15 05:54 -------
Created an attachment (id=19019)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19019&action=view)
build log.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42047
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/42047] Failed build genmodes
2009-11-15 5:50 [Bug c/42047] New: Failed build genmodes monaka at monami-software dot com
2009-11-15 5:55 ` [Bug c/42047] " monaka at monami-software dot com
@ 2009-11-15 6:02 ` pinskia at gcc dot gnu dot org
2009-11-15 6:04 ` [Bug bootstrap/42047] --with-gmp= include directory is used for build targets pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-11-15 6:02 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2009-11-15 06:00 -------
Oh I see why this works for me, I install gmp/mpfr in the sysroot and I had
used the sysroot so I don't need to supply --with-gmp/--with-mpfr.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42047
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/42047] --with-gmp= include directory is used for build targets
2009-11-15 5:50 [Bug c/42047] New: Failed build genmodes monaka at monami-software dot com
2009-11-15 5:55 ` [Bug c/42047] " monaka at monami-software dot com
2009-11-15 6:02 ` [Bug bootstrap/42047] " pinskia at gcc dot gnu dot org
@ 2009-11-15 6:04 ` pinskia at gcc dot gnu dot org
2009-11-15 7:13 ` monaka at monami-software dot com
2010-03-21 23:36 ` nightstrike at gmail dot com
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-11-15 6:04 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2009-11-15 06:03 -------
Looks like we need a new variable for build includes (that is BUILD_INCLUDES
which does not include GMPINC, PPLINC, DECNUMINC, LIBELFINC, or CLOOGINC).
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |build
Last reconfirmed|0000-00-00 00:00:00 |2009-11-15 06:03:06
date| |
Summary|Failed build genmodes |--with-gmp= include
| |directory is used for build
| |targets
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42047
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/42047] --with-gmp= include directory is used for build targets
2009-11-15 5:50 [Bug c/42047] New: Failed build genmodes monaka at monami-software dot com
` (2 preceding siblings ...)
2009-11-15 6:04 ` [Bug bootstrap/42047] --with-gmp= include directory is used for build targets pinskia at gcc dot gnu dot org
@ 2009-11-15 7:13 ` monaka at monami-software dot com
2010-03-21 23:36 ` nightstrike at gmail dot com
4 siblings, 0 replies; 6+ messages in thread
From: monaka at monami-software dot com @ 2009-11-15 7:13 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from monaka at monami-software dot com 2009-11-15 07:12 -------
> Looks like we need a new variable for build includes
I think, too. I've built successful with my patch. (I don't send my patch
because it is half-finished.)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42047
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/42047] --with-gmp= include directory is used for build targets
2009-11-15 5:50 [Bug c/42047] New: Failed build genmodes monaka at monami-software dot com
` (3 preceding siblings ...)
2009-11-15 7:13 ` monaka at monami-software dot com
@ 2010-03-21 23:36 ` nightstrike at gmail dot com
4 siblings, 0 replies; 6+ messages in thread
From: nightstrike at gmail dot com @ 2010-03-21 23:36 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from nightstrike at gmail dot com 2010-03-21 23:35 -------
(In reply to comment #4)
> > Looks like we need a new variable for build includes
>
> I think, too. I've built successful with my patch. (I don't send my patch
> because it is half-finished.)
>
Have you finished your patch yet?
--
nightstrike at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nightstrike at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42047
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-03-21 23:36 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-15 5:50 [Bug c/42047] New: Failed build genmodes monaka at monami-software dot com
2009-11-15 5:55 ` [Bug c/42047] " monaka at monami-software dot com
2009-11-15 6:02 ` [Bug bootstrap/42047] " pinskia at gcc dot gnu dot org
2009-11-15 6:04 ` [Bug bootstrap/42047] --with-gmp= include directory is used for build targets pinskia at gcc dot gnu dot org
2009-11-15 7:13 ` monaka at monami-software dot com
2010-03-21 23:36 ` nightstrike at gmail dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).