From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by sourceware.org (Postfix) with ESMTPS id 454D53854549 for ; Thu, 24 Nov 2022 21:52:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 454D53854549 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-x630.google.com with SMTP id e27so6492672ejc.12 for ; Thu, 24 Nov 2022 13:52:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=d1XlkOLBtBP1QQTJ+G6bIVfnr0dVn9Q+s6QUvrEll0k=; b=ZNaKz8QEJjkH3Ion6TqypLZAXP+zftK54V5Re6lEB1BAagRY+FOpzpYaaRG5mZBrIW BKjM+x9aJZllEuIffrqnWJ5zWtLwN0IYn3ZHVlqMzpD6eb0Z/ViQN7K76vrqewgluSeJ 692C06Ll5bTbSX6L08zsuWxQp9QBuJUcaaXtpbBbEh35ExznFEXDF7OSOdMvECwaCOu5 pBWcVARr63Kl53uTHj5DnrlwviqFOTJwUehSYZCTBuYRkZ6pk6pBxwcJnOvQcNJnWR6l JfymPs4MSbs63UqHstDWlHOXO/qHKVCni5TO2CZkvfUzj8xrwK94CR6wD/pTw2O6p8Yo L8Cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=d1XlkOLBtBP1QQTJ+G6bIVfnr0dVn9Q+s6QUvrEll0k=; b=U8nsSw0C1TpfcVx3QmpEcSW4TK5dBM0DEX44EfyK4kJkTRxxczVg+L2cVpOkriKOFW 0/ly2LG804ZjlANaR95wGYvlV41cAauQDv1Npm+6KfUdTeG5kq/3xCvSM1n4g7wtL4ES OY/UIm+EEmnH5ZaJt7iv8X6A7BTVkyBjKgbUqaZjmIiHucr8hPdp2pafgMhPi+I627QZ w+JPIVjZzWJjkGiA0w802s4F24xsIO0aKXZfiSnAvkFAJpEkn4+rODSe7EYqR96tLOPD Ry718mcQEvN0spIuT40SlV0O6GCThxIpkRvIHzi5ui+lNpSs+Y2TBIrjvbKwzaCevYR4 JYRg== X-Gm-Message-State: ANoB5pnXSMjjYpnNoFJri+opI+u4QhpLF6OPqbL5TtRDr5z//lr4ar4P 7ikVCEZCporFym3rOLZ6qFFgMIZPfPTmAVc4VDA= X-Google-Smtp-Source: AA0mqf4XKGzSZ1GMLNTCQI1JnmfIJhQJd9G20Tgi63LHZ6xamL9pJf+mMbR/FtylbGn3LBPAudDtZYHeikeK/jbnymw= X-Received: by 2002:a17:906:1b51:b0:78d:a30f:3f3a with SMTP id p17-20020a1709061b5100b0078da30f3f3amr29419096ejg.386.1669326741837; Thu, 24 Nov 2022 13:52:21 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Jonathan Wakely Date: Thu, 24 Nov 2022 21:52:10 +0000 Message-ID: Subject: Re: on windows To: =?UTF-8?B?QmrDtnJuIFNjaMOkcGVycw==?= Cc: libstdc++@gcc.gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,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: On Thu, 24 Nov 2022 at 21:28, Bj=C3=B6rn Sch=C3=A4pers wrote: > > 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 pos= sible > problems on windows. > > I'm willing to work on that, Great! > my question is if that repository on github is > linked in any way to the libbacktrace in gcc? Are changes from there port= ed to > the gcc code? Are changes from the gcc code ported to libbacktrace on git= hub? > Where should I start to work? it's the same code, and it looks like Ian keeps them synced.