All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] layer.conf: Whitelist lttng-tools->lttng-modules dependency
@ 2019-05-25 20:18 Richard Purdie
  2019-05-25 20:18 ` [PATCH 2/2] tcmode-default: Test gcc9 as default on everything except mips Richard Purdie
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Purdie @ 2019-05-25 20:18 UTC (permalink / raw)
  To: openembedded-core

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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/classes/multilib_global.bbclass | 3 +++
 meta/conf/layer.conf                 | 1 +
 2 files changed, 4 insertions(+)

diff --git a/meta/classes/multilib_global.bbclass b/meta/classes/multilib_global.bbclass
index 649cc096b76..19ce1a50915 100644
--- a/meta/classes/multilib_global.bbclass
+++ b/meta/classes/multilib_global.bbclass
@@ -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":
diff --git a/meta/conf/layer.conf b/meta/conf/layer.conf
index 6590e80700a..5ecb93651e5 100644
--- a/meta/conf/layer.conf
+++ b/meta/conf/layer.conf
@@ -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
-- 
2.20.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] tcmode-default: Test gcc9 as default on everything except mips
  2019-05-25 20:18 [PATCH 1/2] layer.conf: Whitelist lttng-tools->lttng-modules dependency Richard Purdie
@ 2019-05-25 20:18 ` Richard Purdie
  2019-05-25 23:23   ` Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Purdie @ 2019-05-25 20:18 UTC (permalink / raw)
  To: openembedded-core

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 <richard.purdie@linuxfoundation.org>
---
 meta/conf/distro/include/tcmode-default.inc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc
index 744c6c3247e..5c10a4bd0d7 100644
--- a/meta/conf/distro/include/tcmode-default.inc
+++ b/meta/conf/distro/include/tcmode-default.inc
@@ -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%"
-- 
2.20.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 2/2] tcmode-default: Test gcc9 as default on everything except mips
  2019-05-25 20:18 ` [PATCH 2/2] tcmode-default: Test gcc9 as default on everything except mips Richard Purdie
@ 2019-05-25 23:23   ` Khem Raj
  0 siblings, 0 replies; 3+ messages in thread
From: Khem Raj @ 2019-05-25 23:23 UTC (permalink / raw)
  To: Richard Purdie; +Cc: Patches and discussions about the oe-core layer

On Sat, May 25, 2019 at 1:19 PM Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
>
> 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 <richard.purdie@linuxfoundation.org>
> ---
>  meta/conf/distro/include/tcmode-default.inc | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc
> index 744c6c3247e..5c10a4bd0d7 100644
> --- a/meta/conf/distro/include/tcmode-default.inc
> +++ b/meta/conf/distro/include/tcmode-default.inc
> @@ -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 ?

>  SDKGCCVERSION ?= "${GCCVERSION}"
>  BINUVERSION ?= "2.32%"
>  GDBVERSION ?= "8.3%"
> --
> 2.20.1
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-05-25 23:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-25 20:18 [PATCH 1/2] layer.conf: Whitelist lttng-tools->lttng-modules dependency Richard Purdie
2019-05-25 20:18 ` [PATCH 2/2] tcmode-default: Test gcc9 as default on everything except mips Richard Purdie
2019-05-25 23:23   ` Khem Raj

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.