Skip to contentSkip to conversation

nerdctl: add textrel to the list of skipped QA checks

PATCH In review Dmitry Baryshkov 2 participants 4 messages Jan 6 – Feb 9

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 nerdctl: add textrel to the list of skipped QA checks

On ARMv7 building of nerdctl fails with:

ERROR: QA Issue: nerdctl: ELF binary /usr/bin/nerdctl has relocations in .text [textrel]

Add "textrel" to the skip list.

---
 recipes-containers/nerdctl/nerdctl_git.bb | 1 +
 1 file changed, 1 insertion(+)
recipes-containers/nerdctl/nerdctl_git.bb +1 -0
index 8f63b48c7256..bfd7c3af8356 100644
@@ -88,4 +88,5 @@ do_install() {
 
 INHIBIT_PACKAGE_STRIP = "1"
 INSANE_SKIP:${PN} += "ldflags already-stripped"
+INSANE_SKIP:${PN}:append:arm = " textrel"
 
Signature · 1 line
2.47.3
#1 lore raw

I might have a try at fixing the relocation issues.

What is the machine you are building for that shows the issues ?

Bruce

In message: [meta-virtualization][PATCH v2] nerdctl: add textrel to the list of skipped QA checks

Quoted 34 lines · on 06/01/2026 Dmitry Baryshkov via lists.yoctoproject.org wrote:

On ARMv7 building of nerdctl fails with:

ERROR: QA Issue: nerdctl: ELF binary /usr/bin/nerdctl has relocations in .text [textrel]

Add "textrel" to the skip list.

---
 recipes-containers/nerdctl/nerdctl_git.bb | 1 +
 1 file changed, 1 insertion(+)
recipes-containers/nerdctl/nerdctl_git.bb +1 -0
index 8f63b48c7256..bfd7c3af8356 100644
@@ -88,4 +88,5 @@ do_install() {
 
 INHIBIT_PACKAGE_STRIP = "1"
 INSANE_SKIP:${PN} += "ldflags already-stripped"
+INSANE_SKIP:${PN}:append:arm = " textrel"
 
Signature · 11 lines
2.47.3



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9520): https://lists.yoctoproject.org/g/meta-virtualization/message/9520
Mute This Topic: https://lists.yoctoproject.org/mt/117106963/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
#2 lore raw
Quoted 5 lines · Bruce Ashfield

I might have a try at fixing the relocation issues.

What is the machine you are building for that shows the issues ?

it's qcom-armv7a, which has:

DEFAULTTUNE = "cortexa15thf-neon-vfpv4"
require conf/machine/include/arm/armv7a/tune-cortexa15.inc

Signature · 2 lines
With best wishes
Dmitry
#3 lore raw

Chen Qi beat me to the fix:

-buildmode=pie

Fixes it up.

I've queued that change and it will be in the tree shortly.

Bruce

Quoted 18 lines · Dmitry Baryshkov
Quoted 5 lines · Bruce Ashfield

I might have a try at fixing the relocation issues.

What is the machine you are building for that shows the issues ?

it's qcom-armv7a, which has:

DEFAULTTUNE = "cortexa15thf-neon-vfpv4"
require conf/machine/include/arm/armv7a/tune-cortexa15.inc

--
With best wishes
Dmitry

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