From nobody Wed Dec 22 10:06:28 2021 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C63BF19068AF; Wed, 22 Dec 2021 10:06:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JJprS4Y5Cz4Z0g; Wed, 22 Dec 2021 10:06:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 18A4E1B4B1; Wed, 22 Dec 2021 10:06:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1BMA6SnP092738; Wed, 22 Dec 2021 10:06:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BMA6SR9092737; Wed, 22 Dec 2021 10:06:28 GMT (envelope-from git) Date: Wed, 22 Dec 2021 10:06:28 GMT Message-Id: <202112221006.1BMA6SR9092737@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dimitry Andric Subject: git: f6bc817fd300 - stable/12 - libcompiler_rt: stop building with stack smashing protection List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: src X-Git-Refname: refs/heads/stable/12 X-Git-Reftype: branch X-Git-Commit: f6bc817fd300afc72669a51b62609679cc4c79b8 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640167593; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=l39KGfbttZVtQpyXQm6c/7UMNrFMxl0TJTfxcF9o7uM=; b=JvBDeDj4ungE0o2Mkcjk9PR0DatWMp6qj+pylWwCoCImkZcI7xSkZXKPTMeA9eO7pJ4t9j baXMP6ETqKCf2Ag9nXcAFd2HzEIC62THiekWWEWj+QDyVMNKRYwPBXOHyTynX9ct3OcLPa VlTu1Km1fxXOOKgoyXYOCPt1Xt/M4zJQ2eZmj7jLm5/5Y7DeMT9VmmkeD01DDmDFdwaqxc LU2stv0GbtjW64LAJc3rVIIejiF4xEmvpZKwo1kopZUbCtEHm6jvZ7mT9J7/9kXn/8aUsW ggs/1kUjLfW00wL1gbm7CRqi2m7NrqjOyB9St9mkUFHvnxjBfGHMJm9kq6s7dQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640167593; a=rsa-sha256; cv=none; b=ed991faQmb3uBMVsvY3bZUZmPrMBrCCDcbgg+QKBysgQhkF0N6lUvh5V+O9V3CnuYCrxoQ j5X9ZhxGSyLkGiiZUv06gUchqNCPEesr+p9v1yPvWy7a61jjVwfgtS+dtB/2bMbi0qwg8T sZ/iF7y+AnZ4/S/rTaCDHRHM+v6oORJBpzh2he00ptD23UWi/bsCzuEaImYm9uT0VTJ5bS 10+Ro/MIrJ1S0n7xGXcGfVGw+M7qTZBBwLwiNKy1mGUT7xcRveNNMvuIFnKIQlbUeTtj/g IHxCawoucfELogONKhnE97BRdXeVOVshWugEM21VCH1snyAtEF0OLdwUKdPo6w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=f6bc817fd300afc72669a51b62609679cc4c79b8 commit f6bc817fd300afc72669a51b62609679cc4c79b8 Author: Ryan Libby AuthorDate: 2020-12-28 08:44:25 +0000 Commit: Dimitry Andric CommitDate: 2021-12-22 10:01: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 (cherry picked from commit a723bb667e48b9ec55c3a262c9cc49e700e52989) --- 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