Skip to content

Recipes fixes for clang

Khem Raj openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest16 patches 23 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16irda-utils: Weak Define the build TARGETSmeta/recipes-connectivity/irda-utils/irda-utils_0.9.18.bb+7 -40 replies
2/16slang: Fix namespace conflict vis-a-vis posix_closemeta/recipes-extended/slang/slang/0001-Fix-error-conflicting-types-for-posix_close.patch meta/recipes-extended/slang/slang_2.2.4.bb+40 -014 replies
3/16sudo: Include sys/types.h for id_t definitionmeta/recipes-extended/sudo/sudo/0001-Include-sys-types.h-for-id_t-definition.patch meta/recipes-extended/sudo/sudo_1.8.14p3.bb+35 -00 replies
4/16man: Use -DSYSV when builing for linuxmeta/recipes-extended/man/man_1.6g.bb+2 -00 replies
5/16minicom: Fix build with muslmeta/recipes-extended/minicom/minicom/0001-Fix-build-issus-surfaced-due-to-musl.patch meta/recipes-extended/minicom/minicom_2.7.bb+48 -00 replies
6/16bdwgc: Include signal.h instead of hard asm/sigcontext.hmeta/recipes-support/bdwgc/bdwgc/0001-fix-build-with-musl.patch meta/recipes-support/bdwgc/bdwgc_7.4.2.bb+38 -10 replies
7/16ccache: Dont add LDFLAGS to compiler flagsmeta/recipes-devtools/ccache/ccache.inc+0 -20 replies
8/16latencytop: Fix build with clangmeta/recipes-kernel/latencytop/latencytop-0.5/0001-Rectify-the-function-signatures-to-fix-prototype-mis.patch meta/recipes-kernel/latencytop/latencytop_0.5.bb+68 -20 replies
9/16alsa-tools: Fix compiling with clangmeta/recipes-multimedia/alsa/alsa-tools/0001-as10k1-Make-output_tram_line-static-inline.patch meta/recipes-multimedia/alsa/alsa-tools_1.0.29.bb+32 -00 replies
10/16kexec-tools: Pass -r directly to linkermeta/recipes-kernel/kexec/kexec-tools/0001-purgatory-Pass-r-directly-to-linker.patch meta/recipes-kernel/kexec/kexec-tools_2.0.10.bb+33 -00 replies
11/16xorg-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 -06 replies
12/16puzzles: Fix build with clangmeta/recipes-sato/puzzles/files/0001-Use-labs-instead-of-abs.patch meta/recipes-sato/puzzles/puzzles_git.bb+47 -00 replies
13/16sudo: Disable rsize_t deliberatelymeta/recipes-extended/sudo/sudo_1.8.14p3.bb+1 -00 replies
14/16webkit-gtk: Backport fix to remove FrameDestructionObservermeta/recipes-sato/webkit/webkit-gtk-1.8.3/0001-Remove-override-of-FrameDestructionObserver-willDeta.patch meta/recipes-sato/webkit/webkit-gtk_1.8.3.bb+106 -03 replies
15/16mdadm: Fix bugs exposed by clangmeta/recipes-extended/mdadm/files/0001-Fix-typo-in-comparision.patch meta/recipes-extended/mdadm/mdadm_3.3.4.bb+87 -00 replies
16/16directfb: Avoid using VLAs and printf formatsmeta/recipes-graphics/directfb/directfb.inc meta/recipes-graphics/directfb/directfb/0001-gfx-direct-Aboid-usng-VLAs-and-printf-formats.patch+64 -10 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/16] Recipes fixes for clang

This patch series is about common fixes that came to fore due to clang compilation some of the fixes are real bugs which were latent and has been submitted upstream, some were backports and some are yet to be submitted

The following changes since commit 8402958cd2cb87b8283c8ee4e2d08e1a6717d67a:

pseudo_1.7.3.bb: New version of pseudo (2015-09-06 15:24:28 +0100)

are available in the git repository at:

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

Khem Raj (16):
irda-utils: Weak Define the build TARGETS
slang: Fix namespace conflict vis-a-vis posix_close
sudo: Include sys/types.h for id_t definition
man: Use -DSYSV when builing for linux
minicom: Fix build with musl
bdwgc: Include signal.h instead of hard asm/sigcontext.h
ccache: Dont add LDFLAGS to compiler flags
latencytop: Fix build with clang
alsa-tools: Fix compiling with clang
kexec-tools: Pass -r directly to linker
xorg-driver: Fix logical && with bitwise and operation
puzzles: Fix build with clang
sudo: Disable rsize_t deliberately
webkit-gtk: Backport fix to remove FrameDestructionObserver
mdadm: Fix bugs exposed by clang
directfb: Avoid using VLAs and printf formats

 .../irda-utils/irda-utils_0.9.18.bb                |  11 ++-
 meta/recipes-devtools/ccache/ccache.inc            |   2 -
 meta/recipes-extended/man/man_1.6g.bb              |   2 +
 .../mdadm/files/0001-Fix-typo-in-comparision.patch |  86 +++++++++++++++++
 meta/recipes-extended/mdadm/mdadm_3.3.4.bb         |   1 +
 ...0001-Fix-build-issus-surfaced-due-to-musl.patch |  47 +++++++++
 meta/recipes-extended/minicom/minicom_2.7.bb       |   1 +
 ...x-error-conflicting-types-for-posix_close.patch |  39 ++++++++
 meta/recipes-extended/slang/slang_2.2.4.bb         |   1 +
 ...1-Include-sys-types.h-for-id_t-definition.patch |  34 +++++++
 meta/recipes-extended/sudo/sudo_1.8.14p3.bb        |   2 +
 meta/recipes-graphics/directfb/directfb.inc        |   4 +-
 ...direct-Aboid-usng-VLAs-and-printf-formats.patch |  61 ++++++++++++
 ...put_dpms-Replace-logical-with-bitwise-ope.patch |  31 ++++++
 .../xorg-driver/xf86-video-omap_0.4.3.bb           |   2 +
 .../0001-purgatory-Pass-r-directly-to-linker.patch |  32 +++++++
 meta/recipes-kernel/kexec/kexec-tools_2.0.10.bb    |   1 +
 ...-function-signatures-to-fix-prototype-mis.patch |  64 +++++++++++++
 meta/recipes-kernel/latencytop/latencytop_0.5.bb   |   6 +-
 ...s10k1-Make-output_tram_line-static-inline.patch |  31 ++++++
 meta/recipes-multimedia/alsa/alsa-tools_1.0.29.bb  |   1 +
 .../files/0001-Use-labs-instead-of-abs.patch       |  46 +++++++++
 meta/recipes-sato/puzzles/puzzles_git.bb           |   1 +
 ...ride-of-FrameDestructionObserver-willDeta.patch | 105 +++++++++++++++++++++
 meta/recipes-sato/webkit/webkit-gtk_1.8.3.bb       |   1 +
 .../bdwgc/bdwgc/0001-fix-build-with-musl.patch     |  35 +++++++
 meta/recipes-support/bdwgc/bdwgc_7.4.2.bb          |   4 +-
 27 files changed, 641 insertions(+), 10 deletions(-)
 create mode 100644 meta/recipes-extended/mdadm/files/0001-Fix-typo-in-comparision.patch
 create mode 100644 meta/recipes-extended/minicom/minicom/0001-Fix-build-issus-surfaced-due-to-musl.patch
 create mode 100644 meta/recipes-extended/slang/slang/0001-Fix-error-conflicting-types-for-posix_close.patch
 create mode 100644 meta/recipes-extended/sudo/sudo/0001-Include-sys-types.h-for-id_t-definition.patch
 create mode 100644 meta/recipes-graphics/directfb/directfb/0001-gfx-direct-Aboid-usng-VLAs-and-printf-formats.patch
 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-kernel/kexec/kexec-tools/0001-purgatory-Pass-r-directly-to-linker.patch
 create mode 100644 meta/recipes-kernel/latencytop/latencytop-0.5/0001-Rectify-the-function-signatures-to-fix-prototype-mis.patch
 create mode 100644 meta/recipes-multimedia/alsa/alsa-tools/0001-as10k1-Make-output_tram_line-static-inline.patch
 create mode 100644 meta/recipes-sato/puzzles/files/0001-Use-labs-instead-of-abs.patch
 create mode 100644 meta/recipes-sato/webkit/webkit-gtk-1.8.3/0001-Remove-override-of-FrameDestructionObserver-willDeta.patch
 create mode 100644 meta/recipes-support/bdwgc/bdwgc/0001-fix-build-with-musl.patch
Signature · 1 line
2.5.1