[PATCH] Link-time failures from "simple" CFLAGS changes

mod+linuxppc-dev at MissionCriticalLinux.com mod+linuxppc-dev at MissionCriticalLinux.com
Tue Jan 8 09:23:09 EST 2002


Sheesh!    Well, OK then: please apply this patch:


===== Documentation/Changes 1.12 vs edited =====
--- 1.12/Documentation/Changes  Fri Dec  7 14:01:21 2001
+++ edited/Documentation/Changes        Mon Jan  7 17:20:20 2002
@@ -92,6 +92,8 @@
 greater than -O2 may not be wise.  Similarly, if you choose to use gcc-2.95.x
 or derivatives, be sure not to use -fstrict-aliasing (which, depending on
 your version of gcc 2.95.x, may necessitate using -fno-strict-aliasing).
+On the other hand, -O0 will cause your build to fail because inline
+functions are only defined when *some* optimization is in effect.

 Make
 ----


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list