Skip to contentSkip to conversation

criu: skip QA checks textrel

PATCH New zangrc 1 participant 1 message Jul 8, 2021

lore
Share & tools
lore

zangrc

author
#0 lore raw

PATCH v2 1/1 criu: skip QA checks textrel

For simplicity - compile code in Arm mode without interwork. We could choose Thumb mode as default instead - but a dirty experiment shows that with 90Kb PIEs Thumb code doesn't save even one page. So, let's stick so far to Arm mode as it's more universal around all different Arm variations, until someone will find any use for Thumb mode. -dima

Because of the above reasons, the arm platform does not enable PIE, so skip the testrel check to avoid warning.

WARNING: criu-3.14+gitAUTOINC+e49ce513c8-r0 do_package_qa: QA Issue: criu: ELF binary /usr/sbin/criu has relocations in .text [textrel]

---
 recipes-containers/criu/criu_git.bb | 2 ++
 1 file changed, 2 insertions(+)
recipes-containers/criu/criu_git.bb +2 -0
index febf81e..6342620 100644
@@ -22,6 +22,8 @@ SRC_URI = "git://github.com/checkpoint-restore/criu.git;branch=criu-dev \
            file://lib-Makefile-overwrite-install-lib-to-allow-multiarc.patch \
           "
 
+INSANE_SKIP_${PN} += "textrel"
+
 COMPATIBLE_HOST = "(x86_64|arm|aarch64).*-linux"
 
 DEPENDS += "libnl libcap protobuf-c-native protobuf-c util-linux-native libbsd libnet"
Signature · 1 line
2.25.1