From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2J0kBjHGa2Kv0QAAbAwnHQ (envelope-from ) for ; Fri, 29 Apr 2022 13:04:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id GH9YBjHGa2I5egAAauVa8A (envelope-from ) for ; Fri, 29 Apr 2022 13:04:17 +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 B903BFBB9 for ; Fri, 29 Apr 2022 13:04:16 +0200 (CEST) Received: from localhost ([::1]:32928 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nkOQ3-0006lQ-QT for larch@yhetil.org; Fri, 29 Apr 2022 07:04:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36178) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkNz9-0003dA-0A for guix-devel@gnu.org; Fri, 29 Apr 2022 06:36:27 -0400 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:46740) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nkNz6-0007PJ-OE; Fri, 29 Apr 2022 06:36:26 -0400 Received: by mail-wr1-x429.google.com with SMTP id i5so10177297wrc.13; Fri, 29 Apr 2022 03:36:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=s+O3GyAeLVQtH+EJ5UdZ1qlsjSQSO0NtHQoN0mVyU2k=; b=is58IpYZPlD5fYW673+weE+286EUlBuF6FUx+uBBGmHLjtiG1SemoE8GJMRvlmT7Xm jzDwzu3SERI6T84WdKWejrYZ5hcVDc2Pxsee2i9jKbsMQaPk0ilHVN3QLQYglohPJqgM 0rkGLTVEsSL//vwBqHvQfLqhqh/BLkIXWAinuGaEAbQK0j5qWEORIv/2teIyK84L+F1M z8e9/xg05qqv3pkm3jzcKRFiPkjgQQWRT32+3H/BDWTQwCHVEkEnVZym2/AfE/PPgOzX lZxHFJXO6BJ4GdrLzQ+lxJG5t5dpA3lGWfzY5EditeyQqKKDPyGIPrT6xreza/pzFeNG lBCw== 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:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=s+O3GyAeLVQtH+EJ5UdZ1qlsjSQSO0NtHQoN0mVyU2k=; b=KMnZmx+0PhUY1NIQc8A5hkcN6lWCRAo3eV0nV+YsMgA/qYYum5teSALFyk4KSyNDDD sqpWIkunldoAKNd6vkRGG7ElTspRDghDWYw+cYj+bcqdTPqGMoXXAp2RfAIuYkbZIXHL GDc5opTqkXBqIJ3MyUm+XzjFQpHznrXbTd4yxF84XftZE6G88swiptHrpPh9kssHJi+M 56kdY+vk0njLFBAuXyMlHMF/zCZyQ64q3zOsTpSW7I21Rcd4U0fn/67Ykqskhq/J7nkp a18tsCLc3C5HI0Y08Dt6+GZKExGX7g5MgtunNrJdKQdtBAhQYB3mpSJvHnAaJuDTzD7z xLSw== X-Gm-Message-State: AOAM530OL8rdS4n3qRyqKLeZiOUVKZ/NXSznO22IScUPUmImn7UKh9o2 xBArtr6/3Xm+3MmVFKblUF8= X-Google-Smtp-Source: ABdhPJzgHfBEkr3g4mRGV297DSvh8xrlfWtS5YT/eB8cKTHs4SUd2qNz/YuDHz6wtyWHopUq2wFAfA== X-Received: by 2002:adf:e289:0:b0:1e3:14ad:75fe with SMTP id v9-20020adfe289000000b001e314ad75femr30070531wri.685.1651228583044; Fri, 29 Apr 2022 03:36:23 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id l24-20020a05600c1d1800b003941e54a04csm1609189wms.26.2022.04.29.03.36.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Apr 2022 03:36:22 -0700 (PDT) From: zimoun To: Ludovic =?utf-8?Q?Court=C3=A8s?= , Maxim Cournoyer Subject: Re: Hardened toolchain In-Reply-To: <87pmm512uv.fsf@gnu.org> References: <874k3r8m4m.fsf@gmail.com> <8464b1bff3acb0a84f46ea6dcbbeaa7045b03d1c.camel@telenet.be> <874k3iwysf.fsf@gmail.com> <87pmm512uv.fsf@gnu.org> Date: Fri, 29 Apr 2022 12:31:28 +0200 Message-ID: <87h76ccha7.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::429; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x429.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 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=1651230256; 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=s+O3GyAeLVQtH+EJ5UdZ1qlsjSQSO0NtHQoN0mVyU2k=; b=Hcj377asH9fGmcb6f5hWfXZq2brZ9feAlSgSteA+6oSWkZalcTxKwXkWLBv04eIF7BTf/0 d5BPiAfCT7OSfMm48LaFwBFFeWanUFpLhWxuArxcbJp64ePnhE9fElbwPJbqBWAQpgHQYq 9MtjJ5ZpFJOcbR/G4tke4d6L2Ub+eEolvlBRj83nLE6urT7oImJ7daLMKTVR//bEZw49Io fjRE2xU8Yvek1ge0HRdQsaz2dx7rd/plsy9ryrl3CNwGO6idNRrG8tUG05Ip5WCQlYyfJR gefejsOzCAPRUXUa6Amv8YhRl31OnQFApEqth0Ik1VZ5B83zTTNGpf5WxpreJg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651230256; a=rsa-sha256; cv=none; b=CExq7goGPCggGcXkboMEMMUXSMikAPxDcQas1nAG7vCthwq68GZdfmybciPMnvazKg0zux vIVaSwTuQy0HVGX7RJ4BCKTPYhB/JSg5asOXdaWHP451Xjt7g5aKXF9EUS9Y3OeJDC+v7C v3YUKbjSyfegXcPDN5aO0Ov5s0cY6HsVaLqtiB7nYLD5vRNC876V6pP0g9Af2Wuc/SLZ52 gdg3dNo+iX3K/BYoYoFxJAhuoL9thasJ8Hucuq+S+JAjgXUrkKcC+GEpw5742QkuwyAwej onf5ZewQFyhBesbu0clNT3ACFWKyNZi3m9HBe1oOzNqONeNqJzH9hBtklojfnA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=is58IpYZ; dmarc=pass (policy=none) header.from=gmail.com; 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: -4.00 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=is58IpYZ; dmarc=pass (policy=none) header.from=gmail.com; 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: B903BFBB9 X-Spam-Score: -4.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: CwbSJeoeb4Ue Hi, 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. Howeve= r, quoting Wikipedia [1], for what it is worth: --8<---------------cut here---------------start------------->8--- 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. --8<---------------cut here---------------end--------------->8--- Well, I miss if Guix is built using this =E2=80=99-fstack-protector=E2=80= =99 flag; or whether it is included by default. Cheers, simon 1: