[CRIU] [Announce] Checkpoint-restore tool v0.4
Cyrill Gorcunov
gorcunov at openvz.org
Fri Feb 22 05:41:52 EST 2013
On Fri, Feb 22, 2013 at 02:39:07PM +0400, Pavel Emelyanov wrote:
> On 02/22/2013 01:13 PM, Cyrill Gorcunov wrote:
> > On Fri, Feb 22, 2013 at 10:01:19AM +0100, Jan Engelhardt wrote:
> >>
> >> On Wednesday 2013-02-20 12:18, Pavel Emelyanov wrote:
> >>>
> >>> As was planned, the v0.4 of C/R tools is out, right after the Linux v3.8.
> >>>
> >>> The most valuable thing in this release, is that all the kernel patches
> >>> we had are now merged, and thus what crtools-v0.4 can do will work on
> >>> the upstream kernel (properly configured)!
> >>
> >> I have trouble compiling that.
> >>
> >> $ + make -j10 'CFLAGS=-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g' V=1
> >> gcc -M -MT arch/x86/crtools.d -MT arch/x86/crtools.o -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g arch/x86/crtools.c -o arch/x86/crtools.d
> >> arch/x86/crtools.c:5:21: fatal error: asm/fpu.h: No such file or directory
> >>
> >> fpu.h does not exist in /usr/include, nor does it exist in $linux/arch/x86/
> >> or $linux/include. Apparently it does exist in crtools, but there are no
> >> more flags pointing to crtools/include/. Which probably means you should
> >> place mandatory CFLAGS not in CFLAGS, but your own variable.
> >
> > Thanks for report, i'll fix that.
>
> Hmm...
>
> [crtools]$ find -name fpu.h
> ./arch/arm/include/asm/fpu.h
> ./arch/x86/include/asm/fpu.h
Pavel, Jan overrided CFLAGS variable, thus our CFLAGS is nuked. I'm cooking
patch for that now (will send it soon).
More information about the CRIU
mailing list