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

Emscripten Fetch API: --proxy-to-worker + -sUSE_PTHREADS cannot be used together

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Out of scope
    • P3: Somewhat important
    • None
    • 6.4.0
    • Network: HTTP
    • None
    • WebAssembly

    • WebAssembly

    Description

      I want to use synchronous fetches of the emscripten fetch api.When I set the compilation parameters according to the document prompts, the compilation will report an error.

      Compile parameters:

         QMAKE_LFLAGS += -s FETCH=1 -s STACK_OVERFLOW_CHECK=1 -s ALLOW_MEMORY_GROWTH=1 -s PTHREAD_POOL_SIZE_STRICT=0 -s PTHREAD_POOL_SIZE=100 -s DETERMINISTIC=1 --profiling-funcs -g -s USE_PTHREADS=1 --proxy-to-worker

      Modify the compilation parameters and compile according to the above prompts. The following error occurs.

      Compile parameters:

         QMAKE_LFLAGS += -s FETCH=1 -s STACK_OVERFLOW_CHECK=1 -s ALLOW_MEMORY_GROWTH=1 -s PTHREAD_POOL_SIZE_STRICT=0 -s PTHREAD_POOL_SIZE=100 -s DETERMINISTIC=1 --profiling-funcs -g -s USE_PTHREADS=1 --proxy-to-worker -s MODULARIZE=0

      Modify the compilation parameters according to the above prompts and compile. The compilation passes, but the following error occurs during access.

      Compile parameters:

         QMAKE_LFLAGS += -s FETCH=1 -s STACK_OVERFLOW_CHECK=1 -s ALLOW_MEMORY_GROWTH=1 -s PTHREAD_POOL_SIZE_STRICT=0 -s PTHREAD_POOL_SIZE=100 -s DETERMINISTIC=1 --profiling-funcs -g -s USE_PTHREADS=1 -s PROXY_TO_PTHREAD=1 -s MODULARIZE=0

      Attachments

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

        Activity

          People

            lpotter Lorn Potter
            jfccg JIEBIN CAO
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes