diff --git a/compiler/systems/i_wasi.pas b/compiler/systems/i_wasi.pas
index 78754db173..e34a177d2b 100644
--- a/compiler/systems/i_wasi.pas
+++ b/compiler/systems/i_wasi.pas
@@ -45,7 +45,8 @@ unit i_wasi;
             system       : system_wasm32_wasi;
             name         : 'The WebAssembly System Interface (WASI)';
             shortname    : 'Wasi';
-            flags        : [tf_under_development,tf_needs_symbol_size,tf_files_case_sensitive,tf_no_generic_stackcheck,
+            flags        : [tf_under_development,tf_needs_symbol_size,tf_needs_symbol_type,
+                            tf_files_case_sensitive,tf_no_generic_stackcheck,
                             { avoid the creation of threadvar tables }
                             tf_section_threadvars];
             cpu          : cpu_wasm32;
diff --git a/compiler/systems/i_wasm.pas b/compiler/systems/i_wasm.pas
index f23a78f6e1..be9058dd72 100644
--- a/compiler/systems/i_wasm.pas
+++ b/compiler/systems/i_wasm.pas
@@ -45,7 +45,8 @@ unit i_wasm;
             system       : system_wasm32_wasm;
             name         : 'WebAssembly';
             shortname    : 'Wasm';
-            flags        : [tf_under_development,tf_needs_symbol_size,tf_files_case_sensitive,tf_no_generic_stackcheck,
+            flags        : [tf_under_development,tf_needs_symbol_size,tf_needs_symbol_type,
+                            tf_files_case_sensitive,tf_no_generic_stackcheck,
                             { avoid the creation of threadvar tables }
                             tf_section_threadvars];
             cpu          : cpu_wasm32;