This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/20217] Switching off the optimization triggers undefined reference at link time when building Linux kernel.
- From: "stiriac at oddpost dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Mar 2005 18:30:37 -0000
- Subject: [Bug middle-end/20217] Switching off the optimization triggers undefined reference at link time when building Linux kernel.
- References: <20050225220317.20217.stiriac@oddpost.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From stiriac at oddpost dot com 2005-03-14 18:30 -------
(In reply to comment #5)
> The linux kernel requires optimization to be correctly compiled. This is a
> deliberate design decision by the linux kernel developers.
>
Thanks for the explanation. Looking for hints on Google I stumbled on a note
debating if "inline" was correctly used or not in the Linux kernel but I didn't
understant to the extend you describe.
The corollary question is now how I close this bug request.
Thanks.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20217