* Kernel compile with -O0
@ 2002-03-21 18:36 Andre.Messerschmidt
2002-03-21 20:06 ` Bradley D. LaRonde
2002-03-22 1:24 ` Ralf Baechle
0 siblings, 2 replies; 4+ messages in thread
From: Andre.Messerschmidt @ 2002-03-21 18:36 UTC (permalink / raw)
To: linux-mips
Hi.
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?
best regards
--
Andre Messerschmidt
Application Engineer
Infineon Technologies AG
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Kernel compile with -O0
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
1 sibling, 1 reply; 4+ messages in thread
From: Bradley D. LaRonde @ 2002-03-21 20:06 UTC (permalink / raw)
To: Andre.Messerschmidt, linux-mips
That turns off inlining, which the kernel *requires*.
Regards,
Brad
----- Original Message -----
From: <Andre.Messerschmidt@infineon.com>
To: <linux-mips@oss.sgi.com>
Sent: Thursday, March 21, 2002 1:36 PM
Subject: Kernel compile with -O0
> Hi.
>
> 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?
>
> best regards
> --
> Andre Messerschmidt
>
> Application Engineer
> Infineon Technologies AG
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Kernel compile with -O0
2002-03-21 20:06 ` Bradley D. LaRonde
@ 2002-03-21 20:06 ` Bradley D. LaRonde
0 siblings, 0 replies; 4+ messages in thread
From: Bradley D. LaRonde @ 2002-03-21 20:06 UTC (permalink / raw)
To: Andre.Messerschmidt, linux-mips
That turns off inlining, which the kernel *requires*.
Regards,
Brad
----- Original Message -----
From: <Andre.Messerschmidt@infineon.com>
To: <linux-mips@oss.sgi.com>
Sent: Thursday, March 21, 2002 1:36 PM
Subject: Kernel compile with -O0
> Hi.
>
> 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?
>
> best regards
> --
> Andre Messerschmidt
>
> Application Engineer
> Infineon Technologies AG
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Kernel compile with -O0
2002-03-21 18:36 Kernel compile with -O0 Andre.Messerschmidt
2002-03-21 20:06 ` Bradley D. LaRonde
@ 2002-03-22 1:24 ` Ralf Baechle
1 sibling, 0 replies; 4+ messages in thread
From: Ralf Baechle @ 2002-03-22 1:24 UTC (permalink / raw)
To: Andre.Messerschmidt; +Cc: linux-mips
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-03-22 1:22 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox