[oe] Updates to meta-java (master) in 2015-01-25
Otavio Salvador
otavio at ossystems.com.br
Mon Jan 26 01:14:08 UTC 2015
Hello,
I pushed following updates:
commit 9319b7458cd136404998f7aeb5508a2baa83e40a (HEAD, origin/master, origin/HEAD, master)
Author: Zhenhua Luo <zhenhua.luo at freescale.com>
Date: Wed Jan 21 16:34:50 2015 +0800
openjdk-6: Fix cross compilation for e6500 machines
This is only way for compile for now since qemu can not
run the sizers binary for e6500 machines. It segfaults
so we disable generating sizes and also xawt and jawt
which depends on sizers, this lets jre to cross compile
for ppc/e6500
The fix is ported according to da0b3a20a67496dc8d4282d19a60672001b7f825
Signed-off-by: Zhenhua Luo <zhenhua.luo at freescale.com>
Signed-off-by: Ting Liu <ting.liu at freescale.com>
Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
commit a9553d6660e4b0def65b3fcfbd923b687ed857a0
Author: Ting Liu <ting.liu at freescale.com>
Date: Wed Jan 21 16:23:05 2015 +0800
openjdk-6: do not run gamma test for cross compiles
set CROSS_COMPILE_ARCH which will be checked before run gamma test.
Fix the below issue:
| make[6]: Leaving directory `.../openjdk-6-jre/6b32-1.13.4-r22.0/build/openjdk.build/hotspot/outputdir/linux_ppc64_zero/product'
| cd linux_ppc64_zero/product && ./test_gamma
| ./test_gamma: line 72: ./gamma: cannot execute binary file
| make[5]: *** [productzero] Error 126
Signed-off-by: Ting Liu <ting.liu at freescale.com>
Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
commit c78363c6050ef244a2df65e2677a03f0af09ecec
Author: Ting Liu <ting.liu at freescale.com>
Date: Wed Jan 21 16:23:04 2015 +0800
openjdk-6: pass option --disable-system-lcms
Fix the below issue:
| checking whether to enable the use of LCMS2... yes
| checking whether to use the system LCMS install... yes
| checking for LCMS2... no
| configure: error: Could not find LCMS >= 2.5; install it or build with --disable-system-lcms to use the in-tree copy.
| Configure failed. The contents of all config.log files follows to aid debugging
| ERROR: oe_runconf failed
Signed-off-by: Ting Liu <ting.liu at freescale.com>
Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
commit 58c5f41799bec30a5576137d5477e8ba14a0a802
Author: Ting Liu <ting.liu at freescale.com>
Date: Wed Jan 21 16:23:03 2015 +0800
openjdk-6: Remove currency data generation expiration date
As the openjdk source was extracted during 'make patch-ecj' in
do_configure, apply the patch via do_configure_append.
icedtea6-1.13.4/Makefile.am:1200:stamps/extract-openjdk.stamp: stamps/download.stamp
| if OPENJDK_SRC_DIR_FOUND
| if ! test -d openjdk ; then \
| cp -pPR $(OPENJDK_SRC_DIR_LINK) $(OPENJDK_SRC_DIR) openjdk ; \
| fi
| else
| if USE_HG
| if ! test -d openjdk ; then \
| cp -pPRl openjdk.hg openjdk ; \
| fi
| else
| set -e ; \
| if ! test -d openjdk ; \
| then \
| mkdir openjdk ; \
| $(TAR) xf $(OPENJDK_SRC_ZIP) -C openjdk; \
| chmod -R ug+w openjdk ; \
| sh $(abs_top_srcdir)/fsg.sh ; \
| fi
| endif
| endif
Signed-off-by: Ting Liu <ting.liu at freescale.com>
Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
commit 7b66216905c9420032e8a7b97e6a4466f6ec6118
Author: Max Krummenacher <max.oss.09 at gmail.com>
Date: Tue Jan 20 16:27:10 2015 +0100
README: improve copy/paste experiance
The section with stuff to be put in local.conf/distro conf currently
can not be directly copy/pasted from the README
- adding a missing "
- putting a # before each comment
- commenting out alternatives
- fixing version string 6b27-1.12.8
- adding version 6b32-1.13.4
Signed-off-by: Max Krummenacher <max.oss.09 at gmail.com>
Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
commit e705d5e697d20c6811b9687313b027f66a17a42e
Author: Max Krummenacher <max.oss.09 at gmail.com>
Date: Tue Jan 20 16:14:24 2015 +0100
Revert "openjdk: Fix QEMU call to use sysroot for libs"
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>
Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
commit cb351db824b0eb4a71514156bba543f6dde19740
Author: Max Krummenacher <max.oss.09 at gmail.com>
Date: Tue Jan 20 16:14:23 2015 +0100
binaries run by qemu: link with -static, force ld.bfd
For machines using DEFAULTTUNE = "armv7ahf" or DEFAULTTUNE = "armv7athf" a build
of openjdk-7 fails with segmentation faults during the qemu-arm runs.
e.g.
Segmentation fault (core dumped) | qemu-arm -cpu cortex-a8 -s 2097152
-L .../sysroots/colibri-t20 \
-E LD_LIBRARY_PATH=.../sysroots/colibri-t20/lib ./mkbc - bytecodes_arm.s
I found that qemu-arm can not execute any binary which is compiled with the
resulting compiler and is linked with the gold linker and the -static flag.
Even a simple hello world program does not work. When executing that
hello world on the real hardware it also generates a segmentation fault.
Removing the -static flag or forcing the bfd linker fixed this.
Note that other machines, colibri-t30 or i.mx6 based ones with neon but
otherwise identical setup do not suffer from the issue.
DEFAULTTUNE = "armv7athf-neon" works.
While at it convert the sizer call for openjdk-7 used when building xawt
also to use -static even though the code is currently disabled.
Further details:
http://lists.openembedded.org/pipermail/openembedded-devel/2015-January/099795.html
Signed-off-by: Max Krummenacher <max.oss.09 at gmail.com>
Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
Regards,
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
More information about the Openembedded-devel
mailing list