Thread overview
assert error from core/sys/posix/sys/stat
May 22, 2023
d007
May 22, 2023
user456
May 25, 2023
d007
May 22, 2023

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)

May 22, 2023

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.

May 25, 2023

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.