All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 15061] New: Node.js Package fails to build against musl i386
@ 2022-10-17  7:43 bugzilla
  2022-10-20 17:13 ` [Buildroot] [Bug 15061] " bugzilla
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: bugzilla @ 2022-10-17  7:43 UTC (permalink / raw)
  To: buildroot

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: unassigned@buildroot.uclibc.org
          Reporter: hello.skyclo@gmail.com
                CC: buildroot@uclibc.org
  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:


>> [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:


>> ./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/20220809075704.86472-4-ardeleanalex@gmail.com/
works for my specific case.

Thanks for any help in advance!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [Bug 15061] Node.js Package fails to build against musl i386
  2022-10-17  7:43 [Buildroot] [Bug 15061] New: Node.js Package fails to build against musl i386 bugzilla
@ 2022-10-20 17:13 ` bugzilla
  2022-10-20 17:14 ` bugzilla
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla @ 2022-10-20 17:13 UTC (permalink / raw)
  To: buildroot

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

--- Comment #1 from hello.skyclo@gmail.com ---
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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [Bug 15061] Node.js Package fails to build against musl i386
  2022-10-17  7:43 [Buildroot] [Bug 15061] New: Node.js Package fails to build against musl i386 bugzilla
  2022-10-20 17:13 ` [Buildroot] [Bug 15061] " bugzilla
@ 2022-10-20 17:14 ` bugzilla
  2022-10-26 12:59 ` bugzilla
  2022-10-30 20:19 ` bugzilla
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla @ 2022-10-20 17:14 UTC (permalink / raw)
  To: buildroot

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

hello.skyclo@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
               Host|                            |x86_64
             Target|                            |i386

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [Bug 15061] Node.js Package fails to build against musl i386
  2022-10-17  7:43 [Buildroot] [Bug 15061] New: Node.js Package fails to build against musl i386 bugzilla
  2022-10-20 17:13 ` [Buildroot] [Bug 15061] " bugzilla
  2022-10-20 17:14 ` bugzilla
@ 2022-10-26 12:59 ` bugzilla
  2022-10-30 20:19 ` bugzilla
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla @ 2022-10-26 12:59 UTC (permalink / raw)
  To: buildroot

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

--- Comment #2 from Thomas Petazzoni <thomas.petazzoni@bootlin.com> ---
I submitted a fix for this issue at
https://patchwork.ozlabs.org/project/buildroot/patch/20221026125836.3910730-1-thomas.petazzoni@bootlin.com/

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [Bug 15061] Node.js Package fails to build against musl i386
  2022-10-17  7:43 [Buildroot] [Bug 15061] New: Node.js Package fails to build against musl i386 bugzilla
                   ` (2 preceding siblings ...)
  2022-10-26 12:59 ` bugzilla
@ 2022-10-30 20:19 ` bugzilla
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla @ 2022-10-30 20:19 UTC (permalink / raw)
  To: buildroot

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

Thomas Petazzoni <thomas.petazzoni@bootlin.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Thomas Petazzoni <thomas.petazzoni@bootlin.com> ---
Fixed by
https://gitlab.com/buildroot.org/buildroot/-/commit/7935e427bce601f16ee194978583e533213f78c6

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-10-30 20:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-17  7:43 [Buildroot] [Bug 15061] New: Node.js Package fails to build against musl i386 bugzilla
2022-10-20 17:13 ` [Buildroot] [Bug 15061] " bugzilla
2022-10-20 17:14 ` bugzilla
2022-10-26 12:59 ` bugzilla
2022-10-30 20:19 ` bugzilla

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.