"ld -r" is broken

H. J. Lu hjl@lucon.org
Sat Dec 17 01:46:00 GMT 2005


On Fri, Dec 16, 2005 at 03:37:18PM -0800, H. J. Lu wrote:
> I rebuilt 2.4.21-37.EL ia64 kernel with 20051214 binutils. I got
> several problems:
> 
> 1. vfat kernel module won't load:
> 
> # modprobe vfat
> /lib/modules/2.4.21-37.EL.1.2/kernel/fs/vfat/vfat.o: init_module:
> Invalid argument
> Hint: insmod errors can be caused by incorrect module parameters,
> including invalid IO or IRQ parameters.
>       You may find more information in syslog or the output from dmesg
>       /lib/modules/2.4.21-37.EL.1.2/kernel/fs/vfat/vfat.o: insmod
>       /lib/modules/2.4.21-37.EL.1.2/kernel/fs/vfat/vfat.o failed
>       /lib/modules/2.4.21-37.EL.1.2/kernel/fs/vfat/vfat.o: insmod vfat
>       failed
> 
> module_arch_init: archdata->segment_base out of bounds.
> 
> 2. autofs doesn't work:
> 
> Dec 16 15:28:47 gnu-12 automount[3723]: mount(nfs): mkdir_path /net/gnu-20/export failed: Operation not permitted
> 

I believe it is caused by

http://sourceware.org/ml/binutils/2005-11/msg00350.html

I am enclosing a tar file. There are good.o and bad.o, which are
generated by

# ld -o [good.o|bad.o] -r namei.o vfatfs_syms.o

bad.o is generated by the new linker. Alan, can you take a look?

Thanks.


H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug.tar.bz2
Type: application/x-bzip2
Size: 30523 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20051217/b54258cd/attachment.bz2>


More information about the Binutils mailing list