** Also affects: llvm-toolchain-21 (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: llvm-toolchain-22 (Ubuntu)
   Importance: Undecided
       Status: New

** Description changed:

  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]

-- 
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