[Buildroot] [PATCH] python-numpy: uClibc patch to avoid ldexpl and frexpl
Peter Korsgaard
peter at korsgaard.com
Tue Oct 6 09:47:19 UTC 2015
>>>>> "Arnout" == Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be> writes:
> It turns out that uClibc only enables the long double math functions
> for some architectures (god know why, so what if long double is the
> same as double, these functions should still be defined). Since
> python-numpy links with those functions, the module will fail to load
> on ARM, MIPS and SH.
> However, python-numpy actually checks for each function if it is really
> available. Only, it overrides that check for ldexpl and frexpl when
> long double is the same as double (i.e. in exactly the case the uClibc
> doesn't have these functions).
> So add another exception for this.
> Upstream-status: not applicable (code has changed too much)
> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
> ---
> I've only build-tested, I haven't tested if the import now works on ARM.
Committed, thanks.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list