public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Thomas Sobczynski <tsobczynski@werfen.com>
To: Xi Ruoyao <xry111@mengyan1223.wang>,
	"gcc-help@gcc.gnu.org" <gcc-help@gcc.gnu.org>,
	Thomas Sobczynski <tsobczynski@werfen.com>
Subject: Re: [EXTERNAL] Re: Compiling GCC 11 for Windows targeting ARM on Linux
Date: Tue, 11 Jan 2022 03:44:26 +0000	[thread overview]
Message-ID: <VI1PR0402MB3853B4A7317F2739E490DB2ACD519@VI1PR0402MB3853.eurprd04.prod.outlook.com> (raw)
In-Reply-To: <VI1PR0402MB38539B8C96DD31D144AD9860CD519@VI1PR0402MB3853.eurprd04.prod.outlook.com>

Update: I kept peering at the configure scripts and their embedded comments, and concluded that it's at least worth trying to add "--with-newlib" to the configure script parameters. That may not be the right move, but it did get me further into the build process. However, although its configure script finished, the GCC build seems unable to compile libstdc++ (tail end of output below).

Am I barking up the wrong tree with "--with-newlib"?

Does it make sense that the build is supplying include search directories from the GCC v11 build tree (compiler being compiled) to the native cross compiler which is GCC v9.x? I already misunderstood the build/host/target config earlier. Is it perhaps not _a_ GCC cross toolchain that I need, but perhaps I need to build _the_ compiler (v11) and then turn around and use it to build for the non-native Host?

Thanks,
Tom

make[2]: Leaving directory '/home/tsobczynski/Compiler/build/arm-none-eabi/libgcc'
Checking multilib configuration for libstdc++-v3...
make[2]: Entering directory '/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3'
make "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CC_FOR_TARGET=arm-none-eabi-gcc" "CFLAGS=-g -O2 -g -Os" "CXXFLAGS=-g -O2 -g -Os" "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=-g -O2 -g -Os" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS=" "LIBCFLAGS=-g -O2 -g -Os" "LIBCFLAGS_FOR_TARGET=-g -O2 -g -Os" "MAKE=make" "MAKEINFO=/home/tsobczynski/Compiler/gcc/missing makeinfo --split-size=5000000 --split-size=5000000 " "SHELL=/bin/bash" "RUNTESTFLAGS=" "exec_prefix=/home/tsobczynski/arm-none-eabi-gcc" "infodir=/home/tsobczynski/arm-none-eabi-gcc/share/info" "libdir=/home/tsobczynski/arm-none-eabi-gcc/lib" "includedir=/home/tsobczynski/arm-none-eabi-gcc/include" "prefix=/home/tsobczynski/arm-none-eabi-gcc" "tooldir=/home/tsobczynski/arm-none-eabi-gcc/arm-none-eabi" "gxx_include_dir=/home/tsobczynski/arm-none-eabi-gcc/arm-none-eabi/include/c++/11.2.1" "AR=/usr/lib/gcc/arm-none-eabi/9.2.1/../../../arm-none-eabi/bin/ar" "AS=/usr/lib/gcc/arm-none-eabi/9.2.1/../../../arm-none-eabi/bin/as" "LD=/usr/lib/gcc/arm-none-eabi/9.2.1/../../../arm-none-eabi/bin/ld" "RANLIB=/usr/lib/gcc/arm-none-eabi/9.2.1/../../../arm-none-eabi/bin/ranlib" "NM=/usr/lib/gcc/arm-none-eabi/9.2.1/../../../arm-none-eabi/bin/nm" "NM_FOR_BUILD=" "NM_FOR_TARGET=/usr/lib/gcc/arm-none-eabi/9.2.1/../../../arm-none-eabi/bin/nm" "DESTDIR=" "WERROR=" all-recursive
make[3]: Entering directory '/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3'
Making all in include
make[4]: Entering directory '/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include'
mkdir -p ./arm-none-eabi/bits/stdc++.h.gch
arm-none-eabi-c++     -x c++-header -nostdinc++ -g -O2 -g -Os -fvtable-verify=std -I/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/arm-none-eabi -I/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include -I/home/tsobczynski/Compiler/gcc/libstdc++-v3/libsupc++ -I/home/tsobczynski/arm-none-eabi-gcc/include  -O2 -g -std=gnu++0x /home/tsobczynski/Compiler/gcc/libstdc++-v3/include/precompiled/stdc++.h \
-o arm-none-eabi/bits/stdc++.h.gch/O2ggnu++0x.gch
In file included from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/cassert:43,
                 from /home/tsobczynski/Compiler/gcc/libstdc++-v3/include/precompiled/stdc++.h:33:
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/arm-none-eabi/bits/c++config.h:491:18: error: missing binary operator before token "("
  491 | #if __has_builtin(__builtin_is_constant_evaluated)
      |                  ^
In file included from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/cassert:43,
                 from /home/tsobczynski/Compiler/gcc/libstdc++-v3/include/precompiled/stdc++.h:33:
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/arm-none-eabi/bits/c++config.h:732:25: error: missing binary operator before token "("
  732 | #if _GLIBCXX_HAS_BUILTIN(__has_unique_object_representations)
      |                         ^
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/arm-none-eabi/bits/c++config.h:736:25: error: missing binary operator before token "("
  736 | #if _GLIBCXX_HAS_BUILTIN(__is_aggregate)
      |                         ^
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/arm-none-eabi/bits/c++config.h:740:25: error: missing binary operator before token "("
  740 | #if _GLIBCXX_HAS_BUILTIN(__builtin_is_constant_evaluated)
      |                         ^
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/arm-none-eabi/bits/c++config.h:744:25: error: missing binary operator before token "("
  744 | #if _GLIBCXX_HAS_BUILTIN(__is_same)
      |                         ^
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/arm-none-eabi/bits/c++config.h:748:25: error: missing binary operator before token "("
  748 | #if _GLIBCXX_HAS_BUILTIN(__builtin_launder)
      |                         ^
In file included from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/move.h:57,
                 from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/nested_exception.h:40,
                 from /home/tsobczynski/Compiler/gcc/libstdc++-v3/libsupc++/exception:154,
                 from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/ios:39,
                 from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/istream:38,
                 from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/sstream:38,
                 from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/complex:45,
                 from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/ccomplex:39,
                 from /home/tsobczynski/Compiler/gcc/libstdc++-v3/include/precompiled/stdc++.h:54:
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/type_traits:1017:25: error: there are no arguments to '__is_nothrow_constructible' that depend on a template parameter, so a declaration of '__is_nothrow_constructible' must be available [-fpermissive]
 1017 |       = __bool_constant<__is_nothrow_constructible(_Tp, _Args...)>;
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/type_traits:1017:25: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/type_traits:1017:66: error: template argument 1 is invalid
 1017 |       = __bool_constant<__is_nothrow_constructible(_Tp, _Args...)>;
      |                                                                  ^
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/type_traits:1023:45: error: expected template-name before '<' token
 1023 |     : public __is_nothrow_constructible_impl<_Tp, _Args...>::type
      |                                             ^
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/type_traits:1023:45: error: expected '{' before '<' token
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/type_traits:1032:30: error: there are no arguments to '__is_nothrow_constructible' that depend on a template parameter, so a declaration of '__is_nothrow_constructible' must be available [-fpermissive]
 1032 |     : public __bool_constant<__is_nothrow_constructible(_Tp)>
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/type_traits:1032:61: error: template argument 1 is invalid
 1032 |     : public __bool_constant<__is_nothrow_constructible(_Tp)>
      |                                                             ^
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/type_traits:1048:45: error: expected template-name before '<' token
 1048 |     : public __is_nothrow_constructible_impl<_Tp, const _Tp&>
      |                                             ^
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/type_traits:1048:45: error: expected '{' before '<' token
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/type_traits:1071:45: error: expected template-name before '<' token
 1071 |     : public __is_nothrow_constructible_impl<_Tp, _Tp&&>
      |                                             ^
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/type_traits:1071:45: error: expected '{' before '<' token
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/type_traits:1137:25: error: there are no arguments to '__is_nothrow_assignable' that depend on a template parameter, so a declaration of '__is_nothrow_assignable' must be available [-fpermissive]
 1137 |       = __bool_constant<__is_nothrow_assignable(_Tp, _Up)>;
      |                         ^~~~~~~~~~~~~~~~~~~~~~~
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/type_traits:1137:58: error: template argument 1 is invalid
 1137 |       = __bool_constant<__is_nothrow_assignable(_Tp, _Up)>;
      |                                                          ^
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/type_traits:1142:42: error: expected template-name before '<' token
 1142 |     : public __is_nothrow_assignable_impl<_Tp, _Up>
      |                                          ^
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/type_traits:1142:42: error: expected '{' before '<' token
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/type_traits:1157:42: error: expected template-name before '<' token
 1157 |     : public __is_nothrow_assignable_impl<_Tp&, const _Tp&>
      |                                          ^
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/type_traits:1157:42: error: expected '{' before '<' token
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/type_traits:1178:42: error: expected template-name before '<' token
 1178 |     : public __is_nothrow_assignable_impl<_Tp&, _Tp&&>
      |                                          ^
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/type_traits:1178:42: error: expected '{' before '<' token
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/type_traits: In instantiation of 'struct std::is_nothrow_move_constructible<__sFILE*>':
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/type_traits:152:12:   required from 'struct std::__and_<std::is_nothrow_move_constructible<__sFILE*>, std::is_nothrow_move_assignable<__sFILE*> >'
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/move.h:196:5:   required from 'std::_Require<std::__not_<std::__is_tuple_like<_Tp> >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > std::swap(_Tp&, _Tp&) [with _Tp = __sFILE*; std::_Require<std::__not_<std::__is_tuple_like<_Tp> >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > = void]'
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/arm-none-eabi/bits/basic_file.h:79:34:   required from here
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/type_traits:1077:12: error: invalid use of incomplete type 'struct std::__is_nothrow_move_constructible_impl<__sFILE*, true>'
 1077 |     struct is_nothrow_move_constructible
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/type_traits:1063:12: note: declaration of 'struct std::__is_nothrow_move_constructible_impl<__sFILE*, true>'
 1063 |     struct __is_nothrow_move_constructible_impl;
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/type_traits: In instantiation of 'struct std::__and_<std::is_nothrow_move_constructible<__sFILE*>, std::is_nothrow_move_assignable<__sFILE*> >':
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/move.h:196:5:   required from 'std::_Require<std::__not_<std::__is_tuple_like<_Tp> >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > std::swap(_Tp&, _Tp&) [with _Tp = __sFILE*; std::_Require<std::__not_<std::__is_tuple_like<_Tp> >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > = void]'
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/arm-none-eabi/bits/basic_file.h:79:34:   required from here
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/type_traits:152:12: error: 'value' is not a member of 'std::is_nothrow_move_constructible<__sFILE*>'
  152 |     struct __and_<_B1, _B2>
      |            ^~~~~~~~~~~~~~~~
In file included from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/nested_exception.h:40,
                 from /home/tsobczynski/Compiler/gcc/libstdc++-v3/libsupc++/exception:154,
                 from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/ios:39,
                 from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/istream:38,
                 from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/sstream:38,
                 from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/complex:45,
                 from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/ccomplex:39,
                 from /home/tsobczynski/Compiler/gcc/libstdc++-v3/include/precompiled/stdc++.h:54:
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/move.h: In instantiation of 'std::_Require<std::__not_<std::__is_tuple_like<_Tp> >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > std::swap(_Tp&, _Tp&) [with _Tp = __sFILE*; std::_Require<std::__not_<std::__is_tuple_like<_Tp> >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > = void]':
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/arm-none-eabi/bits/basic_file.h:79:34:   required from here
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/move.h:196:5: error: 'value' is not a member of 'std::__and_<std::is_nothrow_move_constructible<__sFILE*>, std::is_nothrow_move_assignable<__sFILE*> >'
  196 |     swap(_Tp& __a, _Tp& __b)
      |     ^~~~
In file included from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/move.h:57,
                 from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/nested_exception.h:40,
                 from /home/tsobczynski/Compiler/gcc/libstdc++-v3/libsupc++/exception:154,
                 from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/ios:39,
                 from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/istream:38,
                 from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/sstream:38,
                 from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/complex:45,
                 from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/ccomplex:39,
                 from /home/tsobczynski/Compiler/gcc/libstdc++-v3/include/precompiled/stdc++.h:54:
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/type_traits: In instantiation of 'struct std::is_nothrow_move_constructible<bool>':
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/type_traits:152:12:   required from 'struct std::__and_<std::is_nothrow_move_constructible<bool>, std::is_nothrow_move_assignable<bool> >'
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/move.h:196:5:   required from 'std::_Require<std::__not_<std::__is_tuple_like<_Tp> >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > std::swap(_Tp&, _Tp&) [with _Tp = bool; std::_Require<std::__not_<std::__is_tuple_like<_Tp> >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > = void]'
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/arm-none-eabi/bits/basic_file.h:80:50:   required from here
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/type_traits:1077:12: error: invalid use of incomplete type 'struct std::__is_nothrow_move_constructible_impl<bool, true>'
 1077 |     struct is_nothrow_move_constructible
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/type_traits:1063:12: note: declaration of 'struct std::__is_nothrow_move_constructible_impl<bool, true>'
 1063 |     struct __is_nothrow_move_constructible_impl;
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/type_traits: In instantiation of 'struct std::__and_<std::is_nothrow_move_constructible<bool>, std::is_nothrow_move_assignable<bool> >':
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/move.h:196:5:   required from 'std::_Require<std::__not_<std::__is_tuple_like<_Tp> >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > std::swap(_Tp&, _Tp&) [with _Tp = bool; std::_Require<std::__not_<std::__is_tuple_like<_Tp> >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > = void]'
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/arm-none-eabi/bits/basic_file.h:80:50:   required from here
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/type_traits:152:12: error: 'value' is not a member of 'std::is_nothrow_move_constructible<bool>'
  152 |     struct __and_<_B1, _B2>
      |            ^~~~~~~~~~~~~~~~
In file included from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/nested_exception.h:40,
                 from /home/tsobczynski/Compiler/gcc/libstdc++-v3/libsupc++/exception:154,
                 from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/ios:39,
                 from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/istream:38,
                 from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/sstream:38,
                 from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/complex:45,
                 from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/ccomplex:39,
                 from /home/tsobczynski/Compiler/gcc/libstdc++-v3/include/precompiled/stdc++.h:54:
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/move.h: In instantiation of 'std::_Require<std::__not_<std::__is_tuple_like<_Tp> >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > std::swap(_Tp&, _Tp&) [with _Tp = bool; std::_Require<std::__not_<std::__is_tuple_like<_Tp> >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > = void]':
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/arm-none-eabi/bits/basic_file.h:80:50:   required from here
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/move.h:196:5: error: 'value' is not a member of 'std::__and_<std::is_nothrow_move_constructible<bool>, std::is_nothrow_move_assignable<bool> >'
  196 |     swap(_Tp& __a, _Tp& __b)
      |     ^~~~
In file included from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/move.h:57,
                 from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/nested_exception.h:40,
                 from /home/tsobczynski/Compiler/gcc/libstdc++-v3/libsupc++/exception:154,
                 from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/ios:39,
                 from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/istream:38,
                 from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/sstream:38,
                 from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/complex:45,
                 from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/ccomplex:39,
                 from /home/tsobczynski/Compiler/gcc/libstdc++-v3/include/precompiled/stdc++.h:54:
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/type_traits: In instantiation of 'struct std::is_nothrow_move_constructible<std::thread::id>':
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/type_traits:152:12:   required from 'struct std::__and_<std::is_nothrow_move_constructible<std::thread::id>, std::is_nothrow_move_assignable<std::thread::id> >'
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/move.h:196:5:   required from 'std::_Require<std::__not_<std::__is_tuple_like<_Tp> >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > std::swap(_Tp&, _Tp&) [with _Tp = std::thread::id; std::_Require<std::__not_<std::__is_tuple_like<_Tp> >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > = void]'
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/std_thread.h:172:33:   required from here
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/type_traits:1077:12: error: invalid use of incomplete type 'struct std::__is_nothrow_move_constructible_impl<std::thread::id, true>'
 1077 |     struct is_nothrow_move_constructible
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/type_traits:1063:12: note: declaration of 'struct std::__is_nothrow_move_constructible_impl<std::thread::id, true>'
 1063 |     struct __is_nothrow_move_constructible_impl;
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/type_traits: In instantiation of 'struct std::__and_<std::is_nothrow_move_constructible<std::thread::id>, std::is_nothrow_move_assignable<std::thread::id> >':
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/move.h:196:5:   required from 'std::_Require<std::__not_<std::__is_tuple_like<_Tp> >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > std::swap(_Tp&, _Tp&) [with _Tp = std::thread::id; std::_Require<std::__not_<std::__is_tuple_like<_Tp> >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > = void]'
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/std_thread.h:172:33:   required from here
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/type_traits:152:12: error: 'value' is not a member of 'std::is_nothrow_move_constructible<std::thread::id>'
  152 |     struct __and_<_B1, _B2>
      |            ^~~~~~~~~~~~~~~~
In file included from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/nested_exception.h:40,
                 from /home/tsobczynski/Compiler/gcc/libstdc++-v3/libsupc++/exception:154,
                 from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/ios:39,
                 from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/istream:38,
                 from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/sstream:38,
                 from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/complex:45,
                 from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/ccomplex:39,
                 from /home/tsobczynski/Compiler/gcc/libstdc++-v3/include/precompiled/stdc++.h:54:
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/move.h: In instantiation of 'std::_Require<std::__not_<std::__is_tuple_like<_Tp> >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > std::swap(_Tp&, _Tp&) [with _Tp = std::thread::id; std::_Require<std::__not_<std::__is_tuple_like<_Tp> >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > = void]':
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/std_thread.h:172:33:   required from here
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/move.h:196:5: error: 'value' is not a member of 'std::__and_<std::is_nothrow_move_constructible<std::thread::id>, std::is_nothrow_move_assignable<std::thread::id> >'
  196 |     swap(_Tp& __a, _Tp& __b)
      |     ^~~~
In file included from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/vector:67,
                 from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/queue:61,
                 from /home/tsobczynski/Compiler/gcc/libstdc++-v3/include/precompiled/stdc++.h:86:
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/stl_vector.h: In instantiation of 'std::_Vector_base<_Tp, _Alloc>::_Vector_impl::_Vector_impl() [with _Tp = long unsigned int; _Alloc = std::allocator<long unsigned int>]':
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/random.h:6073:12:   recursively required from 'std::vector<_Tp, _Alloc>::vector() [with _Tp = long unsigned int; _Alloc = std::allocator<long unsigned int>]'
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/random.h:6073:12:   required from here
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/stl_vector.h:131:2: error: 'value' is not a member of 'std::is_nothrow_default_constructible<std::allocator<long unsigned int> >'
  131 |  _Vector_impl() _GLIBCXX_NOEXCEPT_IF(
      |  ^~~~~~~~~~~~
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/stl_vector.h: In instantiation of 'std::_Vector_base<_Tp, _Alloc>::_Vector_impl::_Vector_impl() [with _Tp = unsigned int; _Alloc = std::allocator<unsigned int>]':
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/regex_automaton.h:192:25:   recursively required from 'std::vector<_Tp, _Alloc>::vector() [with _Tp = unsigned int; _Alloc = std::allocator<unsigned int>]'
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/regex_automaton.h:192:25:   required from here
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/stl_vector.h:131:2: error: 'value' is not a member of 'std::is_nothrow_default_constructible<std::allocator<unsigned int> >'
In file included from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/move.h:57,
                 from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/nested_exception.h:40,
                 from /home/tsobczynski/Compiler/gcc/libstdc++-v3/libsupc++/exception:154,
                 from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/ios:39,
                 from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/istream:38,
                 from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/sstream:38,
                 from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/complex:45,
                 from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/ccomplex:39,
                 from /home/tsobczynski/Compiler/gcc/libstdc++-v3/include/precompiled/stdc++.h:54:
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/type_traits: In instantiation of 'struct std::is_nothrow_move_constructible<std::_Rb_tree_key_compare<std::less<long int> > >':
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/stl_tree.h:685:4:   required from 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Rb_tree_impl<_Key_compare, <anonymous> >::_Rb_tree_impl(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Rb_tree_impl<_Key_compare, <anonymous> >&&) [with _Key_compare = std::less<long int>; bool <anonymous> = true; _Key = long int; _Val = std::pair<const long int, long int>; _KeyOfValue = std::_Select1st<std::pair<const long int, long int> >; _Compare = std::less<long int>; _Alloc = std::allocator<std::pair<const long int, long int> >]'
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/stl_tree.h:660:9:   required from 'struct std::_Rb_tree<long int, std::pair<const long int, long int>, std::_Select1st<std::pair<const long int, long int> >, std::less<long int>, std::allocator<std::pair<const long int, long int> > >::_Rb_tree_impl<std::less<long int>, true>'
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/stl_tree.h:706:31:   required from 'class std::_Rb_tree<long int, std::pair<const long int, long int>, std::_Select1st<std::pair<const long int, long int> >, std::less<long int>, std::allocator<std::pair<const long int, long int> > >'
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/stl_map.h:153:17:   required from 'class std::map<long int, long int>'
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/regex_automaton.tcc:207:11:   required from here
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/type_traits:1077:12: error: invalid use of incomplete type 'struct std::__is_nothrow_move_constructible_impl<std::_Rb_tree_key_compare<std::less<long int> >, true>'
 1077 |     struct is_nothrow_move_constructible
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/type_traits:1063:12: note: declaration of 'struct std::__is_nothrow_move_constructible_impl<std::_Rb_tree_key_compare<std::less<long int> >, true>'
 1063 |     struct __is_nothrow_move_constructible_impl;
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/map:60,
                 from /home/tsobczynski/Compiler/gcc/libstdc++-v3/include/precompiled/stdc++.h:81:
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/stl_tree.h: In instantiation of 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Rb_tree_impl<_Key_compare, <anonymous> >::_Rb_tree_impl(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Rb_tree_impl<_Key_compare, <anonymous> >&&) [with _Key_compare = std::less<long int>; bool <anonymous> = true; _Key = long int; _Val = std::pair<const long int, long int>; _KeyOfValue = std::_Select1st<std::pair<const long int, long int> >; _Compare = std::less<long int>; _Alloc = std::allocator<std::pair<const long int, long int> >]':
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/stl_tree.h:660:9:   required from 'struct std::_Rb_tree<long int, std::pair<const long int, long int>, std::_Select1st<std::pair<const long int, long int> >, std::less<long int>, std::allocator<std::pair<const long int, long int> > >::_Rb_tree_impl<std::less<long int>, true>'
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/stl_tree.h:706:31:   required from 'class std::_Rb_tree<long int, std::pair<const long int, long int>, std::_Select1st<std::pair<const long int, long int> >, std::less<long int>, std::allocator<std::pair<const long int, long int> > >'
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/stl_map.h:153:17:   required from 'class std::map<long int, long int>'
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/regex_automaton.tcc:207:11:   required from here
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/stl_tree.h:685:4: error: 'value' is not a member of 'std::is_nothrow_move_constructible<std::_Rb_tree_key_compare<std::less<long int> > >'
  685 |    _Rb_tree_impl(_Rb_tree_impl&&)
      |    ^~~~~~~~~~~~~
In file included from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/move.h:57,
                 from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/nested_exception.h:40,
                 from /home/tsobczynski/Compiler/gcc/libstdc++-v3/libsupc++/exception:154,
                 from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/ios:39,
                 from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/istream:38,
                 from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/sstream:38,
                 from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/complex:45,
                 from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/ccomplex:39,
                 from /home/tsobczynski/Compiler/gcc/libstdc++-v3/include/precompiled/stdc++.h:54:
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/type_traits: In instantiation of 'struct std::is_nothrow_copy_constructible<std::less<long int> >':
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/stl_tree.h:660:9:   recursively required from 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Rb_tree_impl<_Key_compare, <anonymous> >::_Rb_tree_impl(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Rb_tree_impl<_Key_compare, <anonymous> >&&) [with _Key_compare = std::less<long int>; bool <anonymous> = true; _Key = long int; _Val = std::pair<const long int, long int>; _KeyOfValue = std::_Select1st<std::pair<const long int, long int> >; _Compare = std::less<long int>; _Alloc = std::allocator<std::pair<const long int, long int> >]'
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/stl_tree.h:660:9:   required from 'struct std::_Rb_tree<long int, std::pair<const long int, long int>, std::_Select1st<std::pair<const long int, long int> >, std::less<long int>, std::allocator<std::pair<const long int, long int> > >::_Rb_tree_impl<std::less<long int>, true>'
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/stl_tree.h:706:31:   required from 'class std::_Rb_tree<long int, std::pair<const long int, long int>, std::_Select1st<std::pair<const long int, long int> >, std::less<long int>, std::allocator<std::pair<const long int, long int> > >'
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/stl_map.h:153:17:   required from 'class std::map<long int, long int>'
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/regex_automaton.tcc:207:11:   required from here
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/type_traits:1054:12: error: invalid use of incomplete type 'struct std::__is_nothrow_copy_constructible_impl<std::less<long int>, true>'
 1054 |     struct is_nothrow_copy_constructible
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/type_traits:1040:12: note: declaration of 'struct std::__is_nothrow_copy_constructible_impl<std::less<long int>, true>'
 1040 |     struct __is_nothrow_copy_constructible_impl;
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/map:60,
                 from /home/tsobczynski/Compiler/gcc/libstdc++-v3/include/precompiled/stdc++.h:81:
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/stl_tree.h: In instantiation of 'std::_Rb_tree_key_compare<_Key_compare>::_Rb_tree_key_compare(std::_Rb_tree_key_compare<_Key_compare>&&) [with _Key_compare = std::less<long int>]':
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/stl_tree.h:660:9:   recursively required from 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Rb_tree_impl<_Key_compare, <anonymous> >::_Rb_tree_impl(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Rb_tree_impl<_Key_compare, <anonymous> >&&) [with _Key_compare = std::less<long int>; bool <anonymous> = true; _Key = long int; _Val = std::pair<const long int, long int>; _KeyOfValue = std::_Select1st<std::pair<const long int, long int> >; _Compare = std::less<long int>; _Alloc = std::allocator<std::pair<const long int, long int> >]'
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/stl_tree.h:660:9:   required from 'struct std::_Rb_tree<long int, std::pair<const long int, long int>, std::_Select1st<std::pair<const long int, long int> >, std::less<long int>, std::allocator<std::pair<const long int, long int> > >::_Rb_tree_impl<std::less<long int>, true>'
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/stl_tree.h:706:31:   required from 'class std::_Rb_tree<long int, std::pair<const long int, long int>, std::_Select1st<std::pair<const long int, long int> >, std::less<long int>, std::allocator<std::pair<const long int, long int> > >'
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/stl_map.h:153:17:   required from 'class std::map<long int, long int>'
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/regex_automaton.tcc:207:11:   required from here
/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include/bits/stl_tree.h:160:7: error: 'value' is not a member of 'std::is_nothrow_copy_constructible<std::less<long int> >'
  160 |       _Rb_tree_key_compare(_Rb_tree_key_compare&& __x)
      |       ^~~~~~~~~~~~~~~~~~~~
make[4]: *** [Makefile:1862: arm-none-eabi/bits/stdc++.h.gch/O2ggnu++0x.gch] Error 1
make[4]: Leaving directory '/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3/include'
make[3]: *** [Makefile:568: all-recursive] Error 1
make[3]: Leaving directory '/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3'
make[2]: *** [Makefile:493: all] Error 2
make[2]: Leaving directory '/home/tsobczynski/Compiler/build/arm-none-eabi/libstdc++-v3'
make[1]: *** [Makefile:13403: all-target-libstdc++-v3] Error 2


  reply	other threads:[~2022-01-11  3:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-10 16:47 Thomas Sobczynski
2022-01-10 17:16 ` Xi Ruoyao
2022-01-11  2:49   ` [EXTERNAL] " Thomas Sobczynski
2022-01-11  3:44     ` Thomas Sobczynski [this message]
2022-01-11  6:53       ` Xi Ruoyao
2022-01-11 11:19         ` Jonathan Wakely
2022-01-11 11:14       ` Jonathan Wakely
2022-01-12 18:39         ` Thomas Sobczynski
2022-01-12 19:09           ` Jonathan Wakely
2022-01-11 11:09     ` Jonathan Wakely
2022-01-10 17:24 ` Jonathan Wakely
2022-01-11  0:27   ` [EXTERNAL] " Thomas Sobczynski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=VI1PR0402MB3853B4A7317F2739E490DB2ACD519@VI1PR0402MB3853.eurprd04.prod.outlook.com \
    --to=tsobczynski@werfen.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=xry111@mengyan1223.wang \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).