chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] Problems loading extensions on some platforms


From: Category 5
Subject: [Chicken-users] Problems loading extensions on some platforms
Date: Mon, 03 Nov 2003 10:09:41 +0000
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (berkeley-unix)

I'm seeing strange behaviour when trying to load extensions om some
platforms.  Using vector-lib as a test case, installed in the usual way
with 'csi -setup vector-lib', I see some garbage and an incomplete load
on MacOS X (10.1.5), and a core dump on NetBSD/sparc64.  Other
extensions have the same problem.

On other platforms, e.g. netbsd-gnu-alpha, the .so files load with no
trouble at all.

------------------------------------------------------------------------
% uname -v ; csi
Darwin Kernel Version 5.5: Thu May 30 14:51:26 PDT 2002;
root:xnu/xnu-201.42.3.obj~1/RELEASE_PPC
; This is the CHICKEN interpreter.
; Version 1, Build 22 - macosx-gnu-ppc
; (c)2000-2003 Felix L. Winkelmann
>>> (require 'vector-lib)
; loading /usr/local/chicken/lib/chicken/vector-lib.so ...
Error: unbound variable: |\?\\i\u\I\\\\\\\\\\\\\\|
>>> vector-map
Error: unbound variable: vector-map
>>> 

% uname -v ; csi
NetBSD 1.6R (GENERIC) #1: Sat Apr 26 09:02:05 CEST 2003
address@hidden:/usr/src/sys/arch/sparc64/compile/GENERIC
; This is the CHICKEN interpreter.
; Version 1, Build 22 - netbsd-gnu-ultrasparc
; (c)2000-2003 Felix L. Winkelmann
>>> (require 'vector-lib)
; loading vector-lib.so ...
zsh: bus error (core dumped)  csi

% gdb `which csi` csi.core
[...]
Core was generated by `csi'.
Program terminated with signal 10, Bus error.
#0  0x41203d10 in C_toplevel (c=2, t0=30, t1=0) at ./vector-lib.c:626
626     void C_toplevel(C_word c,C_word t0,C_word t1){
(gdb) bt
#0  0x41203d10 in C_toplevel (c=2, t0=30, t1=0) at ./vector-lib.c:626
#1  0xae05e114d077a7ef in ?? ()
#2  0x15000000d85dc010 in ?? ()
#3  0x405419b8 in CHICKEN_main (argc=1, argv=0xffffffffffffd598,
toplevel=0x102d08)
    at runtime.c:412
#4  0x15715c in main (argc=1, argv=0xffffffffffffd598) at csi.c:3169
#5  0x10256c in ___start ()
(gdb)
------------------------------------------------------------------------


-- 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]