[Pkg-d-devel] Bug#884441: Bug#884441: dh-dlang requires neon on armhf
Matthias Klose
doko at debian.org
Fri Dec 15 14:05:29 UTC 2017
Control: reopen -1
Control: reassign -1 ldc
On 15.12.2017 13:53, Matthias Klumpp wrote:
> 2017-12-15 9:46 GMT+01:00 Matthias Klose <doko at debian.org>:
>> Package: dh-dlang
>> Version: 0.1
>> Severity: serious
>> Tags: sid buster
>>
>> the make snippet reads:
>>
>> ifeq ($(DEB_HOST_ARCH),armhf)
>> DFLAGS += -mattr=-neon
>> endif
>>
>> neon is not required in the armhf baseline, you must not set this flag. The
>> minimum fpu requirement is vfpv3-d16.
>
> Well, that's exactly what this flag does - LDC is compiling with NEON
> by default, on upstream's and its Debian maintainer's request, but we
> don't want stuff to be compiled in Debian with the NEON extensions
> enabled. Therefore, we explicitly tell LDC not to do that.
> Mind the minus in front of the "neon" in that line ;-)
>
> This code is duplicated in a lot of D packages at the moment, and
> works quite well there, so I don't see the issue. Please reopen the
> bug report if there really is a problem though, could be that I am not
> seeing the issue here.
>
> FWIW, I will upload a package using this today, so we'll see if the
> existing build breaks or not (it really shouldn't).
ok, but then the issue is in ldc, so you should change the default over there,
like it's done by every other compiler in the distro.
More information about the Pkg-d-devel
mailing list