svn commit: r507178 - in head/devel/llvm80: . files files/clang
Mark Millard
marklmi at yahoo.com
Tue Jul 23 18:44:38 UTC 2019
> Author: brooks
> Date: Mon Jul 22 22:42:06 2019
> New Revision: 507178
> URL:
> https://svnweb.freebsd.org/changeset/ports/507178
>
>
> Log:
> Update to LLVM 8.0.1.
>
> Add a patch to default PowerPC to use secure-PTE on FreeBSD-CURRENT
> (matching the base system's clang).
>
> Added:
> head/devel/llvm80/files/clang/patch-freebsd-r349351.diff (contents, props changed)
> head/devel/llvm80/files/patch-freebsd-r349351.diff (contents, props changed)
> Modified:
> head/devel/llvm80/Makefile
. . .
If I read this correctly, it patches clang without patching
lld to accept --secure-plt when its output is for the
likes of elf32ppc_fbsd . (At least for cross builds that
target elf32ppc_fbsd .)
So it appears to be this does not enable llvm80 use
overall, at last for how buildworld is set up: it uses
--secure-plt with ld.
(It turns out that clang8 output and devel/powerpc64-binutils
for -m32 can mismatch and system-clang with
devel/powerpc64-binutils can not buildworld: ld reverts
to bss-plt sometimes and returns an error code when it does
so. I expect that the devel/llvm80 result would be the same
now.)
===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)
More information about the svn-ports-head
mailing list