Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Mar 2021 18:11:28 +0100 (CET)
From:      Ronald Klop <ronald-lists@klop.ws>
To:        java@freebsd.org, arm@freebsd.org
Subject:   Compiling openjdk8 takes forever on RPI4.
Message-ID:  <328913872.14.1616433088983@localhost>

next in thread | raw e-mail | index | archive | help
Hi,

I'm using poudriere to compile ports. It runs on an RPI4 8GB.
FreeBSD jail13 14.0-CURRENT #6 main-34d696110: Sat Feb 27 05:01:05 CET 2021

Compilation is already going on for the second days. I have compiled this port in the past in a couple of hours. NB: this compiles fine in the official pkg builders.
http://www.ipv6proxy.net/go.php?u=http%3A%2F%2Fampere2.nyi.freebsd.org%2Fdata%2Fmain-arm64-default%2Fp568824_s7af04dff02%2Flogs%2Fopenjdk8-8.282.08.1.log&b=0&f=norefer

I used jstack to look at what it is doing. The main stack which keeps showing up is this:

"main" #1 prio=5 os_prio=15 tid=0x0000000041c41000 nid=0x3f560 runnable [0x0000ffffbfff8000]
   java.lang.Thread.State: RUNNABLE
    at sun.misc.FDBigInteger.rightInplaceSub(FDBigInteger.java:890)
    at sun.misc.FloatingDecimal$ASCIIToBinaryBuffer.doubleValue(FloatingDecimal.java:1357)
    at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
    at java.lang.Double.parseDouble(Double.java:538)
    at java.lang.Double.valueOf(Double.java:502)
    at com.sun.tools.javac.parser.JavacParser.literal(JavacParser.java:720)
    at com.sun.tools.javac.parser.JavacParser.literal(JavacParser.java:659)
    at com.sun.tools.javac.parser.JavacParser.term3(JavacParser.java:1196)
    at com.sun.tools.javac.parser.JavacParser.term2(JavacParser.java:909)
    at com.sun.tools.javac.parser.JavacParser.term1(JavacParser.java:880)
    at com.sun.tools.javac.parser.JavacParser.term(JavacParser.java:836)
    at com.sun.tools.javac.parser.JavacParser.term(JavacParser.java:816)
    at com.sun.tools.javac.parser.JavacParser.parseExpression(JavacParser.java:779)
    at com.sun.tools.javac.parser.JavacParser.variableInitializer(JavacParser.java:2291)
    at com.sun.tools.javac.parser.JavacParser.variableDeclaratorRest(JavacParser.java:3035)
    at com.sun.tools.javac.parser.JavacParser.variableDeclaratorsRest(JavacParser.java:3006)
    at com.sun.tools.javac.parser.JavacParser.classOrInterfaceBodyDeclaration(JavacParser.java:3537)
    at com.sun.tools.javac.parser.JavacParser.classOrInterfaceBody(JavacParser.java:3436)
    at com.sun.tools.javac.parser.JavacParser.classDeclaration(JavacParser.java:3285)
    at com.sun.tools.javac.parser.JavacParser.classOrInterfaceOrEnumDeclaration(JavacParser.java:3226)
    at com.sun.tools.javac.parser.JavacParser.typeDeclaration(JavacParser.java:3215)
    at com.sun.tools.javac.parser.JavacParser.parseCompilationUnit(JavacParser.java:3155)
    at com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java:628)
    at com.sun.tools.javac.main.JavaCompiler.complete(JavaCompiler.java:772)
    at com.sun.tools.javac.main.JavaCompiler$1.complete(JavaCompiler.java:312)
    at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:2535)
... more lines skipped for brevity...

The tail of the buildlog is:
...
[01:02:41] ## Starting jdk
...
[01:05:50] [Error] encoded value was greater than 3: encode(15.029411, 1.0, 14.0, 15.0)
[01:05:50] [Error] encoded value was less than 0: encode(-0.05882353, 1.0, 24.0, 25.0)
[01:05:50] [Error] encoded value was greater than 3: encode(15.029411, 1.0, 14.0, 15.0)
[01:05:50] [Error] encoded value was less than 0: encode(-0.05882353, 1.0, 24.0, 25.0)
[01:05:57] [Error] Encountered Infinity: encode(-0.00877193, 0.0, 7.0, 7.0)
[01:13:57] Verifying /wrkdirs/usr/ports/java/openjdk8/work/openjdk-jdk8u-jdk8u282-b08.1/build/bsd-aarch64-normal-zero-release/jdk/gensrc_x11wrappers/sizes.64.verification.tmp to /wrkdirs/usr/ports/java/openjdk8/work/openjdk-jdk8u-jdk8u282-b08.1/build/bsd-aarch64-normal-zero-release/jdk/gensrc_x11wrappers/sizes.64


And this is the last output for 32 hours already. I have no idea if the last logline has anything todo with the current activity of the compiling process.

Any thoughts on how to fix or debug this? Would it be a Java, OS or RPI4 problem?

Regards,
Ronald.
 
From owner-freebsd-java@freebsd.org  Mon Mar 22 22:15:51 2021
Return-Path: <owner-freebsd-java@freebsd.org>
Delivered-To: freebsd-java@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id CFB135BC165
 for <freebsd-java@mailman.nyi.freebsd.org>;
 Mon, 22 Mar 2021 22:15:51 +0000 (UTC)
 (envelope-from ronald-lists@klop.ws)
Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org
 [IPv6:2610:1c1:1:606c::50:13])
 by mx1.freebsd.org (Postfix) with ESMTP id 4F482v4Zk1z4pvS
 for <freebsd-java@freebsd.org>; Mon, 22 Mar 2021 22:15:51 +0000 (UTC)
 (envelope-from ronald-lists@klop.ws)
Received: by mailman.nyi.freebsd.org (Postfix)
 id 9B72F5BBE7E; Mon, 22 Mar 2021 22:15:51 +0000 (UTC)
Delivered-To: java@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9B1F15BC164;
 Mon, 22 Mar 2021 22:15:51 +0000 (UTC)
 (envelope-from ronald-lists@klop.ws)
Received: from smtp-relay-int.realworks.nl (smtp-relay-int.realworks.nl
 [194.109.157.24])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 4F482t53k1z4q7p;
 Mon, 22 Mar 2021 22:15:50 +0000 (UTC)
 (envelope-from ronald-lists@klop.ws)
Date: Mon, 22 Mar 2021 23:15:48 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=klop.ws; s=rw2;
 t=1616451349;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=mgUrxNjy8IcHKRO57bs2U442Q4SqlLufjKQctPuMAaM=;
 b=JojF1SAGJk6TQi7lit6Bpyu8OH96jzTHWsgBmcIy/umIiNQ3nCXspIircAcy3fnCzbseMn
 hKCjLnTaxxa7ACBY47gSwsAZrh3VN/zzPY5U32ARceuGuKtWvJQedC9r3qIYpc+ab7uWEX
 WFLKd+WT1kQDHmi7+UFugbTcHMtkqH0+4fwiss4JpLwTW2GlMOSmz99kZLf+VDkN15eW+M
 tBiDxWeAnq+uLN5ld3/krYM+OIbCfQd1qMRaW469ODN2EobSYhONjT2TdVx/ShyH9GTkJI
 vTIhyADH2cepCuPEhRbWz0BuSjxUY2NpzLWaLD4I5YCC9zZJGksNBWeiUQ2UYA==
From: Ronald Klop <ronald-lists@klop.ws>
To: arm@freebsd.org, java@freebsd.org
Message-ID: <1282552329.1.1616451348523@localhost>
In-Reply-To: <328913872.14.1616433088983@localhost>
References: <328913872.14.1616433088983@localhost>
Subject: Re: Compiling openjdk8 takes forever on RPI4.
MIME-Version: 1.0
X-Mailer: Realworks (552.68.c44d035ef87)
Importance: Normal
X-Priority: 3 (Normal)
X-Rspamd-Queue-Id: 4F482t53k1z4q7p
X-Spamd-Bar: ---
Authentication-Results: mx1.freebsd.org;
 dkim=pass header.d=klop.ws header.s=rw2 header.b=JojF1SAG;
 dmarc=pass (policy=none) header.from=klop.ws;
 spf=pass (mx1.freebsd.org: domain of ronald-lists@klop.ws designates
 194.109.157.24 as permitted sender) smtp.mailfrom=ronald-lists@klop.ws
X-Spamd-Result: default: False [-3.50 / 15.00]; ARC_NA(0.00)[];
 RWL_MAILSPIKE_VERYGOOD(0.00)[194.109.157.24:from];
 R_DKIM_ALLOW(-0.20)[klop.ws:s=rw2];
 NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[];
 TO_MATCH_ENVRCPT_ALL(0.00)[];
 R_SPF_ALLOW(-0.20)[+ip4:194.109.157.0/24];
 MIME_GOOD(-0.10)[multipart/alternative,text/plain];
 TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000];
 DKIM_TRACE(0.00)[klop.ws:+]; RCPT_COUNT_TWO(0.00)[2];
 HAS_X_PRIO_THREE(0.00)[3];
 RCVD_IN_DNSWL_NONE(0.00)[194.109.157.24:from];
 DMARC_POLICY_ALLOW(-0.50)[klop.ws,none];
 NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_COUNT_ZERO(0.00)[0];
 FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~];
 MID_RHS_NOT_FQDN(0.50)[];
 ASN(0.00)[asn:3265, ipnet:194.109.0.0/16, country:NL];
 MAILMAN_DEST(0.00)[arm,java]
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Content-Filtered-By: Mailman/MimeDel 2.1.34
X-BeenThere: freebsd-java@freebsd.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: Porting Java to FreeBSD <freebsd-java.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-java>,
 <mailto:freebsd-java-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-java/>;
List-Post: <mailto:freebsd-java@freebsd.org>
List-Help: <mailto:freebsd-java-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-java>,
 <mailto:freebsd-java-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 22 Mar 2021 22:15:51 -0000

 
Van: Ronald Klop <ronald-lists@klop.ws>
Datum: maandag, 22 maart 2021 18:11
Aan: java@freebsd.org, arm@freebsd.org
Onderwerp: Compiling openjdk8 takes forever on RPI4.
> 
> Hi,
> 
> I'm using poudriere to compile ports. It runs on an RPI4 8GB.
> FreeBSD jail13 14.0-CURRENT #6 main-34d696110: Sat Feb 27 05:01:05 CET 2021
> 
> Compilation is already going on for the second days. I have compiled this port in the past in a couple of hours. NB: this compiles fine in the official pkg builders.
> http://www.ipv6proxy.net/go.php?u=http%3A%2F%2Fampere2.nyi.freebsd.org%2Fdata%2Fmain-arm64-default%2Fp568824_s7af04dff02%2Flogs%2Fopenjdk8-8.282.08.1.log&b=0&f=norefer
> 
> I used jstack to look at what it is doing. The main stack which keeps showing up is this:
> 
> "main" #1 prio=5 os_prio=15 tid=0x0000000041c41000 nid=0x3f560 runnable [0x0000ffffbfff8000]
>    java.lang.Thread.State: RUNNABLE
>     at sun.misc.FDBigInteger.rightInplaceSub(FDBigInteger.java:890)
>     at sun.misc.FloatingDecimal$ASCIIToBinaryBuffer.doubleValue(FloatingDecimal.java:1357)
>     at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
>     at java.lang.Double.parseDouble(Double.java:538)
>     at java.lang.Double.valueOf(Double.java:502)
>     at com.sun.tools.javac.parser.JavacParser.literal(JavacParser.java:720)
>     at com.sun.tools.javac.parser.JavacParser.literal(JavacParser.java:659)
>     at com.sun.tools.javac.parser.JavacParser.term3(JavacParser.java:1196)
>     at com.sun.tools.javac.parser.JavacParser.term2(JavacParser.java:909)
>     at com.sun.tools.javac.parser.JavacParser.term1(JavacParser.java:880)
>     at com.sun.tools.javac.parser.JavacParser.term(JavacParser.java:836)
>     at com.sun.tools.javac.parser.JavacParser.term(JavacParser.java:816)
>     at com.sun.tools.javac.parser.JavacParser.parseExpression(JavacParser.java:779)
>     at com.sun.tools.javac.parser.JavacParser.variableInitializer(JavacParser.java:2291)
>     at com.sun.tools.javac.parser.JavacParser.variableDeclaratorRest(JavacParser.java:3035)
>     at com.sun.tools.javac.parser.JavacParser.variableDeclaratorsRest(JavacParser.java:3006)
>     at com.sun.tools.javac.parser.JavacParser.classOrInterfaceBodyDeclaration(JavacParser.java:3537)
>     at com.sun.tools.javac.parser.JavacParser.classOrInterfaceBody(JavacParser.java:3436)
>     at com.sun.tools.javac.parser.JavacParser.classDeclaration(JavacParser.java:3285)
>     at com.sun.tools.javac.parser.JavacParser.classOrInterfaceOrEnumDeclaration(JavacParser.java:3226)
>     at com.sun.tools.javac.parser.JavacParser.typeDeclaration(JavacParser.java:3215)
>     at com.sun.tools.javac.parser.JavacParser.parseCompilationUnit(JavacParser.java:3155)
>     at com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java:628)
>     at com.sun.tools.javac.main.JavaCompiler.complete(JavaCompiler.java:772)
>     at com.sun.tools.javac.main.JavaCompiler$1.complete(JavaCompiler.java:312)
>     at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:2535)
> ... more lines skipped for brevity...
> 
> The tail of the buildlog is:
> ...
> [01:02:41] ## Starting jdk
> ...
> [01:05:50] [Error] encoded value was greater than 3: encode(15.029411, 1.0, 14.0, 15.0)
> [01:05:50] [Error] encoded value was less than 0: encode(-0.05882353, 1.0, 24.0, 25.0)
> [01:05:50] [Error] encoded value was greater than 3: encode(15.029411, 1.0, 14.0, 15.0)
> [01:05:50] [Error] encoded value was less than 0: encode(-0.05882353, 1.0, 24.0, 25.0)
> [01:05:57] [Error] Encountered Infinity: encode(-0.00877193, 0.0, 7.0, 7.0)
> [01:13:57] Verifying /wrkdirs/usr/ports/java/openjdk8/work/openjdk-jdk8u-jdk8u282-b08.1/build/bsd-aarch64-normal-zero-release/jdk/gensrc_x11wrappers/sizes.64.verification.tmp to /wrkdirs/usr/ports/java/openjdk8/work/openjdk-jdk8u-jdk8u282-b08.1/build/bsd-aarch64-normal-zero-release/jdk/gensrc_x11wrappers/sizes.64
> 
> 
> And this is the last output for 32 hours already. I have no idea if the last logline has anything todo with the current activity of the compiling process.
> 
> Any thoughts on how to fix or debug this? Would it be a Java, OS or RPI4 problem?
> 
> Regards,
> Ronald.
>  
> _______________________________________________
> freebsd-arm@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"
> 
> 
> 


Hi,

I have no idea why, but it seams that enabling /usr/ports/java/openjdk8/files/fpuhack.patch on aarch64 fixes my build on 14.0/aarch64. Does this make sense? In the Makefile it was only enabled on armv6 and armv7.

Regards,
Ronald.
 
From owner-freebsd-java@freebsd.org  Tue Mar 23 21:35:50 2021
Return-Path: <owner-freebsd-java@freebsd.org>
Delivered-To: freebsd-java@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id 105475BCEDC
 for <freebsd-java@mailman.nyi.freebsd.org>;
 Tue, 23 Mar 2021 21:35:50 +0000 (UTC)
 (envelope-from ronald-lists@klop.ws)
Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3])
 by mx1.freebsd.org (Postfix) with ESMTP id 4F4l6F2fBgz4VZB
 for <freebsd-java@freebsd.org>; Tue, 23 Mar 2021 21:35:49 +0000 (UTC)
 (envelope-from ronald-lists@klop.ws)
Received: by mailman.nyi.freebsd.org (Postfix)
 id 5AC515BCFBE; Tue, 23 Mar 2021 21:35:49 +0000 (UTC)
Delivered-To: java@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5A76D5BD034;
 Tue, 23 Mar 2021 21:35:49 +0000 (UTC)
 (envelope-from ronald-lists@klop.ws)
Received: from smtp-relay-int.realworks.nl (smtp-relay-int.realworks.nl
 [194.109.157.24])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 4F4l6F1P68z4VgG;
 Tue, 23 Mar 2021 21:35:48 +0000 (UTC)
 (envelope-from ronald-lists@klop.ws)
Date: Tue, 23 Mar 2021 22:35:45 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=klop.ws; s=rw2;
 t=1616535346;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=FBwBVr44HMBFwcka2q/dCwYGF38nk0RoMRiVr7K000I=;
 b=NgirxRCmLaRGit2PpQFHPXC5Ww4zFp2XaHz+Ma5ka5E2gDEBOJTCUmfhiO6C4hV1e0UGBd
 rqaZeBge6/jVsdfhAzCUPoILU/U6z2kCf212GGzPapJsGFULDBgnW3CCI2W1wcHFAe+E4/
 GrW1SWbu2F7BcomF4pJuDz8g0yRrlue05Z23mlnbA2cqOQAhMMZKA4nMxmUGXPqbhpTZLK
 OPC2LRMOMmBnnRwH7L7mUc3LB1E/Vzx7eBo9dr1fFkMt9oOy23A4WUqLWTwek1iFzMRyq/
 AJ8/ecRpsLIF0psO3n7SEN8T+8VbyUhq8bl2MzbvP58ay4o5XitZiwlmfooypw==
From: Ronald Klop <ronald-lists@klop.ws>
To: Ronald Klop <ronald-lists@klop.ws>
Cc: Michal Meloun <meloun.michal@gmail.com>, arm@freebsd.org, java@freebsd.org
Message-ID: <1960346433.20.1616535345759@localhost>
In-Reply-To: <600714689.1.1616488522580@localhost>
References: <abcddee2-e010-e70e-89b4-6d60e3c5bad2@freebsd.org>
 <600714689.1.1616488522580@localhost>
Subject: solved - Re: Compiling openjdk8 takes forever on RPI4.
MIME-Version: 1.0
X-Mailer: Realworks (552.79.8b1a37f8250)
Importance: Normal
X-Priority: 3 (Normal)
X-Rspamd-Queue-Id: 4F4l6F1P68z4VgG
X-Spamd-Bar: ----
Authentication-Results: mx1.freebsd.org;
	none
X-Spamd-Result: default: False [-4.00 / 15.00]; TAGGED_RCPT(0.00)[];
 REPLY(-4.00)[]
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Content-Filtered-By: Mailman/MimeDel 2.1.34
X-BeenThere: freebsd-java@freebsd.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: Porting Java to FreeBSD <freebsd-java.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-java>,
 <mailto:freebsd-java-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-java/>;
List-Post: <mailto:freebsd-java@freebsd.org>
List-Help: <mailto:freebsd-java-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-java>,
 <mailto:freebsd-java-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 23 Mar 2021 21:35:50 -0000

 
Van: Ronald Klop <ronald-lists@klop.ws>
Datum: dinsdag, 23 maart 2021 09:35
Aan: Michal Meloun <meloun.michal@gmail.com>
CC: arm@freebsd.org
Onderwerp: Re: Compiling openjdk8 takes forever on RPI4.
> 
> Van: Michal Meloun <meloun.michal@gmail.com>
> Datum: 23 maart 2021 08:29
> Aan: Ronald Klop <ronald-lists@klop.ws>
> Onderwerp: Re: Compiling openjdk8 takes forever on RPI4.
> 
> >
> >
> >
> > On 22.03.2021 23:15, Ronald Klop wrote:
> > > > > Van: Ronald Klop <ronald-lists@klop.ws>
> > > Datum: maandag, 22 maart 2021 18:11
> > > Aan: java@freebsd.org, arm@freebsd.org
> > > Onderwerp: Compiling openjdk8 takes forever on RPI4.
> > >>
> > >> Hi,
> > >>
> > >> I'm using poudriere to compile ports. It runs on an RPI4 8GB.
> > >> FreeBSD jail13 14.0-CURRENT #6 main-34d696110: Sat Feb 27 05:01:05 CET >> 2021
> > >>
> > >> Compilation is already going on for the second days. I have compiled >> this port in the past in a couple of hours. NB: this compiles fine in >> the official pkg builders.
> > >> http://www.ipv6proxy.net/go.php?u=http%3A%2F%2Fampere2.nyi.freebsd.org%2Fdata%2Fmain-arm64-default%2Fp568824_s7af04dff02%2Flogs%2Fopenjdk8-8.282.08.1.log&b=0&f=norefer >>
> > >>
> > >> I used jstack to look at what it is doing. The main stack which keeps >> showing up is this:
> > >>
> > >> "main" #1 prio=5 os_prio=15 tid=0x0000000041c41000 nid=0x3f560 >> runnable [0x0000ffffbfff8000]
> > >>    java.lang.Thread.State: RUNNABLE
> > >>     at sun.misc.FDBigInteger.rightInplaceSub(FDBigInteger.java:890)
> > >>     at >> sun.misc.FloatingDecimal$ASCIIToBinaryBuffer.doubleValue(FloatingDecimal.java:1357) >>
> > >>     at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
> > >>     at java.lang.Double.parseDouble(Double.java:538)
> > >>     at java.lang.Double.valueOf(Double.java:502)
> > >>     at >> com.sun.tools.javac.parser.JavacParser.literal(JavacParser.java:720)
> > >>     at >> com.sun.tools.javac.parser.JavacParser.literal(JavacParser.java:659)
> > >>     at >> com.sun.tools.javac.parser.JavacParser.term3(JavacParser.java:1196)
> > >>     at com.sun.tools.javac.parser.JavacParser.term2(JavacParser.java:909)
> > >>     at com.sun.tools.javac.parser.JavacParser.term1(JavacParser.java:880)
> > >>     at com.sun.tools.javac.parser.JavacParser.term(JavacParser.java:836)
> > >>     at com.sun.tools.javac.parser.JavacParser.term(JavacParser.java:816)
> > >>     at >> com.sun.tools.javac.parser.JavacParser.parseExpression(JavacParser.java:779) >>
> > >>     at >> com.sun.tools.javac.parser.JavacParser.variableInitializer(JavacParser.java:2291) >>
> > >>     at >> com.sun.tools.javac.parser.JavacParser.variableDeclaratorRest(JavacParser.java:3035) >>
> > >>     at >> com.sun.tools.javac.parser.JavacParser.variableDeclaratorsRest(JavacParser.java:3006) >>
> > >>     at >> com.sun.tools.javac.parser.JavacParser.classOrInterfaceBodyDeclaration(JavacParser.java:3537) >>
> > >>     at >> com.sun.tools.javac.parser.JavacParser.classOrInterfaceBody(JavacParser.java:3436) >>
> > >>     at >> com.sun.tools.javac.parser.JavacParser.classDeclaration(JavacParser.java:3285) >>
> > >>     at >> com.sun.tools.javac.parser.JavacParser.classOrInterfaceOrEnumDeclaration(JavacParser.java:3226) >>
> > >>     at >> com.sun.tools.javac.parser.JavacParser.typeDeclaration(JavacParser.java:3215) >>
> > >>     at >> com.sun.tools.javac.parser.JavacParser.parseCompilationUnit(JavacParser.java:3155) >>
> > >>     at com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java:628)
> > >>     at >> com.sun.tools.javac.main.JavaCompiler.complete(JavaCompiler.java:772)
> > >>     at >> com.sun.tools.javac.main.JavaCompiler$1.complete(JavaCompiler.java:312)
> > >>     at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:2535)
> > >> ... more lines skipped for brevity...
> > >>
> > >> The tail of the buildlog is:
> > >> ...
> > >> [01:02:41] ## Starting jdk
> > >> ...
> > >> [01:05:50] [Error] encoded value was greater than 3: encode(15.029411, >> 1.0, 14.0, 15.0)
> > >> [01:05:50] [Error] encoded value was less than 0: encode(-0.05882353, >> 1.0, 24.0, 25.0)
> > >> [01:05:50] [Error] encoded value was greater than 3: encode(15.029411, >> 1.0, 14.0, 15.0)
> > >> [01:05:50] [Error] encoded value was less than 0: encode(-0.05882353, >> 1.0, 24.0, 25.0)
> > >> [01:05:57] [Error] Encountered Infinity: encode(-0.00877193, 0.0, 7.0, >> 7.0)
> > >> [01:13:57] Verifying >> /wrkdirs/usr/ports/java/openjdk8/work/openjdk-jdk8u-jdk8u282-b08.1/build/bsd-aarch64-normal-zero-release/jdk/gensrc_x11wrappers/sizes.64.verification.tmp >> to >> /wrkdirs/usr/ports/java/openjdk8/work/openjdk-jdk8u-jdk8u282-b08.1/build/bsd-aarch64-normal-zero-release/jdk/gensrc_x11wrappers/sizes.64 >>
> > >>
> > >>
> > >> And this is the last output for 32 hours already. I have no idea if >> the last logline has anything todo with the current activity of the >> compiling process.
> > >>
> > >> Any thoughts on how to fix or debug this? Would it be a Java, OS or >> RPI4 problem?
> > >>
> > >> Regards,
> > >> Ronald.
> > >>
> > >> _______________________________________________
> > >> freebsd-arm@freebsd.org mailing list
> > >> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> > >> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"
> > >>
> > >>
> > >>
> > > > > > > Hi,
> > > > > I have no idea why, but it seams that enabling > /usr/ports/java/openjdk8/files/fpuhack.patch on aarch64 fixes my build > on 14.0/aarch64. Does this make sense? In the Makefile it was only > enabled on armv6 and armv7.
> >
> > Try to update your kernel. It should fixed in recent current (and also in stable), I think.
> > Michal
> >
> >
> >
> >
> 
> 
> Thank you. I found https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253847 .
> Would this be a good candidate for releng-13.0 still or is the release train too far already?Compiling openjdk is quite a good user feature IMHO.
> 
> Regards,Ronald
> _______________________________________________
> freebsd-arm@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"
> 
> 
> 


Hi,

I also had unexplainable errors while running Jenkins (a Java application) on my RPI3-B+.

Caused by: java.lang.IllegalArgumentException: Choice Pattern incorrect: 0#|0< ('{0,number}')
    at java.base/java.text.ChoiceFormat.applyPattern(ChoiceFormat.java:223)
    at java.base/java.text.ChoiceFormat.<init>(ChoiceFormat.java:320)

This method also calculates and compares doubles.
Google did not give results about this problem, which I understand now.

These are also fixed by the commit mentioned above. Verified it by applying the patch to 13.0-RC3.

How can I vote for inclusion of this fix in 13.0?

Regards,
Ronald.
 
From owner-freebsd-java@freebsd.org  Wed Mar 24 10:51:11 2021
Return-Path: <owner-freebsd-java@freebsd.org>
Delivered-To: freebsd-java@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id 21A785B2175
 for <freebsd-java@mailman.nyi.freebsd.org>;
 Wed, 24 Mar 2021 10:51:11 +0000 (UTC) (envelope-from pi@freebsd.org)
Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3])
 by mx1.freebsd.org (Postfix) with ESMTP id 4F54lz0Vyfz3qvx
 for <freebsd-java@freebsd.org>; Wed, 24 Mar 2021 10:51:11 +0000 (UTC)
 (envelope-from pi@freebsd.org)
Received: by mailman.nyi.freebsd.org (Postfix)
 id 0FB5F5B2197; Wed, 24 Mar 2021 10:51:11 +0000 (UTC)
Delivered-To: java@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0F3DC5B2174;
 Wed, 24 Mar 2021 10:51:11 +0000 (UTC) (envelope-from pi@freebsd.org)
Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 4F54lz01FSz3rBm;
 Wed, 24 Mar 2021 10:51:10 +0000 (UTC) (envelope-from pi@freebsd.org)
Received: from pi by home.opsec.eu with local (Exim 4.94 (FreeBSD))
 (envelope-from <pi@freebsd.org>)
 id 1lP16H-000JXM-Bh; Wed, 24 Mar 2021 11:50:57 +0100
Date: Wed, 24 Mar 2021 11:50:57 +0100
From: Kurt Jaeger <pi@freebsd.org>
To: Ronald Klop <ronald-lists@klop.ws>, re@freebsd.org
Cc: arm@freebsd.org, java@freebsd.org
Subject: Re: solved - Re: Compiling openjdk8 takes forever on RPI4.
Message-ID: <YFsZkT640CSfk7S7@home.opsec.eu>
References: <abcddee2-e010-e70e-89b4-6d60e3c5bad2@freebsd.org>
 <600714689.1.1616488522580@localhost>
 <1960346433.20.1616535345759@localhost>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1960346433.20.1616535345759@localhost>
X-Rspamd-Queue-Id: 4F54lz01FSz3rBm
X-Spamd-Bar: ----
Authentication-Results: mx1.freebsd.org;
	none
X-Spamd-Result: default: False [-4.00 / 15.00];
	 REPLY(-4.00)[]
X-BeenThere: freebsd-java@freebsd.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: Porting Java to FreeBSD <freebsd-java.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-java>,
 <mailto:freebsd-java-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-java/>;
List-Post: <mailto:freebsd-java@freebsd.org>
List-Help: <mailto:freebsd-java-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-java>,
 <mailto:freebsd-java-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 24 Mar 2021 10:51:11 -0000

Hi!

> > Thank you. I found https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253847 .
> > Would this be a good candidate for releng-13.0 still or is the release train too far already?Compiling openjdk is quite a good user feature IMHO.

> I also had unexplainable errors while running Jenkins (a Java application) on my RPI3-B+.
> 
> Caused by: java.lang.IllegalArgumentException: Choice Pattern incorrect: 0#|0< ('{0,number}')
>    at java.base/java.text.ChoiceFormat.applyPattern(ChoiceFormat.java:223)
>    at java.base/java.text.ChoiceFormat.<init>(ChoiceFormat.java:320)
> 
> This method also calculates and compares doubles.
> Google did not give results about this problem, which I understand now.
> 
> These are also fixed by the commit mentioned above. Verified it by applying the patch to 13.0-RC3.
> 
> How can I vote for inclusion of this fix in 13.0?

Send a mail to re@FreeBSD.org, please, and ask to include this patch.

-- 
pi@opsec.eu            +49 171 3101372                    Now what ?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?328913872.14.1616433088983>