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

qtbase build error: call to non-'constexpr' function 'long int sysconf(int)'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.3.0 Feature Freeze
    • Testing: qtestlib
    • None
    • Linux/Yocto

    Description

      Trying to build Qt5 with toolchain that is built using yocto Honister. This causes qtbase to fail cause of how new glibc handles MINSIGSTKSZ so that it's no longer compile-time constant.

      Here's a link to the error in coin:

      http://coin.intra.qt.io/coin/logview/qt/qtbase/f3728b8e582a49ab46b2417d1f28fb2f430c2dfa/LinuxUbuntu_20_04x86_64LinuxQEMUarm64GCCqtci-linux-Ubuntu-20.04-x86_64-50-295eaeSccache/6c8635dc8438c418b3310a49a4a36b6e67c7eb9a/build_1640076719

       

      I found one project with a similar problem in the opensource world, and here is the commit they fixed it with. They also fixed a few other things it seems in the same commit: https://github.com/OpenImageDenoise/oidn/commit/4180502f326dccd5e46ab67176b53cc800e32f7b

       EDIT: To clarify, this error is due to changes in glibc version 2.34

      Attachments

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

        Activity

          People

            macadder Jason McDonald
            feilz Dan Ackers
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes