From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 iN94EJ0ecGIEIwEAbAwnHQ (envelope-from ) for ; Mon, 02 May 2022 20:10:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 8NOFEJ0ecGIvsgAA9RJhRA (envelope-from ) for ; Mon, 02 May 2022 20:10:37 +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 85495F50A for ; Mon, 2 May 2022 20:10:36 +0200 (CEST) Received: from localhost ([::1]:44548 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nlaVH-0002hI-Lx for larch@yhetil.org; Mon, 02 May 2022 14:10:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36476) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlaV4-0002gu-6D for guix-devel@gnu.org; Mon, 02 May 2022 14:10:22 -0400 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:40695) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nlaV2-0007Y4-OI; Mon, 02 May 2022 14:10:21 -0400 Received: by mail-wr1-x436.google.com with SMTP id e2so20519287wrh.7; Mon, 02 May 2022 11:10:20 -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=xTzb0NNYeVEYUrDKhF/tcZ365g5JuWkmQi2qZLdn9Q0=; b=ag5YKBnzXkez6NBXvyAxxjXX6tTsqpEe6UZ05/KpArPhbO39BLnoKb9oSuRm7MS9ST 1jcPE6DqGSSiXJavPeYPbnRkKGrfwYD6kr3qKMDC6o/sNGOgjp+1orR/ke1Jap8mYSKH C6NvvQW2Y0kF6GuhEHeRtfOLTN59WjviA1u66L/bwjROIbW33k2wjTVC3EJRG4IPUwXj OvticxY40Am5p8fb6/LbXyyQCjWVuDBFciaXjKkTnTlpz56ijQFrU1172GcsNoje0DfE bJlS/PZiMlDF8+ncGX79txL/VBSoOK3zhrSpqdw5AbtIdfxEK3dpMgH9fyvKusYW7AII 7mhg== 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=xTzb0NNYeVEYUrDKhF/tcZ365g5JuWkmQi2qZLdn9Q0=; b=z1SEvc22c3nqLOA6K7W1E+TsP8PoqqvUBdv4RiTChBy1gmCv5tBOQqJBskRu011waK 99UFSJr276t+2kz+mExX3CIPXUtU5oL2N4AFozmakwJrr6ULEt4l0Wuy1LYUkSl+PosW ynttBVxjACUfRSsOr4PLykKBpE9j+J/xqTC1c8me0pQd5YHdLsKCQUhKCPw/0v0sR5yK wTsl5oNbG5YQ69cL2dwNUOhKsBls2FeegY4DYi7gWW8lS0If8G8wm8UwR1t6yK/ARGv7 obzie459MY1moKLe8ixS+5mB+aMAX3i0pVPAeC6RJ4REaGLRkbZlplUPCGFjhh2fTbyQ CNDw== X-Gm-Message-State: AOAM530n1OL4uTzhb3lHcN9Zbq4uWccNKf++UvG+5b0qDakv4k+K0vEq 0hwEG2yNiqPNqZ1CJSVrPkw= X-Google-Smtp-Source: ABdhPJziz1xqE9EiewBaSua4iHONzVL/117YksKKDBD+RE2ZTXftU3qqPwjOGq70RiTHYU0e9AdAQg== X-Received: by 2002:adf:b35b:0:b0:20a:dd58:ef60 with SMTP id k27-20020adfb35b000000b0020add58ef60mr10184684wrd.647.1651515018411; Mon, 02 May 2022 11:10:18 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id a25-20020adfb519000000b0020c5253d920sm9943986wrd.108.2022.05.02.11.10.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 11:10:17 -0700 (PDT) From: zimoun To: Maxime Devos , Ludovic =?utf-8?Q?Court=C3=A8s?= , Maxim Cournoyer Subject: Re: Hardened toolchain In-Reply-To: <599c070e48d782c5edf1b2a209c09a0489b79bc2.camel@telenet.be> References: <874k3r8m4m.fsf@gmail.com> <8464b1bff3acb0a84f46ea6dcbbeaa7045b03d1c.camel@telenet.be> <874k3iwysf.fsf@gmail.com> <87pmm512uv.fsf@gnu.org> <87h76ccha7.fsf@gmail.com> <599c070e48d782c5edf1b2a209c09a0489b79bc2.camel@telenet.be> Date: Mon, 02 May 2022 19:41:58 +0200 Message-ID: <87ilqn96hl.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::436; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x436.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=1651515036; 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=xTzb0NNYeVEYUrDKhF/tcZ365g5JuWkmQi2qZLdn9Q0=; b=uD8Us83dGciTdQhEhTKxFGnVLb3ZZHuhEdP5865K25hYjx8tVjvyjsbV2wTeHuHal4DyqA EhlqNEkKqOXFtYIVihGE3KLZLVZO1iyfZx6Sx+sFB6Fzg0nvxIm4+sCRtrKZLh1HuMMhIE klWxad46Bby2lF1AQuNgBA+5nogVtntyPMYYjLjcL2tXZzQUBVExbl4KKlg+ArCBoCQVh1 Yad0npm6BesS2bLeJqQ5YlM5MxcSVSWkIsKsK/4OX7nyWoVqDg0XpYK6nfTLhGqlwN7Sem 0tzZ2UAFVtz8OhzLbS0a6VV84XdhxpENKzYEkdL8rCwJvHA9MmlJNzzbeOp06A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651515036; a=rsa-sha256; cv=none; b=Wyq6kH9aTkvnhoQIx7KHU5MnXMCoxSceEPZpiTDdriaF9SvXZqFDjq3CDTu+h+fdCL14RW hUhjD0sCALbQswVLDCG4tFGacSlIB/6ndPI03hTn3mdRRjrsfDmID89h2jbWsEEO3UZfmG mRboEUGe+t1WrSb5sM9HbugBzFCF3+MkW3y9/iRd/l1pBIB0zAHSdHav85iEvtpXZFWckp 82ZsOVKpO0mW50u9CcMGrOF+lFzQ8vQ80OLJS4F1l0I2Oqty25081Pr1RLg/NYPAAfn2OI 5fK5o8rmPIKoQbT2fVX7SsfG3RukebViJ2mXxUrPc+YjIAw2uGK/ZEEcHRcDKA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=ag5YKBnz; 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: -2.78 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=ag5YKBnz; 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: 85495F50A X-Spam-Score: -2.78 X-Migadu-Scanner: scn0.migadu.com X-TUID: 7Ap8kq6o5ubD Hi Maxime, On Mon, 02 May 2022 at 18:25, Maxime Devos wrote: > zimoun schreef op vr 29-04-2022 om 12:31 [+0200]: >> > Stack smashing protection (SSP) may incur measurable run-time >> > overhead >> > though so enabling that one by default may be less consensual. >>=20 >> That=E2=80=99s true and it could be an issue for HPC practitioners.=C2= =A0 [...] > > I'm not sure if this wasn't already mentioned, but HPC practicioners > can already use --tune. Maybe HPC practicioners can have --without- > hardening. However, in the computing I do that needs to be high > performance (*), it seems that the expensive computations are matrix > multiplications, eigenvector decompositions and the like. I wouldn't > expect those kind of things to be hindered by hardening. > > (*) In my case, this is not about supercomputers or computer clusters, > but about having software run fast enough on the hardware that is > available. In some situations, that's a fancy supercomputer, but often > a simple laptop can do ... if the software is sufficiently optimised. I agree that HPC practitioners can burn some CPU cycles and recompile the world if they care so much about run-time performances. To me, it is the same trade-off by HPC folks as custom / performance vs portable / pre-built. :-) Cheers, simon