* [Buildroot] [PATCH] qt5webkit: add upstream patch to fix build on ARM softfp
@ 2013-12-27 8:02 Fatih Aşıcı
2013-12-27 8:44 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Fatih Aşıcı @ 2013-12-27 8:02 UTC (permalink / raw)
To: buildroot
Signed-off-by: Fatih A??c? <fatih.asici@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
...kit-0002-Fix-QtWebKit-build-on-ARM-softfp.patch | 35 ++++++++++++++++++++++
1 file changed, 35 insertions(+)
create mode 100644 package/qt5/qt5webkit/qt5webkit-0002-Fix-QtWebKit-build-on-ARM-softfp.patch
diff --git a/package/qt5/qt5webkit/qt5webkit-0002-Fix-QtWebKit-build-on-ARM-softfp.patch b/package/qt5/qt5webkit/qt5webkit-0002-Fix-QtWebKit-build-on-ARM-softfp.patch
new file mode 100644
index 0000000..edbfb90
--- /dev/null
+++ b/package/qt5/qt5webkit/qt5webkit-0002-Fix-QtWebKit-build-on-ARM-softfp.patch
@@ -0,0 +1,35 @@
+From 8a716a29721d900069d82878c45cf87a356adba3 Mon Sep 17 00:00:00 2001
+From: Allan Sandfeld Jensen <allan.jensen@digia.com>
+Date: Tue, 17 Dec 2013 12:26:58 +0100
+Subject: [PATCH] Fix QtWebKit build on ARM softfp
+
+The low level interpreter depends on hardfp, so we need to disable it
+when builing on ARM targets with softfp.
+
+Task-number: QTBUG-35681
+Change-Id: I8aaef546b92182a87cc7116ac452d8725de6a7db
+Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
+Signed-off-by: Fatih A??c? <fatih.asici@gmail.com>
+---
+ Source/WTF/wtf/Platform.h | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/Source/WTF/wtf/Platform.h b/Source/WTF/wtf/Platform.h
+index 3a9b509..cddc210 100644
+--- a/Source/WTF/wtf/Platform.h
++++ b/Source/WTF/wtf/Platform.h
+@@ -771,6 +771,11 @@
+ #define ENABLE_LLINT 0
+ #endif
+
++/* LLINT on ARM depends on an FPU */
++#if !defined(ENABLE_LLINT) && CPU(ARM) && !CPU(ARM_HARDFP)
++#define ENABLE_LLINT 0
++#endif
++
+ /* On some of the platforms where we have a JIT, we want to also have the
+ low-level interpreter. */
+ #if !defined(ENABLE_LLINT) \
+--
+1.8.5.1
+
--
1.8.5.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] qt5webkit: add upstream patch to fix build on ARM softfp
2013-12-27 8:02 [Buildroot] [PATCH] qt5webkit: add upstream patch to fix build on ARM softfp Fatih Aşıcı
@ 2013-12-27 8:44 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2013-12-27 8:44 UTC (permalink / raw)
To: buildroot
Dear Fatih A??c?,
On Fri, 27 Dec 2013 10:02:24 +0200, Fatih A??c? wrote:
> Signed-off-by: Fatih A??c? <fatih.asici@gmail.com>
> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
> ...kit-0002-Fix-QtWebKit-build-on-ARM-softfp.patch | 35 ++++++++++++++++++++++
> 1 file changed, 35 insertions(+)
> create mode 100644 package/qt5/qt5webkit/qt5webkit-0002-Fix-QtWebKit-build-on-ARM-softfp.patch
Applied, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-12-27 8:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-27 8:02 [Buildroot] [PATCH] qt5webkit: add upstream patch to fix build on ARM softfp Fatih Aşıcı
2013-12-27 8:44 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox