On 1/24/20 12:44 PM, Richard Leitner wrote:
On Fri, Jan 24, 2020 at 12:37:58PM +0100, Jacob Kroon wrote:
On 1/24/20 11:37 AM, Richard Leitner wrote:
...
I've just pushed a temporary branch named "g0hl1n/wip-jdk8u242ga" to
the meta-java repository [1]. It contains (as you might have guessed)
the update to openjdk 8u242ga.
Can you please give it a try if it works for you?
I tried but I get a linker error during openjre-8_242.bb:do_compile:
Making adlc
...
/tmp/ramdisk/build/hosttools/ld: cannot find -lstdc++
collect2: error: ld returned 1 exit status
This is using MACHINE=qemux86-64.
Gonna try and fix and get the build going.
Do you have "libstdc++ static" installed on your buildhost as stated in
the README? ...the error let me suggest you don't have it ;-)
Oops, yeah I missed that. That got me further, but I got a new linking
error:
| Linking executable genSocketOptionRegistry
| gensrc/GensrcMisc.gmk:75: Building
/tmp/ramdisk/build/work/core2-64-oe-linux/openjre-8/242-r0/build/jdk/btnative/genSocketOptionRegistry/genSocketOptionRegistry
(from
/tmp/ramdisk/build/work/core2-64-oe-linux/openjre-8/242-r0/build/jdk/btnative/genSocketOptionRegistry/genSocketOptionRegi
stry.o)
(/tmp/ramdisk/build/work/core2-64-oe-linux/openjre-8/242-r0/build/jdk/btnative/genSocketOptionRegistry/genSocketOptionRegistry.o
newer)
| + /tmp/ramdisk/build/hosttools/gcc
/tmp/ramdisk/build/work/core2-64-oe-linux/openjre-8/242-r0/build/jdk/btnative/genUnixConstants/genUnixConstants.o
-o
/tmp/ramdisk/build/work/core2-64-oe-linux/openjre-8/242-r0/build/jdk/btnative/genUnixConstants/genUnixConstants
| + /tmp/ramdisk/build/hosttools/ld
/tmp/ramdisk/build/work/core2-64-oe-linux/openjre-8/242-r0/build/jdk/btnative/genSocketOptionRegistry/genSocketOptionRegistry.o
-o
/tmp/ramdisk/build/work/core2-64-oe-linux/openjre-8/242-r0/build/jdk/btnative/genSocketOptionRegistry/genSocket
OptionRegistry
| /tmp/ramdisk/build/hosttools/ld: warning: cannot find entry symbol _start;
defaulting to 0000000000401000
| /tmp/ramdisk/build/hosttools/ld:
/tmp/ramdisk/build/work/core2-64-oe-linux/openjre-8/242-r0/build/jdk/btnative/genSocketOptionRegistry/genSocketOptionRegistry.o:
in function `out':
| genSocketOptionRegistry.c:(.text+0x14): undefined reference to `puts'
| /tmp/ramdisk/build/hosttools/ld:
/tmp/ramdisk/build/work/core2-64-oe-linux/openjre-8/242-r0/build/jdk/btnative/genSocketOptionRegistry/genSocketOptionRegistry.o:
in function `emit':
| genSocketOptionRegistry.c:(.text+0x47): undefined reference to `printf'
| /tmp/ramdisk/build/hosttools/ld: genSocketOptionRegistry.c:(.text+0x5e):
undefined reference to `printf'
| make[2]: *** [gensrc/GensrcMisc.gmk:75:
/tmp/ramdisk/build/work/core2-64-oe-linux/openjre-8/242-r0/build/jdk/btnative/genSocketOptionRegistry/genSocketOptionRegistry]
Error 1
| make[2]: *** Waiting for unfinished jobs....
| Note: Some input files use unchecked or unsafe operations.
| Note: Recompile with -Xlint:unchecked for details.
| + /tmp/ramdisk/build/hosttools/mv
/tmp/ramdisk/build/work/core2-64-oe-linux/openjre-8/242-r0/build/jdk/btclasses/_the.BUILD_TOOLS_batch.tmp
/tmp/ramdisk/build/work/core2-64-oe-linux/openjre-8/242-r0/build/jdk/btclasses/_the.BUILD_TOOLS_batch
| make[1]: *** [BuildJdk.gmk:55: gensrc-only] Error 2
| make: ***
[/tmp/ramdisk/build/work/core2-64-oe-linux/openjre-8/242-r0/jdk8u-jdk8u242-ga//make/Main.gmk:117:
jdk-only] Error 2
| WARNING:
/tmp/ramdisk/build/work/core2-64-oe-linux/openjre-8/242-r0/temp/run.do_compile.384980:1
exit 1 from 'exit 1'
--
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel