From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 078B03858CDB; Sun, 12 Mar 2023 12:06:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 078B03858CDB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1678622794; bh=FlWGKyiAtH5+sJ4jXp0uT4wiJnjfbSyViSDCge1lN1Y=; h=From:To:Subject:Date:In-Reply-To:References:From; b=f3TZjuDoAjoVe8GasLwZX+nJoM6OOzD2F13VJo9UPQvYW5bZ9IOMGgia44Tc54m0g 6IfTeF6oq2z1g4sJZRwH1mF/D+llzPygAc6Q6vEnRdHYCnQZhNYKabCDn1dULKQUf9 87o8Hr+2UCiw57yp0r9+qK+FF0HL2ZDedawomAT0= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug python/30223] Nice printing of std::string doesn't work with -static Date: Sun, 12 Mar 2023 12:06:33 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: python X-Bugzilla-Version: 13.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at sourceware dot org X-Bugzilla-Status: UNCONFIRMED 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: component cc 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=3D30223 Tom Tromey changed: What |Removed |Added ---------------------------------------------------------------------------- Component|c++ |python CC| |tromey at sourceware dot o= rg --- Comment #1 from Tom Tromey --- libstdc++ relies on the loading of the shared library to install the pretty-printers in gdb. They can be activated by a special section instead (Rust takes this approach because it uses static linking) but this also has drawbacks. Anyway this isn't exactly a bug -- it's expected behavior -- but more like a problem we don't really have a good way to solve. --=20 You are receiving this mail because: You are on the CC list for the bug.=