------- Comment #2 from nunoplopes at sapo dot pt 2007-06-24 19:07 ------- unfortunately I don't have a short reproducing test case. The whole framework is a bit complex to allow me to extract a simple test case. This problem seems to be related with some initialization that is performed by libstdc++, which does not play well with the dlopen flags I'm using. I can extract some assembly code, or something else if you want.
The dlopen code: const int dlopen_flags = RTLD_LAZY | RTLD_LOCAL | RTLD_DEEPBIND; void *handle = dlopen(tmp_mod_name.c_str(), dlopen_flags); -- nunoplopes at sapo dot pt changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |UNCONFIRMED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32485