This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/24189] crash at exit after dlclose with -fuse-cxa-atexit



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]