]> Savannah Git Hosting - gnulib.git/commitdiff
fenv-*: Fix test failures on NetBSD 9.3/arm64.
authorBruno Haible <bruno@clisp.org>
Fri, 19 Jan 2024 14:07:05 +0000 (15:07 +0100)
committerBruno Haible <bruno@clisp.org>
Fri, 19 Jan 2024 14:07:05 +0000 (15:07 +0100)
* m4/fenv-exceptions-trapping.m4 (gl_FENV_EXCEPTIONS_TRAPPING): Override
feenableexcept() also on NetBSD/arm64.
* doc/glibc-functions/feenableexcept.texi: Update platforms list.

ChangeLog
doc/glibc-functions/feenableexcept.texi
m4/fenv-exceptions-trapping.m4

index 196553ffadb25c0a1b997c9c6f504b71cfcd85fb..71516a86b808c608081dc124eed8e6c7a99575a1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2024-01-19  Bruno Haible  <bruno@clisp.org>
+
+       fenv-*: Fix test failures on NetBSD 9.3/arm64.
+       * m4/fenv-exceptions-trapping.m4 (gl_FENV_EXCEPTIONS_TRAPPING): Override
+       feenableexcept() also on NetBSD/arm64.
+       * doc/glibc-functions/feenableexcept.texi: Update platforms list.
+
 2024-01-19  Bruno Haible  <bruno@clisp.org>
 
        fenv-*: Avoid test failures on OpenBSD/sparc64.
index 0c98c5c84498d240cb9be9df6bbbc45d2fa9682d..a306a904e5709b3a7dbd479ac64f7fc17e577e52 100644 (file)
@@ -26,7 +26,7 @@ This function is missing on some platforms:
 macOS 11.1, musl libc, FreeBSD 5.2.1, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, AIX 5.1, HP-UX 11, IRIX 6.5, Solaris 11.4, Cygwin 1.7.7, mingw, MSVC 14, Android 4.4.
 @item
 This function does not detect failures on
-glibc 2.19/aarch64, FreeBSD 12.2/arm, FreeBSD 12.2/arm64.
+glibc 2.19/aarch64, FreeBSD 12.2/arm, FreeBSD 12.2/arm64, NetBSD 9.3/arm64.
 @end itemize
 
 Portability problems not fixed by Gnulib:
index 784bed1697eba9acd38b837ea0809219c584e277..cd9c96674f0ccd3d48e6ee440efda08cb075858b 100644 (file)
@@ -1,4 +1,4 @@
-# fenv-exceptions-trapping.m4 serial 1
+# fenv-exceptions-trapping.m4 serial 2
 dnl Copyright (C) 2023-2024 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -17,7 +17,7 @@ AC_DEFUN_ONCE([gl_FENV_EXCEPTIONS_TRAPPING],
     dnl On glibc 2.19/aarch64, feenableexcept does not detect failures.
     dnl Fixed through
     dnl <https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=302949e2940a9da3f6364a1574619e621b7e1e71>.
-    dnl Similarly on FreeBSD 12.2/arm and FreeBSD 12.2/arm64.
+    dnl Similarly on FreeBSD 12.2/arm, FreeBSD 12.2/arm64, NetBSD 9.3/arm64.
     case "$host" in
       aarch64*-*-linux*)
         AC_CACHE_CHECK([whether feenableexcept works],
@@ -41,7 +41,7 @@ AC_DEFUN_ONCE([gl_FENV_EXCEPTIONS_TRAPPING],
           *) REPLACE_FEENABLEEXCEPT=1 ;;
         esac
         ;;
-      arm*-*-freebsd* | aarch64*-*-freebsd*)
+      arm*-*-freebsd* | aarch64*-*-freebsd* | aarch64*-*-netbsd*)
         REPLACE_FEENABLEEXCEPT=1
         ;;
     esac