]> code.ossystems Code Review - openembedded-core.git/commit
runqemu: preload uninative libraries when host gl drivers are in use
authorAlexander Kanavin <alex@linutronix.de>
Fri, 4 Feb 2022 19:59:43 +0000 (20:59 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 7 Feb 2022 10:08:52 +0000 (10:08 +0000)
commit39c10816d5ec9d9c7952d786d7a3f942d25d0c27
tree1ee9e7673019c8dce4ca34b6733d01c3dd5849ac
parent34f152de14f803fcfe5c92c515bf585838bba10a
runqemu: preload uninative libraries when host gl drivers are in use

Some of the host distributions build the drivers in a way (RPATH/RUNPATH)
that tricks uninative loader into loading pieces of the host libc, if
the same pieces haven't been previously loaded by native binaries. Mixing
the two libc versions leads to failures.

This change ensures that the correct (uninative) versions are always in use.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/qemuboot.bbclass
scripts/runqemu