From 3b7da852e63c8b7f56f25a0937ce631237d6168e Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Thu, 11 Jun 2020 18:24:10 +0200 Subject: CMake: Fix a lot of failing tests on MinGW 32bit due to debug symbols When building a RelWithDebInfo configuration, the debug symbols for the libraries are embedded into the .dlls. This causes the file size to be really big (around 400MB for libQt6Gui.dll). On a 32-bit system, the Windows loader failed to map such big libraries into memory, and thus certain tests failed with exit code 0xc0000017 which means STATUS_NO_MEMORY. The solution is to enable the separate debug info feature, to split the debug files into separate files, just making they dlls nice and small. This should fix quite a few of the failing MinGW 32-bit tests for qtdeclarative, qtquickcontrols2, etc. Task-number: QTBUG-84886 Change-Id: I10ae0acca5d7d5523d3ae2f0c49587ace239f301 Reviewed-by: Cristian Adam Reviewed-by: Qt CI Bot --- coin/platform_configs/qt5.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coin/platform_configs/qt5.yaml') diff --git a/coin/platform_configs/qt5.yaml b/coin/platform_configs/qt5.yaml index 08e8ff92..6a576e73 100644 --- a/coin/platform_configs/qt5.yaml +++ b/coin/platform_configs/qt5.yaml @@ -60,5 +60,5 @@ Configurations: - Template: 'qtci-windows-7-x86-3' Compiler: 'Mingw' - Configure arguments: '-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_EXAMPLES=OFF -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x86}}\.. -DFEATURE_system_zlib=OFF' + Configure arguments: '-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_BUILD_TYPE=RelWithDebInfo -DFEATURE_separate_debug_info=ON -DBUILD_EXAMPLES=OFF -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x86}}\.. -DFEATURE_system_zlib=OFF' Environment variables: ['Path={{.Env.MINGW810_i686}}\bin;{{.Env.Path}}'] -- cgit v1.2.3