On 06.05.2021 04:38, Liu Hao wrote: > 在 5/5/21 6:48 PM, Jonas Kvinge 写道: >> Hi >> >> I'm trying to build with GCC 11.1.0, but getting the following udefined >> reference with i686-w64-mingw32.shared. >> >> x86_64-w64-mingw32.shared works. >> >> i686-w64-mingw32.shared/gcc-11.1.0.build_.pthreads/../gcc-11.1.0.build_/mingw-w64-v8.0.0/mingw-w64-libraries/winpthreads/src/clock.c:122: >> >> undefined reference to `__udivmoddi4' >> >> Any idea how to fix it? >> >> > > Please test the attached patch. > > This quad division routine was named `__qdivrem()`. > >
Thanks, the patch works. Jonas _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
