Hi Guilhem,

Sorry for this very late response, I have simply overlooked your message
earlier.

* Guilhem Lavaux wrote on Thu, Dec 30, 2004 at 04:55:08PM CET:
> 
> I was trying to fix some bugs in kaffe while I've noticed that "bug". If 
> you link a program statically to the libc you are not able to call 
> dlopen anymore because the linker uses the stubs in the libc which 
> invariably returns "Wrong dl symbols!". I don't know whether _we_ should 
> handle it particularly or libltdl should be aware of that and not 
> register the sys_dl implementation.

That's bad, and libltdl should take care of it IMHO.
Now the point is: how do we find out we deal with the static lib here?
I don't want to add a runtime test to `configure', since that won't work
for cross-compilation.  How do we know we linked against the _static_
version?

> It happens on openbsd 3.5.

Which other systems do the same thing?  All OpenBSD versions?  Do they
intend to change this?  How about the other BSDs?

Regards,
Ralf


_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to