[Issue 20222] druntime fails to build for Android (using LDC 1.17)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Sep 18 01:18:40 UTC 2019


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

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

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

--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@puneet created dlang/druntime pull request #2804 "Fix Issue 20222 -- druntime
fails to build for Android" fixing this issue:

- Fix Issue 20222 -- druntime fails to build for Android

  Commit https://github.com/dlang/druntime/commit/d931921a adds a
  dependency on _SC_PHYS_PAGES which is not defined in the module
  core.sys.posix.unistd for Android. This breaks compilation of druntime
  on/for Android platform. Porting this constant from Android bionic
  source file
 
https://android.googlesource.com/platform/bionic/+/master/libc/include/bits/sysconf.h
  fixes the issue.

https://github.com/dlang/druntime/pull/2804

--


More information about the Digitalmars-d-bugs mailing list