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(+)

diff --git a/recipes-containers/criu/criu_git.bb 
b/recipes-containers/criu/criu_git.bb
index febf81e..6342620 100644
--- a/recipes-containers/criu/criu_git.bb
+++ b/recipes-containers/criu/criu_git.bb
@@ -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"
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#6625): 
https://lists.yoctoproject.org/g/meta-virtualization/message/6625
Mute This Topic: https://lists.yoctoproject.org/mt/84060597/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to