[CRIU] [PATCH] criu/compat: fixup to criu-dev rebase

Dmitry Safonov dsafonov at virtuozzo.com
Tue Dec 13 05:32:30 PST 2016


On 12/13/2016 04:27 PM, Dmitry Safonov wrote:
> Fixes build error:
> In file included from /home/travis/build/xemul/criu/criu/arch/x86/include/asm/restorer.h:9:0,
>                  from criu/arch/x86/crtools.c:10:
> /home/travis/build/xemul/criu/criu/arch/x86/include/asm/compat.h: In function ‘free_compat_syscall_stack’:
> /home/travis/build/xemul/criu/criu/arch/x86/include/asm/compat.h:29:3: error: implicit declaration of function ‘pr_err’ [-Werror=implicit-function-declaration]
>    pr_err("munmap of compat addr %p failed with %ld", mem, ret);
>    ^
>
> I can't include "log.h" in "compat.h", as it's used in PIE and CRIU
> both.

Or I can? Drop this, let's strictly include log.h - it has CR_NOGLIBC
ifdeffery, so all should be good.

>
> Signed-off-by: Dmitry Safonov <dsafonov at virtuozzo.com>
> ---



-- 
              Dmitry


More information about the CRIU mailing list