From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.60; How to make some libraries link statically via pkg-config files? Date: Tue, 19 Feb 2008 01:59:19 -0800 Message-ID: <200802190959.m1J9xJi4026244@sallyv1.ics.uci.edu> References: <200802181932.m1IJWiu7007097@sallyv1.ics.uci.edu> <200802190010.m1J0AVpZ018954@sallyv1.ics.uci.edu> <5EFB325D-55DD-40CA-B58C-B2B5EF2C3248@freenet.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1203415434 3540 80.91.229.12 (19 Feb 2008 10:03:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 Feb 2008 10:03:54 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: Peter Dyballa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 19 11:04:16 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JRPKg-0006Ae-Fe for ged-emacs-devel@m.gmane.org; Tue, 19 Feb 2008 11:04:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JRPKB-0004B0-Rb for ged-emacs-devel@m.gmane.org; Tue, 19 Feb 2008 05:03:43 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JRPHv-00027G-Rl for emacs-devel@gnu.org; Tue, 19 Feb 2008 05:01:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JRPHu-00026J-0R for emacs-devel@gnu.org; Tue, 19 Feb 2008 05:01:23 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JRPHs-000265-DG for emacs-devel@gnu.org; Tue, 19 Feb 2008 05:01:21 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JRPHr-0005UU-Vw for emacs-devel@gnu.org; Tue, 19 Feb 2008 05:01:20 -0500 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JRPHr-0001fg-CT for emacs-pretest-bug@gnu.org; Tue, 19 Feb 2008 05:01:19 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JRPHo-0005Tk-9g for emacs-pretest-bug@gnu.org; Tue, 19 Feb 2008 05:01:19 -0500 Original-Received: from sallyv1.ics.uci.edu ([128.195.1.109]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1JRPHn-0005TU-Pp for emacs-pretest-bug@gnu.org; Tue, 19 Feb 2008 05:01:16 -0500 X-ICS-MailScanner-Watermark: 1204019960.24907@De6eUVi45cn8wevodLrYuw Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv1.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m1J9xJi4026244; Tue, 19 Feb 2008 01:59:19 -0800 (PST) In-Reply-To: <5EFB325D-55DD-40CA-B58C-B2B5EF2C3248@freenet.de> (Peter Dyballa's message of "Tue, 19 Feb 2008 10:47:51 +0100") Original-Lines: 36 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:89561 gmane.emacs.pretest.bugs:21215 Archived-At: Peter Dyballa writes: > Am 19.02.2008 um 01:10 schrieb Dan Nicolaescu: >=20 > > Again, if you are trying to link the 2 versions of the same library > > twice you are asking for trouble. >=20 > I never had the idea of linking two libraries of the same kind (this > sounds to me quite damaged). In the Mac OS X environment it happens Is this in the default Mac OS X environment, or this happens in your particular setup?=20 > that both shared libraries are presented to the application, as > recorded in the Mac OS X crash dump. I want to avoid this situation > by statically linking one of them to avoid that the application asks > for one particular shared library =E2=80=93 and gets two presented. And= by As I said in the previous message, statically linking one version of the library still means you are linking the same library twice. The very complex configure flags that your have posted in a previous message seem to indicate that something is seriously strange in your setup. Does=20 ldd emacs (or the equivalent of ldd on Mac OS X) show the library twice? > choosing one library I might be able to find some details that might > explain why GNU Emacs crashes. Linking 2 versions of the same library is extremely likely to cause very strange crashed.=20