public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/55293] bootstrap failure: invalid conversion from 'char**' to 'const char**' [-fpermissive]
Date: Wed, 14 Nov 2012 08:50:00 -0000	[thread overview]
Message-ID: <bug-55293-4-bc9mdBXT7U@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-55293-4@http.gcc.gnu.org/bugzilla/>


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55293

--- Comment #16 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-11-14 08:49:46 UTC ---
> FWIW, I bootstrapped a pure 64-bit gcc-4.7.2 on Solaris 10/SPARC64 yesterday,
> with C, Ada, and C++, using a normal 32-bit-but-64-bit-capable gcc-4.7.2 as
> host compiler.  About the only issue was that I had to coerce the host compiler
> to generate 64-bit code by default; for that I put
> 
> #!/bin/sh
> exec gcc -m64 "$@"
> 
> in a "gcc64" shell script and passed the path to it in CC when configuring gcc.

That's not even necessary, just do CC="gcc -m64" ./configure [options].

> Overriding CFLAGS might have worked too, but I didn't try that.

Nope, fiddling with CFLAGS, BOOT_CFLAGS and the like is strongly discouraged.


  parent reply	other threads:[~2012-11-14  8:50 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-12 21:29 [Bug c/55293] New: Attempt to bootstrap 7.7.2 on Solaris 10 Sparc fails with gcc/pretty-print.c:954:28: error: " dclarke at blastwave dot org
2012-11-12 21:49 ` [Bug c/55293] Attempt to bootstrap GCC 4.7.2 " redi at gcc dot gnu.org
2012-11-12 21:50 ` redi at gcc dot gnu.org
2012-11-12 22:07 ` dclarke at blastwave dot org
2012-11-12 22:10 ` dclarke at blastwave dot org
2012-11-12 22:44 ` dclarke at blastwave dot org
2012-11-12 23:07 ` dclarke at blastwave dot org
2012-11-12 23:58 ` [Bug bootstrap/55293] bootstrap failure: " ebotcazou at gcc dot gnu.org
2012-11-13  0:15 ` redi at gcc dot gnu.org
2012-11-13  0:21 ` ebotcazou at gcc dot gnu.org
2012-11-13  6:01 ` [Bug c/55293] " dclarke at blastwave dot org
2012-11-13  7:21 ` [Bug bootstrap/55293] " ebotcazou at gcc dot gnu.org
2012-11-13  7:40 ` [Bug c/55293] " dclarke at blastwave dot org
2012-11-13  8:07 ` [Bug bootstrap/55293] " ebotcazou at gcc dot gnu.org
2012-11-13  9:43 ` redi at gcc dot gnu.org
2012-11-14  8:34 ` mikpe at it dot uu.se
2012-11-14  8:50 ` ebotcazou at gcc dot gnu.org [this message]
2013-04-11  7:59 ` rguenth at gcc dot gnu.org
2014-06-12 13:53 ` rguenth at gcc dot gnu.org
2021-05-26 14:49 ` ebotcazou at gcc dot gnu.org

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=bug-55293-4-bc9mdBXT7U@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /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).