Details
-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
None
-
6.8.4
Description
Running
/Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_singlethread/bin/qt-cmake -S /Users/qt/RTA/Qt_6.8.4/Examples/Qt-6.8.4/charts/audio -B /Users/qt/RTA/Qt_6.8.4/Examples/Qt-6.8.4/charts/audio/bld_wasm_singlethread -GNinja and then
cmake --build . in /Users/qt/RTA/Qt_6.8.4/Examples/Qt-6.8.4/charts/audio/bld_wasm_singlethread on Windows MINGW:
Adding C:\Users\qt\RTA\Qt_6.8.4\6.8.4\wasm_multithread\bin to path Adding C:\Users\qt\RTA\Qt_6.8.4\Tools\CMake_64\bin to path Adding C:\Users\qt\RTA\Qt_6.8.4\Tools\Ninja to path Replacing env variables with real values original: C:\Users\qt\RTA\Qt_6.8.4\6.8.4\wasm_multithread\bin\qt-cmake -S C:\Users\qt\RTA\Qt_6.8.4\Examples\Qt-6.8.4\charts\audio -B C:\Users\qt\RTA\Qt_6.8.4\Examples\Qt-6.8.4\charts\audio\bld_wasm_multithread -GNinja edited: C:\Users\qt\RTA\Qt_6.8.4\6.8.4\wasm_multithread\bin\qt-cmake -S C:\Users\qt\RTA\Qt_6.8.4\Examples\Qt-6.8.4\charts\audio -B C:\Users\qt\RTA\Qt_6.8.4\Examples\Qt-6.8.4\charts\audio\bld_wasm_multithread -GNinja Run C:\Users\qt\RTA\Qt_6.8.4\6.8.4\wasm_multithread\bin\qt-cmake -S C:\Users\qt\RTA\Qt_6.8.4\Examples\Qt-6.8.4\charts\audio -B C:\Users\qt\RTA\Qt_6.8.4\Examples\Qt-6.8.4\charts\audio\bld_wasm_multithread -GNinja Configure output: -- Configuring done (20.8s) -- Generating done (0.3s) -- Build files have been written to: C:/Users/qt/RTA/Qt_6.8.4/Examples/Qt-6.8.4/charts/audio/bld_wasm_multithread Run cmake --build . in C:\Users\qt\RTA\Qt_6.8.4\Examples\Qt-6.8.4\charts\audio\bld_wasm_multithread FAILED: audio.js em++: error: 'C:/Utils/emsdk/node/20.18.0_64bit/bin/node.exe C:\Utils\emsdk\upstream\emscripten\src\compiler.mjs C:\Users\qt\AppData\Local\Temp\tmpas0gga3h.json' failed (returned 1) Command output: [1/6 ] Automatic MOC and UIC for target audio [2/6 ] Building CXX object CMakeFiles/audio.dir/xyseriesiodevice.cpp.o [3/6 ] Building CXX object CMakeFiles/audio.dir/audio_autogen/mocs_compilation.cpp.o [4/6 ] Building CXX object CMakeFiles/audio.dir/main.cpp.o [5/6 ] Building CXX object CMakeFiles/audio.dir/widget.cpp.o [6/6 ] Linking CXX executable audio.js FAILED: audio.js C:\Windows\system32\cmd.exe /C "cd . && C:\Utils\emsdk\upstream\emscripten\em++.bat -s MODULARIZE=1 -s EXPORT_NAME=audio_entry -s EXPORTED_RUNTIME_METHODS=UTF16ToString,stringToUTF16,JSEvents,specialHTMLTargets,FS,callMain -s PTHREAD_POOL_SIZE=4 -s INITIAL_MEMORY=50MB -s MAXIMUM_MEMORY=4GB -s MAX_WEBGL_VERSION=2 -s FETCH=1 -s WASM_BIGINT=1 -s STACK_SIZE=5MB -pthread -s ALLOW_MEMORY_GROWTH -sASYNCIFY_IMPORTS=qt_asyncify_suspend_js,qt_asyncify_resume_js -s ERROR_ON_UNDEFINED_SYMBOLS=1 @CMakeFiles\audio.rsp -o audio.js && cd ." em++: warning: -pthread + ALLOW_MEMORY_GROWTH may run non-wasm code slowly, see https://github.com/WebAssembly/design/issues/1271 [-Wpthreads-mem-growth ] cache:INFO: generating system asset: symbol_lists/4327968194bdb599a91ed3d93efe3073cfdcd42f.json... (this will be cached in "C:\Utils\emsdk\upstream\emscripten\cache\symbol_lists\4327968194bdb599a91ed3d93efe3073cfdcd42f.json" for subsequent builds) cache:INFO: - ok error: undefined symbol: saveSetjmp (referenced by root reference (e.g. compiled C/C++ code)) warning: To disable errors for undefined symbols use `-sERROR_ON_UNDEFINED_SYMBOLS=0` warning: _saveSetjmp may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library error: undefined symbol: testSetjmp (referenced by root reference (e.g. compiled C/C++ code)) warning: _testSetjmp may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library Error: Aborting compilation due to previous errors em++: error: 'C:/Utils/emsdk/node/20.18.0_64bit/bin/node.exe C:\Utils\emsdk\upstream\emscripten\src\compiler.mjs C:\Users\qt\AppData\Local\Temp\tmpas0gga3h.json' failed (returned 1) ninja: build stopped: subcommand failed. Compilation failed for C:\Users\qt\RTA\Qt_6.8.4\Examples\Qt-6.8.4\charts\audio End Section: Verify C:\Users\qt\RTA\Qt_6.8.4\Examples\Qt-6.8.4\charts\audio
Same for macOS:
FAILED: audio.js em++: error: '/opt/emsdk/node/20.18.0_64bit/bin/node /opt/emsdk/upstream/emscripten/src/compiler.mjs /var/folders/2j/kn37v38x7vzggzf1hxn91pc80000gn/T/tmp2g5fmqfb.json' failed (returned 1) Command output: [1/6 ] Automatic MOC and UIC for target audio [2/6 ] Building CXX object CMakeFiles/audio.dir/xyseriesiodevice.cpp.o [3/6 ] Building CXX object CMakeFiles/audio.dir/audio_autogen/mocs_compilation.cpp.o [4/6 ] Building CXX object CMakeFiles/audio.dir/main.cpp.o [5/6 ] Building CXX object CMakeFiles/audio.dir/widget.cpp.o [6/6 ] Linking CXX executable audio.js FAILED: audio.js : && /opt/emsdk/upstream/emscripten/em++ -s MODULARIZE=1 -s EXPORT_NAME=audio_entry -s EXPORTED_RUNTIME_METHODS=UTF16ToString,stringToUTF16,JSEvents,specialHTMLTargets,FS,callMain -s PTHREAD_POOL_SIZE=4 -s INITIAL_MEMORY=50MB -s MAXIMUM_MEMORY=4GB -s MAX_WEBGL_VERSION=2 -s FETCH=1 -s WASM_BIGINT=1 -s STACK_SIZE=5MB -pthread -s ALLOW_MEMORY_GROWTH -sASYNCIFY_IMPORTS=qt_asyncify_suspend_js,qt_asyncify_resume_js -s ERROR_ON_UNDEFINED_SYMBOLS=1 /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/plugins/imageformats/objects-Release/QGifPlugin_init/QGifPlugin_init.cpp.o /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/plugins/imageformats/objects-Release/QICNSPlugin_init/QICNSPlugin_init.cpp.o /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/plugins/imageformats/objects-Release/QICOPlugin_init/QICOPlugin_init.cpp.o /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/plugins/imageformats/objects-Release/QJpegPlugin_init/QJpegPlugin_init.cpp.o /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/plugins/iconengines/objects-Release/QSvgIconPlugin_init/QSvgIconPlugin_init.cpp.o /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/plugins/imageformats/objects-Release/QSvgPlugin_init/QSvgPlugin_init.cpp.o /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/plugins/imageformats/objects-Release/QTgaPlugin_init/QTgaPlugin_init.cpp.o /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/plugins/imageformats/objects-Release/QTiffPlugin_init/QTiffPlugin_init.cpp.o /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/plugins/platforms/objects-Release/QWasmIntegrationPlugin_init/QWasmIntegrationPlugin_init.cpp.o /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/plugins/imageformats/objects-Release/QWbmpPlugin_init/QWbmpPlugin_init.cpp.o /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/plugins/imageformats/objects-Release/QWebpPlugin_init/QWebpPlugin_init.cpp.o /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/plugins/multimedia/objects-Release/QWasmMediaPlugin_init/QWasmMediaPlugin_init.cpp.o /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/plugins/tls/objects-Release/QTlsBackendCertOnlyPlugin_init/QTlsBackendCertOnlyPlugin_init.cpp.o CMakeFiles/audio.dir/audio_autogen/mocs_compilation.cpp.o CMakeFiles/audio.dir/main.cpp.o CMakeFiles/audio.dir/widget.cpp.o CMakeFiles/audio.dir/xyseriesiodevice.cpp.o -o audio.js /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/lib/objects-Release/Gui_resources_1/.qt/rcc/qrc_qpdf_init.cpp.o /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/lib/objects-Release/Gui_resources_2/.qt/rcc/qrc_gui_shaders_init.cpp.o /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/lib/objects-Release/Multimedia_resources_1/.qt/rcc/qrc_qtmultimedia_shaders_init.cpp.o /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/lib/objects-Release/Multimedia_resources_2/.qt/rcc/qrc_qtmultimedia_shaders_linear_init.cpp.o /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/lib/objects-Release/Multimedia_resources_3/.qt/rcc/qrc_qtmultimedia_shaders_gl_macos_init.cpp.o /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/lib/objects-Release/Multimedia_resources_4/.qt/rcc/qrc_qtmultimedia_shaders_gl_macos_linear_init.cpp.o /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/lib/objects-Release/QWasmIntegrationPlugin_resources_1/.qt/rcc/qrc_wasmfonts_init.cpp.o /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/lib/objects-Release/QWasmIntegrationPlugin_resources_2/.qt/rcc/qrc_wasmwindow_init.cpp.o /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/lib/objects-Release/Widgets_resources_1/.qt/rcc/qrc_qstyle_init.cpp.o /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/lib/objects-Release/Widgets_resources_2/.qt/rcc/qrc_qstyle1_init.cpp.o /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/lib/objects-Release/Widgets_resources_3/.qt/rcc/qrc_qstyle_fusion_init.cpp.o /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/lib/objects-Release/Widgets_resources_4/.qt/rcc/qrc_qmessagebox_init.cpp.o /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/lib/libQt6Core.a /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/lib/libQt6Charts.a /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/lib/libQt6Core.a /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/lib/libQt6Gui.a /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/lib/libQt6Multimedia.a -lembind /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/plugins/imageformats/libqgif.a /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/plugins/imageformats/libqicns.a /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/plugins/imageformats/libqico.a /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/plugins/imageformats/libqjpeg.a /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/plugins/iconengines/libqsvgicon.a /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/plugins/imageformats/libqsvg.a /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/plugins/imageformats/libqtga.a /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/plugins/imageformats/libqtiff.a /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/plugins/platforms/libqwasm.a /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/plugins/imageformats/libqwbmp.a /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/plugins/imageformats/libqwebp.a /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/plugins/multimedia/libwasmmediaplugin.a /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/plugins/tls/libqcertonlybackend.a /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/lib/libQt6OpenGLWidgets.a /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/lib/libQt6Widgets.a /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/lib/libQt6BundledLibjpeg.a /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/lib/libQt6Svg.a /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/lib/libQt6OpenGL.a -lembind /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/lib/libQt6Multimedia.a -lopenal /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/lib/libQt6Gui.a /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/lib/libQt6BundledHarfbuzz.a /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/lib/libQt6BundledFreetype.a /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/lib/libQt6BundledLibpng.a /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/lib/libQt6Network.a /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/lib/libQt6Core.a /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/lib/libQt6BundledZLIB.a /Users/qt/RTA/Qt_6.8.4/6.8.4/wasm_multithread/lib/libQt6BundledPcre2.a && : em++: warning: -pthread + ALLOW_MEMORY_GROWTH may run non-wasm code slowly, see https://github.com/WebAssembly/design/issues/1271 [-Wpthreads-mem-growth ] cache:INFO: generating system asset: symbol_lists/4327968194bdb599a91ed3d93efe3073cfdcd42f.json... (this will be cached in "/opt/emsdk/upstream/emscripten/cache/symbol_lists/4327968194bdb599a91ed3d93efe3073cfdcd42f.json" for subsequent builds) cache:INFO: - ok error: undefined symbol: saveSetjmp (referenced by root reference (e.g. compiled C/C++ code)) warning: To disable errors for undefined symbols use `-sERROR_ON_UNDEFINED_SYMBOLS=0` warning: _saveSetjmp may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library error: undefined symbol: testSetjmp (referenced by root reference (e.g. compiled C/C++ code)) warning: _testSetjmp may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library Error: Aborting compilation due to previous errors em++: error: '/opt/emsdk/node/20.18.0_64bit/bin/node /opt/emsdk/upstream/emscripten/src/compiler.mjs /var/folders/2j/kn37v38x7vzggzf1hxn91pc80000gn/T/tmp2g5fmqfb.json' failed (returned 1) ninja: build stopped: subcommand failed. : Compilation failed for /Users/qt/RTA/Qt_6.8.4/Examples/Qt-6.8.4/charts/audio End Section: Verify /Users/qt/RTA/Qt_6.8.4/Examples/Qt-6.8.4/charts/audio
This does happen for all of the 6.8 examples that are built with command line. That is not happening in 6.10 (using the same arguments).
Started to happen after SHA1: 36e41dfaf18202203c5625911ca641c2b9f7275e, latest successful run for Qt 6.8.4, SHA1: 82a8360bd8b3a7ce047981489ea2f50158ba5a1f