Symbol conflicts when building a MinGW binary with exceptions and -static-libgcc
Kevin Kofler
kevin.kofler at chello.at
Thu Nov 22 02:34:58 UTC 2012
Hi,
Kevin Kofler wrote:
> when trying to build a DLL (I think it'd be the same thing with an EXE
> though) with the -static-libgcc flag using the mingw-w64 cross-compiler in
> the Fedora 17 repository, I ran into symbol conflicts between libgcc_eh.a
> and libgcc_s.a: there are errors about multiple definitions of several
> "_Unwind_*" symbols. Unfortunately, the code uses exceptions, so
> -fno-exceptions is not an option.
This is still broken in the mingw64-gcc-4.7.2-2.fc17 update.
I filed https://bugzilla.redhat.com/show_bug.cgi?id=879084 for this issue.
Kevin Kofler
More information about the mingw
mailing list