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

WebEngine 5.10.0 alpha does not build with glibc >= 2.26

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P0: Blocker
    • 5.10.0
    • 5.10.0 Alpha
    • WebEngine
    • None

    Description

      The cfree method has always been deprecated on linux and finally got removed from glibc in version 2.26. This causes the build to fail:

      [ 7215s] g++ -c -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -DOPENSSL_LOAD_CONF -Wno-unused-parameter -O2 -fPIC -std=gnu++11 -fno-exceptions -Wall -W -D_REENTRANT -DBUILDING_CHROMIUM -DNOMINMAX -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_WEBENGINECOREHEADERS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../core -I../../3rdparty/chromium -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore/5.10.0 -isystem /usr/include/qt5/QtCore/5.10.0/QtCore -isystem /usr/include/qt5/QtCore -I../../../include -I../../../include/QtWebEngineCore -I../../../include/QtWebEngineCore/5.10.0 -I../../../include/QtWebEngineCore/5.10.0/QtWebEngineCore -I.moc -isystem /usr/include/libdrm -isystem /usr/include/pgsql/ -isystem /usr/include/pgsql/server -isystem /usr/include/mysql/ -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/qtbug-61521.o qtbug-61521.cpp
      [ 7215s] qtbug-61521.cpp: In function 'void ShimCFree(void*)':
      [ 7215s] qtbug-61521.cpp:103:5: error: 'cfree' was not declared in this scope
      [ 7215s] cfree(ptr);
      [ 7215s] ^~~~~
      [ 7215s] qtbug-61521.cpp:103:5: note: suggested alternative: 'free'
      [ 7215s] cfree(ptr);
      [ 7215s] ^~~~~
      [ 7215s] free

      Attachments

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

        Activity

          People

            juri.valdmann Jüri Valdmann (Inactive)
            vogtinator Fabian Vogt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes