From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19086 invoked by alias); 17 Jan 2012 17:32:47 -0000 Received: (qmail 19076 invoked by uid 22791); 17 Jan 2012 17:32:46 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 17 Jan 2012 17:32:33 +0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/51649] pretty printers don't handle std::__7:: namespace Date: Tue, 17 Jan 2012 18:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status Last reconfirmed Ever Confirmed Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-01/txt/msg01936.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51649 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2012-01-17 Ever Confirmed|0 |1 --- Comment #6 from Jonathan Wakely 2012-01-17 17:32:04 UTC --- (In reply to comment #4) > I didn't know about --enable-symvers=gnu. --enable-symvers=gnu is the default configuration (on GNU/Linux) --enable-symvers=gnu-versioned-namespace is the alternative, which puts std::foo in an inline namespace so it mangles as std::__7::foo but can be used as std::foo. > The two sets of printers can still share code. For example, we could move > most of the code to libstdcxx/printers.py and have the v6 and v7 variants > import that. OK, that sounds like the best option for now. > I am not sure what the best approach is for the current situation. > What is the purpose of --enable-symvers=gnu? In a future lib version we can preserve backwards compatibility for std::__7::foo by keeping symbol that in the .so, but add an incompatible std::__8::foo which is the default when users say std::foo. > How different is the v7 library? Currently not at all, IIRC. > Are there other possible configurations (configure- or user-compile-time) > that affect printers that we haven't already accounted for? Not that I can think of. (In reply to comment #5) > i've another issue vith v7 and c++0x - std::list That appears to be just v7 and -D_GLIBCXX_DEBUG, unrelated to c++0x