Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please support more architectures #1636

Open
ximion opened this issue Jul 23, 2016 · 2 comments

Comments

@ximion
Copy link
Contributor

commented Jul 23, 2016

Hi!
On Debian, gdc is able to support a few more architectures than LDC.
In order to compile most D packages with LDC in Debian, it would be really awesome if we could provide the same amount if architecture support as gdc does.
At time, all the architectures D seems to work on are:

  • amd64 (supported)
  • armel
  • armhf (fails with "Illegal instruction", log)
  • arm64
  • i386 (supported)
  • x32
  • ppc64el (supported, only LDC, broken with GDC)

x32 support should be rather cheap, and having full support for ARM architectures would be pretty neat.
Thank you & kind regards,
Matthias

P.S: For the build status of LDC itself on Debian, see https://buildd.debian.org/status/package.php?p=ldc (x32 might only need bootstrapping...)

@kinke

This comment has been minimized.

Copy link
Member

commented Jul 23, 2016

Afaik, these should all be fairly completely supported once we get real cross-compilation right. That's to be expected for LDC v1.2.

@redstar

This comment has been minimized.

Copy link
Member

commented Jul 28, 2016

ARM64 requires updates to druntime/Phobos because of 128 bit reals.

I currently do not understand why armel and powerpc have problems building the compiler. ppc64 is not enabled but also supported by ldc.

The segfault with armhf requires more analysis. Could also be an LLVM bug, who knows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.