From: bugzilla at busybox.net <bugzilla@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [Bug 12166] New: Compiling nodejs for SAMA5D3 always crash with illegal instruction
Date: Mon, 02 Sep 2019 18:43:39 +0000 [thread overview]
Message-ID: <bug-12166-163@https.bugs.busybox.net/> (raw)
https://bugs.busybox.net/show_bug.cgi?id=12166
Bug ID: 12166
Summary: Compiling nodejs for SAMA5D3 always crash with illegal
instruction
Product: buildroot
Version: 2019.05.1
Hardware: Other
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: marvin at mydatex.cz
CC: buildroot at uclibc.org
Target Milestone: ---
I compile buildroot with attached config for SAMA5D3 ARM CPU. When I enable
EABIHF and VFPv3-D16 (I test all combination of VFP) nodejs always crash with
illegal instruction. I test many combination of version buildroot but always
crash. But I found solution. When I compile nodejs ouside buidroot but using
buildroot toolchain. All works perfect. When I backtrace and disassemble code I
found
that nodejs crash here:
0x0073ddec <+160>: vldr d17, [r2]
If I understand this well that when I compile for VFPv3-D16 there should not be
register D17 used. This generate illegal instruction.
When I use this configure:
export CC=arm-buildroot-linux-uclibcgnueabihf-gcc
export CXX=arm-buildroot-linux-uclibcgnueabihf-g++
export CC_host="gcc -m32"
export CXX_host="g++ -m32"
/configure --prefix=../install --dest-cpu=arm --cross-compiling --dest-os=linux
--with-arm-float-abi=hard --with-arm-fpu=vfpv3-d16
I mean then inside buidroot is to configure passed wrong options
with-arm-fpu=vfpv3-d16.
Don't hestiate contact me.
Dan
--
You are receiving this mail because:
You are on the CC list for the bug.
next reply other threads:[~2019-09-02 18:43 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-02 18:43 bugzilla at busybox.net [this message]
2019-09-02 18:49 ` [Buildroot] [Bug 12166] Compiling nodejs for SAMA5D3 always crash with illegal instruction bugzilla at busybox.net
2019-09-11 13:36 ` bugzilla at busybox.net
2019-11-27 8:35 ` bugzilla at busybox.net
2019-11-27 8:46 ` bugzilla at busybox.net
2019-11-27 20:37 ` bugzilla at busybox.net
2019-11-28 19:41 ` bugzilla at busybox.net
2019-11-28 22:01 ` bugzilla at busybox.net
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=bug-12166-163@https.bugs.busybox.net/ \
--to=bugzilla@busybox.net \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.