From unknown Sun Jul 27 00:55:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50567: [core-updates-frozen] icedtea-6 fails to build. Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 13 Sep 2021 13:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50567 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 50567@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163153876615491 (code B ref -1); Mon, 13 Sep 2021 13:13:01 +0000 Received: (at submit) by debbugs.gnu.org; 13 Sep 2021 13:12:46 +0000 Received: from localhost ([127.0.0.1]:44674 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mPllO-00041n-CG for submit@debbugs.gnu.org; Mon, 13 Sep 2021 09:12:46 -0400 Received: from lists.gnu.org ([209.51.188.17]:36604) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mPllM-00041f-HA for submit@debbugs.gnu.org; Mon, 13 Sep 2021 09:12:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59814) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mPllM-0006Vi-AQ for bug-guix@gnu.org; Mon, 13 Sep 2021 09:12:44 -0400 Received: from mout02.posteo.de ([185.67.36.66]:38053) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mPllJ-0006yU-SI for bug-guix@gnu.org; Mon, 13 Sep 2021 09:12:43 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 10E60240104 for ; Mon, 13 Sep 2021 15:12:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1631538758; bh=an0KEJQuUxVL29QdfWRFCjslefY4OSKyCNXistcpUGc=; h=From:To:Subject:Date:From; b=iKMGW1EdX7FlIsyql+1CXUermzFEJgGMnQe9ylrOuhURAinvH97Ii305NNw6Cfvr+ HwDxVeZvWJbkJyj6u96wqDfQSmQ5//9lUJ46dVvIJ7pa6V4+CyDvF3k5rqtpEUdWwr X0OwSDMV0uZL+Xgf/YkDWkwsAjEASLLmj4b4244gws0slAfaNq3Wccj0lbT2WCY7oP ZlmZa1klktFPqsiTOS2X0EV+J+rfxfZGJ0vCvAALDdPYbW6csJ2pvv08gDZu5dk2CS S3Qb+ZcNlNdQX4EfYSSOjf9g2DnHWIfb9BDFwrrSTC/lIrfc34cfXm+yO6ICI98fxz tUSLx4QovjM4g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4H7RjK2ZMtz9rxD for ; Mon, 13 Sep 2021 15:12:37 +0200 (CEST) From: Guillaume Le Vaillant Date: Mon, 13 Sep 2021 13:01:55 +0000 Message-ID: <875yv44o1o.fsf@kitej> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=185.67.36.66; envelope-from=glv@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain I'm trying to get icedtea-6 to build on the core-updates-frozen branch. I fixed a few C/C++ related issues, but then I get this error: --8<---------------cut here---------------start------------->8--- Preload failed: checksum of class list was incorrect. make: *** [Makefile:2746: stamps/add-archive-ecj.stamp] Error 1 --8<---------------cut here---------------end--------------->8--- Does someone know how to solve that? Here's the patch I'm using to get to this point: --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-WIP-gnu-icedtea-6-Fix-build.patch Content-Transfer-Encoding: quoted-printable From=206767793eccffea3bfddca5c4a0c0cff21abb965b Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Mon, 13 Sep 2021 14:37:40 +0200 Subject: [PATCH] WIP: gnu: icedtea-6: Fix build. * gnu/packages/java.scm (icedtea-6)[arguments]: Add 'fix-openjdk' phase. =2D-- gnu/packages/java.scm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 51fc5c60a1..374a9d9cba 100644 =2D-- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -17,6 +17,7 @@ ;;; Copyright =C2=A9 2021 Vincent Legoll ;;; Copyright =C2=A9 2021 Mike Gerwitz ;;; Copyright =C2=A9 2021 Pierre Langlois +;;; Copyright =C2=A9 2021 Guillaume Le Vaillant ;;; ;;; This file is part of GNU Guix. ;;; @@ -907,6 +908,19 @@ machine."))) "patches/hotspot/hs23/drop_unlicensed_test.pat= ch") (("#!/bin/sh") (string-append "#!" (which "sh")))) #t)) + (add-after 'unpack 'fix-openjdk + (lambda _ + (substitute* "openjdk/jdk/make/common/Defs-linux.gmk" + (("CFLAGS_COMMON =3D -fno-strict-aliasing" all) + (string-append all " -fcommon"))) + (substitute* "openjdk/hotspot/src/share/vm/code/relocInfo.hpp" + (("inline friend relocInfo prefix_relocInfo\\(int datalen = =3D 0\\);") + "inline friend relocInfo prefix_relocInfo(int datalen);")) + (substitute* + '("openjdk/jdk/src/solaris/native/java/net/PlainSocketImp= l.c" + "openjdk/jdk/src/solaris/native/java/net/PlainDatagramS= ocketImpl.c") + (("#include ") + "#include ")))) (add-after 'unpack 'patch-paths (lambda* (#:key inputs #:allow-other-keys) ;; buildtree.make generates shell scripts, so we need to repl= ace =2D-=20 2.33.0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCYT9OQw8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j+RKgD+Kkaqbscix9kOL6bYAQRR59EGM0pk+lRwFocX fnpkzQ8A/32WecIGImGvhCJlrnKKuvGT0WGPgkqeckEkyOfIFpI6 =NbF3 -----END PGP SIGNATURE----- --==-=-=-- From unknown Sun Jul 27 00:55:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50567: [core-updates-frozen] icedtea-6 fails to build. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 14 Sep 2021 08:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50567 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Guillaume Le Vaillant Cc: 50567@debbugs.gnu.org, Julien Lepiller Received: via spool by 50567-submit@debbugs.gnu.org id=B50567.163160907314865 (code B ref 50567); Tue, 14 Sep 2021 08:45:01 +0000 Received: (at 50567) by debbugs.gnu.org; 14 Sep 2021 08:44:33 +0000 Received: from localhost ([127.0.0.1]:47475 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQ43M-0003rh-R6 for submit@debbugs.gnu.org; Tue, 14 Sep 2021 04:44:33 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40420) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQ43K-0003rR-N6 for 50567@debbugs.gnu.org; Tue, 14 Sep 2021 04:44:31 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:45210) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mQ43C-0000RP-Ra; Tue, 14 Sep 2021 04:44:22 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=35580 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQ43A-0003eU-1n; Tue, 14 Sep 2021 04:44:22 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <875yv44o1o.fsf@kitej> Date: Tue, 14 Sep 2021 10:44:18 +0200 In-Reply-To: <875yv44o1o.fsf@kitej> (Guillaume Le Vaillant's message of "Mon, 13 Sep 2021 13:01:55 +0000") Message-ID: <87ilz37di5.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Guillaume, Guillaume Le Vaillant skribis: > I'm trying to get icedtea-6 to build on the core-updates-frozen branch. > I fixed a few C/C++ related issues, Thanks for fixing those! After Julien mentioned on IRC that using an older GCC allowed us to work around those C++ issues, but your approach looks nicer to me. > but then I get this error: > > Preload failed: checksum of class list was incorrect. > make: *** [Makefile:2746: stamps/add-archive-ecj.stamp] Error 1 Woow, never seen that. Julien, Ricardo, does that ring a bell? Java is the main stumbling block on core-updates-frozen; making progress! Thanks, Ludo=E2=80=99. From unknown Sun Jul 27 00:55:59 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Guillaume Le Vaillant Subject: bug#50567: closed (Re: bug#50567: [core-updates-frozen] icedtea-6 fails to build.) Message-ID: References: <87fsu7glxn.fsf@kitej> <875yv44o1o.fsf@kitej> X-Gnu-PR-Message: they-closed 50567 X-Gnu-PR-Package: guix Reply-To: 50567@debbugs.gnu.org Date: Tue, 14 Sep 2021 16:30:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1631637003-16471-1" This is a multi-part message in MIME format... ------------=_1631637003-16471-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #50567: [core-updates-frozen] icedtea-6 fails to build. which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 50567@debbugs.gnu.org. --=20 50567: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D50567 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1631637003-16471-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 50567-done) by debbugs.gnu.org; 14 Sep 2021 16:29:59 +0000 Received: from localhost ([127.0.0.1]:50061 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQBJm-0004H6-Uy for submit@debbugs.gnu.org; Tue, 14 Sep 2021 12:29:59 -0400 Received: from mout01.posteo.de ([185.67.36.65]:47251) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQBJk-0004Gt-Tb for 50567-done@debbugs.gnu.org; Tue, 14 Sep 2021 12:29:57 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 95696240026 for <50567-done@debbugs.gnu.org>; Tue, 14 Sep 2021 18:29:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1631636990; bh=LUBqndssvtKLg6HcsGdlZsbbsJ2AF3mj6KleAlaU2Us=; h=From:To:Cc:Subject:Date:From; b=kwo2t1eSaLJFVln9pGJcZubu9ttk2g5TA+IkVaB30cjRYvc0sP0GSCikP+OEcgCOF wUX3y/dfEMcI2qeMkKkM7ZhIpHJWN8lPgH4rlFrVGymatV4cl0giEtUT0gvaj3TZcP NrRUmF7rYJ7bqSzgNQalwONq3r2aju7zS6vMKPAEmjDvJiAyUcGs18uL2D7oOvvUKP /m1fvIRr34460KEyPBuruCg2hIvrHnhoHo+Sz3E/lT8BmYjj93Yrx7lkep1ALzJn8r ZvWF36IqzwNIju9XsnXc1CFQgvmjbpXNBaqMaHpJSsdpTYtt/4sJjcdpzxcEeOBqS8 EmAorimQVPo2A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4H882N4YB1z6tmM; Tue, 14 Sep 2021 18:29:48 +0200 (CEST) References: <875yv44o1o.fsf@kitej> <87ilz37di5.fsf@gnu.org> From: Guillaume Le Vaillant To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#50567: [core-updates-frozen] icedtea-6 fails to build. Date: Tue, 14 Sep 2021 16:25:26 +0000 In-reply-to: <87ilz37di5.fsf@gnu.org> Message-ID: <87fsu7glxn.fsf@kitej> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50567-done Cc: 50567-done@debbugs.gnu.org, Julien Lepiller X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s skribis: > Hi Guillaume, > > Guillaume Le Vaillant skribis: > >> I'm trying to get icedtea-6 to build on the core-updates-frozen branch. >> I fixed a few C/C++ related issues, > > Thanks for fixing those! After > Julien mentioned on IRC that using an older GCC allowed us to work > around those C++ issues, but your approach looks nicer to me. > >> but then I get this error: >> >> Preload failed: checksum of class list was incorrect. >> make: *** [Makefile:2746: stamps/add-archive-ecj.stamp] Error 1 > > Woow, never seen that. Julien, Ricardo, does that ring a bell? > > Java is the main stumbling block on core-updates-frozen; making > progress! > > Thanks, > Ludo=E2=80=99. It looks like the checksum failure is caused by the miscompilation of a multiplication in the function computing the checksum. I added a workaround to the other fixes in f8cff361245cc0c546211ff51100cbaf869d15eb, which makes the build succeed. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCYUDN9A8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j/0KgD/eRpr/znxl6I4IndNQHYkcjuUN2a5pH/1G/HI 35rhIvMA/iUHgwQpECcWxX1I+pvmit04xB7I/EMfLFlDu2lT9+5l =CL+0 -----END PGP SIGNATURE----- --=-=-=-- ------------=_1631637003-16471-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 13 Sep 2021 13:12:46 +0000 Received: from localhost ([127.0.0.1]:44674 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mPllO-00041n-CG for submit@debbugs.gnu.org; Mon, 13 Sep 2021 09:12:46 -0400 Received: from lists.gnu.org ([209.51.188.17]:36604) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mPllM-00041f-HA for submit@debbugs.gnu.org; Mon, 13 Sep 2021 09:12:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59814) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mPllM-0006Vi-AQ for bug-guix@gnu.org; Mon, 13 Sep 2021 09:12:44 -0400 Received: from mout02.posteo.de ([185.67.36.66]:38053) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mPllJ-0006yU-SI for bug-guix@gnu.org; Mon, 13 Sep 2021 09:12:43 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 10E60240104 for ; Mon, 13 Sep 2021 15:12:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1631538758; bh=an0KEJQuUxVL29QdfWRFCjslefY4OSKyCNXistcpUGc=; h=From:To:Subject:Date:From; b=iKMGW1EdX7FlIsyql+1CXUermzFEJgGMnQe9ylrOuhURAinvH97Ii305NNw6Cfvr+ HwDxVeZvWJbkJyj6u96wqDfQSmQ5//9lUJ46dVvIJ7pa6V4+CyDvF3k5rqtpEUdWwr X0OwSDMV0uZL+Xgf/YkDWkwsAjEASLLmj4b4244gws0slAfaNq3Wccj0lbT2WCY7oP ZlmZa1klktFPqsiTOS2X0EV+J+rfxfZGJ0vCvAALDdPYbW6csJ2pvv08gDZu5dk2CS S3Qb+ZcNlNdQX4EfYSSOjf9g2DnHWIfb9BDFwrrSTC/lIrfc34cfXm+yO6ICI98fxz tUSLx4QovjM4g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4H7RjK2ZMtz9rxD for ; Mon, 13 Sep 2021 15:12:37 +0200 (CEST) From: Guillaume Le Vaillant To: bug-guix@gnu.org Subject: [core-updates-frozen] icedtea-6 fails to build. Date: Mon, 13 Sep 2021 13:01:55 +0000 Message-ID: <875yv44o1o.fsf@kitej> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=185.67.36.66; envelope-from=glv@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain I'm trying to get icedtea-6 to build on the core-updates-frozen branch. I fixed a few C/C++ related issues, but then I get this error: --8<---------------cut here---------------start------------->8--- Preload failed: checksum of class list was incorrect. make: *** [Makefile:2746: stamps/add-archive-ecj.stamp] Error 1 --8<---------------cut here---------------end--------------->8--- Does someone know how to solve that? Here's the patch I'm using to get to this point: --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-WIP-gnu-icedtea-6-Fix-build.patch Content-Transfer-Encoding: quoted-printable From=206767793eccffea3bfddca5c4a0c0cff21abb965b Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Mon, 13 Sep 2021 14:37:40 +0200 Subject: [PATCH] WIP: gnu: icedtea-6: Fix build. * gnu/packages/java.scm (icedtea-6)[arguments]: Add 'fix-openjdk' phase. =2D-- gnu/packages/java.scm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 51fc5c60a1..374a9d9cba 100644 =2D-- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -17,6 +17,7 @@ ;;; Copyright =C2=A9 2021 Vincent Legoll ;;; Copyright =C2=A9 2021 Mike Gerwitz ;;; Copyright =C2=A9 2021 Pierre Langlois +;;; Copyright =C2=A9 2021 Guillaume Le Vaillant ;;; ;;; This file is part of GNU Guix. ;;; @@ -907,6 +908,19 @@ machine."))) "patches/hotspot/hs23/drop_unlicensed_test.pat= ch") (("#!/bin/sh") (string-append "#!" (which "sh")))) #t)) + (add-after 'unpack 'fix-openjdk + (lambda _ + (substitute* "openjdk/jdk/make/common/Defs-linux.gmk" + (("CFLAGS_COMMON =3D -fno-strict-aliasing" all) + (string-append all " -fcommon"))) + (substitute* "openjdk/hotspot/src/share/vm/code/relocInfo.hpp" + (("inline friend relocInfo prefix_relocInfo\\(int datalen = =3D 0\\);") + "inline friend relocInfo prefix_relocInfo(int datalen);")) + (substitute* + '("openjdk/jdk/src/solaris/native/java/net/PlainSocketImp= l.c" + "openjdk/jdk/src/solaris/native/java/net/PlainDatagramS= ocketImpl.c") + (("#include ") + "#include ")))) (add-after 'unpack 'patch-paths (lambda* (#:key inputs #:allow-other-keys) ;; buildtree.make generates shell scripts, so we need to repl= ace =2D-=20 2.33.0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCYT9OQw8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j+RKgD+Kkaqbscix9kOL6bYAQRR59EGM0pk+lRwFocX fnpkzQ8A/32WecIGImGvhCJlrnKKuvGT0WGPgkqeckEkyOfIFpI6 =NbF3 -----END PGP SIGNATURE----- --==-=-=-- ------------=_1631637003-16471-1-- From unknown Sun Jul 27 00:55:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50567: [core-updates-frozen] icedtea-6 fails to build. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 15 Sep 2021 18:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50567 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 50567@debbugs.gnu.org, glv@posteo.net X-Debbugs-Original-To: bug-guix@gnu.org, Guillaume Le Vaillant , 50567@debbugs.gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163172984623863 (code B ref -1); Wed, 15 Sep 2021 18:18:02 +0000 Received: (at submit) by debbugs.gnu.org; 15 Sep 2021 18:17:26 +0000 Received: from localhost ([127.0.0.1]:53209 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQZTK-0006Ci-8h for submit@debbugs.gnu.org; Wed, 15 Sep 2021 14:17:26 -0400 Received: from lists.gnu.org ([209.51.188.17]:51930) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQZTG-0006CP-EE for submit@debbugs.gnu.org; Wed, 15 Sep 2021 14:17:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57928) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQZTG-0005on-6h for bug-guix@gnu.org; Wed, 15 Sep 2021 14:17:22 -0400 Received: from lepiller.eu ([89.234.186.109]:56172) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQZTE-0000HC-AZ for bug-guix@gnu.org; Wed, 15 Sep 2021 14:17:21 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id bc1482df; Wed, 15 Sep 2021 18:17:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:subject:in-reply-to:references:message-id:mime-version :content-type:content-transfer-encoding; s=dkim; bh=bS1ez0HLF5Hz vyqdE9P1SD2hQwynMfU4KfFwK36bgj4=; b=Qa5/PginQSvQsNDDS1tLBxXraOxv 91mZ+QZnnr3D4prtF6O8gFfuhPqIDAEkgAVepox94U6jn9mL9ucYGujnw8lzE+vf GwF3IEe4Hmt0qCxfi3iv9XsPaDZhAuySeggOqDjyY43ZF8nPpfRxJqeTDw8b1TWP TGEv+iQFcA+ICrSawXK56uKfUjH1h5lI+7eHq/B1X9Ats5saMNxpRKJHEVKxceQo X/rU3Q6fHBJJ7hLi0KLJs8ixZvxgZsC/3FZUuf7o23xDK6uZ8tU+cwuykiBIY2K+ sNTjN5PtvWb+MR178RrybhQBxKxA/+yXbfiM1vMLcTnlghYl+kO9XhmMmg== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 93069542 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Wed, 15 Sep 2021 18:17:13 +0000 (UTC) Date: Mon, 13 Sep 2021 10:32:43 -0400 From: Julien Lepiller User-Agent: K-9 Mail for Android In-Reply-To: <875yv44o1o.fsf@kitej> References: <875yv44o1o.fsf@kitej> Message-ID: <08D141F0-26AD-4987-82E6-19C03664F3E3@lepiller.eu> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=----SKHA1BTNCSUGCUOYQXSWV5RHB4LENA Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=89.234.186.109; envelope-from=julien@lepiller.eu; helo=lepiller.eu X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) ------SKHA1BTNCSUGCUOYQXSWV5RHB4LENA Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I had the same issue on my previous attempt=2E It seems that using gcc-7 as= an input fixes the issue (although when I tried, I had other fixes like yo= urs too)=2E Our gcc on core-updates seems to be too aggressive with this ol= d code base=2E Le 13 septembre 2021 09:01:55 GMT-04:00, Guillaume Le Vaillant a =C3=A9crit=C2=A0: >I'm trying to get icedtea-6 to build on the core-updates-frozen branch=2E >I fixed a few C/C++ related issues, but then I get this error: > >--8<---------------cut here---------------start------------->8--- >Preload failed: checksum of class list was incorrect=2E >make: *** [Makefile:2746: stamps/add-archive-ecj=2Estamp] Error 1 >--8<---------------cut here---------------end--------------->8--- > >Does someone know how to solve that? > >Here's the patch I'm using to get to this point: ------SKHA1BTNCSUGCUOYQXSWV5RHB4LENA Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable I had the same issue on my previous attempt=2E It = seems that using gcc-7 as an input fixes the issue (although when I tried, = I had other fixes like yours too)=2E Our gcc on core-updates seems to be to= o aggressive with this old code base=2E

L= e 13 septembre 2021 09:01:55 GMT-04:00, Guillaume Le Vaillant <glv@poste= o=2Enet> a =C3=A9crit=C2=A0:
I'm trying to get icedtea-6 to build on=
 the core-updates-frozen branch=2E
I fixed a few C/C++ related issues, b= ut then I get this error:

--8<---------------cut here------------= ---start------------->8---
Preload failed: checksum of class list was= incorrect=2E
make: *** [Makefile:2746: stamps/add-archive-ecj=2Estamp] = Error 1
--8<---------------cut here---------------end---------------&= gt;8---

Does someone know how to solve that?

Here's the patch= I'm using to get to this point:
------SKHA1BTNCSUGCUOYQXSWV5RHB4LENA-- From unknown Sun Jul 27 00:55:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50567: [core-updates-frozen] icedtea-6 fails to build. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 15 Sep 2021 18:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50567 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Guillaume Le Vaillant Cc: 50567@debbugs.gnu.org Received: via spool by 50567-submit@debbugs.gnu.org id=B50567.163172984523846 (code B ref 50567); Wed, 15 Sep 2021 18:18:02 +0000 Received: (at 50567) by debbugs.gnu.org; 15 Sep 2021 18:17:25 +0000 Received: from localhost ([127.0.0.1]:53204 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQZTB-0006CJ-4Q for submit@debbugs.gnu.org; Wed, 15 Sep 2021 14:17:25 -0400 Received: from lepiller.eu ([89.234.186.109]:58230) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQZT5-0006C1-7P for 50567@debbugs.gnu.org; Wed, 15 Sep 2021 14:17:15 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id be09da7e; Wed, 15 Sep 2021 18:17:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:cc:subject:in-reply-to:references:message-id:mime-version :content-type:content-transfer-encoding; s=dkim; bh=Mi5DQLSGmTip uRzOnUPIyIH2fFwPVWJqWTKuinUE7hk=; b=MrOX9f4pGLWMcCNaScLguXYcXTK6 mXrRGVLK8w2X1ECRk0G8A/RwnJF3Mm3pMDc+nznEBo1uqcwo+1woGTNYoY4wEzYd edmuwcfKZVhfEcZeh5g7WjqCdo/1YdlSMnQIXl1QpI4N499BPnmKgC3klS/zpKwR DAPRaTkz5cb5vNf3PJvuClLp0z0DaiNcfuosqngHHsR7DgFjIHRXHKSMSb6frqQ+ iHMDWVH/dJVgHwmWoDcqFbildiEHDAGHK6qcRrc/CdUSd2YPBdaM8KznLGKMlP19 xGNt6EodQ8andpx3mJ7RpK9mQs/KNDgp+5C81i1Pd5T4g6zRRCCE+eIGUQ== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 1bd65990 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Wed, 15 Sep 2021 18:17:07 +0000 (UTC) Date: Tue, 14 Sep 2021 07:37:53 -0400 From: Julien Lepiller User-Agent: K-9 Mail for Android In-Reply-To: <87ilz37di5.fsf@gnu.org> References: <875yv44o1o.fsf@kitej> <87ilz37di5.fsf@gnu.org> Message-ID: <28D6969F-40B2-442F-916C-DB19ACF87AD1@lepiller.eu> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=----NBMHBPSGVVL5A4YM17MDKOT71X15CV Content-Transfer-Encoding: 7bit X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) ------NBMHBPSGVVL5A4YM17MDKOT71X15CV Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Again this is exactly where I was blocked=2E There is a checksum being gene= rated in classlist files from java code during the build=2E The classlist f= ile is exactly the same as the one in master, so it's correctly generated= =2E Fowever, at some point, the process needs toqload that file, and that u= ltimately calls some C code (identical to the java code) that re-computes a= nd compares the checksum=2E After printing some values, it seems that it al= ways computes "0=E2=80=A6031" as the hash of any classlist file, despite ru= nning the function and taking everything into account=2E I think this is ag= ain an optimization issue, anl it's not clear how to work around that=2E Le 14 septembre 2021 04:44:18 GMT-04:00, "Ludovic Court=C3=A8s" a =C3=A9crit=C2=A0: >Hi Guillaume, > >Guillaume Le Vaillant skribis: > >> I'm trying to get icedtea-6 to build on the core-updates-frozen branch= =2E >> I fixed a few C/C++ related issues, > >Thanks for fixing those! After >Julien mentioned on IRC that using an older GCC allowed us to work >around those C++ issues, but your approach looks nicer to me=2E > >> but then I get this error: >> >> Preload failed: checksum of class list was incorrect=2E >> make: *** [Makefile:2746: stamps/add-archive-ecj=2Estamp] Error 1 > >Woow, never seen that=2E Julien, Ricardo, does that ring a bell? > >Java is the main stumbling block on core-updates-frozen; making >progress! > >Thanks, >Ludo=E2=80=99=2E ------NBMHBPSGVVL5A4YM17MDKOT71X15CV Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Again this is exactly where I was blocked=2E There= is a checksum being generated in classlist files from java code during the= build=2E The classlist file is exactly the same as the one in master, so i= t's correctly generated=2E Fowever, at some point, the process needs toqloa= d that file, and that ultimately calls some C code (identical to the java c= ode) that re-computes and compares the checksum=2E After printing some valu= es, it seems that it always computes "0=E2=80=A6031" as the hash of any cla= sslist file, despite running the function and taking everything into accoun= t=2E I think this is again an optimization issue, anl it's not clear how to= work around that=2E

Le 14 septembre 2021= 04:44:18 GMT-04:00, "Ludovic Court=C3=A8s" <ludo@gnu=2Eorg> a =C3=A9= crit=C2=A0:
Hi Guillaume,

Guillaume Le Vaill= ant <glv@posteo=2Enet> skribis:

I'm trying to get icedtea-6 to build on the core-updates= -frozen branch=2E
I fixed a few C/C++ related issues,
Thanks for fixing those! After <https://issues=2Eguix=2Egnu=2Eorg/49990#10>
Jul= ien mentioned on IRC that using an older GCC allowed us to work
around t= hose C++ issues, but your approach looks nicer to me=2E

but then I get this error:

Pr= eload failed: checksum of class list was incorrect=2E
make: *** [Makefi= le:2746: stamps/add-archive-ecj=2Estamp] Error 1

Woow, = never seen that=2E Julien, Ricardo, does that ring a bell?

Java is = the main stumbling block on core-updates-frozen; making
progress!
Thanks,
Ludo=E2=80=99=2E
------NBMHBPSGVVL5A4YM17MDKOT71X15CV-- From unknown Sun Jul 27 00:55:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50567: [core-updates-frozen] icedtea-6 fails to build. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 15 Sep 2021 20:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50567 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 50567@debbugs.gnu.org, ludo@gnu.org, glv@posteo.net X-Debbugs-Original-To: bug-guix@gnu.org, Ludovic =?UTF-8?Q?Court=C3=A8s?= , Guillaume Le Vaillant X-Debbugs-Original-Cc: 50567@debbugs.gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16317367203461 (code B ref -1); Wed, 15 Sep 2021 20:12:01 +0000 Received: (at submit) by debbugs.gnu.org; 15 Sep 2021 20:12:00 +0000 Received: from localhost ([127.0.0.1]:53361 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQbGB-0000tk-Kr for submit@debbugs.gnu.org; Wed, 15 Sep 2021 16:12:00 -0400 Received: from lists.gnu.org ([209.51.188.17]:50542) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQbGA-0000td-4K for submit@debbugs.gnu.org; Wed, 15 Sep 2021 16:11:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56696) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQbG9-0002H3-UG for bug-guix@gnu.org; Wed, 15 Sep 2021 16:11:57 -0400 Received: from lepiller.eu ([2a00:5884:8208::1]:47442) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQbG4-00076p-Kl; Wed, 15 Sep 2021 16:11:57 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 1ebd020a; Wed, 15 Sep 2021 20:11:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:cc:subject:in-reply-to:references:message-id:mime-version :content-type:content-transfer-encoding; s=dkim; bh=/2Zx1wXlw26C oyGhVxGMMvMr+2HwvyWP058xdVBuTCE=; b=M89TuwEpFOrqDG2HsO+5uNE7zKGj bw82gNGt1giGyO2pgBtpBPQUEDZCoBG6CfxZjDAR7wulmoX4IeYTY2+FJR/b5eet nH577QV5+ZjHDUGJdPans+UUhweCabMM7nA6WWaV1jJlgj5UZfvlsGsTVx53gYRp IXhul76BuoUp58+3liN+OidHhu3iF5nWTqOj1YwY2wviWsHRa+nDQDfw6RgdlwHp b1d0IeoV23Os9Vs3j+pQFyPEHcFJmgOPn+EIlmkfl8bz3vClgsm/a3iHE/VRz86h dk4OJae+y3xA83urnIRmR62t5ciYMcoLF/9rOlut6e/xJl23WMer53sQeg== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id b417f0c6 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Wed, 15 Sep 2021 20:11:46 +0000 (UTC) Date: Wed, 15 Sep 2021 16:11:36 -0400 From: Julien Lepiller User-Agent: K-9 Mail for Android In-Reply-To: <28D6969F-40B2-442F-916C-DB19ACF87AD1@lepiller.eu> References: <875yv44o1o.fsf@kitej> <87ilz37di5.fsf@gnu.org> <28D6969F-40B2-442F-916C-DB19ACF87AD1@lepiller.eu> Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=----4K05WAXSHF2J5CKJYRM2AR1MJ3UVNW Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a00:5884:8208::1; envelope-from=julien@lepiller.eu; helo=lepiller.eu X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) ------4K05WAXSHF2J5CKJYRM2AR1MJ3UVNW Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Sorry for the possible confusion=2E These replies stacked up in my client a= nd I didn't notice until they were sent just now=2E Please disregard :) Le 14 septembre 2021 07:37:53 GMT-04:00, Julien Lepiller a =C3=A9crit=C2=A0: >Again this is exactly where I was blocked=2E There is a checksum being ge= nerated in classlist files from java code during the build=2E The classlist= file is exactly the same as the one in master, so it's correctly generated= =2E Fowever, at some point, the process needs toqload that file, and that u= ltimately calls some C code (identical to the java code) that re-computes a= nd compares the checksum=2E After printing some values, it seems that it al= ways computes "0=E2=80=A6031" as the hash of any classlist file, despite ru= nning the function and taking everything into account=2E I think this is ag= ain an optimization issue, anl it's not clear how to work around that=2E > >Le 14 septembre 2021 04:44:18 GMT-04:00, "Ludovic Court=C3=A8s" a =C3=A9crit=C2=A0: >>Hi Guillaume, >> >>Guillaume Le Vaillant skribis: >> >>> I'm trying to get icedtea-6 to build on the core-updates-frozen branch= =2E >>> I fixed a few C/C++ related issues, >> >>Thanks for fixing those! After >>Julien mentioned on IRC that using an older GCC allowed us to work >>around those C++ issues, but your approach looks nicer to me=2E >> >>> but then I get this error: >>> >>> Preload failed: checksum of class list was incorrect=2E >>> make: *** [Makefile:2746: stamps/add-archive-ecj=2Estamp] Error 1 >> >>Woow, never seen that=2E Julien, Ricardo, does that ring a bell? >> >>Java is the main stumbling block on core-updates-frozen; making >>progress! >> >>Thanks, >>Ludo=E2=80=99=2E ------4K05WAXSHF2J5CKJYRM2AR1MJ3UVNW Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Sorry for the possible confusion=2E These replies = stacked up in my client and I didn't notice until they were sent just now= =2E Please disregard :)

Le 14 septembre 2= 021 07:37:53 GMT-04:00, Julien Lepiller <julien@lepiller=2Eeu> a =C3= =A9crit=C2=A0:
Again this is exactly where I was blocked=2E There is a checksum being gen= erated in classlist files from java code during the build=2E The classlist = file is exactly the same as the one in master, so it's correctly generated= =2E Fowever, at some point, the process needs toqload that file, and that u= ltimately calls some C code (identical to the java code) that re-computes a= nd compares the checksum=2E After printing some values, it seems that it al= ways computes "0=E2=80=A6031" as the hash of any classlist file, despite ru= nning the function and taking everything into account=2E I think this is ag= ain an optimization issue, anl it's not clear how to work around that=2E
Le 14 septembre 2021 04:44:18 GMT-04:00, "L= udovic Court=C3=A8s" <ludo@gnu=2Eorg> a =C3=A9crit :
Hi Guillaume,

Guillaume Le Vaill= ant <glv@posteo=2Enet> skribis:

I'm trying to get icedtea-6 to build on the core-updates= -frozen branch=2E
I fixed a few C/C++ related issues,
Thanks for fixing those! After <https://issues=2Eguix=2Egnu=2Eorg/49990#10>
Jul= ien mentioned on IRC that using an older GCC allowed us to work
around t= hose C++ issues, but your approach looks nicer to me=2E

but then I get this error:

Pr= eload failed: checksum of class list was incorrect=2E
make: *** [Makefi= le:2746: stamps/add-archive-ecj=2Estamp] Error 1

Woow, = never seen that=2E Julien, Ricardo, does that ring a bell?

Java is = the main stumbling block on core-updates-frozen; making
progress!
Thanks,
Ludo=E2=80=99=2E
------4K05WAXSHF2J5CKJYRM2AR1MJ3UVNW-- From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 13 09:27:54 2022 Received: (at control) by debbugs.gnu.org; 13 Sep 2022 13:27:54 +0000 Received: from localhost ([127.0.0.1]:49309 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oY5xC-0003tW-6p for submit@debbugs.gnu.org; Tue, 13 Sep 2022 09:27:54 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37138) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oY5x8-0003tG-2g for control@debbugs.gnu.org; Tue, 13 Sep 2022 09:27:52 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42818) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oY5x2-0004KH-QJ for control@debbugs.gnu.org; Tue, 13 Sep 2022 09:27:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=Ri0UiDet14xU1JkxOE0ogv1fSKPfPwHMLN5LmgnU+6Q=; b=Enz02pFrD/yOL+ GbHLM7ZgJS8EkiJv54Hvv6SVy1Fw/fpjPegYGqMAAkewSVm1WOvu5X/MZtnlft6963xYwDSRn3k5e 3AazvcSRmxgZjv64WMWNP3lWjaUksWz5ucjPv8N5JTVvAokVS3Z8Z6a7tbbP1PvrUCkZ15lEC2icn ycMaxXvDSWMwCnl7G8mBJgk24d0fVPS8m+Pw51HPXkRrazUI1kdmyWzqxMFPLOUMLyiTqPgmFhG/p 2xnK8LaoeWdn+fy/7E9+7dbAM9g9yJsbAAwFn/DuoDRXp4K71fmrTUXCK357CRsa7hw6AeX0MniP2 XX0oa2lYpQz2Qezwi4sA==; Received: from [84.214.173.6] (port=44128 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oY5x0-0007w5-Sn for control@debbugs.gnu.org; Tue, 13 Sep 2022 09:27:44 -0400 From: Marius Bakke To: control@debbugs.gnu.org Subject: Unarchive Date: Tue, 13 Sep 2022 15:27:38 +0200 Message-ID: <87h71bz9o5.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) unarchive 50567 thanks From unknown Sun Jul 27 00:55:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50567: [core-updates-frozen] icedtea-6 fails to build. Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 13 Sep 2022 13:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50567 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Julien Lepiller , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Guillaume Le Vaillant Cc: 50567@debbugs.gnu.org Received: via spool by 50567-submit@debbugs.gnu.org id=B50567.16630770001731 (code B ref 50567); Tue, 13 Sep 2022 13:50:02 +0000 Received: (at 50567) by debbugs.gnu.org; 13 Sep 2022 13:50:00 +0000 Received: from localhost ([127.0.0.1]:49423 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oY6Ia-0000Rr-E7 for submit@debbugs.gnu.org; Tue, 13 Sep 2022 09:50:00 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37128) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oY6IX-0000Ra-Q9 for 50567@debbugs.gnu.org; Tue, 13 Sep 2022 09:49:59 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50252) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oY6IS-0008SD-IU; Tue, 13 Sep 2022 09:49:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=RB9TXeIdAUrqG0RCBimpSKhSucQtFPOVV3dKPTwpqFA=; b=fHqmwoMGYV9cEQDpFSzE 1MMW4pNQkf4xZ+3JF7Yciky6MmhQRBXoIzEjysFTMIxF5yTvhKzayyLygHMPVIhMuL4f54UukqnTD bNQ5YnVw0r8MRX4W9758mJsRd62Hg7NiMCeGYgIAjCgk713k3yIAo6Pblk58Mh8ytEB5kygJfK8UW wAvSteUsGUo2FSlxD52DZJs1QvhT9aFRS6mgnZUJa52mx85gt/WOxxghQDy3obMNDJVOItBvaQN2G PLbtjHUZU/u7V9Sru64vlGufO/IK0ZzG6miErpxUK4h6wQ+wrQZWqvoi6XfKGdcc2Dpk+doKBLgxk tJGUULQH91Byig==; Received: from [84.214.173.6] (port=49064 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oY6IR-0004Yz-RN; Tue, 13 Sep 2022 09:49:52 -0400 From: Marius Bakke In-Reply-To: <28D6969F-40B2-442F-916C-DB19ACF87AD1@lepiller.eu> References: <875yv44o1o.fsf@kitej> <87ilz37di5.fsf@gnu.org> <28D6969F-40B2-442F-916C-DB19ACF87AD1@lepiller.eu> Date: Tue, 13 Sep 2022 15:49:47 +0200 Message-ID: <87edwfz8n8.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Julien Lepiller skriver: > Again this is exactly where I was blocked. There is a checksum being gene= rated in classlist files from java code during the build. The classlist fil= e is exactly the same as the one in master, so it's correctly generated. Fo= wever, at some point, the process needs toqload that file, and that ultimat= ely calls some C code (identical to the java code) that re-computes and com= pares the checksum. After printing some values, it seems that it always com= putes "0=E2=80=A6031" as the hash of any classlist file, despite running th= e function and taking everything into account. I think this is again an opt= imization issue, anl it's not clear how to work around that. For the record, this showed up again after switching to GCC 11. I ended up disabling optimizations for dump.cpp in 321e866b1cea4916e3568efb instead of trying to fool the compiler. Probably it would be better to figure out exactly which optimization causes this problem, but that's a journey for a different time. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEARYKAC0WIQRNTknu3zbaMQ2ddzTocYulkRQQdwUCYyCKew8cbWFyaXVzQGdu dS5vcmcACgkQ6HGLpZEUEHfsQgEA6TSVPpzEjLy2+jBJp5FWTPQktJWo19TNGK5f yfa6kEsA/RgXWdh3eKOui1VSxpew5nV1GGMS/gEUj0eTWpTnGOME =Fa/K -----END PGP SIGNATURE----- --=-=-=--