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

Dmitry Safonov 0x7f454c46 at gmail.com
Wed Jul 26 20:30:23 MSK 2017


2017-07-26 18:29 GMT+03:00 Dmitry Safonov <0x7f454c46 at gmail.com>:
> 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.

Uhm, I've just found that it's already in master, released with v3.3 CRIU:
https://github.com/xemul/criu/commit/3299759865ff15d86400059d45c8cf897042741d
So, could you try it instead of criu-dev?

-- 
             Dmitry



More information about the CRIU mailing list