[CRIU] criu static build
Pavel Emelyanov
xemul at parallels.com
Sat Feb 22 00:47:40 PST 2014
On 02/22/2014 12:38 PM, riya khanna wrote:
> Nothing in particular. I was just trying to follow the instructions listed in "Documentation/HOWTO.cross-compile"
Ouch! This is something to look at.
Alex, would you?
> Thanks for your prompt response!
>
> -Riya
Thanks,
Pavel
>
>
> On Sat, Feb 22, 2014 at 3:29 AM, Pavel Emelyanov <xemul at parallels.com <mailto:xemul at parallels.com>> wrote:
>
> On 02/22/2014 12:24 PM, riya khanna wrote:
> > Hi,
> >
> > I was trying to build criu statically. However, "dlopen" in "cr_plugin_init" prevents static build:
> >
> > built-in.o: In function `cr_plugin_init':
> > :(.text+0x338fc): warning: Using 'dlopen' in statically linked applications requires at runtime the
> > shared libraries from the glibc version used for linking
> >
> > Has anybody else tried this? Workarounds?
>
> Nobody tried. What do you need statically linked criu for? It can
> be done by optional inclusion of the plugin engine, but this requires
> patching the build system.
>
> > -Riya
>
> Thanks,
> Pavel
>
>
More information about the CRIU
mailing list