[PATCH 0/4] Cross compile fixes

Gustavo Zacarias gustavo at zacarias.com.ar
Tue Apr 8 07:56:00 MDT 2014


As requested by Andrew Barlett the sorted config.h diff between
an unpatched and configured samba source for x86_64 and a patched
one gives:

--- a   2014-04-08 10:49:05.321518318 -0300
+++ b   2014-04-08 10:49:06.772567356 -0300
@@ -1032,5 +1032,4 @@
 /* #undef SYSCONF_SC_NPROC_ONLN */
 /* #undef USE_DMAPI */
 /* #undef USE_LINUX_32BIT_SYSCALLS */
-/* #undef WORDS_BIGENDIAN */
 /* #undef XATTR_ADDITIONAL_OPTIONS */
-----

That difference is because the endian unification patch doesn't make
the undef comment when the target architecture is little endian.

The CHECK_SIZEOF patch was fixed to account for the failure to check
for single item size checks (UTMP_UT_LINE and VOID_P).

Gustavo Zacarias (4):
  build: don't execute statfs and f_fsid checks
  build: find blkcnt_t size via array
  build: unify and fix endian tests
  build: make wafsamba CHECK_SIZEOF cross-compile friendly

 buildtools/wafsamba/samba_autoconf.py | 26 ++++++++------
 buildtools/wafsamba/wscript           | 65 +++++++++++++++++++++++++++++++++--
 lib/ccan/wscript                      | 55 -----------------------------
 source3/wscript                       | 11 +++---
 4 files changed, 82 insertions(+), 75 deletions(-)

-- 
1.8.3.2



More information about the samba-technical mailing list