pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

firefox using llvm/clang 22.1.6



Hi,

Firefox fails to build with llvm/clang & friends 22.1.6

Using wasi sysroot in /usr/pkg/wasi
checking for the wasm C compiler... /usr/pkg/bin/clang
checking whether the wasm C compiler can be used... yes
checking the wasm C compiler version... 22.1.6
checking the wasm C compiler works... yes
checking the wasm C compiler can find wasi headers... yes
checking the wasm C linker can find wasi libraries... yes
checking for the wasm C++ compiler... /usr/pkg/bin/clang++
checking whether the wasm C++ compiler can be used... yes
checking the wasm C++ compiler version... 22.1.6
checking the wasm C++ compiler works... yes
checking the wasm C++ compiler can find wasi headers... yes
checking the wasm C++ linker can find wasi libraries... yes
checking for clock() in wasi sysroot... no
checking for emulated clock() in wasi sysroot...
DEBUG: Creating `/tmp/conftesty0vio0nr.c` with content:
DEBUG: | #include <time.h>
DEBUG: | int
DEBUG: | main(void)
DEBUG: | {
DEBUG: | clock();
DEBUG: |   ;
DEBUG: |   return 0;
DEBUG: | }
DEBUG: Executing: `/usr/pkg/bin/clang --target=wasm32-wasi /tmp/conftesty0vio0nr.c -Werror -D_WASI_EMULATED_PROCESS_CLOCKS -lwasi-emulated-process-clocks --sysroot=/usr/pkg/wasi`
DEBUG: The command returned non-zero exit status 1.
DEBUG: Its error output was:
DEBUG: | clang: error: argument '--target=wasm32-wasi' is deprecated, use --target=wasm32-wasip1 instead [-Werror,-Wdeprecated]
ERROR: Can't find clock() in wasi sysroot.

Any ideas how to pass the correct command argument?

Cheers,
Pedro


Home | Main Index | Thread Index | Old Index