Runtime for ARM

Kai Nacke kai at redstar.de
Sun May 5 22:16:34 PDT 2013


On Sunday, 7 April 2013 at 00:05:15 UTC, David Nadlinger wrote:
> On Saturday, 23 March 2013 at 15:12:29 UTC, Kai Nacke wrote:
>> There is now a patch available in the bug report. At first 
>> look it seems that it fixes the problem.
>> I tried to compile druntime but (as usual) I get a lot of 
>> "error: undefined identifier va_list" messages. That was the 
>> same with PPC64....
>
> The patch is still being discussed on the LLVM lists, and it 
> looks like it is a very incomplete solution.
>
> In any case, it shouldn't really be a blocker for us, as we 
> need to implement ABI transforms similar to x86_64 anyway to 
> handle the ARM EABI (with and without VFP/hardfloat):
>
> http://infocenter.arm.com/help/topic/com.arm.doc.ihi0042e/IHI0042E_aapcs.pdf 
> (see e.g. section 5.5)
>
> The Clang source has a couple of interesting test cases, for 
> example:
>
> https://github.com/llvm-mirror/clang/blob/master/test/CodeGen/arm-arguments.c
> https://github.com/llvm-mirror/clang/blob/master/test/CodeGen/arm-aapcs-vfp.c
>
> David

PR15293 should now be fixed with r181148 from yesterday.

Kai


More information about the digitalmars-d-ldc mailing list