[PATCH GnuPG] build: Fix GNUPG_CHECK_ENDIAN to work with gcc 14

Alan Coopersmith alan.coopersmith at oracle.com
Fri Oct 11 00:50:35 CEST 2024


On 10/8/24 22:40, NIIBE Yutaka wrote:
> Hello,
> 
> Thank you for your report.
> 
> Alan Coopersmith wrote:
>> Before this fix, running configure on Solaris 11.4 x86 with gcc 14
>> claimed x86 systems were big endian, because the test failed to compile:
> 
> If it works well, using AC_C_BIGENDIAN of autoconf is better, I suppose.

AC_C_BIGENDIAN works fine on Solaris - it detects that SPARC is bigendian
and that x86/x64 is not.  Switching to it seems like an even better fix.

Thanks

-- 
         -Alan Coopersmith-                 alan.coopersmith at oracle.com
          Oracle Solaris Engineering - https://blogs.oracle.com/solaris



More information about the Gnupg-devel mailing list