Hi! On 3/24/20 8:01 PM, John Paul Adrian Glaubitz wrote: > It would be nice if this bug could be fixed as the missing r-base package > is blocking a lot of other packages on powerpc.
This can be easily fixed by replacing __PPC64__ with __powerpc__ which is defined on all PowerPC architectures (ppc64el, ppc64, powerpc). Suggestion to change the patch into: #if HAVE_LONG_DOUBLE && (SIZEOF_LONG_DOUBLE > SIZEOF_DOUBLE) +# ifdef __powerpc__ + // PowerPC (when gcc has -mlong-double-128) breaks here ... +# define q_1_eps (1 / LDBL_EPSILON) +# else static LDOUBLE q_1_eps = 1 / LDBL_EPSILON; +# endif #else static double q_1_eps = 1 / DBL_EPSILON; #endif Proof that __powerpc__ is available on all three PowerPC targets. On powerpc architecture: (sid-powerpc-sbuild2)root@kapitsa:/# gcc -dM -E - < /dev/null|grep __powerpc__ #define __powerpc__ 1 (sid-powerpc-sbuild2)root@kapitsa:/# On ppc64 architecture: (sid-ppc64-sbuild2)root@kapitsa:/# gcc -dM -E - < /dev/null|grep __powerpc__ #define __powerpc__ 1 (sid-ppc64-sbuild2)root@kapitsa:/# On ppc64el architecture: (sid_ppc64el-dchroot)glaubitz@plummer:~$ gcc -dM -E - < /dev/null|grep __powerpc__ #define __powerpc__ 1 (sid_ppc64el-dchroot)glaubitz@plummer:~$ Thanks, Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913