Re: [OE-core] [PATCH] lib/oe/qa: handle the 'no specific instruction set' ELF e_machine value

Richard Purdie
2020-12-19T11:26:44Z

On Fri, 2020-12-18 at 14:43 +0000, Ross Burton wrote:
> Signed-off-by: Ross Burton <ross.burton@arm.com>
> ---
> meta/lib/oe/qa.py | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/meta/lib/oe/qa.py b/meta/lib/oe/qa.py
> index ea831b930a..e8a854a302 100644
> --- a/meta/lib/oe/qa.py
> +++ b/meta/lib/oe/qa.py
> @@ -156,6 +156,7 @@ def elf_machine_to_string(machine):
> """
> try:
> return {
> + 0x00: "Unset",
> 0x02: "SPARC",
> 0x03: "x86",
> 0x08: "MIPS",

This breaks the selftests that lib/oe/qa.py has. I'll fix it up.

Cheers,

Richard