From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot1-x335.google.com (mail-ot1-x335.google.com [IPv6:2607:f8b0:4864:20::335]) by sourceware.org (Postfix) with ESMTPS id 697753858D38 for ; Mon, 10 Apr 2023 23:22:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 697753858D38 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ot1-x335.google.com with SMTP id 39-20020a9d04aa000000b006a1370e214aso1318565otm.11 for ; Mon, 10 Apr 2023 16:22:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681168967; x=1683760967; h=mime-version:message-id:date:in-reply-to:subject:cc:to:from :user-agent:references:from:to:cc:subject:date:message-id:reply-to; bh=jl7c7CXuyI/8Kv/mhs5qbN4usto6Yo1ZveiktgCKJkw=; b=zh4VR38qq/mGEugYSWFcKkncOc485lOqBcSWHUmxwALDZ12yZ4zw5g2q+cTBMeDHLq uHh4lVBqHIwc0Y4Ls6ddb1PwH5XVPe/Q/KjwhPeL8h9vYnG69Yua7xpgjX1rzK2D1EYd EoLSR6cSYjLb7eiE08FNKg1B7dBomHn3imnGME5BPl4De3oGZ1ePwuyaYSVtw0IOuMxa naHPHc9YRfhk3C1mxkRnznxJgCtAx2JaLWK8xlC52G+QRFv3UBxFKihIrQBQDlJuKVLm ci/Olgq8PVxbgpAhUmnuMxLicevKFPagET3smY4eIW6udZZnY610XiSZYFG6IQd3LAxk 0ePg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681168967; x=1683760967; h=mime-version:message-id:date:in-reply-to:subject:cc:to:from :user-agent:references:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=jl7c7CXuyI/8Kv/mhs5qbN4usto6Yo1ZveiktgCKJkw=; b=vBlFyCYFwImEx250Z+dzMhNj4SqM5HIIKCNZ0quq2Q1s1BHveqbOyKD69FDI4Ya7JI EIOy0U7UQ9qulFRwWsXFMkjdiWG0fXU8jyg/AIc4+ooCHGFJpdCm9LA6zGT540fnYT+o jZPyjcKoyx9QNioFto+/6GOyECJDxmHl2acSAphZqJLVfkWlgQ9U1hCvbvpnSVeutHiH TXaI9WhI9g9UWalaSxqJz9YT7ILZkuJBj78+qnmNL8LSdN15cBULW7Xs87L4i+MHKGWb 0Jge9MZjwEH+myB1s7gETtE2eYE1z2OzZr2l29F0nrHYNWE+23LJxCEQVl83YubY44VV ka8w== X-Gm-Message-State: AAQBX9dnZXk1XkyYQMNu2398GEGWiQebLWX2iC8+/WKETlxXqRjox08j ZsAbZFAmeqBylxPdOktNOM7oQqafGkiy7SEowho= X-Google-Smtp-Source: AKy350aHj1UBxbcVVem/j+H2wvn/+gvZaIpFAMIDoaFAoJvn14eZbKvAjnNWWoDnIuypkHgsw8Xh4g== X-Received: by 2002:a9d:7cc2:0:b0:69f:b3d6:37c9 with SMTP id r2-20020a9d7cc2000000b0069fb3d637c9mr4741381otn.20.1681168967767; Mon, 10 Apr 2023 16:22:47 -0700 (PDT) Received: from localhost ([2804:14d:7e39:8470:2a21:3219:2ea5:224d]) by smtp.gmail.com with ESMTPSA id d8-20020a0568301b6800b0069f153bb37asm4762694ote.62.2023.04.10.16.22.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Apr 2023 16:22:47 -0700 (PDT) References: <20230410042136.351081-1-thiago.bauermann@linaro.org> <87r0sr7qh0.fsf@tromey.com> User-agent: mu4e 1.10.0; emacs 28.2 From: Thiago Jung Bauermann To: Tom Tromey Cc: Thiago Jung Bauermann via Gdb-patches Subject: Re: [PATCH] gdb/dwarf: Fix MinGW build In-reply-to: <87r0sr7qh0.fsf@tromey.com> Date: Mon, 10 Apr 2023 23:22:45 +0000 Message-ID: <87mt3f7262.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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: Tom Tromey writes: >>>>>> Thiago Jung Bauermann via Gdb-patches writes: > >> Unfortunately MinGW doesn't support std::future yet, so this causes the >> build to fail. Use GDB's version which provides a fallback for this case. > >> Tested for regressions on native aarch64-linux. > > Thanks, & sorry about that. No problem. > This doesn't fail for me using the Fedora mingw cross toolchain, I don't > know why. Internally at AdaCore, it works fine, because we use a > version of GCC that implements std::thread for mingw. Interesting. For the record, I noticed this with gcc-mingw-w64-i686 from Ubuntu 20.04 and 22.04, versions 9.3.0-7ubuntu1+22~exp1ubuntu4 and 10.3.0-14ubuntu1+24.3 respectively. > Anyway... > > Approved-By: Tom Tromey Thanks! Committed. -- Thiago