From: "Cédric HEYMAN" <c.heyman@til-technologies.fr>
To: buildroot@busybox.net
Subject: [Buildroot] Float error on SAMA5D3 Xplained using nodejs
Date: Fri, 05 Dec 2014 13:11:12 +0100 [thread overview]
Message-ID: <WC20141205121112.0100A6@til-technologies.fr> (raw)
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>
next reply other threads:[~2014-12-05 12:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-05 12:11 Cédric HEYMAN [this message]
2014-12-05 13:01 ` [Buildroot] Float error on SAMA5D3 Xplained using nodejs 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=WC20141205121112.0100A6@til-technologies.fr \
--to=c.heyman@til-technologies.fr \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox