From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 764083858415; Wed, 8 Sep 2021 08:48:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 764083858415 From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug build/28318] [gdb/build] std::thread support configure check does not use CXX_DIALECT Date: Wed, 08 Sep 2021 08:48:38 +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: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Sep 2021 08:48:38 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28318 --- Comment #2 from Tom de Vries --- Created attachment 13657 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D13657&action=3Ded= it [gdb/build] Add CXX_DIALECT to CXX (In reply to Tom de Vries from comment #1) > - we add CXX_DIALECT to CXX directly. AFAIU, that wouldn't break anything > though it would result in confusing double options in command lines. Patch implementing this. Indeed now we have: ... configure:8916: checking for std::thread configure:8933: g++ -std=3Dgnu++11 -c -pthread -Wall -O2 -g conftest.cp= p >&5 configure:8933: $? =3D 0 configure:8940: result: yes ... but indeed in the build/gdb/Makefile: ... CXX =3D g++ -std=3Dgnu++11 CXX_DIALECT =3D -std=3Dgnu++11 ... --=20 You are receiving this mail because: You are on the CC list for the bug.=