Ошибка сборки GCC (p2 - временная система)
Linuxoid85 opened this issue · 0 comments
Linuxoid85 commented
Этап сборки:
$ make
...
make "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CC_FOR_TARGET=x86_64-lin-linux-gnu-gcc" "CFLAGS=-g -s -O2" "CXXFLAGS=-g -s -O2 -D_GNU_SOURCE" "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=-g -s -O2" "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=-L/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libgcc" "LIBCFLAGS=-g -s -O2" "LIBCFLAGS_FOR_TARGET=-g -s -O2" "MAKE=make" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000 " "SHELL=/bin/sh" "RUNTESTFLAGS=" "exec_prefix=/usr" "infodir=/usr/share/info" "libdir=/usr/lib" "includedir=/usr/include" "prefix=/usr" "tooldir=/usr/x86_64-lin-linux-gnu" "gxx_include_dir=/usr/include/c++/11.2.0" "AR=/mnt/lin/tools/lib/gcc/x86_64-lin-linux-gnu/11.2.0/../../../../x86_64-lin-linux-gnu/bin/ar" "AS=/mnt/lin/tools/lib/gcc/x86_64-lin-linux-gnu/11.2.0/../../../../x86_64-lin-linux-gnu/bin/as" "LD=/mnt/lin/tools/lib/gcc/x86_64-lin-linux-gnu/11.2.0/../../../../x86_64-lin-linux-gnu/bin/ld" "RANLIB=/mnt/lin/tools/lib/gcc/x86_64-lin-linux-gnu/11.2.0/../../../../x86_64-lin-linux-gnu/bin/ranlib" "NM=/mnt/lin/tools/lib/gcc/x86_64-lin-linux-gnu/11.2.0/../../../../x86_64-lin-linux-gnu/bin/nm" "NM_FOR_BUILD=" "NM_FOR_TARGET=/mnt/lin/tools/lib/gcc/x86_64-lin-linux-gnu/11.2.0/../../../../x86_64-lin-linux-gnu/bin/nm" "DESTDIR=" "WERROR=" all-recursive
make[3]: Entering directory '/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3'
Making all in include
make[4]: Entering directory '/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include'
mkdir -p ./x86_64-lin-linux-gnu/bits/stdc++.h.gch
x86_64-lin-linux-gnu-c++ -x c++-header -nostdinc++ -g -s -O2 -D_GNU_SOURCE -I/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/x86_64-lin-linux-gnu -I/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include -I/mnt/lin/usr/src/gcc-11.2.0/libstdc++-v3/libsupc++ -O2 -g -std=gnu++0x /mnt/lin/usr/src/gcc-11.2.0/libstdc++-v3/include/precompiled/stdc++.h \
-o x86_64-lin-linux-gnu/bits/stdc++.h.gch/O2ggnu++0x.gch
In file included from /mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/condition_variable:40,
from /mnt/lin/usr/src/gcc-11.2.0/libstdc++-v3/include/precompiled/stdc++.h:103:
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/bits/std_mutex.h:129:22: error: '__gthread_time_t' does not name a type; did you mean '__gthread_once_t'?
129 | using timespec = __gthread_time_t;
| ^~~~~~~~~~~~~~~~
| __gthread_once_t
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/bits/std_mutex.h:148:5: error: '__gthread_cond_t' does not name a type; did you mean '__pthread_cond_s'?
148 | __gthread_cond_t* native_handle() noexcept { return &_M_cond; }
| ^~~~~~~~~~~~~~~~
| __pthread_cond_s
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/bits/std_mutex.h:192:5: error: '__gthread_cond_t' does not name a type; did you mean '__pthread_cond_s'?
192 | __gthread_cond_t _M_cond;
| ^~~~~~~~~~~~~~~~
| __pthread_cond_s
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/bits/std_mutex.h: In constructor 'std::__condvar::__condvar()':
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/bits/std_mutex.h:135:37: error: '_M_cond' was not declared in this scope
135 | __GTHREAD_COND_INIT_FUNCTION(&_M_cond);
| ^~~~~~~
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/bits/std_mutex.h:135:7: error: '__GTHREAD_COND_INIT_FUNCTION' was not declared in this scope
135 | __GTHREAD_COND_INIT_FUNCTION(&_M_cond);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/bits/std_mutex.h: In destructor 'std::__condvar::~__condvar()':
Михаил, [20.03.2022 14:40]
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/bits/std_mutex.h:141:69: error: '_M_cond' was not declared in this scope
141 | int __e __attribute__((__unused__)) = __gthread_cond_destroy(&_M_cond);
| ^~~~~~~
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/bits/std_mutex.h:141:45: error: '__gthread_cond_destroy' was not declared in this scope; did you mean '__gthread_mutex_destroy'?
141 | int __e __attribute__((__unused__)) = __gthread_cond_destroy(&_M_cond);
| ^~~~~~~~~~~~~~~~~~~~~~
| __gthread_mutex_destroy
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/bits/std_mutex.h: In member function 'void std::__condvar::wait(std::mutex&)':
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/bits/std_mutex.h:155:32: error: '_M_cond' was not declared in this scope
155 | = __gthread_cond_wait(&_M_cond, __m.native_handle());
| ^~~~~~~
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/bits/std_mutex.h:155:11: error: '__gthread_cond_wait' was not declared in this scope; did you mean '__pthread_cond_s'?
155 | = __gthread_cond_wait(&_M_cond, __m.native_handle());
| ^~~~~~~~~~~~~~~~~~~
| __pthread_cond_s
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/bits/std_mutex.h: In member function 'void std::__condvar::wait_until(std::mutex&, timespec&)':
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/bits/std_mutex.h:162:33: error: '_M_cond' was not declared in this scope
162 | __gthread_cond_timedwait(&_M_cond, __m.native_handle(), &__abs_time);
| ^~~~~~~
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/bits/std_mutex.h:162:7: error: '__gthread_cond_timedwait' was not declared in this scope
162 | __gthread_cond_timedwait(&_M_cond, __m.native_handle(), &__abs_time);
| ^~~~~~~~~~~~~~~~~~~~~~~~
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/bits/std_mutex.h: In member function 'void std::__condvar::wait_until(std::mutex&, clockid_t, timespec&)':
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/bits/std_mutex.h:169:31: error: '_M_cond' was not declared in this scope
169 | pthread_cond_clockwait(&_M_cond, __m.native_handle(), __clock,
| ^~~~~~~
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/bits/std_mutex.h:169:7: error: 'pthread_cond_clockwait' was not declared in this scope; did you mean 'pthread_cond_t'?
169 | pthread_cond_clockwait(&_M_cond, __m.native_handle(), __clock,
| ^~~~~~~~~~~~~~~~~~~~~~
| pthread_cond_t
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/bits/std_mutex.h: In member function 'void std::__condvar::notify_one()':
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/bits/std_mutex.h:177:68: error: '_M_cond' was not declared in this scope
177 | int __e __attribute__((__unused__)) = __gthread_cond_signal(&_M_cond);
| ^~~~~~~
Михаил, [20.03.2022 14:40]
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/bits/std_mutex.h:177:45: error: '__gthread_cond_signal' was not declared in this scope; did you mean '__pthread_cond_s'?
177 | int __e __attribute__((__unused__)) = __gthread_cond_signal(&_M_cond);
| ^~~~~~~~~~~~~~~~~~~~~
| __pthread_cond_s
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/bits/std_mutex.h: In member function 'void std::__condvar::notify_all()':
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/bits/std_mutex.h:184:71: error: '_M_cond' was not declared in this scope
184 | t __e __attribute__((__unused__)) = __gthread_cond_broadcast(&_M_cond);
| ^~~~~~~
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/bits/std_mutex.h:184:45: error: '__gthread_cond_broadcast' was not declared in this scope
184 | int __e __attribute__((__unused__)) = __gthread_cond_broadcast(&_M_cond);
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /mnt/lin/usr/src/gcc-11.2.0/libstdc++-v3/include/precompiled/stdc++.h:103:
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/condition_variable: At global scope:
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/condition_variable:81:13: error: '__gthread_cond_t' does not name a type; did you mean '__pthread_cond_s'?
81 | typedef __gthread_cond_t* native_handle_type;
| ^~~~~~~~~~~~~~~~
| __pthread_cond_s
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/condition_variable:181:5: error: 'native_handle_type' does not name a type
181 | native_handle_type
| ^~~~~~~~~~~~~~~~~~
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/condition_variable: In member function 'std::cv_status std::condition_variable::__wait_until_impl(std::unique_lock<std::mutex>&, const std::chrono::time_point<std::chrono::_V2::steady_clock, _Duration>&)':
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/condition_variable:195:9: error: '__gthread_time_t' was not declared in this scope; did you mean '__gthread_once_t'?
195 | __gthread_time_t __ts =
| ^~~~~~~~~~~~~~~~
| __gthread_once_t
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/condition_variable:201:62: error: '__ts' was not declared in this scope; did you mean '__ns'?
201 | _M_cond.wait_until(*__lock.mutex(), CLOCK_MONOTONIC, __ts);
| ^~~~
| __ns
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/condition_variable: In member function 'std::cv_status std::condition_variable::__wait_until_impl(std::unique_lock<std::mutex>&, const std::chrono::time_point<std::chrono::_V2::system_clock, _Dur2>&)':
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/condition_variable:216:9: error: '__gthread_time_t' was not declared in this scope; did you mean '__gthread_once_t'?
216 | __gthread_time_t __ts =
| ^~~~~~~~~~~~~~~~
| __gthread_once_t
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/condition_variable:222:45: error: '__ts' was not declared in this scope; did you mean '__ns'?
222 | _M_cond.wait_until(*__lock.mutex(), __ts);
| ^~~~
| __ns
In file included from /mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/future:38,
from /mnt/lin/usr/src/gcc-11.2.0/libstdc++-v3/include/precompiled/stdc++.h:105:
Михаил, [20.03.2022 14:40]
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/mutex: In member function 'bool std::__timed_mutex_impl<_Derived>::_M_try_lock_until(const std::chrono::time_point<std::chrono::_V2::system_clock, _Duration>&)':
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/mutex:163:11: error: '__gthread_time_t' was not declared in this scope; did you mean '__gthread_once_t'?
163 | __gthread_time_t __ts = {
| ^~~~~~~~~~~~~~~~
| __gthread_once_t
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/mutex:168:61: error: '__ts' was not declared in this scope; did you mean '__ns'?
168 | return static_cast<_Derived*>(this)->_M_timedlock(__ts);
| ^~~~
| __ns
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/mutex: In member function 'bool std::__timed_mutex_impl<_Derived>::_M_try_lock_until(const std::chrono::time_point<std::chrono::_V2::steady_clock, _Duration>&)':
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/mutex:180:11: error: '__gthread_time_t' was not declared in this scope; did you mean '__gthread_once_t'?
180 | __gthread_time_t __ts = {
| ^~~~~~~~~~~~~~~~
| __gthread_once_t
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/mutex:186:61: error: '__ts' was not declared in this scope; did you mean '__ns'?
186 | __ts);
| ^~~~
| __ns
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/mutex: At global scope:
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/mutex:266:26: error: '__gthread_time_t' does not name a type; did you mean '__gthread_once_t'?
266 | _M_timedlock(const __gthread_time_t& __ts)
| ^~~~~~~~~~~~~~~~
| __gthread_once_t
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/mutex:271:45: error: '__gthread_time_t' does not name a type; did you mean '__gthread_once_t'?
271 | _M_clocklock(clockid_t clockid, const __gthread_time_t& __ts)
| ^~~~~~~~~~~~~~~~
| __gthread_once_t
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/mutex: In member function 'bool std::timed_mutex::_M_timedlock(const int&)':
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/mutex:267:17: error: '__gthread_mutex_timedlock' was not declared in this scope; did you mean '__gthread_mutex_trylock'?
267 | { return !__gthread_mutex_timedlock(&_M_mutex, &__ts); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| __gthread_mutex_trylock
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/mutex: In member function 'bool std::timed_mutex::_M_clocklock(clockid_t, const int&)':
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/mutex:272:17: error: 'pthread_mutex_clocklock' was not declared in this scope
272 | { return !pthread_mutex_clocklock(&_M_mutex, clockid, &__ts); }
| ^~~~~~~~~~~~~~~~~~~~~~~
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/mutex: At global scope:
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/mutex:332:26: error: '__gthread_time_t' does not name a type; did you mean '__gthread_once_t'?
332 | _M_timedlock(const __gthread_time_t& __ts)
| ^~~~~~~~~~~~~~~~
| __gthread_once_t
Михаил, [20.03.2022 14:40]
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/mutex:337:45: error: '__gthread_time_t' does not name a type; did you mean '__gthread_once_t'?
337 | _M_clocklock(clockid_t clockid, const __gthread_time_t& __ts)
| ^~~~~~~~~~~~~~~~
| __gthread_once_t
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/mutex: In member function 'bool std::recursive_timed_mutex::_M_timedlock(const int&)':
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/mutex:333:17: error: '__gthread_recursive_mutex_timedlock' was not declared in this scope; did you mean '__gthread_recursive_mutex_trylock'?
333 | { return !__gthread_recursive_mutex_timedlock(&_M_mutex, &__ts); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| __gthread_recursive_mutex_trylock
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/mutex: In member function 'bool std::recursive_timed_mutex::_M_clocklock(clockid_t, const int&)':
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/mutex:338:17: error: 'pthread_mutex_clocklock' was not declared in this scope
338 | { return !pthread_mutex_clocklock(&_M_mutex, clockid, &__ts); }
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/future:48,
from /mnt/lin/usr/src/gcc-11.2.0/libstdc++-v3/include/precompiled/stdc++.h:105:
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/bits/std_thread.h: At global scope:
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/bits/std_thread.h:75:32: error: '__gthread_t' does not name a type; did you mean 'pthread_t'?
75 | using native_handle_type = __gthread_t;
| ^~~~~~~~~~~
| pthread_t
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/bits/std_thread.h:83:7: error: 'native_handle_type' does not name a type
83 | native_handle_type _M_thread;
| ^~~~~~~~~~~~~~~~~~
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/bits/std_thread.h:89:28: error: expected ')' before '__id'
89 | id(native_handle_type __id) : _M_thread(__id) { }
| ~ ^~~~~
| )
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/bits/std_thread.h:190:5: error: 'native_handle_type' does not name a type
190 | native_handle_type
| ^~~~~~~~~~~~~~~~~~
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/bits/std_thread.h: In constructor 'std::thread::id::id()':
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/bits/std_thread.h:86:23: error: class 'std::thread::id' does not have any field named '_M_thread'
86 | id() noexcept : _M_thread() { }
| ^~~~~~~~~
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/bits/std_thread.h: In function 'bool std::operator==(std::thread::id, std::thread::id)':
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/bits/std_thread.h:287:16: error: 'class std::thread::id' has no member named '_M_thread'
287 | return __x._M_thread == __y._M_thread;
| ^~~~~~~~~
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/bits/std_thread.h:287:33: error: 'class std::thread::id' has no member named '_M_thread'
287 | return __x._M_thread == __y._M_thread;
| ^~~~~~~~~
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/bits/std_thread.h: In member function 'std::size_t std::hash<std::thread::id>::operator()(const std::thread::id&) const':
Михаил, [20.03.2022 14:40]
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/bits/std_thread.h:300:43: error: 'const class std::thread::id' has no member named '_M_thread'
300 | { return std::_Hash_impl::hash(__id._M_thread); }
| ^~~~~~~~~
In file included from /mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/x86_64-lin-linux-gnu/bits/c++config.h:586,
from /mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/cassert:43,
from /mnt/lin/usr/src/gcc-11.2.0/libstdc++-v3/include/precompiled/stdc++.h:33:
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/bits/std_thread.h: In function 'std::thread::id std::this_thread::get_id()':
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/bits/std_thread.h:312:25: error: 'pthread_self' was not declared in this scope; did you mean 'pthread_kill'?
312 | return thread::id(_GLIBCXX_NATIVE_THREAD_ID);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/future:48,
from /mnt/lin/usr/src/gcc-11.2.0/libstdc++-v3/include/precompiled/stdc++.h:105:
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/bits/std_thread.h: In function 'void std::this_thread::yield()':
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/bits/std_thread.h:323:7: error: '__gthread_yield' was not declared in this scope; did you mean '__gthread_once_t'?
323 | __gthread_yield();
| ^~~~~~~~~~~~~~~
| __gthread_once_t
In file included from /mnt/lin/usr/src/gcc-11.2.0/libstdc++-v3/include/precompiled/stdc++.h:113:
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/thread: In function 'bool std::operator<(std::thread::id, std::thread::id)':
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/thread:74:16: error: 'class std::thread::id' has no member named '_M_thread'
74 | return __x._M_thread < __y._M_thread;
| ^~~~~~~~~
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/thread:74:32: error: 'class std::thread::id' has no member named '_M_thread'
74 | return __x._M_thread < __y._M_thread;
| ^~~~~~~~~
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/thread: In function 'std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::thread::id)':
/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include/thread:97:30: error: 'class std::thread::id' has no member named '_M_thread'
97 | return __out << __id._M_thread;
| ^~~~~~~~~
make[4]: *** [Makefile:1862: x86_64-lin-linux-gnu/bits/stdc++.h.gch/O2ggnu++0x.gch] Error 1
make[4]: Leaving directory '/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3/include'
make[3]: *** [Makefile:568: all-recursive] Error 1
make[3]: Leaving directory '/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3'
make[2]: *** [Makefile:493: all] Error 2
make[2]: Leaving directory '/mnt/lin/usr/src/gcc-11.2.0/build/x86_64-lin-linux-gnu/libstdc++-v3'
make[1]: *** [Makefile:13078: all-target-libstdc++-v3] Error 2
make[1]: Leaving directory '/mnt/lin/usr/src/gcc-11.2.0/build'
make: *** [Makefile:965: all] Error 2
- Версия руководства: dev
- Структура директорий: раздельная