This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Linker errors building a kernel

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]