[CRIU] [PATCH] make-compel: Add CC=gcc
Zhang, Ning A
ning.a.zhang at intel.com
Thu Apr 11 12:05:00 MSK 2019
did you try:
CC=gcc make?
see:
https://github.com/checkpoint-restore/criu/commit/7428b3794ac09cf6a546c
0a51f92800f52b7daeb
which compiler do you use?
BR.
Ning.
在 2019-04-11四的 09:17 +0100,Radostin Stoyanov写道:
> Ok, any ideas for alternative solution?
>
> On 11/04/2019 02:46, Zhang, Ning A wrote:
> > No, this will break Clang compiler.
> >
> > 在 2019-04-10三的 23:27 +0100,Radostin Stoyanov写道:
> > > $ sudo make install PREFIX=/usr
> > > ...
> > > make: [Makefile.compel:73: compel/libcompel.so] Error 127
> > > (ignored)
> > > CC compel/arch/x86/src/lib/handle-elf.o
> > > CC compel/src/lib/handle-elf.o
> > > CC compel/src/main.o
> > > LINK compel/built-in.o
> > > LINK compel/compel
> > > make: O2: Command not found
> > > make: [Makefile.compel:66: compel/compel] Error 127 (ignored)
> > > make[1]: *** No rule to make target 'compel/compel', needed by
> > > 'install'. Stop.
> > > make: *** [Makefile.install:44: install-compel] Error 2
> > >
> > > Signed-off-by: Radostin Stoyanov <rstoyanov1 at gmail.com>
> > > ---
> > > Makefile.compel | 1 +
> > > 1 file changed, 1 insertion(+)
> > >
> > > diff --git a/Makefile.compel b/Makefile.compel
> > > index 764afadc8..89dddd19c 100644
> > > --- a/Makefile.compel
> > > +++ b/Makefile.compel
> > > @@ -1,3 +1,4 @@
> > > +CC=gcc
> > > COMPEL_BIN := ./compel/compel-host
> > > export COMPEL_BIN
> > >
>
More information about the CRIU
mailing list