GNU bug report logs - #75078
Guile 3.0.10 fails to build for i686 cygwin

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guile; Reported by: Jeremy Drake <github@HIDDEN>; dated Wed, 25 Dec 2024 01:55:01 UTC; Maintainer for guile is bug-guile@HIDDEN.

Message received at 75078 <at> debbugs.gnu.org:


Received: (at 75078) by debbugs.gnu.org; 7 Jan 2025 20:14:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 07 15:14:56 2025
Received: from localhost ([127.0.0.1]:44829 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tVFya-00042b-AZ
	for submit <at> debbugs.gnu.org; Tue, 07 Jan 2025 15:14:56 -0500
Received: from mail231.csoft.net ([66.216.5.135]:36316 ident=_postfix)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <github@HIDDEN>) id 1tVFyX-00042N-OD
 for 75078 <at> debbugs.gnu.org; Tue, 07 Jan 2025 15:14:54 -0500
Received: from mail231.csoft.net (localhost [127.0.0.1])
 by mail231.csoft.net (Postfix) with ESMTP id 8C0FC45A51;
 Tue,  7 Jan 2025 15:14:52 -0500 (EST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jdrake.com; h=date:from:to
 :cc:subject:in-reply-to:message-id:references:mime-version
 :content-type; s=csoft; bh=dWpfuCnQjTg1ymj6olwvoL20PaQ=; b=U6yP/
 SdAJvGGfzKDJvCOf+ksXAIUKGxA3s66IFelZmOG3unGuCLbkdUo/UeykVFDdOvag
 IVWZl8YsX/KNuxDvW8o1vJYs9EAlWgIFB919y7zgOeir14Q+JNS4MmSpTE9rRtcA
 wwe8TmwvELfBvz7zlETuGbBHA7kBzi3NmA1ACA=
Received: from mail231 (mail231 [66.216.5.135])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
 (No client certificate requested) (Authenticated sender: jeremyd)
 by mail231.csoft.net (Postfix) with ESMTPSA id 5E8DF45A49;
 Tue,  7 Jan 2025 15:14:52 -0500 (EST)
Date: Tue, 7 Jan 2025 12:14:52 -0800 (PST)
From: Jeremy Drake <github@HIDDEN>
X-X-Sender: jeremyd@HIDDEN
To: Rob Browning <rlb@HIDDEN>
Subject: Re: bug#75078: Guile 3.0.10 fails to build for i686 cygwin
In-Reply-To: <87y0znbbfc.fsf@HIDDEN>
Message-ID: <ffd28d56-77f7-aedf-4ade-1a9b77123e23@HIDDEN>
References: <1cc29067-4a31-3534-dbf1-f537f2fa00b1@HIDDEN>
 <87y0znbbfc.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 75078
Cc: 75078 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On Mon, 6 Jan 2025, Rob Browning wrote:

> Jeremy Drake <github@HIDDEN> writes:
>
> > ice-9/boot-9.scm:1676:22: In procedure raise-exception:
> > Value out of range 0 to< 18446744073709551615: -505802029
> > make[2]: *** [Makefile:2515: language/cps/guile-vm/reify-primitives.go]
> > Error 1
>
> Is this with the release, or the current main branch?
>
> Sounds like the former, and if so, then it could be something that's
> been fixed since the release -- 3.0.10 is broken for 32-bit
> architectures, but main should work there now.

It was with the release.  I swear I did try to find commits or bug reports
that looked lile they were this issue, but I apparently didn't look in the
right place, I see bug 71891 now which is clearly this same issue.  Sorry
for the noise.

BTW, with the claim in that bug that it was fixed by
aff9ac968840e9c86719fb613bd2ed3c39b9905c, I attempted to apply that to
3.0.10 but got conflicts.  Since I don't know scheme at all (I'm just
trying to package guile), I also had to apply
5e6288c9304b60f1875a44808ee3858e3d6efc83
0dab58fc2a6ac6a8354439749d598f8c24f57ddd
and e45b70dcded37eb77e71ec30445b12040b6bb1b7, but with those 4 patches
the guile 3.0.10 release built for me on i686.  I don't know if I'll go
with that or just wait for 3.0.11 though.




Information forwarded to bug-guile@HIDDEN:
bug#75078; Package guile. Full text available.

Message received at 75078 <at> debbugs.gnu.org:


Received: (at 75078) by debbugs.gnu.org; 7 Jan 2025 02:33:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 06 21:33:23 2025
Received: from localhost ([127.0.0.1]:41188 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tUzPD-0001HV-C2
	for submit <at> debbugs.gnu.org; Mon, 06 Jan 2025 21:33:23 -0500
Received: from defaultvalue.org ([45.33.119.55]:51086)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rlb@HIDDEN>) id 1tUzP7-0001HD-EF
 for 75078 <at> debbugs.gnu.org; Mon, 06 Jan 2025 21:33:17 -0500
Received: from trouble.defaultvalue.org (localhost [127.0.0.1])
 (Authenticated sender: rlb@HIDDEN)
 by defaultvalue.org (Postfix) with ESMTPSA id AA5192051A;
 Mon,  6 Jan 2025 20:33:11 -0600 (CST)
Received: by trouble.defaultvalue.org (Postfix, from userid 1000)
 id 44CF714E066; Mon,  6 Jan 2025 20:33:11 -0600 (CST)
From: Rob Browning <rlb@HIDDEN>
To: 75078 <at> debbugs.gnu.org
Subject: Re: bug#75078: Guile 3.0.10 fails to build for i686 cygwin
In-Reply-To: <1cc29067-4a31-3534-dbf1-f537f2fa00b1@HIDDEN> (Jeremy Drake's
 message of "Tue, 24 Dec 2024 14:44:00 -0800 (PST)")
References: <1cc29067-4a31-3534-dbf1-f537f2fa00b1@HIDDEN>
Date: Mon, 06 Jan 2025 20:33:11 -0600
Message-ID: <87y0znbbfc.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 75078
Cc: Jeremy Drake <github@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Jeremy Drake <github@HIDDEN> writes:

> ice-9/boot-9.scm:1676:22: In procedure raise-exception:
> Value out of range 0 to< 18446744073709551615: -505802029
> make[2]: *** [Makefile:2515: language/cps/guile-vm/reify-primitives.go]
> Error 1

Is this with the release, or the current main branch?

Sounds like the former, and if so, then it could be something that's
been fixed since the release -- 3.0.10 is broken for 32-bit
architectures, but main should work there now.

-- 
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4




Information forwarded to bug-guile@HIDDEN:
bug#75078; Package guile. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 25 Dec 2024 01:54:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 24 20:54:59 2024
Received: from localhost ([127.0.0.1]:35550 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tQGbs-0004JQ-O3
	for submit <at> debbugs.gnu.org; Tue, 24 Dec 2024 20:54:58 -0500
Received: from lists.gnu.org ([209.51.188.17]:51586)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <github@HIDDEN>) id 1tQDl7-0003yO-P7
 for submit <at> debbugs.gnu.org; Tue, 24 Dec 2024 17:52:14 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <github@HIDDEN>) id 1tQDl7-0001nh-7a
 for bug-guile@HIDDEN; Tue, 24 Dec 2024 17:52:13 -0500
Received: from mail231.csoft.net ([66.216.5.135])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <github@HIDDEN>) id 1tQDl4-0003Fc-UO
 for bug-guile@HIDDEN; Tue, 24 Dec 2024 17:52:12 -0500
Received: from mail231.csoft.net (localhost [127.0.0.1])
 by mail231.csoft.net (Postfix) with ESMTP id 7A7D145C55
 for <bug-guile@HIDDEN>; Tue, 24 Dec 2024 17:44:00 -0500 (EST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jdrake.com; h=date:from:to
 :subject:message-id:mime-version:content-type; s=csoft; bh=BWSIo
 UJsICt84SSVISrDgdHGQxI=; b=qhSQXWgTvCX2FD5ELSvg8hWY4znrGf1woTC9+
 RnP+eKFUmG5e6FJCP/XvZJ/BGZ+H9Zn38xDI1+LQx3IgRwEO4PPYEG9E0FoyHvx9
 q5PjW13rNHR+k/M2FiHDc8d802SWuY7heR+03Hr8MarsEoMn0QJoJ+PpzSymMPcD
 UZEer4=
Received: from mail231 (mail231 [66.216.5.135])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
 (No client certificate requested) (Authenticated sender: jeremyd)
 by mail231.csoft.net (Postfix) with ESMTPSA id 48DF545C3C
 for <bug-guile@HIDDEN>; Tue, 24 Dec 2024 17:44:00 -0500 (EST)
Date: Tue, 24 Dec 2024 14:44:00 -0800 (PST)
From: Jeremy Drake <github@HIDDEN>
X-X-Sender: jeremyd@HIDDEN
To: bug-guile@HIDDEN
Subject: Guile 3.0.10 fails to build for i686 cygwin
Message-ID: <1cc29067-4a31-3534-dbf1-f537f2fa00b1@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Received-SPF: pass client-ip=66.216.5.135; envelope-from=github@HIDDEN;
 helo=mail231.csoft.net
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,
 RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=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.4 (-)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Tue, 24 Dec 2024 20:54:49 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

3.0.8 and 3.0.9 build, but 3.0.10 fails in BOOTSTRAP(stage1) with:
Backtrace:
In ice-9/boot-9.scm:
  1755:12 19 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
In system/base/compile.scm:
    69:11 18 (_)
   190:11 17 (_ #<closed: file ffd72ea8>)
    309:6 16 (read-and-compile #<closed: file ffd72ee0> #:from _ #:to _ #:env _ #:optimization-level _ #:warning-level _ #:opts _)
   352:28 15 (compile #<tree-il (seq (let (m) (m-182b3cf1-2) ((call (@@ (guile) define-module*) (const (language cps guile-vm reify-primitives)) (const #:filename) (const "language/cps/guile-vm/reify-primitives.scm") (const #:imports) (const (((ice-9 match)) ((language tree-il primitives) #:select ((primitive-module . tree-il:primitive-module))) ((language cps)) ((language cps utils)) ((language cps with-cps)) ((language cps intmap)) ((language bytecode)) ((system base target)) ((system bas?> ?)
   265:44 14 (_ #<tree-il (seq (let (m) (m-182b3cf1-2) ((call (@@ (guile) define-module*) (const (language cps guile-vm reify-primitives)) (const #:filename) (const "language/cps/guile-vm/reify-primitives.scm") (const #:imports) (const (((ice-9 match)) ((language tree-il primitives) #:select ((primitive-module . tree-il:primitive-module))) ((language cps)) ((language cps utils)) ((language cps with-cps)) ((language cps intmap)) ((language bytecode)) ((system base target)) ((system base type?> ?)
   261:33 13 (_ #<intmap 0-11706> #<directory (language cps guile-vm reify-primitives) ff1b2640>)
In language/cps/optimize.scm:
    136:2 12 (_ _ #<directory (language cps guile-vm reify-primitives) ff1b2640>)
    111:3 11 (optimize-first-order-cps _ _)
In language/cps/switch.scm:
    414:6 10 (optimize-branch-chains _)
In language/cps/intmap.scm:
    519:6  9 (visit-branch #(#(#(#<intset 0-273> (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) #f) (absent) (absent) (absent) (absent) (absent) (absent) (absent) #((absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) # ?) ?) ?) ?)
    519:6  8 (visit-branch #((absent) (absent) #((absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent(absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) #<intset 3160-3259> (absent) (absent) (absent) (absent) (absent) (absent) (absent) #f) (absent) (absent) #((absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) # ?) ?) ?)
    519:6  7 (visit-branch #((absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) #<intset 3689-7729,7913-8003> (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) (absent) #f) _ 3680 _)
In language/cps/switch.scm:
    99:36  6 (fold-branch-chains #<intmap 0-8003> _ _ #<procedure optimize-branch-chain (var exit tests cps)> _)
    343:8  5 (optimize-branch-chain 3346 7427 (6771 6772 6773 6901 7029 7157 7285) _)
In ice-9/boot-9.scm:
   260:13  4 (for-each #<procedure fd7f2708 at language/cps/switch.scm:343:18 (expr)> _)
In language/cps/switch.scm:
   340:32  3 (_ (u64-imm-< . 7428))
In language/cps/guile-vm.scm:
    89:31  2 (target-symbol-hash _)
    41:18  1 (jenkins-lookup3-hashword2 "u64-imm-<")
In ice-9/boot-9.scm:
  1676:22  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1676:22: In procedure raise-exception:
Value out of range 0 to< 18446744073709551615: -505802029
make[2]: *** [Makefile:2515: language/cps/guile-vm/reify-primitives.go]
Error 1

See also my comments in https://github.com/msys2/MSYS2-packages/pull/5068,
not that I was able to track anything down other than the fact that the
module/language/cps/guile-vm.scm file is entirely new to 3.0.10, so my
idea to try to bisect the issue didn't work out.




Acknowledgement sent to Jeremy Drake <github@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guile@HIDDEN. Full text available.
Report forwarded to bug-guile@HIDDEN:
bug#75078; Package guile. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 12 Jan 2025 05:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.