From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io1-xd2f.google.com (mail-io1-xd2f.google.com [IPv6:2607:f8b0:4864:20::d2f]) by sourceware.org (Postfix) with ESMTPS id D96FE3858C52 for ; Mon, 10 Apr 2023 14:37:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D96FE3858C52 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com Received: by mail-io1-xd2f.google.com with SMTP id a1so2453234iow.6 for ; Mon, 10 Apr 2023 07:37:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1681137468; x=1683729468; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=AT8cJXNHLMpEQLBg3i/OIwoUQGYBW8vkNjO0CJ4wjek=; b=VBv5UiVl2abMD+Pm00yoyBqPBhJU4MvUd9ifXSY/sVUAYDSRm4jQB9jYTJWLQezvA/ How5f9hzzK4jDSs/IcdtN5r7lhA1ZjXEWHOJGt4KWAYF0ZOPSuIGlWUGUyZb2V67jyTG 52qMfhfLupFXuUzlVsOWWTJVn6yBlQLbGht+twt7gg0fo7j5JVb5MOaQTwaEiW/Q+kNd aNPE72z1AQ+E7058VOV9DC3AWQ49tWGOJdxYLROrjzX2sDzALPzzEjpPdhboYc4JoW/C 0yWLQv8Vn08ew/ctDCpbwXplJnnVEWb+tp7iPvXvCJUvS1baMUclDmwjB8/8pKB/3B/p EAWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681137468; x=1683729468; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=AT8cJXNHLMpEQLBg3i/OIwoUQGYBW8vkNjO0CJ4wjek=; b=vZYdo1FVycNI/v58OCm8p/NXZ3zL290W/fbnwUTKfhKAdfOjSye3cnAQKYvcz2zqRY EHtSHWIBRtk0B+fSvBbhV6y+Ve7AvAW0cWlHRDhXZsXVvLz2/bOcU0MwJSevnFQ4vnXU hp+RQ2f5wmGfhrwu2r3gNHN/eLVUfgKtG7vMNttpq7XdhuTBpb9nzrO331RbFuft/z6f YcFyiEfoD2iLsBb1n46lk2x4qaUbkjzisT8AyA/ShrTs9ft+lpI+ICQWTv5AmCv7mEDo q5GoP0LKSlEuit1Ao+qt6mHULH27/Acmf7z9M6YdPf03iW4TN+tKGz7xpPk6DqqGX7zT 3rSQ== X-Gm-Message-State: AAQBX9fKMlFD0TZFhHEVvll5+nMgxPEgkQVUrcSo6Ka6nYx0kHtd01XC 86+ic64XteUPapG7HPScOxA0qw== X-Google-Smtp-Source: AKy350a8Szolm05mtEU/SUwx4hYDq12wKAAPxKeNLaMtM3syBHNP+vD2BtYKMZJVPHIUp55yKU9dSg== X-Received: by 2002:a5d:959a:0:b0:753:ee63:3dc with SMTP id a26-20020a5d959a000000b00753ee6303dcmr6154721ioo.20.1681137468067; Mon, 10 Apr 2023 07:37:48 -0700 (PDT) Received: from murgatroyd (75-166-159-36.hlrn.qwest.net. [75.166.159.36]) by smtp.gmail.com with ESMTPSA id w9-20020a6b4a09000000b007596db3874dsm3005071iob.35.2023.04.10.07.37.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Apr 2023 07:37:47 -0700 (PDT) From: Tom Tromey To: Thiago Jung Bauermann via Gdb-patches Cc: Thiago Jung Bauermann Subject: Re: [PATCH] gdb/dwarf: Fix MinGW build References: <20230410042136.351081-1-thiago.bauermann@linaro.org> X-Attribution: Tom Date: Mon, 10 Apr 2023 08:37:47 -0600 In-Reply-To: <20230410042136.351081-1-thiago.bauermann@linaro.org> (Thiago Jung Bauermann via Gdb-patches's message of "Mon, 10 Apr 2023 04:21:36 +0000") Message-ID: <87r0sr7qh0.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-5.8 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: >>>>> 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. 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. Anyway... Approved-By: Tom Tromey Tom