LDC for PowerPC64 on FreeBSD
Curtis
clhamilto at gmail.com
Fri Sep 29 11:22:55 UTC 2017
On Monday, 25 September 2017 at 19:01:24 UTC, kinke wrote:
> On Monday, 25 September 2017 at 14:37:56 UTC, Curtis wrote:
>> Any ideas?
>
> Yep, I suspect it has something to do with the 2x64-bit
> doubledouble floating point format, as your segfault seems to
> happen in `llrintl()`. We compile the C++ parts of LDC with
> `-mlong-double-64` (double-precision long double) and use
> 64-bit D reals (at least with LDC master, not sure about
> ltsmaster/0.17.x). If your `libm.so` expects doubledoubles, the
> D real needs to be adapted. IIRC, it might even work out of the
> box for LDC master. See
> https://github.com/ldc-developers/ldc/blob/master/CMakeLists.txt#L213 for how to enable 'normal' C long doubles (=> D reals).
I've tried all of the above and still experiencing the same
issues.
Any more thoughts?
Thanks in advance.
More information about the digitalmars-d-ldc
mailing list