All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-virtualization] [PATCHv2] criu: skip QA checks textrel
@ 2021-07-08  3:03 zangrc
  0 siblings, 0 replies; only message in thread
From: zangrc @ 2021-07-08  3:03 UTC (permalink / raw)
  To: meta-virtualization

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 <zangrc.fnst@fujitsu.com>
---
 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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-08  3:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-08  3:03 [meta-virtualization] [PATCHv2] criu: skip QA checks textrel zangrc

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.