[PATCH] byteorder: do not assume PowerPC is big-endian
Andrew Bartlett
abartlet at samba.org
Tue May 6 04:22:29 MDT 2014
On Tue, 2014-05-06 at 12:20 +0200, David Disseldorp wrote:
> On Tue, 06 May 2014 11:34:26 +1200, Andrew Bartlett wrote:
>
> > ./configure
> >
> > sort bin/default/include/config.h > /tmp/config.h.sorted
> > git am *.patch
> > ./configure
> >
> > sort bin/default/include/config.h > /tmp/config.h.sorted-new
> > diff -u /tmp/config.h.sorted /tmp/config.h.sorted-newer
> >
> > The only change should be this (or similar):
> > @@ -1105,5 +1105,4 @@
> > /* #undef SYSCONF_SC_NPROC_ONLN */
> > /* #undef USE_DMAPI */
> > /* #undef USE_LINUX_32BIT_SYSCALLS */
> > -/* #undef WORDS_BIGENDIAN */
> > /* #undef XATTR_ADDITIONAL_OPTIONS */
>
> There's no change, as 0001-build-unify-and-fix-endian-tests.patch keeps
> the WORDS_BIGENDIAN definition.
> I'll work converting users to HAVE_BIG_ENDIAN so it can be removed, as
> suggested by Christof.
>
> > If so, can you push both this and whatever version of the byteorder.h
> > patch set Christof is happy with?
>
> The changes look good, pushed to autobuild.
Thanks. One step closer to a working cross-compile!
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba
More information about the samba-technical
mailing list