[CRIU] Building CRIU with 'make DEBUG=1' fails from inline asm

Lucas Ouellette-Falkenstein louellet at redhat.com
Wed Jul 26 17:53:43 MSK 2017


Greetings,

Attempting to use the current Makefile target that builds CRIU with optimizations off and full debug symbols, "make DEBUG=1", fails with the following error

criu/arch/x86/include/asm/compat.h: In function ‘do_full_int80’:
criu/arch/x86/include/asm/compat.h:50:1: error: bp cannot be used in asm here
 }

Standard build with "make" works fine of course, only noticeable difference is "-02 -g" instead of DEBUG build's CFLAGS of "-0O -ggdb3".

OS version is Fedora 25
GCC version is 6.3.1
GNU Make version is 4.1

Hardly a big issue since standard make still builds with some debug symbols, just a forewarning.

Thankful for your time,
Lucas Ouellette-Falkenstein




More information about the CRIU mailing list