[Top][All Lists]

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

Re: guile-2.0.0 fails to build without threads

From: Marijn
Subject: Re: guile-2.0.0 fails to build without threads
Date: Thu, 05 May 2011 15:59:02 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20110308 Lightning/1.0b3pre Thunderbird/3.1.9

Hash: SHA1

On 05/05/11 14:08, Ludovic Courtès wrote:
> 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.?

./configure --prefix=/usr --build=x86_64-pc-linux-gnu
- --host=x86_64-pc-linux-gnu --mandir=/usr/share/man
- --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
- --localstatedir=/var/lib --libdir=/usr/lib64 --with-libatomic-ops=yes
- --enable-cplusplus --disable-threads

no make flags AFAICS, just ordinary make/make install, no patches.

> Could you try a different version of libgc?

I can try other versions, but perhaps someone on your side should
attempt to reproduce by recompiling their boehm-gc with
- --disable-threads. This bug has existed for quite some time and for
multiple guile and I assume boehm-gc versions.

>>> 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?

Please try to reproduce and then maybe we can do that.


Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/


reply via email to

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