Thread overview
assert error from core/sys/posix/sys/stat
6 days ago
d007
6 days ago
user456
3 days ago
d007
6 days ago

try with /opt/local/ldc2/bin/ldc2 --mtriple=arm-alpine-linux-musl, get this error:

import/core/sys/posix/sys/stat.d(651): Error: static assert:  `128u == 104u` is false

ldc version 1.33.0-beta1 (DMD v2.103.1, LLVM 15.0.7)

6 days ago

On Monday, 22 May 2023 at 16:35:39 UTC, d007 wrote:

>

try with /opt/local/ldc2/bin/ldc2 --mtriple=arm-alpine-linux-musl, get this error:

import/core/sys/posix/sys/stat.d(651): Error: static assert:  `128u == 104u` is false

ldc version 1.33.0-beta1 (DMD v2.103.1, LLVM 15.0.7)

Report to https://issues.dlang.org/. That's probably a problem with how stat_t type is implemented in musl vs how it is in GNU libc.

3 days ago

On Monday, 22 May 2023 at 23:24:38 UTC, user456 wrote:

>

On Monday, 22 May 2023 at 16:35:39 UTC, d007 wrote:

>

try with /opt/local/ldc2/bin/ldc2 --mtriple=arm-alpine-linux-musl, get this error:

import/core/sys/posix/sys/stat.d(651): Error: static assert:  `128u == 104u` is false

ldc version 1.33.0-beta1 (DMD v2.103.1, LLVM 15.0.7)

Report to https://issues.dlang.org/. That's probably a problem with how stat_t type is implemented in musl vs how it is in GNU libc.

thanks for the tips, can not use issues.dlang.org. if some one have account please help report this bugs. thanks very much.

cross build from host will trigger this.