On Tue, 7 Sep 2004 10:03:39 -0400 (EDT), Jim Jagielski <[EMAIL PROTECTED]> wrote:
> 
> 
> Jeff Trawick wrote:
> >
> > On Tue, 7 Sep 2004 09:10:45 -0400, Jim Jagielski <[EMAIL PROTECTED]> wrote:
> > > I've noticed that if you build httpd normally (with DSO capability)
> > > and then use apxs to try to build mod_cache, then when you try
> > > to run the server you get:
> > >
> > >    mod_cache.so: symbol __floatdidf: referenced symbol not found
> > >
> > > This is due to the fact that the required math functions to do some
> > > date calcs aren't available since when httpd was initially built,
> > > there was no need. It also means there are some dependencies
> > > issues which might be best to be avoided (libgcc for example).
> >
> > This gcc-specific issue can happen in various places (e.g., 1.3's
> > mod_access on AIX).  It is a losing battle to modify web server code
> > to work around this instead of providing the ability to link libgcc
> > into the right places.
> >
> > If you add libgcc.a into any DSO, wouldn't that take care of the
> > issue?  (does the SH_LIBS variable allow you to specify extra
> > libraries that should be linked into DSOs?)
> >
> 
> I'm thinking specifically about preventing the dependency on libgcc.
> Important for those who bundle/redistribute httpd :)

Get a different compiler?  Look for some gcc option to cause it to
generate different code?

Reply via email to