LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 03-09-2022, 10:18 AM   #1
ArteusLinux
LQ Newbie
 
Registered: Jan 2022
Location: Clarksville, TN, USA
Distribution: Debian
Posts: 13

Rep: Reputation: 0
Question Build error in libstdc++ 3 on GCC 11.2.0


make "AR_FLAGS=" "CC_FOR_BUILD=" "CC_FOR_TARGET=" "CFLAGS=-g -O2" "CXXFLAGS=" "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=" "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=" "LIBCFLAGS_FOR_TARGET=" "MAKE=make" "MAKEINFO=/bin/sh /mnt/usr/src/gcc-11.2.0/missing makeinfo " "SHELL=/bin/sh" "RUNTESTFLAGS=" "exec_prefix=/mnt/usr" "infodir=/mnt/usr/share/info" "libdir=/mnt/usr/lib" "includedir=/mnt/usr/include" "prefix=/mnt/usr" "tooldir=" "gxx_include_dir=/mnt/usr/include/c++/11.2.0" "AR=ar" "AS=as" "LD=/usr/bin/ld" "RANLIB=ranlib" "NM=/usr/bin/nm -B" "NM_FOR_BUILD=" "NM_FOR_TARGET=" "DESTDIR=" "WERROR=" all-recursive
make[1]: Entering directory '/mnt/usr/src/gcc-11.2.0/build'
Making all in include
make[2]: Entering directory '/mnt/usr/src/gcc-11.2.0/build/include'
mkdir -p .//bits/stdc++.h.gch
g++ -x c++-header -nostdinc++ -I/mnt/usr/src/gcc-11.2.0/build/include/ -I/mnt/usr/src/gcc-11.2.0/build/include -I/mnt/usr/src/gcc-11.2.0/libstdc++-v3/libsupc++ -O2 -g -std=gnu++0x /mnt/usr/src/gcc-11.2.0/libstdc++-v3/include/precompiled/stdc++.h \
-o bits/stdc++.h.gch/O2ggnu++0x.gch
In file included from /mnt/usr/src/gcc-11.2.0/build/include/bits/move.h:57,
from /mnt/usr/src/gcc-11.2.0/build/include/bits/nested_exception.h:40,
from /mnt/usr/src/gcc-11.2.0/libstdc++-v3/libsupc++/exception:148,
from /mnt/usr/src/gcc-11.2.0/build/include/ios:39,
from /mnt/usr/src/gcc-11.2.0/build/include/istream:38,
from /mnt/usr/src/gcc-11.2.0/build/include/sstream:38,
from /mnt/usr/src/gcc-11.2.0/build/include/complex:45,
from /mnt/usr/src/gcc-11.2.0/build/include/ccomplex:39,
from /mnt/usr/src/gcc-11.2.0/libstdc++-v3/include/precompiled/stdc++.h:54:
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:971: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]
971 | = __bool_constant<__is_nothrow_constructible(_Tp, _Args...)>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:971:25: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:971:66: error: template argument 1 is invalid
971 | = __bool_constant<__is_nothrow_constructible(_Tp, _Args...)>;
| ^
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:976:45: error: expected template-name before ‘<’ token
976 | : public __is_nothrow_constructible_impl<_Tp, _Args...>::type
| ^
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:976:45: error: expected ‘{’ before ‘<’ token
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:985: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]
985 | : public __bool_constant<__is_nothrow_constructible(_Tp)>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:985:61: error: template argument 1 is invalid
985 | : public __bool_constant<__is_nothrow_constructible(_Tp)>
| ^
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:1001:45: error: expected template-name before ‘<’ token
1001 | : public __is_nothrow_constructible_impl<_Tp, const _Tp&>
| ^
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:1001:45: error: expected ‘{’ before ‘<’ token
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:1022:45: error: expected template-name before ‘<’ token
1022 | : public __is_nothrow_constructible_impl<_Tp, _Tp&&>
| ^
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:1022:45: error: expected ‘{’ before ‘<’ token
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:1087: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]
1087 | = __bool_constant<__is_nothrow_assignable(_Tp, _Up)>;
| ^~~~~~~~~~~~~~~~~~~~~~~
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:1087:58: error: template argument 1 is invalid
1087 | = __bool_constant<__is_nothrow_assignable(_Tp, _Up)>;
| ^
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:1092:42: error: expected template-name before ‘<’ token
1092 | : public __is_nothrow_assignable_impl<_Tp, _Up>
| ^
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:1092:42: error: expected ‘{’ before ‘<’ token
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:1107:42: error: expected template-name before ‘<’ token
1107 | : public __is_nothrow_assignable_impl<_Tp&, const _Tp&>
| ^
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:1107:42: error: expected ‘{’ before ‘<’ token
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:1128:42: error: expected template-name before ‘<’ token
1128 | : public __is_nothrow_assignable_impl<_Tp&, _Tp&&>
| ^
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:1128:42: error: expected ‘{’ before ‘<’ token
/mnt/usr/src/gcc-11.2.0/build/include/type_traits: In instantiation of ‘struct std::is_nothrow_move_constructible<_IO_FILE*>’:
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:138:12: required from ‘struct std::__and_<std::is_nothrow_move_constructible<_IO_FILE*>, std::is_nothrow_move_assignable<_IO_FILE*> >’
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:2615:48: 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 = _IO_FILE*; std::_Require<std::__not_<std::__is_tuple_like<_Tp> >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > = void]’
/mnt/usr/src/gcc-11.2.0/build/include/bits/basic_file.h:79:34: required from here
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:1027:12: error: invalid use of incomplete type ‘struct std::__is_nothrow_move_constructible_impl<_IO_FILE*, true>’
1027 | struct is_nothrow_move_constructible
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:1014:12: note: declaration of ‘struct std::__is_nothrow_move_constructible_impl<_IO_FILE*, true>’
1014 | struct __is_nothrow_move_constructible_impl;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/mnt/usr/src/gcc-11.2.0/build/include/type_traits: In instantiation of ‘struct std::__and_<std::is_nothrow_move_constructible<_IO_FILE*>, std::is_nothrow_move_assignable<_IO_FILE*> >’:
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:2615:48: 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 = _IO_FILE*; std::_Require<std::__not_<std::__is_tuple_like<_Tp> >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > = void]’
/mnt/usr/src/gcc-11.2.0/build/include/bits/basic_file.h:79:34: required from here
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:138:12: error: ‘value’ is not a member of ‘std::is_nothrow_move_constructible<_IO_FILE*>’
138 | struct __and_<_B1, _B2>
| ^~~~~~~~~~~~~~~~
/mnt/usr/src/gcc-11.2.0/build/include/type_traits: 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 = _IO_FILE*; std::_Require<std::__not_<std::__is_tuple_like<_Tp> >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > = void]’:
/mnt/usr/src/gcc-11.2.0/build/include/bits/basic_file.h:79:34: required from here
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:2615:48: error: ‘value’ is not a member of ‘std::__and_<std::is_nothrow_move_constructible<_IO_FILE*>, std::is_nothrow_move_assignable<_IO_FILE*> >’
2615 | is_nothrow_move_assignable<_Tp>>::value);
| ^~~~~
/mnt/usr/src/gcc-11.2.0/build/include/type_traits: In instantiation of ‘struct std::is_nothrow_move_constructible<bool>’:
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:138:12: required from ‘struct std::__and_<std::is_nothrow_move_constructible<bool>, std::is_nothrow_move_assignable<bool> >’
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:2615:48: 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]’
/mnt/usr/src/gcc-11.2.0/build/include/bits/basic_file.h:80:50: required from here
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:1027:12: error: invalid use of incomplete type ‘struct std::__is_nothrow_move_constructible_impl<bool, true>’
1027 | struct is_nothrow_move_constructible
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:1014:12: note: declaration of ‘struct std::__is_nothrow_move_constructible_impl<bool, true>’
1014 | struct __is_nothrow_move_constructible_impl;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/mnt/usr/src/gcc-11.2.0/build/include/type_traits: In instantiation of ‘struct std::__and_<std::is_nothrow_move_constructible<bool>, std::is_nothrow_move_assignable<bool> >’:
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:2615:48: 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]’
/mnt/usr/src/gcc-11.2.0/build/include/bits/basic_file.h:80:50: required from here
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:138:12: error: ‘value’ is not a member of ‘std::is_nothrow_move_constructible<bool>’
138 | struct __and_<_B1, _B2>
| ^~~~~~~~~~~~~~~~
/mnt/usr/src/gcc-11.2.0/build/include/type_traits: 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]’:
/mnt/usr/src/gcc-11.2.0/build/include/bits/basic_file.h:80:50: required from here
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:2615:48: error: ‘value’ is not a member of ‘std::__and_<std::is_nothrow_move_constructible<bool>, std::is_nothrow_move_assignable<bool> >’
2615 | is_nothrow_move_assignable<_Tp>>::value);
| ^~~~~
/mnt/usr/src/gcc-11.2.0/build/include/type_traits: In instantiation of ‘struct std::is_nothrow_move_constructible<std::thread::id>’:
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:138:12: required from ‘struct std::__and_<std::is_nothrow_move_constructible<std::thread::id>, std::is_nothrow_move_assignable<std::thread::id> >’
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:2615:48: 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]’
/mnt/usr/src/gcc-11.2.0/build/include/bits/std_thread.h:172:33: required from here
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:1027:12: error: invalid use of incomplete type ‘struct std::__is_nothrow_move_constructible_impl<std::thread::id, true>’
1027 | struct is_nothrow_move_constructible
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:1014:12: note: declaration of ‘struct std::__is_nothrow_move_constructible_impl<std::thread::id, true>’
1014 | struct __is_nothrow_move_constructible_impl;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/mnt/usr/src/gcc-11.2.0/build/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> >’:
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:2615:48: 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]’
/mnt/usr/src/gcc-11.2.0/build/include/bits/std_thread.h:172:33: required from here
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:138:12: error: ‘value’ is not a member of ‘std::is_nothrow_move_constructible<std::thread::id>’
138 | struct __and_<_B1, _B2>
| ^~~~~~~~~~~~~~~~
/mnt/usr/src/gcc-11.2.0/build/include/type_traits: 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]’:
/mnt/usr/src/gcc-11.2.0/build/include/bits/std_thread.h:172:33: required from here
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:2615:48: 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> >’
2615 | is_nothrow_move_assignable<_Tp>>::value);
| ^~~~~
In file included from /mnt/usr/src/gcc-11.2.0/build/include/cassert:43,
from /mnt/usr/src/gcc-11.2.0/libstdc++-v3/include/precompiled/stdc++.h:33:
/mnt/usr/src/gcc-11.2.0/build/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>]’:
/mnt/usr/src/gcc-11.2.0/build/include/bits/random.h:6073:12: recursively required from ‘std::vector<_Tp, _Alloc>::vector() [with _Tp = unsigned int; _Alloc = std::allocator<unsigned int>]’
/mnt/usr/src/gcc-11.2.0/build/include/bits/random.h:6073:12: required from here
/mnt/usr/src/gcc-11.2.0/build/include/bits/stl_vector.h:131:17: error: ‘value’ is not a member of ‘std::is_nothrow_default_constructible<std::allocator<unsigned int> >’
131 | _Vector_impl() _GLIBCXX_NOEXCEPT_IF(
| ^~~~~~~~~~~~~~~~~~~~
/mnt/usr/src/gcc-11.2.0/build/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>]’:
/mnt/usr/src/gcc-11.2.0/build/include/bits/regex_automaton.h:192:25: recursively required from ‘std::vector<_Tp, _Alloc>::vector() [with _Tp = long unsigned int; _Alloc = std::allocator<long unsigned int>]’
/mnt/usr/src/gcc-11.2.0/build/include/bits/regex_automaton.h:192:25: required from here
/mnt/usr/src/gcc-11.2.0/build/include/bits/stl_vector.h:131:17: error: ‘value’ is not a member of ‘std::is_nothrow_default_constructible<std::allocator<long unsigned int> >’
make[2]: *** [Makefile:1862: bits/stdc++.h.gch/O2ggnu++0x.gch] Error 1
make[2]: Leaving directory '/mnt/usr/src/gcc-11.2.0/build/include'
make[1]: *** [Makefile:568: all-recursive] Error 1
make[1]: Leaving directory '/mnt/usr/src/gcc-11.2.0/build'
make: *** [Makefile:493: all] Error 2
/mnt/usr/src/gcc-11.2.0/build $
 
Old 03-09-2022, 02:19 PM   #2
Debian6to11
Member
 
Registered: Jan 2022
Location: Limassol, Cyprus
Distribution: Debian
Posts: 382
Blog Entries: 1

Rep: Reputation: 71
Since yesterday I'm trying to build LFS in an auto mode (about a dozen times so far). At least 2 times both gcc and libstdc++ failed to build, some makefile error maybe the same as yours. Just try and build it again. First remove the old directory and untar the tarball again and give it another try.

And why post all of these lines? Only the last few lines are required to understand this, where it says 'error'.
 
Old 03-14-2022, 05:43 PM   #3
wiigelec
Member
 
Registered: Nov 2021
Distribution: Devuan
Posts: 65

Rep: Reputation: Disabled
you seem to be using LFS=/mnt rather than LFS=/mnt/lfs as described in the book. while this in and of itself shouldn’t be much of an issue, since you are having troubles i would suggest starting over and following the instructions in the book verbatim
 
Old 03-14-2022, 07:15 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by ArteusLinux View Post
Code:
make "AR_FLAGS=" "CC_FOR_BUILD=" "CC_FOR_TARGET=" "CFLAGS=-g -O2" "CXXFLAGS=" "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=" "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=" "LIBCFLAGS_FOR_TARGET=" "MAKE=make" "MAKEINFO=/bin/sh /mnt/usr/src/gcc-11.2.0/missing makeinfo " "SHELL=/bin/sh" "RUNTESTFLAGS=" "exec_prefix=/mnt/usr" "infodir=/mnt/usr/share/info" "libdir=/mnt/usr/lib" "includedir=/mnt/usr/include" "prefix=/mnt/usr" "tooldir=" "gxx_include_dir=/mnt/usr/include/c++/11.2.0" "AR=ar" "AS=as" "LD=/usr/bin/ld" "RANLIB=ranlib" "NM=/usr/bin/nm -B" "NM_FOR_BUILD=" "NM_FOR_TARGET=" "DESTDIR=" "WERROR=" all-recursive
make[1]: Entering directory '/mnt/usr/src/gcc-11.2.0/build'
Making all in include
make[2]: Entering directory '/mnt/usr/src/gcc-11.2.0/build/include'
mkdir -p .//bits/stdc++.h.gch
g++ -x c++-header -nostdinc++   -I/mnt/usr/src/gcc-11.2.0/build/include/ -I/mnt/usr/src/gcc-11.2.0/build/include -I/mnt/usr/src/gcc-11.2.0/libstdc++-v3/libsupc++  -O2 -g -std=gnu++0x /mnt/usr/src/gcc-11.2.0/libstdc++-v3/include/precompiled/stdc++.h \
-o bits/stdc++.h.gch/O2ggnu++0x.gch
In file included from /mnt/usr/src/gcc-11.2.0/build/include/bits/move.h:57,
                 from /mnt/usr/src/gcc-11.2.0/build/include/bits/nested_exception.h:40,
                 from /mnt/usr/src/gcc-11.2.0/libstdc++-v3/libsupc++/exception:148,
                 from /mnt/usr/src/gcc-11.2.0/build/include/ios:39,
                 from /mnt/usr/src/gcc-11.2.0/build/include/istream:38,
                 from /mnt/usr/src/gcc-11.2.0/build/include/sstream:38,
                 from /mnt/usr/src/gcc-11.2.0/build/include/complex:45,
                 from /mnt/usr/src/gcc-11.2.0/build/include/ccomplex:39,
                 from /mnt/usr/src/gcc-11.2.0/libstdc++-v3/include/precompiled/stdc++.h:54:
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:971: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]
  971 |       = __bool_constant<__is_nothrow_constructible(_Tp, _Args...)>;
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:971:25: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:971:66: error: template argument 1 is invalid
  971 |       = __bool_constant<__is_nothrow_constructible(_Tp, _Args...)>;
      |                                                                  ^
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:976:45: error: expected template-name before ‘<’ token
  976 |     : public __is_nothrow_constructible_impl<_Tp, _Args...>::type
      |                                             ^
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:976:45: error: expected ‘{’ before ‘<’ token
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:985: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]
  985 |     : public __bool_constant<__is_nothrow_constructible(_Tp)>
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:985:61: error: template argument 1 is invalid
  985 |     : public __bool_constant<__is_nothrow_constructible(_Tp)>
      |                                                             ^
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:1001:45: error: expected template-name before ‘<’ token
 1001 |     : public __is_nothrow_constructible_impl<_Tp, const _Tp&>
      |                                             ^
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:1001:45: error: expected ‘{’ before ‘<’ token
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:1022:45: error: expected template-name before ‘<’ token
 1022 |     : public __is_nothrow_constructible_impl<_Tp, _Tp&&>
      |                                             ^
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:1022:45: error: expected ‘{’ before ‘<’ token
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:1087: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]
 1087 |       = __bool_constant<__is_nothrow_assignable(_Tp, _Up)>;
      |                         ^~~~~~~~~~~~~~~~~~~~~~~
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:1087:58: error: template argument 1 is invalid
 1087 |       = __bool_constant<__is_nothrow_assignable(_Tp, _Up)>;
      |                                                          ^
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:1092:42: error: expected template-name before ‘<’ token
 1092 |     : public __is_nothrow_assignable_impl<_Tp, _Up>
      |                                          ^
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:1092:42: error: expected ‘{’ before ‘<’ token
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:1107:42: error: expected template-name before ‘<’ token
 1107 |     : public __is_nothrow_assignable_impl<_Tp&, const _Tp&>
      |                                          ^
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:1107:42: error: expected ‘{’ before ‘<’ token
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:1128:42: error: expected template-name before ‘<’ token
 1128 |     : public __is_nothrow_assignable_impl<_Tp&, _Tp&&>
      |                                          ^
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:1128:42: error: expected ‘{’ before ‘<’ token
/mnt/usr/src/gcc-11.2.0/build/include/type_traits: In instantiation of ‘struct std::is_nothrow_move_constructible<_IO_FILE*>’:
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:138:12:   required from ‘struct std::__and_<std::is_nothrow_move_constructible<_IO_FILE*>, std::is_nothrow_move_assignable<_IO_FILE*> >’
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:2615:48:   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 = _IO_FILE*; std::_Require<std::__not_<std::__is_tuple_like<_Tp> >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > = void]’
/mnt/usr/src/gcc-11.2.0/build/include/bits/basic_file.h:79:34:   required from here
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:1027:12: error: invalid use of incomplete type ‘struct std::__is_nothrow_move_constructible_impl<_IO_FILE*, true>’
 1027 |     struct is_nothrow_move_constructible
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:1014:12: note: declaration of ‘struct std::__is_nothrow_move_constructible_impl<_IO_FILE*, true>’
 1014 |     struct __is_nothrow_move_constructible_impl;
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/mnt/usr/src/gcc-11.2.0/build/include/type_traits: In instantiation of ‘struct std::__and_<std::is_nothrow_move_constructible<_IO_FILE*>, std::is_nothrow_move_assignable<_IO_FILE*> >’:
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:2615:48:   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 = _IO_FILE*; std::_Require<std::__not_<std::__is_tuple_like<_Tp> >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > = void]’
/mnt/usr/src/gcc-11.2.0/build/include/bits/basic_file.h:79:34:   required from here
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:138:12: error: ‘value’ is not a member of ‘std::is_nothrow_move_constructible<_IO_FILE*>’
  138 |     struct __and_<_B1, _B2>
      |            ^~~~~~~~~~~~~~~~
/mnt/usr/src/gcc-11.2.0/build/include/type_traits: 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 = _IO_FILE*; std::_Require<std::__not_<std::__is_tuple_like<_Tp> >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > = void]’:
/mnt/usr/src/gcc-11.2.0/build/include/bits/basic_file.h:79:34:   required from here
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:2615:48: error: ‘value’ is not a member of ‘std::__and_<std::is_nothrow_move_constructible<_IO_FILE*>, std::is_nothrow_move_assignable<_IO_FILE*> >’
 2615 |              is_nothrow_move_assignable<_Tp>>::value);
      |                                                ^~~~~
/mnt/usr/src/gcc-11.2.0/build/include/type_traits: In instantiation of ‘struct std::is_nothrow_move_constructible<bool>’:
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:138:12:   required from ‘struct std::__and_<std::is_nothrow_move_constructible<bool>, std::is_nothrow_move_assignable<bool> >’
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:2615:48:   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]’
/mnt/usr/src/gcc-11.2.0/build/include/bits/basic_file.h:80:50:   required from here
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:1027:12: error: invalid use of incomplete type ‘struct std::__is_nothrow_move_constructible_impl<bool, true>’
 1027 |     struct is_nothrow_move_constructible
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:1014:12: note: declaration of ‘struct std::__is_nothrow_move_constructible_impl<bool, true>’
 1014 |     struct __is_nothrow_move_constructible_impl;
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/mnt/usr/src/gcc-11.2.0/build/include/type_traits: In instantiation of ‘struct std::__and_<std::is_nothrow_move_constructible<bool>, std::is_nothrow_move_assignable<bool> >’:
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:2615:48:   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]’
/mnt/usr/src/gcc-11.2.0/build/include/bits/basic_file.h:80:50:   required from here
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:138:12: error: ‘value’ is not a member of ‘std::is_nothrow_move_constructible<bool>’
  138 |     struct __and_<_B1, _B2>
      |            ^~~~~~~~~~~~~~~~
/mnt/usr/src/gcc-11.2.0/build/include/type_traits: 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]’:
/mnt/usr/src/gcc-11.2.0/build/include/bits/basic_file.h:80:50:   required from here
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:2615:48: error: ‘value’ is not a member of ‘std::__and_<std::is_nothrow_move_constructible<bool>, std::is_nothrow_move_assignable<bool> >’
 2615 |              is_nothrow_move_assignable<_Tp>>::value);
      |                                                ^~~~~
/mnt/usr/src/gcc-11.2.0/build/include/type_traits: In instantiation of ‘struct std::is_nothrow_move_constructible<std::thread::id>’:
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:138:12:   required from ‘struct std::__and_<std::is_nothrow_move_constructible<std::thread::id>, std::is_nothrow_move_assignable<std::thread::id> >’
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:2615:48:   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]’
/mnt/usr/src/gcc-11.2.0/build/include/bits/std_thread.h:172:33:   required from here
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:1027:12: error: invalid use of incomplete type ‘struct std::__is_nothrow_move_constructible_impl<std::thread::id, true>’
 1027 |     struct is_nothrow_move_constructible
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:1014:12: note: declaration of ‘struct std::__is_nothrow_move_constructible_impl<std::thread::id, true>’
 1014 |     struct __is_nothrow_move_constructible_impl;
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/mnt/usr/src/gcc-11.2.0/build/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> >’:
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:2615:48:   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]’
/mnt/usr/src/gcc-11.2.0/build/include/bits/std_thread.h:172:33:   required from here
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:138:12: error: ‘value’ is not a member of ‘std::is_nothrow_move_constructible<std::thread::id>’
  138 |     struct __and_<_B1, _B2>
      |            ^~~~~~~~~~~~~~~~
/mnt/usr/src/gcc-11.2.0/build/include/type_traits: 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]’:
/mnt/usr/src/gcc-11.2.0/build/include/bits/std_thread.h:172:33:   required from here
/mnt/usr/src/gcc-11.2.0/build/include/type_traits:2615:48: 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> >’
 2615 |              is_nothrow_move_assignable<_Tp>>::value);
      |                                                ^~~~~
In file included from /mnt/usr/src/gcc-11.2.0/build/include/cassert:43,
                 from /mnt/usr/src/gcc-11.2.0/libstdc++-v3/include/precompiled/stdc++.h:33:
/mnt/usr/src/gcc-11.2.0/build/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>]’:
/mnt/usr/src/gcc-11.2.0/build/include/bits/random.h:6073:12:   recursively required from ‘std::vector<_Tp, _Alloc>::vector() [with _Tp = unsigned int; _Alloc = std::allocator<unsigned int>]’
/mnt/usr/src/gcc-11.2.0/build/include/bits/random.h:6073:12:   required from here
/mnt/usr/src/gcc-11.2.0/build/include/bits/stl_vector.h:131:17: error: ‘value’ is not a member of ‘std::is_nothrow_default_constructible<std::allocator<unsigned int> >’
  131 |  _Vector_impl() _GLIBCXX_NOEXCEPT_IF(
      |                 ^~~~~~~~~~~~~~~~~~~~
/mnt/usr/src/gcc-11.2.0/build/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>]’:
/mnt/usr/src/gcc-11.2.0/build/include/bits/regex_automaton.h:192:25:   recursively required from ‘std::vector<_Tp, _Alloc>::vector() [with _Tp = long unsigned int; _Alloc = std::allocator<long unsigned int>]’
/mnt/usr/src/gcc-11.2.0/build/include/bits/regex_automaton.h:192:25:   required from here
/mnt/usr/src/gcc-11.2.0/build/include/bits/stl_vector.h:131:17: error: ‘value’ is not a member of ‘std::is_nothrow_default_constructible<std::allocator<long unsigned int> >’
make[2]: *** [Makefile:1862: bits/stdc++.h.gch/O2ggnu++0x.gch] Error 1
make[2]: Leaving directory '/mnt/usr/src/gcc-11.2.0/build/include'
make[1]: *** [Makefile:568: all-recursive] Error 1
make[1]: Leaving directory '/mnt/usr/src/gcc-11.2.0/build'
make: *** [Makefile:493: all] Error 2
/mnt/usr/src/gcc-11.2.0/build $
Seems to go nicely with your previous posts:
https://www.linuxquestions.org/quest...ux-4175706266/
https://www.linuxquestions.org/quest...lp-4175706269/

Posting a huge chunk of stuff without ANY context at all, is pointless...and when posting such things, use CODE tags and post the *RELEVANT* parts of things. Aside from the advice given, and the fact that you mention Ubuntu and Debian in your previous posts, and now you're in LFS, how about clarifying what you've got, from where, and what instructions you're going by???
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
warning: libstdc++.so.5 may conflict with libstdc++.so.6 sbaratam Linux - Newbie 4 05-18-2009 02:38 PM
How to find libstdc++* or compat-libstdc++-* bopedibop Linux - Newbie 2 04-29-2008 09:53 AM
FC4 doesn't have libstdc++.so.5 but libstdc++.so.6 baosheng Fedora 14 04-06-2008 10:08 AM
Need older libraries: libstdc++-3.2.4, libstdc++-libc6.-1.so.2, & compat-2004.7.1 al_moline SUSE / openSUSE 2 10-19-2007 07:01 AM
mismatched rpm versions of libstdc++ and libstdc++-devel pcweirdo Linux - Software 8 11-29-2004 09:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 01:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration