summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* gnutls: upgrade 3.7.6 -> 3.7.7Alexander Kanavin2022-08-101-1/+1
| | | | | | | | (From OE-Core rev: d70b29617789dcc7afe78e1d2d8b3f5122f6376f) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ell: upgrade 0.51 -> 0.52Alexander Kanavin2022-08-102-83/+2
| | | | | | | | (From OE-Core rev: 987231e9606eb80211b9ee167b85f76e9f5667f0) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* diffoscope: upgrade 218 -> 220Alexander Kanavin2022-08-101-1/+1
| | | | | | | | (From OE-Core rev: ba07e54c4bc1c1d6c79d226dfcf219ad9bca5b12) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bind: upgrade 9.18.4 -> 9.18.5Alexander Kanavin2022-08-1010-1/+1
| | | | | | | | (From OE-Core rev: 0a419b730ca87daa4e07daf022a550fb4112b9b0) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libwpe: upgrade 1.12.0 -> 1.12.2Alexander Kanavin2022-08-102-2/+46
| | | | | | | | (From OE-Core rev: 03b7bfb0f011ba812808fa353611178cd5618e81) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: upgrade 4.4.1 -> 5.1.0Alexander Kanavin2022-08-102-2/+31
| | | | | | | | (From OE-Core rev: 1cf79df7dd14c0bfa87364ff28fffb61e7c560fa) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* iproute2: upgrade 5.18.0 -> 5.19.0Alexander Kanavin2022-08-102-1/+27
| | | | | | | | (From OE-Core rev: 00c40d1343dd34a416657b79745f102a17332ddb) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: update 5.0.1 -> 5.1Alexander Kanavin2022-08-102-116/+2
| | | | | | | | (From OE-Core rev: 861bb6a01a7ced150333a57890844a123ed8bd6e) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pip: update 22.2.1 -> 22.2.2Alexander Kanavin2022-08-101-1/+1
| | | | | | | | (From OE-Core rev: 2e9f2bf42bfc52a112775b548d600cde8c2f7645) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bluez5: update 5.64 -> 5.65Alexander Kanavin2022-08-103-32/+1
| | | | | | | | | | Drop fix_service.patch as it is merged upstream. (From OE-Core rev: 10374b5ed4b5550eadacbcd71ae20b751ce5c038) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go: update 1.18.4 -> 1.19Alexander Kanavin2022-08-1016-82/+139
| | | | | | | | | | Rebase patches. (From OE-Core rev: 85064fd76c9f19b522f540f26e0fc68bfb0d7f43) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: update 4.17.0 -> 4.17.1Alexander Kanavin2022-08-106-461/+40
| | | | | | | | (From OE-Core rev: 826eb17fe741d38be24d31f3bba35074e404a414) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libmnl: remove unneeded SRC_URI 'name' optionLuca Ceresoli2022-08-101-2/+2
| | | | | | | | | | | | | The 'name' option here is not needed as there is only one file in SRC_URI. The layer index lists no bbappend for this recipe, thus this is unlikely useful for bbappends. (From OE-Core rev: 51f3a9665612ee5f496d08b107b18c8872af2f8c) Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdbserver : add selftestYogesh Tyagi2022-08-101-0/+122
| | | | | | | | | | | | | | | The test runs gdbserver on qemu and connects the gdb client from host over TCP. It builds a cross gdb on the host and compiles the program to be debugged on the target, launches the gdbserver and tries to connect cross gdb to it. [YOCTO #13996] (From OE-Core rev: 37164f7e39eea3a1e594d8306d2569868438ba93) Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcp-wrappers: Fix implicit-function-declaration warningsKhem Raj2022-08-102-0/+110
| | | | | | | | | | This is seen with clang-15+ (From OE-Core rev: 4b882afd6c1a67b48cf4e7ace95d46ca2ff12aa0) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: Upgrade to 2.38.1Khem Raj2022-08-103-1/+1
| | | | | | | | | | | | | | The individual commits in this release are at [1] and Changelog [2] [1] https://github.com/util-linux/util-linux/compare/v2.38...v2.38.1 [2] https://github.com/util-linux/util-linux/commit/e51a82836a47723669bf046e24c51d5eb051c15f (From OE-Core rev: 732275928ded0cda2971764a85be0a1eb29cec8f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: Define pidfd_* function signaturesKhem Raj2022-08-102-0/+54
| | | | | | | | | | | | glibc 2.36 has added sys/pidfd.h and APIs for pidfd_send_signal and pidfd_open, therefore check for this header and include it if it exists (From OE-Core rev: c72d4ad4d3c41e6bc36e7d7542a42db04b5a2e97) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cracklib: Drop using register keywordKhem Raj2022-08-103-1/+322
| | | | | | | | | | | | | Fixes incompatible integer to pointer conversion passing These errors are found with newer compilers e.g. clang-15 (From OE-Core rev: 71eb15c474d891855a5b18e6835993848ffa7c51) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust-cross-canadian: Use shell from SDK, not the hostRichard Purdie2022-08-091-1/+2
| | | | | | | | | | | | rust sets LD_LIBRARY_PATH which causes a lot of problems with host binaries conflicting with SDK libraries. By using sh/bash from the SDK we avoid those issues. [YOCTO #14878] (From OE-Core rev: dabd97e78a599a81c056c0f3291244f5afae44b0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cargo: Work around host system library conflictsRichard Purdie2022-08-091-0/+8
| | | | | | | | | | | | | | | | | | | | | | | cargo ends up running target-rust-ccld with LD_LIBRARY_PATH set to libdir but not base_libdir which breaks the SDK. You see errors like: /bin/sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory On such a system, this would fail: LD_LIBRARY_PATH="<path>/testimage-sdk/sysroots/x86_64-pokysdk-linux/usr/lib" cargo build but this would work: LD_LIBRARY_PATH="<path>/testimage-sdk/sysroots/x86_64-pokysdk-linux/usr/lib:<path>/testimage-sdk/sysroots/x86_64-pokysdk-linux/lib" cargo build so wrap cargo with both paths in LD_LIBRARY_PATH. The error depends on the versions of the host system, it reproduced on tumbleweed-ty-3. (From OE-Core rev: 388e7cac9f90e79ce8c3c1683d8ee0f4df1bc907) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* yocto-bsp: drop v5.10 bbappend and create 5.19 placeholderBruce Ashfield2022-08-092-23/+23
| | | | | | | | | | | | | | | | 5.10 has been replaced in oe-core by the 5.19 kernel. We drop our bbappend accordingly. Although 5.19 has not been fully validated, we also create a 5.19 bbapend as a placeholder. 5.15 is the default for these reference boards, so there is no immediate change. (From meta-yocto rev: 45a3505d08bd24f16870ed071909595dc252271c) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky: change preferred kernel version to 5.15 in poky-altBruce Ashfield2022-08-091-1/+1
| | | | | | | | | | 5.10 has been removed from oe-core, we change the alt distro to the 5.15 kernel. (From meta-yocto rev: 7077d849ef8588b65a7a3ae61b49292407ac13d7) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky: update preferred version to v5.19Bruce Ashfield2022-08-092-3/+3
| | | | | | | (From meta-yocto rev: 73fbfa267bda268e6362d15439e67db63ae091fb) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmscube: address linux 5.19 failsAlexander Kanavin2022-08-092-2/+31
| | | | | | | (From OE-Core rev: d169606c547796731f528c4649295c4c1c928ea4) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kern-devsrc: Drop auto.conf creationRichard Purdie2022-08-091-3/+0
| | | | | | | | | | | | | | | After this commit in the mainline kernel, the quoting is different in auto.conf compared to .config: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=129ab0d2d9f38b9d43df35235fc66c6740d6928b We therefore can't just copy one over the other or it leads to syntax/quoting errors. We end up running make prepare anyway in all our tests so drop this copy for fix 5.19 kernels. (From OE-Core rev: 8edbb540be564cebb72d7af38429405aca662bc9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.19: fix reproducibility issuesBruce Ashfield2022-08-093-12/+12
| | | | | | | | | | | Integrating the following commit(s) to linux-yocto/5.19: e0e977e1b098 init/Kconfig: fix CC_HAS_ASM_GOTO_TIED_OUTPUT test with dash (From OE-Core rev: ae62fc90de6b474ab67e0e0e5685414ceb18e1bd) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.19: cfg: update x32 configuration fragmentBruce Ashfield2022-08-093-3/+3
| | | | | | | | | | | Integrating the following commit(s) to linux-yocto/.: 00e2494f7e4 cfg/x32: rename X86_X32 X86_X32_ABI (From OE-Core rev: 6622682808d8d2d8330e57f9001bcb168b86b3e0) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.15: fix reproducibility issuesBruce Ashfield2022-08-093-15/+15
| | | | | | | | | | | | | Integrating the following commit(s) to linux-yocto/5.15: efe20512212b init/Kconfig: fix CC_HAS_ASM_GOTO_TIED_OUTPUT test with dash Fixes: 1aa0e8b144b6 ("Kconfig: Add option for asm goto w/ tied outputs to workaround clang-13 bug") (From OE-Core rev: 4991b638eaf243a531731ecfee0681c3ada93583) Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.15: update to v5.15.59Bruce Ashfield2022-08-093-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating to the latest korg -stable release that comprises the following commits: d676d6149a2f Linux 5.15.59 f0e42e43795d x86/bugs: Do not enable IBPB at firmware entry when IBPB is not available d10e819d13f7 locking/rwsem: Allow slowpath writer to ignore handoff bit if not set by first waiter 66d31cef4806 docs/kernel-parameters: Update descriptions for "mitigations=" param with retbleed 7bada8b0bdf1 EDAC/ghes: Set the DIMM label unconditionally 30dc2effc74a ARM: 9216/1: Fix MAX_DMA_ADDRESS overflow 86e83233dd01 page_alloc: fix invalid watermark check on a negative value 51a772c34ea4 mm/hmm: fault non-owner device private entries 350fcb5e7bbb ARM: crypto: comment out gcc warning that breaks clang builds e796e1fe20ec sctp: leave the err path free in sctp_stream_init to sctp_stream_free f7c2a9c5435a sfc: disable softirqs for ptp TX fe0e602f0502 perf symbol: Correct address for bss symbols 871168abe6d8 virtio-net: fix the race between refill work and close 91c11008aab0 netfilter: nf_queue: do not allow packet truncation below transport header offset be5cd347ba22 octeontx2-pf: cn10k: Fix egress ratelimit configuration 3688939cd3e8 sctp: fix sleep in atomic context bug in timer handlers 186fcdb68f42 i40e: Fix interface init with MSI interrupts (no MSI-X) 4685f16b3a5d ipv4: Fix data-races around sysctl_fib_notify_on_flag_change. eaccca7a0bb8 tcp: Fix data-races around sysctl_tcp_reflect_tos. 4cc070e0ef2d tcp: Fix a data-race around sysctl_tcp_comp_sack_nr. 34c9977b4dca tcp: Fix a data-race around sysctl_tcp_comp_sack_slack_ns. 6842c94de9d5 tcp: Fix a data-race around sysctl_tcp_comp_sack_delay_ns. 618116a273b7 net: Fix data-races around sysctl_[rw]mem(_offset)?. a610feb170bf tcp: Fix data-races around sk_pacing_rate. b01b4f5b45ff net: mld: fix reference count leak in mld_{query | report}_work() 5831ccf37a31 net: macsec: fix potential resource leak in macsec_add_rxsa() and macsec_add_txsa() 2959a86a472f macsec: always read MACSEC_SA_ATTR_PN as a u64 a706a40d42f4 macsec: limit replay window size with XPN 6ad56d5c4f98 macsec: fix error message in macsec_add_rxsa and _txsa 8991687d3bcf macsec: fix NULL deref in macsec_add_rxsa 830582c16be1 Documentation: fix sctp_wmem in ip-sysctl.rst dac5644a823e tcp: Fix a data-race around sysctl_tcp_invalid_ratelimit. 6f446677ebb3 tcp: Fix a data-race around sysctl_tcp_autocorking. bd07f2e70a4b tcp: Fix a data-race around sysctl_tcp_min_rtt_wlen. 922ca9fd221b tcp: Fix a data-race around sysctl_tcp_min_tso_segs. 777d18e65d09 net: sungem_phy: Add of_node_put() for reference returned by of_get_parent() 40f4739bbd36 net: pcs: xpcs: propagate xpcs_read error to xpcs_get_state_c37_sgmii c721324afc58 igmp: Fix data-races around sysctl_igmp_qrv. ad6d6ae4a34c net/tls: Remove the context from the list in tls_device_down 189e370b8250 ipv6/addrconf: fix a null-ptr-deref bug for ip6_ptr 4845d3ef6445 net: ping6: Fix memleak in ipv6_renew_options(). 6a4a1c70e446 scsi: mpt3sas: Stop fw fault watchdog work item during system shutdown 3d3e41069b65 scsi: core: Fix warning in scsi_alloc_sgtables() ff2932ac8ee1 tcp: Fix a data-race around sysctl_tcp_challenge_ack_limit. a88de75673e4 tcp: Fix a data-race around sysctl_tcp_limit_output_bytes. 664a3311e671 tcp: Fix data-races around sysctl_tcp_moderate_rcvbuf. 59e2332846d8 octeontx2-pf: Fix UDP/TCP src and dst port tc filters 927c5cf0ba3e Revert "tcp: change pingpong threshold to 3" bdaf56e0df15 scsi: ufs: host: Hold reference returned by of_parse_phandle() 7f0a36506809 ice: do not setup vlan for loopback VSI cef4c1d0fb48 ice: check (DD | EOF) bits on Rx descriptor rather than (EOP | RS) 62e721dee8cc tcp: Fix data-races around sysctl_tcp_no_ssthresh_metrics_save. aa2ca5b5629d tcp: Fix a data-race around sysctl_tcp_nometrics_save. 6e167ed68999 tcp: Fix a data-race around sysctl_tcp_frto. 0d8fa3c2a442 tcp: Fix a data-race around sysctl_tcp_adv_win_scale. 74753ec663d7 tcp: Fix a data-race around sysctl_tcp_app_win. 807b028115eb tcp: Fix data-races around sysctl_tcp_dsack. c9c01dd38975 watch_queue: Fix missing locking in add_watch_to_object() 093610f216d0 watch_queue: Fix missing rcu annotation 11c1cc3f6e42 drm/simpledrm: Fix return type of simpledrm_simple_display_pipe_mode_valid() 121c8993d4f3 nouveau/svm: Fix to migrate all requested pages 8bd9747d3066 s390/archrandom: prevent CPACF trng invocations in interrupt context 71f71150115a asm-generic: remove a broken and needless ifdef conditional dc124c849c72 hugetlb: fix memoryleak in hugetlb_mcopy_atomic_pte 2722fb0f7028 mm: fix page leak with multiple threads mapping the same page 70d0ce332d26 secretmem: fix unhandled fault in truncate 3ef8040afce7 fs: sendfile handles O_NONBLOCK of out_fd 518df26b5238 ntfs: fix use-after-free in ntfs_ucsncmp() 46f6301fb4f1 Revert "ocfs2: mount shared volume without ha stack" f32d5615a78a Bluetooth: L2CAP: Fix use-after-free caused by l2cap_chan_put (From OE-Core rev: 16eb9cd4354cbdbcf216c2fbe268b9f9d57acb5c) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: drop v5.10 reference kernel recipesBruce Ashfield2022-08-093-135/+0
| | | | | | | | | | | These will be supported in the -stable and -lts branches, but no longer will be directly updated master. We continue with 5.15 and 5.19. (From OE-Core rev: a3b473e0fd8d4e4dc347da300db3e1c619bd4606) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/conf: update preferred linux-yocto version to v5.19Bruce Ashfield2022-08-092-2/+2
| | | | | | | | | | v5.19 is the latest reference kernel, we bump our qemu machines to use it by default. (From OE-Core rev: 8f3b5cab696704fdc2060c710e3429859736a63a) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: introduce v5.19 reference kernel recipesBruce Ashfield2022-08-093-0/+145
| | | | | | | | | | | | | Introducing the v5.19 reference kernels. Test built and booted against arm/arm64, mips/mips64, x86-64, ppc in combination with musl and glibc. No issues found, and this becomes the 'newest' reference kernel. (From OE-Core rev: 851c500452e7e6459cf2ec53b169cb7cb7f86696) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust-common: Remove conflict with utils create_wrapperRichard Purdie2022-08-091-9/+9
| | | | | | | | | | utils already has a create_wrapper function which I tried to use from cargo and got unexpected results. Rename the rust function to avoid this conflict of named. (From OE-Core rev: ef347bd395955ce68893fee7995a4f3abbe6ff93) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: siggen: Fix insufficent entropy in sigtask file namesJoshua Watt2022-08-092-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | | Signature generation uses mkstemp() to get a file descriptor to a unique file and then write the signature into it. However, the unique file name generation in glibc is based on the system timestamp, which means that with highly parallel builds it is more likely than one might expect expected that a conflict will occur between two different builder nodes. When operating over NFS (such as a shared sstate cache), this can cause race conditions and rare failures (particularly with NFS servers that may not correctly implement O_EXCL). The signature generation code is particularly susceptible to races since a single "sigtask." prefix used for all signatures from all tasks, which makes collision even more likely. To work around this, add an internal implementation of mkstemp() that adds additional truly random entropy to the file name to eliminate conflicts. (Bitbake rev: 97955f3c1c738aa4b4478a6ec10a08094ffc689d) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: runqueue: Drop deadlock breaking force failRichard Purdie2022-08-081-3/+0
| | | | | | | | | | | | | | I'm 99% certain this failing of a scenequeue task corrupts runqueue and causes all kinds of breakage. I'd rather runqueue deadlocked than corrupted and did weird things so drop this code. We've seen builds where the deadlock triggers and it then tries to run tasks where the SQ task already ran with very confusing failures. It is likely it is this code causing it. (Bitbake rev: 8efced47fcb47851a370fd6786df6fb377f99963) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: runqueue: Improve deadlock warning messagesRichard Purdie2022-08-081-4/+6
| | | | | | | | | | Tweak the deadlock breaking messages to be explict about which task is blocked on which other task. The messages currently imply it is "freeing" the blocking task which is confusing. (Bitbake rev: cf7f60b83adaded180f6717cb4681edc1d65b66d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: runqueue: Ensure deferred tasks are sorted by multiconfigRichard Purdie2022-08-081-5/+8
| | | | | | | | | | | | | We have to prefer one multiconfig over another when deferring tasks, else we'll have cross-linked build trees and nothing will be able to build. In the original population code, we sort like this but we don't after rehashing. Ensure we have the same sorting after rehashing toa void deadlocks. (Bitbake rev: 27228c7f026acb8ae9e1211d0486ffb7338123a2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* selftest/wic: Tweak test case to not depend on kernel sizeRichard Purdie2022-08-081-1/+1
| | | | | | | | | | The current test assumes the kernel size leaves a certain amount of whitespace in the output. Improve this constraint so a slightly larger kernel doesn't fail the test. (From OE-Core rev: bd60c44bef4a1b5d3c8fe77a9e6d3a8f43b0dea4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: revert one upstream change to work around broken DEBUG_BUILD buildMartin Jansa2022-08-082-0/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * work around for build failure with DEBUG_BUILD: http://errors.yoctoproject.org/Errors/Details/661468/ TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.35-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/11.3.0/ld.bfd: TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.35-r0/build-x86_64-oe-linux/libc.a(libc-tls.o): in function `__libc_setup_tls': /usr/src/debug/glibc/2.35-r0/git/csu/libc-tls.c:202: undefined reference to `_startup_fatal_not_constant' introduced in: https://git.openembedded.org/openembedded-core/commit/?id=50ca0eea5424c89c9b39cf69d8bd73fd65f06e95 with: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=a2a6bce7d7e52c1c34369a7da62c501cc350bc31 Temporary reverting as discussed in: https://lists.openembedded.org/g/openembedded-core/message/168463 (it's also reverted in buildroot now with: https://lore.kernel.org/buildroot/20220720213853.1A27184110@busybox.osuosl.org/t/) instead of revert we can use -fexpensive-optimizations which will optimize-out the symbol, but that works only with -O1 and not -Og used by DEBUG_BUILD upstream report: https://sourceware.org/bugzilla/show_bug.cgi?id=29249 (From OE-Core rev: 642348f9b4656a090b5a272c18a6723c60100e08) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc : stable 2.35 branch updatesSundeep KOKKONDA2022-08-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Below commits on glibc-2.35 development branch are updated. glibc: 0e5b239f45 malloc: Simplify implementation of __malloc_assert dc2d843045 Update syscall-names.list for Linux 5.18 d56c7e0965 Apply asm redirections in stdio.h before first use [BZ #27087] c4050b2552 x86: Add missing IS_IN (libc) check to strncmp-sse4_2.S fdf699edea x86: Move mem{p}{mov|cpy}_{chk_}erms to its own file de6f7bb873 x86: Move and slightly improve memset_erms 210e9728ff x86: Add definition for __wmemset_chk AVX2 RTM in ifunc impl list c77cde8172 x86: Put wcs{n}len-sse4.1 in the sse4.1 text section 3eb17048c4 x86: Align entry for memrchr to 64-bytes. dd3b6857ee x86: Add BMI1/BMI2 checks for ISA_V3 check ce32ad91eb x86: Cleanup bounds checking in large memcpy case 863987a6ef x86: Add bounds `x86_non_temporal_threshold` 232b7adb14 x86: Add sse42 implementation to strcmp's ifunc 7f7a728b71 x86: Fix misordered logic for setting `rep_movsb_stop_threshold` 6b4a2ab7e0 x86: Align varshift table to 32-bytes e74385736c x86: ZERO_UPPER_VEC_REGISTERS_RETURN_XTEST expect no transactions b4744d4414 x86: Shrink code size of memchr-evex.S 5321a217cf x86: Shrink code size of memchr-avx2.S c536b318f0 x86: Optimize memrchr-avx2.S f8ba0e0452 x86: Optimize memrchr-evex.S 7001d558a0 x86: Optimize memrchr-sse2.S 54486f520a x86: Add COND_VZEROUPPER that can replace vzeroupper if no `ret` 82560fe43e x86: Create header for VEC classes in x86 strings library b1f23b6128 x86_64: Add strstr function with 512-bit EVEX f9f0fbbf7b x86-64: Ignore r_addend for R_X86_64_GLOB_DAT/R_X86_64_JUMP_SLOT 650bf51c78 x86_64: Implement evex512 version of strlen, strnlen, wcslen and wcsnlen e0cb101d1b x86_64: Remove bzero optimization 51e2d3b53b nptl: Fix ___pthread_unregister_cancel_restore asynchronous restore cd4f43be3d linux: Fix mq_timereceive check for 32 bit fallback code (BZ 29304) (From OE-Core rev: 7d70ccb320459faf356b51d38e62c5dc3955393b) Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa devtool: Add tests to cover devtool handling of various git URL stylesThomas Roos2022-08-081-1/+33
| | | | | | | | | | | Add two test cases for git URL styles that trigger reformat_git_url. [YOCTO #11394] (From OE-Core rev: 5593439a5efbb53fc46099650ae86943751b0c4e) Signed-off-by: Thomas Roos <throos@amazon.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* relocate_sdk.py: ensure interpreter size error causes relocation to failPaul Eggleton2022-08-081-2/+8
| | | | | | | | | | | | | | If there is insufficent space to change the interpreter, we were printing an error here but the overall script did not return an error code, and thus the SDK installation appeared to succeed - but some of the binaries will not be in a working state. Allow the relocation to proceed (so we still get a full list of the failures) but error out at the end so that the installation is halted. (From OE-Core rev: c5a9a448e462d3e5457e8403c5a1a54148ecd224) Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* efivar: Fix build with glibc 2.36Khem Raj2022-08-082-0/+61
| | | | | | | (From OE-Core rev: e9eecb01c6742411531af1e269de467dcc8ef794) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Fix sys/mount.h conflicts needed for glibc 2.36+ compileKhem Raj2022-08-082-0/+31
| | | | | | | (From OE-Core rev: a9136a30c56ff1d63043558b9cbaaae3e302aef7) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bootchart2: Fix build with glibc 2.36+Khem Raj2022-08-082-0/+32
| | | | | | | (From OE-Core rev: 981fd8966fb19d07b7166d136e1d7e2b76268a4a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* stress-ng: Upgrade to 0.14.03Khem Raj2022-08-083-2/+73
| | | | | | | | | Backport fixes for build with glibc 2.36+ (From OE-Core rev: 6dc595b7ab00a37f4dd76c1b042bd900988016c1) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mtd-utils: Fix build with glibc 2.36Khem Raj2022-08-082-0/+32
| | | | | | | (From OE-Core rev: d0275fb6c4b54b17d66d724581b30ba4c18a058a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Fix build with glibc 2.36Khem Raj2022-08-082-0/+47
| | | | | | | (From OE-Core rev: 5547f0e9e0c71c82d9bf87384bc81901117db030) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: fix build against mips and v5.19 kernelBruce Ashfield2022-08-082-0/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When building against a v5.19 mips kernel, the following errors were triggered: | lttng-modules-2.13.4/src/probes/../../include/instrumentation/events/compaction.h:105:42: note: expected 'struct compact_control *' but argument is of type 'struct compact_control *' | 105 | TP_PROTO(struct compact_control *cc, | | ~~~~~~~~~~~~~~~~~~~~~~~~^~ | lttng-modules-2.13.4/src/probes/../../include/lttng/tracepoint-event-impl.h:779:68: note: in definition of macro 'LTTNG_TRACEPOINT_EVENT_CLASS_CODE' | 779 | static inline size_t __event_get_align__##_name(void *__tp_locvar, _proto) \ | | ^~~~~~ | lttng-modules-2.13.4/src/probes/../../include/lttng/tracepoint-event-impl.h:106:50: note: in expansion of macro 'PARAMS' | 106 | LTTNG_TRACEPOINT_EVENT_CLASS_CODE(_name, PARAMS(_proto), PARAMS(_args), , , \ | | ^~~~~~ | lttng-modules-2.13.4/src/probes/../../include/lttng/tracepoint-event-impl.h:41:9: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_CLASS' | 41 | LTTNG_TRACEPOINT_EVENT_CLASS(map, \ | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | lttng-modules-2.13.4/src/probes/../../include/lttng/tracepoint-event-impl.h:42:30: note: in expansion of macro 'PARAMS' | 42 | PARAMS(proto), \ | | ^~~~~~ | lttng-modules-2.13.4/src/probes/../../include/instrumentation/events/compaction.h:101:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_MAP' | 101 | LTTNG_TRACEPOINT_EVENT_MAP(mm_compaction_migratepages, | | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | lttng-modules-2.13.4/src/probes/../../include/instrumentation/events/compaction.h:105:9: note: in expansion of macro 'TP_PROTO' | 105 | TP_PROTO(struct compact_control *cc, | | ^~~~~~~~ | lttng-modules-2.13.4/src/probes/../../include/instrumentation/events/compaction.h:112:57: error: invalid use of undefined type 'struct compact_control' ... | lttng-modules-2.13.4/src/probes/../../include/instrumentation/events/compaction.h:108:25: warning: 'struct compact_control' declared inside parameter list will not be visible outside of this definition or declaration | 108 | TP_PROTO(struct compact_control *cc, | | ^~~~~~~~~~~~~~~ | lttng-modules-2.13.4/src/probes/../../include/lttng/tracepoint-event-impl.h:159:43: note: in definition of macro 'LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP' | 159 | void __event_template_proto___##_template(_proto); | | ^~~~~~ | lttng-modules-2.13.4/src/probes/../../include/lttng/tracepoint-event-impl.h:45:61: note: in expansion of macro 'PARAMS' | 45 | LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(map, name, map, PARAMS(proto), PARAMS(args)) | | ^~~~~~ | lttng-modules-2.13.4/src/probes/../../include/instrumentation/events/compaction.h:104:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_MAP' | 104 | LTTNG_TRACEPOINT_EVENT_MAP(mm_compaction_migratepages, | | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | lttng-modules-2.13.4/src/probes/../../include/instrumentation/events/compaction.h:108:9: note: in expansion of macro 'TP_PROTO' | 108 | TP_PROTO(struct compact_control *cc, | | ^~~~~~~~ | lttng-modules-2.13.4/src/probes/../../include/lttng/tracepoint-event-impl.h:159:6: error: conflicting types for '__event_template_proto___compaction_migratepages'; have 'void(struct compact_control *, unsigned int)' | 159 | void __event_template_proto___##_template(_proto); | | ^~~~~~~~~~~~~~~~~~~~~~~~~ | lttng-modules-2.13.4/src/probes/../../include/lttng/tracepoint-event-impl.h:45:9: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP' | 45 | LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(map, name, map, PARAMS(proto), PARAMS(args)) | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The root cause appears to be that this particular mips kernel does not have CONFIG_COMPACTION avaiable, and hence we end up with the struct declaration within this tracepoint, and then conflicting types. While putting the conditional around only compaction_migratepages seemed sufficient to get the build working, it doesn't look like any of the tracepoints should be valid, so we extend it to all definitions. Upstream-Status: Submitted [https://lists.lttng.org/pipermail/lttng-dev/2022-August/030246.html] (From OE-Core rev: e25f7b5ca83d3f025ef2235f2ebd8233013eb406) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-devsrc: support powerpc on v5.19+Bruce Ashfield2022-08-081-0/+7
| | | | | | | | | | | The on-target/scripts requirements have expanded for powerpc on v5.19+ we copy the required .S and .sh files as part of devsrc to support the archtecture. (From OE-Core rev: 9fb466612bd735046a4037b0d62f24a9d6f35628) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>