Skip to content

Add cross-compilation support for android

Theodore Ts'o fstests linux-xfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6xfsprogs: define NBBY if not defined by the system header filesinclude/platform_defs.h.in+4 -01 reply
2/6xfsprogs: pull in libgen.h to get prototype for basename()include/platform_defs.h.in+1 -01 reply
3/6xfsprogs: define and use BUILD_CC in configure.ac for cross compilationconfigure.ac include/builddefs.in libxfs/Makefile+11 -27 replies
4/6xfsprogs: avoid use of si_tid in struct xlog_split_itemlogprint/log_misc.c+3 -31 reply
5/6xfsprogs: use "unsigned short" instead of ushortinclude/xfs_inode_buf.h include/xfs_log_format.h include/xfs_log_recover.h +3 more+9 -91 reply
6/6xfsprogs: add missing include of <stat.h>libdisk/evms.c+1 -01 reply

Reviews trailers per patch

5 of 6 patches have a Reviewed-by or Acked-by.

PatchChristoph Hellwig
1/6R-b
2/6R-b
3/6R-b R-b
4/6R-b
5/6R-b
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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(-)
Signature · 1 line
2.3.0