Problem rebuilding toolchain with glibc 2.41

"lumaro" ([email protected] via lfs-support Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.support
Message-ID <[email protected]>
Hi all,

I have tried many configurations, even following the lfs guidelines to 
compile and install the updated toolchain. The problem comes when I have 
glibc 2.41 installed and I try to recompile gcc, it gives the following 
error.

I have tried gcc in both the latest release and the latest snapshot, 
with the same result. Has this happened to anyone else? Any ideas? Thank 
you, Luis

-----------------

checking for stdlib.h... checking for stdint.h... checking for 
strings.h... checking for inttypes.h... checking for memory.h... In file 
included from 
/usr/include/c++/14.2.1/x86_64-pc-linux-gnu/bits/gthr-default.h:35,
                  from 
/usr/include/c++/14.2.1/x86_64-pc-linux-gnu/bits/gthr.h:157,
                  from /usr/include/c++/14.2.1/ext/atomicity.h:35,
                  from /usr/include/c++/14.2.1/bits/shared_ptr_base.h:61,
                  from /usr/include/c++/14.2.1/bits/shared_ptr.h:53,
                  from /usr/include/c++/14.2.1/memory:80,
                  from ../../libcody/cody.hh:24,
                  from ../../libcody/internal.hh:5,
                  from ../../libcody/server.cc:6:
/usr/include/c++/14.2.1/ext/concurrence.h:252:32: error: cannot convert 
'<brace-enclosed initializer list>' to 'unsigned int' in initialization
   252 |     __gthread_cond_t _M_cond = __GTHREAD_COND_INIT;
       |                                ^~~~~~~~~~~~~~~~~~~
In file included from 
/usr/include/c++/14.2.1/x86_64-pc-linux-gnu/bits/gthr-default.h:35,
                  from 
/usr/include/c++/14.2.1/x86_64-pc-linux-gnu/bits/gthr.h:157,
                  from /usr/include/c++/14.2.1/ext/atomicity.h:35,
                  from /usr/include/c++/14.2.1/bits/shared_ptr_base.h:61,
                  from /usr/include/c++/14.2.1/bits/shared_ptr.h:53,
                  from /usr/include/c++/14.2.1/memory:80,
                  from ../../libcody/cody.hh:24,
                  from ../../libcody/internal.hh:5,
                  from ../../libcody/netserver.cc:6:
/usr/include/c++/14.2.1/ext/concurrence.h:252:32: error: cannot convert 
'<brace-enclosed initializer list>' to 'unsigned int' in initialization
   252 |     __gthread_cond_t _M_cond = __GTHREAD_COND_INIT;
       |                                ^~~~~~~~~~~~~~~~~~~
In file included from 
/usr/include/c++/14.2.1/x86_64-pc-linux-gnu/bits/gthr-default.h:35,
                  from 
/usr/include/c++/14.2.1/x86_64-pc-linux-gnu/bits/gthr.h:157,
                  from /usr/include/c++/14.2.1/ext/atomicity.h:35,
                  from /usr/include/c++/14.2.1/bits/shared_ptr_base.h:61,
                  from /usr/include/c++/14.2.1/bits/shared_ptr.h:53,
                  from /usr/include/c++/14.2.1/memory:80,
                  from ../../libcody/cody.hh:24,
                  from ../../libcody/internal.hh:5,
                  from ../../libcody/packet.cc:6:
/usr/include/c++/14.2.1/ext/concurrence.h:252:32: error: cannot convert 
'<brace-enclosed initializer list>' to 'unsigned int' in initialization
...

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-support
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.