From: Jan-Benedict Glaw <jbglaw@lug-owl.de>
To: linux-kernel@vger.kernel.org, Sam Ravnborg <sam@ravnborg.org>
Subject: Re: No forces rebuild while changing GCC?
Date: Thu, 20 May 2004 22:15:41 +0200 [thread overview]
Message-ID: <20040520201541.GH1912@lug-owl.de> (raw)
In-Reply-To: <20040520185635.GA4256@mars.ravnborg.org>
[-- Attachment #1: Type: text/plain, Size: 1769 bytes --]
On Thu, 2004-05-20 20:56:35 +0200, Sam Ravnborg <sam@ravnborg.org>
wrote in message <20040520185635.GA4256@mars.ravnborg.org>:
> On Thu, May 20, 2004 at 08:16:17PM +0200, Jan-Benedict Glaw wrote:
[While changing gcc, ...]
> > How can I force to keep my old .o files?
>
> This is not easy. kbuild uses a number of measures to check dependencies:
> 1) Changes in commandline, including name of binary
> - Order is not relevant, only content
So I'll compare old gcc's command line with new gcc's.
> 2) Compiler version used for version.h
> - To avoid this remove the FORCE in init/Makefile
Done.
> 3) Usual dependencies, including stdarg.h which is part of the compiler
> include files
Argh...
> 4) Change in configuration relevant for that specific file
Argh, too:)
> I think you are hit by 1) in your case.
> Do you use same name for both gcc versions?
Both are just "vax-linux-gcc". I choose between them by altering $PATH
before I call "make mopboot".
> Otherwise it will fail as you describe (actually work as expected).
Right... It works as expectes and tried hard to build a consistent
kernel (actually, you did a great job at that!).
> Try to compare to commandlines when using "make V=1", to check what gcc
> kbuild uses.
Will do. Ah.
"-Wdeclaration-after-statement" is added to command line iff gcc accepts
it. The new one does, the old one didn't. Now commented out:) Works.
Thanks, JBG
--
Jan-Benedict Glaw jbglaw@lug-owl.de . +49-172-7608481
"Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg
fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak!
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2004-05-20 20:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-20 18:16 Jan-Benedict Glaw
2004-05-20 18:56 ` Sam Ravnborg
2004-05-20 20:15 ` Jan-Benedict Glaw [this message]
2004-05-21 12:18 ` Sam Ravnborg
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=20040520201541.GH1912@lug-owl.de \
--to=jbglaw@lug-owl.de \
--cc=linux-kernel@vger.kernel.org \
--cc=sam@ravnborg.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
all inboxes | Powered by JetHome®