#1133663 wasmedge: ftbfs with GCC-16

Package:
src:wasmedge
Source:
src:wasmedge
Submitter:
Emanuele Rocca
Date:
2026-09-08 08:37:02 UTC
Severity:
normal
Tags:
#1133663#5
Date:
2026-04-13 13:12:35 UTC
From:
To:
Hi,

wasmedge fails to build in a test rebuild on at least amd64 and arm64 with
gcc-16/g++-16, but builds properly with gcc-15/g++-15. The severity of this
report will be raised before the forky release.

The full build log can be found at:
https://people.debian.org/~ema/gcc-16-rebuilds/output-1/wasmedge_arm64.build.xz

The last lines of the build log are at the end of this report.

To build with GCC 16, either set CC=gcc-16 CXX=g++-16 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++

Common build failures include unused (but set) variables, array subscripts
partly outside array bounds, and new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-16/porting_to.html

Please only close this issue after double-checking that the package can be
built correctly with GCC 16.

Please do not reassign this bug to another package. If a fix in another package
is required, then file a bug for the other package (or clone), and mark this
bug as blocked by the bug in the other package.

[...]


cd /build/reproducible-path/wasmedge-0.16.1+dfsg/obj-aarch64-linux-gnu/lib/loader && /usr/bin/c++ -DFMT_SHARED -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -I/build/reproducible-path/wasmedge-0.16.1+dfsg/obj-aarch64-linux-gnu/include -I/build/reproducible-path/wasmedge-0.16.1+dfsg/include -I/build/reproducible-path/wasmedge-0.16.1+dfsg/obj-aarch64-linux-gnu/lib/system -g -O2 -ffile-prefix-map=/build/reproducible-path/wasmedge-0.16.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Werror -Wno-error=pedantic -Wno-psabi -Wno-error=dangling-reference -Wno-error=template-id-cdtor -MD -MT lib/loader/CMakeFiles/wasmedgeLoader.dir/ast/instruction.cpp.o -MF CMakeFiles/wasmedgeLoader.dir/ast/instruction.cpp.o.d -o CMakeFiles/wasmedgeLoader.dir/ast/instruction.cpp.o -c /build/reproducible-path/wasmedge-0.16.1+dfsg/lib/loader/ast/instruction.cpp
cd /build/reproducible-path/wasmedge-0.16.1+dfsg/obj-aarch64-linux-gnu/lib/loader && /usr/bin/c++ -DFMT_SHARED -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -I/build/reproducible-path/wasmedge-0.16.1+dfsg/obj-aarch64-linux-gnu/include -I/build/reproducible-path/wasmedge-0.16.1+dfsg/include -I/build/reproducible-path/wasmedge-0.16.1+dfsg/obj-aarch64-linux-gnu/lib/system -g -O2 -ffile-prefix-map=/build/reproducible-path/wasmedge-0.16.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Werror -Wno-error=pedantic -Wno-psabi -Wno-error=dangling-reference -Wno-error=template-id-cdtor -MD -MT lib/loader/CMakeFiles/wasmedgeLoader.dir/serialize/serial_description.cpp.o -MF CMakeFiles/wasmedgeLoader.dir/serialize/serial_description.cpp.o.d -o CMakeFiles/wasmedgeLoader.dir/serialize/serial_description.cpp.o -c /build/reproducible-path/wasmedge-0.16.1+dfsg/lib/loader/serialize/serial_description.cpp
cd /build/reproducible-path/wasmedge-0.16.1+dfsg/obj-aarch64-linux-gnu/lib/loader && /usr/bin/c++ -DFMT_SHARED -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -I/build/reproducible-path/wasmedge-0.16.1+dfsg/obj-aarch64-linux-gnu/include -I/build/reproducible-path/wasmedge-0.16.1+dfsg/include -I/build/reproducible-path/wasmedge-0.16.1+dfsg/obj-aarch64-linux-gnu/lib/system -g -O2 -ffile-prefix-map=/build/reproducible-path/wasmedge-0.16.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Werror -Wno-error=pedantic -Wno-psabi -Wno-error=dangling-reference -Wno-error=template-id-cdtor -MD -MT lib/loader/CMakeFiles/wasmedgeLoader.dir/serialize/serial_expression.cpp.o -MF CMakeFiles/wasmedgeLoader.dir/serialize/serial_expression.cpp.o.d -o CMakeFiles/wasmedgeLoader.dir/serialize/serial_expression.cpp.o -c /build/reproducible-path/wasmedge-0.16.1+dfsg/lib/loader/serialize/serial_expression.cpp
cd /build/reproducible-path/wasmedge-0.16.1+dfsg/obj-aarch64-linux-gnu/lib/loader && /usr/bin/c++ -DFMT_SHARED -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -I/build/reproducible-path/wasmedge-0.16.1+dfsg/obj-aarch64-linux-gnu/include -I/build/reproducible-path/wasmedge-0.16.1+dfsg/include -I/build/reproducible-path/wasmedge-0.16.1+dfsg/obj-aarch64-linux-gnu/lib/system -g -O2 -ffile-prefix-map=/build/reproducible-path/wasmedge-0.16.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Werror -Wno-error=pedantic -Wno-psabi -Wno-error=dangling-reference -Wno-error=template-id-cdtor -MD -MT lib/loader/CMakeFiles/wasmedgeLoader.dir/serialize/serial_instruction.cpp.o -MF CMakeFiles/wasmedgeLoader.dir/serialize/serial_instruction.cpp.o.d -o CMakeFiles/wasmedgeLoader.dir/serialize/serial_instruction.cpp.o -c /build/reproducible-path/wasmedge-0.16.1+dfsg/lib/loader/serialize/serial_instruction.cpp
cd /build/reproducible-path/wasmedge-0.16.1+dfsg/obj-aarch64-linux-gnu/lib/loader && /usr/bin/c++ -DFMT_SHARED -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -I/build/reproducible-path/wasmedge-0.16.1+dfsg/obj-aarch64-linux-gnu/include -I/build/reproducible-path/wasmedge-0.16.1+dfsg/include -I/build/reproducible-path/wasmedge-0.16.1+dfsg/obj-aarch64-linux-gnu/lib/system -g -O2 -ffile-prefix-map=/build/reproducible-path/wasmedge-0.16.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Werror -Wno-error=pedantic -Wno-psabi -Wno-error=dangling-reference -Wno-error=template-id-cdtor -MD -MT lib/loader/CMakeFiles/wasmedgeLoader.dir/serialize/serial_module.cpp.o -MF CMakeFiles/wasmedgeLoader.dir/serialize/serial_module.cpp.o.d -o CMakeFiles/wasmedgeLoader.dir/serialize/serial_module.cpp.o -c /build/reproducible-path/wasmedge-0.16.1+dfsg/lib/loader/serialize/serial_module.cpp
cd /build/reproducible-path/wasmedge-0.16.1+dfsg/obj-aarch64-linux-gnu/lib/loader && /usr/bin/c++ -DFMT_SHARED -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -I/build/reproducible-path/wasmedge-0.16.1+dfsg/obj-aarch64-linux-gnu/include -I/build/reproducible-path/wasmedge-0.16.1+dfsg/include -I/build/reproducible-path/wasmedge-0.16.1+dfsg/obj-aarch64-linux-gnu/lib/system -g -O2 -ffile-prefix-map=/build/reproducible-path/wasmedge-0.16.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Werror -Wno-error=pedantic -Wno-psabi -Wno-error=dangling-reference -Wno-error=template-id-cdtor -MD -MT lib/loader/CMakeFiles/wasmedgeLoader.dir/serialize/serial_section.cpp.o -MF CMakeFiles/wasmedgeLoader.dir/serialize/serial_section.cpp.o.d -o CMakeFiles/wasmedgeLoader.dir/serialize/serial_section.cpp.o -c /build/reproducible-path/wasmedge-0.16.1+dfsg/lib/loader/serialize/serial_section.cpp
cd /build/reproducible-path/wasmedge-0.16.1+dfsg/obj-aarch64-linux-gnu/lib/loader && /usr/bin/c++ -DFMT_SHARED -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -I/build/reproducible-path/wasmedge-0.16.1+dfsg/obj-aarch64-linux-gnu/include -I/build/reproducible-path/wasmedge-0.16.1+dfsg/include -I/build/reproducible-path/wasmedge-0.16.1+dfsg/obj-aarch64-linux-gnu/lib/system -g -O2 -ffile-prefix-map=/build/reproducible-path/wasmedge-0.16.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Werror -Wno-error=pedantic -Wno-psabi -Wno-error=dangling-reference -Wno-error=template-id-cdtor -MD -MT lib/loader/CMakeFiles/wasmedgeLoader.dir/serialize/serial_segment.cpp.o -MF CMakeFiles/wasmedgeLoader.dir/serialize/serial_segment.cpp.o.d -o CMakeFiles/wasmedgeLoader.dir/serialize/serial_segment.cpp.o -c /build/reproducible-path/wasmedge-0.16.1+dfsg/lib/loader/serialize/serial_segment.cpp
cd /build/reproducible-path/wasmedge-0.16.1+dfsg/obj-aarch64-linux-gnu/lib/loader && /usr/bin/c++ -DFMT_SHARED -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -I/build/reproducible-path/wasmedge-0.16.1+dfsg/obj-aarch64-linux-gnu/include -I/build/reproducible-path/wasmedge-0.16.1+dfsg/include -I/build/reproducible-path/wasmedge-0.16.1+dfsg/obj-aarch64-linux-gnu/lib/system -g -O2 -ffile-prefix-map=/build/reproducible-path/wasmedge-0.16.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Werror -Wno-error=pedantic -Wno-psabi -Wno-error=dangling-reference -Wno-error=template-id-cdtor -MD -MT lib/loader/CMakeFiles/wasmedgeLoader.dir/serialize/serial_type.cpp.o -MF CMakeFiles/wasmedgeLoader.dir/serialize/serial_type.cpp.o.d -o CMakeFiles/wasmedgeLoader.dir/serialize/serial_type.cpp.o -c /build/reproducible-path/wasmedge-0.16.1+dfsg/lib/loader/serialize/serial_type.cpp
cd /build/reproducible-path/wasmedge-0.16.1+dfsg/obj-aarch64-linux-gnu/lib/loader && /usr/bin/c++ -DFMT_SHARED -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -I/build/reproducible-path/wasmedge-0.16.1+dfsg/obj-aarch64-linux-gnu/include -I/build/reproducible-path/wasmedge-0.16.1+dfsg/include -I/build/reproducible-path/wasmedge-0.16.1+dfsg/obj-aarch64-linux-gnu/lib/system -g -O2 -ffile-prefix-map=/build/reproducible-path/wasmedge-0.16.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Werror -Wno-error=pedantic -Wno-psabi -Wno-error=dangling-reference -Wno-error=template-id-cdtor -MD -MT lib/loader/CMakeFiles/wasmedgeLoader.dir/loader.cpp.o -MF CMakeFiles/wasmedgeLoader.dir/loader.cpp.o.d -o CMakeFiles/wasmedgeLoader.dir/loader.cpp.o -c /build/reproducible-path/wasmedge-0.16.1+dfsg/lib/loader/loader.cpp
cc1plus: all warnings being treated as errors
/build/reproducible-path/wasmedge-0.16.1+dfsg/lib/llvm/codegen.cpp: In function ‘std::filesystem::__cxx11::path {anonymous}::createTemp(std::filesystem::__cxx11::path)’:
/build/reproducible-path/wasmedge-0.16.1+dfsg/lib/llvm/codegen.cpp:165:23: note: non-delegitimized UNSPEC UNSPEC_TLS (98) found in variable location
  165 | std::filesystem::path createTemp(const std::filesystem::path Model) noexcept {
      |                       ^~~~~~~~~~
make[3]: *** [lib/host/wasi/CMakeFiles/wasmedgeHostModuleWasi.dir/build.make:96: lib/host/wasi/CMakeFiles/wasmedgeHostModuleWasi.dir/vinode.cpp.o] Error 1
cc1plus: all warnings being treated as errors
make[3]: *** [lib/host/wasi/CMakeFiles/wasmedgeHostModuleWasi.dir/build.make:180: lib/host/wasi/CMakeFiles/wasmedgeHostModuleWasi.dir/inode-linux.cpp.o] Error 1
cc1plus: all warnings being treated as errors
make[3]: *** [lib/host/wasi/CMakeFiles/wasmedgeHostModuleWasi.dir/build.make:82: lib/host/wasi/CMakeFiles/wasmedgeHostModuleWasi.dir/environ.cpp.o] Error 1
[ 85%] Linking CXX static library libwasmedgeValidator.a
cd /build/reproducible-path/wasmedge-0.16.1+dfsg/obj-aarch64-linux-gnu/lib/validator && /usr/bin/cmake -P CMakeFiles/wasmedgeValidator.dir/cmake_clean_target.cmake
cd /build/reproducible-path/wasmedge-0.16.1+dfsg/obj-aarch64-linux-gnu/lib/validator && /usr/bin/cmake -E cmake_link_script CMakeFiles/wasmedgeValidator.dir/link.txt --verbose=1
/usr/bin/ar qc libwasmedgeValidator.a CMakeFiles/wasmedgeValidator.dir/formchecker.cpp.o CMakeFiles/wasmedgeValidator.dir/validator.cpp.o CMakeFiles/wasmedgeValidator.dir/component_validator.cpp.o
/usr/bin/ranlib libwasmedgeValidator.a
make[3]: Leaving directory '/build/reproducible-path/wasmedge-0.16.1+dfsg/obj-aarch64-linux-gnu'
[ 85%] Built target wasmedgeValidator
/build/reproducible-path/wasmedge-0.16.1+dfsg/lib/executor/helper.cpp: In member function ‘WasmEdge::Expect<const WasmEdge::AST::Instruction*> WasmEdge::Executor::Executor::enterFunction(WasmEdge::Runtime::StackManager&, const WasmEdge::Runtime::Instance::FunctionInstance&, cxx20::span<const WasmEdge::AST::Instruction, 18446744073709551615>::iterator, bool)’:
/build/reproducible-path/wasmedge-0.16.1+dfsg/lib/executor/helper.cpp:48:1: note: non-delegitimized UNSPEC UNSPEC_TLS (98) found in variable location
   48 | Executor::enterFunction(Runtime::StackManager &StackMgr,
      | ^~~~~~~~
cc1plus: all warnings being treated as errors
make[3]: *** [lib/host/wasi/CMakeFiles/wasmedgeHostModuleWasi.dir/build.make:110: lib/host/wasi/CMakeFiles/wasmedgeHostModuleWasi.dir/wasifunc.cpp.o] Error 1
[ 86%] Linking CXX static library libwasmedgeLoader.a
cd /build/reproducible-path/wasmedge-0.16.1+dfsg/obj-aarch64-linux-gnu/lib/loader && /usr/bin/cmake -P CMakeFiles/wasmedgeLoader.dir/cmake_clean_target.cmake
cd /build/reproducible-path/wasmedge-0.16.1+dfsg/obj-aarch64-linux-gnu/lib/loader && /usr/bin/cmake -E cmake_link_script CMakeFiles/wasmedgeLoader.dir/link.txt --verbose=1
/usr/bin/ar qc libwasmedgeLoader.a CMakeFiles/wasmedgeLoader.dir/ast/component/component.cpp.o CMakeFiles/wasmedgeLoader.dir/ast/component/component_section.cpp.o CMakeFiles/wasmedgeLoader.dir/ast/component/component_instance.cpp.o CMakeFiles/wasmedgeLoader.dir/ast/component/component_sort.cpp.o CMakeFiles/wasmedgeLoader.dir/ast/component/component_alias.cpp.o CMakeFiles/wasmedgeLoader.dir/ast/component/component_canonical.cpp.o CMakeFiles/wasmedgeLoader.dir/ast/component/component_start.cpp.o CMakeFiles/wasmedgeLoader.dir/ast/component/component_type.cpp.o CMakeFiles/wasmedgeLoader.dir/ast/component/component_import.cpp.o CMakeFiles/wasmedgeLoader.dir/ast/component/component_export.cpp.o CMakeFiles/wasmedgeLoader.dir/ast/component/component_declarator.cpp.o CMakeFiles/wasmedgeLoader.dir/ast/component/component_descriptor.cpp.o CMakeFiles/wasmedgeLoader.dir/ast/component/component_valtype.cpp.o CMakeFiles/wasmedgeLoader.dir/ast/module.cpp.o CMakeFiles/wasmedgeLoader.dir/ast/section.cpp.o CMakeFiles/wasmedgeLoader.dir/ast/description.cpp.o CMakeFiles/wasmedgeLoader.dir/ast/segment.cpp.o CMakeFiles/wasmedgeLoader.dir/ast/type.cpp.o CMakeFiles/wasmedgeLoader.dir/ast/expression.cpp.o CMakeFiles/wasmedgeLoader.dir/ast/instruction.cpp.o CMakeFiles/wasmedgeLoader.dir/serialize/serial_description.cpp.o CMakeFiles/wasmedgeLoader.dir/serialize/serial_expression.cpp.o CMakeFiles/wasmedgeLoader.dir/serialize/serial_instruction.cpp.o CMakeFiles/wasmedgeLoader.dir/serialize/serial_module.cpp.o CMakeFiles/wasmedgeLoader.dir/serialize/serial_section.cpp.o CMakeFiles/wasmedgeLoader.dir/serialize/serial_segment.cpp.o CMakeFiles/wasmedgeLoader.dir/serialize/serial_type.cpp.o CMakeFiles/wasmedgeLoader.dir/loader.cpp.o
/usr/bin/ranlib libwasmedgeLoader.a
make[3]: Leaving directory '/build/reproducible-path/wasmedge-0.16.1+dfsg/obj-aarch64-linux-gnu'
[ 86%] Built target wasmedgeLoader
[ 87%] Linking CXX static library libwasmedgePlugin.a
cd /build/reproducible-path/wasmedge-0.16.1+dfsg/obj-aarch64-linux-gnu/lib/plugin && /usr/bin/cmake -P CMakeFiles/wasmedgePlugin.dir/cmake_clean_target.cmake
cd /build/reproducible-path/wasmedge-0.16.1+dfsg/obj-aarch64-linux-gnu/lib/plugin && /usr/bin/cmake -E cmake_link_script CMakeFiles/wasmedgePlugin.dir/link.txt --verbose=1
/usr/bin/ar qc libwasmedgePlugin.a CMakeFiles/wasmedgePlugin.dir/plugin.cpp.o
/usr/bin/ranlib libwasmedgePlugin.a
make[3]: Leaving directory '/build/reproducible-path/wasmedge-0.16.1+dfsg/obj-aarch64-linux-gnu'
[ 87%] Built target wasmedgePlugin
[ 87%] Linking CXX static library libwasmedgeLLVM.a
cd /build/reproducible-path/wasmedge-0.16.1+dfsg/obj-aarch64-linux-gnu/lib/llvm && /usr/bin/cmake -P CMakeFiles/wasmedgeLLVM.dir/cmake_clean_target.cmake
cd /build/reproducible-path/wasmedge-0.16.1+dfsg/obj-aarch64-linux-gnu/lib/llvm && /usr/bin/cmake -E cmake_link_script CMakeFiles/wasmedgeLLVM.dir/link.txt --verbose=1
/usr/bin/ar qc libwasmedgeLLVM.a CMakeFiles/wasmedgeLLVM.dir/compiler.cpp.o CMakeFiles/wasmedgeLLVM.dir/codegen.cpp.o CMakeFiles/wasmedgeLLVM.dir/data.cpp.o CMakeFiles/wasmedgeLLVM.dir/jit.cpp.o
/usr/bin/ranlib libwasmedgeLLVM.a
make[3]: Leaving directory '/build/reproducible-path/wasmedge-0.16.1+dfsg/obj-aarch64-linux-gnu'
[ 87%] Built target wasmedgeLLVM
cc1plus: all warnings being treated as errors
make[3]: *** [lib/host/wasi/CMakeFiles/wasmedgeHostModuleWasi.dir/build.make:124: lib/host/wasi/CMakeFiles/wasmedgeHostModuleWasi.dir/wasimodule.cpp.o] Error 1
make[3]: Leaving directory '/build/reproducible-path/wasmedge-0.16.1+dfsg/obj-aarch64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:1090: lib/host/wasi/CMakeFiles/wasmedgeHostModuleWasi.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 88%] Linking CXX static library libwasmedgeExecutor.a
cd /build/reproducible-path/wasmedge-0.16.1+dfsg/obj-aarch64-linux-gnu/lib/executor && /usr/bin/cmake -P CMakeFiles/wasmedgeExecutor.dir/cmake_clean_target.cmake
cd /build/reproducible-path/wasmedge-0.16.1+dfsg/obj-aarch64-linux-gnu/lib/executor && /usr/bin/cmake -E cmake_link_script CMakeFiles/wasmedgeExecutor.dir/link.txt --verbose=1
/usr/bin/ar qc libwasmedgeExecutor.a CMakeFiles/wasmedgeExecutor.dir/instantiate/import.cpp.o CMakeFiles/wasmedgeExecutor.dir/instantiate/function.cpp.o CMakeFiles/wasmedgeExecutor.dir/instantiate/global.cpp.o CMakeFiles/wasmedgeExecutor.dir/instantiate/table.cpp.o CMakeFiles/wasmedgeExecutor.dir/instantiate/memory.cpp.o CMakeFiles/wasmedgeExecutor.dir/instantiate/elem.cpp.o CMakeFiles/wasmedgeExecutor.dir/instantiate/data.cpp.o CMakeFiles/wasmedgeExecutor.dir/instantiate/export.cpp.o CMakeFiles/wasmedgeExecutor.dir/instantiate/tag.cpp.o CMakeFiles/wasmedgeExecutor.dir/instantiate/module.cpp.o CMakeFiles/wasmedgeExecutor.dir/instantiate/component/component.cpp.o CMakeFiles/wasmedgeExecutor.dir/instantiate/component/component_alias.cpp.o CMakeFiles/wasmedgeExecutor.dir/instantiate/component/component_canon.cpp.o CMakeFiles/wasmedgeExecutor.dir/instantiate/component/component_export.cpp.o CMakeFiles/wasmedgeExecutor.dir/instantiate/component/component_import.cpp.o CMakeFiles/wasmedgeExecutor.dir/instantiate/component/component_instance.cpp.o CMakeFiles/wasmedgeExecutor.dir/instantiate/component/component_module.cpp.o CMakeFiles/wasmedgeExecutor.dir/instantiate/component/component_start.cpp.o CMakeFiles/wasmedgeExecutor.dir/instantiate/component/component_type.cpp.o CMakeFiles/wasmedgeExecutor.dir/engine/proxy.cpp.o CMakeFiles/wasmedgeExecutor.dir/engine/controlInstr.cpp.o CMakeFiles/wasmedgeExecutor.dir/engine/tableInstr.cpp.o CMakeFiles/wasmedgeExecutor.dir/engine/threadInstr.cpp.o CMakeFiles/wasmedgeExecutor.dir/engine/memoryInstr.cpp.o CMakeFiles/wasmedgeExecutor.dir/engine/variableInstr.cpp.o CMakeFiles/wasmedgeExecutor.dir/engine/refInstr.cpp.o CMakeFiles/wasmedgeExecutor.dir/engine/engine.cpp.o CMakeFiles/wasmedgeExecutor.dir/helper.cpp.o CMakeFiles/wasmedgeExecutor.dir/executor.cpp.o CMakeFiles/wasmedgeExecutor.dir/coredump.cpp.o
/usr/bin/ranlib libwasmedgeExecutor.a
make[3]: Leaving directory '/build/reproducible-path/wasmedge-0.16.1+dfsg/obj-aarch64-linux-gnu'
[ 88%] Built target wasmedgeExecutor
make[2]: Leaving directory '/build/reproducible-path/wasmedge-0.16.1+dfsg/obj-aarch64-linux-gnu'
make[1]: *** [Makefile:159: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/wasmedge-0.16.1+dfsg/obj-aarch64-linux-gnu'
dh_auto_build: error: cd obj-aarch64-linux-gnu && make -j128 INSTALL="install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2

#1133663#10
Date:
2026-04-15 07:44:54 UTC
From:
To:
Control: forwarded -1 https://github.com/WasmEdge/WasmEdge/issues/4789
Control: tags -1 + fixed-upstream

Thanks for the mass rebuild and for the report!

Apparently this has been fixed upstream for some time, and even reported
again in the upstream backtracker yesterday by someone else. I've
confirmed that the fix is part of both the 0.16.2 branch (no tag yet),
and the 0.17.x alphas. Given GCC 16 is not the default yet, and this is
not RC, I'm opting to wait until for a WasmEdge release to avoid the
hassle of backporting it.

Faidon

#1133663#21
Date:
2026-08-14 17:10:54 UTC
From:
To:
Hi Faidon!

I'm a newbie contributor to Debian and was looking into fixing this bug as a
useful learning experience. I stumbled across this as crun is removed from
testing because it transitively depends on libwasmedge0, and I use crun via
podman.

It seems the update to 0.17.1 broke the libwasmedge0 ABI:
https://dpaste.com/FGTKVMHSR

After looking into WasmEdge's commit history and general development, it seems
the project is now heavily LLM-coded, and this ABI breakage is perhaps a signal
that there could be better and more stable alternatives.

The only wasmedge reverse dep is crun (Suggests:), and crun supports three
other WASM runtimes: wasmer, wamr, wasmtime. Maybe one of these could be better
positioned as a potential replacement for WasmEdge?

Popcon for libwasmedge0 is 0, so maybe this package could be retired even?

The way I see it, there are a few potential solutions to close this bug:

- Bump wasmedge to 0.16.4 as a minimal-change fix for this FTBFS
- Bump to 0.17.1 as it's the latest upstream
- Backport the fix to 0.16.1
- Disable WASM support in crun to allow it back into test
- Package an alternative runtime and have crun depend on that instead
  - Then perhaps retire wasmedge?

I'm not super experienced so maybe I'm talking rubbish here and am way off the
mark, but I'm happy to help out if one of my potential solutions sounds good to
you (or some other solution entirely)?

Let me know. :)

#1133663#26
Date:
2026-09-08 08:34:00 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
wasmedge, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1133663@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Faidon Liambotis <paravoid@debian.org> (supplier of updated wasmedge package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 08 Sep 2026 10:59:25 +0300
Source: wasmedge
Architecture: source
Version: 0.17.1-1
Distribution: unstable
Urgency: medium
Maintainer: Faidon Liambotis <paravoid@debian.org>
Changed-By: Faidon Liambotis <paravoid@debian.org>
Closes: 1133663 1138857
Changes:
 wasmedge (0.17.1-1) unstable; urgency=medium
 .
   * New upstream release:
     - Thanks to Zigang Lin from Second State for providing patches and
       working with upstream on some of the issues below. (Closes: #1138857)
     - Fixes FTBFS with GCC 16. (Closes: #1133663)
     - Drop the +dfsg repack, as upstream removed the only remaining binary
       artifact, see (see upstream #4495).
     - Update symbols with the newly-introduced symbol versioning that retain
       compatibility with <= 0.16.1, as well as the new 0.17.x symbols.
   * Generate a VERSION file from DEB_VERSION_UPSTREAM, so what wasmedge
     --version works again.
   * Update debian/copyright to reflect a path change and year bump.
   * Bump Standards-Version to 4.7.4, no changes needed.
Checksums-Sha1:
 86fd3c11664cbb96fd75cae3c90c4814d604a74d 2258 wasmedge_0.17.1-1.dsc
 dc285478fea2b157dcce421cf4e7a05a1eb3e3a7 3528029 wasmedge_0.17.1.orig.tar.gz
 7cbbbbd9fc48a0b57e9546d749c06e0ba0237c37 11784 wasmedge_0.17.1-1.debian.tar.xz
 dd151309e285bfea57b238b5f2aa60bb05208140 8939 wasmedge_0.17.1-1_amd64.buildinfo
Checksums-Sha256:
 69c68f487709c954ee01976394d960d986a43ba32d17c9eeb6eeb1d4313299c7 2258 wasmedge_0.17.1-1.dsc
 09107f25e9192fa698436fe3b54935ba662665383e9cdcd7aa8a7f8f16aa7dc1 3528029 wasmedge_0.17.1.orig.tar.gz
 1a2287a951f80123be26b01346bf8a1fa58f7ef678e0e9ab12be95e31044657a 11784 wasmedge_0.17.1-1.debian.tar.xz
 02c5594654d910e37434ce89c8562e2612cb7c2dbe92ebe0fa139470cbc75aaf 8939 wasmedge_0.17.1-1_amd64.buildinfo
Files:
 423e85a539826cd9e04cff32377a5955 2258 web optional wasmedge_0.17.1-1.dsc
 000d021aef03c2ce0e49ead2a307b0f8 3528029 web optional wasmedge_0.17.1.orig.tar.gz
 8d0c133b4d084b0f665bdb071a110195 11784 web optional wasmedge_0.17.1-1.debian.tar.xz
 ec9882b78b4564f5cdeecf11cb4c87ed 8939 web optional wasmedge_0.17.1-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEqVksUhy5BAd9ZZgAnQteWx7sjw4FAmqfwecACgkQnQteWx7s
jw7X3Q/+LgFUwBQXWGa9N0Wq/01D13KyL9jg1FqQ7klotqXyk1xxR0wCh5GU6S4Q
ItXUKv1P72D/79CO/GaZVQKZsqkoRt+Qy8GVn0tQznWd94OSOcbZN2SZPQVNm5xp
WSS0ADxd3tcrSuWSAa0Q20Gh9BjNkcyTrszoeHs1nPj9h+t1aQE5nXBr4viI5a8Q
ssSVL1Ami5eHbEhdJtdz7L4fVGd6g/nP5dxzLzzB56xrCoNuiOjaI72vzRQl8arR
VpvD8kkZv+9LoplwJGYbN2yalwiEh/PI3AD1P0jQK2cHy5mPQSsQ3FeMK32oYJph
pHCutSK4wy8HI7nssx19+THko33xj+cT9nBK1xM4XSKnKv2y33PMrhA1BOdJXDup
rNJ2R7OUADBBJa5NxRr+GGB+zEpu5VgOnTbTyOpk7emthnAcWLOFHkVhuW3zuCKN
hr961LRdYbU6g5Pp5CMlIcxax2oejaNEaGLq3YBixzUirOIXXY80jVwZ7YVRxxHy
YoHfbMQ8HIlQQa79cwKBsardGTbJd8FusEdNQqYISPz5U79SKSsYhwSFdkC4x7Bp
Yx/rDYbKtn9UbwjuhZQBTdsVryXCgYcs6qcOYhsgCFMosTGkmCw9tkjMb/iyafPu
l5PqxGbIFw/SqZK1K1YxkW1J0eg0j4VINEJKY0DBrqfHRdAEiGs=
=zeCB
-----END PGP SIGNATURE-----