[build2] Segfault while building build2?

Boris Kolpackov boris at codesynthesis.com
Tue Aug 1 07:24:11 UTC 2023


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

> I'm following the instructions on https://build2.org/install.xhtml#unix to
> build build2 on Ubuntu 22.04 with gcc 13.
>
> + build2/b-boot --version
> Segmentation fault (core dumped)

Hm, that's strange. One odd thing I immediately notice about your
setup is GCC 13, which is not the default version on Ubuntu 22.04
(the default is 11.2.0[1]). In fact GCC 13 is not even available
from backports. Where did you get this compiler and are you sure
it is functional (i.e., have you tried to build and run anything
else with it)?

[1] https://packages.ubuntu.com/jammy/g++



More information about the users mailing list