mirror of
https://git.yoctoproject.org/poky
synced 2026-09-26 10:36:22 +02:00
It solves below error observed on qemux86 target:
root@qemux86:~# sotruss ./hello
ERROR: ld.so: object '/usr/$LIB/audit/sotruss-lib.so' cannot be loaded as audit
interface: cannot open shared object file; ignored.
Hello World
root@qemux86:~#
With this change, we get:
root@qemux86:~# sotruss ./hello
hello -> libc.so.6 :*__libc_start_main(0x8048300, 0x1,
0xbfc86274)
hello -> libc.so.6 :*puts(0x804851c, 0xb74af000, 0x0)
Hello World
root@qemux86:~#
(From OE-Core rev: aa2d2161c5b41358f732e95199f0c066d4e2d77a)
Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 lines
545 B
PHP
21 lines
545 B
PHP
include glibc-collateral.inc
|
|
|
|
SUMMARY = "utility scripts provided by glibc"
|
|
DESCRIPTION = "utility scripts provided by glibc"
|
|
RDEPENDS_${PN} = "bash glibc-mtrace"
|
|
|
|
SRC = "${STAGING_INCDIR}/glibc-scripts-internal-${MULTIMACH_TARGET_SYS}"
|
|
|
|
bashscripts = "sotruss xtrace"
|
|
|
|
do_install() {
|
|
install -d -m 0755 ${D}${bindir}
|
|
for i in ${bashscripts}; do
|
|
install -m 0755 ${SRC}/$i ${D}${bindir}/
|
|
done
|
|
}
|
|
|
|
# sotruss script requires sotruss-lib.so (given by libsotruss package),
|
|
# to produce trace of the library calls.
|
|
RDEPENDS_${PN} += "libsotruss"
|