Skip to content

Fix world build with gcc-5

Khem Raj openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14glibc, packagegroup-self-hosted, packagegroup-core-lsb: Consider non-glibc libcsmeta/recipes-core/glibc/glibc_2.21.bb meta/recipes-core/packagegroups/packagegroup-self-hosted.bb meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb+16 -80 replies
2/14insserv: Fix build with gcc5 and clangmeta/recipes-devtools/insserv/files/161_bts777914_fix_undeclared_identifier.patch meta/recipes-devtools/insserv/insserv_1.14.0.bb+37 -02 replies
3/14xserver-xorg: Fix build with gcc-5meta/recipes-graphics/xorg-xserver/xserver-xorg/0001-sdksyms.sh-Make-sdksyms.sh-work-with-gcc5.patch meta/recipes-graphics/xorg-xserver/xserver-xorg_1.16.3.bb+51 -03 replies
4/14u-boot-mkimage: Backport fix from upstream to fix build with gcc-5meta/recipes-bsp/u-boot/u-boot-mkimage/gcc5.patch meta/recipes-bsp/u-boot/u-boot-mkimage_2015.01.bb+94 -10 replies
5/14mdadm: Fix inline semanticsmeta/recipes-extended/mdadm/files/inline.patch meta/recipes-extended/mdadm/mdadm_3.3.2.bb+40 -00 replies
6/14lttng-tools: Add extern qualifier to declarations in .h filemeta/recipes-kernel/lttng/lttng-tools/extern-decls.patch meta/recipes-kernel/lttng/lttng-tools_2.6.0.bb+443 -00 replies
7/14subversion: Add -P to CPPFLAGSmeta/recipes-devtools/subversion/subversion_1.8.11.bb+2 -14 replies
8/14gnome-icon-theme: Needs nls.m4meta/recipes-gnome/gnome/gnome-icon-theme_2.31.0.bb+1 -10 replies
9/14gtk+: Correct function prototypemeta/recipes-gnome/gtk+/gtk+/strict-prototypes.patch meta/recipes-gnome/gtk+/gtk+_2.24.27.bb+25 -00 replies
10/14grub: Backport const qualifier fix for gcc-5meta/recipes-bsp/grub/files/0001-parse_dhcp_vendor-Add-missing-const-qualifiers.patch meta/recipes-bsp/grub/grub2.inc+34 -00 replies
11/14gummiboot: upgrade 43 -> 48+gitmeta/recipes-bsp/gummiboot/gummiboot/fix-objcopy.patch meta/recipes-bsp/gummiboot/gummiboot_git.bb+19 -130 replies
12/14pkgconfig: Upgrade to latest git tipmeta/recipes-devtools/pkgconfig/pkgconfig-0.28/0001-Strip-system-library-directories-reliably.patch meta/recipes-devtools/pkgconfig/pkgconfig-0.28/autofoo.patch meta/recipes-devtools/pkgconfig/pkgconfig-0.28/obsolete_automake_macros.patch +5 more+8 -11530 replies
13/14fontconfig: Upgrade to 2.11.93meta/recipes-graphics/fontconfig/fontconfig_2.11.93.bb+3 -32 replies
14/14fontconfig: Fix pkgconfig file generation to not have absolute pathsmeta/recipes-graphics/fontconfig/fontconfig/revert-static-pkgconfig.patch meta/recipes-graphics/fontconfig/fontconfig_2.11.93.bb+21 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/14] 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.patch
Signature · 1 line
2.1.4