Unable to build uClibc with _FILE_OFFSET_BITS=64
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Wed Jan 16 18:42:15 UTC 2013
On 16 January 2013 18:36, Bernhard Reutner-Fischer
<rep.dot.nop at gmail.com> wrote:
> On 15 January 2013 11:22, <mail-an-mw123 at gmx.de> wrote:
>> Do You have any hint regarding this problem?
> So no, works for me, unfortunately.
hm. can you show me the relevant part of
$ strace -v -o /tmp/ls0.txt ls -1 /mnt/test
Iff you have a high st_ino, can you try to mount with noserverino to
workaround it?
To your other question...
>>> The root cause I am searching for is related to an error of fstat on a
>>> CIFS mounted folder using the option <nounix>. This option causes the kernel
>>> to map the server inodes to large values (> 32 bit). Thus the fstat call
>>> returns with a <Value too large for defined data type> error. An <ls> call on
>>> that folder shows the following syscalls:
>>> open("/mnt/test/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
>>> fstat(3, 0x7fe6ebb8) = -1 EOVERFLOW (Value too large
>>> for defined data type)
>>> Assumed that ls calls opendir, then the 64 bit handling of fstat is
>>> missing, right?
... it could be that the conversion is going wrong, yes.
thanks,
More information about the uClibc
mailing list