From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0EB5B3857C44; Thu, 12 Jan 2023 14:59:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0EB5B3857C44 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1673535559; bh=t83eFh/i0Nm0lt+Goz055Ootn5m84qv53nZ02nC2iFU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=rEIkZt+oXa9WohHPzBY3rtfGS2Kl7YF9TYEInPkC90l27sFGJBRWyOl213TTXDc96 0pNMpv1OsdjDehkp+da8Gw8r4n4zkvPLh0iSchjzPAtSpIhIxbmBoXmU8GC0PivXZ8 FXx9HEChoDR9+yURYdatL477z3EbjWuRWxBXanCo= From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug build/29966] Cannot build anymore for win32 thread model of gdb Date: Thu, 12 Jan 2023 14:59:18 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: build X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: tromey at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29966 --- Comment #33 from cvs-commit at gcc dot gnu.org --- The gdb-13-branch branch has been updated by Tom Tromey : https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D3cc048fc6b1f= 29ea7f5de83815e56884bbd05f61 commit 3cc048fc6b1f29ea7f5de83815e56884bbd05f61 Author: Tom Tromey Date: Mon Jan 9 07:43:29 2023 -0700 Set _WIN32_WINNT in common.m4 configure check GCC recently added support for the Windows thread model, enabling libstdc++ to support Windows natively. However, this supporrt requires a version of Windows later than the minimum version that is supported by GDB. PR build/29966 points out that the GDB configure test for std::thread does not work in this situation, because _WIN32_WINNT is not defined in test program, and so seems to be fine. This patch is an attempt to fix the problem, by using the same setting for _WIN32_WINNT at configure time as is used at build time. I don't have access to one of the older systems so I don't think I can truly test this. I did do a mingw cross build, though. I'm going to ask the bug reporter to test it. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29966 (cherry picked from commit 2124b2de4bba05063218501dcccfc4cffe648cda) --=20 You are receiving this mail because: You are on the CC list for the bug.=