[I tend to experiment with using clang to target powerpc64 and powerpc, reporting things that I find.]
[clang 5 generates R_PPC_PLTREL24 in the .o files for global symbols in places gcc 4.2.1 generates R_PPC_ADDR16_HA / R_PPC_ADDR16_LO pairs.] Trying to cross build the 32-bit powerpc kernel with the system clang 5 gets failures like: --- aha.ko.full --- ld: aha.kld(.text+0x2b8c): R_PPC_PLTREL24 reloc against local symbol aha.kld: could not read symbols: Bad value *** [aha.ko.full] Error code 1 Would an alternate binutils handle it? There is no devel/powerpc-binutils (but there is devel/powerpc64-binutils ). Does someone known a way to use an alternate binutils to target 32-bit powerpc? As stands it looks like I can only experiment with self-hosted builds and an alternate binutils ( devel/binutils ) as far as pre-existing things go. === Mark Millard markmi at dsl-only.net _______________________________________________ freebsd-toolchain@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"