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

operand type mismatch for `shr in mathops.h - build fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • 6.5.4
    • 6.5.3
    • WebEngine
    • None
    • linux-6.5.5
      gcc-13.2.0
      icu 73.2
      ffmpeg 5.1.3

      AMD Ryzen 5 2600
    • Linux/Wayland
    • c1c9fdf6cdb2b86ba872ae20f0b64405b691835f

    Description

      building qtwebengine from release tarball

      previous 6.5.2 built ok

      build failed to find my system copy of ffmpeg-5.1.3 and tries to build a bundled version.

      ```
      [5647/29952] CC obj/third_party/ffmpeg/ffmpeg_internal/flac.o
      FAILED: obj/third_party/ffmpeg/ffmpeg_internal/flac.o
      /var/lib/sorcery/build/cc -MMD -MF obj/third_party/ffmpeg/ffmpeg_internal/flac.o.d -DHAVE_AV_CONFIG_H -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -DFFMPEG_CONFIGURATION=NULL -DCHROMIUM_NO_LOGGING -D_ISOC99_SOURCE -D_LARGEFILE_SOURCE -DUSE_UDEV -DUSE_AURA=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -I../../../../../src/3rdparty/chromium/third_party/ffmpeg/chromium/config/Chromium/linux/x64 -I../../../../../src/3rdparty/chromium/third_party/ffmpeg -Igen -I../../../../../src/3rdparty/chromium -fPIC -Wno-deprecated-declarations -fomit-frame-pointer -w -std=c99 -pthread -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fno-ident -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-unknown-pragmas -Wno-address -Wno-parentheses -Wno-sign-compare -Wno-stringop-overflow -Wno-stringop-overread -Wno-psabi -Wno-multichar -Wno-format-zero-length -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread -m64 -msse3 -g0 -fvisibility=hidden -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-packed-not-aligned -Wno-dangling-else -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -O2 -fdata-sections -ffunction-sections -I/usr/include/opus -std=gnu11 -c ../../../../../src/3rdparty/chromium/third_party/ffmpeg/libavcodec/flac.c -o obj/third_party/ffmpeg/ffmpeg_internal/flac.o
      ../../../../../src/3rdparty/chromium/third_party/ffmpeg/libavcodec/x86/mathops.h: Assembler messages:
      ../../../../../src/3rdparty/chromium/third_party/ffmpeg/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'

      d# lshw -c cpu
      *-cpu
      description: CPU
      product: AMD Ryzen 5 2600 Six-Core Processor
      vendor: Advanced Micro Devices [AMD]
      physical id: 2a
      bus info: cpu@0
      version: AMD Ryzen 5 2600 Six-Core Processor
      serial: Unknown
      slot: AM4
      size: 1374MHz
      capacity: 3900MHz
      width: 64 bits
      clock: 100MHz
      capabilities: lm fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp x86-64 constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb hw_pstate ssbd ibpb vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 clzero irperf xsaveerptr arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif overflow_recov succor smca sev sev_es cpufreq
      configuration: cores=6 enabledcores=6 threads=12

      CXX=-march=native -mtune=native -m64 -pipe -O3
      INSTALL_PREFIX=/opt/qt6
      – The C compiler identification is GNU 13.2.0
      – The CXX compiler identification is GNU 13.2.0
      – Detecting C compiler ABI info
      – Detecting C compiler ABI info - done
      – Check for working C compiler: /var/lib/sorcery/build/cc - skipped
      – Detecting C compile features
      – Detecting C compile features - done
      – Detecting CXX compiler ABI info
      – Detecting CXX compiler ABI info - done
      – Check for working CXX compiler: /var/lib/sorcery/build/c++ - skipped
      – Detecting CXX compile features
      – Detecting CXX compile features - done
      – Performing Test CMAKE_HAVE_LIBC_PTHREAD
      – Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
      – Check if compiler accepts -pthread
      – Check if compiler accepts -pthread - yes
      – Found Threads: TRUE
      – Performing Test HAVE_STDATOMIC
      – Performing Test HAVE_STDATOMIC - Success
      – Found WrapAtomic: TRUE
      – Found OpenGL: /usr/lib/libGL.so
      – Checking 'ulimit -n'
      – Open files limit 4096

      – Configuration summary shown below. It has also been written to /build/qtwebengine-everywhere-src-6.5.3/build/c
      onfig.summary
      – Configure with --log-level=STATUS or higher to increase CMake's message verbosity. The log level does not pers
      ist across reconfigurations.

      – Configure summary:

      WebEngine Repository Build Options:
      Build Ninja ............................ no
      Build Gn ............................... yes
      Jumbo Build ............................ yes
      Developer build ........................ no
      Build QtWebEngine Modules:
      Build QtWebEngineCore ................ yes
      Build QtWebEngineWidgets ............. yes
      Build QtWebEngineQuick ............... yes
      Build QtPdf Modules:
      Build QtPdfWidgets ................... yes
      Build QtPdfQuick ..................... yes
      Optional system libraries:
      re2 .................................. yes
      icu .................................. no
      libwebp, libwebpmux and libwebpdemux . yes
      opus ................................. yes
      ffmpeg ............................... no
      libvpx ............................... yes
      snappy ............................... yes
      glib ................................. yes
      zlib ................................. yes
      minizip .............................. no
      libevent ............................. yes
      libxml2 and libxslt .................. yes
      lcms2 ................................ yes
      png .................................. yes
      jpeg ................................. yes
      libopenjpeg2 ......................... yes
      harfbuzz ............................. yes
      freetype ............................. yes
      libpci ............................... yes
      Qt WebEngineCore:
      Embedded build ......................... no
      Full debug information ................. no
      Sanitizer support ...................... no
      Pepper Plugins ......................... yes
      Printing and PDF ....................... yes
      Proprietary Codecs ..................... no
      Spellchecker ........................... yes
      WebRTC ................................. yes
      PipeWire over GIO ...................... no
      Geolocation ............................ yes
      WebChannel support ..................... yes
      Kerberos Authentication ................ no
      Extensions ............................. yes
      Support GLX on qpa-xcb ................. yes
      Vulkan support ......................... yes
      Use ALSA ............................... yes
      Use PulseAudio ......................... no
      Qt WebEngineQuick:
      UI Delegates ........................... yes
      Qt PDF:
      Support V8 ............................. no
      Support XFA ............................ no
      Support XFA-BMP ........................ no
      Support XFA-GIF ........................ no
      Support XFA-PNG ........................ no
      Support XFA-TIFF ....................... no
      Bitcode support ........................ no
      Use static runtime ..................... no

      ```

      Attachments

        1. qt6webengine-6.5.3.bz2
          48 kB
          Treeve Jelbert

        Issue Links

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

          Activity

            People

              qt_webengine_team Qt WebEngine Team
              treeve Treeve Jelbert
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes