summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
Commit message (Collapse)AuthorAgeFilesLines
...
* glibc: Update patch statusKhem Raj2022-08-122-2/+2
| | | | | | | | | | These patches were appplied in master (From OE-Core rev: 452ded8e88db51f8b2fd704d40860ea84c433ada) 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>
* glibc: fix new upstream build issue with DEBUG_BUILD buildMartin Jansa2022-08-123-1/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refresh 0001-Revert-Linux-Implement-a-useful-version-of-_startup_.patch (just different commit SHA in master and 2.35 branch) * add proposed fixes for build failure with DEBUG_BUILD: http://errors.yoctoproject.org/Errors/Details/663898/ 86_64-oe-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/recipe-sysroot -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0=/usr/src/debug/glibc/2.36-r0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0=/usr/src/debug/glibc/2.36-r0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -fuse-ld=bfd -nostdlib -nostartfiles -r -o TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/build-x86_64-oe-linux/elf/librtld.os '-Wl,-(' TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/build-x86_64-oe-linux/elf/dl-allobjs.os TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/build-x86_64-oe-linux/elf/rtld-libc.a -lgcc '-Wl,-)' \ -Wl,-Map,TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/build-x86_64-oe-linux/elf/librtld.os.map x86_64-oe-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/recipe-sysroot -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0=/usr/src/debug/glibc/2.36-r0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0=/usr/src/debug/glibc/2.36-r0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -fuse-ld=bfd -nostdlib -nostartfiles -shared -o TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/build-x86_64-oe-linux/elf/ld.so.new \ -Wl,-z,relro -Wl,-z,defs -Wl,-z,now \ -Wl,-z,pack-relative-relocs \ TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/build-x86_64-oe-linux/elf/librtld.os -Wl,--version-script=TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/build-x86_64-oe-linux/ld.map \ -Wl,-soname=ld-linux-x86-64.so.2 TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/12.1.0/ld.bfd: TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/build-x86_64-oe-linux/elf/librtld.os: in function `_dl_load_cache_lookup': /usr/src/debug/glibc/2.36-r0/git/elf/dl-cache.c:513: undefined reference to `strcpy' collect2: error: ld returned 1 exit status introduced in 2.36 version, with: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=6b9006bfb0 upstream report with this fix proposed: https://sourceware.org/bugzilla/show_bug.cgi?id=29454 (From OE-Core rev: 57a0e5ebac924015d3059695e731b28067be4568) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> 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>
* glibc: Bump to 2.36Khem Raj2022-08-1234-136/+168
| | | | | | | | | (From OE-Core rev: 54f7441135c701b0b1ba337db04aa9a6410b3d3d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sysvinit: Fix mount.h conflicts seen with glibc 2.36+Khem Raj2022-08-122-0/+18
| | | | | | | | (From OE-Core rev: 938e6452974e0700f2fc2f070c76484aec05a910) 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>
* classes: rootfs-postcommands: autologin root on serial-gettyJohannes Schneider2022-08-121-1/+2
| | | | | | | | | | | | | | | | when empty-root-password AND serial-autologin-root are part of the IMAGE_FEATURES, save some of the developers time by not having to type the (then still sole) 'root' username on the serial console after each and every reboot this is done by inserting '--autologin root' into the command line of the responsible 'getty' service (From OE-Core rev: 01b3cb46405f814e27cab5290118211786cd63a0) Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* testexport: Fix to work as an image classRichard Purdie2022-08-121-1/+1
| | | | | | | | | | The class is mainly an image based class but one recipe does need to look at values shared with the class and isn't an image. Move this to a conf file instead, avoiding the need to pollute all recipes globally. (From OE-Core rev: ed4238487c81b3580e83c257b50745a832a6e717) 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>
* 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>
* 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>
* rust: Enable nativesdk and target builds + replace rust-tools-cross-canadianRichard Purdie2022-08-081-3/+3
| | | | | | | | | | | | Enable rust target builds as well as nativesdk-rust for the sdk. Merge the builds of rust-tools components into the rust build, packaged separately since this is a lot more efficient and saves rebuilding core rust multiple times. The tools are not target specific so nativesdk-rust-tools suffices and we can drop the cross canadian piece. (From OE-Core rev: b9b0cd99cdc77e7a90e5fd5711e706ebe64c7b6b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cargo: Drop cross-canadian variant and fix/use nativesdkRichard Purdie2022-08-081-2/+1
| | | | | | | | | | | The cargo-cross-candian variant made no sense as one version of cargo in the SDK can work for all targets. Replace it with nativesdk-cargo instead. Move the SDK env to rust-cross-canadian. (From OE-Core rev: 6d6d135924eff5993736ee58ba8cc5d00ca635f3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: depend on cross-binutilsRoss Burton2022-08-021-0/+1
| | | | | | | | | | | Wic can build an unified kernel image, but this needs the cross-objcopy from binutils. (From OE-Core rev: 7c7a488116f49083ca42d3628ebc0870585110c3) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta-ide-support: adjust to provide (e)SDK experience directly in a yocto buildAlexander Kanavin2022-07-281-3/+23
| | | | | | | | | | | | | | | | | Specifically: 1. Add a few more toolchain items to DEPENDS so they're available in the recipe sysroot. 2. Use deploy mechanism to place the SDK environment setup file and testdata for testing it into the image deploy directory. 3. Add ability to run SDK tests via the testsdk class and task. This also requires providing a testdata json file. 4. Ensure sysroot population always runs, as those items are mean to be picked up by 'bitbake build-sysroots' into the unified sysroot. (From OE-Core rev: 93f419451cc18b5d31b6fe134ca52a2750fa567d) 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>
* systemd: Fix conflict between glibc mount.h and kernel mount.hKhem Raj2022-07-282-0/+98
| | | | | | | | | | | | See glibc documentation [1] for details [1] https://sourceware.org/glibc/wiki/Release/2.36 (From OE-Core rev: 86a33f98a7c0d6f2c2b51d02ba9e01b63062cf98) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Drop backported patch applied in 251.3Khem Raj2022-07-252-79/+0
| | | | | | | | | This was added to musl specific backport patchset so it escaped testing (From OE-Core rev: dd5f7e87b5bbde02eb50c7da6a6d3f928e0fd2f2) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* zlib: remove historical movement of libz.so to /libRoss Burton2022-07-251-12/+0
| | | | | | | | | | | | | Historically there's been a split between /lib for early boot and /usr/lib for everything else, but with modern systems this split is meaningless and incomplete. If a minimal system for early boot is needed, it should be a full minimal system in a initramfs. [RP: Fixed up selftest to match] (From OE-Core rev: 990073dfc167354b4af41db83ac46c18b1aa99d5) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initscripts: run umountnfs as a KILL scriptShruthi Ravichandran2022-07-231-1/+1
| | | | | | | | | | | | | | | | | `rc` runs all the KILL scripts in a runlevel before the START scripts. The umountnfs script is currently configured as a START script, and runs after the networking KILL script. During shutdown, this causes a ~3 minute timeout after networking is shutdown when the system tries to connect to and unmount any mounted network shares. Fix this by changing the script configuration to "stop" so that it can run before networking is stopped and unmount any network shares safely. (From OE-Core rev: c419bd4537756e9f6c2fe6da3a9b798526e27eca) Signed-off-by: Shruthi Ravichandran <shruthi.ravichandran@ni.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: make glibc-dev depend on kernel headersChen Qi2022-07-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The linux kernel headers are necessary for glibc-dev, so we need to use RDEPENDS instead of DEV_PKG_DEPENDENCY which specifies RRECOMMENDS. Currently, in case of NO_RECOMMENDATIONS set to "1", linux kernel headers are not pulled in by glibc-dev, causing error like below when compiling. fatal error: linux/errno.h: No such file or directory The problem could be reproduced by setting NO_RECOMMENDATIONS to "1" and then running: bitbake core-image-minimal -c populate_sdk bitbake core-image-minimal -c testsdk (From OE-Core rev: fdb16e1a78c2abcc8ac89678b1b250ca4fa9c0d9) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev-extraconf:mount.sh: fix a umount issueMing Liu2022-07-231-1/+1
| | | | | | | | | | | Only touching /tmp/.automount-$name is not good enough, it must contain the mount name, otherwise umount could not get the path from it. (From OE-Core rev: ccea69032329f3ba43c727d9eb71b1d063b89824) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd-boot: update 251.2 -> 251.3Alexander Kanavin2022-07-236-87/+10
| | | | | | | | (From OE-Core rev: 470ae1362358a69491a9166167889fa27dd6cc73) 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>
* systemd: Added base_bindir into pkg_postinst:udev-hwdb.leimaohui2022-07-231-1/+1
| | | | | | | | | | Otherwise in sdk environment, the base_bindir is empty and the path of UDEVADM="${base_bindir}/udevadm" is not correct. (From OE-Core rev: 235b6fccd2a9ce4eb9bfb3be8ac271cff0ea5fea) Signed-off-by: Lei Maohui <leimaohui@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dropbear: Add configuration file to CONFFILESDaniel Gomez2022-07-231-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid overwriting the dropbear configuration when the package gets updated by adding it to the CONFFILES list. Before: root@qt5222:~# dpkg -i dropbear_2022.82-r0.26_amd64.deb (Reading database ... 32509 files and directories currently installed.) Preparing to unpack dropbear_2022.82-r0.26_amd64.deb ... Unpacking dropbear (2022.82-r0.26) over (2022.82-r0.25) ... Setting up dropbear (2022.82-r0.26) ... update-alternatives: Linking /usr/bin/scp to /usr/sbin/dropbearmulti update-alternatives: Linking /usr/bin/ssh to /usr/sbin/dropbearmulti After: root@qt5222:~# dpkg -i dropbear_2022.82-r0.27_amd64.deb (Reading database ... 32509 files and directories currently installed.) Preparing to unpack dropbear_2022.82-r0.27_amd64.deb ... Unpacking dropbear (2022.82-r0.27) over (2022.82-r0.26) ... Setting up dropbear (2022.82-r0.27) ... Configuration file '/etc/default/dropbear' ==> File on system created by you or by a script. ==> File also in package provided by package maintainer. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** dropbear (Y/I/N/O/D/Z) [default=N] ? (From OE-Core rev: e8809c00d7414faeb601970faa3e9caf5deb39cf) Signed-off-by: Daniel Gomez <daniel@qtec.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revision4.1_M2Richard Purdie2022-07-191-1/+1
| | | | | | (From OE-Core rev: b4f1b78aef77198f26a8ef9e105fa690cc12e836) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev-extraconf:mount.sh: fix path mismatching issuesMing Liu2022-07-151-4/+4
| | | | | | | | | | | | | | | | | | | | Since commit f077befd5f36ad88623aaf6a38b1a837ecb18650: [ udev-extraconf: let automount base directory configurable ] the mount base directory was configurable, we need drop 'run-media' usage as well, change to figure it out from MOUNT_BASE. Also 'get_label_name' function needs to be called ealier in automount_systemd before checking '/tmp/.automount-$name', otherwise they would never match. (From OE-Core rev: c013b33162546fb5bd4bcc1daac75aa65d0be1a3) (From OE-Core rev: 7ed210054b3e253d5a67075bb9d4768d1661bef1) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: stable 2.35 branch updatesSundeep KOKKONDA2022-07-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Below commits on glibc-2.35 development branch are updated. b6aade18a7 nss: handle stat failure in check_reload_and_get (BZ #28752) ccac2d6d95 nss: add assert to DB_LOOKUP_FCT (BZ #28752) 9d8ae95604 nios2: Remove _dl_skip_args usage (BZ# 29187) 8468be8433 hppa: Remove _dl_skip_args usage (BZ# 29165) 99978cd42c NEWS: Add a bug fix entry for BZ #29225 97dd8b3f70 nptl: Fix __libc_cleanup_pop_restore asynchronous restore (BZ#29214) 0a1572b8bb powerpc: Fix VSX register number on __strncpy_power9 [BZ #29197] fe9ca732ac socket: Fix mistyped define statement in socket/sys/socket.h (BZ #29225) d7d1eebd4d iconv: Use 64 bit stat for gconv_parseconfdir (BZ# 29213) c5a75ecec8 catgets: Use 64 bit stat for __open_catalog (BZ# 29211) e429695805 inet: Use 64 bit stat for ruserpass (BZ# 29210) 6ea3c0aba4 socket: Use 64 bit stat for isfdtype (BZ# 29209) 9bcf5b12f8 posix: Use 64 bit stat for fpathconf (_PC_ASYNC_IO) (BZ# 29208) 45e5d0f533 posix: Use 64 bit stat for posix_fallocate fallback (BZ# 29207) 37c94dc999 misc: Use 64 bit stat for getusershell (BZ# 29204) cb49c14183 misc: Use 64 bit stat for daemon (BZ# 29203) 6abb4002df Fix deadlock when pthread_atfork handler calls pthread_atfork or dlclose ac87df8d75 x86: Fallback {str|wcs}cmp RTM in the ncmp overflow case [BZ #29127] 478cd506ea string.h: fix __fortified_attr_access macro call [BZ #29162] 2b128a7d30 linux: Add a getauxval test [BZ #23293] f5f7144dfc rtld: Use generic argv adjustment in ld.so [BZ #23293] 04892c543e S390: Enable static PIE 72d9dcfd16 csu: Implement and use _dl_early_allocate during static startup b5ddf33c6e Linux: Introduce __brk_call for invoking the brk system call 2d05ba7f8e Linux: Implement a useful version of _startup_fatal 55ee3afa0d ia64: Always define IA64_USE_NEW_STUB as a flag macro d66cca3fbb Linux: Define MMAP_CALL_INTERNAL a7b122a7b4 i386: Honor I386_USE_SYSENTER for 6-argument Linux system calls d1772c9376 i386: Remove OPTIMIZE_FOR_GCC_5 from Linux libc-do-syscall.S 58bb3aeaae elf: Remove __libc_init_secure 0a5c6c9d99 Linux: Consolidate auxiliary vector parsing (redo) 76304dfdaf Linux: Include <dl-auxv.h> in dl-sysdep.c only for SHARED 788eb21ff0 Revert "Linux: Consolidate auxiliary vector parsing" 150039ff07 Linux: Consolidate auxiliary vector parsing 3948c6ca89 Linux: Assume that NEED_DL_SYSINFO_DSO is always defined 29f833f5ab Linux: Remove DL_FIND_ARG_COMPONENTS 1695c5e0f6 Linux: Remove HAVE_AUX_SECURE, HAVE_AUX_XID, HAVE_AUX_PAGESIZE 756d583c9e elf: Merge dl-sysdep.c into the Linux version 2c4fc8e5ca x86: Optimize {str|wcs}rchr-evex fdbc8439ac x86: Optimize {str|wcs}rchr-avx2 b05c0c8b28 x86: Optimize {str|wcs}rchr-sse2 bc35e22be4 x86-64: Fix SSE2 memcmp and SSSE3 memmove for x32 4d1841deb7 x86: Fix missing __wmemcmp def for disable-multiarch build cee9939f67 x86: Cleanup page cross code in memcmp-avx2-movbe.S 0909286ffa x86: Remove memcmp-sse4.S 5a8df6485c x86: Optimize memcmp SSE2 in memcmp.S af0865571a x86: Small improvements for wcslen 3b710e32d8 x86: Remove AVX str{n}casecmp fc5d42bf82 x86: Add EVEX optimized str{n}casecmp 33fcf8344f x86: Add AVX2 optimized str{n}casecmp 3496d64d69 x86: Optimize str{n}casecmp TOLOWER logic in strcmp-sse42.S 283982b362 x86: Optimize str{n}casecmp TOLOWER logic in strcmp.S 420cd6f155 x86: Remove strspn-sse2.S and use the generic implementation 4b61d76521 x86: Remove strpbrk-sse2.S and use the generic implementation 2fef1961a7 x86: Remove strcspn-sse2.S and use the generic implementation 1ed2813eb1 x86: Optimize strspn in strspn-c.c 3214c878f2 x86: Optimize strcspn and strpbrk in strcspn-c.c ff9772ac19 x86: Code cleanup in strchr-evex and comment justifying branch 424bbd4d25 x86: Code cleanup in strchr-avx2 and comment justifying branch 0a10b8b181 x86_64: Remove bcopy optimizations f0a53588da x86-64: Define __memcmpeq in ld.so a133623048 x86-64: Remove bzero weak alias in SS2 memset 18baf86f51 x86_64/multiarch: Sort sysdep_routines and put one entry per line d422197a69 x86: Improve L to support L(XXX_SYMBOL (YYY, ZZZ)) 58947e1fa5 fortify: Ensure that __glibc_fortify condition is a constant [BZ #29141] 28ea43f8d6 dlfcn: Implement the RTLD_DI_PHDR request type for dlinfo 78f82ab4ef manual: Document the dlinfo function bbb017a2bb NEWS: Add a bug fix entry for BZ #29109 5c0d94d780 linux: Fix posix_spawn return code if clone fails (BZ#29109) 059e36d9ed x86: Fix fallback for wcsncmp_avx2 in strcmp-avx2.S [BZ #28896] 676f7bcf11 x86: Fix bug in strncmp-evex and strncmp-avx2 [BZ #28895] c394d7e11a x86: Set .text section in memset-vec-unaligned-erms de0cd691b2 x86-64: Optimize bzero 0bf9c8b5fe x86: Remove SSSE3 instruction for broadcast in memset.S (SSE2 Only) 58596411ad x86: Improve vec generation in memset-vec-unaligned-erms.S 36766c02af x86-64: Fix strcmp-evex.S 250e277797 x86-64: Fix strcmp-avx2.S 34ef810945 x86: Optimize strcmp-evex.S b68e782f8e x86: Optimize strcmp-avx2.S ec5b79aac7 manual: Clarify that abbreviations of long options are allowed 0bcba53020 Add HWCAP2_AFP, HWCAP2_RPRES from Linux 5.17 to AArch64 bits/hwcap.h 95759abbf3 Add SOL_MPTCP, SOL_MCTP from Linux 5.16 to bits/socket.h eed29011f9 Update kernel version to 5.17 in tst-mman-consts.py e72c363a15 Update kernel version to 5.16 in tst-mman-consts.py edc06fdd62 Update syscall lists for Linux 5.17 dde291ab53 posix/glob.c: update from gnulib 7d96aa2d7d linux: Fix fchmodat with AT_SYMLINK_NOFOLLOW for 64 bit time_t (BZ#29097) 14b1e32a4d i386: Regenerate ulps ef87599348 linux: Fix missing internal 64 bit time_t stat usage 10fe3cd309 elf: Fix DFS sorting algorithm for LD_TRACE_LOADED_OBJECTS with missing libraries (BZ #28868) cb4d670d8f scripts/glibcelf.py: Mark as UNSUPPORTED on Python 3.5 and earlier 106b7e0e45 dlfcn: Do not use rtld_active () to determine ld.so state (bug 29078) e5cf8ccca6 INSTALL: Rephrase -with-default-link documentation c8ee1c85c0 misc: Fix rare fortify crash on wchar funcs. [BZ 29030] (From OE-Core rev: 50ca0eea5424c89c9b39cf69d8bd73fd65f06e95) Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* init-system-helpers: upgrade 1.63 -> 1.64wangmy2022-07-121-2/+2
| | | | | | | | | | | | | | | | License-Update: year updated to 2022 Changelog: ========= * Team upload. * d-s-h: break infinite recursion on symlinks. (Closes: #1014119) * Bump Standards-Version to 4.6.1, no changes * Update date ranges in d/copyright (From OE-Core rev: 267521e66560f214d3b037a7c268c26699d84988) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: mark upstream version as unknownAlexander Kanavin2022-07-081-0/+1
| | | | | | | | | | | This is to avoid check-version reporting a broken current version (6.3+nnnn sorts higher than 6.3 and isn't tagged in upstream git). (From OE-Core rev: 25668027b105144598a367797076818c9cf9b373) 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>
* glib-networking: upgrade 2.72.0 -> 2.72.1Alexander Kanavin2022-07-081-1/+1
| | | | | | | | (From OE-Core rev: 49827652371ca9836e58c0d5883dbd59d08cde72) 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>
* glib-2.0: upgrade 2.72.2 -> 2.72.3Alexander Kanavin2022-07-082-2/+2
| | | | | | | | (From OE-Core rev: 3c4b0196be98fa2dad92f59ead6dd74b26be8ffd) 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>
* glibc-tests: Avoid reproducibility issuesRichard Purdie2022-07-042-0/+26
| | | | | | | | | | | | Currently, there are hardcoded paths in the binaries installed by this recipe, at least one some architectures. Change the compile definitions to point to more appropriate paths. Ideally we'd rework this patch into a form acceptable to upstream but I'm not entirely sure what that would look like right now. (From OE-Core rev: ede7ab3bbf87cc7d7e713d435ea8a88035c2e46e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: use GitHub mirror, not Debian's packagingRoss Burton2022-07-012-2/+2
| | | | | | | | | | | The GitHub mirror of ncurses is updated daily, whereas the Debian packaging repository is only updated when they do an upgrade. (From OE-Core rev: 3c53e0dfb2d41ab2c933764ecd5a56c5f43bf8eb) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc-tests: not clear BBCLASSEXTENDKai Kang2022-07-011-2/+3
| | | | | | | | | | | | | It clears BBCLASSEXTEND in glibc-tests recipe to remove 'nativesdk' which is set in glibc recipe. The side effect is that it removes "${MULTILIBS}" at same time if multilib enabled. Then there will no multilib version glibc-tests. So only remove 'nativesdk' from BBCLASSEXTEND rather than clear it. (From OE-Core rev: d15975441471c9367b6d8cfa094f093e80f910d4) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: fix CVE-2022-30065Ross Burton2022-07-012-0/+30
| | | | | | | | (From OE-Core rev: bf3d981b0303eab91d4cb19092ac27b489c8ad27) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: 6.3 -> 6.3+20220423Richard Purdie2022-06-302-3/+3
| | | | | | | | Includes a fix for CVE-2022-29458 (From OE-Core rev: 6032a1049d4693f17ab7f4b67f9b22719decadde) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf/recipes: Introduce add DEV_PKG_DEPENDENCY to change ↵Richard Purdie2022-06-284-4/+4
| | | | | | | | | | | | RDEPENDS:${PN}-dev There is a pattern that several recipes need to break the dependency of ${PN}-dev on ${PN}, most often as ${PN} may be be empty. Add a new variable to parameterise this and allow it to be changed more easily. (From OE-Core rev: a5b381c0f45c590a762647a9956a8f41e2e2315e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* packagegroup-core-ssh-dropbear: Add openssh-sftp-server recommendationRichard Purdie2022-06-281-0/+1
| | | | | | | | | | | | | | | | Seems sad to have to do this but openssh is moving to use sftp instead of scp to move files. This means scp from Fedora 36 will no longer be able to move files to/from a dropbear based image. This breaks a number of our key QA tests and I suspect will cause users pain too. The sftp server from openssh is small (200kb uncompressed) and standalone so adding it to the packagegroup seems to be the best way to preserve user sanity. If people really don't want it, they can just use dropbear instead of the packageground. (From OE-Core rev: a98188e83b2c027d99cc38e3367e1ec2a98efbb0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils: Tweak packaging variable names for coreutils-devRichard Purdie2022-06-281-1/+2
| | | | | | | | | | | | | PACKAGES uses ${PN}-dev so be consistent with the addition to the variable to avoid weird variable conflicts. The flags variable used here is messy, key expansion and overrides are not supported by flags. The plain variable access does happen to work though, so leave it as is for now and note. (From OE-Core rev: a5edae117d0d2a59fd3456ccbeeb6cd35dd1951f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev-extraconf: fix some systemd automount issuesMing Liu2022-06-272-11/+12
| | | | | | | | | | | | | | The '.include' syntax has been dropped from latest systemd releases, we need drop the systemd-udevd.service here, introduce a postinst function to add "MountFlags=shared" to systemd-udevd.service. Also lsblk binary is being called in mount.sh automount_systemd function, add it to RDEPENDS. (From OE-Core rev: 356520d60b9429c6f62124821e42468ff2b7b1d6) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: update upstream status of merged patchesPavel Zhukov2022-06-252-2/+2
| | | | | | | | (From OE-Core rev: 6370bce5b0e14c9384b61c215eb6a56ed65a3feb) Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kbd: upgrade 2.5.0 -> 2.5.1wangmy2022-06-221-1/+1
| | | | | | | | | | | | | | | | | | Changelog: ========== keymaps: ------- Fix pt-latin1 failing to load due to euro2 include. tests: -------- The tests do not depend on the data in srcdir/data. (From OE-Core rev: 750a4d2204dcad60e911d76f20abbc778c208b93) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ell: update 0.50 -> 0.51Alexander Kanavin2022-06-222-1/+81
| | | | | | | | (From OE-Core rev: bd63e0a8aaefe6f3ccb8239b51ae4637909f21b2) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev-extraconf/mount.sh: ignore lvm in automountMuhammad Hamza2022-06-211-0/+4
| | | | | | | | | | | | | | Failure message is shown in boot logs when trying to mount lvm as automounter does not handle cases where lvm is mounted. This simply skips lvm while automounting to avoid failure message in boot logs. (From OE-Core rev: b1d18072ed9a8b0bca0f20f8e5deefa73ab6acbe) Signed-off-by: Ansar Rasool <ansar_rasool@mentor.com> Signed-off-by: Muhammad Hamza <muhammad_hamza@mentor.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev-extraconf: force systemd-udevd to use shared MountFlagsMuhammad Hamza2022-06-212-1/+11
| | | | | | | | | | | | | | | | | | | Automounting does not work cleanly in case systemd as well as udev rules are being used simultaneously and in most cases race conditions and unknown behavior can come up. In case we're running on top of systemd we need to make sure that systemd-udevd knows that udev is in play as well and mounting should be done using shared flags. Also as we're using mount from sources other than systemd-mount in current scripts this is the most manageable fix to automounting problems. (From OE-Core rev: 1e770416b4c9a0468404fb64d55114d93e84763b) Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: Muhammad Hamza <muhammad_hamza@mentor.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev-extraconf/mount.sh: only mount devices on hotplugMuhammad Hamza2022-06-211-7/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | fdisk from util-linux (2.31.1) and above allows the user to manipulate an already mounted device. In order to achieve this functionality it issues a BLKRRPART (block device re-read part) ioctl and in response the kernel generates remove/change/add events if the device is not mounted (manually unmounted etc) which are caught and processed by udev. This causes our auto-mounter to remount everything because it does not keep track and things go out of control. Differentiating between types of remove events such as the one described above (generated by BLKRRPART) and one where the device is physically plugged out is only possible using the DEVPATH variable which is cleaned up only when the device is actually plugged-out. This fixes the above anomaly by only mounting a device in add event which is cleaned up properly (tmp cache deleted) in the remove event or is not present in the tmp cache while making use of the DEVPATH variable during the remove action. (From OE-Core rev: 11a5e6c17535438ea1e7a8403ed260c8b3a22bc8) Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: Muhammad Hamza <muhammad_hamza@mentor.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev-extraconf/mount.sh: save mount name in our tmp filecacheMuhammad Hamza2022-06-211-1/+4
| | | | | | | | | | | | | | Doing this will allow to fetch the exact name created by the auto-mounter during the remove action where depending on the scenario utilities such as the blkid might not be usable due to actual device not being present on the system. (From OE-Core rev: 496b76f8775a620c1d449eb6f62a41656abf2a9b) Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: Muhammad Hamza <muhammad_hamza@mentor.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev-extraconf/mount.sh: add LABELs to mountpointsMuhammad Hamza2022-06-212-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | This alters the mountpoints such that if a device has a LABEL or a PARTLABEL, it will be mounted at e.g.: /run/media/$LABEL-<device-node> /run/media/$PARTLABEL-<device-node> /run/media/rootfs-sda2 otherwise the device will be mounted at e.g.: /run/media/<device-node> /run/media/sda1 The <device-node> appended with LABEL or PARTLABEL makes sure that the mountpoint is unique, therefore, avoids overlapping mounts. (From OE-Core rev: a9a0a0967832445f1bcc65d58f95343d1b562e1b) Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com> Signed-off-by: Muhammad Hamza <muhammad_hamza@mentor.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Rebase patches on v251Pavel Zhukov2022-06-2117-238/+133
| | | | | | | | | | | Drop patches which are not needed anymore. Rebase musl specific patches to aboid fuzz warnings (From OE-Core rev: 3275cc6c2ecfd70ba134b49363c9cecbb0c2c0b2) Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Add missed sys/file.h includes for muslPavel Zhukov2022-06-212-0/+79
| | | | | | | | (From OE-Core rev: 526e0ab4275a130b354090ac42a6147f5660e169) Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>