From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id QDbrL8Dl4WU7egEAe85BDQ:P1 (envelope-from ) for ; Fri, 01 Mar 2024 15:27:13 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id QDbrL8Dl4WU7egEAe85BDQ (envelope-from ) for ; Fri, 01 Mar 2024 15:27:12 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=univ-amu.fr header.s=amudkim header.b=dJWqvS9G; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=univ-amu.fr (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1709303232; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=ZM7lGduerjCmoItpHDbxwzYIrcOIiVfoCtw/DEtqgY0=; b=DZLf92uIKahAyZiRzUCE7tpGKnpHVdbEHyd8DsIh0HSMtfMpGqs+Cswn8YMSQmMPQVUN3Y 8daHZ8bytcbP6kuWOAkX43kluGfCAvWgEw+FCC07kIoNIR0m9u5ZMyUVbOQuVJ8O5xCDmE vwKDwlARu11Q+VPT/SUnR0HagLzlWVFHXmMsQ8/ICr/K6nu7L/pXu5LxnfGQTgItTnFUDX Tcq607AqwZIxw0asWxDraOSa65GqZkBvL+NpW73rGhYKNlbOeY6UIlGs1DRxAoeWRyQj90 0cdwSPmvigg1x5Ah0RbySKoqLgM3cmF1R3DuRVbTGzREWJ+HyCyj+DD3Ac5wuQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=univ-amu.fr header.s=amudkim header.b=dJWqvS9G; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=univ-amu.fr (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1709303232; a=rsa-sha256; cv=none; b=Yv5ex8yOSaze8+8Db/WcFqlxNr4cK6A7r3Kh81ccXOqU2aJEDPxZ4soaMEaNgeoDgA1LQp eL5kJnnr/4CqArZEncal3GvrPDEnv/dLBtvMq4zWiXLuDdmLwYj1B+blm7KnhsgRtSWwkr i55wN7Sq78Crir3CuIK106Lt7Zp0EfF1qzMXWz+UrHikSqiDq8Py+xyGE8UMcAfqN4WQGE elTWX/rYYcqUMIpQGBVKqGwA5LqSS8h+Qy7B2B6UyjEgYind3Yk4GWECBTj4nE00dT1Omt ltfKcL2o6YP3mybR5vLDLIQKt+9Xd24vbip8lnfECtJ0W4QD2sr9LNdmq9wvng== 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 995C6F47C for ; Fri, 1 Mar 2024 15:27:12 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rg2ED-0004Y4-Nf; Fri, 01 Mar 2024 07:43:05 -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 1rg2E6-0004QY-AF for help-guix@gnu.org; Fri, 01 Mar 2024 07:42:59 -0500 Received: from amu-stj-out2.univ-amu.fr ([139.124.244.207]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rg2E4-0000Vn-J1 for help-guix@gnu.org; Fri, 01 Mar 2024 07:42:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=univ-amu.fr; i=@univ-amu.fr; q=dns/txt; s=amudkim; t=1709296977; x=1740832977; h=references:from:to:subject:date:in-reply-to:message-id: mime-version:content-transfer-encoding; bh=SC2sksHKuFOR6fJ0chozC4/YW02BcijPc/pKLLvHd+4=; b=dJWqvS9GXHUmaABjI+XcHPrkgHX7lNXHtRDreC2AY5zgDYDT207HwjeD 0HngjIlfFX6wNUtJineSdJAAnlHcE0KLhBPl5+PK+pMFcDnlDJShZAYAW epbSWGHTOg+8rNTM5JTbITdrDs1JphlR4t4Z0x7KzjKTvou/alnbTzVa3 c=; X-CSE-ConnectionGUID: E9/fZwhtTUewtmQ93DmAxg== X-CSE-MsgGUID: UXXgllT5TWWafvIM9sZ+Fw== X-ThreatScanner-Verdict: Negative X-IPAS-Result: =?us-ascii?q?A2EfAwDsy+Fl//kYTApaHgEBCxIMQAmBOwuFFIRTkWqeB?= =?us-ascii?q?4F+DwEBAQEBAQEBAQlEBAEBhQYCh3MnNAkOAQIEAQEBAQMCAwEBAQEBAQEBB?= =?us-ascii?q?gEBBgEBAQEBAQYGAQKBGYUvSoJVg38BBAEjFUYLCw0NAgUhAgIPAUYZhT0js?= =?us-ascii?q?RiBMhoCZYR4rjmBaoEaLoFphj0BijE2gVVEgRWDKj6FEIMOgmgEghODEimTU?= =?us-ascii?q?IhaVH+BJARaDRsQHjcREBMNAwhuHQIxOgMFAwQyChIMCx8FVANDBkkLAwIaB?= =?us-ascii?q?QMDBIEuBQ0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YBvyDr7reLLNXpAVurp17apa1etlD/Cs8nFk1Dt5/KXzHa6/D/cNZxys9wMxDGPHDY 8sfQSdpbQqFahhSfFkNYH47tLzy2SOnKGcH8Tp5o4IK01jcyAhNjYTSD9PbZP2vFN5n3WiH8 zeuE2PRR0ty2Mak4TqI9mrpifLOjQv0Xp9UE6e3nsOGm3XKnipMVltMCR3h/ajRZlOCZu+z4 nc8okIGxZXePmTyJjUhd3VUeEK5gyM= IronPort-HdrOrdr: A9a23:CLy7eaDRPgSGHmnlHekL55DYdb4zR+YMi2QD/1t6SBxLfsHdv9 3GpoVf6faVsl0ssb8b6KC90dq7MA3hHP9OkPEs1NKZM3iBhILGFvAZ0WKJ+UyCJ8TBzJ8V6U 4NSdkNNDS0NykOsS4ViDPIUerJ7rG8ge+VbM3lvjtQpZkAUdAi0+9BYjzrUnGfrmF9dNQE/e Onl4t6TlmbCAkqh6aAdwI4trP41pW7364OCCRub3RKhmj+70LMmdmKaiRwnC1uIA+np41ShV QtvDaJrJlL2MvLtSM0uVWjnqi+1OGRtueqOqa3+78ow1jX6jpBb+5aKsu/Ve8OzZDK1H8a1N 7L5x86NcVy9H+5RBD5nSfQ X-Talos-CUID: =?us-ascii?q?9a23=3AvdK48WqmPcxkLcE5grt2sWjmUe10NXPv03fMH3K?= =?us-ascii?q?1FnpscezOZVq56Kwxxg=3D=3D?= X-Talos-MUID: =?us-ascii?q?9a23=3AE9eamg5FBcFkd3qXCse0gBvKxoxV05ShDEQxzKk?= =?us-ascii?q?5hMCKKw1VaiyvzxqoF9o=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-AV: E=Sophos;i="6.06,196,1705359600"; d="scan'208";a="327203271" X-IRON-SID-XX: n5x1m8ecPUGkLIULT4KzxDFrmHQrsqh0ExMeGA2eaFFOTv12ASvfBennBHQKGY0Ilwi8ZPZ5GEgpj0ONNy9JPwRK1ak757b86UXIOUTZcldxvHAgyWIsCWsJ158u20M6U6ncPJSMxbRuBxDy6axWZ2Sz2k5g4ES0QXbny4fi Received: from unknown (HELO localhost) ([10.76.24.249]) by smtp-stj.univ-amu.fr with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 01 Mar 2024 13:42:55 +0100 References: <87plweb7b0.fsf@univ-amu.fr> <87le72b6df.fsf@univ-amu.fr> User-agent: mu4e 1.10.8; emacs 29.1 From: Baptiste Demoulin To: help-guix@gnu.org Subject: Re: Problem with g++ and iostream Date: Fri, 01 Mar 2024 13:40:55 +0100 In-reply-to: <87le72b6df.fsf@univ-amu.fr> Message-ID: <874jdqazsh.fsf@univ-amu.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=139.124.244.207; envelope-from=baptiste.demoulin@univ-amu.fr; helo=amu-stj-out2.univ-amu.fr X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -2.55 X-Spam-Score: -2.55 X-Migadu-Queue-Id: 995C6F47C X-TUID: hcsEMBgq1nrF > That also works for me. If, however, I also include=20 > =3Dgfortran-toolchain=3D in the mix > > guix shell -C gcc-toolchain gfortran-toolchain -- g++ x.cpp > > then I come back to the same error as before. I found out the issue: =3Dgfortran-toolchain=3D corresponds to GCC=20 11.3.0, while =3Dgcc-toolchain=3D corresponds to version=20 13.2.0. Using: guix shell -C gcc-toolchain@11.3.0 gfortran-toolchain -- g++=20 x.cpp now works without errors. bests, baptiste --=20 Baptiste Demoulin Research Engineer (Ing=C3=A9nieur de Recherche, CNRS) Centre Interdisciplinaire de Nanoscience de Marseille (CINaM) D=C3=A9partement Th=C3=A9orie et Simulation Num=C3=A9rique Campus de Luminy =E2=80=93 Case 913 13288 MARSEILLE Cedex 09