* [meta-java] openjre8 fails to compile on aarch64
[not found] ` <1b153bce-a66a-45ee-a5c6-963ea6fb1c82.0d2bd5fa-15cc-4b27-b94e-83614f9e5b38.74969f47-fd5f-43b1-b5f3-843bc6e03141@emailsignatures365.codetwo.com>
@ 2021-03-22 9:43 ` Mike Looijmans
2021-03-22 11:53 ` [oe] " Richard Leitner
[not found] ` <166EA0EA5639ABCD.32074@lists.openembedded.org>
1 sibling, 1 reply; 11+ messages in thread
From: Mike Looijmans @ 2021-03-22 9:43 UTC (permalink / raw)
To: openembedded-devel
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.looijmans@topicproducts.com
W: www.topic.nl
Please consider the environment before printing this e-mail
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [oe] [meta-java] openjre8 fails to compile on aarch64
2021-03-22 9:43 ` [meta-java] openjre8 fails to compile on aarch64 Mike Looijmans
@ 2021-03-22 11:53 ` Richard Leitner
2021-03-22 12:15 ` Mike Looijmans
0 siblings, 1 reply; 11+ messages in thread
From: Richard Leitner @ 2021-03-22 11:53 UTC (permalink / raw)
To: Mike Looijmans; +Cc: openembedded-devel
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: mike.looijmans@topicproducts.com
> W: www.topic.nl
>
> Please consider the environment before printing this e-mail
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [oe] [meta-java] openjre8 fails to compile on aarch64
2021-03-22 11:53 ` [oe] " Richard Leitner
@ 2021-03-22 12:15 ` Mike Looijmans
2021-03-22 12:36 ` Richard Leitner
0 siblings, 1 reply; 11+ messages in thread
From: Mike Looijmans @ 2021-03-22 12:15 UTC (permalink / raw)
To: Richard Leitner; +Cc: openembedded-devel
Both "gatesgarth".
Issue seems to be that the build host (Ubuntu 18) has gcc 7 and the one
used for cross-compiling is much newer. Apparently there's something
wrong in the makefile that it uses host compiler flags for the build
compiler.
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.looijmans@topicproducts.com
W: www.topic.nl
Please consider the environment before printing this e-mail
On 22-03-2021 12:53, Richard Leitner wrote:
> 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: mike.looijmans@topicproducts.com
>> W: www.topic.nl
>>
>> Please consider the environment before printing this e-mail
--
Mike Looijmans
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [oe] [meta-java] openjre8 fails to compile on aarch64
2021-03-22 12:15 ` Mike Looijmans
@ 2021-03-22 12:36 ` Richard Leitner
2021-03-22 14:52 ` Mike Looijmans
[not found] ` <166EB1C4D79F83DA.5508@lists.openembedded.org>
0 siblings, 2 replies; 11+ messages in thread
From: Richard Leitner @ 2021-03-22 12:36 UTC (permalink / raw)
To: Mike Looijmans; +Cc: openembedded-devel
If I get it right these flags should be filtered out by the adlc flags
patch [1].
Can you verify that it's getting applied?
Unfortunately I don't have a gcc-7 host machine available right now 😕
regards;rl
[1]https://git.yoctoproject.org/cgit/cgit.cgi/meta-java/tree/recipes-core/openjdk/patches-openjdk-8/1009-hotspot-fix-adlc-flags.patch
On Mon, Mar 22, 2021 at 01:15:14PM +0100, Mike Looijmans wrote:
> Both "gatesgarth".
>
> Issue seems to be that the build host (Ubuntu 18) has gcc 7 and the one used
> for cross-compiling is much newer. Apparently there's something wrong in the
> makefile that it uses host compiler flags for the build compiler.
>
>
>
>
> 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.looijmans@topicproducts.com
> W: www.topic.nl
>
> Please consider the environment before printing this e-mail
> On 22-03-2021 12:53, Richard Leitner wrote:
> > 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: mike.looijmans@topicproducts.com
> > > W: www.topic.nl
> > >
> > > Please consider the environment before printing this e-mail
>
>
> --
> Mike Looijmans
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [oe] [meta-java] openjre8 fails to compile on aarch64
2021-03-22 12:36 ` Richard Leitner
@ 2021-03-22 14:52 ` Mike Looijmans
[not found] ` <166EB1C4D79F83DA.5508@lists.openembedded.org>
1 sibling, 0 replies; 11+ messages in thread
From: Mike Looijmans @ 2021-03-22 14:52 UTC (permalink / raw)
To: Richard Leitner; +Cc: openembedded-devel
Yes, the patch does get applied, I can see the extra lines in the work
directory.
But it somehow doesn't quite work...
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.looijmans@topicproducts.com
W: www.topic.nl
Please consider the environment before printing this e-mail
On 22-03-2021 13:36, Richard Leitner wrote:
> If I get it right these flags should be filtered out by the adlc flags
> patch [1].
>
> Can you verify that it's getting applied?
>
> Unfortunately I don't have a gcc-7 host machine available right now 😕
>
> regards;rl
>
> [1]https://git.yoctoproject.org/cgit/cgit.cgi/meta-java/tree/recipes-core/openjdk/patches-openjdk-8/1009-hotspot-fix-adlc-flags.patch
>
> On Mon, Mar 22, 2021 at 01:15:14PM +0100, Mike Looijmans wrote:
>> Both "gatesgarth".
>>
>> Issue seems to be that the build host (Ubuntu 18) has gcc 7 and the one used
>> for cross-compiling is much newer. Apparently there's something wrong in the
>> makefile that it uses host compiler flags for the build compiler.
>>
>>
>>
>>
>> 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.looijmans@topicproducts.com
>> W: www.topic.nl
>>
>> Please consider the environment before printing this e-mail
>> On 22-03-2021 12:53, Richard Leitner wrote:
>>> 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: mike.looijmans@topicproducts.com
>>>> W: www.topic.nl
>>>>
>>>> Please consider the environment before printing this e-mail
>>
>> --
>> Mike Looijmans
>>
--
Mike Looijmans
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [oe] [meta-java] openjre8 fails to compile on aarch64
[not found] ` <166EB1C4D79F83DA.5508@lists.openembedded.org>
@ 2021-03-22 15:04 ` Mike Looijmans
[not found] ` <166EB26D9B0785E4.5508@lists.openembedded.org>
1 sibling, 0 replies; 11+ messages in thread
From: Mike Looijmans @ 2021-03-22 15:04 UTC (permalink / raw)
To: Richard Leitner; +Cc: openembedded-devel
In Line 72 of that makefile:
# set flags for adlc compilation
CXXFLAGS = $(SYSDEFS) $(INCLUDES)
So that kills the patch I guess
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.looijmans@topicproducts.com
W: www.topic.nl
Please consider the environment before printing this e-mail
On 22-03-2021 15:52, Mike Looijmans via lists.openembedded.org wrote:
> Yes, the patch does get applied, I can see the extra lines in the work
> directory.
>
> But it somehow doesn't quite work...
>
>
>
>
> 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.looijmans@topicproducts.com
> W: www.topic.nl
>
> Please consider the environment before printing this e-mail
> On 22-03-2021 13:36, Richard Leitner wrote:
>> If I get it right these flags should be filtered out by the adlc flags
>> patch [1].
>>
>> Can you verify that it's getting applied?
>>
>> Unfortunately I don't have a gcc-7 host machine available right now 😕
>>
>> regards;rl
>>
>> [1]https://git.yoctoproject.org/cgit/cgit.cgi/meta-java/tree/recipes-core/openjdk/patches-openjdk-8/1009-hotspot-fix-adlc-flags.patch
>>
>>
>> On Mon, Mar 22, 2021 at 01:15:14PM +0100, Mike Looijmans wrote:
>>> Both "gatesgarth".
>>>
>>> Issue seems to be that the build host (Ubuntu 18) has gcc 7 and the
>>> one used
>>> for cross-compiling is much newer. Apparently there's something
>>> wrong in the
>>> makefile that it uses host compiler flags for the build compiler.
>>>
>>>
>>>
>>>
>>> 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.looijmans@topicproducts.com
>>> W: www.topic.nl
>>>
>>> Please consider the environment before printing this e-mail
>>> On 22-03-2021 12:53, Richard Leitner wrote:
>>>> 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: mike.looijmans@topicproducts.com
>>>>> W: www.topic.nl
>>>>>
>>>>> Please consider the environment before printing this e-mail
>>>
>>> --
>>> Mike Looijmans
>>>
>
>
>
>
--
Mike Looijmans
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [oe] [meta-java] openjre8 fails to compile on aarch64
[not found] ` <166EB26D9B0785E4.5508@lists.openembedded.org>
@ 2021-03-22 15:36 ` Mike Looijmans
[not found] ` <166EB42E11D37A69.5508@lists.openembedded.org>
1 sibling, 0 replies; 11+ messages in thread
From: Mike Looijmans @ 2021-03-22 15:36 UTC (permalink / raw)
To: Richard Leitner; +Cc: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 8124 bytes --]
If I just bluntly set the CFLAGS and CXXFLAGS like in the attached
patch, then the compile succeeds.
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.looijmans@topicproducts.com
W: www.topic.nl
Please consider the environment before printing this e-mail
On 22-03-2021 16:04, Mike Looijmans via lists.openembedded.org wrote:
> In Line 72 of that makefile:
>
> # set flags for adlc compilation
> CXXFLAGS = $(SYSDEFS) $(INCLUDES)
>
>
> So that kills the patch I guess
>
>
>
> 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.looijmans@topicproducts.com
> W: www.topic.nl
>
> Please consider the environment before printing this e-mail
> On 22-03-2021 15:52, Mike Looijmans via lists.openembedded.org wrote:
>> Yes, the patch does get applied, I can see the extra lines in the
>> work directory.
>>
>> But it somehow doesn't quite work...
>>
>>
>>
>>
>> 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.looijmans@topicproducts.com
>> W: www.topic.nl
>>
>> Please consider the environment before printing this e-mail
>> On 22-03-2021 13:36, Richard Leitner wrote:
>>> If I get it right these flags should be filtered out by the adlc flags
>>> patch [1].
>>>
>>> Can you verify that it's getting applied?
>>>
>>> Unfortunately I don't have a gcc-7 host machine available right now 😕
>>>
>>> regards;rl
>>>
>>> [1]https://git.yoctoproject.org/cgit/cgit.cgi/meta-java/tree/recipes-core/openjdk/patches-openjdk-8/1009-hotspot-fix-adlc-flags.patch
>>>
>>>
>>> On Mon, Mar 22, 2021 at 01:15:14PM +0100, Mike Looijmans wrote:
>>>> Both "gatesgarth".
>>>>
>>>> Issue seems to be that the build host (Ubuntu 18) has gcc 7 and the
>>>> one used
>>>> for cross-compiling is much newer. Apparently there's something
>>>> wrong in the
>>>> makefile that it uses host compiler flags for the build compiler.
>>>>
>>>>
>>>>
>>>>
>>>> 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.looijmans@topicproducts.com
>>>> W: www.topic.nl
>>>>
>>>> Please consider the environment before printing this e-mail
>>>> On 22-03-2021 12:53, Richard Leitner wrote:
>>>>> 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: mike.looijmans@topicproducts.com
>>>>>> W: www.topic.nl
>>>>>>
>>>>>> Please consider the environment before printing this e-mail
>>>>
>>>> --
>>>> Mike Looijmans
>>>>
>>
>>
>>
>>
>
>
>
>
--
Mike Looijmans
[-- Attachment #2: adlc.patch --]
[-- Type: text/x-patch, Size: 969 bytes --]
diff --git a/hotspot/make/linux/makefiles/adlc.make b/hotspot/make/linux/makefiles/adlc.make
index ae0aa008..622e1be6 100644
--- a/hotspot/make/linux/makefiles/adlc.make
+++ b/hotspot/make/linux/makefiles/adlc.make
@@ -30,11 +30,8 @@ include $(GAMMADIR)/make/$(Platform_os_family)/makefiles/rules.make
# Yocto specific fix - remove target machine flags and replace them with
# build machine flags, as this part is built using the native toolchain
-CXXFLAGS:=$(filter-out $(TARGET_CXXFLAGS),$(CXXFLAGS))
-CFLAGS:=$(filter-out $(TARGET_CFLAGS),$(CFLAGS))
-
-CXXFLAGS += $(BUILD_CXXFLAGS)
-CFLAGS += $(BUILD_CFLAGS)
+CXXFLAGS = $(BUILD_CXXFLAGS)
+CFLAGS = $(BUILD_CFLAGS)
@@ -69,7 +66,7 @@ Src_Dirs_I += $(GAMMADIR)/src/share/vm/adlc $(GENERATED)
INCLUDES += $(Src_Dirs_I:%=-I%)
# set flags for adlc compilation
-CXXFLAGS = $(SYSDEFS) $(INCLUDES)
+CXXFLAGS += $(SYSDEFS) $(INCLUDES)
# Force assertions on.
CXXFLAGS += -DASSERT
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [oe] [meta-java] openjre8 fails to compile on aarch64
[not found] ` <166EB42E11D37A69.5508@lists.openembedded.org>
@ 2021-03-22 15:45 ` Mike Looijmans
0 siblings, 0 replies; 11+ messages in thread
From: Mike Looijmans @ 2021-03-22 15:45 UTC (permalink / raw)
To: Richard Leitner; +Cc: openembedded-devel
But that yields something that doesn't work runtime:
# java -version
Error: dl failure on line 893
Error: failed /usr/lib/jvm/openjre-8/lib/aarch64/server/libjvm.so,
because /usr/lib/jvm/openjre-8/lib/aarch64/server/libjvm.so: undefined
symbol: _ZN17FloatRegisterImpl8as_VMRegEv
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.looijmans@topicproducts.com
W: www.topic.nl
Please consider the environment before printing this e-mail
On 22-03-2021 16:36, Mike Looijmans via lists.openembedded.org wrote:
> If I just bluntly set the CFLAGS and CXXFLAGS like in the attached
> patch, then the compile succeeds.
>
>
>
>
> 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.looijmans@topicproducts.com
> W: www.topic.nl
>
> Please consider the environment before printing this e-mail
> On 22-03-2021 16:04, Mike Looijmans via lists.openembedded.org wrote:
>> In Line 72 of that makefile:
>>
>> # set flags for adlc compilation
>> CXXFLAGS = $(SYSDEFS) $(INCLUDES)
>>
>>
>> So that kills the patch I guess
>>
>>
>>
>> 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.looijmans@topicproducts.com
>> W: www.topic.nl
>>
>> Please consider the environment before printing this e-mail
>> On 22-03-2021 15:52, Mike Looijmans via lists.openembedded.org wrote:
>>> Yes, the patch does get applied, I can see the extra lines in the
>>> work directory.
>>>
>>> But it somehow doesn't quite work...
>>>
>>>
>>>
>>>
>>> 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.looijmans@topicproducts.com
>>> W: www.topic.nl
>>>
>>> Please consider the environment before printing this e-mail
>>> On 22-03-2021 13:36, Richard Leitner wrote:
>>>> If I get it right these flags should be filtered out by the adlc flags
>>>> patch [1].
>>>>
>>>> Can you verify that it's getting applied?
>>>>
>>>> Unfortunately I don't have a gcc-7 host machine available right now 😕
>>>>
>>>> regards;rl
>>>>
>>>> [1]https://git.yoctoproject.org/cgit/cgit.cgi/meta-java/tree/recipes-core/openjdk/patches-openjdk-8/1009-hotspot-fix-adlc-flags.patch
>>>>
>>>>
>>>> On Mon, Mar 22, 2021 at 01:15:14PM +0100, Mike Looijmans wrote:
>>>>> Both "gatesgarth".
>>>>>
>>>>> Issue seems to be that the build host (Ubuntu 18) has gcc 7 and
>>>>> the one used
>>>>> for cross-compiling is much newer. Apparently there's something
>>>>> wrong in the
>>>>> makefile that it uses host compiler flags for the build compiler.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> 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.looijmans@topicproducts.com
>>>>> W: www.topic.nl
>>>>>
>>>>> Please consider the environment before printing this e-mail
>>>>> On 22-03-2021 12:53, Richard Leitner wrote:
>>>>>> 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: mike.looijmans@topicproducts.com
>>>>>>> W: www.topic.nl
>>>>>>>
>>>>>>> Please consider the environment before printing this e-mail
>>>>>
>>>>> --
>>>>> Mike Looijmans
>>>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>
>
>
>
--
Mike Looijmans
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [oe] [meta-java] openjre8 fails to compile on aarch64
[not found] ` <166EA0EA5639ABCD.32074@lists.openembedded.org>
@ 2021-03-23 15:09 ` Mike Looijmans
[not found] ` <166F014747987FB1.18754@lists.openembedded.org>
1 sibling, 0 replies; 11+ messages in thread
From: Mike Looijmans @ 2021-03-23 15:09 UTC (permalink / raw)
To: openembedded-devel
In a desperate attempt to get openjre-8 to build, I just went to the
current master, and that failed to build with lots of warnings about
"inherit native". I noticed that those were fixed in master-next, so I
switched to that instead. Still fails to build after a looooong time. (I
replaced some private path details with '...')
These are the GIT hashes are reported by OE.
meta = "HEAD:69f8f3e21324223c8e68a34db156e4472acfba6d"
meta-oe
meta-python
meta-multimedia
meta-networking = "HEAD:589aa162cead42acdd7e8dbd7c0243b95e341f19"
meta-java = "HEAD:db9a58bb71fffdb74eb9850978a643a98ff13323"
meta-qt5 = "HEAD:324843cb1a2feb5f5c7b0064ca33edaa605cb749"
meta-raspberrypi = "HEAD:a3cda589508a9b56ea803cdd31e870481fc27132"
meta-swupdate = "HEAD:065aafa41cff44985170b9ff6170ff9f87007b7f"
Log data follows:
| DEBUG: Executing shell function autotools_preconfigure
| DEBUG: Shell function autotools_preconfigure finished
| DEBUG: Executing python function autotools_aclocals
| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc',
'bit-64', 'x86_64-linux', 'common']
| DEBUG: Python function autotools_aclocals finished
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are
['virtual:native:/home/.../oe-core/meta/recipes-support/libxslt/libxslt_1.1.34.bb:do_populate_sysroot',
'virtual:native:/home/.../oe-core/meta/recipes-connectivity/openssl/openssl_1.1.1j.bb:do_populate_sysroot',
'virtual:native:/home/.../oe-core/meta/recipes-core/glib-2.0/glib-2.0_2.66.7.bb:do_populate_sysroot',
'/home/.../oe-core/meta/recipes-devtools/libtool/libtool-native_2.4.6.bb:do_populate_sysroot',
'virtual:native:/home/.../oe-core/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb:do_populate_sysroot',
'virtual:native:/home/.../oe-core/meta/recipes-graphics/fontconfig/fontconfig_2.13.1.bb:do_populate_sysroot',
'virtual:native:/home/.../oe-core/meta/recipes-graphics/jpeg/libjpeg-turbo_2.0.6.bb:do_populate_sysroot',
'virtual:native:/home/.../meta-oe/meta-oe/recipes-devtools/giflib/giflib_5.1.4.bb:do_populate_sysroot',
'virtual:native:/home/.../oe-core/meta/recipes-support/ca-certificates/ca-certificates_20210119.bb:do_populate_sysroot',
'/home/.../meta-java/recipes-core/icedtea/icedtea7-native_2.1.3.bb:do_populate_sysroot',
'/home/.../meta-java/recipes-core/ant/ant-native_1.8.1.bb:do_populate_sysroot',
'/home/.../oe-core/meta/recipes-core/gettext/gettext-minimal-native_0.21.bb:do_populate_sysroot',
'/home/.../oe-core/meta/recipes-devtools/quilt/quilt-native_0.66.bb:do_populate_sysroot',
'virtual:native:/home/.../oe-core/meta/recipes-multimedia/libpng/libpng_1.6.37.bb:do_populate_sysroot',
'virtual:native:/home/.../oe-core/meta/recipes-devtools/make/make_4.3.bb:do_populate_sysroot',
'virtual:native:/home/.../oe-core/meta/recipes-core/zlib/zlib_1.2.11.bb:do_populate_sysroot',
'virtual:native:/home/.../oe-core/meta/recipes-devtools/automake/automake_1.16.2.bb:do_populate_sysroot',
'virtual:native:/home/.../oe-core/meta/recipes-devtools/autoconf/autoconf_2.71.bb:do_populate_sysroot',
'virtual:native:/home/.../oe-core/meta/recipes-graphics/freetype/freetype_2.10.4.bb:do_populate_sysroot',
'virtual:native:/home/.../oe-core/meta/recipes-extended/unzip/unzip_6.0.bb:do_populate_sysroot',
'virtual:native:/home/.../oe-core/meta/recipes-extended/zip/zip_3.0.bb:do_populate_sysroot',
'virtual:native:/home/.../oe-core/meta/recipes-core/coreutils/coreutils_8.32.bb:do_populate_sysroot',
'virtual:native:/home/.../oe-core/meta/recipes-support/attr/attr_2.4.48.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['libxslt-native',
'openssl-native', 'glib-2.0-native', 'libtool-native',
'pkgconfig-native', 'fontconfig-native', 'libjpeg-turbo-native',
'giflib-native', 'ca-certificates-native', 'icedtea7-native',
'ant-native', 'gettext-minimal-native', 'quilt-native', 'libpng-native',
'make-native', 'zlib-native', 'automake-native', 'autoconf-native',
'freetype-native', 'unzip-native', 'zip-native', 'coreutils-native',
'attr-native', 'libxml2-native', 'ninja-native', 'xz-native',
'gettext-native', 'util-linux-native', 'gtk-doc-native',
'libpcre-native', 'libffi-native', 'meson-native', 'python3-native',
'texinfo-dummy-native', 'expat-native', 'gperf-native', 'cmake-native',
'rhino-native', 'xorgproto-native', 'classpath-native',
'ecj-bootstrap-native', 'jamvm-native', 'libxt-native',
'libxrender-native', 'libxext-native', 'libx11-native', 'bcel-native',
'xerces-j-native', 'gnujaf-native', 'commons-logging-native',
'log4j1.2-native', 'oro-native', 'bsf-native', 'fastjar-native',
'jdepend-native', 'regexp-native', 'xml-commons-resolver1.1-native',
'gnumail-native', 'xalan-j-native', 'commons-net-native',
'junit-native', 'antlr-native', 'jsch-native', 'm4-native',
'gnu-config-native', 're2c-native', 'libcap-ng-native',
'ncurses-native', 'libpcre2-native', 'python3-setuptools-native',
'readline-native', 'sqlite3-native', 'gdbm-native', 'libtirpc-native',
'libnsl2-native', 'bzip2-native', 'curl-native',
'libecj-bootstrap-native', 'util-macros-native', 'libxdmcp-native',
'libxcb-native', 'libsm-native', 'xtrans-native', 'jaxp1.3-native',
'logkit-native', 'servlet2.3-native', 'jacl-native', 'inetlib-native',
'cup-native', 'jlex-native', 'jzlib-native', 'xcb-proto-native',
'libpthread-stubs-native', 'libxau-native', 'libice-native',
'avalon-framework-api-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_configure
| automake (GNU automake) 1.16.2
| Copyright (C) 2020 Free Software Foundation, Inc.
| License GPLv2+: GNU GPL version 2 or later
<https://gnu.org/licenses/gpl-2.0.html>
| This is free software: you are free to change and redistribute it.
| There is NO WARRANTY, to the extent permitted by law.
|
| Written by Tom Tromey <tromey@redhat.com>
| and Alexandre Duret-Lutz <adl@gnu.org>.
| AUTOV is 1.16
| NOTE: Executing ACLOCAL="aclocal
--system-acdir=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/share/aclocal/
--automake-acdir=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/share/aclocal-1.16"
autoreconf -Wcross --verbose --install --force --exclude=autopoint
--exclude=gtkdocize -I
/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/
-I
/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/build-aux/
| autoreconf: export WARNINGS=cross,no-obsolete
| autoreconf: Entering directory '.'
| autoreconf: configure.ac: not using Gettext
| autoreconf: running: aclocal
--system-acdir=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/share/aclocal/
--automake-acdir=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/share/aclocal-1.16
-I
/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/
-I
/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/build-aux/
--force
| autoreconf: configure.ac: tracing
| autoreconf: configure.ac: creating directory
$TOPDIR/common/autoconf/build-aux
| autoreconf: error: cannot create $TOPDIR/common/autoconf/build-aux: No
such file or directory
| autoreconf: configure.ac: not using Libtool
| autoreconf: configure.ac: not using Intltool
| autoreconf: configure.ac: not using Gtkdoc
| autoreconf: running:
/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/bin/autoconf
--include=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/
--include=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/build-aux/
--force
| autoreconf: running:
/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/bin/autoheader
--include=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/
--include=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/build-aux/
--force
| autoreconf: configure.ac: not using Automake
| Error in tempfile() using template
$TOPDIR/common/autoconf/build-aux/XXXXXXXXXX: Parent directory
($TOPDIR/common/autoconf/build-aux/) does not exist at
/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/bin/autoreconf
line 411.
| ERROR: autoreconf execution failed.
| WARNING:
/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646:284
exit 1 from 'exit 1'
| WARNING: Backtrace (BB generated script):
| #1: bbfatal_log,
/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646,
line 284
| #2: die,
/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646,
line 274
| #3: autotools_do_configure,
/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646,
line 236
| #4: do_configure,
/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646,
line 160
| #5: main,
/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646,
line 298
| ERROR: Execution of
'/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646'
failed with exit code 1:
| automake (GNU automake) 1.16.2
| Copyright (C) 2020 Free Software Foundation, Inc.
| License GPLv2+: GNU GPL version 2 or later
<https://gnu.org/licenses/gpl-2.0.html>
| This is free software: you are free to change and redistribute it.
| There is NO WARRANTY, to the extent permitted by law.
|
| Written by Tom Tromey <tromey@redhat.com>
| and Alexandre Duret-Lutz <adl@gnu.org>.
| AUTOV is 1.16
| autoreconf: export WARNINGS=cross,no-obsolete
| autoreconf: Entering directory '.'
| autoreconf: configure.ac: not using Gettext
| autoreconf: running: aclocal
--system-acdir=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/share/aclocal/
--automake-acdir=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/share/aclocal-1.16
-I
/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/
-I
/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/build-aux/
--force
| autoreconf: configure.ac: tracing
| autoreconf: configure.ac: creating directory
$TOPDIR/common/autoconf/build-aux
| autoreconf: error: cannot create $TOPDIR/common/autoconf/build-aux: No
such file or directory
| autoreconf: configure.ac: not using Libtool
| autoreconf: configure.ac: not using Intltool
| autoreconf: configure.ac: not using Gtkdoc
| autoreconf: running:
/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/bin/autoconf
--include=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/
--include=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/build-aux/
--force
| autoreconf: running:
/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/bin/autoheader
--include=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/
--include=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/build-aux/
--force
| autoreconf: configure.ac: not using Automake
| Error in tempfile() using template
$TOPDIR/common/autoconf/build-aux/XXXXXXXXXX: Parent directory
($TOPDIR/common/autoconf/build-aux/) does not exist at
/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/bin/autoreconf
line 411.
| WARNING:
/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646:284
exit 1 from 'exit 1'
| WARNING: Backtrace (BB generated script):
| #1: bbfatal_log,
/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646,
line 284
| #2: die,
/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646,
line 274
| #3: autotools_do_configure,
/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646,
line 236
| #4: do_configure,
/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646,
line 160
| #5: main,
/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646,
line 298
|
| Backtrace (metadata-relative locations):
| #1: bbfatal_log, /home/.../oe-core/meta/classes/logging.bbclass,
line 72
| #2: die, /home/.../oe-core/meta/classes/base.bbclass, line 56
| #3: autotools_do_configure,
/home/.../oe-core/meta/classes/autotools.bbclass, line 224
| #4: do_configure, autogenerated, line 6
ERROR: Task
(/home/.../meta-java/recipes-core/openjdk/openjdk-8-native_272.bb:do_configure)
failed with exit code '1'
NOTE: Tasks Summary: Attempted 4517 tasks of which 4312 didn't need to
be rerun and 1 failed.
Summary: 1 task failed:
/home/.../meta-java/recipes-core/openjdk/openjdk-8-native_272.bb:do_configure
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.looijmans@topicproducts.com
W: www.topic.nl
Please consider the environment before printing this e-mail
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [oe] [meta-java] openjre8 fails to compile on aarch64
[not found] ` <166F014747987FB1.18754@lists.openembedded.org>
@ 2021-03-24 7:28 ` Mike Looijmans
[not found] ` <166F36B0213D2F47.651@lists.openembedded.org>
1 sibling, 0 replies; 11+ messages in thread
From: Mike Looijmans @ 2021-03-24 7:28 UTC (permalink / raw)
To: openembedded-devel; +Cc: Richard Leitner
Been digging into this, something weird is going on with the TOPDIR
environment.
recipes-core/openjdk/openjdk-8-common.inc:
do_configure_prepend () {
export TOPDIR=${S}
}
So TOPDIR should be set okay, but in the logging one can see that the
autoconf tools do not expand it.
Bluntly adding the following line:
mkdir $TOPDIR/common/autoconf/build-aux
Errors out with an error that this path already exists.
So it's something askew in the shell environment handling, but I cannot
figure out what is going on here.
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.looijmans@topicproducts.com
W: www.topic.nl
Please consider the environment before printing this e-mail
On 23-03-2021 16:09, Mike Looijmans via lists.openembedded.org wrote:
> In a desperate attempt to get openjre-8 to build, I just went to the
> current master, and that failed to build with lots of warnings about
> "inherit native". I noticed that those were fixed in master-next, so I
> switched to that instead. Still fails to build after a looooong time.
> (I replaced some private path details with '...')
>
> These are the GIT hashes are reported by OE.
>
> meta = "HEAD:69f8f3e21324223c8e68a34db156e4472acfba6d"
> meta-oe
> meta-python
> meta-multimedia
> meta-networking = "HEAD:589aa162cead42acdd7e8dbd7c0243b95e341f19"
> meta-java = "HEAD:db9a58bb71fffdb74eb9850978a643a98ff13323"
> meta-qt5 = "HEAD:324843cb1a2feb5f5c7b0064ca33edaa605cb749"
> meta-raspberrypi = "HEAD:a3cda589508a9b56ea803cdd31e870481fc27132"
> meta-swupdate = "HEAD:065aafa41cff44985170b9ff6170ff9f87007b7f"
>
>
> Log data follows:
> | DEBUG: Executing shell function autotools_preconfigure
> | DEBUG: Shell function autotools_preconfigure finished
> | DEBUG: Executing python function autotools_aclocals
> | DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc',
> 'bit-64', 'x86_64-linux', 'common']
> | DEBUG: Python function autotools_aclocals finished
> | DEBUG: Executing python function extend_recipe_sysroot
> | NOTE: Direct dependencies are
> ['virtual:native:/home/.../oe-core/meta/recipes-support/libxslt/libxslt_1.1.34.bb:do_populate_sysroot',
> 'virtual:native:/home/.../oe-core/meta/recipes-connectivity/openssl/openssl_1.1.1j.bb:do_populate_sysroot',
> 'virtual:native:/home/.../oe-core/meta/recipes-core/glib-2.0/glib-2.0_2.66.7.bb:do_populate_sysroot',
> '/home/.../oe-core/meta/recipes-devtools/libtool/libtool-native_2.4.6.bb:do_populate_sysroot',
> 'virtual:native:/home/.../oe-core/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb:do_populate_sysroot',
> 'virtual:native:/home/.../oe-core/meta/recipes-graphics/fontconfig/fontconfig_2.13.1.bb:do_populate_sysroot',
> 'virtual:native:/home/.../oe-core/meta/recipes-graphics/jpeg/libjpeg-turbo_2.0.6.bb:do_populate_sysroot',
> 'virtual:native:/home/.../meta-oe/meta-oe/recipes-devtools/giflib/giflib_5.1.4.bb:do_populate_sysroot',
> 'virtual:native:/home/.../oe-core/meta/recipes-support/ca-certificates/ca-certificates_20210119.bb:do_populate_sysroot',
> '/home/.../meta-java/recipes-core/icedtea/icedtea7-native_2.1.3.bb:do_populate_sysroot',
> '/home/.../meta-java/recipes-core/ant/ant-native_1.8.1.bb:do_populate_sysroot',
> '/home/.../oe-core/meta/recipes-core/gettext/gettext-minimal-native_0.21.bb:do_populate_sysroot',
> '/home/.../oe-core/meta/recipes-devtools/quilt/quilt-native_0.66.bb:do_populate_sysroot',
> 'virtual:native:/home/.../oe-core/meta/recipes-multimedia/libpng/libpng_1.6.37.bb:do_populate_sysroot',
> 'virtual:native:/home/.../oe-core/meta/recipes-devtools/make/make_4.3.bb:do_populate_sysroot',
> 'virtual:native:/home/.../oe-core/meta/recipes-core/zlib/zlib_1.2.11.bb:do_populate_sysroot',
> 'virtual:native:/home/.../oe-core/meta/recipes-devtools/automake/automake_1.16.2.bb:do_populate_sysroot',
> 'virtual:native:/home/.../oe-core/meta/recipes-devtools/autoconf/autoconf_2.71.bb:do_populate_sysroot',
> 'virtual:native:/home/.../oe-core/meta/recipes-graphics/freetype/freetype_2.10.4.bb:do_populate_sysroot',
> 'virtual:native:/home/.../oe-core/meta/recipes-extended/unzip/unzip_6.0.bb:do_populate_sysroot',
> 'virtual:native:/home/.../oe-core/meta/recipes-extended/zip/zip_3.0.bb:do_populate_sysroot',
> 'virtual:native:/home/.../oe-core/meta/recipes-core/coreutils/coreutils_8.32.bb:do_populate_sysroot',
> 'virtual:native:/home/.../oe-core/meta/recipes-support/attr/attr_2.4.48.bb:do_populate_sysroot']
>
> | NOTE: Installed into sysroot: []
> | NOTE: Skipping as already exists in sysroot: ['libxslt-native',
> 'openssl-native', 'glib-2.0-native', 'libtool-native',
> 'pkgconfig-native', 'fontconfig-native', 'libjpeg-turbo-native',
> 'giflib-native', 'ca-certificates-native', 'icedtea7-native',
> 'ant-native', 'gettext-minimal-native', 'quilt-native',
> 'libpng-native', 'make-native', 'zlib-native', 'automake-native',
> 'autoconf-native', 'freetype-native', 'unzip-native', 'zip-native',
> 'coreutils-native', 'attr-native', 'libxml2-native', 'ninja-native',
> 'xz-native', 'gettext-native', 'util-linux-native', 'gtk-doc-native',
> 'libpcre-native', 'libffi-native', 'meson-native', 'python3-native',
> 'texinfo-dummy-native', 'expat-native', 'gperf-native',
> 'cmake-native', 'rhino-native', 'xorgproto-native',
> 'classpath-native', 'ecj-bootstrap-native', 'jamvm-native',
> 'libxt-native', 'libxrender-native', 'libxext-native',
> 'libx11-native', 'bcel-native', 'xerces-j-native', 'gnujaf-native',
> 'commons-logging-native', 'log4j1.2-native', 'oro-native',
> 'bsf-native', 'fastjar-native', 'jdepend-native', 'regexp-native',
> 'xml-commons-resolver1.1-native', 'gnumail-native', 'xalan-j-native',
> 'commons-net-native', 'junit-native', 'antlr-native', 'jsch-native',
> 'm4-native', 'gnu-config-native', 're2c-native', 'libcap-ng-native',
> 'ncurses-native', 'libpcre2-native', 'python3-setuptools-native',
> 'readline-native', 'sqlite3-native', 'gdbm-native', 'libtirpc-native',
> 'libnsl2-native', 'bzip2-native', 'curl-native',
> 'libecj-bootstrap-native', 'util-macros-native', 'libxdmcp-native',
> 'libxcb-native', 'libsm-native', 'xtrans-native', 'jaxp1.3-native',
> 'logkit-native', 'servlet2.3-native', 'jacl-native', 'inetlib-native',
> 'cup-native', 'jlex-native', 'jzlib-native', 'xcb-proto-native',
> 'libpthread-stubs-native', 'libxau-native', 'libice-native',
> 'avalon-framework-api-native']
> | DEBUG: Python function extend_recipe_sysroot finished
> | DEBUG: Executing shell function do_configure
> | automake (GNU automake) 1.16.2
> | Copyright (C) 2020 Free Software Foundation, Inc.
> | License GPLv2+: GNU GPL version 2 or later
> <https://gnu.org/licenses/gpl-2.0.html>
> | This is free software: you are free to change and redistribute it.
> | There is NO WARRANTY, to the extent permitted by law.
> |
> | Written by Tom Tromey <tromey@redhat.com>
> | and Alexandre Duret-Lutz <adl@gnu.org>.
> | AUTOV is 1.16
> | NOTE: Executing ACLOCAL="aclocal
> --system-acdir=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/share/aclocal/
> --automake-acdir=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/share/aclocal-1.16"
> autoreconf -Wcross --verbose --install --force --exclude=autopoint
> --exclude=gtkdocize -I
> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/
> -I
> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/build-aux/
> | autoreconf: export WARNINGS=cross,no-obsolete
> | autoreconf: Entering directory '.'
> | autoreconf: configure.ac: not using Gettext
> | autoreconf: running: aclocal
> --system-acdir=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/share/aclocal/
> --automake-acdir=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/share/aclocal-1.16
> -I
> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/
> -I
> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/build-aux/
> --force
> | autoreconf: configure.ac: tracing
> | autoreconf: configure.ac: creating directory
> $TOPDIR/common/autoconf/build-aux
> | autoreconf: error: cannot create $TOPDIR/common/autoconf/build-aux:
> No such file or directory
> | autoreconf: configure.ac: not using Libtool
> | autoreconf: configure.ac: not using Intltool
> | autoreconf: configure.ac: not using Gtkdoc
> | autoreconf: running:
> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/bin/autoconf
> --include=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/
> --include=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/build-aux/
> --force
> | autoreconf: running:
> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/bin/autoheader
> --include=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/
> --include=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/build-aux/
> --force
> | autoreconf: configure.ac: not using Automake
> | Error in tempfile() using template
> $TOPDIR/common/autoconf/build-aux/XXXXXXXXXX: Parent directory
> ($TOPDIR/common/autoconf/build-aux/) does not exist at
> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/bin/autoreconf
> line 411.
> | ERROR: autoreconf execution failed.
> | WARNING:
> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646:284
> exit 1 from 'exit 1'
> | WARNING: Backtrace (BB generated script):
> | #1: bbfatal_log,
> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646,
> line 284
> | #2: die,
> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646,
> line 274
> | #3: autotools_do_configure,
> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646,
> line 236
> | #4: do_configure,
> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646,
> line 160
> | #5: main,
> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646,
> line 298
> | ERROR: Execution of
> '/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646'
> failed with exit code 1:
> | automake (GNU automake) 1.16.2
> | Copyright (C) 2020 Free Software Foundation, Inc.
> | License GPLv2+: GNU GPL version 2 or later
> <https://gnu.org/licenses/gpl-2.0.html>
> | This is free software: you are free to change and redistribute it.
> | There is NO WARRANTY, to the extent permitted by law.
> |
> | Written by Tom Tromey <tromey@redhat.com>
> | and Alexandre Duret-Lutz <adl@gnu.org>.
> | AUTOV is 1.16
> | autoreconf: export WARNINGS=cross,no-obsolete
> | autoreconf: Entering directory '.'
> | autoreconf: configure.ac: not using Gettext
> | autoreconf: running: aclocal
> --system-acdir=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/share/aclocal/
> --automake-acdir=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/share/aclocal-1.16
> -I
> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/
> -I
> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/build-aux/
> --force
> | autoreconf: configure.ac: tracing
> | autoreconf: configure.ac: creating directory
> $TOPDIR/common/autoconf/build-aux
> | autoreconf: error: cannot create $TOPDIR/common/autoconf/build-aux:
> No such file or directory
> | autoreconf: configure.ac: not using Libtool
> | autoreconf: configure.ac: not using Intltool
> | autoreconf: configure.ac: not using Gtkdoc
> | autoreconf: running:
> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/bin/autoconf
> --include=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/
> --include=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/build-aux/
> --force
> | autoreconf: running:
> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/bin/autoheader
> --include=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/
> --include=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/build-aux/
> --force
> | autoreconf: configure.ac: not using Automake
> | Error in tempfile() using template
> $TOPDIR/common/autoconf/build-aux/XXXXXXXXXX: Parent directory
> ($TOPDIR/common/autoconf/build-aux/) does not exist at
> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/bin/autoreconf
> line 411.
> | WARNING:
> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646:284
> exit 1 from 'exit 1'
> | WARNING: Backtrace (BB generated script):
> | #1: bbfatal_log,
> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646,
> line 284
> | #2: die,
> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646,
> line 274
> | #3: autotools_do_configure,
> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646,
> line 236
> | #4: do_configure,
> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646,
> line 160
> | #5: main,
> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646,
> line 298
> |
> | Backtrace (metadata-relative locations):
> | #1: bbfatal_log, /home/.../oe-core/meta/classes/logging.bbclass,
> line 72
> | #2: die, /home/.../oe-core/meta/classes/base.bbclass, line 56
> | #3: autotools_do_configure,
> /home/.../oe-core/meta/classes/autotools.bbclass, line 224
> | #4: do_configure, autogenerated, line 6
> ERROR: Task
> (/home/.../meta-java/recipes-core/openjdk/openjdk-8-native_272.bb:do_configure)
> failed with exit code '1'
> NOTE: Tasks Summary: Attempted 4517 tasks of which 4312 didn't need to
> be rerun and 1 failed.
>
> Summary: 1 task failed:
> /home/.../meta-java/recipes-core/openjdk/openjdk-8-native_272.bb:do_configure
>
>
>
>
>
>
> 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.looijmans@topicproducts.com
> W: www.topic.nl
>
> Please consider the environment before printing this e-mail
>
>
>
--
Mike Looijmans
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [oe] [meta-java] openjre8 fails to compile on aarch64
[not found] ` <166F36B0213D2F47.651@lists.openembedded.org>
@ 2021-03-24 8:43 ` Mike Looijmans
0 siblings, 0 replies; 11+ messages in thread
From: Mike Looijmans @ 2021-03-24 8:43 UTC (permalink / raw)
To: openembedded-devel; +Cc: Richard Leitner
Sent a patch that works around this issue.
Then I get the exact same failure as in gatesgarth, the "unrecognized
command line option ‘-fmacro-prefix-map" bug.
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.looijmans@topicproducts.com
W: www.topic.nl
Please consider the environment before printing this e-mail
On 24-03-2021 08:28, Mike Looijmans via lists.openembedded.org wrote:
> Been digging into this, something weird is going on with the TOPDIR
> environment.
>
> recipes-core/openjdk/openjdk-8-common.inc:
> do_configure_prepend () {
> export TOPDIR=${S}
> }
>
> So TOPDIR should be set okay, but in the logging one can see that the
> autoconf tools do not expand it.
>
> Bluntly adding the following line:
> mkdir $TOPDIR/common/autoconf/build-aux
>
> Errors out with an error that this path already exists.
>
> So it's something askew in the shell environment handling, but I
> cannot figure out what is going on here.
>
>
>
>
> 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.looijmans@topicproducts.com
> W: www.topic.nl
>
> Please consider the environment before printing this e-mail
> On 23-03-2021 16:09, Mike Looijmans via lists.openembedded.org wrote:
>> In a desperate attempt to get openjre-8 to build, I just went to the
>> current master, and that failed to build with lots of warnings about
>> "inherit native". I noticed that those were fixed in master-next, so
>> I switched to that instead. Still fails to build after a looooong
>> time. (I replaced some private path details with '...')
>>
>> These are the GIT hashes are reported by OE.
>>
>> meta = "HEAD:69f8f3e21324223c8e68a34db156e4472acfba6d"
>> meta-oe
>> meta-python
>> meta-multimedia
>> meta-networking = "HEAD:589aa162cead42acdd7e8dbd7c0243b95e341f19"
>> meta-java = "HEAD:db9a58bb71fffdb74eb9850978a643a98ff13323"
>> meta-qt5 = "HEAD:324843cb1a2feb5f5c7b0064ca33edaa605cb749"
>> meta-raspberrypi = "HEAD:a3cda589508a9b56ea803cdd31e870481fc27132"
>> meta-swupdate = "HEAD:065aafa41cff44985170b9ff6170ff9f87007b7f"
>>
>>
>> Log data follows:
>> | DEBUG: Executing shell function autotools_preconfigure
>> | DEBUG: Shell function autotools_preconfigure finished
>> | DEBUG: Executing python function autotools_aclocals
>> | DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc',
>> 'bit-64', 'x86_64-linux', 'common']
>> | DEBUG: Python function autotools_aclocals finished
>> | DEBUG: Executing python function extend_recipe_sysroot
>> | NOTE: Direct dependencies are
>> ['virtual:native:/home/.../oe-core/meta/recipes-support/libxslt/libxslt_1.1.34.bb:do_populate_sysroot',
>> 'virtual:native:/home/.../oe-core/meta/recipes-connectivity/openssl/openssl_1.1.1j.bb:do_populate_sysroot',
>> 'virtual:native:/home/.../oe-core/meta/recipes-core/glib-2.0/glib-2.0_2.66.7.bb:do_populate_sysroot',
>> '/home/.../oe-core/meta/recipes-devtools/libtool/libtool-native_2.4.6.bb:do_populate_sysroot',
>> 'virtual:native:/home/.../oe-core/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb:do_populate_sysroot',
>> 'virtual:native:/home/.../oe-core/meta/recipes-graphics/fontconfig/fontconfig_2.13.1.bb:do_populate_sysroot',
>> 'virtual:native:/home/.../oe-core/meta/recipes-graphics/jpeg/libjpeg-turbo_2.0.6.bb:do_populate_sysroot',
>> 'virtual:native:/home/.../meta-oe/meta-oe/recipes-devtools/giflib/giflib_5.1.4.bb:do_populate_sysroot',
>> 'virtual:native:/home/.../oe-core/meta/recipes-support/ca-certificates/ca-certificates_20210119.bb:do_populate_sysroot',
>> '/home/.../meta-java/recipes-core/icedtea/icedtea7-native_2.1.3.bb:do_populate_sysroot',
>> '/home/.../meta-java/recipes-core/ant/ant-native_1.8.1.bb:do_populate_sysroot',
>> '/home/.../oe-core/meta/recipes-core/gettext/gettext-minimal-native_0.21.bb:do_populate_sysroot',
>> '/home/.../oe-core/meta/recipes-devtools/quilt/quilt-native_0.66.bb:do_populate_sysroot',
>> 'virtual:native:/home/.../oe-core/meta/recipes-multimedia/libpng/libpng_1.6.37.bb:do_populate_sysroot',
>> 'virtual:native:/home/.../oe-core/meta/recipes-devtools/make/make_4.3.bb:do_populate_sysroot',
>> 'virtual:native:/home/.../oe-core/meta/recipes-core/zlib/zlib_1.2.11.bb:do_populate_sysroot',
>> 'virtual:native:/home/.../oe-core/meta/recipes-devtools/automake/automake_1.16.2.bb:do_populate_sysroot',
>> 'virtual:native:/home/.../oe-core/meta/recipes-devtools/autoconf/autoconf_2.71.bb:do_populate_sysroot',
>> 'virtual:native:/home/.../oe-core/meta/recipes-graphics/freetype/freetype_2.10.4.bb:do_populate_sysroot',
>> 'virtual:native:/home/.../oe-core/meta/recipes-extended/unzip/unzip_6.0.bb:do_populate_sysroot',
>> 'virtual:native:/home/.../oe-core/meta/recipes-extended/zip/zip_3.0.bb:do_populate_sysroot',
>> 'virtual:native:/home/.../oe-core/meta/recipes-core/coreutils/coreutils_8.32.bb:do_populate_sysroot',
>> 'virtual:native:/home/.../oe-core/meta/recipes-support/attr/attr_2.4.48.bb:do_populate_sysroot']
>>
>> | NOTE: Installed into sysroot: []
>> | NOTE: Skipping as already exists in sysroot: ['libxslt-native',
>> 'openssl-native', 'glib-2.0-native', 'libtool-native',
>> 'pkgconfig-native', 'fontconfig-native', 'libjpeg-turbo-native',
>> 'giflib-native', 'ca-certificates-native', 'icedtea7-native',
>> 'ant-native', 'gettext-minimal-native', 'quilt-native',
>> 'libpng-native', 'make-native', 'zlib-native', 'automake-native',
>> 'autoconf-native', 'freetype-native', 'unzip-native', 'zip-native',
>> 'coreutils-native', 'attr-native', 'libxml2-native', 'ninja-native',
>> 'xz-native', 'gettext-native', 'util-linux-native', 'gtk-doc-native',
>> 'libpcre-native', 'libffi-native', 'meson-native', 'python3-native',
>> 'texinfo-dummy-native', 'expat-native', 'gperf-native',
>> 'cmake-native', 'rhino-native', 'xorgproto-native',
>> 'classpath-native', 'ecj-bootstrap-native', 'jamvm-native',
>> 'libxt-native', 'libxrender-native', 'libxext-native',
>> 'libx11-native', 'bcel-native', 'xerces-j-native', 'gnujaf-native',
>> 'commons-logging-native', 'log4j1.2-native', 'oro-native',
>> 'bsf-native', 'fastjar-native', 'jdepend-native', 'regexp-native',
>> 'xml-commons-resolver1.1-native', 'gnumail-native', 'xalan-j-native',
>> 'commons-net-native', 'junit-native', 'antlr-native', 'jsch-native',
>> 'm4-native', 'gnu-config-native', 're2c-native', 'libcap-ng-native',
>> 'ncurses-native', 'libpcre2-native', 'python3-setuptools-native',
>> 'readline-native', 'sqlite3-native', 'gdbm-native',
>> 'libtirpc-native', 'libnsl2-native', 'bzip2-native', 'curl-native',
>> 'libecj-bootstrap-native', 'util-macros-native', 'libxdmcp-native',
>> 'libxcb-native', 'libsm-native', 'xtrans-native', 'jaxp1.3-native',
>> 'logkit-native', 'servlet2.3-native', 'jacl-native',
>> 'inetlib-native', 'cup-native', 'jlex-native', 'jzlib-native',
>> 'xcb-proto-native', 'libpthread-stubs-native', 'libxau-native',
>> 'libice-native', 'avalon-framework-api-native']
>> | DEBUG: Python function extend_recipe_sysroot finished
>> | DEBUG: Executing shell function do_configure
>> | automake (GNU automake) 1.16.2
>> | Copyright (C) 2020 Free Software Foundation, Inc.
>> | License GPLv2+: GNU GPL version 2 or later
>> <https://gnu.org/licenses/gpl-2.0.html>
>> | This is free software: you are free to change and redistribute it.
>> | There is NO WARRANTY, to the extent permitted by law.
>> |
>> | Written by Tom Tromey <tromey@redhat.com>
>> | and Alexandre Duret-Lutz <adl@gnu.org>.
>> | AUTOV is 1.16
>> | NOTE: Executing ACLOCAL="aclocal
>> --system-acdir=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/share/aclocal/
>> --automake-acdir=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/share/aclocal-1.16"
>> autoreconf -Wcross --verbose --install --force --exclude=autopoint
>> --exclude=gtkdocize -I
>> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/
>> -I
>> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/build-aux/
>> | autoreconf: export WARNINGS=cross,no-obsolete
>> | autoreconf: Entering directory '.'
>> | autoreconf: configure.ac: not using Gettext
>> | autoreconf: running: aclocal
>> --system-acdir=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/share/aclocal/
>> --automake-acdir=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/share/aclocal-1.16
>> -I
>> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/
>> -I
>> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/build-aux/
>> --force
>> | autoreconf: configure.ac: tracing
>> | autoreconf: configure.ac: creating directory
>> $TOPDIR/common/autoconf/build-aux
>> | autoreconf: error: cannot create $TOPDIR/common/autoconf/build-aux:
>> No such file or directory
>> | autoreconf: configure.ac: not using Libtool
>> | autoreconf: configure.ac: not using Intltool
>> | autoreconf: configure.ac: not using Gtkdoc
>> | autoreconf: running:
>> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/bin/autoconf
>> --include=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/
>> --include=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/build-aux/
>> --force
>> | autoreconf: running:
>> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/bin/autoheader
>> --include=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/
>> --include=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/build-aux/
>> --force
>> | autoreconf: configure.ac: not using Automake
>> | Error in tempfile() using template
>> $TOPDIR/common/autoconf/build-aux/XXXXXXXXXX: Parent directory
>> ($TOPDIR/common/autoconf/build-aux/) does not exist at
>> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/bin/autoreconf
>> line 411.
>> | ERROR: autoreconf execution failed.
>> | WARNING:
>> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646:284
>> exit 1 from 'exit 1'
>> | WARNING: Backtrace (BB generated script):
>> | #1: bbfatal_log,
>> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646,
>> line 284
>> | #2: die,
>> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646,
>> line 274
>> | #3: autotools_do_configure,
>> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646,
>> line 236
>> | #4: do_configure,
>> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646,
>> line 160
>> | #5: main,
>> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646,
>> line 298
>> | ERROR: Execution of
>> '/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646'
>> failed with exit code 1:
>> | automake (GNU automake) 1.16.2
>> | Copyright (C) 2020 Free Software Foundation, Inc.
>> | License GPLv2+: GNU GPL version 2 or later
>> <https://gnu.org/licenses/gpl-2.0.html>
>> | This is free software: you are free to change and redistribute it.
>> | There is NO WARRANTY, to the extent permitted by law.
>> |
>> | Written by Tom Tromey <tromey@redhat.com>
>> | and Alexandre Duret-Lutz <adl@gnu.org>.
>> | AUTOV is 1.16
>> | autoreconf: export WARNINGS=cross,no-obsolete
>> | autoreconf: Entering directory '.'
>> | autoreconf: configure.ac: not using Gettext
>> | autoreconf: running: aclocal
>> --system-acdir=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/share/aclocal/
>> --automake-acdir=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/share/aclocal-1.16
>> -I
>> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/
>> -I
>> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/build-aux/
>> --force
>> | autoreconf: configure.ac: tracing
>> | autoreconf: configure.ac: creating directory
>> $TOPDIR/common/autoconf/build-aux
>> | autoreconf: error: cannot create $TOPDIR/common/autoconf/build-aux:
>> No such file or directory
>> | autoreconf: configure.ac: not using Libtool
>> | autoreconf: configure.ac: not using Intltool
>> | autoreconf: configure.ac: not using Gtkdoc
>> | autoreconf: running:
>> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/bin/autoconf
>> --include=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/
>> --include=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/build-aux/
>> --force
>> | autoreconf: running:
>> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/bin/autoheader
>> --include=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/
>> --include=/home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/common/autoconf/build-aux/
>> --force
>> | autoreconf: configure.ac: not using Automake
>> | Error in tempfile() using template
>> $TOPDIR/common/autoconf/build-aux/XXXXXXXXXX: Parent directory
>> ($TOPDIR/common/autoconf/build-aux/) does not exist at
>> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/recipe-sysroot-native/usr/bin/autoreconf
>> line 411.
>> | WARNING:
>> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646:284
>> exit 1 from 'exit 1'
>> | WARNING: Backtrace (BB generated script):
>> | #1: bbfatal_log,
>> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646,
>> line 284
>> | #2: die,
>> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646,
>> line 274
>> | #3: autotools_do_configure,
>> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646,
>> line 236
>> | #4: do_configure,
>> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646,
>> line 160
>> | #5: main,
>> /home/.../build/tmp-glibc/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_configure.16646,
>> line 298
>> |
>> | Backtrace (metadata-relative locations):
>> | #1: bbfatal_log,
>> /home/.../oe-core/meta/classes/logging.bbclass, line 72
>> | #2: die, /home/.../oe-core/meta/classes/base.bbclass, line 56
>> | #3: autotools_do_configure,
>> /home/.../oe-core/meta/classes/autotools.bbclass, line 224
>> | #4: do_configure, autogenerated, line 6
>> ERROR: Task
>> (/home/.../meta-java/recipes-core/openjdk/openjdk-8-native_272.bb:do_configure)
>> failed with exit code '1'
>> NOTE: Tasks Summary: Attempted 4517 tasks of which 4312 didn't need
>> to be rerun and 1 failed.
>>
>> Summary: 1 task failed:
>> /home/.../meta-java/recipes-core/openjdk/openjdk-8-native_272.bb:do_configure
>>
>>
>>
>>
>>
>>
>> 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.looijmans@topicproducts.com
>> W: www.topic.nl
>>
>> Please consider the environment before printing this e-mail
>>
>>
>>
>
>
>
>
--
Mike Looijmans
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2021-03-24 8:43 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1b153bce-a66a-45ee-a5c6-963ea6fb1c82.949ef384-8293-46b8-903f-40a477c056ae.75f5ae13-2f0a-42dd-b164-bf1c3f2c0c91@emailsignatures365.codetwo.com>
[not found] ` <1b153bce-a66a-45ee-a5c6-963ea6fb1c82.0d2bd5fa-15cc-4b27-b94e-83614f9e5b38.74969f47-fd5f-43b1-b5f3-843bc6e03141@emailsignatures365.codetwo.com>
2021-03-22 9:43 ` [meta-java] openjre8 fails to compile on aarch64 Mike Looijmans
2021-03-22 11:53 ` [oe] " Richard Leitner
2021-03-22 12:15 ` Mike Looijmans
2021-03-22 12:36 ` Richard Leitner
2021-03-22 14:52 ` Mike Looijmans
[not found] ` <166EB1C4D79F83DA.5508@lists.openembedded.org>
2021-03-22 15:04 ` Mike Looijmans
[not found] ` <166EB26D9B0785E4.5508@lists.openembedded.org>
2021-03-22 15:36 ` Mike Looijmans
[not found] ` <166EB42E11D37A69.5508@lists.openembedded.org>
2021-03-22 15:45 ` Mike Looijmans
[not found] ` <166EA0EA5639ABCD.32074@lists.openembedded.org>
2021-03-23 15:09 ` Mike Looijmans
[not found] ` <166F014747987FB1.18754@lists.openembedded.org>
2021-03-24 7:28 ` Mike Looijmans
[not found] ` <166F36B0213D2F47.651@lists.openembedded.org>
2021-03-24 8:43 ` Mike Looijmans
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.