------- Comment #4 from ajd at gentrack dot com 2007-10-09 01:50 ------- Created an attachment (id=14327) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14327&action=view) suggested solution
The attached patch is a suggested solution to this problem. It calls the __GLOBAL__FI_... functions (which call the C++ constructors) of linked libraries before calling the constructors of the current module. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33704