summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* jarkarta-libs: bsf: move SRC_URI to current archive pagewarrior-nextRichard Leitner2020-08-182-2/+2
| | | | | | The old archive page is gone, therefore move to the current one. Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* icedtea7-native: Fix building with GCC 10Jacob Kroon2020-08-171-0/+3
| | | | | Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* icedtea7-native: inherit python nativeKraag Gorim2020-08-171-0/+1
| | | | | | | | | icedtea7-native relys on python to enable building it. Therefor it should inherit python instead of assuming python being part of HOSTTOOLS. Signed-off-by: Kraag Gorim <kraaggorim@gmail.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* icedtea7-native: add patch to fix xattr include pathRichard Leitner2020-08-173-0/+25
| | | | | | | | As attr dropped the <attr/xattr.h> header use <sys/xattr.h> instead. http://git.savannah.nongnu.org/cgit/attr.git/commit/include?id=7921157890d07858d092f4003ca4c6bae9fd2c38 Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* icedtea7-native: set default x11 PACKAGECONFIG from DISTRO_FEATURESKyle Russell2020-08-171-1/+1
| | | | | | | | | | | | | | | | | | | | | If x11 is specified in DISTRO_FEATURES, then make it a default PACKAGECONFIG option when building icedtea7-native; otherwise, the libx11-native dependency won't be satisfied. The recipe reads as though icedtea7-native can build completely without X11, but if the libx11-native headers are not installed on the host system, compile errors in multiple units because of a missing X11/Xlib.h. In file included from ../../../src/share/native/sun/awt/../java2d/pipe/Region.h:34:0, from ../../../src/share/native/sun/awt/../java2d/loops/GraphicsPrimitiveMgr.c:31: ../../../src/solaris/native/sun/awt/utility/rect.h:31:22: fatal error: X11/Xlib.h: No such file or directory In this example, it appears that GraphicsPrimitiveMgr.c is supposed to be compiled even in headless mode, so the dependency still seems to be needed. Signed-off-by: Kyle Russell <bkylerussell@gmail.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* icedtea7-native: use openjdk build helper functionsRichard Leitner2020-08-171-12/+2
| | | | | | | Replace target arch selection switch with functions from the openjdk build helper. Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* icedtea7-native: add patch to fix friend declaration of prefix_relocInfoRichard Leitner2020-08-172-0/+22
| | | | | | | | | | This fixes the following error: build/openjdk-boot/hotspot/src/share/vm/code/relocInfo.hpp:374:27: error: friend declaration of ‘relocInfo prefix_relocInfo(int)’ specifies default arguments and isn’t a definition [-fpermissive] Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* icedtea7: Add missing DEPENDSRicardo Ribalda Delgado2020-08-171-1/+2
| | | | | | | | | | | | | | | | | | | Fixes: | checking X11/X.h usability... no | checking X11/X.h presence... no | checking for X11/X.h... no | configure: error: "xorg headers were not found - | try installing xorg-x11-proto-devel." | NOTE: The following config.log files may provide further information. | NOTE: /workdir/build/tmp/work/x86_64-linux/icedtea7-native/2.1.3-r1.0/icedtea-2.1.3/build/config.log | ERROR: configure failed | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_configure (log file is located at /workdir/build/tmp/work/x86_64-linux/icedtea7-native/2.1.3-r1.0/temp/log.do_configure.29594) ERROR: Task (/workdir/repo/poky/../meta-java/recipes-core/icedtea/icedtea7-native_2.1.3.bb:do_configure) failed with exit code '1' Suggested-by: Jacob Kroon <jacob.kroon@mikrodidakt.se> Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* icedtea7-native: disable new compiler warningsRichard Leitner2020-08-171-0/+3
| | | | | | | | As new compilers throw new errors/warnings disable them for icedtea7-native as a quick workaround until we updated it to the latest version. Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* openjdk-8: remove -WerrorRichard Leitner2020-08-174-13/+227
| | | | | | | | Add patches to remove Werror from the build process. Therefore we also drop the "-Wno-*" exceptions. Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Tested-by: Jacob Kroon <jacob.kroon@gmail.com>
* openjdk-8: require GCC >= v6Richard Leitner2020-08-172-18/+12
| | | | | | | | | As nobody should use older versions of GCC anymore this patch drops all version dependent workarounds and requiers host gcc >=6 for building openjdk-8. Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Tested-by: Jacob Kroon <jacob.kroon@gmail.com>
* openjdk-8: Fix building with GCC 10Jacob Kroon2020-08-171-0/+4
| | | | | Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* openjdk-8: Don't set TOPDIR bitbake variableJacob Kroon2020-08-171-1/+4
| | | | | | | | | It is used to set the default sstate cache location. Just export it to the environment. Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com> [richard.leitner@skidata.com: adapted commit message] Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* openjdk-8: update to latest ga version 242Richard Leitner2020-08-1770-4018/+1390
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As OpenJDK-8 is now tagging "ga" versions in addition to the "build" version the recipes are adapted to use those "ga" versions. All existing patches got re-applied and renamed. For better handling Hotspot patches now start at patch number 1001 and jdk patches at 2001. Furthermore architecture dependent patches are prefixed with the architecture they apply on. Following patches/hunks were completely dropped: - 0002-hotspot-fix-compilation-with-security-flags-enabled.patch got backported to hotspot jdk8u https://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/c40a28e54185 - 0011-hotspot-backport-patch-to-fix-misuses-of-strncpy-str.patch ostream.cpp:112 got fixed in hotspot jdk8u https://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/f3108e56b502 - 0014-hotspot-zero-fix-undefined-behaviour-gcc-v8-fix.patch got backported to hotspot jdk8u https://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/ca4663e58916 - 0018-hotspot-Fix-debug-build-after-8062808-Turn-on-the-Wr.patch fixed in hotspot jdk8u https://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/32bc598624bd - 0020-Enable-HotSpot-builds-on-5.x-Linux-kernels.patch fixed in hotspot jdk8u https://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/5af8ec63c21c - openjdk8-add-missing-linker-flags.patch fixed in hotspot jdk8u https://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/f175513c2c3a - openjdk8-fix-shark-stdc++11.patch fixed in hotspot jdk8u - openjdk8-fix-libpng-neon-build.patch fixed in jdk https://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/5d57817931e1 - aarch64-hotspot-fix-undefined-behaviour-gcc-v8-fix.patch got backported to hotspot jdk8u Following patches were newly added: - 0011-autoconf-fix-CC-with-arguments-detection.patch needed because of jdk8u commit "8038340: Cleanup and fix sysroot and devkit handling on Linux and Solaris" - 0012-autoconf-NativeCompilation-remove-sysroot.patch needed because of jdk8u commit "8038340: Cleanup and fix sysroot and devkit handling on Linux and Solaris" Additionally add UPDATING.md which describes the openjdk8 update process for this layer and update8checksums.sh, a script that updates the openjdk8 source archive checksums in the corresponding .inc files. Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* openjdk-8: fix a random crash on JNI_CreateJavaVMWenlin Kang2020-08-172-0/+37
| | | | | | | | When call JNI_CreateJavaVM API, sometimes it will crash(we have reproduced it on quemuppc), this patch fixes it. Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* remove True option to getVar callsAndré Draszik2020-08-175-15/+15
| | | | | | | | | | | | | | | getVar() has been defaulting to expanding by default for a long time (2016), thus remove the True option from getVar() calls with a regex search and replace. Search & replace made using the following command: sed -e 's|\(d\.getVar \?\)( \?\([^,()]*\), \?True)|\1(\2)|g' \ -i $(git grep -E 'getVar ?\( ?([^,()]*), ?True\)' \ | cut -d':' -f1 \ | sort -u) Signed-off-by: André Draszik <andre.draszik@jci.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* openjdk8: Make kerberos optional through PACKAGECONFIGRicardo Ribalda Delgado2020-08-171-1/+3
| | | | | | | | It triggers a lot of dependencies, and it is no clear that is needed. Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* openjdk-8: disable stringop-overflow compiler errorsRichard Leitner2020-08-171-0/+5
| | | | | | | | As new compilers generate this error we disable it for now as a WORKAROUND. This will be removed when openjdk-8 is updated to the latest version Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* openjdk-8: Enable HotSpot builds on 5.x Linux kernelsNicola Lunghi2020-08-172-0/+44
| | | | | | | | This is a backport of a patch to enable hotspot builds with 5.x kernels. Signed-off-by: Nicola Lunghi <nick83ola@gmail.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* Revert "openjdk-8: disable, stringop-overflow compiler errors"Richard Leitner2020-01-031-5/+0
| | | | | | | | | | This reverts commit d5a8ec9e269d1f04a6cf78867ebf74a297f33258 as it broke the build with older GCC versions. See also https://lists.yoctoproject.org/g/yocto/message/47850 Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Cc: Darcy Watkins <dwatkins@sierrawireless.com>
* openjdk-8: disable stringop-overflow compiler errorsRichard Leitner2019-12-271-0/+5
| | | | | | | | As new compilers generate this error we disable it for now as a WORKAROUND. This will be removed when openjdk-8 is updated to the latest version Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* Revert "base-files: Define JAVA_HOME by default"Fang Jia2019-07-191-13/+0
| | | | | | | | | | | | | | | | | | | | This reverts commit ada652564f09756a81f54495cbc2091125239625. When enable multilib on a 64-bit system, probably both base-file and lib32-base-files are installed. Then both packages want to modify the file "profile", there will be an error like: " Error: Transaction check error: file /etc/profile conflicts between attempted installs of lib32-base-files-3.0.14-r148.gpb_virt and base-files-3.0.14-r148.gpb_virt " The task can be added by adding a file to ${sysconfdir}/profile.d/. Signed-off-by: Fang Jia <fang.jia@windriver.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* layer.conf: remove thud from compatible release seriesRichard Leitner2019-06-251-1/+1
| | | | Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* layer.conf: Add warrior to compatible release seriesRichard Leitner2019-04-031-1/+1
| | | | Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* java-library: make packages overriding PACKAGE_ARCH work againAndré Draszik2018-12-183-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | Recent changes is OE have caused the traditional approach of inheriting allarch and setting PACKAGE_ARCH not work anymore. Once allarch is inherited, PACKAGE_ARCH can not be overridden afterwards. See commit a23c482cab4f ("allarch: only enable allarch when multilib is not used") d9ba0219b2f6 in poky. http://git.openembedded.org/openembedded-core/commit/?id=a23c482cab4f874f4a6a6889716123569eb5ece9 The error manifests itself with configure trying to --host=allarch-poky-linux --target=allarch-poky-linux which fails. To work around this we can make java-library's allarch inherit conditional, as is done e.g. in OE-core for packagegroup.bbclass http://git.openembedded.org/openembedded-core/commit/?id=9c826962ec8fa45c2b035427442b90a41517144e http://git.openembedded.org/openembedded-core/commit/?id=2c9b1d304daade7b0907320aeb9c522e7ab9dcab So this commit does exactly that, and fixes the two users of this to follow the new approach. Signed-off-by: André Draszik <andre.draszik@jci.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* oeqa: runtime: java: skip java7 comp test for powerpcRichard Leitner2018-12-181-0/+1
| | | | Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* openjdk-8-native: hotspot: handle format-overflow error for gcc >= 7Andreas Obergschwandtner2018-10-242-0/+26
| | | | | | | | fixed the format-overflow warnings by patch affected files in openjdk-8-hotspot Signed-off-by: Andreas Obergschwandtner <andreas.obergschwandtner@skidata.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* layer.conf: change LAYERSERIES_COMPAT to thudRichard Leitner2018-10-221-1/+1
| | | | Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* openjdk: remove incorrect PROVIDES (java2-vm java2-runtime)André Draszik2018-10-222-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are two issues here: * PROVIDES is not package specific * it doesn't look like the intention is to be able to DEPENDS on java2-vm or java2-runtime anyway Regarding java2-vm: ------------------- java2-vm was originally used in the OpenJDK 6 & 7 recipes to be able to select shark, zero, cacao, or jamvm VMs. OpenJDK-6 is not available any more, and OpenJDK-7 has removed support for most of this in commit 38f4c1365c11 ("openjdk7: remove broken/unsupported VM's") It is not clear why it was added to the OpenJDK-8 recipe either. Given OpenJDK-7 has no way of using the VM compiled as part of OpenJDK-8, and given that no part of the OpenJDK-8 makes use of the java2-vm part, the correct solution here is to actually *remove* the incorrect PROVIDES as well as *R*PROVIDES statements for java2-vm completely. Regarding java2-runtime: ------------------------ Again, looking at the other uses of this: java2-runtime is a virtual runtime package name, which is provided by different *runtime* packages (created by the OpenJDK-7, OpenJDK-8, JamVM, or Cacao recipes). Other recipes only ever RDEPEND on java2-runtime. It makes no sense for the OpenJDK-8 recipe to PROVIDES java2-runtime given the above. Remove the incorrect (R)PROVIDES statements. Signed-off-by: André Draszik <andre.draszik@jci.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* openjdk-8: support rm_work disabledAndré Draszik2018-10-221-0/+1
| | | | | | | | | | | | | | | | | | | | Now that generation of the Java keystore actually works (again?), OE-core commit 09bb7718d74 ("ca-certificates: use relative symlinks from $ETCCERTSDIR"), do_compile() will fail when invoked multiple times. The reason is that during do_compile(), the Java keytool is used to create a Java keystore with the certificates provided by ca-certificates. Before above OE-core commit, no certificates were actually being added, but as certificates are being added now, multiple do_compile() runs will end up adding the same certificate twice when rm_work is disabled, causing a keytool exception, as that is not allowed. So let's remove any previously generated keystore before trying to add certificates to it. Signed-off-by: André Draszik <andre.draszik@jci.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* openjdk-7-common: fix jvm postinst scriptsRichard Leitner2018-10-021-18/+18
| | | | | | | | | | | | As the JVM postinst scripts fail during rootfs creation we postpone them to the target using the "pkg_postinst_ontarget_" function. Failing the build at failing postinst scripts was intentionally introduced by oe-core. Furthermore remove the no longer needed $D prefixes from those postinst scripts. Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* README: clarify supported openjdk version/arch/libc combinationsRichard Leitner2018-10-021-13/+19
| | | | Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* oeqa: runtime: java: skip java7 comp test for ppcRichard Leitner2018-10-021-0/+1
| | | | Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* conf: distro: add mejate{,-musl} distributionsRichard Leitner2018-10-022-0/+13
| | | | | | | Add meta-java test distributions for glibc and musl. Those should be used for oeqa tests of the *-test-image's to cover also musl. Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* oeqa: runtime: java: enable test_java8_jar_comp_mode for armv7Richard Leitner2018-10-022-3/+5
| | | | | | | | | | | | | | | As commit "openjdk-8: add aarch32 port 8u172b11" introduced support for the aarch32 port of openjdk-8 enable the test_java8_jar_comp_mode test for ARMv7 machines. This is done by skipping the test only for machines which have armv{4-6} in their tunes. Furthermore update the "Known Limitations" section in the README. This patch depends on OE-Core rev 10b935c713748346aea6c36c2f41e0ae6c320821, named "oeqa/core/decorator: add skipIfInDataVar" Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Acked-by: Henning Heinold <henning@itconsulting-heinold.de>
* icedtea: disable error format-overflow for gcc 7Andreas Obergschwandtner2018-10-022-0/+43
| | | | | | | | | | As no patch has been found in debian and hotspot repo for this issue we just disable this warning which was introduced with GCC 7. Also known as: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=881824 Signed-off-by: Andreas Obergschwandtner <andreas.obergschwandtner@skidata.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* openjdk-7: merge postinst into openjdk-7-commonRichard Leitner2018-10-022-101/+99
| | | | | | | | | | As openjdk-7-common was the only consumer of openjdk-postinst.inc move it's content and remove openjdk-postinst.inc. Now all files in recipes-core/openjdk are named correctly according to their versions again. Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* openjdk-8: use openjdk-commonRichard Leitner2018-10-021-6/+1
| | | | | | | | As openjdk-common.inc now serves all OpenJDK version let openjdk-8-common require it. Furthermore remove the now duplicated lines. Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* openjdk-7: remove version dependent stuff from openjdk-commonRichard Leitner2018-10-022-37/+38
| | | | | | | Move the OpenJDK-7 specific parts from openjdk-common.inc to openjdk-7-common.inc. Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* icedtea7-native: use openjdk_build_helper's ARCH translation functionsRichard Leitner2018-10-021-39/+3
| | | | | | | As the openjdk_build_helper now provides the ARCH translation function use those and drop the local ones. Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* openjdk-7: use openjdk_build_helper's ARCH translation functionsRichard Leitner2018-10-022-41/+2
| | | | | | | | | As the openjdk_build_helper now provides the ARCH translation function use those and drop the local ones. Furthermore remove the duplicated LLVM_CONFIGURE_ARCH export. Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* openjdk-8: use openjdk_build_helper's ARCH translation functionsRichard Leitner2018-10-021-40/+3
| | | | | | | As the openjdk_build_helper now provides the ARCH translation function use those and drop the local ones. Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* openjdk-build-helper: add get_*_arch functionsRichard Leitner2018-10-021-0/+51
| | | | | | | | As different parts of OpenJDK use sightly different names for ARCH'es we provide those translations functions centrally in our openjdk-build-helper class. Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* openjdk-8: add aarch32 port 8u172b11André Draszik2018-10-0217-98/+416
| | | | | | | | | | | | | | Similar to the aarch64 build, we import the specific aarch32 port when building for ARMv7. We also add all the necessary patches to: * compile using gcc v8 * compile against musl This was tested on: * QEMU with cortex A7 emulation (using glibc) * real hardware (using musl) Signed-off-by: André Draszik <andre.draszik@jci.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* openjdk-8: allow to build client JVM via PACKAGECONFIGAndré Draszik2018-08-211-0/+2
| | | | | | | The aarch32 port will need to unconditionally enable this. Signed-off-by: André Draszik <andre.draszik@jci.com> Signed-off-by: Richard Leitner <dev@g0hl1n.net>
* openjdk-8: always apply some patchesAndré Draszik2018-08-212-3/+2
| | | | | | | As a simplification for the upcoming aarch32 port. Signed-off-by: André Draszik <andre.draszik@jci.com> Signed-off-by: Richard Leitner <dev@g0hl1n.net>
* openjdk-8: fix malformed patchesAndré Draszik2018-08-2116-32/+32
| | | | | | | | | | | | | git am complains: Warning: commit message did not conform to UTF-8. You may want to amend it after fixing the message, or set the config variable i18n.commitencoding to the encoding your project uses. Not sure what happened there when they were applied to git, they certainly weren't sent like that to the mailing list. Signed-off-by: André Draszik <andre.draszik@jci.com> Signed-off-by: Richard Leitner <dev@g0hl1n.net>
* layer.conf: stop OpenJDK-8(native) build dependencies from being installedAndré Draszik2018-08-211-0/+4
| | | | | | | | | | | | | | | | Avoid installation of all openjdk-8-native buildtime dependencies into a depending recipe's sysroot. To execute openjdk-8-native as part of a depending recipe's build, we don't need the openjdk-8-native build time dependencies (like ant-native, or more importantly icedtea-7-native), just its runtime dependencies, unless of course that depending recipe's builds needs those tools itself. In that case, it needs to specify them explicitly, though (of course!). Use SSTATE_EXCLUDEDEPS_SYSROOT to prevent openjdk-8-native build time dependencies from being copied in the sysroot unless explicitly requested. Signed-off-by: André Draszik <andre.draszik@jci.com> Signed-off-by: Richard Leitner <dev@g0hl1n.net>
* README: add "Known Limitations/Bugs" sectionRichard Leitner2018-08-201-0/+19
| | | | | | | | Add a section containing our currently known limitations. This includes OpenJDK version-target combinations which only support "interpreted mode". Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* openjdk-8: gcc-8 fix #4: undefined behaviour (hotspot)André Draszik2018-08-1411-2/+673
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using gcc-8, Hotspot is being miscompiled, resulting in non- working binaries. The reason is undefined behaviour, which gcc-8 even warns about and errors out. We have so far have taped over those warnings, but it turns out that we simply cannot do that. Add patches to address undefined behaviour causing miscompilation of hotsport. This also means we can remove the -Wno-error=return-type C compiler flag again which was recently added in error in commit 52fb41cec7d5 ("openjdk-8: fix build for gcc8.x") only hiding the compiler warnings/errors that were flagging the incorrect code in the first place. With these patches applied, the openjdk-8 ARM port works again: | RESULTS: | RESULTS - ping.PingTest.test_ping - Testcase 964: PASSED (0.04s) | RESULTS - ssh.SSHTest.test_ssh - Testcase 224: PASSED (0.68s) | RESULTS - java.JavaTest.test_java_exists - Testcase -1: PASSED (0.14s) | RESULTS - java.JavaTest.test_java_jar_comp_mode - Testcase -1: FAILED (5.13s) | RESULTS - java.JavaTest.test_java_jar_int_mode - Testcase -1: PASSED (4.48s) | RESULTS - java.JavaTest.test_java_jar_works - Testcase -1: PASSED (4.44s) | RESULTS - java.JavaTest.test_java_version - Testcase -1: PASSED (3.66s) | RESULTS - javac.JavacTest.test_javac_exists - Testcase -1: PASSED (0.13s) | RESULTS - javac.JavacTest.test_javac_works - Testcase -1: PASSED (30.87s) | SUMMARY: | openjdk-8-test-image () - Ran 9 tests in 50.263s The java.JavaTest.test_java_jar_comp_mode failure can be ignored for now, as that test verifies compiled mode which is not available on arm. The testcase must be fixed instead. (We need to refresh one unrelated existing patch to avoid patch fuzz warnings) Signed-off-by: André Draszik <andre.draszik@jci.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>