<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
I built GCC 13.1.0 from source (<a href="https://gcc.gnu.org/gcc-13/" id="LPlnk945151">https://gcc.gnu.org/gcc-13/</a>) 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.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
Thank you!</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
AG</div>
<div id="appendonsend"></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size: 11pt; color: rgb(0, 0, 0);"><b>From:</b> Boris Kolpackov <boris@codesynthesis.com><br>
<b>Sent:</b> Tuesday, August 1, 2023 12:24 AM<br>
<b>To:</b> build2 toolchain mailing list <users@build2.org><br>
<b>Cc:</b> Anurag Gupta <anuragg@miltenyi.com><br>
<b>Subject:</b> [EXTERNAL]Re: [build2] Segfault while building build2?</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="PlainText">[You don't often get email from boris@codesynthesis.com. Learn why this is important at
<a href="https://aka.ms/LearnAboutSenderIdentification" data-auth="NotApplicable">
https://aka.ms/LearnAboutSenderIdentification</a> ]<br>
<br>
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.<br>
<br>
Anurag Gupta via users <users@build2.org> writes:<br>
<br>
> I'm following the instructions on <a href="https://build2.org/install.xhtml#unix" data-auth="NotApplicable">
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</a>
to<br>
> build build2 on Ubuntu 22.04 with gcc 13.<br>
><br>
> + build2/b-boot --version<br>
> Segmentation fault (core dumped)<br>
<br>
Hm, that's strange. One odd thing I immediately notice about your<br>
setup is GCC 13, which is not the default version on Ubuntu 22.04<br>
(the default is 11.2.0[1]). In fact GCC 13 is not even available<br>
from backports. Where did you get this compiler and are you sure<br>
it is functional (i.e., have you tried to build and run anything<br>
else with it)?<br>
<br>
[1] <a href="https://packages.ubuntu.com/jammy/g" data-auth="NotApplicable">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++</a><br>
</div>
</span></font></div>
</body>
</html>