[CRIU] criu check --extra output and dump failure

Brinkmann, Harald Harald.Brinkmann at bst-international.com
Tue Apr 18 06:30:00 PDT 2017


Hi Dmitry,

On Tue, 2017-04-18 at 13:32 +0300, Dmitry Safonov wrote:
> Yes, sorry about that - I gave output for master branch rather than
> 2.12.1 release.
> Could you provide build output on master?
> As v3.0 release is at hand with the stuff in master, it would be good
> to fix it right there.

OK, I have tried that, but now it does not even compile all the way
through. This is where it chokes:

gcc -M -MT compel/src/lib/log-host.d -MT compel/src/lib/log-host.o
-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 -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/lib/log-host.c -o compel/src/lib/log-host.d
cc1: error: bad value (armv7-a) for -march= switch

If the compiled program is supposed to run on the host (in my case
x86_64) then the '-march=armv7-a'-option is wrong here. If it is
supposed to run on the target it should have used
arm-v7a-linux-gnueabihf-gcc and not gcc.

If this code is meant to run on x86, is that necessary for
cross-compilation at all?


--
Regards

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