Skip to content

Fixes for gcc-6 (Fedora-24)

Tim Orling openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8pkgconfig: Fix build with gcc-6meta/recipes-devtools/pkgconfig/pkgconfig/0001-gdate-suppress-string-format-literal-warning.patch meta/recipes-devtools/pkgconfig/pkgconfig_git.bb+35 -04 replies
2/8elfutils-0.148: Fix build with gcc6meta/recipes-devtools/elfutils/elfutils-0.148/gcc6.patch meta/recipes-devtools/elfutils/elfutils_0.148.bb+24 -00 replies
3/8elfutils: Fix build for gcc-6meta/recipes-devtools/elfutils/elfutils-0.164/libebl-Fix-missing-brackets-around-if-statement-body.patch meta/recipes-devtools/elfutils/elfutils_0.164.bb+420 -00 replies
4/8rpm: Fix build with gcc6meta/recipes-devtools/rpm/rpm/gcc6-stdlib.patch meta/recipes-devtools/rpm/rpm_5.4.16.bb+56 -10 replies
5/8glib-2.0: Ignore useless warning found with gcc-6meta/recipes-core/glib-2.0/glib-2.0/0001-Do-not-ignore-return-value-of-write.patch meta/recipes-core/glib-2.0/glib-2.0/0002-tests-Ignore-y2k-warnings.patch meta/recipes-core/glib-2.0/glib-2.0/ignore-format-nonliteral-warning.patch +1 more+128 -20 replies
6/8binutils: disable werror on native buildmeta/recipes-devtools/binutils/binutils_2.26.bb+2 -13 replies
7/8openjade-native: work around bug exposed by GCC 6meta/recipes-devtools/openjade/openjade-native_1.3.2.bb+1 -00 replies
8/8gcc-5.3: fix build for gcc-6meta/recipes-devtools/gcc/gcc-5.3.inc meta/recipes-devtools/gcc/gcc-5.3/0060-fix-build-when-using-gcc6.patch+158 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [krogoth][PATCH 0/8] Fixes for gcc-6 (Fedora-24)

[YOCTO #9897]

Fedora-24 only has gcc-6.1.1.

This has caused a number of failures in -native recipes and gcc-cross.

This series either cherry-picks commits from master or applies known good patches from upstream.

Fixes broken build for:
- pkgconfig-native
- elfutils-native
- rpm-native
- binutils-native
- glib-2.0-native
- docbook-utils-native (actually openjade-native was the culprit)
- gcc-cross (gcc-cross-arm build tested for beaglebone)

Other problems may be lurking and only a world build on Fedora-24 AB will tell for sure.

The following changes since commit 98c57bb512ea6790db8604fcf0b88c81651d2ab4:

build-appliance-image: Update to krogoth head revision (2016-07-06 17:28:04 +0100)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib timo/krogoth-9897
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=timo/krogoth-9897

Dan McGregor (1):
binutils: disable werror on native build

Daniel McGregor (1):
openjade-native: work around bug exposed by GCC 6

Khem Raj (3):
elfutils-0.148: Fix build with gcc6
rpm: Fix build with gcc6
glib-2.0: Ignore useless warning found with gcc-6

Tim Orling (3):
pkgconfig: Fix build with gcc-6
elfutils: Fix build for gcc-6
gcc-5.3: fix build for gcc-6

 .../0001-Do-not-ignore-return-value-of-write.patch |  42 +++
 .../glib-2.0/0002-tests-Ignore-y2k-warnings.patch  |  42 +++
 .../ignore-format-nonliteral-warning.patch         |  39 ++
 meta/recipes-core/glib-2.0/glib-2.0_2.46.2.bb      |   7 +-
 meta/recipes-devtools/binutils/binutils_2.26.bb    |   3 +-
 .../elfutils/elfutils-0.148/gcc6.patch             |  23 ++
 ...missing-brackets-around-if-statement-body.patch | 419 +++++++++++++++++++++
 meta/recipes-devtools/elfutils/elfutils_0.148.bb   |   1 +
 meta/recipes-devtools/elfutils/elfutils_0.164.bb   |   1 +
 meta/recipes-devtools/gcc/gcc-5.3.inc              |   1 +
 .../gcc-5.3/0060-fix-build-when-using-gcc6.patch   | 157 ++++++++
 .../openjade/openjade-native_1.3.2.bb              |   1 +
 ...te-suppress-string-format-literal-warning.patch |  34 ++
 meta/recipes-devtools/pkgconfig/pkgconfig_git.bb   |   1 +
 meta/recipes-devtools/rpm/rpm/gcc6-stdlib.patch    |  54 +++
 meta/recipes-devtools/rpm/rpm_5.4.16.bb            |   3 +-
 16 files changed, 824 insertions(+), 4 deletions(-)
 create mode 100644 meta/recipes-core/glib-2.0/glib-2.0/0001-Do-not-ignore-return-value-of-write.patch
 create mode 100644 meta/recipes-core/glib-2.0/glib-2.0/0002-tests-Ignore-y2k-warnings.patch
 create mode 100644 meta/recipes-core/glib-2.0/glib-2.0/ignore-format-nonliteral-warning.patch
 create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.148/gcc6.patch
 create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.164/libebl-Fix-missing-brackets-around-if-statement-body.patch
 create mode 100644 meta/recipes-devtools/gcc/gcc-5.3/0060-fix-build-when-using-gcc6.patch
 create mode 100644 meta/recipes-devtools/pkgconfig/pkgconfig/0001-gdate-suppress-string-format-literal-warning.patch
 create mode 100644 meta/recipes-devtools/rpm/rpm/gcc6-stdlib.patch
Signature · 1 line
2.7.4