From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2C66ObGT0GBjCgEAgWs5BA (envelope-from ) for ; Mon, 21 Jun 2021 15:27:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id ABV0NbGT0GB8cQAA1q6Kng (envelope-from ) for ; Mon, 21 Jun 2021 13:27:13 +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 282E8247DF for ; Mon, 21 Jun 2021 15:27:13 +0200 (CEST) Received: from localhost ([::1]:37870 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lvJxH-0001Qf-M9 for larch@yhetil.org; Mon, 21 Jun 2021 09:27:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49432) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lvJx9-0001PX-0K for guix-patches@gnu.org; Mon, 21 Jun 2021 09:27:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52525) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lvJx8-0006io-Mw for guix-patches@gnu.org; Mon, 21 Jun 2021 09:27:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lvJx8-00041a-5K for guix-patches@gnu.org; Mon, 21 Jun 2021 09:27:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49019] [PATCH 0/1] gnu: Add gccgo-10. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 21 Jun 2021 13:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49019 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Sarah Morgensen Cc: 49019@debbugs.gnu.org Received: via spool by 49019-submit@debbugs.gnu.org id=B49019.162428196215392 (code B ref 49019); Mon, 21 Jun 2021 13:27:02 +0000 Received: (at 49019) by debbugs.gnu.org; 21 Jun 2021 13:26:02 +0000 Received: from localhost ([127.0.0.1]:35837 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lvJwA-00040B-5P for submit@debbugs.gnu.org; Mon, 21 Jun 2021 09:26:02 -0400 Received: from flashner.co.il ([178.62.234.194]:34504) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lvJw6-0003zq-Ul for 49019@debbugs.gnu.org; Mon, 21 Jun 2021 09:26:01 -0400 Received: from localhost (unknown [31.210.177.125]) by flashner.co.il (Postfix) with ESMTPSA id B84EB40081; Mon, 21 Jun 2021 13:25:52 +0000 (UTC) Date: Mon, 21 Jun 2021 16:25:00 +0300 From: Efraim Flashner Message-ID: Mail-Followup-To: Efraim Flashner , Sarah Morgensen , 49019@debbugs.gnu.org References: <20210614041653.3085-1-iskarian@mgsn.dev> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="b0opwmV9AaaBFvXy" Content-Disposition: inline In-Reply-To: <20210614041653.3085-1-iskarian@mgsn.dev> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 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=1624282033; 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: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; bh=UOqLnU/d5nlDLmIfAnmO2PCyy469ph86i+S51nVzRg0=; b=iWW/TjM3hThG5jYFj/K7gBgcvqKh7gQzYMsiQAumxvez+B6Aja6uy0qmD7kqicVeTfB2FB 1oswMGkeipsZIQ0q8CPbluxfYPRvZN+5knEGQHQ+iNOPK8NT5GCr1O2ueHSUg2RiI8lICJ 8rYsNBRHYNxI9OYX1RpW8Jgjm6F7txEd0Er1Me0aXNP/KfMfj4IqxW3/S+bmExejsKeqof cLcbVeEOJXPqsobN0MCI0H6SF+TKcHdIKp5GV3e6JCFlCjKtpU9V++zYqhdjGze2VDNsYy pOXzgokh38uWagJKCh4i6ANnJiHrDKjHJExW6OFsm729/12sbNpe3j9jrjCpTg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624282033; a=rsa-sha256; cv=none; b=FevpSt1Bmk7OEwkeyc+sJhsF09u+ggXSTeh20TTtLlmc0Mhs5d86z+rjurE+4JGyeYav8X LLOaRWkiQpWaa4iowWIpFbm6V5xz5xvBDu/oXxL+qDjgd5/YkzHBKFV25u49BK6f8T3Aak ASabPj4U8R8uDAYQA75cPrBY5G9EJBZY3fUFoAR45gHPEf5xN72ApQSSeYGleFn5vn60Ll NlQ0l8jQhLlzWw6fl6wgqIL71U9SxNub8SWW2ft+Q/IfspXGMlpElpBrl66joNgIMIaLag yLCQO2kMo43Q2bUF1GLJkKAleXvZlttNbMQs3aQosM8xmjb7twceaLUz3QturQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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: -4.02 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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: 282E8247DF X-Spam-Score: -4.02 X-Migadu-Scanner: scn0.migadu.com X-TUID: 1RagKx4n336I --b0opwmV9AaaBFvXy Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jun 13, 2021 at 09:16:53PM -0700, Sarah Morgensen via Guix-patches = via wrote: > The primary goal for adding gccgo is to bootstrap the go compiler for arc= hes > 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 tim= e. >=20 > I have successfully built gccgo 9, 10 and 11 for x86-64. I additionally t= ested > gcc 10 using `make check-go`. There are two minor test failures: >=20 > 1. index0-out.go, previously reported upstream [0] > 2. pprof (TestConvertCPUProfile/TestConvertMemProfile) >=20 > (I have not yet been able to deterine whether the pprof failures are an u= pstream > bug or a Guix bug. Should I send details to bug-guix?) I wouldn't worry about the test failures. > Finally, the regex update in [1] is implemented in CUSTOM-GCC-GCCGO rathe= r than > CUSTOM-GCC to avoid rebuilding 2k+ gfortran packages, and CUSTOM-GCC-GCCGO > should be removed after the change is in master. Makes sense > [0] https://issues.guix.gnu.org/49010 > [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87589 >=20 > Sarah Morgensen (1): > gnu: Add gccgo-10. >=20 > gnu/packages/gcc.scm | 77 ++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 77 insertions(+) >=20 > --=20 > 2.31.1 >=20 I threw together a quick gccgo-toolchain package and tried using that to build keybase and syncthing. One of the errors I came across was: /home/efraim/go/pkg/mod/golang.org/x/sys@v0.0.0-20200922070232-aee5d888a860= /unix/gccgo.go:50: undefined reference to `gccgoRealSyscallNoError' and also github.com/minio/sha256-simd@v0.1.1 didn't like the assembly in the package. It's definitely possible that I'm missing some flag to tell go that I'm really using gccgo. Or that it should be built with binutils-gold. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --b0opwmV9AaaBFvXy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmDQkyoACgkQQarn3Mo9 g1Hbvw//RKc6+QkfYN+9D9SVfXRYkLIYZgTr+7UoI8LE5nn9F19DyE5FyaogsE7a GMZetxckfWgb33yfOrdVzDNPWTPmUFF5cRrES9Fy0j3oSGOy2ZxtglA0gJZUGTYt brkmvcN0MKdC5QvwKd5AGI0Jpidytp3Q/X0h2t39fjVaamJqhQLqlmMHZ7XXS5dL bECrhU/LchtURbRBVW9OjC1iUjy5AZisYGWb6jY6Etsc5/QkjzGDaOCFeyc+wYlS vnjAdXYofv/Mx4guPiT1x64cl3ysdx2kPiSp1gub0265kDc4kegznyQdKrGveIcs youOvXyOhFIzG3JmwhAMQpjpZq5MGPJecQ0UKWjFQbq+ODlvB2Fujwg0Ti2iB/LG j8MWZC/EGdrmhzIWClIYs5auO3ltoJWVKDBGNHRWn+jiTuq9MvR8ajdDwJWX1lnK VvLF65P30lmJeAtxB41P9pYkrpq+On+eaNZCTMXyI+jIH4c6aek/0a/WydJ3skLT m0ReccyOgwQbpf5pMK9qwrCRxVXQVfRcJCJtqZxz6qdk/yuER0g4zdfJNk+u5tSt jT2AT8n2tAHoBuFXtf7zRI7L/SrZarp2VuM+q9MHuaqjXPkn2dNyyis8Nr6ee4vs PQzSg9+GjnDAX5pywEac2Xu+mGX5j4gLz3nqsHO/bjvfftGBUvw= =dpH0 -----END PGP SIGNATURE----- --b0opwmV9AaaBFvXy--