From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 28559C38145 for ; Fri, 2 Sep 2022 14:21:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 84F4360E07; Fri, 2 Sep 2022 14:21:54 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 84F4360E07 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mVBPZOqTFflF; Fri, 2 Sep 2022 14:21:52 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id 3E6CF60B3B; Fri, 2 Sep 2022 14:21:51 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 3E6CF60B3B Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 415101BF2B8 for ; Fri, 2 Sep 2022 14:21:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 233B08132E for ; Fri, 2 Sep 2022 14:21:49 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 233B08132E X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id F34bgYHFx-zP for ; Fri, 2 Sep 2022 14:21:48 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org F125381279 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (mail-bn8nam04olkn2065.outbound.protection.outlook.com [40.92.47.65]) by smtp1.osuosl.org (Postfix) with ESMTPS id F125381279 for ; Fri, 2 Sep 2022 14:21:47 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GsB8ugo1JQWlpZcpRVQBGwbkjO4xjGULbyNSJviS9VCVwhe9EDDrZmU2xmane8/Ysr9fuHIVvLmQLa+R8qu7RB6+25jRX0mWxLLwpWyOO9JPBhII5axMi4ajsEfrbccSrgAzLZl0zN+tKb9VvlbFdVlqLEzq3AU2KzHzC9j7IOva7Ba2Qe7G65SgjawCg7ZMhOqpyiZD2PsCzSj+Nrwse223jCLt9PP4v9ZP6hvbnz1iHIF5P6VAQFf+fxphW8XPdlcbrWyQ6k2C+x9GQW/wZEujgaVJNzmaeO7KIiLMdYLDMGNeWOZBlcqrpke6kTh1MwXIDr8el42GnieIwkLXUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=TqocVDV4nh/ZpGDEcOYFRJmDwYFuxaCViqlMi+5s9DM=; b=Sv9O+rESfWLhEJCVZ/cWL6ULpQcT0OBR9QuTtzBTG/+bwjpGhqI1RcW+8+kBKGlLjLGR0f+LgXaSyS5obglB4Hmpk+k8JGpQ2+odlDxHGcaXQbjpbdeDMR+Feo8DUygVphvJ8RXCLA1/KzM9FBIJnI7OFz9NR5n8fBMQsskVFStGh2o2Nnu4EQ3CSV6t9R74Rp47JuTjwKTsvS3d/2Ptu/4bGfS0ZoZ5DTikXoQpjVsCPYeXM/lW4+LOv1+HsDkTDASJzqdaW8ODzGNb4WbknnKOqwULOL5AbeHAcVC8THXA2i99CWWvPI6Obd3haPMPvsnx17zpOrH/QFnSs/w4vQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from CH2PR22MB1879.namprd22.prod.outlook.com (2603:10b6:610:85::16) by CH2PR22MB1813.namprd22.prod.outlook.com (2603:10b6:610:87::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5588.15; Fri, 2 Sep 2022 14:21:45 +0000 Received: from CH2PR22MB1879.namprd22.prod.outlook.com ([fe80::696c:1326:cf7f:f236]) by CH2PR22MB1879.namprd22.prod.outlook.com ([fe80::696c:1326:cf7f:f236%6]) with mapi id 15.20.5588.014; Fri, 2 Sep 2022 14:21:45 +0000 From: Alex Roberts To: "buildroot@buildroot.org" Thread-Topic: Re: [Buildroot] [Aarch64] libstdc++ segfault at end of execution Thread-Index: Adi+1yNFqR/48+RCSPqaUTRVhMbsGQ== Date: Fri, 2 Sep 2022 14:21:44 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-tmn: [zG+t90qoR+AM5mw/TUgtU2yd3D0RwAJU] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 403c5d64-26dc-4a70-b417-08da8cee76dc x-ms-traffictypediagnostic: CH2PR22MB1813:EE_ x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: bD8o2bmWa1NemoY8b6CB3rSPKsoxE2UiPjHI7qfRP1o9n+2+wO1lESBOvbwhD6IUNAlqSdjIwQ7mz8rBmkRH5S6/Q2rrxOyDgoJyjKbWDaIh+HP8uJNd5vbshpe6wuYkY6DDpo+kUaqKSOfJkK/1dqSWE0j0xsv7yJzAZzRkBIMfZbyn5AMPMkeTK2z1Q51vIIrvbzL0HlGADU9a/bTEAeTRtOXj2a0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 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CH2PR22MB1879.namprd22.prod.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 403c5d64-26dc-4a70-b417-08da8cee76dc X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Sep 2022 14:21:45.0002 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR22MB1813 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TqocVDV4nh/ZpGDEcOYFRJmDwYFuxaCViqlMi+5s9DM=; b=D/6KSKpYoZKV+IxbqrhPIs53UMpsOzKsaYmhZDlAF3m4R2jCeY195XBveMzbRFo1kXuiHUUfBDMPeUt5KLbbFZb9DNe8yW6t7fvRDwnehPG1febdPLna+Jyma6PgtoJ+HHug2FmGgofVwTrvSTFnOI8coI1VqVXEsGDHRPcXV5Hu6qkIuCx5oNv3JlY56fVQ0c4YufIOI+GMneILcDj6+CcKhQQS2PpoYmx3YWk6a9d5jG4lG6RRuN37pz/DWlmKw0FfNxKYMoZCbLfc0li0g69oJlgj5VJ35uyN2mmOUk2NhKHlGvw2bwKh4tA9NE8JlsTP77//P19QWoAOEqiQAg== X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=outlook.com header.i=@outlook.com header.a=rsa-sha256 header.s=selector1 header.b=D/6KSKpY Subject: Re: [Buildroot] [Aarch64] libstdc++ segfault at end of execution X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============8385096140215502100==" Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" --===============8385096140215502100== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_CH2PR22MB18791E063C503AAD163BBD06B57A9CH2PR22MB1879namp_" --_000_CH2PR22MB18791E063C503AAD163BBD06B57A9CH2PR22MB1879namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Lance, > I'm having segfaulting issues with c++ on aarch64 using uclibc-ng. > Anyone else using aarch64 with uclibc-ng? > I submitted a bug to gcc so am linking that here for this description. > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D106581 I have been struggling to understand why I kept getting segfaults with a si= mple helloworld test until I found your bugzilla link. I recently created a= stackoverflow post after a couple months or so of web searching and frustr= ation. https://stackoverflow.com/questions/73393107/segfault-when-writing-to-cerr-= iostream-uclibc-ng-unhandled-exception Linking against -static-libstdc++ worked as a work-around. Buildroot 2022.05-rc2 GCC 11.3.0 uClibc 1.0.41 --_000_CH2PR22MB18791E063C503AAD163BBD06B57A9CH2PR22MB1879namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi Lance,

> I'm having segfaulting issues with c+= + on aarch64 using uclibc-ng.
> Anyone else using aarch64 with uclibc= -ng?
> I submitted a bug to gcc so am linkin= g that here for this description.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D106581<= /span>

I have been struggling to understand why I= kept getting segfaults with a simple helloworld test until I found your bu= gzilla link. I recently created a stackoverflow post after a couple months = or so of web searching and frustration.


https://stackoverflow.com/questions/73393107/segfau= lt-when-writing-to-cerr-iostream-uclibc-ng-unhandled-exception
Linking against -static-libstdc++ worked as a work-around.

 <= /o:p>

Buildroot&nb= sp;2022.05-rc2

GCC 11.3.0

uClibc 1.0.4= 1

 

--_000_CH2PR22MB18791E063C503AAD163BBD06B57A9CH2PR22MB1879namp_-- --===============8385096140215502100== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot --===============8385096140215502100==--