Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] machine-sdk: oldest kernel for x86/x86_64 is 3.2.0 now
@ 2017-08-22 11:06 Ruslan Bilovol
  2017-08-22 16:35 ` Khem Raj
  0 siblings, 1 reply; 4+ messages in thread
From: Ruslan Bilovol @ 2017-08-22 11:06 UTC (permalink / raw)
  To: openembedded-core

With glibc upgrade to 2.26 release (commit d6a0bc57fa07
"glibc: Upgrade to 2.26 final release") it's not possible
to build x86/x86_64 SDK for kernels lower than 3.2.0
(see glibc commit 139ace95756a "Require Linux kernel 3.2
or later on x86 / x86_64.")

Thus drop SDK_OLDEST_KERNEL overrides from machine-specific
conf files, so default version 3.2.0 from conf/bitbake.conf
will be picked up.

Signed-off-by: Ruslan Bilovol <rbilovol@cisco.com>
---
 meta/conf/machine-sdk/i586.conf   | 1 -
 meta/conf/machine-sdk/i686.conf   | 1 -
 meta/conf/machine-sdk/x86_64.conf | 1 -
 3 files changed, 3 deletions(-)

diff --git a/meta/conf/machine-sdk/i586.conf b/meta/conf/machine-sdk/i586.conf
index 99083fb..41e5e15 100644
--- a/meta/conf/machine-sdk/i586.conf
+++ b/meta/conf/machine-sdk/i586.conf
@@ -1,5 +1,4 @@
 SDK_ARCH = "i586"
 SDK_CC_ARCH = "-march=i586"
 ABIEXTENSION_class-nativesdk = ""
-SDK_OLDEST_KERNEL = "2.6.32"
 
diff --git a/meta/conf/machine-sdk/i686.conf b/meta/conf/machine-sdk/i686.conf
index cf22784..fe40697 100644
--- a/meta/conf/machine-sdk/i686.conf
+++ b/meta/conf/machine-sdk/i686.conf
@@ -1,4 +1,3 @@
 SDK_ARCH = "i686"
 SDK_CC_ARCH = "-march=i686"
 ABIEXTENSION_class-nativesdk = ""
-SDK_OLDEST_KERNEL = "2.6.32"
diff --git a/meta/conf/machine-sdk/x86_64.conf b/meta/conf/machine-sdk/x86_64.conf
index 7d2e717..61439b4 100644
--- a/meta/conf/machine-sdk/x86_64.conf
+++ b/meta/conf/machine-sdk/x86_64.conf
@@ -1,3 +1,2 @@
 SDK_ARCH = "x86_64"
 ABIEXTENSION_class-nativesdk = ""
-SDK_OLDEST_KERNEL = "2.6.32"
-- 
1.9.1



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

* Re: [PATCH] machine-sdk: oldest kernel for x86/x86_64 is 3.2.0 now
  2017-08-22 11:06 [PATCH] machine-sdk: oldest kernel for x86/x86_64 is 3.2.0 now Ruslan Bilovol
@ 2017-08-22 16:35 ` Khem Raj
  2017-08-22 18:00   ` Martin Jansa
  0 siblings, 1 reply; 4+ messages in thread
From: Khem Raj @ 2017-08-22 16:35 UTC (permalink / raw)
  To: Ruslan Bilovol; +Cc: Patches and discussions about the oe-core layer

On Tue, Aug 22, 2017 at 4:06 AM, Ruslan Bilovol <rbilovol@cisco.com> wrote:
> With glibc upgrade to 2.26 release (commit d6a0bc57fa07
> "glibc: Upgrade to 2.26 final release") it's not possible
> to build x86/x86_64 SDK for kernels lower than 3.2.0
> (see glibc commit 139ace95756a "Require Linux kernel 3.2
> or later on x86 / x86_64.")
>
> Thus drop SDK_OLDEST_KERNEL overrides from machine-specific
> conf files, so default version 3.2.0 from conf/bitbake.conf
> will be picked up.
>

this is ok

> Signed-off-by: Ruslan Bilovol <rbilovol@cisco.com>
> ---
>  meta/conf/machine-sdk/i586.conf   | 1 -
>  meta/conf/machine-sdk/i686.conf   | 1 -
>  meta/conf/machine-sdk/x86_64.conf | 1 -
>  3 files changed, 3 deletions(-)
>
> diff --git a/meta/conf/machine-sdk/i586.conf b/meta/conf/machine-sdk/i586.conf
> index 99083fb..41e5e15 100644
> --- a/meta/conf/machine-sdk/i586.conf
> +++ b/meta/conf/machine-sdk/i586.conf
> @@ -1,5 +1,4 @@
>  SDK_ARCH = "i586"
>  SDK_CC_ARCH = "-march=i586"
>  ABIEXTENSION_class-nativesdk = ""
> -SDK_OLDEST_KERNEL = "2.6.32"
>
> diff --git a/meta/conf/machine-sdk/i686.conf b/meta/conf/machine-sdk/i686.conf
> index cf22784..fe40697 100644
> --- a/meta/conf/machine-sdk/i686.conf
> +++ b/meta/conf/machine-sdk/i686.conf
> @@ -1,4 +1,3 @@
>  SDK_ARCH = "i686"
>  SDK_CC_ARCH = "-march=i686"
>  ABIEXTENSION_class-nativesdk = ""
> -SDK_OLDEST_KERNEL = "2.6.32"
> diff --git a/meta/conf/machine-sdk/x86_64.conf b/meta/conf/machine-sdk/x86_64.conf
> index 7d2e717..61439b4 100644
> --- a/meta/conf/machine-sdk/x86_64.conf
> +++ b/meta/conf/machine-sdk/x86_64.conf
> @@ -1,3 +1,2 @@
>  SDK_ARCH = "x86_64"
>  ABIEXTENSION_class-nativesdk = ""
> -SDK_OLDEST_KERNEL = "2.6.32"
> --
> 1.9.1
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


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

* Re: [PATCH] machine-sdk: oldest kernel for x86/x86_64 is 3.2.0 now
  2017-08-22 16:35 ` Khem Raj
@ 2017-08-22 18:00   ` Martin Jansa
  2017-08-22 18:25     ` Richard Purdie
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Jansa @ 2017-08-22 18:00 UTC (permalink / raw)
  To: Khem Raj; +Cc: Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 2633 bytes --]

It's pity that we won't be able to use newer SDK on older hosts, but I'm
glad that SDK_OLDEST_KERNEL is going away as it wasn't working very well
anyway as discussed here:
http://lists.openembedded.org/pipermail/openembedded-core/2016-October/127519.html

On Tue, Aug 22, 2017 at 6:35 PM, Khem Raj <raj.khem@gmail.com> wrote:

> On Tue, Aug 22, 2017 at 4:06 AM, Ruslan Bilovol <rbilovol@cisco.com>
> wrote:
> > With glibc upgrade to 2.26 release (commit d6a0bc57fa07
> > "glibc: Upgrade to 2.26 final release") it's not possible
> > to build x86/x86_64 SDK for kernels lower than 3.2.0
> > (see glibc commit 139ace95756a "Require Linux kernel 3.2
> > or later on x86 / x86_64.")
> >
> > Thus drop SDK_OLDEST_KERNEL overrides from machine-specific
> > conf files, so default version 3.2.0 from conf/bitbake.conf
> > will be picked up.
> >
>
> this is ok
>
> > Signed-off-by: Ruslan Bilovol <rbilovol@cisco.com>
> > ---
> >  meta/conf/machine-sdk/i586.conf   | 1 -
> >  meta/conf/machine-sdk/i686.conf   | 1 -
> >  meta/conf/machine-sdk/x86_64.conf | 1 -
> >  3 files changed, 3 deletions(-)
> >
> > diff --git a/meta/conf/machine-sdk/i586.conf
> b/meta/conf/machine-sdk/i586.conf
> > index 99083fb..41e5e15 100644
> > --- a/meta/conf/machine-sdk/i586.conf
> > +++ b/meta/conf/machine-sdk/i586.conf
> > @@ -1,5 +1,4 @@
> >  SDK_ARCH = "i586"
> >  SDK_CC_ARCH = "-march=i586"
> >  ABIEXTENSION_class-nativesdk = ""
> > -SDK_OLDEST_KERNEL = "2.6.32"
> >
> > diff --git a/meta/conf/machine-sdk/i686.conf
> b/meta/conf/machine-sdk/i686.conf
> > index cf22784..fe40697 100644
> > --- a/meta/conf/machine-sdk/i686.conf
> > +++ b/meta/conf/machine-sdk/i686.conf
> > @@ -1,4 +1,3 @@
> >  SDK_ARCH = "i686"
> >  SDK_CC_ARCH = "-march=i686"
> >  ABIEXTENSION_class-nativesdk = ""
> > -SDK_OLDEST_KERNEL = "2.6.32"
> > diff --git a/meta/conf/machine-sdk/x86_64.conf
> b/meta/conf/machine-sdk/x86_64.conf
> > index 7d2e717..61439b4 100644
> > --- a/meta/conf/machine-sdk/x86_64.conf
> > +++ b/meta/conf/machine-sdk/x86_64.conf
> > @@ -1,3 +1,2 @@
> >  SDK_ARCH = "x86_64"
> >  ABIEXTENSION_class-nativesdk = ""
> > -SDK_OLDEST_KERNEL = "2.6.32"
> > --
> > 1.9.1
> >
> > --
> > _______________________________________________
> > Openembedded-core mailing list
> > Openembedded-core@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-core
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>

[-- Attachment #2: Type: text/html, Size: 4086 bytes --]

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

* Re: [PATCH] machine-sdk: oldest kernel for x86/x86_64 is 3.2.0 now
  2017-08-22 18:00   ` Martin Jansa
@ 2017-08-22 18:25     ` Richard Purdie
  0 siblings, 0 replies; 4+ messages in thread
From: Richard Purdie @ 2017-08-22 18:25 UTC (permalink / raw)
  To: Martin Jansa, Khem Raj; +Cc: Patches and discussions about the oe-core layer

On Tue, 2017-08-22 at 20:00 +0200, Martin Jansa wrote:
> It's pity that we won't be able to use newer SDK on older hosts, but
> I'm glad that SDK_OLDEST_KERNEL is going away as it wasn't working
> very well anyway as discussed here:
> http://lists.openembedded.org/pipermail/openembedded-core/2016-Octobe
> r/127519.html

Weren't those issues fixed with 
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=2b1cbb43aeb100f0ee53a62404dd918466422701?

Cheers,

Richard



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

end of thread, other threads:[~2017-08-22 18:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-22 11:06 [PATCH] machine-sdk: oldest kernel for x86/x86_64 is 3.2.0 now Ruslan Bilovol
2017-08-22 16:35 ` Khem Raj
2017-08-22 18:00   ` Martin Jansa
2017-08-22 18:25     ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox