Details
-
Bug
-
Resolution: Duplicate
-
P3: Somewhat important
-
None
-
6.0.0 Beta4
-
$ lsb_release -d
Description: openSUSE Leap 15.2
$ uname -a
Linux localhost.localdomain 5.3.18-lp152.47-default #1 SMP Thu Oct 15 16:05:25 UTC 2020 (41f7396) x86_64 x86_64 x86_64 GNU/Linux
Description
Found when building Qt from CI-approved commit 43291fd110 in the dev branch of qt5.git.
The old qmake-based configure supports the -strip, -silent and -gcov command line option:
$ ./configure -help ... -strip ............... Strip release binaries of unneeded symbols [yes] ... -gcov ................ Instrument with the GCov code coverage tool [no] ... -silent .............. Reduce the build output so that warnings and errors can be seen more easily ...
The same options appear in the help for the new cmake-based configure. Configure appears to accept the options as valid, but then reports that it ignored them.
$ ./configure -strip ... -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: INPUT_strip INPUT_gcov INPUT_silent -- Build files have been written to: /home/qt/depot/qt5 $
A similar problem happens for -mp and -incredibuild-xge. The only difference is that these two options aren't applicable on Linux, so the old qmake-based configure helpfully warns the user about that:
WARNING: Feature incredibuild_xge is insignificant in this configuration, ignoring related command line option(s). WARNING: Feature msvc_mp is insignificant in this configuration, ignoring related command line option(s).
Attachments
For Gerrit Dashboard: QTBUG-88290 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
320949,2 | CMake: Remove -strip from configure's help | dev | qt/qtbase | Status: MERGED | +2 | 0 |