From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id oJw+EQgcH1+EaQAA0tVLHw (envelope-from ) for ; Mon, 27 Jul 2020 18:25:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id YAXtDAgcH19vMwAAbx9fmQ (envelope-from ) for ; Mon, 27 Jul 2020 18:25:12 +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 C16749404CB for ; Mon, 27 Jul 2020 18:25:11 +0000 (UTC) Received: from localhost ([::1]:53938 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k07oD-0002Tu-It for larch@yhetil.org; Mon, 27 Jul 2020 14:25:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60968) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k07o6-0002T1-A4 for bug-guix@gnu.org; Mon, 27 Jul 2020 14:25:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44121) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k07o6-0002VH-19 for bug-guix@gnu.org; Mon, 27 Jul 2020 14:25:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k07o5-00011w-TQ for bug-guix@gnu.org; Mon, 27 Jul 2020 14:25:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#42392: GCC includes ordering issue? g++: error: 'round' is not a member of 'std' Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 27 Jul 2020 18:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42392 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Received: via spool by 42392-submit@debbugs.gnu.org id=B42392.15958742843930 (code B ref 42392); Mon, 27 Jul 2020 18:25:01 +0000 Received: (at 42392) by debbugs.gnu.org; 27 Jul 2020 18:24:44 +0000 Received: from localhost ([127.0.0.1]:55667 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k07no-00011J-8y for submit@debbugs.gnu.org; Mon, 27 Jul 2020 14:24:44 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39146) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k07nk-000114-SW for 42392@debbugs.gnu.org; Mon, 27 Jul 2020 14:24:42 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34668) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k07nf-0002Ti-JX; Mon, 27 Jul 2020 14:24:35 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=42322 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k07ne-0007q1-JE; Mon, 27 Jul 2020 14:24:34 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87imenk1ps.fsf@hurd.i-did-not-set--mail-host-address--so-tickle-me> <87imegoplx.fsf@gnu.org> <871rkyg7rz.fsf@gmail.com> Date: Mon, 27 Jul 2020 20:24:32 +0200 In-Reply-To: <871rkyg7rz.fsf@gmail.com> (Maxim Cournoyer's message of "Sun, 26 Jul 2020 01:33:20 -0400") Message-ID: <87eeowvmsf.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 42392@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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-Spam-Score: -1.01 X-TUID: NWM9rNp2doxc Hi! Maxim Cournoyer skribis: >> configure:19948: /tmp/guix-build-gcc-10.1.0.drv-0/build/./gcc/xgcc -sha= red-libgcc -B/tmp/guix-build-gcc-10.1.0.drv-0/build/./gcc -nostdinc++ -L/tm= p/guix-build-gcc-10.1.0.drv-0/build/x86_64-unknown-linux-gnu/libstdc++-v3/s= rc -L/tmp/guix-build-gcc-10.1.0.drv-0/build/x86_64-unknown-linux-gnu/libstd= c++-v3/src/.libs -L/tmp/guix-build-gcc-10.1.0.drv-0/build/x86_64-unknown-li= nux-gnu/libstdc++-v3/libsupc++/.libs -B/gnu/store/jrzxs91zhpf6yr5fxisn3jjj7= xai8zlk-gcc-10.1.0/x86_64-unknown-linux-gnu/bin/ -B/gnu/store/jrzxs91zhpf6y= r5fxisn3jjj7xai8zlk-gcc-10.1.0/x86_64-unknown-linux-gnu/lib/ -isystem /gnu/= store/jrzxs91zhpf6yr5fxisn3jjj7xai8zlk-gcc-10.1.0/x86_64-unknown-linux-gnu/= include -isystem /gnu/store/jrzxs91zhpf6yr5fxisn3jjj7xai8zlk-gcc-10.1.0/x86= _64-unknown-linux-gnu/sys-include -fno-checking -c -fno-builtin -D_GNU_SO= URCE conftest.cpp >&5 >> In file included from /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.= 5.0/include/c++/math.h:36, >> from conftest.cpp:122: >> /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/cmath:= 41:10: fatal error: bits/c++config.h: No such file or directory >> 41 | #include >> | ^~~~~~~~~~~~~~~~~~ >> compilation terminated. >> configure:19948: $? =3D 1 >> configure: failed program was: > > Eh! I fail to see what changed between 7.5 and 8.1, that would have > caused such a change in behavior. Nothing: the difference is between =E2=80=98gcc-final=E2=80=99 and the GCCs= exported from (gnu packages gcc). =E2=80=98gcc-final=E2=80=99 has =E2=80=98libstdc++=E2=80=99 (a separate pac= kage) has an input, like I wrote. And thus is found in this case. Does that make sense? Thanks, Ludo=E2=80=99.