From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by mail.openembedded.org (Postfix) with ESMTP id 2D03165D3C for ; Fri, 24 Oct 2014 06:30:39 +0000 (UTC) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail.windriver.com (8.14.9/8.14.5) with ESMTP id s9O6UT27012028 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 23 Oct 2014 23:30:29 -0700 (PDT) Received: from [128.224.162.204] (128.224.162.204) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server (TLS) id 14.3.174.1; Thu, 23 Oct 2014 23:30:29 -0700 Message-ID: <5449F202.8030206@windriver.com> Date: Fri, 24 Oct 2014 14:30:26 +0800 From: Chong Lu User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: Tudor Florea References: <6fe7bbee542ba42ae03304919b3c7abbe63bc8b4.1413879309.git.Chong.Lu@windriver.com> <26724FB0BFCB3D4C91BDE184751AA3A428ACB19F@SESTOEX04.enea.se> In-Reply-To: <26724FB0BFCB3D4C91BDE184751AA3A428ACB19F@SESTOEX04.enea.se> X-Originating-IP: [128.224.162.204] Cc: OE-core Subject: Re: [PATCH 1/1] kmod: fix debuginfo is missing in shared library X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Oct 2014 06:30:40 -0000 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit On 10/24/2014 01:02 AM, Tudor Florea wrote: > > Hi, > > *From:*openembedded-core-bounces@lists.openembedded.org > [mailto:openembedded-core-bounces@lists.openembedded.org] *On Behalf > Of *Burton, Ross > *Sent:* Thursday, October 23, 2014 17:21 > *To:* Chong Lu > *Cc:* OE-core > *Subject:* Re: [OE-core] [PATCH 1/1] kmod: fix debuginfo is missing in > shared library > > On 21 October 2014 09:16, Chong Lu > wrote: > > -INHIBIT_PACKAGE_STRIP = "${@bb.utils.contains( > "DISTRO_FEATURES", "ptest", "1", > "0", d)}" > +INHIBIT_PACKAGE_STRIP_${PN}-ptest = "${@bb.utils.contains( > "DISTRO_FEATURES", "ptest", "1", > "0", d)}" > > > Was this actually tested? > > ERROR: runstrip: ''arm-poky-linux-gnueabi-strip' --strip-debug > --remove-section=.comment --remove-section=.note --preserve-dates > '/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm/build/build/tmp/work/armv5te-poky-linux-gnueabi/kmod/18+gitAUTOINC+ae58de0fcb-r0/package/usr/lib/kmod/ptest/testsuite/rootfs/test-depmod/detect-loop/lib/modules/4.4.4/kernel/moduleA.ko'' > strip command failed > > INHIBIT_PACKAGE_STRIP isn't a per-package variable as stripping > happens before the package-splitting. Moving it to happen after > splitting won't be trivial as you'd need to know what package to put > the resultant files into. Maybe we need a strip blacklist? > > Ross > > *//* > > */One way to solve this is to pack the ptest “sample” files during > install (in do_install_append) and unpack back when running ptest on > target (in run-ptest). The downside of this is we add a dependency on > tar./* > > */Please let me know if it is acceptable and I’ll come with a patch > for this./* > > */Regards,/* > > */Tudor./* > Thanks for your suggestion, I have sent a v2. Best Regards Chong