From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8IwhNKcReWGq6QAAgWs5BA (envelope-from ) for ; Wed, 27 Oct 2021 10:45:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id sInhL6cReWHzDQAA1q6Kng (envelope-from ) for ; Wed, 27 Oct 2021 08:45:27 +0000 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 8A82C2F341 for ; Wed, 27 Oct 2021 10:45:27 +0200 (CEST) Received: from localhost ([::1]:41428 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mfeYo-0002Ea-JA for larch@yhetil.org; Wed, 27 Oct 2021 04:45:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33892) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfeYR-0002DW-24 for guix-patches@gnu.org; Wed, 27 Oct 2021 04:45:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36852) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mfeYQ-0003hi-76 for guix-patches@gnu.org; Wed, 27 Oct 2021 04:45:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mfeYP-00032m-SI for guix-patches@gnu.org; Wed, 27 Oct 2021 04:45:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51198] [PATCH] gnu: Add b2sum. Resent-From: =?UTF-8?Q?Nicol=C3=B2?= Balzarotti Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 27 Oct 2021 08:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51198 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Leo Famulari Cc: 51198@debbugs.gnu.org Received: via spool by 51198-submit@debbugs.gnu.org id=B51198.163532429911680 (code B ref 51198); Wed, 27 Oct 2021 08:45:01 +0000 Received: (at 51198) by debbugs.gnu.org; 27 Oct 2021 08:44:59 +0000 Received: from localhost ([127.0.0.1]:48398 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfeYM-00032J-On for submit@debbugs.gnu.org; Wed, 27 Oct 2021 04:44:58 -0400 Received: from mail-ed1-f42.google.com ([209.85.208.42]:45667) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfeYL-000323-EI for 51198@debbugs.gnu.org; Wed, 27 Oct 2021 04:44:57 -0400 Received: by mail-ed1-f42.google.com with SMTP id m17so7347124edc.12 for <51198@debbugs.gnu.org>; Wed, 27 Oct 2021 01:44:57 -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=2tUcqCekC9/I8dUY+lBADvbwZ6iIpNK2yI/+LkbdHrE=; b=U1plAGCPtqefXVPt/NjtVWRxTmxq2ZTFbsNqc/DD0AcpZizfXrWDlwbovwi/0uu2BA lqmwnkYvcG+GsQwsdCZi/DV1Zr6t+AbwrrffhbEnIAVIhE7tDn2Xq/xOsTyE8F3VFo6r tqs45Lfn+B1gpxDh56/fUw0SZhbxhpSoPnZJj61/bxmulxTwG2l1xKpXCjHJnrLYCHci Cv3bnHzAbZNNAYQ9n9PAZsvfKinvGyVNWfvfkSPB9uq2g/o16TWc+rbc0/0+mVu7UuxC x8W5AwTsDe2n90YqjW99C33PZIHx7CjcTWSgK7LL9BpdgH7BncFc0h7Ra2/foNEVwzE+ L7MA== 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=2tUcqCekC9/I8dUY+lBADvbwZ6iIpNK2yI/+LkbdHrE=; b=d987r0s7eYCgDG6pamCdklFLQZ5v2/o80jyOTHqgwyNXLRdC9+JpXwzU8B5OYodcNB 5zW0wSuLY1jj8EYwCY3yLILyKdlr7JRZK/MNp/48S3qXtnkW+k8Cmjvs8Du4vGx1olyz BL9dIZ6N/+hhqflv1CBZx002M/OgLOq1F+m+b6aBmTJWfCpMCuRueH4b49p1FRbkMgsU YwrGYl+VT6Md31ZG7eUZCVnKYyrrkqMTA/UEDut7zRkVYXtnUC2xQIzoyt4+avFKELGh 23xo+DC/V4rMBlpA32hQNfcM3Vnij48XycJB4KzcfGsY81v0QMJ2bjyv+zZT1/3YlU7S wI7Q== X-Gm-Message-State: AOAM531Z4KmcHF3+3HLziDbIy4KbwahkK3aa7Z/nDDauyvg4bxtZtUY0 HU7kiD+iJuZJbuNgdOrA/nHiGU7x3fE= X-Google-Smtp-Source: ABdhPJw2aHXVUcSTgCORH2xodYo3YE2Txt3Qf4K1SnsTycmr26FFodHxOQcfHE0Mx1DCrplvBgo4nA== X-Received: by 2002:a17:907:7f14:: with SMTP id qf20mr38260636ejc.110.1635324286646; Wed, 27 Oct 2021 01:44:46 -0700 (PDT) Received: from localhost (host-79-16-165-197.retail.telecomitalia.it. [79.16.165.197]) by smtp.gmail.com with ESMTPSA id p25sm12200672edt.23.2021.10.27.01.44.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Oct 2021 01:44:46 -0700 (PDT) From: =?UTF-8?Q?Nicol=C3=B2?= Balzarotti In-Reply-To: References: <878ryfjudi.fsf@guix.i-did-not-set--mail-host-address--so-tickle-me> Date: Wed, 27 Oct 2021 10:44:45 +0200 Message-ID: <874k92kgaq.fsf@guix.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635324327; 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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=2tUcqCekC9/I8dUY+lBADvbwZ6iIpNK2yI/+LkbdHrE=; b=iRjEedjggNcn4FPJczH4DoxCHoU69bjtIKHLM0/x/jcRc6iWIZxEtaizjHrb6iS3HuOAUv +HJkN3DeZDQ4g1Iie7F4yaGzIMTtl7LghkDQz14D8HxlmtDBlMPfOwpy4f6dQiQlyKSDhN DcD9JS5NGVMxnRt+7+89m2w5P+KQU1aMOf+OofWnRXxtQVqBqjj5mW5J501q+3QnHimaT8 iqG8O9kTV3qMCcMcsoEF1VvbRuVPatwMWmcGWMlDLnb+I+J6cCMBSzIFZojBA5xSZX9ljM BXgKrfLQEYEhsRKzOewtxayulcDVyx+h4NgyI8ysGyryGpqKEmWKWX+Eo6JOCA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635324327; a=rsa-sha256; cv=none; b=YZ2E/lyO/om8ly78RGgzVU/7iOOKe3egF60dSr7q0Q7UHjpgCcfCDJPyZKneFRyHsMP/Wo CJyNtH8AFkywh9DD8+EiX3DHb4Ee8v0KgDd9uZsVhGoHfLV790fDn7qeXgPjqClRkP3Xun qLL3ySsCLGBT3u5vNIScOjTQzoGGA1Um9heGIln3wtwd12UbxDV1gZ0cDIZnfmSbtnA52b gnEl4AddFHhsbRCSHCZLlJDE1tdKGL8RONDQZj7lpFMBBH8hSJ4SPG6aXjX/B45IBU3EQN P1PMdBA18IpbuNvYfp393MS0Dhh1Axv0m2DoThPdVv9Uuj3Os74W4WMK4alisQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=U1plAGCP; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 0.17 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=U1plAGCP; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 8A82C2F341 X-Spam-Score: 0.17 X-Migadu-Scanner: scn0.migadu.com X-TUID: q0AYupr5rfVf Hi Leo, Leo Famulari writes: > On Wed, Oct 27, 2021 at 12:26:01AM +0200, Nicol=C3=B2 Balzarotti wrote: >> (I'm on an old X200 thinkpad). Might it be that build is not >> deterministic (and we should disable some optimization)? > > As a test, I replaced march=3Dnative with march=3Dx86-64. > > [...] > > Or maybe the package could use #:substitutable #f, since b2sum is a very > quick build. This blog post [fn:1] on guix-hpc address the "Pre-built binaries vs. performance" dilemma. I guess the easiest way is to provide a variant (b2sum-avx or something like that) with avx enabled. Else, I'd just go with the unoptimized version as it happens for many other packages, but let's hear from others. Thanks, Nicol=C3=B2 [fn:1] https://hpc.guix.info/blog/2018/01/pre-built-binaries-vs-performance/