Skip to contentSkip to conversation

icecc: blacklist systemtap

PATCH New Tim Blechmann 1 participant 1 message Aug 27, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 icecc: blacklist systemtap

compiling systemtap with icecc causes the following build failure

Quoted 2 lines

build/tmp/work/silvermont-64-poky-linux/systemtap/4.0-r0/recipe-sysroot/usr/include/python3.7m/modsupport.h:120:66: note: in definition of macro 'PyModule_AddIntMacro' HelperSDT/_HelperSDT.c:145:34: error: 'PyTrace_RETURN' undeclared (first use in this function); did you mean 'PyTrace_C_RETURN'?

---
 meta/classes/icecc.bbclass | 3 +++
 1 file changed, 3 insertions(+)
meta/classes/icecc.bbclass +3 -0
index edb0e10434..1a4b4ab526 100644
@@ -73,10 +73,13 @@ ICECC_ENV_DEBUG ??= ""
 #
 # libgcc-initial - fails with CPP sanity check error if host sysroot contains
 #                  cross gcc built for another target tune/variant
+# systemtap - _HelperSDT.c undefs macros and uses the identifiers in macros emitting
+#             inline assembly
 # target-sdk-provides-dummy - ${HOST_PREFIX} is empty which triggers the "NULL
 #                             prefix" error.
 ICECC_SYSTEM_PACKAGE_BL += "\
     libgcc-initial \
+    systemtap \
     target-sdk-provides-dummy \
     "
 
Signature · 1 line
2.23.0