GDB a VFS module

'Jelmer Vernooij' jelmer at
Fri Apr 23 16:21:05 GMT 2004

On Fri, Apr 23, 2004 at 09:25:29AM -0700, Richard Sharpe wrote about 'Re: GDB a VFS module':
> 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.
That was exactly my point :-) Unless it can be proven that stuff
linked against a .a file is magically different and explained why 
RTLD_LAZY would break such a file, I won't consider changing RTLD_LAZY 



Jelmer Vernooij <jelmer at> -
Todo: 0

More information about the samba-technical mailing list