diff options
author | Liang Qi <liang.qi@theqtcompany.com> | 2015-05-29 09:59:23 +0200 |
---|---|---|
committer | Liang Qi <liang.qi@theqtcompany.com> | 2015-05-29 10:00:01 +0200 |
commit | 2670bdeee4b610be719caed841882babe7541ec9 (patch) | |
tree | f490d43df0be0d4802edf8873a60ab2a7579e33d /dist/changes-5.4.2 | |
parent | 18be63de2a5588ea6ac4b9ffe8de176aabe8bd83 (diff) | |
parent | e3983c87280ade48b243d9c60bed639713851be9 (diff) |
Merge remote-tracking branch 'origin/5.4.2' into 5.4
Change-Id: Ied2a227a25859163a924c7b5717492a1f974c5ca
Diffstat (limited to 'dist/changes-5.4.2')
-rw-r--r-- | dist/changes-5.4.2 | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/dist/changes-5.4.2 b/dist/changes-5.4.2 index 5827187e9e..1a34898011 100644 --- a/dist/changes-5.4.2 +++ b/dist/changes-5.4.2 @@ -37,10 +37,20 @@ information about a particular change. - On x86 and x86-64 systems with ELF binaries (especially Linux), due to a new optimization in GCC 5.x in combination with a recent version of GNU binutils, compiling Qt applications with -fPIE is no longer - enough. Applications now need to be compiled with the -fPIC option if - Qt's option "reduce relocations" is active. Note that Clang is known - to generate incompatible code even with -fPIC if the -flto option is - active. + enough with GCC 5.x. Applications now need to be compiled with + the -fPIC option if Qt's option "reduce relocations" is active. For + backward compatibility only, Qt accepts the use of -fPIE for GCC 4.x + versions. + Note that Clang is known to generate incompatible code even with -fPIC if + the -flto option is active. + Applications using qmake or cmake >= 2.8.12 as their build system will + adapt automatically. Applications using an older release of cmake in + combination with GCC 5.x need to change their CMakeLists.txt to add + Qt5Core_EXECUTABLE_COMPILE_FLAGS to CMAKE_CXX_FLAGS. In particular, + applications using cmake >= 2.8.9 and < 2.8.11 will continue to build + with the -fPIE option and invoke the special compatibility mode if using + GCC 4.x. + **************************************************************************** * Library * |