[CRIU] Compile errors with 4.18 kernels
Adrian Reber
adrian at lisas.de
Thu Jun 14 22:20:58 MSK 2018
On Thu, Jun 14, 2018 at 08:15:21PM +0100, Radostin Stoyanov wrote:
> On 14/06/18 20:11, Radostin Stoyanov wrote:
> > Hi Adrian,
> >
> > I saw similar errors for the test on fedora rawhidein
> > https://travis-ci.org/criupatchwork/criu/jobs/392132369#L2281
> >
> > In file included from /usr/include/asm/signal.h:26,
> > from /usr/include/linux/signal.h:5,
> > from /usr/include/linux/aio_abi.h:32,
> > from criu/include/aio.h:4,
> > from criu/pie/parasite.c:22:
> > /usr/include/asm-generic/signal.h:92:3: error: conflicting types for
> > 'sigset_t'
> > } sigset_t;
> > ^~~~~~~~
> >
> > I think this issue can be fixed with:
> >
> diff --git a/criu/pie/parasite.c b/criu/pie/parasite.c
> index b9dae3f9..5f3bed96 100644
> --- a/criu/pie/parasite.c
> +++ b/criu/pie/parasite.c
> @@ -1,6 +1,5 @@
> #include <sys/mman.h>
> #include <errno.h>
> -#include <signal.h>
> #include <linux/limits.h>
> #include <linux/capability.h>
> #include <sys/mount.h>
>
> (send the wrong diff in previous email)
Ah, good to know. Do you plan to get that patch merged in CRIU?
Adrian
More information about the CRIU
mailing list