summaryrefslogtreecommitdiffstats
path: root/meta/conf/distro/include/tcmode-default.inc
AgeCommit message (Collapse)Author
2015-07-31gcc: Add support for nativesdk-gccRichard Purdie
Being able to build a nativesdk gcc is useful, particularly in cases where the host compiler may be of an incompatible version (or a 32 bit compiler is needed). Sadly, building nativesdk-gcc is not straight forward. We install nativesdk-gcc into a relocatable location and this means that its library locations can change. "Normal" sysroot support doesn't help in this case since the values of paths like "libdir" change, not just base root directory of the system. In order to handle this we do two things: a) Add %r into spec file markup which can be used for injected paths such as SYSTEMLIBS_DIR (see gcc_multilib_setup()). b) Add other paths which need relocation into a .gccrelocprefix section which the relocation code will notice and adjust automatically. This patch adds tweaks to the relocation script to handle the new section too. (From OE-Core rev: cd3d874fced2ee4c950d9964d30c0588fd8772e7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-07-23linux-libc-headers: update to 4.1Bruce Ashfield
Updating the libc-headers to match the 4.1 LTSI kernel version. We also tweak the logic in linux-libc-headers.inc to look in the 4.x subdirectory if a 4.x kernel is specified as the header source. (From OE-Core rev: 3143920c541b55b543b9dcc12b18af4e0e4b7ae1) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-04-30gcc-shared-source: Add PV to PNRichard Purdie
This means you can have one gcc version for some gcc recipes (e.g. crosssdk/nativesdk) and another gcc version for target code. Also remove the preferred version entry from the default toolchains list since the version issue is now handled automatically. We also need to specifically handle gcc-source in the license handling code since expanding ${PV} in the base class isn't possible. Since gcc-source doesn't generate any packages directly this shouldn't be an issue and whitelisting in this way is easiest (and matches the rest of the toolchain handling). (From OE-Core rev: 67db7182faf6742b0d971d61d8c5ba34f69d2e12) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-04-08tcmode-default: Pin gdb to 7.9Khem Raj
Change-Id: I034a3bf7b9288df4579744f242e990f213193e85 (From OE-Core rev: 00e4324aee6ad436e1a4fbdd968c51cd01273f05) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-04-08binutils: upgrade to 2.25Robert Yang
* Remove the following patches since they are already in the new code: binutils/fix-pr15815.patch binutils/fix-pr16428.patch binutils/fix-pr16476.patch binutils/fix-pr2404.patch binutils/replace_macros_with_static_inline.patch binutils/binutils_CVE-2014-8484.patch binutils/binutils_CVE-2014-8485.patch binutils/binutils_CVE-2014-8501.patch binutils/binutils_CVE-2014-8502.patch binutils/binutils_CVE-2014-8502_1.patch binutils/binutils_CVE-2014-8503.patch binutils/binutils_CVE-2014-8504.patch binutils/binutils_CVE-2014-8737.patch * The file src-release is gone. * Updated patches for the new code. (From OE-Core rev: a8446ea78daa5875de43eb5bcccd8f536ea07e1c) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Conflicts: meta/conf/distro/include/tcmode-default.inc Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-20tcmode-default: Define one gdb versionKhem Raj
Sometimes we need to override the gdb from third party tool SDKs, this helps out, moreover it also makes it consistent with in OE-Core too to have multiple versions of gdb if we ever needed to Change-Id: Ibe1ae59175984bbc661c243764c81cd99fef54d1 (From OE-Core rev: aa75579aae064f2f9fc70bea093a6e9c8ca9c528) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-21linux-libc-headers: update to 3.19Bruce Ashfield
Updating the libc-headers now that the kernel has released. (From OE-Core rev: b3721560fe523c144690ebfeb203b3735d0f6843) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-20glibc: Upgrade 2.20 -> 2.21Khem Raj
Drop CVE backports and ppc/fpu detection patch which is not needed anymore Forward port eglibc option groups patch Default to using glibc 2.21 Additional patches needed to appease -Werror option Change-Id: I1873097cec8387ea9e8186a255122938fc28c976 (From OE-Core rev: 6617cc92076764d51f0190786f8d62b8c99ae984) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-01-29gcc-sanitizers: fix licensingDan McGregor
The sanitizer runtime library is dual-licensed under the NCSA and MIT licenses. Also make nativesdk-gcc-sanitizers use SDKGCCVERSION by default instead of GCCVERSION (From OE-Core rev: 4ed21998827060745d2858e2d6c121baf823e64a) Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-01-23elfutils: upgrade to 1.161Hongxu Jia
Drop PREFERRED_VERSION_elfutils in meta/conf/distro/include/ tcmode-default.inc, it builds the latest version by default. (From OE-Core rev: 7ff30c54439a761d66fd4ceca80073e3653373bf) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-01-23gcc-sanitizers: Enable GCC sanitizersDan McGregor
AddressSanitizer is a fast memory error detector. ThreadSanitizer detects data races. UBSanitizer detectes undefined behaviour. All consist of compiler instrumentation and a run-time library. The compiler instrumentation was already enabled, this builds the run-time library component. (From OE-Core rev: 1709bf0c3a84bb04bc52e9104ad8e09fba6c6f91) Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-25elfutils: Update PREFERRED_VERSION after upgradeSaul Wold
Since we normally fix the version of elfutils in tcmode-default, this needs to be updated after we upgrade the recipe itself. (From OE-Core rev: d2a70aaa1fea446b578a4d904d8d92a6eb16b6a5) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-21linux-libc-headers: Upgrade 3.17 -> 3.17.7Richard Purdie
Whilst we don't usually take linux-libc-headers point release, 3.17.3 fixes a userspace header issue which caused gdb to fail to build on mips. We therefore may as well upgrade to the latest point release. (From OE-Core rev: f08a67b451091fcdc84b6b8b1627a8c9589e0ef3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-21linux-libc-headers: update to 3.17Bruce Ashfield
(From OE-Core rev: 6b43ac633ea77c9af29b196f3043a40198b29b2f) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-12-05tcmode-default.inc: use GCCVERSION for gcc-sourceKoen Kooi
This was missing leading to gcc-source-<foo> being built when using gcc-cross-<bar> with GCCVERSION=bar. (From OE-Core rev: fa249f347b3453537ee6aaea0d3bb75cfe7a75d1) Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-09-30tcmode-default: Define PREFERRED_VERSION for binutils-nativeKhem Raj
When using other toolchain layers, it does not pick the OE-Core version eventhough not specified, its because we did not pin it. Change-Id: Ic47fd607a2a6535dd157d8afdd004197d2a6f60b (From OE-Core rev: be1e7909abb1fc27087b2b99b183da260f9653af) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-09-01distro: TCLIBC now defines glibc instead of eglibcKhem Raj
Adjust naming conventions to reflect eglibc->glibc move (From OE-Core rev: ce3f296ec9021d207cb80cb2c697932b83fd0e81) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-31linux-libc-headers: update to 3.16Bruce Ashfield
Updating the linux-libc-headers to the 3.16 release. This matches the current -dev kernel version, and is compatible with the existing named kernel versions (3.10, 3.14). (From OE-Core rev: 7246d62406acf862d3c79e6f615e0c595d46845e) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-15tcmode-default.inc: Add eglibc-scripts and eglibc-mtraceMark Hatle
Add the specific scripts and mtrace versions to the preferred version list. (From OE-Core rev: 6fa356c6a808a4876e23722ab86b80a4c6bd072d) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-06tcmode-default.inc: allow override of binutils-crosssdkCristian Iorga
Sometimes, binutils-crosssdk needs to be override, like is the case for producing Darwin cross SDK. (From OE-Core rev: 8e4dc3da0662063579ac7ebe01cc09dc883e91e0) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-29tcmode-default.inc: Default to using gcc 4.9Khem Raj
(From OE-Core rev: 050dbf916b7da792be0f9ca2ee7895ceb397fbce) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-07tcmode-default: Fix up sdk related PREFERRED_VERSION variables after ↵Richard Purdie
toolchain changes Also drop an obsolete gcc-cross-intermediate reference. (From OE-Core rev: d807e87708d5e4dc9267aa1611ba7ad7beec1d40) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-06tcmode-default.inc: Adjust for new toolchain component changesKhem Raj
Recently we renames the cross compilers as well as spun out libgcc-initial from gcc-initial out. We need to also express it in default tcmode otherwise defining GCCVERSION and/or BINUVERSION outside OE-Core does not cover all cases (From OE-Core rev: 82813d27640549255dc81a15d7fb63688431f747) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-02tcmode-default.inc: Add default SDK PREFERRED_PROVIDERSRichard Purdie
We should be explicit about the providers for the SDK toolchain so add entries to do this. (From OE-Core rev: fba380a2a37f04de04c0626c0a09cfe757c24341) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-01tcmode-default: Update PREFERRED_PROVIDERSRichard Purdie
Update PREFERRED_PROVIDERS after cross tooling name change to include PN. Also drop the now obsolete gcc-intermediate which no longer exists. (From OE-Core rev: 5cbb5c12a5656915c3c9752187b54ef095d42828) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-31libc-headers: set TC default to 3.14Bruce Ashfield
(From OE-Core rev: acd025cbeef533137522e60dd2cc5a6a4300d1b5) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-18eglibc: Upgrade from 2.18 -> 2.19Khem Raj
License formatting and address for FSF in the COPYING and COPYING.LIB has changed. Dropped patched already upstream and patches that were workarounds for older glibc and busybox for e500 we have should pass --without-fp to eglibc/glibc 2.19 onwards the code is merged from eglibc into glibc upstream under nofpu/ pretext (From OE-Core rev: 875df27e56b82fcf970410b6d78e3672471c336a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-02binutils: Upgrade to 2.24Khem Raj
This builds and runs images for all qemu machines (From OE-Core rev: 015eca84f1b0f25868b47d2480bb60cea698f70e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-26linux-libc-headers: update to v3.10Bruce Ashfield
Now that the 3.10 kernel has been released we can bump the libc-headers to that version and remove the 3.8 variant. Userspace compatibility is maintained through kernel versions, we also make the single 3.10 version the toolchain default. (From OE-Core rev: 4e79a46254e778f85c00efd4b0085cbaeb6e0d4d) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-05tcmode-default: Pin eglibc to 2.18Khem Raj
(From OE-Core rev: 887ce3cef0f6d7fcbb136474e29958ba69a6a726) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-28tcmode-default: Set GCC 4.8 as defaultSaul Wold
(From OE-Core rev: 7950a307bc7d4104e6cfb09bb2ea267c5da83f2a) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-13gzip : upgrade to 1.6Andrei Dinu
tcmode-default: Update gzip PREFFERED_VERSION to 1.6 (From OE-Core rev: 0a3dff5bc0b98df54f8e0f4f198999e00a5f2ce7) Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> [sgw - updated tcmode-default] Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-08tcmode-default.inc: Pin binutils to 2.23.2Khem Raj
(From OE-Core rev: 27759800b020ad52c2e91b8eea3acf9216860a0a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-02linux-libc-headers: update to v3.8Bruce Ashfield
Now that the 3.8 kernel has been released we can bump the libc-headers to that version and remove the 3.7 variant. Userspace compatibility is maintained through kernel versions, we also make the single 3.8 version the toolchain default. (From OE-Core rev: 4f9ef639143d890e9d2e71fea3b461fcc8e3f678) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-28eglibc: Upgrade recipes 2.16 -> 2.17Khem Raj
Drop patches that are applied upstream Fix the license checksums for changes in LICENSES file the new changes add more copyright notices that were missing earlier Moving ports is no longer needed since ports is now part of libc proper Refresh tzselect-sh.patch to accomodate upstream changes C++ headers discovery relative to target sysroot is fixed differently upstream hence we drop use-sysroot-cxx-headers.patch aarch64 support is already available in 2.17 hence drop the local patches (From OE-Core rev: 83b6fe6d91b924be5a7676e6ee973ce26b5eefc5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-25tcmode-default.inc: Switch to git version of uclibc by defaultKhem Raj
systemd related functionality is tested in latest git of uclibc therefore lets use it as default provider for uclibc as its the most tested version on master (From OE-Core rev: db93f49c676f84d6d5ad54a9f1ed9be7ba6d5364) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-07linux-libc-headers: make 3.7 the default and remove older libc-header recipesBruce Ashfield
Switch the default libc-headers to the 3.7 version. At the same time, remove older versions of the headers to keep things simple and clear. All userspace and kernel combinations should build and boot against this single lib-headers version. (From OE-Core rev: e7c9706d6a6777326a62e73bffdbb0f940792ff4) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-12-06tcmode-default.inc: Use binutils 2.23.1Khem Raj
(From OE-Core rev: 1623c4757e5401570c3405e563d1cfd345a1e636) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-02nativesdk: Switch to using nativesdk as a prefix, not a suffixRichard Purdie
As discussed on the mailing lists, using a suffix to package names is hard and has lead to many recipes having to do PKGSUFFIX games. Its looking extremely hard to scale nativesdk much further without hacking many recipes. By comparison, using a prefix like multilib does works much better and doesn't involve "hacking" as many recipes. This change converts nativesdk to use a prefix using the existing multilib infrastructure. (From OE-Core rev: 81813c0e322dc04ce4b069117188d8a54dfddb8c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-28tcmode-default: Bump EGLIBC Version to 2.16Saul Wold
(From OE-Core rev: 08f57808b82599ed32fdc2fb9ec2c6491465c520) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-17linux-libc-headers: updated to 3.4.3Bogdan Marinescu
Tested by building core-image-sato-sdk. (From OE-Core rev: d67e47bd457de90b19428245644dc64ecf4ba11a) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-25tcmode-default: Update gzip PREFERRED_VERSION to 1.15Saul Wold
(From OE-Core rev: 28d5fec9a68411343fd304be055f55974c8c5cae) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-11linux-libc-headers: set default LINUXLIBCVERSION to 3.4Bruce Ashfield
The 3.4 kernel is released, and is the default for qemu* builds, so we can safely update the default libc-headers version to 3.4. Built and booted for qemu* (From OE-Core rev: 3e57510bb11b350fbe15cae2fb5bf851956061ac) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-30tcmode-default.inc: Update to eglibc 2.15 everywhereRichard Purdie
(From OE-Core rev: 08a251a8dcbac85e0627a886bfff0907d950da7f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-30tcmode-default.inc: Default to gcc 4.7Richard Purdie
(From OE-Core rev: f5fb611f79ddb256252335e2549ddd2a0e45a772) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-30tcmode-default: Use SDKGCCVERSION ?= "${GCCVERSION}"Khem Raj
Usually they should be same if not defined to be different by user. In this case if I override GCCVERSION in local.conf then SDKGCCVERSION will also follow the suite. (From OE-Core rev: 1f9c07d8a086a3dc3bb68eaabd56a1b1730306ff) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-10meta-toolchain: runqemu falied on FC16/Opensuse12.1 x86_64Robert Yang
runqemu can't launch a target image on Fedora 16 64bit or Opensuse 12.1 64bit, this is because runqemu needs the host's libGL.so, which requires GLIBC_2.14 which is defined in libc.so.6, but our default libc.so.6 is version 2.13, here is the message from Richard: The easiest solution would be to change the nativesdk libc to 2.15. I don't think we plan to do this for the target libc for 1.2 but we could change nativesdk's version if its well tested [YOCTO #1968] (From OE-Core rev: 5f1becfba0b801eeacb1c626659fe46cd6df25bf) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-23linux-libc-headers: set default LINUXLIBCVERSION to 3.2Bruce Ashfield
Switch the default libc-headers to the 3.2 version. (From OE-Core rev: fc2f1581d98fccf931cb98a63ee801a444110ce4) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-08tcmode-default: add preference for gdb/gdbserverChristopher Larson
(From OE-Core rev: 4ef5e70f531f48cef90805402c16ec02ad3f2b92) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-08uclibc: Upgrade recipes from 0.9.32 -> 0.9.33Khem Raj
Prefer 0.9.33 by default Delete recipes for 0.9.32 (From OE-Core rev: 5d2c0b051072b3cee510dcad8d20fb26d3843f62) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>