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
/emsdk # ldd /emsdk/upstream/bin/clang
/lib64/ld-linux-x86-64.so.2 (0x7fa3aef0d000)
libpthread.so.0 => /lib64/ld-linux-x86-64.so.2 (0x7fa3aef0d000)
librt.so.1 => /lib64/ld-linux-x86-64.so.2 (0x7fa3aef0d000)
libdl.so.2 => /lib64/ld-linux-x86-64.so.2 (0x7fa3aef0d000)
libm.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7fa3aef0d000)
libz.so.1 => /lib/libz.so.1 (0x7fa3a8fb7000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x7fa3a8f9e000)
libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7fa3aef0d000)
Error loading shared library ld-linux-x86-64.so.2: No such file or directory (needed by /emsdk/upstream/bin/clang)
Error relocating /emsdk/upstream/bin/clang: mallinfo: symbol not found
Error relocating /emsdk/upstream/bin/clang: backtrace: symbol not found
Error relocating /emsdk/upstream/bin/clang: backtrace_symbols_fd: symbol not found
Error relocating /emsdk/upstream/bin/clang: strtoll_l: symbol not found
Error relocating /emsdk/upstream/bin/clang: strtoull_l: symbol not found
Agreed that it's probably not worth the effort to get building on Alpine, we can consider that an unsupported platform for building. Will look into refactoring the tests so we can still test on Alpine without building there.
Activity
robertgzr commentedon Sep 27, 2022
looks like emscripten-core/emsdk#897
we can try building it from source I guess, there used to be a package for alpine, but it was dropped from the testing repo due to lack of maintenance: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/23041
which might be an indicator of how smooth the from source approach would be...
otherwise the approach linked in the emsdk issue (installing glibc in alpine) would probably work, but I don't see the point
dsanders11 commentedon Sep 27, 2022
Agreed that it's probably not worth the effort to get building on Alpine, we can consider that an unsupported platform for building. Will look into refactoring the tests so we can still test on Alpine without building there.
ci: bring back testing on alpine
ci: bring back testing on alpine
ci: bring back testing on alpine
ci: bring back testing on alpine
ci: bring back testing on alpine
ci: bring back testing on alpine
ci: bring back testing on alpine
ci: bring back testing on alpine
ci: bring back testing on alpine
ci: bring back testing on alpine
ci: bring back testing on alpine
ci: bring back testing on alpine
ci: bring back testing on alpine
ci: bring back testing on alpine