Skip to contentSkip to conversation

xvisor: skip QA checks ldflags and textrel

PATCH In review Martin Jansa 2 participants 2 messages Nov 6, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xvisor: skip QA checks ldflags and textrel

* feel free to fix it properly, I don't use xvisor at all it just shown these 2 errors in my aarch64 world builds and this recipe needs more love than just these 2 issues like setting PV to something better than "git"

---
 recipes-extended/xvisor/xvisor_git.bb | 4 ++++
 1 file changed, 4 insertions(+)
recipes-extended/xvisor/xvisor_git.bb +4 -0
index 50323d7..831c943 100644
@@ -49,3 +49,7 @@ FILES_${PN} += "/*.dtb"
 
 COMPATIBLE_HOST = "(aarch64|riscv64|riscv32).*"
 INHIBIT_PACKAGE_STRIP = "1"
+
+# ERROR: xvisor-git-r0 do_package_qa: QA Issue: File /vmm.elf in package xvisor doesn't have GNU_HASH (didn't pass LDFLAGS?) [ldflags]
+# ERROR: xvisor-git-r0 do_package_qa: QA Issue: xvisor: ELF binary /vmm.elf has relocations in .text [textrel]
+INSANE_SKIP_${PN} += "ldflags textrel"
Signature · 1 line
2.27.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Martin Jansa

* feel free to fix it properly, I don't use xvisor at all it just shown these 2 errors in my aarch64 world builds and this recipe needs more love than just these 2 issues like setting PV to something better than "git"

Just FYI when the next QEMU release happens I'll update Xvisor. At that time I can try and cleanup the recipe a bit more to improve some of these errors.

Alistair

Quoted 22 lines
---
 recipes-extended/xvisor/xvisor_git.bb | 4 ++++
 1 file changed, 4 insertions(+)
recipes-extended/xvisor/xvisor_git.bb +4 -1
index 50323d7..831c943 100644
@@ -49,3 +49,7 @@ FILES_${PN} += "/*.dtb"
 
 COMPATIBLE_HOST = "(aarch64|riscv64|riscv32).*"
 INHIBIT_PACKAGE_STRIP = "1"
+
+# ERROR: xvisor-git-r0 do_package_qa: QA Issue: File /vmm.elf in package xvisor doesn't have GNU_HASH (didn't pass LDFLAGS?) [ldflags]
+# ERROR: xvisor-git-r0 do_package_qa: QA Issue: xvisor: ELF binary /vmm.elf has relocations in .text [textrel]
+INSANE_SKIP_${PN} += "ldflags textrel"
--

2.27.0