-
Notifications
You must be signed in to change notification settings - Fork 30k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cross-compilation bug when compiling for loongarch64 on a non-loongarch64 host with Linux #56280
Comments
@jakecastelli This is another question, not related to #56271. CXX(target) /home/node/node-v23.5.0/out/Release/obj.target/simdjson/deps/simdjson/simdjson.o
CXX(target) /home/node/node-v23.5.0/out/Release/obj.target/simdutf/deps/simdutf/simdutf.o
In file included from ../deps/simdutf/simdutf.cpp:3:
../deps/simdutf/simdutf.h: In function 'uint32_t simdutf::internal::detect_supported_architectures()':
../deps/simdutf/simdutf.h:1010:15: error: 'HWCAP_LOONGARCH_LSX' was not declared in this scope; did you mean 'NT_LOONGARCH_LSX'?
1010 | if (hwcap & HWCAP_LOONGARCH_LSX) {
| ^~~~~~~~~~~~~~~~~~~
| NT_LOONGARCH_LSX
../deps/simdutf/simdutf.h:1013:15: error: 'HWCAP_LOONGARCH_LASX' was not declared in this scope; did you mean 'NT_LOONGARCH_LASX'?
1013 | if (hwcap & HWCAP_LOONGARCH_LASX) {
| ^~~~~~~~~~~~~~~~~~~~
| NT_LOONGARCH_LASX
make[2]: *** [deps/simdutf/simdutf.target.mk:86: /home/node/node-v23.5.0/out/Release/obj.target/simdutf/deps/simdutf/simdutf.o] Error 1
make[2]: *** Waiting for unfinished jobs....
rm b3e7be9c273d1b3e28c4c7a2c640f007e0b1a736.intermediate d5d23d9e558114923b72eb56873d6fc9b5ff4d1f.intermediate
make[1]: *** [Makefile:135: node] Error 2
make: *** [Makefile:1288: node-v23.5.0-linux-loong64.tar] Error 2 |
Sorry about that! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
v22.12.0
Platform
Subsystem
Cross-compiling for Linux loongarch64 on a Linux x86_64 machine.
What steps will reproduce the bug?
How often does it reproduce? Is there a required condition?
always
What is the expected behavior? Why is that the expected behavior?
Should compile.
What do you see instead?
Additional information
The text was updated successfully, but these errors were encountered: