From patchwork Thu Jun 22 09:19:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Efraim Flashner X-Patchwork-Id: 51162 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 03F3A27BBEA; Thu, 22 Jun 2023 10:23:21 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 65F1D27BBE2 for ; Thu, 22 Jun 2023 10:23:20 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qCGWv-0006Rj-NT; Thu, 22 Jun 2023 05:23:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qCGWs-0006RL-UY for guix-patches@gnu.org; Thu, 22 Jun 2023 05:23:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qCGWs-0004N1-MC for guix-patches@gnu.org; Thu, 22 Jun 2023 05:23:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qCGWs-0001YV-EH for guix-patches@gnu.org; Thu, 22 Jun 2023 05:23:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64218] [PATCH 1/7] gnu: python-lit: Update to 16.0.6. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 22 Jun 2023 09:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64218 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64218@debbugs.gnu.org Cc: Efraim Flashner Received: via spool by 64218-submit@debbugs.gnu.org id=B64218.16874257785939 (code B ref 64218); Thu, 22 Jun 2023 09:23:02 +0000 Received: (at 64218) by debbugs.gnu.org; 22 Jun 2023 09:22:58 +0000 Received: from localhost ([127.0.0.1]:34811 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCGWo-0001Xd-BY for submit@debbugs.gnu.org; Thu, 22 Jun 2023 05:22:58 -0400 Received: from mail-lf1-f45.google.com ([209.85.167.45]:44259) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCGWm-0001XN-CY for 64218@debbugs.gnu.org; Thu, 22 Jun 2023 05:22:56 -0400 Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-4f867700f36so7249728e87.0 for <64218@debbugs.gnu.org>; Thu, 22 Jun 2023 02:22:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687425770; x=1690017770; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=Wi2yflweZDVqwPourjZwNVvEQth05ITbqYCLQsj6jCs=; b=mipfikyEhOL+D+sC884lcFDCJ59BDMzbuNCsnfKGGyzDKXSbHbRKavEZGKczQJWa3t NCJUTFSpk5vhexlRX8xrMl6yQyrSvp4hcGDizRpAwktfj5T+uZG15cPR9TLqfVpEo6fA czyINWuiM1IKpS45nYtM4uIA9cm7Yaz/T2yM85BTF5qPRb6+G4wSPK04JAQbVkVG7EiP I4ie8K8CzjJLmUrO5cS6x+3g+VCsQwFNFlraSRRHj0rzUM/TNClRUSdWVPuOdo2h635+ eqgJiPuuF1I3nEsUZFp3oFf/I5jhAajHzmz80o5WdpLAHRORiBtXdsuOCd//CwtHVqwb +z+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687425770; x=1690017770; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=Wi2yflweZDVqwPourjZwNVvEQth05ITbqYCLQsj6jCs=; b=PqohCcMC51MXzLKpEi3EW+jiq1uk8JXfDxfITUAVvi9kvhRHdMpuaxWxlzk4WHDtDw 8EXYJplHyXb6KS22T2krYSWryy2N50cwRUDHcdYtbRnQhM4AeeBEbKZU3Jcr5yRnxG6g WZNSmSnUMAJUsr7gexKaQvXsVYTOLG4iA7Ki2zQJLy2Z17X1Xro+QF4YTyCVxapXt4fC eew06W11dSvHqE/rA/UZnCBd5DlcSLTavSznPHKojQaxa6Dc98YBdT0O8lDFEYrAzANK jVzsAkYKUqVcfTyHndbh8d+zxitH6eLpEFqp6PTT5EpPx+uAR9WSSavAHwA8qDQE7x17 as9A== X-Gm-Message-State: AC+VfDy0sAnlM6Ifcla6XrqowFBwoK65ba7y78937I79WIawLpQcvvtS YdfXaE/aM+BsTCnrJbpb+iR9JocihyFPMQ== X-Google-Smtp-Source: ACHHUZ7yrrDrftKU+nZhKftgli9vkGWFyba757Z9cCdxip/OO5tO3JHJl/CzCxnp3sS2JLzbEI3gJA== X-Received: by 2002:a05:6512:614:b0:4f8:7489:f1e5 with SMTP id b20-20020a056512061400b004f87489f1e5mr1229819lfe.38.1687425769994; Thu, 22 Jun 2023 02:22:49 -0700 (PDT) Received: from localhost ([188.120.129.124]) by smtp.gmail.com with ESMTPSA id u25-20020a7bcb19000000b003f858ae8f9dsm18333322wmj.31.2023.06.22.02.22.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Jun 2023 02:22:49 -0700 (PDT) From: Efraim Flashner Date: Thu, 22 Jun 2023 12:19:08 +0300 Message-Id: <0a576fdc39b0ebb5acccb8f7c2d3b749a27403b0.1687425321.git.efraim@flashner.co.il> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/check.scm (python-lit): Update to 16.0.6. --- gnu/packages/check.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 87728fefa3..82b4741212 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -2332,14 +2332,14 @@ (define-public python-hypothesmith (define-public python-lit (package (name "python-lit") - (version "16.0.0") + (version "16.0.6") (source (origin (method url-fetch) (uri (pypi-uri "lit" version)) (sha256 (base32 - "04dyv8b2nbdbn61zdgm042a21dwidyapn9zbinlf879a29rc6jiw")))) + "16kswyw71vlg3l0gf2x4mm3386vjdczfdx1psrilgcdn4ff3qql4")))) (build-system python-build-system) (arguments `(#:phases From patchwork Thu Jun 22 09:19:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Efraim Flashner X-Patchwork-Id: 51163 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 3265727BBEA; Thu, 22 Jun 2023 10:23:35 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id BD99227BBE2 for ; Thu, 22 Jun 2023 10:23:34 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qCGWw-0006Ry-59; Thu, 22 Jun 2023 05:23:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qCGWt-0006RN-Ep for guix-patches@gnu.org; Thu, 22 Jun 2023 05:23:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qCGWt-0004N8-0s for guix-patches@gnu.org; Thu, 22 Jun 2023 05:23:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qCGWs-0001Yh-TQ for guix-patches@gnu.org; Thu, 22 Jun 2023 05:23:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64218] [PATCH 2/7] gnu: clang-runtime-15: Don't delete static libraries. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 22 Jun 2023 09:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64218 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64218@debbugs.gnu.org Cc: Efraim Flashner Received: via spool by 64218-submit@debbugs.gnu.org id=B64218.16874257815954 (code B ref 64218); Thu, 22 Jun 2023 09:23:02 +0000 Received: (at 64218) by debbugs.gnu.org; 22 Jun 2023 09:23:01 +0000 Received: from localhost ([127.0.0.1]:34814 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCGWq-0001Xy-QG for submit@debbugs.gnu.org; Thu, 22 Jun 2023 05:23:01 -0400 Received: from mail-lf1-f44.google.com ([209.85.167.44]:44425) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCGWn-0001XP-SY for 64218@debbugs.gnu.org; Thu, 22 Jun 2023 05:22:58 -0400 Received: by mail-lf1-f44.google.com with SMTP id 2adb3069b0e04-4f8792d2e86so4734309e87.1 for <64218@debbugs.gnu.org>; Thu, 22 Jun 2023 02:22:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687425772; x=1690017772; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=O9B6MlacbOzXQJomzEQ2tEM91QIJNPqgO/kUspaN2z0=; b=p2S0EtrkU3TvyNWDBljq9OPUJtQMy7Ac7G491687miMv+70bkbjpnCcYnsFl5UrzLZ Dk1WP5tPTmCyNh6n1jf3tLkNBTRhyZ/OHiwzxKc56wgfouAMJEEZoIA7JAGSZ5Bd2NPT fA8F8ElLcnwDjkFmp73DEJBR2em/5L5047jGdy5ACxBx9wvyjAKYBYJJme8Hk6/ggeJi 2LCjAgNrJpOWCm7IDU+bhWI7AjbyKJIhZAOMSKaXX/r184bodfc2f9y5doclVtxghyuK 9ZY62y7a7DEaIXtDzAKrLntVSDdzAQNfwHTuM204Rbx6TdjkSwrKTW8NzywydEmTFBhC Mm4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687425772; x=1690017772; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=O9B6MlacbOzXQJomzEQ2tEM91QIJNPqgO/kUspaN2z0=; b=BNbJiHWDh5np0vBTE487bkFozEsDP/lpwdeYwCdip2O0V3JobGMIiIvUBz4ywoZZIy EUPctYy5An2f615voiizBxtre1oI23XOqgcAYG0sVJCVKur7Uqhh8BToxClNATVP5TbQ nIUHB0TSWsASgSvA71EyE6rkJF0SVd5lxXyFs2PXHVue9nDtChOH5seO+HUCq5CQdyXi u2Kq5zhUEVn3JdZf3leNIfQKcHLg9asQoWdwnLdPoWrkeFhwdO9YMqKC8YN2LogN0vXh EThdCF+6+97GDYFUuPezArtwqfKxAKgwuHnIbeT6mQGEs1IAHVLmrncr7Qs6rnA+MCqV q4gw== X-Gm-Message-State: AC+VfDxpld0eVwOtWv1beSl7UF14eYHWFq9pDibaZpF8bGQjkJYlGeS+ MdVecYQxotNlYZ0vp6t51Zfi1jwlylggvQ== X-Google-Smtp-Source: ACHHUZ4UqlVuuSzc0ZvBB3BcolnHc4VqaBZteo9E+xT05S3nQ5zday+evrqfJB9FZkfKi7kXjY8bQw== X-Received: by 2002:ac2:4e8a:0:b0:4f3:b61a:a94b with SMTP id o10-20020ac24e8a000000b004f3b61aa94bmr10805034lfr.53.1687425771948; Thu, 22 Jun 2023 02:22:51 -0700 (PDT) Received: from localhost ([188.120.129.124]) by smtp.gmail.com with ESMTPSA id o10-20020a1c750a000000b003f604793989sm4757230wmc.18.2023.06.22.02.22.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Jun 2023 02:22:51 -0700 (PDT) From: Efraim Flashner Date: Thu, 22 Jun 2023 12:19:09 +0300 Message-Id: X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches These are needed for some test suites. * gnu/packages/llvm.scm (clang-runtime-15)[arguments]: Remove custom 'delete-static-libraries phase. --- gnu/packages/llvm.scm | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm index f59c8e9592..9764552a62 100644 --- a/gnu/packages/llvm.scm +++ b/gnu/packages/llvm.scm @@ -699,12 +699,7 @@ (define-public clang-runtime-15 #~(modify-phases #$phases (add-after 'unpack 'change-directory (lambda _ - (chdir "compiler-rt"))) - (add-after 'install 'delete-static-libraries - ;; Reduce size from 33 MiB to 7.4 MiB. - (lambda _ - (for-each delete-file - (find-files #$output "\\.a(\\.syms)?$")))))))) + (chdir "compiler-rt"))))))) (native-inputs (modify-inputs (package-native-inputs template) (prepend gcc-12))) ;libfuzzer fails to build with GCC 11 From patchwork Thu Jun 22 09:19:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Efraim Flashner X-Patchwork-Id: 51164 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C1B4A27BBE9; Thu, 22 Jun 2023 10:24:25 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D0A6D27BBE2 for ; Thu, 22 Jun 2023 10:24:21 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qCGXu-0006fs-6I; Thu, 22 Jun 2023 05:24:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qCGXq-0006ec-19 for guix-patches@gnu.org; Thu, 22 Jun 2023 05:24:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qCGXp-0004dI-P4 for guix-patches@gnu.org; Thu, 22 Jun 2023 05:24:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qCGXp-0001b8-LR for guix-patches@gnu.org; Thu, 22 Jun 2023 05:24:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64218] [PATCH 3/7] gnu: clang-15: Fix building on i686-linux. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 22 Jun 2023 09:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64218 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64218@debbugs.gnu.org Cc: Efraim Flashner Received: via spool by 64218-submit@debbugs.gnu.org id=B64218.16874257856035 (code B ref 64218); Thu, 22 Jun 2023 09:24:01 +0000 Received: (at 64218) by debbugs.gnu.org; 22 Jun 2023 09:23:05 +0000 Received: from localhost ([127.0.0.1]:34820 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCGWv-0001ZG-3D for submit@debbugs.gnu.org; Thu, 22 Jun 2023 05:23:05 -0400 Received: from mail-wr1-f49.google.com ([209.85.221.49]:42051) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCGWq-0001XS-12 for 64218@debbugs.gnu.org; Thu, 22 Jun 2023 05:23:00 -0400 Received: by mail-wr1-f49.google.com with SMTP id ffacd0b85a97d-31297125334so420638f8f.0 for <64218@debbugs.gnu.org>; Thu, 22 Jun 2023 02:22:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687425774; x=1690017774; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=MD1NWSr2rRE51hwb/JV6PHn09+XgdEh1pnpJZVC081Q=; b=lzwXeE56eEEoI/qlDbD1Di+FZ47JbnssvEdSztN6IUyEev/o3LqyFOXuJziz5mVrAw cmuZwVqe4FR5YXKDFBdtMXyEQEVv9D8vknLjJFvQNOA4hL4bB4SjIucsELvMvO1ptC2b OrJf5hTs1mxvBA13SBBqyCVegpuPLyLS0x6sVinS6IZg1ijSlAb1E7kcMtLF05tH5eER IQmpQvIC0On0doAEMHeDRPUXiDVYGrLFJIzFgbTzSMbOIDkxrMNTyEAaNXy6Jz+w2dHk hYX/w3JajPpa2fYdm+HG3VhtZMzU6ofy5J5DOwvLpvcN/bgs7MsF9OgqqndJ+oKQd0Kk JyTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687425774; x=1690017774; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=MD1NWSr2rRE51hwb/JV6PHn09+XgdEh1pnpJZVC081Q=; b=fZbeOoYtJGNuUA/6qV8W73pNIWvXX9tyIFYTDUX62+/0Va9KCqmwAQdjCPL6gwvvCk OVx0/h0Hr/MSYeuoTKr34iPg++YNXIc4PBnQ72Dx4cNQcPx3ScOpYehvVp0xVywXqXg1 HQZgP6YRoh4AuJU5ob6r01OKkTqFneQPGhtSdivTWi2Zl9/cfuWG+bf2hlwtPfAQkuI1 4SYZ0cBv6dgqC+TURjZJqC37kqhApE+bCqU1IVgUJO3vUGEw40sMjxwkuoQMJax17614 280YAk7ynOMWSClpSRTKNKWjjZtqV8NJaoCQDX2VrzLN2lQSHPcaSjiRXtlkYt3YAyWc kUNw== X-Gm-Message-State: AC+VfDyWuN5PGben2hWoHoFYiHPVXpmpobsj0EQLUs40B2LfSLqWrnzx BQO5zuI0w71CZgQqunqNa/KhCS0JKOUWew== X-Google-Smtp-Source: ACHHUZ68t1tUNLHWb/zRtA/TvOAq16SMd2fHbinioGmN798t/89Kah8V3FDeXkFyWa5TkG2I2zrVTQ== X-Received: by 2002:a05:6000:12c8:b0:311:2888:9f95 with SMTP id l8-20020a05600012c800b0031128889f95mr15016174wrx.23.1687425773875; Thu, 22 Jun 2023 02:22:53 -0700 (PDT) Received: from localhost ([188.120.129.124]) by smtp.gmail.com with ESMTPSA id x5-20020adff645000000b0031276f8be22sm6542612wrp.97.2023.06.22.02.22.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Jun 2023 02:22:53 -0700 (PDT) From: Efraim Flashner Date: Thu, 22 Jun 2023 12:19:10 +0300 Message-Id: <22c1259428c04d43007a291a7bca36f7e1c6ccec.1687425321.git.efraim@flashner.co.il> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/llvm.scm (clang-from-llvm)[arguments]: When building at least version 15 for i686-linux skip the 'make-dynamic-linker-cache phase. --- gnu/packages/llvm.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm index 9764552a62..d36a95879a 100644 --- a/gnu/packages/llvm.scm +++ b/gnu/packages/llvm.scm @@ -408,7 +408,11 @@ (define* (clang-from-llvm llvm clang-runtime (mkdir-p compl-dir) (rename-file "bash-autocomplete.sh" (string-append compl-dir "/clang"))))) - #t))))) + #t)) + ;; GC Warning: Out of Memory! Heap size: 3636 MiB. Returning NULL! + ,@(if (and (version>? version "15") (target-x86-32?)) + `((delete 'make-dynamic-linker-cache)) + '())))) ;; Clang supports the same environment variables as GCC. (native-search-paths From patchwork Thu Jun 22 09:19:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Efraim Flashner X-Patchwork-Id: 51166 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id A841227BBE2; Thu, 22 Jun 2023 10:24:28 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id E0F4327BBEC for ; Thu, 22 Jun 2023 10:24:23 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qCGXu-0006fw-7f; Thu, 22 Jun 2023 05:24:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qCGXq-0006ed-GG for guix-patches@gnu.org; Thu, 22 Jun 2023 05:24:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qCGXq-0004dV-8K for guix-patches@gnu.org; Thu, 22 Jun 2023 05:24:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qCGXq-0001bG-4P for guix-patches@gnu.org; Thu, 22 Jun 2023 05:24:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64218] [PATCH 4/7] gnu: lld-15: Adjust max text section size on riscv64-linux. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 22 Jun 2023 09:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64218 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64218@debbugs.gnu.org Cc: Efraim Flashner Received: via spool by 64218-submit@debbugs.gnu.org id=B64218.16874257866048 (code B ref 64218); Thu, 22 Jun 2023 09:24:02 +0000 Received: (at 64218) by debbugs.gnu.org; 22 Jun 2023 09:23:06 +0000 Received: from localhost ([127.0.0.1]:34823 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCGWv-0001ZN-GP for submit@debbugs.gnu.org; Thu, 22 Jun 2023 05:23:06 -0400 Received: from mail-lf1-f45.google.com ([209.85.167.45]:55360) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCGWr-0001XV-Kg for 64218@debbugs.gnu.org; Thu, 22 Jun 2023 05:23:02 -0400 Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-4f8735ac3e3so6179277e87.2 for <64218@debbugs.gnu.org>; Thu, 22 Jun 2023 02:23:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687425776; x=1690017776; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=zIXCbuY526kVBl2LvfwraMn+Oe5qQ4db9fM1g0Rpmks=; b=YLXQOxlIZyRxwKPFGgHRRJSjpvw21j3GOaFjayTkeCi//zH/kJ/1n4WdFNS4W1IX8r xLoaHW1k8GVQ7q9SFINd8GeBO3P2zlMKoslwDMPNz6c+rj4YKwXIquSbY/JMsVVHVfxT Wglcg4v8foxFa7ibyEDmPcrQ/QSAtQVn9wSPpeIVQ14CRRuUntU2+DTzrnajQ7tC0FIw UfNolGMtPYRnTB59YcoY2ug2Mo5h/ep4Jh7mW7TfK52qSPDc3w2t3wJWan1MTadgSuRC zYF5VYuD8iTtEVpqwMK6G5jK/5+zqfTPGdQ/YFmu9J3tiL6OWUIHly7pRgUy40OUdJFF DzTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687425776; x=1690017776; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=zIXCbuY526kVBl2LvfwraMn+Oe5qQ4db9fM1g0Rpmks=; b=HNuf2re2NLhbsh8G7lLmyXGtiCuaXtPDQy+Kq9Fx9a7xyhp+LXWU2e4Ce9SPRgXGlJ lOmRBuXlSNE8BZ92ZUJgLMch2MlWwm4Ybh/dg5XHQEZdboW86fsEfPFWgJmHXdikAJGQ yNOW6BaI7SValMU0mb0JHioIlVFD4EVGnK2haAgzDnRCBXDSImQX8j9ypeMbxj8e4PKy HShWkrhZvPCfzFszVitMMOjNSejW0laNi2ksULrjJJtkidHxSLJ6PWwuehbLSipaioeM EpUWUQXkLBqdyocCDx4BGF7hU0rAHX55F/uPkzBnDi4KDPAQ0AQrnlpz9vBLemPSYQA7 OFaA== X-Gm-Message-State: AC+VfDxIFl0SNB3g5UzPe5pxPKWaJDie58UFvWd7bEfIgvq6r3uWYU8y 4HBGTCLwHWSfIv475UnblKNHF4/m0lKIGQ== X-Google-Smtp-Source: ACHHUZ6GWzqZXppFXq7zD2BNL8JKRHWzRA+WyO+YimVGZ+xS1a54ije4M4ZuEcupMup1BbHyzAf11A== X-Received: by 2002:a19:ca58:0:b0:4f8:b349:6938 with SMTP id h24-20020a19ca58000000b004f8b3496938mr4733351lfj.65.1687425775768; Thu, 22 Jun 2023 02:22:55 -0700 (PDT) Received: from localhost ([188.120.129.124]) by smtp.gmail.com with ESMTPSA id t13-20020adff60d000000b003119633ecb5sm6504700wrp.88.2023.06.22.02.22.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Jun 2023 02:22:55 -0700 (PDT) From: Efraim Flashner Date: Thu, 22 Jun 2023 12:19:11 +0300 Message-Id: X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/llvm.scm (ldd-15)[arguments]: When building for riscv64-linux add a phase to mirror an upstream patch to allow for larger text section sizes in linked libraries. --- gnu/packages/llvm.scm | 32 +++++++++++++++++++++++++++----- 1 file changed, 27 insertions(+), 5 deletions(-) diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm index d36a95879a..a15dffed93 100644 --- a/gnu/packages/llvm.scm +++ b/gnu/packages/llvm.scm @@ -1525,14 +1525,29 @@ (define-public lld-15 (inputs (list llvm-15)) (arguments - '(#:build-type "Release" + `(#:build-type "Release" ;; TODO: Tests require the lit tool, which isn't installed by the LLVM ;; package. #:tests? #f - #:phases (modify-phases %standard-phases - (add-after 'unpack 'change-directory - (lambda _ - (chdir "lld")))))) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'change-directory + (lambda _ + (chdir "lld"))) + ,@(if (target-riscv64?) + '((add-after 'change-directory 'patch-riscv-text-section-size + (lambda _ + ;; https://github.com/llvm/llvm-project/issues/63374 + ;; https://github.com/llvm/llvm-project/commit/9d37ea95df1b84cca9b5e954d8964c976a5e303e + (substitute* "ELF/Arch/RISCV.cpp" + (("uint32_t delta = 0") "uint64_t delta = 0") + (("isUInt<16>\\(delta\\)") "isUInt<32>(delta)") + (("is too large\"") "is too large \" + Twine(delta)")) + (substitute* "ELF/InputSection.h" + (("uint16_t bytesDropped = 0") + "uint32_t bytesDropped = 0") + (("160") "168"))))) + '())))) (home-page "https://lld.llvm.org/") (synopsis "Linker from the LLVM project") (description "LLD is a high-performance linker, built as a set of reusable @@ -1544,6 +1559,13 @@ (define-public lld-14 (inherit lld-15) (version "14.0.6") (source (llvm-monorepo version)) + (arguments + (substitute-keyword-arguments (package-arguments lld-15) + ((#:phases phases) + (if (target-riscv64?) + `(modify-phases ,phases + (delete 'patch-riscv-text-section-size)) + phases)))) (inputs (list llvm-14)))) From patchwork Thu Jun 22 09:19:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Efraim Flashner X-Patchwork-Id: 51167 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 40F7527BBE2; Thu, 22 Jun 2023 10:24:29 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id AAAB027BBEE for ; Thu, 22 Jun 2023 10:24:24 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qCGXt-0006fm-UW; Thu, 22 Jun 2023 05:24:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qCGXq-0006eh-W3 for guix-patches@gnu.org; Thu, 22 Jun 2023 05:24:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qCGXq-0004dk-Ne for guix-patches@gnu.org; Thu, 22 Jun 2023 05:24:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qCGXq-0001bN-K4 for guix-patches@gnu.org; Thu, 22 Jun 2023 05:24:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64218] [PATCH 5/7] gnu: ldc: Build with llvm-15. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 22 Jun 2023 09:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64218 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64218@debbugs.gnu.org Cc: Efraim Flashner Received: via spool by 64218-submit@debbugs.gnu.org id=B64218.16874257926067 (code B ref 64218); Thu, 22 Jun 2023 09:24:02 +0000 Received: (at 64218) by debbugs.gnu.org; 22 Jun 2023 09:23:12 +0000 Received: from localhost ([127.0.0.1]:34826 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCGX1-0001Zl-5q for submit@debbugs.gnu.org; Thu, 22 Jun 2023 05:23:11 -0400 Received: from mail-wr1-f47.google.com ([209.85.221.47]:61910) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCGWt-0001Xc-Db for 64218@debbugs.gnu.org; Thu, 22 Jun 2023 05:23:04 -0400 Received: by mail-wr1-f47.google.com with SMTP id ffacd0b85a97d-31122c346f4so7907228f8f.3 for <64218@debbugs.gnu.org>; Thu, 22 Jun 2023 02:23:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687425778; x=1690017778; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=qGElGpoctSoyXKkyzTP6odLm66alMx9VXww6T4S6tbA=; b=qoEX+/6mKO+bi7FtNDhPZ4d6om3BPeZRFBBg9rwEN24b6sIZVUULkiA0D/FxspjA20 RNKYQGEYkBRWHn4Ot1RPPOjk6dpSziYAF0hCpcnb1sdkh37DRD0KYN4jAANxjJCQwCX7 uhVYMTriHEL+RhAUJYAy64nN5N8D8zKU6CivH+f/c3/UGQicWvSC3wgZIzFa58zPjqJM +I9Y10xQ8twuh0SThi9GX9eKM0/uvMfRqmIHFRQ8MytcTAiw7eM8OXqFFAahXogev7Ey 8AGUehAwqXHmycHA9CfC3E9NH1C5MUaUiZ7gmD5pbwDdXnd6NDRhHBw4DvGx0wZVQKOZ et+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687425778; x=1690017778; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=qGElGpoctSoyXKkyzTP6odLm66alMx9VXww6T4S6tbA=; b=cDDVaWJen8idwgyJR1sjF4AkXKyPC/uyJIhFXg6DXt22/Pt7dobHh1xgI3CjtVqfci e6ly0pFBHU1JCrMm6p6phwTsStiTIseD2XjBeQsHnV4A0e8tQUix3RxwCTBMA5KFnHTr uyDkGqwRwM3B/5MWMfiMSRHclVVlXzvop7liQmK2FqfUIarPsXNF1EbwatoSK9JymQJg TkmERQYbo6PtTy/rKR7ig8JlnY7yeZL0Fd+9K5Q6woT9wPW0pPjlQnmK31sy6XxACqzG a3CkGpCPm7MteTYJmJd9p4sO9AWwIlH/ZumcaWkhc2lZmifzJJIu+XS4TAkRpiuDIKz6 PvDQ== X-Gm-Message-State: AC+VfDyMEJW85w7BSE6Cyx/tpUxGOEx0mPlU+ShAU88d2JZStojiwHlz 6LmtqE730rj4jDphsa4i0q4eU8YhLrdqqA== X-Google-Smtp-Source: ACHHUZ4AbkAIcZCANDugR9XFSqvI0ZNORzzsSOe6ZXMmYTeMGvRzcPPFb4Ik7i3MohuIlOEOzgBbVg== X-Received: by 2002:adf:cd91:0:b0:312:74a9:825a with SMTP id q17-20020adfcd91000000b0031274a9825amr10104775wrj.62.1687425777599; Thu, 22 Jun 2023 02:22:57 -0700 (PDT) Received: from localhost ([188.120.129.124]) by smtp.gmail.com with ESMTPSA id d2-20020adfe842000000b0031274a184d5sm6568793wrn.109.2023.06.22.02.22.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Jun 2023 02:22:57 -0700 (PDT) From: Efraim Flashner Date: Thu, 22 Jun 2023 12:19:12 +0300 Message-Id: X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/check.scm (python-lit)[native-inputs]: Replace llvm-14 with llvm-15. * gnu/packages/dlang.scm (ldc-bootstrap)[arguments]: Adjust configure-flags to make use of llvm shared libraries. [native-inputs]: Replace lld-wrapper-14 with lld-wrapper-15, llvm-14 with llvm-15. (ldc)[arguments]: Inherit configure-flags from ldc-bootstrap. Update skipped tests. [native-inputs]: Replace clang-14 with clang-15. --- gnu/packages/check.scm | 2 +- gnu/packages/dlang.scm | 64 +++++++++++++++++++++++++++++++++--------- 2 files changed, 52 insertions(+), 14 deletions(-) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 82b4741212..4c1ba085c4 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -2349,7 +2349,7 @@ (define-public python-lit (when tests? (invoke "python" "lit.py" "tests"))))))) (native-inputs - (list llvm-14)) + (list llvm-15)) (home-page "https://llvm.org/") (synopsis "LLVM Software Testing Tool") (description "@code{lit} is a portable tool for executing LLVM and Clang diff --git a/gnu/packages/dlang.scm b/gnu/packages/dlang.scm index 2b5b1235e4..3103e629d9 100644 --- a/gnu/packages/dlang.scm +++ b/gnu/packages/dlang.scm @@ -163,7 +163,9 @@ (define ldc-bootstrap #:tests? #f ;skip in the bootstrap #:build-type "Release" #:configure-flags - (list "-GNinja") + (list "-GNinja" + "-DLLVM_IS_SHARED=ON" + "-DBUILD_SHARED_LIBS=ON") #:make-flags ;used as build targets (list "all") #:phases @@ -190,8 +192,8 @@ (define ldc-bootstrap ("libedit" ,libedit) ("zlib" ,zlib))) (native-inputs - `(("lld-wrapper" ,(make-lld-wrapper lld-14 #:lld-as-ld? #t)) - ("llvm" ,llvm-14) + `(("lld-wrapper" ,(make-lld-wrapper lld-15 #:lld-as-ld? #t)) + ("llvm" ,llvm-15) ("ldc" ,gdmd) ("ninja" ,ninja) ("python-wrapper" ,python-wrapper) @@ -224,10 +226,6 @@ (define-public ldc '(list "all" ;; Also build the test runner binaries. "ldc2-unittest" "all-test-runners")) - ((#:configure-flags flags) - `(,@flags "-DBUILD_SHARED_LIBS=ON" - "-DLDC_LINK_MANUALLY=OFF" - "-DLDC_DYNAMIC_COMPILE=OFF")) ((#:phases phases) `(modify-phases ,phases (add-after 'unpack 'fix-compiler-rt-library-discovery @@ -314,13 +312,39 @@ (define-public ldc "instrument/xray_check_pipeline.d" "instrument/xray_link.d" "instrument/xray_simple_execution.d" + "sanitizers/fuzz_asan.d" + "sanitizers/fuzz_basic.d" + "sanitizers/fuzz_mixin.d" + "sanitizers/link_fuzzer.d" "sanitizers/msan_noerror.d" "sanitizers/msan_uninitialized.d" "dmd/runnable_cxx/cppa.d"))) (,(target-aarch64?) (for-each delete-file - '("dmd/runnable/ldc_cabi1.d" + '("PGO/allstatementtypes.d" + "PGO/branching_switch.d" + "PGO/break.d" + "PGO/exceptions.d" + "PGO/final_switch_release.d" + "PGO/functions.d" + "PGO/hash.d" + "PGO/hash_smallchange.d" + "PGO/irbased_indirect_calls.d" + "PGO/max_function_count.d" + "PGO/profile_rt_calls.d" + "PGO/reset_counters.d" + "PGO/singleobj.d" + "PGO/summary.d" + "PGO/unrolledloopstatement_gh3375.d" + "instrument/xray_link.d" + "instrument/xray_simple_execution.d" + "sanitizers/asan_dynalloc.d" + "sanitizers/asan_interface.d" + "sanitizers/asan_noerror.d" + "sanitizers/asan_stackoverflow.d" + "sanitizers/fuzz_asan.d" "sanitizers/fuzz_basic.d" + "sanitizers/lsan_memleak.d" "sanitizers/msan_noerror.d" "sanitizers/msan_uninitialized.d"))) (#t '()))))) @@ -341,9 +365,11 @@ (define-public ldc ;; finer-grained diagnostics (see: ;; https://raw.githubusercontent.com/ldc-developers/ ;; ldc/master/.azure-pipelines/3-posix-test.yml) - (display "running the ldc2 unit tests...\n") - (invoke "ctest" "--output-on-failure" "-j" job-count - "-R" "ldc2-unittest") + ;; This test segfaults on i686-linux. + (unless ,(target-x86-32?) + (display "running the ldc2 unit tests...\n") + (invoke "ctest" "--output-on-failure" "-j" job-count + "-R" "ldc2-unittest")) (display "running the lit test suite...\n") (invoke "ctest" "--output-on-failure" "-j" job-count "-R" "lit-tests") @@ -354,12 +380,24 @@ (define-public ldc (display "running the defaultlib unit tests and druntime \ integration tests...\n") (invoke "ctest" "--output-on-failure" "-j" job-count - "-E" "dmd-testsuite|lit-tests|ldc2-unittest"))))))))) + "-E" (string-join + (append + (list "dmd-testsuite" + "lit-tests" + "ldc2-unittest") + ;; from .cirrus.yaml + (if ,(target-aarch64?) + '("^core.thread.fiber(-shared)?$" + "^std.internal.math.gammafunction" + "^std.math.exponential(-shared)?$" + "^druntime-test-exceptions-debug$") + `())) + "|")))))))))) (native-inputs (append (delete "llvm" (alist-replace "ldc" (list ldc-bootstrap) (package-native-inputs ldc-bootstrap))) - `(("clang" ,clang-14) ;propagates llvm and clang-runtime + `(("clang" ,clang-15) ;propagates llvm and clang-runtime ("python-lit" ,python-lit)))))) (define-public dub From patchwork Thu Jun 22 09:19:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Efraim Flashner X-Patchwork-Id: 51165 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E21DA27BBE2; Thu, 22 Jun 2023 10:24:26 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id A442A27BBEA for ; Thu, 22 Jun 2023 10:24:23 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qCGXu-0006fq-5b; Thu, 22 Jun 2023 05:24:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qCGXr-0006ei-Gc for guix-patches@gnu.org; Thu, 22 Jun 2023 05:24:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qCGXr-0004dw-7R for guix-patches@gnu.org; Thu, 22 Jun 2023 05:24:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qCGXr-0001bU-2z for guix-patches@gnu.org; Thu, 22 Jun 2023 05:24:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64218] [PATCH 6/7] gnu: ldc: Enable building on more architectures. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 22 Jun 2023 09:24:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64218 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64218@debbugs.gnu.org Cc: Efraim Flashner Received: via spool by 64218-submit@debbugs.gnu.org id=B64218.16874257926074 (code B ref 64218); Thu, 22 Jun 2023 09:24:03 +0000 Received: (at 64218) by debbugs.gnu.org; 22 Jun 2023 09:23:12 +0000 Received: from localhost ([127.0.0.1]:34828 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCGX2-0001Zo-0i for submit@debbugs.gnu.org; Thu, 22 Jun 2023 05:23:12 -0400 Received: from mail-wr1-f51.google.com ([209.85.221.51]:56729) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCGWv-0001Xr-B0 for 64218@debbugs.gnu.org; Thu, 22 Jun 2023 05:23:05 -0400 Received: by mail-wr1-f51.google.com with SMTP id ffacd0b85a97d-3111547c8f9so7994217f8f.1 for <64218@debbugs.gnu.org>; Thu, 22 Jun 2023 02:23:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687425779; x=1690017779; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=B9SASp6pW0o7KFoCtkvmkQp964FzHuabM+0O33Kmk/4=; b=aok4vHIa5rOzEZAaeAC9qFlWiC3qgCiW2afGKt2R7tEZwwOryoCgM9kU23qqdg5WD6 rxbey02w1bgd1U7Z491ihRjxFUcJMZcBXIABVket5whnsYADPYi/ZPvPzK5gJoDt6RZ+ kQ2HF80JyL1lHAZHFzp6Ir2ORD/R0MdCSJ9ka+M8NlfFu9TAdWyygBHtvl2tY1qltwDT Qk9eKg0YYKEBXM5gD5gSYEHokALX7ZJb882XVbJfFSRACTJ2TFGcU0RPLTFMRbmDxspv saTv0LdStSm7GyGPwT2AlcUyURa1E7GcJCljXtna5ZsxLv+fVKGWo0nMRkU/JALOBiww MVOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687425779; x=1690017779; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=B9SASp6pW0o7KFoCtkvmkQp964FzHuabM+0O33Kmk/4=; b=jIskav80os9NEbf6cmsYshLxi6moNxLjMw29zGIcbZ6j7OMsbivy0vPA2N9GW/9tUj cbEtHTK1bpTeuP6cJdDxkp7u5NdlrEVCf96oQ8faB4pG9k0WuHXTT8aVs+dpRR3LZDuV pCI/4IuZDSVYayNeZSd2pr8dFTWdhvbmMR4rA4mntsroj2RG0bi7n9CedVUPSde9gAnt ofFxuPOl7yj5QayxOJZeqORRkSDhH8XvNNyV7c/qLE/QrQQOrfDa9TivSzG03jDZwCOY GddXBe6yoRtYB+NBI/Vyv1GXgBAEeUYaJ369u1CIe49n4gnQYAT3VAgfug/Q2uYRdU+L 81LQ== X-Gm-Message-State: AC+VfDxAuL+f35vV3ahFCKF4Mwm5y+ZxqxhjhsbOq85sm+uJpq7kQaQj U5efDiUpLoR6II0faZxH1Vj4MN4wLY91YQ== X-Google-Smtp-Source: ACHHUZ5UsO2qY+eMl57VgUt6p7ZTXkcrECaoaCU4bdtLnsyVke8VkPBm4KP4Rd99wCfdHRWLLqsAwg== X-Received: by 2002:adf:ce92:0:b0:311:1b4b:7b8a with SMTP id r18-20020adfce92000000b003111b4b7b8amr14641491wrn.71.1687425779489; Thu, 22 Jun 2023 02:22:59 -0700 (PDT) Received: from localhost ([188.120.129.124]) by smtp.gmail.com with ESMTPSA id j10-20020a5d604a000000b0031272fced4dsm6541482wrt.52.2023.06.22.02.22.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Jun 2023 02:22:59 -0700 (PDT) From: Efraim Flashner Date: Thu, 22 Jun 2023 12:19:13 +0300 Message-Id: <67098e2f87ffdd1bceb29a811680a2ac4d30ed96.1687425321.git.efraim@flashner.co.il> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/dlang.scm (ldc)[arguments]: In the custom phase 'fix-compiler-rt-library-discovery rewrite gnu-triplet->clang-arch to pass-through unmatched architectures. --- gnu/packages/dlang.scm | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/gnu/packages/dlang.scm b/gnu/packages/dlang.scm index 3103e629d9..92600f759e 100644 --- a/gnu/packages/dlang.scm +++ b/gnu/packages/dlang.scm @@ -234,19 +234,12 @@ (define-public ldc (system ,(or (%current-target-system) (%current-system)))) (define (gnu-triplet->clang-arch system) - (letrec-syntax - ((matches (syntax-rules (=>) - ((_ (system-prefix => target) rest ...) - (if (string-prefix? system-prefix system) - target - (matches rest ...))) - ((_) - (error "Clang target for system is unknown" - system))))) - (matches ("x86_64" => "x86_64") - ("i686" => "i386") - ("armhf" => "armhf") - ("aarch64" => "aarch64")))) + (let ((system-prefix + (car (string-tokenize + system (char-set-complement (char-set #\-)))))) + (cond + ((equal? system-prefix "i686") "i386") + (#t system-prefix)))) ;; Coax LLVM into agreeing with Clang about system target ;; naming. (substitute* "driver/linker-gcc.cpp" From patchwork Thu Jun 22 09:19:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Efraim Flashner X-Patchwork-Id: 51168 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 106D327BBE2; Thu, 22 Jun 2023 10:24:41 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id ECE2D27BBE9 for ; Thu, 22 Jun 2023 10:24:39 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qCGXv-0006gr-DI; Thu, 22 Jun 2023 05:24:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qCGXt-0006fY-A4 for guix-patches@gnu.org; Thu, 22 Jun 2023 05:24:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qCGXr-0004e1-MU for guix-patches@gnu.org; Thu, 22 Jun 2023 05:24:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qCGXr-0001bd-Hv for guix-patches@gnu.org; Thu, 22 Jun 2023 05:24:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64218] [PATCH 7/7] gnu: sambamba: Fix building. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 22 Jun 2023 09:24:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64218 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64218@debbugs.gnu.org Cc: Efraim Flashner Received: via spool by 64218-submit@debbugs.gnu.org id=B64218.16874257926080 (code B ref 64218); Thu, 22 Jun 2023 09:24:03 +0000 Received: (at 64218) by debbugs.gnu.org; 22 Jun 2023 09:23:12 +0000 Received: from localhost ([127.0.0.1]:34830 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCGX2-0001Zv-Bd for submit@debbugs.gnu.org; Thu, 22 Jun 2023 05:23:12 -0400 Received: from mail-wr1-f46.google.com ([209.85.221.46]:46356) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCGWx-0001YR-7d for 64218@debbugs.gnu.org; Thu, 22 Jun 2023 05:23:07 -0400 Received: by mail-wr1-f46.google.com with SMTP id ffacd0b85a97d-3113306a595so5869188f8f.1 for <64218@debbugs.gnu.org>; Thu, 22 Jun 2023 02:23:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687425781; x=1690017781; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=Fsmz/MdL6PgES4KuX5+3jp38cZE8qViqFvDsx59TS94=; b=Li6vSKURmVNPRRA1ybRL4dpoUE9nnPJZH9SJb6DVaZN8BpaOa23oWV/2IoAtIQQJbu z+sWdFFdxITr0b+skApydyOhNXyCbQeHPRDWzezodMAwi+DkpYLll1ocCi9qrnROfFX5 4dLbYQSrDE3T3JynGawGUJJskGVi+0QCaz3tHMTMbdCxqHyGHFU4l+t/lfBwCp11IcJP 1kDZm7j2EdUjR3py3LfECVu6fXFkRKEMtUm727rijoY+bWAOgFjukoTGxMgNY/crN/Pa 5r/z+EDEjI8alF1S0RQMG8HXyNc571C1X5L0RLlL0fV1qNVFVyCybaZ30JPDqatKkQJz zr6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687425781; x=1690017781; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=Fsmz/MdL6PgES4KuX5+3jp38cZE8qViqFvDsx59TS94=; b=jVUqaYxwY5XcgEHmU+328H40lg8TPhwLYIN+HqhdjY0LkZR0Po5QxZtsgcdWNkbOlT dkzdTybAL17mQoH2h7inQcESHisEbauXMFjpoS4Om7m4y4cfj8MVxWUeZn+DixfRl7gE YvCIRly+N4uiTs+zvZDRgTuZsL5GMnvwcQUxG7b6MZr6T20kW1OO7Y2R/nWskT4Onl+e H1zTDq9xVXJyUHamTmdcHamgVAy+g8J/JJ2rojbvm7qde02y132CLL0qb5hcdtGDvNAi mNvk4W9BRcNxIwEs2+EooMcPoEIjQPufYbvBu2qxcyLNh0aWTI8F/Z6W2mYFJh9J106c C4Dg== X-Gm-Message-State: AC+VfDzYKahexCFw4tswlx7uPKW+SIEI4yHDxggM4znh2J3X0UI5vC6n 2+6z6Hrhr/N61lgDUAJcpMvSzBcREFgplQ== X-Google-Smtp-Source: ACHHUZ7U0v0FV0f++AJf2NKn2DNvsJHlsY7y7luNy1Mxz/C9GUPJTgbZWXuwTOTwnGqYpzHTxuNjpw== X-Received: by 2002:a5d:4387:0:b0:311:1108:96ac with SMTP id i7-20020a5d4387000000b00311110896acmr17386858wrq.52.1687425781316; Thu, 22 Jun 2023 02:23:01 -0700 (PDT) Received: from localhost ([188.120.129.124]) by smtp.gmail.com with ESMTPSA id e10-20020a5d65ca000000b002f28de9f73bsm6547004wrw.55.2023.06.22.02.23.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Jun 2023 02:23:00 -0700 (PDT) From: Efraim Flashner Date: Thu, 22 Jun 2023 12:19:14 +0300 Message-Id: <1ecebd6162fabea2e9fd0f2c849ecf079a008355.1687425321.git.efraim@flashner.co.il> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/bioinformatics.scm (sambamba)[native-inputs]: Remove ld-gold-wrapper, bintutils-gold. Remove input labels. --- gnu/packages/bioinformatics.scm | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 4edcc28d12..87e7c33b90 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -11732,13 +11732,7 @@ (define-public sambamba (copy-file (string-append "bin/sambamba-" ,version) (string-append bin "/sambamba")))))))) (native-inputs - `(("ld-gold-wrapper" - ;; Importing (gnu packages commencement) would introduce a cycle. - ,(module-ref (resolve-interface - '(gnu packages commencement)) - 'ld-gold-wrapper)) - ("binutils-gold" ,binutils-gold) - ("python" ,python))) + (list python)) (inputs (list ldc lz4 zlib)) (home-page "https://github.com/biod/sambamba")