Re: [Mingw-w64-public] Build error with mingw-8.0.0 and gcc-11: multiple definition of `__DTOR_LIST__' / `__CTOR_LIST__

2021-01-17 Thread Sandro Mani
On 17.01.21 14:25, Martin Storsjö wrote: Hi, On Sun, 17 Jan 2021, Sandro Mani wrote: I'm working on updating the mingw toolchain for Fedora, and am building mingw-gcc-11 with mingw-crt-8.0.0. I'm stuck at this error when linking libgcc [1]: /usr/i686-w64-mingw32/bin/ld:

Re: [Mingw-w64-public] Build error with mingw-8.0.0 and gcc-11: multiple definition of `__DTOR_LIST__' / `__CTOR_LIST__

2021-01-17 Thread Mateusz Mikuła
> These are within an #ifndef HAVE_CTOR_LIST. During configure (of > mingw-w64-crt), there's an "checking whether the linker provides > __CTOR_LIST__... yes". If you're running into such an error, it sounds to > me like this test didn't produce the expected result in your case. Can you > have a

Re: [Mingw-w64-public] Build error with mingw-8.0.0 and gcc-11: multiple definition of `__DTOR_LIST__' / `__CTOR_LIST__

2021-01-17 Thread Martin Storsjö
Hi, On Sun, 17 Jan 2021, Sandro Mani wrote: I'm working on updating the mingw toolchain for Fedora, and am building mingw-gcc-11 with mingw-crt-8.0.0. I'm stuck at this error when linking libgcc [1]: /usr/i686-w64-mingw32/bin/ld: _ctors_s.o:libgcc2.c:(.bss+0x0): multiple definition of