Re: Multiple Values and GC

Basile Starynkevitch <[email protected]> Wed, 15 Sep 2021 18:39:11 +0200
Newsgroups gmane.lisp.scheme.bigloo
Message-ID <[email protected]>
On 15/09/2021 18:27, Joseph Donaldson wrote:
> Hello, Manuel,
>
> In building the tarball from 09/15/2021 and enabling the jvm build, I 
> see the following error:
>
>         /home/jwd/bigloo_srcs/bigloo-unstable/bin/bigloo.sh -target
>         jvm -jfile .jfile -L
>         /home/jwd/bigloo_srcs/bigloo-unstable/lib/bigloo/4.4c -srfi
>         enable-resolv -srfi enable-unistring -srfi enable-pcre2 -srfi
>         enable-gmp  -unsafe -q -mkheap -mklib -s -no-hello \
>                            Llib/make_lib.scm -heap bigloo.jheap
>
>         File "Llib/error.scm", line 1420, character 54085:
>         #   ($env-get-error-handler env))
>         #   ^
>         *** ERROR:env-get-error-handler
>         Unbound variable -- $env-get-error-handler
>
>         File "Llib/error.scm", line 1408, character 53497:
>         #   ($env-set-error-handler! env ehdl))
>         #   ^
>         *** ERROR:env-set-error-handler!
>         Unbound variable -- $env-set-error-handler!
>         2 errors occured, ending ...
>
> $env-get-error-handler is not provided by the JVM runtime.
>
> Disabling the jvm backend results in a successful build.
>
> Thank You,
> Joseph
>
>

A possibility to debug such things might be to use the libbacktrace (by 
Ian Taylor, also inside GCC)

https://github.com/ianlancetaylor/libbacktrace


I am using that library inside http://refpersys.org/ and it works well.


Regards.


-- 
Basile Starynkevitch                  <[email protected]>
(only mine opinions / les opinions sont miennes uniquement)
92340 Bourg-la-Reine, France
web page: starynkevitch.net/Basile/