https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123908
--- Comment #21 from LIU Hao <lh_mouse at 126 dot com> --- (In reply to Jonathan Wakely from comment #20) > (In reply to LIU Hao from comment #16) > > It shouldn't be passed for mingw targets. > > What is this claim based on? > > (In reply to LIU Hao from comment #17) > > Could you try configuring with `--disable-symvers` and see whether it works? > > That might be how you build your compiler, but that's not how all mingw-w64 > compilers are built, and it's not the default. It's how MSYS2 build their GCC and I just inherit it: https://github.com/msys2/MINGW-packages/blob/6cc3c04f5d27a28fc34e518f71e95f56d2b7b4bc/mingw-w64-gcc/PKGBUILD#L292
