diff options
author | Khem Raj <raj.khem@gmail.com> | 2015-12-21 01:42:02 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-12 08:42:25 +0000 |
commit | 743ee049b86f479f2c60d67f1100b6be79aadaa0 (patch) | |
tree | e3e4f95df153193818d5a920ecdfebd4992366fe /meta | |
parent | 8a3deca4a4dae430e5434c2f082a4b46bfd5188a (diff) | |
download | poky-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.inc | 4 | ||||
-rw-r--r-- | meta/recipes-graphics/xorg-lib/libxcb/gcc-mips-pr68302-mips-workaround.patch | 22 |
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 | ||
15 | SRC_URI = "http://xcb.freedesktop.org/dist/libxcb-${PV}.tar.bz2 \ | 15 | SRC_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 | ||
19 | PACKAGES_DYNAMIC = "^libxcb-.*" | 21 | PACKAGES_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 @@ | |||
1 | Reduce debug info for xcb.c since on mips we run into a gcc5 bug | ||
2 | |||
3 | https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68302 | ||
4 | |||
5 | This patch is a workaround to get past the gcc bug until its resolved. | ||
6 | it should have minimal impact on libxcb while make it work. | ||
7 | |||
8 | Upstream-Status: Inappropriate [OE-Specific] | ||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | |||
11 | Index: 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 | ||