GNU bug report logs - #24131
A problem with CPS

Previous Next

Package: guile;

Reported by: Tommi Höynälänmaa <tommi.hoynalanmaa <at> gmail.com>

Date: Tue, 2 Aug 2016 12:47:02 UTC

Severity: normal

Done: Andy Wingo <wingo <at> pobox.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 24131 in the body.
You can then email your comments to 24131 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guile <at> gnu.org:
bug#24131; Package guile. (Tue, 02 Aug 2016 12:47:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tommi Höynälänmaa <tommi.hoynalanmaa <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Tue, 02 Aug 2016 12:47:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tommi Höynälänmaa <tommi.hoynalanmaa <at> gmail.com>
To: bug-guile <at> gnu.org
Subject: A problem with CPS
Date: Tue, 2 Aug 2016 15:46:42 +0300
[Message part 1 (text/plain, inline)]
I get the following error:
---cut here---
tohoyn <at> tohoyn-laptop:~/src/guile-2.1.3/guile-2.1.3.92-d2684/omat$
../meta/uninstalled-env guild compile -t cps hello.scm
Backtrace:
          13 (apply-smob/1 #<catch-closure 2739c20>)
In ice-9/boot-9.scm:
    704:2 12 (call-with-prompt _ _ #<procedure default-prompt-handle…>)
In ice-9/eval.scm:
    608:8 11 (_ #(#(#<directory (guile-user) 2740f30>)))
In /home/tohoyn/src/guile-2.1.3/guile-2.1.3.92-d2684/meta/guild:
    72:17 10 (main _)
In srfi/srfi-1.scm:
    640:9  9 (for-each1 ("hello.scm"))
In scripts/compile.scm:
   251:26  8 (_ _)
In system/base/target.scm:
     57:6  7 (with-target _ _)
In system/base/compile.scm:
    152:6  6 (compile-file _ #:output-file _ #:from _ #:to _ #:env _ …)
     43:4  5 (call-once _)
In ice-9/boot-9.scm:
    829:4  4 (with-throw-handler _ _ _)
In system/base/compile.scm:
    59:11  3 (_)
In language/cps/spec.scm:
     28:9  2 (write-cps #<intmap 0-40> _)
In unknown file:
           1 (scm-error misc-error #f "~A ~S" ("unexpected cps" #) #f)
In ice-9/boot-9.scm:
   753:26  0 (dispatch-exception _ _ _)

ice-9/boot-9.scm:753:26: In procedure dispatch-exception:
ice-9/boot-9.scm:753:26: unexpected cps #<intmap 0-40>
tohoyn <at> tohoyn-laptop:~/src/guile-2.1.3/guile-2.1.3.92-d2684/omat$
---cut here---
when I try to compile a guile Scheme program to CPS. The contents to file
hello.scm are:
---cut here---

(define (main args)
  (display "Hello")
  (newline))
---cut here---

I use guile-2.1.3.92-d2684 without installing it. I also have guile version
2.0.11 installed.

     - Tommi Höynälänmaa
[Message part 2 (text/html, inline)]

Reply sent to Andy Wingo <wingo <at> pobox.com>:
You have taken responsibility. (Wed, 01 Mar 2017 08:53:02 GMT) Full text and rfc822 format available.

Notification sent to Tommi Höynälänmaa <tommi.hoynalanmaa <at> gmail.com>:
bug acknowledged by developer. (Wed, 01 Mar 2017 08:53:02 GMT) Full text and rfc822 format available.

Message #10 received at 24131-done <at> debbugs.gnu.org (full text, mbox):

From: Andy Wingo <wingo <at> pobox.com>
To: Tommi Höynälänmaa <tommi.hoynalanmaa <at> gmail.com>
Cc: 24131-done <at> debbugs.gnu.org
Subject: Re: bug#24131: A problem with CPS
Date: Wed, 01 Mar 2017 09:52:31 +0100
On Tue 02 Aug 2016 14:46, Tommi Höynälänmaa <tommi.hoynalanmaa <at> gmail.com> writes:

> tohoyn <at> tohoyn-laptop:~/src/guile-2.1.3/guile-2.1.3.92-d2684/omat$ ../meta/uninstalled-env guild compile -t cps hello.scm

This is fixed in git and will be out in the next prerelease.  Thanks for
your bug report :)

Andy




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 29 Mar 2017 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 84 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.