Skip to contentSkip to conversation

mesa: fix cross compile failure

PATCH In review Kang Kai 2 participants 4 messages Nov 16, 2011 – Nov 18, 2011

lore
Share & tools
lore

Kang Kai

author
#0 lore raw

cover mesa: fix cross compile failure

Hi All,

the bin/mklib file in mesa source code uses commands "ar ranlib" on build machine, this causes build failed on some platform.

Thanks Khem, Martin and Koen's review for previous version of this serious patch.

The following changes since commit d8193f19fe94224089b0e5fc2026a843f7bd0709:

opkg: Ensure we use the uname/gname fields when extracting tarballs (2011-11-14 11:15:45 +0000)

are available in the git repository at:
git://git.pokylinux.org/poky-contrib kangkai/distro
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/distro

Kang Kai (1):
mesa: fix cross compile failure

 meta/recipes-graphics/mesa/mesa-7.11.inc           |    1 +
 meta/recipes-graphics/mesa/mesa-common.inc         |    2 +-
 .../mesa/mesa/crossfix-mklib.patch                 |   71 ++++++++++++++++++++
 3 files changed, 73 insertions(+), 1 deletions(-)
 create mode 100644 meta/recipes-graphics/mesa/mesa/crossfix-mklib.patch
Signature · 1 line
1.7.5.4
author
#1 lore raw

PATCH 1/1 mesa: fix cross compile failure

the bin/mklib file in mesa source code uses commands "ar ranlib" on build machine, this causes build failed on some platform.

---
 meta/recipes-graphics/mesa/mesa-7.11.inc           |    1 +
 meta/recipes-graphics/mesa/mesa-common.inc         |    2 +-
 .../mesa/mesa/crossfix-mklib.patch                 |   71 ++++++++++++++++++++
 3 files changed, 73 insertions(+), 1 deletions(-)
 create mode 100644 meta/recipes-graphics/mesa/mesa/crossfix-mklib.patch
meta/recipes-graphics/mesa/mesa-7.11.inc +1 -0
index 746b764..2f14ed4 100644
@@ -2,6 +2,7 @@ DEPENDS += "mesa-dri-glsl-native"
 
 SRC_URI += "file://uclibc.patch \
             file://crossfix.patch \
+            file://crossfix-mklib.patch \
            "
 SRC_URI[md5sum] = "ff03aca82d0560009a076a87c888cf13"
 SRC_URI[sha256sum] = "f8bf37a00882840a3e3d327576bc26a79ae7f4e18fe1f7d5f17a5b1c80dd7acf"
meta/recipes-graphics/mesa/mesa-common.inc +1 -1
index 06ebb75..1d9c894 100644
@@ -12,7 +12,7 @@ SECTION = "x11"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://docs/license.html;md5=7a3373c039b6b925c427755a4f779c1d"
 
-INC_PR = "r12"
+INC_PR = "r13"
 PE = "2"
 
 SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2"
meta/recipes-graphics/mesa/mesa/crossfix-mklib.patch new file +71 -0

71 lines not on this page · raw message

Signature · 1 line
1.7.5.4
#2 lore raw
Quoted 2 lines · Kang Kai

the bin/mklib file in mesa source code uses commands "ar ranlib" on build machine, this causes build failed on some platform.

Hi,

you added CC and CXX variables for linking too, shouldn't that mentioned in the commit msg too?

Bye Henning

author
#3 lore raw
Quoted 3 lines · Henning Heinold
Quoted 2 lines · Kang Kai

the bin/mklib file in mesa source code uses commands "ar ranlib" on build machine, this causes build failed on some platform.

Hi Bye,

Quoted 6 lines

Hi,

you added CC and CXX variables for linking too, shouldn't that mentioned in the commit msg too?

Fine, I'll add this msg

Thanks,
Kai