Re: [PATCH GnuPG] build: Fix GNUPG_CHECK_ENDIAN to work with gcc 14
Alan Coopersmith via Gnupg-devel <[email protected]>
| Newsgroups | gmane.comp.encryption.gpg.devel |
|---|---|
| Message-ID | <[email protected]> |
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- [email protected]
Oracle Solaris Engineering - https://blogs.oracle.com/solaris