* [Buildroot] [Bug 12166] New: Compiling nodejs for SAMA5D3 always crash with illegal instruction
@ 2019-09-02 18:43 bugzilla at busybox.net
2019-09-02 18:49 ` [Buildroot] [Bug 12166] " bugzilla at busybox.net
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2019-09-02 18:43 UTC (permalink / raw)
To: buildroot
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.
^ permalink raw reply [flat|nested] 8+ messages in thread* [Buildroot] [Bug 12166] Compiling nodejs for SAMA5D3 always crash with illegal instruction
2019-09-02 18:43 [Buildroot] [Bug 12166] New: Compiling nodejs for SAMA5D3 always crash with illegal instruction bugzilla at busybox.net
@ 2019-09-02 18:49 ` bugzilla at busybox.net
2019-09-11 13:36 ` bugzilla at busybox.net
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2019-09-02 18:49 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12166
--- Comment #1 from Dan Smolik <marvin@mydatex.cz> ---
URL form my buildrootconfig
https://drive.google.com/open?id=1gvl2QoB-F1lK1mJPjnj1U2hsE9G-QlQT
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread* [Buildroot] [Bug 12166] Compiling nodejs for SAMA5D3 always crash with illegal instruction
2019-09-02 18:43 [Buildroot] [Bug 12166] New: Compiling nodejs for SAMA5D3 always crash with illegal instruction bugzilla at busybox.net
2019-09-02 18:49 ` [Buildroot] [Bug 12166] " bugzilla at busybox.net
@ 2019-09-11 13:36 ` bugzilla at busybox.net
2019-11-27 8:35 ` bugzilla at busybox.net
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2019-09-11 13:36 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12166
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at buildroot.uclibc |martin at barkynet.com
|.org |
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread* [Buildroot] [Bug 12166] Compiling nodejs for SAMA5D3 always crash with illegal instruction
2019-09-02 18:43 [Buildroot] [Bug 12166] New: Compiling nodejs for SAMA5D3 always crash with illegal instruction bugzilla at busybox.net
2019-09-02 18:49 ` [Buildroot] [Bug 12166] " 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
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2019-11-27 8:35 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12166
--- Comment #2 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
It seems like the nodejs build system is overriding the mfpu flag, and
OpenEmbedded has a patch to remove this logic, see
https://github.com/openembedded/meta-openembedded/blob/master/meta-oe/recipes-devtools/nodejs/nodejs/0007-v8-don-t-override-ARM-CFLAGS.patch.
Could you try to apply this patch to nodejs, and see if it fixes the issue for
you ?
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread* [Buildroot] [Bug 12166] Compiling nodejs for SAMA5D3 always crash with illegal instruction
2019-09-02 18:43 [Buildroot] [Bug 12166] New: Compiling nodejs for SAMA5D3 always crash with illegal instruction bugzilla at busybox.net
` (2 preceding siblings ...)
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
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2019-11-27 8:46 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12166
--- Comment #3 from Dan Smolik <marvin@mydatex.cz> ---
Yes I can. I test it and report back.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread* [Buildroot] [Bug 12166] Compiling nodejs for SAMA5D3 always crash with illegal instruction
2019-09-02 18:43 [Buildroot] [Bug 12166] New: Compiling nodejs for SAMA5D3 always crash with illegal instruction bugzilla at busybox.net
` (3 preceding siblings ...)
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
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2019-11-27 20:37 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12166
--- Comment #4 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
I have submitted a fix at https://patchwork.ozlabs.org/patch/1201811/
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread* [Buildroot] [Bug 12166] Compiling nodejs for SAMA5D3 always crash with illegal instruction
2019-09-02 18:43 [Buildroot] [Bug 12166] New: Compiling nodejs for SAMA5D3 always crash with illegal instruction bugzilla at busybox.net
` (4 preceding siblings ...)
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
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2019-11-28 19:41 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12166
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #5 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
Fixed by
https://git.buildroot.org/buildroot/commit/?id=f3c80d711c8954e408397f7a18fb9fdaaf42d773
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread* [Buildroot] [Bug 12166] Compiling nodejs for SAMA5D3 always crash with illegal instruction
2019-09-02 18:43 [Buildroot] [Bug 12166] New: Compiling nodejs for SAMA5D3 always crash with illegal instruction bugzilla at busybox.net
` (5 preceding siblings ...)
2019-11-28 19:41 ` bugzilla at busybox.net
@ 2019-11-28 22:01 ` bugzilla at busybox.net
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2019-11-28 22:01 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12166
--- Comment #6 from Dan Smolik <marvin@mydatex.cz> ---
Thank you.
Regards from Prague
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2019-11-28 22:01 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-02 18:43 [Buildroot] [Bug 12166] New: Compiling nodejs for SAMA5D3 always crash with illegal instruction bugzilla at busybox.net
2019-09-02 18:49 ` [Buildroot] [Bug 12166] " 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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox