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

QtPfd build failure on 32-bit arm

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 6.6
    • PDF
    • None
    • Linux/Yocto
    • 84d85b675 (dev), d7eac0cfb (6.6), 7aae80478 (6.5)

    Description

      Getting this compilation failure when targeting 32-bit ARM on Yocto builds.
      Error occurs with newest Yocto version while succeeds with older one.
      Update includes at least:
      GCC 12.3 -> 13.2
      glibc 2.37 -> 2.38

      webengine build is ok.

      | [1128/1230] CC obj/third_party/zlib/bundled_zlib/gzwrite.o                                                                                                                                                                                
      | FAILED: obj/third_party/zlib/bundled_zlib/gzwrite.o                                                                                                                                                                                       
      | arm-poky-linux-gnueabi-gcc  -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a15 -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 --sysroot=/home/sapiippo/qt6/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/qtpdf/6.7.0/recipe-sysroot -MMD -MF obj/third_party/zlib/bundled_zlib/gzwrite.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -DCR_SYSROOT_KEY=20221105T211506Z-0 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DZLIB_IMPLEMENTATION -DADLER32_SIMD_NEON -DINFLATE_CHUNK_SIMD_NEON -DDEFLATE_SLIDE_HASH_NEON -Igen -I../../../../../git/src/3rdparty/chromium -I../../../../../git/src/3rdparty/chromium/third_party/zlib -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 -mfloat-abi=hard -mcpu=cortex-a15 -mfpu=neon -mthumb -O2 -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fvisibility=hidden -Wno-psabi -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 -O3 -fdata-sections -ffunction-sections -std=gnu11 --sysroot=../../../../../recipe-sysroot  -O2 -pipe  -feliminate-unused-debug-types -fcanon-prefix-map  -fmacro-prefix-map=/home/sapiippo/qt6/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/qtpdf/6.7.0/git=/usr/src/debug/qtpdf/6.7.0-r0  -fdebug-prefix-map=/home/sapiippo/qt6/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/qtpdf/6.7.0/git=/usr/src/debug/qtpdf/6.7.0-r0  -fmacro-prefix-map=/home/sapiippo/qt6/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/qtpdf/6.7.0/build=/usr/src/debug/qtpdf/6.7.0-r0  -fdebug-prefix-map=/home/sapiippo/qt6/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/qtpdf/6.7.0/build=/usr/src/debug/qtpdf/6.7.0-r0  -fdebug-prefix-map=/home/sapiippo/qt6/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/qtpdf/6.7.0/recipe-sysroot=  -fmacro-prefix-map=/home/sapiippo/qt6/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/qtpdf/6.7.0/recipe-sysroot=  -fdebug-prefix-map=/home/sapiippo/qt6/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/qtpdf/6.7.0/recipe-sysroot-native=   -fmacro-prefix-map=/home/sapiippo/qt6/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/qtpdf/6.7.0/image= -g1 -c ../../../../../git/src/3rdparty/chromium/third_party/zlib/gzwrite.c -o obj/third_party/zlib/bundled_zlib/gzwrite.o                                                                                                                                                                                                                       
      | In file included from ../../../../../recipe-sysroot/usr/include/features.h:394,                                                                                                                                                           
      |                  from ../../../../../recipe-sysroot/usr/include/bits/libc-header-start.h:33,                                                                                                                                              
      |                  from ../../../../../recipe-sysroot/usr/include/stdio.h:27,                                                                                                                                                               
      |                  from ../../../../../git/src/3rdparty/chromium/third_party/zlib/gzguts.h:21,                                                                                                                                              
      |                  from ../../../../../git/src/3rdparty/chromium/third_party/zlib/gzwrite.c:6:                                                                                                                                              
      | ../../../../../recipe-sysroot/usr/include/features-time64.h:26:5: error: #error "_TIME_BITS=64 is allowed only with _FILE_OFFSET_BITS=64"                                                                                                 
      |    26 | #   error "_TIME_BITS=64 is allowed only with _FILE_OFFSET_BITS=64"                                                                                                                                                               
      |       |     ^~~~~                                                                                                                                                                                                                         
      

      Attachments

        Issue Links

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

          Activity

            People

              michal Michal Klocek
              sapiippo Samuli Piippo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes