From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John Paul Adrian Glaubitz Newsgroups: gmane.lisp.guile.bugs Subject: bug#45214: guile segfaults on 32-bit big-endian targets Date: Wed, 14 Apr 2021 21:19:51 +0200 Message-ID: References: <56553e87-ec27-d287-9e5b-fc501bc4b2dc@physik.fu-berlin.de> <1c389d72-cbb7-888f-f1c1-d33fa2a1248b@bell.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8449"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 To: efraim@flashner.co.il, 45214@debbugs.gnu.org, deller@gmx.de, dave.anglin@bell.net, schwab@linux-m68k.org, debian@mkarcher.dialup.fu-berlin.de Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Wed Apr 14 21:21:10 2021 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 1lWl4V-00023Q-MZ for guile-bugs@m.gmane-mx.org; Wed, 14 Apr 2021 21:21:07 +0200 Original-Received: from localhost ([::1]:34560 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lWl4U-0003A4-Oo for guile-bugs@m.gmane-mx.org; Wed, 14 Apr 2021 15:21:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54318) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lWl4Q-00039x-Bc for bug-guile@gnu.org; Wed, 14 Apr 2021 15:21:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52436) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lWl4Q-0004Ba-3x for bug-guile@gnu.org; Wed, 14 Apr 2021 15:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lWl4P-0002TD-Vc for bug-guile@gnu.org; Wed, 14 Apr 2021 15:21:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: John Paul Adrian Glaubitz Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Wed, 14 Apr 2021 19:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45214 X-GNU-PR-Package: guile X-Debbugs-Original-To: Efraim Flashner , bug-guile@gnu.org, Helge Deller , John David Anglin , Andreas Schwab , Michael Karcher Original-Received: via spool by submit@debbugs.gnu.org id=B.16184280279425 (code B ref -1); Wed, 14 Apr 2021 19:21:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Apr 2021 19:20:27 +0000 Original-Received: from localhost ([127.0.0.1]:35749 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lWl3r-0002Rw-Gy for submit@debbugs.gnu.org; Wed, 14 Apr 2021 15:20:27 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:35348) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lWl3p-0002Ro-3E for submit@debbugs.gnu.org; Wed, 14 Apr 2021 15:20:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54158) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lWl3o-0002iz-D9 for bug-guile@gnu.org; Wed, 14 Apr 2021 15:20:24 -0400 Original-Received: from outpost1.zedat.fu-berlin.de ([130.133.4.66]:43965) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lWl3g-0003YY-VL for bug-guile@gnu.org; Wed, 14 Apr 2021 15:20:22 -0400 Original-Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.94) with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (envelope-from ) id 1lWl3I-000tFZ-VB; Wed, 14 Apr 2021 21:19:52 +0200 Original-Received: from p5b13aaa4.dip0.t-ipconnect.de ([91.19.170.164] helo=[192.168.178.139]) by inpost2.zedat.fu-berlin.de (Exim 4.94) with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (envelope-from ) id 1lWl3I-0030Te-K6; Wed, 14 Apr 2021 21:19:52 +0200 In-Reply-To: Content-Language: en-US X-Original-Sender: glaubitz@physik.fu-berlin.de X-Originating-IP: 91.19.170.164 Received-SPF: pass client-ip=130.133.4.66; envelope-from=glaubitz@zedat.fu-berlin.de; helo=outpost1.zedat.fu-berlin.de X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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:10014 Archived-At: Hi1 On 4/14/21 4:18 PM, Efraim Flashner wrote: > I spent some more time bisecting guile so I could create a diff against > 3.0.5 and then spent another two weeks or so bootstrapping Guix from my > custom bootstrap binaries out to mesa. > > I've attached the patch that's likely to go into Guix to add powerpc > support. Other than the mysterious failing test I've changed the > GUILE_OPTIMIZATIONS in bootstrap/Makefile.in to '-O1 > -Oresolve-primitives -Ocps' on powerpc and it seems to be working fine. Since this issue affects all 32-bit big-endian targets (hppa, m68k, ppc), we should consider extending your patch to consider all these targets, shouldn't we? Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaubitz@debian.org `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913