diff options
author | Tim Orling <timothy.t.orling@linux.intel.com> | 2020-03-31 13:03:05 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2020-04-19 17:15:38 -0700 |
commit | 44b435987116618a1898e3b8ae6e6d5d31c7afba (patch) | |
tree | 60f726965302943fb497f94eec03db9e24867d10 /README.OE-Core | |
parent | 1c2a1f29aa720d376bc7f88edfcb1ccecc35f6c2 (diff) | |
download | openembedded-core-contrib-44b435987116618a1898e3b8ae6e6d5d31c7afba.tar.gz |
sanity.bbclass: add test for gcc < 4.8
It is known that old versions of gcc prior to 4.8 causes builds to fail.
Add a test for BUILD_CC == 'gcc' and gcc < 4.8 and recommend using
scripts/install-buildtools or user built buildtools-extended-tarball.
Use the new get_host_compiler_version function from lib/oe/utils.py
NOTE: another solution is to install devtoolset-6+ from scl [1], but
this is a rather large install (> 1 Gb) and fairly invasive.
[1] https://www.softwarecollections.org/en/scls/rhscl/devtoolset-6/
Adding this code means we can increase the minimum version easily
in the future too (which will soon be needed).
RP: Change minimum version from 5.0 to 4.8 for initial patch
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3bb3b9cbad82b2f09386153226d1d4e769b7347b)
[Fixup for zeus context]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'README.OE-Core')
0 files changed, 0 insertions, 0 deletions