[Buildroot] [PATCH] ruby: assume we always have finite, isinf and isnan for uClibc

Peter Korsgaard peter at korsgaard.com
Tue Feb 7 10:40:02 UTC 2017


>>>>> "Vicente" == Vicente Olivert Riera <Vincent.Riera at imgtec.com> writes:

 > uClibc has __finite, __isinf and __isnan, and Ruby's configure script
 > checks for finite, isinf and isnan (note the missing leading __).
 > Because of the naming difference the checks fail, therefore the symbols
 > HAVE_FINITE, HAVE_ISINF and HAVE_ISNAN are not defined.
 > Ruby code relies on those symbols in order to define its own version of
 > the finite, isinf and isnan functions. Since the symbols haven't been
 > defined, those definitions cause conflicts with the already-existing
 > functions.

 > Fixes:
 >   http://autobuild.buildroot.net/results/f34/f34dc20749c6f6d12c51eddf3ee6c2ef41d7c13d/

 > Signed-off-by: Vicente Olivert Riera <Vincent.Riera at imgtec.com>

Committed after extending the description and adding a comment in the
.mk file, thanks.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list