Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Float error on SAMA5D3 Xplained using nodejs
@ 2014-12-05 12:11 Cédric HEYMAN
  2014-12-05 13:01 ` Thomas Petazzoni
  0 siblings, 1 reply; 5+ messages in thread
From: Cédric HEYMAN @ 2014-12-05 12:11 UTC (permalink / raw)
  To: buildroot

Hello,

Trying to use nodejs's npm (built with buildroot 2014.11) on SAMA5D3 
Xplained returns following error : 'ERROR: Binary compiled with 
-mfloat-abi=hard but without -DUSE_EABI_HARDFLOAT'

Looking in nodejs.mk shows that : 
'....
NODEJS_CPU = arm
# V8 needs to know what floating point ABI the target is using.  There's 
also
# a 'hard' option which we're not exposing here at the moment, because
# buildroot itself doesn't really support it at present.
ifeq ($(BR2_SOFT_FLOAT),y)
NODEJS_ARM_FP = soft
else
NODEJS_ARM_FP = softfp
endif
....'

It seems there is no support for 'hard' floating point for now.

To solve that, I intend to force '-DUSE_EABI_HARDFLOAT' in nodejs 
compilation package, but I don't know the way to do that; any advice ?

Another way to solve the problem could be to use 'soft' or 'softfp' floating 
point strategy but menuconfig does not propose this tuning, maybe...

Regards,
  	
C?dric HEYMAN
Ing?nieur en D?veloppement embarqu?

T?l : 04.42.37.17.10| Fax : 04.42.24.28.98
Si?ge social : 350 rue de la Lauzi?re - Parc du Golf B?t 43 - CS 60481 - 
13592 AIX-EN-PROVENCE CEDEX 3



<font face="Tahoma" size="1" color="#575F5E">
<a href="http://www.til-technologies.fr/bandeau_signature/redirection.html" target="_blank">
<img src="http://www.til-technologies.fr/bandeau_signature/bandeau.jpg" width="600" height="80" border="0" alt="Plus d'actualit?s sur www.til-technologies.fr" />
</a>
<br>
Les informations pr?c?dentes peuvent ?tre confidentielles ou privil?gi?es. Si vous n'?tes pas le destinataire pr?vu de ce mail, veuillez en notifier l'exp?diteur en r?pondant ? ce message puis supprimez-en toute trace de vos syst?mes.
</font>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20141205/3bd701ab/attachment.html>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-02-07 10:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-05 12:11 [Buildroot] Float error on SAMA5D3 Xplained using nodejs Cédric HEYMAN
2014-12-05 13:01 ` Thomas Petazzoni
     [not found]   ` <WC20141205142813.1900F2@til-technologies.fr>
2014-12-05 14:39     ` Thomas Petazzoni
2014-12-08 11:30       ` Cédric HEYMAN
2015-02-07 10:15         ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox