1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 05:09:24 +00:00
Commit Graph

76436 Commits

Author SHA1 Message Date
Hiago De Franco 0b1edfb884 libdisplay-info: add recipe
libdisplay-info is a EDID and DisplayID library. Goals:

- Provide a set of high-level, easy-to-use, opinionated functions as
  well as low-level functions to access detailed information.
- Simplicity and correctness over performance and resource usage.
- Well-tested and fuzzed.

Since commit a16598b038b2 ("backend-drm: make libdisplay-info
mandatory") from Weston, this library is now mandatory in order to
build weston 14.0.1 and newer.

(From OE-Core rev: aa3fe5a5c00085f5455a66c1033f4124e76239ec)

Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 16:44:47 +00:00
Hiago De Franco 84a297d823 hwdata: add recipe from meta-openembedded
Move hwdata recipe from meta-openembedded to openembedded-core.

libdisplay-info is now a requirement for Weston, since commit
a16598b038b2 ("backend-drm: make libdisplay-info mandatory"). However,
in order to build libdisplay-info, hwdata is required. Since Weston is
built inside openembedded-core, move hwdata in order to be able to
upgrade Weston, so oe-core has no dependency on meta-oe.

hwdata contains various hardware identification and configuration data.

(From OE-Core rev: 3e5d5ba74beace1669ff04a7b0334aaa2693bdb6)

Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 16:44:47 +00:00
Ross Burton 07b382255f libnsl2: embed version in filename
This recipe fetches a tagged commit, so embed the PV in the filename.

(From OE-Core rev: dddf0d4d5a702f07162852dd06b03582496a8736)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 16:44:47 +00:00
Ross Burton e75e8d28f3 libnsl2: set CVE_PRODUCT
Our libnsl2 recipe is just libnsl version 2.x, so set the CVE vendor and
product pair appropriately as per:

https://www.cvedetails.com/version/1177013/Libnsl-Project-Libnsl-2.0.0.html

(From OE-Core rev: d0e77d3f9217b96f1c77ba65fc9b8420f413c401)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 16:44:47 +00:00
Alexander Kanavin f6046d6465 liburi-perl: move to meta-perl
liburi-perl was added in 2010 to support lsb testing, never had
any other consumers in core, and since 2019 lsb testing is gone as well:
https://git.yoctoproject.org/poky/commit/?h=master-next&id=bac4bc9aa6a1f2fcf2ce9644925615185cc8e847

(From OE-Core rev: 945e77e789c93ed889ceca75d61ab7cfd39fb1b8)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 14:58:48 +00:00
Alexander Kanavin 8564b34a6a libxml-parser-perl: correct SRC_URI
(From OE-Core rev: b3e44bbf9972968076f06ecac027bd7a2f3fe781)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 14:58:48 +00:00
Alexander Kanavin 4851fc4a01 enchant2: correct SRC_URI and other uris
https://github.com/AbiWord/enchant confirms
the correct locations.

(From OE-Core rev: 7733aae9c4d3fbaa7d4a3c69dcea3da8e54771e3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 14:58:48 +00:00
Alexander Kanavin 33a0357462 wget: upgrade 1.24.5 -> 1.25.0
(From OE-Core rev: c66e1578278d4d0ba2a145f23887dba311fa0753)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 14:58:48 +00:00
Alexander Kanavin 7cf8869051 vulkan: upgrade 1.3.290.0 -> 1.3.296.0
(From OE-Core rev: 5e00171e154d0c5e096efc594008e09228b25cfa)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 14:58:48 +00:00
Alexander Kanavin 9b497d8bba util-macros: upgrade 1.20.1 -> 1.20.2
(From OE-Core rev: c979ba5a3bba915dd99339c7d19e74b51af07b0d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 14:58:48 +00:00
Alexander Kanavin 60f6f90443 sudo: upgrade 1.9.15p5 -> 1.9.16p1
License-Update: copyright years

(From OE-Core rev: 5d4ff3b14771bbb2a7653c92b80806bc9aa3fa64)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 14:58:48 +00:00
Alexander Kanavin 1de56ab333 qemu: upgrade 9.1.0 -> 9.1.1
(From OE-Core rev: c5d6a15dc75eb6ab16c9b0c953e7f433b42a0e99)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 14:58:48 +00:00
Alexander Kanavin 06a153e4e3 python3-zipp: upgrade 3.20.2 -> 3.21.0
(From OE-Core rev: 5543d9be61a4529da96a889e3319cbbf9cfb12ef)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 14:58:48 +00:00
Alexander Kanavin fbc19d62f1 python3-xmltodict: upgrade 0.13.0 -> 0.14.2
(From OE-Core rev: d1ea614da5016501c514d1a92581659507b5370b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 14:58:48 +00:00
Alexander Kanavin 2ca96061c2 python3-sphinx-rtd-theme: upgrade 3.0.0 -> 3.0.2
(From OE-Core rev: 6a9a99192205937d2e3845514aed3f924dc5ce12)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 14:58:48 +00:00
Alexander Kanavin 15e3646887 python3-psutil: upgrade 6.0.0 -> 6.1.0
(From OE-Core rev: 6e5bcb05f3a1d5a34bcb2bc8da4a8d3e9b160ca0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 14:58:48 +00:00
Alexander Kanavin 25c94a0b48 python3-poetry-core: upgrade 1.9.0 -> 1.9.1
(From OE-Core rev: 7b95e9618ca921116a115b952d3222e5de6faf97)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 14:58:48 +00:00
Alexander Kanavin d6ad05173c python3-jsonschema-specifications: upgrade 2023.12.1 -> 2024.10.1
(From OE-Core rev: a4c4d70a406c7cbfc86d6cf2844f23c9e8569c73)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 14:58:48 +00:00
Alexander Kanavin 5834db777f python3-dtschema: upgrade 2024.9 -> 2024.11
(From OE-Core rev: f65a2a2fc8cf84086328d5609758b2b1bda6af4f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 14:58:48 +00:00
Alexander Kanavin e7c6cf30de python3-cryptography(-vectors): upgrade 43.0.1 -> 43.0.3, ensure lockstep upgrades
(From OE-Core rev: 7a39814530cc0d6bfdd90382ad918c24aa345a0a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 14:58:48 +00:00
Alexander Kanavin b29198442c puzzles: upgrade to latest revision
(From OE-Core rev: 113390e45fb412f2e29afe59a498638747cbe009)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 14:58:48 +00:00
Alexander Kanavin a058f5687f piglit: upgrade to latest revision
(From OE-Core rev: 9d6c622d1eef241259c54e3a6e1430fe3fd510b9)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 14:58:48 +00:00
Alexander Kanavin 351893f370 npth: upgrade 1.7 -> 1.8
(From OE-Core rev: 9e6955dd85e8f7bfb835c1488aae38107604699c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 14:58:48 +00:00
Alexander Kanavin 2d387f7ec4 liburi-perl: upgrade 5.28 -> 5.31
(From OE-Core rev: c6049b207dc0fa4ca5ddf8e4bb3a4db64b6d0099)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 14:58:48 +00:00
Alexander Kanavin be7a3679e9 libtry-tiny-perl: upgrade 0.31 -> 0.32
(From OE-Core rev: 2d2b5809f49131bc2e116eee7908d314efc50be7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 14:58:48 +00:00
Alexander Kanavin aa7db30c44 libsolv: upgrade 0.7.30 -> 0.7.31
(From OE-Core rev: a6f6ea0d7abdc6e1d0b5427dd4c58a85679e3182)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 14:58:48 +00:00
Alexander Kanavin 1f9373ac76 libgpg-error: upgrade 1.50 -> 1.51
(From OE-Core rev: d6d4ddf023dcda0345e0ca646d6774c964c7917c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 14:58:48 +00:00
Alexander Kanavin 643be385b8 libdnf: upgrade 0.73.3 -> 0.73.4
(From OE-Core rev: 2e29ab2665167dc25d3ed9b10c341cd06bce87c7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 14:58:48 +00:00
Alexander Kanavin 0770b0ecea gstreamer1.0: upgrade 1.24.6 -> 1.24.9
(From OE-Core rev: e01f9c79725388437d52096701416b61d9a0aa7d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 14:58:48 +00:00
Alexander Kanavin 97c13f14f8 gawk: upgrade 5.3.0 -> 5.3.1
(From OE-Core rev: 96240d86955b51f9a494bd46ce064a7517aac7ab)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 14:58:48 +00:00
Alexander Kanavin e140ddc97c ffmpeg: upgrade 7.0.2 -> 7.1
(From OE-Core rev: 692ecec9c65ff324ceaa3fe3462b314394390df0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 14:58:48 +00:00
Alexander Kanavin 6a11ebbc9a diffstat: upgrade 1.66 -> 1.67
License-Update: MIT changed to X11 (which is MIT plus advertising clause)

(From OE-Core rev: dee8f3552cbe1194f97481df4270ca8e9b5113d5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 14:58:48 +00:00
Alexander Kanavin 189cf341ef createrepo-c: upgrade 1.1.4 -> 1.2.0
(From OE-Core rev: 08a44b7bab16200b7c0ceb5b51e4d48a10cba5a0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 14:58:48 +00:00
Alexander Kanavin 7b21621c3a cmake: upgrade 3.30.5 -> 3.31.0
License-Update: copyright years

(From OE-Core rev: eda9c9b556c6671e009bc637acb151580796223b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 14:58:48 +00:00
Alexander Kanavin a37d805dbc chrpath: upgrade 0.16 -> 0.18
(From OE-Core rev: fc69afe0da09e91a7db99035b68f44640b47dd5f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 14:58:48 +00:00
Alexander Kanavin 3910db1499 base-passwd: upgrade 3.6.4 -> 3.6.5
(From OE-Core rev: aee2b70b635fe7a94cedd13433ba8d77cdb34d1c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 14:58:48 +00:00
Alexander Kanavin 0bfb90fa4b alsa: upgrade 1.2.12 -> 1.2.13
(From OE-Core rev: fe7395c6f8c406cfcc0b090fd162dc84e5ec97b0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-27 14:58:48 +00:00
Richard Purdie 8d8c58372f resulttool/store: Fix permissions of logarchive
We want the results directory to be visable to other users, tweak the
permissions of the created directory to ensure this is the case.

(From OE-Core rev: ed9d887e8d71a800db19826264de552f7736dc6a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-26 13:40:30 +00:00
Guðni Már Gilbert 234edf918a systemd-boot: drop intltool-native from DEPENDS
intltool was dropped as a dependency in v236
See commit for reference:
https://github.com/systemd/systemd/pull/7313/commits/c81217920effddc93fb780cf8f9eb699d6fe1319

(From OE-Core rev: c82a1b71fd21b4f1299c7610342c5d821de7f1bb)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-25 22:23:25 +00:00
Guðni Már Gilbert 3b4343285f systemd: drop intltool-native from DEPENDS
intltool was dropped as a dependency in v236
See commit for reference:
https://github.com/systemd/systemd/pull/7313/commits/c81217920effddc93fb780cf8f9eb699d6fe1319

(From OE-Core rev: bd7353f2794120bc2b88adfea0ee06361a0b7dd5)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-25 22:23:25 +00:00
Peter Marko 459702c8cd builder: set CVE_PRODUCT
Builder is a common word and there are many other builder components
which makes us to ignore CVEs for all of them.
There is already 1 ignored and currently 3 new ones.

Instead, set product to yocto to filter them.

(From OE-Core rev: fd4ec5a5318b36af0a9a0a097a5b1f1de44a8edf)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-25 22:23:25 +00:00
Robert Yang 6dd306b88d bootchart2: Several fixes
Fixed Ross' comments:
* Add -n to gzip to make the resulting files reproducible, so we don't need to
  decompress them.

* Makefile: Let bootchartd.conf use EARLY_PREFIX, so that bootchartd.conf can
  install to correct location.

* Set MANDIR and DOCDIR to make the files install to correct location for
  bootchart2-native.

(From OE-Core rev: 5354966a92cd522a3312c870aefa239d5c564a9f)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-25 22:23:25 +00:00
Simone Weiß e14835ce9d gnutls: Upgrade to 3.8.8
In 3.8.7 is that the linkage to compression libraries were changed to use a new
tool called dlwrap, this caused issues during the last upgrade but is resolved
now with the update to 3.8.8. Remove the workarounds for the update hence.

Changes in 3.8.8 include:
* libgnutls:
   * Experimental support for X25519MLKEM768 and SecP256r1MLKEM768
     key exchange in TLS 1.3
   * All records included in an OCSP response are now checked in TLS
   * Handling of malformed compress_certificate extension is now more standard
     compliant
* More flexible library linking options for compression libraries, TPM, and
  liboqs support. The configure options, --with-zstd, --with-brotli, --with-zlib,
   --with-tpm2, and --with-liboqs now take 4 states:
   yes/link/dlopen/no, to specify how the libraries are linked or
   loaded.

Do not set a specific library linking option but use the default(yes).

(From OE-Core rev: 6620623ce280d20c2430ba87ba276a0490b05080)

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-25 22:23:25 +00:00
Joshua Watt 88489115ae lib/oe/sbom30: Prefix aliases with "http://spdx.org/spdxdocs/"
While the SPDX ID aliases are primarily intended for internal use by the
SPDX code, they are used in places where a valid SPDX ID is expected. In
order to make sure that they still conform to this, prefix them with
"http://spdx.org/spdxdocs/openembedded-alias"

(From OE-Core rev: 5e0ff36e025f5e842fa90b8219b53257d65ea66a)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-23 14:44:54 +00:00
Ross Burton 00fec4f0e9 gstreamer1.0: run ptests in parallel
Run the ptests in four parallel jobs (reduces runtime from ~80s to ~20s
on my machine), and also pass any arguments in the scripts to make it
easier to run individual tests.

(From OE-Core rev: 87a9fadc71c8d3c1eb841c84c96146d5c56f1241)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-23 14:44:54 +00:00
Bruce Ashfield a728825dd1 linux-yocto/6.10: bsp/genericarm64: disable ARM64_SME
Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Ross Burton
    Email: ross.burton@arm.com
    Subject: bsp/genericarm64: disable ARM64_SME
    Date: Thu, 21 Nov 2024 15:53:35 +0000

    From upstream:

        arm64: Kconfig: Make SME depend on BROKEN for now

        commit 81235ae0c846e1fb46a2c6fe9283fe2b2b24f7dc upstream.

        Although support for SME was merged in v5.19, we've since uncovered a
        number of issues with the implementation, including issues which might
        corrupt the FPSIMD/SVE/SME state of arbitrary tasks. While there are
        patches to address some of these issues, ongoing review has highlighted
        additional functional problems, and more time is necessary to analyse
        and fix these.

        For now, mark SME as BROKEN in the hope that we can fix things properly
        in the near future. As SME is an OPTIONAL part of ARMv9.2+, and there is
        very little extant hardware, this should not adversely affect the vast
        majority of users.

    Signed-off-by: Ross Burton <ross.burton@arm.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 022f9814cb9d6d420e9d89a746f4c67b452c498f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-23 14:44:54 +00:00
Bruce Ashfield e28936f9bc linux-yocto/6.6: bsp/genericarm64: disable ARM64_SME
Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Ross Burton
    Email: ross.burton@arm.com
    Subject: bsp/genericarm64: disable ARM64_SME
    Date: Thu, 21 Nov 2024 15:53:35 +0000

    From upstream:

        arm64: Kconfig: Make SME depend on BROKEN for now

        commit 81235ae0c846e1fb46a2c6fe9283fe2b2b24f7dc upstream.

        Although support for SME was merged in v5.19, we've since uncovered a
        number of issues with the implementation, including issues which might
        corrupt the FPSIMD/SVE/SME state of arbitrary tasks. While there are
        patches to address some of these issues, ongoing review has highlighted
        additional functional problems, and more time is necessary to analyse
        and fix these.

        For now, mark SME as BROKEN in the hope that we can fix things properly
        in the near future. As SME is an OPTIONAL part of ARMv9.2+, and there is
        very little extant hardware, this should not adversely affect the vast
        majority of users.

    Signed-off-by: Ross Burton <ross.burton@arm.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 7ed7b6ad39bdab4e67acc7a5841b4519fd15a2dc)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-23 14:44:54 +00:00
Aleksandar Nikolic a43e6ab8c2 scripts/install-buildtools: Update to 5.1
Update to the 5.1 release of the 5.1 series for buildtools.

(From OE-Core rev: f6c1e5541ee8d215a0327263c9dd3f4cc128cd56)

Signed-off-by: Aleksandar Nikolic <aleksandar.nikolic@zeiss.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-23 14:44:54 +00:00
Ross Burton e7d470c04f systemd: handle llvm-objcopy behaviour when reading .note.dlopen section
There are two behavioural differences between the objcopy in binutils
and llvm which resulted in build failures when building systemd with
clang:

1) If the section specified in --dump-section doesn't exist, binutils
set an exit code of 0 whereas llvm sets 1.  This means we need to handle
the exit code so that we raise exceptions on unexpected failures, but
return an empty byte string if the segment isn't found.

2) binutils writes the section to the file name directly, whereas llvm
writes to a temporary file and renames.  This means we can't read the
open fd directly, and instead need to re-open the file to read it.

(From OE-Core rev: 98879a8dbd1b7887b43a074193925bf1a55d44e7)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-23 14:44:54 +00:00
Harish Sadineni 76c247d6f5 rust-target-config: Fix TARGET_C_INT_WIDTH with correct size
[YOCTO #15600]

The TARGET_C_INT_WIDTH value was incorrectly set to 64 instead of 32.
It is updated for PPC, Mips, and riscv64 architectures.

Discussion links for solution:
 https://lists.openembedded.org/g/openembedded-core/message/207486
 https://lists.openembedded.org/g/openembedded-core/message/207496

(From OE-Core rev: b9df8cd8b29064d115dab3bfd1ea14f94a5c0238)

Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-23 14:44:54 +00:00