[CRIU] failing to build in launchpad upload environment

Tycho Andersen tycho.andersen at canonical.com
Thu Jun 30 08:33:29 PDT 2016


Hi,

On Thu, Jun 30, 2016 at 05:31:02PM +0200, Salvatore Bonaccorso wrote:
> Hi
> 
> Sorry for not replying earlier, busy.

No problem!

> On Thu, Jun 30, 2016 at 09:18:44AM -0600, Tycho Andersen wrote:
> > On Thu, Jun 30, 2016 at 06:08:20PM +0300, Cyrill Gorcunov wrote:
> > > On Thu, Jun 30, 2016 at 08:08:55AM -0600, Tycho Andersen wrote:
> > > > 
> > > > Well, we'd like to avoid any build-script specific hacks to keep in
> > > > line with debian.
> > > > 
> > > > The build system passes its own LDFLAGS, but it passes them with the
> > > > gcc wrappers "-Wl". The problem is that CRIU's makefiles use ld
> > > > directly, and don't invoke it through gcc, and ld doesn't recognize
> > > > the -Wl bits.
> > > > 
> > > > I'm not sure how/why this works in the debian builds, because
> > > > presumably they're passing the same flags. Perhaps Salvatore can
> > > > elaborate?
> > > 
> > > Could you give the patch a shot?
> > 
> > Yep, works for me,
> 
> I applied the patch on top of 2.3-2 currently in unstable and
> building, and looks good.

Thanks, I'll get our team to sync it once it is in unstable to confirm
that it works, and then we can go back to taking debian packages
directly.

Tycho


More information about the CRIU mailing list