* Compilation error with stable-2.0 branch
@ 2011-03-28 14:39 Detlev Zundel
2011-03-28 20:11 ` Neil Jerram
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: Detlev Zundel @ 2011-03-28 14:39 UTC (permalink / raw)
To: guile-devel
Hi,
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'
collect2: ld returned 1 exit status
make[3]: *** [guile] Error 1
make[3]: Leaving directory `/opt/src/git/guile/libguile'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/opt/src/git/guile/libguile'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/src/git/guile'
make: *** [all] Error 2
dzu@ohwell:guile[0]$
Compilation of the tag "v2.0.0" succeeds. Installed locally is
gc-7.2alpha4.
Is this a known problem?
Thanks
Detlev
--
Each language has its purpose, however humble. Each language expresses
the Yin and Yang of software. Each language has its place within the Tao.
But do not program in COBOL if you can avoid it.
-- The Tao of Programming
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Compilation error with stable-2.0 branch
2011-03-28 14:39 Compilation error with stable-2.0 branch Detlev Zundel
@ 2011-03-28 20:11 ` Neil Jerram
2011-03-29 11:23 ` Andy Wingo
2011-03-29 14:37 ` nalaginrut
2 siblings, 0 replies; 10+ messages in thread
From: Neil Jerram @ 2011-03-28 20:11 UTC (permalink / raw)
To: Detlev Zundel; +Cc: guile-devel
Detlev Zundel <dzu@denx.de> writes:
> Hi,
>
> 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'
> collect2: ld returned 1 exit status
> make[3]: *** [guile] Error 1
> make[3]: Leaving directory `/opt/src/git/guile/libguile'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/opt/src/git/guile/libguile'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/opt/src/git/guile'
> make: *** [all] Error 2
> dzu@ohwell:guile[0]$
>
> Compilation of the tag "v2.0.0" succeeds. Installed locally is
> gc-7.2alpha4.
>
> Is this a known problem?
No, I don't think so; thanks for reporting it. FWIW I see it too, also
with gc-7.2alpha4.
Regards,
Neil
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Compilation error with stable-2.0 branch
2011-03-28 14:39 Compilation error with stable-2.0 branch Detlev Zundel
2011-03-28 20:11 ` Neil Jerram
@ 2011-03-29 11:23 ` Andy Wingo
2011-03-29 13:56 ` Detlev Zundel
2011-03-29 14:37 ` nalaginrut
2 siblings, 1 reply; 10+ messages in thread
From: Andy Wingo @ 2011-03-29 11:23 UTC (permalink / raw)
To: Detlev Zundel; +Cc: guile-devel
On Mon 28 Mar 2011 16:39, Detlev Zundel <dzu@denx.de> 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'
Sorry about that. Fixed in git.
Cheers,
Andy
--
http://wingolog.org/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Compilation error with stable-2.0 branch
2011-03-29 11:23 ` Andy Wingo
@ 2011-03-29 13:56 ` Detlev Zundel
2011-03-29 14:09 ` Andy Wingo
0 siblings, 1 reply; 10+ messages in thread
From: Detlev Zundel @ 2011-03-29 13:56 UTC (permalink / raw)
To: Andy Wingo; +Cc: guile-devel
Hi Andy,
> On Mon 28 Mar 2011 16:39, Detlev Zundel <dzu@denx.de> 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 <wingo@pobox.com>
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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Compilation error with stable-2.0 branch
2011-03-29 13:56 ` Detlev Zundel
@ 2011-03-29 14:09 ` Andy Wingo
2011-03-29 14:41 ` Detlev Zundel
0 siblings, 1 reply; 10+ messages in thread
From: Andy Wingo @ 2011-03-29 14:09 UTC (permalink / raw)
To: Detlev Zundel; +Cc: guile-devel
Hi Detlev,
I'm sincerely sorry that you are going through this pain. It pains me
to read it!
On Tue 29 Mar 2011 15:56, Detlev Zundel <dzu@denx.de> writes:
> 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 <wingo@pobox.com>
> Date: Fri Mar 25 13:01:51 2011 +0100
>
> threading / with_guile refactor to use more GC_stack_base
How could this be? Based on your earlier reports, this git revision
should not compile at all, as it uses GC_pthread_cancel et al.
What bdw-gc version do you have installed?
Andy
--
http://wingolog.org/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Compilation error with stable-2.0 branch
2011-03-28 14:39 Compilation error with stable-2.0 branch Detlev Zundel
2011-03-28 20:11 ` Neil Jerram
2011-03-29 11:23 ` Andy Wingo
@ 2011-03-29 14:37 ` nalaginrut
2 siblings, 0 replies; 10+ messages in thread
From: nalaginrut @ 2011-03-29 14:37 UTC (permalink / raw)
To: Detlev Zundel; +Cc: guile-devel
> Hi,
>
> 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'
> collect2: ld returned 1 exit status
> make[3]: *** [guile] Error 1
> make[3]: Leaving directory `/opt/src/git/guile/libguile'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/opt/src/git/guile/libguile'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/opt/src/git/guile'
> make: *** [all] Error 2
> dzu@ohwell:guile[0]$
>
> Compilation of the tag "v2.0.0" succeeds. Installed locally is
> gc-7.2alpha4.
>
> Is this a known problem?
>
> Thanks
> Detlev
>
hi, I got the same problem today. While I tried bdwgc-7_2alpha5-20110107
the problem's gone. Good luck! :-)
--
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
--hacker key--
v4sw7CUSMhw6ln6pr8OSFck4ma9u8MLSOFw3WDXGm7g/l8Li6e7t4TNGSb8AGORTDLMen6g6RASZOGCHPa28s1MIr4p-x hackerkey.com
---end key---
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Compilation error with stable-2.0 branch
2011-03-29 14:09 ` Andy Wingo
@ 2011-03-29 14:41 ` Detlev Zundel
2011-03-29 15:08 ` Andy Wingo
0 siblings, 1 reply; 10+ messages in thread
From: Detlev Zundel @ 2011-03-29 14:41 UTC (permalink / raw)
To: Andy Wingo; +Cc: guile-devel
Hi Andy,
> I'm sincerely sorry that you are going through this pain. It pains me
> to read it!
Hey, no problem. I've got v2.0.0 if I wanted, but I decided that
reporting my experiences maybe worthwhile.
> On Tue 29 Mar 2011 15:56, Detlev Zundel <dzu@denx.de> writes:
>
>> 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 <wingo@pobox.com>
>> Date: Fri Mar 25 13:01:51 2011 +0100
>>
>> threading / with_guile refactor to use more GC_stack_base
>
> How could this be? Based on your earlier reports, this git revision
> should not compile at all, as it uses GC_pthread_cancel et al.
Sorry for my ignorance, but I wasn't 100% sure that this was the commit
that introduced the problem. As I've used "git bisect run make"
basically blind, I already suspected that it was a false alarm, but I
did not want to throw away the output of roughly an hour of compilation
;)
> What bdw-gc version do you have installed?
As I wrote previously, I have gc-7.2alpha4 installed. If I can help
with testing anything, just let me know.
Thanks
Detlev
--
Perfecting oneself is as much unlearning as it is learning.
-- Edsger Dijkstra
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Compilation error with stable-2.0 branch
2011-03-29 14:41 ` Detlev Zundel
@ 2011-03-29 15:08 ` Andy Wingo
2011-03-29 15:48 ` Andy Wingo
0 siblings, 1 reply; 10+ messages in thread
From: Andy Wingo @ 2011-03-29 15:08 UTC (permalink / raw)
To: Detlev Zundel; +Cc: guile-devel
On Tue 29 Mar 2011 16:41, Detlev Zundel <dzu@denx.de> writes:
>> I'm sincerely sorry that you are going through this pain. It pains me
>> to read it!
>
> Hey, no problem. I've got v2.0.0 if I wanted, but I decided that
> reporting my experiences maybe worthwhile.
No, it's a good report! As it happens I see it as well now, after a
make clean. I think I've tracked it down to
56dbc8a89958fcc401b0980ffcd0047f20470cd3; but the bug is not in the
introduced code, I don't think; I believe it's in pre-boot `catch' or
something. Anyway, will find it soon.
Cheers,
Andy
--
http://wingolog.org/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Compilation error with stable-2.0 branch
2011-03-29 15:08 ` Andy Wingo
@ 2011-03-29 15:48 ` Andy Wingo
2011-03-30 9:46 ` Detlev Zundel
0 siblings, 1 reply; 10+ messages in thread
From: Andy Wingo @ 2011-03-29 15:48 UTC (permalink / raw)
To: Detlev Zundel; +Cc: guile-devel
On Tue 29 Mar 2011 17:08, Andy Wingo <wingo@pobox.com> writes:
> On Tue 29 Mar 2011 16:41, Detlev Zundel <dzu@denx.de> writes:
>
>>> I'm sincerely sorry that you are going through this pain. It pains me
>>> to read it!
>>
>> Hey, no problem. I've got v2.0.0 if I wanted, but I decided that
>> reporting my experiences maybe worthwhile.
>
> No, it's a good report! As it happens I see it as well now, after a
> make clean. I think I've tracked it down to
> 56dbc8a89958fcc401b0980ffcd0047f20470cd3; but the bug is not in the
> introduced code, I don't think; I believe it's in pre-boot `catch' or
> something. Anyway, will find it soon.
Fixed, I believe. Please let me know if you can still reproduce the
problem.
Cheers,
Andy
--
http://wingolog.org/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Compilation error with stable-2.0 branch
2011-03-29 15:48 ` Andy Wingo
@ 2011-03-30 9:46 ` Detlev Zundel
0 siblings, 0 replies; 10+ messages in thread
From: Detlev Zundel @ 2011-03-30 9:46 UTC (permalink / raw)
To: Andy Wingo; +Cc: guile-devel
Hi Andy,
> Fixed, I believe. Please let me know if you can still reproduce the
> problem.
My build is successful now, thanks for the prompt action!
After the mail from nalaginrut I tried switching to
bdwgc-7_2alpha5-20110107 but as expected this did not help with the last
error. To keep my original setup I switched back to gc-7.2alpha4 and
can confirm that this setup also works perfectly fine.
Thanks
Detlev
--
It is practically impossible to teach good programming to students that have
had a prior exposure to BASIC: as potential programmers they are mentally
mutilated beyond hope of regeneration. -- Edsger Dijkstra
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2011-03-30 9:46 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-28 14:39 Compilation error with stable-2.0 branch Detlev Zundel
2011-03-28 20:11 ` Neil Jerram
2011-03-29 11:23 ` Andy Wingo
2011-03-29 13:56 ` Detlev Zundel
2011-03-29 14:09 ` Andy Wingo
2011-03-29 14:41 ` Detlev Zundel
2011-03-29 15:08 ` Andy Wingo
2011-03-29 15:48 ` Andy Wingo
2011-03-30 9:46 ` Detlev Zundel
2011-03-29 14:37 ` nalaginrut
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).