Patchwork Fixing the warning

login
register
mail settings
Submitter Sujith H
Date Oct. 9, 2013, 4:25 a.m.
Message ID <1381292732-5090-1-git-send-email-sujith.h@gmail.com>
Download mbox | patch
Permalink /patch/59535/
State Accepted
Commit 98d9af299c6e110c7560f282f37f1f85c155213d
Headers show

Comments

Sujith H - Oct. 9, 2013, 4:25 a.m.
Warning: No GNU_HASH in the elf binary

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. 9, 2013, 4:36 a.m.
Hi,

I was getting lot of warning while building nspr recipe. The attachment in
the mail refers to the details of the warning.
The patch in my previous mail do fix these warning messages. The GCC used
by me is of version 4.8.1. In case of
more information is required let me know so that I can help better.

Thanks,

Sujith H


On Wed, Oct 9, 2013 at 9:55 AM, Sujith H <sujith.h@gmail.com> wrote:

> Warning: No GNU_HASH in the elf binary
>
> 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
>
>
Saul Wold - Oct. 15, 2013, 6:50 p.m.
On 10/08/2013 09:25 PM, Sujith H wrote:
> Warning: No GNU_HASH in the elf binary
>

The short commit message needs to be in the format similar to
nspr: Add LDFLAGS to TARGET_CC_ARCH to fix Warning

Then more details in the commit message.

Can you give more details about which target this is failing, I am not 
sure we have seen these.

1.5 is complete and will be released shortly.

Thanks
	Sau!

> 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.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 \
>
Sujith H - Oct. 16, 2013, 5:53 a.m.
Hi Sau


On Wed, Oct 16, 2013 at 12:20 AM, Saul Wold <sgw@linux.intel.com> wrote:

> On 10/08/2013 09:25 PM, Sujith H wrote:
>
>> Warning: No GNU_HASH in the elf binary
>>
>>
> The short commit message needs to be in the format similar to
> nspr: Add LDFLAGS to TARGET_CC_ARCH to fix Warning
>
> Then more details in the commit message.
>
> Can you give more details about which target this is failing, I am not
> sure we have seen these.
>


I had updated the patch. This scenario is observed in the imx6 sabrelite
board( based on arm). There are lot of warning messages
which come while building nspr. I had mentioned only 3 of them in my new
patch. Kindly let me know if more information is required,
so that I can help.


> 1.5 is complete and will be released shortly.
>

Ouch :(


>
> Thanks
>         Sau!
>
>
>  Signed-off-by: Sujith H <Sujith_Haridasan@mentor.com>
>> ---
>>   meta/recipes-support/nspr/nspr**_4.10.bb <http://nspr_4.10.bb> | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/meta/recipes-support/nspr/ns**pr_4.10.bb<http://nspr_4.10.bb>b/meta/recipes-support/nspr/
>> ns**pr_4.10.bb <http://nspr_4.10.bb>
>> index fcecb95..4247fd0 100644
>> --- a/meta/recipes-support/nspr/ns**pr_4.10.bb <http://nspr_4.10.bb>
>> +++ b/meta/recipes-support/nspr/ns**pr_4.10.bb <http://nspr_4.10.bb>
>> @@ -19,6 +19,7 @@ SRC_URI[sha256sum] = "**0cfbe561676b92e5af3ddc7ac77452*
>> *014e3da8885da66baec811e73541
>>   S = "${WORKDIR}/nspr-${PV}/nspr"
>>
>>   RDEPENDS_${PN}-dev += "perl"
>> +TARGET_CC_ARCH += "${LDFLAGS}"
>>
>>   TESTS = "runtests.pl \
>>       runtests.sh \
>>
>>

Thanks,

Sujith H

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 \