Well, yes, this also true for me. Have you then replaced the libwinpthread-1.dll with the one from Gcc 10.2? Do you still get consistent results?
(Although replacing shared libraries sounds like something you just are not allowed to do - it can unintentionally happen, if by chance another library is in the path.) For completeness: I build my compiler using https://github.com/niXman/mingw-builds. This is my configuration command: ../build --mode=gcc-10.3.0 --arch=x86_64 --buildroot=/c/mingw-builds/BuildRoot --update-sources --exceptions=seh --threads=posix --enable-languages=c++ --jobs=48 --rt-version=v8 Is this the canonical way? Benjamin -----Ursprüngliche Nachricht----- Von: Carl Kleffner [mailto:[email protected]] Gesendet: Dienstag, 4. Mai 2021 16:46 An: [email protected] Betreff: Re: [Mingw-w64-public] Setting Floating-Point Operation Precision Changes With Gcc 10.3 I can't reproduce this behaviour. With gcc-10.3 on msys2/ucrt64 as well as msy2/mingw64 I get consistent results, regardless if I link CRT_fp10.o, CRT_fp8.o or none of them. Cheers Carl Am Di., 4. Mai 2021 um 14:52 Uhr schrieb Benjamin Bihler < [email protected]>: > Hello, > > I have linked my application against CRT_fp8.o for several years to > have the same floating-point operations precision on all threads. This > does not work anymore as expected with gcc 10.3. A detailed description is > here: > https://stackoverflow.com/questions/67382785/why-does-mingw-w64-floating-point-precision-depend-on-winpthreads-version. > Is this a bug? What can I do to have consistent precision again? Thank > you very much. > > Best regards, > Benjamin Bihler > > _______________________________________________ > Mingw-w64-public mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public > _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
