Skip to content

Fixes with clang

Khem Raj openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12xz: Correctly specify GPL-3.0 with autoconf exceptionmeta/recipes-extended/xz/xz_5.2.1.bb+1 -10 replies
2/12hostap-utils: Use C99 stddefs in defining local typedefsmeta/recipes-bsp/hostap/hostap-utils-0.4.7/0001-Define-_u32-__s32-__u16-__s16-__u8-in-terms-of-c99-t.patch meta/recipes-bsp/hostap/hostap-utils.inc+39 -13 replies
3/12xorg-driver: Fix logical && with bitwise and operationmeta/recipes-graphics/xorg-driver/xf86-video-omap/0001-drmmode_output_dpms-Replace-logical-with-bitwise-ope.patch meta/recipes-graphics/xorg-driver/xf86-video-omap_0.4.3.bb+33 -00 replies
4/12qt4: Fix kmap2qmap build with clangmeta/recipes-qt/qt4/qt4-4.8.7.inc meta/recipes-qt/qt4/qt4-4.8.7/0034-Fix-kmap2qmap-build-with-clang.patch+35 -00 replies
5/12gummiboot: Fix build warnings seen with gcc5meta/recipes-bsp/gummiboot/gummiboot/0001-console-Fix-C-syntax-errors-for-function-declaration.patch meta/recipes-bsp/gummiboot/gummiboot_git.bb+77 -00 replies
6/12gnu-efi, syslinux: Support gcc < 4.7meta/recipes-bsp/gnu-efi/gnu-efi/gcc46-compatibility.patch meta/recipes-bsp/gnu-efi/gnu-efi_3.0.3.bb meta/recipes-devtools/syslinux/syslinux/0010-gcc46-compatibility.patch +1 more+60 -00 replies
7/12syslinux: Dont bypass gcc driver for dependency generation optionsmeta/recipes-devtools/syslinux/syslinux/0011-mk-MMD-does-not-take-any-arguments.patch meta/recipes-devtools/syslinux/syslinux_6.03.bb+34 -00 replies
8/12opkg: Include stdio.h for FILE definitionmeta/recipes-devtools/opkg/opkg/0001-libopkg-include-stdio.h-for-getting-FILE-defined.patch meta/recipes-devtools/opkg/opkg_0.3.0.bb+46 -00 replies
9/12quota: Replace using -I= with STAGING_INCDIRmeta/recipes-extended/quota/quota/remove_non_posix_types.patch meta/recipes-extended/quota/quota_4.02.bb+14 -10 replies
10/12connman: Fix build with muslmeta/recipes-connectivity/connman/connman.inc meta/recipes-connectivity/connman/connman/0001-Detect-backtrace-API-availability-before-using-it.patch meta/recipes-connectivity/connman/connman/0002-resolve-musl-does-not-implement-res_ninit.patch +2 more+221 -00 replies
11/12waffle: upgrade waffle_1.5.1.bb -> waffle_1.5.2.bbmeta/recipes-graphics/waffle/waffle/0001-third_party-threads-Use-PTHREAD_MUTEX_RECURSIVE-by-d.patch meta/recipes-graphics/waffle/waffle_1.5.2.bb+59 -32 replies
12/12sysstat: Include needed headers explicitlymeta/recipes-extended/sysstat/sysstat/0001-Include-needed-headers-explicitly.patch meta/recipes-extended/sysstat/sysstat_11.1.5.bb+64 -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/12] Fixes with clang

These fixes generic in nature helps improve the portability of patches and make them work on non GNU toolchain components

The following changes since commit 2c8c3d9c4b65d2a5c7976d530138ebcaac2b1447:

gcc: reformat 0063-nativesdk-gcc-support.patch (2015-09-12 23:01:31 +0100)

are available in the git repository at:

git://github.com/kraj/openembedded-core kraj/misc-fixes
https://github.com//tree/kraj/misc-fixes

Khem Raj (12):
xz: Correctly specify GPL-3.0 with autoconf exception
hostap-utils: Use C99 stddefs in defining local typedefs
xorg-driver: Fix logical && with bitwise and operation
qt4: Fix kmap2qmap build with clang
gummiboot: Fix build warnings seen with gcc5
gnu-efi, syslinux: Support gcc < 4.7
syslinux: Dont bypass gcc driver for dependency generation options
opkg: Include stdio.h for FILE definition
quota: Replace using -I= with STAGING_INCDIR
connman: Fix build with musl
waffle: upgrade waffle_1.5.1.bb -> waffle_1.5.2.bb
sysstat: Include needed headers explicitly

 .../gnu-efi/gnu-efi/gcc46-compatibility.patch      | 21 ++++++
 meta/recipes-bsp/gnu-efi/gnu-efi_3.0.3.bb          |  1 +
 ...-C-syntax-errors-for-function-declaration.patch | 74 +++++++++++++++++++
 meta/recipes-bsp/gummiboot/gummiboot_git.bb        |  3 +
 ...-__s32-__u16-__s16-__u8-in-terms-of-c99-t.patch | 36 +++++++++
 meta/recipes-bsp/hostap/hostap-utils.inc           |  4 +-
 meta/recipes-connectivity/connman/connman.inc      |  1 +
 ...acktrace-API-availability-before-using-it.patch | 55 ++++++++++++++
 ...resolve-musl-does-not-implement-res_ninit.patch | 77 ++++++++++++++++++++
 .../0003-Fix-header-inclusions-for-musl.patch      | 85 ++++++++++++++++++++++
 meta/recipes-connectivity/connman/connman_1.30.bb  |  3 +
 ...-include-stdio.h-for-getting-FILE-defined.patch | 45 ++++++++++++
 meta/recipes-devtools/opkg/opkg_0.3.0.bb           |  1 +
 .../syslinux/0010-gcc46-compatibility.patch        | 37 ++++++++++
 .../0011-mk-MMD-does-not-take-any-arguments.patch  | 33 +++++++++
 meta/recipes-devtools/syslinux/syslinux_6.03.bb    |  2 +
 .../quota/quota/remove_non_posix_types.patch       | 13 ++++
 meta/recipes-extended/quota/quota_4.02.bb          |  2 +-
 .../0001-Include-needed-headers-explicitly.patch   | 62 ++++++++++++++++
 meta/recipes-extended/sysstat/sysstat_11.1.5.bb    |  2 +
 meta/recipes-extended/xz/xz_5.2.1.bb               |  2 +-
 ...-threads-Use-PTHREAD_MUTEX_RECURSIVE-by-d.patch | 54 ++++++++++++++
 .../waffle/{waffle_1.5.1.bb => waffle_1.5.2.bb}    |  8 +-
 ...put_dpms-Replace-logical-with-bitwise-ope.patch | 31 ++++++++
 .../xorg-driver/xf86-video-omap_0.4.3.bb           |  2 +
 meta/recipes-qt/qt4/qt4-4.8.7.inc                  |  1 +
 .../0034-Fix-kmap2qmap-build-with-clang.patch      | 34 +++++++++
 27 files changed, 683 insertions(+), 6 deletions(-)
 create mode 100644 meta/recipes-bsp/gnu-efi/gnu-efi/gcc46-compatibility.patch
 create mode 100644 meta/recipes-bsp/gummiboot/gummiboot/0001-console-Fix-C-syntax-errors-for-function-declaration.patch
 create mode 100644 meta/recipes-bsp/hostap/hostap-utils-0.4.7/0001-Define-_u32-__s32-__u16-__s16-__u8-in-terms-of-c99-t.patch
 create mode 100644 meta/recipes-connectivity/connman/connman/0001-Detect-backtrace-API-availability-before-using-it.patch
 create mode 100644 meta/recipes-connectivity/connman/connman/0002-resolve-musl-does-not-implement-res_ninit.patch
 create mode 100644 meta/recipes-connectivity/connman/connman/0003-Fix-header-inclusions-for-musl.patch
 create mode 100644 meta/recipes-devtools/opkg/opkg/0001-libopkg-include-stdio.h-for-getting-FILE-defined.patch
 create mode 100644 meta/recipes-devtools/syslinux/syslinux/0010-gcc46-compatibility.patch
 create mode 100644 meta/recipes-devtools/syslinux/syslinux/0011-mk-MMD-does-not-take-any-arguments.patch
 create mode 100644 meta/recipes-extended/sysstat/sysstat/0001-Include-needed-headers-explicitly.patch
 create mode 100644 meta/recipes-graphics/waffle/waffle/0001-third_party-threads-Use-PTHREAD_MUTEX_RECURSIVE-by-d.patch
 rename meta/recipes-graphics/waffle/{waffle_1.5.1.bb => waffle_1.5.2.bb} (84%)
 create mode 100644 meta/recipes-graphics/xorg-driver/xf86-video-omap/0001-drmmode_output_dpms-Replace-logical-with-bitwise-ope.patch
 create mode 100644 meta/recipes-qt/qt4/qt4-4.8.7/0034-Fix-kmap2qmap-build-with-clang.patch
Signature · 1 line
2.5.2