From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17101 invoked by alias); 31 Jan 2013 06:11:57 -0000 Received: (qmail 16992 invoked by uid 48); 31 Jan 2013 06:11:33 -0000 From: "dje at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/54601] AIX uses atexit which causes unloading of shared modules to break Date: Thu, 31 Jan 2013 06:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dje 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: Attachment #29311 is obsolete 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: 2013-01/txt/msg02829.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54601 David Edelsohn changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #29311|0 |1 is obsolete| | --- Comment #11 from David Edelsohn 2013-01-31 06:11:31 UTC --- Created attachment 29312 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29312 __cxa_atexit with new crt file I think it needs something like this new patch, which adds crtdso.o providing __dso_handle. collect2 searches the file properly and finds the destructor. But I am not sure if the driver will find the file and if the file is installed correctly yet.