ldc-developers / ldc2.snap

Snap package definition for LDC, the LLVM-based D compiler
11 stars 4 forks source link

ARM builds of the LDC snap package #61

Open WebDrake opened 6 years ago

WebDrake commented 6 years ago

It would be nice to have armhf and arm64 builds of the snap package. This issue is to track the blockers involved.

At the time of writing the arm64 build fails early in the snapcraft process due to being unable to find/install g++-multilib and gcc-multilib packages: https://launchpadlibrarian.net/375766264/buildlog_snap_ubuntu_xenial_arm64_ldc2-1.9_BUILDING.txt.gz

This is a bit surprising since both appear to be available in Ubuntu 16.04 for arm64: https://packages.ubuntu.com/xenial/g++-multilib https://packages.ubuntu.com/xenial/gcc-multilib

Meanwhile armhf fails because of a phobos issue: https://launchpadlibrarian.net/375770997/buildlog_snap_ubuntu_xenial_armhf_ldc2-1.9_BUILDING.txt.gz

std/math.d(4059): Error: static assert:  `nanL > 2.00000L && ((real).min_normal * (real).max <= 4)` is false