Re: 4.14 git: massive linker failures: cannot reach anything

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

 



> > hppa64-linux-ld: init/main.o(.text+0x22c): cannot reach
> > __ubsan_handle_type_mismatch
> > init/main.o: In function `initcall_blacklisted':(.text+0x22c): relocation
> > truncated to fit: R_PARISC_PCREL22F against symbol
> > `__ubsan_handle_type_mismatch' defined in .text.__ubsan_handle_type_mismatch
> > section in lib/ubsan.o
> > 
> > and so on for pages, more than my terminal scrollback provides.
> As far as gcc goes, you need to add -mlong-calls to avoid these errors.  I
> think there is a config option. The kernel is too big and some "b,l" branches
> can't reach their targets.

Thank you, yes, I found CONFIG_MLONGCALLS for that.

However, the next strange thing is why did custom kernels of multiple 
different machines grew so much (A500 UP and RP3440 SMP kernels)? My 
kernel configs are quite minimalistic anyway, except I include 
everything needed for booting (no dependenc on initramfs, so sd, scsi 
driver and ext4 are in). Perhaps a binary format or two, PDC stable 
storage and anothe IO schaduler too, and some kernel debugging options 
like UBSAN.

-- 
Meelis Roos (mroos@xxxxxxxx)
--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux