public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Adam Nemet <anemet@caviumnetworks.com>
To: Ian Lance Taylor <iant@google.com>
Cc: gcc@gcc.gnu.org
Subject: Re: Phase 1 of gcc-in-cxx now complete
Date: Fri, 26 Jun 2009 18:21:00 -0000	[thread overview]
Message-ID: <o7d48q7tba.fsf@ropi.home> (raw)
In-Reply-To: <m3ocsc9hrt.fsf@google.com> (Ian Lance Taylor's message of 	"Thu, 25 Jun 2009 13:32:06 -0700")

Ian Lance Taylor <iant@google.com> writes:
> I would like to encourage people to try using --enable-build-with-cxx in
> other configuration--other bootstraps, cross-compilers--to see how well
> it works.  Please let me know if you run into problems that you don't
> know how, or don't have time, to fix.

With GMP 4.2.1 build fails like this:

g++ -mabi=n32 -c  -g -DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include  -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber
../../src/gcc/c-lang.c -o c-lang.o
In file included from ../../src/gcc/double-int.h:24,
                 from ../../src/gcc/tree.h:30,
                 from ../../src/gcc/c-lang.c:27:
//usr/include/gmp.h:515: error: 'std::FILE' has not been declared
make[3]: *** [c-lang.o] Error 1
make[3]: Leaving directory `/mnt/src/gcc-tmp/mips64octeon-linux/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/mnt/src/gcc-tmp/mips64octeon-linux'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/mnt/src/gcc-tmp/mips64octeon-linux'
make: *** [all] Error 2

We need at least GMP 4.2.3 with --enable-build-with-cxx:

From <http://gmplib.org/gmp4.2.html>:

Changes in GMP 4.2.3
Bugs:

    ...
    * For C++, gmp.h now includes cstdio, improving compiler
    compatibility. 
    ...

Adam

  parent reply	other threads:[~2009-06-26 18:18 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-25 20:33 Ian Lance Taylor
2009-06-25 21:39 ` Richard Guenther
2009-06-25 22:17 ` Phase 1 of gcc-in-cxx now complete (Ada) Laurent GUERBY
2009-06-25 22:19   ` Richard Guenther
2009-06-25 22:38     ` Ian Lance Taylor
2009-06-26 11:20       ` Laurent GUERBY
2009-06-26 14:48         ` Ian Lance Taylor
2009-06-26 15:36           ` Arnaud Charlet
2009-06-26 15:59           ` Laurent GUERBY
2009-06-26 17:32             ` Ian Lance Taylor
2009-06-26 17:36               ` Arnaud Charlet
2009-06-26 17:38               ` Robert Dewar
2009-06-26 17:59                 ` Arnaud Charlet
2009-06-26 18:07                 ` Ian Lance Taylor
2009-06-26 18:18                   ` Robert Dewar
2009-06-26 19:24                     ` Laurent GUERBY
2009-06-26 19:24                       ` Arnaud Charlet
2009-06-26 23:53                         ` Ian Lance Taylor
2009-06-27 11:24                           ` Laurent GUERBY
2009-06-27 11:54                             ` Eric Botcazou
2009-06-27 12:53                               ` Laurent GUERBY
2009-06-27 13:39                                 ` Laurent GUERBY
2009-06-27 16:14                                 ` Paolo Bonzini
2009-06-27 10:55       ` Eric Botcazou
2009-06-25 22:51   ` Ian Lance Taylor
2009-06-25 22:29 ` Phase 1 of gcc-in-cxx now complete Joseph S. Myers
2009-06-25 22:47   ` Eric Botcazou
2009-06-25 22:49   ` Joe Buck
2009-06-26  7:09     ` Gabriel Dos Reis
2009-06-26 14:12       ` Jack Howarth
2009-06-26 18:21 ` Adam Nemet [this message]
2009-06-27 16:51 ` Adam Nemet
2009-06-27 18:07 ` David Edelsohn
2009-06-27 19:50   ` Sebastian Pop
2009-06-27  0:26 Matt
2009-06-27  9:48 ` Ian Lance Taylor
2009-06-27 10:35   ` Richard Guenther
2009-06-27 13:41     ` Daniel Berlin
2009-06-27 15:19       ` Robert Dewar
2009-06-28  3:09     ` Ian Lance Taylor
2009-06-29 13:10       ` NightStrike
2009-06-29 13:13         ` Andrew Haley
2009-06-29 16:26         ` Gabriel Dos Reis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=o7d48q7tba.fsf@ropi.home \
    --to=anemet@caviumnetworks.com \
    --cc=gcc@gcc.gnu.org \
    --cc=iant@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).