[oe] [meta-java] openjre-8: java from master/master-next crashes on startup

Jacob Kroon jacob.kroon at gmail.com
Sun Jan 26 11:16:09 UTC 2020


On 1/26/20 12:11 PM, Richard Leitner wrote:
> 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.
> 

[cut]

Odd.. I'm on plain Fedora 31, with Fedora's regular gcc 9.2.1.
I sent a patch to the ml that fixes the build for me, forgot to CC you.

Maybe I have some extra headers installed that triggers something extra 
to build..

Cheers,
Jacob


More information about the Openembedded-devel mailing list