From nobody Tue Feb 22 21:24:57 2022 X-Original-To: dev-commits-src-main@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 9355B19D1404; Tue, 22 Feb 2022 21:24:57 +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 4K3Byd3lVDz4pNW; Tue, 22 Feb 2022 21:24:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645565097; 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=Q06adHBVBTW15QNnVdef9BMLDVZCh4em6Iq1xln76bA=; b=jg27N9p0wYCiT9BoFsaqcNZ4Vb0FbNpg4PaxYVfuQUBHI5cwUFCBEFlYmvz/FpnoHjjM4N 7+3CvyNaf2r//Y611gieJX8lO0GCfKb8ZI+qpdoTEIE0Db/P9G9GYe/2rwU0XvZu+UvtUF y8ThxXxX5xxF0X+lASK8sCp3ArO4v+2zrMS0w68Z1/JCdwp3vzsMJfAqksAdyaH7f//OgN TlgYLjCbukI1uLhjWFfiLG8c7XbjONmCxSUh7oNzEzLTvaQ0f6a32rumY4ahocn+l+fbcJ hXkC40atg1irNyQ6H/yXwZqxZKy3JkOGVvCrR+T07JL/Y23Mv/aLvNpitJjH6g== 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 6130F3A1E; Tue, 22 Feb 2022 21:24:57 +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 21MLOvPA046234; Tue, 22 Feb 2022 21:24:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21MLOv1g046233; Tue, 22 Feb 2022 21:24:57 GMT (envelope-from git) Date: Tue, 22 Feb 2022 21:24:57 GMT Message-Id: <202202222124.21MLOv1g046233@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: 9aa786cbb50e - main - src.libnames.mk: add a comment explaining libssp_nonshared List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9aa786cbb50e997739f31094dc8d45260f19c63c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645565097; 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=Q06adHBVBTW15QNnVdef9BMLDVZCh4em6Iq1xln76bA=; b=Ka6DUlxCfB3k/c5cO/yagx5G1b7Z7gYtksR/qjWQFFnzkmD94oC92wXGBX60bZ2WhocDTe Jxo3jURuZsCFm69rArvy6rmgxKhvn6cGppBKS7Sk6joXer/bOXsrsj0qaceQSEMyL6YP5L eDy6PwPtLnmIHocgj3IAKfGviweJ+5v4s+MzZne6mkyWdo8Bh2pfvB5AKWjWZ65Z3Hob8+ IrLxTCaOLjI/1/EGBlPn/ln6rwb8DGxZBuLowLDPMRkkRkrbMQbmPNmCocL1/zLQuZTPzy 1YcGb3dy9ATfD9y2vmUsd7mJBcB5c9L2sKq62Iupl4tv1T2w62LHjYNu1TichA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645565097; a=rsa-sha256; cv=none; b=fiolhbuH8fUi43M3S2fuoQla7diDmd8ck1W35Z3e+JdlX1AnDrpjHrayt7FhMHSPbdXm/E ovzjXz0Ualv5NjE0k4EtJcSvCZf5pYCmqz61JqRUh95eU25BeV2WTEwtVDYIuqKahb90ZD /Bjc8Gv34evA0wiiGvuewesjqIXFKt+ByxV3jFnQ2EOrmGwYIsUuMuM8KQKTmXf6gJdPHn vnTOn4j5AHkYm+ME0LP10H8qY/sRtMfvlhMKNi5itaITALdZTm+kBU38gPE/MmnWIlG0U9 9+9QnmEmLeZbDwbuFe1KUbONQCrCa47xrMBPN4afqekz4QhwKOIfeyZ9QkcUPg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=9aa786cbb50e997739f31094dc8d45260f19c63c commit 9aa786cbb50e997739f31094dc8d45260f19c63c Author: Ed Maste AuthorDate: 2022-02-22 21:22:03 +0000 Commit: Ed Maste CommitDate: 2022-02-22 21:22:03 +0000 src.libnames.mk: add a comment explaining libssp_nonshared libssp_nonshared is a special case for (only) i386 and power*. Add a comment explaining why, based on the original commit message that added it. MFC after: 1 week Fixes: 0f61170882cb ("libssp_nonshared: use only on i386 and ppc") Sponsored by: The FreeBSD Foundation --- share/mk/src.libnames.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/share/mk/src.libnames.mk b/share/mk/src.libnames.mk index c37b56da18b4..26106a71715f 100644 --- a/share/mk/src.libnames.mk +++ b/share/mk/src.libnames.mk @@ -392,6 +392,8 @@ _DP_ztest= geom m nvpair umem zpool pthread avl zfs_core spl zutil zfs uutil icp # The libc dependencies are not strictly needed but are defined to make the # assert happy. _DP_c= compiler_rt +# Use libssp_nonshared only on i386 and power*. Other archs emit direct calls +# to __stack_chk_fail, not __stack_chk_fail_local provided by libssp_nonshared. .if ${MK_SSP} != "no" && \ (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH:Mpower*} != "") _DP_c+= ssp_nonshared