[meta-freescale] Parser error and Unexpected EOF

soim maillist soimmaillist at gmail.com
Wed Oct 4 07:56:56 PDT 2017


Yes it contains LDFLAGS with -Wl,--hash-style=gnu.

I found the error, in the bb file in the second compile I added the LDFLAGS
AND CFLAGS instead of LDFLAGS only.

Thank you

On Wed, Oct 4, 2017 at 4:33 PM, Martin Jansa <martin.jansa at gmail.com> wrote:

> 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 <soimmaillist at gmail.com>
> 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 <martin.jansa at gmail.com>
>> 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 <soimmaillist at gmail.com>
>>> > 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 <ross.burton at intel.com
>>> >
>>> > > wrote:
>>> > >
>>> > >> On 4 October 2017 at 09:40, soim maillist <soimmaillist at gmail.com>
>>> 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
>>> > meta-freescale at yoctoproject.org
>>> > https://lists.yoctoproject.org/listinfo/meta-freescale
>>>
>>>
>>> --
>>> Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20171004/0f1824fe/attachment.html>


More information about the meta-freescale mailing list