I cannot get openjre8 to compile. Any ideas what the real issue is?
Compile for 32-bit ARM is okay, but building for aarch64 fails:
...
| g++: error: unrecognized command line option
‘-fmacro-prefix-map=/.../build/tmp-glibc/work/cortexa72-oe-linux/openjre-8/272-r0=/usr/src/debug/openjre-8/272-r0’
| g++: error: unrecognized command line option
‘-fmacro-prefix-map=/.../build/tmp-glibc/work/cortexa72-oe-linux/openjre-8/272-r0=/usr/src/debug/openjre-8/272-r0’
|
/.../build/tmp-glibc/work/cortexa72-oe-linux/openjre-8/272-r0/jdk8u-shenandoah-aarch64-shenandoah-jdk8u272-b10/hotspot/make/linux/makefiles/adlc.make:228:
recipe for target '../generated/adfiles/output_c.o' failed
| make[6]: *** [../generated/adfiles/output_c.o] Error 1
|
/.../build/tmp-glibc/work/cortexa72-oe-linux/openjre-8/272-r0/jdk8u-shenandoah-aarch64-shenandoah-jdk8u272-b10/hotspot/make/linux/makefiles/adlc.make:228:
recipe for target '../generated/adfiles/main.o' failed
| make[6]: *** [../generated/adfiles/main.o] Error 1
| g++: error: unrecognized command line option
‘-fmacro-prefix-map=/.../build/tmp-glibc/work/cortexa72-oe-linux/openjre-8/272-r0=/usr/src/debug/openjre-8/272-r0’
|
/.../build/tmp-glibc/work/cortexa72-oe-linux/openjre-8/272-r0/jdk8u-shenandoah-aarch64-shenandoah-jdk8u272-b10/hotspot/make/linux/makefiles/adlc.make:228:
recipe for target '../generated/adfiles/output_h.o' failed
| make[6]: *** [../generated/adfiles/output_h.o] Error 1
| make[5]: *** [ad_stuff] Error 2
|
/.../build/tmp-glibc/work/cortexa72-oe-linux/openjre-8/272-r0/jdk8u-shenandoah-aarch64-shenandoah-jdk8u272-b10/hotspot/make/linux/makefiles/top.make:91:
recipe for target 'ad_stuff' failed
|
/.../build/tmp-glibc/work/cortexa72-oe-linux/openjre-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
| make[2]: *** [product] Error 2
| Makefile:177: recipe for target 'product' failed
| HotspotWrapper.gmk:44: recipe for target
'/.../build/tmp-glibc/work/cortexa72-oe-linux/openjre-8/272-r0/build/hotspot/_hotspot.timestamp'
failed
| make[1]: ***
[/.../build/tmp-glibc/work/cortexa72-oe-linux/openjre-8/272-r0/build/hotspot/_hotspot.timestamp]
Error 2
|
/.../build/tmp-glibc/work/cortexa72-oe-linux/openjre-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:
/.../build/tmp-glibc/work/cortexa72-oe-linux/openjre-8/272-r0/temp/run.do_compile.9267:189
exit 1 from 'exit 1'
| WARNING: Backtrace (BB generated script):
| Â Â Â #1: bbfatal_log,
/.../build/tmp-glibc/work/cortexa72-oe-linux/openjre-8/272-r0/temp/run.do_compile.9267,
line 189
| Â Â Â #2: die,
/.../build/tmp-glibc/work/cortexa72-oe-linux/openjre-8/272-r0/temp/run.do_compile.9267,
line 179
| Â Â Â #3: oe_runmake,
/.../build/tmp-glibc/work/cortexa72-oe-linux/openjre-8/272-r0/temp/run.do_compile.9267,
line 168
| Â Â Â #4: autotools_do_compile,
/.../build/tmp-glibc/work/cortexa72-oe-linux/openjre-8/272-r0/temp/run.do_compile.9267,
line 163
| Â Â Â #5: do_compile,
/.../build/tmp-glibc/work/cortexa72-oe-linux/openjre-8/272-r0/temp/run.do_compile.9267,
line 158
| Â Â Â #6: main,
/.../build/tmp-glibc/work/cortexa72-oe-linux/openjre-8/272-r0/temp/run.do_compile.9267,
line 202
|
| Backtrace (metadata-relative locations):
| Â Â Â #1: bbfatal_log,
/.../oe-core/meta/classes/logging.bbclass, line 72
| Â Â Â #2: die, /.../oe-core/meta/classes/base.bbclass, line 56
| Â Â Â #3: oe_runmake, /.../oe-core/meta/classes/base.bbclass,
line 65
| Â Â Â #4: autotools_do_compile,
/.../oe-core/meta/classes/autotools.bbclass,
line 243
| Â Â Â #5: do_compile, autogenerated, line 2
ERROR: Task
(/.../meta-java/recipes-core/openjdk/openjre-8_272.bb:do_compile)
failed
with exit code '1'
--
Mike Looijmans
Met vriendelijke groet / kind regards,
Mike Looijmans
System Expert
TOPIC Embedded Products B.V.
Materiaalweg 4, 5681 RJ Best
The Netherlands
T: +31 (0) 499 33 69 69
E: mike.looijm...@topicproducts.com
W: www.topic.nl
Please consider the environment before printing this e-mail