Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
5.15
-
None
Description
I am trying to compile my Qt5 application (using protobuf) into wasm following the Qt instructions. But the compilation fails at the last generated file which is the application js file. Any idea why this is happening?
- em++ : 1.39.8
- Qt 5.15.0
- protoc : 3.15.8
- compilation flags: -s USE_PTHREADS=1 -s WASM_MEM_MAX=17563648 --no-check-features
wasm-ld: error: 'atomics' feature is disallowed by main.o, so --shared-memory must not be used wasm-ld: error: Target feature 'atomics' used in common.o is disallowed by main.o. Use --no-check-features to suppress. wasm-ld: error: Target feature 'atomics' used in int128.o is disallowed by main.o. Use --no-check-features to suppress. wasm-ld: error: Target feature 'atomics' used in status.o is disallowed by main.o. Use --no-check-features to suppress. wasm-ld: error: Target feature 'atomics' used in stringpiece.o is disallowed by main.o. Use --no-check-features to suppress. wasm-ld: error: Target feature 'atomics' used in arena.o is disallowed by main.o. Use --no-check-features to suppress. wasm-ld: error: Target feature 'atomics' used in arenastring.o is disallowed by main.o. Use --no-check-features to suppress. wasm-ld: error: Target feature 'atomics' used in extension_set.o is disallowed by main.o. Use --no-check-features to suppress. wasm-ld: error: Target feature 'atomics' used in generated_message_util.o is disallowed by main.o. Use --no-check-features to suppress. wasm-ld: error: Target feature 'atomics' used in strutil.o is disallowed by main.o. Use --no-check-features to suppress. wasm-ld: error: Target feature 'atomics' used in message_lite.o is disallowed by main.o. Use --no-check-features to suppress. wasm-ld: error: Target feature 'atomics' used in structurally_valid.o is disallowed by main.o. Use --no-check-features to suppress. wasm-ld: error: Target feature 'atomics' used in parse_context.o is disallowed by main.o. Use --no-check-features to suppress. wasm-ld: error: Target feature 'atomics' used in implicit_weak_message.o is disallowed by main.o. Use --no-check-features to suppress. wasm-ld: error: Target feature 'atomics' used in repeated_field.o is disallowed by main.o. Use --no-check-features to suppress. wasm-ld: error: Target feature 'atomics' used in stringprintf.o is disallowed by main.o. Use --no-check-features to suppress. wasm-ld: error: Target feature 'atomics' used in wire_format_lite.o is disallowed by main.o. Use --no-check-features to suppress. wasm-ld: error: Target feature 'atomics' used in coded_stream.o is disallowed by main.o. Use --no-check-features to suppress. wasm-ld: error: Target feature 'atomics' used in zero_copy_stream.o is disallowed by main.o. Use --no-check-features to suppress. wasm-ld: error: Target feature 'atomics' used in zero_copy_stream_impl.o is disallowed by main.o. Use --no-check-features to suppress. wasm-ld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)