[build2] [EXTERNAL]Re: Segfault while building build2?

Boris Kolpackov boris at codesynthesis.com
Thu Aug 3 07:58:14 UTC 2023


Anurag Gupta via users <users at build2.org> writes:

> I built GCC 13.1.0 from source (https://gcc.gnu.org/gcc-13/) and yes,
> it worked for other projects on this system. To build build2 I switched
> to clang++-15 and it worked.

My hunch is you have runtimes mixed up or some such. Most likely libstdc++,
which is backwards but not forward compatible. So if you are still using
libstdc++ from GCC 11.2 with programs built with GCC 13 things may or may
not work.

If you want to dig deeper into this, then then next logical step would be
to run b-boot --version under gdb and see where it segfaults.



More information about the users mailing list