Thread (2 messages) flat view 2 messages, 2 authors, 2002-01-07

Re: Link-time failures from "simple" CFLAGS changes

From: Tom Rini <hidden>
Date: 2002-01-07 22:15:31

On Mon, Jan 07, 2002 at 05:01:51PM -0500, mod+linuxppc-dev@MissionCriticalLinux.com wrote:
When I change -O2 to -O0 in my CFLAGS definition in Makefile thus:
[snip]
...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)
http://gate.crashing.org/~trini/

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help