www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22178] New: [REG 2.097] Compilers do not compile on Musl Libc

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

          Issue ID: 22178
           Summary: [REG 2.097] Compilers do not compile on Musl Libc
           Product: D
           Version: D2
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: regression
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: pro.mathias.lang gmail.com

Trying to compile LDC or DMD results in:
```
core/stdc/math.d(811): Error: `pure` function `core.stdc.math.isnormal` cannot
call impure function `core.stdc.math.fpclassify`
core/stdc/math.d(813): Error: `pure` function `core.stdc.math.isnormal` cannot
call impure function `core.stdc.math.fpclassify`
core/stdc/math.d(815): Error: `pure` function `core.stdc.math.isnormal` cannot
call impure function `core.stdc.math.fpclassify`
make[2]: *** [runtime/CMakeFiles/druntime-ldc-debug-shared.dir/build.make:334:
runtime/objects-debug-shared/core/atomic.o] Error 1
make[2]: Leaving directory
'/home/effortman/projects/bpfk/docker-agora-builder/ldc/src/ldc-1.27.0-src/stage1'
make[1]: *** [CMakeFiles/Makefile2:662:
runtime/CMakeFiles/druntime-ldc-debug-shared.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
core/stdc/math.d(811): Error: `pure` function `core.stdc.math.isnormal` cannot
call impure function `core.stdc.math.fpclassify`
core/stdc/math.d(813): Error: `pure` function `core.stdc.math.isnormal` cannot
call impure function `core.stdc.math.fpclassify`
core/stdc/math.d(815): Error: `pure` function `core.stdc.math.isnormal` cannot
call impure function `core.stdc.math.fpclassify`
make[2]: *** [runtime/CMakeFiles/druntime-ldc-debug.dir/build.make:334:
runtime/objects-debug/core/atomic.o] Error 1
make[2]: Leaving directory
'/home/effortman/projects/bpfk/docker-agora-builder/ldc/src/ldc-1.27.0-src/stage1'
make[1]: *** [CMakeFiles/Makefile2:802:
runtime/CMakeFiles/druntime-ldc-debug.dir/all] Error 2
make[2]: Leaving directory
'/home/effortman/projects/bpfk/docker-agora-builder/ldc/src/ldc-1.27.0-src/stage1'
make[2]: Entering directory
'/home/effortman/projects/bpfk/docker-agora-builder/ldc/src/ldc-1.27.0-src/stage1'
```

Since v2.097.0

--
Aug 04