FS#20880 - [mingw32-binutils] The application failed to initialize properly (0xc0000005) (with fix)

Attached to Project: Community Packages
Opened by Vladimír Vondruš (mosra) - Saturday, 18 September 2010, 09:58 GMT
Last edited by Sergej Pupykin (sergej) - Friday, 24 September 2010, 11:12 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

C++ code cross-compiled with mingw32-gcc 4.5.0 fails to initialize with error code 0xc0000005. The problem is described in mingw32-gcc release notes ( http://lists-archives.org/mingw-users/16829-mingw-gcc-4-5-0-released.html ) and there are suggested a few solutions.

Fix:

Upgrade to mingw32-binutils-2.20.51 solves the problem, as it enables "-Wl,--enable-runtime-pseudo-reloc-v2" by default. Package mingw32-gcc (and maybe also mingw32-w32api and mingw32-runtime) has to be rebuilt after the upgrade, otherwise the problem persists.

Attached is updated PKGBUILD for mingw32-binutils-2.20.51.
   PKGBUILD (1.1 KiB)
This task depends upon

Closed by  Sergej Pupykin (sergej)
Friday, 24 September 2010, 11:12 GMT
Reason for closing:  Fixed

Loading...