You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/09/24 12:58:27 UTC

[GitHub] [incubator-nuttx] acassis commented on pull request #1888: tools/mkdeps: Fix EOVERFLOW returned by stat when CONFIG_SIM_M32=y

acassis commented on pull request #1888:
URL: https://github.com/apache/incubator-nuttx/pull/1888#issuecomment-698327219


   Hi @xiaoxiang781216, should this value be defined to 64-bit on 32-bit arch only when the application is compiled with "-D_FILE_OFFSET_BITS=64" ? Without "-D_FILE_OFFSET_BITS=64" I think the default is 32-bit and the EOVERFLOW will happen:
   
   EOVERFLOW
                 pathname or fd refers to a file whose size, inode number, or
                 number of blocks cannot be represented in, respectively, the
                 types off_t, ino_t, or blkcnt_t.  This error can occur when,
                 for example, an application compiled on a 32-bit platform
                 without -D_FILE_OFFSET_BITS=64 calls stat() on a file whose
                 size exceeds (1<<31)-1 bytes.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org