Skip to contentSkip to conversation

insane: Add SH4 musl mapping to the QA arch tests

PATCH In review Vladimir Zapolskiy 2 participants 4 messages Dec 6, 2016 – Dec 9, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 insane: Add SH4 musl mapping to the QA arch tests

This change allows to pass QA for packages built with sh4-oe-linux-musl toolchain, the problem is reproted while building core-image-minimal target:

ERROR: readline-7.0-r0 do_package_qa:
Error executing a python function in exec_python_func() autogenerated

---
 meta/classes/insane.bbclass | 1 +
 1 file changed, 1 insertion(+)
meta/classes/insane.bbclass +1 -0
index 5ddb87b..01494e3 100644
@@ -138,6 +138,7 @@ def package_qa_get_machine_dict(d):
                         "microblaze":  (189,     0,    0,          False,         32),
                         "microblazeeb":(189,     0,    0,          False,         32),
                         "microblazeel":(189,     0,    0,          True,          32),
+                        "sh4":        (  42,     0,    0,          True,          32),
                       },
             "uclinux-uclibc" : {
                         "bfin":       ( 106,     0,    0,          True,         32),
Signature · 1 line
2.10.2
#1 lore raw
Quoted 19 lines · Vladimir Zapolskiy

This change allows to pass QA for packages built with sh4-oe-linux-musl toolchain, the problem is reproted while building core-image-minimal target:

ERROR: readline-7.0-r0 do_package_qa:
Error executing a python function in exec_python_func() autogenerated

---
meta/classes/insane.bbclass | 1 +

1 file changed, 1 insertion(+)
meta/classes/insane.bbclass +0 -0
index 5ddb87b..01494e3 100644

meta/classes/insane.bbclass def package_qa_get_machine_dict(d): · line 141

Quoted 4 lines
meta/classes/insane.bbclass +1 -0
@@ -138,6 +138,7 @@ def package_qa_get_machine_dict(d):
                        "microblaze":  (189,     0,    0,          False,         32),
                        "microblazeeb":(189,     0,    0,          False,         32),
                        "microblazeel":(189,     0,    0,          True,          32),
+                        "sh4":        (  42,     0,    0,          True,          32),

Can you also add sh4eb as well while you are at it ?

Quoted 11 lines
meta/classes/insane.bbclass +0 -0
                      },
            "uclinux-uclibc" : {
                        "bfin":       ( 106,     0,    0,          True,         32),
Signature · 7 lines
2.10.2

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

Hello Khem,

Quoted 14 lines · Khem Raj
Quoted 14 lines · Vladimir Zapolskiy

This change allows to pass QA for packages built with sh4-oe-linux-musl toolchain, the problem is reproted while building core-image-minimal target:

ERROR: readline-7.0-r0 do_package_qa:
Error executing a python function in exec_python_func() autogenerated

---
meta/classes/insane.bbclass | 1 +

1 file changed, 1 insertion(+)
Quoted 12 lines

meta/classes/insane.bbclass def package_qa_get_machine_dict(d): · line 141

Quoted 9 lines
meta/classes/insane.bbclass +1 -0
index 5ddb87b..01494e3 100644
@@ -138,6 +138,7 @@ def package_qa_get_machine_dict(d):
                        "microblaze":  (189,     0,    0,          False,         32),
                        "microblazeeb":(189,     0,    0,          False,         32),
                        "microblazeel":(189,     0,    0,          True,          32),
+                        "sh4":        (  42,     0,    0,          True,          32),

Can you also add sh4eb as well while you are at it ?

I don't build or do runtime testing of sh4eb, and you may notice that there is no any other sh4eb target in the file at the moment. I'll try to find some time in the future and test sh4eb linux, linux-musl and linux-uclibc toolchains and add all of them together as a distinct change.

Since missing sh4 linux-musl hits me immediately, I would like to ask you to apply the change as is.

Thank you.

--
With best wishes,
Vladimir

#3 lore raw
Quoted 30 lines · Vladimir Zapolskiy

Hello Khem,

Quoted 14 lines · Khem Raj
Quoted 14 lines · Vladimir Zapolskiy

This change allows to pass QA for packages built with sh4-oe-linux-musl toolchain, the problem is reproted while building core-image-minimal target:

ERROR: readline-7.0-r0 do_package_qa:
Error executing a python function in exec_python_func() autogenerated

---
meta/classes/insane.bbclass | 1 +

1 file changed, 1 insertion(+)
Quoted 12 lines

meta/classes/insane.bbclass def package_qa_get_machine_dict(d): · line 141

Quoted 9 lines
meta/classes/insane.bbclass +1 -0
index 5ddb87b..01494e3 100644
@@ -138,6 +138,7 @@ def package_qa_get_machine_dict(d):
                        "microblaze":  (189,     0,    0,          False,         32),
                        "microblazeeb":(189,     0,    0,          False,         32),
                        "microblazeel":(189,     0,    0,          True,          32),
+                        "sh4":        (  42,     0,    0,          True,          32),

Can you also add sh4eb as well while you are at it ?

Quoted 9 lines

I don't build or do runtime testing of sh4eb, and you may notice that there is no any other sh4eb target in the file at the moment. I'll try to find some time in the future and test sh4eb linux, linux-musl and linux-uclibc toolchains and add all of them together as a distinct change.

Since missing sh4 linux-musl hits me immediately, I would like to ask you to apply the change as is.

OK, I think thats fine, I was hoping that you were testing that too

Quoted 5 lines

Thank you.

--
With best wishes,
Vladimir