DSO loading (dlopen) appearse to be broken somehow

Andrey Chernov ache at freebsd.org
Wed Apr 4 14:51:10 UTC 2007


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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20070404/8faa3f3a/attachment.pgp


More information about the freebsd-ports mailing list