From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29804 invoked by alias); 31 May 2011 10:18:48 -0000 Received: (qmail 29791 invoked by uid 22791); 31 May 2011 10:18:47 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from sunsite.ms.mff.cuni.cz (HELO sunsite.mff.cuni.cz) (195.113.15.26) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 31 May 2011 10:17:14 +0000 Received: from sunsite.mff.cuni.cz (localhost [127.0.0.1]) by sunsite.mff.cuni.cz (8.14.4/8.14.4) with ESMTP id p4VAHBur024611; Tue, 31 May 2011 12:17:12 +0200 Received: (from jj@localhost) by sunsite.mff.cuni.cz (8.14.4/8.14.4/Submit) id p4VAHBM8024610; Tue, 31 May 2011 12:17:11 +0200 Date: Tue, 31 May 2011 14:04:00 -0000 From: Jakub Jelinek To: J Cc: binutils@sourceware.org Subject: Re: dlclose() doesn't unload any .so that uses Boost Message-ID: <20110531101711.GX11563@sunsite.ms.mff.cuni.cz> Reply-To: Jakub Jelinek References: <20110531054313.GA12792@bubble.grove.modra.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2011-05/txt/msg00388.txt.bz2 On Tue, May 31, 2011 at 08:43:45AM +0200, J wrote: > I've managed to track this issue down. It looks like a bug in GCC: Most likely the difference is just that g++-4.6 emits STB_GNU_UNIQUE symbols while g++-4.4 doesn't. And, when any STB_GNU_UNIQUE symbols are resolved against some library, it is marked as nodelete. Therefore, NOTABUG. Jakub