[OE-core] [PATCH 1/1] grub_git: remove armv7a from COMPATIBLE_HOST

Andre McCurdy armccurdy at gmail.com
Tue Apr 5 03:24:40 UTC 2016


On Mon, Apr 4, 2016 at 8:10 PM, Chen Qi <Qi.Chen at windriver.com> wrote:
> 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.

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

> Signed-off-by: Chen Qi <Qi.Chen at 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 3ebab7f..2b435b7 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
>
> --
> 1.9.1
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



More information about the Openembedded-core mailing list