From: Ralf Baechle <ralf@oss.sgi.com>
To: Andre.Messerschmidt@infineon.com
Cc: linux-mips@oss.sgi.com
Subject: Re: Kernel compile with -O0
Date: Thu, 21 Mar 2002 17:24:58 -0800 [thread overview]
Message-ID: <20020321172457.A15031@dea.linux-mips.net> (raw)
In-Reply-To: <86048F07C015D311864100902760F1DD01B5E828@dlfw003a.dus.infineon.com>; from Andre.Messerschmidt@infineon.com on Thu, Mar 21, 2002 at 07:36:06PM +0100
On Thu, Mar 21, 2002 at 07:36:06PM +0100, Andre.Messerschmidt@infineon.com wrote:
> When I try to compile my 2.4.3 Kernel with -O0 I get a lot of undefined
> references to functions like __cli, clear_bit etc. during linking. With -O1
> it works.
>
> Do I have to provide some special compile option to make this work?
Stupid answer: Yes, -O.
Less stupid answer - -O1 and higher imply function inlining which is
required to build the kernel.
Ralf
prev parent reply other threads:[~2002-03-22 1:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-21 18:36 Kernel compile with -O0 Andre.Messerschmidt
2002-03-21 20:06 ` Bradley D. LaRonde
2002-03-21 20:06 ` Bradley D. LaRonde
2002-03-22 1:24 ` Ralf Baechle [this message]
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=20020321172457.A15031@dea.linux-mips.net \
--to=ralf@oss.sgi.com \
--cc=Andre.Messerschmidt@infineon.com \
--cc=linux-mips@oss.sgi.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