From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: SDK_OLDEST_KERNEL vs OLDEST_KERNEL
Date: Wed, 12 Oct 2016 15:26:15 +0200 [thread overview]
Message-ID: <20161012132615.GC2923@jama> (raw)
[-- Attachment #1: Type: text/plain, Size: 1588 bytes --]
Hi,
is this separate variable working correctly?
It was introduced in:
commit 522ba4c51fff53566678b2689d0d63c393e417b3
Author: Richard Purdie <richard.purdie@linuxfoundation.org>
Date: Fri Sep 11 13:25:46 2015 +0100
populate_sdk_base: Fix aarch64 OLDEST_KERNEL sdk issues
aarch64 sets OLDEST_KERNEL to 3.14. This stops the aarch64 SDK installing on
anything with an older kernel which is clearly incorrect.
I attempted to extract the correct non-overridden version from the data store
but it proved problematic and I was running into data store issues. Those
are a separate problem but there isn't time to fix this right now.
Instead just code the SDK kernel version separately to work around this for
now (and fix the autobuilder tests and SDK usage).
But when I'm using:
OLDEST_KERNEL = "3.2" (default)
SDK_OLDEST_KERNEL = "2.6.32"
because we would like to use SDK on host with older kernel, then SDK_OLDEST_KERNEL
helped to bypass the uname check in environment-setup script, but then gcc cannot
be used, because it fails immediately with:
FATAL: kernel too old
So I'm not sure what this variable are trying to achieve, maybe autobuilder tests
were only testing setup script and not the actual $CC?
The other option is that it works only when sdk toolchain is built with default
OLDEST_KERNEL (which is lower than OLDEST_KERNEL_aarch64) and only target bits use
OLDEST_KERNEL_aarch64, but those aren't executed on host using SDK.
Regards,
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 169 bytes --]
next reply other threads:[~2016-10-12 13:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-12 13:26 Martin Jansa [this message]
2016-10-12 20:38 ` SDK_OLDEST_KERNEL vs OLDEST_KERNEL Paul Eggleton
2016-10-13 3:23 ` Paul Eggleton
2016-10-13 6:14 ` Khem Raj
2016-10-13 6:25 ` Paul Eggleton
2016-10-13 11:44 ` Martin Jansa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161012132615.GC2923@jama \
--to=martin.jansa@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox