From patchwork Mon Jun 14 04:16:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sarah Morgensen X-Patchwork-Id: 164 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 D678027BC78; Mon, 14 Jun 2021 10:56:10 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 403E827BC81 for ; Mon, 14 Jun 2021 10:56:10 +0100 (BST) Received: from localhost ([::1]:59904 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lsjKD-0003jN-6h for patchwork@mira.cbaines.net; Mon, 14 Jun 2021 05:56:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57852) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lsjK6-0003iw-Qk for guix-patches@gnu.org; Mon, 14 Jun 2021 05:56:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33538) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lsjK6-0001yE-Ja for guix-patches@gnu.org; Mon, 14 Jun 2021 05:56:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lsjK6-0004rw-K0 for guix-patches@gnu.org; Mon, 14 Jun 2021 05:56:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49019] [PATCH 0/1] gnu: Add gccgo-10. Resent-From: Sarah Morgensen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 14 Jun 2021 09:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49019 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49019@debbugs.gnu.org Cc: Sarah Morgensen X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162366451918652 (code B ref -1); Mon, 14 Jun 2021 09:56:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 Jun 2021 09:55:19 +0000 Received: from localhost ([127.0.0.1]:45076 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsjJO-0004qi-EY for submit@debbugs.gnu.org; Mon, 14 Jun 2021 05:55:19 -0400 Received: from lists.gnu.org ([209.51.188.17]:41202) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lse2A-0004t8-F7 for submit@debbugs.gnu.org; Mon, 14 Jun 2021 00:17:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41922) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lse2A-0006bU-8y for guix-patches@gnu.org; Mon, 14 Jun 2021 00:17:10 -0400 Received: from out2.migadu.com ([188.165.223.204]:44236) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lse27-0008Cc-6m for guix-patches@gnu.org; Mon, 14 Jun 2021 00:17:10 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mgsn.dev; s=key1; t=1623644224; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=xu0xQRkH7lh3LtMuLaf6Eyd6/vewMItG0Jc1Q3vZWVw=; b=DXbNCAJVZi9OgvRwOQFhCOepQzQ7uTYQBcnSFMjB+MtrS3vWSQZgmNmNjtiNqTBe2Hqyj9 /6eNxxDuyzVCagzNUsIQeJKpdu/OHqEXMdnqBdqlIVgcPa3VaZuc6ud3uYFbOydseyUqgG 0AbbenXW2dRzDWblTpkfe4YzDJJU2c4= Date: Sun, 13 Jun 2021 21:16:53 -0700 Message-Id: <20210614041653.3085-1-iskarian@mgsn.dev> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: iskarian@mgsn.dev Received-SPF: pass client-ip=188.165.223.204; envelope-from=iskarian@mgsn.dev; helo=out2.migadu.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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 14 Jun 2021 05:55:17 -0400 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" Reply-to: Sarah Morgensen X-ACL-Warn: , Sarah Morgensen via Guix-patches X-Patchwork-Original-From: Sarah Morgensen via Guix-patches via From: Sarah Morgensen X-getmail-retrieved-from-mailbox: Patches The primary goal for adding gccgo is to bootstrap the go compiler for arches that aren't supported by go 1.4. I believe the major one to support here is powerpc64le, but I am unsure of current arch usage. A secondary goal is to provide a gccgo-toolchain, as gccgo may provide advantages over gc in time. I have successfully built gccgo 9, 10 and 11 for x86-64. I additionally tested gcc 10 using `make check-go`. There are two minor test failures: 1. index0-out.go, previously reported upstream [0] 2. pprof (TestConvertCPUProfile/TestConvertMemProfile) (I have not yet been able to deterine whether the pprof failures are an upstream bug or a Guix bug. Should I send details to bug-guix?) Finally, the regex update in [1] is implemented in CUSTOM-GCC-GCCGO rather than CUSTOM-GCC to avoid rebuilding 2k+ gfortran packages, and CUSTOM-GCC-GCCGO should be removed after the change is in master. [0] https://issues.guix.gnu.org/49010 [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87589 Sarah Morgensen (1): gnu: Add gccgo-10. gnu/packages/gcc.scm | 77 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+)