assert error from core/sys/posix/sys/stat

d007 d007 at gmail.com
Thu May 25 07:43:52 UTC 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:
>>
>>
>> ```sh
>> 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.


More information about the Digitalmars-d mailing list