LDC build issues for PowerPC and kfreebsd-{i386,amd64} on Debian

Konstantinos Margaritis via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Tue Jul 15 00:13:31 PDT 2014


On Tue, 15 Jul 2014 06:02:16 +0000
Kai Nacke via digitalmars-d-ldc <digitalmars-d-ldc at puremagic.com> wrote:

> PowerPC 32bit is still work in progress. PowerPC64 bit is 
> supposed to work. But there is an issue with 0.13.0 release which 
> is fixed in master branch.

Ok, since the machine I have access to is a Power7, I guess I could try
a powerpc64 build after that as well.

> This seems to be an issue with root/port.c. If these functions 
> are missing then the conditions to choose the implementation are 
> not complete.
 
Ok, I will try to get access to a kfreebsd-* system to try to figure it
out.

> I have some patches for PowerPC 32 bit:
> http://www.redstar.de/ldc/ppc_druntime.diff
> http://www.redstar.de/ldc/ppc_phobos.diff
> 
> They try to fix some parts and comment out not yet working 
> asserts. std.math is notorius here.

Ok, these seemed to do the trick, but another std.math build failure in
floor():

/home/markos/ldc-0.13.0/runtime/phobos/std/math.d(3199): Error: static
assert  "Only 64-bit, 80-bit, and 128-bit reals are supported by floor
()"

Does this mean that the powerpc32 port does not have support for 64-bit
floats?

Anyways thanks for your help.

Regards

Konstantinos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-ldc/attachments/20140715/af57c57d/attachment.sig>


More information about the digitalmars-d-ldc mailing list