https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221107
--- Comment #7 from Mark Millard <mar...@dsl-only.net> --- For reference for how aha.kld and agp.kld are produced: # Meta data file /usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICvtsc-NODBG/modules/usr/src/sys/modules/aha/aha.kld.meta CMD ld -m elf32ppc_fbsd -d -warn-common -r -d -o aha.kld aha.o aha_isa.o CMD ctfmerge -L VERSION -g -o aha.kld aha.o aha_isa.o CMD :> export_syms CMD awk -f /usr/src/sys/conf/kmod_syms.awk aha.kld export_syms | xargs -J% objcopy % aha.kld CWD /usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICvtsc-NODBG/modules/usr/src/sys/modules/aha TARGET aha.kld # Meta data file /usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICvtsc-NODBG/modules/usr/src/sys/modules/agp/agp.kld.meta CMD ld -m elf32ppc_fbsd -d -warn-common -r -d -o agp.kld agp.o agp_if.o agp_apple.o CMD ctfmerge -L VERSION -g -o agp.kld agp.o agp_if.o agp_apple.o CMD echo agp_find_device agp_state agp_acquire agp_release agp_enable agp_alloc_memory agp_free_memory agp_bin d_memory agp_unbind_memory agp_memory_info > export_syms CMD awk -f /usr/src/sys/conf/kmod_syms.awk agp.kld export_syms | xargs -J% objcopy % agp.kld CWD /usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICvtsc-NODBG/modules/usr/src/sys/modules/agp TARGET agp.kld It looks like (via kmod_syms.awk) objcopy is explicitly turning various R_PPC_PLTREL24 examples into LOCAL symbols. May be before clang 5 these were not R_PPC_PLTREL24 ? They are now and the conversion to LOCAL while keeping R_PPC_PLTREL24 is rejected by: ppc_elf_check_relocs which in turn stops ld from producing the matching .full files. And that in turn stops the buildkernel . -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"