* Linux 2.6.6 link error when removing -O2 compilation flags
@ 2004-05-27 14:57 Francois Wellenreiter
2004-05-27 15:00 ` Randolph Chung
0 siblings, 1 reply; 2+ messages in thread
From: Francois Wellenreiter @ 2004-05-27 14:57 UTC (permalink / raw)
To: linux-ia64
Hello dear all,
I was trying to compile my 2.6.6 linux kernel on an IA64 machine
deactivating optimization options (in fact removing "-02" and "-Os" flags
in Makefile and arch/ia64/Makefile).
I've done this test with a gcc-2.96, gcc-3.3.3 and gcc-3.4-20040514
(and removing in this last case "-frename-registers" option).
Has someone else already encountered such a problem ?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Linux 2.6.6 link error when removing -O2 compilation flags
2004-05-27 14:57 Linux 2.6.6 link error when removing -O2 compilation flags Francois Wellenreiter
@ 2004-05-27 15:00 ` Randolph Chung
0 siblings, 0 replies; 2+ messages in thread
From: Randolph Chung @ 2004-05-27 15:00 UTC (permalink / raw)
To: linux-ia64
> I was trying to compile my 2.6.6 linux kernel on an IA64
> machine
> deactivating optimization options (in fact removing "-02" and "-Os" flags
> in Makefile and arch/ia64/Makefile).
> I've done this test with a gcc-2.96, gcc-3.3.3 and gcc-3.4-20040514
> (and removing in this last case "-frename-registers" option).
> Has someone else already encountered such a problem ?
yes, you cannot do that. The kernel relies on some optimizations being
done by the compiler; for example it assumes certain amount of inlining
that happens with optimization enabled.
randolph
--
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-05-27 15:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-27 14:57 Linux 2.6.6 link error when removing -O2 compilation flags Francois Wellenreiter
2004-05-27 15:00 ` Randolph Chung
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox