[CentOS-devel] About compile option for i386 of cachefilesd

Wed Nov 7 11:38:17 UTC 2007
Johnny Hughes <johnny at centos.org>

DAICON wrote:
> CC:centos-devel at centos.org
> 
> Hi.
> Mr. David Howells.
> 
> About compile option for i386 of cachefilesd.
> 
> Confirmed environment:
>  1, On i386 platform
>   OS : CentOS 5 i386
>   CPU : Pentium M
>   Mem : 2G
>   Kernel : 2.6.18-8.1.15.el5 #1 SMP Mon Oct 22 08:32:04 EDT 2007 i686 i686 i386 GNU/Linux 
>            (Installed by RPM)
>   cachefilesd : cachefilesd-0.7-6
>                 (Installed by RPM)
> 
> I test cachefilesd (RPM package) on i386 machine, and I found issue.
> cachefilesd stopped when the file that exceeded 2Gbytes was loaded from NFS Server. 
> This is because compile option "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
> is not set when compiling. 
> 
> When this option is set, it seems to operate normally. 
> 
> You should set this option by default when thinking about the function of cachefilesd. 
> I think.
> 
> Is there problem in this compile option setting?
> 

I have pulled the upstream binary and compared it to the CentOS binary
... here is the result

Verifying cachefilesd-0.7-6.el5.i386.rpm ...
cachefilesd-0.7-6.el5.i386.rpm OK-PERFECT ref:44133 +/-:0 %:0

That means it is linked to all the same things AND, the OK-PERFECT means
that even the Size reported for the RPM is identical.

If there is a problem with the compile options, it seems that it is
identical in CentOS and the upstream provider's product.

Thanks,
Johnny Hughes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos-devel/attachments/20071107/6f34d26a/attachment-0007.sig>