From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 0EVmENkGP2egZgEAqHPOHw:P1 (envelope-from ) for ; Thu, 21 Nov 2024 10:09:29 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 0EVmENkGP2egZgEAqHPOHw (envelope-from ) for ; Thu, 21 Nov 2024 11:09:29 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Qul+j9sZ; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b="Jnz/aL0+"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1732183769; a=rsa-sha256; cv=none; b=IzTFrT6QN7wVaW8VWmBqVJ1FPwT/DPj22dmHzzd08v1MdAoySA77/NXjpYowBnXR4vq6Jn 6DbPxXGnkfLWBt2En72/gQTWy7IUVXIMYKtZ0+EIxojTgwXvXMfslVXiv/EGanqhUVMHVh eex1N7u/Yuym7CP+CpxzpC7fiqMr0n180HgK9mG+/ckVHphmOXJo4u02deVH/zG3qf4OvI 2mP5113ddpez1BLjNHKlot2XmETG6mL/69ahsrCzF24XcCipwCxlO0gRVoFt5hFK4zl3CK yYPOAHc7sWAuDqHKN85HFpJm1/2oHJFcTvcLK/Y/mlVd8+QhpZGWCrm4Mo4+1g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Qul+j9sZ; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b="Jnz/aL0+"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1732183769; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=x8SSyRkJXmg8YmVzLumLpE4gOrmu5IY/MYVSkC59kFA=; b=QUsMAESTNODlgDw3fSyTRIg+zRjBC+i9+VbSa0q10inKvWPRBoDrQZiu07qbEnxv+8q/WV aBAYJ25VFojv+U2iQyHXXU/3L00GrBALHLjCFZWAj3AUSUUGrv5wTlC0PFzTwCA/yLM1uk AZbJzy4EkkgZGEqASfLuc9Qv5tcdjzM5f/qkO28cYsLbxqITMqMtJilaDiXT8AYL5hKLdd P4L0NMWUaE5HewibSOazdWgusKFZl7PnSRXtLrzSqqWx1adKDmQj/h2u+Rje2dcU0nVwf6 S3cREQpM6IqOogq0lpY2Sj++KH+rK6YmoWq+mIK0HN5+VvzjEFnmDu7lTbfqIA== 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 EE3BA79CC6 for ; Thu, 21 Nov 2024 11:09:28 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tE47c-0000ja-D8; Thu, 21 Nov 2024 05:09:12 -0500 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 1tE25e-00023Q-7B for bug-guix@gnu.org; Thu, 21 Nov 2024 02:59:02 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tE25d-00046w-V1 for bug-guix@gnu.org; Thu, 21 Nov 2024 02:59:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:MIME-Version:To:Subject; bh=x8SSyRkJXmg8YmVzLumLpE4gOrmu5IY/MYVSkC59kFA=; b=Qul+j9sZqN9JlAEponGN864D0sitcxCnH5pDbMrugnJe45ZpwqpRmJllN1RMHBB8JXFdpGYDEQboQxmRmbRphxISQIl0NjCr6yzZ7dT8UupKjFA/v9mtoMsATIhgjVdzpAQSYr5yro3Da3rCgyzdWzrCBOgRh0/THdNgTyCUk3qXbF0tLFlnqTMuLFUrWYUCZsDAcQerVzR5lm33W+A9fTuQr1fAn1H7vnafkQNnL1t5ccP1qeWVi4x57OaJAAiUdlwawf8LP9LJj5eKYpWvfcSLrrRlaY2989TsN1k+WbyUaeCFdCoL4/QshlibsUdHJXsOqkiT4aj8SKgl2nh0VA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tE25d-0004IL-Qg for bug-guix@gnu.org; Thu, 21 Nov 2024 02:59:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#74455: gcc-toolchain and gfortran-toolchain conflict Resent-From: Laurent Gatto Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 21 Nov 2024 07:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74455 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 74455@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.173217590816462 (code B ref -1); Thu, 21 Nov 2024 07:59:01 +0000 Received: (at submit) by debbugs.gnu.org; 21 Nov 2024 07:58:28 +0000 Received: from localhost ([127.0.0.1]:48988 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tE255-0004HR-Ts for submit@debbugs.gnu.org; Thu, 21 Nov 2024 02:58:28 -0500 Received: from lists.gnu.org ([209.51.188.17]:56134) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tE254-0004HK-Bq for submit@debbugs.gnu.org; Thu, 21 Nov 2024 02:58:26 -0500 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 1tE254-0001vq-2W for bug-guix@gnu.org; Thu, 21 Nov 2024 02:58:26 -0500 Received: from mail-oi1-x22e.google.com ([2607:f8b0:4864:20::22e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tE252-000430-2h for bug-guix@gnu.org; Thu, 21 Nov 2024 02:58:25 -0500 Received: by mail-oi1-x22e.google.com with SMTP id 5614622812f47-3e60966297fso337599b6e.1 for ; Wed, 20 Nov 2024 23:58:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732175902; x=1732780702; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=x8SSyRkJXmg8YmVzLumLpE4gOrmu5IY/MYVSkC59kFA=; b=Jnz/aL0+BHiFp8bmHuEW5NEAn/u3tk9R/7Pui7OU+2LWphI7kdAj9gKbeCR4HbG6WK eLZlhrA8hBXkcYZ9yh7BsuTJUCQMrm8D0ffREVvvxAxWGT1HU0WsQ8Q7YNKXHpYa7HGR 9n6yY2F7rkIEWgAPUNB9iFhIHc5imx5yxdyL1TEvmUycLM3WDc6RIXGUgVtOhdb3LJDN apCuIcHTUJrjYmkLxNgWDoVdfiRnMeCkOJf/HKYsdhO03JmOCmkDtGDPuKQhtCsRsVVJ kc1cxVQeCU1NnUtLrGXhDCQARfRRDbz9LUFi6Wl/r9+QEaevYbdYL5Kxygon33NMx48X KkZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732175902; x=1732780702; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=x8SSyRkJXmg8YmVzLumLpE4gOrmu5IY/MYVSkC59kFA=; b=tTJYI1chd4vrs1V5Rise0bhRw3+rDJJtvQ+oby2IW7TYDmMrVHhJQCFr1+BgYudZVI W7JGasa1RifCwsYOuVSQTWlTtErqWngjY+OFI5SELdWp96dBPXoJW6Rmic+0Kg4J4nm5 UEgX50OB/rDKpUS3MhX2Y4ndiIvkJ3imCy8K5t9gF44uZOhI5IWRagFzCLklaIGxMpir ENRhfTq3lyMNgZNPJHLGos8825bchgFkqEogTLG7mgCum6CrhN/i2NtL1FQ/khCSxnlM ceG+J9Lyx3QJuE9EceQnq85esDGl8RvfKkSIJWDqUevZ7l5NrSLGluWJwdhyZpm6StXy znuA== X-Gm-Message-State: AOJu0YzKBb+cErCadJ7qTet5CG90IqWEnmdAX8sZLpsEwSSwBqBwpCDs f1aTWE6mZ+/hhBKWBvPXy9sDrg8cQt33KIPJw1T8oA+jY9Nd6PiqPIO4R4u/d+vtnLhSEbLFEet H9fm2NQM23ucPKStJXYVox4kqz8/cXzg7M18= X-Google-Smtp-Source: AGHT+IFy/R55+COypHlHrd3F1SASb0pGlTnUU1rqdK3OAXe3m54RHdcqK7NRmS0uoGy445YsBtOX9X+tQsE4/kkQgNE= X-Received: by 2002:a05:6808:1914:b0:3e6:3878:35c9 with SMTP id 5614622812f47-3e7eb69bc8fmr6211909b6e.8.1732175901680; Wed, 20 Nov 2024 23:58:21 -0800 (PST) MIME-Version: 1.0 From: Laurent Gatto Date: Thu, 21 Nov 2024 08:57:55 +0100 Message-ID: Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::22e; envelope-from=laurent.gatto@gmail.com; helo=mail-oi1-x22e.google.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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-Mailman-Approved-At: Thu, 21 Nov 2024 05:09:11 -0500 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: EE3BA79CC6 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -6.24 X-Spam-Score: -6.24 X-TUID: bR+KNgH1aZPD Here's a simple C++ chunk ``` $ cat main.cpp #include int main(void) { std::cout << __cplusplus; return 0; } ``` that compiles as expected, with the latest gcc version ``` $ guix shell --container gcc-toolchain The following derivation will be built: /gnu/store/bvgndd1r6171zly7ir7fzlpygb1ka7b3-profile.drv listing Emacs sub-directories... building profile with 1 package... [env]$ g++ main.cpp [env]$ gcc --version gcc (GCC) 14.2.0 Copyright (C) 2024 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ``` I'm using the following generation ``` $ guix describe Generation 70 Nov 20 2024 00:02:35 (current) [...] guix 1e6d1c3 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: 1e6d1c32117e9f731e50dcd286927a5fa0d17afc ``` This still works if I add gfortran-toolchain *before* gcc-toolchaine ``` $ guix shell --container gfortran-toolchain gcc-toolchain The following derivation will be built: /gnu/store/48ryz9p3sc2qmv9xv2s4s032g1bdkxgr-profile.drv listing Emacs sub-directories... building profile with 2 packages... [env]$ g++ main.cpp ``` But fails I add gfortran-toolchain *after* gcc-toolchaine ``` $ guix shell --container gcc-toolchain gfortran-toolchain The following derivation will be built: /gnu/store/4ff7am6zjplhi1p9lin09nbqzk30rijn-profile.drv listing Emacs sub-directories... building profile with 2 packages... $ $ g++ main.cpp In file included from /gnu/store/hhzpa2yx8cz92cgm7xjpd2pp6pk74g96-profile/include/c++/bits/move.h:57, from /gnu/store/hhzpa2yx8cz92cgm7xjpd2pp6pk74g96-profile/include/c++/bits/exception_ptr.h:43, from /gnu/store/hhzpa2yx8cz92cgm7xjpd2pp6pk74g96-profile/include/c++/exception:153, from /gnu/store/hhzpa2yx8cz92cgm7xjpd2pp6pk74g96-profile/include/c++/ios:39, from /gnu/store/hhzpa2yx8cz92cgm7xjpd2pp6pk74g96-profile/include/c++/ostream:38, from /gnu/store/hhzpa2yx8cz92cgm7xjpd2pp6pk74g96-profile/include/c++/iostream:39, from main.cpp:1: /gnu/store/hhzpa2yx8cz92cgm7xjpd2pp6pk74g96-profile/include/c++/type_traits:732:26: error: expected identifier before '(' token 732 | _GLIBCXX20_DEPRECATED("use is_standard_layout && is_trivial instead") | ^ /gnu/store/hhzpa2yx8cz92cgm7xjpd2pp6pk74g96-profile/include/c++/type_traits:732:27: error: expected unqualified-id before string constant 732 | _GLIBCXX20_DEPRECATED("use is_standard_layout && is_trivial instead") | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /gnu/store/hhzpa2yx8cz92cgm7xjpd2pp6pk74g96-profile/include/c++/type_traits:732:27: error: expected ')' before string constant 732 | _GLIBCXX20_DEPRECATED("use is_standard_layout && is_trivial instead") | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ) /gnu/store/hhzpa2yx8cz92cgm7xjpd2pp6pk74g96-profile/include/c++/type_traits:3154:25: error: expected unqualified-id before string constant 3154 | _GLIBCXX20_DEPRECATED("use is_standard_layout_v && is_trivial_v instead") | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /gnu/store/hhzpa2yx8cz92cgm7xjpd2pp6pk74g96-profile/include/c++/type_traits:3154:25: error: expected ')' before string constant 3154 | _GLIBCXX20_DEPRECATED("use is_standard_layout_v && is_trivial_v instead") | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ) ``` The discussion on help-guix that led to this is available here [1]. Don't hesitate to get back to me for more details. Laurent [1] https://lists.gnu.org/archive/html/help-guix/2024-11/msg00066.html