summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
Commit message (Collapse)AuthorAgeFilesLines
...
* apt: add nativesdk supporthongxu2021-01-161-3/+22
| | | | | | | | | | | | | | | | | | | | 1. Add nativesdk support - Apply the same patches of native - Generate the same apt.conf.sample of native 2. Create user '_apt' to fix apt runtime warning [snip] $ apt update ... W: No sandbox user '_apt' on the system, can not drop privileges [snip] RP: Add comment about need to user RP: Add user to selftest static-passwd (From OE-Core rev: be36b825ada573b2a7df9884eaab78664928594a) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: Fix CVE-2020-35448Yi Fan Yu2021-01-162-0/+86
| | | | | | | | | | | | | | | | | Fix related to a buffer overflow in bfd library CVE Details https://nvd.nist.gov/vuln/detail/CVE-2020-35448 Upstream Tracking https://sourceware.org/bugzilla/show_bug.cgi?id=26574 Patch from Upstream https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git; h=8642dafaef21aa6747cec01df1977e9c52eb4679 (From OE-Core rev: cb83312131f6c4f69d89d639085e07ea1f53167e) Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: fix do_compile errorChangqing Li2021-01-162-0/+35
| | | | | | | | | | Fix error like: Fatal error: can't create tests/ptimer-test.p/..._qemu-5.2.0_hw_core_ptimer.c.o: File name too long (From OE-Core rev: e125430dea6e5eba5587f56602b006c90ab16509) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libmodulemd: upgrade 2.11.1 -> 2.11.2Wang Mingyu2021-01-161-2/+2
| | | | | | | (From OE-Core rev: 5d0b0a0038648f4b5b20b68ff1fbfd2963bfcaef) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: upgrade 2.35 -> 2.35.1Wang Mingyu2021-01-136-3/+3
| | | | | | | (From OE-Core rev: cff69ee95a6ab49e6c6c1b1b2435e479e526c2c9) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: Don't turn string into a list in nativesdkRandy Li2021-01-121-3/+7
| | | | | | | | | | In the current version of meson, some path variables only accept a string not a list. (From OE-Core rev: 68f20ac5524a5db8a09a90df796b4862cf747d3c) Signed-off-by: Randy Li <ayaka@soulik.info> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: Add sysroot property to nativesdk-mesonRandy Li2021-01-121-0/+1
| | | | | | | | | | | I know the environment setup script would set PKG_CONFIG_PATH, but the meson won't take that env when translate the includedir property from the pkg-config. (From OE-Core rev: 4ac692422526a2924602df410d7562b31d36c0ae) Signed-off-by: Randy Li <ayaka@soulik.info> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcl: upgrade 8.6.10 -> 8.6.11Wang Mingyu2021-01-103-61/+16
| | | | | | | | | | | | 0001-Fix-abd4abedd2-Failed-to-build-tk-8.6.10-with-cross-.patch removed since it is included in 8.6.11 refresh alter-includedir.patch (From OE-Core rev: 3e83b9de739964f52b87e24d648091b084a1cf30) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pseudo: Update for arm host and memleak fixes/cleanupRichard Purdie2021-01-101-1/+1
| | | | | | | | | | | | | | | Pulls in: makewrappers: support architecture-overrides in wrapper modifiers makewrappers: fix Python 2 hangover Fix some memory leaks Disable deprecated function warnings Silence switch block warnings pseudo_util: don't overrun strings when looking for keys (From OE-Core rev: 11a3a9203ad595e7fa92acf442a7f3216d6e3830) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Add some user space mmap tweaks to address musl 32 bit build issuesRichard Purdie2021-01-093-0/+57
| | | | | | (From OE-Core rev: 18a37fcd7c0a64a339d1eea88b16ba75c017c5d5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Fix mingw buildsRichard Purdie2021-01-092-0/+22
| | | | | | | | | After the recent upgrade, mingw builds failed. Add a hack whilst a solution is discussed upstream. (From OE-Core rev: 967c6767eacab1951ae710666c588551102be5a3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Drop vm reservation changes to resolve build issuesRichard Purdie2021-01-093-172/+0
| | | | | | | | | | | | | | | | | | | | | | When building with the new version of qemu we see errors like: """ qemu-i386: Unable to reserve 0x7ffff000 bytes of virtual address space at 0x1000 (Success) for use as guest address space (check your virtual memory ulimit setting, min_mmap_addr or reserve less using -R option) ERROR: The postinstall intercept hook 'update_gio_module_cache-nativesdk' failed """ The VM reseration patches we're carrying look suspicious in this context. Drop them since the patches appear to be a liability causing other issues and there is a much simpler fix for the webkitgtk issues on musl on 32 bit (see later linux-user mmap patches). Reviewed-by: Alistair Francis <alistair.francis@wdc.com> (From OE-Core rev: 8a0efb16ca7cf22902fac743718c776b57c6d2f6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Upgrade 5.1.0->5.2.0Richard Purdie2021-01-0925-638/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | This involves some pretty major changes for qemu. In particular, they switched to meson+ninja so we have to adapt to that. Patch changes: * CVE patches - dropped as backports * cflags fix - upstream code changed significantly, need new patch if still issues * mips TLB entries - dropped as merged upstream * usb fix - dropped as merged upstream * find_datadir - dropped as code no longer present that I could find A patch was added to allow us to force the configure script into "cross" mode without setting cross_prefix which has other effects we don't need/want. Dependencies on meson/ninja were added. Specifying the python interpreter causes the internal meson copy to be built/used which is undesireable for us so don't do that. The correct python is in PATH anyway. Acked-by: Alistair Francis <alistair.francis@wdc.com> (From OE-Core rev: 181c635567aafb9b4787d8d6d0bcd4a615ceae80) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: remove tcl DEPENDSRoss Burton2021-01-081-1/+1
| | | | | | | | | | | | The integrated Tcl/Tk module was removed in Ruby 2.4[1] back in 2016, so this build dependency can be removed. [1] https://github.com/ruby/ruby/commit/303dc3c591e324b6bbc691326d8bea76fe3b8fda (From OE-Core rev: 9f4e181924a83d7b26b11de765c202a9bd036f64) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pseudo: Add lchmod wrapperRichard Purdie2021-01-081-1/+1
| | | | | | | | | | | | | | | New versions of glibc have an lchmod function so we need to wrap it. Identified through a reproducibility issue in initramfs-base where /dev/console created by mknod from coreutils changed permissions depending on the host distro (mknod used the gnulib wrapper on most hosts but newer ones used the libc call). [YOCTO #14162] (From OE-Core rev: 20a645664977530e602e1ac97e8dc0962e730e6c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ccache: Extend to nativesdkRobert Yang2021-01-081-1/+1
| | | | | | | | | | | | Now we have to use host's ccache as described by: f5b29367af ccache.bbclass: use ccache from host distribution So extend it to nativesdk and will add it to buildtools-tarball. (From OE-Core rev: 7daf1e6e300e15e4be719e928a9100f4f454f405) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ccache: Fix build on aarch64/clangKhem Raj2021-01-082-0/+36
| | | | | | | | | | | asm option checks in cmake gets it wrong to just check compiler options to decide if SSE/AVX is supported, this accidentally then succeeds on aarch64 and ends up compiler failures on aarch64 with clang (From OE-Core rev: 0dea25b4296a66ec5c6d7bf5250ae0090e9b4016) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* diffstat: point the license checksum at the licenseRoss Burton2021-01-051-3/+1
| | | | | | | | | | | | Previously install-sh was used, which is installed by autoconf so isn't a relevant license. Also remove S assignment, as that's the default. (From OE-Core rev: 23cb39a5fa2a55681e7bc2605f435135cec9173b) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: CVE-2020-28916Li Wang2021-01-032-0/+50
| | | | | | | | | | | | | References: https://nvd.nist.gov/vuln/detail/CVE-2020-28916 backport patch from: https://git.qemu.org/?p=qemu.git;a=commit;h=c2cb511634012344e3d0fe49a037a33b12d8a98a (From OE-Core rev: cbc20b9d8d119bfd777f83432c760dcdb94f07f9) Signed-off-by: Li Wang <li.wang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: CVE-2020-25723Li Wang2021-01-032-0/+52
| | | | | | | | | | | | | | References: https://nvd.nist.gov/vuln/detail/CVE-2020-25723 https://bugzilla.redhat.com/show_bug.cgi?id=1898579 backport patch from: https://git.qemu.org/?p=qemu.git;a=commit;h=2fdb42d840400d58f2e706ecca82c142b97bcbd6 (From OE-Core rev: 3a52f12bd08bd6f0e386c78f9f87acacdb7714cb) Signed-off-by: Li Wang <li.wang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ccache: Build fixes for clang and riscv32Khem Raj2021-01-013-2/+158
| | | | | | | | | | | Backport patch to improve AVX detection helps build with clang Add proposed patch to fix build with 32bit architectures using 64bit time_t (From OE-Core rev: 15a21998ef8898e11481e77535550fa7ddfd4705) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* patch: fix CVE-2019-20633Scott Murray2021-01-012-0/+32
| | | | | | | | | | | | | | | * CVE detail: https://nvd.nist.gov/vuln/detail/CVE-2019-20633 * upstream tracking: https://savannah.gnu.org/bugs/index.php?56683 * Fixes potential for double free after incomplete fix for CVE-2018-6952 - src/pch.c (another_hunk): Avoid invalid memory access in context format diffs. (From OE-Core rev: be71dd2cc16a4c0d244a76a748f08ca0d9bfeba0) Signed-off-by: Scott Murray <scott.murray@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ccache: upgrade 3.7.11 -> 4.1Alexander Kanavin2020-12-311-12/+4
| | | | | | | | | | | | | Convert recipe from autotools to cmake. zstd is a new hard dependency. License-Update: formatting (From OE-Core rev: e373ecf276265a938a3acd42d9c25ce78d5f5330) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: update 3.18.4 -> 3.19.2Alexander Kanavin2020-12-316-16/+43
| | | | | | | | | License-Update: only the first two lines contain licensing info (From OE-Core rev: 72f86e4e986b70600a746eb219315b81b0367be3) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnu-config: update to latest revisionAlexander Kanavin2020-12-311-2/+2
| | | | | | | (From OE-Core rev: 4c1895bf57e8c076ea202d750826e321d45e50ba) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mtools: update 4.0.25 -> 4.0.26Alexander Kanavin2020-12-313-38/+48
| | | | | | | (From OE-Core rev: b9089247a2cd42bbf7a973d21d3dc999ebd1e89c) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pytest: update 6.1.2 -> 6.2.1Alexander Kanavin2020-12-312-11/+8
| | | | | | | (From OE-Core rev: 7c84d3b0112daa6006c35c19d66b544f7d2ef31b) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: update 5.9 -> 5.10Alexander Kanavin2020-12-312-73/+6
| | | | | | | | | | Drop 0001-xlat-Mark-IPPROTO_MAX-last-in-IPPROTO_-constants.patch as upstream has removed IPPROTO_MAX altogether. (From OE-Core rev: ea6f27e35b6cac4db9e1ab0d9a888d15daba6c09) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd-bootchart: update 233 -> 234Alexander Kanavin2020-12-301-3/+1
| | | | | | | (From OE-Core rev: 156efc7b9f44e15d72bf42bc11af39988102036d) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: update 3.9.0 -> 3.9.1Alexander Kanavin2020-12-302-72/+1
| | | | | | | (From OE-Core rev: 11935507525e9c5c0dd6dcb217bdfee0b07ebba9) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-importlib-metadata: update 3.1.1 -> 3.3.0Alexander Kanavin2020-12-301-2/+4
| | | | | | | | | Correct SRC_URI and upstream regex to enable automatic version upgrades. (From OE-Core rev: 5c04abf915b32481081c6eef41595d6f3db08613) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libdnf: update 0.55.0 -> 0.55.2Alexander Kanavin2020-12-301-1/+1
| | | | | | | (From OE-Core rev: 0370480359b66cd419dfcecbb6578bb2ed18afc5) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: update 4.16.0 -> 4.16.1.2Alexander Kanavin2020-12-303-32/+6
| | | | | | | (From OE-Core rev: bf2c7f82f07509424ce25ed5f64a03d7e4723fd1) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vala: upgrade 0.50.1 -> 0.50.2Alexander Kanavin2020-12-301-1/+1
| | | | | | | (From OE-Core rev: 8207c53b4e1212bb3cbb9fe059c2100c0b711c2b) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools-scm: upgrade 4.1.2 -> 5.0.1Alexander Kanavin2020-12-301-2/+1
| | | | | | | (From OE-Core rev: a63df7f1396ed1456c797cf396b3d365a133b1ee) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-py: upgrade 1.9.0 -> 1.10.0Alexander Kanavin2020-12-301-2/+1
| | | | | | | (From OE-Core rev: 7893aae402cd2df906cfe8b0d7fb799cc3049669) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hypothesis: upgrade 5.41.5 -> 5.43.3Alexander Kanavin2020-12-301-1/+1
| | | | | | | (From OE-Core rev: 8549dae3e66bd6a41540f0d0e3346e7e78633414) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ninja: upgrade 1.10.1 -> 1.10.2Alexander Kanavin2020-12-301-1/+1
| | | | | | | (From OE-Core rev: e42798d41e8ee529de3c3d5a98dc64f6a0af67ce) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libmodulemd: upgrade 2.9.4 -> 2.11.1Alexander Kanavin2020-12-301-2/+2
| | | | | | | (From OE-Core rev: 719aa85ecb70d85d258fffc17ef9cadf9b01f3a8) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dnf: upgrade 4.4.0 -> 4.5.2Alexander Kanavin2020-12-301-1/+1
| | | | | | | (From OE-Core rev: f21490a872d8d3f74df7b6b788a1911014fcb32c) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opkg: upgrade to version 0.4.4Alex Stewart2020-12-202-2/+46
| | | | | | | | | | Include an upstream patch for 0.4.4 which fixes a test framework error that occurs on host systems with symlinked /tmp directories (like OE). (From OE-Core rev: 8064abb6664e16c6e0c63df3a466661f9b5b0d10) Signed-off-by: Alex Stewart <alex.stewart@ni.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: add libopcodes package for perfAlan Perry2020-12-181-2/+4
| | | | | | | | | | | Add a package for libopcodes, since, like libbfd, it is needed by perf. Without separate packages for these libraries, all of the binutil tools get added as well. (From OE-Core rev: 514b595bda487ff74ae16539d716628a1d0be8af) Signed-off-by: Alan Perry <alanp@snowmoose.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pseudo: Drop patches merged into upstream branchRichard Purdie2020-12-183-122/+1
| | | | | | (From OE-Core rev: 7386a116222979e6de60c39d2c094d5f216fb101) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind: exclude bar_bad/bar_bad_xml from ptestsAlexander Kanavin2020-12-184-2/+14
| | | | | | | | | | | | | | The tests' output is non-deterministic and sometimes doesn't match the sample output. This has been reported at https://bugs.kde.org/show_bug.cgi?id=430321 (see also an earlier related bug https://bugs.kde.org/show_bug.cgi?id=358213) Until upstream figures out how to fix this, let's not run the tests. (From OE-Core rev: 7f7d2fa18267090891754d976cbc3e628324d3dd) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* syslinux: rewrite recipe so only target code is x86-specificRoss Burton2020-12-181-37/+47
| | | | | | | | | | | | | | | | | Currently the syslinux recipe set COMPATIBLE_HOST to 32/64-bit x86. Whilst this makes sense for the target binaries as syslinux is x86-specific, this also affects the native recipe which should be able to be built on non-x86 build hosts (for example, arm64 build host, qemux86 target). syslinux itself has a somewhat fragile build system but with care it is possible to build the installer for native/nativesdk, and the bootloader for target. (From OE-Core rev: 7273e131bfc7de83df9e90697e7983d54b713798) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go: Update 1.15.5 -> 1.15.6Khairul Rohaizzat Jamaluddin2020-12-183-105/+4
| | | | | | | | | | | | The deleted patch file mentioned below is removed since 1.15.6 already has the issue patched. (From OE-Core rev: ab41033b4202341a3767d1c54c86e08c7e37610f) Signed-off-by: Khairul Rohaizzat Jamaluddin <khairul.rohaizzat.jamaluddin@intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-packaging: upgrade 20.4 -> 20.8Tim Orling2020-12-181-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upstream release notes: ''' * 20.8 - 2020-12-11 - Revert back to setuptools for compatibility purposes for some Linux distros (:issue:`363`) - Do not insert an underscore in wheel tags when the interpreter version number is more than 2 digits (:issue:`372`) * 20.7 - 2020-11-28 - No unreleased changes. * 20.6 - 2020-11-28 - Note: This release was subsequently yanked, and these changes were included in 20.7. - Fix flit configuration, to include LICENSE files (:issue:`357`) - Make intel a recognized CPU architecture for the universal macOS platform tag (:issue:`361`) - Add some missing type hints to packaging.requirements (issue:350) * 20.5 - 2020-11-27 - Officially support Python 3.9 (:issue:`343`) - Deprecate the LegacyVersion and LegacySpecifier classes (:issue:`321`) - Handle OSError on non-dynamic executables when attempting to resolve the glibc version string. """ (From OE-Core rev: 7a074958be6e166e2de98bd39dc203f0d67a8d93) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu.inc: Add seccomp PACKAGECONFIG optionNathan Rossi2020-12-181-0/+1
| | | | | | | | | | | | | | | | Add the seccomp PACKAGECONFIG option to allow building seccomp features in QEMU. The libseccomp library is available in additional layers (e.g. meta-security). Additionally this serves as a way to disable seccomp by default to avoid the configure of QEMU automatically finding it (via pkg-config) on the build host when building qemu-system-native and auto enabling the feature. (From OE-Core rev: 7c8245f41d43b5a267d51f3c7784536eee23fca2) Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Add patch to resolve i*86 tune configuration overridesNathan Rossi2020-12-182-0/+114
| | | | | | | | | | | | | | | | | | | | When compiling gcc-runtime for i686 libatomic, libgomp and libitm are compiled with additional '-march' and '-mtune' overrides. This typically does not cause build errors (e.g. core2-32 tune), and results in less optimally tuned outputs. However with specific TUNE_CCARGS (e.g. has '-mfpmath=sse' but not '-msse*'), the build errors with conflicting '-mfpmath' options. This is caused by gcc-runtime specific configure scripts and Makefile options that override by adding additional '-march'/'-mtune' args. OE builds gcc-runtime differently to other build systems, and provides target specific arch/tune options directly. As such, this change adds a patch for gcc to remove the specific cases where the args are added. (From OE-Core rev: d39b686cc5fcc89405ffeb560ea64b5d305b0608) Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: fix installation failure because of shell issueDmitry Baryshkov2020-12-151-2/+3
| | | | | | | | | | | | | | | | On one of my buildservers I noticed perl do_install failing with the following message: | rm: cannot remove '<OEROOT>/tmp-rpb-glibc/work/armv8-2a-linaro-linux/perl/5.32.0-r0/image//usr/lib/perl5/5.32.0/*/CORE/libperl.so': No such file or directory I tracked this down to shell being dash rather than bash not being able to expand this glob in the middle of the filename. So replace the glob expansion with the simpler one which works in all cases. (From OE-Core rev: d1ea1b5c12120abdd085dc4eb69120af9258a99b) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>