From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Newsgroups: gmane.lisp.guile.bugs Subject: bug#54198: Guile 3.0.8 cross-compiled to i586-pc-gnu crashes Date: Mon, 28 Feb 2022 11:16:33 +0100 Message-ID: <87k0dffg8u.fsf@inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36174"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) To: 54198@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Mon Feb 28 11:18:21 2022 Return-path: Envelope-to: guile-bugs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nOd6i-0009D6-Lx for guile-bugs@m.gmane-mx.org; Mon, 28 Feb 2022 11:18:20 +0100 Original-Received: from localhost ([::1]:60482 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nOd6h-00012p-8O for guile-bugs@m.gmane-mx.org; Mon, 28 Feb 2022 05:18:19 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:34408) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nOd5W-0000IM-89 for bug-guile@gnu.org; Mon, 28 Feb 2022 05:17:08 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38084) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nOd5S-0005M6-4w for bug-guile@gnu.org; Mon, 28 Feb 2022 05:17:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nOd5S-0004C7-1X for bug-guile@gnu.org; Mon, 28 Feb 2022 05:17:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Mon, 28 Feb 2022 10:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54198 X-GNU-PR-Package: guile X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.164604340415213 (code B ref -1); Mon, 28 Feb 2022 10:17:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Feb 2022 10:16:44 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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) Original-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) 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=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 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.io gmane.lisp.guile.bugs:10257 Archived-At: 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.