* [Buildroot] [PATCH 1/2] package/apitrace: needs threads
@ 2019-12-17 20:12 Fabrice Fontaine
2019-12-17 20:12 ` [Buildroot] [PATCH 2/2] package/apitrace: needs MMU Fabrice Fontaine
2019-12-22 10:14 ` [Buildroot] [PATCH 1/2] package/apitrace: needs threads Thomas Petazzoni
0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2019-12-17 20:12 UTC (permalink / raw)
To: buildroot
apitrace uses its own version of gtest which depends on threads since
version 8.0 and
https://github.com/apitrace/apitrace/commit/85cf7c8b86129699246574dfeec846e88a3f88a2
Moreover, apitrace also uses std::thread in lib/os/os_thread.hpp
Fixes:
- http://autobuild.buildroot.org/results/03c4939fdfb7366c1835df946c4e869cd2b87b9f
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/apitrace/Config.in | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/package/apitrace/Config.in b/package/apitrace/Config.in
index 08313c4891..116a864681 100644
--- a/package/apitrace/Config.in
+++ b/package/apitrace/Config.in
@@ -1,5 +1,6 @@
-comment "apitrace needs a toolchain w/ C++, wchar, gcc >= 4.9"
+comment "apitrace needs a toolchain w/ C++, wchar, threads, gcc >= 4.9"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
+ !BR2_TOOLCHAIN_HAS_THREADS || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
config BR2_PACKAGE_APITRACE
@@ -7,6 +8,7 @@ config BR2_PACKAGE_APITRACE
depends on BR2_USE_WCHAR
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
+ depends on BR2_TOOLCHAIN_HAS_THREADS
select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7
select BR2_PACKAGE_LIBPNG
help
--
2.24.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 2/2] package/apitrace: needs MMU
2019-12-17 20:12 [Buildroot] [PATCH 1/2] package/apitrace: needs threads Fabrice Fontaine
@ 2019-12-17 20:12 ` Fabrice Fontaine
2019-12-22 10:14 ` [Buildroot] [PATCH 1/2] package/apitrace: needs threads Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2019-12-17 20:12 UTC (permalink / raw)
To: buildroot
apitrace uses its own version of gtest which needs fork() since
version 8.0 and
https://github.com/apitrace/apitrace/commit/85cf7c8b86129699246574dfeec846e88a3f88a2
Moreover, apitrace also uses fork in ./lib/os/os_posix.cpp
Fixes:
- http://autobuild.buildroot.org/results/1165ed62d9ae3dbdc13590c39bb55edd9a444567
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/apitrace/Config.in | 2 ++
1 file changed, 2 insertions(+)
diff --git a/package/apitrace/Config.in b/package/apitrace/Config.in
index 116a864681..abd7ae00ee 100644
--- a/package/apitrace/Config.in
+++ b/package/apitrace/Config.in
@@ -1,10 +1,12 @@
comment "apitrace needs a toolchain w/ C++, wchar, threads, gcc >= 4.9"
+ depends on BR2_USE_MMU
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
!BR2_TOOLCHAIN_HAS_THREADS || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
config BR2_PACKAGE_APITRACE
bool "apitrace"
+ depends on BR2_USE_MMU # fork()
depends on BR2_USE_WCHAR
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
--
2.24.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/2] package/apitrace: needs threads
2019-12-17 20:12 [Buildroot] [PATCH 1/2] package/apitrace: needs threads Fabrice Fontaine
2019-12-17 20:12 ` [Buildroot] [PATCH 2/2] package/apitrace: needs MMU Fabrice Fontaine
@ 2019-12-22 10:14 ` Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2019-12-22 10:14 UTC (permalink / raw)
To: buildroot
On Tue, 17 Dec 2019 21:12:01 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> apitrace uses its own version of gtest which depends on threads since
> version 8.0 and
> https://github.com/apitrace/apitrace/commit/85cf7c8b86129699246574dfeec846e88a3f88a2
>
> Moreover, apitrace also uses std::thread in lib/os/os_thread.hpp
>
> Fixes:
> - http://autobuild.buildroot.org/results/03c4939fdfb7366c1835df946c4e869cd2b87b9f
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> package/apitrace/Config.in | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
Both applied. Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-12-22 10:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-17 20:12 [Buildroot] [PATCH 1/2] package/apitrace: needs threads Fabrice Fontaine
2019-12-17 20:12 ` [Buildroot] [PATCH 2/2] package/apitrace: needs MMU Fabrice Fontaine
2019-12-22 10:14 ` [Buildroot] [PATCH 1/2] package/apitrace: needs threads Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.