Hello, Andreas Metzler wrote: > test-float fails on PowerPC (not PowerPC64), too. This causes > testsuite failures in grep 2.9 and GnuTLS 2.12.10. There is bug report > on savannah for grep. <http://savannah.gnu.org/bugs/?33710> > ------------------------- > (sid)ametzler@pescetti:~/GNUTLS/grep-2.9/gnulib-tests$ ./test-float > test-float.c:303: assertion failed > Aborted > ------------------------- > > Upgrading test-float.c to GIT head, i.e. applying > 9926b90d5159916a539b49359b3589fe89c2d987, triggers the next assertion: > ------------------------- > $ ./test-float > test-float.c:331: assertion failed > Aborted > ------------------------- > > Building with -mlong-double-64 (which is what RedHat/Fedora are doing) > makes the test succeed (even without > 9926b90d5159916a539b49359b3589fe89c2d987).
Thanks for this report. I understand that -mlong-double-64 is no longer the default on Linux/PowerPC since gcc-4.1 (2006). Does the test failure go away if you change in lib/float.in.h the condition (defined _ARCH_PPC || defined _POWER) && defined _AIX to (defined _ARCH_PPC || defined _POWER || defined __ppc__ || defined __powerpc__) and adjust m4/float_h.m4 to set FLOAT_H=float.h and REPLACE_FLOAT_LDBL=1 (like it is done for AIX)? Bruno -- In memoriam Erich Fellgiebel <http://en.wikipedia.org/wiki/Erich_Fellgiebel>