### /usr/bin/gmake -d -r -C rtl all CPU_TARGET=wasm32 OS_TARGET=wasip1threads FPC=/home/muller/pas/fpc-3.3.1-32/bin/ppcwasm32 BINUTILSPREFIX= OPT="-n -Allvm-mc-16 -vx " FPCCPUOPT=-O- GNU Make 4.3 Built for x86_64-pc-linux-gnu Copyright (C) 1988-2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Reading makefiles... Reading makefile 'Makefile'... gmake: Entering directory '/home/muller/pas/gitlab-fpc-source/rtl' Updating makefiles.... Considering target file 'Makefile'. Looking for an implicit rule for 'Makefile'. No implicit rule found for 'Makefile'. Finished prerequisites of target file 'Makefile'. No need to remake target 'Makefile'. Updating goal targets.... Considering target file 'all'. File 'all' does not exist. Considering target file 'wasip1threads_all'. File 'wasip1threads_all' does not exist. Finished prerequisites of target file 'wasip1threads_all'. Must remake target 'wasip1threads_all'. /usr/bin/gmake -C wasip1threads all Putting child 0x5572a1b6d800 (wasip1threads_all) PID 3705628 on the chain. Live child 0x5572a1b6d800 (wasip1threads_all) PID 3705628 GNU Make 4.3 Built for x86_64-pc-linux-gnu Copyright (C) 1988-2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Reading makefiles... Reading makefile 'Makefile'... gmake[1]: Entering directory '/home/muller/pas/gitlab-fpc-source/rtl/wasip1threads' Reading makefile '../inc/makefile.inc' (search path) (no ~ expansion)... Reading makefile '../wasm32/makefile.cpu' (search path) (no ~ expansion)... Updating makefiles.... Considering target file '../wasm32/makefile.cpu'. Looking for an implicit rule for '../wasm32/makefile.cpu'. No implicit rule found for '../wasm32/makefile.cpu'. Finished prerequisites of target file '../wasm32/makefile.cpu'. No need to remake target '../wasm32/makefile.cpu'. Considering target file '../inc/makefile.inc'. Looking for an implicit rule for '../inc/makefile.inc'. No implicit rule found for '../inc/makefile.inc'. Finished prerequisites of target file '../inc/makefile.inc'. No need to remake target '../inc/makefile.inc'. Considering target file 'Makefile'. Looking for an implicit rule for 'Makefile'. No implicit rule found for 'Makefile'. Finished prerequisites of target file 'Makefile'. No need to remake target 'Makefile'. Updating goal targets.... Considering target file 'all'. File 'all' does not exist. Considering target file 'fpc_all'. File 'fpc_all' does not exist. Considering target file 'fpcmade.wasm32-wasip1threads'. File 'fpcmade.wasm32-wasip1threads' does not exist. Considering target file 'fpc_units'. File 'fpc_units' does not exist. Considering target file '/home/muller/pas/trunk/fpcsrc/rtl/units/wasm32-wasip1threads'. File '/home/muller/pas/trunk/fpcsrc/rtl/units/wasm32-wasip1threads' does not exist. Finished prerequisites of target file '/home/muller/pas/trunk/fpcsrc/rtl/units/wasm32-wasip1threads'. Must remake target '/home/muller/pas/trunk/fpcsrc/rtl/units/wasm32-wasip1threads'. /usr/bin/mkdir -p /home/muller/pas/trunk/fpcsrc/rtl/units/wasm32-wasip1threads Putting child 0x565150f3b5e0 (/home/muller/pas/trunk/fpcsrc/rtl/units/wasm32-wasip1threads) PID 3705651 on the chain. Live child 0x565150f3b5e0 (/home/muller/pas/trunk/fpcsrc/rtl/units/wasm32-wasip1threads) PID 3705651 Reaping winning child 0x565150f3b5e0 PID 3705651 Removing child 0x565150f3b5e0 PID 3705651 from chain. Successfully remade target file '/home/muller/pas/trunk/fpcsrc/rtl/units/wasm32-wasip1threads'. Considering target file 'system.ppu'. File 'system.ppu' does not exist. Considering target file '../wasicommon/system.pp'. Looking for an implicit rule for '../wasicommon/system.pp'. No implicit rule found for '../wasicommon/system.pp'. Finished prerequisites of target file '../wasicommon/system.pp'. No need to remake target '../wasicommon/system.pp'. Finished prerequisites of target file 'system.ppu'. Must remake target 'system.ppu'. /home/muller/pas/fpc-3.3.1-32/bin/ppcwasm32 -Twasip1threads -Pwasm32 -Fi../inc -Fi../wasm32 -Fi../wasicommon -FE. -FU/home/muller/pas/trunk/fpcsrc/rtl/units/wasm32-wasip1threads -n -Allvm-mc-16 -vx -dwasm32 -Fi../wasicommon/wasiinc -Us -Sg ../wasicommon/system.pp Putting child 0x565150f3c240 (system.ppu) PID 3705656 on the chain. Live child 0x565150f3c240 (system.ppu) PID 3705656 Executing "/usr/bin/llvm-mc-16" with command line "--assemble --arch=wasm32 -mattr=+sign-ext,+exception-handling,+bulk-memory,+atomics,+reference-types --filetype=obj --no-type-check -o /home/muller/pas/trunk/fpcsrc/rtl/units/wasm32-wasip1threads/system.o /home/muller/pas/trunk/fpcsrc/rtl/units/wasm32-wasip1threads/system.wat:85:18: error: Expected (, instead got: - .functype thread-spawn (i32) -> (i32) ^ /home/muller/pas/trunk/fpcsrc/rtl/units/wasm32-wasip1threads/system.wat:86:23: error: Expected ,, instead got: - .import_module thread-spawn, wasi ^ /home/muller/pas/trunk/fpcsrc/rtl/units/wasm32-wasip1threads/system.wat:87:21: error: Expected ,, instead got: - .import_name thread-spawn, thread-spawn ^ /home/muller/pas/trunk/fpcsrc/rtl/units/wasm32-wasip1threads/system.wat:1662:18: error: Expected (, instead got: - .functype thread-spawn (i32) -> (i32) ^ /home/muller/pas/trunk/fpcsrc/rtl/units/wasm32-wasip1threads/system.wat:1663:23: error: Expected ,, instead got: - .import_module thread-spawn, wasi ^ /home/muller/pas/trunk/fpcsrc/rtl/units/wasm32-wasip1threads/system.wat:1664:21: error: Expected ,, instead got: - .import_name thread-spawn, thread-spawn ^ /home/muller/pas/trunk/fpcsrc/rtl/units/wasm32-wasip1threads/system.wat" system.pp(539) Error: Error while assembling exitcode 1 system.pp(539) Fatal: There were 2 errors compiling module, stopping Fatal: Compilation aborted Reaping losing child 0x565150f3c240 PID 3705656 gmake[1]: *** [Makefile:2270: system.ppu] Error 1 Removing child 0x565150f3c240 PID 3705656 from chain. gmake[1]: Leaving directory '/home/muller/pas/gitlab-fpc-source/rtl/wasip1threads' Reaping losing child 0x5572a1b6d800 PID 3705628 gmake: *** [Makefile:4236: wasip1threads_all] Error 2 Removing child 0x5572a1b6d800 PID 3705628 from chain. gmake: Leaving directory '/home/muller/pas/gitlab-fpc-source/rtl' Error line found in /home/muller/logs/trunk/check-targets-ppc386/target-check-rtl-wasm32-wasip1threads-llvm-mc-16.txt: Target system.ppu Error 1 in line 2270 Target wasip1threads_all Error 2 in line 4236 Listing directory rtl/units/wasm32-wasip1threads: rtl/units/wasm32-wasip1threads/system.wat