Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jul 2019 11:44:27 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        svn-ports-head@freebsd.org, "brooks@freebsd.org " <brooks@FreeBSD.org>
Subject:   Re: svn commit: r507178 - in head/devel/llvm80: . files files/clang
Message-ID:  <A945EBA4-484B-4D4C-AAEF-8C690D43F58D@yahoo.com>

next in thread | raw e-mail | index | archive | help
> Author: brooks
> Date: Mon Jul 22 22:42:06 2019
> New Revision: 507178
> URL:=20
> https://svnweb.freebsd.org/changeset/ports/507178
>=20
>=20
> Log:
>   Update to LLVM 8.0.1.
>  =20
>   Add a patch to default PowerPC to use secure-PTE on FreeBSD-CURRENT
>   (matching the base system's clang).
>=20
> 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.)


=3D=3D=3D
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A945EBA4-484B-4D4C-AAEF-8C690D43F58D>