From: DJ Delorie <dj@redhat.com>
To: wilson@specifixinc.com
Cc: gcc@gcc.gnu.org
Subject: Re: fixing vs WARN_CFLAGS vs cross builds
Date: Wed, 31 Mar 2004 06:40:00 -0000 [thread overview]
Message-ID: <200403310143.i2V1hFA0014438@greed.delorie.com> (raw)
In-Reply-To: <406A1FA1.1090602@specifixinc.com> (message from Jim Wilson on Tue, 30 Mar 2004 17:32:17 -0800)
> The gcc Makefile does not directly call "gcc" anywhere. From a brief
> glance, I think you mean CC_FOR_BUILD, which you have set to gcc.
Yes.
> It isn't exactly clear why you have a problem though. WARN_CFLAGS is
> set for a stage1 build only if the build (host?) compiler is gcc, and
> your compiler is gcc, so why is there a problem? Is there a particular
> option which is the problem? If so, which one? Is this a versioning
> problem? I.e. an option is in WARN_CFLAGS that is not supported by an
> old gcc version you are using for the bootstrap?
Yes. BUILD_CC is 3.2.3, and does not support these:
cc1: unrecognized option `-Wno-variadic-macros'
cc1: unrecognized option `-Wold-style-definition'
> It may be reasonable to remove the WARN_CFLAGS setting in the fixinc.sh
> rule. We don't use WARN_CFLAGS anyplace else where we use CC_FOR_BUILD.
> This can work in stage2 etc builds, but this is probably not important
> enough to worry about.
>
> It would be nice to have a proper bug report though.
I was still trying to figure out what was supposed to happen from a
theoretical standpoint.
I have a patch which tests for build!=host and disables WARN_CFLAGS,
but should fixinc *ever* be built with WARN_CFLAGS?
next prev parent reply other threads:[~2004-03-31 1:43 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-30 0:29 DJ Delorie
2004-03-31 6:38 ` Jim Wilson
2004-03-31 6:40 ` DJ Delorie [this message]
2004-03-31 7:53 ` Jim Wilson
2004-03-31 7:55 ` DJ Delorie
2004-03-31 8:09 ` Jim Wilson
2004-03-31 8:03 Nathanael Nerode
2004-03-31 10:52 ` Jim Wilson
2004-03-31 12:43 ` Zack Weinberg
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=200403310143.i2V1hFA0014438@greed.delorie.com \
--to=dj@redhat.com \
--cc=gcc@gcc.gnu.org \
--cc=wilson@specifixinc.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).