[distcc] sendfile() not working on tmpfs

Martin Pool mbp at sourcefrog.net
Thu Jun 27 15:14:02 GMT 2002


On 27 Jun 2002, Eivind Magnus Hvidevold <emh at hvidevold.cjb.net> wrote:
> 
> The sendfile() function does not work when tmpfs is mounted on tmp.
> When I umount /tmp or compile without sendfile() everything works.

OK, that makes sense, and is easily fixed.  Thankyou for the report!

> I used the following crude script to compile without sendfile.
> If the sendfile problem is unfixable, please make --disable-sendfile a
> configuration option.

It can be fixed, but that might be good anyhow.
 
> find -name *\.c | while read file; do
> sed 's/SENDFILE/BLAH/' $file > $file.fix &&
> mv $file.fix $file
> done &&

Heh, crude indeed. :-)

> ./configure &&
> make &&
> make install
> 
> Please cc replies to emh at hvidevold.cjb.net. 

-- 
Martin 




More information about the distcc mailing list