libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libltdl and dlopen global/local


From: Gary V. Vaughan
Subject: Re: libltdl and dlopen global/local
Date: Sun, 13 May 2007 16:09:07 +0100

Hi Brian, Jeff, Ralf et al,

On 11 May 2007, at 18:11, Brian Barrett wrote:
On May 8, 2007, at 1:17 PM, Ralf Wildenhues wrote:

Now that Gary has added interfaces to libltdl to control dlopen symbol
locality:
would it be possible that you test this new functionality and check
whether it works for you?

I finally got a chance to give it a shot, and am running into problems.  I'm a cvs checkout from yesterday.

It looks like the problem with lt_dlopenext() -- we always call it with an absolute path to a dso, minus the extension.  Before the patches from Gary, this worked.  Now lt_dlopenext() always returns an error in that case, and the error returned from libtool is "file not found".  I unfortunately don't have time in the next week to investigate further.  System details:

      host-triplet:     x86_64-unknown-linux-gnu
      shell:            /bin/sh
      compiler:         gcc
      compiler flags:           -g -Wall -Wundef -Wno-long-long -Wsign-compare -Wmissing-prototypes -Wstrict-prototypes -Wcomment -pedantic -Werror-implicit-function-declaration -finline-functions -fno-strict-aliasing -pthread
      linker:           /usr/bin/ld -m elf_x86_64 (gnu? yes)
      libtool:          (GNU libtool 1.2460 2007/05/10 17:30:29) 2.1a
      automake:         automake (GNU automake) 1.10
      autoconf:         autoconf (GNU Autoconf) 2.61

Argh.  I hadn't realised that this bug was introduced by my previous patch :-(  I did spend a little time chasing that very thing around, and believe I've fixed it with my pending patch 330.  When you have time to look at it again, please wait until that patch has passed review and been installed, and see if that fixes the problem for you.

I'd love to add a regression test to libtool -- if you could cobble together a small C program that fails reliably for you as a starting point for me to make that test, it would help me to nail the problem for good :-)

Cheers,
Gary
-- 
  ())_.              Email me: address@hidden
  ( '/           Read my blog: http://blog.azazil.net
  / )=         ...and my book: http://sources.redhat.com/autobook
`(_~)_ Join my AGLOCO Network: http://www.agloco.com/r/BBBS7912 




Attachment: PGP.sig
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]