layer.conf: Whitelist lttng-tools->lttng-modules dependency
PATCH 1/2 layer.conf: Whitelist lttng-tools->lttng-modules dependency
The API between lttng-tools and lttng-modules is safe, whitelist it as the dependency fixes tools failures. This needs a hack in the multilib class as right now there is no way to know if a given recipe is a kernel module or not. This needs to be revisited.
--- meta/classes/multilib_global.bbclass | 3 +++ meta/conf/layer.conf | 1 + 2 files changed, 4 insertions(+)
meta/classes/multilib_global.bbclass +3 -0
@@ -118,6 +118,9 @@ def preferred_ml_updates(d): d.renameVar(prov, provexp) def translate_provide(prefix, prov): + # Really need to know if kernel modules class is inherited somehow + if prov == "lttng-modules": + return prov if not prov.startswith("virtual/"): return prefix + "-" + prov if prov == "virtual/kernel":
meta/conf/layer.conf +1 -0
@@ -77,6 +77,7 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \ weston-init->weston \ weston-init->kbd \ connman->xl2tpd \ + lttng-tools->lttng-modules \ " # Avoid adding bison-native to the sysroot without a specific
Signature · 1 line
2.20.1
PATCH 2/2 tcmode-default: Test gcc9 as default on everything except mips
mips is the only rchitecture not working with gcc9, switch the others leaving mips on gcc 8.X until we can figure out the fix for that.
--- meta/conf/distro/include/tcmode-default.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta/conf/distro/include/tcmode-default.inc +3 -1
@@ -18,7 +18,9 @@ PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-initial = "${TCLIBC}-initial" PREFERRED_PROVIDER_virtual/nativesdk-${SDK_PREFIX}libc-initial ?= "nativesdk-glibc-initial" PREFERRED_PROVIDER_virtual/gettext ??= "gettext" -GCCVERSION ?= "8.%" +GCCVERSION ?= "9.%" +GCCVERSION_mips ?= "8.%" +GCCVERSION_mips64 ?= "8.%" SDKGCCVERSION ?= "${GCCVERSION}" BINUVERSION ?= "2.32%" GDBVERSION ?= "8.3%"
Signature · 1 line
2.20.1
Re: [PATCH 2/2] tcmode-default: Test gcc9 as default on everything except mips
Quoted 14 lines · Richard Purdie
mips is the only rchitecture not working with gcc9, switch the others leaving mips on gcc 8.X until we can figure out the fix for that.
Signed-off-by Richard Purdie <[email protected]>--- meta/conf/distro/include/tcmode-default.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)meta/conf/distro/include/tcmode-default.inc +0
-0
meta/conf/distro/include/tcmode-default.inc PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-initial = "${TCLIBC}-initial" · line 23
Quoted 7 lines
meta/conf/distro/include/tcmode-default.inc +3
-1@@ -18,7 +18,9 @@ PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-initial = "${TCLIBC}-initial" PREFERRED_PROVIDER_virtual/nativesdk-${SDK_PREFIX}libc-initial ?= "nativesdk-glibc-initial" PREFERRED_PROVIDER_virtual/gettext ??= "gettext" -GCCVERSION ?= "8.%" +GCCVERSION ?= "9.%" +GCCVERSION_mips ?= "8.%" +GCCVERSION_mips64 ?= "8.%"
maybe pin it for all mips using mipsarch override ?
Quoted 11 lines
meta/conf/distro/include/tcmode-default.inc +0
-1SDKGCCVERSION ?= "${GCCVERSION}" BINUVERSION ?= "2.32%" GDBVERSION ?= "8.3%" --2.20.1
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core