bug-guile
[Top][All Lists]
Advanced

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

Re: guile-2.0.0 fails to build without threads


From: Ludovic Courtès
Subject: Re: guile-2.0.0 fails to build without threads
Date: Thu, 05 May 2011 14:08:06 +0200
User-agent: Gnus/5.110017 (No Gnus v0.17) Emacs/24.0.50 (gnu/linux)

Hello!

Marijn <address@hidden> writes:

> (gdb) p &scm_protects
> $1 = (SCM *) 0x7ffff7bc45a8

[...]

> ***Static roots:
> From 0x601000 to 0x6010c0 (temporary)
> From 0x7ffff7ddb000 to 0x7ffff7ddd5c8 (temporary)
> From 0x7ffff7b9e000 to 0x7ffff7bcabb8 (temporary) ;; <- here

Hmm so GC_is_visible (&scm_protects) should definitely succeed.

>> How was libgc compiled?  Does its ‘make check’ pass?
>
> libgc was compiled from a gentoo ebuild and its sanity tests pass.

Which configure flags, make flags, patches, etc.?

Could you try a different version of libgc?

>> Can you try this program with the same libgc:
>>
>> --8<---------------cut here---------------start------------->8---
>> #include <gc/gc.h>
>>
>> int foo[123];
>>
>> int
>> main (int argc, char *argv[])
>> {
>>   GC_INIT ();
>>   GC_is_visible (&foo);
>>   return 0;
>> }
>> --8<---------------cut here---------------end--------------->8---
>
> compiled and ran your program:
>   gcc -I/usr/include -lgc testgc.c -o testgc && ./testgc
> there was no output.

OK.  This all sounds really fishy, and I’m pretty much clueless.

Maybe you should summarize the situation on the GC list and see whether
we’re missing something obvious?

Thanks,
Ludo’.



reply via email to

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