[Buildroot] [PATCH 2/3] package/nodejs: use --with-arm-fpu option on ARM

Peter Korsgaard peter at korsgaard.com
Tue Dec 3 15:34:25 UTC 2019


>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at bootlin.com> writes:

 > nodejs can use some FPU instructions on ARM, but it needs to know that
 > thanks to the --with-arm-fpu option. Without this, it may use the
 > wrong FPU setting, such as use VFPv3 even if only a VFPv3-D16 is
 > available. This has been reported as bug #12166, where the compiled
 > node binary had some floating point instructions using floating point
 > registers above 16 on a VFPv3-D16 system.

 > This commit makes sure we pass the appropriate --with-arm-fpu value
 > when it makes sense. Note that NodeJS only has explicit support for a
 > subset of the FPUs, for the ones that are not explicitly supported, we
 > simply pass no --with-arm-fpu value.

 > Fixes:

 >   https://bugs.busybox.net/show_bug.cgi?id=12166

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>

Committed to 2019.02.x and 2019.08.x, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list