Igor Schein on Thu, 12 Sep 2002 13:41:17 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: problem configuring under FreeBSD-4.6


On Fri, Sep 06, 2002 at 07:04:07PM +0200, Bill Allombert wrote:
> On Fri, Sep 06, 2002 at 12:09:41PM -0400, Igor Schein wrote:
> > On Fri, Sep 06, 2002 at 06:01:03PM +0200, Bill Allombert wrote:
> > > On Fri, Sep 06, 2002 at 11:35:22AM -0400, Igor Schein wrote:
> > > > Hi,
> > > > 
> > > > (hopefully) last remaining problem with FreeBSD - make dobench fails
> > > > for static binary (dynamic is fine):
> > > 
> > > dlopen'ing symbols inside an executable is a feature supported by few systems.
> > > I don't know if FreeBSD is among them.
> > > 
> > > FreeBSD dlopen manpage read:
> > > 
> > > ELF executables need to be linked using the -export-dynamic option to
> > > ld(1) for symbols defined in the executable to become visible to dlsym().
> > > 
> > > Can you test that ?
> > 
> > -export-dynamic does fix the problem, thanks

There's some other peculiarity that I wanted to mention it anyway.
When I Configure -s and then make gp, make bench still fails
looking for shared library.  So maybe for platforms where
-export-dynamic is required, gp-sta target should depend on
lib-dyn. And another thing, I can't make lib-dyn from the top level
directory, I have to cd to Oxxxx.  

Thanks

Igor