Skip to contentSkip to conversation

nspr: Add LDFLAGS to TARGET_CC_ARCH to fix warning

PATCH In review Sujith H 2 participants 3 messages Oct 16, 2013 – Oct 21, 2013

lore
Share & tools
lore

Sujith H

author
#0 lore raw

PATCH 1/1 nspr: Add LDFLAGS to TARGET_CC_ARCH to fix warning

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.

---
 meta/recipes-support/nspr/nspr_4.10.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-support/nspr/nspr_4.10.bb +1 -0
index fcecb95..4247fd0 100644
@@ -19,6 +19,7 @@ SRC_URI[sha256sum] = "0cfbe561676b92e5af3ddc7ac77452014e3da8885da66baec811e73541
 S = "${WORKDIR}/nspr-${PV}/nspr"
 
 RDEPENDS_${PN}-dev += "perl"
+TARGET_CC_ARCH += "${LDFLAGS}"
 
 TESTS = "runtests.pl \
     runtests.sh \
Signature · 1 line
1.8.1.4
author
#1 lore raw

Hi,

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

Thanks,

Sujith H

Quoted 32 lines · Sujith H

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.

---
 meta/recipes-support/nspr/nspr_4.10.bb | 1 +
 1 file changed, 1 insertion(+)
(quoted diff) +0 -0

nspr_4.10.bb
index fcecb95..4247fd0 100644

meta/recipes-support/nspr/nspr_4.10.bb +0 -0
@@ -19,6 +19,7 @@ SRC_URI[sha256sum] =

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

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

 TESTS = "runtests.pl \
     runtests.sh \

--
1.8.1.4

Signature · 5 lines
സുജിത് ഹരിദാസന്
Bangalore
<Project>Contributor to KDE project
http://fci.wikia.com/wiki/Anti-DRM-Campaign
<Blog> http://sujithh.info
#2 lore raw

Any update on this one. We need this patch to be merged in Yocto 1.5.

Noor

From: [email protected] [mailto:[email protected]] On Behalf Of sujith h
Sent: Wednesday, October 16, 2013 3:23 PM
To: [email protected]
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 <[email protected]<mailto:[email protected]>> 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.

---
 meta/recipes-support/nspr/nspr_4.10.bb<http://nspr_4.10.bb> | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-support/nspr/nspr_4.10.bb<http://nspr_4.10.bb> +1 -0
index fcecb95..4247fd0 100644
@@ -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 \

--
1.8.1.4

--
സുജിത് ഹരിദാസന്
Bangalore
<Project>Contributor to KDE project
http://fci.wikia.com/wiki/Anti-DRM-Campaign
<Blog> http://sujithh.info