Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.2.0 FF
-
RHEL 8.2
Description
Download and extract 6.2.0 sources, SHA1 53220710f5e4487c10db908abc20c515aadeb99e.
Configure:
cmake -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DQT_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=Release -DFEATURE_headersclean=ON -DFEATURE_separate_debug_info=OFF -DFEATURE_system_jpeg=OFF -DFEATURE_system_png=OFF -DFEATURE_system_pcre2=OFF -DFEATURE_system_harfbuzz=OFF -DFEATURE_system_doubleconversion=OFF -DFEATURE_libudev=OFF -DINPUT_bundled_xcb_xinput=yes -DOpenGL_GL_PREFERENCE=LEGACY -DQT_BUILD_TESTS=OFF -DBUILD_SHARED_LIBS=OFF /home/qt/RTA/src-6.2.0 -DCMAKE_INSTALL_PREFIX:PATH=/home/qt/RTA/src-6.2.0/qtbase -DBUILD_qtwebengine=FALSE
Build:
cmake --build . --parallel
Fails:
[3425/10336] Building CXX object qtdeclarative/src/qmlcachegen/CMakeFiles/qmlcachegen.dir/qmlcachegen.cpp.o [3426/10336] Linking CXX executable qtbase/bin/qmlprofiler FAILED: qtbase/bin/qmlprofiler : && /opt/rh/gcc-toolset-10/root/usr/bin/g++ -DNDEBUG -O2 -Wl,--gc-sections -Wl,--enable-new-dtags qtdeclarative/tools/qmlprofiler/CMakeFiles/qmlprofiler.dir/qmlprofiler_autogen/mocs_compilation.cpp.o qtdeclarative/tools/qmlprofiler/CMakeFiles/qmlprofiler.dir/commandlistener.cpp.o qtdeclarative/tools/qmlprofiler/CMakeFiles/qmlprofiler.dir/main.cpp.o qtdeclarative/tools/qmlprofiler/CMakeFiles/qmlprofiler.dir/qmlprofilerapplication.cpp.o qtdeclarative/tools/qmlprofiler/CMakeFiles/qmlprofiler.dir/qmlprofilerclient.cpp.o qtdeclarative/tools/qmlprofiler/CMakeFiles/qmlprofiler.dir/qmlprofilerdata.cpp.o qtdeclarative/tools/qmlprofiler/CMakeFiles/qmlprofiler.dir/qmlprofiler_plugin_imports_Network.cpp.o -o qtbase/bin/qmlprofiler -Wl,-rpath,"\$ORIGIN/../lib:" qtbase/lib/libQt6Core.a qtbase/lib/libQt6Network.a qtbase/lib/libQt6Core.a qtbase/plugins/networkinformationbackends/libnetworkmanagernetworkinformationbackend.a qtbase/plugins/tls/libopensslbackend.a qtbase/plugins/tls/libcertonlybackend.a qtbase/lib/libQt6QmlDebug.a qtbase/lib/libQt6PacketProtocol.a qtbase/lib/libQt6Qml.a qtbase/lib/libQt6DBus.a /usr/lib64/libdbus-1.so qtbase/lib/libQt6Network.a /usr/lib64/libgssapi_krb5.so qtbase/lib/libQt6Core.a /usr/lib64/libz.so -lm /usr/lib64/libicui18n.so /usr/lib64/libicuuc.so /usr/lib64/libicudata.so qtbase/lib/libQt6BundledPcre2.a -ldl /usr/lib64/libglib-2.0.so /usr/lib64/libgthread-2.0.so /usr/lib64/librt.so -lpthread && : /opt/rh/gcc-toolset-10/root/usr/bin/ld: qtbase/plugins/tls/libcertonlybackend.a(qtlsbackend_cert.cpp.o): in function `lcTlsBackend()': qtlsbackend_cert.cpp:(.text._Z12lcTlsBackendv+0x0): multiple definition of `lcTlsBackend()'; qtbase/plugins/tls/libopensslbackend.a(qtlsbackend_openssl.cpp.o):qtlsbackend_openssl.cpp:(.text._Z12lcTlsBackendv+0x0): first defined here collect2: error: ld returned 1 exit status [3427/10336] Linking CXX executable qtbase/bin/qmlpreview FAILED: qtbase/bin/qmlpreview : && /opt/rh/gcc-toolset-10/root/usr/bin/g++ -DNDEBUG -O2 -Wl,--gc-sections -Wl,--enable-new-dtags qtdeclarative/tools/qmlpreview/CMakeFiles/qmlpreview.dir/qmlpreview_autogen/mocs_compilation.cpp.o qtdeclarative/tools/qmlpreview/CMakeFiles/qmlpreview.dir/main.cpp.o qtdeclarative/tools/qmlpreview/CMakeFiles/qmlpreview.dir/qmlpreviewapplication.cpp.o qtdeclarative/tools/qmlpreview/CMakeFiles/qmlpreview.dir/qmlpreviewfilesystemwatcher.cpp.o qtdeclarative/tools/qmlpreview/CMakeFiles/qmlpreview.dir/qmlpreview_plugin_imports_Network.cpp.o -o qtbase/bin/qmlpreview -Wl,-rpath,"\$ORIGIN/../lib:" qtbase/lib/libQt6Core.a qtbase/lib/libQt6Network.a qtbase/lib/libQt6Core.a qtbase/plugins/networkinformationbackends/libnetworkmanagernetworkinformationbackend.a qtbase/plugins/tls/libopensslbackend.a qtbase/plugins/tls/libcertonlybackend.a qtbase/lib/libQt6QmlDebug.a qtbase/lib/libQt6PacketProtocol.a qtbase/lib/libQt6Qml.a qtbase/lib/libQt6DBus.a /usr/lib64/libdbus-1.so qtbase/lib/libQt6Network.a /usr/lib64/libgssapi_krb5.so qtbase/lib/libQt6Core.a /usr/lib64/libz.so -lm /usr/lib64/libicui18n.so /usr/lib64/libicuuc.so /usr/lib64/libicudata.so qtbase/lib/libQt6BundledPcre2.a -ldl /usr/lib64/libglib-2.0.so /usr/lib64/libgthread-2.0.so /usr/lib64/librt.so -lpthread && : /opt/rh/gcc-toolset-10/root/usr/bin/ld: qtbase/plugins/tls/libcertonlybackend.a(qtlsbackend_cert.cpp.o): in function `lcTlsBackend()': qtlsbackend_cert.cpp:(.text._Z12lcTlsBackendv+0x0): multiple definition of `lcTlsBackend()'; qtbase/plugins/tls/libopensslbackend.a(qtlsbackend_openssl.cpp.o):qtlsbackend_openssl.cpp:(.text._Z12lcTlsBackendv+0x0): first defined here collect2: error: ld returned 1 exit status
Attachments
Issue Links
- relates to
-
QTBUG-94108 [REG 6.1.0 -> 6.2] No TLS backend available in statically built project
-
- Closed
-