http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54601
David Edelsohn <dje at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #29311|0 |1 is obsolete| | --- Comment #11 from David Edelsohn <dje at gcc dot gnu.org> 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.