[CRIU] criu check --extra output and dump failure
Brinkmann, Harald
Harald.Brinkmann at bst-international.com
Tue Apr 18 08:26:32 PDT 2017
On Tue, 2017-04-18 at 17:58 +0300, Dmitry Safonov wrote:
> > compel/Makefile:44: HOSTCFLAGS are -I__BUILD_HOST__/platform-imx6/sysroot-host/lib/pkgconfig/../../include -march=armv7-a -march=armv7-a -O2 -g -Wall -Wformat-security -Werror -DCONFIG_ARMV7 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -iquote include/ -DNO_RELOCS
>
> Here is in the host's CFLAGS "-march=armv7-a" - that looks wrong.
> Please, run instead with attached diff - it should fix this problem.
I have run this with both diffs applied. Still no joy. This looks OK:
compel/Makefile:42: host-ccflags-y are -DINCLUDEDIR=\"/usr/local/include\" -DLIBEXECDIR=\"/usr/local/libexec\" -DLIBDIR=\"/usr/local/lib/x86_64-linux-gnu\" -DSTATIC_LIB=\"libcompel.a\" -DDYN_LIB=\"libcompel.so.1\" -iquote compel/arch/arm/src/lib/include -iquote compel/include -fno-strict-aliasing -fPIC -I compel/include/uapi
compel/Makefile:43: ccflags-y are -DINCLUDEDIR=\"/usr/local/include\" -DLIBEXECDIR=\"/usr/local/libexec\" -DLIBDIR=\"/usr/local/lib/x86_64-linux-gnu\" -DSTATIC_LIB=\"libcompel.a\" -DDYN_LIB=\"libcompel.so.1\" -iquote compel/arch/arm/src/lib/include -iquote compel/include -fno-strict-aliasing -fPIC -I compel/include/uapi
compel/Makefile:44: HOSTCFLAGS are -I/home/brih/dev/ptx/ps5000.BSP/platform-imx6/sysroot-host/lib/pkgconfig/../../include -DNO_RELOCS
But I then get this:
gcc -M -MT compel/src/main-host.d -MT compel/src/main-host.o -I/home/brih/dev/ptx/ps5000.BSP/platform-imx6/sysroot-host/lib/pkgconfig/../../include -DNO_RELOCS -DINCLUDEDIR=\"/usr/local/include\" -DLIBEXECDIR=\"/usr/local/libexec\" -DLIBDIR=\"/usr/local/lib/x86_64-linux-gnu\" -DSTATIC_LIB=\"libcompel.a\" -DDYN_LIB=\"libcompel.so.1\" -iquote compel/arch/arm/src/lib/include -iquote compel/include -fno-strict-aliasing -fPIC -I compel/include/uapi compel/src/main-host.c -o compel/src/main-host.d
compel/src/main-host.c:56:2: error: #error "CONFIG_<ARCH> not defined, or unsupported ARCH"
#error "CONFIG_<ARCH> not defined, or unsupported ARCH"
^
compel/src/main-host.c:56:2: error: #error "CONFIG_<ARCH> not defined, or unsupported ARCH"
#error "CONFIG_<ARCH> not defined, or unsupported ARCH"
^
--
Harald
BST eltromat International GmbH
Werk Leopoldshöhe
Herforder Straße 249-251
D-33818 Leopoldshöhe
T: +49 (5208) 987-513
E: harald.brinkmann at bst-international.com
W: http://www.bst-eltromat.com
_______________________________________________________
Amtsgericht Bielefeld, HRB Nr. 30830
Geschäftsführer Kristian Jünke, Dr. Johann-Carsten Kipp, Dr. Gunter
Tautorus
Sitz der Gesellschaft: Bielefeld
Vertrauliche E-Mail von BST eltromat International GmbH
More information about the CRIU
mailing list