From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.bugs Subject: Re: guile-2.0.0 fails to build without threads Date: Thu, 05 May 2011 14:08:06 +0200 Message-ID: <87liyl9wpl.fsf@gnu.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> 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 1304597302 7191 80.91.229.12 (5 May 2011 12:08:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 5 May 2011 12:08:22 +0000 (UTC) Cc: bug-guile@gnu.org To: Marijn Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Thu May 05 14:08:18 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 1QHxLu-0005wI-Dt for guile-bugs@m.gmane.org; Thu, 05 May 2011 14:08:18 +0200 Original-Received: from localhost ([::1]:46325 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QHxLt-0006nz-RX for guile-bugs@m.gmane.org; Thu, 05 May 2011 08:08:17 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:52717) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QHxLr-0006nt-En for bug-guile@gnu.org; Thu, 05 May 2011 08:08:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QHxLq-0007sM-Gh for bug-guile@gnu.org; Thu, 05 May 2011 08:08:15 -0400 Original-Received: from solo.fdn.fr ([80.67.169.19]:49331) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QHxLq-0007sF-7i for bug-guile@gnu.org; Thu, 05 May 2011 08:08:14 -0400 Original-Received: from nixey (unknown [193.50.110.208]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) (Authenticated sender: lcourtes) by smtp.fdn.fr (Postfix) with ESMTPSA id 20F4644186; Thu, 5 May 2011 14:08:10 +0200 (CEST) X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 16 =?iso-8859-1?Q?Flor=E9al?= an 219 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu In-Reply-To: <4DC25A0E.8060107@gentoo.org> (Marijn's message of "Thu, 05 May 2011 10:04:30 +0200") User-Agent: Gnus/5.110017 (No Gnus v0.17) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 80.67.169.19 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:5558 Archived-At: Hello! Marijn writes: > (gdb) p &scm_protects > $1 =3D (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 =E2=80=98make check=E2=80=99 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 >> >> 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=E2=80=99m pretty much clueless. Maybe you should summarize the situation on the GC list and see whether we=E2=80=99re missing something obvious? Thanks, Ludo=E2=80=99.