[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. Looking for hints

[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
at link time when building Linux kernel. Product: gcc Version: 3.2.3 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: stiriac at oddpost dot com

[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 get

[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 seen