Repository navigation
Closed
Labels
setupInstaller / setup wizard problemsInstaller / setup wizard problems
Description
Before you continue
- I'm on the latest version (latest WheelWizard, or the latest
MarioKartWiiCompiled-Setup.exefrom the Releases page). - I searched the existing issues and nobody has reported this yet.
- I have a legally obtained copy of the game and it works in Dolphin.
Where does it go wrong?
During compilation / translation
How did you install?
Downloaded the setup exe myself
What happens?
Error during linking on the x86 appimage on linux:
[115/116]` Linking CXX executable WiiCompiled
FAILED: [code=1] WiiCompiled
: && /home/kaio/.local/share/WiiCompiled/workspace/toolchain/bin/clang++ -O3 -DNDEBUG -fuse-ld=lld -Xlinker --dependency-file=CMakeFiles/WiiCompiled.dir/link.d CMakeFiles/mkw_runtime_common.dir/Unity/unity_runtime_2_cxx.cxx.o CMakeFiles/mkw_runtime_common.dir/Unity/unity_runtime_4_cxx.cxx.o CMakeFiles/mkw_runtime_common.dir/Unity/unity_runtime_0_cxx.cxx.o CMakeFiles/mkw_runtime_common.dir/Unity/unity_guest_system_cxx.cxx.o CMakeFiles/mkw_runtime_common.dir/Unity/unity_runtime_3_cxx.cxx.o CMakeFiles/mkw_runtime_common.dir/Unity/unity_runtime_5_cxx.cxx.o CMakeFiles/mkw_runtime_common.dir/Unity/unity_runtime_1_cxx.cxx.o CMakeFiles/mkw_runtime_common.dir/Unity/unity_gx_bridge_cxx.cxx.o CMakeFiles/mkw_runtime_common.dir/Unity/unity_runtime_6_cxx.cxx.o CMakeFiles/mkw_runtime_common.dir/Unity/unity_network_ios_cxx.cxx.o CMakeFiles/mkw_runtime_common.dir/Unity/unity_runtime_7_cxx.cxx.o CMakeFiles/mkw_runtime_common.dir/src/fpu_helpers.cpp.o CMakeFiles/mkw_runtime_common.dir/src/ppc_helpers.cpp.o CMakeFiles/mkw_runtime_common.dir/home/kaio/.local/share/WiiCompiled/workspace/generated/data_sections_init_blobs.S.o CMakeFiles/mkw_cpu_baseline.dir/src/host_cpu_baseline.cpp.o CMakeFiles/WiiCompiled.dir/src/product/base_product.cpp.o CMakeFiles/WiiCompiled.dir/home/kaio/.local/share/WiiCompiled/workspace/generated/build_shards/base_dispatch/indirect_dispatch_a0a39a429c344b0a.cpp.o CMakeFiles/WiiCompiled.dir/home/kaio/.local/share/WiiCompiled/workspace/generated/build_shards/base_registration/registration_00_cc931094628247a9.cpp.o CMakeFiles/WiiCompiled.dir/home/kaio/.local/share/WiiCompiled/workspace/generated/build_shards/base_registration/registration_01_6ff0e666b258b0b3.cpp.o CMakeFiles/WiiCompiled.dir/home/kaio/.local/share/WiiCompiled/workspace/generated/build_shards/base_registration/registration_02_d8ae37749e0ced46.cpp.o CMakeFiles/WiiCompiled.dir/home/kaio/.local/share/WiiCompiled/workspace/generated/build_shards/base_registration/registration_03_6649315124890319.cpp.o CMakeFiles/WiiCompiled.dir/home/kaio/.local/share/WiiCompiled/workspace/generated/build_shards/base_registration/registration_04_7313c328932016dc.cpp.o CMakeFiles/WiiCompiled.dir/home/kaio/.local/share/WiiCompiled/workspace/generated/build_shards/base_registration/registration_05_34944915cdae5d39.cpp.o CMakeFiles/WiiCompiled.dir/home/kaio/.local/share/WiiCompiled/workspace/generated/build_shards/base_registration/registration_06_9fe24cb5efb579d9.cpp.o CMakeFiles/WiiCompiled.dir/home/kaio/.local/share/WiiCompiled/workspace/generated/build_shards/base_registration/registration_07_85773c582975be40.cpp.o CMakeFiles/WiiCompiled.dir/home/kaio/.local/share/WiiCompiled/workspace/generated/build_shards/base_registration/registration_08_7470f2f18eeed4a6.cpp.o CMakeFiles/WiiCompiled.dir/home/kaio/.local/share/WiiCompiled/workspace/generated/build_shards/base_registration/registration_09_c936452d7690ba3a.cpp.o CMakeFiles/WiiCompiled.dir/home/kaio/.local/share/WiiCompiled/workspace/generated/build_shards/base_registration/registration_10_a7eb07ade9ef9095.cpp.o CMakeFiles/WiiCompiled.dir/home/kaio/.local/share/WiiCompiled/workspace/generated/build_shards/base_registration/registration_11_f78d4c9338212c43.cpp.o CMakeFiles/WiiCompiled.dir/home/kaio/.local/share/WiiCompiled/workspace/generated/build_shards/base_registration/registration_12_7622f0ec9b8b5f72.cpp.o CMakeFiles/WiiCompiled.dir/home/kaio/.local/share/WiiCompiled/workspace/generated/build_shards/base_registration/registration_13_0bce85264a93ce7d.cpp.o CMakeFiles/WiiCompiled.dir/home/kaio/.local/share/WiiCompiled/workspace/generated/build_shards/base_registration/registration_14_f0f71e2f3ebdc393.cpp.o CMakeFiles/WiiCompiled.dir/home/kaio/.local/share/WiiCompiled/workspace/generated/build_shards/base_registration/registration_15_8ea1abc3ce2d4915.cpp.o -o WiiCompiled libmkw_platform.a libmkw_base_shared.a libmkw_pugixml.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libmkw_cryptopp.a libmkw_libco.a -ldl /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libaurora_gx.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libaurora_pad.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libaurora_si.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libaurora_vi.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libaurora_mtx.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libmkw_cryptopp.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libpng16.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libaurora_core.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libxxhash.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libabsl_cord.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libabsl_cordz_info.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libabsl_cord_internal.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libabsl_cordz_functions.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libabsl_cordz_handle.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libabsl_crc_cord_state.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libabsl_crc32c.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libabsl_crc_internal.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libabsl_crc_cpu_detect.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libabsl_str_format_internal.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libabsl_raw_hash_set.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libabsl_hash.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libabsl_bad_optional_access.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libabsl_city.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libabsl_bad_variant_access.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libabsl_low_level_hash.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libabsl_hashtablez_sampler.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libabsl_exponential_biased.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libabsl_synchronization.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libabsl_stacktrace.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libabsl_graphcycles_internal.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libabsl_kernel_timeout_internal.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libabsl_time.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libabsl_civil_time.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libabsl_time_zone.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libabsl_symbolize.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libabsl_strings.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libabsl_strings_internal.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libabsl_string_view.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libabsl_throw_delegate.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libabsl_int128.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libabsl_debugging_internal.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libabsl_malloc_internal.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libabsl_base.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libabsl_raw_logging_internal.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libabsl_log_severity.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libabsl_spinlock_wait.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libabsl_demangle_internal.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libabsl_demangle_rust.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libabsl_decode_rust_punycode.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libabsl_utf8_for_code_point.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libsqlite3.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libTracyClient.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libfmt.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libzstd.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libimgui.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libimgui_backends.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libimgui.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libimgui_backends.a /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libfreetype.a -lz /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/include/dawn_package/lib/libwebgpu_dawn.a -lrt -ldl -lrt -ldl /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/lib/libSDL3.a -lm && cd /home/kaio/.local/share/WiiCompiled/workspace/native-build && /home/kaio/.local/share/WiiCompiled/workspace/toolchain/bin/cmake -E copy_directory /home/kaio/.local/share/WiiCompiled/workspace/runtime/assets/wii /home/kaio/.local/share/WiiCompiled/workspace/native-build/wii_bootstrap && cd /home/kaio/.local/share/WiiCompiled/workspace/native-build && /home/kaio/.local/share/WiiCompiled/workspace/toolchain/bin/cmake -E copy_if_different /home/kaio/.local/share/WiiCompiled/workspace/runtime/assets/dsp/dsp_coef.bin /home/kaio/.local/share/WiiCompiled/workspace/native-build/dsp_coef.bin && cd /home/kaio/.local/share/WiiCompiled/workspace/native-build && /home/kaio/.local/share/WiiCompiled/workspace/toolchain/bin/cmake -E copy_if_different /home/kaio/.local/share/WiiCompiled/workspace/runtime/assets/pipeline/initial_pipeline_cache.db /home/kaio/.local/share/WiiCompiled/workspace/native-build/initial_pipeline_cache.db
ld.lld: error: undefined symbol: __isoc23_strtol
>>> referenced by sysinfo.cc
>>> sysinfo.cc.o:(void absl::base_internal::CallOnceImpl<absl::base_internal::NominalCPUFrequency()::$_0>(std::atomic<unsigned int>*, absl::base_internal::SchedulingMode, absl::base_internal::NominalCPUFrequency()::$_0&&)) in archive /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/include/dawn_package/lib/libwebgpu_dawn.a
[ 75%] Compiling the game. This is the longest step
ld.lld: error: undefined symbol: __isoc23_strtoul
>>> referenced by PhysicalDeviceGL.cpp
>>> PhysicalDeviceGL.cpp.o:(dawn::native::opengl::PhysicalDevice::InitializeImpl()) in archive /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/include/dawn_package/lib/libwebgpu_dawn.a
>>> referenced by validate_extensions.cpp
>>> validate_extensions.cpp.o:(spvtools::val::ValidateExtInstImport(spvtools::val::ValidationState_t&, spvtools::val::Instruction const*)) in archive /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/include/dawn_package/lib/libwebgpu_dawn.a
>>> referenced by validate_extensions.cpp
>>> validate_extensions.cpp.o:(spvtools::val::ValidateExtInstImport(spvtools::val::ValidationState_t&, spvtools::val::Instruction const*)) in archive /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/include/dawn_package/lib/libwebgpu_dawn.a
[ 76%] Compiling the game. This is the longest step
>>> referenced 3 more times
ld.lld: error: undefined symbol: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>::_M_replace_cold(char*, unsigned long, char const*, unsigned long, unsigned long)
>>> referenced by printer.cc
>>> printer.cc.o:(tint::glsl::writer::(anonymous namespace)::Printer::Generate()) in archive /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/include/dawn_package/lib/libwebgpu_dawn.a
>>> referenced by printer.cc
>>> printer.cc.o:(tint::glsl::writer::(anonymous namespace)::Printer::EmitStructMembers(tint::TextGenerator::TextBuffer&, tint::core::type::Struct const*)::'lambda'(unsigned int)::operator()(unsigned int) const) in archive /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/include/dawn_package/lib/libwebgpu_dawn.a
[ 77%] Compiling the game. This is the longest step
>>> referenced by printer.cc
>>> printer.cc.o:(tint::glsl::writer::(anonymous namespace)::Printer::NameOf[abi:cxx11](tint::core::type::StructMember const*)) in archive /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/include/dawn_package/lib/libwebgpu_dawn.a
>>> referenced 20 more times
ld.lld: error: undefined symbol: __isoc23_strtoll
>>> referenced by text.cpp
>>> text.cpp.o:(spvTextToLiteral(char const*, spv_literal_t*)) in archive /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/include/dawn_package/lib/libwebgpu_dawn.a
[ 78%] Compiling the game. This is the longest step
ld.lld: error: undefined symbol: __isoc23_strtoull
>>> referenced by text.cpp
>>> text.cpp.o:(spvTextToLiteral(char const*, spv_literal_t*)) in archive /home/kaio/.local/share/WiiCompiled/workspace/native-prebuilt/include/dawn_package/lib/libwebgpu_dawn.a
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
error: local-build.sh failed (exit 1). See diagnostics above.
Setup log
Not sure where to find it on linux
Windows version
ubuntu 22.04
Antivirus (if any besides Windows Defender)
none
Reacted by lyingriotman
Metadata
Metadata
Assignees
Labels
setupInstaller / setup wizard problemsInstaller / setup wizard problems
Activity
thomasczer commentedon Sep 5, 2026
Root cause, for what it's worth: this is the prebuilt Dawn, not the toolchain.
Every symbol in the error comes from the same archive,
native-prebuilt/include/dawn_package/lib/libwebgpu_dawn.a:__isoc23_strtol/strtoul/strtoll/strtoullonly exist in glibc ≥ 2.38 (they are the C23 redirects the newer headers emit forstrtol& co).std::__cxx11::basic_string<...>::_M_replace_coldonly exists in libstdc++ ≥ GCC 13.Ubuntu 22.04 has glibc 2.35 and GCC 12's libstdc++, so neither can be resolved, and the link uses the host's glibc/libstdc++ by design.
Checked on the v0.2.27 x86_64 AppImage's
native-prebuilt/:readelf -p .commenton the Dawn objects saysUbuntu clang version 18.1.3throughout, i.e. Ubuntu 24.04's clang.provenance.jsonrecordsDawnVersion v20260603.191052, whichaurora-main/cmake/AuroraDawnProvider.cmakefetches prebuilt from encounter/dawn-build, and that project'sbuild.ymlruns onubuntu-24.04/ubuntu-24.04-arm. So the Dawn archive carries a glibc 2.39 / libstdc++ 14 baseline while everything else innative-prebuilt/is built on the 22.04 runner and is fine.That makes the affected set "any host with glibc < 2.38 or libstdc++ < GCC 13": Ubuntu 22.04, Debian 12, RHEL 9 and derivatives. Newer distros (24.04, Fedora, Arch) link fine, which is why it looks the opposite of #136/#150.
#151 does not help here: it fixes
ld.lldnot starting, this isld.lldrunning and correctly reporting symbols the host cannot provide. Possible fixes are on the Dawn side: build Dawn on the 22.04 runner with the bundled toolchain, the wayPrepare-NativePrebuilt.shalready builds SDL3 and aurora, or get a 22.04-built variant published by encounter/dawn-build. Linking with the bundled libc++ (-stdlib=libc++) would cover_M_replace_coldbut not the glibc symbols.kaioraf commentedon Sep 5, 2026
Thanks for the info, I've updated to a 24.04 installation, now the compiler doesn't work at all though and fails the test program, the other issue #136 seems to suggest that this is a problem on llvm's end? I updated to the most recent appimage release as well.
Error message below just in case it's useful
theofficialgman commentedon Sep 12, 2026
I will fork that repo at the required history and see if it can be updated to 22.04 and still build successfully.
theofficialgman commentedon Sep 12, 2026
@kaioraf there are still a few very small host dependencies required to build. on ubuntu, I know that pulling in
build-essentialandzlib1g-devis more than enoughswitch to dawn-build fork building on Ubuntu 22.04 rather than 24.04 …
switch to dawn-build fork building on Ubuntu 22.04 rather than 24.04 …
lyingriotman commentedon Sep 22, 2026
Still have the same issue on Linux Mint 22.3 Zena. Tried doing a clean build, but regardless compilation fails at the
Linking CXX executable WiiCompiledstep at around 78%.switch to dawn-build fork building on Ubuntu 22.04 rather than 24.04 …