We’ve been building images for a few years and have several modules in production. All this time, I’ve been building in JDK1.8 into these images just fine with a 32-bit host machine Ubuintu 16.04 (BSP 2.8B3 and the rocko jdk) and they’ve been working well.
jdk for 2.8 (I build the layer) -
META_JAVA=fbe0b0eb30d93f5fa2101fb015f20c1dc118b4a6
I recently upgraded to a 64-bit host machine and Ubuntu 18.04 and verified that the 2.8 BSP without any appended layers bitbakes successfully. Once I append openjdk-8 in local.conf like I always had before, I get this error -
...
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: jaxp1.3-native-1.4.01-r0 do_compile: Function failed: do_compile (log file is located at /home/dave/yocto_28/build/tmp-glibc/work/x86_64-linux/jaxp1.3-native/1.4.01-r0/temp/log.do_compile.29651)
ERROR: Logfile of failure stored in: /home/dave/yocto_28/build/tmp-glibc/work/x86_64-linux/jaxp1.3-native/1.4.01-r0/temp/log.do_compile.29651
Log data follows:
| DEBUG: Executing shell function do_compile
| Illegal instruction (core dumped)
| WARNING: exit code 132 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/dave/yocto_28/build/tmp-glibc/work/x86_64-linux/jaxp1.3-native/1.4.01-r0/temp/log.do_compile.29651)
ERROR: Task (virtual:native:/home/dave/yocto_28/build/../layers/meta-java/recipes-core/xml-commons/jaxp1.3_1.4.01.bb:do_compile) failed with exit code '1'
ERROR: gnujaf-native-1.1.1-r1 do_compile: Function failed: do_compile (log file is located at /home/dave/yocto_28/build/tmp-glibc/work/x86_64-linux/gnujaf-native/1.1.1-r1/temp/log.do_compile.29655)
ERROR: Logfile of failure stored in: /home/dave/yocto_28/build/tmp-glibc/work/x86_64-linux/gnujaf-native/1.1.1-r1/temp/log.do_compile.29655
...
r1/temp/log.do_compile.29655)
ERROR: Task (virtual:native:/home/dave/yocto_28/build/../layers/meta-java/recipes-core/classpathx/gnujaf_1.1.1.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4723 tasks of which 4456 didn't need to be rerun and 2 failed.
This only happens on the 64-bit Ubuntu 18 host machine…I get what jaxp is but can’t seem to resolve it. Appreciate any help…
thanks,
Dave