Runtime for ARM

David Nadlinger see at klickverbot.at
Mon May 6 01:42:43 PDT 2013


On Monday, 6 May 2013 at 05:16:39 UTC, Kai Nacke wrote:
> 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

I don't think this helps us much at all, since the ABI for 
(small) structs would still be wrong, no?

David



More information about the digitalmars-d-ldc mailing list