Port-amd64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kobj_reloc: unexpected relocation type 10



Hi,

I just tested kernel modules loading on my main developpement amd64
machine (Tyan S2885, 2 Opterons 246, 2GB RAM); and noticed that both
auto and manual module loading failed ...

kobj_reloc: unexpected relocation type 10
WARNING: module error: Cannot load kernel object `compat_linux32' error=2

The main problem is that i compile the whole userland with debugging
enabled (in mk.conf) :

.if !defined(KERNEL_BUILD)
COPTS+=        -g
STRIPFLAG=     -S -d
.endif 

Without it, all is fine.

Do we support such options for building kernel modules ? And, if yes,
can someone with appropriate knowledge add R_X86_64_32 relocation
support to kobj_reloc() ?

Thanks.

-- 
Nicolas Joly

Biological Software and Databanks.
Institut Pasteur, Paris.


Home | Main Index | Thread Index | Old Index