[poky] Yocto-2-2: native executables and libs pull symbols from wrong glibc.

Richard Purdie richard.purdie at linuxfoundation.org
Sun Jun 24 14:30:13 PDT 2018


On Sun, 2018-06-24 at 12:03 -0700, Kaz Kylheku (poky) wrote:
> On 2018-06-24 11:31, akuster808 wrote:
> > > Concretely, this leads to a failure when you build on a glibc-
> > > 2.27
> > > based system, like Ubuntu 18.04.
> > 
> > What version of morty 2.2 did you clone?
> > 
> > There where some uninative backports done for hosts with glibc-2.27
> 
> But do they really fix the underlying issue, or sweep it back under
> the 
> rug?
> 
> The thing should build regardless of what glibc the build machine is 
> using.

This is a known caveat of using uninative. The version of libc in
uninative needs to be greater than or equal to the version on the host
system. We tend to keep the version of uninative up to date and this
therefore works.

We did run into version issues and I believe master is better at
detecting the version mismatches now and recovering from it by
disabling uninative.

I'd be very happy if someone can come up with a better way of making it
work (with the same performance) but the current solution works as well
as we can make it right now and you can choose if you use it or not.

Cheers,

Richard




More information about the poky mailing list