From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5454 invoked by alias); 29 Aug 2005 20:52:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 5402 invoked by uid 48); 29 Aug 2005 20:52:42 -0000 Date: Mon, 29 Aug 2005 20:56:00 -0000 Message-ID: <20050829205242.5399.qmail@sourceware.org> From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050829194742.23628.mmarcus@emarcus.org> References: <20050829194742.23628.mmarcus@emarcus.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/23628] Typeinfo comparison code easily breaks shared libs X-Bugzilla-Reason: CC X-SW-Source: 2005-08/txt/msg03374.txt.bz2 List-Id: ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-29 20:52 ------- (In reply to comment #9) > Sorry, I was a bit sloppy--I didn't remove all intermediate layers from my test > environment. I will explore this further. In any case, if I explicitly invoke > g++ -fvisibility=hidden t.cc && ./a.out the "Oops" case is encountered. Oh, that is the problem in that the libstdc++ headers are not marked with default visibility. Let me try that and then try with wrapping the includes with push and pop of the visibility. If that works, then I am marking this as a dup of the bug for the push/pop in libstdc++. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23628