summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
Commit message (Collapse)AuthorAgeFilesLines
* gcc-cross-canadian: Fix cross canadian compiler for baremetal targetsAlejandro Hernandez Samaniego2022-01-121-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While building GCC it checks whether the include directory exists, if it doesnt it throws an error and exits: | The directory that should contain system headers does not exist: | tmp/work/x86_64-nativesdk-pokysdk-linux/gcc-cross-canadian-riscv32/ 11.2.0-r0/recipe-sysroot/usr/include/ | make[1]: *** [Makefile:3257: stmp-fixinc] Error 1 Even though for the baremetal toolchain not having this directory does make sense. We overcame this by removing the --with-sysroot=/not/exist argument for baremetal toolchains (via TARGET_OS override), however, the newlib toolchain does have headers and an includedir, hence by fixing the baremetal toolchain we broke the newlib one since it uses the same TARGET_OS as baremetal, causing for example (on newlib): /sdk/sysroots/x86_64-pokysdk-linux/usr/lib/riscv32-poky-elf/gcc/ riscv32-poky-elf/11.2.0/include/stdint.h:9:16: fatal error: stdint.h: No such file or directory | # include_next <stdint.h> ^~~~~~~~~~ compilation terminated. By creating a dummy includedir, and removing the previous fix we allow GCC to be built the same way, unifying the cross compiler for all targets. After this fix both TCLIBC=baremetal and TCLIBC=newlib SDKs work properly. (From OE-Core rev: 08ff7c87efdf373f1874fcccd9a2a73fc0efef30) Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Fix typo in linux64.h install patchAndrei Gherzan2022-01-111-1/+1
| | | | | | | | | | The "gcc: Fix compile of gcc plugins" patch had a typo making it a noop. This was due to a rework to make it specific to the linux64.h header. (From OE-Core rev: 5f0f00f0988c02d7fe0fa62edf3e4901ce9941a6) Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* createrepo-c: upgrade 0.17.7 -> 0.18.0wangmy2022-01-111-1/+1
| | | | | | | (From OE-Core rev: a4ecbb65cb85c1a5157154a4a0d931b745addece) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-numpy: update 1.21.4 -> 1.22.0Alexander Kanavin2022-01-113-25/+49
| | | | | | | (From OE-Core rev: 6b9f2e078fb5653a1cedd64e90459e2f0780eb7e) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust-llvm: apply the same reproducibility patch as for llvm properAlexander Kanavin2022-01-112-1/+33
| | | | | | | (From OE-Core rev: a845029df7ea8c1bd987ffac3902d4521742debb) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: disable rdoc due to non-reproducibilityAlexander Kanavin2022-01-111-0/+3
| | | | | | | | | | | | | The issue is reported upstream: https://bugs.ruby-lang.org/issues/18456 Otherwise I do not feel that further investigation of rdoc's parser to find out the source of non-determinism is worth the time. (From OE-Core rev: 208021f7212a8a790c350ccca720695c5bcbb1ca) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: Enable threadingSaul Wold2022-01-071-0/+3
| | | | | | | | | | | | | | | | | | | | | | When the tranisiton to perl-cross occured, the threading define seems to have been missed. The perl tests for threading where simply skipped, so there was no direct failures. This was verified by running perl ptest before and after the change to see PASS vs SKIP results of threaded related tests. NOTE: Perl officially discourges the use of threads, so this functionality maybe depercated in the future [0][1] v2: adds the usethreads to native and nativesdk. This was tested by builing postresql and rrdtool which use perl and automake. [0] https://perldoc.perl.org/5.34.0-RC2/threads#WARNING [1] https://perldoc.perl.org/perlpolicy#discouraged (From OE-Core rev: b9fd7cd319a1d8f0ddf5ea60710b015e9afb588c) Signed-off-by: Saul Wold <saul.wold@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Fix compile of gcc pluginsAndrei Gherzan2022-01-072-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this, compiling gcc plugins will fail with an error similar to: [...] fatal error: ./config/i386/linux64.h: No such file or directory [...] In Yocto, we set up compiling gcc-cross out of tree. Which in turn makes the generated headers end up in B. The tm.h header will include generated headers that are expected in plugin/include/config/*. For example, the linux64.h header, when generating gcc-cross for x86-64, will end up in tm.h header as: include "./config/i386/linux64.h" On the other hand, the make rule `install-plugin` in gcc/Makefile.in will install the linux64.h assuming that it is generated in the sources directory and because this is not the case in our setup, the Makefile ends up installing it in plugin_includedir/`basename $$path` which ends up installing the header in [..]plugin/include as opposed to [..]plugin/include/config/i386 (as expected by the generator of tm.h). The included patch modifies the Makefile rule to match the assumption of gcc-cross being compiled out of tree. (From OE-Core rev: 92167f8e02bb6fbbe1ee6a6678525a0ae27b00a5) Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-dtschema: upgrade 2021.10 -> 2021.12Otavio Salvador2022-01-051-2/+1
| | | | | | | (From OE-Core rev: 3ca55d834be756e6ab8422ba6203e95a2f54086e) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-zipp: upgrade 3.6.0 -> 3.7.0Otavio Salvador2022-01-051-1/+1
| | | | | | | (From OE-Core rev: b3854ddaeeebed1270f0b2cbf24b23b3616904eb) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-tomli: upgrade 1.2.2 -> 2.0.0Otavio Salvador2022-01-051-1/+1
| | | | | | | (From OE-Core rev: 823e1b028246445c0d88803b428d8d107a8814a6) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-ruamel-yaml: upgrade 0.17.17 -> 0.17.19Otavio Salvador2022-01-051-1/+1
| | | | | | | (From OE-Core rev: f6aec25377555f050fd4b621ca7143182d0534e9) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pygments: upgrade 2.10.0 -> 2.11.1Otavio Salvador2022-01-051-1/+1
| | | | | | | (From OE-Core rev: 8d48a3e9a7abca9058ba056019226c6bd97b0ccf) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-importlib-metadata: upgrade 4.9.0 -> 4.10.0Otavio Salvador2022-01-051-1/+1
| | | | | | | (From OE-Core rev: 643b888e7e36106a1b7d8aeeab66fac9e186cc79) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hypothesis: upgrade 6.31.4 -> 6.34.1Otavio Salvador2022-01-051-1/+1
| | | | | | | (From OE-Core rev: d54efcd26577ef18d5e32e3de6f664040c3ccf1b) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cython: upgrade 0.29.25 -> 0.29.26Otavio Salvador2022-01-052-1/+1
| | | | | | | (From OE-Core rev: 749c8767935bf4a11103e7dad32042a1ba7d7d68) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-attrs: upgrade 21.2.0 -> 21.4.0Otavio Salvador2022-01-051-1/+1
| | | | | | | (From OE-Core rev: aa9df5c39c47f93f99ec6a29790f25c4cde3e0a2) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mmc-utils: upgrade to latest revisionOtavio Salvador2022-01-051-1/+1
| | | | | | | (From OE-Core rev: 401206ebb4d7cd46bd157eef0df1a6048726db82) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: upgrade 0.60.2 -> 0.60.3Otavio Salvador2022-01-053-1/+1
| | | | | | | | [RP: Add nativesdk variant] (From OE-Core rev: ff5e1504c04a46200024353aa02b6e41fd7a59c5) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go: additional patches to help reproducibilityAlexander Kanavin2022-01-053-0/+84
| | | | | | | (From OE-Core rev: c7299f4e1cd38856885a2451c7c448c99d94b781) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go: correctly set debug-prefix-map and build directoryAlexander Kanavin2022-01-053-2/+17
| | | | | | | | | | | | | | | | | Go has its own system for creating temporary build sub-directories with randomized names, and setting up debug-prefix-map on the fly to prevent those directories leaking into target binaries. OE's own settings were clashing with it, so this change carefully avoids the two stepping on each other. Additionally, the top level build directory cannot be named 'go-something'. (From OE-Core rev: 9985b17a30bb9b9f1bc82a44662687db5cead66e) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go: log build id computationsAlexander Kanavin2022-01-051-0/+2
| | | | | | | | | | | | | | | go writes build-specific ids into binaries it produces and has a custom system for calculating them from file hashes, environment variables and other inputs (not that dissimilar to sstate cache, actually). This can go wrong :) in various ways (for purposes of reproducibility in particular), so this enables useful logs to see what happens and why. (From OE-Core rev: a587be1d18fc55fe57d1aa5aa7c9e26af887109e) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-numpy: upgrade 1.21.4 -> 1.21.5wangmy2022-01-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== Bugs fixed for this release <https://github.com/numpy/numpy/pull/#####> #20357: MAINT: Do not forward __(deep)copy__ calls of _GenericAlias... #20462: BUG: Fix float16 einsum fastpaths using wrong tempvar #20463: BUG, DIST: Print os error message when the executable not exist #20464: BLD: Verify the ability to compile C++ sources before initiating... #20465: BUG: Force npymath to respect npy_longdouble #20466: BUG: Fix failure to create aligned, empty structured dtype #20467: ENH: provide a convenience function to replace npy_load_module #20495: MAINT: update wheel to version that supports python3.10 #20497: BUG: Clear errors correctly in F2PY conversions #20613: DEV: add a warningfilter to fix pytest workflow. #20618: MAINT: Help boost::python libraries at least not crash (From OE-Core rev: 956d6811ed0ae6db759a663866eed4977f994ad8) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-dbusmock: upgrade 0.24.1 -> 0.25.0wangmy2022-01-051-1/+1
| | | | | | | | | | | | | | Changelog: ======== bluez template: Implement adapter discovery, connect, disconnect, and removal Fix changing array properties Fix CLI upower tests Add testing and Fedora updating through packit (From OE-Core rev: 74b8e5f0679287f3471f7199cc9438ba138e7c17) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: Handle qemu riscv issuesRichard Purdie2022-01-041-12/+16
| | | | | | | | | | | | | In qemu, they merged the 32 and 64 bit riscv variants into one target for meson purposes but this isn't officially supported by upstream meson. In normal builds this would just be a warning but in OE, this is fatal. Avoid the fatal errors for now and build as qemu intended whilst this is resolved by the upstreams. (From OE-Core rev: 7c1356e762d357dad95decf7b1d6147a2efae174) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: remove tmp folder created during installSamuli Piippo2022-01-041-0/+3
| | | | | | | | | | | nativesdk-rpm build is also affected by the stray /var/tmp created during the rpm install. Remove it to fix QA Issue: nativesdk-rpm installs files in /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/var/volatile, but it is expected to be empty [empty-dirs] (From OE-Core rev: 28dd1e1a0965646c5736e3de91aad830311a797b) Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: fix CVE-2021-3521Changqing Li2022-01-044-0/+453
| | | | | | | (From OE-Core rev: 938dd031bc2577417266f032e53490909654220c) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind: make run-ptest betterRandy MacLeod2022-01-041-9/+14
| | | | | | | | | | | | | There were warnings about non-existent files when there was a duplicate in the remove-for-aarch list and the non-deterministic lists so check if the files still exists before trying to deal with it. Also restore the tests in the opposite order that they were hidden. (From OE-Core rev: 2e1dc5782dcb879410d535f937c633edea484d11) Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind: skip boost_thread for aarch64 ptestsRandy MacLeod2022-01-041-0/+1
| | | | | | | | | | | The drd/tests/boost_thread test passes when run interactively on qemuarm64 but fails for most runs when run in qemu on an arm worker such as ubuntu1804-arm-1 from the Yocto autobuilder cluster. Skip the test until we fix the problem. (From OE-Core rev: 9a36983f9681f215aa2f59bfcb16343fe0a819cd) Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind: remove duplicate and skipped tests from remove-for-aarch64Randy MacLeod2022-01-041-8/+0
| | | | | | | | | | | | | | | | The valgrind ptest script warns about tests such as: mv: cannot stat 'drd/tests/bar_bad_xml.vgtest': No such file or directory Since these tests were either in both remove-for-* lists or were not installed since they fail everywhere as noted in: 85a0d61025 valgrind: fix the remaining ptest failures 984ffe3ab4 valgrind: Disable leak_cpp_interior test remove them from the remove-for-aarch64 list (From OE-Core rev: 9492cdc43b830ebf0d02ccaae342f33c826d8a01) Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind: backport rseq work-aroundRandy MacLeod2022-01-042-0/+199
| | | | | | | | | | | | | | | | | | | | Using glibc-2.35-alpha, valgrind ptests mostly all fail with the error: WARNING: unhandled amd64-linux syscall: 334 You may be able to write your own handler. With this patch applied qemux86-64 ptest results were: TOTAL: 728 PASSED: 709 FAILED: 0 SKIPPED: 19 This patch implements the Linux rseq syscall as ENOSYS while a proper fix is being worked on as desribed in the patch commit log. (From OE-Core rev: 6ca008072df0371b6b1cfdd7030da6494ff012bd) Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind: Add util-linux-taskset ptest dependencyRandy MacLeod2022-01-041-1/+2
| | | | | | | | | | | We are using taskset to improve the reproducability of tests listed in: meta/recipes-devtools/valgrind/valgrind/taskset_nondeterministic_tests so we need to have the ptests depend on util-linux-taskset. (From OE-Core rev: aa06250cc4e258ad807eef9940939fd68c0bda8b) Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: CVE-2021-42574pgowda2021-12-222-0/+2002
| | | | | | | | | | Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=b3aa80b45c4f46029efeb204bb9f2d2c4278a0e5] [RP: Merge uint -> unsigned int change] (From OE-Core rev: fa242a41f3436f1d73eabee335573c1801bf7888) Signed-off-by: pgowda <pgowda.cve@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Add selinux PACKAGECONFIGRichard Purdie2021-12-221-0/+1
| | | | | | | | | | | We're seeing failures on systems with old selinux headers. Add a PACKAGECONFIG entry so that we don't try and build this unless enabled. I'll leave dependencies to someone who wants it and can test, I just need to fix build failures right now as this shouldn't be enabled. (From OE-Core rev: d26c86e67b1154b243d093ff80dafce54da47424) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Update status of musl stddef.h patchKhem Raj2021-12-211-1/+1
| | | | | | | | | This patch has been accepted upstream (From OE-Core rev: 4c644708798f258d45dbcfa01909626de32710d4) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: backport a fix so the test suite passes with OpenSSL 3.0.1Ross Burton2021-12-212-0/+61
| | | | | | | | | | The test suite makes incorrect assumptions about OpenSSL versions post- 3.0, so backport the fix for the test suite. (From OE-Core rev: 2b5e9cfd2c1914d606725029c59cd50cca3d5511) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-importlib-metadata: upgrade 4.8.2 -> 4.9.0wangmy2021-12-211-1/+1
| | | | | | | (From OE-Core rev: 80d1a6b968b9dc50da4941e1747c77a9323a09a5) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Upgrade 6.1.0 -> 6.2.0Richard Purdie2021-12-207-54/+26
| | | | | | | | | | | Add config option for pulseaudio Change audio to default mode since quoting of list of devices is broken in meson Drop patch where code changed completed upstream Refresh other patches (From OE-Core rev: c1685b06e5f3684b1b5631b99b412e3ec2b10800) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: add patch to set minimum kernel version for riscv32Matt Madison2021-12-202-0/+41
| | | | | | | | | | which enables us to drop the -r option on qemu-static-riscv32 invocations. (From OE-Core rev: 4552249810ed27d1272130226d054e7651a90ce6) Signed-off-by: Matt Madison <matt@madison.systems> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pyelftools: Depend on debugger, pprintChaitanya Vadrevu2021-12-201-0/+2
| | | | | | | | | | python3-pyelftools uses python3-debugger, python3-pprint. So add dependencies on these packages. (From OE-Core rev: 22e84cdd05870f1a19c6389b66c4dfd5e9b418f7) Signed-off-by: Chaitanya Vadrevu <chaitanya.vadrevu@ni.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-idna: Update license to Unicode-TOURichard Purdie2021-12-171-1/+1
| | | | | | | | | | The correct SPDX license for the test data contained in this code appears to be Unicode-TOU. Update the LICENSE field to match and avoid package QA warnings. (From OE-Core rev: 7cd3f3649f478448db9f068e493cada03d04a85f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* repo: update 2.18 -> 2.19Alexander Kanavin2021-12-171-4/+4
| | | | | | | (From OE-Core rev: 1764fd43e8b9836f0163bb4dbcf087e93eb098fe) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go: upgrade 1.17.4 -> 1.17.5Alexander Kanavin2021-12-178-3/+3
| | | | | | | (From OE-Core rev: 00da24376f4214f30d3eb775d990080b49bb5d3c) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: update 1.20.9 -> 1.21.1Alexander Kanavin2021-12-174-75/+8
| | | | | | | (From OE-Core rev: f274f495aedd42c951aafd2cec39be159225b3c5) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools: upgrade 59.4.0 -> 59.5.0Alexander Kanavin2021-12-172-2/+2
| | | | | | | (From OE-Core rev: 6dd8b4c08a6b4b5ab879d53f1e73d97ad02faa04) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* elfutils: update patch submitted upstreamAlexander Kanavin2021-12-175-67/+48
| | | | | | | | | As that's what upstream prefers. (From OE-Core rev: 5a6cd9cc1b9d8fd3607f3df311accb483d2989a3) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hypothesis: upgrade 6.30.0 -> 6.31.4Alexander Kanavin2021-12-171-1/+1
| | | | | | | (From OE-Core rev: 55d70d22fb499d1d49e5aa75e963c2f22404b230) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* btrfs-tools: upgrade 5.15 -> 5.15.1Alexander Kanavin2021-12-171-1/+1
| | | | | | | (From OE-Core rev: 164237bee90268048bf956839376c302099ad99f) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Fix CVE-2021-42574pgowda2021-12-175-0/+4766
| | | | | | | | | | | | Upstream-Status: Backport [https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=bd5e882cf6e0def3dd1bc106075d59a303fe0d1e] Upstream-Status: Backport [https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=51c500269bf53749b107807d84271385fad35628] Upstream-Status: Backport [https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=1a7f2c0774129750fdf73e9f1b78f0ce983c9ab3] Upstream-Status: Backport [https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=bef32d4a28595e933f24fef378cf052a30b674a7] (From OE-Core rev: 1276fa8b501aee1561b77538219d3cad2c796a21) Signed-off-by: pgowda <pgowda.cve@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bootchart2: remove wait_boot logicMingli Yu2021-12-142-0/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When boot with "init=/sbin/bootchartd" as below: # runqemu qemux86 bootparams="init=/sbin/bootchartd" There are two bootchartd process after boot [1]. # ps -ef | grep bootchart root 101 1 0 03:27 ? 00:00:00 /bin/sh /sbin/bootchartd root 103 101 8 03:27 ? 00:00:02 /lib64/bootchart/bootchart-collector 50 root 106 1 0 03:27 ? 00:00:00 /bin/sh /sbin/bootchartd root 792 106 0 03:27 ? 00:00:00 /lib64/bootchart/bootchart-collector --usleep 1000000 root 794 725 0 03:27 ttyS0 00:00:00 grep bootchart # /sbin/bootchartd stop [bootchart] bootchart-collector started as pid 596 with 2 args: [bootchart] '--dump' [bootchart] '/tmp/bootchart.3lXpVDAq3v' [bootchart] Extracting profile data from pid 204 [bootchart] map 0xbed9a000 -> 0xbedbb000 size: 132k from 'bed9a000' 'bedbb000' [bootchart] read 135168 bytes of 135168 [bootchart] reading 150 chunks (of 150) ... [bootchart] wrote 18760 kbB [bootchart] bootchart-collector pid: 596 unmounted proc / clean exit But there still one process exist after the above stop command finish. # ps -ef | grep bootchartd root 202 1 0 09:09 ? 00:00:00 /bin/sh /sbin/bootchartd root 629 516 0 09:10 ? 00:00:00 grep bootchartd Remove the wait_boot which used to wait the boot process to finish to make sure only one bootchartd process and meanwhile we don't need the wait_boot logic because we either use "/sbin/bootchartd stop" to stop the bootchartd manually or install package bootchartd-stop-initscript altogether with bootchart2 to stop bootchartd automatically after boot. After patch: # ps -ef | grep bootchart root 101 1 0 03:36 ? 00:00:00 /bin/sh /sbin/bootchartd root 103 101 6 03:36 ? 00:00:04 /lib64/bootchart/bootchart-collector 50 root 596 592 0 03:37 ttyS0 00:00:00 grep bootchart [1] https://github.com/xrmx/bootchart/issues/94 (From OE-Core rev: cc34e3bdedc045baf97ebc2258295d9433cb332e) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>