X-Loop: help-debbugs@HIDDEN Subject: bug#45214: guile segfaults on 32-bit big-endian targets Resent-From: John Paul Adrian Glaubitz <glaubitz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guile@HIDDEN Resent-Date: Sat, 12 Dec 2020 21:27:01 +0000 Resent-Message-ID: <handler.45214.B.160780837928700 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 45214 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: 45214 <at> debbugs.gnu.org Cc: Helge Deller <deller@HIDDEN>, John David Anglin <dave.anglin@HIDDEN>, Andreas Schwab <schwab@HIDDEN>, Michael Karcher <debian@HIDDEN> X-Debbugs-Original-To: bug-guile@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.160780837928700 (code B ref -1); Sat, 12 Dec 2020 21:27:01 +0000 Received: (at submit) by debbugs.gnu.org; 12 Dec 2020 21:26:19 +0000 Received: from localhost ([127.0.0.1]:46963 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1koCPD-0007Sq-4L for submit <at> debbugs.gnu.org; Sat, 12 Dec 2020 16:26:19 -0500 Received: from lists.gnu.org ([209.51.188.17]:49748) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <glaubitz@HIDDEN>) id 1koCPB-0007Si-18 for submit <at> debbugs.gnu.org; Sat, 12 Dec 2020 16:26:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34476) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <glaubitz@HIDDEN>) id 1koCPA-00019o-QD for bug-guile@HIDDEN; Sat, 12 Dec 2020 16:26:16 -0500 Received: from outpost1.zedat.fu-berlin.de ([130.133.4.66]:59087) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <glaubitz@HIDDEN>) id 1koCP6-0007Ia-F5 for bug-guile@HIDDEN; Sat, 12 Dec 2020 16:26:16 -0500 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 <glaubitz@HIDDEN>) id 1koCP2-001UMq-SI; Sat, 12 Dec 2020 22:26:08 +0100 Received: from p5b13ae73.dip0.t-ipconnect.de ([91.19.174.115] 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 <glaubitz@HIDDEN>) id 1koCP2-0025Rf-GP; Sat, 12 Dec 2020 22:26:08 +0100 From: John Paul Adrian Glaubitz <glaubitz@HIDDEN> Message-ID: <56553e87-ec27-d287-9e5b-fc501bc4b2dc@HIDDEN> Date: Sat, 12 Dec 2020 22:26:07 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Original-Sender: glaubitz@HIDDEN X-Originating-IP: 91.19.174.115 Received-SPF: pass client-ip=130.133.4.66; envelope-from=glaubitz@HIDDEN; 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, 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-Spam-Score: -1.6 (-) 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.6 (--) Hello! As reported in [1], guile segfaults on 32-bit big-endian targets with: guild compile --target="hppa-unknown-linux-gnu" \ -W0 -O1 \ -L "/<<PKGBUILDDIR>>/module" \ -L "/<<PKGBUILDDIR>>/guile-readline" \ -o "language/tree-il/eta-expand.go" "../module/language/tree-il/eta-expand.scm" make[4]: *** [Makefile:1927: language/tree-il/eta-expand.go] Segmentation fault make[4]: *** Waiting for unfinished jobs.... make[4]: *** [Makefile:1927: language/tree-il/debug.go] Segmentation fault make[4]: *** [Makefile:1927: language/tree-il/analyze.go] Segmentation fault still going make[4]: *** [Makefile:1927: language/tree-il/effects.go] Segmentation fault make[4]: Leaving directory '/<<PKGBUILDDIR>>/bootstrap' make[3]: *** [Makefile:1851: all-recursive] Error 1 make[3]: Leaving directory '/<<PKGBUILDDIR>>' make[2]: *** [Makefile:1737: all] Error 2 make[2]: Leaving directory '/<<PKGBUILDDIR>>' make[1]: *** [debian/rules:192: override_dh_auto_build] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:104: build-arch] Error 2 dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2 Full build log in [2]. This affects hppa, m68k and powerpc (32-bit). Backtrace: #0 0x006e3e9c in scm_sum (x=x@entry=0x0, y=0x6) at numbers.c:7569 7569 else if (SCM_BIGP (x)) [Current thread is 1 (Thread 0xf7c34480 (LWP 529732))] (gdb) bt #0 0x006e3e9c in scm_sum (x=x@entry=0x0, y=0x6) at numbers.c:7569 #1 0x006cd498 in add_immediate (a=0x0, b=<optimized out>) at intrinsics.c:80 #2 0x00749818 in vm_regular_engine (thread=0xf7971e00) at vm-engine.c:1583 #3 0x0074c2f4 in scm_call_n (proc=proc@entry=0xeffbf148, argv=argv@entry=0x0, nargs=nargs@entry=0) at vm.c:1608 #4 0x006a70fc in scm_call_0 (proc=proc@entry=0xeffbf148) at eval.c:490 #5 0x006d39d8 in scm_primitive_load_path (args=<optimized out>) at load.c:1259 #6 0x006d3f28 in scm_c_primitive_load_path (filename=filename@entry=0x776458 "ice-9/boot-9") at load.c:1275 #7 0x006c9310 in scm_load_startup_files () at init.c:222 #8 0x006c96a8 in scm_i_init_guile (base=base@entry=0xffecfb18) at init.c:505 #9 0x0073b858 in scm_i_init_thread_for_guile (base=base@entry=0xffecfb18, dynamic_state=dynamic_state@entry=0x0) at threads.c:570 #10 0x0073ba1c in scm_i_init_thread_for_guile (dynamic_state=0x0, base=0xffecfb18) at threads.c:677 #11 with_guile (base=0xffecfb18, data=0xffecfb38) at threads.c:638 #12 0x003e17e4 in GC_call_with_stack_base () from /usr/lib/powerpc-linux-gnu/libgc.so.1 #13 0x0073bfb8 in scm_i_with_guile (dynamic_state=<optimized out>, data=0xffecfb28, func=0x6c90c0 <invoke_main_func>) at threads.c:688 #14 scm_with_guile (func=func@entry=0x6c90c0 <invoke_main_func>, data=data@entry=0xffecfb58) at threads.c:694 #15 0x006c93c8 in scm_boot_guile (argc=argc@entry=16, argv=argv@entry=0xffecfe14, main_func=main_func@entry=0x800950 <inner_main>, closure=closure@entry=0x0) at init.c:290 #16 0x00800754 in main (argc=16, argv=0xffecfe14) at guile.c:95 (gdb) I assume the crash has got something to do how values are packed and unpacked into the SCM object type. I have not been able to find the problem yet myself, unfortunately which is why I am reporting this issue here. For anyone willing to debug this, access to a fast POWER machine running a big-endian Debian unstable can be obtained through the GCC compile farm [3]. Thanks, Adrian > [1] https://lists.gnu.org/archive/html/guile-devel/2020-12/msg00003.html > [2] https://buildd.debian.org/status/fetch.php?pkg=guile-3.0&arch=hppa&ver=3.0.4-3&stamp=1607546304&raw=0 > [3] https://gcc.gnu.org/wiki/CompileFarm -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaubitz@HIDDEN `. `' Freie Universitaet Berlin - glaubitz@HIDDEN `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: John Paul Adrian Glaubitz <glaubitz@HIDDEN> Subject: bug#45214: Acknowledgement (guile segfaults on 32-bit big-endian targets) Message-ID: <handler.45214.B.160780837928700.ack <at> debbugs.gnu.org> References: <56553e87-ec27-d287-9e5b-fc501bc4b2dc@HIDDEN> X-Gnu-PR-Message: ack 45214 X-Gnu-PR-Package: guile Reply-To: 45214 <at> debbugs.gnu.org Date: Sat, 12 Dec 2020 21:27:01 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guile@HIDDEN If you wish to submit further information on this problem, please send it to 45214 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 45214: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D45214 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#45214: guile segfaults on 32-bit big-endian targets Resent-From: John David Anglin <dave.anglin@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guile@HIDDEN Resent-Date: Sat, 12 Dec 2020 22:01:01 +0000 Resent-Message-ID: <handler.45214.B.160781043932332 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 45214 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: glaubitz@HIDDEN, 45214 <at> debbugs.gnu.org Cc: Helge Deller <deller@HIDDEN>, Michael Karcher <debian@HIDDEN>, Andreas Schwab <schwab@HIDDEN> X-Debbugs-Original-To: John Paul Adrian Glaubitz <glaubitz@HIDDEN>, bug-guile@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.160781043932332 (code B ref -1); Sat, 12 Dec 2020 22:01:01 +0000 Received: (at submit) by debbugs.gnu.org; 12 Dec 2020 22:00:39 +0000 Received: from localhost ([127.0.0.1]:47006 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1koCwQ-0008PQ-Hu for submit <at> debbugs.gnu.org; Sat, 12 Dec 2020 17:00:38 -0500 Received: from lists.gnu.org ([209.51.188.17]:54372) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <dave.anglin@HIDDEN>) id 1koCwO-0008PG-Ra for submit <at> debbugs.gnu.org; Sat, 12 Dec 2020 17:00:37 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44558) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <dave.anglin@HIDDEN>) id 1koCwO-0008Kr-Fr for bug-guile@HIDDEN; Sat, 12 Dec 2020 17:00:36 -0500 Received: from belmont79srvr.owm.bell.net ([184.150.200.79]:58402 helo=mtlfep01.bell.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from <dave.anglin@HIDDEN>) id 1koCwL-0002Kp-70 for bug-guile@HIDDEN; Sat, 12 Dec 2020 17:00:36 -0500 Received: from bell.net mtlfep01 184.150.200.30 by mtlfep01.bell.net with ESMTP id <20201212220031.ZEEU120733.mtlfep01.bell.net@HIDDEN> for <bug-guile@HIDDEN>; Sat, 12 Dec 2020 17:00:31 -0500 Received: from [192.168.2.49] (really [67.70.16.145]) by mtlspm01.bell.net with ESMTP id <20201212220031.LZJF130487.mtlspm01.bell.net@[192.168.2.49]>; Sat, 12 Dec 2020 17:00:31 -0500 References: <56553e87-ec27-d287-9e5b-fc501bc4b2dc@HIDDEN> From: John David Anglin <dave.anglin@HIDDEN> Message-ID: <1c389d72-cbb7-888f-f1c1-d33fa2a1248b@HIDDEN> Date: Sat, 12 Dec 2020 17:00:32 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 MIME-Version: 1.0 In-Reply-To: <56553e87-ec27-d287-9e5b-fc501bc4b2dc@HIDDEN> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: en-US X-CM-Analysis: v=2.4 cv=AbB0o1bG c=1 sm=1 tr=0 ts=5fd53d7f a=ch4VMz8uGZlcRCFa+4Q1bQ==:117 a=ch4VMz8uGZlcRCFa+4Q1bQ==:17 a=IkcTkHD0fZMA:10 a=zTNgK-yGK50A:10 a=mDV3o1hIAAAA:8 a=xNf9USuDAAAA:8 a=FBHGMhGWAAAA:8 a=f8NjU8KwgdAh7mAVxHcA:9 a=QEXdDO2ut3YA:10 a=x0p3um_wju8A:10 a=jYJgLHWX644A:10 a=_FVE-zBwftR9WsbkzFJk:22 a=SEwjQc04WA-l_NiBhQ7s:22 a=9gvnlMMaQFpL9xblJ6ne:22 X-CM-Envelope: MS4xfA23bVrLdfLYyjCV2a/5YG6mL+f8fAoROQdR1m+BUxtyaaSCHyWMjRzjIMPKUkyT9j8l/fEn5tRsdYEEahjBSb1429957KLxfIf64wTLM/h9SpjJeo0V lzMt9S2Su35tKSQ5uIxmTXzu7pJSdg+R+AzDysgFB5sKLXF4CaXmCydgKDHbiTD1RjBBKJsP62H8nA== Received-SPF: pass client-ip=184.150.200.79; envelope-from=dave.anglin@HIDDEN; helo=mtlfep01.bell.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) 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.3 (--) Hi, I created this debian PR earlier today: Bug#977223: Acknowledgement (guile-3.0: FTBFS on hppa - segmentation faul= ts) In the above, the segmentation fault occurs during exception handling on = hppa.=C2=A0 The exception is more or less handled on powerpc: =2E./meta/build-env=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 \ guild compile --target=3D"powerpc-unknown-linux-gnu"=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 \ =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -W0 -O1=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 \ =C2=A0 -L "/<<PKGBUILDDIR>>/module"=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 \ =C2=A0 -L "/<<PKGBUILDDIR>>/guile-readline"=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0= =C2=A0 =C2=A0=C2=A0=C2=A0 \ =C2=A0 -o "language/tree-il/compile-cps.go" "../module/language/tree-il/c= ompile-cps.scm" Backtrace: =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 11 (_ #<procedure = efa84650 at ice-9/eval.scm:330:13 ()> # #) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 10 (apply-smob/0 #= <thunk efa7cba0>) In ice-9/eval.scm: =C2=A0=C2=A0=C2=A0 657:8=C2=A0 9 (_ #(#(#f) ("prompt") #<procedure efacfc= b0 at ice-9/?> ?)) =C2=A0=C2=A0=C2=A0 619:8=C2=A0 8 (_ #(#(#<directory (guile-user) f00566e0= >))) =C2=A0=C2=A0=C2=A0 155:9=C2=A0 7 (_ #(#(#<directory (guild) efe0daa0> ("c= ompile" # ?)) #)) =C2=A0=C2=A0=C2=A0 619:8=C2=A0 6 (_ #(#(#<directory (srfi srfi-1) efcc478= 0> #<proc?> ?) ?)) =C2=A0=C2=A0=C2=A0 163:9=C2=A0 5 (_ #(#(#<directory (scripts compile) ef1= 3ae60> "p?" ?) ?)) In unknown file: =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 4 (_ #<proce= dure eebf7cb0 at ice-9/eval.scm:330:13 ()> # #) In system/base/target.scm: =C2=A0=C2=A0=C2=A0=C2=A0 65:6=C2=A0 3 (with-target "powerpc-unknown-linux= -gnu" #<procedure ee?>) In system/base/compile.scm: =C2=A0=C2=A0=C2=A0 187:6=C2=A0 2 (compile-file "../module/ice-9/rdelim.sc= m" #:output-file ?) =C2=A0=C2=A0=C2=A0 56:12=C2=A0 1 (call-once #<procedure ee49af40 at syste= m/base/compile.?>) In unknown file: =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0 (_ #<proce= dure ee413dc0 at ice-9/eval.scm:330:13 ()> # #) ERROR: thunk may only be entered once: ~a #<procedure ee49af40 at system/= base/compile.scm:66:5 ()> make[4]: *** [Makefile:1927: ice-9/rdelim.go] Error 1 Trying to bisect. Regards, Dave On 2020-12-12 4:26 p.m., John Paul Adrian Glaubitz wrote: > Hello! > > As reported in [1], guile segfaults on 32-bit big-endian targets with: > > guild compile --target=3D"hppa-unknown-linux-gnu" \ > -W0 -O1 \ > -L "/<<PKGBUILDDIR>>/module" \ > -L "/<<PKGBUILDDIR>>/guile-readline" \ > -o "language/tree-il/eta-expand.go" "../module/language/tree-il/eta-e= xpand.scm" > make[4]: *** [Makefile:1927: language/tree-il/eta-expand.go] Segmentati= on fault > make[4]: *** Waiting for unfinished jobs.... > make[4]: *** [Makefile:1927: language/tree-il/debug.go] Segmentation fa= ult > make[4]: *** [Makefile:1927: language/tree-il/analyze.go] Segmentation = fault > still going > make[4]: *** [Makefile:1927: language/tree-il/effects.go] Segmentation = fault > make[4]: Leaving directory '/<<PKGBUILDDIR>>/bootstrap' > make[3]: *** [Makefile:1851: all-recursive] Error 1 > make[3]: Leaving directory '/<<PKGBUILDDIR>>' > make[2]: *** [Makefile:1737: all] Error 2 > make[2]: Leaving directory '/<<PKGBUILDDIR>>' > make[1]: *** [debian/rules:192: override_dh_auto_build] Error 2 > make[1]: Leaving directory '/<<PKGBUILDDIR>>' > make: *** [debian/rules:104: build-arch] Error 2 > dpkg-buildpackage: error: debian/rules build-arch subprocess returned e= xit status 2 > > Full build log in [2]. This affects hppa, m68k and powerpc (32-bit). > > Backtrace: > > #0 0x006e3e9c in scm_sum (x=3Dx@entry=3D0x0, y=3D0x6) at numbers.c:756= 9 > 7569 else if (SCM_BIGP (x)) > [Current thread is 1 (Thread 0xf7c34480 (LWP 529732))] > (gdb) bt > #0 0x006e3e9c in scm_sum (x=3Dx@entry=3D0x0, y=3D0x6) at numbers.c:756= 9 > #1 0x006cd498 in add_immediate (a=3D0x0, b=3D<optimized out>) at intri= nsics.c:80 > #2 0x00749818 in vm_regular_engine (thread=3D0xf7971e00) at vm-engine.= c:1583 > #3 0x0074c2f4 in scm_call_n (proc=3Dproc@entry=3D0xeffbf148, argv=3Dar= gv@entry=3D0x0,=20 > nargs=3Dnargs@entry=3D0) at vm.c:1608 > #4 0x006a70fc in scm_call_0 (proc=3Dproc@entry=3D0xeffbf148) at eval.c= :490 > #5 0x006d39d8 in scm_primitive_load_path (args=3D<optimized out>) at l= oad.c:1259 > #6 0x006d3f28 in scm_c_primitive_load_path (filename=3Dfilename@entry=3D= 0x776458=20 > "ice-9/boot-9") at load.c:1275 > #7 0x006c9310 in scm_load_startup_files () at init.c:222 > #8 0x006c96a8 in scm_i_init_guile (base=3Dbase@entry=3D0xffecfb18) at = init.c:505 > #9 0x0073b858 in scm_i_init_thread_for_guile (base=3Dbase@entry=3D0xff= ecfb18,=20 > dynamic_state=3Ddynamic_state@entry=3D0x0) at threads.c:570 > #10 0x0073ba1c in scm_i_init_thread_for_guile (dynamic_state=3D0x0,=20 > base=3D0xffecfb18) at threads.c:677 > #11 with_guile (base=3D0xffecfb18, data=3D0xffecfb38) at threads.c:638 > #12 0x003e17e4 in GC_call_with_stack_base () from=20 > /usr/lib/powerpc-linux-gnu/libgc.so.1 > #13 0x0073bfb8 in scm_i_with_guile (dynamic_state=3D<optimized out>,=20 > data=3D0xffecfb28, func=3D0x6c90c0 <invoke_main_func>) at threads.c:688= > #14 scm_with_guile (func=3Dfunc@entry=3D0x6c90c0 <invoke_main_func>,=20 > data=3Ddata@entry=3D0xffecfb58) at threads.c:694 > #15 0x006c93c8 in scm_boot_guile (argc=3Dargc@entry=3D16,=20 > argv=3Dargv@entry=3D0xffecfe14, main_func=3Dmain_func@entry=3D0x800950 = <inner_main>,=20 > closure=3Dclosure@entry=3D0x0) at init.c:290 > #16 0x00800754 in main (argc=3D16, argv=3D0xffecfe14) at guile.c:95 > (gdb) > > I assume the crash has got something to do how values are packed and un= packed > into the SCM object type. I have not been able to find the problem yet = myself, > unfortunately which is why I am reporting this issue here. > > For anyone willing to debug this, access to a fast POWER machine runnin= g a > big-endian Debian unstable can be obtained through the GCC compile farm= [3]. > > Thanks, > Adrian > >> [1] https://lists.gnu.org/archive/html/guile-devel/2020-12/msg00003.ht= ml >> [2] https://buildd.debian.org/status/fetch.php?pkg=3Dguile-3.0&arch=3D= hppa&ver=3D3.0.4-3&stamp=3D1607546304&raw=3D0 >> [3] https://gcc.gnu.org/wiki/CompileFarm --=20 John David Anglin dave.anglin@HIDDEN
X-Loop: help-debbugs@HIDDEN Subject: bug#45214: guile segfaults on 32-bit big-endian targets Resent-From: John Paul Adrian Glaubitz <glaubitz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guile@HIDDEN Resent-Date: Sat, 12 Dec 2020 22:03:01 +0000 Resent-Message-ID: <handler.45214.B.160781057732594 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 45214 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: dave.anglin@HIDDEN, 45214 <at> debbugs.gnu.org Cc: Helge Deller <deller@HIDDEN>, Michael Karcher <debian@HIDDEN>, Andreas Schwab <schwab@HIDDEN> X-Debbugs-Original-To: John David Anglin <dave.anglin@HIDDEN>, bug-guile@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.160781057732594 (code B ref -1); Sat, 12 Dec 2020 22:03:01 +0000 Received: (at submit) by debbugs.gnu.org; 12 Dec 2020 22:02:57 +0000 Received: from localhost ([127.0.0.1]:47015 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1koCyf-0008Td-Di for submit <at> debbugs.gnu.org; Sat, 12 Dec 2020 17:02:57 -0500 Received: from lists.gnu.org ([209.51.188.17]:55106) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <glaubitz@HIDDEN>) id 1koCyd-0008TW-OE for submit <at> debbugs.gnu.org; Sat, 12 Dec 2020 17:02:56 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45138) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <glaubitz@HIDDEN>) id 1koCyd-0000Qk-0L for bug-guile@HIDDEN; Sat, 12 Dec 2020 17:02:55 -0500 Received: from outpost1.zedat.fu-berlin.de ([130.133.4.66]:59215) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <glaubitz@HIDDEN>) id 1koCya-00038K-PC for bug-guile@HIDDEN; Sat, 12 Dec 2020 17:02:54 -0500 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 <glaubitz@HIDDEN>) id 1koCyW-001aWs-Vr; Sat, 12 Dec 2020 23:02:49 +0100 Received: from p5b13ae73.dip0.t-ipconnect.de ([91.19.174.115] 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 <glaubitz@HIDDEN>) id 1koCyW-0028eC-Kx; Sat, 12 Dec 2020 23:02:48 +0100 References: <56553e87-ec27-d287-9e5b-fc501bc4b2dc@HIDDEN> <1c389d72-cbb7-888f-f1c1-d33fa2a1248b@HIDDEN> From: John Paul Adrian Glaubitz <glaubitz@HIDDEN> Message-ID: <cea08659-e08c-c3bc-f963-6e3f2c1d65be@HIDDEN> Date: Sat, 12 Dec 2020 23:02:47 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 MIME-Version: 1.0 In-Reply-To: <1c389d72-cbb7-888f-f1c1-d33fa2a1248b@HIDDEN> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Original-Sender: glaubitz@HIDDEN X-Originating-IP: 91.19.174.115 Received-SPF: pass client-ip=130.133.4.66; envelope-from=glaubitz@HIDDEN; 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-Spam-Score: -1.6 (-) 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.6 (--) Hi! On 12/12/20 11:00 PM, John David Anglin wrote: > Trying to bisect. Bisecting lead me to this which I guess is just painting over the real problem: (sid_powerpc-dchroot)glaubitz@perotto:~/guile-git$ git bisect good a68c80c747a2a8ec92fa84684ebd60b4ecb7ffa0 is the first bad commit commit a68c80c747a2a8ec92fa84684ebd60b4ecb7ffa0 Author: Andy Wingo <wingo@HIDDEN> Date: Mon May 11 15:22:29 2020 +0200 Switch to baseline compiler for bootstrap/ * bootstrap/Makefile.am (GUILE_OPTIMIZATIONS): Add -Ono-cps so that we use the baseline compiler when bootstrapping. bootstrap/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (sid_powerpc-dchroot)glaubitz@perotto:~/guile-git$ Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaubitz@HIDDEN `. `' Freie Universitaet Berlin - glaubitz@HIDDEN `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
X-Loop: help-debbugs@HIDDEN Subject: bug#45214: guile segfaults on 32-bit big-endian targets Resent-From: John David Anglin <dave.anglin@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guile@HIDDEN Resent-Date: Sat, 12 Dec 2020 22:22:02 +0000 Resent-Message-ID: <handler.45214.B.16078116652102 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 45214 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: glaubitz@HIDDEN, 45214 <at> debbugs.gnu.org Cc: Helge Deller <deller@HIDDEN>, Michael Karcher <debian@HIDDEN>, Andreas Schwab <schwab@HIDDEN> X-Debbugs-Original-To: John Paul Adrian Glaubitz <glaubitz@HIDDEN>, bug-guile@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.16078116652102 (code B ref -1); Sat, 12 Dec 2020 22:22:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Dec 2020 22:21:05 +0000 Received: from localhost ([127.0.0.1]:47038 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1koDGC-0000Xo-Ou for submit <at> debbugs.gnu.org; Sat, 12 Dec 2020 17:21:05 -0500 Received: from lists.gnu.org ([209.51.188.17]:60182) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <dave.anglin@HIDDEN>) id 1koDGB-0000Xh-9H for submit <at> debbugs.gnu.org; Sat, 12 Dec 2020 17:21:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46998) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <dave.anglin@HIDDEN>) id 1koDGB-00040O-49 for bug-guile@HIDDEN; Sat, 12 Dec 2020 17:21:03 -0500 Received: from simcoe207srvr.owm.bell.net ([184.150.200.207]:35541 helo=torfep02.bell.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from <dave.anglin@HIDDEN>) id 1koDG9-0000aF-HX for bug-guile@HIDDEN; Sat, 12 Dec 2020 17:21:02 -0500 Received: from bell.net torfep02 184.150.200.158 by torfep02.bell.net with ESMTP id <20201212222100.TWPO17235.torfep02.bell.net@HIDDEN> for <bug-guile@HIDDEN>; Sat, 12 Dec 2020 17:21:00 -0500 Received: from [192.168.2.49] (really [67.70.16.145]) by torspm02.bell.net with ESMTP id <20201212222100.IWCZ16325.torspm02.bell.net@[192.168.2.49]>; Sat, 12 Dec 2020 17:21:00 -0500 References: <56553e87-ec27-d287-9e5b-fc501bc4b2dc@HIDDEN> From: John David Anglin <dave.anglin@HIDDEN> Message-ID: <155f44c6-dda1-dec9-cc4c-b029a73e65d7@HIDDEN> Date: Sat, 12 Dec 2020 17:21:00 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 MIME-Version: 1.0 In-Reply-To: <56553e87-ec27-d287-9e5b-fc501bc4b2dc@HIDDEN> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US X-CM-Analysis: v=2.4 cv=braJuGWi c=1 sm=1 tr=0 ts=5fd5424c a=ch4VMz8uGZlcRCFa+4Q1bQ==:117 a=ch4VMz8uGZlcRCFa+4Q1bQ==:17 a=IkcTkHD0fZMA:10 a=zTNgK-yGK50A:10 a=FBHGMhGWAAAA:8 a=oapHhMjWGP0-T7pzoC0A:9 a=QEXdDO2ut3YA:10 a=9gvnlMMaQFpL9xblJ6ne:22 X-CM-Envelope: MS4xfNqnaq+ZJgPsdaw1Z2BmVNlB2YQx7bNa6VVOiXgoECJbYqoq/NhEZScxrLy44yHoBO1Ex2gpRf4bzFXdivElMx8ojuSFvRM+JTOgOfrH5rgaMTxsJXll QzYWkQNaCQZXNaZDN4hubSZoSK6tZZ4oWwX2e8lGMf7m0S2bqdRcF29mcGZ/MNPPjDG+tN4JLFGdXg== Received-SPF: pass client-ip=184.150.200.207; envelope-from=dave.anglin@HIDDEN; helo=torfep02.bell.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) 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.3 (--) On 2020-12-12 4:26 p.m., John Paul Adrian Glaubitz wrote: > I assume the crash has got something to do how values are packed and unpacked > into the SCM object type. I have not been able to find the problem yet myself, > unfortunately which is why I am reporting this issue here. I see this in scm.h: /* The 0?: constructions makes sure that the code is never executed, and that there is no performance hit. However, the alternative is compiled, and does generate a warning when used with the wrong pointer type. We use a volatile pointer type to avoid warnings from clang. The Tru64 and ia64-hp-hpux11.23 compilers fail on `case (0?0=0:x)' statements, so for them type-checking is disabled. */ # if defined __DECC || defined __HP_cc # define SCM_UNPACK(x) ((scm_t_bits) (x)) # else # define SCM_UNPACK(x) ((scm_t_bits) (0? (*(volatile SCM *)0=(x)): x)) # endif Regards, Dave -- John David Anglin dave.anglin@HIDDEN
X-Loop: help-debbugs@HIDDEN Subject: bug#45214: guile segfaults on 32-bit big-endian targets Resent-From: John David Anglin <dave.anglin@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guile@HIDDEN Resent-Date: Sat, 12 Dec 2020 22:31:01 +0000 Resent-Message-ID: <handler.45214.B.16078122123104 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 45214 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: glaubitz@HIDDEN, 45214 <at> debbugs.gnu.org Cc: Helge Deller <deller@HIDDEN>, Michael Karcher <debian@HIDDEN>, Andreas Schwab <schwab@HIDDEN> X-Debbugs-Original-To: John Paul Adrian Glaubitz <glaubitz@HIDDEN>, bug-guile@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.16078122123104 (code B ref -1); Sat, 12 Dec 2020 22:31:01 +0000 Received: (at submit) by debbugs.gnu.org; 12 Dec 2020 22:30:12 +0000 Received: from localhost ([127.0.0.1]:47043 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1koDP1-0000ny-NB for submit <at> debbugs.gnu.org; Sat, 12 Dec 2020 17:30:11 -0500 Received: from lists.gnu.org ([209.51.188.17]:60806) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <dave.anglin@HIDDEN>) id 1koDP1-0000nr-3c for submit <at> debbugs.gnu.org; Sat, 12 Dec 2020 17:30:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48056) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <dave.anglin@HIDDEN>) id 1koDP0-00050T-SH for bug-guile@HIDDEN; Sat, 12 Dec 2020 17:30:10 -0500 Received: from belmont79srvr.owm.bell.net ([184.150.200.79]:42365 helo=mtlfep02.bell.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from <dave.anglin@HIDDEN>) id 1koDOr-0003ao-2T for bug-guile@HIDDEN; Sat, 12 Dec 2020 17:30:03 -0500 Received: from bell.net mtlfep02 184.150.200.30 by mtlfep02.bell.net with ESMTP id <20201212223000.XAVJ52743.mtlfep02.bell.net@HIDDEN> for <bug-guile@HIDDEN>; Sat, 12 Dec 2020 17:30:00 -0500 Received: from [192.168.2.49] (really [67.70.16.145]) by mtlspm01.bell.net with ESMTP id <20201212223000.MFOP130487.mtlspm01.bell.net@[192.168.2.49]>; Sat, 12 Dec 2020 17:30:00 -0500 From: John David Anglin <dave.anglin@HIDDEN> References: <56553e87-ec27-d287-9e5b-fc501bc4b2dc@HIDDEN> <155f44c6-dda1-dec9-cc4c-b029a73e65d7@HIDDEN> Message-ID: <d4e60db4-2bc8-2a46-5f40-fd4608b30faf@HIDDEN> Date: Sat, 12 Dec 2020 17:30:00 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 MIME-Version: 1.0 In-Reply-To: <155f44c6-dda1-dec9-cc4c-b029a73e65d7@HIDDEN> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US X-CM-Analysis: v=2.3 cv=Z9OS40ZA c=1 sm=1 tr=0 a=ch4VMz8uGZlcRCFa+4Q1bQ==:117 a=ch4VMz8uGZlcRCFa+4Q1bQ==:17 a=IkcTkHD0fZMA:10 a=zTNgK-yGK50A:10 a=FBHGMhGWAAAA:8 a=CXD3Ia8THAbdIFGYXEYA:9 a=QEXdDO2ut3YA:10 a=9gvnlMMaQFpL9xblJ6ne:22 X-CM-Envelope: MS4wfFtypq9yEyrsVon5IUHW5ICFgMoIkq6DzIw73ObI9QHAHEFtZ1mXa8VwQftfcguEq//nXlqcORI1nEcIYejsV/oERggcma/sN2t9jhmFqnYBpWB7vWrx +53/VIgAkGqU8Fc2LihKQH+9A6VSwsLsbdJGP3qT7yCc2KJipj7wTAwE Received-SPF: pass client-ip=184.150.200.79; envelope-from=dave.anglin@HIDDEN; helo=mtlfep02.bell.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) 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.3 (--) On 2020-12-12 5:21 p.m., John David Anglin wrote: > On 2020-12-12 4:26 p.m., John Paul Adrian Glaubitz wrote: >> I assume the crash has got something to do how values are packed and unpacked >> into the SCM object type. I have not been able to find the problem yet myself, >> unfortunately which is why I am reporting this issue here. > I see this in scm.h: > > /* The 0?: constructions makes sure that the code is never executed, and > that there is no performance hit. However, the alternative is > compiled, and does generate a warning when used with the wrong > pointer type. We use a volatile pointer type to avoid warnings from > clang. > > The Tru64 and ia64-hp-hpux11.23 compilers fail on `case (0?0=0:x)' > statements, so for them type-checking is disabled. */ > # if defined __DECC || defined __HP_cc > # define SCM_UNPACK(x) ((scm_t_bits) (x)) > # else > # define SCM_UNPACK(x) ((scm_t_bits) (0? (*(volatile SCM *)0=(x)): x)) > # endif Also just before, there is: /* But as external interface, we define SCM, which may, according to the desired level of type checking, be defined in several ways. */ #if (SCM_DEBUG_TYPING_STRICTNESS == 2) typedef union SCM { struct { scm_t_bits n; } n; } SCM; # define SCM_UNPACK(x) ((x).n.n) # define SCM_PACK(x) ((SCM) { { (scm_t_bits) (x) } }) #elif (SCM_DEBUG_TYPING_STRICTNESS == 1) /* This is the default, which provides an intermediate level of compile time type checking while still resulting in very efficient code. */ typedef struct scm_unused_struct { char scm_unused_field; } *SCM; The fault on hppa appears to be at strictness 1. Regards, Dave -- John David Anglin dave.anglin@HIDDEN
X-Loop: help-debbugs@HIDDEN Subject: bug#45214: guile segfaults on 32-bit big-endian targets Resent-From: John David Anglin <dave.anglin@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guile@HIDDEN Resent-Date: Sat, 12 Dec 2020 22:45:01 +0000 Resent-Message-ID: <handler.45214.B.16078130544491 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 45214 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: glaubitz@HIDDEN, 45214 <at> debbugs.gnu.org Cc: Helge Deller <deller@HIDDEN>, Michael Karcher <debian@HIDDEN>, Andreas Schwab <schwab@HIDDEN> X-Debbugs-Original-To: John Paul Adrian Glaubitz <glaubitz@HIDDEN>, bug-guile@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.16078130544491 (code B ref -1); Sat, 12 Dec 2020 22:45:01 +0000 Received: (at submit) by debbugs.gnu.org; 12 Dec 2020 22:44:14 +0000 Received: from localhost ([127.0.0.1]:47078 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1koDcc-0001AN-9t for submit <at> debbugs.gnu.org; Sat, 12 Dec 2020 17:44:14 -0500 Received: from lists.gnu.org ([209.51.188.17]:38288) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <dave.anglin@HIDDEN>) id 1koDca-0001AG-KY for submit <at> debbugs.gnu.org; Sat, 12 Dec 2020 17:44:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49622) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <dave.anglin@HIDDEN>) id 1koDca-0008Bo-D2 for bug-guile@HIDDEN; Sat, 12 Dec 2020 17:44:12 -0500 Received: from belmont80srvr.owm.bell.net ([184.150.200.80]:33978 helo=mtlfep02.bell.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from <dave.anglin@HIDDEN>) id 1koDcV-0008Bf-1U for bug-guile@HIDDEN; Sat, 12 Dec 2020 17:44:12 -0500 Received: from bell.net mtlfep02 184.150.200.30 by mtlfep02.bell.net with ESMTP id <20201212224405.XKKO52743.mtlfep02.bell.net@HIDDEN> for <bug-guile@HIDDEN>; Sat, 12 Dec 2020 17:44:05 -0500 Received: from [192.168.2.49] (really [67.70.16.145]) by mtlspm01.bell.net with ESMTP id <20201212224405.MIBR130487.mtlspm01.bell.net@[192.168.2.49]>; Sat, 12 Dec 2020 17:44:05 -0500 From: John David Anglin <dave.anglin@HIDDEN> References: <56553e87-ec27-d287-9e5b-fc501bc4b2dc@HIDDEN> <155f44c6-dda1-dec9-cc4c-b029a73e65d7@HIDDEN> <d4e60db4-2bc8-2a46-5f40-fd4608b30faf@HIDDEN> Message-ID: <c052c6dc-0568-80ad-a132-575a5eadc3d8@HIDDEN> Date: Sat, 12 Dec 2020 17:44:06 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 MIME-Version: 1.0 In-Reply-To: <d4e60db4-2bc8-2a46-5f40-fd4608b30faf@HIDDEN> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US X-CM-Analysis: v=2.3 cv=Z9OS40ZA c=1 sm=1 tr=0 a=ch4VMz8uGZlcRCFa+4Q1bQ==:117 a=ch4VMz8uGZlcRCFa+4Q1bQ==:17 a=IkcTkHD0fZMA:10 a=zTNgK-yGK50A:10 a=FBHGMhGWAAAA:8 a=7DgbtJf-5hdC8NJyeGMA:9 a=QEXdDO2ut3YA:10 a=9gvnlMMaQFpL9xblJ6ne:22 X-CM-Envelope: MS4wfD7wnwr6cITUoMfQ2ZryvxT+ejq4KrGv5ifs5D1z55AluKsScTs3yzYV1cM6qZD14qSQu3gYM70nzB6NgCGw+VrXAEfiS1gAKaRmF/W1qjuFDtQDSQsd /i5HI0adjW8MLEOEXLxIa1sGjHV9XVsjDFUPZSSzcIOvkeA15BtkGL95 Received-SPF: pass client-ip=184.150.200.80; envelope-from=dave.anglin@HIDDEN; helo=mtlfep02.bell.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) 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.3 (--) On 2020-12-12 5:30 p.m., John David Anglin wrote: > On 2020-12-12 5:21 p.m., John David Anglin wrote: >> On 2020-12-12 4:26 p.m., John Paul Adrian Glaubitz wrote: >>> I assume the crash has got something to do how values are packed and unpacked >>> into the SCM object type. I have not been able to find the problem yet myself, >>> unfortunately which is why I am reporting this issue here. >> I see this in scm.h: >> >> /* The 0?: constructions makes sure that the code is never executed, and >> that there is no performance hit. However, the alternative is >> compiled, and does generate a warning when used with the wrong >> pointer type. We use a volatile pointer type to avoid warnings from >> clang. >> >> The Tru64 and ia64-hp-hpux11.23 compilers fail on `case (0?0=0:x)' >> statements, so for them type-checking is disabled. */ >> # if defined __DECC || defined __HP_cc >> # define SCM_UNPACK(x) ((scm_t_bits) (x)) >> # else >> # define SCM_UNPACK(x) ((scm_t_bits) (0? (*(volatile SCM *)0=(x)): x)) >> # endif > Also just before, there is: > /* But as external interface, we define SCM, which may, according to the > desired level of type checking, be defined in several ways. */ > #if (SCM_DEBUG_TYPING_STRICTNESS == 2) > typedef union SCM { struct { scm_t_bits n; } n; } SCM; > # define SCM_UNPACK(x) ((x).n.n) > # define SCM_PACK(x) ((SCM) { { (scm_t_bits) (x) } }) > #elif (SCM_DEBUG_TYPING_STRICTNESS == 1) > /* This is the default, which provides an intermediate level of compile > time type checking while still resulting in very efficient code. */ > typedef struct scm_unused_struct { char scm_unused_field; } *SCM; > > The fault on hppa appears to be at strictness 1. Guess, I should have copied the whole bit: The last option is: #else /* This should be used as a fall back solution for machines on which casting to a pointer may lead to loss of bit information, e. g. in the three least significant bits. */ typedef scm_t_bits SCM; # define SCM_UNPACK(x) (x) # define SCM_PACK(x) ((SCM) (x)) #endif I think strictness 1 may be problematic on hppa. Dave -- John David Anglin dave.anglin@HIDDEN
X-Loop: help-debbugs@HIDDEN Subject: bug#45214: guile segfaults on 32-bit big-endian targets Resent-From: John Paul Adrian Glaubitz <glaubitz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guile@HIDDEN Resent-Date: Sat, 12 Dec 2020 22:48:02 +0000 Resent-Message-ID: <handler.45214.B.16078132574877 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 45214 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: dave.anglin@HIDDEN, 45214 <at> debbugs.gnu.org Cc: Helge Deller <deller@HIDDEN>, Michael Karcher <debian@HIDDEN>, Andreas Schwab <schwab@HIDDEN> X-Debbugs-Original-To: John David Anglin <dave.anglin@HIDDEN>, bug-guile@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.16078132574877 (code B ref -1); Sat, 12 Dec 2020 22:48:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Dec 2020 22:47:37 +0000 Received: from localhost ([127.0.0.1]:47088 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1koDft-0001Ga-3P for submit <at> debbugs.gnu.org; Sat, 12 Dec 2020 17:47:37 -0500 Received: from lists.gnu.org ([209.51.188.17]:41230) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <glaubitz@HIDDEN>) id 1koDfr-0001GS-5X for submit <at> debbugs.gnu.org; Sat, 12 Dec 2020 17:47:35 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50142) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <glaubitz@HIDDEN>) id 1koDfq-00018g-Sx for bug-guile@HIDDEN; Sat, 12 Dec 2020 17:47:34 -0500 Received: from outpost1.zedat.fu-berlin.de ([130.133.4.66]:52015) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <glaubitz@HIDDEN>) id 1koDfo-0000su-Ha for bug-guile@HIDDEN; Sat, 12 Dec 2020 17:47:34 -0500 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 <glaubitz@HIDDEN>) id 1koDfl-001h6r-5V; Sat, 12 Dec 2020 23:47:29 +0100 Received: from p5b13ae73.dip0.t-ipconnect.de ([91.19.174.115] 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 <glaubitz@HIDDEN>) id 1koDfk-002CTE-Qt; Sat, 12 Dec 2020 23:47:29 +0100 References: <56553e87-ec27-d287-9e5b-fc501bc4b2dc@HIDDEN> <155f44c6-dda1-dec9-cc4c-b029a73e65d7@HIDDEN> <d4e60db4-2bc8-2a46-5f40-fd4608b30faf@HIDDEN> <c052c6dc-0568-80ad-a132-575a5eadc3d8@HIDDEN> From: John Paul Adrian Glaubitz <glaubitz@HIDDEN> Message-ID: <e8c2c373-344e-a105-35d2-5b59e0961693@HIDDEN> Date: Sat, 12 Dec 2020 23:47:28 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 MIME-Version: 1.0 In-Reply-To: <c052c6dc-0568-80ad-a132-575a5eadc3d8@HIDDEN> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Original-Sender: glaubitz@HIDDEN X-Originating-IP: 91.19.174.115 Received-SPF: pass client-ip=130.133.4.66; envelope-from=glaubitz@HIDDEN; 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-Spam-Score: -1.6 (-) 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.6 (--) On 12/12/20 11:44 PM, John David Anglin wrote: > Guess, I should have copied the whole bit: > > The last option is: > #else > /* This should be used as a fall back solution for machines on which > casting to a pointer may lead to loss of bit information, e. g. in > the three least significant bits. */ > typedef scm_t_bits SCM; > # define SCM_UNPACK(x) (x) > # define SCM_PACK(x) ((SCM) (x)) > #endif > > I think strictness 1 may be problematic on hppa. And m68k and powerpc most likely. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaubitz@HIDDEN `. `' Freie Universitaet Berlin - glaubitz@HIDDEN `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
X-Loop: help-debbugs@HIDDEN Subject: bug#45214: guile segfaults on 32-bit big-endian targets Resent-From: John David Anglin <dave.anglin@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guile@HIDDEN Resent-Date: Sat, 12 Dec 2020 23:23:01 +0000 Resent-Message-ID: <handler.45214.B.16078153528527 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 45214 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: glaubitz@HIDDEN, 45214 <at> debbugs.gnu.org Cc: Helge Deller <deller@HIDDEN>, Michael Karcher <debian@HIDDEN>, Andreas Schwab <schwab@HIDDEN> X-Debbugs-Original-To: John Paul Adrian Glaubitz <glaubitz@HIDDEN>, bug-guile@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.16078153528527 (code B ref -1); Sat, 12 Dec 2020 23:23:01 +0000 Received: (at submit) by debbugs.gnu.org; 12 Dec 2020 23:22:32 +0000 Received: from localhost ([127.0.0.1]:47107 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1koEDg-0002DT-Kl for submit <at> debbugs.gnu.org; Sat, 12 Dec 2020 18:22:32 -0500 Received: from lists.gnu.org ([209.51.188.17]:59730) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <dave.anglin@HIDDEN>) id 1koEDf-0002DL-HZ for submit <at> debbugs.gnu.org; Sat, 12 Dec 2020 18:22:31 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54232) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <dave.anglin@HIDDEN>) id 1koEDe-0002gK-P1 for bug-guile@HIDDEN; Sat, 12 Dec 2020 18:22:31 -0500 Received: from belmont79srvr.owm.bell.net ([184.150.200.79]:52475 helo=mtlfep01.bell.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from <dave.anglin@HIDDEN>) id 1koEDb-0003le-SC for bug-guile@HIDDEN; Sat, 12 Dec 2020 18:22:30 -0500 Received: from bell.net mtlfep01 184.150.200.30 by mtlfep01.bell.net with ESMTP id <20201212232226.BHVD120733.mtlfep01.bell.net@HIDDEN> for <bug-guile@HIDDEN>; Sat, 12 Dec 2020 18:22:26 -0500 Received: from [192.168.2.49] (really [67.70.16.145]) by mtlspm01.bell.net with ESMTP id <20201212232226.MOWS130487.mtlspm01.bell.net@[192.168.2.49]>; Sat, 12 Dec 2020 18:22:26 -0500 References: <56553e87-ec27-d287-9e5b-fc501bc4b2dc@HIDDEN> <155f44c6-dda1-dec9-cc4c-b029a73e65d7@HIDDEN> <d4e60db4-2bc8-2a46-5f40-fd4608b30faf@HIDDEN> <c052c6dc-0568-80ad-a132-575a5eadc3d8@HIDDEN> <e8c2c373-344e-a105-35d2-5b59e0961693@HIDDEN> From: John David Anglin <dave.anglin@HIDDEN> Message-ID: <95a4dfbc-9b3f-d875-3e23-6e7ca23a0ab2@HIDDEN> Date: Sat, 12 Dec 2020 18:22:26 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 MIME-Version: 1.0 In-Reply-To: <e8c2c373-344e-a105-35d2-5b59e0961693@HIDDEN> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US X-CM-Analysis: v=2.4 cv=AbB0o1bG c=1 sm=1 tr=0 ts=5fd550b2 a=ch4VMz8uGZlcRCFa+4Q1bQ==:117 a=ch4VMz8uGZlcRCFa+4Q1bQ==:17 a=IkcTkHD0fZMA:10 a=zTNgK-yGK50A:10 a=FBHGMhGWAAAA:8 a=1k9m8ZzF2-Kcfa_LeC4A:9 a=QEXdDO2ut3YA:10 a=9gvnlMMaQFpL9xblJ6ne:22 X-CM-Envelope: MS4xfG8iqEZDTHwHdo8bYsekF/fEXFHcLzWJKDwVhNr5XqN1c6nO4PNAXFXWVEDOIB5tj2KsSebenXez6qOKDwGejmH5gehTw+YD4buZdhY0/vrRwQ/cUHQU +zJCFRmr2UG7jqTcYzLqUYKC4AZM3L+6OvFWX0AwAsnkUwW3t5EIjdR9jL7FX1lqS6XM1k6r4DQ0Mw== Received-SPF: pass client-ip=184.150.200.79; envelope-from=dave.anglin@HIDDEN; helo=mtlfep01.bell.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) 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.3 (--) On 2020-12-12 5:47 p.m., John Paul Adrian Glaubitz wrote: > And m68k and powerpc most likely. This could also be a bug on 32-bit targets: CC libguile_3.0_la-hash.lo ../../guile/libguile/hash.c: In function 'narrow_string_hash': ../../guile/libguile/hash.c:118:34: warning: left shift count >= width of type [ -Wshift-count-overflow] 118 | ret = (((unsigned long) c) << 32) | b; \ | ^~ ../../guile/libguile/hash.c:128:3: note: in expansion of macro 'JENKINS_LOOKUP3_ HASHWORD2' 128 | JENKINS_LOOKUP3_HASHWORD2 (str, len, ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../../guile/libguile/hash.c: In function 'wide_string_hash': ../../guile/libguile/hash.c:118:34: warning: left shift count >= width of type [-Wshift-count-overflow] 118 | ret = (((unsigned long) c) << 32) | b; \ | ^~ Regards, Dave -- John David Anglin dave.anglin@HIDDEN
X-Loop: help-debbugs@HIDDEN Subject: bug#45214: guile segfaults on 32-bit big-endian targets Resent-From: John David Anglin <dave.anglin@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guile@HIDDEN Resent-Date: Sun, 13 Dec 2020 18:07:02 +0000 Resent-Message-ID: <handler.45214.B.160788280910234 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 45214 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: glaubitz@HIDDEN, 45214 <at> debbugs.gnu.org Cc: Helge Deller <deller@HIDDEN>, Michael Karcher <debian@HIDDEN>, Andreas Schwab <schwab@HIDDEN> X-Debbugs-Original-To: John Paul Adrian Glaubitz <glaubitz@HIDDEN>, bug-guile@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.160788280910234 (code B ref -1); Sun, 13 Dec 2020 18:07:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Dec 2020 18:06:49 +0000 Received: from localhost ([127.0.0.1]:50066 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1koVlg-0002f0-TO for submit <at> debbugs.gnu.org; Sun, 13 Dec 2020 13:06:49 -0500 Received: from lists.gnu.org ([209.51.188.17]:42820) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <dave.anglin@HIDDEN>) id 1koVle-0002es-QM for submit <at> debbugs.gnu.org; Sun, 13 Dec 2020 13:06:47 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33740) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <dave.anglin@HIDDEN>) id 1koVle-0001Hr-Ln for bug-guile@HIDDEN; Sun, 13 Dec 2020 13:06:46 -0500 Received: from simcoe208srvr.owm.bell.net ([184.150.200.208]:57643 helo=torfep01.bell.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from <dave.anglin@HIDDEN>) id 1koVld-0006yO-3c for bug-guile@HIDDEN; Sun, 13 Dec 2020 13:06:46 -0500 Received: from bell.net torfep01 184.150.200.158 by torfep01.bell.net with ESMTP id <20201213180643.EHJT6892.torfep01.bell.net@HIDDEN> for <bug-guile@HIDDEN>; Sun, 13 Dec 2020 13:06:43 -0500 Received: from [192.168.2.49] (really [67.70.16.145]) by torspm02.bell.net with ESMTP id <20201213180643.LZCE16325.torspm02.bell.net@[192.168.2.49]>; Sun, 13 Dec 2020 13:06:43 -0500 References: <56553e87-ec27-d287-9e5b-fc501bc4b2dc@HIDDEN> <155f44c6-dda1-dec9-cc4c-b029a73e65d7@HIDDEN> <d4e60db4-2bc8-2a46-5f40-fd4608b30faf@HIDDEN> <c052c6dc-0568-80ad-a132-575a5eadc3d8@HIDDEN> <e8c2c373-344e-a105-35d2-5b59e0961693@HIDDEN> From: John David Anglin <dave.anglin@HIDDEN> Message-ID: <a0bb5ff9-2cd6-adfa-c944-7b3541e36cc0@HIDDEN> Date: Sun, 13 Dec 2020 13:06:43 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 MIME-Version: 1.0 In-Reply-To: <e8c2c373-344e-a105-35d2-5b59e0961693@HIDDEN> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: en-US X-CM-Analysis: v=2.3 cv=ZryT1OzG c=1 sm=1 tr=0 a=ch4VMz8uGZlcRCFa+4Q1bQ==:117 a=ch4VMz8uGZlcRCFa+4Q1bQ==:17 a=IkcTkHD0fZMA:10 a=zTNgK-yGK50A:10 a=xNf9USuDAAAA:8 a=FBHGMhGWAAAA:8 a=yWBz2_j4sMlOgBPaZkQA:9 a=QEXdDO2ut3YA:10 a=SEwjQc04WA-l_NiBhQ7s:22 a=9gvnlMMaQFpL9xblJ6ne:22 X-CM-Envelope: MS4wfAARdo3oZ+SXdqV1SbDmR08otCpAcpKIDUJd4zzfWzxL2RGET4VuVKgQOJ+2FVgKAR3t05RT2Vu6WZ7svh37jgdiWSwUPvhW+eedkTjuYq8c5elIe83X bxf70L1pKRDNsb6D38+rigG9W/2ebPGSjFO/f8eFLXOAfKjwT2RcHwWq Received-SPF: pass client-ip=184.150.200.208; envelope-from=dave.anglin@HIDDEN; helo=torfep01.bell.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) 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.3 (--) On 2020-12-12 5:47 p.m., John Paul Adrian Glaubitz wrote: >> I think strictness 1 may be problematic on hppa. > And m68k and powerpc most likely. I did a build of the current debian package on hppa with type strictness = set to 0.=C2=A0 With that, I get the same fault that you reported for powerpc. =C2=A0 SCM_BIGP(x) faults when x is 0. I updated debian PR with additional analysis: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D977223 Regards, Dave --=20 John David Anglin dave.anglin@HIDDEN
X-Loop: help-debbugs@HIDDEN Subject: bug#45214: guile segfaults on 32-bit big-endian targets Resent-From: John Paul Adrian Glaubitz <glaubitz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guile@HIDDEN Resent-Date: Sun, 13 Dec 2020 18:09:01 +0000 Resent-Message-ID: <handler.45214.B.160788293510449 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 45214 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: dave.anglin@HIDDEN, 45214 <at> debbugs.gnu.org Cc: Helge Deller <deller@HIDDEN>, Michael Karcher <debian@HIDDEN>, Andreas Schwab <schwab@HIDDEN> X-Debbugs-Original-To: John David Anglin <dave.anglin@HIDDEN>, bug-guile@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.160788293510449 (code B ref -1); Sun, 13 Dec 2020 18:09:01 +0000 Received: (at submit) by debbugs.gnu.org; 13 Dec 2020 18:08:55 +0000 Received: from localhost ([127.0.0.1]:50079 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1koVni-0002iR-T4 for submit <at> debbugs.gnu.org; Sun, 13 Dec 2020 13:08:55 -0500 Received: from lists.gnu.org ([209.51.188.17]:45354) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <glaubitz@HIDDEN>) id 1koVnh-0002iK-BH for submit <at> debbugs.gnu.org; Sun, 13 Dec 2020 13:08:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33998) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <glaubitz@HIDDEN>) id 1koVnh-0002Ri-6c for bug-guile@HIDDEN; Sun, 13 Dec 2020 13:08:53 -0500 Received: from outpost1.zedat.fu-berlin.de ([130.133.4.66]:36177) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <glaubitz@HIDDEN>) id 1koVne-00075t-RA for bug-guile@HIDDEN; Sun, 13 Dec 2020 13:08:52 -0500 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 <glaubitz@HIDDEN>) id 1koVnb-000don-St; Sun, 13 Dec 2020 19:08:47 +0100 Received: from p5b13ae73.dip0.t-ipconnect.de ([91.19.174.115] 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 <glaubitz@HIDDEN>) id 1koVnb-003tbe-Hr; Sun, 13 Dec 2020 19:08:47 +0100 References: <56553e87-ec27-d287-9e5b-fc501bc4b2dc@HIDDEN> <155f44c6-dda1-dec9-cc4c-b029a73e65d7@HIDDEN> <d4e60db4-2bc8-2a46-5f40-fd4608b30faf@HIDDEN> <c052c6dc-0568-80ad-a132-575a5eadc3d8@HIDDEN> <e8c2c373-344e-a105-35d2-5b59e0961693@HIDDEN> <a0bb5ff9-2cd6-adfa-c944-7b3541e36cc0@HIDDEN> From: John Paul Adrian Glaubitz <glaubitz@HIDDEN> Message-ID: <aec2ab8b-eaf3-a234-69a9-6c98600cd7dd@HIDDEN> Date: Sun, 13 Dec 2020 19:08:46 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 MIME-Version: 1.0 In-Reply-To: <a0bb5ff9-2cd6-adfa-c944-7b3541e36cc0@HIDDEN> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Original-Sender: glaubitz@HIDDEN X-Originating-IP: 91.19.174.115 Received-SPF: pass client-ip=130.133.4.66; envelope-from=glaubitz@HIDDEN; 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.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.7 (-) 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.7 (--) On 12/13/20 7:06 PM, John David Anglin wrote: > I did a build of the current debian package on hppa with type strictness set to 0. With that, I get the same fault > that you reported for powerpc. SCM_BIGP(x) faults when x is 0. > > I updated debian PR with additional analysis: > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977223 See also: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=45214 Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaubitz@HIDDEN `. `' Freie Universitaet Berlin - glaubitz@HIDDEN `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
X-Loop: help-debbugs@HIDDEN Subject: bug#45214: guile segfaults on 32-bit big-endian targets Resent-From: John David Anglin <dave.anglin@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guile@HIDDEN Resent-Date: Mon, 08 Feb 2021 23:26:01 +0000 Resent-Message-ID: <handler.45214.B.161282670312874 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 45214 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: glaubitz@HIDDEN, 45214 <at> debbugs.gnu.org X-Debbugs-Original-To: John Paul Adrian Glaubitz <glaubitz@HIDDEN>, bug-guile@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.161282670312874 (code B ref -1); Mon, 08 Feb 2021 23:26:01 +0000 Received: (at submit) by debbugs.gnu.org; 8 Feb 2021 23:25:03 +0000 Received: from localhost ([127.0.0.1]:52134 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1l9Ftu-0003LR-QQ for submit <at> debbugs.gnu.org; Mon, 08 Feb 2021 18:25:03 -0500 Received: from lists.gnu.org ([209.51.188.17]:35846) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <dave.anglin@HIDDEN>) id 1l9Ftt-0003L1-RJ for submit <at> debbugs.gnu.org; Mon, 08 Feb 2021 18:25:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40510) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <dave.anglin@HIDDEN>) id 1l9Ftt-0002OO-Et for bug-guile@HIDDEN; Mon, 08 Feb 2021 18:25:01 -0500 Received: from simcoe208srvr.owm.bell.net ([184.150.200.208]:58027 helo=torfep02.bell.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from <dave.anglin@HIDDEN>) id 1l9Ftr-0002aH-OM for bug-guile@HIDDEN; Mon, 08 Feb 2021 18:25:01 -0500 Received: from bell.net torfep02 184.150.200.158 by torfep02.bell.net with ESMTP id <20210208232458.OWBK17235.torfep02.bell.net@HIDDEN> for <bug-guile@HIDDEN>; Mon, 8 Feb 2021 18:24:58 -0500 Received: from [192.168.2.49] (really [70.50.109.22]) by torspm02.bell.net with ESMTP id <20210208232458.ZHMJ16325.torspm02.bell.net@[192.168.2.49]>; Mon, 8 Feb 2021 18:24:58 -0500 From: John David Anglin <dave.anglin@HIDDEN> References: <56553e87-ec27-d287-9e5b-fc501bc4b2dc@HIDDEN> <155f44c6-dda1-dec9-cc4c-b029a73e65d7@HIDDEN> Message-ID: <1aa5495b-71ed-d715-d253-b4e5675fabcb@HIDDEN> Date: Mon, 8 Feb 2021 18:24:58 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: <155f44c6-dda1-dec9-cc4c-b029a73e65d7@HIDDEN> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: en-US X-CM-Analysis: v=2.4 cv=e5fD9Yl/ c=1 sm=1 tr=0 ts=6021c84a a=S6gQgrXzeH76ECG4GouVuA==:117 a=S6gQgrXzeH76ECG4GouVuA==:17 a=IkcTkHD0fZMA:10 a=qa6Q16uM49sA:10 a=FBHGMhGWAAAA:8 a=CXD3Ia8THAbdIFGYXEYA:9 a=QEXdDO2ut3YA:10 a=9gvnlMMaQFpL9xblJ6ne:22 X-CM-Envelope: MS4xfJfXTZ2kqPtZR/CuFCyzSUxxxjzBDrLGygd7rJCto5MiXJZyCjF2YSqN7PD+RBXhT4OYgJ7J9FSYoy69iL3vP2j4avt6kV823/axn4kKpdqW9LOcPlb2 aiVyauy5d2KI+QWzfMYFj+7gUeYYQN0q4PTUS4ZYj7m68uPFHeXkZfR2wjVARfyOwGni5yqDlPcl/A== Received-SPF: pass client-ip=184.150.200.208; envelope-from=dave.anglin@HIDDEN; helo=torfep02.bell.net X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-0.265, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) 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.6 (--) On 2020-12-12 5:21 p.m., John David Anglin wrote: > On 2020-12-12 4:26 p.m., John Paul Adrian Glaubitz wrote: >> I assume the crash has got something to do how values are packed and u= npacked >> into the SCM object type. I have not been able to find the problem yet= myself, >> unfortunately which is why I am reporting this issue here. > I see this in scm.h: > > /* The 0?: constructions makes sure that the code is never executed, an= d > =C2=A0=C2=A0 that there is no performance hit.=C2=A0 However, the alter= native is > =C2=A0=C2=A0 compiled, and does generate a warning when used with the w= rong > =C2=A0=C2=A0 pointer type.=C2=A0 We use a volatile pointer type to avoi= d warnings from > =C2=A0=C2=A0 clang. > > =C2=A0=C2=A0 The Tru64 and ia64-hp-hpux11.23 compilers fail on `case (0= ?0=3D0:x)' > =C2=A0=C2=A0 statements, so for them type-checking is disabled.=C2=A0 *= / > # if defined __DECC || defined __HP_cc > #=C2=A0 define SCM_UNPACK(x) ((scm_t_bits) (x)) > # else > #=C2=A0 define SCM_UNPACK(x) ((scm_t_bits) (0? (*(volatile SCM *)0=3D(x= )): x)) > # endif I don't believe this is a problem. We need to investigate why scm_sum is passed "x=3Dx@entry=3D0x0".=C2=A0=C2= =A0 SCM_BIGP (x) will fault on it. =C2=A0 Maybe SP_REF is broken. Regards, Dave --=20 John David Anglin dave.anglin@HIDDEN
X-Loop: help-debbugs@HIDDEN Subject: bug#45214: guile segfaults on 32-bit big-endian targets Resent-From: John David Anglin <dave.anglin@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guile@HIDDEN Resent-Date: Tue, 09 Feb 2021 13:04:02 +0000 Resent-Message-ID: <handler.45214.B.161287579123807 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 45214 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: glaubitz@HIDDEN, 45214 <at> debbugs.gnu.org X-Debbugs-Original-To: John Paul Adrian Glaubitz <glaubitz@HIDDEN>, bug-guile@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.161287579123807 (code B ref -1); Tue, 09 Feb 2021 13:04:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Feb 2021 13:03:11 +0000 Received: from localhost ([127.0.0.1]:52872 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1l9Sff-0006Bv-9u for submit <at> debbugs.gnu.org; Tue, 09 Feb 2021 08:03:11 -0500 Received: from lists.gnu.org ([209.51.188.17]:44802) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <dave.anglin@HIDDEN>) id 1l9Sfd-0006Bn-So for submit <at> debbugs.gnu.org; Tue, 09 Feb 2021 08:03:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58306) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <dave.anglin@HIDDEN>) id 1l9Sfd-0007rt-M7 for bug-guile@HIDDEN; Tue, 09 Feb 2021 08:03:09 -0500 Received: from belmont80srvr.owm.bell.net ([184.150.200.80]:55099 helo=mtlfep01.bell.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from <dave.anglin@HIDDEN>) id 1l9SfX-00013l-9R for bug-guile@HIDDEN; Tue, 09 Feb 2021 08:03:09 -0500 Received: from bell.net mtlfep01 184.150.200.30 by mtlfep01.bell.net with ESMTP id <20210209130302.TXJK120733.mtlfep01.bell.net@HIDDEN> for <bug-guile@HIDDEN>; Tue, 9 Feb 2021 08:03:02 -0500 Received: from [192.168.2.49] (really [70.50.109.22]) by mtlspm01.bell.net with ESMTP id <20210209130302.HOJX130487.mtlspm01.bell.net@[192.168.2.49]>; Tue, 9 Feb 2021 08:03:02 -0500 From: John David Anglin <dave.anglin@HIDDEN> References: <56553e87-ec27-d287-9e5b-fc501bc4b2dc@HIDDEN> <155f44c6-dda1-dec9-cc4c-b029a73e65d7@HIDDEN> <1aa5495b-71ed-d715-d253-b4e5675fabcb@HIDDEN> Message-ID: <8142cce6-de86-c258-0182-4f3309f358c1@HIDDEN> Date: Tue, 9 Feb 2021 08:03:02 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: <1aa5495b-71ed-d715-d253-b4e5675fabcb@HIDDEN> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US X-CM-Analysis: v=2.4 cv=cZIXElPM c=1 sm=1 tr=0 ts=60228806 a=S6gQgrXzeH76ECG4GouVuA==:117 a=S6gQgrXzeH76ECG4GouVuA==:17 a=IkcTkHD0fZMA:10 a=qa6Q16uM49sA:10 a=FBHGMhGWAAAA:8 a=u3lCqsiNwz7T-bsZW58A:9 a=QEXdDO2ut3YA:10 a=9gvnlMMaQFpL9xblJ6ne:22 X-CM-Envelope: MS4xfP7zvINGgWkwKqTQzAmlsXSzTZmYUfxo5SpeXA5uh99uyY8DBESz30Ew//4/26xgSg4DWksuPJ9IzPVyRKUga6mgYuLef0W7YB9MIBYK6zs9bZGJg5MC 2WRRS2X96UeGC5nMrdUWgNrs3mWz5NkENZcs/fJwgGesNLM1Uk3MNM5LPF+rjngZ5m7E75RNTYCHcQ== Received-SPF: pass client-ip=184.150.200.80; envelope-from=dave.anglin@HIDDEN; helo=mtlfep01.bell.net X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-0.265, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) 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.6 (--) On 2021-02-08 6:24 p.m., John David Anglin wrote: > We need to investigate why scm_sum is passed "x=x@entry=0x0". SCM_BIGP (x) will fault on it. Maybe SP_REF is broken. To be more specific, this is the type of sp: (gdb) ptype sp type = union scm_vm_stack_element { uintptr_t as_uint; uint32_t *as_vcode; uint8_t *as_mcode; SCM as_scm; double as_f64; uint64_t as_u64; int64_t as_s64; void *as_ptr; scm_t_bits as_bits; } * (gdb) p/x &((union scm_vm_stack_element *)$r26)[0].as_scm $11 = 0xf34147f0 (gdb) p/x &((union scm_vm_stack_element *)$r26)[1].as_scm $12 = 0xf34147f8 (gdb) x/x 0xf34147f0 0xf34147f0: 0x00000001 (gdb) x/x 0xf34147f8 0xf34147f8: 0x0090020d (gdb) p/x ((union scm_vm_stack_element *)$r26)[1].as_scm $13 = 0x90020d (gdb) p/x ((union scm_vm_stack_element *)$r26)[0].as_scm $14 = 0x1 (gdb) x/8x 0xf34147f0 0xf34147f0: 0x00000001 0x00002c56 0x0090020d 0x0000097c 0xf3414800: 0x00000007 0x00000c83 0x0000097d 0x000d007f There are endian aspects to consider in accessing the scm_vm_stack_element struct. Dave -- John David Anglin dave.anglin@HIDDEN
X-Loop: help-debbugs@HIDDEN Subject: bug#45214: guile segfaults on 32-bit big-endian targets Resent-From: Efraim Flashner <efraim@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guile@HIDDEN Resent-Date: Thu, 25 Feb 2021 15:26:02 +0000 Resent-Message-ID: <handler.45214.B.161426672418752 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 45214 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: John Paul Adrian Glaubitz <glaubitz@HIDDEN> Cc: 45214 <at> debbugs.gnu.org, deller@HIDDEN, dave.anglin@HIDDEN, schwab@HIDDEN, debian@HIDDEN X-Debbugs-Original-Cc: bug-guile@HIDDEN, Helge Deller <deller@HIDDEN>, John David Anglin <dave.anglin@HIDDEN>, Andreas Schwab <schwab@HIDDEN>, Michael Karcher <debian@HIDDEN> Received: via spool by submit <at> debbugs.gnu.org id=B.161426672418752 (code B ref -1); Thu, 25 Feb 2021 15:26:02 +0000 Received: (at submit) by debbugs.gnu.org; 25 Feb 2021 15:25:24 +0000 Received: from localhost ([127.0.0.1]:38997 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lFIW3-0004sO-LF for submit <at> debbugs.gnu.org; Thu, 25 Feb 2021 10:25:23 -0500 Received: from lists.gnu.org ([209.51.188.17]:46802) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <efraim@HIDDEN>) id 1lFIVz-0004sD-B6 for submit <at> debbugs.gnu.org; Thu, 25 Feb 2021 10:25:22 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46872) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <efraim@HIDDEN>) id 1lFIVz-0003FS-3O for bug-guile@HIDDEN; Thu, 25 Feb 2021 10:25:19 -0500 Received: from flashner.co.il ([178.62.234.194]:53794) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <efraim@HIDDEN>) id 1lFIVx-0003Jh-Ad for bug-guile@HIDDEN; Thu, 25 Feb 2021 10:25:18 -0500 Received: from localhost (unknown [31.210.181.184]) by flashner.co.il (Postfix) with ESMTPSA id E7C5C40413; Thu, 25 Feb 2021 15:24:43 +0000 (UTC) Date: Thu, 25 Feb 2021 17:24:04 +0200 From: Efraim Flashner <efraim@HIDDEN> Message-ID: <YDfBFMiMjps6gMKe@3900XT> References: <56553e87-ec27-d287-9e5b-fc501bc4b2dc@HIDDEN> <1c389d72-cbb7-888f-f1c1-d33fa2a1248b@HIDDEN> <cea08659-e08c-c3bc-f963-6e3f2c1d65be@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="WhETTxv4pBEJEh/t" Content-Disposition: inline In-Reply-To: <cea08659-e08c-c3bc-f963-6e3f2c1d65be@HIDDEN> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Received-SPF: pass client-ip=178.62.234.194; envelope-from=efraim@HIDDEN; helo=flashner.co.il X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) 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.3 (--) --WhETTxv4pBEJEh/t Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Dec 12, 2020 at 11:02:47PM +0100, John Paul Adrian Glaubitz wrote: > Hi! >=20 > On 12/12/20 11:00 PM, John David Anglin wrote: > > Trying to bisect. >=20 > Bisecting lead me to this which I guess is just painting over the real > problem: >=20 > (sid_powerpc-dchroot)glaubitz@perotto:~/guile-git$ git bisect good > a68c80c747a2a8ec92fa84684ebd60b4ecb7ffa0 is the first bad commit > commit a68c80c747a2a8ec92fa84684ebd60b4ecb7ffa0 > Author: Andy Wingo <wingo@HIDDEN> > Date: Mon May 11 15:22:29 2020 +0200 >=20 > Switch to baseline compiler for bootstrap/ >=20 > * bootstrap/Makefile.am (GUILE_OPTIMIZATIONS): Add -Ono-cps so that we > use the baseline compiler when bootstrapping. >=20 > bootstrap/Makefile.am | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > (sid_powerpc-dchroot)glaubitz@perotto:~/guile-git$ >=20 I came to the same conclusion when I tried to bisect the git repo between 3.0.2 and 3.0.3 on my powerpc machine. By reverting that commit I was able to build 44ad8fbde55df452ac1c88427662403e7af5b9bb (3.0.2-70, 6 commit later) but wasn't able to build 3.0.3. I started the build without any precompiled bootstrap .go files. --=20 Efraim Flashner <efraim@HIDDEN> =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --WhETTxv4pBEJEh/t Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmA3wRQACgkQQarn3Mo9 g1EX6xAAjs85GY/cZA3GxGXpP2TbM5DEzSiWIAZcanjy7kifbB2yrDvBgAd6rlly khKl+Azixo6rIXDF1JCOKzpB5oofN16kG5x/3zgo4/lAW+5SvrTgEqMk37CdjbFE 4jWLdczW1DmUEjbhxaf46GA+xJk1qvtHmb6tbgRR1kmGk/Bpj+Y8I7nsB8664dTX hNRESpT95yNr0PIdqve2LnCjlvJk+3eEZfAG0lw03OkKG3QlzFtzLHy8DdqEyJsD RjSwYa7jKVITXnA7GqgMMY+YwEwkozUt7IC+oM1rNMTxkZoZ6rDbygBvG4MyFq4Q +o636XM/w27xV4svJmlANVXf/ic2bFgRqSmkaqg0TMOW4QQ60z6roKPDTI+ijpoJ a0fB5k3C/3tNPgj84obTHBMvVkWnMCGkpR0s9z0jhANzxf7NqzJtbsrU/sahekzv GnOVizcv8AclzbYwhAtIoZAzG1wSOcq4WYYLh7Ju9VVKPZQ04UN793yXxO7jlELG mDC9s9kX53SYk2iS8TJyBNWb1LaKxI7lsV3qUqB3b5DLfK9uzIiJciVbNg6nzWUi H/spFKNBfKah+4uWu8sb//7rTikcATHGqzgzGvWNIPNgWQQm7OFQCs+dKMBBijfS 2UXnm61HnnluIhCcD+j3dbFZHxMnwNFL8t+tO8Vxa70Mmg1/DPo= =QMYk -----END PGP SIGNATURE----- --WhETTxv4pBEJEh/t--
X-Loop: help-debbugs@HIDDEN Subject: bug#45214: guile segfaults on 32-bit big-endian targets Resent-From: Efraim Flashner <efraim@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guile@HIDDEN Resent-Date: Wed, 14 Apr 2021 14:20:01 +0000 Resent-Message-ID: <handler.45214.B.16184099775277 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 45214 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: John Paul Adrian Glaubitz <glaubitz@HIDDEN> Cc: 45214 <at> debbugs.gnu.org, deller@HIDDEN, dave.anglin@HIDDEN, schwab@HIDDEN, debian@HIDDEN X-Debbugs-Original-Cc: bug-guile@HIDDEN, Helge Deller <deller@HIDDEN>, John David Anglin <dave.anglin@HIDDEN>, Andreas Schwab <schwab@HIDDEN>, Michael Karcher <debian@HIDDEN> Received: via spool by submit <at> debbugs.gnu.org id=B.16184099775277 (code B ref -1); Wed, 14 Apr 2021 14:20:01 +0000 Received: (at submit) by debbugs.gnu.org; 14 Apr 2021 14:19:37 +0000 Received: from localhost ([127.0.0.1]:35434 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lWgMe-0001Mx-Kh for submit <at> debbugs.gnu.org; Wed, 14 Apr 2021 10:19:37 -0400 Received: from lists.gnu.org ([209.51.188.17]:33876) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <efraim@HIDDEN>) id 1lWgMc-0001Mp-J7 for submit <at> debbugs.gnu.org; Wed, 14 Apr 2021 10:19:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39036) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <efraim@HIDDEN>) id 1lWgMc-0004Xy-9c for bug-guile@HIDDEN; Wed, 14 Apr 2021 10:19:30 -0400 Received: from flashner.co.il ([178.62.234.194]:57324) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <efraim@HIDDEN>) id 1lWgMW-0007P4-15 for bug-guile@HIDDEN; Wed, 14 Apr 2021 10:19:30 -0400 Received: from localhost (unknown [31.210.177.71]) by flashner.co.il (Postfix) with ESMTPSA id 20BF14027B; Wed, 14 Apr 2021 14:19:22 +0000 (UTC) Date: Wed, 14 Apr 2021 17:18:36 +0300 From: Efraim Flashner <efraim@HIDDEN> Message-ID: <YHb5vOs0bS+bjA5+@3900XT> Mail-Followup-To: Efraim Flashner <efraim@HIDDEN>, John Paul Adrian Glaubitz <glaubitz@HIDDEN>, bug-guile@HIDDEN, Helge Deller <deller@HIDDEN>, John David Anglin <dave.anglin@HIDDEN>, Andreas Schwab <schwab@HIDDEN>, Michael Karcher <debian@HIDDEN> References: <56553e87-ec27-d287-9e5b-fc501bc4b2dc@HIDDEN> <1c389d72-cbb7-888f-f1c1-d33fa2a1248b@HIDDEN> <cea08659-e08c-c3bc-f963-6e3f2c1d65be@HIDDEN> <YDfBFMiMjps6gMKe@3900XT> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="CWY2irFopi33MQ9x" Content-Disposition: inline In-Reply-To: <YDfBFMiMjps6gMKe@3900XT> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Received-SPF: pass client-ip=178.62.234.194; envelope-from=efraim@HIDDEN; helo=flashner.co.il X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) 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.3 (--) --CWY2irFopi33MQ9x Content-Type: multipart/mixed; boundary="R4Yxeg9Ii6E9Ek5G" Content-Disposition: inline --R4Yxeg9Ii6E9Ek5G Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 25, 2021 at 05:24:04PM +0200, Efraim Flashner wrote: > On Sat, Dec 12, 2020 at 11:02:47PM +0100, John Paul Adrian Glaubitz wrote: > > Hi! > >=20 > > On 12/12/20 11:00 PM, John David Anglin wrote: > > > Trying to bisect. > >=20 > > Bisecting lead me to this which I guess is just painting over the real > > problem: > >=20 > > (sid_powerpc-dchroot)glaubitz@perotto:~/guile-git$ git bisect good > > a68c80c747a2a8ec92fa84684ebd60b4ecb7ffa0 is the first bad commit > > commit a68c80c747a2a8ec92fa84684ebd60b4ecb7ffa0 > > Author: Andy Wingo <wingo@HIDDEN> > > Date: Mon May 11 15:22:29 2020 +0200 > >=20 > > Switch to baseline compiler for bootstrap/ > >=20 > > * bootstrap/Makefile.am (GUILE_OPTIMIZATIONS): Add -Ono-cps so that= we > > use the baseline compiler when bootstrapping. > >=20 > > bootstrap/Makefile.am | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > (sid_powerpc-dchroot)glaubitz@perotto:~/guile-git$ > >=20 >=20 > I came to the same conclusion when I tried to bisect the git repo > between 3.0.2 and 3.0.3 on my powerpc machine. By reverting that commit > I was able to build 44ad8fbde55df452ac1c88427662403e7af5b9bb (3.0.2-70, > 6 commit later) but wasn't able to build 3.0.3. I started the build > without any precompiled bootstrap .go files. >=20 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. --=20 Efraim Flashner <efraim@HIDDEN> =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --R4Yxeg9Ii6E9Ek5G Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0002-gnu-guile-3.0-Fix-building-on-powerpc-linux.patch" Content-Transfer-Encoding: quoted-printable =46rom c11ad7faa3690b2dfef924a31137f6ced5aab23f Mon Sep 17 00:00:00 2001 Message-Id: <c11ad7faa3690b2dfef924a31137f6ced5aab23f.1617711307.git.efraim= @flashner.co.il> In-Reply-To: <cover.1617711307.git.efraim@HIDDEN> References: <cover.1617711307.git.efraim@HIDDEN> =46rom: Efraim Flashner <efraim@HIDDEN> Date: Mon, 8 Mar 2021 22:13:56 +0200 Subject: [PATCH 2/9] gnu: guile-3.0: Fix building on powerpc-linux. * gnu/packages/guile.scm (guile-3.0)[arguments]: On powerpc add two phases to adjust for 32-bit big-endian systems. --- gnu/packages/guile.scm | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm index f63322794d..dca1b1c16f 100644 --- a/gnu/packages/guile.scm +++ b/gnu/packages/guile.scm @@ -305,7 +305,26 @@ without requiring the source code to be rewritten.") (substitute-keyword-arguments (package-arguments guile-2.2) ((#:configure-flags flags ''()) `(cons "--disable-jit" ,flags))) - (package-arguments guile-2.2))) + (if (string-prefix? "powerpc-" (%current-system)) + (substitute-keyword-arguments (package-arguments guile-2.2) + ((#:phases phases) + `(modify-phases ,phases + (add-after 'unpack 'adjust-bootstrap-flags + (lambda _ + ;; Upstream not yet notified about suggested solution. + ;; See existing bug reports: + ;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D45= 214 + ;; https://bugs.debian.org/cgi-bin/bugreport.cgi?bug= =3D977223 + (substitute* "bootstrap/Makefile.in" + (("^GUILE_OPTIMIZATIONS.*") + "GUILE_OPTIMIZATIONS =3D -O1 -Oresolve-primitives = -Ocps\n")) + #t)) + (add-after 'unpack 'remove-failing-tests + (lambda _ + ;; TODO: Discover why this test fails on powerpc-linux + (delete-file "test-suite/standalone/test-out-of-memor= y") + #t))))) + (package-arguments guile-2.2)))) (native-search-paths (list (search-path-specification (variable "GUILE_LOAD_PATH") --=20 2.31.1 --R4Yxeg9Ii6E9Ek5G-- --CWY2irFopi33MQ9x Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmB2+bwACgkQQarn3Mo9 g1FljQ//Y+wGjBmpvPGRkCQ3o0o+ql5TLyyvhMd0nj4ZEpM0iRvo4Bc/2xZzwMFl Wu1+4BFqEffFPVLF2VH/NQS2/4Tugn39AtIlnyTBdpnEBYgVTLuUeIBD/mlNR8ip wYAtXARpcXvReWDkq7IswsDQHuZGsyJYQgEASs4WtvWe1UZKylqDxsw7uniE713j N4mbsK9rQOGmgdrJ68WYaLe+8R+Jbn1zx5FlczPUWKl858YT0BfZgrrXslJMV8lJ erU81mkM3C77VkSoL89CdKECe9+i7E3b0f6IFi0k0c7STz6kAXFuCOEA91raQDBk SRgvqtYbIMlEoIM4K6w4ITenR64yeQRgHzjqzm6NAv2S2UusmxDoMLM99KET2A0W 5TQXi3pXwp4mFFnkMVVN8T4EpXQNR3RBU7tiisfXH0pG1EQIfea/4QrQdccAOMhb VGjd5gnTg1Z6UzHTMqUFCErebbiTZ4ZPhLsnT0QoFRGiCNK/xE52X5K4xdQRTGQb 8+rZWUCQIAqDfctR/XT14PEGFiNlHXNQC3utd2NP0BfgrUhvrWrtWbsofGU3M0gW Ven+Ddq9ylinQWiqXYSHmLnPlqCv4wlD7KX2jzgKK2Ak1cMBAYsS9QrixsdfEDC+ 2vE9mXoAsKh8GUxOYLfG17Sn/+iFR676bdrxBo6qitn6Q485n7k= =KxII -----END PGP SIGNATURE----- --CWY2irFopi33MQ9x--
X-Loop: help-debbugs@HIDDEN Subject: bug#45214: guile segfaults on 32-bit big-endian targets Resent-From: John Paul Adrian Glaubitz <glaubitz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guile@HIDDEN Resent-Date: Wed, 14 Apr 2021 19:21:01 +0000 Resent-Message-ID: <handler.45214.B.16184280279425 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 45214 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: efraim@HIDDEN, 45214 <at> debbugs.gnu.org, deller@HIDDEN, dave.anglin@HIDDEN, schwab@HIDDEN, debian@HIDDEN X-Debbugs-Original-To: Efraim Flashner <efraim@HIDDEN>, bug-guile@HIDDEN, Helge Deller <deller@HIDDEN>, John David Anglin <dave.anglin@HIDDEN>, Andreas Schwab <schwab@HIDDEN>, Michael Karcher <debian@HIDDEN> Received: via spool by submit <at> debbugs.gnu.org id=B.16184280279425 (code B ref -1); Wed, 14 Apr 2021 19:21:01 +0000 Received: (at submit) by debbugs.gnu.org; 14 Apr 2021 19:20:27 +0000 Received: from localhost ([127.0.0.1]:35749 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lWl3r-0002Rw-Gy for submit <at> debbugs.gnu.org; Wed, 14 Apr 2021 15:20:27 -0400 Received: from lists.gnu.org ([209.51.188.17]:35348) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <glaubitz@HIDDEN>) id 1lWl3p-0002Ro-3E for submit <at> debbugs.gnu.org; Wed, 14 Apr 2021 15:20:27 -0400 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 <glaubitz@HIDDEN>) id 1lWl3o-0002iz-D9 for bug-guile@HIDDEN; Wed, 14 Apr 2021 15:20:24 -0400 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 <glaubitz@HIDDEN>) id 1lWl3g-0003YY-VL for bug-guile@HIDDEN; Wed, 14 Apr 2021 15:20:22 -0400 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 <glaubitz@HIDDEN>) id 1lWl3I-000tFZ-VB; Wed, 14 Apr 2021 21:19:52 +0200 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 <glaubitz@HIDDEN>) id 1lWl3I-0030Te-K6; Wed, 14 Apr 2021 21:19:52 +0200 References: <56553e87-ec27-d287-9e5b-fc501bc4b2dc@HIDDEN> <1c389d72-cbb7-888f-f1c1-d33fa2a1248b@HIDDEN> <cea08659-e08c-c3bc-f963-6e3f2c1d65be@HIDDEN> <YDfBFMiMjps6gMKe@3900XT> <YHb5vOs0bS+bjA5+@3900XT> From: John Paul Adrian Glaubitz <glaubitz@HIDDEN> Message-ID: <a45969eb-9c92-1dc3-1d65-3d9db62f4952@HIDDEN> Date: Wed, 14 Apr 2021 21:19:51 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: <YHb5vOs0bS+bjA5+@3900XT> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Original-Sender: glaubitz@HIDDEN X-Originating-IP: 91.19.170.164 Received-SPF: pass client-ip=130.133.4.66; envelope-from=glaubitz@HIDDEN; 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-Spam-Score: -1.6 (-) 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.6 (--) 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@HIDDEN `. `' Freie Universitaet Berlin - glaubitz@HIDDEN `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
X-Loop: help-debbugs@HIDDEN Subject: bug#45214: guile segfaults on 32-bit big-endian targets Resent-From: Efraim Flashner <efraim@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guile@HIDDEN Resent-Date: Thu, 15 Apr 2021 13:17:01 +0000 Resent-Message-ID: <handler.45214.B.16184925841105 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 45214 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: John Paul Adrian Glaubitz <glaubitz@HIDDEN> Cc: 45214 <at> debbugs.gnu.org, deller@HIDDEN, dave.anglin@HIDDEN, schwab@HIDDEN, debian@HIDDEN X-Debbugs-Original-Cc: bug-guile@HIDDEN, Helge Deller <deller@HIDDEN>, John David Anglin <dave.anglin@HIDDEN>, Andreas Schwab <schwab@HIDDEN>, Michael Karcher <debian@HIDDEN> Received: via spool by submit <at> debbugs.gnu.org id=B.16184925841105 (code B ref -1); Thu, 15 Apr 2021 13:17:01 +0000 Received: (at submit) by debbugs.gnu.org; 15 Apr 2021 13:16:24 +0000 Received: from localhost ([127.0.0.1]:36744 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lX1r6-0000Hl-K8 for submit <at> debbugs.gnu.org; Thu, 15 Apr 2021 09:16:24 -0400 Received: from lists.gnu.org ([209.51.188.17]:34720) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <efraim@HIDDEN>) id 1lX1r2-0000Hb-Rl for submit <at> debbugs.gnu.org; Thu, 15 Apr 2021 09:16:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59294) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <efraim@HIDDEN>) id 1lX1r2-00017L-KK for bug-guile@HIDDEN; Thu, 15 Apr 2021 09:16:20 -0400 Received: from flashner.co.il ([178.62.234.194]:35694) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <efraim@HIDDEN>) id 1lX1qz-0000Uy-1g for bug-guile@HIDDEN; Thu, 15 Apr 2021 09:16:20 -0400 Received: from localhost (unknown [31.210.177.125]) by flashner.co.il (Postfix) with ESMTPSA id 8F0CB40413; Thu, 15 Apr 2021 13:16:15 +0000 (UTC) Date: Thu, 15 Apr 2021 14:50:16 +0300 From: Efraim Flashner <efraim@HIDDEN> Message-ID: <YHgoeLO+EtqpPI8o@3900XT> Mail-Followup-To: Efraim Flashner <efraim@HIDDEN>, John Paul Adrian Glaubitz <glaubitz@HIDDEN>, bug-guile@HIDDEN, Helge Deller <deller@HIDDEN>, John David Anglin <dave.anglin@HIDDEN>, Andreas Schwab <schwab@HIDDEN>, Michael Karcher <debian@HIDDEN> References: <56553e87-ec27-d287-9e5b-fc501bc4b2dc@HIDDEN> <1c389d72-cbb7-888f-f1c1-d33fa2a1248b@HIDDEN> <cea08659-e08c-c3bc-f963-6e3f2c1d65be@HIDDEN> <YDfBFMiMjps6gMKe@3900XT> <YHb5vOs0bS+bjA5+@3900XT> <a45969eb-9c92-1dc3-1d65-3d9db62f4952@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ZJ2SlqpfWjw2osS4" Content-Disposition: inline In-Reply-To: <a45969eb-9c92-1dc3-1d65-3d9db62f4952@HIDDEN> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Received-SPF: pass client-ip=178.62.234.194; envelope-from=efraim@HIDDEN; helo=flashner.co.il X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) 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.3 (--) --ZJ2SlqpfWjw2osS4 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 14, 2021 at 09:19:51PM +0200, John Paul Adrian Glaubitz wrote: > Hi1 >=20 > 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. > >=20 > > 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. >=20 > 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? >=20 Guix doesn't target those platforms so it's not something that I've had the chance to test yet. --=20 Efraim Flashner <efraim@HIDDEN> =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --ZJ2SlqpfWjw2osS4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmB4KHUACgkQQarn3Mo9 g1FTRQ//S6Bx8PTqnB1GpEe8zhwXmezu40Kj46l40nEtZjtbFXjb9DL90hsLlGir hB7DzK3GdIWMxu0GHR4TX4RdZlquQq2A+LtQcw0cuCeuhlHm3MyJH1xNUMyaAExK TgV9ISEjZC+jI0kWKmmIvD0pyu9ChiORwGdqWKSDoT1Yr69rWJn33pv3xWDkqTMN +X8j2xkBnZh9O5BrWD4iKNeRiUyDV3EtSgi2OKX87oDcUPOYyOTjq0mKWzTpvyNR k0b6Pb9cw2c/NnH9DxgotLRZs+Ky9vz1OBKCZtAa7nYsc7DYB5dTuj+BC5IJNlio mKSmY5gkHQPRGWw9tYFJw/EuWVPz+FaaWUnLyXRwtjEsmo8IjVj2mN54/39QwZ41 AnymQpdeFjvT+k/DvTLZxWtZvic5iwIFDgeDfxQBruaew5Ik63KUzRiXn8NHi9ye +SR6AKNCdo1cR7hvPBGF0WboldEBS8Av8HI+VlDI3dZB80XbvjF1tM7kOg4VWv/+ XAivNbPJQAUftK9cK3J5AGmqMlbamN8/gVyieGhiw09ia1XZeWPF5iSYT8lovdtb AAa76XOzpPqTjpf8d64VBcBzKmdaU/At8S9lXNk7sBuAno9rtbSR2jtnUl0dU5G7 WB6gINBZoXBW+aAR8osYNXoHf2GaMtlfXn53GeY1ZMYx2vpOq4Q= =OsG3 -----END PGP SIGNATURE----- --ZJ2SlqpfWjw2osS4--
X-Loop: help-debbugs@HIDDEN Subject: bug#45214: guile segfaults on 32-bit big-endian targets Resent-From: John Paul Adrian Glaubitz <glaubitz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guile@HIDDEN Resent-Date: Thu, 15 Apr 2021 13:24:01 +0000 Resent-Message-ID: <handler.45214.B.16184930161884 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 45214 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: efraim@HIDDEN, 45214 <at> debbugs.gnu.org, deller@HIDDEN, dave.anglin@HIDDEN, schwab@HIDDEN, debian@HIDDEN X-Debbugs-Original-To: Efraim Flashner <efraim@HIDDEN>, bug-guile@HIDDEN, Helge Deller <deller@HIDDEN>, John David Anglin <dave.anglin@HIDDEN>, Andreas Schwab <schwab@HIDDEN>, Michael Karcher <debian@HIDDEN> Received: via spool by submit <at> debbugs.gnu.org id=B.16184930161884 (code B ref -1); Thu, 15 Apr 2021 13:24:01 +0000 Received: (at submit) by debbugs.gnu.org; 15 Apr 2021 13:23:36 +0000 Received: from localhost ([127.0.0.1]:36761 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lX1y3-0000UK-Em for submit <at> debbugs.gnu.org; Thu, 15 Apr 2021 09:23:35 -0400 Received: from lists.gnu.org ([209.51.188.17]:41842) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <glaubitz@HIDDEN>) id 1lX1y0-0000UC-Sx for submit <at> debbugs.gnu.org; Thu, 15 Apr 2021 09:23:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34240) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <glaubitz@HIDDEN>) id 1lX1y0-0004bV-Ng for bug-guile@HIDDEN; Thu, 15 Apr 2021 09:23:32 -0400 Received: from outpost1.zedat.fu-berlin.de ([130.133.4.66]:38837) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <glaubitz@HIDDEN>) id 1lX1xo-0004uM-4D for bug-guile@HIDDEN; Thu, 15 Apr 2021 09:23:32 -0400 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 <glaubitz@HIDDEN>) id 1lX1xi-002cV8-6X; Thu, 15 Apr 2021 15:23:14 +0200 Received: from suse-laptop.physik.fu-berlin.de ([160.45.32.140]) by inpost2.zedat.fu-berlin.de (Exim 4.94) with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (envelope-from <glaubitz@HIDDEN>) id 1lX1xh-0010cl-TK; Thu, 15 Apr 2021 15:23:14 +0200 References: <56553e87-ec27-d287-9e5b-fc501bc4b2dc@HIDDEN> <1c389d72-cbb7-888f-f1c1-d33fa2a1248b@HIDDEN> <cea08659-e08c-c3bc-f963-6e3f2c1d65be@HIDDEN> <YDfBFMiMjps6gMKe@3900XT> <YHb5vOs0bS+bjA5+@3900XT> <a45969eb-9c92-1dc3-1d65-3d9db62f4952@HIDDEN> <YHgoeLO+EtqpPI8o@3900XT> From: John Paul Adrian Glaubitz <glaubitz@HIDDEN> Message-ID: <5eb44f6b-016e-421c-2dff-569c97739471@HIDDEN> Date: Thu, 15 Apr 2021 15:23:12 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: <YHgoeLO+EtqpPI8o@3900XT> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Original-Sender: glaubitz@HIDDEN X-Originating-IP: 160.45.32.140 Received-SPF: pass client-ip=130.133.4.66; envelope-from=glaubitz@HIDDEN; 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-Spam-Score: -1.6 (-) 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.6 (--) On 4/15/21 1:50 PM, Efraim Flashner wrote: >> 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? >> > > Guix doesn't target those platforms so it's not something that I've had > the chance to test yet. OK, I'll try a modified version of your patch on Debian and see if it helps. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaubitz@HIDDEN `. `' Freie Universitaet Berlin - glaubitz@HIDDEN `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
X-Loop: help-debbugs@HIDDEN Subject: bug#45214: guile segfaults on 32-bit big-endian targets Resent-From: John Paul Adrian Glaubitz <glaubitz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guile@HIDDEN Resent-Date: Sun, 03 Oct 2021 09:40:01 +0000 Resent-Message-ID: <handler.45214.B.163325397811774 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 45214 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: efraim@HIDDEN, 45214 <at> debbugs.gnu.org, deller@HIDDEN, dave.anglin@HIDDEN, schwab@HIDDEN, debian@HIDDEN X-Debbugs-Original-To: Efraim Flashner <efraim@HIDDEN>, bug-guile@HIDDEN, Helge Deller <deller@HIDDEN>, John David Anglin <dave.anglin@HIDDEN>, Andreas Schwab <schwab@HIDDEN>, Michael Karcher <debian@HIDDEN> Received: via spool by submit <at> debbugs.gnu.org id=B.163325397811774 (code B ref -1); Sun, 03 Oct 2021 09:40:01 +0000 Received: (at submit) by debbugs.gnu.org; 3 Oct 2021 09:39:38 +0000 Received: from localhost ([127.0.0.1]:32821 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mWxy5-00033q-PB for submit <at> debbugs.gnu.org; Sun, 03 Oct 2021 05:39:37 -0400 Received: from lists.gnu.org ([209.51.188.17]:40370) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <glaubitz@HIDDEN>) id 1mWxy4-00033j-6j for submit <at> debbugs.gnu.org; Sun, 03 Oct 2021 05:39:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50014) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <glaubitz@HIDDEN>) id 1mWxy3-0002fo-Vs for bug-guile@HIDDEN; Sun, 03 Oct 2021 05:39:36 -0400 Received: from outpost1.zedat.fu-berlin.de ([130.133.4.66]:52847) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <glaubitz@HIDDEN>) id 1mWxxo-00043c-CN for bug-guile@HIDDEN; Sun, 03 Oct 2021 05:39:35 -0400 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 <glaubitz@HIDDEN>) id 1mWxxS-000UcW-Fn; Sun, 03 Oct 2021 11:38:58 +0200 Received: from p57bd97e9.dip0.t-ipconnect.de ([87.189.151.233] helo=[192.168.178.81]) by inpost2.zedat.fu-berlin.de (Exim 4.94) with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (envelope-from <glaubitz@HIDDEN>) id 1mWxxR-001YUv-O4; Sun, 03 Oct 2021 11:38:58 +0200 Message-ID: <be3b4d23-123c-1009-e3d0-cb61fa72fc4a@HIDDEN> Date: Sun, 3 Oct 2021 11:38:55 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.1 Content-Language: en-US References: <56553e87-ec27-d287-9e5b-fc501bc4b2dc@HIDDEN> <1c389d72-cbb7-888f-f1c1-d33fa2a1248b@HIDDEN> <cea08659-e08c-c3bc-f963-6e3f2c1d65be@HIDDEN> <YDfBFMiMjps6gMKe@3900XT> <YHb5vOs0bS+bjA5+@3900XT> From: John Paul Adrian Glaubitz <glaubitz@HIDDEN> In-Reply-To: <YHb5vOs0bS+bjA5+@3900XT> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Original-Sender: glaubitz@HIDDEN X-Originating-IP: 87.189.151.233 Received-SPF: pass client-ip=130.133.4.66; envelope-from=glaubitz@HIDDEN; helo=outpost1.zedat.fu-berlin.de X-Spam_score_int: -32 X-Spam_score: -3.3 X-Spam_bar: --- X-Spam_report: (-3.3 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-1.413, SPF_HELO_NONE=0.001, T_SPF_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.7 (-) 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.7 (--) Hi Efraim! On 4/14/21 16:18, 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. I can confirm that adding "-Oresolve-primitives -Ocps" to GUILE_OPTIMIZATIONS in bootstrap/Makefile.am fixes the problem for me on 32-bit PowerPC on Debian. I will have to figure out how to add "-Oresolve-primitives -Ocps" on 32-bit big-endian conditionally so that it is not passed for other architectures. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaubitz@HIDDEN `. `' Freie Universitaet Berlin - glaubitz@HIDDEN `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.