Skip to contentSkip to conversation

grub_git: remove armv7a from COMPATIBLE_HOST

PATCH In review Chen Qi 2 participants 3 messages Apr 5, 2016

lore
Share & tools
lore

Chen Qi

author
#0 lore raw

cover grub_git: remove armv7a from COMPATIBLE_HOST

The following changes since commit d60806e56aed2f62f6a0e030a564f7fdc4a1314d:

build-appliance-image: Exclude DDATETIME from task signature (2016-04-03 15:51:10 +0100)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib ChenQi/grub-armv7a
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=ChenQi/grub-armv7a

Chen Qi (1):
grub_git: remove armv7a from COMPATIBLE_HOST

 meta/recipes-bsp/grub/grub_git.bb | 1 +
 1 file changed, 1 insertion(+)
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH 1/1 grub_git: remove armv7a from COMPATIBLE_HOST

grub_git recipe supports arm architectures. However, when building against armv7a arch, we would meet the following error.

| build-grub-module-verifier: error: unsupported relocation 0x2b.
| make[3]: *** [disk.mod] Error 1
| make[3]: *** Waiting for unfinished jobs....
| build-grub-module-verifier: error: unsupported relocation 0x2b.
| make[3]: *** [cat.mod] Error 1
| build-grub-module-verifier: error: unsupported relocation 0x2b.
| make[3]: *** [cmp.mod] Error 1

This address, along with 0x2c, is not supported yet, according to grub upstream.

So remove armv7a from COMPATIBLE_HOST for now.

---
 meta/recipes-bsp/grub/grub_git.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-bsp/grub/grub_git.bb +1 -0
index 3ebab7f..2b435b7 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
1.9.1
#2 lore raw
Quoted 11 lines · Chen Qi

grub_git recipe supports arm architectures. However, when building against armv7a arch, we would meet the following error.

| build-grub-module-verifier: error: unsupported relocation 0x2b.
| make[3]: *** [disk.mod] Error 1
| make[3]: *** Waiting for unfinished jobs....
| build-grub-module-verifier: error: unsupported relocation 0x2b.
| make[3]: *** [cat.mod] Error 1
| build-grub-module-verifier: error: unsupported relocation 0x2b.
| make[3]: *** [cmp.mod] Error 1
Quoted 4 lines

This address, along with 0x2c, is not supported yet, according to grub upstream.

So remove armv7a from COMPATIBLE_HOST for now.

Unless you have verified that armv4, armv5, armv6 and armv7ve all work correctly then blacklisting only armv7a is probably not the correct approach.

Quoted 25 lines
---
 meta/recipes-bsp/grub/grub_git.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-bsp/grub/grub_git.bb +1 -1
index 3ebab7f..2b435b7 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
 
--

1.9.1

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core