New: Node.js Package fails to build against musl i386
https://bugs.busybox.net/show_bug.cgi?id=15061
Bug ID: 15061
Summary: Node.js Package fails to build against musl i386
Product: buildroot
Version: 2022.08
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]Target Milestone: ---
Hello,
I have been trying to build the Nodejs package against musl for a i386 Pentium3 target. Nodejs has an unofficial build for musl (x64) and for x86 (gcc), however there is no unofficial build for x86 musl. I assume it's possible to build against musl-i386. I built nodejs against uClibc-ng i386 on the exact same machine months ago, however now that doesn't work either. For reference, my system uses glibc x64 and does not contain a musl i386 linker (since Ubuntu no longer supports i386).
The full output of make is attached here along with the defconfig (for reprod.):
https://gist.github.com/Skyclo/4168deaa1a73be8574d43eb70a4d9de1
The ninja build seems to fail consistently when doing anything related to "obj/gen/generate-bytecode-output-root/builtins-generated/bytecodes-builtins-list.h". It produces the following output before eventually crashing the make job queue:
Quoted 4 lines
Quoted 4 lines
[218/2653] ACTION
generate_bytecode_builtins_list:generate_bytecode_builtins_list_action_3931b343a4cb0bd98da4e581f6ce90fe
FAILED:obj/gen/generate-bytecode-output-root/builtins-generated/bytecodes-builtins-list.h
cd ../../tools/v8_gypfiles; python../../deps/v8/tools/run.py../../out/Release/v8-qemu-wrapper ../../out/Release/bytecode_builtins_list_generator../../out/Release/obj/gen/generate-bytecode-output-root/builtins-generated/bytecodes-builtins-list.h
qemu-i386: Could not open '/lib/ld-musl-i386.so.1': No such file or directory
Return code is 255
Getting the file info from "./output/target/lib/ld-musl-i386.so.1" returns the following:
Quoted 1 line
Quoted 1 line
./output/target/lib/ld-musl-i386.so.1: broken symbolic link to
/lib/libc.so
I'm unsure if that is what is causing my issues. From what I can tell, the qemu wrapper should be able to resolve that symlink to the one found under the target's lib.
I do not believe that my issue is related to Bug 14936 nor Bug 14366. I have not had time to see if the patch available at
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
works for my specific case.
Thanks for any help in advance!
Signature · 6 lines
You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
[Buildroot] [Bug 15061] Node.js Package fails to build against musl i386
https://bugs.busybox.net/show_bug.cgi?id=15061
--- Comment #1 from [email protected] ---
I downgraded to the 2022.08.1 release from the master branch and nodejs builds. I think there is a regression somewhere between the 08 release and the current commit, but I'm not sure where.
The overall build still fails, however, it is due to Bug 14936 (nodejs/node#37441).
I'll try to look into it more.
Signature · 6 lines
You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
[Buildroot] [Bug 15061] Node.js Package fails to build against musl i386
In reply to [email protected]https://bugs.busybox.net/show_bug.cgi?id=15061
[email protected] changed:
What |Removed |Added
----------------------------------------------------------------------------
Host| |x86_64
Target| |i386Signature · 6 lines
You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
[Buildroot] [Bug 15061] Node.js Package fails to build against musl i386
In reply to [email protected]https://bugs.busybox.net/show_bug.cgi?id=15061
--- Comment #2 from Thomas Petazzoni <[email protected]> --- I submitted a fix for this issue at
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
Signature · 6 lines
You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
[Buildroot] [Bug 15061] Node.js Package fails to build against musl i386
In reply to [email protected]https://bugs.busybox.net/show_bug.cgi?id=15061
Thomas Petazzoni <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED--- Comment #3 from Thomas Petazzoni <[email protected]> --- Fixed by
https://gitlab.com/buildroot.org/buildroot/-/commit/7935e427bce601f16ee194978583e533213f78c6
Signature · 6 lines
You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot