Re: 2.6.8 link failure for sparc32 (vmlinux.lds.s: No such file or directory)?

From: Sam Ravnborg
Date: Tue Sep 21 2004 - 05:54:26 EST


> I'm trying to verify that I can build toolchains and compile
> and link kernels for a large set of CPU types using simple kernel config
> files.
> I'm also somewhat foolishly trying to do all this with gcc-3.4.2.
> So any problems I run into are a bit hard to pin down to
> compiler, kernel, or user error, since this is mostly new territory for
> me.
>
> Here's another issue.
> When I build 2.6.8 for sparc32, using the config file
> http://kegel.com/crosstool/crosstool-0.28-rc36/sparc.config ,
> I get a link error:
>
> /opt/crosstool/sparc-unknown-linux-gnu/gcc-3.4.2-glibc-2.3.3/bin/sparc-unknown-linux-gnu-ld
> -m elf32_sparc -T arch/sparc/kernel/vmlinux.lds.s
> arch/sparc/kernel/head.o arch/sparc/kernel/init_task.o init/built-in.o
> --start-group
> usr/built-in.o arch/sparc/kernel/built-in.o arch/sparc/mm/built-in.o
> arch/sparc/math-emu/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
> lib/lib.a
> arch/sparc/prom/lib.a arch/sparc/lib/lib.a lib/built-in.o
> arch/sparc/prom/built-in.o arch/sparc/lib/built-in.o drivers/built-in.o
> sound/built-in.o net/built-in.o --end-group .tmp_kallsyms2.o
> arch/sparc/boot/btfix.o -o
> arch/sparc/boot/image

Look like arch/sparc/boot/Makefile is too old.
vmlinux.lds.s were renamed to vmlinux.lds 2004/08/15 - maybe you need to
checkout that file?

Sam

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/