@Than, Thank you for your detailed answer.

I am interested in contributing code to enable ARM port. I plan to spend 
some times on learning gofrontend firstly, then the bridge. What I want to 
learn about are

1, Is there any arch-specific code/IR in gofrontend?
2, What's the missing to support ARM ABI in gollvm bridge, anything else 
besides of passing parameters?
3, What can we do on runtime for arm?
4, How to test what we do on arm without building support?

I would be appreciated if you can give me suggestion and guidance.

Thanks


在 2018年12月11日星期二 UTC+8上午2:46:47,Than McIntosh写道:
>
> Hello,
>
> As things stand, gollvm isn't usable for Arm (32 or 64); the cmake error 
> you are hitting is intentional.
>
> The main obstacle for enabling Arm is enhancing the Gollvm bridge to 
> support the Arm ABI, e.g. the rules for passing parameters (in memory vs 
> register) depending on the signature of the called routine.  Adding ARM 
> support is something that's on the Gollvm "to do" list, but hasn't reached 
> the top. Once the ABI support is there it should not be a lot of additional 
> work.
>
> If you are interested in contributing code to help fix the problem, we can 
> point you in the right direction and provide guidance, but it will take a 
> bit of doing.
>
> Thanks, Than
>
>
> On Mon, Dec 10, 2018 at 12:54 PM <morefu...@gmail.com <javascript:>> 
> wrote:
>
>>  I try to compile gollvm on arm platform according to 
>> https://go.googlesource.com/gollvm/, but error is reported as following
>>
>> CMake Error at tools/gollvm/cmake/modules/GoVars.cmake:12 (message):
>>   Arch aarch64 not yet supported
>>
>> https://go.googlesource.com/gollvm/ tells that Gollvm is currently 
>> supported only for x86_64 Linux. 
>>
>> Is there any way to compile gollvm on arm platform?
>>
>> Thanks
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "golang-nuts" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to golang-nuts...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to