Date: Mon, 28 Dec 2020 08:47:43 GMT From: Ryan Libby <rlibby@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: a723bb667e48 - main - libcompiler_rt: stop building with stack smashing protection Message-ID: <202012280847.0BS8lhiU041073@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by rlibby: URL: https://cgit.FreeBSD.org/src/commit/?id=a723bb667e48b9ec55c3a262c9cc49e700e52989 commit a723bb667e48b9ec55c3a262c9cc49e700e52989 Author: Ryan Libby <rlibby@FreeBSD.org> AuthorDate: 2020-12-28 08:44:25 +0000 Commit: Ryan Libby <rlibby@FreeBSD.org> CommitDate: 2020-12-28 08:44:25 +0000 libcompiler_rt: stop building with stack smashing protection libcompiler_rt implements certain functions that clang and gcc emit calls to as part of their codegen (e.g. for extended width math). Build it without stack smashing protection (SSP, -fstack-protector) in order to support building binaries without SSP, especially the dynamic linker. Besides, SSP is probably not very valuable in this library. Reviewed by: arichardson, dim, kib Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D27786 --- lib/libcompiler_rt/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/libcompiler_rt/Makefile b/lib/libcompiler_rt/Makefile index 9ec4e896e7a5..0f42dd516c51 100644 --- a/lib/libcompiler_rt/Makefile +++ b/lib/libcompiler_rt/Makefile @@ -4,6 +4,7 @@ PACKAGE= lib${LIB} LIB= compiler_rt +MK_SSP= no NO_PIC= WARNS?= 2
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012280847.0BS8lhiU041073>