diff options
| author | Khem Raj <raj.khem@gmail.com> | 2023-06-11 19:39:56 -0700 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2023-07-04 05:32:29 -1000 |
| commit | 7fc5def9c473d8b3e21352c5722563526471ce3e (patch) | |
| tree | 08fbfe7a30690f4a23fee36bdfd05ae0c9db9ff1 /meta | |
| parent | 9dfe2321c02ba86940cbd607fe2067bce757f04b (diff) | |
| download | poky-7fc5def9c473d8b3e21352c5722563526471ce3e.tar.gz | |
babeltrace2: Always use BFD linker when building tests with ld-is-lld distro feature
lld results in textrels in some .so used in tests, fixes
babeltrace2-ptest: ELF binary /usr/lib/babeltrace2/ptest/tests/lib/test-plugin-plugins/plugin-minimal.so has relocations in .text
babeltrace2-ptest: ELF binary /usr/lib/babeltrace2/ptest/tests/lib/test-plugin-plugins/plugin-sfs.so has relocations in .text [textrel]
ERROR: babeltrace2-2.0.5-r0 do_package_qa: QA Issue: babeltrace2: ELF binary /usr/lib/babeltrace2/plugins/babeltrace-plugin-ctf.so has relocations in .text
babeltrace2: ELF binary /usr/lib/babeltrace2/plugins/babeltrace-plugin-utils.so has relocations in .text
babeltrace2: ELF binary /usr/lib/babeltrace2/plugins/babeltrace-plugin-text.so has relocations in .text [textrel]
(From OE-Core rev: 092ea60841b5dd45ddbfff9c94b4380855f8e639)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 18d443b53a0d76102fbbc1088fbcb3f8087a2b1b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/recipes-kernel/lttng/babeltrace2_2.0.5.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-kernel/lttng/babeltrace2_2.0.5.bb b/meta/recipes-kernel/lttng/babeltrace2_2.0.5.bb index 6123456c30..9a4007fb25 100644 --- a/meta/recipes-kernel/lttng/babeltrace2_2.0.5.bb +++ b/meta/recipes-kernel/lttng/babeltrace2_2.0.5.bb | |||
| @@ -28,6 +28,7 @@ FILES:${PN}-staticdev += "${libdir}/babeltrace2/plugins/*.a" | |||
| 28 | FILES:${PN} += "${libdir}/babeltrace2/plugins/*.so" | 28 | FILES:${PN} += "${libdir}/babeltrace2/plugins/*.so" |
| 29 | 29 | ||
| 30 | ASNEEDED = "" | 30 | ASNEEDED = "" |
| 31 | LDFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld ptest', ' -fuse-ld=bfd ', '', d)}" | ||
| 31 | 32 | ||
| 32 | # coreutils since we need full mktemp | 33 | # coreutils since we need full mktemp |
| 33 | RDEPENDS:${PN}-ptest += "bash gawk python3 make grep coreutils findutils" | 34 | RDEPENDS:${PN}-ptest += "bash gawk python3 make grep coreutils findutils" |
