From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 84BC33858281; Wed, 31 Jan 2024 02:24:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 84BC33858281 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1706667846; bh=60SH2sT3HgQmyxRNjuoje4F0irPuVhjczIZ4/E7IZsw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=W6GvTX4CNmd1W94n7N6jBakDtYHZVIJymDpLrUam/6XIy5CThZQxZkhkmzmn0AD1l bwc0d+AByQhv+bbVLWmq19/UBv83Cq8r6vCcFz97Ud14TX0wA7D7GE0A5u0VcPGzTb E/wKw4Q20cHwK84MHKvaXSujgBhPrRE4BoVp6hNo= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug gdb/31261] [gdb] ThreadSanitizer: data race objfiles.c:648 in objfile_relocate1 Date: Wed, 31 Jan 2024 02:24:02 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: HEAD 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=3D31261 --- Comment #2 from Tom Tromey --- A simple way here would be to require the readers to be done before relocation can proceed. However, I think it would be better to use unrelocated types more. The only problem is that MIPS uses the dwarf2 gdbarch hook to modify addresses, and it does a minsym lookup... but this could also be done unrelocated. --=20 You are receiving this mail because: You are on the CC list for the bug.=