FS#49334 - [mingw-w64-binutils] unimplemented function libstdc++-6.dll._ZNSt8ios_base4InitC1Ev
Attached to Project:
Community Packages
Opened by Michel (xantares) - Saturday, 14 May 2016, 18:33 GMT
Last edited by Jonathan Roemer (pid1) - Monday, 12 September 2016, 21:29 GMT
Opened by Michel (xantares) - Saturday, 14 May 2016, 18:33 GMT
Last edited by Jonathan Roemer (pid1) - Monday, 12 September 2016, 21:29 GMT
|
Details
Hello,
It seems I encounter exactly this bug since the update to gcc 6.0: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=814425 If I downgrade to gcc 5.3 it doesn't show up, unlike in the error report which shows 5.3, which is weird. Debian has patches, maybe they are upstreamed. FYI core/binutils ships a git version, some commit in the release branch, what should be done ? Example: #include <iostream> int main() { std::cout << "Moment: " << 8.6 << std::endl; return 0; } xan. |
This task depends upon
Closed by Jonathan Roemer (pid1)
Monday, 12 September 2016, 21:29 GMT
Reason for closing: Deferred
Additional comments about closing: See 49860
Monday, 12 September 2016, 21:29 GMT
Reason for closing: Deferred
Additional comments about closing: See 49860
tried with the same version as core/binutils and binutils git, no luck.
xan.
It seems i686-w64-mingw32 target uses sjlj as exception handling model, while x86_64-w64-mingw32 uses seh.
$ x86_64-w64-mingw32-g++ test.cpp
$ i686-w64-mingw32-g++ test.cpp
on latest system.
Trying to instantiate a std::string results in a similar error as already reported here: https://bugs.archlinux.org/task/49860
Unhandled exception: unimplemented function libstdc++-6.dll._ZNSaIcEC1Ev called in 32-bit code (0x7bc53529).
$ c++filt _ZNSaIcEC1Ev
std::allocator<char>::allocator()