From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1F6CF3858C78; Tue, 10 Jan 2023 01:32:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1F6CF3858C78 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1673314348; bh=ZZNSeMltfu/to2PybAoiRinyWZVno0jNVh2X5g5cM1w=; h=From:To:Subject:Date:In-Reply-To:References:From; b=YS7wuNQqAgQw/KGxX9k1z49HmuDJXGhi8XeYEzI6kkbaw9nZqSiLZOREcD0/RDK1S CF5FQHo4FDprRUphWG1jBBFKPikC1bYiCEFe92uiXVIHgWtTYwMiUErWjjWQlczZad 8JtKhmu2jJZ7Ria4OOJQ+mYvmcdHFhVeU+wafBUU= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug build/29966] Cannot build anymore for win32 thread model of gdb Date: Tue, 10 Jan 2023 01:32:26 +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: tromey at sourceware dot 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 #22 from Tom Tromey --- (In reply to cqwrteur from comment #20) > (In reply to Tom Tromey from comment #19) > > Could you please try this patch? > >=20 > > https://sourceware.org/pipermail/gdb-patches/2023-January/195484.html >=20 > #if _WIN32_WINNT >=3D 0x0600 > #define __GTHREAD_HAS_COND 1 > #define __GTHREADS_CXX0X 1 > #endif >=20 > So the variable needs to be larger than 0x0600 Let me agree here with Jonathan. The goal of the patch is not to somehow make threads work on your system. That can't be done by gdb configure. The goal is to correctly detect the problem and disable threading support in gdb. Did you try the patch? If so, please report the (presumably new) problem. If not, please apply it and do a clean build. Thanks. --=20 You are receiving this mail because: You are on the CC list for the bug.=