### /usr/bin/gmake -d -r -C rtl all CPU_TARGET=wasm32 OS_TARGET=wasip1threads FPC=/home/muller/pas/fpc-3.3.1/bin/ppcwasm32 BINUTILSPREFIX= OPT="-n -Allvm-mc -vx " FPCCPUOPT=-O- GNU Make 4.3 Built for aarch64-redhat-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' gcc: error: unrecognized command-line option ‘-m64’ 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 0xaaaae62bde20 (wasip1threads_all) PID 1925048 on the chain. Live child 0xaaaae62bde20 (wasip1threads_all) PID 1925048 GNU Make 4.3 Built for aarch64-redhat-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'. Finished prerequisites of target file '/home/muller/pas/trunk/fpcsrc/rtl/units/wasm32-wasip1threads'. No need to remake target '/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/bin/ppcwasm32 -Twasip1threads -Pwasm32 -Fi../inc -Fi../wasm32 -Fi../wasicommon -FE. -FU/home/muller/pas/trunk/fpcsrc/rtl/units/wasm32-wasip1threads -n -Allvm-mc -vx -dwasm32 -Fi../wasicommon/wasiinc -Us -Sg ../wasicommon/system.pp Putting child 0xaaab049cf590 (system.ppu) PID 1925051 on the chain. Live child 0xaaab049cf590 (system.ppu) PID 1925051 Executing "/usr/bin/llvm-mc" 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 /h/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:1658:18: error: Expected (, instead got: - .functype thread-spawn (i32) -> (i32) ^ /home/muller/pas/trunk/fpcsrc/rtl/units/wasm32-wasip1threads/system.wat:1659:23: error: Expected ,, instead got: - .import_module thread-spawn, wasi ^ /home/muller/pas/trunk/fpcsrc/rtl/units/wasm32-wasip1threads/system.wat:1660:21: error: Expected ,, instead got: - .import_name thread-spawn, thread-spawn ^ ome/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 0xaaab049cf590 PID 1925051 gmake[1]: *** [Makefile:2270: system.ppu] Error 1 Removing child 0xaaab049cf590 PID 1925051 from chain. gmake[1]: Leaving directory '/home/muller/pas/gitlab-fpc-source/rtl/wasip1threads' Reaping losing child 0xaaaae62bde20 PID 1925048 gmake: *** [Makefile:4236: wasip1threads_all] Error 2 Removing child 0xaaaae62bde20 PID 1925048 from chain. gmake: Leaving directory '/home/muller/pas/gitlab-fpc-source/rtl' ./rtl/units/wasm32-wasip1threads/cp855.log-ppu ./rtl/units/wasm32-wasip1threads/cp8859_6.log-ppu ./rtl/units/wasm32-wasip1threads/cp8859_14.log-ppu ./rtl/units/wasm32-wasip1threads/cp1258.log-ppu ./rtl/units/wasm32-wasip1threads/cp8859_7.log-ppu ./rtl/units/wasm32-wasip1threads/fpwidestring.log-ppu ./rtl/units/wasm32-wasip1threads/cp862.log-ppu ./rtl/units/wasm32-wasip1threads/cp8859_5.log-ppu ./rtl/units/wasm32-wasip1threads/cp856.log-ppu ./rtl/units/wasm32-wasip1threads/cpkoi8_r.log-ppu ./rtl/units/wasm32-wasip1threads/cp737.log-ppu ./rtl/units/wasm32-wasip1threads/ctypes.log-ppu ./rtl/units/wasm32-wasip1threads/cp8859_4.log-ppu ./rtl/units/wasm32-wasip1threads/nothreads.log-ppu ./rtl/units/wasm32-wasip1threads/cp1254.log-ppu ./rtl/units/wasm32-wasip1threads/cpkoi8_u.log-ppu ./rtl/units/wasm32-wasip1threads/cp1252.log-ppu ./rtl/units/wasm32-wasip1threads/cp8859_2.log-ppu ./rtl/units/wasm32-wasip1threads/macpas.log-ppu ./rtl/units/wasm32-wasip1threads/cp437.log-ppu ./rtl/units/wasm32-wasip1threads/cp874.log-ppu ./rtl/units/wasm32-wasip1threads/webassembly.log-ppu ./rtl/units/wasm32-wasip1threads/unicodedata.log-ppu ./rtl/units/wasm32-wasip1threads/cp850.log-ppu ./rtl/units/wasm32-wasip1threads/getopts.log-ppu ./rtl/units/wasm32-wasip1threads/cp8859_13.log-ppu ./rtl/units/wasm32-wasip1threads/heaptrc.log-ppu ./rtl/units/wasm32-wasip1threads/cp1256.log-ppu ./rtl/units/wasm32-wasip1threads/cp8859_10.log-ppu ./rtl/units/wasm32-wasip1threads/sysutils.log-ppu ./rtl/units/wasm32-wasip1threads/fpintres.log-ppu ./rtl/units/wasm32-wasip1threads/cp1250.log-ppu ./rtl/units/wasm32-wasip1threads/rtlconsts.rsj ./rtl/units/wasm32-wasip1threads/cp860.log-ppu ./rtl/units/wasm32-wasip1threads/cp861.log-ppu ./rtl/units/wasm32-wasip1threads/cp8859_16.log-ppu ./rtl/units/wasm32-wasip1threads/uuchar.log-ppu ./rtl/units/wasm32-wasip1threads/classes.log-ppu ./rtl/units/wasm32-wasip1threads/cp866.log-ppu ./rtl/units/wasm32-wasip1threads/cp8859_1.log-ppu ./rtl/units/wasm32-wasip1threads/cp8859_3.log-ppu ./rtl/units/wasm32-wasip1threads/cp852.log-ppu ./rtl/units/wasm32-wasip1threads/strings.log-ppu ./rtl/units/wasm32-wasip1threads/cp1253.log-ppu ./rtl/units/wasm32-wasip1threads/sysconst.rsj ./rtl/units/wasm32-wasip1threads/cp8859_11.log-ppu ./rtl/units/wasm32-wasip1threads/cp1251.log-ppu ./rtl/units/wasm32-wasip1threads/system.wat ./rtl/units/wasm32-wasip1threads/cp8859_15.log-ppu ./rtl/units/wasm32-wasip1threads/cpall.log-ppu ./rtl/units/wasm32-wasip1threads/cp865.log-ppu ./rtl/units/wasm32-wasip1threads/cp646.log-ppu ./rtl/units/wasm32-wasip1threads/dos.log-ppu ./rtl/units/wasm32-wasip1threads/cp3021.log-ppu ./rtl/units/wasm32-wasip1threads/si_dll.log-ppu ./rtl/units/wasm32-wasip1threads/fgl.log-ppu ./rtl/units/wasm32-wasip1threads/wasiapi.log-ppu ./rtl/units/wasm32-wasip1threads/cp775.log-ppu ./rtl/units/wasm32-wasip1threads/typinfo.log-ppu ./rtl/units/wasm32-wasip1threads/sysconst.log-ppu ./rtl/units/wasm32-wasip1threads/math.log-ppu ./rtl/units/wasm32-wasip1threads/typinfo.rsj ./rtl/units/wasm32-wasip1threads/math.rsj ./rtl/units/wasm32-wasip1threads/cp864.log-ppu ./rtl/units/wasm32-wasip1threads/character.log-ppu ./rtl/units/wasm32-wasip1threads/unicodedata.rsj ./rtl/units/wasm32-wasip1threads/iso7185.log-ppu ./rtl/units/wasm32-wasip1threads/rtlconsts.log-ppu ./rtl/units/wasm32-wasip1threads/cp1257.log-ppu ./rtl/units/wasm32-wasip1threads/sortbase.log-ppu ./rtl/units/wasm32-wasip1threads/extpas.log-ppu ./rtl/units/wasm32-wasip1threads/cp869.log-ppu ./rtl/units/wasm32-wasip1threads/cp8859_8.log-ppu ./rtl/units/wasm32-wasip1threads/cp8859_9.log-ppu ./rtl/units/wasm32-wasip1threads/cp863.log-ppu ./rtl/units/wasm32-wasip1threads/charset.log-ppu ./rtl/units/wasm32-wasip1threads/cp857.log-ppu ./rtl/units/wasm32-wasip1threads/system.log-ppu ./rtl/units/wasm32-wasip1threads/wasiutil.log-ppu ./rtl/units/wasm32-wasip1threads/objpas.log-ppu ./rtl/units/wasm32-wasip1threads/types.log-ppu ./rtl/units/wasm32-wasip1threads/si_prc.log-ppu ./rtl/units/wasm32-wasip1threads/cp1255.log-ppu