From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9FF253A3E40D; Thu, 13 May 2021 17:31:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9FF253A3E40D From: "simark at simark dot ca" To: gdb-prs@sourceware.org Subject: [Bug macros/27754] Excessive CPU load and memory usage with -g3 debug info Date: Thu, 13 May 2021 17:31:38 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: macros X-Bugzilla-Version: 10.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: simark at simark dot ca 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 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: Thu, 13 May 2021 17:31:38 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27754 --- Comment #17 from Simon Marchi --- (In reply to Tom Tromey from comment #15) > So, IIUC, this is a GNU ld bug, fixed in git. > It doesn't seem to affect lld or gold. I probably don't understand how this all works. When I see a relocation ".debug_macro + 0" in a .o file, what does that mean. The value should be replaced with the start of the .debug_macro section, or the start of the .debug_macro contribution from that .o? But you are right, when I link with gold, the imports have sensible offsets= and not 0. >=20 > Is that accurate? > If so, I tend to think we should WONTFIX this bug. >>From GDB's point a view, I agree. --=20 You are receiving this mail because: You are on the CC list for the bug.=