Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 647694 - cross-*-w64-mingw32/binutils: ld-2.30 produces broken C++ executables
Summary: cross-*-w64-mingw32/binutils: ld-2.30 produces broken C++ executables
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL: https://sourceware.org/bugzilla/show_...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-15 07:43 UTC by Andrew Church
Modified: 2019-01-27 21:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Church 2018-02-15 07:43:14 UTC
ld from binutils-2.30 produces Windows executables which fail to run C++ static constructors due to a bug which results in an incorrect definition of __CTOR_LIST__ (and __DTOR_LIST__).  See upstream bug for details.
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2018-02-16 07:26:59 UTC
The fix is queued for next binutils-2.30 gentoo patchset: https://github.com/gentoo/binutils-gdb/commit/810414c2470b2306d04413ec6ecfe8424bd58a28

Thanks for the report!
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2019-01-27 21:11:56 UTC
sys-devel/binutils-2.30-r4 is stable everywhere.