This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/24189] crash at exit after dlclose with -fuse-cxa-atexit
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Oct 2005 13:48:32 -0000
- Subject: [Bug c++/24189] crash at exit after dlclose with -fuse-cxa-atexit
- References: <bug-24189-9098@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-04 13:48 -------
This works for me with:
+ c++ -pthread -fexceptions -fident -g -fuse-cxa-atexit -c -o test.o test.cc
+ c++ -pthread -fexceptions -fident -g -fuse-cxa-atexit -o test test.o -ldl
+ c++ -pthread -fexceptions -fident -fPIC -g -fuse-cxa-atexit -c -o testlib.o
testlib.cc
+ c++ -pthread -fexceptions -fident -fPIC -g -fuse-cxa-atexit -shared
-Wl,-hlibtestg.so.0.0 -o libtestg.so.0.0.0 testlib.o -ldl
+ rm -f libtestg.so.0.0
+ ln -s libtestg.so.0.0.0 libtestg.so.0.0
+ rm -f libtestg.so.0
+ ln -s libtestg.so.0.0 libtestg.so.0
+ rm -f libtestg.so
+ ln -s libtestg.so.0 libtestg.so
+ ./test
What is the version of glibc you have? I have 2.3.3.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24189