gmp configed whith --prefix=/mingw --enable-shared --disable-static --enable-cxx
make check failed in cxx check,get 0xc0000005 error.
but if i add -Wl,--enable-auto-import to CXXFLAGS can pass all test.
with out -Wl,--enable-auto-impor the auto-import info
Info: resolving vtable for std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> > by linking to __imp___ZTVSt15basic_stringbufIcSt11char_traitsIcESaIcEE (auto-import)
Info: resolving vtable for std::basic_streambuf<char, std::char_traits<char> > by linking to __imp___ZTVSt15basic_streambufIcSt11char_traitsIcEE (auto-import)
Info: resolving VTT for std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> > by linking to __imp___ZTTSt19basic_ostringstreamIcSt11char_traitsIcESaIcEE (auto-import)
Info: resolving vtable for std::basic_ios<char, std::char_traits<char> > by linking to __imp___ZTVSt9basic_iosIcSt11char_traitsIcEE (auto-import)
Info: resolving vtable for std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> > by linking to __imp___ZTVSt19basic_ostringstreamIcSt11char_traitsIcESaIcEE (auto-importe:/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/bin/ld.exe: warning: auto-importing has been activated without --enable-auto-import specified on the command line.
This should work unless it involves constant data structures referencing symbols from auto-imported DLLs.)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Frankly, I've never liked the automagic pass to ld of --enable-auto-import. Maybe a gcc switch to --auto-import or some such added to the specs file that would pass the correct flags to ld might be in order.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
with out -Wl,--enable-auto-impor the auto-import info
Info: resolving vtable for std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> > by linking to __imp___ZTVSt15basic_stringbufIcSt11char_traitsIcESaIcEE (auto-import)
Info: resolving vtable for std::basic_streambuf<char, std::char_traits<char> > by linking to __imp___ZTVSt15basic_streambufIcSt11char_traitsIcEE (auto-import)
Info: resolving VTT for std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> > by linking to __imp___ZTTSt19basic_ostringstreamIcSt11char_traitsIcESaIcEE (auto-import)
Info: resolving vtable for std::basic_ios<char, std::char_traits<char> > by linking to __imp___ZTVSt9basic_iosIcSt11char_traitsIcEE (auto-import)
Info: resolving vtable for std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> > by linking to __imp___ZTVSt19basic_ostringstreamIcSt11char_traitsIcESaIcEE (auto-importe:/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/bin/ld.exe: warning: auto-importing has been activated without --enable-auto-import specified on the command line.
This should work unless it involves constant data structures referencing symbols from auto-imported DLLs.)
Frankly, I've never liked the automagic pass to ld of --enable-auto-import. Maybe a gcc switch to --auto-import or some such added to the specs file that would pass the correct flags to ld might be in order.