[poky] svn fetcher crashes
matti kaasinen
matti.kaasinen at gmail.com
Thu Nov 3 01:16:43 PDT 2016
This issue is a bit off-the-original-topic, but as I found reason/solution
to this other problem, please find it below:
2016-11-02 16:13 GMT+02:00 matti kaasinen <matti.kaasinen at gmail.com>:
> Clearing workspace helped with that issue and I got new one(s): For the
> firstly: u-boot does not compile with my patches, but that is what I can
> dig. More harder one is that gcc does not produce symbols with -fpic or
> -FPIC as they did with fido - well with my recipes, anyway.
>
> Compiler commands in these utiity procedures to be packed to library are:
> ${CC} -c -fpic ${S}/mname.c
>
> When i test object (mname.o) compiled using command:
> objdump -t objname.o
>
> I'll get only a message telling that file format is elf32-little and no
> symbols in symbol table.
> Fido compilation with same compiler options give same file format, but
> also symbols. Should add more compiler options or what else am I doing
> wrong?
>
In fact it did not matter if there was -fpic or not. Binary in working
folder was ok. However, file in staging directory was not.
File commands gave slightly different results in those two locations:
working directory:
objname.o: ELF 32-bit LSB relocatable, ARM, EABI5 version 1 (SYSV), not
stripped
staging directory:
objname.o: ELF 32-bit LSB relocatable, ARM, EABI5 version 1 (SYSV),
stripped
So, the reason:
The command I used in my recipe to copy object to staging directory was:
install -m 0755 ${S}/objname.o ${D}${STAGE}/
It seems that install command in bitbake recipe has changed since fido
version. Execute acl triggered something to make stripping. However,
stripping does not happen if I remove execute acl like on the line below:
install -m 0644 ${S}/objname.o ${D}${STAGE}/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20161103/68032df9/attachment.html>
More information about the poky
mailing list