From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id +F+BK5Pbn1/cEQAA0tVLHw (envelope-from ) for ; Mon, 02 Nov 2020 10:12:35 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id KHuoJ5Pbn1/2YwAA1q6Kng (envelope-from ) for ; Mon, 02 Nov 2020 10:12:35 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id EECDA9404D3 for ; Mon, 2 Nov 2020 10:12:34 +0000 (UTC) Received: from localhost ([::1]:45346 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kZWpF-0006k9-GU for larch@yhetil.org; Mon, 02 Nov 2020 05:12:33 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50350) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZWYI-0007Cl-R7 for guix-patches@gnu.org; Mon, 02 Nov 2020 04:55:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:56499) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kZWYI-0000IK-FA for guix-patches@gnu.org; Mon, 02 Nov 2020 04:55:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kZWYI-0002LB-Ce for guix-patches@gnu.org; Mon, 02 Nov 2020 04:55:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#41871] [PATCH 0/7] IcedTea: Build (efficiently) on aarch64-linux Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 02 Nov 2020 09:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41871 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Simon South Cc: Ricardo Wurmus , 41871@debbugs.gnu.org Received: via spool by 41871-submit@debbugs.gnu.org id=B41871.16043108868971 (code B ref 41871); Mon, 02 Nov 2020 09:55:02 +0000 Received: (at 41871) by debbugs.gnu.org; 2 Nov 2020 09:54:46 +0000 Received: from localhost ([127.0.0.1]:39812 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZWY1-0002Kc-LC for submit@debbugs.gnu.org; Mon, 02 Nov 2020 04:54:46 -0500 Received: from flashner.co.il ([178.62.234.194]:56224) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZWY0-0002KO-GP for 41871@debbugs.gnu.org; Mon, 02 Nov 2020 04:54:44 -0500 Received: from localhost (unknown [141.226.13.8]) by flashner.co.il (Postfix) with ESMTPSA id 6B46D40212; Mon, 2 Nov 2020 09:54:38 +0000 (UTC) Date: Mon, 2 Nov 2020 11:54:05 +0200 From: Efraim Flashner Message-ID: <20201102095405.GB984@E5400> References: <20200615151856.12283-1-simon@simonsouth.net> <87tuw0xzi8.fsf@elephly.net> <20201028085103.GZ10124@E5400> <871rhiv2oz.fsf@simonsouth.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="TakKZr9L6Hm6aLOc" Content-Disposition: inline In-Reply-To: <871rhiv2oz.fsf@simonsouth.net> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -2.61 X-TUID: V5l8BPOno5dv --TakKZr9L6Hm6aLOc Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 28, 2020 at 10:35:08AM -0400, Simon South wrote: > Efraim Flashner writes: > > On Mon, Sep 14, 2020 at 03:24:15PM +0200, Ricardo Wurmus wrote: > >> This looks really great! I have yet to read the patches in 41748 and > >> 41648, but these patches here look good to me... > > > > I had this on my TODO list for a while and I seem to have forgotten > > about it. Since at least one of the patches was applied to staging I'm > > testing them on staging now. Assuming no problems on x86_64 and aarch64 > > I'll go ahead and push them. >=20 > Wonderful. Thank you both for looking at these changes. >=20 > If they're able to be applied in time, it'll be possible to list > "Support for Java applications on aarch64-linux" among the new features > in Guix 1.2.0. >=20 I'm still running into trouble building icedtea@2 on aarch64 on staging so I've locally applied the patches on master and I'll test it out there. The error message, in case anyone wants to try to work at it specifically: /tmp/guix-build-icedtea-2.6.13.drv-0/icedtea-2.6.13/bootstrap/jdk1.6.0/bin/= java -XX:-PrintVMOptions -XX:+UnlockDiagnosticVMOptions -XX:-LogVMOutput -X= mx512m -Xms512m -XX:PermSize=3D32m -XX:MaxPermSize=3D160m -Xbootclasspath/p= :/tmp/guix-build-icedtea-2.6.13.drv-0/icedtea-2.6.13/openjdk.build-boot/lan= gtools/dist/bootstrap/lib/javac.jar -jar /tmp/guix-build-icedtea-2.6.13.drv= -0/icedtea-2.6.13/openjdk.build-boot/langtools/dist/bootstrap/lib/javac.jar= -g -Xlint:-path -source 6 -target 6 -encoding ascii -Xbootclasspath:/tmp/g= uix-build-icedtea-2.6.13.drv-0/icedtea-2.6.13/openjdk.build-boot/classes -s= ourcepath /tmp/guix-build-icedtea-2.6.13.drv-0/icedtea-2.6.13/generated.bui= ld:../../../src/solaris/classes:../../../src/share/classes -d /tmp/guix-bui= ld-icedtea-2.6.13.drv-0/icedtea-2.6.13/openjdk.build-boot/classes @/tmp/gui= x-build-icedtea-2.6.13.drv-0/icedtea-2.6.13/openjdk.build-boot/tmp/java/jav= a.lang/java/.classes.list.filtered =2E./../../src/share/classes/java/lang/invoke/MethodHandle.java:463: error:= MethodHandle API building requires -target 7 runtimes or better; current i= s -target 1.6 public final native @PolymorphicSignature Object invokeExact(Object... = args) throws Throwable; ^ =2E./../../src/share/classes/java/lang/invoke/MethodHandle.java:498: error:= MethodHandle API building requires -target 7 runtimes or better; current i= s -target 1.6 public final native @PolymorphicSignature Object invoke(Object... args)= throws Throwable; ^ =2E./../../src/share/classes/java/lang/invoke/MethodHandle.java:515: error:= MethodHandle API building requires -target 7 runtimes or better; current i= s -target 1.6 /*non-public*/ final native @PolymorphicSignature Object invokeBasic(Ob= ject... args) throws Throwable; ^ =2E./../../src/share/classes/java/lang/invoke/MethodHandle.java:517: error:= MethodHandle API building requires -target 7 runtimes or better; current i= s -target 1.6 /*non-public*/ static native @PolymorphicSignature Object linkToVirtual= (Object... args) throws Throwable; ^ =2E./../../src/share/classes/java/lang/invoke/MethodHandle.java:524: error:= MethodHandle API building requires -target 7 runtimes or better; current i= s -target 1.6 /*non-public*/ static native @PolymorphicSignature Object linkToStatic(= Object... args) throws Throwable; ^ =2E./../../src/share/classes/java/lang/invoke/MethodHandle.java:531: error:= MethodHandle API building requires -target 7 runtimes or better; current i= s -target 1.6 /*non-public*/ static native @PolymorphicSignature Object linkToSpecial= (Object... args) throws Throwable; ^ =2E./../../src/share/classes/java/lang/invoke/MethodHandle.java:538: error:= MethodHandle API building requires -target 7 runtimes or better; current i= s -target 1.6 /*non-public*/ static native @PolymorphicSignature Object linkToInterfa= ce(Object... args) throws Throwable; ^ Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 7 errors make[5]: *** [/tmp/guix-build-icedtea-2.6.13.drv-0/icedtea-2.6.13/openjdk-b= oot/jdk/make/common/Rules.gmk:254: .compile.classlist] Error 1 make[5]: Leaving directory '/tmp/guix-build-icedtea-2.6.13.drv-0/icedtea-2.= 6.13/openjdk-boot/jdk/make/java/java' make[4]: *** [Makefile:63: all] Error 1 make[4]: Leaving directory '/tmp/guix-build-icedtea-2.6.13.drv-0/icedtea-2.= 6.13/openjdk-boot/jdk/make/java' make[3]: *** [Makefile:253: all] Error 1 make[3]: Leaving directory '/tmp/guix-build-icedtea-2.6.13.drv-0/icedtea-2.= 6.13/openjdk-boot/jdk/make' make[2]: *** [make/jdk-rules.gmk:93: jdk-build] Error 2 make[2]: Leaving directory '/tmp/guix-build-icedtea-2.6.13.drv-0/icedtea-2.= 6.13/openjdk-boot' make[1]: *** [Makefile:251: build_product_image] Error 2 make[1]: Leaving directory '/tmp/guix-build-icedtea-2.6.13.drv-0/icedtea-2.= 6.13/openjdk-boot' make: *** [Makefile:2741: stamps/icedtea-boot.stamp] Error 2 command "make" "-j" "2" failed with status 2 builder for `/gnu/store/n9p75jv705bdf0983xrbw5142fw1fp7z-icedtea-2.6.13.drv= ' failed with exit code 1 @ build-failed /gnu/store/n9p75jv705bdf0983xrbw5142fw1fp7z-icedtea-2.6.13.d= rv - 1 builder for `/gnu/store/n9p75jv705bdf0983xrbw5142fw1fp7z-icedtea-2.6= =2E13.drv' failed with exit code 1 derivation '/gnu/store/n9p75jv705bdf0983xrbw5142fw1fp7z-icedtea-2.6.13.drv'= offloaded to 'pine64' failed: build of `/gnu/store/n9p75jv705bdf0983xrbw51= 42fw1fp7z-icedtea-2.6.13.drv' failed build of /gnu/store/n9p75jv705bdf0983xrbw5142fw1fp7z-icedtea-2.6.13.drv fai= led --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --TakKZr9L6Hm6aLOc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl+f1z0ACgkQQarn3Mo9 g1GYVg//Q1h7czxijQuS4B5U0CAexl1UM69Y18IK7ErUwoTAwZXdk2w5iA2SqUiE uCv9tbnjVpdVx5nJm4F0+2uxvSAQVxEGv/7FbGnmkq2YfUtF696pP9ciIG7LPT6W pxt8MXYdyJn1QvUdhffZW5/rbYyTaDZx9f4Tn7eRPKsWDGQ/AN3SUXO4K2kvsXTs vzO2W6nc0Pl8hXYBAabvIB1oBxwSdbxJ/nr1Upk2tlfIoEY8kavYxOySqEjGusGI lHMLr74lS1kIE0j3ogHuTaM20IQgwOk+WOf8rSFD+9Etit7BDjhmCFn7KzsFaaU1 3THOgQaNL3dFtcq37YzpV13ck128z68yXCEB1aeLS4enQ3lVRyfcYdvoQ+VCklq9 o5fqpzsi2ADO8uEdZXxYL2Lm4yT8OEOt3iZdIvCtKrySiQlMqojBRNyEn/18DvIt 2rdqst+awk5O6gCCcbD1E6gxVVXVi1bFzsYJr0ajoy2CpvZzzfJGQYgF9UUpLTID dxbTG7Dyy+qKVBzZvyjTdWO6u+CgvbXIOmb/irXp1NjgTcHRQhO9eGSHrrZ/NPmq NlsWNvX0JsJ+H+u4BxS2OGICu96FVGnyaZqrSyBE1iNTdEfqMKSnp1+bey91AiBa nx8YTwyyblCDx08oRzdXhVNyENzHbWHMbf5zICUJaQRQrh6woUA= =fEsc -----END PGP SIGNATURE----- --TakKZr9L6Hm6aLOc--