Linker errors building a kernel
Daniel Jacobowitz
drow@mvista.com
Thu Nov 1 10:25:00 GMT 2001
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
More information about the Binutils
mailing list