From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.devel Subject: Re: Perhaps we can (and should) just detect dangerous linkages... Date: 13 Oct 2002 20:05:01 +0100 Sender: guile-devel-admin@gnu.org Message-ID: References: <87n0pimeg2.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 1034536714 30350 127.0.0.1 (13 Oct 2002 19:18:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 13 Oct 2002 19:18:34 +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 180oG1-0007tO-00 for ; Sun, 13 Oct 2002 21:18:33 +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 180oFa-00006m-00; Sun, 13 Oct 2002 15:18:06 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 180oEk-0007Sv-00 for guile-devel@gnu.org; Sun, 13 Oct 2002 15:17:14 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 180oEi-0007NG-00 for guile-devel@gnu.org; Sun, 13 Oct 2002 15:17:13 -0400 Original-Received: from mail.uklinux.net ([80.84.72.21] helo=s1.uklinux.net) by monty-python.gnu.org with esmtp (Exim 4.10) id 180oAh-0004px-00 for guile-devel@gnu.org; Sun, 13 Oct 2002 15:13:04 -0400 Original-Received: from laruns.ossau.uklinux.net (bts-0086.dialup.zetnet.co.uk [194.247.48.86]) by s1.uklinux.net (8.11.6/8.11.6) with ESMTP id g9DJCxT03985; Sun, 13 Oct 2002 20:12:59 +0100 Original-Received: from laruns.ossau.uklinux.net.ossau.uklinux.net (localhost [127.0.0.1]) by laruns.ossau.uklinux.net (Postfix on SuSE Linux 7.2 (i386)) with ESMTP id 29DB0DC4DA; Sun, 13 Oct 2002 20:05:02 +0100 (BST) Original-To: Rob Browning In-Reply-To: <87n0pimeg2.fsf@raven.i.defaultvalue.org> Original-Lines: 14 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 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:1546 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:1546 >>>>> "Rob" == Rob Browning writes: Rob> some-app-2 was linked against libuses-base-foo2 which was linked Rob> against libbase2 and libuses-base-bar which was linked against Rob> libbase1. So when some-app-2 calls libuses_base_foo_init and that in Rob> turn calls libbase_require_version(LIBBASE_MAJOR_VERSION), the check Rob> fails because at runtime foo is calling the libbase_require_version Rob> from libbase1, but passing it the compile-time embedded value for Rob> LIBBASE_MAJOR_VERSION from the libbase2 it was compiled against. When an app like this is run, does the system load and use both libbase1 and libbase2, or does it load both but only use one, or what? Neil _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel