A simple mingw32 DLL with two source files (and headers). If the source file has
a name that doesn't alphabetically come before all other source files, the
resulting DLL causes a client MSVC application to crash during runtime. There
are no compiler or linker errors.
The attached archive contains the necessary files to test. It generates a
non-working example. To make it work, change the name of the "entrx.c" file to
something that would come after "entry.c", for example "entrz.c", and rebuild
the DLL.
--
Summary: MinGW32 DLL causes MSVC application initialization
failure during runtime
Product: binutils
Version: 2.17
Status: NEW
Severity: normal
Priority: P2
Component: ld
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: all_my_junk_e-mail at hotmail dot com
CC: bug-binutils at gnu dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=4600
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils