From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marijn Newsgroups: gmane.lisp.guile.bugs Subject: Re: guile-2.0.0 fails to build without threads Date: Thu, 05 May 2011 15:59:02 +0200 Message-ID: <4DC2AD26.9040002@gentoo.org> References: <4D9DCE98.5080808@gentoo.org> <4DA3FEA2.7060205@gentoo.org> <4DA5A8DA.6030707@gentoo.org> <4DA5B2C7.8010009@gentoo.org> <4DA6F5D9.8080905@gentoo.org> <87pqo68qw8.fsf@gnu.org> <87k4ee8lad.fsf@gnu.org> <4DC01809.1090704@gentoo.org> <87ei4er73u.fsf@gnu.org> <4DC25A0E.8060107@gentoo.org> <87liyl9wpl.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1304603804 14746 80.91.229.12 (5 May 2011 13:56:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 5 May 2011 13:56:44 +0000 (UTC) Cc: bug-guile@gnu.org To: =?UTF-8?B?THVkb3ZpYyBDb3VydMOocw==?= Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Thu May 05 15:56:40 2011 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QHz2l-0003n5-Ub for guile-bugs@m.gmane.org; Thu, 05 May 2011 15:56:40 +0200 Original-Received: from localhost ([::1]:53286 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QHz2l-0007Ic-B8 for guile-bugs@m.gmane.org; Thu, 05 May 2011 09:56:39 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:51822) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QHz2i-0007IW-C2 for bug-guile@gnu.org; Thu, 05 May 2011 09:56:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QHz2g-0002z5-QH for bug-guile@gnu.org; Thu, 05 May 2011 09:56:36 -0400 Original-Received: from smtp.gentoo.org ([140.211.166.183]:53383) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QHz2g-0002yx-Fw; Thu, 05 May 2011 09:56:34 -0400 Original-Received: from [10.128.6.185] (unknown [79.170.210.174]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: hkbst) by smtp.gentoo.org (Postfix) with ESMTPSA id 2DBA11B401B; Thu, 5 May 2011 13:56:31 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110308 Lightning/1.0b3pre Thunderbird/3.1.9 In-Reply-To: <87liyl9wpl.fsf@gnu.org> X-Enigmail-Version: 1.1.2 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.211.166.183 X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:5559 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 05/05/11 14:08, Ludovic Court=C3=A8s wrote: > Hello! >=20 > Marijn writes: >=20 >> (gdb) p &scm_protects >> $1 =3D (SCM *) 0x7ffff7bc45a8 >=20 > [...] >=20 >> ***Static roots: >> From 0x601000 to 0x6010c0 (temporary) >> From 0x7ffff7ddb000 to 0x7ffff7ddd5c8 (temporary) >> From 0x7ffff7b9e000 to 0x7ffff7bcabb8 (temporary) ;; <- here >=20 > Hmm so GC_is_visible (&scm_protects) should definitely succeed. >=20 >>> How was libgc compiled? Does its =E2=80=98make check=E2=80=99 pass? >> >> libgc was compiled from a gentoo ebuild and its sanity tests pass. >=20 > Which configure flags, make flags, patches, etc.? ./configure --prefix=3D/usr --build=3Dx86_64-pc-linux-gnu - --host=3Dx86_64-pc-linux-gnu --mandir=3D/usr/share/man - --infodir=3D/usr/share/info --datadir=3D/usr/share --sysconfdir=3D/etc - --localstatedir=3D/var/lib --libdir=3D/usr/lib64 --with-libatomic-ops=3D= 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 >>> >>> 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. >=20 > OK. This all sounds really fishy, and I=E2=80=99m pretty much clueless= . >=20 > Maybe you should summarize the situation on the GC list and see whether > we=E2=80=99re missing something obvious? Please try to reproduce and then maybe we can do that. Marijn -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk3CrSYACgkQp/VmCx0OL2zo8wCgrDbFr8/wT2RlNScw3zGSPMFT wSMAmwWP8+F7zmF2LEYorKn11Kpk8Isj =3DUpZk -----END PGP SIGNATURE-----