GDB a VFS module
Richard Sharpe
rsharpe at richardsharpe.com
Fri Apr 23 16:25:29 GMT 2004
On Fri, 23 Apr 2004, 'Jelmer Vernooij' wrote:
> Hi Jagan,
>
> On Fri, Apr 23, 2004 at 08:59:10AM -0700, Jagan wrote about 'RE: GDB a VFS module':
> > I was able to resolve it by changing
> > do_smb_load_module->dlopen to take in RTLD_NOW instead
> > of RTLD_LAZY. This made the references resolved at
> > load time. Funnily resolving a .a reference at run
> > time doesnt seem to work.
> > Who should i follow up with to possibly change
> > dlopen to use this flag.
> I don't think we should change this to RTLD_NOW (I've put RTLD_LAZY
> in there for a good reason), unless you can explain why linking
> against a .a doesn't work.
Hmmm, perhaps I am missing something, but I would not expect dynamic
linking against a .a to work, since it is just an archive file of objects,
and not a prelinked thing with all the linking info needed for dynamic
linking.
Regards
-----
Richard Sharpe, rsharpe[at]richardsharpe.com, rsharpe[at]samba.org,
sharpe[at]ethereal.com, http://www.richardsharpe.com
More information about the samba-technical
mailing list