Patchwork nspr: Add LDFLAGS to TARGET_CC_ARCH to fix warning

login
register
mail settings
Submitter Noor Ahsan
Date Oct. 21, 2013, 10:31 a.m.
Message ID <365E1805BC95084CBE82381A0B869994DE53BD41@EU-MBX-01.mgc.mentorg.com>
Download mbox | patch
Permalink /patch/60309/
State New
Headers show

Comments

Noor Ahsan - Oct. 21, 2013, 10:31 a.m.
Any update on this one. We need this patch to be merged in Yocto 1.5.

Noor

From: openembedded-core-bounces@lists.openembedded.org [mailto:openembedded-core-bounces@lists.openembedded.org] On Behalf Of sujith h

Sent: Wednesday, October 16, 2013 3:23 PM
To: openembedded-core@lists.openembedded.org
Cc: Haridasan, Sujith
Subject: Re: [OE-core] [PATCH] nspr: Add LDFLAGS to TARGET_CC_ARCH to fix warning

Hi,
I hope the patch and the waning messages it addresses are ok. Else let me know, I will fix them.
Thanks,
Sujith H

On Wed, Oct 16, 2013 at 11:16 AM, Sujith H <sujith.h@gmail.com<mailto:sujith.h@gmail.com>> wrote:
WARNING: QA Issue: No GNU_HASH in the elf binary: 'armv7a-vfp-neon-mel-linux-gnueabi/nspr/4.10-r0/packages-split/nspr-dev/usr/lib/nspr/tests/formattm'
WARNING: QA Issue: No GNU_HASH in the elf binary: 'armv7a-vfp-neon-mel-linux-gnueabi/nspr/4.10-r0/packages-split/nspr-dev/usr/lib/nspr/tests/threads'
WARNING: QA Issue: No GNU_HASH in the elf binary: 'armv7a-vfp-neon-mel-linux-gnueabi/nspr/4.10-r0/packages-split/nspr-dev/usr/lib/nspr/tests/semaerr'
There are many QA Warnings thrown like the above for this recipe. This is observed for target imx6 sabrelite.

Signed-off-by: Sujith H <Sujith_Haridasan@mentor.com<mailto:Sujith_Haridasan@mentor.com>>

---
 meta/recipes-support/nspr/nspr_4.10.bb<http://nspr_4.10.bb> | 1 +
 1 file changed, 1 insertion(+)

--
1.8.1.4



--
?????? ????????
Bangalore
<Project>Contributor to KDE project
http://fci.wikia.com/wiki/Anti-DRM-Campaign
<Blog> http://sujithh.info

Patch

diff --git a/meta/recipes-support/nspr/nspr_4.10.bb<http://nspr_4.10.bb> b/meta/recipes-support/nspr/nspr_4.10.bb<http://nspr_4.10.bb>

index fcecb95..4247fd0 100644

--- a/meta/recipes-support/nspr/nspr_4.10.bb<http://nspr_4.10.bb>

+++ b/meta/recipes-support/nspr/nspr_4.10.bb<http://nspr_4.10.bb>

@@ -19,6 +19,7 @@  SRC_URI[sha256sum] = "0cfbe561676b92e5af3ddc7ac77452014e3da8885da66baec811e73541

 S = "${WORKDIR}/nspr-${PV}/nspr"

 RDEPENDS_${PN}-dev += "perl"
+TARGET_CC_ARCH += "${LDFLAGS}"


 TESTS = "runtests.pl<http://runtests.pl> \
     runtests.sh \