[Bug 224561] powerpc64: head -r327075 kldload (e.g.) of kernel modules built by clang 5.0.1 crashes the system: mishandles R_PPC64_JMP_SLOT clang generated
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Apr 1 20:14:52 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224561
Mark Millard <marklmi26-fbsd at yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|New |Closed
Resolution|--- |Overcome By Events
--- Comment #2 from Mark Millard <marklmi26-fbsd at yahoo.com> ---
At least for the following combination, this was no longer a problem (but
clang is still using R_PPC64_JMP_SLOT in .ko files so it was apparently
FreeBSD that changed):
# uname -apKU
FreeBSD FBSDG5L 13.0-CURRENT FreeBSD 13.0-CURRENT #8 r345758M: Sun Mar 31
19:43:35 PDT 2019
markmi at FBSDFSSD:/usr/obj/powerpc64vtsc_clang_altbinutils/powerpc.powerpc64/usr/src/powerpc.powerpc64/sys/GENERIC64vtsc-NODBG
powerpc powerpc64 1300017 1300017
amd64->powerpc64 cross-built with system-clang and devel/powerpc64-binutils
using
WITH_LLVM_LIBUNWIND= (patched) and WITHOUT_LIB32= . Various other
patches/workarounds
for other issues are present, unrelated to R_PPC64_JMP_SLOT use in .ko files.
(I
exierment with using more modern tool-chains to build for powerpc64 and
powerpc.)
The system is an old PowerMac G5 (2 sockets, 2 cores per).
I was able to comment out my prior inclusion of filemon and mac_ntpd
in the kernel, so I now have:
# kldstat
Id Refs Address Size Name
1 6 0xc000000000100000 1927578 kernel
2 1 0xe00000008fcd2000 12000 mac_ntpd.ko
3 1 0xe00000008efda000 15000 filemon.ko
I've no clue just when the status changed.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list