From owner-freebsd-java@freebsd.org Sun Mar 21 21:00:32 2021 Return-Path: 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 D362F5AC889 for ; Sun, 21 Mar 2021 21:00:32 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) 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 4F3VQR5YkGz4Qx4 for ; Sun, 21 Mar 2021 21:00:31 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id 148795AC7C4; Sun, 21 Mar 2021 21:00:31 +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 140D25AC7C3 for ; Sun, 21 Mar 2021 21:00:31 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F3VQQ4Pv3z4R27 for ; Sun, 21 Mar 2021 21:00:30 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1E70721813 for ; Sun, 21 Mar 2021 21:00:30 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 12LL0UvG074424 for ; Sun, 21 Mar 2021 21:00:30 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12LL0U8J074423 for java@FreeBSD.org; Sun, 21 Mar 2021 21:00:30 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202103212100.12LL0U8J074423@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: java@FreeBSD.org Subject: Problem reports for java@FreeBSD.org that need special attention Date: Sun, 21 Mar 2021 21:00:30 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Mar 2021 21:00:33 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- Open | 221213 | java/linux-oracle-jdk18: Does not work with NONE- Open | 248104 | java/openjdk8: Fix build on arm (armv6): os_perf_ New | 235240 | devel/libinotify: move sys/inotify.h into a subdi 3 problems total for which you should take action. From owner-freebsd-java@freebsd.org Mon Mar 22 17:11:32 2021 Return-Path: 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 85ACA5B5D95 for ; Mon, 22 Mar 2021 17:11:32 +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 4F41Hm2SL8z4V1B for ; Mon, 22 Mar 2021 17:11:32 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: by mailman.nyi.freebsd.org (Postfix) id 5433B5B5A69; Mon, 22 Mar 2021 17:11:32 +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 53E155B5BF0; Mon, 22 Mar 2021 17:11:32 +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 4F41Hl1fRQz4TqH; Mon, 22 Mar 2021 17:11:30 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Date: Mon, 22 Mar 2021 18:11:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=klop.ws; s=rw2; t=1616433089; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=wtcZx24Qf3///3KPRUzXZW/2U6bMJ4Hmw//18v6yp30=; b=XnUTIOGKJCJ0Dcw9mO7jgGUuDYx7W0eSTGXNJ528HruzWunzWC0AtjhOmyhBOxmhG0AeWv 1ZraWaeCTLFtRcqrdP74F5PpZDowRzr/lnZiwJvllYOHLcAkJcNhEwvJaY6qdpcOpo3GER CXEzX0lwbPVxFNsaB2sZim9TVrZBrExM4tDy2pdr7RKBhedeNpBsg9N9kTomqw1VZuhJT+ +jkLDvsbYy3hpx9FxseoeJuoFz5MWRoAooZuoZK3v80nu4h9nT9MIPmvCzSptSO8UOtqDQ 4sfaIUx0wrY4c1/1fzUy6jToGlAi950N7ulfie1MbMQqP1Qq/Y+zciKg74ph2A== From: Ronald Klop To: java@freebsd.org, arm@freebsd.org Message-ID: <328913872.14.1616433088983@localhost> Subject: Compiling openjdk8 takes forever on RPI4. MIME-Version: 1.0 X-Mailer: Realworks (552.67.2b0d2817955) Importance: Normal X-Priority: 3 (Normal) X-Rspamd-Queue-Id: 4F41Hl1fRQz4TqH X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=klop.ws header.s=rw2 header.b=XnUTIOGK; 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Mar 2021 17:11:32 -0000 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: 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 ; 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 ; 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 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Mar 2021 22:15:51 -0000 Van: Ronald Klop 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: 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 ; 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 ; 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 To: Ronald Klop Cc: Michal Meloun , arm@freebsd.org, java@freebsd.org Message-ID: <1960346433.20.1616535345759@localhost> In-Reply-To: <600714689.1.1616488522580@localhost> References: <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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Mar 2021 21:35:50 -0000 Van: Ronald Klop Datum: dinsdag, 23 maart 2021 09:35 Aan: Michal Meloun CC: arm@freebsd.org Onderwerp: Re: Compiling openjdk8 takes forever on RPI4. > > Van: Michal Meloun > Datum: 23 maart 2021 08:29 > Aan: Ronald Klop > Onderwerp: Re: Compiling openjdk8 takes forever on RPI4. > > > > > > > > > On 22.03.2021 23:15, Ronald Klop wrote: > > > > > Van: Ronald Klop > > > 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.(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: 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 ; 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 ; 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 ) id 1lP16H-000JXM-Bh; Wed, 24 Mar 2021 11:50:57 +0100 Date: Wed, 24 Mar 2021 11:50:57 +0100 From: Kurt Jaeger To: Ronald Klop , re@freebsd.org Cc: arm@freebsd.org, java@freebsd.org Subject: Re: solved - Re: Compiling openjdk8 takes forever on RPI4. Message-ID: References: <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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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.(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 ? From owner-freebsd-java@freebsd.org Wed Mar 24 11:02:28 2021 Return-Path: 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 B44AD5B250F for ; Wed, 24 Mar 2021 11:02:28 +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 4F55103FgXz3rkQ for ; Wed, 24 Mar 2021 11:02:28 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: by mailman.nyi.freebsd.org (Postfix) id 6D8855B22C8; Wed, 24 Mar 2021 11:02:28 +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 6D15D5B2337; Wed, 24 Mar 2021 11:02:28 +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 4F550z6DwCz3rss; Wed, 24 Mar 2021 11:02:27 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Date: Wed, 24 Mar 2021 12:02:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=klop.ws; s=rw2; t=1616583745; 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=/K+F2zty2FGTr6RSFSpTe5H1UczkyKV98nWuq0xLTZA=; b=FtGMcfdaAO8SkCG42gkAGhyJZhU1Ytpp4BrMolgIXbSLzgHHbp6TeUQmcnPJsPHZs6hxFM wPmZog24tvt85GA+FlcrLHdl3Jko7F1YRF9pWtYQTIAJfKFWUex5v55R+l2k91jktbF/CN cQuHpx6HPtq5jQsOIHinQOPvjFPt+BGpaG97P3+S647cfH6FAPglefq9vzHoy8QhZ/FXA9 DWm02MfuijPRxZxhT1WCNe/kH/5NJzRAgAiKFN/czngW8UJV/O1LUn7tc2MRJIRKwHnp1Y Ki14JS8dwWJTn56M7dA0+Gv+rO/cgusA4evILeANMV1sddYMEbhjHm2NbdG0WA== From: Ronald Klop To: Kurt Jaeger Cc: re@freebsd.org, arm@freebsd.org, java@freebsd.org Message-ID: <1406061446.1.1616583744614@localhost> In-Reply-To: References: <600714689.1.1616488522580@localhost> <1960346433.20.1616535345759@localhost> Subject: Re: solved - Re: Compiling openjdk8 takes forever on RPI4. MIME-Version: 1.0 X-Mailer: Realworks (552.83.d7541cc7c9a) Importance: Normal X-Priority: 3 (Normal) X-Rspamd-Queue-Id: 4F550z6DwCz3rss X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Mar 2021 11:02:28 -0000 Van: Kurt Jaeger Datum: woensdag, 24 maart 2021 11:50 Aan: Ronald Klop , re@freebsd.org CC: arm@freebsd.org, java@freebsd.org Onderwerp: Re: solved - Re: Compiling openjdk8 takes forever on RPI4. > > 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.(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 ? > > > Thanks for the suggestion. I sent a mail yesterday and got a reply that it was on the list already. It was committed to releng/13 this morning. Thanks for all the work by everybody. I'm going back to my (now working) Jenkins + poudriere instance to update some ports for aarch64. Regards, Ronald. From owner-freebsd-java@freebsd.org Thu Mar 25 08:57:55 2021 Return-Path: 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 BA5965B4B4A for ; Thu, 25 Mar 2021 08:57:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 4F5fBq4lpvz4lQ0 for ; Thu, 25 Mar 2021 08:57:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id A14DB5B4C19; Thu, 25 Mar 2021 08:57:55 +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 A113F5B4B49 for ; Thu, 25 Mar 2021 08:57:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F5fBq47prz4lgn for ; Thu, 25 Mar 2021 08:57:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 80CDC2460E for ; Thu, 25 Mar 2021 08:57:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 12P8vtBQ041920 for ; Thu, 25 Mar 2021 08:57:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12P8vtvd041919 for java@FreeBSD.org; Thu, 25 Mar 2021 08:57:55 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: maintainer-feedback requested: [Bug 254539] java/openjdk11: jhsdb jmap crashes with SIGSEGV Date: Thu, 25 Mar 2021 08:57:55 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Mar 2021 08:57:55 -0000 Bugzilla Automation has asked freebsd-java (Nobody) for maintainer-feedback: Bug 254539: java/openjdk11: jhsdb jmap crashes with SIGSEGV https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254539 --- Description --- While trying to produce a heap dump from JVM with: jhsdb jmap --pid 18369 --binaryheap --dumpfile dump.hpro After running for a while, it fails with SIGSEGV: Attaching to process ID 18369, please wait... Debugger attached successfully. Server compiler detected. JVM version is 11.0.10+9-1 # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=3D0x00000008011543b9, pid=3D18729, tid=3D101203 # # JRE version: OpenJDK Runtime Environment (11.0.10+9) (build 11.0.10+9-1) # Java VM: OpenJDK 64-Bit Server VM (11.0.10+9-1, mixed mode, tiered, compressed oops, serial gc, bsd-amd64) # Problematic frame: # C [libc.so.7+0x913b9] signed char+0x49 I'll attach the error report file. From owner-freebsd-java@freebsd.org Thu Mar 25 08:57:55 2021 Return-Path: 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 ED50F5B4C1A for ; Thu, 25 Mar 2021 08:57:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 4F5fBq6Bx6z4lkM for ; Thu, 25 Mar 2021 08:57:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id D30505B4A6B; Thu, 25 Mar 2021 08:57:55 +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 D2D345B4BBD for ; Thu, 25 Mar 2021 08:57:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F5fBq5Zl2z4lkL for ; Thu, 25 Mar 2021 08:57:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B308F23EF4 for ; Thu, 25 Mar 2021 08:57:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 12P8vtOP041928 for ; Thu, 25 Mar 2021 08:57:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12P8vt1E041927 for java@FreeBSD.org; Thu, 25 Mar 2021 08:57:55 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 254539] java/openjdk11: jhsdb jmap crashes with SIGSEGV Date: Thu, 25 Mar 2021 08:57:55 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ari@stonepile.fi X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Mar 2021 08:57:56 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254539 Bug ID: 254539 Summary: java/openjdk11: jhsdb jmap crashes with SIGSEGV Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: java@FreeBSD.org Reporter: ari@stonepile.fi Flags: maintainer-feedback?(java@FreeBSD.org) Assignee: java@FreeBSD.org Created attachment 223561 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D223561&action= =3Dedit Error report file that was produced While trying to produce a heap dump from JVM with: jhsdb jmap --pid 18369 --binaryheap --dumpfile dump.hpro After running for a while, it fails with SIGSEGV: Attaching to process ID 18369, please wait... Debugger attached successfully. Server compiler detected. JVM version is 11.0.10+9-1 # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=3D0x00000008011543b9, pid=3D18729, tid=3D101203 # # JRE version: OpenJDK Runtime Environment (11.0.10+9) (build 11.0.10+9-1) # Java VM: OpenJDK 64-Bit Server VM (11.0.10+9-1, mixed mode, tiered, compressed oops, serial gc, bsd-amd64) # Problematic frame: # C [libc.so.7+0x913b9] signed char+0x49 I'll attach the error report file. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-java@freebsd.org Thu Mar 25 13:00:44 2021 Return-Path: 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 BAF1D5BCC87 for ; Thu, 25 Mar 2021 13:00:44 +0000 (UTC) (envelope-from 010101786978fe2d-f0dcdce8-fe2e-4747-af59-a3e61e0e2572-000000@us-west-2.amazonses.com) 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 4F5lb01JZnz3JFP for ; Thu, 25 Mar 2021 13:00:44 +0000 (UTC) (envelope-from 010101786978fe2d-f0dcdce8-fe2e-4747-af59-a3e61e0e2572-000000@us-west-2.amazonses.com) Received: by mailman.nyi.freebsd.org (Postfix) id 2CD225BCC86; Thu, 25 Mar 2021 13:00:44 +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 2C99F5BCD01 for ; Thu, 25 Mar 2021 13:00:44 +0000 (UTC) (envelope-from 010101786978fe2d-f0dcdce8-fe2e-4747-af59-a3e61e0e2572-000000@us-west-2.amazonses.com) Received: from a27-186.smtp-out.us-west-2.amazonses.com (a27-186.smtp-out.us-west-2.amazonses.com [54.240.27.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F5lZy52m0z3JHq for ; Thu, 25 Mar 2021 13:00:42 +0000 (UTC) (envelope-from 010101786978fe2d-f0dcdce8-fe2e-4747-af59-a3e61e0e2572-000000@us-west-2.amazonses.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=7v7vs6w47njt4pimodk5mmttbegzsi6n; d=amazonses.com; t=1616677240; h=To:References:From:Subject:Message-ID:Date:MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding:Feedback-ID; bh=KEAFEYy4xr/Lsbg0DB173cXBs84/FyvjudXS4h7Zgi4=; b=c3s/PtubUxNDzZEsjvHd2FOWDEEBszOsJXr2cibVNURFZpMisMkq17CKlptMk0KB ntzcxy4iK53oO9eF/v0TWDROXO/UBTTvtxHIyWGc5yXWWWIsmQXGDHQ1QcNitiHa7PX 9KrqORLB+ihua0HwUxupQmnbFkg9QJpk443mlXO8= X-Authentication-Warning: misty.eyesbeyond.com: Host localhost.eyesbeyond.com [127.0.0.1] claimed to be misty.eyesbeyond.com To: Ronald Klop , java@freebsd.org References: <328913872.14.1616433088983@localhost> <1282552329.1.1616451348523@localhost> From: Greg Lewis Subject: Re: Compiling openjdk8 takes forever on RPI4. Message-ID: <010101786978fe2d-f0dcdce8-fe2e-4747-af59-a3e61e0e2572-000000@us-west-2.amazonses.com> Date: Thu, 25 Mar 2021 13:00:40 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <1282552329.1.1616451348523@localhost> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: en-AU X-SES-Outgoing: 2021.03.25-54.240.27.186 Feedback-ID: 1.us-west-2.57h2ou5HkLStqinMcFspxvx9Ae9MkLBpzbLgKiDKs1s=:AmazonSES X-Rspamd-Queue-Id: 4F5lZy52m0z3JHq X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=pass header.d=amazonses.com header.s=7v7vs6w47njt4pimodk5mmttbegzsi6n header.b=c3s/Ptub; dmarc=none; spf=pass (mx1.freebsd.org: domain of 010101786978fe2d-f0dcdce8-fe2e-4747-af59-a3e61e0e2572-000000@us-west-2.amazonses.com designates 54.240.27.186 as permitted sender) smtp.mailfrom=010101786978fe2d-f0dcdce8-fe2e-4747-af59-a3e61e0e2572-000000@us-west-2.amazonses.com X-Spamd-Result: default: False [1.30 / 15.00]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[amazonses.com:s=7v7vs6w47njt4pimodk5mmttbegzsi6n]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:54.240.0.0/18]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; DMARC_NA(0.00)[eyesbeyond.com]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[amazonses.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[54.240.27.186:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FORGED_SENDER(0.30)[glewis@eyesbeyond.com,010101786978fe2d-f0dcdce8-fe2e-4747-af59-a3e61e0e2572-000000@us-west-2.amazonses.com]; RCVD_COUNT_ZERO(0.00)[0]; MIME_TRACE(0.00)[0:+]; RWL_MAILSPIKE_VERYGOOD(0.00)[54.240.27.186:from]; ASN(0.00)[asn:16509, ipnet:54.240.24.0/22, country:US]; FORGED_MUA_THUNDERBIRD_MSGID_UNKNOWN(2.50)[]; FROM_NEQ_ENVFROM(0.00)[glewis@eyesbeyond.com,010101786978fe2d-f0dcdce8-fe2e-4747-af59-a3e61e0e2572-000000@us-west-2.amazonses.com]; MAILMAN_DEST(0.00)[java] X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Mar 2021 13:00:44 -0000 I'm happy to extend that option to arm64, but I'm curious as to what might be contributing here. One thing is that the newly compiled code is hardly used at all in the build, IIRC, so I have to wonder how enabling FPUHACK made the build faster at all unless you built twice with it enabled.=C2=A0 But it doesn'= t sound like that was the situation?=C2=A0 Another factor is that you're building in a jail and that -CURRENT is involved somehow.=C2=A0 Did the version of -CURRENT change at all across the different builds? -- Greg On 3/22/21 3:15 PM, Ronald Klop wrote: > > Van: Ronald Klop > 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=3Dhttp%3A%2F%2Fampere2.nyi.freebsd.o= rg%2Fdata%2Fmain-arm64-default%2Fp568824_s7af04dff02%2Flogs%2Fopenjdk8-8.= 282.08.1.log&b=3D0&f=3Dnorefer >> >> >> I used jstack to look at what it is doing. The main stack which keeps >> showing up is this: >> >> "main" #1 prio=3D5 os_prio=3D15 tid=3D0x0000000041c41000 nid=3D0x3f560= >> runnable [0x0000ffffbfff8000] >> =C2=A0=C2=A0 java.lang.Thread.State: RUNNABLE >> =C2=A0=C2=A0=C2=A0 at sun.misc.FDBigInteger.rightInplaceSub(FDBigInteg= er.java:890) >> =C2=A0=C2=A0=C2=A0 at >> sun.misc.FloatingDecimal$ASCIIToBinaryBuffer.doubleValue(FloatingDecim= al.java:1357) >> =C2=A0=C2=A0=C2=A0 at sun.misc.FloatingDecimal.parseDouble(FloatingDec= imal.java:110) >> =C2=A0=C2=A0=C2=A0 at java.lang.Double.parseDouble(Double.java:538) >> =C2=A0=C2=A0=C2=A0 at java.lang.Double.valueOf(Double.java:502) >> =C2=A0=C2=A0=C2=A0 at >> com.sun.tools.javac.parser.JavacParser.literal(JavacParser.java:720) >> =C2=A0=C2=A0=C2=A0 at >> com.sun.tools.javac.parser.JavacParser.literal(JavacParser.java:659) >> =C2=A0=C2=A0=C2=A0 at >> com.sun.tools.javac.parser.JavacParser.term3(JavacParser.java:1196) >> =C2=A0=C2=A0=C2=A0 at >> com.sun.tools.javac.parser.JavacParser.term2(JavacParser.java:909) >> =C2=A0=C2=A0=C2=A0 at >> com.sun.tools.javac.parser.JavacParser.term1(JavacParser.java:880) >> =C2=A0=C2=A0=C2=A0 at com.sun.tools.javac.parser.JavacParser.term(Java= cParser.java:836) >> =C2=A0=C2=A0=C2=A0 at com.sun.tools.javac.parser.JavacParser.term(Java= cParser.java:816) >> =C2=A0=C2=A0=C2=A0 at >> com.sun.tools.javac.parser.JavacParser.parseExpression(JavacParser.jav= a:779) >> =C2=A0=C2=A0=C2=A0 at >> com.sun.tools.javac.parser.JavacParser.variableInitializer(JavacParser= =2Ejava:2291) >> =C2=A0=C2=A0=C2=A0 at >> com.sun.tools.javac.parser.JavacParser.variableDeclaratorRest(JavacPar= ser.java:3035) >> =C2=A0=C2=A0=C2=A0 at >> com.sun.tools.javac.parser.JavacParser.variableDeclaratorsRest(JavacPa= rser.java:3006) >> =C2=A0=C2=A0=C2=A0 at >> com.sun.tools.javac.parser.JavacParser.classOrInterfaceBodyDeclaration= (JavacParser.java:3537) >> =C2=A0=C2=A0=C2=A0 at >> com.sun.tools.javac.parser.JavacParser.classOrInterfaceBody(JavacParse= r.java:3436) >> =C2=A0=C2=A0=C2=A0 at >> com.sun.tools.javac.parser.JavacParser.classDeclaration(JavacParser.ja= va:3285) >> =C2=A0=C2=A0=C2=A0 at >> com.sun.tools.javac.parser.JavacParser.classOrInterfaceOrEnumDeclarati= on(JavacParser.java:3226) >> =C2=A0=C2=A0=C2=A0 at >> com.sun.tools.javac.parser.JavacParser.typeDeclaration(JavacParser.jav= a:3215) >> =C2=A0=C2=A0=C2=A0 at >> com.sun.tools.javac.parser.JavacParser.parseCompilationUnit(JavacParse= r.java:3155) >> =C2=A0=C2=A0=C2=A0 at >> com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java:628) >> =C2=A0=C2=A0=C2=A0 at >> com.sun.tools.javac.main.JavaCompiler.complete(JavaCompiler.java:772) >> =C2=A0=C2=A0=C2=A0 at >> com.sun.tools.javac.main.JavaCompiler$1.complete(JavaCompiler.java:312= ) >> =C2=A0=C2=A0=C2=A0 at com.sun.tools.javac.jvm.ClassReader.fillIn(Class= Reader.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/bui= ld/bsd-aarch64-normal-zero-release/jdk/gensrc_x11wrappers/sizes.64.verifi= cation.tmp >> to >> /wrkdirs/usr/ports/java/openjdk8/work/openjdk-jdk8u-jdk8u282-b08.1/bui= ld/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. >> =C2=A0 >> _______________________________________________ >> 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. > > _______________________________________________ > freebsd-java@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org"= From owner-freebsd-java@freebsd.org Thu Mar 25 15:29:25 2021 Return-Path: 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 635D95C1836 for ; Thu, 25 Mar 2021 15:29:25 +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 4F5ptY0ZSyz3l53 for ; Thu, 25 Mar 2021 15:29:25 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: by mailman.nyi.freebsd.org (Postfix) id 139C15C1746; Thu, 25 Mar 2021 15:29:25 +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 1358A5C1745 for ; Thu, 25 Mar 2021 15:29:25 +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 4F5ptX4fMDz3l0G for ; Thu, 25 Mar 2021 15:29:23 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Date: Thu, 25 Mar 2021 16:29:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=klop.ws; s=rw2; t=1616686162; 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; bh=ekh0W2gaDNosUp1/K4JOnXzdmjm/kw24jalzQLNa2po=; b=z1SYSnAU2djFN77iXC0s1/EcQyeyyuiXUbk4PCX/eS2hw3/lR5X2AYjWiToyfcGoQmKtMe 2ZtQELftOiC1YKR8+5tzCCvOKdvbUyH8QmckHrHbjqfT5N9FdqNJqHMboTMBkKBLVnjGfu jMKkgMrUMyR5nqsRkyfCXVtr2aSN+CTTPuaC1gWmWE4MqT26yGga9I8uZvbwfTMZPjDMtw Ze6KK+rbaV+qze+QJd4Y1fFOj3G2XFYbVk1f65zhqsVk6f6bqX3NmwwFcBTmGRKVtQN+Mu P+hWsRIzPvILIQxBHijTSubtt7PZcUrupJt5K6xn3LZrtnNyWdUrqoqwmH3OvQ== From: Ronald Klop To: Greg Lewis , java@freebsd.org Message-ID: <784031113.1.1616686159275@localhost> In-Reply-To: <010101786978fe2d-f0dcdce8-fe2e-4747-af59-a3e61e0e2572-000000@us-west-2.amazonses.com> Subject: Re: Compiling openjdk8 takes forever on RPI4. MIME-Version: 1.0 X-Mailer: Realworks (553.97.b3296b9a8a5) Importance: Normal X-Priority: 3 (Normal) X-Rspamd-Queue-Id: 4F5ptX4fMDz3l0G X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Mar 2021 15:29:25 -0000 Hi, It was fixed by https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253847 Temporary bug in the kernel. It is fixed in 13.0-RC4 also. The mail thread with the answer evolved in other mailing lists. Thanks for answering, Ronald. Van: Greg Lewis Datum: 25 maart 2021 14:00 Aan: Ronald Klop , java@freebsd.org Onderwerp: Re: Compiling openjdk8 takes forever on RPI4. > > > I'm happy to extend that option to arm64, but I'm curious as to what > might be contributing here. > > One thing is that the newly compiled code is hardly used at all in the > build, IIRC, so I have to wonder how enabling FPUHACK made the build > faster at all unless you built twice with it enabled. But it doesn't > sound like that was the situation? Another factor is that you're > building in a jail and that -CURRENT is involved somehow. Did the > version of -CURRENT change at all across the different builds? > > -- Greg > > On 3/22/21 3:15 PM, Ronald Klop wrote: > > > > Van: Ronald Klop > > 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. > > > > _______________________________________________ > > freebsd-java@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-java > > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" > > > > > From owner-freebsd-java@freebsd.org Thu Mar 25 17:05:40 2021 Return-Path: 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 9607B5C446F for ; Thu, 25 Mar 2021 17:05:40 +0000 (UTC) (envelope-from bugReporter@ib-haakh.de) Received: from mo4-p00-ob.smtp.rzone.de (mo4-p00-ob.smtp.rzone.de [85.215.255.25]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "*.smtp.rzone.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F5s1b4055z3tY1 for ; Thu, 25 Mar 2021 17:05:38 +0000 (UTC) (envelope-from bugReporter@ib-haakh.de) ARC-Seal: i=1; a=rsa-sha256; t=1616691936; cv=none; d=strato.com; s=strato-dkim-0002; b=OAP4p/kGDeMdRX+sf5UvP2EvPyCPyz4mxxnEWOvIa2Dli89dIExgM15mw+LqEDNend +kwUCU2KVtZnDvbYJ29SZaaMhqyPJzsVEOwShw9uWLpHzGQHaL/bkyQk/7feNA6hcqld nW2R79slMRtAoGmmVhE36dUtmktPyda5jx0bnqSiexYhQE0XqFjc6glAB4JVylbc6bKm ucHMOFyAaGpyzrSlc/WSeHNY28IoJsd30FR9CAc3HZUHDuwMGcvy+N9cGKzI/gD28fST 3eJ4wdF3VK5nu3PLQ+O5KX482TDm2MpEIecVQOfFIzJ35XgFphvknmFcTM4XK53umRsX EkbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1616691936; s=strato-dkim-0002; d=strato.com; h=Date:Message-ID:Subject:From:To:Cc:Date:From:Subject:Sender; bh=W+3U1Eet5V3pzp1knytHji+NLc2EcsRFWoaDhX7a0qI=; b=rk/9dWbRdUSAcIV0SjjQHa+zvvreTjVrX30anECqxlOcYRVNm93BPqGmVqZOviKX8T OPri/dupr6W2RZYhkTluclnJvblit59yh/NqZqKrAC3SxggmW7KlVrlRjTP1Kt6LJ9yA aqFVMf1QjxK8wA6GwF5LaM0sKsZE2V7kP1YDEqLLZlVgSR0gtBTHT8K4C/VUp8uahjxP XOqQF0Jp7+OYWR5AFj77/Wi/29KJPhRhwMagUFm91tXhvDPYZidFT5EW+mjsPBOSGR1H uQktZZcyKd9JWk2aFR+uXz6WZZltBmBWuJKBqacxY2lHk4wuOmOWCjTHHqemH+RXcCTL 2Fqw== ARC-Authentication-Results: i=1; strato.com; dkim=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1616691936; s=strato-dkim-0002; d=ib-haakh.de; h=Date:Message-ID:Subject:From:To:Cc:Date:From:Subject:Sender; bh=W+3U1Eet5V3pzp1knytHji+NLc2EcsRFWoaDhX7a0qI=; b=fe2LVedtZ0bO7tCeUNs9SPd2PG0ymxfBhPYqTkXArENdSFpEBQSfY8Zw2BA1pUEEq1 uXtJ0jKOmiBrMIqmQaDitpTGr54DJvrA+RbkxE/B2z/dB1JxGruJpSbNlGMvyBp/GcID bPtRfJkG6HBOnMzd2I/0DmFMVnb/tqKf6FwsPsT0usnp3AlSZYOyr9iAoo5Qta1OBSFY 3a/4WKHn1+6pfb24ygnZ/SSEy3L1Q2IPEPLi4EmL5wW43R3LhxO71+2aFQvDqNAWNJ1Q KsoUyI24YvpQOxWkAIuC7tsXc3aMWwuWpzevJyOk277rvkjJA5hFktN+B5eQRACXrpHR LpXA== X-RZG-AUTH: ":LWQcbViwW/e6OTbW0dHzwKkCeoYk6TEdOyQt7eTSm7tGb2XqXTgXwTg/t+4nxqp6k4OltiMRacB4vrKgO/iuZ7vonhxMTlE4EyA=" X-RZG-CLASS-ID: mo00 Received: from pain.Haakh.de by smtp.strato.de (RZmta 47.22.0 AUTH) with ESMTPSA id J023bbx2PH5a7LV (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate) for ; Thu, 25 Mar 2021 18:05:36 +0100 (CET) Received: from MyOffice.Haakh.de (myOffice.haakh.de [192.168.63.21]) by pain.Haakh.de (8.16.1/8.16.1) with ESMTPS id 12PH5ZD2075532 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO) for ; Thu, 25 Mar 2021 18:05:36 +0100 (CET) (envelope-from bugReporter@ib-haakh.de) To: freebsd-java@freebsd.org From: "Dr. A. Haakh" Subject: fontpaths wrong in /usr/local/openjdk1?/lib/fontconfig.properties.src Message-ID: Date: Thu, 25 Mar 2021 18:05:35 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 4F5s1b4055z3tY1 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ib-haakh.de header.s=strato-dkim-0002 header.b=fe2LVedt; arc=pass (strato.com:s=strato-dkim-0002:i=1); dmarc=none; spf=none (mx1.freebsd.org: domain of bugReporter@ib-haakh.de has no SPF policy when checking 85.215.255.25) smtp.mailfrom=bugReporter@ib-haakh.de X-Spamd-Result: default: False [-3.30 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[ib-haakh.de:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_ALLOW(-1.00)[strato.com:s=strato-dkim-0002:i=1]; MID_RHS_MATCH_FROM(0.00)[]; SUBJECT_HAS_QUESTION(0.00)[]; ASN(0.00)[asn:6724, ipnet:85.215.255.0/24, country:DE]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[ib-haakh.de:s=strato-dkim-0002]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-java@freebsd.org]; DMARC_NA(0.00)[ib-haakh.de]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[85.215.255.25:from]; FROM_NAME_HAS_TITLE(1.00)[dr]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_VERYGOOD(0.00)[85.215.255.25:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-java] X-Mailman-Approved-At: Thu, 25 Mar 2021 19:35:09 +0000 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Mar 2021 17:05:40 -0000 Hello, the subject tells the whole story. I almost went crazy when my java-based program for structural engineering presented me with garbled output. Fortunately there was an openjdk8-based version around... The last correct version is openjdk8, where the fontpaths are correct and java-programs create desired output. You can verify this by root@here:~# root@here:~#  for i in `cat /usr/local/openjdk12/lib/fontconfig.properties.src |awk 'BEGIN {FS="="} /^filename/ {print $2}'`; do j=$(basename $i); echo -n "$i  "; find /usr/local/share/fonts/ -name $j -print -prune; echo ""; done; Similar command and result for openjdk-versions 12-15. Regards Andreas Haakh