[Issue 24579] stat_t has wrong size for Android armv7a

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jun 15 17:34:17 UTC 2024


https://issues.dlang.org/show_bug.cgi?id=24579

Dlang Bot <dlang-bot at dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@tim-dlang created dlang/dmd pull request #16588 "Fix bugzilla 24579 - stat_t
has wrong size for Android armv7a" fixing this issue:

- Fix bugzilla 24579 - stat_t has wrong size for Android armv7a

  Offsets in stat_t and dirent are 64-bit on Android, but 32-bit
  for most other types on 32-bit architectures.

  For comparison the headers can be seen here:
 
https://android.googlesource.com/platform/bionic/+/refs/heads/main/libc/include/sys/stat.h
 
https://android.googlesource.com/platform/bionic/+/refs/heads/main/libc/include/dirent.h

  DMD does not support armv7a and does not run tests on Android. I have
  only tested this patch with LDC for Android armv7a.

https://github.com/dlang/dmd/pull/16588

--


More information about the Digitalmars-d-bugs mailing list