From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5E46E3857357; Thu, 25 Jan 2024 15:30:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5E46E3857357 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1706196636; bh=JyGQ49mLV7AvTgsKNCjstwn8PlS+kHbyyoxHwlg5gNo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=QP/qn2a8P53HdftVF4mAfqBJqfPzBzq0/fV456fRUQ5aMDg7cpP+cmHxcC1JwIlEE PTb3tPQ942v/wO7xSFZb21j1xfVrfDFLV4pEJggaUSCLISLe+3Ykos+IJeMjzUiZAX 1hiVSa0VLLt9YY++K2d6j84RzUtyuCwE6pIzf63c= From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug build/31281] [gdb] intrusive_list.h:329: internal-error: push_back: Assertion elem_node->prev == INTRUSIVE_LIST_UNLINKED_VALUE failed. Date: Thu, 25 Jan 2024 15:30:35 +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: cvs-commit 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: 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=3D31281 --- Comment #16 from Sourceware Commits --- The master branch has been updated by Tom de Vries : https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D2ec7980408fa= fb172d2ddb716a367ce2111e2e9e commit 2ec7980408fafb172d2ddb716a367ce2111e2e9e Author: Tom de Vries Date: Thu Jan 25 16:31:47 2024 +0100 [gdb/build] Workaround gcc PR113599 Since gcc commit d3f48f68227 ("c++: non-dependent .* operand folding [PR112427]"), with gdb we run into PR gcc/113599 [1], a wrong-code bug,= as reported in PR build/31281. Work around this by flipping inherit order: ... -class thread_info : public refcounted_object, - public intrusive_list_node +class thread_info : public intrusive_list_node, + public refcounted_object ... An argument could be made that this isn't necessary, because this occur= red in an unreleased gcc version. However, I think it could be useful when bisecting gcc for other proble= ms in building gdb. Having this workaround means the bisect won't reintroduce the problem. Furthermore, the workaround is harmless. Tested on Fedora rawhide x86_64. Approved-By: Tom Tromey Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31281 [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D113599 --=20 You are receiving this mail because: You are on the CC list for the bug.=