Hi Mike,

which meta-java and oe-core branch are you using?

regards;rl

On Mon, Mar 22, 2021 at 10:43:53AM +0100, Mike Looijmans wrote:
> 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: [email protected]
> W: www.topic.nl
> 
> Please consider the environment before printing this e-mail

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#90253): 
https://lists.openembedded.org/g/openembedded-devel/message/90253
Mute This Topic: https://lists.openembedded.org/mt/81520404/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to