aboutsummaryrefslogtreecommitdiff
path: root/meta-linaro-toolchain
AgeCommit message (Collapse)Author
2015-11-09external-linaro-toolchain: create empty nscd filesKoen Kooi
This is to appease OE-core glibc packaging. Change-Id: I3c3b43340c716f2903034e830b1fa7a061a03be7 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2015-11-04external-toolchain: fix parsing for non-prerelease toolchainsKoen Kooi
The 'prerelease' bit is gone from the version string so the parser errors out. Add support for the new format and document the older formats as well. To aid debugging this problem print out the version string gcc returns before trying to parse it. This fixes https://bugs.linaro.org/show_bug.cgi?id=1850 Change-Id: Ifdaedccfa8772e72e126c16bd8c9e482cfdd3895 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2015-08-14external-linaro-toolchain-versions: update ELT_VER_LIBC for new dir structureDenys Dmytriyenko
New 2015.05 binary release has libc-${ELT_VER_LIBC}.so in /libc/usr/lib/ Check there to extract version, if can't find it in /libc/lib/ Change-Id: Ibaade01fbb6e6dbb36d3b82cb335e4d5e5a2315a Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2015-08-14external-linaro-toolchain: work around 2015.05 release that moved libsDenys Dmytriyenko
Starting with 2015.05 binary release, all the libraries have been moved from /libc/lib/ to /libc/usr/lib/ that causes various toolchain issues in OE, ranging from QA errors to build failures of other components. This patch takes care of installing, updating and packaging libraries to match other versions and satisfy OE toolchain requirements. Previous attempt at fixing it in 78df3a9646e35790ef8b429c84a912d336fd128b wasn't complete and its conditional logic would never work: https://bugs.linaro.org/show_bug.cgi?id=1717 * Update check to look where ld-*.so is installed, instead of simply checking for /libc/lib/ presence, which exists in 2015.05 * Only copy real *.so* libs from /libc/usr/lib to base_libdir, let the rest (*.a, *.o, etc) go to libdir, as usual * If we copy *.so* to base_libdir, remove them from libdir * Update lib*.so -> lib*.so.* symlinking list with new libraries * For all the lib*.so symlinks created in libdir, remove potential dups from base_libdir * Remove lib*-${ELT_VER_LIBC}.so duplicates * When updating libc.so in base_libdir, no need to change path to ld-linux that is also in base_libdir * If both libc.so and libc.so.6 are in base_libdir, make sure the path to libc.so.6 in libc.so is correct * Same for libpthread.so * Suppress ldflags/GNU_HASH QA warning for more lib packages * Remove duplicate FILES_libstdc++ lines Change-Id: If22b59af9e27b480cc33f783bc0dfda561ded2f9 Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2015-08-06gdb-cross_linaro-7.8: remove elf_prstatus-size.patchMax Krummenacher
elf_prstatus-size.patch no longer applies as the patched file no longer exists. The patched code now resides in gdb-linaro-7.8-2014.09/bfd/elfxx-aarch64.c with the patch already applied. ERROR: Command Error: exit status: 1 Output: Applying patch elf_prstatus-size.patch can't find file to patch at input line 5 Change-Id: I74a89778e4aaf6d08ead0a84ba3ea26792245f06 Signed-off-by: Max Krummenacher <max.oss.09@gmail.com>
2015-08-03binutils: Fix bad RPATH QA IssueZongchun Yu
fix following error: ERROR: QA Issue: package binutils contains bad RPATH .../tmp/sysroots/<board>/usr/lib in file .../binutils/linaro-2.25-r2015.01/packages-split/binutils/usr/bin/aarch64-linux-gnu-ar [rpaths] ERROR: QA run found fatal errors. Please consider fixing them. ERROR: Function failed: do_package_qa Change-Id: I8422c7099e1424c44e91681fa2f493b630abdb28 Signed-off-by: Zongchun Yu <Zongchun.Yu@freescale.com> Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2015-07-23binutils: remove '-2' from PRZongchun Yu
Fix following Error: | DEBUG: Executing shell function BUILDSPEC | error: line 4: invalid tag value("^[A-Za-z0-9+._]+$") Release: Release: r2015.01-2 | error: Package has no %description: binutils-linaro+2.25.aarch64 | Building target platforms: aarch64-fsl-linux Signed-off-by: Zongchun Yu <Zongchun.Yu@freescale.com> Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Change-Id: Idd7077eec8cd35023ffefa2f29ba06d1365c6a3d
2015-07-09gcc linaro 4.9: update to 2015.06Koen Kooi
Change-Id: I1fb4d9caa496370b89b8857ef5677add68ff6d2a Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2015-05-24binary tarballs have a subtely different sysroot layoutRob Savoye
Change-Id: I1c04a3ec7aba086766376eb324b0bad0bf821af2
2015-03-13gcc linaro 4.9: update to 2015.03Koen Kooi
Change-Id: I27e915497def0f2582c227f4aaaf1a8c1806ed20 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2015-02-27binutils-2.25: Fix gold crash seen when linking busyboxKhem Raj
Change-Id: I49f989e100f360a167432a43c631b3939915cce1 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2015-02-26glibc_2.21.bb: Fix condition to skip parsing the recipe for non-glibc libcKhem Raj
The condition should be uclibc 'or' musl then we know its not glibc right now it checks with 'and' operator, that condition will never be true Change-Id: Ia7fd11ac5a64c5c6dd6e632540e33234d519a179 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2015-02-22gcc-sanitizers: enable GCC sanitizers15.02Fathi Boudra
Change-Id: I7b18997a70e75016d741068e8da6fba63ab07653 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2015-02-22gcc-linaro-4.9: refresh patch 0023-Use-the-defaults.h-in-B-instead-of-SFathi Boudra
Change-Id: I7b58a4a1d8d715e2dda7558c3a7757603a0319e5 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2015-02-22Revert "Revert "gcc-linaro-4.9: update to 2015.02 release""Koen Kooi
This reverts commit b995735712b99d451c71e74199eeb181f0470da2. Change-Id: I5a7399f4e648fd4d59e786d6967771c9701604c9
2015-02-21Revert "gcc-linaro-4.9: update to 2015.02 release"Koen Kooi
This reverts commit 9ee5bfef065b1b93b5e1a2a222b4340c047f9d47. Change-Id: Iaa902560304676f9551d9ea3d93ee177ca9bf812
2015-02-20glibc,external-toolchain: spare the native and nativesdk recipe variantsKhem Raj
We should make this change only when TARGET recipes are concerned since we use glibc for native and nativesdk providers even on uclibc and musl systems Change-Id: Ia93c5d808320516e856d77dee00479e653eea553 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2015-02-19glibc,external-linaro-toolchain: Now we need to skip them for musl tooKhem Raj
musl is alternative to C libraries available for OE now so we can not assume !uclibc = glibc Additionally, package libraries coming from gcc 4.9 Change-Id: Ifc86f4aa435c75bd8f95172a7165a8fee9f04647 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2015-02-17gcc-linaro-4.9: update to 2015.02 releaseFathi Boudra
* bump release version and update md5sum * sync patches with oe-core Change-Id: I1ede7960d4329992b59b1e4521af1eed4586d97a Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2015-01-30gcc-linaro-4.9: update to 2015.01Koen Kooi
Change-Id: Idca33ff3a2e5b9ed82f07a61e57f18f238274d7f Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2015-01-15gcc-source: add 4.8 versionKoen Kooi
Change-Id: I30e21840ae1b7d121e7d87ac2b33dc61648870c4 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2015-01-14glibc linaro 2.20: only symlink aarch64_be linker if it existsKoen Kooi
This fixes a buildfailure in glibc-initial, which doesn't build the linker. Change-Id: Id1ca52d2f3d79b437efd81967a215010e690ad84 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2015-01-07binutils: update to linux-2.25 2015.01-2Koen Kooi
All patches that were dropped were applied upstream (be it gnu or linaro) except for the XLP patch, that will need to be redone. Change-Id: I463e4ecfc53fdd41db021e34b6fdb2feaeb05680 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2014-12-11gcc-linaro-4.9.inc: add --with-abi=ilp32 for ILP32 buildsKoen Kooi
Change-Id: I228cdb99411fd0e6bcaf976d4fe03632c3d0724f Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2014-12-10tcmode-external-linaro: set PREFERRED_PROVIDER for (g)libc-mtraceKoen Kooi
Change-Id: Ib877aaf8a00e9f9d0f30d653fc8096350786a518 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2014-12-10external-linaro-toolchain: provide (g)libc-mtraceKoen Kooi
Change-Id: I1015105145b1639b58359288513713bb9cfb6fd2 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2014-12-09glibc linaro 2.20: add ILP32 patchesKoen Kooi
They don't seem to break the regular builds, so add them unconditionally. Change-Id: I26ff9f279b026db84b77672c86dec1f413eb9f53 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2014-12-04Merge "gcc-source: add linaro-4.9"Fathi Boudra
2014-12-04glibc-initial: add linaro-2.20 versionKoen Kooi
Change-Id: Ifc7717fb8f7c563f2a74f6249c2db576f59dff3a Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2014-12-04gcc-source: add linaro-4.9Koen Kooi
Change-Id: I54ee81ecbca0a637ff5cf2ac0113ab584466e516 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2014-12-03external-linaro-toolchain: package libubsanKoen Kooi
Change-Id: I5a068c917383694eea68208dd0f91031bddec73d Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2014-12-03external-linaro-toolchain: package libasanKoen Kooi
Change-Id: I881a3135d8f6a1d6af9971b909a6fd2e23e70b6c Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2014-12-03external-linaro-toolchain: package libatomicKoen Kooi
Change-Id: Ib1f62f622057413090a2556528bc127b1d3d16c3 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2014-12-03external-linaro-toolchain: rprovide glibc-*Koen Kooi
This gets shlib renamed to libc6-*, but OE-core lists the unrenamed names in LIBC_DEPENDENCIES :/ Change-Id: I72b697adce8227faf5d74ffde676d1ef7faed371 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2014-12-03external-linaro-toolchain: provide libsegfault and catchsegvKoen Kooi
Change-Id: I1bc0e8b7d89c57bbca7fb899cea788b13a666e30 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2014-12-03external-linaro-toolchain: provide gcov-devKoen Kooi
Change-Id: I94912472eca8111332cc37b19cbabbab023d78a5 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2014-12-03external-linaro-toolchain: remove PRKoen Kooi
Change-Id: I47516c27ecc5d748374f7ea36f6a0aa8d07f5909 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2014-12-01glibc: remove cross-localedef-native recipeFathi Boudra
It causes build failure since it contains reference to glibc-2.19. It isn't required anyway as we upgraded to Linaro glibc 2.20. Change-Id: Ic9f1e9dc048d6de396cd535fdfa8ca36691359cf Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2014-12-01external-linaro-toolchain-versions.inc: add support for cbuild2 version parsingKoen Kooi
Change-Id: I45a7f8899f28be12abb820be734525fa8c36f041 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2014-11-28binutils: update to Linaro binutils 2.24-2014.11 releaseFathi Boudra
* update SRC_URI and checksums Change-Id: Idb4602a012dc27c05866b8fb87ebbe6e0d9ceebe Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2014-11-27(e)glibc: update eglibc-linaro 2.19 to glibc-linaro 2.20Koen Kooi
Change-Id: Ied7ba9d745bf3a1fdb5d9878285bc1794c1bc010 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2014-11-25gcc-linaro-4.9: update to 2014.11 releaseFathi Boudra
bump release version and update md5sum sync with oe-core: * add 0056-top-level-reorder_gcc-bug-61144.patch * add 0058-gcc-r212171.patch * add 0059-gcc-PR-rtl-optimization-63348.patch Change-Id: Id27dc699033364f8e48c226b44fa404ab7f707f9 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2014-11-12Merge "external-linaro-toolchain: eglibc -> glibc"Fathi Boudra
2014-11-12external-linaro-toolchain: eglibc -> glibcKoen Kooi
OE-core moved to glibc, make external toolchain follow that. Even if the external toolchain is using eglibc we need to specify glibc to get the build going. This is caused by the way OE-core handles virtual/libc. Change-Id: I4f1cf621901ef3885bc1bfcba61903e6818433ca Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2014-11-04eglibc: fix SRC_URIFathi Boudra
prefer releases.linaro.org than teh temporary cbuild location. Change-Id: Ia35d1dacd4f986d36b6f1561241ec2cc6b5b4065 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2014-10-20gcc linaro-4.9: update to 4.9.2-2014.1014.10Koen Kooi
Change-Id: I8a971ef8acc4f3a709d5cfd153f9e0ad3d532fd3 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2014-09-26gcc-linaro-4.9: update to 2014.09 releaseFathi Boudra
bump release version and update md5sum sync with oe-core: * add 0054-gcc-Makefile.in-fix-parallel-building-failure.patch * add 0055-PR-rtl-optimization-61801.patch (disabled) Change-Id: I66d1a4b961357ff9c5b9ab00c2aa77dface8ca83 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2014-09-23cross-localedef-native: fix SRC_URI14.09Koen Kooi
Change-Id: I7946d0971256ed95a6cb4cc5a4f81d1bdaded3d1 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2014-09-17eglibc linaro 2.19: pretend to be named 'glibc'Koen Kooi
Having an eglibc-initial recipe will keep throwing errors, so let's pretend to be 'glibc' to get rid of those errors. Change-Id: Ic05bea8f41a83ac0fa66d58c8cfc8cae30a9b336 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2014-09-17eglibc: merge linaro-2.19 into 2.19Koen Kooi
Having a bbappend + version override + original recipe in our git tree is too confusing, merge everything into a one dir. Change-Id: I36a9701ee3292e2ba4eaa4fb3d7612e8a291d52a Signed-off-by: Koen Kooi <koen.kooi@linaro.org>