| Summary: | Compiling nodejs for SAMA5D3 always crash with illegal instruction | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | Dan Smolik <marvin> |
| Component: | Other | Assignee: | Martin <martin> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | buildroot |
| Priority: | P5 | ||
| Version: | 2019.05.1 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
|
Description
Dan Smolik
2019-09-02 18:43:39 UTC
URL form my buildrootconfig https://drive.google.com/open?id=1gvl2QoB-F1lK1mJPjnj1U2hsE9G-QlQT 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 ? Yes I can. I test it and report back. I have submitted a fix at https://patchwork.ozlabs.org/patch/1201811/ Thank you. Regards from Prague |