[CRIU] failing to build in launchpad upload environment

Salvatore Bonaccorso carnil at debian.org
Thu Jun 30 08:31:02 PDT 2016


Hi

Sorry for not replying earlier, busy.

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.

Salvatore


More information about the CRIU mailing list