> On Oct 19, 2015, at 5:49 AM, Carlos Rafael Giani <[email protected]> 
> wrote:
> 
> Strange. This built fine for me, with the current master and MACHINE= 
> qemux86-64 . Nevertheless, I'll add a CFLAGS_append = " -fPIC " line.

hmm, do you mean x86_64 or x86 qemu ? I would understand if it worked with 
x86/32bit since x86 dereferences GOT entry directly, whereas x86_64 uses 
PC-relative offset to load global data and since global symbols can be 
overridden PC-relative offset won’t work for .so on x86_64 and thats what you 
are seeing in build break message when its not built with PIC. With -fPIC 
compiler would turn this into  pointer to GOT entry which then can be 
dereferenced.

So I would have expected it to fail in same way for qemux86-64 but might 
succeed on qemux86



> 
> On 10/08/2015 12:25 PM, Martin Jansa wrote:
>> On Wed, Sep 23, 2015 at 03:56:04PM +0200, Carlos Rafael Giani wrote:
>>> Signed-off-by: Carlos Rafael Giani <[email protected]>
>>> ---
>>>  meta-multimedia/recipes-multimedia/aalib/aalib_1.4rc4.bb | 16 
>>> ++++++++++++++++
>>>  1 file changed, 16 insertions(+)
>>>  create mode 100644 meta-multimedia/recipes-multimedia/aalib/aalib_1.4rc4.bb
>>> 
>>> diff --git a/meta-multimedia/recipes-multimedia/aalib/aalib_1.4rc4.bb 
>>> b/meta-multimedia/recipes-multimedia/aalib/aalib_1.4rc4.bb
>>> new file mode 100644
>>> index 0000000..06c4e5e
>>> --- /dev/null
>>> +++ b/meta-multimedia/recipes-multimedia/aalib/aalib_1.4rc4.bb
>>> @@ -0,0 +1,16 @@
>>> +DESCRIPTION = "AAlib is an portable library for rendering graphics as 
>>> ASCII art."
>>> +HOMEPAGE = "http://aa-project.sourceforge.net/aalib/";
>>> +SECTION = "libs"
>>> +
>>> +DEPENDS = "ncurses"
>>> +
>>> +LICENSE = "LGPLv2"
>>> +LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605"
>>> +
>>> +S = "${WORKDIR}/aalib-1.4.0"
>> Fails to build
>> http://errors.yoctoproject.org/Errors/Details/20262/
>> 
>>> +
>>> +SRC_URI = "${SOURCEFORGE_MIRROR}/aa-project/aalib-${PV}.tar.gz"
>>> +SRC_URI[md5sum] = "d5aa8e9eae07b7441298b5c30490f6a6"
>>> +SRC_URI[sha256sum] = 
>>> "0b214b98850f559e0a9ef7282de2ff336b094e1aacedefff3ffa50f07711db58"
>>> +
>>> +inherit autotools
>>> --
>>> 1.9.1
>>> 
>>> --
>>> _______________________________________________
>>> Openembedded-devel mailing list
>>> [email protected]
>>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>> 
>> 
> 
> --
> _______________________________________________
> Openembedded-devel mailing list
> [email protected]
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to