diff options
author | Julien CORJON <corjon.j@ecagroup.com> | 2015-07-21 13:30:14 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-07-21 23:20:47 +0200 |
commit | 105c23cedb54f34e80a303c6af02c4398f72f029 (patch) | |
tree | 29614ec29b44864cda38f5e4f75ab2d6cd8cbdbd /package/qt5/qt5base/0005-no-gold-linker-for-host-build.patch | |
parent | aa24cb8b4fac7b2a6aae38ee0d1d798fdbf54f23 (diff) | |
download | buildroot-105c23cedb54f34e80a303c6af02c4398f72f029.tar.gz buildroot-105c23cedb54f34e80a303c6af02c4398f72f029.zip |
qt5: bump version to 5.5.0
QT5BASE_EGLFS_PLATFORM_HOOKS_SOURCES is no longer useful since eglfs does not
depend on the device makespecs anymore. Instead, backends are autodetected by
configure [1]. We still need specifics include path for rpi eglfs support.
0008-forkd-disable-eventfd-for-uclibc.patch disable missing eventfd in new Qt
3rd party forkd for uClibc toolchains.
Remove patches commited in Qt mainline and update pending one
[1] https://codereview.qt-project.org/#/c/107548/
Passed test :
- Full compilation on ARM/uClibc
- Partialy compiled and tested on i.MX6/linaro with OpenGL backend
- Partialy compiled but not executed for Raspberry Pi (rpi-userland)
Signed-off-by: Julien Corjon <corjon.j@ecagroup.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/qt5/qt5base/0005-no-gold-linker-for-host-build.patch')
-rw-r--r-- | package/qt5/qt5base/0005-no-gold-linker-for-host-build.patch | 40 |
1 files changed, 27 insertions, 13 deletions
diff --git a/package/qt5/qt5base/0005-no-gold-linker-for-host-build.patch b/package/qt5/qt5base/0005-no-gold-linker-for-host-build.patch index 99d5928ab6..3dc9a6d50d 100644 --- a/package/qt5/qt5base/0005-no-gold-linker-for-host-build.patch +++ b/package/qt5/qt5base/0005-no-gold-linker-for-host-build.patch @@ -1,27 +1,41 @@ -Use the gold linker only for target builds +From 2cb4b7e947f64580592afaf221d4b261d980bb45 Mon Sep 17 00:00:00 2001 +From: Peter Seiderer <ps.report@gmx.net> +Date: Tue, 19 May 2015 21:30:21 +0200 +Subject: [PATCH] Disable gold linker/new dtags support for host builds -Availability of the gold linker is only tested with the -cross-compiler, not the host compiler, so Qt shouldn't assume it's -available when doing host builds. +There is no test for gold linker and new dtags support for the host build +(only for the target compiler/build) which leads to trouble in some cross +compiling environments (see [1] for details). -This fixes build failures occuring when cross-compiling Qt5 with a -gold capable cross-compiler, on a host that has a too old compiler to -support gold. +So disable gold linker/new dtags support unconditionally for host builds. -Bug reported upstream at https://bugreports.qt.io/browse/QTBUG-46125. +[1] http://lists.busybox.net/pipermail/buildroot/2015-May/128303.html -Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> +Task-number: QTBUG-46125 +Change-Id: Ic62828704dcce461487d63860705158cce3e4af8 +Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> +--- + mkspecs/features/default_post.prf | 7 +++++-- + 1 file changed, 5 insertions(+), 2 deletions(-) -Index: b/mkspecs/features/default_post.prf -=================================================================== +diff --git a/mkspecs/features/default_post.prf b/mkspecs/features/default_post.prf +index 8e68b95..bcaddc8 100644 --- a/mkspecs/features/default_post.prf +++ b/mkspecs/features/default_post.prf -@@ -62,7 +62,7 @@ +@@ -62,8 +62,11 @@ debug { QMAKE_LIBFLAGS += $$QMAKE_LIBFLAGS_RELEASE } -use_gold_linker: QMAKE_LFLAGS += $$QMAKE_LFLAGS_USE_GOLD -+!host_build: use_gold_linker: QMAKE_LFLAGS += $$QMAKE_LFLAGS_USE_GOLD +-enable_new_dtags: QMAKE_LFLAGS += $$QMAKE_LFLAGS_NEW_DTAGS ++# disable special linker flags for host builds (no proper test for host support yet) ++!host_build { ++ use_gold_linker: QMAKE_LFLAGS += $$QMAKE_LFLAGS_USE_GOLD ++ enable_new_dtags: QMAKE_LFLAGS += $$QMAKE_LFLAGS_NEW_DTAGS ++} dll:win32: QMAKE_LFLAGS += $$QMAKE_LFLAGS_DLL static:mac: QMAKE_LFLAGS += $$QMAKE_LFLAGS_STATIC_LIB +-- +2.1.0 + |