Fix world build with gcc-5
cover Fix world build with gcc-5
I saw that my prior pull request has not yet been picked so I took opportunity to update it with few more commits and remove the commits not needed for world builds out. With these world builds on OE-Core are succeeding for all supported qemu machines The gcc upgrade is not yet proposed since we are still in RC phase and as soon as 5.1.0 is released I will propose it for OE-Core
Khem Raj (14):
glibc, packagegroup-self-hosted, packagegroup-core-lsb: Consider
non-glibc libcs
insserv: Fix build with gcc5 and clang
xserver-xorg: Fix build with gcc-5
u-boot-mkimage: Backport fix from upstream to fix build with gcc-5
mdadm: Fix inline semantics
lttng-tools: Add extern qualifier to declarations in .h file
subversion: Add -P to CPPFLAGS
gnome-icon-theme: Needs nls.m4
gtk+: Correct function prototype
grub: Backport const qualifier fix for gcc-5
gummiboot: upgrade 43 -> 48+git
pkgconfig: Upgrade to latest git tip
fontconfig: Upgrade to 2.11.93
fontconfig: Fix pkgconfig file generation to not have absolute paths
..._dhcp_vendor-Add-missing-const-qualifiers.patch | 33 ++
meta/recipes-bsp/grub/grub2.inc | 1 +
.../gummiboot/gummiboot/fix-objcopy.patch | 28 +-
meta/recipes-bsp/gummiboot/gummiboot_git.bb | 4 +-
meta/recipes-bsp/u-boot/u-boot-mkimage/gcc5.patch | 91 ++++
meta/recipes-bsp/u-boot/u-boot-mkimage_2015.01.bb | 4 +-
meta/recipes-core/glibc/glibc_2.21.bb | 8 +-
.../packagegroups/packagegroup-self-hosted.bb | 7 +-
.../161_bts777914_fix_undeclared_identifier.patch | 36 ++
meta/recipes-devtools/insserv/insserv_1.14.0.bb | 1 +
...Strip-system-library-directories-reliably.patch | 30 --
.../pkgconfig/pkgconfig-0.28/autofoo.patch | 528 ---------------------
.../pkgconfig-0.28/obsolete_automake_macros.patch | 16 -
meta/recipes-devtools/pkgconfig/pkgconfig.inc | 6 +-
.../pkgconfig/pkgconfig/autofoo.patch | 528 ---------------------
.../fix-glib-configure-libtool-usage.patch | 0
meta/recipes-devtools/pkgconfig/pkgconfig_0.28.bb | 11 -
meta/recipes-devtools/pkgconfig/pkgconfig_git.bb | 42 +-
.../subversion/subversion_1.8.11.bb | 3 +-
meta/recipes-extended/mdadm/files/inline.patch | 39 ++
meta/recipes-extended/mdadm/mdadm_3.3.2.bb | 1 +
.../packagegroups/packagegroup-core-lsb.bb | 9 +
.../recipes-gnome/gnome/gnome-icon-theme_2.31.0.bb | 2 +-
.../gtk+/gtk+/strict-prototypes.patch | 24 +
meta/recipes-gnome/gtk+/gtk+_2.24.27.bb | 1 +
.../fontconfig/revert-static-pkgconfig.patch | 20 +
...{fontconfig_2.11.1.bb => fontconfig_2.11.93.bb} | 7 +-
...sdksyms.sh-Make-sdksyms.sh-work-with-gcc5.patch | 50 ++
.../xorg-xserver/xserver-xorg_1.16.3.bb | 1 +
.../lttng/lttng-tools/extern-decls.patch | 442 +++++++++++++++++
meta/recipes-kernel/lttng/lttng-tools_2.6.0.bb | 1 +
31 files changed, 794 insertions(+), 1180 deletions(-)
create mode 100644 meta/recipes-bsp/grub/files/0001-parse_dhcp_vendor-Add-missing-const-qualifiers.patch
create mode 100644 meta/recipes-bsp/u-boot/u-boot-mkimage/gcc5.patch
create mode 100644 meta/recipes-devtools/insserv/files/161_bts777914_fix_undeclared_identifier.patch
delete mode 100644 meta/recipes-devtools/pkgconfig/pkgconfig-0.28/0001-Strip-system-library-directories-reliably.patch
delete mode 100644 meta/recipes-devtools/pkgconfig/pkgconfig-0.28/autofoo.patch
delete mode 100644 meta/recipes-devtools/pkgconfig/pkgconfig-0.28/obsolete_automake_macros.patch
delete mode 100644 meta/recipes-devtools/pkgconfig/pkgconfig/autofoo.patch
rename meta/recipes-devtools/pkgconfig/{pkgconfig-0.28 => pkgconfig}/fix-glib-configure-libtool-usage.patch (100%)
delete mode 100644 meta/recipes-devtools/pkgconfig/pkgconfig_0.28.bb
create mode 100644 meta/recipes-extended/mdadm/files/inline.patch
create mode 100644 meta/recipes-gnome/gtk+/gtk+/strict-prototypes.patch
create mode 100644 meta/recipes-graphics/fontconfig/fontconfig/revert-static-pkgconfig.patch
rename meta/recipes-graphics/fontconfig/{fontconfig_2.11.1.bb => fontconfig_2.11.93.bb} (83%)
create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xorg/0001-sdksyms.sh-Make-sdksyms.sh-work-with-gcc5.patch
create mode 100644 meta/recipes-kernel/lttng/lttng-tools/extern-decls.patchSignature · 1 line
2.1.4
PATCH 1/14 glibc, packagegroup-self-hosted, packagegroup-core-lsb: Consider non-glibc libcs
Make skipping expression simpler to check for given libc Make sure glibc specific items are covered with right override
--- meta/recipes-core/glibc/glibc_2.21.bb | 8 +++----- meta/recipes-core/packagegroups/packagegroup-self-hosted.bb | 7 ++++--- meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb | 9 +++++++++ 3 files changed, 16 insertions(+), 8 deletions(-)
meta/recipes-core/glibc/glibc_2.21.bb +3 -5
@@ -68,11 +68,9 @@ GLIBC_BROKEN_LOCALES = " _ER _ET so_ET yn_ER sid_ET tr_TR mn_MN gez_ET gez_ER bn # this helps in easing out parsing for non-glibc system libraries # python __anonymous () { - import re - notglibc = (re.match('.*uclibc$', d.getVar('TARGET_OS', True)) != None) or (re.match('.*musl$', d.getVar('TARGET_OS', True)) != None) - if notglibc: - raise bb.parse.SkipPackage("incompatible with target %s" % - d.getVar('TARGET_OS', True)) + if d.getVar('TCLIBC', True) != "glibc": + raise bb.parse.SkipPackage("incompatible with %s C library" % + d.getVar('TCLIBC', True)) } EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \
meta/recipes-core/packagegroups/packagegroup-self-hosted.bb +4 -3
@@ -62,7 +62,6 @@ RRECOMMENDS_packagegroup-self-hosted-host-tools = "\ kernel-module-iptable-filter \ " -# glibc-utils: for rpcgen RDEPENDS_packagegroup-self-hosted-sdk = "\ autoconf \ automake \
@@ -73,7 +72,6 @@ RDEPENDS_packagegroup-self-hosted-sdk = "\ cpp \ cpp-symlinks \ distcc \ - glibc-utils \ glibc-gconv-ibm850 \ file \ findutils \
@@ -98,7 +96,10 @@ RDEPENDS_packagegroup-self-hosted-sdk = "\ quilt \ sed \ " - +# glibc-utils: for rpcgen +RDEPENDS_packagegroup-self-hosted-sdk_append_libc-glibc = "\ + glibc-utils \ + " RDEPENDS_packagegroup-self-hosted-debug = " \ gdb \ gdbserver \
meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb +9 -0
@@ -9,6 +9,15 @@ LICENSE = "MIT" inherit packagegroup +# +# We will skip parsing this packagegeoup for non-glibc systems +# +python __anonymous () { + if d.getVar('TCLIBC', True) != "glibc": + raise bb.parse.SkipPackage("incompatible with %s C library" % + d.getVar('TCLIBC', True)) +} + PACKAGES = "\ packagegroup-core-lsb \ packagegroup-core-sys-extended \
Signature · 1 line
2.1.4
PATCH 2/14 insserv: Fix build with gcc5 and clang
Kill 2 bugs with one patch
| insserv.c:997:5: note: each undeclared identifier is reported only once for each function it appears in
| insserv.c:997:15: error: expected ';' before 'char' | extension char buf[strlen(myname)+2+strlen(fmt)+1]; | ^ | insserv.c: In function 'main': | insserv.c:2379:5: error: 'extension' undeclared (first use in this function) | extension char * argr[argc]; | ^ | insserv.c:2379:15: error: expected ';' before 'char' | extension char * argr[argc]; | ^ | insserv.c:2401:2: error: 'argr' undeclared (first use in this function) | argr[c] = (char*)0; | ^
--- .../161_bts777914_fix_undeclared_identifier.patch | 36 ++++++++++++++++++++++ meta/recipes-devtools/insserv/insserv_1.14.0.bb | 1 + 2 files changed, 37 insertions(+) create mode 100644 meta/recipes-devtools/insserv/files/161_bts777914_fix_undeclared_identifier.patch
meta/recipes-devtools/insserv/files/161_bts777914_fix_undeclared_identifier.patch new file +36 -0
@@ -0,0 +1,36 @@ +Upstream-Status: Pending + +insserv (1.14.0-5.1) UNRELEASED; urgency=low + + * Non-maintainer upload. + * moving definition of "extension" in listing.h outside of + an if loop with condition related to __STDC_VERSION__. + * I observed that this gets build with gcc-4.9.2, as for gcc + __STDC_VERSION__ is not defined. + * I got these error while using clang to build this package. + * I tested it with clang-3.5(__STDC_VERSION__ 199901L) and + clang 3.7(__STDC_VERSION__ 201112L) and getting same error + described in in Bug #777914. + + -- Mohit Bhakkad <[email protected]> Sat, 04 Apr 2015 19:14:48 +0000 + + insserv (1.14.0-5) unstable; urgency=low + + * Add +mountall-bootclean to $local_fs virtual facility definition in +Index: insserv-1.14.0/listing.h +=================================================================== +--- insserv-1.14.0.orig/listing.h ++++ insserv-1.14.0/listing.h +@@ -47,9 +47,9 @@ typedef unsigned int uint; + # ifndef asm + # define asm __asm__ + # endif +-# ifndef extension +-# define extension __extension__ +-# endif ++#endif ++#ifndef extension ++# define extension __extension__ + #endif + #ifndef attribute + # define attribute(attr) __attribute__(attr)
meta/recipes-devtools/insserv/insserv_1.14.0.bb +1 -0
@@ -11,6 +11,7 @@ PR = "r1" SRC_URI = "ftp://ftp.suse.com/pub/projects/init/${BPN}-${PV}.tar.bz2 \ file://makefile.patch \ file://disable_runtests.patch \ + file://161_bts777914_fix_undeclared_identifier.patch \ file://insserv.conf \ file://run-ptest \ "
Signature · 1 line
2.1.4
Re: [PATCH 02/14] insserv: Fix build with gcc5 and clang
Quoted 1 line · Khem Raj
Kill 2 bugs with one patch
I don't mind the patch but does anyone use inserv? Should we remove it?
Cheers,
Richard
Re: [PATCH 02/14] insserv: Fix build with gcc5 and clang
Quoted 4 lines · Richard Purdie
Quoted 1 line · Khem Raj
Kill 2 bugs with one patch
I don't mind the patch but does anyone use inserv? Should we remove it?
I had a usecase with daisy but it ended there. So I am ok to remove it.
Quoted 5 lines
Cheers,
Richard
PATCH 3/14 xserver-xorg: Fix build with gcc-5
In reply to Khem RajBackport a patch from fedora details are in patch header
--- ...sdksyms.sh-Make-sdksyms.sh-work-with-gcc5.patch | 50 ++++++++++++++++++++++ .../xorg-xserver/xserver-xorg_1.16.3.bb | 1 + 2 files changed, 51 insertions(+) create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xorg/0001-sdksyms.sh-Make-sdksyms.sh-work-with-gcc5.patch
meta/recipes-graphics/xorg-xserver/xserver-xorg/0001-sdksyms.sh-Make-sdksyms.sh-work-with-gcc5.patch new file +50 -0
@@ -0,0 +1,50 @@ +Upstream-Status: Pending + +From 612eb45a2e7a0b35cc3790870e6d0cc42eb50c74 Mon Sep 17 00:00:00 2001 +From: Hans de Goede <[email protected]> +Date: Wed, 11 Feb 2015 16:26:40 +0100 +Subject: [PATCH] sdksyms.sh: Make sdksyms.sh work with gcc5. + +gcc5's cpp inserts patterns like this: + +extern + __attribute__((visibility("default"))) + int WaitForSomething(int * + ); + +This patch make sdksyms.sh work with this. Note my awk skills are weak, so +there likely is a better way to deal with this. + +Signed-off-by: Hans de Goede <[email protected]> +--- + hw/xfree86/sdksyms.sh | 17 +++++++++++++++++ + 1 file changed, 17 insertions(+) + +Index: xorg-server-1.16.3/hw/xfree86/sdksyms.sh +=================================================================== +--- xorg-server-1.16.3.orig/hw/xfree86/sdksyms.sh ++++ xorg-server-1.16.3/hw/xfree86/sdksyms.sh +@@ -353,6 +353,23 @@ BEGIN { + if (sdk) { + n = 3; + ++ # detect the following gcc5 cpp pattern and skip it: ++ # extern ++ # # 320 "../../include/os.h" 3 4 ++ # __attribute__((visibility("default"))) ++ # # 320 "../../include/os.h" ++ # Note in this case the "extern " or "extern void " always has ++ # a trailing space ++ if ($0 ~ "^extern.* $") { ++ getline; ++ getline; ++ getline; ++ getline; ++ n = 1; ++ while ($n == " ") ++ n++; ++ } ++ + # skip attribute, if any + while ($n ~ /^(__attribute__|__global)/ || + # skip modifiers, if any
meta/recipes-graphics/xorg-xserver/xserver-xorg_1.16.3.bb +1 -0
@@ -9,6 +9,7 @@ SRC_URI += "file://fix_open_max_preprocessor_error.patch \ file://0001-xkb-Don-t-swap-XkbSetGeometry-data-in-the-input-buff.patch \ file://0001-xkb-Check-strings-length-against-request-size.patch \ file://0001-use-__GLIBC__-guard-for-glibc-specific-code.patch \ + file://0001-sdksyms.sh-Make-sdksyms.sh-work-with-gcc5.patch \ " SRC_URI[md5sum] = "afd93977235584a9caa7528a737c1b52"
Signature · 1 line
2.1.4
Re: [PATCH 03/14] xserver-xorg: Fix build with gcc-5
Quoted 2 lines · Khem Raj
+Upstream-Status: Pending
Patches should also have *your* signed-off-by in, so we know who originally proposed the patch.
Ross
Re: [PATCH 03/14] xserver-xorg: Fix build with gcc-5
Oh, and upstream has merged a different fix:
Ross
Quoted 11 lines · Ross
Quoted 2 lines · Khem Raj
+Upstream-Status: Pending
Patches should also have *your* signed-off-by in, so we know who originally proposed the patch.
Ross
Re: [PATCH 03/14] xserver-xorg: Fix build with gcc-5
Quoted 7 lines · Ross
Oh, and upstream has merged a different fix:
http://cgit.freedesktop.org/xorg/xserver/commit/hw/xfree86/sdksyms.sh?id=21b896939c5bb242f3aacc37baf12379e43254b6 <http://cgit.freedesktop.org/xorg/xserver/commit/hw/xfree86/sdksyms.sh?id=21b896939c5bb242f3aacc37baf12379e43254b6>
thats the proper fix IMO. Let me see if I can test a back port of it today.
Quoted 11 lines
Ross
On 27 April 2015 at 15:58, Burton, Ross <[email protected] <mailto:[email protected]>> wrote:
On 24 April 2015 at 04:35, Khem Raj <[email protected] <mailto:[email protected]>> wrote:
+Upstream-Status: PendingPatches should also have *your* signed-off-by in, so we know who originally proposed the patch.
Ross
PATCH 4/14 u-boot-mkimage: Backport fix from upstream to fix build with gcc-5
In reply to Khem Raj--- meta/recipes-bsp/u-boot/u-boot-mkimage/gcc5.patch | 91 +++++++++++++++++++++++ meta/recipes-bsp/u-boot/u-boot-mkimage_2015.01.bb | 4 +- 2 files changed, 94 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-bsp/u-boot/u-boot-mkimage/gcc5.patch
meta/recipes-bsp/u-boot/u-boot-mkimage/gcc5.patch new file +91 -0
@@ -0,0 +1,91 @@ +Upstream-Status: Backport + +From 478b02f1a7043b673565075ea5016376f3293b23 Mon Sep 17 00:00:00 2001 +From: Hans de Goede <[email protected]> +Date: Sat, 7 Feb 2015 22:52:40 +0100 +Subject: [PATCH] Add linux/compiler-gcc5.h to fix builds with gcc5 + +Add linux/compiler-gcc5/h from the kernel sources at: + +commit 5631b8fba640a4ab2f8a954f63a603fa34eda96b +Author: Steven Noonan <[email protected]> +Date: Sat Oct 25 15:09:42 2014 -0700 + + compiler/gcc4+: Remove inaccurate comment about 'asm goto' miscompiles + +Signed-off-by: Hans de Goede <[email protected]> +--- + include/linux/compiler-gcc5.h | 65 +++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 65 insertions(+) + create mode 100644 include/linux/compiler-gcc5.h + +Index: git/include/linux/compiler-gcc5.h +=================================================================== +--- /dev/null ++++ git/include/linux/compiler-gcc5.h +@@ -0,0 +1,65 @@ ++#ifndef __LINUX_COMPILER_H ++#error "Please don't include <linux/compiler-gcc5.h> directly, include <linux/compiler.h> instead." ++#endif ++ ++#define __used __attribute__((__used__)) ++#define __must_check __attribute__((warn_unused_result)) ++#define __compiler_offsetof(a, b) __builtin_offsetof(a, b) ++ ++/* Mark functions as cold. gcc will assume any path leading to a call ++ to them will be unlikely. This means a lot of manual unlikely()s ++ are unnecessary now for any paths leading to the usual suspects ++ like BUG(), printk(), panic() etc. [but let's keep them for now for ++ older compilers] ++ ++ Early snapshots of gcc 4.3 don't support this and we can't detect this ++ in the preprocessor, but we can live with this because they're unreleased. ++ Maketime probing would be overkill here. ++ ++ gcc also has a __attribute__((__hot__)) to move hot functions into ++ a special section, but I don't see any sense in this right now in ++ the kernel context */ ++#define __cold __attribute__((__cold__)) ++ ++#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) ++ ++#ifndef __CHECKER__ ++# define __compiletime_warning(message) __attribute__((warning(message))) ++# define __compiletime_error(message) __attribute__((error(message))) ++#endif /* __CHECKER__ */ ++ ++/* ++ * Mark a position in code as unreachable. This can be used to ++ * suppress control flow warnings after asm blocks that transfer ++ * control elsewhere. ++ * ++ * Early snapshots of gcc 4.5 don't support this and we can't detect ++ * this in the preprocessor, but we can live with this because they're ++ * unreleased. Really, we need to have autoconf for the kernel. ++ */ ++#define unreachable() __builtin_unreachable() ++ ++/* Mark a function definition as prohibited from being cloned. */ ++#define __noclone __attribute__((__noclone__)) ++ ++/* ++ * Tell the optimizer that something else uses this function or variable. ++ */ ++#define __visible __attribute__((externally_visible)) ++ ++/* ++ * GCC 'asm goto' miscompiles certain code sequences: ++ * ++ * http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58670 ++ * ++ * Work it around via a compiler barrier quirk suggested by Jakub Jelinek. ++ * ++ * (asm goto is automatically volatile - the naming reflects this.) ++ */ ++#define asm_volatile_goto(x...) do { asm goto(x); asm (""); } while (0) ++ ++#ifdef CONFIG_ARCH_USE_BUILTIN_BSWAP ++#define __HAVE_BUILTIN_BSWAP32__ ++#define __HAVE_BUILTIN_BSWAP64__ ++#define __HAVE_BUILTIN_BSWAP16__ ++#endif /* CONFIG_ARCH_USE_BUILTIN_BSWAP */
meta/recipes-bsp/u-boot/u-boot-mkimage_2015.01.bb +3 -1
@@ -12,7 +12,9 @@ SRCREV = "92fa7f53f1f3f03296f8ffb14bdf1baefab83368" PV = "v2015.01+git${SRCPV}" -SRC_URI = "git://git.denx.de/u-boot.git;branch=master" +SRC_URI = "git://git.denx.de/u-boot.git;branch=master \ + file://gcc5.patch \ + " S = "${WORKDIR}/git"
Signature · 1 line
2.1.4
PATCH 5/14 mdadm: Fix inline semantics
In reply to Khem RajWith gcc-5 defaulting to gnu11 C we need to follow c99 inline semantics
--- meta/recipes-extended/mdadm/files/inline.patch | 39 ++++++++++++++++++++++++++ meta/recipes-extended/mdadm/mdadm_3.3.2.bb | 1 + 2 files changed, 40 insertions(+) create mode 100644 meta/recipes-extended/mdadm/files/inline.patch
meta/recipes-extended/mdadm/files/inline.patch new file +39 -0
@@ -0,0 +1,39 @@ +with gnu11 turning on a default with gcc-5 we have to abide by new inline semantics +using 'inline' and using is in same translation unit means an external definition has to exist +same like "external inline" in gnu89, we simply make the functions static inline since they +are just meant to be used in this file + +Upstream-Status: Pending +Signed-off-by: Khem Raj <[email protected]> + +Index: mdadm-3.3.2/bitmap.c +=================================================================== +--- mdadm-3.3.2.orig/bitmap.c ++++ mdadm-3.3.2/bitmap.c +@@ -20,7 +20,7 @@ + + #include "mdadm.h" + +-inline void sb_le_to_cpu(bitmap_super_t *sb) ++static inline void sb_le_to_cpu(bitmap_super_t *sb) + { + sb->magic = __le32_to_cpu(sb->magic); + sb->version = __le32_to_cpu(sb->version); +@@ -34,7 +34,7 @@ inline void sb_le_to_cpu(bitmap_super_t + sb->write_behind = __le32_to_cpu(sb->write_behind); + } + +-inline void sb_cpu_to_le(bitmap_super_t *sb) ++static inline void sb_cpu_to_le(bitmap_super_t *sb) + { + sb_le_to_cpu(sb); /* these are really the same thing */ + } +@@ -74,7 +74,7 @@ typedef struct bitmap_info_s { + } bitmap_info_t; + + /* count the dirty bits in the first num_bits of byte */ +-inline int count_dirty_bits_byte(char byte, int num_bits) ++static inline int count_dirty_bits_byte(char byte, int num_bits) + { + int num = 0; +
meta/recipes-extended/mdadm/mdadm_3.3.2.bb +1 -0
@@ -12,6 +12,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/raid/mdadm/${BPN}-${PV}.tar.xz \ file://mdadm-3.2.2_fix_for_x32.patch \ file://gcc-4.9.patch \ file://mdadm-3.3.2_x32_abi_time_t.patch \ + file://inline.patch \ file://run-ptest \ "
Signature · 1 line
2.1.4
PATCH 6/14 lttng-tools: Add extern qualifier to declarations in .h file
In reply to Khem RajThis will ensure that compiler does not initialize the definitions in header files
--- .../lttng/lttng-tools/extern-decls.patch | 442 +++++++++++++++++++++ meta/recipes-kernel/lttng/lttng-tools_2.6.0.bb | 1 + 2 files changed, 443 insertions(+) create mode 100644 meta/recipes-kernel/lttng/lttng-tools/extern-decls.patch
meta/recipes-kernel/lttng/lttng-tools/extern-decls.patch new file +442 -0
@@ -0,0 +1,442 @@ +This make the declarations to be extern so they dont end up +in duplicates in data.rel.ro sections + +avoid errors like + +| ../../../src/common/.libs/libcommon.a(mi-lttng.o):(.data.rel.ro.local+0x0): multiple definition of `mi_lttng_element_snapshots' +| commands/enable_events.o:(.bss+0x48): first defined here +| collect2: error: ld returned 1 exit status +| Makefile:502: recipe for target 'lttng' failed +| make[3]: *** [lttng] Error 1 + + +Upstream-Status: Pending +Signed-off-by: Khem Raj <[email protected]> + +Index: git/src/common/config/config-session-abi.h +=================================================================== +--- git.orig/src/common/config/config-session-abi.h ++++ git/src/common/config/config-session-abi.h +@@ -18,95 +18,95 @@ + #ifndef CONFIG_SESSION_INTERNAL_H + #define CONFIG_SESSION_INTERNAL_H + +-const char * const config_element_channel; +-const char * const config_element_channels; +-const char * const config_element_domain; +-const char * const config_element_domains; +-const char * const config_element_event; +-const char * const config_element_events; +-const char * const config_element_context; +-const char * const config_element_contexts; +-const char * const config_element_attributes; +-const char * const config_element_exclusion; +-const char * const config_element_exclusions; +-const char * const config_element_function_attributes; +-const char * const config_element_probe_attributes; +-const char * const config_element_symbol_name; +-const char * const config_element_address; +-const char * const config_element_offset; +-const char * const config_element_name; +-const char * const config_element_enabled; +-const char * const config_element_overwrite_mode; +-const char * const config_element_subbuf_size; +-const char * const config_element_num_subbuf; +-const char * const config_element_switch_timer_interval; +-const char * const config_element_read_timer_interval; +-const char * const config_element_output; +-const char * const config_element_output_type; +-const char * const config_element_tracefile_size; +-const char * const config_element_tracefile_count; +-const char * const config_element_live_timer_interval; +-const char * const config_element_type; +-const char * const config_element_buffer_type; +-const char * const config_element_session; +-const char * const config_element_sessions; +-const char * const config_element_perf; +-const char * const config_element_config; +-const char * const config_element_started; +-const char * const config_element_snapshot_mode; +-const char * const config_element_loglevel; +-const char * const config_element_loglevel_type; +-const char * const config_element_filter; +-const char * const config_element_snapshot_outputs; +-const char * const config_element_consumer_output; +-const char * const config_element_destination; +-const char * const config_element_path; +-const char * const config_element_net_output; +-const char * const config_element_control_uri; +-const char * const config_element_data_uri; +-const char * const config_element_max_size; +- +-const char * const config_domain_type_kernel; +-const char * const config_domain_type_ust; +-const char * const config_domain_type_jul; +-const char * const config_domain_type_log4j; +- +-const char * const config_buffer_type_per_pid; +-const char * const config_buffer_type_per_uid; +-const char * const config_buffer_type_global; +- +-const char * const config_overwrite_mode_discard; +-const char * const config_overwrite_mode_overwrite; +- +-const char * const config_output_type_splice; +-const char * const config_output_type_mmap; +- +-const char * const config_loglevel_type_all; +-const char * const config_loglevel_type_range; +-const char * const config_loglevel_type_single; +- +-const char * const config_event_type_all; +-const char * const config_event_type_tracepoint; +-const char * const config_event_type_probe; +-const char * const config_event_type_function; +-const char * const config_event_type_function_entry; +-const char * const config_event_type_noop; +-const char * const config_event_type_syscall; +-const char * const config_event_type_kprobe; +-const char * const config_event_type_kretprobe; +- +-const char * const config_event_context_pid; +-const char * const config_event_context_procname; +-const char * const config_event_context_prio; +-const char * const config_event_context_nice; +-const char * const config_event_context_vpid; +-const char * const config_event_context_tid; +-const char * const config_event_context_vtid; +-const char * const config_event_context_ppid; +-const char * const config_event_context_vppid; +-const char * const config_event_context_pthread_id; +-const char * const config_event_context_hostname; +-const char * const config_event_context_ip; +-const char * const config_event_context_perf_thread_counter; ++extern const char * const config_element_channel; ++extern const char * const config_element_channels; ++extern const char * const config_element_domain; ++extern const char * const config_element_domains; ++extern const char * const config_element_event; ++extern const char * const config_element_events; ++extern const char * const config_element_context; ++extern const char * const config_element_contexts; ++extern const char * const config_element_attributes; ++extern const char * const config_element_exclusion; ++extern const char * const config_element_exclusions; ++extern const char * const config_element_function_attributes; ++extern const char * const config_element_probe_attributes; ++extern const char * const config_element_symbol_name; ++extern const char * const config_element_address; ++extern const char * const config_element_offset; ++extern const char * const config_element_name; ++extern const char * const config_element_enabled; ++extern const char * const config_element_overwrite_mode; ++extern const char * const config_element_subbuf_size; ++extern const char * const config_element_num_subbuf; ++extern const char * const config_element_switch_timer_interval; ++extern const char * const config_element_read_timer_interval; ++extern const char * const config_element_output; ++extern const char * const config_element_output_type; ++extern const char * const config_element_tracefile_size; ++extern const char * const config_element_tracefile_count; ++extern const char * const config_element_live_timer_interval; ++extern const char * const config_element_type; ++extern const char * const config_element_buffer_type; ++extern const char * const config_element_session; ++extern const char * const config_element_sessions; ++extern const char * const config_element_perf; ++extern const char * const config_element_config; ++extern const char * const config_element_started; ++extern const char * const config_element_snapshot_mode; ++extern const char * const config_element_loglevel; ++extern const char * const config_element_loglevel_type; ++extern const char * const config_element_filter; ++extern const char * const config_element_snapshot_outputs; ++extern const char * const config_element_consumer_output; ++extern const char * const config_element_destination; ++extern const char * const config_element_path; ++extern const char * const config_element_net_output; ++extern const char * const config_element_control_uri; ++extern const char * const config_element_data_uri; ++extern const char * const config_element_max_size; ++ ++extern const char * const config_domain_type_kernel; ++extern const char * const config_domain_type_ust; ++extern const char * const config_domain_type_jul; ++extern const char * const config_domain_type_log4j; ++ ++extern const char * const config_buffer_type_per_pid; ++extern const char * const config_buffer_type_per_uid; ++extern const char * const config_buffer_type_global; ++ ++extern const char * const config_overwrite_mode_discard; ++extern const char * const config_overwrite_mode_overwrite; ++ ++extern const char * const config_output_type_splice; ++extern const char * const config_output_type_mmap; ++ ++extern const char * const config_loglevel_type_all; ++extern const char * const config_loglevel_type_range; ++extern const char * const config_loglevel_type_single; ++ ++extern const char * const config_event_type_all; ++extern const char * const config_event_type_tracepoint; ++extern const char * const config_event_type_probe; ++extern const char * const config_event_type_function; ++extern const char * const config_event_type_function_entry; ++extern const char * const config_event_type_noop; ++extern const char * const config_event_type_syscall; ++extern const char * const config_event_type_kprobe; ++extern const char * const config_event_type_kretprobe; ++ ++extern const char * const config_event_context_pid; ++extern const char * const config_event_context_procname; ++extern const char * const config_event_context_prio; ++extern const char * const config_event_context_nice; ++extern const char * const config_event_context_vpid; ++extern const char * const config_event_context_tid; ++extern const char * const config_event_context_vtid; ++extern const char * const config_event_context_ppid; ++extern const char * const config_event_context_vppid; ++extern const char * const config_event_context_pthread_id; ++extern const char * const config_event_context_hostname; ++extern const char * const config_event_context_ip; ++extern const char * const config_event_context_perf_thread_counter; + + #endif /* CONFIG_SESSION_INTERNAL_H */ +Index: git/src/common/mi-lttng.h +=================================================================== +--- git.orig/src/common/mi-lttng.h ++++ git/src/common/mi-lttng.h +@@ -49,133 +49,133 @@ struct mi_lttng_version { + }; + + /* Strings related to command */ +-const char * const mi_lttng_element_command; +-const char * const mi_lttng_element_command_action; +-const char * const mi_lttng_element_command_add_context; +-const char * const mi_lttng_element_command_calibrate; +-const char * const mi_lttng_element_command_create; +-const char * const mi_lttng_element_command_destroy; +-const char * const mi_lttng_element_command_disable_channel; +-const char * const mi_lttng_element_command_disable_event; +-const char * const mi_lttng_element_command_enable_channels; +-const char * const mi_lttng_element_command_enable_event; +-const char * const mi_lttng_element_command_list; +-const char * const mi_lttng_element_command_load; +-const char * const mi_lttng_element_command_name; +-const char * const mi_lttng_element_command_output; +-const char * const mi_lttng_element_command_save; +-const char * const mi_lttng_element_command_set_session; +-const char * const mi_lttng_element_command_snapshot; +-const char * const mi_lttng_element_command_snapshot_add; +-const char * const mi_lttng_element_command_snapshot_del; +-const char * const mi_lttng_element_command_snapshot_list; +-const char * const mi_lttng_element_command_snapshot_record; +-const char * const mi_lttng_element_command_start; +-const char * const mi_lttng_element_command_stop; +-const char * const mi_lttng_element_command_success; +-const char * const mi_lttng_element_command_version; ++extern const char * const mi_lttng_element_command; ++extern const char * const mi_lttng_element_command_action; ++extern const char * const mi_lttng_element_command_add_context; ++extern const char * const mi_lttng_element_command_calibrate; ++extern const char * const mi_lttng_element_command_create; ++extern const char * const mi_lttng_element_command_destroy; ++extern const char * const mi_lttng_element_command_disable_channel; ++extern const char * const mi_lttng_element_command_disable_event; ++extern const char * const mi_lttng_element_command_enable_channels; ++extern const char * const mi_lttng_element_command_enable_event; ++extern const char * const mi_lttng_element_command_list; ++extern const char * const mi_lttng_element_command_load; ++extern const char * const mi_lttng_element_command_name; ++extern const char * const mi_lttng_element_command_output; ++extern const char * const mi_lttng_element_command_save; ++extern const char * const mi_lttng_element_command_set_session; ++extern const char * const mi_lttng_element_command_snapshot; ++extern const char * const mi_lttng_element_command_snapshot_add; ++extern const char * const mi_lttng_element_command_snapshot_del; ++extern const char * const mi_lttng_element_command_snapshot_list; ++extern const char * const mi_lttng_element_command_snapshot_record; ++extern const char * const mi_lttng_element_command_start; ++extern const char * const mi_lttng_element_command_stop; ++extern const char * const mi_lttng_element_command_success; ++extern const char * const mi_lttng_element_command_version; + + /* Strings related to version command */ +-const char * const mi_lttng_element_version; +-const char * const mi_lttng_element_version_commit; +-const char * const mi_lttng_element_version_description; +-const char * const mi_lttng_element_version_license; +-const char * const mi_lttng_element_version_major; +-const char * const mi_lttng_element_version_minor; +-const char * const mi_lttng_element_version_patch_level; +-const char * const mi_lttng_element_version_str; +-const char * const mi_lttng_element_version_web; ++extern const char * const mi_lttng_element_version; ++extern const char * const mi_lttng_element_version_commit; ++extern const char * const mi_lttng_element_version_description; ++extern const char * const mi_lttng_element_version_license; ++extern const char * const mi_lttng_element_version_major; ++extern const char * const mi_lttng_element_version_minor; ++extern const char * const mi_lttng_element_version_patch_level; ++extern const char * const mi_lttng_element_version_str; ++extern const char * const mi_lttng_element_version_web; + + /* String related to a lttng_event_field */ +-const char * const mi_lttng_element_event_field; +-const char * const mi_lttng_element_event_fields; ++extern const char * const mi_lttng_element_event_field; ++extern const char * const mi_lttng_element_event_fields; + + /* String related to lttng_event_context */ +-const char * const mi_lttng_context_type_perf_counter; +-const char * const mi_lttng_context_type_perf_cpu_counter; +-const char * const mi_lttng_context_type_perf_thread_counter; ++extern const char * const mi_lttng_context_type_perf_counter; ++extern const char * const mi_lttng_context_type_perf_cpu_counter; ++extern const char * const mi_lttng_context_type_perf_thread_counter; + + /* String related to lttng_event_perf_counter_ctx */ +-const char * const mi_lttng_element_perf_counter_context; ++extern const char * const mi_lttng_element_perf_counter_context; + + /* Strings related to pid */ +-const char * const mi_lttng_element_pids; +-const char * const mi_lttng_element_pid; +-const char * const mi_lttng_element_pid_id; ++extern const char * const mi_lttng_element_pids; ++extern const char * const mi_lttng_element_pid; ++extern const char * const mi_lttng_element_pid_id; + + /* Strings related to save command */ +-const char * const mi_lttng_element_save; ++extern const char * const mi_lttng_element_save; + + /* Strings related to load command */ +-const char * const mi_lttng_element_load; ++extern const char * const mi_lttng_element_load; + + /* General element of mi_lttng */ +-const char * const mi_lttng_element_empty; +-const char * const mi_lttng_element_id; +-const char * const mi_lttng_element_nowrite; +-const char * const mi_lttng_element_success; +-const char * const mi_lttng_element_type_enum; +-const char * const mi_lttng_element_type_float; +-const char * const mi_lttng_element_type_integer; +-const char * const mi_lttng_element_type_other; +-const char * const mi_lttng_element_type_string; ++extern const char * const mi_lttng_element_empty; ++extern const char * const mi_lttng_element_id; ++extern const char * const mi_lttng_element_nowrite; ++extern const char * const mi_lttng_element_success; ++extern const char * const mi_lttng_element_type_enum; ++extern const char * const mi_lttng_element_type_float; ++extern const char * const mi_lttng_element_type_integer; ++extern const char * const mi_lttng_element_type_other; ++extern const char * const mi_lttng_element_type_string; + + /* String related to loglevel */ +-const char * const mi_lttng_loglevel_str_alert; +-const char * const mi_lttng_loglevel_str_crit; +-const char * const mi_lttng_loglevel_str_debug; +-const char * const mi_lttng_loglevel_str_debug_function; +-const char * const mi_lttng_loglevel_str_debug_line; +-const char * const mi_lttng_loglevel_str_debug_module; +-const char * const mi_lttng_loglevel_str_debug_process; +-const char * const mi_lttng_loglevel_str_debug_program; +-const char * const mi_lttng_loglevel_str_debug_system; +-const char * const mi_lttng_loglevel_str_debug_unit; +-const char * const mi_lttng_loglevel_str_emerg; +-const char * const mi_lttng_loglevel_str_err; +-const char * const mi_lttng_loglevel_str_info; +-const char * const mi_lttng_loglevel_str_notice; +-const char * const mi_lttng_loglevel_str_unknown; +-const char * const mi_lttng_loglevel_str_warning; ++extern const char * const mi_lttng_loglevel_str_alert; ++extern const char * const mi_lttng_loglevel_str_crit; ++extern const char * const mi_lttng_loglevel_str_debug; ++extern const char * const mi_lttng_loglevel_str_debug_function; ++extern const char * const mi_lttng_loglevel_str_debug_line; ++extern const char * const mi_lttng_loglevel_str_debug_module; ++extern const char * const mi_lttng_loglevel_str_debug_process; ++extern const char * const mi_lttng_loglevel_str_debug_program; ++extern const char * const mi_lttng_loglevel_str_debug_system; ++extern const char * const mi_lttng_loglevel_str_debug_unit; ++extern const char * const mi_lttng_loglevel_str_emerg; ++extern const char * const mi_lttng_loglevel_str_err; ++extern const char * const mi_lttng_loglevel_str_info; ++extern const char * const mi_lttng_loglevel_str_notice; ++extern const char * const mi_lttng_loglevel_str_unknown; ++extern const char * const mi_lttng_loglevel_str_warning; + + /* String related to loglevel JUL */ +-const char * const mi_lttng_loglevel_str_jul_all; +-const char * const mi_lttng_loglevel_str_jul_config; +-const char * const mi_lttng_loglevel_str_jul_fine; +-const char * const mi_lttng_loglevel_str_jul_finer; +-const char * const mi_lttng_loglevel_str_jul_finest; +-const char * const mi_lttng_loglevel_str_jul_info; +-const char * const mi_lttng_loglevel_str_jul_off; +-const char * const mi_lttng_loglevel_str_jul_severe; +-const char * const mi_lttng_loglevel_str_jul_warning; ++extern const char * const mi_lttng_loglevel_str_jul_all; ++extern const char * const mi_lttng_loglevel_str_jul_config; ++extern const char * const mi_lttng_loglevel_str_jul_fine; ++extern const char * const mi_lttng_loglevel_str_jul_finer; ++extern const char * const mi_lttng_loglevel_str_jul_finest; ++extern const char * const mi_lttng_loglevel_str_jul_info; ++extern const char * const mi_lttng_loglevel_str_jul_off; ++extern const char * const mi_lttng_loglevel_str_jul_severe; ++extern const char * const mi_lttng_loglevel_str_jul_warning; + + /* String related to loglevel Log4j */ +-const char * const mi_lttng_loglevel_str_log4j_off; +-const char * const mi_lttng_loglevel_str_log4j_fatal; +-const char * const mi_lttng_loglevel_str_log4j_error; +-const char * const mi_lttng_loglevel_str_log4j_warn; +-const char * const mi_lttng_loglevel_str_log4j_info; +-const char * const mi_lttng_loglevel_str_log4j_debug; +-const char * const mi_lttng_loglevel_str_log4j_trace; +-const char * const mi_lttng_loglevel_str_log4j_all; ++extern const char * const mi_lttng_loglevel_str_log4j_off; ++extern const char * const mi_lttng_loglevel_str_log4j_fatal; ++extern const char * const mi_lttng_loglevel_str_log4j_error; ++extern const char * const mi_lttng_loglevel_str_log4j_warn; ++extern const char * const mi_lttng_loglevel_str_log4j_info; ++extern const char * const mi_lttng_loglevel_str_log4j_debug; ++extern const char * const mi_lttng_loglevel_str_log4j_trace; ++extern const char * const mi_lttng_loglevel_str_log4j_all; + + /* String related to loglevel type */ +-const char * const mi_lttng_loglevel_type_all; +-const char * const mi_lttng_loglevel_type_range; +-const char * const mi_lttng_loglevel_type_single; +-const char * const mi_lttng_loglevel_type_unknown; ++extern const char * const mi_lttng_loglevel_type_all; ++extern const char * const mi_lttng_loglevel_type_range; ++extern const char * const mi_lttng_loglevel_type_single; ++extern const char * const mi_lttng_loglevel_type_unknown; + + /* Sting related to lttng_calibrate */ +-const char * const mi_lttng_element_calibrate; +-const char * const mi_lttng_element_calibrate_function; ++extern const char * const mi_lttng_element_calibrate; ++extern const char * const mi_lttng_element_calibrate_function; + + /* String related to a lttng_snapshot */ +-const char * const mi_lttng_element_snapshot_ctrl_url; +-const char * const mi_lttng_element_snapshot_data_url; +-const char * const mi_lttng_element_snapshot_max_size; +-const char * const mi_lttng_element_snapshot_n_ptr; +-const char * const mi_lttng_element_snapshot_session_name; +-const char * const mi_lttng_element_snapshots; ++extern const char * const mi_lttng_element_snapshot_ctrl_url; ++extern const char * const mi_lttng_element_snapshot_data_url; ++extern const char * const mi_lttng_element_snapshot_max_size; ++extern const char * const mi_lttng_element_snapshot_n_ptr; ++extern const char * const mi_lttng_element_snapshot_session_name; ++extern const char * const mi_lttng_element_snapshots; + + /* Utility string function */ + const char *mi_lttng_loglevel_string(int value, enum lttng_domain_type domain);
meta/recipes-kernel/lttng/lttng-tools_2.6.0.bb +1 -0
@@ -25,6 +25,7 @@ PACKAGECONFIG[kmod] = "--enable-kmod, --disable-kmod, kmod" SRC_URI = "git://git.lttng.org/lttng-tools.git;branch=stable-2.6 \ file://runtest-2.4.0.patch \ + file://extern-decls.patch \ file://run-ptest \ "
Signature · 1 line
2.1.4
PATCH 7/14 subversion: Add -P to CPPFLAGS
In reply to Khem Rajsee https://gcc.gnu.org/gcc-5/porting_to.html
we need to stop the preprocessor from generating the #line directives or we run into issues like
| checking for apr_int64_t Python/C API format string... | configure: error: failed to recognize APR_INT64_T_FMT on this platform | Configure failed. The contents of all config.log files follows to aid
debugging
| ERROR: oe_runconf failed
Rightly subversion should be fixed but lets leave that to subversion folks
--- meta/recipes-devtools/subversion/subversion_1.8.11.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-devtools/subversion/subversion_1.8.11.bb +2 -1
@@ -7,7 +7,7 @@ HOMEPAGE = "http://subversion.tigris.org" BBCLASSEXTEND = "native" -inherit gettext +inherit gettext pythonnative SRC_URI = "${APACHE_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \ file://libtool2.patch \
@@ -31,6 +31,7 @@ EXTRA_OECONF = " \ inherit autotools export LDFLAGS += " -L${STAGING_LIBDIR} " +CPPFLAGS += "-P" acpaths = "-I build/ -I build/ac-macros/"
Signature · 1 line
2.1.4
Re: [PATCH 07/14] subversion: Add -P to CPPFLAGS
meta/recipes-devtools/subversion/subversion_1.8.11.bb HOMEPAGE = "http://subversion.tigris.org" · line 10
Quoted 3 lines · Khem Raj
meta/recipes-devtools/subversion/subversion_1.8.11.bb +1
-1-inherit gettext +inherit gettext pythonnative
Why are you doing this?
Ross
Re: [PATCH 07/14] subversion: Add -P to CPPFLAGS
Quoted 9 lines · Ross
On 24 April 2015 at 04:35, Khem Raj <[email protected] <mailto:[email protected]>> wrote:
meta/recipes-devtools/subversion/subversion_1.8.11.bb +1
-1-inherit gettext +inherit gettext pythonnativeWhy are you doing this?
Don’t have the error handy right now something swig related, however
because its needing python2 for its bindings and some systems have switched to using python3 as default.
Quoted 2 lines
Ross
Re: [PATCH 07/14] subversion: Add -P to CPPFLAGS
Quoted 4 lines · Khem Raj
Don’t have the error handy right now something swig related, however because its needing python2 for its bindings and some systems have switched to using python3 as default.
Requiring a fresh install of Python 2.x when we can just force the python version seems overkill to me...
Ross
Re: [PATCH 07/14] subversion: Add -P to CPPFLAGS
Quoted 2 lines · Ross
Requiring a fresh install of Python 2.x when we can just force the python version seems overkill to me...
not all python2 versions are same as well. but may thats not affecting this case I am not sure. But for improving
first time builds is probably a good reason at the expense of determinism.
PATCH 8/14 gnome-icon-theme: Needs nls.m4
In reply to Khem Rajit really needs nls, so lets add proper dependencies and options
--- meta/recipes-gnome/gnome/gnome-icon-theme_2.31.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-gnome/gnome/gnome-icon-theme_2.31.0.bb +1 -1
@@ -10,7 +10,7 @@ PR = "r5" DEPENDS = "icon-naming-utils-native glib-2.0 intltool-native libxml-simple-perl-native" -inherit autotools perlnative gtk-icon-cache pkgconfig +inherit autotools perlnative gtk-icon-cache pkgconfig gettext SRC_URI = "${GNOME_MIRROR}/${BPN}/2.31/${BPN}-${PV}.tar.bz2 \ file://iconpath-option.patch"
Signature · 1 line
2.1.4
PATCH 9/14 gtk+: Correct function prototype
In reply to Khem RajThis is turned on by default in gcc-5 so far we have been getting by this issue but time to fix it has now come
--- .../gtk+/gtk+/strict-prototypes.patch | 24 ++++++++++++++++++++++ meta/recipes-gnome/gtk+/gtk+_2.24.27.bb | 1 + 2 files changed, 25 insertions(+) create mode 100644 meta/recipes-gnome/gtk+/gtk+/strict-prototypes.patch
meta/recipes-gnome/gtk+/gtk+/strict-prototypes.patch new file +24 -0
@@ -0,0 +1,24 @@ +Fixes + +include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + typedef void (*GtkItemFactoryCallback) (); + +gcc5 has -Wstrict-prototypes on by default for -Werror so this becomes a build failure for consumers +of this header e.g. matchbox-panel-2 + +Upstream-Status: Pending + +Signed-off-by: Khem Raj <[email protected]> +Index: gtk+-2.24.27/gtk/gtkitemfactory.h +=================================================================== +--- gtk+-2.24.27.orig/gtk/gtkitemfactory.h ++++ gtk+-2.24.27/gtk/gtkitemfactory.h +@@ -44,7 +44,7 @@ typedef void (*GtkPrintFunc) (gpoint + * (Note that if we are included from a C++ program () will mean + * (void) so an explicit cast will be needed.) + */ +-typedef void (*GtkItemFactoryCallback) (); ++typedef void (*GtkItemFactoryCallback) (void); + typedef void (*GtkItemFactoryCallback1) (gpointer callback_data, + guint callback_action, + GtkWidget *widget);
meta/recipes-gnome/gtk+/gtk+_2.24.27.bb +1 -0
@@ -9,6 +9,7 @@ SRC_URI = "http://ftp.gnome.org/pub/gnome/sources/gtk+/2.24/gtk+-${PV}.tar.xz \ file://hardcoded_libtool.patch \ file://toggle-font.diff;striplevel=0 \ file://doc-fixes.patch \ + file://strict-prototypes.patch \ " SRC_URI[md5sum] = "b1e890e15602c5bcb40d85b13fe046fd"
Signature · 1 line
2.1.4
PATCH 10/14 grub: Backport const qualifier fix for gcc-5
In reply to Khem Rajgcc-5 is stricter and complains about const to non-const conversions, we backport the patch from upstream into 2.00
--- ..._dhcp_vendor-Add-missing-const-qualifiers.patch | 33 ++++++++++++++++++++++ meta/recipes-bsp/grub/grub2.inc | 1 + 2 files changed, 34 insertions(+) create mode 100644 meta/recipes-bsp/grub/files/0001-parse_dhcp_vendor-Add-missing-const-qualifiers.patch
meta/recipes-bsp/grub/files/0001-parse_dhcp_vendor-Add-missing-const-qualifiers.patch new file +33 -0
@@ -0,0 +1,33 @@ +Upstream-Status: Backport + +Original commit: http://git.savannah.gnu.org/cgit/grub.git/commit/grub-core/net/bootp.c?id=f06c2172c0b32052f22e37523445cf8e7affaea3 + +From 149d2a14f4723778ced23f439487201ccbf1a2c9 Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Thu, 23 Apr 2015 07:03:34 +0000 +Subject: [PATCH] parse_dhcp_vendor: Add missing const qualifiers. + +Signed-off-by: Khem Raj <[email protected]> +--- + grub-core/net/bootp.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/grub-core/net/bootp.c b/grub-core/net/bootp.c +index bc07d53..44131ed 100644 +--- a/grub-core/net/bootp.c ++++ b/grub-core/net/bootp.c +@@ -52,9 +52,9 @@ set_env_limn_ro (const char *intername, const char *suffix, + } + + static void +-parse_dhcp_vendor (const char *name, void *vend, int limit, int *mask) ++parse_dhcp_vendor (const char *name, const void *vend, int limit, int *mask) + { +- grub_uint8_t *ptr, *ptr0; ++ const grub_uint8_t *ptr, *ptr0; + + ptr = ptr0 = vend; + +-- +2.1.4 +
meta/recipes-bsp/grub/grub2.inc +1 -0
@@ -25,6 +25,7 @@ SRC_URI = "ftp://ftp.gnu.org/gnu/grub/grub-${PV}.tar.gz \ file://grub-efi-allow-a-compilation-without-mcmodel-large.patch \ file://grub-efi-fix-with-glibc-2.20.patch \ file://0001-Unset-need_charset_alias-when-building-for-musl.patch \ + file://0001-parse_dhcp_vendor-Add-missing-const-qualifiers.patch \ " DEPENDS = "flex-native bison-native xz"
Signature · 1 line
2.1.4
PATCH 11/14 gummiboot: upgrade 43 -> 48+git
In reply to Khem Raj43 does not compile with gcc-5
Refresh objcopy patch to incorporate latest changes
--- .../gummiboot/gummiboot/fix-objcopy.patch | 28 +++++++++++++--------- meta/recipes-bsp/gummiboot/gummiboot_git.bb | 4 ++-- 2 files changed, 19 insertions(+), 13 deletions(-)
meta/recipes-bsp/gummiboot/gummiboot/fix-objcopy.patch +17 -11
@@ -12,10 +12,10 @@ Signed-off-by: Robert Yang <[email protected]> Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -diff --git a/Makefile.am b/Makefile.am -index d224418..dcd95b0 100644 ---- a/Makefile.am -+++ b/Makefile.am +Index: git/Makefile.am +=================================================================== +--- git.orig/Makefile.am ++++ git/Makefile.am @@ -19,6 +19,8 @@ ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} AM_MAKEFLAGS = --no-print-directory
@@ -25,15 +25,21 @@ index d224418..dcd95b0 100644 gummibootlibdir = $(prefix)/lib/gummiboot AM_CPPFLAGS = -include config.h -@@ -143,7 +145,7 @@ $(efi_solib): $(efi_objects) - .DELETE_ON_ERROR: $(efi_solib) +@@ -148,7 +150,7 @@ $(gummiboot_solib): $(gummiboot_objects) + .DELETE_ON_ERROR: $(gummboot_solib) - $(efi_loadername): $(efi_solib) + $(gummiboot): $(gummiboot_solib) - $(AM_V_GEN) objcopy -j .text -j .sdata -j .data -j .dynamic \ + $(AM_V_GEN) $(OBJCOPY) -j .text -j .sdata -j .data -j .dynamic \ - -j .dynsym -j .rel -j .rela -j .reloc -j .eh_frame \ + -j .dynsym -j .rel -j .rela -j .reloc \ + --target=efi-app-$(ARCH) $< $@ + +@@ -183,7 +185,7 @@ $(stub_solib): $(stub_objects) + .DELETE_ON_ERROR: $(gummboot_solib) + + $(stub): $(stub_solib) +- $(AM_V_GEN) objcopy -j .text -j .sdata -j .data -j .dynamic \ ++ $(AM_V_GEN) $(OBJCOPY) -j .text -j .sdata -j .data -j .dynamic \ + -j .dynsym -j .rel -j .rela -j .reloc \ --target=efi-app-$(ARCH) $< $@ --- -1.8.3.4 -
meta/recipes-bsp/gummiboot/gummiboot_git.bb +2 -2
@@ -9,8 +9,8 @@ DEPENDS = "gnu-efi util-linux" inherit autotools pkgconfig inherit deploy -PV = "43+git${SRCPV}" -SRCREV = "4062c51075ba054d4949c714fe06123f9ad3097d" +PV = "48+git${SRCPV}" +SRCREV = "2bcd919c681c952eb867ef1bdb458f1bc49c2d55" SRC_URI = "git://anongit.freedesktop.org/gummiboot \ file://fix-objcopy.patch \ "
Signature · 1 line
2.1.4
PATCH 12/14 pkgconfig: Upgrade to latest git tip
In reply to Khem Raj0.28 was released 2 years ago and bunch of patches
have gone in since. The commit rate is quite low
so its not a lot of churn to use. We have backports
for few bugs that are removed. Git version of recipe is removed too since its no longer needed
---
...Strip-system-library-directories-reliably.patch | 30 --
.../pkgconfig/pkgconfig-0.28/autofoo.patch | 528 ---------------------
.../pkgconfig-0.28/obsolete_automake_macros.patch | 16 -
meta/recipes-devtools/pkgconfig/pkgconfig.inc | 6 +-
.../pkgconfig/pkgconfig/autofoo.patch | 528 ---------------------
.../fix-glib-configure-libtool-usage.patch | 0
meta/recipes-devtools/pkgconfig/pkgconfig_0.28.bb | 11 -
meta/recipes-devtools/pkgconfig/pkgconfig_git.bb | 42 +-
8 files changed, 8 insertions(+), 1153 deletions(-)
delete mode 100644 meta/recipes-devtools/pkgconfig/pkgconfig-0.28/0001-Strip-system-library-directories-reliably.patch
delete mode 100644 meta/recipes-devtools/pkgconfig/pkgconfig-0.28/autofoo.patch
delete mode 100644 meta/recipes-devtools/pkgconfig/pkgconfig-0.28/obsolete_automake_macros.patch
delete mode 100644 meta/recipes-devtools/pkgconfig/pkgconfig/autofoo.patch
rename meta/recipes-devtools/pkgconfig/{pkgconfig-0.28 => pkgconfig}/fix-glib-configure-libtool-usage.patch (100%)
delete mode 100644 meta/recipes-devtools/pkgconfig/pkgconfig_0.28.bbmeta/recipes-devtools/pkgconfig/pkgconfig-0.28/0001-Strip-system-library-directories-reliably.patch deleted +0 -30
@@ -1,30 +0,0 @@ -Upstream-Status: Backport (will be in 0.29) -Signed-off-by: Ross Burton <[email protected]> - -From ce1a2416ce0f0bd9a8a8a5caaf7dad20cda4d47d Mon Sep 17 00:00:00 2001 -From: Andrew Oakley <[email protected]> -Date: Tue, 29 Apr 2014 13:14:35 +0100 -Subject: [PATCH] Strip system library directories reliably - -This loop was changed from a while loop to a for loop in commit -9bf6277b, but the iterator is now advanced twice each time round the -loop. ---- - pkg.c | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/pkg.c b/pkg.c -index 3697fec..c847c95 100644 ---- a/pkg.c -+++ b/pkg.c -@@ -917,7 +917,6 @@ verify_package (Package *pkg) - } - system_dir_iter = system_dir_iter->next; - } -- iter = iter->next; - } - g_list_free (system_directories); - --- -1.7.10.4 -
meta/recipes-devtools/pkgconfig/pkgconfig-0.28/autofoo.patch deleted +0 -528
528 lines not on this page · raw message
meta/recipes-devtools/pkgconfig/pkgconfig-0.28/obsolete_automake_macros.patch deleted +0 -16
@@ -1,16 +0,0 @@ -Remove obsolete AM_PROG_CC_STDC use as there's already modern equivalent, -AC_PROG_CC, present. - -Upstream-Status: Submitted - -Signed-off-by: Marko Lindqvist <[email protected]> -diff -Nurd pkg-config-0.28/glib/configure.ac pkg-config-0.28/glib/configure.ac ---- pkg-config-0.28/glib/configure.ac 2012-10-13 17:35:36.000000000 +0300 -+++ pkg-config-0.28/glib/configure.ac 2013-05-24 23:48:34.093415116 +0300 -@@ -288,7 +288,6 @@ - AM_CONDITIONAL(HAVE_CXX, [test "$CXX" != ""]) - AC_LANG_RESTORE - --AM_PROG_CC_STDC - AM_PROG_CC_C_O - AC_PROG_INSTALL
meta/recipes-devtools/pkgconfig/pkgconfig.inc +4 -2
@@ -12,9 +12,11 @@ DEPENDS = "glib-2.0" DEPENDS_class-native = "" DEPENDS_class-nativesdk = "" -SRC_URI = "http://pkgconfig.freedesktop.org/releases/pkg-config-${PV}.tar.gz" +SRCREV = "40342dd0ead05d457a2a4e692cf865f50033a709" +PV = "0.28+git${SRCPV}" +SRC_URI = "git://anongit.freedesktop.org/pkg-config" -S = "${WORKDIR}/pkg-config-${PV}/" +S = "${WORKDIR}/git" inherit autotools
meta/recipes-devtools/pkgconfig/pkgconfig/autofoo.patch deleted +0 -528
528 lines not on this page · raw message
meta/recipes-devtools/pkgconfig/pkgconfig/fix-glib-configure-libtool-usage.patch renamed from meta/recipes-devtools/pkgconfig/pkgconfig-0.28/fix-glib-configure-libtool-usage.patch +0 -0
meta/recipes-devtools/pkgconfig/pkgconfig_0.28.bb deleted +0 -11
@@ -1,11 +0,0 @@ -require pkgconfig.inc - -SRC_URI += " \ - file://pkg-config-native.in \ - file://fix-glib-configure-libtool-usage.patch \ - file://obsolete_automake_macros.patch \ - file://0001-Strip-system-library-directories-reliably.patch \ - " - -SRC_URI[md5sum] = "aa3c86e67551adc3ac865160e34a2a0d" -SRC_URI[sha256sum] = "6b6eb31c6ec4421174578652c7e141fdaae2dabad1021f420d8713206ac1f845"
meta/recipes-devtools/pkgconfig/pkgconfig_git.bb +4 -38
44 lines not on this page · raw message
Signature · 1 line
2.1.4
PATCH 13/14 fontconfig: Upgrade to 2.11.93
In reply to Khem RajLIC_FILES_CHKSUM change is due to shifting of
the hunk to different line numbers, checksum remains same still
---
.../fontconfig/{fontconfig_2.11.1.bb => fontconfig_2.11.93.bb} | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
rename meta/recipes-graphics/fontconfig/{fontconfig_2.11.1.bb => fontconfig_2.11.93.bb} (86%)meta/recipes-graphics/fontconfig/fontconfig_2.11.93.bb renamed from meta/recipes-graphics/fontconfig/fontconfig_2.11.1.bb +3 -3
@@ -14,7 +14,7 @@ BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=fontconfig" LICENSE = "MIT-style & MIT & PD" LIC_FILES_CHKSUM = "file://COPYING;md5=7a0449e9bc5370402a94c00204beca3d \ file://src/fcfreetype.c;endline=45;md5=5d9513e3196a1fbfdfa94051c09dfc84 \ - file://src/fccache.c;beginline=1143;endline=1158;md5=0326cfeb4a7333dd4dd25fbbc4b9f27f" + file://src/fccache.c;beginline=1199;endline=1214;md5=0326cfeb4a7333dd4dd25fbbc4b9f27f" SECTION = "libs"
@@ -22,8 +22,8 @@ DEPENDS = "expat freetype zlib" SRC_URI = "http://fontconfig.org/release/fontconfig-${PV}.tar.gz \ " -SRC_URI[md5sum] = "e75e303b4f7756c2b16203a57ac87eba" -SRC_URI[sha256sum] = "b6b066c7dce3f436fdc0dfbae9d36122b38094f4f53bd8dffd45e195b0540d8d" +SRC_URI[md5sum] = "622f94f0f74e40775ea72d7d5f17a36d" +SRC_URI[sha256sum] = "296b5e83189589e537992d65ff01e0cd74eba9a91eb16a6890ce942e3695c526" PACKAGES =+ "fontconfig-utils" FILES_${PN} =+ "${datadir}/xml/*"
Signature · 1 line
2.1.4
Re: [PATCH 13/14] fontconfig: Upgrade to 2.11.93
This is a development snapshot which the mailing list shows has known problems. Let's wait for 2.12 or cherry-pick any required fixes.
Ross
Quoted 55 lines · Khem Raj
LIC_FILES_CHKSUMchange is due to shifting of
the hunk to different line numbers, checksum remains same stillChange-Id I0ce0cc96d39c801e57394f7a839a01d11a6f3979Signed-off-by Khem Raj <[email protected]>--- .../fontconfig/{fontconfig_2.11.1.bb => fontconfig_2.11.93.bb} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename meta/recipes-graphics/fontconfig/{fontconfig_2.11.1.bb =>fontconfig_2.11.93.bb} (86%)
meta/recipes-graphics/fontconfig/fontconfig_2.11.93.bb renamed from meta/recipes-graphics/fontconfig/fontconfig_2.11.1.bb +0
-0@@ -14,7 +14,7 @@ BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=fontconfig"
LICENSE = "MIT-style & MIT & PD"
LIC_FILES_CHKSUM= "file://COPYING;md5=7a0449e9bc5370402a94c00204beca3d \file://src/fcfreetype.c;endline=45;md5=5d9513e3196a1fbfdfa94051c09dfc84 \
- file://src/fccache.c;beginline=1143;endline=1158;md5=0326cfeb4a7333dd4dd25fbbc4b9f27f" + file://src/fccache.c;beginline=1199;endline=1214;md5=0326cfeb4a7333dd4dd25fbbc4b9f27f"SECTION = "libs"
meta/recipes-graphics/fontconfig/fontconfig_2.11.93.bb renamed from meta/recipes-graphics/fontconfig/fontconfig_2.11.1.bb +0
-2@@ -22,8 +22,8 @@ DEPENDS = "expat freetype zlib" SRC_URI = "http://fontconfig.org/release/fontconfig-${PV}.tar.gz \ " -SRC_URI[md5sum] = "e75e303b4f7756c2b16203a57ac87eba" -SRC_URI[sha256sum] ="
b6b066c7dce3f436fdc0dfbae9d36122b38094f4f53bd8dffd45e195b0540d8d"meta/recipes-graphics/fontconfig/fontconfig_2.11.93.bb renamed from meta/recipes-graphics/fontconfig/fontconfig_2.11.1.bb +2
-0+SRC_URI[md5sum] = "622f94f0f74e40775ea72d7d5f17a36d" +SRC_URI[sha256sum] ="
296b5e83189589e537992d65ff01e0cd74eba9a91eb16a6890ce942e3695c526"PACKAGES =+ "fontconfig-utils"
FILES_${PN} =+ "${datadir}/xml/*"
--
2.1.4--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [PATCH 13/14] fontconfig: Upgrade to 2.11.93
Quoted 4 lines · Ross
This is a development snapshot which the mailing list shows has known problems. Let's wait for 2.12 or cherry-pick any required fixes.
fair enough. I will have to dig into what needs to be back ported.
Quoted 50 lines
Ross
On 24 April 2015 at 04:35, Khem Raj <[email protected] <mailto:[email protected]>> wrote:
LIC_FILES_CHKSUMchange is due to shifting of
the hunk to different line numbers, checksum remains same stillChange-Id I0ce0cc96d39c801e57394f7a839a01d11a6f3979Signed-off-by Khem Raj <[email protected] <mailto:[email protected]>>--- .../fontconfig/{fontconfig_2.11.1.bb <http://fontconfig_2.11.1.bb/> => fontconfig_2.11.93.bb <http://fontconfig_2.11.93.bb/>} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename meta/recipes-graphics/fontconfig/{fontconfig_2.11.1.bb <http://fontconfig_2.11.1.bb/> => fontconfig_2.11.93.bb <http://fontconfig_2.11.93.bb/>} (86%)meta/recipes-graphics/fontconfig/fontconfig_2.11.93.bb <http://fontconfig_2.11.93.bb/> renamed from meta/recipes-graphics/fontconfig/fontconfig_2.11.1.bb <http://fontconfig_2.11.1.bb/> +3
-4@@ -14,7 +14,7 @@ BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=fontconfig <https://bugs.freedesktop.org/enter_bug.cgi?product=fontconfig>" LICENSE = "MIT-style & MIT & PD" LIC_FILES_CHKSUM = "file://COPYING;md5=7a0449e9bc5370402a94c00204beca3d \ file://src/fcfreetype.c;endline=45;md5=5d9513e3196a1fbfdfa94051c09dfc84 \ - file://src/fccache.c;beginline=1143;endline=1158;md5=0326cfeb4a7333dd4dd25fbbc4b9f27f" + file://src/fccache.c;beginline=1199;endline=1214;md5=0326cfeb4a7333dd4dd25fbbc4b9f27f" SECTION = "libs"@@ -22,8 +22,8 @@ DEPENDS = "expat freetype zlib" SRC_URI = "http://fontconfig.org/release/fontconfig-${PV}.tar.gz <http://fontconfig.org/release/fontconfig-${PV}.tar.gz> \ " -SRC_URI[md5sum] = "e75e303b4f7756c2b16203a57ac87eba" -SRC_URI[sha256sum] = "b6b066c7dce3f436fdc0dfbae9d36122b38094f4f53bd8dffd45e195b0540d8d" +SRC_URI[md5sum] = "622f94f0f74e40775ea72d7d5f17a36d" +SRC_URI[sha256sum] = "296b5e83189589e537992d65ff01e0cd74eba9a91eb16a6890ce942e3695c526" PACKAGES =+ "fontconfig-utils" FILES_${PN} =+ "${datadir}/xml/*" --2.1.4
--
_______________________________________________
Openembedded-core mailing list
[email protected] <mailto:[email protected]>
http://lists.openembedded.org/mailman/listinfo/openembedded-core <http://lists.openembedded.org/mailman/listinfo/openembedded-core>
PATCH 14/14 fontconfig: Fix pkgconfig file generation to not have absolute paths
In reply to Khem RajFixes cross building dependent packages with gcc-5 e.g. matchbox-panel-2
--- .../fontconfig/revert-static-pkgconfig.patch | 20 ++++++++++++++++++++ .../fontconfig/fontconfig_2.11.93.bb | 1 + 2 files changed, 21 insertions(+) create mode 100644 meta/recipes-graphics/fontconfig/fontconfig/revert-static-pkgconfig.patch
meta/recipes-graphics/fontconfig/fontconfig/revert-static-pkgconfig.patch new file +20 -0
@@ -0,0 +1,20 @@ +Revert part of http://cgit.freedesktop.org/fontconfig/commit/fontconfig.pc.in?id=338ffe6b886ad4ba86ff471cb59c4a5e5ffbe408 +We really dont do static linking so its not going to cause issues for us but as such this is harming us by adding absolute +paths into -I options into fontconfig.pc which is them prepended with sysroot when read back by cross pkg-config and +we end up with -I <sysroot>/<sysroot>/usr/include/fontconfig in CFLAGS of clients which depend on it. one such example +is matchbox-panel-2 and it was working fine with gcc < 5 because it tolerated non-existing paths in -I flags but gcc-5 +gently refuses and rightly so. + +Upstream-Status: Not-Submitted [OE-Specific] +Signed-off-by: Khem Raj <[email protected]> + +Index: fontconfig-2.11.93/fontconfig.pc.in +=================================================================== +--- fontconfig-2.11.93.orig/fontconfig.pc.in ++++ fontconfig-2.11.93/fontconfig.pc.in +@@ -15,4 +15,4 @@ Requires: @PKGCONFIG_REQUIRES@ + Requires.private: @PKGCONFIG_REQUIRES_PRIVATELY@ + Libs: -L${libdir} -lfontconfig + Libs.private: @EXPAT_LIBS@ @FREETYPE_LIBS@ @ICONV_LIBS@ @LIBXML2_LIBS@ +-Cflags: -I${includedir} @EXPAT_CFLAGS@ @FREETYPE_CFLAGS@ @ICONV_CFLAGS@ @LIBXML2_CFLAGS@ ++Cflags: -I${includedir}
meta/recipes-graphics/fontconfig/fontconfig_2.11.93.bb +1 -0
@@ -21,6 +21,7 @@ SECTION = "libs" DEPENDS = "expat freetype zlib" SRC_URI = "http://fontconfig.org/release/fontconfig-${PV}.tar.gz \ + file://revert-static-pkgconfig.patch \ " SRC_URI[md5sum] = "622f94f0f74e40775ea72d7d5f17a36d" SRC_URI[sha256sum] = "296b5e83189589e537992d65ff01e0cd74eba9a91eb16a6890ce942e3695c526"
Signature · 1 line
2.1.4
Quoted 5 lines · Khem Raj
I saw that my prior pull request has not yet been picked so I took opportunity to update it with few more commits and remove the commits not needed for world builds out. With these world builds on OE-Core are succeeding for all supported qemu machines The gcc upgrade is not yet proposed since we are still in RC phase and as soon as 5.1.0 is released I will propose it for OE-Core
so it is release and I have updated the recipes here
world builds on glibc have 1 failure on libunwind/mips but thats a different problem. all others are green. I have only tried qemu machines
so no mulilib etc. Once these patches are good with 4.9 and installed. I will propose it for core. For impatient ones please cherry pick that 1 commit
and try it out in your build configuration and let us know if there are problems.
Quoted 69 lines
Khem Raj (14):
glibc, packagegroup-self-hosted, packagegroup-core-lsb: Consider
non-glibc libcs
insserv: Fix build with gcc5 and clang
xserver-xorg: Fix build with gcc-5
u-boot-mkimage: Backport fix from upstream to fix build with gcc-5
mdadm: Fix inline semantics
lttng-tools: Add extern qualifier to declarations in .h file
subversion: Add -P to CPPFLAGS
gnome-icon-theme: Needs nls.m4
gtk+: Correct function prototype
grub: Backport const qualifier fix for gcc-5
gummiboot: upgrade 43 -> 48+git
pkgconfig: Upgrade to latest git tip
fontconfig: Upgrade to 2.11.93
fontconfig: Fix pkgconfig file generation to not have absolute paths..._dhcp_vendor-Add-missing-const-qualifiers.patch | 33 ++ meta/recipes-bsp/grub/grub2.inc | 1 + .../gummiboot/gummiboot/fix-objcopy.patch | 28 +- meta/recipes-bsp/gummiboot/gummiboot_git.bb | 4 +- meta/recipes-bsp/u-boot/u-boot-mkimage/gcc5.patch | 91 ++++ meta/recipes-bsp/u-boot/u-boot-mkimage_2015.01.bb | 4 +- meta/recipes-core/glibc/glibc_2.21.bb | 8 +- .../packagegroups/packagegroup-self-hosted.bb | 7 +- .../161_bts777914_fix_undeclared_identifier.patch | 36 ++ meta/recipes-devtools/insserv/insserv_1.14.0.bb | 1 + ...Strip-system-library-directories-reliably.patch | 30 -- .../pkgconfig/pkgconfig-0.28/autofoo.patch | 528 --------------------- .../pkgconfig-0.28/obsolete_automake_macros.patch | 16 - meta/recipes-devtools/pkgconfig/pkgconfig.inc | 6 +- .../pkgconfig/pkgconfig/autofoo.patch | 528 --------------------- .../fix-glib-configure-libtool-usage.patch | 0 meta/recipes-devtools/pkgconfig/pkgconfig_0.28.bb | 11 - meta/recipes-devtools/pkgconfig/pkgconfig_git.bb | 42 +- .../subversion/subversion_1.8.11.bb | 3 +- meta/recipes-extended/mdadm/files/inline.patch | 39 ++ meta/recipes-extended/mdadm/mdadm_3.3.2.bb | 1 + .../packagegroups/packagegroup-core-lsb.bb | 9 + .../recipes-gnome/gnome/gnome-icon-theme_2.31.0.bb | 2 +- .../gtk+/gtk+/strict-prototypes.patch | 24 + meta/recipes-gnome/gtk+/gtk+_2.24.27.bb | 1 + .../fontconfig/revert-static-pkgconfig.patch | 20 + ...{fontconfig_2.11.1.bb => fontconfig_2.11.93.bb} | 7 +- ...sdksyms.sh-Make-sdksyms.sh-work-with-gcc5.patch | 50 ++ .../xorg-xserver/xserver-xorg_1.16.3.bb | 1 + .../lttng/lttng-tools/extern-decls.patch | 442 +++++++++++++++++ meta/recipes-kernel/lttng/lttng-tools_2.6.0.bb | 1 + 31 files changed, 794 insertions(+), 1180 deletions(-) create mode 100644 meta/recipes-bsp/grub/files/0001-parse_dhcp_vendor-Add-missing-const-qualifiers.patch create mode 100644 meta/recipes-bsp/u-boot/u-boot-mkimage/gcc5.patch create mode 100644 meta/recipes-devtools/insserv/files/161_bts777914_fix_undeclared_identifier.patch delete mode 100644 meta/recipes-devtools/pkgconfig/pkgconfig-0.28/0001-Strip-system-library-directories-reliably.patch delete mode 100644 meta/recipes-devtools/pkgconfig/pkgconfig-0.28/autofoo.patch delete mode 100644 meta/recipes-devtools/pkgconfig/pkgconfig-0.28/obsolete_automake_macros.patch delete mode 100644 meta/recipes-devtools/pkgconfig/pkgconfig/autofoo.patch rename meta/recipes-devtools/pkgconfig/{pkgconfig-0.28 => pkgconfig}/fix-glib-configure-libtool-usage.patch (100%) delete mode 100644 meta/recipes-devtools/pkgconfig/pkgconfig_0.28.bb create mode 100644 meta/recipes-extended/mdadm/files/inline.patch create mode 100644 meta/recipes-gnome/gtk+/gtk+/strict-prototypes.patch create mode 100644 meta/recipes-graphics/fontconfig/fontconfig/revert-static-pkgconfig.patch rename meta/recipes-graphics/fontconfig/{fontconfig_2.11.1.bb => fontconfig_2.11.93.bb} (83%) create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xorg/0001-sdksyms.sh-Make-sdksyms.sh-work-with-gcc5.patch create mode 100644 meta/recipes-kernel/lttng/lttng-tools/extern-decls.patch--
2.1.4