Patchwork nspr: Add LDFLAGS to TARGET_CC_ARCH to fix warning

login
register
mail settings
Submitter Sujith H
Date Oct. 16, 2013, 5:46 a.m.
Message ID <1381902395-24934-1-git-send-email-sujith.h@gmail.com>
Download mbox | patch
Permalink /patch/59987/
State New
Headers show

Comments

Sujith H - Oct. 16, 2013, 5:46 a.m.
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>
---
 meta/recipes-support/nspr/nspr_4.10.bb | 1 +
 1 file changed, 1 insertion(+)
Sujith H - Oct. 16, 2013, 10:22 a.m.
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> 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>
> ---
>  meta/recipes-support/nspr/nspr_4.10.bb | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta/recipes-support/nspr/nspr_4.10.bbb/meta/recipes-support/nspr/
> nspr_4.10.bb
> index fcecb95..4247fd0 100644
> --- a/meta/recipes-support/nspr/nspr_4.10.bb
> +++ b/meta/recipes-support/nspr/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 \
>      runtests.sh \
> --
> 1.8.1.4
>
>

Patch

diff --git a/meta/recipes-support/nspr/nspr_4.10.bb b/meta/recipes-support/nspr/nspr_4.10.bb
index fcecb95..4247fd0 100644
--- a/meta/recipes-support/nspr/nspr_4.10.bb
+++ b/meta/recipes-support/nspr/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 \
     runtests.sh \