[Bug c/20217] New: Switching off the optimization triggers undefined reference at link time when building Linux kernel.

2005-02-25 Thread stiriac at oddpost dot com
Priority: P2 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: stiriac at oddpost dot com CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20217

[Bug middle-end/20217] Switching off the optimization triggers undefined reference at link time when building Linux kernel.

2005-02-25 Thread stiriac at oddpost dot com
--- Additional Comments From stiriac at oddpost dot com 2005-02-25 22:48 --- (In reply to comment #1) > Are you sure that this is a GCC bug, IIRC the linux kernel uses extern inline. How to judge ? I do change nothing to the Linux kernel but I change a compilation flag and I

[Bug middle-end/20217] Switching off the optimization triggers undefined reference at link time when building Linux kernel.

2005-02-25 Thread stiriac at oddpost dot com
--- Additional Comments From stiriac at oddpost dot com 2005-02-25 23:25 --- You mean this behavior is perfectly normal for the compiler ? This means the optimization flag plays somehow a redundant role with the options enabling/disabling error or warning messages ? I haven't

[Bug middle-end/20217] Switching off the optimization triggers undefined reference at link time when building Linux kernel.

2005-03-14 Thread stiriac at oddpost dot com
--- 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. Lo