Patchwork [2/2] pixman: disable iwmmxt

login
register
mail settings
Submitter Khem Raj
Date March 23, 2012, 2:56 a.m.
Message ID <1332471418-31459-2-git-send-email-raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/24223/
State Accepted
Commit 413449897eed0b7382ae52d59b5e289958220ad5
Headers show

Comments

Khem Raj - March 23, 2012, 2:56 a.m.
Pixman build system is borked and always wants iwmmxt intrinsics
it errors like below

| ../pixman/.libs/libpixman-1.so: error: undefined reference to
'__builtin_arm_wand'
| ../pixman/.libs/libpixman-1.so: error: undefined reference to
'__builtin_arm_wsrlhi'
| ../pixman/.libs/libpixman-1.so: error: undefined reference to
'__builtin_arm_walign'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-graphics/xorg-lib/pixman_0.25.2.bb |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
Richard Purdie - March 23, 2012, 12:04 p.m.
On Thu, 2012-03-22 at 19:56 -0700, Khem Raj wrote:
> Pixman build system is borked and always wants iwmmxt intrinsics
> it errors like below
> 
> | ../pixman/.libs/libpixman-1.so: error: undefined reference to
> '__builtin_arm_wand'
> | ../pixman/.libs/libpixman-1.so: error: undefined reference to
> '__builtin_arm_wsrlhi'
> | ../pixman/.libs/libpixman-1.so: error: undefined reference to
> '__builtin_arm_walign'
> 
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  meta/recipes-graphics/xorg-lib/pixman_0.25.2.bb |    6 +++++-
>  1 files changed, 5 insertions(+), 1 deletions(-)

Merged to master, thanks!

Richard
Martin Jansa - March 23, 2012, 12:08 p.m.
On Fri, Mar 23, 2012 at 12:04:28PM +0000, Richard Purdie wrote:
> On Thu, 2012-03-22 at 19:56 -0700, Khem Raj wrote:
> > Pixman build system is borked and always wants iwmmxt intrinsics
> > it errors like below
> > 
> > | ../pixman/.libs/libpixman-1.so: error: undefined reference to
> > '__builtin_arm_wand'
> > | ../pixman/.libs/libpixman-1.so: error: undefined reference to
> > '__builtin_arm_wsrlhi'
> > | ../pixman/.libs/libpixman-1.so: error: undefined reference to
> > '__builtin_arm_walign'
> > 
> > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > ---
> >  meta/recipes-graphics/xorg-lib/pixman_0.25.2.bb |    6 +++++-
> >  1 files changed, 5 insertions(+), 1 deletions(-)
> 
> Merged to master, thanks!

khem, will you send patch for meta-oe .bbaappend so we don't have it
twice in OECONF?

Cheers,
Khem Raj - March 23, 2012, 1:34 p.m.
On Fri, Mar 23, 2012 at 5:08 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
>
>
> khem, will you send patch for meta-oe .bbaappend so we don't have it
> twice in OECONF?
>

yes eventually although I am short on time. So unless someone beats me
to it I will
> Cheers,

Patch

diff --git a/meta/recipes-graphics/xorg-lib/pixman_0.25.2.bb b/meta/recipes-graphics/xorg-lib/pixman_0.25.2.bb
index 4cff6f9..bf239d9 100644
--- a/meta/recipes-graphics/xorg-lib/pixman_0.25.2.bb
+++ b/meta/recipes-graphics/xorg-lib/pixman_0.25.2.bb
@@ -14,9 +14,13 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=14096c769ae0cbb5fcb94ec468be11b3 \
                    "
 DEPENDS += "zlib libpng"
 
+PR = "r1"
+
 PE = "1"
 
-EXTRA_OECONF="--disable-gtk"
+IWMMXT = "--disable-arm-iwmmxt"
+
+EXTRA_OECONF="--disable-gtk ${IWMMXT}"
 
 SRC_URI[md5sum] = "8d5722f6f61db50034303947a40f5e7b"
 SRC_URI[sha256sum] = "06d83ce5a5f2f8ab3761e88a2de1576b6596bb436190166a242b9d75a68bc1d8"