From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 28 05:16:44 2022 Received: (at submit) by debbugs.gnu.org; 28 Feb 2022 10:16:44 +0000 Received: from localhost ([127.0.0.1]:60213 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOd59-0003wy-Qx for submit@debbugs.gnu.org; Mon, 28 Feb 2022 05:16:44 -0500 Received: from lists.gnu.org ([209.51.188.17]:49798) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOd58-0003vF-0N for submit@debbugs.gnu.org; Mon, 28 Feb 2022 05:16:42 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34366) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nOd55-00009s-JR for bug-guile@gnu.org; Mon, 28 Feb 2022 05:16:40 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:44506) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nOd53-0005FV-Kq for bug-guile@gnu.org; Mon, 28 Feb 2022 05:16:39 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 5CE224E1 for ; Mon, 28 Feb 2022 11:16:35 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id A0EtvBigZ0z4 for ; Mon, 28 Feb 2022 11:16:34 +0100 (CET) Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 264081A4 for ; Mon, 28 Feb 2022 11:16:34 +0100 (CET) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: bug-guile@gnu.org Subject: Guile 3.0.8 cross-compiled to i586-pc-gnu crashes X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 10 =?utf-8?Q?Vent=C3=B4se?= an 230 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 28 Feb 2022 11:16:33 +0100 Message-ID: <87k0dffg8u.fsf@inria.fr> 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-Spamd-Bar: / Authentication-Results: hera.aquilenet.fr; none X-Rspamd-Server: hera X-Rspamd-Queue-Id: 5CE224E1 X-Spamd-Result: default: False [-0.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[bug-guile@gnu.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; TO_DOM_EQ_FROM_DOM(0.00)[] Received-SPF: softfail client-ip=185.233.100.1; envelope-from=ludo@gnu.org; helo=hera.aquilenet.fr X-Spam_score_int: -7 X-Spam_score: -0.8 X-Spam_bar: / X-Spam_report: (-0.8 / 5.0 requ) BAYES_00=-1.9, PDS_BTC_ID=0.471, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.665, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.8 (-) 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.8 (--) Hi, Guix=E2=80=99s Guile 3.0.8 package cross-compiled to i586-pc-gnu (GNU/Hurd) crashes when starting (3.0.7 was fine): --8<---------------cut here---------------start------------->8--- ludo@childhurd ~$ /gnu/store/19dfmmsy41614n9nxkbpn73sr8xhccqy-guile-3.0.7/b= in/guile --version guile (GNU Guile) 3.0.7 Copyright (C) 2021 Free Software Foundation, Inc. License LGPLv3+: GNU LGPL 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. ludo@childhurd ~$ /gnu/store/hh72mzfk2h4ss5rnzhbhycdibb8qy8wi-guile-3.0.8/b= in/guile --version Pre-boot error; key: out-of-range, args: (#f "Value out of range ~S to< ~S:= ~S" (0 -1 1) (1))Aborted ludo@childhurd ~$ gdb --args guile --version GNU gdb (GDB) 11.1 [...] Pre-boot error; key: out-of-range, args: (#f "Value out of range ~S to< ~S:= ~S" (0 -1 1) (1)) Thread 4 received signal SIGABRT, Aborted. 0x015080cc in mach_msg_trap () at /tmp/guix-build-glibc-cross-i586-pc-gnu-2= .33.drv-0/build/mach/mach_msg_trap.S:2 2 /tmp/guix-build-glibc-cross-i586-pc-gnu-2.33.drv-0/build/mach/mach_= msg_trap.S: No such file or directory. (gdb) bt #0 0x015080cc in mach_msg_trap () at /tmp/guix-build-glibc-cross-i586-pc-g= nu-2.33.drv-0/build/mach/mach_msg_trap.S:2 #1 0x015087fa in __GI___mach_msg (msg=3D0x1038880, option=3D3, send_size= =3D48, rcv_size=3D32, rcv_name=3D125, timeout=3D0,=20 notify=3D0) at msg.c:111 #2 0x0176824e in __msg_sig_post (process=3D122, signal=3D0, sigcode=3D0, r= efport=3D1) at /tmp/guix-build-glibc-cross-i586-pc-gnu-2.33.drv-0/build/hurd/RPC_ms= g_sig_post.c:149 #3 0x015291ea in __GI__hurd_raise_signal (ss=3D, signo=3D6,= detail=3D0x103891c) at hurd-raise.c:56 #4 0x011f8c93 in __pthread_kill (thread=3D1, sig=3D6) at ../sysdeps/hurd/h= tl/pt-kill.c:49 #5 0x01552e47 in __GI_raise (signo=3D6) at ../sysdeps/htl/raise.c:38 #6 0x01507e29 in __GI_abort () at abort.c:79 #7 0x010f2750 in scm_throw (key=3D0x20202e0, args=3D0x2047000) at throw.c:= 260 #8 0x010f27ce in scm_ithrow (key=3D0x20202e0, args=3D0x2047000, no_return= =3D1) at throw.c:457 #9 0x01074fc8 in scm_error_scm (key=3D0x20202e0, subr=3D0x4, message=3D0x2= 046090, args=3D0x2047020, data=3D0x2047038) at error.c:90 #10 0x0107502b in scm_error (key=3D0x20202e0, subr=3D0x0, message=3D0x1129c= ac "Value out of range ~S to< ~S: ~S",=20 args=3D0x2047020, rest=3D0x2047038) at error.c:62 #11 0x010b68dc in range_error (bad_val=3Dbad_val@entry=3D0x6, min=3D0x2, ma= x=3Dmax@entry=3D0xfffffffe) at numbers.c:6611 #12 0x010b6b8f in inum_in_range (max=3D-1, min=3D0, x=3D0x6) at numbers.c:6= 630 #13 scm_to_uint32 (arg=3D0x6) at numbers.c:6787 #14 0x0109c1d0 in scm_make_list (n=3D0x6, init=3D0x20460a0) at list.c:113 #15 0x010806a1 in make_exp_vtable (n=3D0) at expand.c:1602 #16 scm_init_expand () at expand.c:1650 #17 0x01095211 in scm_i_init_guile (base=3D) at init.c:475 #18 0x010f1268 in scm_i_init_guile (base=3D0x1038cbc) at init.c:357 #19 scm_i_init_thread_for_guile.part.0.lto_priv.0 (base=3D0x1038cbc, dynami= c_state=3D0x0) at threads.c:570 #20 0x010f037b in scm_i_init_thread_for_guile (dynamic_state=3D0x0, base=3D= 0x1038cbc) at threads.c:677 #21 with_guile (base=3D0x1038cbc, data=3D0x1038ce4) at threads.c:638 #22 0x011a51f4 in GC_call_with_stack_base () from /gnu/store/y62sfzpnw3r7i5c0k4aqq9cy9c6hkr2g-libgc-8.0.4/lib/libgc.s= o.1 #23 0x010e8cda in scm_i_with_guile (dynamic_state=3D, data= =3D0x1038d10, func=3D0x1088f40 ) at threads.c:688 #24 scm_with_guile (func=3D0x1088f40 , data=3D0x1038d10) = at threads.c:694 #25 0x01092400 in scm_boot_guile (argc=3D2, argv=3D0x1038df4, main_func=3D0= x80492b0 , closure=3D0x0) at init.c:295 #26 0x0804911a in main (argc=3D2, argv=3D0x1038df4) at guile.c:94 --8<---------------cut here---------------end--------------->8--- The build process of Guile changed upstream to become multi-stage, in support of cross-module inlining. A possibility is that that somehow ends up generating .go files with the wrong word size (although that should prevent them from being loaded). Or maybe it=E2=80=99s some interfe= rence with the native Guile that=E2=80=99s being used. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 01 03:44:46 2022 Received: (at 54198-done) by debbugs.gnu.org; 1 Mar 2022 08:44:46 +0000 Received: from localhost ([127.0.0.1]:35374 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOy7U-0000yE-OY for submit@debbugs.gnu.org; Tue, 01 Mar 2022 03:44:46 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:57074) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOy7T-0000y2-8x for 54198-done@debbugs.gnu.org; Tue, 01 Mar 2022 03:44:32 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id A7583203 for <54198-done@debbugs.gnu.org>; Tue, 1 Mar 2022 09:44:24 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E_ZbZ2qWS-Hy for <54198-done@debbugs.gnu.org>; Tue, 1 Mar 2022 09:44:24 +0100 (CET) Received: from ribbon (unknown [IPv6:2001:660:6102:320:e120:2c8f:8909:cdfe]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 88CADD2 for <54198-done@debbugs.gnu.org>; Tue, 1 Mar 2022 09:44:23 +0100 (CET) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: 54198-done@debbugs.gnu.org Subject: Re: bug#54198: Guile 3.0.8 cross-compiled to i586-pc-gnu crashes References: <87k0dffg8u.fsf@inria.fr> Date: Tue, 01 Mar 2022 09:44:22 +0100 In-Reply-To: <87k0dffg8u.fsf@inria.fr> ("Ludovic =?utf-8?Q?Court=C3=A8s=22?= =?utf-8?Q?'s?= message of "Mon, 28 Feb 2022 11:16:33 +0100") Message-ID: <877d9e9i55.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-Spamd-Bar: / Authentication-Results: hera.aquilenet.fr; none X-Rspamd-Server: hera X-Rspamd-Queue-Id: A7583203 X-Spamd-Result: default: False [-0.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[54198-done@debbugs.gnu.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 54198-done 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.0 (/) Hi, Ludovic Court=C3=A8s skribis: > #11 0x010b68dc in range_error (bad_val=3Dbad_val@entry=3D0x6, min=3D0x2, = max=3Dmax@entry=3D0xfffffffe) at numbers.c:6611 > #12 0x010b6b8f in inum_in_range (max=3D-1, min=3D0, x=3D0x6) at numbers.c= :6630 > #13 scm_to_uint32 (arg=3D0x6) at numbers.c:6787 Turns out we had SCM_SIZEOF_LONG =3D=3D 8 (instead of 4, since i586-pc-gnu is a 32-bit platform), as Andy hinted on IRC yesterday. Fixed in Guile commit 24b30130ca75653bdbacea84ce0443608379d630. Ludo=E2=80=99. From unknown Sun Jun 22 07:53:43 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 29 Mar 2022 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator