* [Buildroot] [PATCH 1/2] blktrace: add dependency on NPTL
@ 2016-09-16 18:58 Rahul Bedarkar
2016-09-16 18:58 ` [Buildroot] [PATCH 2/2] blktrace: needs MMU support Rahul Bedarkar
2016-09-17 10:38 ` [Buildroot] [PATCH 1/2] blktrace: add dependency on NPTL Thomas Petazzoni
0 siblings, 2 replies; 3+ messages in thread
From: Rahul Bedarkar @ 2016-09-16 18:58 UTC (permalink / raw)
To: buildroot
blkiomon.c assumes that clock_nanosleep() is always available. But it
is only available with NPTL. Since it unconditionally uses it, we add
dependency on NPTL.
Fixes:
http://autobuild.buildroot.net/results/c87/c87cd4a7b0bed938506bcf7e88d4cda60e28e6e5/
Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
---
package/blktrace/Config.in | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/blktrace/Config.in b/package/blktrace/Config.in
index 38c0947..684157c 100644
--- a/package/blktrace/Config.in
+++ b/package/blktrace/Config.in
@@ -1,6 +1,7 @@
config BR2_PACKAGE_BLKTRACE
bool "blktrace"
depends on BR2_PACKAGE_LIBAIO_ARCH_SUPPORTS
+ depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # clock_nanosleep()
select BR2_PACKAGE_LIBAIO
help
blktrace is a block layer IO tracing mechanism which provides
@@ -8,3 +9,7 @@ config BR2_PACKAGE_BLKTRACE
up to user space.
http://git.kernel.dk/?p=blktrace.git;a=summary
+
+comment "blktrace needs a toolchain w/ NPTL"
+ depends on BR2_PACKAGE_LIBAIO_ARCH_SUPPORTS
+ depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
--
2.6.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 2/2] blktrace: needs MMU support
2016-09-16 18:58 [Buildroot] [PATCH 1/2] blktrace: add dependency on NPTL Rahul Bedarkar
@ 2016-09-16 18:58 ` Rahul Bedarkar
2016-09-17 10:38 ` [Buildroot] [PATCH 1/2] blktrace: add dependency on NPTL Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Rahul Bedarkar @ 2016-09-16 18:58 UTC (permalink / raw)
To: buildroot
iowatcher/main.c uses system() which uses fork().
Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
---
package/blktrace/Config.in | 2 ++
1 file changed, 2 insertions(+)
diff --git a/package/blktrace/Config.in b/package/blktrace/Config.in
index 684157c..dedfa03 100644
--- a/package/blktrace/Config.in
+++ b/package/blktrace/Config.in
@@ -2,6 +2,7 @@ config BR2_PACKAGE_BLKTRACE
bool "blktrace"
depends on BR2_PACKAGE_LIBAIO_ARCH_SUPPORTS
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # clock_nanosleep()
+ depends on BR2_USE_MMU # system()
select BR2_PACKAGE_LIBAIO
help
blktrace is a block layer IO tracing mechanism which provides
@@ -11,5 +12,6 @@ config BR2_PACKAGE_BLKTRACE
http://git.kernel.dk/?p=blktrace.git;a=summary
comment "blktrace needs a toolchain w/ NPTL"
+ depends on BR2_USE_MMU
depends on BR2_PACKAGE_LIBAIO_ARCH_SUPPORTS
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
--
2.6.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/2] blktrace: add dependency on NPTL
2016-09-16 18:58 [Buildroot] [PATCH 1/2] blktrace: add dependency on NPTL Rahul Bedarkar
2016-09-16 18:58 ` [Buildroot] [PATCH 2/2] blktrace: needs MMU support Rahul Bedarkar
@ 2016-09-17 10:38 ` Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2016-09-17 10:38 UTC (permalink / raw)
To: buildroot
Hello,
On Sat, 17 Sep 2016 00:28:46 +0530, Rahul Bedarkar wrote:
> blkiomon.c assumes that clock_nanosleep() is always available. But it
> is only available with NPTL. Since it unconditionally uses it, we add
> dependency on NPTL.
>
> Fixes:
> http://autobuild.buildroot.net/results/c87/c87cd4a7b0bed938506bcf7e88d4cda60e28e6e5/
>
> Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
> ---
> package/blktrace/Config.in | 5 +++++
> 1 file changed, 5 insertions(+)
Both applied, thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-09-17 10:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-16 18:58 [Buildroot] [PATCH 1/2] blktrace: add dependency on NPTL Rahul Bedarkar
2016-09-16 18:58 ` [Buildroot] [PATCH 2/2] blktrace: needs MMU support Rahul Bedarkar
2016-09-17 10:38 ` [Buildroot] [PATCH 1/2] blktrace: add dependency on NPTL Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox