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

Anurag Gupta anuragg at miltenyi.com
Tue Aug 1 16:19:07 UTC 2023


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. However, I built odb with GCC13.1 and so far it is working, I still have to create a sample program to test out the functionalities tho.
Thank you!
AG

________________________________
From: Boris Kolpackov <boris at codesynthesis.com>
Sent: Tuesday, August 1, 2023 12:24 AM
To: build2 toolchain mailing list <users at build2.org>
Cc: Anurag Gupta <anuragg at miltenyi.com>
Subject: [EXTERNAL]Re: [build2] Segfault while building build2?

[You don't often get email from boris at codesynthesis.com. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]

WARNING: This email was sent from an address outside the company. Do not click on any links or open any file attachments unless you recognize the sender and are confident the content is safe.

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

> I'm following the instructions on https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbuild2.org%2Finstall.xhtml%23unix&data=05%7C01%7Canuragg%40miltenyi.com%7Cfacb6c7dbc944f543b0208db92603cb5%7Cf54d3069b76d43d9b2f14a23ea2ca7ce%7C0%7C0%7C638264714263335202%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=t4kBauGZ9xoT6LpYFCdGP9FcFjzyZMXiLKVmf8hTQes%3D&reserved=0<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://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpackages.ubuntu.com%2Fjammy%2Fg&data=05%7C01%7Canuragg%40miltenyi.com%7Cfacb6c7dbc944f543b0208db92603cb5%7Cf54d3069b76d43d9b2f14a23ea2ca7ce%7C0%7C0%7C638264714263335202%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=g3e4V3vZMnjoPS6W6lWRtKEst%2BB2Ur4LJq0j3Z%2BTl70%3D&reserved=0++<https://packages.ubuntu.com/jammy/g>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.build2.org/archives/users/attachments/20230801/44d6e3a7/attachment.html>


More information about the users mailing list