This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: recompiling dlopen'ed modules crashes application
- From: Jacob Ole Juul Kolding <dacobi at juvul dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Sun, 29 Jun 2008 20:15:09 +0200
- Subject: Re: recompiling dlopen'ed modules crashes application
- References: <OFBE7075FB.E25269A4-ON85257477.006149DF-85257477.00615950@ca.ibm.com>
On Sun, 2008-06-29 at 13:43 -0400, John Bossom wrote:
>
> Did you perform a dlclose (i.e. explicitly unload them) before trying
> to compile a new one?
No, since,
I was sort of thinking/hoping that when dlopen had been called the code
and symbols from the module would reside in memory making the actual
file on the hard drive irrelevant?
I'm on Ubuntu 8.04 Linux 2.6.24 btw...
/Dacobi