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

WASM Clang++ ignores EXCEPTIONS settings in asyncify config

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.10
    • 6.7.0 Beta2
    • Build System: CMake
    • None
    • WebAssembly
    • d795dbc64 (dev), cee8a11d7 (dev), 44dbd9bcc (dev), 75133e022 (dev), 72e234197 (dev), 565847e63 (dev), 5622b3362 (6.9), a65554044 (dev)

    Description

      GIVEN: A qt_internal_add_test specifying EXCEPTIONS, e.g. the chain ending in https://codereview.qt-project.org/c/qt/qtbase/+/534652/3

      WHEN: Building with "webassembly-linux-thread"
      THEN: it works: https://testresults.qt.io/coin/integration/qt/qtbase/tasks/1706943708

      WHEN: Building with "webassembly-linux-thread-asyncify"
      THEN: It fails because instead of -fexceptions, -fno-exceptions (-fignore-exceptions) is passed on the compiler command-line: https://testresults.qt.io/coin/api/log/qt/qtbase/4ece7063084139f938fcda729a2173e161cfc0f8/LinuxopenSUSE_15_5x86_64LinuxWebAssemblyx86_64GCCqtci-linux-openSUSE-15.5-x86_64-52-88a0f7Sccache_UseConfigure/541b8d92b0e2c137e1c927e89c2018a0870b0837/build_1706943711/log.txt.gz

      Expected behaviour: the setting EXCEPTIONS is heeded, and not silently reversed in meaning.

      Attachments

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

        Activity

          People

            sorvig Morten Sørvig
            mmutz Marc Mutz
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: