NetBSD Problem Report #57090

From www@netbsd.org  Thu Nov 24 22:55:14 2022
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id EA95C1A921F
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 24 Nov 2022 22:55:13 +0000 (UTC)
Message-Id: <20221124225513.0C82A1A9239@mollari.NetBSD.org>
Date: Thu, 24 Nov 2022 22:55:13 +0000 (UTC)
From: prlw1@cam.ac.uk
Reply-To: prlw1@cam.ac.uk
To: gnats-bugs@NetBSD.org
Subject: libcxxabi build failure
X-Send-Pr-Version: www-1.0

>Number:         57090
>Category:       pkg
>Synopsis:       libcxxabi build failure
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 24 23:00:01 +0000 2022
>Last-Modified:  Fri Nov 25 09:50:01 +0000 2022
>Originator:     Patrick Welche
>Release:        pkgsrc current of 24 Nov 2022
>Organization:
>Environment:
NetBSD-9.99.106/amd64 of 24 Nov 2022
>Description:
Trying to build libcxxabi reproducibly fails with

/tmp/pkgsrc/lang/libcxxabi/work.x86_64/libcxxabi-15.0.5.src/src/cxa_demangle.cpp
:410:1: internal compiler error: Segmentation fault                             
  410 | }  // __cxxabiv1                                                        
      | ^                                                                       
no stack trace because unwind library not available                             
Please submit a full bug report,                                                

using gcc 10.4.0 in base. This is the first time I try building the newish clang 15 version.

I see that I am not alone in seeing the failure:

http://www.ki.nu/pkgsrc/reports/current/NetBSD-9.0/20221122.0018/libcxxabi-15.0.5/build.log
>How-To-Repeat:

>Fix:

>Audit-Trail:
From: Jonathan Perkin <jperkin@mnx.io>
To: gnats-bugs@netbsd.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
Subject: Re: pkg/57090: libcxxabi build failure
Date: Fri, 25 Nov 2022 07:59:31 +0000

 >I see that I am not alone in seeing the failure:

 It also fails in the same way with GCC 10.4.0 on illumos, and is 
 currently the top failure.

 -- 
 Jonathan Perkin   -   mnx.io   -   pkgsrc.smartos.org
 Open Source Complete Cloud   www.tritondatacenter.com

From: Niclas Rosenvik <nros@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/57090: libcxxabi build failure
Date: Fri, 25 Nov 2022 10:48:31 +0100

 This was fixed in the wip version of libcxxabi by setting
 GCC_REQD+= 12, maybe GCC_REQD+= 11 would have
 been sufficient. Why was it reverted?
 Well, GCC 12 does not have this bug.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2022 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.