Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.0.0 Beta1
-
-
c3976188bd20a15a0c67bf6abd4b08a5f26df67a (qt/qttools/dev)
Description
We're trying to build the official MinGW packages with LLVM support in lupdate.
Anyhow, it seems MinGW-w64's objcopy.exe fails to handle such large files:
[1/1] Linking CXX executable qtbase\bin\lupdate.exe
FAILED: qtbase/bin/lupdate.exe
cmd.exe /C "cd . && C:\Qt\Tools\mingw810_64\bin\g++.exe -g -DNDEBUG -O2 @CMakeFiles\lupdate.rsp -o qtbase\bin\lupdate.exe -Wl,--out-implib,qttools\src\linguist\lupdate\liblupdate.dll.a -Wl,--major-image-version,0,--minor-image-version,0 && cmd.exe /C "cd /D C:\dev\qt\dev\cmake-mingw-builds-8.1.0-64\qttools\src\linguist\lupdate && C:\Qt\Tools\mingw810_64\bin\objcopy.exe --only-keep-debug C:/dev/qt/dev/cmake-mingw-builds-8.1.0-64/qtbase/bin/lupdate.exe C:/dev/qt/dev/cmake-mingw-builds-8.1.0-64/qtbase/bin/lupdate.debug && C:\Qt\Tools\mingw810_64\bin\objcopy.exe --strip-debug C:/dev/qt/dev/cmake-mingw-builds-8.1.0-64/qtbase/bin/lupdate.exe && C:\Qt\Tools\mingw810_64\bin\objcopy.exe --add-gnu-debuglink=C:/dev/qt/dev/cmake-mingw-builds-8.1.0-64/qtbase/bin/lupdate.debug C:/dev/qt/dev/cmake-mingw-builds-8.1.0-64/qtbase/bin/lupdate.exe""
Already the first objcopy call, C:\Qt\Tools\mingw810_64\bin\objcopy.exe --only-keep-debug C:/dev/qt/dev/cmake-mingw-builds-8.1.0-64/qtbase/bin/lupdate.exe C:/dev/qt/dev/cmake-mingw-builds-8.1.0-64/qtbase/bin/lupdate.debug, does return an error value (though lupdate.debug is generated, and no error is printed).
Attachments
Issue Links
- relates to
-
QTBUG-87215 Ship qdoc in 6.0 binaries
- Closed
-
QTBUG-87015 Separate debug info is not created for Qt plugins, qml plugins, bundled libs
- Closed
For Gerrit Dashboard: QTBUG-87613 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
319815,1 | CMake Build: Use full binaries as sepparate debug info for MinGW | dev | qt/qtbase | Status: ABANDONED | +1 | 0 |
320014,3 | CMake Build: Skip separate debug info for lupdate on MinGW | dev | qt/qttools | Status: MERGED | +2 | 0 |