This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Linker errors building a kernel
- To: binutils at sources dot redhat dot com
- Subject: Linker errors building a kernel
- From: Daniel Jacobowitz <drow at mvista dot com>
- Date: Sun, 11 Nov 2001 22:08:27 -0500
[Get raw message]
Has anyone tried to build a Linux kernel from CVS binutils since the
linkonce checking went in?
I get some pretty bizarre errors:
mm/mm.o: In function `do_swap_page':
/opt/mvista/mips/linux13/mm/memory.c:1058: undefined reference to `local symbols in discarded section .text.exit'
fs/fs.o: In function `sys_llseek':
/opt/mvista/mips/linux13/fs/read_write.c:107: undefined reference to `local symbols in discarded section .text.exit'
The line numbers and function names have pretty much got to be off, since
neither of those functions references anything in .text.exit.
This is i386-linux -> mipsel-linux, with GCC 3.0.1. I haven't tried any
other target.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer