[Bug 227659] [PATCH] src.opts.mk: fix to build WITH_GCC=yes when using an external compiler that supports c++11
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Apr 29 19:40:22 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227659
--- Comment #3 from Mark Millard <marklmi26-fbsd at yahoo.com> ---
(In reply to Mark Millard from comment #2)
I had forgotten, but back around the beginning of the year
when I last updated the old powermac's freebsd, the clang
build did not dynamically load kernel modules: attempting
such crashed. The powerpc64-gcc based build worked fine.
The clang build put out R_PPC64_JMP_SLOT (.rela.plt)
instead of R_PPC64_RELATIVE/R_PPC64_ADDR64 (.rela.dyn) in
places and the loading of .ko files does not handle
R_PPC64_JMP_SLOT : So the two sides are mismatched.
I ended up building-in a couple of .ko's that I use
into the kernel:
device filemon
device geom_label
filemon is involved in doing self hosted builds. This
avoided requiring cross builds.
Still, as of when I stopped back then, I was running
the powerpc64-gcc based build.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list