[Buildroot] [Bug 12426] NodeJS slow startup performance (~30s)

bugzilla at busybox.net bugzilla at busybox.net
Sun Dec 22 18:02:03 UTC 2019


https://bugs.busybox.net/show_bug.cgi?id=12426

--- Comment #6 from Eric Higgins <erichiggins at gmail.com> ---
All subsequent runs of nodejs are just as slow to start.

Storage is a class 10 microSD.

Actually, the prebuilt nodejs binaries are also dynamically linked. I found
this out the hard way because I was using uClibc-ng and the prebuilt expects
glibc.


(prebuilt)
# file /usr/local/lib/nodejs/node-v10.18.0-linux-armv6l/bin/node

/usr/local/lib/nodejs/node-v10.18.0-linux-armv6l/bin/node: ELF 32-bit LSB
executable, ARM, EABI5 version 1 (GNU/Linux), dynamically linked, interpreter
/lib/ld-linux-armhf.so.3, for GNU/Linux 3.16.42, with debug_info, not stripped


(compiled by buildroot)
# file /usr/bin/node 

/usr/bin/node: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV),
dynamically linked, interpreter /lib/ld-uClibc.so.0, stripped


For what it's worth, the flags they use for armv6l are available here:

https://github.com/nodejs/unofficial-builds/tree/master/recipes/armv6l

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the buildroot mailing list