From: | Peter Avalos <pavalos@xxxxxxxxxxxx> |
Date: | Mon, 18 Apr 2005 18:30:49 -0700 |
Mail-followup-to: | bugs@crater.dragonflybsd.org |
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@xxxxxxxxxxxxxxxxxxxx) wrote: > > > > 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). > > > > > > Apache uses apr nowadays, there's a whole slew of detection code in there. > > > > > > 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. > > > > > > > I am using gcc 2.95.x. > > > > Peter > > So, I tried making the port with CCVER?=gcc34, and I get this error: > > Making all in network_io/unix > /bin/sh /usr/ports/www/apache2/work/httpd-2.0.53/srclib/apr/libtool --silent --mode=compile cc -O -pipe -mtune=pentiumpro -DHAVE_CONFIG_H -D_REENTRANT -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 nobody has written a > sendrecv.c:966:2: #error version of it for APR yet. To get past this, either write apr_sendfile > sendrecv.c:967:2: #error or change APR_HAS_SENDFILE in apr.h to 0. > *** Error code 1 > > Stop in /usr/ports/www/apache2/work/httpd-2.0.53/srclib/apr/network_io/unix. > *** Error code 1 > > So, I'm curious on how people are building this port, and not getting the sendfile > problem I reported earlier... > Is anyone able to compile this with gcc34, and is anyone else seeing this sendfile issue? Peter
Attachment:
pgp00010.pgp
Description: PGP signature