Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
6.8.0
-
None
-
-
673605110e3a33db9b58e0c514e9ec8e4da36d20 (dev) e63847cab56ff99e4ae3a0959eeb39176888d9b4 (6.8.1)
Description
building 6.8.0 on win32 fails when building QtCore (ok on linux/osx though), which is a regression from 6.7.3 (note that we're enabling UNITY build):
2024-10-08T09:28:15.4850393Z [154/5113] Generating Core_resource.rc 2024-10-08T09:28:15.5233229Z [155/5113] Running AUTOMOC file extraction for target Core 2024-10-08T09:28:15.9126078Z [156/5113] Generating prl file for target Core 2024-10-08T09:28:16.5323183Z [157/5113] Running moc --collect-json for target Core 2024-10-08T09:28:20.1954463Z [158/5113] Building CXX object qtbase\src\corelib\CMakeFiles\Core.dir\cmake_pch.cxx.obj 2024-10-08T09:28:33.4215395Z [159/5113] Building CXX object qtbase\src\3rdparty\harfbuzz-ng\CMakeFiles\BundledHarfbuzz.dir\src\hb-subset-cff-common.cc.obj 2024-10-08T09:29:20.2873572Z [160/5113] Building CXX object qtbase\src\corelib\CMakeFiles\Core.dir\Unity\unity_6_cxx.cxx.obj 2024-10-08T09:29:20.7798684Z [161/5113] Building CXX object qtbase\src\3rdparty\harfbuzz-ng\CMakeFiles\BundledHarfbuzz.dir\src\hb-subset.cc.obj 2024-10-08T09:29:42.3921576Z [162/5113] Building CXX object qtbase\src\corelib\CMakeFiles\Core.dir\Unity\unity_4_cxx.cxx.obj 2024-10-08T09:29:57.1722251Z [163/5113] Building CXX object qtbase\src\corelib\CMakeFiles\Core.dir\Unity\unity_3_cxx.cxx.obj 2024-10-08T09:30:16.5481869Z [164/5113] Building CXX object qtbase\src\corelib\CMakeFiles\Core.dir\Unity\unity_5_cxx.cxx.obj 2024-10-08T09:30:41.7903321Z [165/5113] Building CXX object qtbase\src\corelib\CMakeFiles\Core.dir\Unity\unity_1_cxx.cxx.obj 2024-10-08T09:30:47.6520923Z [166/5113] Building CXX object qtbase\src\corelib\CMakeFiles\Core.dir\Unity\unity_0_cxx.cxx.obj 2024-10-08T09:30:48.1028166Z FAILED: qtbase/src/corelib/CMakeFiles/Core.dir/Unity/unity_0_cxx.cxx.obj 2024-10-08T09:30:48.5440890Z C:\PROGRA~1\MICROS~2\2022\ENTERP~1\VC\Tools\MSVC\1429~1.301\bin\HostX64\x64\cl.exe /nologo /TP -DCore_EXPORTS -DNOMINMAX -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_LEAN_HEADERS=1 -DQT_MOC_COMPAT -DQT_NO_CONTEXTLESS_CONNECT -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_QASCONST -DQT_NO_QEXCHANGE -DQT_NO_QPAIR -DQT_NO_QSNPRINTF -DQT_NO_USING_NAMESPACE -DQT_TYPESAFE_FLAGS -DQT_USE_NODISCARD_FILE_OPEN -DQT_USE_QSTRINGBUILDER -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_USE_MATH_DEFINES -D_WIN64 -D_WINDLL -I%SRC_DIR%\build\qtbase\src\corelib\Core_autogen\include -I%SRC_DIR%\build\qtbase\include -I%SRC_DIR%\build\qtbase\include\QtCore -I%SRC_DIR%\qtbase\src\corelib -I%SRC_DIR%\build\qtbase\src\corelib -I%SRC_DIR%\build\qtbase\src\corelib\global -I%SRC_DIR%\build\qtbase\src\corelib\kernel -I%SRC_DIR%\qtbase\src\corelib\..\3rdparty\tinycbor\src -I%SRC_DIR%\build\qtbase\include\QtCore\6.8.0 -I%SRC_DIR%\build\qtbase\include\QtCore\6.8.0\QtCore -I%SRC_DIR%\build\qtbase\src\corelib\.rcc -I%SRC_DIR%\qtbase\mkspecs\win32-msvc -external:I%PREFIX%\Library\include -external:W0 /DWIN32 /D_WINDOWS /DNDEBUG -O2 -Ob3 -O2 -Ob3 -std:c++17 -MD /W3 /EHsc /d2FH4 -Zc:__cplusplus -permissive- -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:ternary -Zc:externConstexpr -Zc:wchar_t -bigobj -guard:cf -Gw /YuC:/bld/qt6-main_1728378365041/work/build/qtbase/src/corelib/CMakeFiles/Core.dir/cmake_pch.hxx /FpC:/bld/qt6-main_1728378365041/work/build/qtbase/src/corelib/CMakeFiles/Core.dir/./cmake_pch.cxx.pch /FIC:/bld/qt6-main_1728378365041/work/build/qtbase/src/corelib/CMakeFiles/Core.dir/cmake_pch.hxx /showIncludes /Foqtbase\src\corelib\CMakeFiles\Core.dir\Unity\unity_0_cxx.cxx.obj /Fdqtbase\src\corelib\CMakeFiles\Core.dir\ /FS -c %SRC_DIR%\build\qtbase\src\corelib\CMakeFiles\Core.dir\Unity\unity_0_cxx.cxx 2024-10-08T09:30:49.2787409Z %SRC_DIR%\qtbase\src\corelib\global\qglobal_p.h(57): error C2375: 'qAbort': redefinition; different linkage 2024-10-08T09:30:49.6522718Z C:/bld/qt6-main_1728378365041/work/qtbase/src/corelib/global/qassert.cpp(24): note: see declaration of 'qAbort' 2024-10-08T09:30:50.0591425Z [167/5113] Building RC object qtbase\src\corelib\CMakeFiles\Core.dir\Core_resource.rc.res 2024-10-08T09:30:53.8851087Z [168/5113] Building CXX object qtbase\src\corelib\CMakeFiles\Core.dir\Unity\unity_2_cxx.cxx.obj