Sigh. Yeah, I've researched a bit why that happens.
The story is this:
glibc wanted to have isinf work with double AND float etc without conversion.
Therefore, there is a special gcc construct where you can find out what type a
parameter is IN A MACRO. Therefore, in C, isnan is a macro and so
https://wiki.dlang.org/LDC
https://github.com/ldc-developers/ldc/releases/tag/v0.17.1
After 0.17.1 is working on guix *someone* should change the supported
platforms to include arm. Based on the wiki it sounds like maybe we
should try building it on mips also.
--
Efraim Flashner
On Tue, Sep 13, 2016 at 12:30:42PM +0200, Danny Milosavljevic wrote:
> * gnu/packages/ldc.scm (ldc): Update to 0.17.1.
With this patch, LDC fails to build on my x86_64 machine with the
familiar errors about isnan and isinf:
[ 11%] Building CXX object CMakeFiles/LDCShared.dir/dmd2/scope.c.o
* gnu/packages/ldc.scm (ldc): Update to 0.17.1.
---
gnu/packages/ldc.scm | 15 ++-
.../patches/ldc-0.17.1-disable-tests.patch | 147 +
2 files changed, 156 insertions(+), 6 deletions(-)
create mode 100644