What Node versions, OSs and CPU architectures are you building for?
node16-linuxstatic-armv7
Describe the Bug
I am using:
npm install -g @yao-pkg/pkg
``
and i run:
``
npx pkg -t node16-linuxstatic-armv7 -o /root/dist/cTunnelbin /root/cTunnel
in bellow system:
root@f31ddad78f17:~# uname -a
Linux f31ddad78f17 5.15.146.1-microsoft-standard-WSL2 #1 SMP Thu Jan 11 04:09:03 UTC 2024 armv7l GNU/Linux
root@f31ddad78f17:~# ldd --version
ldd (Debian GLIBC 2.28-10) 2.28
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
root@f31ddad78f17:~# node -v
v16.16.0
root@f31ddad78f17:~# python --version
Python 3.8.5
and i got error and stop compiling with:
/usr/bin/ld: internal error ../../ld/ldlang.c 6644
collect2: error: ld returned 1 exit status
make[1]: *** [deps/openssl/openssl-cli.target.mk:238: /tmp/pkg.9ef2fca1010730e0e667d1cc/node/out/Release/openssl-cli] Error 1
make[1]: *** Waiting for unfinished jobs....
lto1: warning: switch -mcpu=cortex-a7 conflicts with -march=armv7-a switch
lto1: warning: switch -mcpu=cortex-a7 conflicts with -march=armv7-a switch
lto1: warning: switch -mcpu=cortex-a7 conflicts with -march=armv7-a switch
lto1: warning: switch -mcpu=cortex-a7 conflicts with -march=armv7-a switch
lto1: warning: switch -mcpu=cortex-a7 conflicts with -march=armv7-a switch
rm bbae8d205582ab3f9f6805d70144925450681cc4.intermediate
make: *** [Makefile:113: node] Error 2
strip: '/tmp/pkg.9ef2fca1010730e0e667d1cc/node/out/Release/node': No such file
> Error! Error: ENOENT: no such file or directory, open '/tmp/pkg.9ef2fca1010730e0e667d1cc/node/out/Release/node'
``
how to fix that
### Expected Behavior
----
### To Reproduce
----
What version of pkg are you using?
5.11.5
What version of Node.js are you using?
v16.16.0
What operating system are you using?
GNU/Linux
What CPU architecture are you using?
armv7l
What Node versions, OSs and CPU architectures are you building for?
node16-linuxstatic-armv7
Describe the Bug
I am using:
in bellow system:
and i got error and stop compiling with: