From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2P0GMvb/b2KXXwEAbAwnHQ (envelope-from ) for ; Mon, 02 May 2022 17:59:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id gL0nMfb/b2IPigAAG6o9tA (envelope-from ) for ; Mon, 02 May 2022 17:59:50 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6595DB662 for ; Mon, 2 May 2022 17:59:50 +0200 (CEST) Received: from localhost ([::1]:39952 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nlXe3-0005lV-84 for larch@yhetil.org; Mon, 02 May 2022 11:07:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56666) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlXSC-0008Sq-QH for guix-devel@gnu.org; Mon, 02 May 2022 10:55:12 -0400 Received: from mail-qt1-x82c.google.com ([2607:f8b0:4864:20::82c]:34604) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nlXSB-00058t-0X; Mon, 02 May 2022 10:55:12 -0400 Received: by mail-qt1-x82c.google.com with SMTP id k2so4802553qtp.1; Mon, 02 May 2022 07:55:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=EdDXdQ32CY3WyaTtsA/d0Qv37oAnuhkdZvG9OnGBMpg=; b=Oc/4M6bhRfIrt/UT8c78EoVfyQZ6rhLQ41fit8SjNnab52uIhS3gsDCE+IfshMw1sk Pr1iRU5tIcWHGO92m+zQ2s7TqUxa3LVPwQYJW9sbkoY8TK/PCPDHQUbOPJwichkzztwb bI5fwhUJJLEwNyQyk38i2GorRYKm0kfDmBzm2Z4qxCv9TDYeZHKwpoFPanoI0g8T/psH RFM9sP3W1K2pn3lTOQUZJAbbz5nIkZU0RxYd2UjjpfmQgKQaHIReGgJV12MbP9tRPwCT /RZ1o97yYJ05lEPx5oGe6xrz1M87zkorrZaopzcj6np7H9/DCuNDMyJNa1s9JY/masW2 LUIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=EdDXdQ32CY3WyaTtsA/d0Qv37oAnuhkdZvG9OnGBMpg=; b=rGxbpjMXU3SuIV8dFblJswtCPhSz3NUTL8YHaS/cCa9yFZgh7VSzySxQh1NuOYPS41 1czSIUQqjapDDUg/AsK9KQ2hBt4zIxVcwG38tbbgclYx9Xfqew6gyv/fYa+ujPG+SWxr B825tPtManSOruV5EjSllQPRzEVxSzQtT2+5QxihNDXt191mgxqvts+BtcRftwzWMrRd Sco9CvfefOeMyaDHmeJE4OyANCtK6Q4Mv9CxGSQyb9RhKYu2PaK2j8247uLR0ZZz1URU O5uIcb0QtQWrQ4pFDwxXFKXsfrvx9hr6LdTaFA6PwoOAVAM6DrURIQNg05ykcPpq1pVo I7VA== X-Gm-Message-State: AOAM532lhVrga5GsVPXLrCmCO5cErY7hlCb2OurLkvVcI2S6vQ1ectiI upxWXWWxomoQKs2FA8LkPeY= X-Google-Smtp-Source: ABdhPJzTAjGSB+bqzZCnCFT4ujjJHp+ZF+628cZiPmA188oYJ5whMH+xQhHDGISNiLoWV86pzM0YPQ== X-Received: by 2002:a05:622a:1056:b0:2f1:f76a:eb6c with SMTP id f22-20020a05622a105600b002f1f76aeb6cmr10712742qte.437.1651503308783; Mon, 02 May 2022 07:55:08 -0700 (PDT) Received: from washu-v4 (172-221-246-205.res.spectrum.com. [172.221.246.205]) by smtp.gmail.com with ESMTPSA id k12-20020ac8604c000000b002f39b99f6aesm4188512qtm.72.2022.05.02.07.55.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 07:55:08 -0700 (PDT) From: Katherine Cox-Buday To: zimoun Subject: Re: Hardened toolchain References: <874k3r8m4m.fsf@gmail.com> <8464b1bff3acb0a84f46ea6dcbbeaa7045b03d1c.camel@telenet.be> <874k3iwysf.fsf@gmail.com> <87pmm512uv.fsf@gnu.org> <87h76ccha7.fsf@gmail.com> Date: Mon, 02 May 2022 09:55:05 -0500 In-Reply-To: <87h76ccha7.fsf@gmail.com> (zimoun's message of "Fri, 29 Apr 2022 12:31:28 +0200") Message-ID: <878rrkdlx2.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::82c; envelope-from=cox.katherine.e@gmail.com; helo=mail-qt1-x82c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org, kiasoc5@tutanota.com, Maxim Cournoyer Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651507190; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=EdDXdQ32CY3WyaTtsA/d0Qv37oAnuhkdZvG9OnGBMpg=; b=BRSLkBb1a8v/rW7TQ0NWmC+xTyJlXHRPuRMsUTOm9dJDyCA0LQGtg2GsSdJTcY42E3+E/T 5O7NcshP8GjK4IuOCTf++UmL2Hsr2iSv/pTMQcuwx+hnswJfd6NQOC9EWdH1EQSRscQdPB UReFc58UrOoqhgQLwrbb/pQ0mU8zyqkyTq8l7F/wRAViJCKgXxLc/ad2e6JkFhmawBBgwz c3I4lHDh5mR40Ctjq5fkgyatg3QCwildPhUEH8Ulg0e2iPUpexcR7rVjNelygbwKZn+SxH Q0hYBemTrjnJPsMBmP3WhZ8J3kT/E5Lvm+MXrKRYXS7N1SESiFYsNZzVETLh/A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651507190; a=rsa-sha256; cv=none; b=GqoYXTwvLZutMnGk19SirdM0oItK0sYl+D/I5W2L1Pz9co9QENast6iAcc0KT3LsIpn1Gc N19eEcNf4ghAGyqwuQQ39u9S1iO8/QsKzqX/jiVzB31EZWynPo+E1LSz0d+n8q+n/KhkEl uFlshERNq92rmEisKtR1RwLsE9uv/gFKhiexWqwcWzdjO0YWnpcgYA7ZqmaGHUn7mQpEOb MBrnuIun/LLJzwsvz1z99ZmdArmrtcc2BPZMQrFvEt0FN3Fgi5vbFnu4Mx/bef+3dRafcL 7oYSkOUV7CTv5pI++pwsMtZjRUp5dik4EuL5hDOk9p3ahlioURhousAhcYJrMQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="Oc/4M6bh"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 9.22 X-Spam: Yes Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="Oc/4M6bh"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 6595DB662 X-Spam-Score: 9.22 X-Migadu-Spam: Yes X-Migadu-Scanner: scn1.migadu.com X-TUID: iWSXSfp4CTKb zimoun writes: > On Tue, 29 Mar 2022 at 12:15, Ludovic Court=C3=A8s wrote: > >> Stack smashing protection (SSP) may incur measurable run-time >> overhead though so enabling that one by default may be less >> consensual. > > That=E2=80=99s true and it could be an issue for HPC practitioners. Howe= ver, > quoting Wikipedia [1], for what it is worth: > > All Fedora packages are compiled with -fstack-protector since Fedora > Core 5, and -fstack-protector-strong since Fedora 20.[19][20] Most > packages in Ubuntu are compiled with -fstack-protector since 6.10.[21] > Every Arch Linux package is compiled with -fstack-protector since > 2011.[22] All Arch Linux packages built since 4 May 2014 use > -fstack-protector-strong.[23] Stack protection is only used for some > packages in Debian,[24] and only for the FreeBSD base system since > 8.0.[25] Stack protection is standard in certain operating systems, > including OpenBSD,[26] Hardened Gentoo[27] and DragonFly BSD. For me at least, this is a compelling argument for also defaulting to more = secure, but possibly slower, build flags. (Full disclosure: I would persona= lly benefit from the security over performance model of defaults). But I think we should state our reasons plainly in the documentation, and p= rovide an easy way for those who need performance to "recompile the world". --=20 Katherine