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

Dmitry Safonov 0x7f454c46 at gmail.com
Wed Jul 26 18:29:39 MSK 2017


Hi Lucas,

2017-07-26 17:53 GMT+03:00 Lucas Ouellette-Falkenstein <louellet at redhat.com>:
> 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".

Thanks for the report,

Should be fixed by commit c30346c1aa69 ("x86/ia32: fix build with DEBUG=1")
in criu-dev branch.
Say, please, if it isn't for you.

>
> 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

-- 
             Dmitry



More information about the CRIU mailing list