summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2015-12-21 01:42:02 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-12 08:42:25 +0000
commit743ee049b86f479f2c60d67f1100b6be79aadaa0 (patch)
treee3e4f95df153193818d5a920ecdfebd4992366fe /meta
parent8a3deca4a4dae430e5434c2f082a4b46bfd5188a (diff)
downloadpoky-743ee049b86f479f2c60d67f1100b6be79aadaa0.tar.gz
libxcb: Add a workaround for gcc5 bug on mips
This fixes build failure for libxcb on mips (From OE-Core master rev: cad52140997e86c6fee4938369dfce21767f1a63) (From OE-Core rev: 175397f8ca2e9d311965ebe040b253830a98e409) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-graphics/xorg-lib/libxcb.inc4
-rw-r--r--meta/recipes-graphics/xorg-lib/libxcb/gcc-mips-pr68302-mips-workaround.patch22
2 files changed, 25 insertions, 1 deletions
diff --git a/meta/recipes-graphics/xorg-lib/libxcb.inc b/meta/recipes-graphics/xorg-lib/libxcb.inc
index fe31f20df0..e40ae77ab4 100644
--- a/meta/recipes-graphics/xorg-lib/libxcb.inc
+++ b/meta/recipes-graphics/xorg-lib/libxcb.inc
@@ -14,7 +14,9 @@ DEPENDS = "xcb-proto xproto libxau xcb-proto-native libpthread-stubs"
14 14
15SRC_URI = "http://xcb.freedesktop.org/dist/libxcb-${PV}.tar.bz2 \ 15SRC_URI = "http://xcb.freedesktop.org/dist/libxcb-${PV}.tar.bz2 \
16 file://xcbincludedir.patch \ 16 file://xcbincludedir.patch \
17 file://disable-check.patch" 17 file://disable-check.patch \
18 file://gcc-mips-pr68302-mips-workaround.patch \
19 "
18 20
19PACKAGES_DYNAMIC = "^libxcb-.*" 21PACKAGES_DYNAMIC = "^libxcb-.*"
20 22
diff --git a/meta/recipes-graphics/xorg-lib/libxcb/gcc-mips-pr68302-mips-workaround.patch b/meta/recipes-graphics/xorg-lib/libxcb/gcc-mips-pr68302-mips-workaround.patch
new file mode 100644
index 0000000000..698d038f90
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxcb/gcc-mips-pr68302-mips-workaround.patch
@@ -0,0 +1,22 @@
1Reduce debug info for xcb.c since on mips we run into a gcc5 bug
2
3https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68302
4
5This patch is a workaround to get past the gcc bug until its resolved.
6it should have minimal impact on libxcb while make it work.
7
8Upstream-Status: Inappropriate [OE-Specific]
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10
11Index: libxcb-1.11.1/src/Makefile.am
12===================================================================
13--- libxcb-1.11.1.orig/src/Makefile.am
14+++ libxcb-1.11.1/src/Makefile.am
15@@ -188,6 +188,7 @@ EXTSOURCES += xkb.c
16 if BUILD_XKB
17 lib_LTLIBRARIES += libxcb-xkb.la
18 libxcb_xkb_la_LDFLAGS = -version-info 1:0:0 -no-undefined
19+CFLAGS += -g1
20 libxcb_xkb_la_LIBADD = $(XCB_LIBS)
21 nodist_libxcb_xkb_la_SOURCES = xkb.c xkb.h
22 endif