From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id IdTRJLoe8mB8owAAgWs5BA (envelope-from ) for ; Sat, 17 Jul 2021 02:05:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id GO/TH7oe8mCgaQAAbx9fmQ (envelope-from ) for ; Sat, 17 Jul 2021 00:05:14 +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 F0736CEA6 for ; Sat, 17 Jul 2021 02:05:13 +0200 (CEST) Received: from localhost ([::1]:56456 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m4XpP-0008Dc-Uv for larch@yhetil.org; Fri, 16 Jul 2021 20:05:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35692) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m4XpG-0008DE-CA for bug-guix@gnu.org; Fri, 16 Jul 2021 20:05:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41001) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m4XpG-000456-4C for bug-guix@gnu.org; Fri, 16 Jul 2021 20:05:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m4XpF-0002Jl-Sd for bug-guix@gnu.org; Fri, 16 Jul 2021 20:05:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#49600: [core-updates] gcc-11 fails to cross-compile from x86_64-linux Resent-From: Thiago Jung Bauermann Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 17 Jul 2021 00:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49600 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 49600@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16264802868872 (code B ref -1); Sat, 17 Jul 2021 00:05:01 +0000 Received: (at submit) by debbugs.gnu.org; 17 Jul 2021 00:04:46 +0000 Received: from localhost ([127.0.0.1]:52547 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m4Xoz-0002J2-LJ for submit@debbugs.gnu.org; Fri, 16 Jul 2021 20:04:45 -0400 Received: from lists.gnu.org ([209.51.188.17]:43958) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m4Xov-0002Ir-43 for submit@debbugs.gnu.org; Fri, 16 Jul 2021 20:04:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35676) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m4Xou-0008Bb-UT for bug-guix@gnu.org; Fri, 16 Jul 2021 20:04:40 -0400 Received: from mx.kolabnow.com ([95.128.36.41]:26534) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m4Xor-0003ne-Tl for bug-guix@gnu.org; Fri, 16 Jul 2021 20:04:39 -0400 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out002.mykolab.com (Postfix) with ESMTP id B89AF12C5 for ; Sat, 17 Jul 2021 02:04:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-type:content-type:content-transfer-encoding:mime-version :message-id:date:date:subject:subject:from:from:received :received:received; s=dkim20160331; t=1626480272; x=1628294673; bh=fbvSiX7MgmHhzE6Td/Z+8UopA0LCFvVylzS9/P0h1sQ=; b=fYOSd8uc+PtX NcspZBqdVlvq0TdPcZxGMT5vP+648kaxY4fGsXcATXVQ5xtjHFsnHSm6XcfYc2ya vm0f7njX/XzeK9X55W+3F/DqndKvZdMMo0/uxRLl8PVEVi6TzZh9zgBfJS6LvbEc mYNbG84OcmH/v+aTa2/Eg6i0s1bDBXizqZ+sIPwS7+c6S+yLTue3sQu5FsOPfClz XNpMKXvc7/NkuVEufylBMof9YLRCoMYx9UJOBnpPdyVwJhj7FPYlBiHEazWkBiWn 8jVBIRSkamjRmKd/1V19Xa7DIM+whzhalxrRBIQeuNSS6WjZ7PqnOu0qOTUNlWjH C1lelO8K/PHiq3Cd+KqY6a77k63Ncd608ye7gVfrfAxXTkB7HmyDfv25PhraYLjp Fea0fetKRE+VaaR0cXFq/Gvw1umKorDGnrPKVVqcj2x7VzqaDRmSEqE+lUOSmKaF tjHjjDBzV0u4n0EREDHKFSsaJqbLQ1yqxEUFo+ivsWHmcv74OFxl3svaHsF6LVeN h3PDxUP8UFSQp7VhSWBc5AvhYVARtmeIUonsuiEcTYteDOGyKtvejNTuvsLzy+mh 0uVeCFDTisRcuVviPFifj2iWWcQjjX0TjKtPaAPVlab3HxmeFhyw7GVRNUejHzej sMpOPyZUp5s2d49CKIpdXqW4TwWoAUo= X-Virus-Scanned: amavisd-new at mykolab.com Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out002.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TaS02_KWCWko for ; Sat, 17 Jul 2021 02:04:32 +0200 (CEST) Received: from int-mx003.mykolab.com (unknown [10.9.13.3]) by ext-mx-out002.mykolab.com (Postfix) with ESMTPS id BE05985C for ; Sat, 17 Jul 2021 02:04:31 +0200 (CEST) Received: from ext-subm002.mykolab.com (unknown [10.9.6.2]) by int-mx003.mykolab.com (Postfix) with ESMTPS id 65E3750A4 for ; Sat, 17 Jul 2021 02:04:31 +0200 (CEST) Date: Fri, 16 Jul 2021 21:04:24 -0300 Message-ID: <5098239.b5oAXHIL8O@popigai> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=95.128.36.41; envelope-from=bauermann@kolabnow.com; helo=mx.kolabnow.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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" Reply-to: Thiago Jung Bauermann From: Thiago Jung Bauermann via Bug reports for GNU Guix X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1626480314; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=fbvSiX7MgmHhzE6Td/Z+8UopA0LCFvVylzS9/P0h1sQ=; b=isDsrYaQhFt54cxvpI4vvqZ0XUUP646mNuHpU52JgZIap7Z2j6sZxSu+krPxPqVX2SIRA5 gZrO7KLnH/GSGIp9WllFDhd+MWPpIherbBPHj/TvF8DY8+fvyW3fERc5hRmAWUfpF4EGi0 +zUYaGRBtakkfO0iCLFmPUcJivixojuz5MwZOZInl8sZoZWKR+ZHDHZFBxLEBQqV+brl/J 6hMJAq6pc1UZWW5H9QWL4tAMxZ+ZJR7sCeEbIP1d+d13QqOG1hrr8GEp8cK7GblHKMHEKj Ps6vhsssPQqPporsUSEmP0B1uXmrsf9oVj7uPtWKvDvZAA4NhyAkWE3QaFXh0g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626480314; a=rsa-sha256; cv=none; b=jFSEDJmD1Qsmorq8c6mbiIybwq5ksTp6paqiN2jRl4ycMggfVoR+emVcA9QIXDAbPb6igs n5jKr2idoRFiKNwszN9kGI1DC9ha2UM4kN5AwD/IVclc0bKvZuLY05XcVlsjHAiumKP71I rXM+RT5cudFQY2xOQlLv7rSSu8a34loZcVBWdcVgr4pmvueOs60pm4jlvb7+D+suBxKZ/b JZuEsEwFBV0zihW4n99N8J2dT4p8ZPBAW9FEJgK8du93KA/Gzjqv3Xs0D/cprRYcOq2Nir iSyDOj+cUgyZ8pVqrBORZMuBktjmfipnVEkYMxfUkgJcujpqhQZmfz+IP7C8PQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kolabnow.com header.s=dkim20160331 header.b=fYOSd8uc; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.41 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kolabnow.com header.s=dkim20160331 header.b=fYOSd8uc; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: F0736CEA6 X-Spam-Score: -2.41 X-Migadu-Scanner: scn1.migadu.com X-TUID: HCdOcWAYeTwu Hello, On core-updates (at least as of commit 8456581375cf), the gcc package fails= =20 to cross-compile. This can be seen in the following CI jobs: =E2=80=A2 https://ci.guix.gnu.org/build/667365/details gcc-11.1.0, arm-linux-gnueabihf.gcc.x86_64-linux =E2=80=A2 https://ci.guix.gnu.org/build/667394/details gcc-11.1.0, aarch64-linux-gnu.gcc.x86_64-linux =E2=80=A2 https://ci.guix.gnu.org/build/667452/details gcc-11.1.0, powerpc64le-linux-gnu.gcc.x86_64-linux =E2=80=A2 https://ci.guix.gnu.org/build/667481/details gcc-11.1.0, riscv64-linux-gnu.gcc.x86_64-linux =E2=80=A2 https://ci.guix.gnu.org/build/667336/details gcc-11.1.0, mips64el-linux-gnu.gcc.x86_64-linux =E2=80=A2 https://ci.guix.gnu.org/build/667423/details gcc-11.1.0, powerpc-linux-gnu.gcc.x86_64-linux They all fail with a similar error: =2D-8<---------------cut here---------------start------------->8--- =E2=8B=AE In file included from /tmp/guix-build-gcc-11.1.0.drv-0/build/arm-linux-gnue= abihf/libstdc++-v3/include/bits/move.h:57, from /tmp/guix-build-gcc-11.1.0.drv-0/build/arm-linux-gnue= abihf/libstdc++-v3/include/bits/nested_exception.h:40, from ../../../../gcc-11.1.0/libstdc++-v3/libsupc++/excepti= on:148, from ../../../../gcc-11.1.0/libstdc++-v3/libsupc++/eh_exce= ption.cc:26: /tmp/guix-build-gcc-11.1.0.drv-0/build/arm-linux-gnueabihf/libstdc++-v3/inc= lude/type_traits:971:25: error: there are no arguments to ?__is_nothrow_con= structible? that depend on a template parameter, so a declaration of ?__is_= nothrow_constructible? must be available [-fpermissive] 971 | =3D __bool_constant<__is_nothrow_constructible(_Tp, _Args...)= >; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/guix-build-gcc-11.1.0.drv-0/build/arm-linux-gnueabihf/libstdc++-v3/inc= lude/type_traits:971:25: note: (if you use ?-fpermissive?, G++ will accept = your code, but allowing the use of an undeclared name is deprecated) /tmp/guix-build-gcc-11.1.0.drv-0/build/arm-linux-gnueabihf/libstdc++-v3/inc= lude/type_traits:971:66: error: template argument 1 is invalid 971 | =3D __bool_constant<__is_nothrow_constructible(_Tp, _Args...)= >; | ^ /tmp/guix-build-gcc-11.1.0.drv-0/build/arm-linux-gnueabihf/libstdc++-v3/inc= lude/type_traits:976:45: error: expected template-name before ?::type | ^ /tmp/guix-build-gcc-11.1.0.drv-0/build/arm-linux-gnueabihf/libstdc++-v3/inc= lude/type_traits:976:45: error: expected ?{? before ?8--- In addition to that, arm-linux-gnueabihf.gcc.x86_64-linux has the following error which doesn=E2=80=99t appear on the other arches: no include path in which to search for stdc-predef.h As a side note, gcc-11.1.0 also fails to build on i586-pc-gnu.gcc.x86_64-linux=C2=B9, but with a very different error message, so it appears to be an unrelated problem. gcc-8.5.0 also fails to cross-compile on several arches, but with a different error message as well, so it also appears to be a separate problem. =2D-=20 Thanks, Thiago =C2=B9 https://ci.guix.gnu.org/build/667510/details