truedat101 / dlang-sv-community

A community repository for stuff related to #dlang Silicon Valley Meetup group
http://www.meetup.com/D-Lang-Silicon-Valley/
2 stars 1 forks source link

gdc needs to support AARCH64 #43

Closed truedat101 closed 5 years ago

truedat101 commented 6 years ago

Basically, raspi support + all major new phone architectures. Need to verify that it can indeed be built from ArchLinux.

truedat101 commented 6 years ago

see: https://buildbot.dgnu.org/#/builders/2/builds/51

truedat101 commented 6 years ago

There is a discussion about CI build servers which sounds very serious (like real commitment): http://forum.dlang.org/post/mailman.4381.1499385927.31550.d.gnu@puremagic.com

truedat101 commented 6 years ago

Looking at their build servers, I can't find where they have buildci.sh. This might tell something about an optimal configuration.

truedat101 commented 6 years ago

So I have posted a question to the above thread about my build on an espressobin. Several differences:

I should note that the following language runtimes are fully supported on AARCH64:

truedat101 commented 6 years ago

I've built D on openWRT which was not easy. gdc. That was brutal.

This has been worse, and the situation is frustrating because:

Signing off for now.

truedat101 commented 6 years ago

I will try to help the LDC project #45 folks and see where that gets me, but in the meantime, I will need to use a different programming language on my aarch64 platforms. 🤕

truedat101 commented 6 years ago

I recall that crosstool-ng is the preferred way to compile for these crap platforms: https://wiki.dlang.org/GDC/Cross_Compiler/crosstool-NG

I believe on one of my systems I have this all staged and ready to go. Perhaps this will "just work". TBD. Not sure I want to waste more time.

truedat101 commented 6 years ago

My goal is of course, get some clear cut way to build for ArchLinux ARM platforms. Declare victory.

truedat101 commented 6 years ago

If I can get the base build down I can work with Kevin from the Arch Linux ARM project to get packages going.

truedat101 commented 6 years ago

Well, got a response from the gdc team. Not looking good. So the builds that I see on the buildbot are marked as succeeding but they are skipping tests, and I think it's a cross compiler. This is a bummer. Mark another year gone by without AARCH64 support, a major major platform. 🐢

truedat101 commented 5 years ago

I'm sort of losing hope on this front. I think funding is required to make serious progress on gdc, although it all should be very feasible because gcc is the basis for the front end work.

truedat101 commented 5 years ago

Looks like this is done. See #44 .