From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <sourceware-bugzilla@sourceware.org>
Received: by sourceware.org (Postfix, from userid 48)
	id 96B043858428; Wed, 11 Jan 2023 18:00:54 +0000 (GMT)
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 96B043858428
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org;
	s=default; t=1673460054;
	bh=o3/qNJhXwbszxWhnum05GHom8SCPNGb0CTBDW9VvR74=;
	h=From:To:Subject:Date:In-Reply-To:References:From;
	b=Wa7WdTaohnw3KARzp4HiYrS9RrvltkEzH/eItV2FCC35GAc/szSFE5pCjVC7sC+K8
	 0LXThYDSOCdCBs64ux5yMcxWXMN+hlKHa4ljEQJ6Qwv+6DtMOwPZ2iMvEpevuCzSNn
	 tfq6hYVegRW6eZRjcLHK37TUQ8pnILn8lqgEioP8=
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug build/29966] Cannot build anymore for win32 thread model of gdb
Date: Wed, 11 Jan 2023 18:00:53 +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: <bug-29966-4717-w4A14Q6tIY@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-29966-4717@http.sourceware.org/bugzilla/>
References: <bug-29966-4717@http.sourceware.org/bugzilla/>
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: <gdb-prs.sourceware.org>

https://sourceware.org/bugzilla/show_bug.cgi?id=3D29966

--- Comment #31 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot g=
nu.org> ---
The master branch has been updated by Tom Tromey <tromey@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D2124b2de4bba=
05063218501dcccfc4cffe648cda

commit 2124b2de4bba05063218501dcccfc4cffe648cda
Author: Tom Tromey <tromey@adacore.com>
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 <thread> 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

--=20
You are receiving this mail because:
You are on the CC list for the bug.=