libgpg-error 1.61: t-printf failure on powerpc64-linux

C. Neidahl opna2608 at protonmail.com
Tue Jul 14 16:14:57 CEST 2026


Greetings,

I am trying to build libgpg-errpr version 1.61 for big-endian 
powerpc64-linux with GCC 15.2.0 and run the test suite.

The t-printf test is failing:

t-printf: format "%.100Lf" with LDBL_MAX unexpectly did not fail
FAIL: t-printf

Applying bfdf7b0b7b62 (tests: Skip a test when !HAVE_LONG_DOUBLE_WIDER) 
does not help with this, as LDBL_MAX > DBL_MAX:

checking for long double with more range or precision than double... yes

long double on this platform defaults to a sum of two double values (IBM 
double-double), which is not an IEEE-754 compliant implementation, so 
LDBL_* are possibly going to be different than what you're expecting.

You can check last year's changes to gnulib's lib/float.h.in and 
tests/test-float-h.c, and the mailing list messages from the same time, 
for details on this format and changes that GCC 15 & C23 brought to 
these definitions.

Let me know if you need any more details.

Have a nice day.

Cosima Neidahl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: publickey - opna2608 at protonmail.com - 0xC802C863.asc
Type: application/pgp-keys
Size: 1753 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20260714/db022044/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 583 bytes
Desc: OpenPGP digital signature
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20260714/db022044/attachment.sig>


More information about the Gnupg-users mailing list