From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.hazardy.de (mail.hazardy.de [78.94.181.132]) by sourceware.org (Postfix) with ESMTPS id 827123858000 for ; Thu, 24 Nov 2022 21:28:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 827123858000 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=hazardy.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=hazardy.de Received: from [10.0.1.129] (hades.hazardy.de [10.0.1.129]) by mail.hazardy.de (Postfix) with ESMTPSA id E5E237001F5 for ; Thu, 24 Nov 2022 22:28:12 +0100 (CET) Message-ID: Date: Thu, 24 Nov 2022 22:28:14 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Content-Language: en-US From: =?UTF-8?Q?Bj=c3=b6rn_Sch=c3=a4pers?= To: libstdc++@gcc.gnu.org Subject: on windows Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,KAM_DMARC_STATUS,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi there, I want to use C++23's on windows (in particular msys2 MinGW), but had to realize that _GLIBCXX_HAVE_STACKTRACE is not defined. That I got quite easily fixed, and have my copy of libstdc++_libbacktrace.a, but using that segfaults immediately. There is no filename inserted into __glibcxx_backtrace_create_state and itself does not find one on windows, than the error callback is called, which is not provided (nullptr). When looking at the libbacktrace issues on github [1] I see some more possible problems on windows. I'm willing to work on that, my question is if that repository on github is linked in any way to the libbacktrace in gcc? Are changes from there ported to the gcc code? Are changes from the gcc code ported to libbacktrace on github? Where should I start to work? [1] https://github.com/ianlancetaylor/libbacktrace/issues Kind regards, Björn.