From: Randolph Chung <tausq@debian.org>
To: linux-ia64@vger.kernel.org
Subject: Re: Linux 2.6.6 link error when removing -O2 compilation flags
Date: Thu, 27 May 2004 15:00:48 +0000 [thread overview]
Message-ID: <20040527150048.GP7207@tausq.org> (raw)
In-Reply-To: <40B601DC.7090508@Ext.Bull.Net>
> 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/
prev parent reply other threads:[~2004-05-27 15:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 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=20040527150048.GP7207@tausq.org \
--to=tausq@debian.org \
--cc=linux-ia64@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.