1
0
Fork 0
dosbox-staging/scripts/automator
krcroft c776239c3c Switch from static to dynamically-linked libstdc++
When using C++11 code that can possibly throw exceptions (such as
std::make_shared(...) linking libstdc++.a using Clang on MSYS2
will generate errors such as:

  libstdc++.a(eh_personality.o): duplicate section
  `.rdata$_ZTSSt9exception[_ZTSSt9exception]' has different size

Although potential suggested fixes involve allowing duplicate symbols,
-Wl,--allow-multiple-definition, this solution can introduce unexpected
behavior when one symbol clobbers another symbol.

To solve this, switching to dynamic linking of the libstdc++ library
appears to be all that's needed.
2020-01-07 19:46:32 +01:00
..
build Switch from static to dynamically-linked libstdc++ 2020-01-07 19:46:32 +01:00
packages Update CI to target SDL2 2019-12-26 03:23:19 +01:00
main.sh Refactor the build and list-packages scripts 2019-11-24 15:16:44 +01:00