On 14.05.2014 16:47, Jakub Bogusz wrote:
On Wed, May 14, 2014 at 02:43:23PM +0300, Elan Ruusamäe wrote:
seems our 32bit php is built without largefile support.
??? php53 -r
'var_dump(stat("/usr/share/pear/PEAR/Installer/Role/Common.php"));'
PHP Warning: stat(): stat failed for
/usr/share/pear/PEAR/Installer/Role/Common.php in Command line code on
line 1
bool(false)
??? php55 -r
'var_dump(stat("/usr/share/pear/PEAR/Installer/Role/Common.php"));'
PHP Warning: stat(): stat failed for
/usr/share/pear/PEAR/Installer/Role/Common.php in Command line code on
line 1
bool(false)
??? ls -ldi /usr/share/pear/PEAR/Installer/Role/Common.php
4306713209 -rw-r--r-- 1 root root 6299 Aug 26 2012
/usr/share/pear/PEAR/Installer/Role/Common.php
but, i do see -D_GNU_SOURCE -D_LARGEFILE64_SOURCE in build logs... ideas?
_LARGEFILE64_SOURCE enables 64-bit file API, but with separate names.
To get them available under base names, _FILE_OFFSET_BITS=64 must be
used.
is it safe to add it to CFLAGS?
i found this ticket https://bugs.php.net/bug.php?id=45942
--
glen
_______________________________________________
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en