--- Comment #7 from Mark Millard <> ---
For reference for how aha.kld and agp.kld are

# Meta data file
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
TARGET aha.kld

# Meta data file
CMD ld -m elf32ppc_fbsd -d -warn-common -r -d -o agp.kld agp.o agp_if.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
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

They are now and the conversion to LOCAL while
keeping R_PPC_PLTREL24 is rejected by:


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.
_______________________________________________ mailing list
To unsubscribe, send any mail to ""

Reply via email to