Date: Mon, 01 Apr 2019 20:14:49 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [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 Message-ID: <bug-224561-227-F7C154VUoe@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-224561-227@https.bugs.freebsd.org/bugzilla/> References: <bug-224561-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224561 Mark Millard <marklmi26-fbsd@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |Overcome By Events --- Comment #2 from Mark Millard <marklmi26-fbsd@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=20=20=20=20 markmi@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=3D (patched) and WITHOUT_LIB32=3D . Various other patches/workarounds for other issues are present, unrelated to R_PPC64_JMP_SLOT use in .ko file= s. (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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-224561-227-F7C154VUoe>