** Description changed:

- Autopkgtest command1 fails for AMD64 and ARM64 for resolute and stonking
- while testing WASM support for C program with wasi-libc:
+ * Autopkgtest command1 fails for AMD64 and ARM64 for resolute and
+ stonking while testing WASM support for C program with wasi-libc:
  
  254s ok 40 Test WASM support for C program with wasi-libc
  255s not ok 41 Test WASM support for C++ program with wasi-libc
  255s # (in test file debian/qualify-clang.sh, line 891)
  255s #   `assert_success "Failed to compile cout.cpp for wasm32-wasi"' failed
  255s #
  255s # -- command failed --
  255s # status : 1
  255s # output (15 lines):
  255s #   wasm-ld-18: error: 
/usr/lib/wasm32-wasi/libc++.a(stdlib_new_delete.cpp.o): undefined symbol: 
__cxa_allocate_exception
  255s #   wasm-ld-18: error: 
/usr/lib/wasm32-wasi/libc++.a(stdlib_new_delete.cpp.o): undefined symbol: 
__cxa_throw
  255s #   wasm-ld-18: error: 
/usr/lib/wasm32-wasi/libc++.a(stdlib_new_delete.cpp.o): undefined symbol: 
__cxa_allocate_exception
  255s #   wasm-ld-18: error: 
/usr/lib/wasm32-wasi/libc++.a(stdlib_new_delete.cpp.o): undefined symbol: 
__cxa_throw
  255s #   wasm-ld-18: error: 
/usr/lib/wasm32-wasi/libc++.a(stdlib_new_delete.cpp.o): undefined symbol: 
__cxa_allocate_exception
  255s #   wasm-ld-18: error: 
/usr/lib/wasm32-wasi/libc++.a(stdlib_new_delete.cpp.o): undefined symbol: 
__cxa_throw
  255s #   wasm-ld-18: error: 
/usr/lib/wasm32-wasi/libc++.a(stdlib_new_delete.cpp.o): undefined symbol: 
__cxa_allocate_exception
  255s #   wasm-ld-18: error: 
/usr/lib/wasm32-wasi/libc++.a(stdlib_new_delete.cpp.o): undefined symbol: 
__cxa_throw
  255s #   wasm-ld-18: error: 
/usr/lib/wasm32-wasi/libc++.a(stdlib_new_delete.cpp.o): undefined symbol: 
__cxa_allocate_exception
  255s #   wasm-ld-18: error: 
/usr/lib/wasm32-wasi/libc++.a(stdlib_new_delete.cpp.o): undefined symbol: 
__cxa_throw
  255s #   wasm-ld-18: error: 
/usr/lib/wasm32-wasi/libc++.a(stdlib_new_delete.cpp.o): undefined symbol: 
__cxa_allocate_exception
  255s #   wasm-ld-18: error: 
/usr/lib/wasm32-wasi/libc++.a(stdlib_new_delete.cpp.o): undefined symbol: 
__cxa_throw
  255s #   wasm-ld-18: error: 
/usr/lib/wasm32-wasi/libc++.a(stdlib_new_delete.cpp.o): undefined symbol: 
__cxa_allocate_exception
  255s #   wasm-ld-18: error: 
/usr/lib/wasm32-wasi/libc++.a(stdlib_new_delete.cpp.o): undefined symbol: 
__cxa_throw
  255s #   clang++-18: error: linker command failed with exit code 1 (use -v to 
see invocation)
  255s # --
  
  Note: for llvm-toolchain-22, this error message also contains a
  deprecation warning:  clang++-22: warning: argument '--
  target=wasm32-wasi' is deprecated, use --target=wasm32-wasip1 instead
  [-Wdeprecated]
+ 
+ * Upstream issue marked as not planned:
+ https://github.com/WebAssembly/wasi-sdk/issues/329
+ 
+ * The error occurs when building without a WASM-compatible linker.
+ libc++ and libc++abi add the -fno-exceptions flag after testing that the
+ compiler can be invoked with the flag. If you don't have a WASM-
+ compatible linker, your system may conclude that -fno-exceptions is not
+ supported.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2169046

Title:
  autopkgtests various wasm-ld-18: error:
  /usr/lib/wasm32-wasi/libc++.a(stdlib_new_delete.cpp.o): undefined
  symbol

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-18/+bug/2169046/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to