All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] set COMPATIBLE_HOST for several recipes
@ 2016-04-22  5:50 Robert Yang
  2016-04-22  5:50 ` [PATCH 1/4] grub_git: set COMPATIBLE_HOST_armv7a to null Robert Yang
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Robert Yang @ 2016-04-22  5:50 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit 9838f8d077d16e52ad592879d65a9e8350b93075:

  build-appliance-image: Update to krogoth head revision (2016-04-19 21:25:53 +0100)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib rbt/arm
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/arm

Robert Yang (4):
  grub_git: set COMPATIBLE_HOST_armv7a to null
  webkitgtk: set COMPATIBLE_HOST_armv4 to null
  gnu-efi: set COMPATIBLE_HOST_armv4 to null
  cogl-1.0: set COMPATIBLE_HOST_armv4 to null

 meta/recipes-bsp/gnu-efi/gnu-efi_3.0.3.bb    | 1 +
 meta/recipes-bsp/grub/grub_git.bb            | 1 +
 meta/recipes-graphics/cogl/cogl-1.0.inc      | 2 ++
 meta/recipes-sato/webkit/webkitgtk_2.10.7.bb | 1 +
 4 files changed, 5 insertions(+)

-- 
2.8.0



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

* [PATCH 1/4] grub_git: set COMPATIBLE_HOST_armv7a to null
  2016-04-22  5:50 [PATCH 0/4] set COMPATIBLE_HOST for several recipes Robert Yang
@ 2016-04-22  5:50 ` Robert Yang
  2016-04-22  5:50 ` [PATCH 2/4] webkitgtk: set COMPATIBLE_HOST_armv4 " Robert Yang
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 10+ messages in thread
From: Robert Yang @ 2016-04-22  5:50 UTC (permalink / raw)
  To: openembedded-core

It doesn't work with armv7a:
| build-grub-module-verifier: error: unsupported relocation 0x2b.
| make[3]: *** [reboot.mod] Error 1
| make[3]: *** Waiting for unfinished jobs....
| build-grub-module-verifier: error: unsupported relocation 0x2b.
| build-grub-module-verifier: error: unsupported relocation 0x2b.
| make[3]: *** [halt.mod] Error 1
| make[3]: *** [cat.mod] Error 1
| build-grub-module-verifier: error: unsupported relocation 0x2b.
| build-grub-module-verifier: error: unsupported relocation 0x2b.
| build-grub-module-verifier: error: unsupported relocation 0x2b.
| make[3]: *** [disk.mod] Error 1
| make[3]: *** [gptsync.mod] Error 1
| make[3]: *** [eval.mod] Error 1
| build-grub-module-verifier: error:build-grub-module-verifier: error:  unsupported relocation 0x2bunsupported relocation 0x2b.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 meta/recipes-bsp/grub/grub_git.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-bsp/grub/grub_git.bb b/meta/recipes-bsp/grub/grub_git.bb
index 6919c9a..8f8c5ed 100644
--- a/meta/recipes-bsp/grub/grub_git.bb
+++ b/meta/recipes-bsp/grub/grub_git.bb
@@ -18,6 +18,7 @@ SRC_URI = "git://git.savannah.gnu.org/grub.git \
 S = "${WORKDIR}/git"
 
 COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|aarch64.*)-(linux.*|freebsd.*)'
+COMPATIBLE_HOST_armv7a = 'null'
 
 inherit autotools gettext texinfo
 
-- 
2.8.0



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

* [PATCH 2/4] webkitgtk: set COMPATIBLE_HOST_armv4 to null
  2016-04-22  5:50 [PATCH 0/4] set COMPATIBLE_HOST for several recipes Robert Yang
  2016-04-22  5:50 ` [PATCH 1/4] grub_git: set COMPATIBLE_HOST_armv7a to null Robert Yang
@ 2016-04-22  5:50 ` Robert Yang
  2016-04-22 12:39   ` Alexander Kanavin
  2016-04-22  5:50 ` [PATCH 3/4] gnu-efi: " Robert Yang
                   ` (3 subsequent siblings)
  5 siblings, 1 reply; 10+ messages in thread
From: Robert Yang @ 2016-04-22  5:50 UTC (permalink / raw)
  To: openembedded-core

It doesn't build with armv4:
{standard input}: Assembler messages:
{standard input}:52: Error: selected processor does not support `blx llint_throw_stack_overflow_error' in ARM mode
{standard input}:126: Error: selected processor does not support `bkpt #0' in ARM mode
{standard input}:128: Error: selected processor does not support `blx r0' in ARM mode
{standard input}:134: Error: selected processor does not support `bkpt #0' in ARM mode
{standard input}:185: Error: selected processor does not support `blx llint_throw_stack_overflow_error' in ARM mode
{standard input}:256: Error: selected processor does not support `blx r4' in ARM mode
{standard input}:310: Error: selected processor does not support `movw r2,#:lower16:.Lllint_op_enter-.LrelativePCBase' in ARM mode
{standard input}:311: Error: selected processor does not support `movt r2,#:upper16:.Lllint_op_enter-.LrelativePCBase' in ARM mode
{standard input}:315: Error: selected processor does not support `movw r2,#:lower16:.Lllint_op_get_scope-.LrelativePCBase' in ARM mode
{standard input}:316: Error: selected processor does not support `movt r2,#:upper16:.Lllint_op_get_scope-.LrelativePCBase' in ARM mode
[snip]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 meta/recipes-sato/webkit/webkitgtk_2.10.7.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-sato/webkit/webkitgtk_2.10.7.bb b/meta/recipes-sato/webkit/webkitgtk_2.10.7.bb
index 8eb6b9f..ff26c8c 100644
--- a/meta/recipes-sato/webkit/webkitgtk_2.10.7.bb
+++ b/meta/recipes-sato/webkit/webkitgtk_2.10.7.bb
@@ -86,3 +86,4 @@ ARM_INSTRUCTION_SET = "arm"
 # Segmentation fault
 EXTRA_OECMAKE_append_powerpc = " -DENABLE_INTROSPECTION=OFF "
 
+COMPATIBLE_HOST_armv4 = 'null'
-- 
2.8.0



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

* [PATCH 3/4] gnu-efi: set COMPATIBLE_HOST_armv4 to null
  2016-04-22  5:50 [PATCH 0/4] set COMPATIBLE_HOST for several recipes Robert Yang
  2016-04-22  5:50 ` [PATCH 1/4] grub_git: set COMPATIBLE_HOST_armv7a to null Robert Yang
  2016-04-22  5:50 ` [PATCH 2/4] webkitgtk: set COMPATIBLE_HOST_armv4 " Robert Yang
@ 2016-04-22  5:50 ` Robert Yang
  2016-04-22  5:50 ` [PATCH 4/4] cogl-1.0: " Robert Yang
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 10+ messages in thread
From: Robert Yang @ 2016-04-22  5:50 UTC (permalink / raw)
  To: openembedded-core

It doesn't build with armv4:
lib1funcs.S: Assembler messages:
Assembler messages:
gnu-efi-3.0.3/lib/arm/lib1funcs.S:140: Error: selected processor does not support `clz r3,r1' in ARM mode
gnu-efi-3.0.3/lib/arm/div64.S:95: Error: selected processor does not support `clz r2,r4' in ARM mode
gnu-efi-3.0.3/lib/arm/lib1funcs.S:140: Error: selected processor does not support `clz r2,r0' in ARM mode
[snip]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 meta/recipes-bsp/gnu-efi/gnu-efi_3.0.3.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-bsp/gnu-efi/gnu-efi_3.0.3.bb b/meta/recipes-bsp/gnu-efi/gnu-efi_3.0.3.bb
index eca3459..6b130a2 100644
--- a/meta/recipes-bsp/gnu-efi/gnu-efi_3.0.3.bb
+++ b/meta/recipes-bsp/gnu-efi/gnu-efi_3.0.3.bb
@@ -25,6 +25,7 @@ SRC_URI[md5sum] = "15a4bcbc18a9a5e8110ed955970622e6"
 SRC_URI[sha256sum] = "c530f21a15fd9c214dd92d29a6caa20fac989289267512020b6da1f5e6f5b4cb"
 
 COMPATIBLE_HOST = "(x86_64.*|i.86.*|aarch64.*|arm.*)-linux"
+COMPATIBLE_HOST_armv4 = 'null'
 
 def gnu_efi_arch(d):
     import re
-- 
2.8.0



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

* [PATCH 4/4] cogl-1.0: set COMPATIBLE_HOST_armv4 to null
  2016-04-22  5:50 [PATCH 0/4] set COMPATIBLE_HOST for several recipes Robert Yang
                   ` (2 preceding siblings ...)
  2016-04-22  5:50 ` [PATCH 3/4] gnu-efi: " Robert Yang
@ 2016-04-22  5:50 ` Robert Yang
  2016-04-26  9:44 ` [PATCH 0/4] set COMPATIBLE_HOST for several recipes Robert Yang
  2016-05-16  1:18 ` Robert Yang
  5 siblings, 0 replies; 10+ messages in thread
From: Robert Yang @ 2016-04-22  5:50 UTC (permalink / raw)
  To: openembedded-core

It doesn't build with armv4:
cogl-texture-deprecated.c  -fPIC -DPIC -o deprecated/.libs/cogl-texture-deprecated.o
{standard input}: Assembler messages:
{standard input}:831: Error: selected processor does not support `clz r3,r0' in ARM mode
make[4]: *** [deprecated/cogl-fixed.lo] Error 1
[snip]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 meta/recipes-graphics/cogl/cogl-1.0.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-graphics/cogl/cogl-1.0.inc b/meta/recipes-graphics/cogl/cogl-1.0.inc
index 690ea3b..7a79aa7 100644
--- a/meta/recipes-graphics/cogl/cogl-1.0.inc
+++ b/meta/recipes-graphics/cogl/cogl-1.0.inc
@@ -73,3 +73,5 @@ FILES_libcogl-path = "${libdir}/libcogl-path${SOLIBS}"
 RPROVIDES_libcogl = "cogl-1.0"
 RCONFLICTS_libcogl = "cogl-1.0"
 RREPLACES_libcogl = "cogl-1.0"
+
+COMPATIBLE_HOST_armv4 = 'null'
-- 
2.8.0



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

* Re: [PATCH 2/4] webkitgtk: set COMPATIBLE_HOST_armv4 to null
  2016-04-22  5:50 ` [PATCH 2/4] webkitgtk: set COMPATIBLE_HOST_armv4 " Robert Yang
@ 2016-04-22 12:39   ` Alexander Kanavin
  2016-04-23  1:40     ` Robert Yang
  0 siblings, 1 reply; 10+ messages in thread
From: Alexander Kanavin @ 2016-04-22 12:39 UTC (permalink / raw)
  To: openembedded-core

On 04/22/2016 08:50 AM, Robert Yang wrote:
> It doesn't build with armv4:
> {standard input}: Assembler messages:
> {standard input}:52: Error: selected processor does not support `blx llint_throw_stack_overflow_error' in ARM mode
> {standard input}:126: Error: selected processor does not support `bkpt #0' in ARM mode
> {standard input}:128: Error: selected processor does not support `blx r0' in ARM mode
> {standard input}:134: Error: selected processor does not support `bkpt #0' in ARM mode
> {standard input}:185: Error: selected processor does not support `blx llint_throw_stack_overflow_error' in ARM mode
> {standard input}:256: Error: selected processor does not support `blx r4' in ARM mode
> {standard input}:310: Error: selected processor does not support `movw r2,#:lower16:.Lllint_op_enter-.LrelativePCBase' in ARM mode
> {standard input}:311: Error: selected processor does not support `movt r2,#:upper16:.Lllint_op_enter-.LrelativePCBase' in ARM mode
> {standard input}:315: Error: selected processor does not support `movw r2,#:lower16:.Lllint_op_get_scope-.LrelativePCBase' in ARM mode
> {standard input}:316: Error: selected processor does not support `movt r2,#:upper16:.Lllint_op_get_scope-.LrelativePCBase' in ARM mode
> [snip]

Can you try disabling JIT instead like is done for ARMv5/6?

Alex



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

* Re: [PATCH 2/4] webkitgtk: set COMPATIBLE_HOST_armv4 to null
  2016-04-22 12:39   ` Alexander Kanavin
@ 2016-04-23  1:40     ` Robert Yang
  0 siblings, 0 replies; 10+ messages in thread
From: Robert Yang @ 2016-04-23  1:40 UTC (permalink / raw)
  To: Alexander Kanavin, openembedded-core



On 04/22/2016 08:39 PM, Alexander Kanavin wrote:
> On 04/22/2016 08:50 AM, Robert Yang wrote:
>> It doesn't build with armv4:
>> {standard input}: Assembler messages:
>> {standard input}:52: Error: selected processor does not support `blx
>> llint_throw_stack_overflow_error' in ARM mode
>> {standard input}:126: Error: selected processor does not support `bkpt #0' in
>> ARM mode
>> {standard input}:128: Error: selected processor does not support `blx r0' in
>> ARM mode
>> {standard input}:134: Error: selected processor does not support `bkpt #0' in
>> ARM mode
>> {standard input}:185: Error: selected processor does not support `blx
>> llint_throw_stack_overflow_error' in ARM mode
>> {standard input}:256: Error: selected processor does not support `blx r4' in
>> ARM mode
>> {standard input}:310: Error: selected processor does not support `movw
>> r2,#:lower16:.Lllint_op_enter-.LrelativePCBase' in ARM mode
>> {standard input}:311: Error: selected processor does not support `movt
>> r2,#:upper16:.Lllint_op_enter-.LrelativePCBase' in ARM mode
>> {standard input}:315: Error: selected processor does not support `movw
>> r2,#:lower16:.Lllint_op_get_scope-.LrelativePCBase' in ARM mode
>> {standard input}:316: Error: selected processor does not support `movt
>> r2,#:upper16:.Lllint_op_get_scope-.LrelativePCBase' in ARM mode
>> [snip]
>
> Can you try disabling JIT instead like is done for ARMv5/6?

Thanks, it works, updated in the repo.

// Robert


>
> Alex
>


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

* Re: [PATCH 0/4] set COMPATIBLE_HOST for several recipes
  2016-04-22  5:50 [PATCH 0/4] set COMPATIBLE_HOST for several recipes Robert Yang
                   ` (3 preceding siblings ...)
  2016-04-22  5:50 ` [PATCH 4/4] cogl-1.0: " Robert Yang
@ 2016-04-26  9:44 ` Robert Yang
  2016-05-16  1:18 ` Robert Yang
  5 siblings, 0 replies; 10+ messages in thread
From: Robert Yang @ 2016-04-26  9:44 UTC (permalink / raw)
  To: openembedded-core


On 04/22/2016 01:50 PM, Robert Yang wrote:
> The following changes since commit 9838f8d077d16e52ad592879d65a9e8350b93075:
>
>    build-appliance-image: Update to krogoth head revision (2016-04-19 21:25:53 +0100)
>
> are available in the git repository at:
>
>    git://git.openembedded.org/openembedded-core-contrib rbt/arm

Updated patch 2/4 in the repo again according to bug:

https://bugzilla.yoctoproject.org/show_bug.cgi?id=9474
Bug 9474 - epiphany doesn't work on ARM

So also turn off JIT on armv7a.

Author: Robert Yang <liezhi.yang@windriver.com>
Date:   Wed Apr 20 23:16:47 2016 -0700

     webkitgtk: turn off JIT on armv4 and armv7a

     * It doesn't build on armv4:
     {standard input}: Assembler messages:
     {standard input}:52: Error: selected processor does not support `blx 
llint_throw_stack_overflow_error' in ARM mode
     {standard input}:126: Error: selected processor does not support `bkpt #0' 
in ARM mode
     {standard input}:128: Error: selected processor does not support `blx r0' 
in ARM mode
     {standard input}:134: Error: selected processor does not support `bkpt #0' 
in ARM mode
     {standard input}:185: Error: selected processor does not support `blx 
llint_throw_stack_overflow_error' in ARM mode
     {standard input}:256: Error: selected processor does not support `blx r4' 
in ARM mode
     {standard input}:310: Error: selected processor does not support `movw 
r2,#:lower16:.Lllint_op_enter-.LrelativePCBase' in ARM mode
     {standard input}:311: Error: selected processor does not support `movt 
r2,#:upper16:.Lllint_op_enter-.LrelativePCBase' in ARM mode
     {standard input}:315: Error: selected processor does not support `movw 
r2,#:lower16:.Lllint_op_get_scope-.LrelativePCBase' in ARM mode
     {standard input}:316: Error: selected processor does not support `movt 
r2,#:upper16:.Lllint_op_get_scope-.LrelativePCBase' in ARM mode
     [snip]

     * It can build on armv7a, but doesn't work on runtime, cause
       displaying problems or ephiphany hang.

     [YOCTO #9474]

     Signed-off-by: Robert Yang <liezhi.yang@windriver.com>

diff --git a/meta/recipes-sato/webkit/webkitgtk_2.10.7.bb 
b/meta/recipes-sato/webkit/webkitgtk_2.10.7.bb
index d4f1d3b..d089851 100644
--- a/meta/recipes-sato/webkit/webkitgtk_2.10.7.bb
+++ b/meta/recipes-sato/webkit/webkitgtk_2.10.7.bb
@@ -63,9 +63,14 @@ EXTRA_OECMAKE = " \
  EXTRA_OECMAKE_append_powerpc = " -DENABLE_JIT=OFF "
  EXTRA_OECMAKE_append_powerpc64 = " -DENABLE_JIT=OFF "

-# ARM JIT code does not build on ARMv5/6 anymore, apparently they test only on 
v7 onwards
+# ARM JIT code does not build on ARMv4/5/6 anymore
  EXTRA_OECMAKE_append_armv5 = " -DENABLE_JIT=OFF "
  EXTRA_OECMAKE_append_armv6 = " -DENABLE_JIT=OFF "
+EXTRA_OECMAKE_append_armv4 = " -DENABLE_JIT=OFF "
+
+# ARM JIT can build on armv7a, but doesnt' work on runtime, cause
+# displaying problems or ephiphany hang.
+EXTRA_OECMAKE_append_armv7a = " -DENABLE_JIT=OFF "

  # binutils 2.25.1 has a bug on aarch64:
  # https://sourceware.org/bugzilla/show_bug.cgi?id=18430

// Robert

>    http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/arm
>
> Robert Yang (4):
>    grub_git: set COMPATIBLE_HOST_armv7a to null
>    webkitgtk: set COMPATIBLE_HOST_armv4 to null
>    gnu-efi: set COMPATIBLE_HOST_armv4 to null
>    cogl-1.0: set COMPATIBLE_HOST_armv4 to null
>
>   meta/recipes-bsp/gnu-efi/gnu-efi_3.0.3.bb    | 1 +
>   meta/recipes-bsp/grub/grub_git.bb            | 1 +
>   meta/recipes-graphics/cogl/cogl-1.0.inc      | 2 ++
>   meta/recipes-sato/webkit/webkitgtk_2.10.7.bb | 1 +
>   4 files changed, 5 insertions(+)
>


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

* Re: [PATCH 0/4] set COMPATIBLE_HOST for several recipes
  2016-04-22  5:50 [PATCH 0/4] set COMPATIBLE_HOST for several recipes Robert Yang
                   ` (4 preceding siblings ...)
  2016-04-26  9:44 ` [PATCH 0/4] set COMPATIBLE_HOST for several recipes Robert Yang
@ 2016-05-16  1:18 ` Robert Yang
  2016-05-17 20:25   ` Richard Purdie
  5 siblings, 1 reply; 10+ messages in thread
From: Robert Yang @ 2016-05-16  1:18 UTC (permalink / raw)
  To: openembedded-core


Hi Ross,

Only the first patch [PATCH 1/4] is merged, are there any comments for
the other 3 please ?

// Robert

On 04/22/2016 01:50 PM, Robert Yang wrote:
> The following changes since commit 9838f8d077d16e52ad592879d65a9e8350b93075:
>
>    build-appliance-image: Update to krogoth head revision (2016-04-19 21:25:53 +0100)
>
> are available in the git repository at:
>
>    git://git.openembedded.org/openembedded-core-contrib rbt/arm
>    http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/arm
>
> Robert Yang (4):
>    grub_git: set COMPATIBLE_HOST_armv7a to null
>    webkitgtk: set COMPATIBLE_HOST_armv4 to null
>    gnu-efi: set COMPATIBLE_HOST_armv4 to null
>    cogl-1.0: set COMPATIBLE_HOST_armv4 to null
>
>   meta/recipes-bsp/gnu-efi/gnu-efi_3.0.3.bb    | 1 +
>   meta/recipes-bsp/grub/grub_git.bb            | 1 +
>   meta/recipes-graphics/cogl/cogl-1.0.inc      | 2 ++
>   meta/recipes-sato/webkit/webkitgtk_2.10.7.bb | 1 +
>   4 files changed, 5 insertions(+)
>


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

* Re: [PATCH 0/4] set COMPATIBLE_HOST for several recipes
  2016-05-16  1:18 ` Robert Yang
@ 2016-05-17 20:25   ` Richard Purdie
  0 siblings, 0 replies; 10+ messages in thread
From: Richard Purdie @ 2016-05-17 20:25 UTC (permalink / raw)
  To: Robert Yang, openembedded-core

On Mon, 2016-05-16 at 09:18 +0800, Robert Yang wrote:
> Hi Ross,
> 
> Only the first patch [PATCH 1/4] is merged, are there any comments
> for
> the other 3 please ?

I took another two, the the other needs rebasing against master and
resubmitting please.

Cheers,

Richard


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

end of thread, other threads:[~2016-05-17 20:25 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-22  5:50 [PATCH 0/4] set COMPATIBLE_HOST for several recipes Robert Yang
2016-04-22  5:50 ` [PATCH 1/4] grub_git: set COMPATIBLE_HOST_armv7a to null Robert Yang
2016-04-22  5:50 ` [PATCH 2/4] webkitgtk: set COMPATIBLE_HOST_armv4 " Robert Yang
2016-04-22 12:39   ` Alexander Kanavin
2016-04-23  1:40     ` Robert Yang
2016-04-22  5:50 ` [PATCH 3/4] gnu-efi: " Robert Yang
2016-04-22  5:50 ` [PATCH 4/4] cogl-1.0: " Robert Yang
2016-04-26  9:44 ` [PATCH 0/4] set COMPATIBLE_HOST for several recipes Robert Yang
2016-05-16  1:18 ` Robert Yang
2016-05-17 20:25   ` Richard Purdie

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.