[CRIU] [PATCH 0/3] Fixes to compile on arm with clang

Kir Kolyshkin kir at openvz.org
Thu Nov 3 16:39:38 PDT 2016


With these three patches, I was able to compile criu on ARM
using clang-3.8. Everything is pretty clear except the last
patch that removes % characters in front of register names.

I test-compiled it like this:

	make -C scripts/build armv7hf-clang

but haven't run any tests. Dmitry, if you can validate this
patchset on a real hardware, I'd be much obliged.

Kir Kolyshkin (3):
  arm: rm -Wa from CFLAGS
  Use rlim_t where appropriate
  [arm] fix asm syntax to be clang-compatible

 Makefile                                           |  2 -
 compel/arch/arm/plugins/std/syscalls/syscall-aux.S | 14 +++----
 .../arch/arm/plugins/std/syscalls/syscall-common.S | 16 ++++----
 criu/arch/arm/include/asm/restore.h                |  8 ++--
 criu/arch/arm/include/asm/restorer.h               | 48 +++++++++++-----------
 criu/arch/arm/include/asm/sigframe.h               |  4 +-
 criu/arch/arm/parasite-head.S                      | 14 +++----
 criu/cr-dump.c                                     |  2 +-
 criu/cr-restore.c                                  |  2 +-
 include/common/arch/arm/asm/atomic.h               |  1 +
 10 files changed, 55 insertions(+), 56 deletions(-)

-- 
2.7.4



More information about the CRIU mailing list