Many packages fail with "test-float-h.c:460: assertion 'x <= 1.0L' failed" on big-endian PowerPC

John Paul Adrian Glaubitz <[email protected]> Fri, 23 Jan 2026 12:52:35 +0100
Newsgroups gmane.linux.debian.ports.powerpc,gmane.linux.gentoo.powerpc
Message-ID <11075df7a8eee1925f8d23c577080df881ceb8a4.camel@physik.fu-berlin.de>
Hi,

I have observed that many packages such as gnutls28, libunstring and m4 fail their testsuites
on big-endian PowerPC, both 32-bit and 64-bit targets, with the following error when built
with GCC 15:

FAIL: test-float-h
==================

test-float-h.c:460: assertion 'x <= 1.0L' failed
FAIL test-float-h (exit status: 134)

Overriding the default compiler with "export CC=gcc-14" to GCC 14 fixes the problem.

Reported in [1] and [2].

Adrian

> [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123788
> [2] https://github.com/linuxppc/issues/issues/494

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913