runtime problem with static libgpg-error 1.9 on MinGW

Mark Brand mabrand at
Thu Sep 16 21:56:48 CEST 2010

>> With 1.9 I have a runtime problem with applications linked to static
>> libgpg-error-1.9.  Compiling and linking go fine, but at runtime in
>> Windows, the program immediately crashes. Under Wine, the program
> I just fixed that bug in libgpg-error.  The problem was that for a
> static lib we can't rely on the gcc constructors and thus a CS object
> was not initialized.  SVN revision 250 has the fix.

Thanks. That solves the problem. Linked programs start and run normally 
again under Wine and Windows.


More information about the Gcrypt-devel mailing list