Re: DSO loading (dlopen) appearse to be broken somehow

From: Andrey Chernov <ache_at_freebsd.org>
Date: Wed, 4 Apr 2007 18:51:05 +0400
On Wed, Apr 04, 2007 at 05:35:29PM +0400, Andrey Chernov wrote:
> On Wed, Apr 04, 2007 at 09:09:44AM -0400, Alexander Kabaev wrote:
> > > 1) The symbols in question are all _defined_ inside main httpd
> > > program. 
> > 
> > objdump -T output goes here.
> 
> Those symbols are in 'nm' table of httpd like this
> 0804a84a T ap_palloc
> but not found in its objdump -T output. 
> 
> Why and how it may happens?

Comparing generated Makefile with FreeBSD 6 it seems some ld flags 
are now missing:

< LDFLAGS_SHLIB_EXPORT=
---
> LDFLAGS_SHLIB_EXPORT=-Wl,-E

I'll come back with detailed results later.

-- 
http://ache.pp.ru/

Received on Wed Apr 04 2007 - 12:51:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:07 UTC