Re: sendfile hosing apache?
--cDkCB6tn7aZ2Gopm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Thu, Apr 14, 2005 at 02:01:48AM -0700, Peter Avalos wrote:
> On Thu, Apr 07, 2005 at 12:05:10AM -0700, Peter Avalos wrote:
> > On Wed, Apr 06, 2005 at 07:31:32AM +0200, Jeroen Ruigrok/asmodai wrote:
> > > -On [20050406 01:42], Matthew Dillon (dillon@apollo.backplane.com) wr=
ote:
> > > > It looks like a bug in apache... it's doing 0-byte writev()'s. =
Maybe
> > > > the problem is that it is confused about whether the sendfile is
> > > > bugged or not (early versions of freebsd's sendfile() had serious
> > > > byte counting bugs).
> > >=20
> > > Apache uses apr nowadays, there's a whole slew of detection code in t=
here.
> > >=20
> > > If Peter is compiling the port with gcc 2.95.x it might be picking up=
the
> > > old style supporting code.
> > > Recent apr supports DragonFly natively.
> > >=20
> >=20
> > I am using gcc 2.95.x.
> >=20
> > Peter
>=20
> So, I tried making the port with CCVER?=3Dgcc34, and I get this error:
>=20
> Making all in network_io/unix
> /bin/sh /usr/ports/www/apache2/work/httpd-2.0.53/srclib/apr/libtool --sil=
ent --mode=3Dcompile cc -O -pipe -mtune=3Dpentiumpro -DHAVE_CONFIG_H -D_R=
EENTRANT -D_THREAD_SAFE -I../../include -I../../include/arch/unix -I../..=
/include/arch/unix -c sendrecv.c && touch sendrecv.lo
> sendrecv.c:965:2: #error APR has detected sendfile on your system, but no=
body has written a
> sendrecv.c:966:2: #error version of it for APR yet. To get past this, eit=
her write apr_sendfile
> sendrecv.c:967:2: #error or change APR_HAS_SENDFILE in apr.h to 0.
> *** Error code 1
>=20
> Stop in /usr/ports/www/apache2/work/httpd-2.0.53/srclib/apr/network_io/un=
ix.
> *** Error code 1
>=20
> So, I'm curious on how people are building this port, and not getting the=
sendfile
> problem I reported earlier...
>=20
Is anyone able to compile this with gcc34, and is anyone else seeing this
sendfile issue?
Peter
--cDkCB6tn7aZ2Gopm
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)
iD8DBQFCZF9JKjaxugguz8URAhXrAJ9qiSCdzDctdInuRXdrpGnBVUJB/wCcCip5
biR5s1mfdEDA3xVvp9NWWHQ=
=QD+k
-----END PGP SIGNATURE-----
--cDkCB6tn7aZ2Gopm--
討論串 (同標題文章)
完整討論串 (本文為第 11 之 11 篇):