guile-devel
[Top][All Lists]
Advanced

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

Re: Compilation error with stable-2.0 branch


From: Detlev Zundel
Subject: Re: Compilation error with stable-2.0 branch
Date: Tue, 29 Mar 2011 15:56:27 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Hi Andy,

> On Mon 28 Mar 2011 16:39, Detlev Zundel <address@hidden> writes:
>
>> compiling TOT of this branch (commit
>> 9dadfa47b07548ff5cf3604067910c8aece93c42 [fix prompt in fix in
>> single-value context compilation]) fails like this:
>>
>> make[2]: Entering directory `/opt/src/git/guile/libguile'
>> make  all-am
>> make[3]: Entering directory `/opt/src/git/guile/libguile'
>>   CCLD   guile
>> ./.libs/libguile-2.0.so: undefined reference to `GC_pthread_cancel'
>> ./.libs/libguile-2.0.so: undefined reference to `GC_pthread_exit'
>

Thanks for your effort but I'm still not successful building it.

The dependency tracking in the build system seems to be a little bit
shaky.  I simply updated my git repo to current TOT
(8cf49d836ff41838812cba1fd61bfce3fb877144 [fix compilation with libgc
7.0, 7.1]) and did a "make".  This resulted in warnings like this:

  GUILEC ice-9/psyntax-pp.go
;;; note: source file /opt/src/git/guile/module/ice-9/boot-9.scm
;;;       newer than compiled /opt/src/git/guile/module/ice-9/boot-9.go
;;; note: source file /opt/src/git/guile/module/ice-9/psyntax-pp.scm
;;;       newer than compiled /opt/src/git/guile/module/ice-9/psyntax-pp.go
;;; note: source file /opt/src/git/guile/module/srfi/srfi-9.scm
;;;       newer than compiled /opt/src/git/guile/module/srfi/srfi-9.go
;;; note: source file /opt/src/git/guile/module/system/base/compile.scm
;;;       newer than compiled /opt/src/git/guile/module/system/base/compile.go
;;; note: source file /opt/src/git/guile/module/language/tree-il.scm
;;;       newer than compiled /opt/src/git/guile/module/language/tree-il.go
;;; note: source file /opt/src/git/guile/module/language/objcode/spec.scm
;;;       newer than compiled /opt/src/git/guile/module/language/objcode/spec.go
;;; note: source file 
/opt/src/git/guile/module/language/tree-il/compile-glil.scm
;;;       newer than compiled 
/opt/src/git/guile/module/language/tree-il/compile-glil.go
;;; note: source file /opt/src/git/guile/module/language/tree-il/analyze.scm
;;;       newer than compiled 
/opt/src/git/guile/module/language/tree-il/analyze.go
;;; note: source file /opt/src/git/guile/module/ice-9/vlist.scm
;;;       newer than compiled /opt/src/git/guile/module/ice-9/vlist.go
;;; note: source file /opt/src/git/guile/module/language/tree-il/fix-letrec.scm
;;;       newer than compiled 
/opt/src/git/guile/module/language/tree-il/fix-letrec.go
;;; note: source file 
/opt/src/git/guile/module/language/assembly/compile-bytecode.scm
;;;       newer than compiled 
/opt/src/git/guile/module/language/assembly/compile-bytecode.go
wrote `ice-9/psyntax-pp.go'

At that point I stopped, did a "make clean && make".  This time it
failed like this:

make[2]: Entering directory `/opt/src/git/guile/module'
  GUILEC ice-9/eval.go
Backtrace:
In unknown file:
   ?: 4 [boot-closure #t #<catch-closure 9e4a560> ...]
   ?: 3 [catch-closure]
   ?: 2 [primitive-eval ((@ # %) (begin # # #))]
   ?: 1 [for-each #<boot-closure c6e4480 (_)> ("ice-9/eval.scm")]
   ?: 0 [boot-closure "ice-9/eval.scm"]

ERROR: In procedure boot-closure:
ERROR: Wrong type (expecting exact integer): ("ice-9/eval.scm")
guile: uncaught throw to wrong-type-arg: (#f Wrong type (expecting ~A): ~S 
(exact integer (#t #<catch-closure 9e4a560> #<catch-closure 9e4a530> 
#<catch-closure 9e4a4d0>)) ((#t #<catch-closure 9e4a560> #<catch-closure 
9e4a530> #<catch-closure 9e4a4d0>)))
make[2]: *** [ice-9/eval.go] Error 1
make[2]: Leaving directory `/opt/src/git/guile/module'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/src/git/guile'
make: *** [all] Error 2

Now I tried a "make distclean && ./configure && make" still with the
same error, so I cranked up git bisect between TOT and v2.0.0 and it
found this commit to be the problem:

12c1d8616d8dfedcad65f34e3968f9544b629ae1 is the first bad commit
commit 12c1d8616d8dfedcad65f34e3968f9544b629ae1
Author: Andy Wingo <address@hidden>
Date:   Fri Mar 25 13:01:51 2011 +0100

    threading / with_guile refactor to use more GC_stack_base

Unfortunately to verify that git bisect is right, I would need to revert
that commit and check the result, but this is not possible without
conflicts.  So maybe this git bisect simply found the previous
problem....

Sorry that I cannot be more helpful.
  Detlev

-- 
insults:  If set, sudo will insult users when they enter an incorrect
password.  This flag is off by default.
                                                       -- man sudoers



reply via email to

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