iOS progress
Dan Olson via digitalmars-d-ldc
digitalmars-d-ldc at puremagic.com
Tue Feb 17 23:10:17 PST 2015
"Joakim" <dlang at joakim.fea.st> writes:
> I couldn't get most of the phobos unit tests to run on a linux/ARM
> hard-float board, Cubieboard2. I'm guessing the issue is hard-float
> compatibility: I need to try softfp out and make sure. Almost all the
> druntime tests passed on the armhf system though.
What kinds of errors are you getting? Are they all float related? If
the linux C libs are using -float-abi=hard, then softfp probably won't
help.
If you do decide to look at softfp, I have this commit to get the D
versions correct:
https://github.com/smolt/ldc/commit/5a19080
Without that change, -float-abi=softfp sets version ARM_Soft instead of
ARM_SoftFP so std.math ends up incorrectly taking non-FPU paths.
>> It really is a
>> bummer that unittests use assert because it makes it difficult get
>> results for the rest of the unittest.
>
> Yes, Johannes had a PR last year that made tests continue running,
> among other changes, but he gave up on trying to get it merged:
>
> https://github.com/D-Programming-Language/dmd/pull/3518
Looks useful.
More information about the digitalmars-d-ldc
mailing list