Messages in this thread | | | Date | Mon, 20 Sep 2004 23:03:07 -0700 | From | Dan Kegel <> | Subject | 2.6.8 link failure for sparc32 (vmlinux.lds.s: No such file or directory)? |
| |
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 /opt/crosstool/sparc-unknown-linux-gnu/gcc-3.4.2-glibc-2.3.3/bin/sparc-unknown-linux-gnu-ld: cannot open linker script file arch/sparc/kernel/vmlinux.lds.s: No such file or directory make[1]: *** [arch/sparc/boot/image] Error 1 make: *** [image] Error 2
Anyone seen this? Thanks, Dan
-- My technical stuff: http://kegel.com My politics: see http://www.misleader.org for examples of why I'm for regime change - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |