httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@gmail.com>
Subject Re: [PATCH] Allow mod_cache to be build/loaded as DSO
Date Tue, 07 Sep 2004 14:28:55 GMT
On Tue, 7 Sep 2004 10:03:39 -0400 (EDT), Jim Jagielski <jim@jagunet.com> wrote:
> 
> 
> Jeff Trawick wrote:
> >
> > On Tue, 7 Sep 2004 09:10:45 -0400, Jim Jagielski <jim@jagunet.com> 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?

Mime
View raw message