[oe] [meta-java][PATCH 2/2] Revert "openjdk: Fix QEMU call to use sysroot for libs"

Max Krummenacher max.oss.09 at gmail.com
Tue Jan 20 15:14:24 UTC 2015


This reverts commit ab51e51d9a9a51bedd19de09bcba4ce830dfc5e7.

Using an oe setup with ptest enabled makes qemu never to return due to testfiles
staged by udev in the sysroot 
See also:
http://lists.openembedded.org/pipermail/openembedded-core/2014-September/097098.html

All binaries compiled for qemu are now linked with -static. The -L, -E parameters
pointing to the sysroot and dynamic linker are not needed anymore and removel works
around the issue.

Further details:
http://lists.openembedded.org/pipermail/openembedded-devel/2015-January/099795.html

Signed-off-by: Max Krummenacher <max.oss.09 at gmail.com>
---
 recipes-core/openjdk/openjdk-common.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-core/openjdk/openjdk-common.inc b/recipes-core/openjdk/openjdk-common.inc
index 97947b5..349ce9e 100644
--- a/recipes-core/openjdk/openjdk-common.inc
+++ b/recipes-core/openjdk/openjdk-common.inc
@@ -72,6 +72,6 @@ export WANT_LLVM_RELEASE = "2.8"
 export LLVM_CONFIGURE_ARCH="${@get_llvm_configure_arch(d)}"
 
 # Large stack is required at least on x86_64 host, otherwise random segfaults appear:
-QEMU = "${@qemu_target_binary(d)} ${QEMU_OPTIONS} -s 2097152 -L ${STAGING_DIR_TARGET} -E LD_LIBRARY_PATH=${STAGING_BASELIBDIR}"
+QEMU = "${@qemu_target_binary(d)} ${QEMU_OPTIONS} -s 2097152"
 
 EXTRA_OEMAKE += 'QEMU="${QEMU}"'
-- 
1.9.3




More information about the Openembedded-devel mailing list