[distcc] Re: lzo problem under HPUX
Albert Chin
distcc at mlists.thewrittenword.com
Fri Feb 20 06:24:05 GMT 2004
On Fri, Feb 20, 2004 at 03:44:13PM +1100, Martin Pool wrote:
> On 10 Feb 2004, Joe Buehler <jbuehler at hekimian.com> wrote:
> > Martin Pool wrote:
> >
> > >Turning off mmap works in samba, or in distcc?
> >
> > Turning off mmap() in distcc makes it work.
> >
> > >I think it is probably the same bug.
> >
> > I agree.
> >
> > >I wonder if it would be safe to munmap before we ftruncate? That
> > >might be less likely to cause any problems in interaction between mmap
> > >and regular IO.
> >
> > I am going to look at the code -- I assume there is some sort of
> > optimization that resulted in the current code that modifies the file
> > after it is mapped.
>
> Could you try this patch please?
>
> Do you see the problem if you don't use LZO?
BTW, the testsuite works fine on HP-UX 11.x with mmap() enabled.
--
albert chin (china at thewrittenword.com)
More information about the distcc
mailing list