Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt 6.2.6 build on CentOS 7?
Qt 6.11 is out! See what's new in the release blog

Qt 6.2.6 build on CentOS 7?

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 917 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jason
    wrote on last edited by Jason
    #1

    Has anyone successfully built Qt 6.2.6 on CentOS 7? We are trying, using devtoolset-11 (gcc 11.2.1), but we're failing while building chromium:

    [13186/31651] CXX obj/base/base/base_jumbo_45.o
    FAILED: obj/base/base/base_jumbo_45.o 
    /opt/rh/devtoolset-11/root/usr/bin/c++ -MMD -MF obj/base/base/base_jumbo_45.o.d -DPA_PCSCAN_STACK_SUPPORTED -DUSE_SYMBOLIZE -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DBASE_IMPLEMENTATION -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DUSE_CHROMIUM_ICU=1 -DU_ENABLE_TRACING=1 -DU_ENABLE_RESOURCE_TRACING=0 -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -I. -Igen -I../../../3rdparty/chromium -I../../../3rdparty/chromium/third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -I../../../3rdparty/chromium/third_party/abseil-cpp -I../../../3rdparty/chromium/third_party/boringssl/src/include -I../../../3rdparty/chromium/third_party/protobuf/src -Igen/protoc_out -Igen/third_party/perfetto -I../../../3rdparty/chromium/third_party/icu/source/common -I../../../3rdparty/chromium/third_party/icu/source/i18n -fno-ident -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-unknown-pragmas -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 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -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 -fno-omit-frame-pointer -g0 -fvisibility=hidden -O2 -fdata-sections -ffunction-sections -std=gnu++14 -Wno-narrowing -Wno-class-memaccess -Wno-attributes -Wno-class-memaccess -Wno-subobject-linkage -Wno-invalid-offsetof -Wno-return-type -Wno-deprecated-copy -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -c gen/base/base_jumbo_45.cc -o obj/base/base/base_jumbo_45.o
    In file included from /opt/rh/devtoolset-11/root/usr/include/c++/11/string:56,
                     from /opt/rh/devtoolset-11/root/usr/include/c++/11/bits/locale_classes.h:40,
                     from /opt/rh/devtoolset-11/root/usr/include/c++/11/bits/ios_base.h:41,
                     from /opt/rh/devtoolset-11/root/usr/include/c++/11/ios:42,
                     from /opt/rh/devtoolset-11/root/usr/include/c++/11/ostream:38,
                     from ../../../3rdparty/chromium/base/check.h:9,
                     from ../../../3rdparty/chromium/base/allocator/partition_allocator/partition_alloc_check.h:10,
                     from ../../../3rdparty/chromium/base/allocator/partition_allocator/partition_address_space.h:14,
                     from ../../../3rdparty/chromium/base/allocator/partition_allocator/partition_root.h:39,
                     from ./../../../3rdparty/chromium/base/allocator/partition_allocator/starscan/metadata_allocator.cc:5,
                     from gen/base/base_jumbo_45.cc:5:
    /opt/rh/devtoolset-11/root/usr/include/c++/11/bits/basic_string.tcc: In instantiation of ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(std::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = base::internal::MetadataAllocator<char>; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’:
    /opt/rh/devtoolset-11/root/usr/include/c++/11/bits/basic_string.h:3595:33:   required from ‘std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = base::internal::MetadataAllocator<char>]’
    /opt/rh/devtoolset-11/root/usr/include/c++/11/bits/basic_string.tcc:1179:21:   required from ‘std::basic_string<_CharT, _Traits, _Alloc> std::operator+(const _CharT*, const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = base::internal::MetadataAllocator<char>]’
    ../../../3rdparty/chromium/base/allocator/partition_allocator/starscan/stats_collector.h:242:29:   required from here
    /opt/rh/devtoolset-11/root/usr/include/c++/11/bits/basic_string.tcc:628:27: error: no match for ‘operator==’ (operand types are ‘const base::internal::MetadataAllocator<char>’ and ‘base::internal::MetadataAllocator<char>’)
          if (__n == 0 && __a == _Alloc())
                           ~~~~^~~~~~~~~~~
    

    Any thoughts?

    1 Reply Last reply
    0
    • N Offline
      N Offline
      nitingera
      wrote on last edited by
      #2

      @Jason did you manage to get past this error?
      I am trying to build with devtoolset-10 and have the same issue

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved