Re: [AVFS] avfs-fuse compilation bug with amd64

Miklos Szeredi <[email protected]> Tue, 23 May 2006 10:20:25 +0200
Newsgroups gmane.comp.file-systems.avfs.user
Message-ID <[email protected]>
> > Looks like the configure test LARGEFILE doesn't add this compile flag. I
> > have access to an AMD64 machine and I will try to find the problem. I
> > didn't check the URL from above but is the config.log for the failed
> > compilation available?
> 
> The LARGEFILE test says FILE_OFFSET_BITS is not required for large
> file support which makes sense on a 64 bit architecture. But the fuse
> include file "fuse_common.h" consists on this definition.
> 
> Miklos, what's your opinion about this? All we can do in avfs is to
> define this flag whether it is required or not (at least for fuse
> support) but I'm unsure about possible side effects.

I think it's perfectly safe to always define FILE_OFFSET_BITS.  On the
other hand, <fuse.h> should probably allow undefined FILE_OFFSET_BITS
on 64 bit archs.

Miklos


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642