From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id UO4qHkCGL2ExoQAAgWs5BA (envelope-from ) for ; Wed, 01 Sep 2021 15:55:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id AMOCGUCGL2EFEgAAbx9fmQ (envelope-from ) for ; Wed, 01 Sep 2021 13:55:12 +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 A18F1E0A1 for ; Wed, 1 Sep 2021 15:55:11 +0200 (CEST) Received: from localhost ([::1]:46678 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mLQhq-0006S1-Nd for larch@yhetil.org; Wed, 01 Sep 2021 09:55:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55922) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLQhi-0006Rr-EP for bug-guix@gnu.org; Wed, 01 Sep 2021 09:55:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53414) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mLQhi-00018S-7Z for bug-guix@gnu.org; Wed, 01 Sep 2021 09:55:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mLQhi-0007NF-65 for bug-guix@gnu.org; Wed, 01 Sep 2021 09:55:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#49990: [core-updates-frozen] Ant-bootstrap broken by classpath-bootstrap Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 01 Sep 2021 13:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49990 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Julien Lepiller Received: via spool by 49990-submit@debbugs.gnu.org id=B49990.163050444228270 (code B ref 49990); Wed, 01 Sep 2021 13:55:02 +0000 Received: (at 49990) by debbugs.gnu.org; 1 Sep 2021 13:54:02 +0000 Received: from localhost ([127.0.0.1]:36721 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLQgk-0007Lj-4t for submit@debbugs.gnu.org; Wed, 01 Sep 2021 09:54:02 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39642) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLQgi-0007LH-LE for 49990@debbugs.gnu.org; Wed, 01 Sep 2021 09:54:00 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49962) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mLQgd-0000P5-64; Wed, 01 Sep 2021 09:53:55 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=48802 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLQgc-0002hR-Tj; Wed, 01 Sep 2021 09:53:55 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20210810233801.02639bd8@tachikoma.lepiller.eu> <878s0h8cu0.fsf@gnu.org> <20210901030255.27bfdd2d@tachikoma.lepiller.eu> Date: Wed, 01 Sep 2021 15:53:52 +0200 In-Reply-To: <20210901030255.27bfdd2d@tachikoma.lepiller.eu> (Julien Lepiller's message of "Wed, 1 Sep 2021 03:02:55 +0200") Message-ID: <87y28g766n.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 49990@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1630504511; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=tU83iujTSx8spA5QqWTfWoV95zK+7THMkLjXZMtGCis=; b=hQmnHfJ+IJUPOcO2uZRuo7nKMVaohIIRdTMsWlG7DYiYr3+jt2za83aqME7w/2Xv34OpwX tt9G5Iv5RXiXSx14MC6UHgD+V+YAbHXkEDdkFT7gb8RIBkHeymNCI12ZAaLrmUvryeJZCL thu82Cf+3dgafUodQWqKgq+e4oucB6DCZpE7tu6dnzvYIg0rW+TuNu/luJ5szk12Tn2fTw eggdxDWhdxEgDdMRABAXxesIKroTqy2YVY5aTwGpLvI2GCoez4Su0fFIEer7EvWlJow7BK l25ziCspycfU+7c9tbqktfb2GuNaVMrHesXLgCLUA7Lxmvu/dXfTsn63B+4QJQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630504511; a=rsa-sha256; cv=none; b=cz1qEqjY2svfJqF6XDfiVR5WQW9b5wzIhwrtlbEqyUvzdniliBUVnrvlTBiVNbHqQcES52 5Gs6rZbzzdsyZzBv+E0RcGkTDjQSoPeTXUPrz7saTQK9whatLjTk8A6EqoZwVoYZdTn7H7 8GS4/JmHSYFfMfo0j3+9zCH3I1HBTSljjWvwkjqfQBHNGyj8tfHo1JPdxpaPFDE5ay+wM8 a/WMfaSpWeSLgnpXEACyGoEVPYEwEEafb8ZXFGZDmTf9g/GhvMnxQuhcFqv7wGn83k4cGb PwPkNg1b09/gT4+kFn21+UKCP0QM5wY1gP2g6ygiSxe5CDlviQOEnImg7UtCWA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.92 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: A18F1E0A1 X-Spam-Score: -2.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: tCM9QNw86/Fd --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, Julien Lepiller skribis: > Le Wed, 01 Sep 2021 00:32:39 +0200, > Ludovic Court=C3=A8s a =C3=A9crit : > >> Hello! >>=20 >> As discussed on IRC, I had a semi-victory with the attached patch, >> which works around a miscompilation issue in >> =E2=80=98Java_java_io_VMFile_isFile=E2=80=99. > > another possibility I tested was to disable optimization by adding > CFLAGS=3D-O0 to the configure-flags. This creates an unoptimized version, > but that should be fine since it's only for the bootstrap. However, I > noticed that my debug messages from my previous attempt were still > visible when compiling icedtea. I don't know what happened, since > there is at least another classpath version before it. > >>=20 >> Unfortunately, with this patch applied, =E2=80=98ant-bootstrap=E2=80=99 = fails to build >> with: The root cause is that, even tough we=E2=80=99re passing =E2=80=9C-classpath build/classes:src=E2=80=9D, only the first element of the classpath is searched. If we pass =E2=80=9C-classpath foobar:build/classes=E2=80=9D, th= en Main.class is not found. That suggests another problem with =E2=80=98stat=E2=80=99-re= lated functions. >> Ideas? What a wonderful puzzle we have! :-) > Even more wonderful is the fact I do not get this error at all when > using CFLAGS=3D-O0, but I do with your patch. I didn't have any issue > either with my previous attempt with debugging. Could there be other > problems with optimizations in classpath? Hmm -O0 is brute-force. It doesn=E2=80=99t work for me though if I also re= move the =E2=80=98remove-call-to-free=E2=80=99 phase, though. I also tried this Classpath patch: --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/include/jni_md.h b/include/jni_md.h index 989dbfe..f7867d7 100644 --- a/include/jni_md.h +++ b/include/jni_md.h @@ -32,7 +32,7 @@ executable file might be covered by the GNU General Public License. */ #define JNIEXPORT #define JNIIMPORT -typedef unsigned char jboolean; +typedef int jboolean; typedef signed char jbyte; typedef unsigned short jchar; typedef short jshort; --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable It seems to have the same effect as my initial patch. I=E2=80=99m lacking inspiration now! Ludo=E2=80=99. --=-=-=--