Date: Mon, 24 Jun 2019 21:40:48 -0500 From: Justin Hibbits <jrh29@alumni.cwru.edu> To: FreeBSD PowerPC ML <freebsd-ppc@freebsd.org> Subject: FreeBSD/powerpc and FreeBSD/powerpcspe toolchain update Message-ID: <CAHSQbTBjZFb1dPk2FN=438i0FVtAKHYy-y22L%2BHFEDrTmd-9Aw@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
As of r349351 32-bit powerpc toolchains need to be rebuilt as part of buildworld, in order to take advantage of the new Secure Procedure Linkage Table (Secure-PLT) format. This can be done by passing "WITHOUT_SYSTEM_TOOLCHAIN=" on the 'make buildworld' command line. Cross-building should work fine with no changes, as that already builds a new toolchain. If building with an external toolchain, such as gcc8, add 'CFLAGS+= -msecure-plt' to /etc/src.conf to ensure the new PLT is used, otherwise it will default to BSS-PLT, which is fully compatible, but not as secure. There is breakage intended at all, so please let me know if there are any problems. I will submit ports updates for review in the next few days, so that ports can implicitly take advantage of secure-PLT as well. - Justin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHSQbTBjZFb1dPk2FN=438i0FVtAKHYy-y22L%2BHFEDrTmd-9Aw>