You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cross compiling failed on node v16.13.1 for android aarch64 #41380
How often does it reproduce? Is there a required condition?
always
What is the expected behavior?
no error during the build
What do you see instead?
/node-v16.13.1/out/Release/obj.target/libuv/deps/uv/src/unix/core.o: In function `uv_run':
/node-v16.13.1/out/../deps/uv/src/unix/core.c:389: undefined reference to `uv__io_poll'
/node-v16.13.1/out/Release/obj.target/libuv/deps/uv/src/unix/core.o: In function `uv__io_close':
/node-v16.13.1/out/../deps/uv/src/unix/core.c:956: undefined reference to `uv__platform_invalidate_fd'
/node-v16.13.1/out/Release/obj.target/libuv/deps/uv/src/unix/poll.o: In function `uv_poll_init':
/node-v16.13.1/out/../deps/uv/src/unix/poll.c:74: undefined reference to `uv__io_check_fd'
/node-v16.13.1/out/Release/obj.target/libuv/deps/uv/src/unix/poll.o: In function `uv__poll_stop':
/node-v16.13.1/out/../deps/uv/src/unix/poll.c:108: undefined reference to `uv__platform_invalidate_fd'
/node-v16.13.1/out/../deps/uv/src/unix/poll.c:108: undefined reference to `uv__platform_invalidate_fd'
/node-v16.13.1/out/../deps/uv/src/unix/poll.c:108: undefined reference to `uv__platform_invalidate_fd'
/node-v16.13.1/out/Release/obj.target/libuv/deps/uv/src/unix/linux-core.o: In function `uv__platform_loop_init':
/node-v16.13.1/out/../deps/uv/src/unix/linux-core.c:90: undefined reference to `uv__epoll_init'
/node-v16.13.1/out/../deps/uv/src/unix/linux-core.c:90: undefined reference to `uv__epoll_init'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
Additional information
searched for the missing functions, their definitions are all in /node-v16.13.1/deps/uv/unix/epoll.c; however, in /node-v16.13.1/out/deps/uv/libuv.target.mk, epoll.o is not in OBJS list; add epoll.o to the list and compile passed.
Android is not a supported platform. Patches to improve the Android build are welcome. There is no testing on Android in the current continuous integration environment. The participation of people dedicated and determined to improve Android building, testing, and support is encouraged.
(No problem opening an issue, though! Hopefully someone who knows something responds.)
Activity
Trott commentedon Jan 2, 2022
You probably know this, but just in case:
(No problem opening an issue, though! Hopefully someone who knows something responds.)
RaisinTen commentedon Jan 3, 2022
I think this source list
node/deps/uv/uv.gyp
Lines 257 to 265 in f1658bd
must be synced with
node/deps/uv/CMakeLists.txt
Lines 205 to 214 in f1658bd
build: fix libuv builds for android aarch64
RaisinTen commentedon Jan 16, 2022
I'm reopening this so that it gets automatically closed when #41555 lands.
build: fix libuv builds for android aarch64
build: fix libuv builds for android aarch64
build: fix libuv builds for android aarch64
build: fix libuv builds for android aarch64