xfs
[Top] [All Lists]

[PATCH 0/6] Add cross-compilation support for android

To: xfs@xxxxxxxxxxx
Subject: [PATCH 0/6] Add cross-compilation support for android
From: Theodore Ts'o <tytso@xxxxxxx>
Date: Sun, 26 Jul 2015 08:20:49 -0400
Cc: Theodore Ts'o <tytso@xxxxxxx>, fstests@xxxxxxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=thunk.org; s=ef5046eb; h=Message-Id:Date:Subject:Cc:To:From; bh=895X5ESMwOCPQrU7w+74aES3Q+gXGrEsYU2GvDl9GBE=; b=fQQrlamGZVEs5xUyGRpLx0Fm3M2pDzhJkwBcgux3lq+jcV5BABDoOstDdsxHzJYJsXJE8TzUWEHOkW6FG3RnqXlIFeBgTh3XIAaFS72m2RWonE7mj2czAoviS69T3AKl6Lgp0v+1v6FYFz1uibzyYdZKa3NKammeOmQsr7onxFg=;
As part of my efforts to port xfstests so it can be used in an Android
runtime environment (where running fsstress by hand seems to be the
state-of-the-art in file system QA), I needed to make the following
changes to xfsprogs so it can be built using cross compilation using
Android's bionic C library.  Fortunately given XFS's Irix roots, the
number of glibc'isms that have kept in was relatively small.


Theodore Ts'o (6):
  xfsprogs: define NBBY if not defined by the system header files
  xfsprogs: pull in libgen.h to get prototype for basename()
  xfsprogs: define and use BUILD_CC in configure.ac for cross
    compilation
  xfsprogs: avoid use of si_tid in struct xlog_split_item
  xfsprogs: use "unsigned short" instead of ushort
  xfsprogs: add missing include of <stat.h>

 configure.ac               | 8 ++++++++
 include/builddefs.in       | 1 +
 include/platform_defs.h.in | 5 +++++
 include/xfs_inode_buf.h    | 4 ++--
 include/xfs_log_format.h   | 4 ++--
 include/xfs_log_recover.h  | 2 +-
 libdisk/evms.c             | 1 +
 libxfs/Makefile            | 4 ++--
 libxfs/logitem.c           | 2 +-
 libxfs/xfs_ialloc.c        | 4 ++--
 logprint/log_misc.c        | 8 ++++----
 11 files changed, 29 insertions(+), 14 deletions(-)

-- 
2.3.0

<Prev in Thread] Current Thread [Next in Thread>