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.user Subject: Re: Guile Build Errors Date: Wed, 02 Sep 2009 13:49:12 +0200 Message-ID: <8763c1zhvr.fsf@gnu.org> References: <25167250.post@talk.nabble.com> <87ljl040px.fsf@gnu.org> <25236356.post@talk.nabble.com> <87k50h20th.fsf@gnu.org> <25254370.post@talk.nabble.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1251892205 4965 80.91.229.12 (2 Sep 2009 11:50:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Sep 2009 11:50:05 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Wed Sep 02 13:49:58 2009 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MioLe-0006Yf-7z for guile-user@m.gmane.org; Wed, 02 Sep 2009 13:49:58 +0200 Original-Received: from localhost ([127.0.0.1]:39556 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MioLd-0000RC-Il for guile-user@m.gmane.org; Wed, 02 Sep 2009 07:49:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MioLV-0000PN-HX for guile-user@gnu.org; Wed, 02 Sep 2009 07:49:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MioLQ-0000Lk-Kx for guile-user@gnu.org; Wed, 02 Sep 2009 07:49:48 -0400 Original-Received: from [199.232.76.173] (port=38747 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MioLQ-0000LZ-AA for guile-user@gnu.org; Wed, 02 Sep 2009 07:49:44 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:35176) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MioLP-0007R8-IZ for guile-user@gnu.org; Wed, 02 Sep 2009 07:49:44 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1MioLK-0006Tw-Cl for guile-user@gnu.org; Wed, 02 Sep 2009 13:49:38 +0200 Original-Received: from laptop-147-210-128-170.labri.fr ([147.210.128.170]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 02 Sep 2009 13:49:38 +0200 Original-Received: from ludo by laptop-147-210-128-170.labri.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 02 Sep 2009 13:49:38 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 43 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: laptop-147-210-128-170.labri.fr X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 16 Fructidor an 217 de la =?iso-8859-1?Q?R=E9volutio?= =?iso-8859-1?Q?n?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 821D 815D 902A 7EAB 5CEE D120 7FBA 3D4F EB1F 5364 X-OS: x86_64-unknown-linux-gnu User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:oN5l/q2a9o16k/n3/opjTRZ4xvo= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:7434 Archived-At: Hi, bornlibra23 writes: >> That means `load-extension' et al. won't work (we could use Libtool's >> preopen magic to make it work with static libraries, but we currently >> don't). > Can you tell me which of the tests are expected to fail? Sometimes modules load extensions with `load-extension', e.g., the `(srfi srfi-1)' module. On systems supporting shared libs, this corresponds to a dlopen(3) call, which just won't work when building static libraries, as is the case on your system. GNU Libtool's `-dlpreopen' can be used so that `lt_dlopen_ext ()' can actually do the right thing even when not building shared libraries. Guile doesn't currently use it, but the sketch of a solution is at: http://thread.gmane.org/gmane.lisp.guile.devel/7897 . Would you like to try this out? >> I guess your linker supports shared libs but the `configure' somehow fails >> to see it. Apparently Libtool's `_LT_LINKER_SHLIBS' M4 macro hasn't been >> ported to your platform, leading to this incorrect diagnostic. Can you >> report this to bug-libtool@gnu.org? > The system doesnt support shared libraries at all. Oh, it really doesn't? Then indeed, you'd need the `dlpreopen' trick above. Note that you can already use (or rather debug ;-)) Guile without `dlpreopen'. You just won't be able to load modules that call `load-extension'. In 1.8, it means you cannot use SRFI-1 and SRFI-60. >> Hmm, this looks fishy as `string-ci> libguile. > Can you suggest something? I don't have any clue right now. I'd first look at the "freed cell" issue, which means that the GC probably fails to scan part of the stack. Hope this helps, Ludo'.