On Tuesday 07 April 2026 22:29:32 Bruno Haible wrote:
> Hi Pali,
> 
> > >   $ cd testdir-fenv
> > >   $ ./configure -C
> > >   $ make
> > >   $ make check
> > 
> > I have just quickly compiled the mingw-w64 with that mentioned
> > my change and on Linux under wine I run your checks
> 
> I forgot to say: Wine is not a supported platform for Gnulib and for this
> tarball. Instead, use real MS-Windows (I use Windows 10, but Windows 8 or 11
> probably produce the same results) with either Cygwin or MSYS2 for executing
> shell scripts. Neither is ReactOS.

I just wanted to send you quick results as soon as possible.

I will run it on Windows 11, but not right now. Most of the code I'm
compiling from Linux machine via cross-compilation, and I'm not sure if
this system allows me to easily run cross compiled code on Windows.

> > In the gltests/test-suite.log file is this:
> > 
> >   FAIL: test-fenv-except-trapping-1
> >   =================================
> > 
> >   test-fenv-except-trapping-1.c:64: assertion 'fedisableexcept 
> > (uint_to_exceptions (b)) == uint_to_exceptions (a)' failed
> >   FAIL test-fenv-except-trapping-1.exe (exit status: 3)
> 
> This is the same result as I got with mingw 14.0.0 on Windows 10.
> 
> If you look at the source code of this test, it appears that either
> feenableexcept does not work right, or the return value of
> fedisableexcept is wrong. But that's just a guess. You'll get
> more definitive hints by single-stepping through this test with gdb.

Ok. I will look at this. But if I understood correctly it means that my
change fixed the fegetexcept issue as there were test-fenv-env-[2-5]
failures which are not there anymore.

Reply via email to