[Buildroot] [PATCH] lttng-tools: fix musl build

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Mar 8 20:00:48 UTC 2016


Dear Baruch Siach,

On Tue,  8 Mar 2016 20:28:11 +0200, Baruch Siach wrote:
> Add two patches fixing musl build issues:
> 
>   * musl doesn't provide the __GLIBC_PREREQ macro
> 
>   * musl requires sys/types.h for mode_t
> 
> Fixes:
> http://autobuild.buildroot.net/results/ac9/ac9aa3b6c468a0a6ba84758d3c9c8acc20d7fa00/
> http://autobuild.buildroot.net/results/40f/40f11afb0512a89dcdad332d28ff1c5fcc435e7f/
> http://autobuild.buildroot.net/results/3c6/3c66b5f05b482f33d1bc6eabe817f6d7aa21086d/
> 
> Signed-off-by: Baruch Siach <baruch at tkos.co.il>
> ---
>  ...ld-failure-when-__GLIBC_PREREQ-is-missing.patch | 55 ++++++++++++++++++++++
>  .../0002-Fix-add-missing-sys-types.h-header.patch  | 29 ++++++++++++
>  package/lttng-tools/lttng-tools.mk                 |  2 +
>  3 files changed, 86 insertions(+)
>  create mode 100644 package/lttng-tools/0001-Fix-build-failure-when-__GLIBC_PREREQ-is-missing.patch
>  create mode 100644 package/lttng-tools/0002-Fix-add-missing-sys-types.h-header.patch

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list