[Bug c++/12159] static C++ objects inside global functions (within a shared library) cause crash on program exit on Linux
tim dot crook at adobe dot com
gcc-bugzilla@gcc.gnu.org
Tue Sep 9 14:41:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12159
------- Additional Comments From tim dot crook at adobe dot com 2003-09-09 14:41 -------
Subject: RE: static C++ objects inside global functions (w
ithin a shared library) cause crash on program exit on Linux
I think this bug can be dropped. I found out that configuring gcc with
--enable-__cxa_atexit eliminates the problem. Using -fuse-cxa-atexit didn't
seem sufficient - strange.
-----Original Message-----
From: pinskia at gcc dot gnu dot org [mailto:gcc-bugzilla@gcc.gnu.org]
Sent: Saturday, September 06, 2003 11:08 PM
To: tim.crook@adobe.com
Subject: [Bug c++/12159] static C++ objects inside global functions
(within a shared library) cause crash on program exit on Linux
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12159
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-09-07
03:07 -------
This is not a GCC bug but rather a glibc bug (report it to them) as we have
no control over
when functions are called when dealing with shared libraries.
------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.
More information about the Gcc-bugs
mailing list