Check run.do_compile and log.do_compile to verify that LDFLAGS were
correctly expanded in your build and that it contains -Wl,--hash-style=gnu

On Wed, Oct 4, 2017 at 4:26 PM, soim maillist <[email protected]>
wrote:

> @MartinJansa : If you have a better solution go ahead. For the moment I
> just have this one...
>
> On Wed, Oct 4, 2017 at 4:18 PM, Martin Jansa <[email protected]>
> wrote:
>
>> On Wed, Oct 04, 2017 at 03:56:12PM +0200, soim maillist wrote:
>> > Adding : *INSANE_SKIP_${PN} = "ldflags" *to my previous modified bb
>> layer did
>> > the trick !
>>
>> Hiding the issues and leaving it incorrect without any warning, shouldn't
>> be
>> called "the trick" it's just pure laziness.
>>
>> > On Wed, Oct 4, 2017 at 2:21 PM, soim maillist <[email protected]>
>> > wrote:
>> >
>> > > I changed my bb file like so :
>> > >
>> > >
>> > >
>> > > *${CC} ${CFLAGS} ${LDFLAGS} -shared -Wl,-soname,${WORKDIR}/libgpio
>> .so.1
>> > > \        -o ${WORKDIR}/libgpio.so.1.0.1 gpio -lc*
>> > >
>> > > I have the same issue
>> > > *.*
>> > >
>> > > On Wed, Oct 4, 2017 at 12:43 PM, Burton, Ross <[email protected]>
>> > > wrote:
>> > >
>> > >> On 4 October 2017 at 09:40, soim maillist <[email protected]>
>> wrote:
>> > >>
>> > >>> I had an initial error *: do_package_qa: QA Issue: No GNU_HASH in
>> the
>> > >>> elf binary:*
>> > >>>
>> > >>
>> > >> You're not passing ${LDFLAGS} when you link (the second compile).
>> > >>
>> > >> Ross
>> > >>
>> > >
>> > >
>>
>> > --
>> > _______________________________________________
>> > meta-freescale mailing list
>> > [email protected]
>> > https://lists.yoctoproject.org/listinfo/meta-freescale
>>
>>
>> --
>> Martin 'JaMa' Jansa     jabber: [email protected]
>>
>
>
-- 
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to