Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Nov 2019 11:39:55 -0600
From:      Justin Hibbits <jhibbits@FreeBSD.org>
To:        freebsd-ppc@freebsd.org
Subject:   FreeBSD/powerpc* clang update
Message-ID:  <20191123113955.3a3105e6@titan.knownspace>

next in thread | raw e-mail | index | archive | help
Clang base is coming along nicely, with plans to switch all PowerPC
archs (powerpc64, powerpc, powerpcspe) to clang by the end of the year.
 The schedule has slipped a bit from the original plan, due to various
 debugging and bugfixes needed since the update to LLVM 9.  However,
 recent fixes have made it possible to migrate after a few more patches
 go in for powerpc and powerpcspe.

As it currently stands, powerpc and powerpcspe will remain with GNU ld
as necessary until LLD improves and has been sufficiently tested.

We currently have the following patches, spread between LLVM and
FreeBSD phabractor instances:

* https://reviews.llvm.org/D70570 (Fix for secure-plt with llvm)
* https://reviews.llvm.org/D69486 (SPE VAARG fix)
* https://reviews.llvm.org/D69484 (SPE optimization)
* https://reviews.llvm.org/D69483 (SPE predicate handling fix)
* https://reviews.freebsd.org/D22520 (RTLD fix for SPE)

With the above patches, powerpcspe successfully builds and works with a
Clang+ld.bfd toolchain.  D70570 is required for secure-plt on both
powerpc and powerpcspe.  There are a couple other fixes remaining to
get into review for powerpc and powerpcspe, and they should be up for
review in the next few days.


- Justin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20191123113955.3a3105e6>