[CRIU] ✗ travis-ci: failure for Add architecture support for s390x (rev2)

Pavel Emelyanov xemul at virtuozzo.com
Fri Jun 30 10:04:07 MSK 2017


On 06/30/2017 01:28 AM, Patchwork wrote:
> == Series Details ==
> 
> Series: Add architecture support for s390x (rev2)
> URL   : https://patchwork.criu.org/series/1699/
> State : failure
> 
> == Logs ==
> 
> For more details see: https://travis-ci.org/criupatchwork/criu/builds/248550894?utm_source=github_status&utm_medium=notification

Micael, this set somehow broke compilation on other platforms. 
In particular on aarch64 the error is:

     GEN      compel/arch/aarch64/plugins/std/syscalls/syscalls.S
     DEP      compel/arch/aarch64/plugins/std/syscalls/syscalls.d
   gcc: error: unrecognized command line option '-msoft-float'

This is likely due to the patch #2:

   +ifeq ($(filter s390x,$(ARCH)),)
   +CFLAGS += -msoft-float
   +HOSTCFLAGS += -msoft-float
   +endif

should this rather be ifNeq?


Next, on arm it's:

     DEP      compel/plugins/std/infect.d
   In file included from /usr/include/arpa/inet.h:21:0,
                    from compel/include/uapi/compel/plugins/std/syscall-types.h:9,
                    from compel/include/uapi/compel/plugins/std/syscall.h:4,
                    from compel/include/uapi/compel/plugins/std.h:5,
                    from compel/plugins/std/infect.c:1:
   /usr/include/features.h:364:25: fatal error: sys/cdefs.h: No such file or directory
    #  include <sys/cdefs.h>

This is strange, as this shown an error in a system header, rather than in criu/compel
ones :\


On x86 the build has passed, but the very first test run revealed mis-compiled
ELF parser in compel:

   ======================== Run zdtm/transition/shmem in h ========================
   Start test
   ./shmem --pidfile=shmem.pid --outfile=shmem.out
   Run criu dump
   =[log]=> dump/zdtm/transition/shmem/26/1/dump.log
   ------------------------ grep Error ------------------------
   (00.091109) Found task size of 7ffffffff000
   (00.130220) Warn  (criu/net.c:2504): Unable to get a socket network namespace
   (00.130353) No /proc/self/ns/pid_for_children
   (00.130461) vdso: Parsing at 7ffe37df6000 7ffe37df8000
   (00.130469) Error (criu/pie-util-vdso.c:97): vdso: ELF header magic mismatch

The last line is causing the dump to fail.

-- Pavel


More information about the CRIU mailing list