-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.7.0, 5.7.1
-
configure options:
-opensource -confirm-license -nomake examples -nomake tests -no-audio-backend -no-dbus -skip qtconnectivity -skip qtserialport -skip qtlocation -skip qtx11extras -skip qtwebsockets -skip qtwayland -skip qtgamepad -no-rpath -system-libpng -system-zlib -no-glib -no-nis -no-cups -no-iconv -qt-xcb
Build env:
devtoolset-3
python27
configure options: -opensource -confirm-license -nomake examples -nomake tests -no-audio-backend -no-dbus -skip qtconnectivity -skip qtserialport -skip qtlocation -skip qtx11extras -skip qtwebsockets -skip qtwayland -skip qtgamepad -no-rpath -system-libpng -system-zlib -no-glib -no-nis -no-cups -no-iconv -qt-xcb Build env: devtoolset-3 python27
-
5ff4702ea7e567eecc767a2e40d383a27f4ee4fb
qtwebengine/src/core fails to link on CentOS 6 while it links fine under CentOS 7. This is using the same build environment (devtoolset-3 and python27).
The LIBS variable in qtwebengine/src/core/Makefile.core_module is missing many system libraries required to link, such as: -lfontconfig, -lfreetype, -lXcursor, -lXtst, and several more. These do appear in the LIBS varialbe of this file when building on CentOS 7.
In addition, it appears that these are missing from the chromium ninja build as well, which may be the root of the problem.
For example, here is the libs variable from one of the chromium ninja files.
Under CentOS 7:
./obj/src/3rdparty/chromium/third_party/WebKit/Source/core/webcore_shared.ninja libs = -ldl -lrt -lfontconfig -lfreetype -lsmime3 -lnss3 -lnssutil3 $ -lplds4 -lplc4 -lnspr4 -lpthread -lresolv -lpng -lX11 -lXi -lXcursor $ -lXext -lXfixes -lXrender -lXss -lXcomposite -lasound -lm -lz -lXdamage $ -lXtst
Under CentOS 6:
./obj/src/3rdparty/chromium/third_party/WebKit/Source/core/webcore_shared.ninja libs = -ldl -lrt -lresolv -ljpeg -lasound -lm -lz
Manually adding the missing libs to qtwebengine/src/core/Makefile.core_module allows the link to succeed.
- relates to
-
QTBUG-57014 Qt 5.8 Beta doesn't compile under CentOS 6.6
-
- Closed
-
-
QTBUG-58790 WebEngine fails to build/link on RHEL 6
-
- Closed
-