[Bug 221107] -r322109 and -r322210 (so clang 5) TARGET_ARCH=powerpc agp.kld or agp.kld gets: R_PPC_PLTREL24 reloc against local symbol; could not read symbols: Bad value
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Aug 11 01:38:53 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221107
--- Comment #5 from Mark Millard <markmi at dsl-only.net> ---
There is something consistent between the two example
failures. Even across builds of different versions
that have moved the .text offset of one of the routines
the same routines fail.
(I inserted some lines not matched by the shown grep.)
# readelf -a
/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICvtsc-NODBG/modules/usr/src/sys/modules/aha/aha.kld
| grep aha_alloc
00002b8c 00003e12 R_PPC_PLTREL24 00000000 aha_alloc + 0
000031a8 00003e12 R_PPC_PLTREL24 00000000 aha_alloc + 0
Symbol table (.symtab) contains 180 entries:
Num: Value Size Type Bind Vis Ndx Name
62: 0000000000000000 96 FUNC LOCAL DEFAULT 1 aha_alloc
(2b8c is different than reported before: newer head version used)
# readelf -a
/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICvtsc-NODBG/modules/usr/src/sys/modules/agp/agp.kld
| grep agp_find_caps
00002e08 00004912 R_PPC_PLTREL24 00000000 agp_find_caps + 0
Symbol table (.symtab) contains 180 entries:
Num: Value Size Type Bind Vis Ndx Name
73: 0000000000000000 172 FUNC LOCAL DEFAULT 1 agp_find_caps
The "Value" is zero for "FUNC LOCCAL DEFAULT" in the failing references.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list