From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Rob Browning Newsgroups: gmane.lisp.guile.devel Subject: Re: Guile CVS Build Problems (was: Re: What can I do to help? (conclusions)) Date: Wed, 09 Oct 2002 15:43:57 -0500 Sender: guile-devel-admin@gnu.org Message-ID: <87it0bgx6a.fsf@raven.i.defaultvalue.org> References: <20021004132911.GD20754@www> <87k7ky5ggq.fsf@alice.rotty.yi.org> <20021006170804.GA7206@www> <87ofa71nfh.fsf@alice.rotty.yi.org> <87hefzjgng.fsf@zagadka.ping.de> <87d6qmvd1k.fsf@alice.rotty.yi.org> <87bs66ie3e.fsf@zagadka.ping.de> <87ptumz5c4.fsf_-_@alice.rotty.yi.org> <87k7kstthf.fsf@zagadka.ping.de> <871y703v1g.fsf@alice.rotty.yi.org> <87hefviq8i.fsf@raven.i.defaultvalue.org> <87bs63plrm.fsf@alice.rotty.yi.org> <877kgrpl7m.fsf@alice.rotty.yi.org> <87n0pngycl.fsf@raven.i.defaultvalue.org> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1034196837 32066 127.0.0.1 (9 Oct 2002 20:53:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 9 Oct 2002 20:53:57 +0000 (UTC) Cc: guile-devel@gnu.org Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17zNq6-0008KY-00 for ; Wed, 09 Oct 2002 22:53:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17zNhc-00054r-00; Wed, 09 Oct 2002 16:45:08 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17zNgZ-00042N-00 for guile-devel@gnu.org; Wed, 09 Oct 2002 16:44:03 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17zNgW-000417-00 for guile-devel@gnu.org; Wed, 09 Oct 2002 16:44:02 -0400 Original-Received: from n66644228.ipcdsl.net ([66.64.4.228] helo=defaultvalue.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17zNgV-0003z2-00 for guile-devel@gnu.org; Wed, 09 Oct 2002 16:44:00 -0400 Original-Received: from raven.i.defaultvalue.org (raven.i.defaultvalue.org [192.168.1.7]) by defaultvalue.org (Postfix) with ESMTP id 0F86CCCEE; Wed, 9 Oct 2002 15:43:58 -0500 (CDT) Original-Received: by raven.i.defaultvalue.org (Postfix, from userid 1000) id C178340E; Wed, 9 Oct 2002 15:43:57 -0500 (CDT) Original-To: Andreas Rottmann In-Reply-To: <87n0pngycl.fsf@raven.i.defaultvalue.org> (Rob Browning's message of "Wed, 09 Oct 2002 15:18:34 -0500") Original-Lines: 32 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i386-pc-linux-gnu) Errors-To: guile-devel-admin@gnu.org X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.devel:1501 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:1501 Rob Browning writes: > Right -- that's why I was originally confused, and just copy/pasted > the code from what we were already doing. I'm getting ready to look > in to it. Perhaps there's some libtool magic involved here... Apparently there is some libtool manipulation involved. We're not calling LTDL_SET_PRELOADED_SYMBOLS from main anymore, and from this[1] I'm guessing that somehow libtool injects the variable into the build process during the main binary build. Sure enough, if you check the resulting guile binary nm libguile/.libs/guile | grep lt_preload $ nm libguile/.libs/guile | grep lt_preload 080488d8 R lt_preloaded_symbols you see that lt_preloaded_symbols shows up in the read-only section of the resultant guile binary even though AFAIK we don't define it anywhere in our source code. Looking at the libtool script itself, it appears to add code to the binary during the build process that defines the variable. [1] http://gcc.gnu.org/ml/java-patches/2000-q3/msg00220.html (and followup) -- Rob Browning rlb @defaultvalue.org, @linuxdevel.com, and @debian.org Previously @cs.utexas.edu GPG=1C58 8B2C FB5E 3F64 EA5C 64AE 78FE E5FE F0CB A0AD _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel