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

Attachment: publickey - [email protected] - 0xC802C863.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Gnupg-users mailing list
[email protected]
https://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to