From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Roel Janssen Newsgroups: gmane.lisp.guile.bugs Subject: bug#39997: High CPU load and no return value with 3.0.0 Date: Wed, 11 Mar 2020 15:11:48 +0100 Message-ID: <50786c56cd6b9632cdfb6e2c2f95e97c1758591d.camel@gnu.org> References: <1dc6670b0cd28fb5a899fdf7afe0624007747c81.camel@gnu.org> <87eetzm9oq.fsf@gnu.org> <8736afj8aw.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="25240"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.34.4 (3.34.4-1.fc31) Cc: 39997-close@debbugs.gnu.org To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Wed Mar 11 15:22:26 2020 Return-path: Envelope-to: guile-bugs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jC2Fd-0006PI-Qn for guile-bugs@m.gmane-mx.org; Wed, 11 Mar 2020 15:22:25 +0100 Original-Received: from localhost ([::1]:53308 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jC2Fc-0007zm-LJ for guile-bugs@m.gmane-mx.org; Wed, 11 Mar 2020 10:22:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41544) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jC25b-00057w-Pj for bug-guile@gnu.org; Wed, 11 Mar 2020 10:12:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jC25a-0002mR-M6 for bug-guile@gnu.org; Wed, 11 Mar 2020 10:12:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49300) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jC25a-0002lv-Ht for bug-guile@gnu.org; Wed, 11 Mar 2020 10:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jC25a-00063a-Dy for bug-guile@gnu.org; Wed, 11 Mar 2020 10:12:02 -0400 Resent-From: Roel Janssen Original-Sender: "Debbugs-submit" Resent-To: bug-guile@gnu.org Resent-Date: Wed, 11 Mar 2020 14:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 39997 X-GNU-PR-Package: guile Mail-Followup-To: 39997@debbugs.gnu.org, roel@gnu.org, roel@gnu.org Original-Received: via spool by 39997-done@debbugs.gnu.org id=D39997.158393591823267 (code D ref 39997); Wed, 11 Mar 2020 14:12:02 +0000 Original-Received: (at 39997-close) by debbugs.gnu.org; 11 Mar 2020 14:11:58 +0000 Original-Received: from localhost ([127.0.0.1]:55272 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jC25W-00063C-JG for submit@debbugs.gnu.org; Wed, 11 Mar 2020 10:11:58 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:54611) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jC25V-000631-5L for 39997-close@debbugs.gnu.org; Wed, 11 Mar 2020 10:11:57 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60680) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jC25P-0002Em-UB; Wed, 11 Mar 2020 10:11:52 -0400 Original-Received: from ip-80-113-14-101.ip.prioritytelecom.net ([80.113.14.101]:62560 helo=redstone) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jC25O-0005Lx-Nq; Wed, 11 Mar 2020 10:11:51 -0400 In-Reply-To: <8736afj8aw.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.io gmane.lisp.guile.bugs:9649 Archived-At: On Wed, 2020-03-11 at 15:05 +0100, Ludovic Courtès wrote: > Roel Janssen skribis: > > > On Wed, 2020-03-11 at 12:07 +0100, Ludovic Courtès wrote: > > [...] > > > > The Guix package has this patch: > > > > > > '(begin > > > ;; Work around miscompilation on Guile 3.0.0 at -O2: > > > ;; ;;. > > > (substitute* "src/md5.scm" > > > (("\\(define f-ash ash\\)") > > > "(define f-ash (@ (guile) ash))\n") > > > (("\\(define f-add \\+\\)") > > > "(define f-add (@ (guile) +))\n")) > > > #t) > > > > > > It’s very likely that you’re hitting this problem. > > > > Yes! Thanks for sharing this fix. > > I applied the same changes to my code and now I don't encounter the > > bug > > anymore. > > > > I tested the patched code with both guile-2.2 and guile-3.0. Do > > you > > know whether this will also work with guile-2.0? (I'd like to keep > > things compatible with guile-2.0 for a few more years). > > Yes, the change above also works for Guile 2.0. Thanks for the confirmation. I'm closing this bug, as it is basically a duplicate of #39251. Kind regards, Roel Janssen