From: Richard Leitner <richard.leitner@skidata.com>
To: Jacob Kroon <jacob.kroon@gmail.com>
Cc: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-java] openjre-8: java from master/master-next crashes on startup
Date: Sun, 26 Jan 2020 12:11:29 +0100 [thread overview]
Message-ID: <20200126111129.GA2043417@pcleri> (raw)
In-Reply-To: <95411b04-c9f2-ee4c-6004-110037325976@gmail.com>
On Fri, Jan 24, 2020 at 01:28:52PM +0100, Jacob Kroon wrote:
> 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:
As this happens in the "native" part of the openjre build:
What distribution and gcc version are you using on your host?
For me (Fedora 31) the openjdk build and runtime tests for aarch32,
aarch64 and x86_64 work.
regards;rl
>
> > | 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'
>
>
next prev parent reply other threads:[~2020-01-26 11:11 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-13 9:33 [meta-java] openjre-8: java from master/master-next crashes on startup Jacob Kroon
2020-01-21 7:00 ` Jacob Kroon
2020-01-21 7:12 ` Richard Leitner
2020-01-21 8:01 ` Jacob Kroon
2020-01-21 11:38 ` Richard Leitner
2020-01-21 12:14 ` Jacob Kroon
2020-01-24 10:37 ` Richard Leitner
2020-01-24 11:37 ` Jacob Kroon
2020-01-24 11:44 ` Richard Leitner
2020-01-24 12:28 ` Jacob Kroon
2020-01-26 11:11 ` Richard Leitner [this message]
2020-01-26 11:16 ` Jacob Kroon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200126111129.GA2043417@pcleri \
--to=richard.leitner@skidata.com \
--cc=jacob.kroon@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox