]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
lttng-tools: fix build errors and warnings for musl/uClibc-ng
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 22 Nov 2017 22:56:36 +0000 (17:56 -0500)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 23 Nov 2017 20:08:48 +0000 (21:08 +0100)
commit9dd25fe977867a2e7ef1ba40c3cbd12953ecaf51
tree1a6b0c8bf646f60ea5cc2fd18abca6ef61cd2843
parent914bd57db76941f4ca7c33eb8e217f06f790a6c2
lttng-tools: fix build errors and warnings for musl/uClibc-ng

Add 0001-Fix-detect-dlmopen-and-disable-corresponding-tests-i.patch to
detect if dlmopen() exists and disable parts of the build accordingly if
not. This fixes a bug when building with musl or uClibc-ng.

Add 0002-Fix-src-common-pipe.h-include-sys-types.h-for-ssize_.patch to
fix an #include bug when building with musl.

Add 0003-Fix-warning-src-bin-lttng-utils.c-cast-incompatible-.patch to
remove compilation warnings.

All three new patches are in upstream's master branch as of this date
and will be part of an eventual release.

Fixes:

  http://autobuild.buildroot.net/results/e37a5c69e2a9f9cd7c0705331e205c1ee20808e7/
  (musl)

  http://autobuild.buildroot.net/results/b2670e6d1928649aefa7fbc748858e6036585f01/
  (uclibc)

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/lttng-tools/0001-Fix-detect-dlmopen-and-disable-corresponding-tests-i.patch [new file with mode: 0644]
package/lttng-tools/0002-Fix-src-common-pipe.h-include-sys-types.h-for-ssize_.patch [new file with mode: 0644]
package/lttng-tools/0003-Fix-warning-src-bin-lttng-utils.c-cast-incompatible-.patch [new file with mode: 0644]
package/lttng-tools/lttng-tools.mk