[Pkg-julia-devel] Bug#803206: openlibm: FTBFS on arm64
Edmund Grimley Evans
edmund.grimley.evans at gmail.com
Tue Oct 27 22:24:47 UTC 2015
Source: openlibm
Version: 0.4.1+dfsg-3
Tags: patch
This builds on arm64 with very few changes. With the attached patch it
passed the test suite and only failed at the dh_makeshlibs stage
because of the list of symbols.
A few notes on the patch:
In several places Intel becomes another architecture rather than the
default.
Makefile, arm/fenv.h, include/fenv.h: Normally people treat
aarch64/arm64 as a separate architecture from arm but in this case
fenv.* is almost the same so I used arm/ for both.
bsdsrc/b_tgamma.c: Ordinary floating-point comparisons with NaN may
set FE_INVALID. They do on arm64, though not on Intel, apparently. So
use the C99 macros instead. (A fun alternative would be to put
"if (x != x) return x;" at the start of the function.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openlibm_0.4.1+dfsg-3-arm64.patch
Type: text/x-diff
Size: 2802 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-julia-devel/attachments/20151027/088cd32f/attachment.patch>
More information about the Pkg-julia-devel
mailing list