I worked around the gcc bug by omitting the '-Os' option, which
informs gcc to optimize compiling for size.

But another error occured when linking the kernel.

m68k-uclinux-ld   -o .tmp_vmlinux1 -T
arch/m68knommu/kernel/vmlinux.lds arch/m68knommu/platform/5307/head.o
init/built-in.o --start-group  usr/built-in.o
arch/m68knommu/kernel/built-in.o  arch/m68knommu/mm/built-in.o
arch/m68knommu/platform/5307/built-in.o
arch/m68knommu/platform/5249/built-in.o  kernel/built-in.o
mm/built-in.o  fs/built-in.o  ipc/built-in.o  security/built-in.o
crypto/built-in.o  block/built-in.o  lib/lib.a
arch/m68knommu/lib/lib.a  lib/built-in.o
arch/m68knommu/lib/built-in.o  drivers/built-in.o  sound/built-in.o
net/built-in.o --end-group
/usr/local/bin/m68k-uclinux-ld.real: error: no memory region specified
for loadable section `.spinlock.text'

What does this mean and how to fix it?

2007/2/1, Nathan Sidwell <[EMAIL PROTECTED]>:
Daniel Alomar wrote:
> Hi Nathan,
>
> Maybe could be a nice idea to centralize the gcc patches for the
> coldfire platform, isn't it? Could you share to the list your gcc patche's?

Right.  That's why they're going onto gcc mainline.  They've been on the
csl/sourcerygxx branch of the gcc repository since being developed.  How much
more central do you want :)

nathan

--
Nathan Sidwell    ::   http://www.codesourcery.com   ::         CodeSourcery
[EMAIL PROTECTED]    ::     http://www.planetfall.pwp.blueyonder.co.uk

_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to