Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-77759

qtxmlpatterns build failed on WebAssembly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P0: Blocker
    • Resolution: Done
    • Affects Version/s: 5.14.0 Alpha
    • Fix Version/s: 5.14.0 Alpha
    • Component/s: XML: QtXmlPatterns
    • Labels:
      None
    • Platform/s:
      WebAssembly
    • Commits:
      4300dccba56ed1904c3481a4b19fdc5475f6b3e1 (qt/qtbase/dev)

      Description

      https://codereview.qt-project.org/c/qt/qt5/+/271204

      https://testresults.qt.io/coin/integration/qt/qt5/tasks/1566391155

      https://testresults.qt.io/coin/api/results/qt/qtxmlpatterns/d391a7e8096b8f3953b266afc52ce908f5ded1a2/MacOSMacOS_10_13x86_64LinuxWebAssemblyx86_64Clangqtci-macos-10.13-x86_64-2-170a7bDisableTests/8d947ebbf34fa59e1d69f16a49b01b92da12d557/build_1566391180/log.txt.gz

      https://testresults.qt.io/coin/api/results/qt/qtxmlpatterns/d391a7e8096b8f3953b266afc52ce908f5ded1a2/LinuxopenSUSE_15_0x86_64LinuxWebAssemblyx86_64GCCqtci-linux-openSUSE-15.0-x86_64-5bd90cDisableTests/ebdee94c9968d463155b5f29e0638ef7fe38c02e/build_1566391179/log.txt.gz

      agent:2019/08/21 12:43:32 build.go:215: em++ -s WASM=1 -s FULL_ES2=1 -s USE_WEBGL2=1 -s NO_EXIT_RUNTIME=0 -s ERROR_ON_UNDEFINED_SYMBOLS=1 --bind -O3 -s ALLOW_MEMORY_GROWTH=1 -o ../../bin/xmlpatterns.js .obj/main.o .obj/qapplicationargument.o .obj/qapplicationargumentparser.o   /home/qt/work/qt/qtxmlpatterns/lib/libQt5XmlPatterns.a /home/qt/work/install/lib/libQt5Network.a /home/qt/work/install/lib/libQt5Core.a /home/qt/work/install/lib/libqtpcre2.a   
      agent:2019/08/21 12:43:33 build.go:215: emscripten:INFO: generating system library: libc++_noexcept.a... (this will be cached in "/home/qt/.emscripten_cache/asmjs/libc++_noexcept.a" for subsequent builds)
      agent:2019/08/21 12:43:40 build.go:215: emscripten:INFO:  - ok
      agent:2019/08/21 12:43:40 build.go:215: emscripten:INFO: generating system library: libc++abi.bc... (this will be cached in "/home/qt/.emscripten_cache/asmjs/libc++abi.bc" for subsequent builds)
      agent:2019/08/21 12:43:43 build.go:215: emscripten:INFO:  - ok
      agent:2019/08/21 12:43:43 build.go:215: emscripten:INFO: generating system library: libc.bc... (this will be cached in "/home/qt/.emscripten_cache/asmjs/libc.bc" for subsequent builds)
      agent:2019/08/21 12:44:15 build.go:215: emscripten:INFO:  - ok
      agent:2019/08/21 12:44:15 build.go:215: emscripten:INFO: generating system library: libcompiler_rt.a... (this will be cached in "/home/qt/.emscripten_cache/asmjs/libcompiler_rt.a" for subsequent builds)
      agent:2019/08/21 12:44:15 build.go:215: emscripten:INFO:  - ok
      agent:2019/08/21 12:44:15 build.go:215: emscripten:INFO: generating system library: libc-wasm.bc... (this will be cached in "/home/qt/.emscripten_cache/asmjs/libc-wasm.bc" for subsequent builds)
      agent:2019/08/21 12:44:16 build.go:215: emscripten:INFO:  - ok
      agent:2019/08/21 12:44:16 build.go:215: emscripten:INFO: generating system library: libdlmalloc.bc... (this will be cached in "/home/qt/.emscripten_cache/asmjs/libdlmalloc.bc" for subsequent builds)
      agent:2019/08/21 12:44:17 build.go:215: emscripten:INFO:  - ok
      agent:2019/08/21 12:44:17 build.go:215: emscripten:INFO: generating system library: libc-extras.bc... (this will be cached in "/home/qt/.emscripten_cache/asmjs/libc-extras.bc" for subsequent builds)
      agent:2019/08/21 12:44:17 build.go:215: emscripten:INFO:  - ok
      agent:2019/08/21 12:44:26 build.go:215: emscripten:INFO: generating system asset: generated_struct_info.json... (this will be cached in "/home/qt/.emscripten_cache/asmjs/generated_struct_info.json" for subsequent builds)
      agent:2019/08/21 12:44:27 build.go:215: emscripten:INFO:  - ok
      agent:2019/08/21 12:44:33 build.go:215: emcc: warning: cannot represent a NaN literal '0xaee2790' with custom bit pattern in NaN-canonicalizing JS engines (e.g. Firefox and Safari) without erasing bits!
      agent:2019/08/21 12:44:33 build.go:215:   in   ret double 0x7FF4000000000000 in _ZL7qt_snanv.5054() 
      agent:2019/08/21 12:44:35 build.go:215: emcc: warning: cannot represent a NaN literal '0xee4c940' with custom bit pattern in NaN-canonicalizing JS engines (e.g. Firefox and Safari) without erasing bits!
      agent:2019/08/21 12:44:35 build.go:215:   in   ret double 0x7FF4000000000000 in _ZL7qt_snanv.6126() 
      agent:2019/08/21 12:44:35 build.go:215: error: undefined symbol: _Z8QT_HTTP2v
      agent:2019/08/21 12:44:35 build.go:215: warning: To disable errors for undefined symbols use `-s ERROR_ON_UNDEFINED_SYMBOLS=0`
      agent:2019/08/21 12:44:36 build.go:215: Error: Aborting compilation due to previous errors
      agent:2019/08/21 12:44:36 build.go:215: shared:ERROR: '/opt/emsdk/node-v8.9.1-linux-x64/bin/node /opt/emsdk/emscripten-1.38.27/src/compiler.js /tmp/tmpcu7pNz.txt /opt/emsdk/emscripten-1.38.27/src/embind/emval.js /opt/emsdk/emscripten-1.38.27/src/embind/embind.js /opt/emsdk/emscripten-1.38.27/src/library_pthread_stub.js' failed (1)
      agent:2019/08/21 12:44:36 build.go:215: make[2]: *** [Makefile:82: ../../bin/xmlpatterns.js] Error 1
      agent:2019/08/21 12:44:36 build.go:215: make[2]: Leaving directory '/home/qt/work/qt/qtxmlpatterns/tools/xmlpatterns'
      agent:2019/08/21 12:44:36 build.go:215: make[1]: *** [Makefile:48: sub-xmlpatterns-make_first] Error 2
      agent:2019/08/21 12:44:36 build.go:215: make[1]: *** Waiting for unfinished jobs....
      agent:2019/08/21 12:44:38 build.go:215: error: undefined symbol: _Z8QT_HTTP2v
      agent:2019/08/21 12:44:38 build.go:215: warning: To disable errors for undefined symbols use `-s ERROR_ON_UNDEFINED_SYMBOLS=0`
      agent:2019/08/21 12:44:38 build.go:215: Error: Aborting compilation due to previous errors
      agent:2019/08/21 12:44:39 build.go:215: shared:ERROR: '/opt/emsdk/node-v8.9.1-linux-x64/bin/node /opt/emsdk/emscripten-1.38.27/src/compiler.js /tmp/tmplOkK1y.txt /opt/emsdk/emscripten-1.38.27/src/embind/emval.js /opt/emsdk/emscripten-1.38.27/src/embind/embind.js /opt/emsdk/emscripten-1.38.27/src/library_pthread_stub.js' failed (1)
      agent:2019/08/21 12:44:39 build.go:215: make[2]: *** [Makefile:74: ../../bin/xmlpatternsvalidator.js] Error 1
      agent:2019/08/21 12:44:39 build.go:215: make[2]: Leaving directory '/home/qt/work/qt/qtxmlpatterns/tools/xmlpatternsvalidator'
      agent:2019/08/21 12:44:39 build.go:215: make[1]: *** [Makefile:73: sub-xmlpatternsvalidator-make_first] Error 2
      agent:2019/08/21 12:44:39 build.go:215: make[1]: Leaving directory '/home/qt/work/qt/qtxmlpatterns/tools'
      agent:2019/08/21 12:44:39 build.go:215: make: *** [Makefile:75: sub-tools-make_first] Error 2
      

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              • Assignee:
                tpochep Timur Pocheptsov
                Reporter:
                liaqi Liang Qi
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes