summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2015-12-21 01:42:02 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-22 16:08:51 +0000
commit937b7fd44753fe1cc5a73e0810d02f9c422a0669 (patch)
tree78593fdb75ea7379c7004be429dc5886a25197e8 /meta/recipes-graphics
parent86c8b8b82e39ca4233ef0ae258dc0cb18734151c (diff)
downloadpoky-937b7fd44753fe1cc5a73e0810d02f9c422a0669.tar.gz
libxcb: Add a workaround for gcc5 bug on mips
This fixes build failure for libxcb on mips (From OE-Core rev: cad52140997e86c6fee4938369dfce21767f1a63) 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/recipes-graphics')
-rw-r--r--meta/recipes-graphics/xorg-lib/libxcb/gcc-mips-pr68302-mips-workaround.patch22
-rw-r--r--meta/recipes-graphics/xorg-lib/libxcb_1.11.1.bb4
2 files changed, 25 insertions, 1 deletions
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
diff --git a/meta/recipes-graphics/xorg-lib/libxcb_1.11.1.bb b/meta/recipes-graphics/xorg-lib/libxcb_1.11.1.bb
index 1f4852dd8c..6b944c9b0b 100644
--- a/meta/recipes-graphics/xorg-lib/libxcb_1.11.1.bb
+++ b/meta/recipes-graphics/xorg-lib/libxcb_1.11.1.bb
@@ -11,7 +11,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d763b081cb10c223435b01e00dc0aba7"
11 11
12SRC_URI = "http://xcb.freedesktop.org/dist/libxcb-${PV}.tar.bz2 \ 12SRC_URI = "http://xcb.freedesktop.org/dist/libxcb-${PV}.tar.bz2 \
13 file://xcbincludedir.patch \ 13 file://xcbincludedir.patch \
14 file://disable-check.patch" 14 file://disable-check.patch \
15 file://gcc-mips-pr68302-mips-workaround.patch \
16 "
15SRC_URI[md5sum] = "f97a65e6158775de518ac391935634c2" 17SRC_URI[md5sum] = "f97a65e6158775de518ac391935634c2"
16SRC_URI[sha256sum] = "b720fd6c7d200e5371affdb3f049cc8f88cff9aed942ff1b824d95eedbf69d30" 18SRC_URI[sha256sum] = "b720fd6c7d200e5371affdb3f049cc8f88cff9aed942ff1b824d95eedbf69d30"
17 19