Skip to content

World build fixes with gcc-5

Khem Raj openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10connman: Fix builds to compile on muslmeta/recipes-connectivity/connman/connman/0001-Enable-backtrace-API-only-when-compiling-for-glibc.patch meta/recipes-connectivity/connman/connman/0002-musl-header-fixes.patch meta/recipes-connectivity/connman/connman/0003-resolve-musl-does-not-implement-res_ninit.patch +2 more+400 -02 replies
2/10glibc, 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
3/10insserv: 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 -00 replies
4/10xserver-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 -00 replies
5/10u-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
6/10mdadm: Fix inline semanticsmeta/recipes-extended/mdadm/files/inline.patch meta/recipes-extended/mdadm/mdadm_3.3.2.bb+40 -00 replies
7/10lttng-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
8/10subversion: Add -P to CPPFLAGSmeta/recipes-devtools/subversion/subversion_1.8.11.bb+2 -10 replies
9/10gnome-icon-theme: Needs nls.m4meta/recipes-gnome/gnome/gnome-icon-theme_2.31.0.bb+1 -10 replies
10/10gtk+: Correct function prototypemeta/recipes-gnome/gtk+/gtk+/strict-prototypes.patch meta/recipes-gnome/gtk+/gtk+_2.24.27.bb+25 -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/10] World build fixes with gcc-5

This patchset contains fixes needed for building world using gcc-5, gcc-5 recipes are still in contrib tree. First lets fix the recipes

connman fix and packagegroup fix is needed for making sure that these packagegroups are marked glibc specific or independent using overrides, helps in paving way for doing world builds for non glibc based systems

The following changes since commit 166f2587468ae71988c610858aad3f7ef67eccba:

bison: don't depend on help2man (2015-04-21 11:29:30 +0100)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib kraj/for-master
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/for-master

Khem Raj (10):
connman: Fix builds to compile on musl
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

 meta/recipes-bsp/u-boot/u-boot-mkimage/gcc5.patch  |  91 +++++
 meta/recipes-bsp/u-boot/u-boot-mkimage_2015.01.bb  |   4 +-
 ...cktrace-API-only-when-compiling-for-glibc.patch |  41 ++
 .../connman/connman/0002-musl-header-fixes.patch   | 235 +++++++++++
 ...resolve-musl-does-not-implement-res_ninit.patch |  77 ++++
 ...Fix-duplicate-definitions-issue-with-musl.patch |  43 ++
 meta/recipes-connectivity/connman/connman_1.28.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 +
 .../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 +
 ...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 +
 22 files changed, 1109 insertions(+), 11 deletions(-)
 create mode 100644 meta/recipes-bsp/u-boot/u-boot-mkimage/gcc5.patch
 create mode 100644 meta/recipes-connectivity/connman/connman/0001-Enable-backtrace-API-only-when-compiling-for-glibc.patch
 create mode 100644 meta/recipes-connectivity/connman/connman/0002-musl-header-fixes.patch
 create mode 100644 meta/recipes-connectivity/connman/connman/0003-resolve-musl-does-not-implement-res_ninit.patch
 create mode 100644 meta/recipes-connectivity/connman/connman/0004-tethering-Fix-duplicate-definitions-issue-with-musl.patch
 create mode 100644 meta/recipes-devtools/insserv/files/161_bts777914_fix_undeclared_identifier.patch
 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/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