Date: Sun, 24 Dec 2017 19:27:32 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-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-8-Dj7sYEjX2d@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-224561-8@https.bugs.freebsd.org/bugzilla/> References: <bug-224561-8@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 <markmi@dsl-only.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|powerpc64: head -r327075 |powerpc64: head -r327075 |kldload (e.g.) of kernel |kldload (e.g.) of kernel |modules built by clang |modules built by clang |5.0.1 crashes the system |5.0.1 crashes the system: | |mishandles R_PPC64_JMP_SLOT | |clang generated --- Comment #1 from Mark Millard <markmi@dsl-only.net> --- (In reply to Mark Millard from comment #0) The difference in the likes of filemon.ko between system clang 5.0.1 and evel/powerpc64-xtoolchain-gcc is. . . clang 5.0.1: Relocation section with addend (.rela.plt): r_offset r_info r_type st_value st_name + r_addend 000000014480 000300000015 R_PPC64_JMP_SLOT 0000000000000000 copyinstr + 0 000000014488 000400000015 R_PPC64_JMP_SLOT 0000000000000000 devfs_set_cdevpriv + 0 . . . devel/powerpc64-xtoolchain-gcc: Relocation section with addend (.rela.dyn): r_offset r_info r_type st_value st_name + r_addend 0000000145c0 000000000016 R_PPC64_RELATIVE 0000000000000000 + 40d0 0000000145e0 000000000016 R_PPC64_RELATIVE 0000000000000000 + 145b0 . . . 000000014408 000600000026 R_PPC64_ADDR64 0000000000000000 sysent + 0 000000014410 001100000026 R_PPC64_ADDR64 0000000000000000 freebsd32_sy= sent + 0 --=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-8-Dj7sYEjX2d>