dlopen() calls exit() instead of returning error when modulehas unresolved symbols.

Oleg Girko ol at infoserver.ru
Mon Oct 24 04:01:26 UTC 2005


Hello!

On Monday 24 October 2005 04:17, Steven J. Hill wrote:

> Joakim Tjernlund wrote:
> > It hasn't been fixed because nobody noticed until you did and noone has
> > has time to look into it.
> >
> > I just took a crack at fixing this but I havn't tested it due to lack of
> > time. I fixed it for PPC, you can do the same for your arch, please send
> > a patch if this works.
>
> Oleg, if you are able to provide the source and such for this stuff, I
> would be more than happy to test Joakim's fix and make sure the other
> architectures fix it as well. I am doing a lot of work on 'libdl.c' for
> dl_open and friends right now, so I could just add it in.

OK, I'm sending again the simple test case as the attachment.

Installation instructions: untar attached archive, cd to "dltest" directory, 
change CC variable at the beginning of "Makefile" to a pathname of your C 
compiler, run "make".

-- Oleg Girko, http://www.infoserver.ru/~ol/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dltest.tar.gz
Type: application/x-tgz
Size: 1031 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20051024/e8bbdd20/attachment.bin 


More information about the uClibc mailing list