criu: skip QA checks textrel
PATCH 1/1 criu: skip QA checks textrel
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
@@ -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
Were these warnings always there ? or has it been something introduced by recent uprevs of crui ?
Bruce
In message: [meta-virtualization] [PATCH] criu: skip QA checks textrel
Quoted 27 lines · on 07/07/2021 zangrc wrote:
WARNING: criu-3.14+gitAUTOINC+e49ce513c8-r0
do_package_qa: QA Issue: criu: ELF binary/usr/sbin/criuhas 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
This warning always exists. I think it is caused by not enabling pie on ARM platform.
# 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
Zang Ruochen
Quoted 48 lines
-----Original Message-----
From: Bruce Ashfield <[email protected]>
Sent: Thursday, July 8, 2021 3:44 AM
To: Zang, Ruochen/臧 若尘 <[email protected]>
Cc: [email protected]
Subject: Re: [meta-virtualization] [PATCH] criu: skip QA checks textrelWere these warnings always there ? or has it been something introduced by recent uprevs of crui ?
Bruce
In message: [meta-virtualization] [PATCH] criu: skip QA checks textrel on
recipes-containers/criu/criu_git.bb SRC_URI =
Quoted 14 lines · 07/07/2021 zangrc wrote:
WARNING: criu-3.14+gitAUTOINC+e49ce513c8-r0
do_package_qa: QA Issue:
criu: ELF binary/usr/sbin/criuhas 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 +0
-0@@ -22,6 +22,8 @@ SRC_URI ="
git://github.com/checkpoint-restore/criu.git;branch=criu-dev\recipes-containers/criu/criu_git.bb SRC_URI = · line 22
Quoted 1 line
recipes-containers/criu/criu_git.bb +0
-0file://lib-Makefile-overwrite-install-lib-to-allow-multiarc.patch\
recipes-containers/criu/criu_git.bb SRC_URI = "git://github.com/checkpoint-restore/criu.git;branch=criu-dev \
Quoted 7 lines
recipes-containers/criu/criu_git.bb +2
-0" +INSANE_SKIP_${PN} += "textrel" + COMPATIBLE_HOST = "(x86_64|arm|aarch64).*-linux" DEPENDS += "libnl libcap protobuf-c-native protobuf-c util-linux-native libbsdlibnet"
Quoted 7 lines
--
2.25.1
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 3 lines · Bruce Ashfield via lists.yoctoproject.org
Were these warnings always there ? or has it been something introduced by recent uprevs of crui ?
We should also document why this QA warning is safe to skip/ignore as part of this commit message (and even a comment above the QA check in the recipe itself).
Cheers,
Bruce
Quoted 38 lines
Bruce
In message: [meta-virtualization] [PATCH] criu: skip QA checks textrel
Quoted 27 lines · on 07/07/2021 zangrc wrote:
WARNING: criu-3.14+gitAUTOINC+e49ce513c8-r0
do_package_qa: QA Issue: criu: ELF binary/usr/sbin/criuhas 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
-1@@ -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
Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II