All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-qt5][PATCH 1/2] qtwebkit: Update to latest on 5.9 branch
@ 2018-04-04 19:10 Khem Raj
  2018-04-04 19:10 ` [meta-qt5][PATCH V2 2/2] qtwebkit: Fix build on armv7ve (rpi) Khem Raj
  0 siblings, 1 reply; 9+ messages in thread
From: Khem Raj @ 2018-04-04 19:10 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 recipes-qt/qt5/qtwebkit_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-qt/qt5/qtwebkit_git.bb b/recipes-qt/qt5/qtwebkit_git.bb
index b23d4d6..e8c0868 100644
--- a/recipes-qt/qt5/qtwebkit_git.bb
+++ b/recipes-qt/qt5/qtwebkit_git.bb
@@ -89,4 +89,4 @@ export RUBYLIB="${STAGING_DATADIR_NATIVE}/rubygems:${STAGING_LIBDIR_NATIVE}/ruby
 
 QT_MODULE_BRANCH = "5.9"
 
-SRCREV = "97c4a80a1282c8c3eaa343011286b76fd4838c5f"
+SRCREV = "bd0657f98aff85b9f06d85a8cf4da6a27f61a56e"
-- 
2.16.3



^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [meta-qt5][PATCH V2 2/2] qtwebkit: Fix build on armv7ve (rpi)
  2018-04-04 19:10 [meta-qt5][PATCH 1/2] qtwebkit: Update to latest on 5.9 branch Khem Raj
@ 2018-04-04 19:10 ` Khem Raj
  2018-04-04 20:25   ` Andreas Müller
  0 siblings, 1 reply; 9+ messages in thread
From: Khem Raj @ 2018-04-04 19:10 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
v1 -> v2:
- Drop disabling GI

 recipes-qt/qt5/qtwebkit_git.bb | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/recipes-qt/qt5/qtwebkit_git.bb b/recipes-qt/qt5/qtwebkit_git.bb
index e8c0868..c8e8328 100644
--- a/recipes-qt/qt5/qtwebkit_git.bb
+++ b/recipes-qt/qt5/qtwebkit_git.bb
@@ -18,6 +18,14 @@ DEPENDS += "qtbase qtdeclarative icu ruby-native sqlite3 glib-2.0 libxslt gperf-
 ARM_INSTRUCTION_SET_armv4 = "arm"
 ARM_INSTRUCTION_SET_armv5 = "arm"
 
+# https://bugzilla.yoctoproject.org/show_bug.cgi?id=9474
+# https://bugs.webkit.org/show_bug.cgi?id=159880
+# JSC JIT can build on ARMv7 with -marm, but doesn't work on runtime.
+# Upstream only tests regularly the JSC JIT on ARMv7 with Thumb2 (-mthumb).
+ARM_INSTRUCTION_SET_armv7a = "thumb"
+ARM_INSTRUCTION_SET_armv7r = "thumb"
+ARM_INSTRUCTION_SET_armv7ve = "thumb"
+
 # Patches from https://github.com/meta-qt5/qtwebkit/commits/b5.10
 # 5.10.meta-qt5.1
 SRC_URI += "\
-- 
2.16.3



^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [meta-qt5][PATCH V2 2/2] qtwebkit: Fix build on armv7ve (rpi)
  2018-04-04 19:10 ` [meta-qt5][PATCH V2 2/2] qtwebkit: Fix build on armv7ve (rpi) Khem Raj
@ 2018-04-04 20:25   ` Andreas Müller
  2018-04-04 20:45     ` Andreas Müller
  0 siblings, 1 reply; 9+ messages in thread
From: Andreas Müller @ 2018-04-04 20:25 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembeded-devel

On Wed, Apr 4, 2018 at 9:10 PM, Khem Raj <raj.khem@gmail.com> wrote:
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
> v1 -> v2:
> - Drop disabling GI
>
>  recipes-qt/qt5/qtwebkit_git.bb | 8 ++++++++
>  1 file changed, 8 insertions(+)
>
> diff --git a/recipes-qt/qt5/qtwebkit_git.bb b/recipes-qt/qt5/qtwebkit_git.bb
> index e8c0868..c8e8328 100644
> --- a/recipes-qt/qt5/qtwebkit_git.bb
> +++ b/recipes-qt/qt5/qtwebkit_git.bb
> @@ -18,6 +18,14 @@ DEPENDS += "qtbase qtdeclarative icu ruby-native sqlite3 glib-2.0 libxslt gperf-
>  ARM_INSTRUCTION_SET_armv4 = "arm"
>  ARM_INSTRUCTION_SET_armv5 = "arm"
>
> +# https://bugzilla.yoctoproject.org/show_bug.cgi?id=9474
> +# https://bugs.webkit.org/show_bug.cgi?id=159880
> +# JSC JIT can build on ARMv7 with -marm, but doesn't work on runtime.
> +# Upstream only tests regularly the JSC JIT on ARMv7 with Thumb2 (-mthumb).
> +ARM_INSTRUCTION_SET_armv7a = "thumb"
> +ARM_INSTRUCTION_SET_armv7r = "thumb"
> +ARM_INSTRUCTION_SET_armv7ve = "thumb"
> +
>  # Patches from https://github.com/meta-qt5/qtwebkit/commits/b5.10
>  # 5.10.meta-qt5.1
>  SRC_URI += "\
> --
> 2.16.3
>
I've checked the links you are referring: Both

* are related to webkit and from 2016
* deal with runtime errors not build errors as referred in patch description.

So what do you want to fix exactly?

Andreas


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [meta-qt5][PATCH V2 2/2] qtwebkit: Fix build on armv7ve (rpi)
  2018-04-04 20:25   ` Andreas Müller
@ 2018-04-04 20:45     ` Andreas Müller
  2018-04-04 21:05       ` Khem Raj
  0 siblings, 1 reply; 9+ messages in thread
From: Andreas Müller @ 2018-04-04 20:45 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembeded-devel

On Wed, Apr 4, 2018 at 10:25 PM, Andreas Müller <schnitzeltony@gmail.com> wrote:
> On Wed, Apr 4, 2018 at 9:10 PM, Khem Raj <raj.khem@gmail.com> wrote:
>> Signed-off-by: Khem Raj <raj.khem@gmail.com>
>> ---
>> v1 -> v2:
>> - Drop disabling GI
>>
>>  recipes-qt/qt5/qtwebkit_git.bb | 8 ++++++++
>>  1 file changed, 8 insertions(+)
>>
>> diff --git a/recipes-qt/qt5/qtwebkit_git.bb b/recipes-qt/qt5/qtwebkit_git.bb
>> index e8c0868..c8e8328 100644
>> --- a/recipes-qt/qt5/qtwebkit_git.bb
>> +++ b/recipes-qt/qt5/qtwebkit_git.bb
>> @@ -18,6 +18,14 @@ DEPENDS += "qtbase qtdeclarative icu ruby-native sqlite3 glib-2.0 libxslt gperf-
>>  ARM_INSTRUCTION_SET_armv4 = "arm"
>>  ARM_INSTRUCTION_SET_armv5 = "arm"
>>
>> +# https://bugzilla.yoctoproject.org/show_bug.cgi?id=9474
>> +# https://bugs.webkit.org/show_bug.cgi?id=159880
>> +# JSC JIT can build on ARMv7 with -marm, but doesn't work on runtime.
>> +# Upstream only tests regularly the JSC JIT on ARMv7 with Thumb2 (-mthumb).
>> +ARM_INSTRUCTION_SET_armv7a = "thumb"
>> +ARM_INSTRUCTION_SET_armv7r = "thumb"
>> +ARM_INSTRUCTION_SET_armv7ve = "thumb"
>> +
>>  # Patches from https://github.com/meta-qt5/qtwebkit/commits/b5.10
>>  # 5.10.meta-qt5.1
>>  SRC_URI += "\
>> --
>> 2.16.3
>>
> I've checked the links you are referring: Both
>
> * are related to webkit and from 2016
> * deal with runtime errors not build errors as referred in patch description.
>
> So what do you want to fix exactly?
>
I have looked into this further and found that I stumbled for same

commit 511a3764506ce6bbdc5e9441a8f4e9d862ea1102
Author: Andreas Müller <schnitzeltony@googlemail.com>
Date:   Mon Jan 4 11:04:16 2016 +0100

    qtscript/qtwebkit: disable thumb for armv4 and armv5 only to fix
segfault on armv7

Curently recipe has

ARM_INSTRUCTION_SET_armv4 = "arm"
ARM_INSTRUCTION_SET_armv5 = "arm"

Isn't thumb default any more?

Andreas


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [meta-qt5][PATCH V2 2/2] qtwebkit: Fix build on armv7ve (rpi)
  2018-04-04 20:45     ` Andreas Müller
@ 2018-04-04 21:05       ` Khem Raj
  2018-04-04 21:26         ` Andreas Müller
  0 siblings, 1 reply; 9+ messages in thread
From: Khem Raj @ 2018-04-04 21:05 UTC (permalink / raw)
  To: Andreas Müller; +Cc: openembeded-devel

On Wed, Apr 4, 2018 at 1:45 PM, Andreas Müller <schnitzeltony@gmail.com> wrote:
> On Wed, Apr 4, 2018 at 10:25 PM, Andreas Müller <schnitzeltony@gmail.com> wrote:
>> On Wed, Apr 4, 2018 at 9:10 PM, Khem Raj <raj.khem@gmail.com> wrote:
>>> Signed-off-by: Khem Raj <raj.khem@gmail.com>
>>> ---
>>> v1 -> v2:
>>> - Drop disabling GI
>>>
>>>  recipes-qt/qt5/qtwebkit_git.bb | 8 ++++++++
>>>  1 file changed, 8 insertions(+)
>>>
>>> diff --git a/recipes-qt/qt5/qtwebkit_git.bb b/recipes-qt/qt5/qtwebkit_git.bb
>>> index e8c0868..c8e8328 100644
>>> --- a/recipes-qt/qt5/qtwebkit_git.bb
>>> +++ b/recipes-qt/qt5/qtwebkit_git.bb
>>> @@ -18,6 +18,14 @@ DEPENDS += "qtbase qtdeclarative icu ruby-native sqlite3 glib-2.0 libxslt gperf-
>>>  ARM_INSTRUCTION_SET_armv4 = "arm"
>>>  ARM_INSTRUCTION_SET_armv5 = "arm"
>>>
>>> +# https://bugzilla.yoctoproject.org/show_bug.cgi?id=9474
>>> +# https://bugs.webkit.org/show_bug.cgi?id=159880
>>> +# JSC JIT can build on ARMv7 with -marm, but doesn't work on runtime.
>>> +# Upstream only tests regularly the JSC JIT on ARMv7 with Thumb2 (-mthumb).
>>> +ARM_INSTRUCTION_SET_armv7a = "thumb"
>>> +ARM_INSTRUCTION_SET_armv7r = "thumb"
>>> +ARM_INSTRUCTION_SET_armv7ve = "thumb"
>>> +
>>>  # Patches from https://github.com/meta-qt5/qtwebkit/commits/b5.10
>>>  # 5.10.meta-qt5.1
>>>  SRC_URI += "\
>>> --
>>> 2.16.3
>>>
>> I've checked the links you are referring: Both
>>
>> * are related to webkit and from 2016
>> * deal with runtime errors not build errors as referred in patch description.
>>
>> So what do you want to fix exactly?
>>
> I have looked into this further and found that I stumbled for same
>
> commit 511a3764506ce6bbdc5e9441a8f4e9d862ea1102
> Author: Andreas Müller <schnitzeltony@googlemail.com>
> Date:   Mon Jan 4 11:04:16 2016 +0100
>
>     qtscript/qtwebkit: disable thumb for armv4 and armv5 only to fix
> segfault on armv7
>
> Curently recipe has
>
> ARM_INSTRUCTION_SET_armv4 = "arm"
> ARM_INSTRUCTION_SET_armv5 = "arm"
>
> Isn't thumb default any more?
>

Thumb-1 doesn't really work since it shows up with register allocation
errors with gcc.
thumb2 is fine for armv6+

> Andreas


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [meta-qt5][PATCH V2 2/2] qtwebkit: Fix build on armv7ve (rpi)
  2018-04-04 21:05       ` Khem Raj
@ 2018-04-04 21:26         ` Andreas Müller
  2018-04-04 21:34           ` Khem Raj
  0 siblings, 1 reply; 9+ messages in thread
From: Andreas Müller @ 2018-04-04 21:26 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembeded-devel

On Wed, Apr 4, 2018 at 11:05 PM, Khem Raj <raj.khem@gmail.com> wrote:
> On Wed, Apr 4, 2018 at 1:45 PM, Andreas Müller <schnitzeltony@gmail.com> wrote:
>> On Wed, Apr 4, 2018 at 10:25 PM, Andreas Müller <schnitzeltony@gmail.com> wrote:
>>> On Wed, Apr 4, 2018 at 9:10 PM, Khem Raj <raj.khem@gmail.com> wrote:
>>>> Signed-off-by: Khem Raj <raj.khem@gmail.com>
>>>> ---
>>>> v1 -> v2:
>>>> - Drop disabling GI
>>>>
>>>>  recipes-qt/qt5/qtwebkit_git.bb | 8 ++++++++
>>>>  1 file changed, 8 insertions(+)
>>>>
>>>> diff --git a/recipes-qt/qt5/qtwebkit_git.bb b/recipes-qt/qt5/qtwebkit_git.bb
>>>> index e8c0868..c8e8328 100644
>>>> --- a/recipes-qt/qt5/qtwebkit_git.bb
>>>> +++ b/recipes-qt/qt5/qtwebkit_git.bb
>>>> @@ -18,6 +18,14 @@ DEPENDS += "qtbase qtdeclarative icu ruby-native sqlite3 glib-2.0 libxslt gperf-
>>>>  ARM_INSTRUCTION_SET_armv4 = "arm"
>>>>  ARM_INSTRUCTION_SET_armv5 = "arm"
>>>>
>>>> +# https://bugzilla.yoctoproject.org/show_bug.cgi?id=9474
>>>> +# https://bugs.webkit.org/show_bug.cgi?id=159880
>>>> +# JSC JIT can build on ARMv7 with -marm, but doesn't work on runtime.
>>>> +# Upstream only tests regularly the JSC JIT on ARMv7 with Thumb2 (-mthumb).
>>>> +ARM_INSTRUCTION_SET_armv7a = "thumb"
>>>> +ARM_INSTRUCTION_SET_armv7r = "thumb"
>>>> +ARM_INSTRUCTION_SET_armv7ve = "thumb"
>>>> +
>>>>  # Patches from https://github.com/meta-qt5/qtwebkit/commits/b5.10
>>>>  # 5.10.meta-qt5.1
>>>>  SRC_URI += "\
>>>> --
>>>> 2.16.3
>>>>
>>> I've checked the links you are referring: Both
>>>
>>> * are related to webkit and from 2016
>>> * deal with runtime errors not build errors as referred in patch description.
>>>
>>> So what do you want to fix exactly?
>>>
>> I have looked into this further and found that I stumbled for same
>>
>> commit 511a3764506ce6bbdc5e9441a8f4e9d862ea1102
>> Author: Andreas Müller <schnitzeltony@googlemail.com>
>> Date:   Mon Jan 4 11:04:16 2016 +0100
>>
>>     qtscript/qtwebkit: disable thumb for armv4 and armv5 only to fix
>> segfault on armv7
>>
>> Curently recipe has
>>
>> ARM_INSTRUCTION_SET_armv4 = "arm"
>> ARM_INSTRUCTION_SET_armv5 = "arm"
>>
>> Isn't thumb default any more?
>>
>
> Thumb-1 doesn't really work since it shows up with register allocation
> errors with gcc.
> thumb2 is fine for armv6+
>
Sorry for causing confusion - what I meant: Isn't thumb2 default for
armv7 anymore (particularly RasPI > 1).  If thumb2 is still default
for armv7 there is no need to add it explicitly here. It does not do
any harm but it is not necessary.

Andreas


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [meta-qt5][PATCH V2 2/2] qtwebkit: Fix build on armv7ve (rpi)
  2018-04-04 21:26         ` Andreas Müller
@ 2018-04-04 21:34           ` Khem Raj
  2018-04-04 21:55             ` Andreas Müller
  0 siblings, 1 reply; 9+ messages in thread
From: Khem Raj @ 2018-04-04 21:34 UTC (permalink / raw)
  To: Andreas Müller; +Cc: openembeded-devel

On Wed, Apr 4, 2018 at 2:26 PM Andreas Müller <schnitzeltony@gmail.com>
wrote:

> On Wed, Apr 4, 2018 at 11:05 PM, Khem Raj <raj.khem@gmail.com> wrote:
> > On Wed, Apr 4, 2018 at 1:45 PM, Andreas Müller <schnitzeltony@gmail.com>
> wrote:
> >> On Wed, Apr 4, 2018 at 10:25 PM, Andreas Müller <
> schnitzeltony@gmail.com> wrote:
> >>> On Wed, Apr 4, 2018 at 9:10 PM, Khem Raj <raj.khem@gmail.com> wrote:
> >>>> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> >>>> ---
> >>>> v1 -> v2:
> >>>> - Drop disabling GI
> >>>>
> >>>>  recipes-qt/qt5/qtwebkit_git.bb | 8 ++++++++
> >>>>  1 file changed, 8 insertions(+)
> >>>>
> >>>> diff --git a/recipes-qt/qt5/qtwebkit_git.bb b/recipes-qt/qt5/
> qtwebkit_git.bb
> >>>> index e8c0868..c8e8328 100644
> >>>> --- a/recipes-qt/qt5/qtwebkit_git.bb
> >>>> +++ b/recipes-qt/qt5/qtwebkit_git.bb
> >>>> @@ -18,6 +18,14 @@ DEPENDS += "qtbase qtdeclarative icu ruby-native
> sqlite3 glib-2.0 libxslt gperf-
> >>>>  ARM_INSTRUCTION_SET_armv4 = "arm"
> >>>>  ARM_INSTRUCTION_SET_armv5 = "arm"
> >>>>
> >>>> +# https://bugzilla.yoctoproject.org/show_bug.cgi?id=9474
> >>>> +# https://bugs.webkit.org/show_bug.cgi?id=159880
> >>>> +# JSC JIT can build on ARMv7 with -marm, but doesn't work on runtime.
> >>>> +# Upstream only tests regularly the JSC JIT on ARMv7 with Thumb2
> (-mthumb).
> >>>> +ARM_INSTRUCTION_SET_armv7a = "thumb"
> >>>> +ARM_INSTRUCTION_SET_armv7r = "thumb"
> >>>> +ARM_INSTRUCTION_SET_armv7ve = "thumb"
> >>>> +
> >>>>  # Patches from https://github.com/meta-qt5/qtwebkit/commits/b5.10
> >>>>  # 5.10.meta-qt5.1
> >>>>  SRC_URI += "\
> >>>> --
> >>>> 2.16.3
> >>>>
> >>> I've checked the links you are referring: Both
> >>>
> >>> * are related to webkit and from 2016
> >>> * deal with runtime errors not build errors as referred in patch
> description.
> >>>
> >>> So what do you want to fix exactly?
> >>>
> >> I have looked into this further and found that I stumbled for same
> >>
> >> commit 511a3764506ce6bbdc5e9441a8f4e9d862ea1102
> >> Author: Andreas Müller <schnitzeltony@googlemail.com>
> >> Date:   Mon Jan 4 11:04:16 2016 +0100
> >>
> >>     qtscript/qtwebkit: disable thumb for armv4 and armv5 only to fix
> >> segfault on armv7
> >>
> >> Curently recipe has
> >>
> >> ARM_INSTRUCTION_SET_armv4 = "arm"
> >> ARM_INSTRUCTION_SET_armv5 = "arm"
> >>
> >> Isn't thumb default any more?
> >>
> >
> > Thumb-1 doesn't really work since it shows up with register allocation
> > errors with gcc.
> > thumb2 is fine for armv6+
> >
> Sorry for causing confusion - what I meant: Isn't thumb2 default for
> armv7 anymore (particularly RasPI > 1).  If thumb2 is still default
> for armv7 there is no need to add it explicitly here. It does not do
> any harm but it is not necessary.



Distros are free to choose ISA so we really can not rely on the fact when
default tune was to use thumb 2 moreover it’s not default

>
>
> Andreas
>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [meta-qt5][PATCH V2 2/2] qtwebkit: Fix build on armv7ve (rpi)
  2018-04-04 21:34           ` Khem Raj
@ 2018-04-04 21:55             ` Andreas Müller
  2018-04-05  7:04               ` Martin Jansa
  0 siblings, 1 reply; 9+ messages in thread
From: Andreas Müller @ 2018-04-04 21:55 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembeded-devel

On Wed, Apr 4, 2018 at 11:34 PM, Khem Raj <raj.khem@gmail.com> wrote:
>
> On Wed, Apr 4, 2018 at 2:26 PM Andreas Müller <schnitzeltony@gmail.com>
> wrote:
>>
>> On Wed, Apr 4, 2018 at 11:05 PM, Khem Raj <raj.khem@gmail.com> wrote:
>> > On Wed, Apr 4, 2018 at 1:45 PM, Andreas Müller <schnitzeltony@gmail.com>
>> > wrote:
>> >> On Wed, Apr 4, 2018 at 10:25 PM, Andreas Müller
>> >> <schnitzeltony@gmail.com> wrote:
>> >>> On Wed, Apr 4, 2018 at 9:10 PM, Khem Raj <raj.khem@gmail.com> wrote:
>> >>>> Signed-off-by: Khem Raj <raj.khem@gmail.com>
>> >>>> ---
>> >>>> v1 -> v2:
>> >>>> - Drop disabling GI
>> >>>>
>> >>>>  recipes-qt/qt5/qtwebkit_git.bb | 8 ++++++++
>> >>>>  1 file changed, 8 insertions(+)
>> >>>>
>> >>>> diff --git a/recipes-qt/qt5/qtwebkit_git.bb
>> >>>> b/recipes-qt/qt5/qtwebkit_git.bb
>> >>>> index e8c0868..c8e8328 100644
>> >>>> --- a/recipes-qt/qt5/qtwebkit_git.bb
>> >>>> +++ b/recipes-qt/qt5/qtwebkit_git.bb
>> >>>> @@ -18,6 +18,14 @@ DEPENDS += "qtbase qtdeclarative icu ruby-native
>> >>>> sqlite3 glib-2.0 libxslt gperf-
>> >>>>  ARM_INSTRUCTION_SET_armv4 = "arm"
>> >>>>  ARM_INSTRUCTION_SET_armv5 = "arm"
>> >>>>
>> >>>> +# https://bugzilla.yoctoproject.org/show_bug.cgi?id=9474
>> >>>> +# https://bugs.webkit.org/show_bug.cgi?id=159880
>> >>>> +# JSC JIT can build on ARMv7 with -marm, but doesn't work on
>> >>>> runtime.
>> >>>> +# Upstream only tests regularly the JSC JIT on ARMv7 with Thumb2
>> >>>> (-mthumb).
>> >>>> +ARM_INSTRUCTION_SET_armv7a = "thumb"
>> >>>> +ARM_INSTRUCTION_SET_armv7r = "thumb"
>> >>>> +ARM_INSTRUCTION_SET_armv7ve = "thumb"
>> >>>> +
>> >>>>  # Patches from https://github.com/meta-qt5/qtwebkit/commits/b5.10
>> >>>>  # 5.10.meta-qt5.1
>> >>>>  SRC_URI += "\
>> >>>> --
>> >>>> 2.16.3
>> >>>>
>> >>> I've checked the links you are referring: Both
>> >>>
>> >>> * are related to webkit and from 2016
>> >>> * deal with runtime errors not build errors as referred in patch
>> >>> description.
>> >>>
>> >>> So what do you want to fix exactly?
>> >>>
>> >> I have looked into this further and found that I stumbled for same
>> >>
>> >> commit 511a3764506ce6bbdc5e9441a8f4e9d862ea1102
>> >> Author: Andreas Müller <schnitzeltony@googlemail.com>
>> >> Date:   Mon Jan 4 11:04:16 2016 +0100
>> >>
>> >>     qtscript/qtwebkit: disable thumb for armv4 and armv5 only to fix
>> >> segfault on armv7
>> >>
>> >> Curently recipe has
>> >>
>> >> ARM_INSTRUCTION_SET_armv4 = "arm"
>> >> ARM_INSTRUCTION_SET_armv5 = "arm"
>> >>
>> >> Isn't thumb default any more?
>> >>
>> >
>> > Thumb-1 doesn't really work since it shows up with register allocation
>> > errors with gcc.
>> > thumb2 is fine for armv6+
>> >
>> Sorry for causing confusion - what I meant: Isn't thumb2 default for
>> armv7 anymore (particularly RasPI > 1).  If thumb2 is still default
>> for armv7 there is no need to add it explicitly here. It does not do
>> any harm but it is not necessary.
>
>
>
> Distros are free to choose ISA so we really can not rely on the fact when
> default tune was to use thumb 2 moreover it’s not default
>>
Got it - but with a bit more love on patch description I wouldn't have
wasted your time:)

Andreas


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [meta-qt5][PATCH V2 2/2] qtwebkit: Fix build on armv7ve (rpi)
  2018-04-04 21:55             ` Andreas Müller
@ 2018-04-05  7:04               ` Martin Jansa
  0 siblings, 0 replies; 9+ messages in thread
From: Martin Jansa @ 2018-04-05  7:04 UTC (permalink / raw)
  To: Andreas Müller; +Cc: openembeded-devel

ARM_INSTRUCTION_SET isn't set to thumb in default config, so even with
thumb in TUNE_FEATURES it's not actually used anywhere in default config.

On Wed, Apr 4, 2018 at 11:55 PM, Andreas Müller <schnitzeltony@gmail.com>
wrote:

> On Wed, Apr 4, 2018 at 11:34 PM, Khem Raj <raj.khem@gmail.com> wrote:
> >
> > On Wed, Apr 4, 2018 at 2:26 PM Andreas Müller <schnitzeltony@gmail.com>
> > wrote:
> >>
> >> On Wed, Apr 4, 2018 at 11:05 PM, Khem Raj <raj.khem@gmail.com> wrote:
> >> > On Wed, Apr 4, 2018 at 1:45 PM, Andreas Müller <
> schnitzeltony@gmail.com>
> >> > wrote:
> >> >> On Wed, Apr 4, 2018 at 10:25 PM, Andreas Müller
> >> >> <schnitzeltony@gmail.com> wrote:
> >> >>> On Wed, Apr 4, 2018 at 9:10 PM, Khem Raj <raj.khem@gmail.com>
> wrote:
> >> >>>> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> >> >>>> ---
> >> >>>> v1 -> v2:
> >> >>>> - Drop disabling GI
> >> >>>>
> >> >>>>  recipes-qt/qt5/qtwebkit_git.bb | 8 ++++++++
> >> >>>>  1 file changed, 8 insertions(+)
> >> >>>>
> >> >>>> diff --git a/recipes-qt/qt5/qtwebkit_git.bb
> >> >>>> b/recipes-qt/qt5/qtwebkit_git.bb
> >> >>>> index e8c0868..c8e8328 100644
> >> >>>> --- a/recipes-qt/qt5/qtwebkit_git.bb
> >> >>>> +++ b/recipes-qt/qt5/qtwebkit_git.bb
> >> >>>> @@ -18,6 +18,14 @@ DEPENDS += "qtbase qtdeclarative icu ruby-native
> >> >>>> sqlite3 glib-2.0 libxslt gperf-
> >> >>>>  ARM_INSTRUCTION_SET_armv4 = "arm"
> >> >>>>  ARM_INSTRUCTION_SET_armv5 = "arm"
> >> >>>>
> >> >>>> +# https://bugzilla.yoctoproject.org/show_bug.cgi?id=9474
> >> >>>> +# https://bugs.webkit.org/show_bug.cgi?id=159880
> >> >>>> +# JSC JIT can build on ARMv7 with -marm, but doesn't work on
> >> >>>> runtime.
> >> >>>> +# Upstream only tests regularly the JSC JIT on ARMv7 with Thumb2
> >> >>>> (-mthumb).
> >> >>>> +ARM_INSTRUCTION_SET_armv7a = "thumb"
> >> >>>> +ARM_INSTRUCTION_SET_armv7r = "thumb"
> >> >>>> +ARM_INSTRUCTION_SET_armv7ve = "thumb"
> >> >>>> +
> >> >>>>  # Patches from https://github.com/meta-qt5/qtwebkit/commits/b5.10
> >> >>>>  # 5.10.meta-qt5.1
> >> >>>>  SRC_URI += "\
> >> >>>> --
> >> >>>> 2.16.3
> >> >>>>
> >> >>> I've checked the links you are referring: Both
> >> >>>
> >> >>> * are related to webkit and from 2016
> >> >>> * deal with runtime errors not build errors as referred in patch
> >> >>> description.
> >> >>>
> >> >>> So what do you want to fix exactly?
> >> >>>
> >> >> I have looked into this further and found that I stumbled for same
> >> >>
> >> >> commit 511a3764506ce6bbdc5e9441a8f4e9d862ea1102
> >> >> Author: Andreas Müller <schnitzeltony@googlemail.com>
> >> >> Date:   Mon Jan 4 11:04:16 2016 +0100
> >> >>
> >> >>     qtscript/qtwebkit: disable thumb for armv4 and armv5 only to fix
> >> >> segfault on armv7
> >> >>
> >> >> Curently recipe has
> >> >>
> >> >> ARM_INSTRUCTION_SET_armv4 = "arm"
> >> >> ARM_INSTRUCTION_SET_armv5 = "arm"
> >> >>
> >> >> Isn't thumb default any more?
> >> >>
> >> >
> >> > Thumb-1 doesn't really work since it shows up with register allocation
> >> > errors with gcc.
> >> > thumb2 is fine for armv6+
> >> >
> >> Sorry for causing confusion - what I meant: Isn't thumb2 default for
> >> armv7 anymore (particularly RasPI > 1).  If thumb2 is still default
> >> for armv7 there is no need to add it explicitly here. It does not do
> >> any harm but it is not necessary.
> >
> >
> >
> > Distros are free to choose ISA so we really can not rely on the fact when
> > default tune was to use thumb 2 moreover it’s not default
> >>
> Got it - but with a bit more love on patch description I wouldn't have
> wasted your time:)
>
> Andreas
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-04-05  7:04 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-04 19:10 [meta-qt5][PATCH 1/2] qtwebkit: Update to latest on 5.9 branch Khem Raj
2018-04-04 19:10 ` [meta-qt5][PATCH V2 2/2] qtwebkit: Fix build on armv7ve (rpi) Khem Raj
2018-04-04 20:25   ` Andreas Müller
2018-04-04 20:45     ` Andreas Müller
2018-04-04 21:05       ` Khem Raj
2018-04-04 21:26         ` Andreas Müller
2018-04-04 21:34           ` Khem Raj
2018-04-04 21:55             ` Andreas Müller
2018-04-05  7:04               ` Martin Jansa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.