Hi, I'm trying to install openjdk-8 from meta-java layer, but I got below error while installing it. Please anyone help me with this error.
| g++: error: unrecognized command line option ‘-fmacro-prefix-map=/home/bl-docker/rity/bsp/tmp/work/aarch64-poky-linux/openjdk-8/272-r0=/usr/src/debug/openjdk-8/272-r0’ | /home/bl-docker/rity/bsp/tmp/work/aarch64-poky-linux/openjdk-8/272-r0/jdk8u-shenandoah-aarch64-shenandoah-jdk8u272-b10/hotspot/make/linux/makefiles/adlc.make:228: recipe for target '../generated/adfiles/dict2.o' failed | make[6]: *** [../generated/adfiles/dict2.o] Error 1 | g++: error: unrecognized command line option ‘-fmacro-prefix-map=/home/bl-docker/rity/bsp/tmp/work/aarch64-poky-linux/openjdk-8/272-r0=/usr/src/debug/openjdk-8/272-r0’ | /home/bl-docker/rity/bsp/tmp/work/aarch64-poky-linux/openjdk-8/272-r0/jdk8u-shenandoah-aarch64-shenandoah-jdk8u272-b10/hotspot/make/linux/makefiles/adlc.make:228: recipe for target '../generated/adfiles/formsopt.o' failed | make[6]: *** [../generated/adfiles/formsopt.o] Error 1 | /home/bl-docker/rity/bsp/tmp/work/aarch64-poky-linux/openjdk-8/272-r0/jdk8u-shenandoah-aarch64-shenandoah-jdk8u272-b10/hotspot/make/linux/makefiles/top.make:91: recipe for target 'ad_stuff' failed | make[5]: *** [ad_stuff] Error 2 | /home/bl-docker/rity/bsp/tmp/work/aarch64-poky-linux/openjdk-8/272-r0/jdk8u-shenandoah-aarch64-shenandoah-jdk8u272-b10/hotspot/make/linux/Makefile:284: recipe for target 'product' failed | make[4]: *** [product] Error 2 | Makefile:230: recipe for target 'generic_build2' failed | make[3]: *** [generic_build2] Error 2 | Makefile:177: recipe for target 'product' failed | make[2]: *** [product] Error 2 | HotspotWrapper.gmk:44: recipe for target '/home/bl-docker/rity/bsp/tmp/work/aarch64-poky-linux/openjdk-8/272-r0/build/hotspot/_hotspot.timestamp' failed | make[1]: *** [/home/bl-docker/rity/bsp/tmp/work/aarch64-poky-linux/openjdk-8/272-r0/build/hotspot/_hotspot.timestamp] Error 2 | /home/bl-docker/rity/bsp/tmp/work/aarch64-poky-linux/openjdk-8/272-r0/jdk8u-shenandoah-aarch64-shenandoah-jdk8u272-b10//make/Main.gmk:109: recipe for target 'hotspot-only' failed | make: *** [hotspot-only] Error 2 | WARNING: /home/bl-docker/rity/bsp/tmp/work/aarch64-poky-linux/openjdk-8/272-r0/temp/run.do_compile.27188:1 exit 1 from 'exit 1' | ERROR: Task (/home/bl-docker/rity/src/meta-java/recipes-core/openjdk/openjdk-8_272.bb:do_compile) failed with exit code '1' Thanks & Regards, Vijay Rakesh.
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#52331): https://lists.yoctoproject.org/g/yocto/message/52331 Mute This Topic: https://lists.yoctoproject.org/mt/80675688/21656 Mute #dunfell:https://lists.yoctoproject.org/g/yocto/mutehashtag/dunfell Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
