On 08.06.19 14:52, Jeroen Roovers wrote: > # modprobe -v ipv6 > insmod /lib/modules/5.2.0-rc1-JeR/kernel/net/ipv6/ipv6.ko > modprobe: ERROR: could not insert 'ipv6': Exec format error > dmesg: > module ipv6: Unknown relocation: 72 You could try attached untested patch. I still wonder why you get R_PARISC_PCREL64 relocations. Can you send your .config ? Helge
diff --git a/arch/parisc/kernel/module.c b/arch/parisc/kernel/module.c index eab964a8bf4b..ac5f34993b53 100644 --- a/arch/parisc/kernel/module.c +++ b/arch/parisc/kernel/module.c @@ -780,6 +780,10 @@ int apply_relocate_add(Elf_Shdr *sechdrs, /* 32-bit PC relative address */ *loc = val - dot - 8 + addend; break; + case R_PARISC_PCREL64: + /* 64-bit PC relative address */ + *loc64 = val - dot - 8 + addend; + break; case R_PARISC_DIR64: /* 64-bit effective address */ *loc64 = val + addend;