Link-time failures from "simple" CFLAGS changes

Tom Rini trini at
Tue Jan 8 09:15:31 EST 2002

On Mon, Jan 07, 2002 at 05:01:51PM -0500, mod+linuxppc-dev at wrote:

> When I change -O2 to -O0 in my CFLAGS definition in Makefile thus:
> ...I am astounded to see thousands of unresolved references
> at kernel link time.  WTF?  Any ideas?  These are the
> sorts of symbols that come up undefined:

You need at least -O1 for the kernel to compile.  I _think_ this is
documented somewhere even, but I don't recall where right now.

Tom Rini (TR1265)

** Sent via the linuxppc-dev mail list. See

More information about the Linuxppc-dev mailing list