Re: [OE-core] [PATCH 2/3] autoconf: Add missing perl modules to RDEPENDS
On Fri, 2024-03-22 at 03:10 -0700, Sadineni, Harish via lists.openembedded.org wrote: > From: Harish Sadineni > > In SDK, missing perl modules causes 'x86_64-wrlinuxsdk-linux-gp- > display-html --help' to abort with below errors.. > - Can't locate bignum.pm in @INC (you may need to install the > feature module). > - Can't locate Math/BigInt.pm in @INC (you may need to install the > Math::BigInt module) > > Signed-off-by: Harish Sadineni > --- > meta/recipes-devtools/autoconf/autoconf_2.72e.bb | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/meta/recipes-devtools/autoconf/autoconf_2.72e.bb > b/meta/recipes-devtools/autoconf/autoconf_2.72e.bb > index db374373cf..2a459b7cb6 100644 > --- a/meta/recipes-devtools/autoconf/autoconf_2.72e.bb > +++ b/meta/recipes-devtools/autoconf/autoconf_2.72e.bb > @@ -52,6 +52,9 @@ RDEPENDS:${PN} = "m4 gnu-config \ > perl-module-thread-queue \ > perl-module-threads \ > perl-module-feature \ > + perl-module-bignum \ > + perl-module-bigint \ > + perl-module-math-bigint \ > " > RDEPENDS:${PN}:class-native = "m4-native gnu-config-native hostperl- > runtime-native" > Was this dependency missing from autoconf or was it from some tools in binutils? If the latter, we should be adding the missing dependency to the specific package. Cheers, Richard -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#197450): https://lists.openembedded.org/g/openembedded-core/message/197450 Mute This Topic: https://lists.openembedded.org/mt/105082440/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [OE-core] [PATCH 1/3] nativesdk-packagegroup-sdk-host: add gprofng package to RDEPENDS
On Fri, 2024-03-22 at 03:10 -0700, Sadineni, Harish via lists.openembedded.org wrote: > From: Harish Sadineni > > In SDK, while running "x86_64-poky-linux-gp-collect-app ./exe" fails > to create 'test.1.er' due to missing gprofng configure file in > sysconfdir and aborting with below error while generating the > profiling data. > - configuration error: can not find libgp-collector.so. run aborted > > Signed-off-by: Harish Sadineni > --- > .../packagegroups/nativesdk-packagegroup-sdk-host.bb | 1 > + > 1 file changed, 1 insertion(+) > > diff --git a/meta/recipes-core/packagegroups/nativesdk-packagegroup- > sdk-host.bb b/meta/recipes-core/packagegroups/nativesdk-packagegroup- > sdk-host.bb > index c1d3c25060..5374067bab 100644 > --- a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk- > host.bb > +++ b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk- > host.bb > @@ -30,6 +30,7 @@ RDEPENDS:${PN} = "\ > nativesdk-bison \ > nativesdk-flex \ > nativesdk-perl-module-integer \ > + nativesdk-gprofng \ > " > > RDEPENDS:${PN}:darwin = "\ Should the package which contains x86_64-poky-linux-gp-collect-app not be the place where we need to add this dependency? Cheers, Richard -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#197449): https://lists.openembedded.org/g/openembedded-core/message/197449 Mute This Topic: https://lists.openembedded.org/mt/105082439/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [OE-core] [PATCH] binutils: gprofng - change use of bignum to use of bignint
lgtm On Fri, Mar 22, 2024 at 3:09 AM Sadineni, Harish via lists.openembedded.org wrote: > > From: Harish Sadineni > > In SDK, The "x86_64-pokysdk-linux-gp-display-html" fails with below error > while genearting profiling html reports from test experiment file (eg., > test.1.er) > Error: Undefined subroutine ::hex called at > .../sysroots/x86_64-pokysdk-linux/usr/bin/x86_64-pokysdk-linux-gp-display-html > line 4059, line 1. > > Upstream-Status: Backport > [https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=3243d790ee32aa8eda69226d81b1e79dbd1dcd87] > > Signed-off-by: Harish Sadineni > --- > .../recipes-devtools/binutils/binutils-2.42.inc | 1 + > ...gprofng-change-use-of-bignum-to-bigint.patch | 17 + > 2 files changed, 18 insertions(+) > create mode 100644 > meta/recipes-devtools/binutils/binutils/0015-gprofng-change-use-of-bignum-to-bigint.patch > > diff --git a/meta/recipes-devtools/binutils/binutils-2.42.inc > b/meta/recipes-devtools/binutils/binutils-2.42.inc > index 5fcb4292b3..3b6f47d4ce 100644 > --- a/meta/recipes-devtools/binutils/binutils-2.42.inc > +++ b/meta/recipes-devtools/binutils/binutils-2.42.inc > @@ -35,5 +35,6 @@ SRC_URI = "\ > file://0012-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch \ > file://0013-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch \ > file://0014-Remove-duplicate-pe-dll.o-entry-deom-targ_extra_ofil.patch \ > + file://0015-gprofng-change-use-of-bignum-to-bigint.patch \ > " > S = "${WORKDIR}/git" > diff --git > a/meta/recipes-devtools/binutils/binutils/0015-gprofng-change-use-of-bignum-to-bigint.patch > > b/meta/recipes-devtools/binutils/binutils/0015-gprofng-change-use-of-bignum-to-bigint.patch > new file mode 100644 > index 00..0d3d289eba > --- /dev/null > +++ > b/meta/recipes-devtools/binutils/binutils/0015-gprofng-change-use-of-bignum-to-bigint.patch > @@ -0,0 +1,17 @@ > +Upstream-Status: Backport > [https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=3243d790ee32aa8eda69226d81b1e79dbd1dcd87] > + > +Signed-off-by: Harish Sadineni > + > +diff --git a/gprofng/gp-display-html/gp-display-html.in > b/gprofng/gp-display-html/gp-display-html.in > +index 6f37ca282e7..306c99a0ec3 100644 > +--- a/gprofng/gp-display-html/gp-display-html.in > b/gprofng/gp-display-html/gp-display-html.in > +@@ -25,7 +25,7 @@ use warnings; > + # Disable before release > + # use Perl::Critic; > + > +-use bignum; > ++use bigint; > + use List::Util qw (max); > + use Cwd qw (abs_path cwd); > + use File::Basename; > -- > 2.43.0 > > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#197448): https://lists.openembedded.org/g/openembedded-core/message/197448 Mute This Topic: https://lists.openembedded.org/mt/105091269/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[OE-core] [PATCH] classes/qemuboot: add depends on qemu-system-native and qemu-helper-native
From: Ross Burton Any image that inherits qemuboot must also add image dependencies on qemu-system-native and qemu-helper-native, otherwise the image won't be able to be booted. Currently this is done by conf/machine/include/qemu.inc, but not every machine that uses qemuboot includes that file. Move the EXTRA_IMAGEDEPENDS from qemu.inc into qemuboot.bbclass, so that the dependencies don't have to be duplicated. Signed-off-by: Ross Burton --- meta/classes-recipe/qemuboot.bbclass | 2 ++ meta/conf/machine/include/qemu.inc | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/classes-recipe/qemuboot.bbclass b/meta/classes-recipe/qemuboot.bbclass index 4a563b8cccd..895fd38d684 100644 --- a/meta/classes-recipe/qemuboot.bbclass +++ b/meta/classes-recipe/qemuboot.bbclass @@ -185,3 +185,5 @@ python do_write_qemuboot_conf() { os.remove(qemuboot_link) os.symlink(os.path.basename(qemuboot), qemuboot_link) } + +EXTRA_IMAGEDEPENDS += "qemu-system-native qemu-helper-native:do_addto_recipe_sysroot" diff --git a/meta/conf/machine/include/qemu.inc b/meta/conf/machine/include/qemu.inc index 14feb867906..bb7aec76750 100644 --- a/meta/conf/machine/include/qemu.inc +++ b/meta/conf/machine/include/qemu.inc @@ -23,8 +23,6 @@ RDEPENDS:${KERNEL_PACKAGE_NAME}-base = "" # Use a common kernel recipe for all QEMU machines PREFERRED_PROVIDER_virtual/kernel ??= "linux-yocto" -EXTRA_IMAGEDEPENDS += "qemu-system-native qemu-helper-native:do_addto_recipe_sysroot" - # Provide the nfs server kernel module for all qemu images KERNEL_FEATURES:append:pn-linux-yocto = " features/nfsd/nfsd-enable.scc" KERNEL_FEATURES:append:pn-linux-yocto-rt = " features/nfsd/nfsd-enable.scc" -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#197447): https://lists.openembedded.org/g/openembedded-core/message/197447 Mute This Topic: https://lists.openembedded.org/mt/105089248/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[OE-core][PATCH] sstatesig: Set hash server credentials from bitbake variables
Allows the hash server credentials to be specified in bitbake variables. If omitted, the users .netrc will be checked Signed-off-by: Joshua Watt --- meta/lib/oe/sstatesig.py | 11 +++ 1 file changed, 11 insertions(+) diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py index aa891ecf0a0..b867e2a0529 100644 --- a/meta/lib/oe/sstatesig.py +++ b/meta/lib/oe/sstatesig.py @@ -6,6 +6,7 @@ import bb.siggen import bb.runqueue import oe +import netrc def sstate_rundepfilter(siggen, fn, recipename, task, dep, depname, dataCaches): # Return True if we should keep the dependency, False to drop it @@ -327,6 +328,16 @@ class SignatureGeneratorOEEquivHash(SignatureGeneratorOEBasicHashMixIn, bb.sigge if not self.method: bb.fatal("OEEquivHash requires SSTATE_HASHEQUIV_METHOD to be set") self.max_parallel = int(data.getVar('BB_HASHSERVE_MAX_PARALLEL') or 1) +self.username = data.getVar("BB_HASHSERVE_USERNAME") +self.password = data.getVar("BB_HASHSERVE_PASSWORD") +if not self.username or not self.password: +try: +n = netrc.netrc() +auth = n.authenticators(self.server) +if auth is not None: +self.username, _, self.password = auth +except FileNotFoundError: +pass # Insert these classes into siggen's namespace so it can see and select them bb.siggen.SignatureGeneratorOEBasicHash = SignatureGeneratorOEBasicHash -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#197446): https://lists.openembedded.org/g/openembedded-core/message/197446 Mute This Topic: https://lists.openembedded.org/mt/105085341/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[OE-core] [PATCH] linux-yocto/6.6: cfg: genericarm64 platform/peripheral support
From: Bruce Ashfield Integrating the following commit(s) to linux-yocto/.: 1/12 [ Author: Ross Burton Email: ross.bur...@arm.com Subject: bsp/genericarm64: include .scc files instead of .cfg Date: Wed, 20 Mar 2024 19:42:09 + Some .cfg files were included accidentally, fix this. Signed-off-by: Ross Burton Signed-off-by: Bruce Ashfield ] 2/12 [ Author: Ross Burton Email: ross.bur...@arm.com Subject: bsp/genericarm64: move CONFIG_PHYLINK under the right comment Date: Wed, 20 Mar 2024 19:42:10 + A bug in my annotation script meant this item ended up in the wrong place. Signed-off-by: Ross Burton Signed-off-by: Bruce Ashfield ] 3/12 [ Author: Bill Mills Email: bill.mi...@linaro.org Subject: bsp/genericarm64: Automatically create /dev/i2c* devices Date: Wed, 20 Mar 2024 19:42:11 + With CONFIG_I2C_DEV=m you must modprobe that module in order to get the /dev nodes. It is a small module (~8.5K) so just include it in. Signed-off-by: Bill Mills Signed-off-by: Bruce Ashfield ] 4/12 [ Author: Ross Burton Email: ross.bur...@arm.com Subject: bsp/genericarm64: enable hugetlbfs Date: Wed, 20 Mar 2024 19:42:12 + Signed-off-by: Ross Burton Signed-off-by: Bruce Ashfield ] 5/12 [ Author: Ross Burton Email: ross.bur...@arm.com Subject: bsp/genericarm64: integrate the IMX clocks Date: Wed, 20 Mar 2024 19:42:13 + If these are kernel modules then there's a WARN_ON triggered when booted on IMX boards. Signed-off-by: Ross Burton Signed-off-by: Bruce Ashfield ] 6/12 [ Author: Ross Burton Email: ross.bur...@arm.com Subject: bsp/genericarm64: enable more SPI controllers Date: Wed, 20 Mar 2024 19:42:14 + Signed-off-by: Ross Burton Signed-off-by: Bruce Ashfield ] 7/12 [ Author: Ross Burton Email: ross.bur...@arm.com Subject: bsp/genericarm64: enable PHY subsystem Date: Wed, 20 Mar 2024 19:42:15 + Signed-off-by: Ross Burton Signed-off-by: Bruce Ashfield ] 8/12 [ Author: Ross Burton Email: ross.bur...@arm.com Subject: bsp/genericarm64: enable USB On-The-Go and Gadget Date: Wed, 20 Mar 2024 19:42:16 + Signed-off-by: Ross Burton Signed-off-by: Bruce Ashfield ] 9/12 [ Author: Ross Burton Email: ross.bur...@arm.com Subject: bsp/genericarm64: enable SATA Date: Wed, 20 Mar 2024 19:42:17 + SBCs don't tend to use SATA, but larger platforms will. Signed-off-by: Ross Burton Signed-off-by: Bruce Ashfield ] 10/12 [ Author: Ross Burton Email: ross.bur...@arm.com Subject: bsp/genericarm64: support some i.MX8 boards Date: Wed, 20 Mar 2024 19:42:18 + Add more hardware enabling so that NXP i.MX8M boards boot successfully. Thanks to anton.anto...@arm.com for the options and testing. Signed-off-by: Ross Burton Signed-off-by: Bruce Ashfield ] 11/12 [ Author: Ross Burton Email: ross.bur...@arm.com Subject: bsp/genericarm64: enable networking on Kontron KBox Date: Wed, 20 Mar 2024 19:42:19 + Thanks to anton.anto...@arm.com. Signed-off-by: Ross Burton Signed-off-by: Bruce Ashfield ] 12/12 [ Author: Ross Burton Email: ross.bur...@arm.com Subject: bsp/genericarm64: enable Marvell ThunderX2 support Date: Wed, 20 Mar 2024 19:42:20 + Add the required options so that this BSP works on the Marvell ThunderX2. Thanks to anton.anto...@arm.com for the config and testing. Signed-off-by: Ross Burton Signed-off-by: Bruce Ashfield ] Signed-off-by: Bruce Ashfield --- meta/recipes-kernel/linux/linux-yocto-rt_6.6.bb | 2 +- meta/recipes-kernel/linux/linux-yocto-tiny_6.6.bb | 2 +- meta/recipes-kernel/linux/linux-yocto_6.6.bb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_6.6.bb b/meta/recipes-kernel/linux/linux-yocto-rt_6.6.bb index acafe60e46..eb5e1da33c 100644 --- a/meta/recipes-kernel/linux/linux-yocto-rt_6.6.bb +++ b/meta/recipes-kernel/linux/linux-yocto-rt_6.6.bb @@ -15,7 +15,7 @@ python () { } SRCREV_machine ?= "1c3234ba160c59eb50739f23591a87daf09fac35" -SRCREV_meta ?= "6a24861d6504575a4a9f92366285332d47c7e111" +SRCREV_meta ?= "a1711f65dcd5f88160d30447dcab3b88a1562690" SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine;protocol=https \ git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-6.6;destsuffix=${KMETA};protocol=https" diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_6.6.bb b/meta/recipes-kernel/linux/linux-yocto-tiny_6.6.bb index 4a87482f20..7d6197db5e 100644 --- a/meta/recipes-kernel/linux/linux-yocto-tiny_6.6.bb +++ b/meta/recipes-kernel/linux/linux-yocto-tiny_6.6.bb @@ -18,7 +18,7 @@ KMETA = "kernel-meta" KCONF_BSP_AUDIT_LEVEL = "2" SRCREV_machine ?=
[OE-core][dunfell][PATCH] libtiff: backport Debian patch for CVE-2023-6277 & CVE-2023-52356
From: Vijay Anusuri import patches from ubuntu to fix CVE-2023-6277 CVE-2023-52356 Upstream-Status: Backport [import from ubuntu https://git.launchpad.net/ubuntu/+source/tiff/tree/debian/patches/?h=ubuntu%2Ffocal-security Upstream commit https://gitlab.com/libtiff/libtiff/-/commit/5320c9d89c054fa805d037d84c57da874470b01a & https://gitlab.com/libtiff/libtiff/-/commit/0b025324711213a75e38b52f7e7ba60235f108aa & https://gitlab.com/libtiff/libtiff/-/commit/de7bfd7d4377c266f81849579f696fa1ad5ba6c3 & https://gitlab.com/libtiff/libtiff/-/commit/dbb825a8312f30e63a06c272010967d51af5c35a & https://gitlab.com/libtiff/libtiff/-/commit/51558511bdbbcffdce534db21dbaf5d54b31638a] Signed-off-by: Vijay Anusuri --- .../libtiff/files/CVE-2023-52356.patch| 53 + .../libtiff/files/CVE-2023-6277-1.patch | 191 ++ .../libtiff/files/CVE-2023-6277-2.patch | 152 ++ .../libtiff/files/CVE-2023-6277-3.patch | 46 + .../libtiff/files/CVE-2023-6277-4.patch | 94 + meta/recipes-multimedia/libtiff/tiff_4.1.0.bb | 5 + 6 files changed, 541 insertions(+) create mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2023-52356.patch create mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2023-6277-1.patch create mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2023-6277-2.patch create mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2023-6277-3.patch create mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2023-6277-4.patch diff --git a/meta/recipes-multimedia/libtiff/files/CVE-2023-52356.patch b/meta/recipes-multimedia/libtiff/files/CVE-2023-52356.patch new file mode 100644 index 00..1b651e6529 --- /dev/null +++ b/meta/recipes-multimedia/libtiff/files/CVE-2023-52356.patch @@ -0,0 +1,53 @@ +[Ubuntu note: Backport of the following patch from upstream, with a few changes +to match the current version of the file in the present Ubuntu release: + . using TIFFErrorExt instead of TIFFErrorExtR (the latter did not exist yet); +-- Rodrigo Figueiredo Zaiden] + +Backport of: + +From 51558511bdbbcffdce534db21dbaf5d54b31638a Mon Sep 17 00:00:00 2001 +From: Even Rouault +Date: Tue, 31 Oct 2023 15:58:41 +0100 +Subject: [PATCH] TIFFReadRGBAStrip/TIFFReadRGBATile: add more validation of + col/row (fixes #622) + +Upstream-Status: Backport [import from ubuntu https://git.launchpad.net/ubuntu/+source/tiff/tree/debian/patches/CVE-2023-52356.patch?h=ubuntu/focal-security +Upstream commit https://gitlab.com/libtiff/libtiff/-/commit/51558511bdbbcffdce534db21dbaf5d54b31638a] +CVE: CVE-2023-52356 +Signed-off-by: Vijay Anusuri +--- + libtiff/tif_getimage.c | 15 +++ + 1 file changed, 15 insertions(+) + + +--- tiff-4.1.0+git191117.orig/libtiff/tif_getimage.c tiff-4.1.0+git191117/libtiff/tif_getimage.c +@@ -2926,6 +2926,13 @@ TIFFReadRGBAStripExt(TIFF* tif, uint32 r + } + + if (TIFFRGBAImageOK(tif, emsg) && TIFFRGBAImageBegin(, tif, stop_on_error, emsg)) { ++if (row >= img.height) ++{ ++TIFFErrorExt(tif->tif_clientdata, TIFFFileName(tif), ++ "Invalid row passed to TIFFReadRGBAStrip()."); ++TIFFRGBAImageEnd(); ++return (0); ++} + + img.row_offset = row; + img.col_offset = 0; +@@ -3002,6 +3009,14 @@ TIFFReadRGBATileExt(TIFF* tif, uint32 co + return( 0 ); + } + ++if (col >= img.width || row >= img.height) ++{ ++TIFFErrorExt(tif->tif_clientdata, TIFFFileName(tif), ++ "Invalid row/col passed to TIFFReadRGBATile()."); ++TIFFRGBAImageEnd(); ++return (0); ++} ++ + /* + * The TIFFRGBAImageGet() function doesn't allow us to get off the + * edge of the image, even to fill an otherwise valid tile. So we diff --git a/meta/recipes-multimedia/libtiff/files/CVE-2023-6277-1.patch b/meta/recipes-multimedia/libtiff/files/CVE-2023-6277-1.patch new file mode 100644 index 00..e955b3f2e4 --- /dev/null +++ b/meta/recipes-multimedia/libtiff/files/CVE-2023-6277-1.patch @@ -0,0 +1,191 @@ +[Ubuntu note: Backport of the following patch from upstream, with a few changes +to match the current version of the file in the present Ubuntu release: + . included inttypes.h header to support PRIu32 and PRIu64; + . using TIFFWarningExt instead of TIFFWarningExtR (the latter did not exist yet); + . using uint64 instead of uint64_t to preserve the current code usage; + . calling _TIFFfree(data) instead of _TIFFfreeExt(tif, data) (the latter did not exist yet); + . calls to the check size, that is the idea of the patch, were added before + _TIFFCheckMalloc and may note match the original patch methods; +-- Rodrigo Figueiredo Zaiden] + +Backport of: + +From 5320c9d89c054fa805d037d84c57da874470b01a Mon Sep 17 00:00:00 2001 +From: Su Laus +Date: Tue, 31 Oct 2023 15:43:29 + +Subject: [PATCH] Prevent some out-of-memory attacks + +Some small fuzzer files fake
[OE-core][PATCH] shadow: don't install libattr.so.* when xattr not in DISTRO_FEATURES
From: Sam Van Den Berge Fixes the following issue: install: cannot stat '.../recipe-sysroot-native/usr/lib/libattr.so.*': No such file or directory ... ERROR: Task (virtual:native:.../shadow_4.14.2.bb:do_install) failed with exit code '1' Signed-off-by: Sam Van Den Berge --- meta/recipes-extended/shadow/shadow.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-extended/shadow/shadow.inc b/meta/recipes-extended/shadow/shadow.inc index a164b8347f..40e6ab0b30 100644 --- a/meta/recipes-extended/shadow/shadow.inc +++ b/meta/recipes-extended/shadow/shadow.inc @@ -160,7 +160,8 @@ do_install:append:class-native() { binaries=$(find ${D}${base_bindir}/ ${D}${base_sbindir}/ ${D}${bindir}/ ${D}${sbindir}/ -executable -type f) chrpath -k -r ${STAGING_DIR_NATIVE}/lib-shadow-deps $binaries mkdir -p ${D}${STAGING_DIR_NATIVE}/lib-shadow-deps/ -install ${STAGING_LIBDIR_NATIVE}/libattr.so.* ${STAGING_LIBDIR_NATIVE}/libbsd.so.* ${STAGING_LIBDIR_NATIVE}/libmd.so.* ${D}${STAGING_DIR_NATIVE}/lib-shadow-deps/ +libattr=${@bb.utils.contains('DISTRO_FEATURES', 'xattr', "${STAGING_LIBDIR_NATIVE}/libattr.so.*", '', d)} +install $libattr ${STAGING_LIBDIR_NATIVE}/libbsd.so.* ${STAGING_LIBDIR_NATIVE}/libmd.so.* ${D}${STAGING_DIR_NATIVE}/lib-shadow-deps/ install ${D}${libdir}/*.so.* ${D}${STAGING_DIR_NATIVE}/lib-shadow-deps/ } -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#197443): https://lists.openembedded.org/g/openembedded-core/message/197443 Mute This Topic: https://lists.openembedded.org/mt/105082988/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [OE-core] [PATCH] u-boot: fix externalsrc not triggering do_configure on defconfig changes
Adding Steve as Cc since he's maintaining the stable branches. I've tested this on Kirkstone as well (in downstream u-boot recipes including u-boot-configure.inc and have that new line themselves), so if this gets merged into master, I suggest we backport it to stable branches too? Cheers, Quentin On 3/21/24 18:17, Quentin Schulz wrote: From: Quentin Schulz externalsrc only monitors files listed in CONFIGURE_FILES environment variable to know if it should trigger a rebuild of do_configure. By default it is unset, but the defconfig from U-Boot should be listed otherwise an old defconfig may be used even though the change is technically detected by the do_compile logic later in the process. Because U-Boot recipe uses `make oldconfig` when no defconfig is passed, monitor .config for that special case. This fixes U-Boot recipes not detecting defconfig changes when devtool'ed. Reported-by: Iskander Amara Cc: Quentin Schulz Signed-off-by: Quentin Schulz --- Tested by running: MACHINE=qemuarm devtool modify u-boot MACHINE=qemuarm devtool build u-boot [modify configs/qemu_arm_defconfig] MACHINE=qemuarm devtool build u-boot MACHINE=qemuarm bitbake-diffsigs -t u-boot compile [Checksum for file oe-devtool-tree-sha1-u-boot changed] Apply the patch, then run: MACHINE=qemuarm devtool build u-boot [modify configs/qemu_arm_defconfig] MACHINE=qemuarm devtool build u-boot MACHINE=qemuarm bitbake-diffsigs -t u-boot compile [Hash for task dependency u-boot:do_configure changed Checksum for file qemu_arm_defconfig changed] --- meta/recipes-bsp/u-boot/u-boot-configure.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-bsp/u-boot/u-boot-configure.inc b/meta/recipes-bsp/u-boot/u-boot-configure.inc index 235623d25a..378d675364 100644 --- a/meta/recipes-bsp/u-boot/u-boot-configure.inc +++ b/meta/recipes-bsp/u-boot/u-boot-configure.inc @@ -8,6 +8,8 @@ inherit uboot-config cml1 DEPENDS += "kern-tools-native" +CONFIGURE_FILES = "${@d.getVar('UBOOT_MACHINE') or '.config'}" + do_configure () { if [ -n "${UBOOT_CONFIG}" ]; then unset i j --- base-commit: 94f99434eff15a92cfdc2dce423d32a1b74aab39 change-id: 20240321-u-boot-defconfig-devtool-905683a1bedc Best regards, -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#197442): https://lists.openembedded.org/g/openembedded-core/message/197442 Mute This Topic: https://lists.openembedded.org/mt/105069918/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[OE-core] [PATCH 3/3] binutils: gprofng - change use of bignum to use of bignint
From: Harish Sadineni In SDK, The "x86_64-pokysdk-linux-gp-display-html" fails with below error while genearting profiling html reports from test experiment file (eg., test.1.er) Error: Undefined subroutine ::hex called at .../sysroots/x86_64-pokysdk-linux/usr/bin/x86_64-pokysdk-linux-gp-display-html line 4059, line 1. Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=3243d790ee32aa8eda69226d81b1e79dbd1dcd87] Signed-off-by: Harish Sadineni --- .../recipes-devtools/binutils/binutils-2.42.inc | 1 + ...gprofng-change-use-of-bignum-to-bigint.patch | 17 + 2 files changed, 18 insertions(+) create mode 100644 meta/recipes-devtools/binutils/binutils/0015-gprofng-change-use-of-bignum-to-bigint.patch diff --git a/meta/recipes-devtools/binutils/binutils-2.42.inc b/meta/recipes-devtools/binutils/binutils-2.42.inc index 5fcb4292b3..3b6f47d4ce 100644 --- a/meta/recipes-devtools/binutils/binutils-2.42.inc +++ b/meta/recipes-devtools/binutils/binutils-2.42.inc @@ -35,5 +35,6 @@ SRC_URI = "\ file://0012-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch \ file://0013-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch \ file://0014-Remove-duplicate-pe-dll.o-entry-deom-targ_extra_ofil.patch \ + file://0015-gprofng-change-use-of-bignum-to-bigint.patch \ " S = "${WORKDIR}/git" diff --git a/meta/recipes-devtools/binutils/binutils/0015-gprofng-change-use-of-bignum-to-bigint.patch b/meta/recipes-devtools/binutils/binutils/0015-gprofng-change-use-of-bignum-to-bigint.patch new file mode 100644 index 00..0d3d289eba --- /dev/null +++ b/meta/recipes-devtools/binutils/binutils/0015-gprofng-change-use-of-bignum-to-bigint.patch @@ -0,0 +1,17 @@ +Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=3243d790ee32aa8eda69226d81b1e79dbd1dcd87] + +Signed-off-by: Harish Sadineni + +diff --git a/gprofng/gp-display-html/gp-display-html.in b/gprofng/gp-display-html/gp-display-html.in +index 6f37ca282e7..306c99a0ec3 100644 +--- a/gprofng/gp-display-html/gp-display-html.in b/gprofng/gp-display-html/gp-display-html.in +@@ -25,7 +25,7 @@ use warnings; + # Disable before release + # use Perl::Critic; + +-use bignum; ++use bigint; + use List::Util qw (max); + use Cwd qw (abs_path cwd); + use File::Basename; -- 2.43.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#197441): https://lists.openembedded.org/g/openembedded-core/message/197441 Mute This Topic: https://lists.openembedded.org/mt/105082441/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[OE-core] [PATCH 2/3] autoconf: Add missing perl modules to RDEPENDS
From: Harish Sadineni In SDK, missing perl modules causes 'x86_64-wrlinuxsdk-linux-gp-display-html --help' to abort with below errors.. - Can't locate bignum.pm in @INC (you may need to install the feature module). - Can't locate Math/BigInt.pm in @INC (you may need to install the Math::BigInt module) Signed-off-by: Harish Sadineni --- meta/recipes-devtools/autoconf/autoconf_2.72e.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-devtools/autoconf/autoconf_2.72e.bb b/meta/recipes-devtools/autoconf/autoconf_2.72e.bb index db374373cf..2a459b7cb6 100644 --- a/meta/recipes-devtools/autoconf/autoconf_2.72e.bb +++ b/meta/recipes-devtools/autoconf/autoconf_2.72e.bb @@ -52,6 +52,9 @@ RDEPENDS:${PN} = "m4 gnu-config \ perl-module-thread-queue \ perl-module-threads \ perl-module-feature \ + perl-module-bignum \ + perl-module-bigint \ + perl-module-math-bigint \ " RDEPENDS:${PN}:class-native = "m4-native gnu-config-native hostperl-runtime-native" -- 2.43.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#197440): https://lists.openembedded.org/g/openembedded-core/message/197440 Mute This Topic: https://lists.openembedded.org/mt/105082440/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[OE-core] [PATCH 1/3] nativesdk-packagegroup-sdk-host: add gprofng package to RDEPENDS
From: Harish Sadineni In SDK, while running "x86_64-poky-linux-gp-collect-app ./exe" fails to create 'test.1.er' due to missing gprofng configure file in sysconfdir and aborting with below error while generating the profiling data. - configuration error: can not find libgp-collector.so. run aborted Signed-off-by: Harish Sadineni --- .../packagegroups/nativesdk-packagegroup-sdk-host.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb index c1d3c25060..5374067bab 100644 --- a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb +++ b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb @@ -30,6 +30,7 @@ RDEPENDS:${PN} = "\ nativesdk-bison \ nativesdk-flex \ nativesdk-perl-module-integer \ +nativesdk-gprofng \ " RDEPENDS:${PN}:darwin = "\ -- 2.43.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#197439): https://lists.openembedded.org/g/openembedded-core/message/197439 Mute This Topic: https://lists.openembedded.org/mt/105082439/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[OE-core] [PATCH] binutils: gprofng - change use of bignum to use of bignint
From: Harish Sadineni In SDK, The "x86_64-pokysdk-linux-gp-display-html" fails with below error while genearting profiling html reports from test experiment file (eg., test.1.er) Error: Undefined subroutine ::hex called at .../sysroots/x86_64-pokysdk-linux/usr/bin/x86_64-pokysdk-linux-gp-display-html line 4059, line 1. Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=3243d790ee32aa8eda69226d81b1e79dbd1dcd87] Signed-off-by: Harish Sadineni --- .../recipes-devtools/binutils/binutils-2.42.inc | 1 + ...gprofng-change-use-of-bignum-to-bigint.patch | 17 + 2 files changed, 18 insertions(+) create mode 100644 meta/recipes-devtools/binutils/binutils/0015-gprofng-change-use-of-bignum-to-bigint.patch diff --git a/meta/recipes-devtools/binutils/binutils-2.42.inc b/meta/recipes-devtools/binutils/binutils-2.42.inc index 5fcb4292b3..3b6f47d4ce 100644 --- a/meta/recipes-devtools/binutils/binutils-2.42.inc +++ b/meta/recipes-devtools/binutils/binutils-2.42.inc @@ -35,5 +35,6 @@ SRC_URI = "\ file://0012-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch \ file://0013-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch \ file://0014-Remove-duplicate-pe-dll.o-entry-deom-targ_extra_ofil.patch \ + file://0015-gprofng-change-use-of-bignum-to-bigint.patch \ " S = "${WORKDIR}/git" diff --git a/meta/recipes-devtools/binutils/binutils/0015-gprofng-change-use-of-bignum-to-bigint.patch b/meta/recipes-devtools/binutils/binutils/0015-gprofng-change-use-of-bignum-to-bigint.patch new file mode 100644 index 00..0d3d289eba --- /dev/null +++ b/meta/recipes-devtools/binutils/binutils/0015-gprofng-change-use-of-bignum-to-bigint.patch @@ -0,0 +1,17 @@ +Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=3243d790ee32aa8eda69226d81b1e79dbd1dcd87] + +Signed-off-by: Harish Sadineni + +diff --git a/gprofng/gp-display-html/gp-display-html.in b/gprofng/gp-display-html/gp-display-html.in +index 6f37ca282e7..306c99a0ec3 100644 +--- a/gprofng/gp-display-html/gp-display-html.in b/gprofng/gp-display-html/gp-display-html.in +@@ -25,7 +25,7 @@ use warnings; + # Disable before release + # use Perl::Critic; + +-use bignum; ++use bigint; + use List::Util qw (max); + use Cwd qw (abs_path cwd); + use File::Basename; -- 2.43.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#197438): https://lists.openembedded.org/g/openembedded-core/message/197438 Mute This Topic: https://lists.openembedded.org/mt/105082419/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[OE-core] [PATCH v2] gcc: Oe-selftest failure analysis - fix for vect-simd test failures
From: Harish Sadineni In gcc vect module, the vect-simd-clone-10.c & vect-simd-clone-12.c tests are failed with below error, due to a bug in testcase: xgcc: fatal error: cannot specify '-o' with '-c', '-S' or '-E' with multiple files compilation terminated' Detailed bug info & upstream fix is here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113899 Upstream Status: Backport [https://gcc.gnu.org/g:948dbc5ee45f9ffd5f41fd6782704081cc7c8c27] Signed-off-by: Harish Sadineni --- meta/recipes-devtools/gcc/gcc-13.2.inc| 1 + .../0027-Fix-gcc-vect-module-testcases.patch | 26 +++ 2 files changed, 27 insertions(+) create mode 100644 meta/recipes-devtools/gcc/gcc/0027-Fix-gcc-vect-module-testcases.patch diff --git a/meta/recipes-devtools/gcc/gcc-13.2.inc b/meta/recipes-devtools/gcc/gcc-13.2.inc index 32fddd11c2..603377a49a 100644 --- a/meta/recipes-devtools/gcc/gcc-13.2.inc +++ b/meta/recipes-devtools/gcc/gcc-13.2.inc @@ -67,6 +67,7 @@ SRC_URI = "${BASEURI} \ file://0025-gcc-testsuite-tweaks-for-mips-OE.patch \ file://CVE-2023-4039.patch \ file://0026-aarch64-Fix-loose-ldpstp-check-PR111411.patch \ + file://0027-Fix-gcc-vect-module-testcases.patch \ " SRC_URI[sha256sum] = "e275e76442a6067341a27f04c5c6b83d8613144004c0413528863dc6b5c743da" diff --git a/meta/recipes-devtools/gcc/gcc/0027-Fix-gcc-vect-module-testcases.patch b/meta/recipes-devtools/gcc/gcc/0027-Fix-gcc-vect-module-testcases.patch new file mode 100644 index 00..4b89036814 --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc/0027-Fix-gcc-vect-module-testcases.patch @@ -0,0 +1,26 @@ +Upstream-Status: Backport [https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=948dbc5ee45f9ffd5f41fd6782704081cc7c8c27] + +Signed-off-by: Harish Sadineni + +diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-10.c b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-10.c +index ed63ff59cc0..009c849b7e7 100644 +--- a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-10.c b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-10.c +@@ -1,3 +1,5 @@ ++/* Since this uses dg-additional-sources, need to specify `dg-do run` instead of the default. */ ++/* { dg-do run } */ + /* { dg-require-effective-target vect_simd_clones } */ + /* { dg-additional-options "-fopenmp-simd" } */ + /* { dg-additional-options "-mavx" { target avx_runtime } } */ +diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-12.c b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-12.c +index c44471e35bc..4699a3f3c80 100644 +--- a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-12.c b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-12.c +@@ -1,3 +1,5 @@ ++/* Since this uses dg-additional-sources, need to specify `dg-do run` instead of the default. */ ++/* { dg-do run } */ + /* { dg-require-effective-target vect_simd_clones } */ + /* { dg-additional-options "-fopenmp-simd" } */ + /* { dg-additional-options "-mavx" { target avx_runtime } } */ +-- +2.43.0 -- 2.43.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#197437): https://lists.openembedded.org/g/openembedded-core/message/197437 Mute This Topic: https://lists.openembedded.org/mt/105080722/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[OE-core] Patchtest results for [PATCH] gcc: Oe-selftest failure analysis - fix for vect-simd test failures
Thank you for your submission. Patchtest identified one or more issues with the patch. Please see the log below for more information: --- Testing patch /home/patchtest/share/mboxes/gcc-Oe-selftest-failure-analysis---fix-for-vect-simd-test-failures.patch FAIL: test Signed-off-by presence: A patch file has been added without a Signed-off-by tag: '0027-Fix-gcc-vect-module-testcases.patch' (test_patch.TestPatch.test_signed_off_by_presence) PASS: test CVE tag format (test_patch.TestPatch.test_cve_tag_format) PASS: test Signed-off-by presence (test_mbox.TestMbox.test_signed_off_by_presence) PASS: test Upstream-Status presence (test_patch.TestPatch.test_upstream_status_presence_format) PASS: test author valid (test_mbox.TestMbox.test_author_valid) PASS: test commit message presence (test_mbox.TestMbox.test_commit_message_presence) PASS: test max line length (test_metadata.TestMetadata.test_max_line_length) PASS: test mbox format (test_mbox.TestMbox.test_mbox_format) PASS: test non-AUH upgrade (test_mbox.TestMbox.test_non_auh_upgrade) PASS: test shortlog format (test_mbox.TestMbox.test_shortlog_format) PASS: test shortlog length (test_mbox.TestMbox.test_shortlog_length) SKIP: pretest pylint: No python related patches, skipping test (test_python_pylint.PyLint.pretest_pylint) SKIP: pretest src uri left files: No modified recipes, skipping pretest (test_metadata.TestMetadata.pretest_src_uri_left_files) SKIP: test CVE check ignore: No modified recipes or older target branch, skipping test (test_metadata.TestMetadata.test_cve_check_ignore) SKIP: test bugzilla entry format: No bug ID found (test_mbox.TestMbox.test_bugzilla_entry_format) SKIP: test lic files chksum modified not mentioned: No modified recipes, skipping test (test_metadata.TestMetadata.test_lic_files_chksum_modified_not_mentioned) SKIP: test lic files chksum presence: No added recipes, skipping test (test_metadata.TestMetadata.test_lic_files_chksum_presence) SKIP: test license presence: No added recipes, skipping test (test_metadata.TestMetadata.test_license_presence) SKIP: test pylint: No python related patches, skipping test (test_python_pylint.PyLint.test_pylint) SKIP: test series merge on head: Merge test is disabled for now (test_mbox.TestMbox.test_series_merge_on_head) SKIP: test src uri left files: No modified recipes, skipping pretest (test_metadata.TestMetadata.test_src_uri_left_files) SKIP: test summary presence: No added recipes, skipping test (test_metadata.TestMetadata.test_summary_presence) SKIP: test target mailing list: Series merged, no reason to check other mailing lists (test_mbox.TestMbox.test_target_mailing_list) --- Please address the issues identified and submit a new revision of the patch, or alternatively, reply to this email with an explanation of why the patch should be accepted. If you believe these results are due to an error in patchtest, please submit a bug at https://bugzilla.yoctoproject.org/ (use the 'Patchtest' category under 'Yocto Project Subprojects'). For more information on specific failures, see: https://wiki.yoctoproject.org/wiki/Patchtest. Thank you! -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#197436): https://lists.openembedded.org/g/openembedded-core/message/197436 Mute This Topic: https://lists.openembedded.org/mt/105080559/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[OE-core] [PATCH] gcc: Oe-selftest failure analysis - fix for vect-simd test failures
From: Harish Sadineni In gcc vect module, the vect-simd-clone-10.c & vect-simd-clone-12.c tests are failed with below error, due to a bug in testcase: xgcc: fatal error: cannot specify '-o' with '-c', '-S' or '-E' with multiple files compilation terminated' Detailed bug info & upstream fix is here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113899 Upstream Status: Backport [https://gcc.gnu.org/g:948dbc5ee45f9ffd5f41fd6782704081cc7c8c27] Signed-off-by: Harish Sadineni --- meta/recipes-devtools/gcc/gcc-13.2.inc| 1 + .../0027-Fix-gcc-vect-module-testcases.patch | 23 +++ 2 files changed, 24 insertions(+) create mode 100644 meta/recipes-devtools/gcc/gcc/0027-Fix-gcc-vect-module-testcases.patch diff --git a/meta/recipes-devtools/gcc/gcc-13.2.inc b/meta/recipes-devtools/gcc/gcc-13.2.inc index 32fddd11c2..603377a49a 100644 --- a/meta/recipes-devtools/gcc/gcc-13.2.inc +++ b/meta/recipes-devtools/gcc/gcc-13.2.inc @@ -67,6 +67,7 @@ SRC_URI = "${BASEURI} \ file://0025-gcc-testsuite-tweaks-for-mips-OE.patch \ file://CVE-2023-4039.patch \ file://0026-aarch64-Fix-loose-ldpstp-check-PR111411.patch \ + file://0027-Fix-gcc-vect-module-testcases.patch \ " SRC_URI[sha256sum] = "e275e76442a6067341a27f04c5c6b83d8613144004c0413528863dc6b5c743da" diff --git a/meta/recipes-devtools/gcc/gcc/0027-Fix-gcc-vect-module-testcases.patch b/meta/recipes-devtools/gcc/gcc/0027-Fix-gcc-vect-module-testcases.patch new file mode 100644 index 00..d81ba40a8d --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc/0027-Fix-gcc-vect-module-testcases.patch @@ -0,0 +1,23 @@ +Upstream-Status: Backport [https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=948dbc5ee45f9ffd5f41fd6782704081cc7c8c27] +diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-10.c b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-10.c +index ed63ff59cc0..009c849b7e7 100644 +--- a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-10.c b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-10.c +@@ -1,3 +1,5 @@ ++/* Since this uses dg-additional-sources, need to specify `dg-do run` instead of the default. */ ++/* { dg-do run } */ + /* { dg-require-effective-target vect_simd_clones } */ + /* { dg-additional-options "-fopenmp-simd" } */ + /* { dg-additional-options "-mavx" { target avx_runtime } } */ +diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-12.c b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-12.c +index c44471e35bc..4699a3f3c80 100644 +--- a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-12.c b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-12.c +@@ -1,3 +1,5 @@ ++/* Since this uses dg-additional-sources, need to specify `dg-do run` instead of the default. */ ++/* { dg-do run } */ + /* { dg-require-effective-target vect_simd_clones } */ + /* { dg-additional-options "-fopenmp-simd" } */ + /* { dg-additional-options "-mavx" { target avx_runtime } } */ +-- +2.43.0 -- 2.43.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#197435): https://lists.openembedded.org/g/openembedded-core/message/197435 Mute This Topic: https://lists.openembedded.org/mt/105080483/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-