Skip to contentSkip to conversation

set COMPATIBLE_HOST for several recipes

PATCH In review Robert Yang 3 participants 10 messages Apr 22, 2016 – May 17, 2016

lore
Share & tools
lore
#0 lore raw

cover set COMPATIBLE_HOST for several recipes

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(+)
Signature · 1 line
2.8.0
#1 lore raw

PATCH 1/4 grub_git: set COMPATIBLE_HOST_armv7a to null

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.
---
 meta/recipes-bsp/grub/grub_git.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-bsp/grub/grub_git.bb +1 -0
index 6919c9a..8f8c5ed 100644
@@ -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
 
Signature · 1 line
2.8.0
#2 lore raw

PATCH 2/4 webkitgtk: set COMPATIBLE_HOST_armv4 to null

In reply to Robert Yang

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]

---
 meta/recipes-sato/webkit/webkitgtk_2.10.7.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-sato/webkit/webkitgtk_2.10.7.bb +1 -0
index 8eb6b9f..ff26c8c 100644
@@ -86,3 +86,4 @@ ARM_INSTRUCTION_SET = "arm"
 # Segmentation fault
 EXTRA_OECMAKE_append_powerpc = " -DENABLE_INTROSPECTION=OFF "
 
+COMPATIBLE_HOST_armv4 = 'null'
Signature · 1 line
2.8.0
#3 lore raw

Re: [PATCH 2/4] webkitgtk: set COMPATIBLE_HOST_armv4 to null

Quoted 5 lines · Robert Yang

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

Quoted 8 lines

{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

#4 lore raw

Re: [PATCH 2/4] webkitgtk: set COMPATIBLE_HOST_armv4 to null

Quoted 25 lines · Alexander Kanavin
Quoted 15 lines · Robert Yang

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

Quoted 8 lines

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]

Quoted 1 line

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

Thanks, it works, updated in the repo.

// Robert

Quoted 3 lines

Alex

#5 lore raw

PATCH 3/4 gnu-efi: set COMPATIBLE_HOST_armv4 to null

In reply to Robert Yang

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]

---
 meta/recipes-bsp/gnu-efi/gnu-efi_3.0.3.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-bsp/gnu-efi/gnu-efi_3.0.3.bb +1 -0
index eca3459..6b130a2 100644
@@ -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
Signature · 1 line
2.8.0
#6 lore raw

PATCH 4/4 cogl-1.0: set COMPATIBLE_HOST_armv4 to null

In reply to Robert Yang

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]

---
 meta/recipes-graphics/cogl/cogl-1.0.inc | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-graphics/cogl/cogl-1.0.inc +2 -0
index 690ea3b..7a79aa7 100644
@@ -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'
Signature · 1 line
2.8.0
#7 lore raw
In reply to Robert Yang
Quoted 7 lines · Robert Yang

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 <[email protected]>
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]

meta/recipes-sato/webkit/webkitgtk_2.10.7.bb +6 -1
index d4f1d3b..d089851 100644
@@ -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

Quoted 14 lines

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(+)
#8 lore raw
In reply to Robert Yang

Hi Ross,

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

// Robert

Quoted 21 lines · Robert Yang

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(+)
#9 lore raw
Quoted 5 lines · Robert Yang

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