criu: skip QA checks textrel
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]
Signed-off-by Zang Ruochen <[email protected]>
--- recipes-containers/criu/criu_git.bb | 2 ++ 1 file changed, 2 insertions(+)
recipes-containers/criu/criu_git.bb +2 -0
@@ -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