guile-user
[Top][All Lists]
Advanced

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

Re: Guile Build Errors


From: bornlibra23
Subject: Re: Guile Build Errors
Date: Tue, 1 Sep 2009 01:30:20 -0700 (PDT)

Hello Ludo'
I am new to the opensource world & coundnt understand some of your more
cryptic directions. I couldnt get the head or tail of the os deppendency
file. Perhaps you could ask me some questions like wether stack grows from
top or bottom & like to make me understand what the file requires.

>Woow, I had never seen this one, thanks for trying out.  ;-)
Its nice to do new things.

>Can you post the GNU triplet as returned by `./build-aux/config.guess'?
bash-2.05$ ./build-aux/config.guess
i786-stratus-vos

>Can you show the output of "grep -A2 -E '(libtool supports|shared lib)'
config.log" (assuming GNU grep here)?
bash-2.05$ grep -A2 -E '(libtool supports|shared lib)' config.log
configure:9171: checking whether the
/users/awarikoo/OpenSource/guile-1.8.7/buil
+d-aux/compile gcc linker (/system/gnu_library/bin/ld) supports shared
libraries
configure:10245: result: no
configure:10484: checking dynamic linker characteristics
--
configure:12167: checking if libtool supports shared libraries
configure:12169: result: no
configure:12172: checking whether to build shared libraries
configure:12193: result: no
configure:12196: checking whether to build static libraries
--
configure:28594: checking for shared library run path origin
configure:28607: result: done
configure:29108: checking for CFPreferencesCopyAppValue

>It shows that there's something wrong GC-wise.  It could be that the stack
is not correctly scanned on this platform.
>Could you try to reproduce the problem with a simple test case, e.g., by
running `./pre-inst-guile' and trying
>  (begin
>    (string-append (make-string 123) (make-string 123))
>    (gc))
>and variants thereof to try to trigger the problem?
bash-2.05$ ./pre-inst-guile
Backtrace:
In unknown file:
   ?: 47  (let (# #) (dynamic-wind # thunk #))
   ?: 48  [dynamic-wind #<procedure #f ()> #<procedure #f ()> #<procedure #f
()>]
   ?: 49* [#<procedure #f ()>]
   ?: 50* [primitive-load
"/users/awarikoo/OpenSource/guile-1.8.7/ice-9/safe-r5rs.scm"]
In /users/awarikoo/OpenSource/guile-1.8.7/ice-9/safe-r5rs.scm:
  20: 51* (define-module (ice-9 safe-r5rs) :re-export ...)
  20: 52  (eval-case (# #) (else #))
In unknown file:
    ...
   ?: 53  (let* ((m (process-define-module #))) (set-current-module m) m)
   ?: 54* [process-define-module (# # # # ...)]
   ?: 55  (let* (# # # #) (beautify-user-module! module) (# kws # # ...)
...)
   ?: 56* [loop (#:re-export (eqv? eq? equal? ...) #:export ...) () ...]
   ?: 57  (if (null? kws) (call-with-deferred-observers (lambda () # ...))
...)
    ...
   ?: 58  [dynamic-wind #<procedure #f ()> #<procedure #f ()> #<procedure #f
()>]
   ?: 59* [#<procedure #f ()>]
   ?: 60* [module-re-export! #<directory # 400abd50> (eqv? eq? equal?
number? ...)]
   ?: 61  (let* ((public-i #)) (for-each (lambda # #) names))
   ?: 62  [for-each #<procedure #f (name)> (eqv? eq? equal? ...)]
   ?: 63* [#<procedure #f (name)> string-ci<?]
   ?: 64* (let* ((var #)) (cond (# #) (# #) (else #)))
   ?: 65  (cond (# #) (# #) (else #))
    ...
   ?: 66  [scm-error misc-error #f "~A ~S" ("Undefined variable:"
string-ci<?) #f]

<unnamed port>: In procedure scm-error in expression (scm-error (quote
misc-error) #f ...):
<unnamed port>: Undefined variable: string-ci<?
bash-2.05$ (begin (string-append (make-string 123) (make-string 123)) (gc))
bash: syntax error near unexpected token `(string-append'

>You may want to look at `libguile/gc_os_dep.c' to see how it determines the
stack and whether it makes sense?
>You might need to add a new series of #ifdefs, possibly borrowed from
upstream libgc
>(http://bdwgc.cvs.sourceforge.net/viewvc/bdwgc/bdwgc/os_dep.c?revision=1.42&view=markup).
I will have a look at that after I get more understanding about the
compilation issues

>Can you also try `./check-guile' and report back?

bash-2.05$ ./check-guile
Testing /users/awarikoo/OpenSource/guile-1.8.7/pre-inst-guile ...
with GUILE_LOAD_PATH=/users/awarikoo/OpenSource/guile-1.8.7/test-suite
ERROR: In procedure symbol->string:
ERROR: Wrong type argument in position 1 (expecting symbol): #<freed cell
40087fd0; GC missed a reference>

Thanks
bornlibra23
-- 
View this message in context: 
http://www.nabble.com/Guile-Build-Errors-tp25167250p25236356.html
Sent from the Gnu - Guile - User mailing list archive at Nabble.com.





reply via email to

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