ltp: find all .debug directories
PATCH 1/1 ltp: find all .debug directories
The list of directories for ltp-dbg is incomplete, so we generalize it.
We also eliminate a non-fatal qa error that the file test_arch_stripped is stripped.
--- meta/recipes-extended/ltp/ltp_20150119.bb | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-)
meta/recipes-extended/ltp/ltp_20150119.bb +6 -3
@@ -65,9 +65,9 @@ RDEPENDS_${PN} = "perl e2fsprogs-mke2fs python-core libaio bash gawk expect" FILES_${PN}-dbg += "\ /opt/ltp/runtest/.debug \ - /opt/ltp/testcases/bin/.debug \ - /opt/ltp/testcases/bin/*/bin/.debug \ - /opt/ltp/testcases/bin/*/test/.debug \ + /opt/ltp/testcases/*/.debug \ + /opt/ltp/testcases/*/*/.debug \ + /opt/ltp/testcases/*/*/*/.debug \ /opt/ltp/scenario_groups/.debug \ /opt/ltp/testscripts/.debug \ /opt/ltp/testscripts/open_posix_testsuite/.debug \
@@ -79,3 +79,6 @@ FILES_${PN} += "/opt/ltp/* /opt/ltp/runtest/* /opt/ltp/scenario_groups/* /opt/lt # Avoid generated binaries stripping. Otherwise some of the ltp tests such as ldd01 & nm01 fails INHIBIT_PACKAGE_STRIP = "1" +# However, test_arch_stripped is already stripped, so... +INSANE_SKIP_${PN} += "already-stripped" +
Signature · 1 line
1.7.9.5
meta/recipes-extended/ltp/ltp_20150119.bb FILES_${PN} += "/opt/ltp/* /opt/ltp/runtest/* /opt/ltp/scenario_groups/* /opt/lt · line 84
Quoted 4 lines · Joe Slater
INHIBIT_PACKAGE_STRIP= "1"meta/recipes-extended/ltp/ltp_20150119.bb +3
-0+# However, test_arch_stripped is already stripped, so... +INSANE_SKIP_${PN} += "already-stripped" +
Can this be avoided in the component make system instead
Quoted 9 lines
-----Original Message-----
From: Khem Raj [mailto:[email protected]]
Sent: Wednesday, March 18, 2015 4:37 PM
To: Slater, Joseph
Cc: Patches and discussions about the oe-core layer
Subject: Re: [OE-core] [oe-core][PATCH 1/1] ltp: find all .debug directories
Quoted 7 lines
meta/recipes-extended/ltp/ltp_20150119.bb FILES_${PN} += "/opt/ltp/* /opt/ltp/runtest/* /opt/ltp/scenario_groups/* /opt/lt · line 84
Quoted 4 lines · Joe Slater
INHIBIT_PACKAGE_STRIP= "1"meta/recipes-extended/ltp/ltp_20150119.bb +3
-0+# However, test_arch_stripped is already stripped, so... +INSANE_SKIP_${PN} += "already-stripped" +Can this be avoided in the component make system instead
Do you mean not strip it when we build it? I hesitate to have some named _stripped not be. Since nobody seems upset by the current qa "error", I guess we could also just ignore it.
Joe
Quoted 13 lines · Joseph
Quoted 11 lines
-----Original Message-----
From: Khem Raj [mailto:[email protected]]
Sent: Wednesday, March 18, 2015 4:37 PM
To: Slater, Joseph
Cc: Patches and discussions about the oe-core layer
Subject: Re: [OE-core] [oe-core][PATCH 1/1] ltp: find all .debug directoriesOn Wed, Mar 18, 2015 at 3:34 PM, Joe Slater <[email protected]> wrote:
Quoted 8 lines
Quoted 6 lines
meta/recipes-extended/ltp/ltp_20150119.bb FILES_${PN} += "/opt/ltp/* /opt/ltp/runtest/* /opt/ltp/scenario_groups/* /opt/lt · line 84
Quoted 4 lines
INHIBIT_PACKAGE_STRIP= "1"meta/recipes-extended/ltp/ltp_20150119.bb +3
-0+# However, test_arch_stripped is already stripped, so... +INSANE_SKIP_${PN} += "already-stripped" +Can this be avoided in the component make system instead
Do you mean not strip it when we build it?
yes
Quoted 2 lines
I hesitate to have some named
_stripped
not be.
?
Quoted 2 lines
Since nobody seems upset by the current qa "error", I guess we could also
just ignore it.
I think it can cause debugging gripes. So its good to fix it
Quoted 3 lines
Joe
meta/recipes-extended/ltp/ltp_20150119.bb RDEPENDS_${PN} = "perl e2fsprogs-mke2fs python-core libaio bash gawk expect" · line 70
Quoted 9 lines · Joe Slater
FILES_${PN}-dbg += "\ /opt/ltp/runtest/.debug \meta/recipes-extended/ltp/ltp_20150119.bb +3
-3- /opt/ltp/testcases/bin/.debug \ - /opt/ltp/testcases/bin/*/bin/.debug \ - /opt/ltp/testcases/bin/*/test/.debug \ + /opt/ltp/testcases/*/.debug \ + /opt/ltp/testcases/*/*/.debug \ + /opt/ltp/testcases/*/*/*/.debug \
Interestingly now ltp is failing on edgerouter (mips64):
NOTE: Skipping file /opt/ltp/testcases/bin/test_arch_stripped from ltp for
already-stripped QA test
ERROR: debugedit failed with exit code 256 (cmd was '/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips/build/build/tmp/sysroots/x86_64-linux/usr/lib/rpm/bin/debugedit'
-b
'/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips/build/build/tmp/work/mips64-poky-linux'
-d '/usr/src/debug' -i -l '/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips/build/build/tmp/work/mips64-poky-linux/ltp/20150119-r0/debugsources.list' '/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips/build/build/tmp/work/mips64-poky-linux/ltp/20150119-r0/package/opt/ltp/testcases/bin/d1.obj'):/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips/build/build/tmp/sysroots/x86_64-linux/usr/lib/rpm/bin/debugedit:/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips/build/build/tmp/work/mips64-poky-linux/ltp/20150119-r0/package/opt/ltp/testcases/bin/d1.obj:
Unhandled relocation 2 in .debug_info section
I'm off to bed now, any idea what "relocation 2 in ._debug_info" means?
Ross