aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-06-02gcc-arm-8.3.inc: fix version parsing in cve_checkwarriorRalph Siemsen
The "arm-" prefix on ${PV} produces warnings during cve_check, since the string "arm-8.3" cannot be sensibly compared against numeric "8.3", eg: WARNING: gcc-cross-arm-arm-8.3-r2019.03 do_cve_check: gcc: Failed to compare arm-8.3 < 10.0 for CVE-2019-15847 Similar fix has been made upstream in meta-arm-toolchain: https://git.yoctoproject.org/cgit/cgit.cgi/meta-arm/commit/meta-arm-toolchain/recipes-devtools/gcc?id=fdc51fe01ae50444c7608450ae10854d9768190a Change-Id: I4f4bf6ce755f1b4e69d4158875d5e4ba13de4133
2020-01-02external-arm-toolchain: install missing toolchain binariesSumit Garg
ldconfig and sln binaries are packaged at toolchain location: ${EXTERNAL_TOOLCHAIN}/${EAT_TARGET_SYS}/libc/sbin/ and ldconfig is a dependency for systemd which leads to following error if not present: Error: Problem: package packagegroup-core-boot-1.0-r17.dragonboard_410c requires systemd, but none of the providers can be installed - conflicting requests - nothing provides ldconfig needed by systemd-1:243.2-r0.aarch64 So fix above error via installing the missing binaries. Signed-off-by: Sumit Garg <sumit.garg@linaro.org> Change-Id: Icb8a33def9ad1995189918fa309a1dd5ee632486
2020-01-02external-arm-toolchain: fix libraries installationSumit Garg
- Don't follow symlinks (remove -H option) while copying libraries as this leads to redundant copies of libraries rather than using symlinks. - Correct symlink fixups of copied libraries. - libpthread.so.0 is no longer a linker script but rather a symbolic link to libpthread-<version>.so in toolchain, so remove linker script fixup. Signed-off-by: Sumit Garg <sumit.garg@linaro.org> Change-Id: Ied1295c197a2d6d872e783a6d80896776293aa18
2020-01-02external-arm-toolchain: provide rtld(GNU_HASH) packageSumit Garg
Provide rtld(GNU_HASH) package required by sysvinit recipe. Signed-off-by: Sumit Garg <sumit.garg@linaro.org> Change-Id: Ic82ca3fb08732fa00f640916a6a28d231d763f39
2020-01-02external-arm-toolchain: fixes for static-libs and headersSumit Garg
- Provide libgcov-staticdev instead of libgcov-dev as external toolchain provides libgcov.a only. - Remove installation of static libs like libgcc.a etc which aren't packaged as per existing OE recipes. - Package libgcc headers. Signed-off-by: Sumit Garg <sumit.garg@linaro.org> Change-Id: I72bb0a48855b457c263e159e3a9b67fc4ea665bc
2020-01-02external-arm-toolchain: fix oe_multilib_header() errorsSumit Garg
Since external toolchain doesn't provide multilib support so define oe_multilib_header() as an empty function to avoid errors such as: ERROR: external-arm-toolchain-2019.03-r0 do_install: oe_multilib_header: Unable to find header bits/procfs-id.h. ERROR: external-arm-toolchain-2019.03-r0 do_install: oe_multilib_header: Unable to find header bits/procfs.h. ERROR: external-arm-toolchain-2019.03-r0 do_install: oe_multilib_header: Unable to find header bits/shmlba.h. Signed-off-by: Sumit Garg <sumit.garg@linaro.org> Change-Id: I8ae41de962d72162f2ae47c419407b6eadaf8c12
2020-01-02external-arm-toolchain: sync toolchain packagingSumit Garg
Sync toolchain packaging with existing recipes in OE for various libraries and headers. Signed-off-by: Sumit Garg <sumit.garg@linaro.org> Change-Id: I8fb563fdbda3f2d0046c458fd9c0b00342f49906
2019-08-09linux.inc: replace tabs with spacesRyan Harkin
Fixes the warning found in the build: WARNING: /linaro/warp7/workspace-warrior/build-rpb/conf/../../layers/meta-linaro/meta-linaro/recipes-kernel/linux/linux-hikey-ilp32_4.12.bb: python should use 4 spaces indentation, but found tabs in linux.inc, line 28 WARNING: /linaro/warp7/workspace-warrior/build-rpb/conf/../../layers/meta-linaro/meta-linaro/recipes-kernel/linux/linux-hikey-ilp32_4.12.bb: python should use 4 spaces indentation, but found tabs in linux.inc, line 29 I also aligned the changed sections to 4 space boundaries, and removed some trailing whitespace. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org> Change-Id: I0211bc4d22816d27c3b1d1f2b3f91ad68df32e83
2019-05-09.gitreview: switch to warriorNicolas Dechesne
Change-Id: Id663a53cdab7cbad786ca347853e5c1363abfb5f Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2019-04-17gcc-arm-8.3.inc: fix minor versionVishal Bhoj
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org> Change-Id: I294167d5565038ccd00d0dc56d1ad708b94b3922
2019-04-15gcc-arm-8.3: update patchset to match oe-core gcc 8.3 recipeVishal Bhoj
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org> Change-Id: Ibd77f725c6a277dab3bdde01785df0194fd0bddb
2019-04-15meta-*: Change LAYERSERIES_COMPAT to warriorVishal Bhoj
The next release version will be warrior (now master) so change the layer compat to warrior, to fix current failures on oe-rpb master builds: https://ci.linaro.org/job/96boards-reference-platform-openembedded-master-gerrit-premerge-ci/27/ Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org> Change-Id: I5585f9b9347468d05a8fd2fcbdb9f16955008a2c
2019-04-04gcc-arm 8.3: add recipe for ARM 2019.03 8.3.0 releaseVishal Bhoj
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org> Change-Id: I12f911aaa1f7fc4cc3bc9168fbd3ad12a65d5a6d
2019-04-03Merge "external-arm-toolchain-versions: fix typo"Vishal Bhoj
2019-04-03external-arm-toolchain-versions: fix typoVishal Bhoj
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org> Change-Id: I4542e614518ff429f78b4fbcee286594b05d3986
2019-04-03meta-linaro-toolchain: remove linaro gdbVishal Bhoj
Linaro 7.8 gdb fails to build with gcc 8.3. Linaro doesn't release gdb anymore. We will switch to using upstream gdb. Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org> Change-Id: Id25d4ad21331f51d9421d088c534460ddf0a9bce
2019-04-03external-arm-toolchain-versions: fix support for ARM gcc 8.3.0-2019.03 releaseVishal Bhoj
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org> Change-Id: Icc1d01447131e0b84024c88a01c78fe1e765a6e1
2019-04-03external-arm-toolchain: libc.so linker script should use relative pathDenys Dmytriyenko
libc.so linker script should use relative paths to not clash with host libs. Using absolute paths in libc.so is fine with standalone toolchain or when used inside a rootfs. But when used inside OE SDK for cross-compilation, the absolute path confuses compiler with libs from host environment. In the past, Linaro prebuilt toolchains always had relative paths inside libc.so linker script. Adjust it the same for the Arm prebuilt toolchain. Signed-off-by: Denys Dmytriyenko <denys@ti.com> Change-Id: I8faaddcc11da7cfb9fb29217084cbc0d34dcc270
2019-04-01gcc-arm-8.2: switch from upstream svn to linaro/arm git sourcesDenys Dmytriyenko
This is to sync up with thud, which already uses git sources of linaro/arm gcc instead of upstream svn base. Signed-off-by: Denys Dmytriyenko <denys@ti.com> Change-Id: Ibbf4f0eafa34ae99943ad88357e165aa954992e8
2019-03-27external-arm-toolchain: also package up extra libs, stubs and headersDenys Dmytriyenko
* Install additional static libs, stubs and header files * Needed for -dev versions of libgcc, libgfortran and other packages * All the FILES_* variables are already set up for them * FILES_* are inherited from OE-Core and use BINV and TARGET_SYS references * Initialize BINV and TARGET_SYS with corresponding similar EAT_* versions * libgcc from OE-Core doesn't follow the same path as gcc, hence ${libdir}/${EAT_TARGET_SYS}/${EAT_VER_GCC} vs. ${libdir}/gcc/${EAT_TARGET_SYS}/${EAT_VER_GCC} Signed-off-by: Denys Dmytriyenko <denys at ti.com> Change-Id: I00cbbf4306082196716627c519e15b1c8426923e
2019-03-27external-arm-toolchain: package up toolchain binariesDenys Dmytriyenko
* Copy all ${bindir} and ${sbindir} binaries from the external toolchain * That would package ldconfig, locale, tzselect and ldd, among others * All the necessary FILES_* variables are already set up for them * Remove gdbserver binary, as it's not listed in PROVIDES for now * Fix couple shell scripts that hardcode bogus hashbang path for /bin/bash * Also add RDEPENDS on bash for those scripts * Set PKGV to libc version - this is needed because PV is set to toolchain version and when -dev/-dbg depends on the main package, it ends up using the wrong version. E.g. libc6-dev ends up depending on main libc version 2019.01 instead of 2.28, which prevents it from being installed properly. Signed-off-by: Denys Dmytriyenko <denys at ti.com> Change-Id: Ib40f0cd38b8464bab7039e7b37d5605b9af00f6e
2019-03-27external-arm-toolchain: basic cleanupDenys Dmytriyenko
* unify whitespace indentation * remove trailing spaces * use cp $CP_ARGS instead of cp -a * remove spurious # cat kjasdkjasd Signed-off-by: Denys Dmytriyenko <denys at ti.com> Change-Id: I78173f15f8967d76303f0d243ccd508798d8a231
2019-03-20Merge "meta-linaro-toolchain: Fix PV in glibc_linaro"Vishal Bhoj
2019-03-17optee-test_git.bb: include fixes to build with gcc-8.2Vishal Bhoj
The patches are cherry-picked from this merge request: https://github.com/OP-TEE/optee_test/pull/320/commits Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org> Change-Id: Ic0b05670d2f1443f91a4d6bab307cad035d56f35 (cherry picked from commit b15c90443c1af1083f38f791271fa39ea51796c9)
2019-03-15meta-linaro-toolchain: Fix PV in glibc_linaroAníbal Limón
I tried to fix glibc linaro due to a change in upstream that overrides the PV to 2.29 causing a build failures [1]. Besides this change the glibc_linaro-2.20 is failing when try to build with newer gcc (8.2). [1] 768925270cc2449ee0adc9038905eac27f3043d8 Change-Id: Ibcee6769cfac6717341c644ece2c4538fee1257b Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
2019-03-11perf: Remove bbappendDaniel Díaz
No need for this anymore. Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org> Change-Id: I998f16a680c0b034f314ee52726625057b8bb30e
2019-03-08external-arm-toolchain: add binutils-cross-Vishal Bhoj
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org> Change-Id: I55c98909cc9814e79090f5d16e8d3ab85117383f
2019-03-06meta-linaro-toolchain: Set PV on glibc_linaroAníbal Limón
Recently a common file was introudced to set PV for glibc [1] in oe-core causing failures becuase glibc_linaro is trying to download the latest oe-core version (2.29). [1] https://git.openembedded.org/openembedded-core/commit/?id=41093cb6c6 Change-Id: I5c99c25a953f00a64614046ba40e578795553bc1 Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
2019-02-07tcmode-external-arm.inc: add 'libc-locales libc-locale-code libc-charsets' ↵Koen Kooi
to DISTRO_FEATURES_LIBC Change-Id: Ib58e56550eb718d7fb9be1800fb923af7a29e733 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2019-02-07tcmode-external-arm.inc: set glibc overrideKoen Kooi
Change-Id: Ib25927becd05e0f9c7895d833994ff223ef49afd Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2019-02-07external-arm-toolchain: sync FILES_* with OE-coreKoen Kooi
Change-Id: Ifac70d7ee9c7a2fdc300e03e6aedf5ce4e3792d9 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2019-02-06external-arm-toolchain: PACKAGES_DYNAMIC = "^locale-base-.*"Koen Kooi
Change-Id: I4dd3ac7a5cbae7ad6a3cad93bea761d81d0f10a9 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2019-02-06tcmode-external-arm.inc: prefer virtual/libc-locale = external-arm-toolchainKoen Kooi
Change-Id: I1d9b4e38d6957eeb729175b9c293690ff4f318c7 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2019-02-05external-arm-toolchain: also provide virtual/libc-localeDenys Dmytriyenko
Normally provided by glibc-locale. Change-Id: Iaae68c3ffddcff070ac3c42e4d68d1c890567b10 Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2019-02-05external-arm-toolchain: rpcsvc/rquota.* headers are now provided by separate ↵Denys Dmytriyenko
quota package Change-Id: I853d2b48794768c35d28b131c958838e3a2fcf25 Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2019-02-05external-arm-toolchain: libnsl was split off of glibc and is a separate ↵Denys Dmytriyenko
package now Change-Id: I151d39bf3fad55a526a752d63cc8668dcc08f232 Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2019-02-05external-arm-toolchain: libcidn is no longer packagedDenys Dmytriyenko
Change-Id: Iaaf778ded9f85573fe003cd88db83f19ae94c870 Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2019-02-05external-arm-toolchain: libasan/libubsan bump major version numberDenys Dmytriyenko
Change-Id: Icac2e6b0d396004c329f9d17b652698e064401d5 Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2019-02-05external-arm-toolchain: switch from ${COREBASE}/LICENSE to ↵Denys Dmytriyenko
${COMMON_LICENSE_DIR}/MIT Change-Id: I53bbe6219e7b66d19411405a32c0885b15558de4 Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2019-02-05external-arm-toolchain: fix host contamination QA issueDenys Dmytriyenko
Fixes bunch of these warnings: WARNING: external-arm-toolchain-2019.01-r0 do_package_qa: QA Issue: external-arm-toolchain: <filename> is owned by uid 1000, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated] Change-Id: I022097c54a7d3269b816e9d2bd38aba5f0c1f4da Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2019-02-05external-arm-toolchain: some packages rdepend on ldd, so allow creating ↵Denys Dmytriyenko
empty package Change-Id: Ibc6739fe05f09471561a8c83ee43a5d87be2cc10 Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2019-02-05external-arm-toolchain: package c++ headersDenys Dmytriyenko
Since c++ headers are part of gcc and not glibc, they are not located in libc/usr/include/, but instead in include/, so copy and install them too. Also, set up a symlink in case any code looks for them in include/ Change-Id: I4fd076349e3d6d812faa3e1cad92ede90f22511f Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2019-02-05external-arm-toolchain: libgcc_s.so in base_libdir is not a symlink, but a ↵Denys Dmytriyenko
linker script Change-Id: I16da561c9960b033229a4c88c25b73259eee89de Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2019-02-05external-arm-toolchain: package header files into linux-libc-headers-devDenys Dmytriyenko
Regular linux-libc-headers package uses standard packaging split code and headers end up in ${PN}-dev package, while main ${PN} remains empty. Follow the same model and package headers into linux-libc-headers-dev. Change-Id: I0349646c5aef39ba5511fad7df31629d3adbdfea Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2019-02-05tcmode-external-arm: uncomment preference for virtual/${TARGET_PREFIX}binutilsDenys Dmytriyenko
external-arm-toolchain does provide virtual/${TARGET_PREFIX}binutils, so set default preference accordingly. Change-Id: I8b9a70f4c6e2194a4a52dcddf3239f0c543cf7ef Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2019-02-05external-arm-toolchain: also support 32-bit arm toolchainsDenys Dmytriyenko
Remove hardcoding of "lib64" and "aarch64" and allow usage with 32-bit arm toolchains, like arm-linux-gnueabihf. Change-Id: I5da088b813e2f3c7f568a040ac48866d33a48966 Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2019-02-05tcmode-external-arm.inc: fix some ELT⇒ EAT conversions that were missed ↵Koen Kooi
previously Change-Id: I3a1416cea0c80031a5e72c7877d7f86133ee15c5 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2019-01-25Merge "gcc-arm 8.2: add recipe for ARM 2019.01 8.2.1 release"Fathi Boudra
2019-01-25Merge "external-arm-toolchain: add external prebuilt ARM toolchain"Fathi Boudra
2019-01-23gcc-arm 8.2: add recipe for ARM 2019.01 8.2.1 releaseKoen Kooi
Change-Id: Iae2ebc60bacd77fac49cac8f5bb97711479d4fe6 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>