New comment by motorto on void-packages repository https://github.com/void-linux/void-packages/pull/36962#issuecomment-1153110546 Comment: @prez spinned a quick x86_64-musl vm and it seems to file compiling ( I am going to attach the logs later) ``` [621/1899] Linking CXX static library /builddir/llvm-project-14.0.3.src/llvm/build/lib/clang/14.0.3/lib/x86_64-unknown-linux-musl/libclang_rt.scudo_standalone.a [622/1899] Building C object compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-x86_64.dir/GCDAProfiling.c.o [623/1899] Linking CXX shared library /builddir/llvm-project-14.0.3.src/llvm/build/lib/clang/14.0.3/lib/x86_64-unknown-linux-musl/libclang_rt.scudo_standalone.so FAILED: /builddir/llvm-project-14.0.3.src/llvm/build/lib/clang/14.0.3/lib/x86_64-unknown-linux-musl/libclang_rt.scudo_standalone.so : && /builddir/llvm-project-14.0.3.src/llvm/build/./bin/clang++ --target=x86_64-unknown-linux-musl -fPIC -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -fdebug-prefix-map=/builddir/llvm-project-14.0.3.src=. -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wstring-conversion -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -Wall -std=c++14 -Wno-unused-parameter -O3 -DNDEBUG -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -Wl,-z,defs -Wl,-z,nodelete -Wl,-z,defs,-z,now,-z,relro -ffunction-sections -fdata-sections -Wl,--gc-sections -nostdlib++ -pthread -Wl,-rpath-link,/builddir/llvm-project-14.0.3.src/llvm/build/./lib -shared -Wl,-soname,libclang_rt.scudo_standalone.so -o /builddir/llvm-project-14.0.3.src/llvm/build/lib/clang/14.0.3/lib/x86_64-unknown-linux-musl/libclang_rt.scudo_standalone.so compiler-rt/lib/gwp_asan/CMakeFiles/RTGwpAsan.x86_64.dir/common.cpp.o compiler-rt/lib/gwp_asan/CMakeFiles/RTGwpAsan.x86_64.dir/crash_handler.cpp.o compiler-rt/lib/gwp_asan/CMakeFiles/RTGwpAsan.x86_64.dir/platform_specific/common_posix.cpp.o compiler-rt/lib/gwp_asan/CMakeFiles/RTGwpAsan.x86_64.dir/platform_specific/guarded_pool_allocator_posix.cpp.o compiler-rt/lib/gwp_asan/CMakeFiles/RTGwpAsan.x86_64.dir/platform_specific/mutex_posix.cpp.o compiler-rt/lib/gwp_asan/CMakeFiles/RTGwpAsan.x86_64.dir/platform_specific/utilities_posix.cpp.o compiler-rt/lib/gwp_asan/CMakeFiles/RTGwpAsan.x86_64.dir/guarded_pool_allocator.cpp.o compiler-rt/lib/gwp_asan/CMakeFiles/RTGwpAsan.x86_64.dir/stack_trace_compressor.cpp.o compiler-rt/lib/gwp_asan/CMakeFiles/RTGwpAsanBacktraceLibc.x86_64.dir/optional/backtrace_linux_libc.cpp.o compiler-rt/lib/gwp_asan/CMakeFiles/RTGwpAsanSegvHandler.x86_64.dir/optional/segv_handler_posix.cpp.o compiler-rt/lib/gwp_asan/CMakeFiles/RTGwpAsanOptionsParser.x86_64.dir/optional/options_parser.cpp.o compiler-rt/lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone-dynamic-x86_64.dir/checksum.cpp.o compiler-rt/lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone-dynamic-x86_64.dir/common.cpp.o compiler-rt/lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone-dynamic-x86_64.dir/crc32_hw.cpp.o compiler-rt/lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone-dynamic-x86_64.dir/flags_parser.cpp.o compiler-rt/lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone-dynamic-x86_64.dir/flags.cpp.o compiler-rt/lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone-dynamic-x86_64.dir/fuchsia.cpp.o compiler-rt/lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone-dynamic-x86_64.dir/linux.cpp.o compiler-rt/lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone-dynamic-x86_64.dir/release.cpp.o compiler-rt/lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone-dynamic-x86_64.dir/report.cpp.o compiler-rt/lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone-dynamic-x86_64.dir/string_utils.cpp.o compiler-rt/lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone-dynamic-x86_64.dir/wrappers_c.cpp.o compiler-rt/lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone-dynamic-x86_64.dir/wrappers_cpp.cpp.o -Wl,-rpath,"\$ORIGIN/../lib:/builddir/llvm-project-14.0.3.src/llvm/build/./lib" && : /usr/bin/x86_64-unknown-linux-musl-ld: /usr/bin/x86_64-unknown-linux-musl-ld: DWARF error: invalid or unhandled FORM value: 0x25 compiler-rt/lib/gwp_asan/CMakeFiles/RTGwpAsanBacktraceLibc.x86_64.dir/optional/backtrace_linux_libc.cpp.o: in function `(anonymous namespace)::Backtrace(unsigned long*, unsigned long)': backtrace_linux_libc.cpp:(.text._ZN12_GLOBAL__N_19BacktraceEPmm+0x5): undefined reference to `backtrace' /usr/bin/x86_64-unknown-linux-musl-ld: compiler-rt/lib/gwp_asan/CMakeFiles/RTGwpAsanBacktraceLibc.x86_64.dir/optional/backtrace_linux_libc.cpp.o: in function `(anonymous namespace)::PrintBacktrace(unsigned long*, unsigned long, void (*)(char const*, ...))': backtrace_linux_libc.cpp:(.text._ZN12_GLOBAL__N_114PrintBacktraceEPmmPFvPKczE+0x20): undefined reference to `backtrace_symbols' /usr/bin/x86_64-unknown-linux-musl-ld: compiler-rt/lib/gwp_asan/CMakeFiles/RTGwpAsanBacktraceLibc.x86_64.dir/optional/backtrace_linux_libc.cpp.o: in function `(anonymous namespace)::SegvBacktrace(unsigned long*, unsigned long, void*)': backtrace_linux_libc.cpp:(.text._ZN12_GLOBAL__N_113SegvBacktraceEPmmPv+0x5): undefined reference to `backtrace' clang-14: error: linker command failed with exit code 1 (use -v to see invocation) [624/1899] Linking CXX shared library /builddir/llvm-project-14.0.3.src/llvm/build/lib/clang/14.0.3/lib/x86_64-unknown-linux-musl/libclang_rt.scudo.so [625/1899] Linking CXX static library compiler-rt/lib/scudo/standalone/tests/libRTScudoUnitTest.x86_64.a ninja: build stopped: subcommand failed. [6060/6089] Generating man Sphinx documentation for llvm into "/builddir/llvm-project-14.0.3.src/llvm/build/docs/man" /usr/lib/python3.10/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document warn("Container node skipped: type={0}".format(mdnode.t)) FAILED: runtimes/runtimes-stamps/runtimes-build /builddir/llvm-project-14.0.3.src/llvm/build/runtimes/runtimes-stamps/runtimes-build cd /builddir/llvm-project-14.0.3.src/llvm/build/runtimes/runtimes-bins && /usr/bin/cmake --build . [6062/6089] Generating man Sphinx documentation for llvm-dwarfdump into "/builddir/llvm-project-14.0.3.src/llvm/build/docs/man" /usr/lib/python3.10/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document warn("Container node skipped: type={0}".format(mdnode.t)) [6063/6089] Generating html Sphinx documentation for llvm into "/builddir/llvm-project-14.0.3.src/llvm/build/docs/html" /usr/lib/python3.10/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document warn("Container node skipped: type={0}".format(mdnode.t)) /usr/lib/python3.10/site-packages/sphinx/builders/html/__init__.py:626: FutureWarning: The configuration setting "embed_images" will be removed in Docutils 1.2. Use "image_loading: link". self.docwriter.write(doctree, destination) ninja: build stopped: subcommand failed. ```