Skip to contentSkip to conversation

package/apitrace: needs dynamic library

PATCH New Fabrice Fontaine 2 participants 2 messages Dec 24, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/apitrace: needs dynamic library

apitrace uses dlfcn.h in lib/os/os_backtrace.cpp if _Unwind_Backtrace symbol is found in unwind.h. dlfcn.h is also used in 9 other source files

Fixes:
- http://autobuild.buildroot.org/results/4d60477cc46e4071dd3da21abfe7082e0d12cee2

---
 package/apitrace/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/apitrace/Config.in +3 -2
index abd7ae00ee..263eec5e7d 100644
@@ -1,7 +1,7 @@
-comment "apitrace needs a toolchain w/ C++, wchar, threads, gcc >= 4.9"
+comment "apitrace needs a toolchain w/ C++, wchar, dynamic library, threads, gcc >= 4.9"
 	depends on BR2_USE_MMU
 	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
-		!BR2_TOOLCHAIN_HAS_THREADS || \
+		BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || \
 		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
 
 config BR2_PACKAGE_APITRACE
@@ -9,6 +9,7 @@ config BR2_PACKAGE_APITRACE
 	depends on BR2_USE_MMU # fork()
 	depends on BR2_USE_WCHAR
 	depends on BR2_INSTALL_LIBSTDCPP
+	depends on !BR2_STATIC_LIBS # dlfcn.h
 	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7
Signature · 1 line
2.24.0
#1 lore raw

PATCH 1/1 package/apitrace: needs dynamic library

Quoted 11 lines · On Tue, 24 Dec 2019 10:32:12 +0100 Fabrice Fontaine…

apitrace uses dlfcn.h in lib/os/os_backtrace.cpp if _Unwind_Backtrace symbol is found in unwind.h. dlfcn.h is also used in 9 other source files

Fixes:
- http://autobuild.buildroot.org/results/4d60477cc46e4071dd3da21abfe7082e0d12cee2

---
 package/apitrace/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com