This is the mail archive of the
mailing list for the GCC project.
dynamic library version crashes but static version works
- From: Ted Sung <teds at intex dot com>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 18 Jan 2005 16:39:46 -0500
- Subject: dynamic library version crashes but static version works
I build a dynamic library with gcc 3.2 (glibc 2.3.2-4.80.8) running Red
Hat Linux 8.0 3.2-7).
I copy this library over to another machine running Red Hat Enterprise
Linux ES release 3 (Taroon)
2, gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-20) , glibc-2.3.2-95.3
and rebuild my executable.
My program crashes in a very strange place in my library code. Linking to
the static version of my library
Is this a known bug? It seems it has to do with the dynamic loading of my
dynamic library but
I'm not sure how to proceed to figure this out.