adwaita-icon-theme: upgrade 46.2 -> 47.0
PATCH 1/47 adwaita-icon-theme: upgrade 46.2 -> 47.0
From: Wang Mingyu <[email protected]>
Changelog:
cursors: updated spinners to match libadwaita
---
.../{adwaita-icon-theme_46.2.bb => adwaita-icon-theme_47.0.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-gnome/gnome/{adwaita-icon-theme_46.2.bb => adwaita-icon-theme_47.0.bb} (91%)meta/recipes-gnome/gnome/adwaita-icon-theme_47.0.bb renamed from meta/recipes-gnome/gnome/adwaita-icon-theme_46.2.bb +1 -1
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c84cac88e46fc07647ea07e6c24eeb7c \ inherit gnomebase allarch gtk-icon-cache -SRC_URI[archive.sha256sum] = "beb126b9429339ba762e0818d5e73b2c46f444975bf80076366eae2d0f96b5cb" +SRC_URI[archive.sha256sum] = "ad088a22958cb8469e41d9f1bba0efb27e586a2102213cd89cc26db2e002bdfe" DEPENDS += "librsvg-native"
Signature · 1 line
2.34.1
PATCH 2/47 at-spi2-core: upgrade 2.52.0 -> 2.54.0
From: Wang Mingyu <[email protected]>
Changelog:
==========
* Make ATSPI_ROLE_PUSH_BUTTON an enum value again.
* atk: Align button role with AT-SPI one.
* Fix warning when atspi_event_quit is called multiple times.
* tests: Clean up test application on SIGABRT/SIGSEGV.
* Set (allow-none) for nullable parameters to atspi_match_rule_new.
* collection: Allow specifying specific action names in match rules.
* atk-adaptor: For collections, don't return objects with 0 actions as supporting AtkAction.
* Rename ATSPI_ROLE_PUSH_BUTTON to ATSPI_ROLE_BUTTON.
* Replace disable_p2p with an ATSPI_DISABLE_P2P environment variable.
* Drop use of deprecated eaves-dropping option in dbus configuration
* Notify about HelpText attribute change.
* Fix possible double unref in add_accessible_from_iter.
* tests: Fix missing declaration for getpid().
---
.../atk/{at-spi2-core_2.52.0.bb => at-spi2-core_2.54.0.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-support/atk/{at-spi2-core_2.52.0.bb => at-spi2-core_2.54.0.bb} (95%)meta/recipes-support/atk/at-spi2-core_2.54.0.bb renamed from meta/recipes-support/atk/at-spi2-core_2.52.0.bb +1 -1
@@ -13,7 +13,7 @@ MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}" SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz" -SRC_URI[sha256sum] = "0ac3fc8320c8d01fa147c272ba7fa03806389c6b03d3c406d0823e30e35ff5ab" +SRC_URI[sha256sum] = "d7eee7e75beddcc272cedc2b60535600f3aae6e481589ebc667afc437c0a6079" DEPENDS = " \ dbus \
Signature · 1 line
2.34.1
PATCH 3/47 ell: upgrade 0.68 -> 0.69
In reply to [email protected]From: Wang Mingyu <[email protected]>
Changelog:
==========
- Add support for getting remaining microseconds left on a timer.
- Add support for setting link MTU on a network interface.
---
meta/recipes-core/ell/{ell_0.68.bb => ell_0.69.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-core/ell/{ell_0.68.bb => ell_0.69.bb} (88%)meta/recipes-core/ell/ell_0.69.bb renamed from meta/recipes-core/ell/ell_0.68.bb +1 -1
@@ -15,4 +15,4 @@ DEPENDS = "dbus" inherit autotools pkgconfig SRC_URI = "https://mirrors.edge.kernel.org/pub/linux/libs/${BPN}/${BPN}-${PV}.tar.xz" -SRC_URI[sha256sum] = "ddcbf381d758f61a02954bf5d2907c8900462abb7b2dcf45589874978bc10125" +SRC_URI[sha256sum] = "6cfc0888edc94de9f0623798609587b2cc11b92b892945f317e8d199afe7b12e"
Signature · 1 line
2.34.1
PATCH 4/47 epiphany: upgrade 46.3 -> 47.0
In reply to [email protected]From: Wang Mingyu <[email protected]>
Changelog:
===========
* Fix crash when using Ctrl+D or Ctrl+Alt+D
* Fix icon URL used for install web application dialog
* Remove tab overview shortcut in web apps
* Fix crashes in tab overview mode with no open tabs
* Fix pluralization in privacy report dialog
* Fix bookmark tag widget focus border
* Revert key event handling changes due to problems with non-Latin keyboard layouts
* Extract .xpi during web app installation
* Show confirmation dialog when deleting web app
* Allow exporting passwords to CSV and improve CSV import
* Improve count of trackers in privacy report
* Fix crash on close multiple tabs dialog
* Many improvements to bookmarks sidebar and dialog
* Add autofill support
* Add bookmarks search bar
* Improve sorting of bookmarks
* Restore set image as wallpaper functionality under flatpak
* New Window should always open a non-incognito window
* Prompt for confirmation when installing a WebExtension
* Add Ctrl+Shift+Delete shortcut for Clear Website Data
* Add Privacy Report feature
* Use GtkGraphicsOffload to maybe improve graphics performance in fullscreen mode
* Replace bookmark properties popover with redesigned dialog
* Disable Firefox Sync
* Don't show reader mode button when page is loading
* Revert address bar UI changes due to pango bug
* Fix application mode when always start in incognito mode setting is enabled
* Don't warn about failure to download favicon when creating web app
* Fix crash when starting secondary instance
* Fix crash when web process becomes unresponsive
* Fix crash when closing window with context menu open
* Fix crash on exit
* Allow overriding fatal criticals using G_DEBUG= environment variable
* Fix hiding of developer context menu actions
* Fix a different crash when destroying window
* Stop using various deprecated GTK APIs
* Support importing passwords from CSV files
* Reduce the size of the preferences dialog
* Use modern libadwaita spinners
* Fix yet another crash when destroying window
* Improve autofill dialog UI
* Update to highlight.js 11.10.0
* Miscellaneous code robustness improvements
* Load only one web process extension rather than two
* Add fallback web app icon
* Redesign the bookmarks UI to use sidebar instead of popover
* Rearrange the window/hamburger menu
* Adopt new floating bar style from nautilus
* Focus address bar after deleting URL
* Reenable search in preferences dialog
* Make address bar dropdown suggestions selectable
* WebExtensions: support runtime.getManifest() API
* Modernize encoding dialog
* Add preference to toggle navigation gestures
* Fix about:overview improperly shown in address bar
* Set brightness and contrast for dark reader mode
* Add Not Now option to save password popover
* Disable Home/End shortcuts in tab bar
* Add delete action to text box context menu
* Add additional debug info to about dialog
* Don't display placeholder text in address bar when unfocused
* Enable fatal criticals
* Add Clear button to location entry
* Fix set as default browser dialog in phosh
* Improve UI of preferences dialog
* Improve UI of about dialog
* Improve UI of history dialog
* Improve UI of certificate dialog
* When not focused, display hostname centered in address bar
* Always enable web inspector keyboard shortcut
* Update use of libadwaita dialogs
---
.../epiphany/{epiphany_46.3.bb => epiphany_47.0.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-gnome/epiphany/{epiphany_46.3.bb => epiphany_47.0.bb} (94%)meta/recipes-gnome/epiphany/epiphany_47.0.bb renamed from meta/recipes-gnome/epiphany/epiphany_46.3.bb +1 -1
@@ -31,7 +31,7 @@ SRC_URI = "${GNOME_MIRROR}/${GNOMEBN}/${@oe.utils.trim_version("${PV}", 1)}/${GN file://migrator.patch \ file://distributor.patch \ " -SRC_URI[archive.sha256sum] = "a9e1ad206449117fc5ebe4d0177c1d7a2ff503d6b55019072a068ff2ab278656" +SRC_URI[archive.sha256sum] = "8e38ee7f90fd6054f8aef0e7f505d53c4520742f5acd1f008282a47b2764affa" # Developer mode enables debugging PACKAGECONFIG[developer-mode] = "-Ddeveloper_mode=true,-Ddeveloper_mode=false"
Signature · 1 line
2.34.1
PATCH 5/47 gawk: upgrade 5.3.0 -> 5.3.1
In reply to [email protected]From: Wang Mingyu <[email protected]>
0001-m4-readline-add-missing-includes.patch
removed since it's included in 5.3.1
Changelog:
==========
- More subtle issues related to uninitialized array elements have been fixed.
- A number of bugs in the debugger related to handling of arrays have been fixed.
- Some subtle bugs in the API have been fixed.
- Use of MPFR is now possible again on 32-bit Power PC Mac systems.
- Race conditions around broken pipes for system() and read and write pipes should now be closed off.
- Support for OSF/1 has been removed.
- The never-documented --nostalgia option has been removed. It was causing bug reports.
- The implementation of printf/sprintf has been thoroughly reworked in order to make the code more maintainable and to fix a goodly number of corner cases.
- As usual, there have been several minor code cleanups and bug fixes.
---
...001-m4-readline-add-missing-includes.patch | 38 -------------------
.../gawk/{gawk_5.3.0.bb => gawk_5.3.1.bb} | 3 +-
2 files changed, 1 insertion(+), 40 deletions(-)
delete mode 100644 meta/recipes-extended/gawk/gawk/0001-m4-readline-add-missing-includes.patch
rename meta/recipes-extended/gawk/{gawk_5.3.0.bb => gawk_5.3.1.bb} (95%)meta/recipes-extended/gawk/gawk/0001-m4-readline-add-missing-includes.patch deleted +0 -38
@@ -1,38 +0,0 @@ -From 4f4e84f139e2a8682f1374a592f2636c43ad857b Mon Sep 17 00:00:00 2001 -From: Ross Burton <[email protected]> -Date: Tue, 21 May 2024 15:10:11 +0000 -Subject: [PATCH] m4/readline: add missing includes - -The cross-specific code fragment only includes stdio.h, where the native -fragment also includes fcntl.h and unistd.h. This is important because -GCC 14.1 has made the implicit definitions an error: - -conftest.c: In function 'main': -conftest.c:144:9: error: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] -conftest.c:146:14: error: implicit declaration of function 'open'; did you mean 'popen'? [-Wimplicit-function-declaration] - -Add the missing includes so that the check doesn't always fail due to -these errors. - -Upstream-Status: Backport [https://git.savannah.gnu.org/cgit/gawk.git/commit/?id=c1613c310d71b87f509458e0259ecd10eda2b140] -Signed-off-by: Ross Burton <[email protected]> ---- - m4/readline.m4 | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/m4/readline.m4 b/m4/readline.m4 -index 38f96326..efd52d4e 100644 ---- a/m4/readline.m4 -+++ b/m4/readline.m4 -@@ -66,6 +66,8 @@ dnl action if false: - dnl action if cross compiling: - [AC_LINK_IFELSE( - [AC_LANG_PROGRAM([[#include <stdio.h> -+#include <fcntl.h> -+#include <unistd.h> - #include <readline/readline.h> - #include <readline/history.h>]], dnl includes - dnl function body --- -2.34.1 -
meta/recipes-extended/gawk/gawk_5.3.1.bb renamed from meta/recipes-extended/gawk/gawk_5.3.0.bb +1 -2
@@ -16,11 +16,10 @@ PACKAGECONFIG[readline] = "--with-readline,--without-readline,readline" PACKAGECONFIG[mpfr] = "--with-mpfr,--without-mpfr, mpfr" SRC_URI = "${GNU_MIRROR}/gawk/gawk-${PV}.tar.gz \ - file://0001-m4-readline-add-missing-includes.patch \ file://run-ptest \ " -SRC_URI[sha256sum] = "378f8864ec21cfceaa048f7e1869ac9b4597b449087caf1eb55e440d30273336" +SRC_URI[sha256sum] = "fa41b3a85413af87fb5e3a7d9c8fa8d4a20728c67651185bb49c38a7f9382b1e" inherit autotools gettext texinfo update-alternatives
Signature · 1 line
2.34.1
Re: [OE-core] [PATCH 05/47] gawk: upgrade 5.3.0 -> 5.3.1
Quoted 13 lines · wangmy via lists.openembedded.org
0001-m4-readline-add-missing-includes.patch
removed since it's included in 5.3.1Changelog:
==========
- More subtle issues related to uninitialized array elements have been fixed.
- A number of bugs in the debugger related to handling of arrays have been fixed.
- Some subtle bugs in the API have been fixed.
- Use of MPFR is now possible again on 32-bit Power PC Mac systems.
- Race conditions around broken pipes forsystem()and read and write
Quoted 8 lines
pipes should now be closed off.
- Support for OSF/1 has been removed.
- The never-documented --nostalgia option has been removed. It was causing bug reports.
- The implementation of printf/sprintf has been thoroughly reworked in order to make the code more maintainable and to fix a goodly number of corner cases.
- As usual, there have been several minor code cleanups and bug fixes.
ptest fails:
{'gawk': ['printf-corners']}
Ross
PATCH 6/47 ghostscript: upgrade 10.03.1 -> 10.04.0
In reply to [email protected]From: Wang Mingyu <[email protected]>
avoid-host-contamination.patch
refreshed for 10.04.0
Changelog:
===========
- addresses CVEs: CVE-2024-46951, CVE-2024-46952, CVE-2024-46953, CVE-2024-46954, CVE-2024-46955, CVE-2024-46956
- add protection for device selection from PostScript input.
- efforts in code hygiene and maintainability continue.
- The usual round of bug fixes, compatibility changes, and incremental improvements.
- add the capability to build with the Tesseract OCR engine.
---
.../ghostscript/ghostscript/avoid-host-contamination.patch | 6 +++---
.../{ghostscript_10.03.1.bb => ghostscript_10.04.0.bb} | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
rename meta/recipes-extended/ghostscript/{ghostscript_10.03.1.bb => ghostscript_10.04.0.bb} (97%)meta/recipes-extended/ghostscript/ghostscript/avoid-host-contamination.patch +3 -3
@@ -1,4 +1,4 @@ -From b36713c8f1ba0e5755b78845a433354a63663b1a Mon Sep 17 00:00:00 2001 +From 095bb1db8b2e68cac40e985f347a7039573e1e80 Mon Sep 17 00:00:00 2001 From: Kai Kang <[email protected]> Date: Thu, 29 Mar 2018 16:02:05 +0800 Subject: [PATCH] avoid host contamination
@@ -15,10 +15,10 @@ Signed-off-by: Hongxu Jia <[email protected]> 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devices/devs.mak b/devices/devs.mak -index 186f704..88ab8c9 100644 +index a5dbc7a..27b55f2 100644 --- a/devices/devs.mak +++ b/devices/devs.mak -@@ -397,7 +397,7 @@ $(DEVOBJ)gdevxalt.$(OBJ) : $(DEVSRC)gdevxalt.c $(GDEVX) $(math__h) $(memory__h)\ +@@ -403,7 +403,7 @@ $(DEVOBJ)gdevxalt.$(OBJ) : $(DEVSRC)gdevxalt.c $(GDEVX) $(math__h) $(memory__h)\ ### NON PORTABLE, ONLY UNIX WITH GCC SUPPORT $(DEVOBJ)X11.so : $(x11alt_) $(x11_) $(DEVS_MAK) $(MAKEDIRS)
meta/recipes-extended/ghostscript/ghostscript_10.04.0.bb renamed from meta/recipes-extended/ghostscript/ghostscript_10.03.1.bb +1 -1
@@ -27,7 +27,7 @@ SRC_URI = "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/downlo file://avoid-host-contamination.patch \ " -SRC_URI[sha256sum] = "31cd01682ad23a801cc3bbc222a55f07c4ea3e068bdfb447792d54db21a2e8ad" +SRC_URI[sha256sum] = "c764dfbb7b13fc71a7a05c634e014f9bb1fb83b899fe39efc0b6c3522a9998b1" PACKAGECONFIG ??= "" PACKAGECONFIG[gtk] = "--enable-gtk,--disable-gtk,gtk+3"
Signature · 1 line
2.34.1
PATCH 7/47 git: upgrade 2.46.0 -> 2.46.1
In reply to [email protected]From: Wang Mingyu <[email protected]>
Changelog:
==============
* "git checkout --ours" (no other arguments) complained that the option is incompatible with branch switching, which is technically correct, but found confusing by some users. It now says that the user needs to give pathspec to specify what paths to checkout.
* It has been documented that we avoid "VAR=VAL shell_func" and why.
* "git add -p" by users with diff.suppressBlankEmpty set to true failed to parse the patch that represents an unmodified empty line with an empty line (not a line with a single space on it), which has been corrected.
* "git rebase --help" referred to "offset" (the difference between the location a change was taken from and the change gets replaced) incorrectly and called it "fuzz", which has been corrected.
* "git notes add -m '' --allow-empty" and friends that take prepared data to create notes should not invoke an editor, but it started doing so since Git 2.42, which has been corrected.
* An expensive operation to prepare tracing was done in re-encoding code path even when the tracing was not requested, which has been corrected.
* Perforce tests have been updated.
* The credential helper to talk to OSX keychain sometimes sent garbage bytes after the username, which has been corrected.
* A recent update broke "git ls-remote" used outside a repository, which has been corrected.
* "git config --value=foo --fixed-value section.key newvalue" barfed when the existing value in the configuration file used the valueless true syntax, which has been corrected.
* "git reflog expire" failed to honor annotated tags when computing reachable commits.
* A flakey test and incorrect calls to strtoX() functions have been fixed.
* Follow-up on 2.45.1 regression fix.
* "git rev-list ... | git diff-tree -p --remerge-diff --stdin" should behave more or less like "git log -p --remerge-diff" but instead it crashed, forgetting to prepare a temporary object store needed.
* The patch parser in "git patch-id" has been tightened to avoid getting confused by lines that look like a patch header in the log message.
* "git bundle unbundle" outside a repository triggered a BUG() unnecessarily, which has been corrected.
* The code forgot to discard unnecessary in-core commit buffer data for commits that "git log --skip=<number>" traversed but omitted from the output, which has been corrected.
* "git verify-pack" and "git index-pack" started dying outside a repository, which has been corrected.
* A corner case bug in "git stash" was fixed.
---
meta/recipes-devtools/git/{git_2.46.0.bb => git_2.46.1.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-devtools/git/{git_2.46.0.bb => git_2.46.1.bb} (98%)meta/recipes-devtools/git/git_2.46.1.bb renamed from meta/recipes-devtools/git/git_2.46.0.bb +1 -1
@@ -164,4 +164,4 @@ EXTRA_OECONF += "ac_cv_snprintf_returns_bogus=no \ " EXTRA_OEMAKE += "NO_GETTEXT=1" -SRC_URI[tarball.sha256sum] = "b138811e16838f669a2516e40f09d50500e1c7fc541b5ab50ce84b98585e5230" +SRC_URI[tarball.sha256sum] = "b0a4d1ad50e820edd84c0d1b609c29349d4ae2681ed458914ea759aafcd4bf21"
Signature · 1 line
2.34.1
PATCH 8/47 gobject-introspection: upgrade 1.80.1 -> 1.82.0
In reply to [email protected]From: Wang Mingyu <[email protected]>
Changelog:
===========
* Require GLib 2.82.0
* Add rpath when building the type dumper on macOS
* Fix regression in the installation of GIRepository-2.0.typelib
* Add strict mode warning for enumeration members starting with a number
* Set deprecation message for signals and properties
* Fix HTML definition lists in the documentation generator
* Catch up with Python-Markdown 3.4 extension API changes
* Propagate scanner errors
* Do not break when parsing ARM SVE types in system headers
* Pair pointer GTypes with their opaque structure
* Fix property accessor pairing
* Handle pid_t, etc. as their own top-level types
* Add warning for closure annotation
* Warn on invalid callback annotations
* Make sure to set a GError with an invalid introspect-dump string
* Move gobject-introspection tests to a submodule
* Remove dependency on distutils.msvccompiler
* Be more thorough about applying -Wl,--no-as-needed option
* Documentation and build fixes
---
...-introspection_1.80.1.bb => gobject-introspection_1.82.0.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-gnome/gobject-introspection/{gobject-introspection_1.80.1.bb => gobject-introspection_1.82.0.bb} (99%)meta/recipes-gnome/gobject-introspection/gobject-introspection_1.82.0.bb renamed from meta/recipes-gnome/gobject-introspection/gobject-introspection_1.80.1.bb +1 -1
@@ -16,7 +16,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c434e8128a68bedd59b80b2ac1eb1c4a \ SRC_URI = "${GNOME_MIRROR}/${BPN}/${@oe.utils.trim_version("${PV}", 2)}/${BPN}-${PV}.tar.xz \ " -SRC_URI[sha256sum] = "a1df7c424e15bda1ab639c00e9051b9adf5cea1a9e512f8a603b53cd199bc6d8" +SRC_URI[sha256sum] = "0f5a4c1908424bf26bc41e9361168c363685080fbdb87a196c891c8401ca2f09" SRC_URI:append:class-native = " file://0001-Relocate-the-repository-directory-for-native-builds.patch"
Signature · 1 line
2.34.1
PATCH 9/47 gtk4: upgrade 4.16.0 -> 4.16.1
In reply to [email protected]From: Wang Mingyu <[email protected]>
Changelog:
==========
* GtkFileChooser:
- Plug a memory leak
* GtkCalendar:
- Avoid ending up with invalid dates
* Printing:
- Fix initial printer selection in the print dialog
* Gsk:
- Fix shadows for opaque textures
- Fix a crash in a corner case
* Css:
- Make relative paths work again in theme files
* Accessibility:
- Fix detection of the Flatpak portal
* MacOS:
- Fix keyboard input in popovers
- Keep DND icons above regular windows
- Ignore events from DND icons
---
meta/recipes-gnome/gtk+/{gtk4_4.16.0.bb => gtk4_4.16.1.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-gnome/gtk+/{gtk4_4.16.0.bb => gtk4_4.16.1.bb} (98%)meta/recipes-gnome/gtk+/gtk4_4.16.1.bb renamed from meta/recipes-gnome/gtk+/gtk4_4.16.0.bb +1 -1
@@ -38,7 +38,7 @@ MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}" UPSTREAM_CHECK_REGEX = "gtk-(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)\.tar.xz" SRC_URI = "http://ftp.gnome.org/pub/gnome/sources/gtk/${MAJ_VER}/gtk-${PV}.tar.xz" -SRC_URI[sha256sum] = "8ef538778c82c09870a6cc325195049caec5593c1ca37df915a7b6b10f5524ea" +SRC_URI[sha256sum] = "926a1eabd481f9bfa25538f95016fdfcfaf963b2f90b40ae69e90def5499215c" S = "${WORKDIR}/gtk-${PV}"
Signature · 1 line
2.34.1
PATCH 10/47 ifupdown: upgrade 0.8.43 -> 0.8.44
In reply to [email protected]From: Wang Mingyu <[email protected]>
---
.../ifupdown/{ifupdown_0.8.43.bb => ifupdown_0.8.44.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-core/ifupdown/{ifupdown_0.8.43.bb => ifupdown_0.8.44.bb} (97%)meta/recipes-core/ifupdown/ifupdown_0.8.44.bb renamed from meta/recipes-core/ifupdown/ifupdown_0.8.43.bb +1 -1
@@ -16,7 +16,7 @@ SRC_URI = "git://salsa.debian.org/debian/ifupdown.git;protocol=https;branch=mast file://defn2-c-man-don-t-rely-on-dpkg-architecture-to-set-a.patch \ file://tweak-ptest-script.patch \ " -SRCREV = "cf86ad5819aba8f9b020a95257c9a8c4911b1c85" +SRCREV = "7d44f9ce6717a4a496fd46f28c52e12dbf5bafdd" S = "${WORKDIR}/git"
Signature · 1 line
2.34.1
PATCH 11/47 igt-gpu-tools: upgrade 1.28 -> 1.29
In reply to [email protected]From: Wang Mingyu <[email protected]>
Changelog:
===========
- Added gcc warns: dangling-pointer, int-conversion
- More guidelines in CONTRIBUTING.
- Reorganized Tests: Moved all vendor specific tests to their own dir
- Fix musl/uclibc build
- New KMS framebuffer stress benchmark.
- Added basic Xe support in gem_wsim.
- Add documentation about cross-builds.
- Improve tests documentation.
- Add Battlemage (BMG) support in xe_pciids.h
- Add amdgpu GFX1152, GFX1150 and gfx12.
- Added inline support for iga64 assembly in GPGPU shader.
- Improved KUnit support.
- Enable igt run on security enhanced distros
- Use blitter as a default for all KMS tests.
- Increased MAX supported pipes to 16 (Pipe-A to Pipe-P)
- Added generic way to reset sysfs/debugfs attrs to default values upon exit.
- Added hook scripts to igt_runner.
- Added support for Xe in KMS tests.
- Added new subtests and improvements to VRR.
- Added new subtests to force joiner.
- Added fbdev tests to Xe.
- Added amdgpu fuzzing tests.
- Added syncobj_eventfd test.
- Added basic Single-Root IO Virtualization (SRIOV) test.
- Added prime test for vmwgfx.
- Improved core_getversion.
- Improved kms_atomic on non-mutable planes.
- Added and improved Xe tests.
- New Xe perf/OA tools.
- New intel_tiling_detect tool.
- New option in lsgpu for printing GPU on PCI bus, working also in case when no gpu driver is loaded.
- Added sysfs profiling knob to gputop.
- Support for Xe in gputop.
- Improved generating test lists at compilation time.
- Improved code coverage.
- Improved intel_vbt_decode and other intel tools.
---
.../{igt-gpu-tools_git.bb => igt-gpu-tools_1.29.bb} | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
rename meta/recipes-graphics/igt-gpu-tools/{igt-gpu-tools_git.bb => igt-gpu-tools_1.29.bb} (96%)meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_1.29.bb renamed from meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb +1 -2
@@ -9,8 +9,7 @@ LICENSE = "MIT" inherit meson pkgconfig -SRCREV = "31ec677ca24e7ed86e35f367f40a29d3d9f51c06" -PV = "1.28" +SRCREV = "fc3113c8c1e99797b2d4769aaf02265be64a7589" SRC_URI = "git://gitlab.freedesktop.org/drm/igt-gpu-tools.git;protocol=https;branch=master"
Signature · 1 line
2.34.1
PATCH 12/47 init-system-helpers: upgrade 1.66 -> 1.67
In reply to [email protected]From: Wang Mingyu <[email protected]>
---
...{init-system-helpers_1.66.bb => init-system-helpers_1.67.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-core/initscripts/{init-system-helpers_1.66.bb => init-system-helpers_1.67.bb} (96%)meta/recipes-core/initscripts/init-system-helpers_1.67.bb renamed from meta/recipes-core/initscripts/init-system-helpers_1.66.bb +1 -1
@@ -16,7 +16,7 @@ SECTION = "base" LICENSE = "BSD-3-Clause & GPL-2.0-only" LIC_FILES_CHKSUM = "file://debian/copyright;md5=c4ec20aa158fa9de26ee1accf78dcaae" -SRCREV = "a5439f465dc1d1d4e12329208dc321fb806009f4" +SRCREV = "7b1a5359d99c1667f7b81380c06686ddc57b8e71" SRC_URI = "git://salsa.debian.org/debian/init-system-helpers.git;protocol=https;branch=master" UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))(?!_exp)"
Signature · 1 line
2.34.1
PATCH 13/47 iso-codes: upgrade 4.16.0 -> 4.17.0
In reply to [email protected]From: Wang Mingyu <[email protected]>
Changelog:
===========
* Add letter 'g' to conversion script for Tatar
* Regenerate cyrillic Tatar from latin Tatar
* Update Romanian translation and remove most pre- and suffixes
---
.../iso-codes/{iso-codes_4.16.0.bb => iso-codes_4.17.0.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-support/iso-codes/{iso-codes_4.16.0.bb => iso-codes_4.17.0.bb} (94%)meta/recipes-support/iso-codes/iso-codes_4.17.0.bb renamed from meta/recipes-support/iso-codes/iso-codes_4.16.0.bb +1 -1
@@ -9,7 +9,7 @@ LICENSE = "LGPL-2.1-only" LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" SRC_URI = "git://salsa.debian.org/iso-codes-team/iso-codes.git;protocol=https;branch=main;" -SRCREV = "c2fcaadc832ed9f858950a43994973442d85ef4f" +SRCREV = "0640070a001ca6edfa8ab6b61fe3230e66b3963b" # inherit gettext cannot be used, because it adds gettext-native to BASEDEPENDS which # are inhibited by allarch
Signature · 1 line
2.34.1
PATCH 14/47 libarchive: upgrade 3.7.4 -> 3.7.5
In reply to [email protected]From: Wang Mingyu <[email protected]>
configurehack.patch
refreshed for 3.7.5
Changelog:
============
- fix multiple vulnerabilities identified by SAST
- cpio: ignore out-of-range gid/uid/size/ino and harden AFIO parsing
- lzop: prevent integer overflow
- rar4: protect copy_from_lzss_window_to_unp()
- rar4: fix CVE-2024-26256
- rar4: fix OOB in delta and audio filter
- rar4: fix out of boundary access with large files
- rar4: add boundary checks to rgb filter
- rar4: fix OOB access with unicode filenames
- rar5: clear 'data ready' cache on window buffer reallocs
- rpm: calculate huge header sizes correctly
- unzip: unify EOF handling
- util: fix out of boundary access in mktemp functions
- uu: stop processing if lines are too long
- 7zip: fix issue when skipping first file in 7zip archive that is a multiple of 65536 bytes
- ar: fix archive entries having no type
- lha: do not allow negative file sizes
- lha: fix integer truncation on 32-bit systems
- shar: check strdup return value
- rar5: don't try to read rediculously long names
- xar: fix another infinite loop and expat error handling
- many Windows fixes, cleanups and improvements
---
.../libarchive/libarchive/configurehack.patch | 15 ++++++++-------
.../{libarchive_3.7.4.bb => libarchive_3.7.5.bb} | 2 +-
2 files changed, 9 insertions(+), 8 deletions(-)
rename meta/recipes-extended/libarchive/{libarchive_3.7.4.bb => libarchive_3.7.5.bb} (96%)meta/recipes-extended/libarchive/libarchive/configurehack.patch +8 -7
@@ -1,4 +1,8 @@ -To work with autoconf 2.73, tweak the macro ordering in configure.in. +From 18d5b2ff6ba3bbe856777447e59ee4d3343b0131 Mon Sep 17 00:00:00 2001 +From: Richard Purdie <[email protected]> +Date: Thu, 27 Jul 2023 20:47:55 -0700 +Subject: [PATCH] To work with autoconf 2.73, tweak the macro ordering in + configure.in. Upstream-Status: Pending Signed-off-by: Richard Purdie <[email protected]>
@@ -7,10 +11,10 @@ Signed-off-by: Richard Purdie <[email protected]> 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/configure.ac b/configure.ac -index 503bb75..e3101da 100644 +index 227275a..b75eb87 100644 --- a/configure.ac +++ b/configure.ac -@@ -414,6 +414,19 @@ if test "x$with_bz2lib" != "xno"; then +@@ -429,6 +429,19 @@ if test "x$with_bz2lib" != "xno"; then esac fi
@@ -30,7 +34,7 @@ index 503bb75..e3101da 100644 AC_ARG_WITH([libb2], AS_HELP_STRING([--without-libb2], [Don't build support for BLAKE2 through libb2])) -@@ -678,19 +691,6 @@ fi +@@ -693,19 +706,6 @@ fi AC_SUBST(DEAD_CODE_REMOVAL)
@@ -50,6 +54,3 @@ index 503bb75..e3101da 100644 # Check for tm_gmtoff in struct tm AC_CHECK_MEMBERS([struct tm.tm_gmtoff, struct tm.__tm_gmtoff],,, [ --- -2.34.1 -
meta/recipes-extended/libarchive/libarchive_3.7.5.bb renamed from meta/recipes-extended/libarchive/libarchive_3.7.4.bb +1 -1
@@ -33,7 +33,7 @@ SRC_URI = "http://libarchive.org/downloads/libarchive-${PV}.tar.gz" SRC_URI += "file://configurehack.patch" UPSTREAM_CHECK_URI = "http://libarchive.org/" -SRC_URI[sha256sum] = "7875d49596286055b52439ed42f044bd8ad426aa4cc5aabd96bfe7abb971d5e8" +SRC_URI[sha256sum] = "37556113fe44d77a7988f1ef88bf86ab68f53d11e85066ffd3c70157cc5110f1" CVE_STATUS[CVE-2023-30571] = "upstream-wontfix: upstream has documented that reported function is not thread-safe"
Signature · 1 line
2.34.1
Re: [OE-core] [PATCH 14/47] libarchive: upgrade 3.7.4 -> 3.7.5
Quoted 23 lines · wangmy via lists.openembedded.org
configurehack.patch
refreshed for 3.7.5Changelog:
============
- fix multiple vulnerabilities identified by SAST
- cpio: ignore out-of-range gid/uid/size/ino and harden AFIO parsing
- lzop: prevent integer overflow
- rar4: protectcopy_from_lzss_window_to_unp()
- rar4: fix CVE-2024-26256
- rar4: fix OOB in delta and audio filter
- rar4: fix out of boundary access with large files
- rar4: add boundary checks to rgb filter
- rar4: fix OOB access with unicode filenames
- rar5: clear 'data ready' cache on window buffer reallocs
- rpm: calculate huge header sizes correctly
- unzip: unify EOF handling
- util: fix out of boundary access in mktemp functions
- uu: stop processing if lines are too long
Quoted 8 lines
- 7zip: fix issue when skipping first file in 7zip archive that is a multiple of 65536 bytes
- ar: fix archive entries having no type
- lha: do not allow negative file sizes
- lha: fix integer truncation on 32-bit systems
- shar: check strdup return value
- rar5: don't try to read rediculously long names
- xar: fix another infinite loop and expat error handling
- many Windows fixes, cleanups and improvements
This causes python-libarchive-c to fail ptests:
{'python3-libarchive-c': ['tests/test_entry.py:test_check_archiveentry_using_python_testtar']}
Ross
Re: [OE-core] [PATCH 14/47] libarchive: upgrade 3.7.4 -> 3.7.5
Quoted 7 lines · Ross Burton via lists.openembedded.org
This causes python-libarchive-c to fail ptests:
{'python3-libarchive-c': ['tests/test_entry.py:test_check_archiveentry_using_python_testtar’] }
It already breaks opkg, but 3.7.6 has fixed that regression at least. I’ve posted the upgrade to that so it’s on the list and nobody else tries it.
Ross
PATCH 15/47 libevdev: upgrade 1.13.2 -> 1.13.3
In reply to [email protected]From: Wang Mingyu <[email protected]>
Changelog:
include: sync event codes with kernel 6.10
---
.../libevdev/{libevdev_1.13.2.bb => libevdev_1.13.3.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-support/libevdev/{libevdev_1.13.2.bb => libevdev_1.13.3.bb} (87%)meta/recipes-support/libevdev/libevdev_1.13.3.bb renamed from meta/recipes-support/libevdev/libevdev_1.13.2.bb +1 -1
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=80c550b3197bcb8da7d7557ebcc3fc46 \ " SRC_URI = "http://www.freedesktop.org/software/libevdev/${BP}.tar.xz" -SRC_URI[sha256sum] = "3eca86a6ce55b81d5bce910637fc451c8bbe373b1f9698f375c7f1ad0de3ac48" +SRC_URI[sha256sum] = "abf1aace86208eebdd5d3550ffded4c8d73bb405b796d51c389c9d0604cbcfbf" inherit autotools pkgconfig
Signature · 1 line
2.34.1
PATCH 16/47 libjitterentropy: upgrade 3.5.0 -> 3.6.0
In reply to [email protected]From: Wang Mingyu <[email protected]>
Changelog:
===========
* Remove bi-modal behavior of conditioning function
* Make jent_read_entropy_safe safer by retrying the health test
* Move the version information to make them available at compile time
---
.../{libjitterentropy_3.5.0.bb => libjitterentropy_3.6.0.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-support/libjitterentropy/{libjitterentropy_3.5.0.bb => libjitterentropy_3.6.0.bb} (95%)meta/recipes-support/libjitterentropy/libjitterentropy_3.6.0.bb renamed from meta/recipes-support/libjitterentropy/libjitterentropy_3.5.0.bb +1 -1
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=18a5cada7ee95e61db4180f0cb4a69cf \ file://LICENSE.bsd;md5=66a5cedaf62c4b2637025f049f9b826f \ " SRC_URI = "git://github.com/smuellerDD/jitterentropy-library.git;branch=master;protocol=https" -SRCREV = "48b2ffc128af776ff3658a70e5d7bb4a82180189" +SRCREV = "7199c8959347b0e8342df7dc6e0c1fc4b484d2fb" S = "${WORKDIR}/git" do_configure[noexec] = "1"
Signature · 1 line
2.34.1
PATCH 17/47 libpng: upgrade 1.6.43 -> 1.6.44
In reply to [email protected]From: Wang Mingyu <[email protected]>
Changelog:
===========
- Hardened calculations in chroma handling to prevent overflows, and relaxed a constraint in cHRM validation to accomodate the standard ACES AP1 set of color primaries.
- Removed the ASM implementation of ARM Neon optimizations and updated the build accordingly. Only the remaining C implementation shall be used from now on, thus ensuring the support of the PAC/BTI security features on ARM64.
- Fixed the pickup of the PNG_HARDWARE_OPTIMIZATIONS option in the CMake build on FreeBSD/amd64. This is an important performance fix on this platform.
- Applied various fixes and improvements to the CMake build.
- Added fuzzing targets for the simplified read API.
- Fixed a build error involving pngtest.c under a custom config.
- Fixed and improved the config files for AppVeyor CI and Travis CI.
---
.../libpng/{libpng_1.6.43.bb => libpng_1.6.44.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-multimedia/libpng/{libpng_1.6.43.bb => libpng_1.6.44.bb} (92%)meta/recipes-multimedia/libpng/libpng_1.6.44.bb renamed from meta/recipes-multimedia/libpng/libpng_1.6.43.bb +1 -1
@@ -11,7 +11,7 @@ DEPENDS = "zlib" LIBV = "16" SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}${LIBV}/${BP}.tar.xz" -SRC_URI[sha256sum] = "6a5ca0652392a2d7c9db2ae5b40210843c0bbc081cbd410825ab00cc59f14a6c" +SRC_URI[sha256sum] = "60c4da1d5b7f0aa8d158da48e8f8afa9773c1c8baa5d21974df61f1886b8ce8e" MIRRORS += "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}${LIBV}/ ${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}${LIBV}/older-releases/"
Signature · 1 line
2.34.1
PATCH 18/47 liburi-perl: upgrade 5.28 -> 5.29
In reply to [email protected]From: Wang Mingyu <[email protected]>
Changelog:
- Add otpauth URI
---
.../perl/{liburi-perl_5.28.bb => liburi-perl_5.29.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-devtools/perl/{liburi-perl_5.28.bb => liburi-perl_5.29.bb} (94%)meta/recipes-devtools/perl/liburi-perl_5.29.bb renamed from meta/recipes-devtools/perl/liburi-perl_5.28.bb +1 -1
@@ -12,7 +12,7 @@ SRC_URI = "${CPAN_MIRROR}/authors/id/O/OA/OALDERS/URI-${PV}.tar.gz \ file://0001-Skip-TODO-test-cases-that-fail.patch \ " -SRC_URI[sha256sum] = "e7985da359b15efd00917fa720292b711c396f2f9f9a7349e4e7dec74aa79765" +SRC_URI[sha256sum] = "a34b9f626c3ff1e20c0d4a23ec5c8b7ae1de1fb674ecefed7e46791388137372" S = "${WORKDIR}/URI-${PV}"
Signature · 1 line
2.34.1
Re: [OE-core] [PATCH 18/47] liburi-perl: upgrade 5.28 -> 5.29
Quoted 3 lines · wangmy via lists.openembedded.org
Changelog:
- Add otpauth URI
Fails in ptest:
{'liburi-perl': ['t/otpauth']}
Ross
PATCH 19/47 libxi: upgrade 1.8.1 -> 1.8.2
In reply to [email protected]From: Wang Mingyu <[email protected]>
Changelog:
============
- XGetFeedbackControl: skip over unknown feedback controls
- wireTo*Event: check for malloc() failure
- fixed wrong type in man page
- Allow XIFreeDeviceInfo on a null pointer
- gitlab CI: Update to latest CI templates
- Fix double alignment on 32bits machines with strict constraints
---
.../xorg-lib/{libxi_1.8.1.bb => libxi_1.8.2.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-graphics/xorg-lib/{libxi_1.8.1.bb => libxi_1.8.2.bb} (88%)meta/recipes-graphics/xorg-lib/libxi_1.8.2.bb renamed from meta/recipes-graphics/xorg-lib/libxi_1.8.1.bb +1 -1
@@ -18,6 +18,6 @@ PE = "1" XORG_PN = "libXi" XORG_EXT = "tar.xz" -SRC_URI[sha256sum] = "89bfc0e814f288f784202e6e5f9b362b788ccecdeb078670145eacd8749656a7" +SRC_URI[sha256sum] = "d0e0555e53d6e2114eabfa44226ba162d2708501a25e18d99cfb35c094c6c104" BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.34.1
PATCH 20/47 llvm: upgrade 18.1.8 -> 19.1.0
In reply to [email protected]From: Wang Mingyu <[email protected]>
Changelog:
https://releases.llvm.org/19.1.0/docs/ReleaseNotes.html
0002-llvm-Fix-CVE-2024-0151.patch
removed since it's included in 19.1.0
---
.../llvm/0002-llvm-Fix-CVE-2024-0151.patch | 1086 -----------------
.../llvm/{llvm_18.1.8.bb => llvm_19.1.0.bb} | 3 +-
2 files changed, 1 insertion(+), 1088 deletions(-)
delete mode 100644 meta/recipes-devtools/llvm/llvm/0002-llvm-Fix-CVE-2024-0151.patch
rename meta/recipes-devtools/llvm/{llvm_18.1.8.bb => llvm_19.1.0.bb} (97%)meta/recipes-devtools/llvm/llvm/0002-llvm-Fix-CVE-2024-0151.patch deleted +0 -1086
@@ -1,1086 +0,0 @@ -commit 78ff617d3f573fb3a9b2fef180fa0fd43d5584ea -Author: Lucas Duarte Prates <[email protected]> -Date: Thu Jun 20 10:22:01 2024 +0100 - - [ARM] CMSE security mitigation on function arguments and returned values (#89944) - - The ABI mandates two things related to function calls: - - Function arguments must be sign- or zero-extended to the register - size by the caller. - - Return values must be sign- or zero-extended to the register size by - the callee. - - As consequence, callees can assume that function arguments have been - extended and so can callers with regards to return values. - - Here lies the problem: Nonsecure code might deliberately ignore this - mandate with the intent of attempting an exploit. It might try to pass - values that lie outside the expected type's value range in order to - trigger undefined behaviour, e.g. out of bounds access. - - With the mitigation implemented, Secure code always performs extension - of values passed by Nonsecure code. - - This addresses the vulnerability described in CVE-2024-0151. - - Patches by Victor Campos. - - --------- - - Co-authored-by: Victor Campos <[email protected]> - -Upstream-Status: Backport [https://github.com/llvm/llvm-project/commit/78ff617d3f573fb3a9b2fef180fa0fd43d5584ea] -CVE: CVE-2024-0151 -Signed-off-by: Deepthi Hemraj <[email protected]> ---- -diff --git a/llvm/lib/Target/ARM/ARMISelLowering.cpp b/llvm/lib/Target/ARM/ARMISelLowering.cpp -index bfe137b95602..5490c3c9df6c 100644 ---- a/llvm/lib/Target/ARM/ARMISelLowering.cpp -+++ b/llvm/lib/Target/ARM/ARMISelLowering.cpp -@@ -156,6 +156,17 @@ static const MCPhysReg GPRArgRegs[] = { - ARM::R0, ARM::R1, ARM::R2, ARM::R3 - }; - -+static SDValue handleCMSEValue(const SDValue &Value, const ISD::InputArg &Arg, -+ SelectionDAG &DAG, const SDLoc &DL) { -+ assert(Arg.ArgVT.isScalarInteger()); -+ assert(Arg.ArgVT.bitsLT(MVT::i32)); -+ SDValue Trunc = DAG.getNode(ISD::TRUNCATE, DL, Arg.ArgVT, Value); -+ SDValue Ext = -+ DAG.getNode(Arg.Flags.isSExt() ? ISD::SIGN_EXTEND : ISD::ZERO_EXTEND, DL, -+ MVT::i32, Trunc); -+ return Ext; -+} -+ - void ARMTargetLowering::addTypeForNEON(MVT VT, MVT PromotedLdStVT) { - if (VT != PromotedLdStVT) { - setOperationAction(ISD::LOAD, VT, Promote); -@@ -2196,7 +2207,7 @@ SDValue ARMTargetLowering::LowerCallResult( - SDValue Chain, SDValue InGlue, CallingConv::ID CallConv, bool isVarArg, - const SmallVectorImpl<ISD::InputArg> &Ins, const SDLoc &dl, - SelectionDAG &DAG, SmallVectorImpl<SDValue> &InVals, bool isThisReturn, -- SDValue ThisVal) const { -+ SDValue ThisVal, bool isCmseNSCall) const { - // Assign locations to each value returned by this call. - SmallVector<CCValAssign, 16> RVLocs; - CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), RVLocs, -@@ -2274,6 +2285,15 @@ SDValue ARMTargetLowering::LowerCallResult( - (VA.getValVT() == MVT::f16 || VA.getValVT() == MVT::bf16)) - Val = MoveToHPR(dl, DAG, VA.getLocVT(), VA.getValVT(), Val); - -+ // On CMSE Non-secure Calls, call results (returned values) whose bitwidth -+ // is less than 32 bits must be sign- or zero-extended after the call for -+ // security reasons. Although the ABI mandates an extension done by the -+ // callee, the latter cannot be trusted to follow the rules of the ABI. -+ const ISD::InputArg &Arg = Ins[VA.getValNo()]; -+ if (isCmseNSCall && Arg.ArgVT.isScalarInteger() && -+ VA.getLocVT().isScalarInteger() && Arg.ArgVT.bitsLT(MVT::i32)) -+ Val = handleCMSEValue(Val, Arg, DAG, dl); -+ - InVals.push_back(Val); - } - -@@ -2888,7 +2908,7 @@ ARMTargetLowering::LowerCall(TargetLowering::CallLoweringInfo &CLI, - // return. - return LowerCallResult(Chain, InGlue, CallConv, isVarArg, Ins, dl, DAG, - InVals, isThisReturn, -- isThisReturn ? OutVals[0] : SDValue()); -+ isThisReturn ? OutVals[0] : SDValue(), isCmseNSCall); - } - - /// HandleByVal - Every parameter *after* a byval parameter is passed -@@ -4485,8 +4505,6 @@ SDValue ARMTargetLowering::LowerFormalArguments( - *DAG.getContext()); - CCInfo.AnalyzeFormalArguments(Ins, CCAssignFnForCall(CallConv, isVarArg)); - -- SmallVector<SDValue, 16> ArgValues; -- SDValue ArgValue; - Function::const_arg_iterator CurOrigArg = MF.getFunction().arg_begin(); - unsigned CurArgIdx = 0; - -@@ -4541,6 +4559,7 @@ SDValue ARMTargetLowering::LowerFormalArguments( - // Arguments stored in registers. - if (VA.isRegLoc()) { - EVT RegVT = VA.getLocVT(); -+ SDValue ArgValue; - - if (VA.needsCustom() && VA.getLocVT() == MVT::v2f64) { - // f64 and vector types are split up into multiple registers or -@@ -4604,16 +4623,6 @@ SDValue ARMTargetLowering::LowerFormalArguments( - case CCValAssign::BCvt: - ArgValue = DAG.getNode(ISD::BITCAST, dl, VA.getValVT(), ArgValue); - break; -- case CCValAssign::SExt: -- ArgValue = DAG.getNode(ISD::AssertSext, dl, RegVT, ArgValue, -- DAG.getValueType(VA.getValVT())); -- ArgValue = DAG.getNode(ISD::TRUNCATE, dl, VA.getValVT(), ArgValue); -- break; -- case CCValAssign::ZExt: -- ArgValue = DAG.getNode(ISD::AssertZext, dl, RegVT, ArgValue, -- DAG.getValueType(VA.getValVT())); -- ArgValue = DAG.getNode(ISD::TRUNCATE, dl, VA.getValVT(), ArgValue); -- break; - } - - // f16 arguments have their size extended to 4 bytes and passed as if they -@@ -4623,6 +4632,15 @@ SDValue ARMTargetLowering::LowerFormalArguments( - (VA.getValVT() == MVT::f16 || VA.getValVT() == MVT::bf16)) - ArgValue = MoveToHPR(dl, DAG, VA.getLocVT(), VA.getValVT(), ArgValue); - -+ // On CMSE Entry Functions, formal integer arguments whose bitwidth is -+ // less than 32 bits must be sign- or zero-extended in the callee for -+ // security reasons. Although the ABI mandates an extension done by the -+ // caller, the latter cannot be trusted to follow the rules of the ABI. -+ const ISD::InputArg &Arg = Ins[VA.getValNo()]; -+ if (AFI->isCmseNSEntryFunction() && Arg.ArgVT.isScalarInteger() && -+ RegVT.isScalarInteger() && Arg.ArgVT.bitsLT(MVT::i32)) -+ ArgValue = handleCMSEValue(ArgValue, Arg, DAG, dl); -+ - InVals.push_back(ArgValue); - } else { // VA.isRegLoc() - // Only arguments passed on the stack should make it here. -diff --git a/llvm/lib/Target/ARM/ARMISelLowering.h b/llvm/lib/Target/ARM/ARMISelLowering.h -index 62a52bdb03f7..a255e9b6fc36 100644 ---- a/llvm/lib/Target/ARM/ARMISelLowering.h -+++ b/llvm/lib/Target/ARM/ARMISelLowering.h -@@ -891,7 +891,7 @@ class VectorType; - const SmallVectorImpl<ISD::InputArg> &Ins, - const SDLoc &dl, SelectionDAG &DAG, - SmallVectorImpl<SDValue> &InVals, bool isThisReturn, -- SDValue ThisVal) const; -+ SDValue ThisVal, bool isCmseNSCall) const; - - bool supportSplitCSR(MachineFunction *MF) const override { - return MF->getFunction().getCallingConv() == CallingConv::CXX_FAST_TLS && -diff --git a/llvm/test/CodeGen/ARM/cmse-harden-call-returned-values.ll b/llvm/test/CodeGen/ARM/cmse-harden-call-returned-values.ll -new file mode 100644 -index 0000000000..58eef443c25e ---- /dev/null -+++ b/llvm/test/CodeGen/ARM/cmse-harden-call-returned-values.ll -@@ -0,0 +1,552 @@ -+; RUN: llc %s -mtriple=thumbv8m.main -o - | FileCheck %s --check-prefixes V8M-COMMON,V8M-LE -+; RUN: llc %s -mtriple=thumbebv8m.main -o - | FileCheck %s --check-prefixes V8M-COMMON,V8M-BE -+; RUN: llc %s -mtriple=thumbv8.1m.main -o - | FileCheck %s --check-prefixes V81M-COMMON,V81M-LE -+; RUN: llc %s -mtriple=thumbebv8.1m.main -o - | FileCheck %s --check-prefixes V81M-COMMON,V81M-BE -+ -+@get_idx = hidden local_unnamed_addr global ptr null, align 4 -+@arr = hidden local_unnamed_addr global [256 x i32] zeroinitializer, align 4 -+ -+define i32 @access_i16() { -+; V8M-COMMON-LABEL: access_i16: -+; V8M-COMMON: @ %bb.0: @ %entry -+; V8M-COMMON-NEXT: push {r7, lr} -+; V8M-COMMON-NEXT: movw r0, :lower16:get_idx -+; V8M-COMMON-NEXT: movt r0, :upper16:get_idx -+; V8M-COMMON-NEXT: ldr r0, [r0] -+; V8M-COMMON-NEXT: push.w {r4, r5, r6, r7, r8, r9, r10, r11} -+; V8M-COMMON-NEXT: bic r0, r0, #1 -+; V8M-COMMON-NEXT: sub sp, #136 -+; V8M-COMMON-NEXT: vlstm sp, {d0 - d15} -+; V8M-COMMON-NEXT: mov r1, r0 -+; V8M-COMMON-NEXT: mov r2, r0 -+; V8M-COMMON-NEXT: mov r3, r0 -+; V8M-COMMON-NEXT: mov r4, r0 -+; V8M-COMMON-NEXT: mov r5, r0 -+; V8M-COMMON-NEXT: mov r6, r0 -+; V8M-COMMON-NEXT: mov r7, r0 -+; V8M-COMMON-NEXT: mov r8, r0 -+; V8M-COMMON-NEXT: mov r9, r0 -+; V8M-COMMON-NEXT: mov r10, r0 -+; V8M-COMMON-NEXT: mov r11, r0 -+; V8M-COMMON-NEXT: mov r12, r0 -+; V8M-COMMON-NEXT: msr apsr_nzcvq, r0 -+; V8M-COMMON-NEXT: blxns r0 -+; V8M-COMMON-NEXT: vlldm sp, {d0 - d15} -+; V8M-COMMON-NEXT: add sp, #136 -+; V8M-COMMON-NEXT: pop.w {r4, r5, r6, r7, r8, r9, r10, r11} -+; V8M-COMMON-NEXT: movw r1, :lower16:arr -+; V8M-COMMON-NEXT: sxth r0, r0 -+; V8M-COMMON-NEXT: movt r1, :upper16:arr -+; V8M-COMMON-NEXT: ldr.w r0, [r1, r0, lsl #2] -+; V8M-COMMON-NEXT: pop {r7, pc} -+; -+; V81M-COMMON-LABEL: access_i16: -+; V81M-COMMON: @ %bb.0: @ %entry -+; V81M-COMMON-NEXT: push {r7, lr} -+; V81M-COMMON-NEXT: movw r0, :lower16:get_idx -+; V81M-COMMON-NEXT: movt r0, :upper16:get_idx -+; V81M-COMMON-NEXT: ldr r0, [r0] -+; V81M-COMMON-NEXT: push.w {r4, r5, r6, r7, r8, r9, r10, r11} -+; V81M-COMMON-NEXT: bic r0, r0, #1 -+; V81M-COMMON-NEXT: sub sp, #136 -+; V81M-COMMON-NEXT: vlstm sp, {d0 - d15} -+; V81M-COMMON-NEXT: clrm {r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, apsr} -+; V81M-COMMON-NEXT: blxns r0 -+; V81M-COMMON-NEXT: vlldm sp, {d0 - d15} -+; V81M-COMMON-NEXT: add sp, #136 -+; V81M-COMMON-NEXT: pop.w {r4, r5, r6, r7, r8, r9, r10, r11} -+; V81M-COMMON-NEXT: movw r1, :lower16:arr -+; V81M-COMMON-NEXT: sxth r0, r0 -+; V81M-COMMON-NEXT: movt r1, :upper16:arr -+; V81M-COMMON-NEXT: ldr.w r0, [r1, r0, lsl #2] -+; V81M-COMMON-NEXT: pop {r7, pc} -+entry: -+ %0 = load ptr, ptr @get_idx, align 4 -+ %call = tail call signext i16 %0() "cmse_nonsecure_call" -+ %idxprom = sext i16 %call to i32 -+ %arrayidx = getelementptr inbounds [256 x i32], ptr @arr, i32 0, i32 %idxprom -+ %1 = load i32, ptr %arrayidx, align 4 -+ ret i32 %1 -+} -+ -+define i32 @access_u16() { -+; V8M-COMMON-LABEL: access_u16: -+; V8M-COMMON: @ %bb.0: @ %entry -+; V8M-COMMON-NEXT: push {r7, lr} -+; V8M-COMMON-NEXT: movw r0, :lower16:get_idx -+; V8M-COMMON-NEXT: movt r0, :upper16:get_idx -+; V8M-COMMON-NEXT: ldr r0, [r0] -+; V8M-COMMON-NEXT: push.w {r4, r5, r6, r7, r8, r9, r10, r11} -+; V8M-COMMON-NEXT: bic r0, r0, #1 -+; V8M-COMMON-NEXT: sub sp, #136 -+; V8M-COMMON-NEXT: vlstm sp, {d0 - d15} -+; V8M-COMMON-NEXT: mov r1, r0 -+; V8M-COMMON-NEXT: mov r2, r0 -+; V8M-COMMON-NEXT: mov r3, r0 -+; V8M-COMMON-NEXT: mov r4, r0 -+; V8M-COMMON-NEXT: mov r5, r0 -+; V8M-COMMON-NEXT: mov r6, r0 -+; V8M-COMMON-NEXT: mov r7, r0 -+; V8M-COMMON-NEXT: mov r8, r0 -+; V8M-COMMON-NEXT: mov r9, r0 -+; V8M-COMMON-NEXT: mov r10, r0 -+; V8M-COMMON-NEXT: mov r11, r0 -+; V8M-COMMON-NEXT: mov r12, r0 -+; V8M-COMMON-NEXT: msr apsr_nzcvq, r0 -+; V8M-COMMON-NEXT: blxns r0 -+; V8M-COMMON-NEXT: vlldm sp, {d0 - d15} -+; V8M-COMMON-NEXT: add sp, #136 -+; V8M-COMMON-NEXT: pop.w {r4, r5, r6, r7, r8, r9, r10, r11} -+; V8M-COMMON-NEXT: movw r1, :lower16:arr -+; V8M-COMMON-NEXT: uxth r0, r0 -+; V8M-COMMON-NEXT: movt r1, :upper16:arr -+; V8M-COMMON-NEXT: ldr.w r0, [r1, r0, lsl #2] -+; V8M-COMMON-NEXT: pop {r7, pc} -+; -+; V81M-COMMON-LABEL: access_u16: -+; V81M-COMMON: @ %bb.0: @ %entry -+; V81M-COMMON-NEXT: push {r7, lr} -+; V81M-COMMON-NEXT: movw r0, :lower16:get_idx -+; V81M-COMMON-NEXT: movt r0, :upper16:get_idx -+; V81M-COMMON-NEXT: ldr r0, [r0] -+; V81M-COMMON-NEXT: push.w {r4, r5, r6, r7, r8, r9, r10, r11} -+; V81M-COMMON-NEXT: bic r0, r0, #1 -+; V81M-COMMON-NEXT: sub sp, #136 -+; V81M-COMMON-NEXT: vlstm sp, {d0 - d15} -+; V81M-COMMON-NEXT: clrm {r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, apsr} -+; V81M-COMMON-NEXT: blxns r0 -+; V81M-COMMON-NEXT: vlldm sp, {d0 - d15} -+; V81M-COMMON-NEXT: add sp, #136 -+; V81M-COMMON-NEXT: pop.w {r4, r5, r6, r7, r8, r9, r10, r11} -+; V81M-COMMON-NEXT: movw r1, :lower16:arr -+; V81M-COMMON-NEXT: uxth r0, r0 -+; V81M-COMMON-NEXT: movt r1, :upper16:arr -+; V81M-COMMON-NEXT: ldr.w r0, [r1, r0, lsl #2] -+; V81M-COMMON-NEXT: pop {r7, pc} -+entry: -+ %0 = load ptr, ptr @get_idx, align 4 -+ %call = tail call zeroext i16 %0() "cmse_nonsecure_call" -+ %idxprom = zext i16 %call to i32 -+ %arrayidx = getelementptr inbounds [256 x i32], ptr @arr, i32 0, i32 %idxprom -+ %1 = load i32, ptr %arrayidx, align 4 -+ ret i32 %1 -+} -+ -+define i32 @access_i8() { -+; V8M-COMMON-LABEL: access_i8: -+; V8M-COMMON: @ %bb.0: @ %entry -+; V8M-COMMON-NEXT: push {r7, lr} -+; V8M-COMMON-NEXT: movw r0, :lower16:get_idx -+; V8M-COMMON-NEXT: movt r0, :upper16:get_idx -+; V8M-COMMON-NEXT: ldr r0, [r0] -+; V8M-COMMON-NEXT: push.w {r4, r5, r6, r7, r8, r9, r10, r11} -+; V8M-COMMON-NEXT: bic r0, r0, #1 -+; V8M-COMMON-NEXT: sub sp, #136 -+; V8M-COMMON-NEXT: vlstm sp, {d0 - d15} -+; V8M-COMMON-NEXT: mov r1, r0 -+; V8M-COMMON-NEXT: mov r2, r0 -+; V8M-COMMON-NEXT: mov r3, r0 -+; V8M-COMMON-NEXT: mov r4, r0 -+; V8M-COMMON-NEXT: mov r5, r0 -+; V8M-COMMON-NEXT: mov r6, r0 -+; V8M-COMMON-NEXT: mov r7, r0 -+; V8M-COMMON-NEXT: mov r8, r0 -+; V8M-COMMON-NEXT: mov r9, r0 -+; V8M-COMMON-NEXT: mov r10, r0 -+; V8M-COMMON-NEXT: mov r11, r0 -+; V8M-COMMON-NEXT: mov r12, r0 -+; V8M-COMMON-NEXT: msr apsr_nzcvq, r0 -+; V8M-COMMON-NEXT: blxns r0 -+; V8M-COMMON-NEXT: vlldm sp, {d0 - d15} -+; V8M-COMMON-NEXT: add sp, #136 -+; V8M-COMMON-NEXT: pop.w {r4, r5, r6, r7, r8, r9, r10, r11} -+; V8M-COMMON-NEXT: movw r1, :lower16:arr -+; V8M-COMMON-NEXT: sxtb r0, r0 -+; V8M-COMMON-NEXT: movt r1, :upper16:arr -+; V8M-COMMON-NEXT: ldr.w r0, [r1, r0, lsl #2] -+; V8M-COMMON-NEXT: pop {r7, pc} -+; -+; V81M-COMMON-LABEL: access_i8: -+; V81M-COMMON: @ %bb.0: @ %entry -+; V81M-COMMON-NEXT: push {r7, lr} -+; V81M-COMMON-NEXT: movw r0, :lower16:get_idx -+; V81M-COMMON-NEXT: movt r0, :upper16:get_idx -+; V81M-COMMON-NEXT: ldr r0, [r0] -+; V81M-COMMON-NEXT: push.w {r4, r5, r6, r7, r8, r9, r10, r11} -+; V81M-COMMON-NEXT: bic r0, r0, #1 -+; V81M-COMMON-NEXT: sub sp, #136 -+; V81M-COMMON-NEXT: vlstm sp, {d0 - d15} -+; V81M-COMMON-NEXT: clrm {r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, apsr} -+; V81M-COMMON-NEXT: blxns r0 -+; V81M-COMMON-NEXT: vlldm sp, {d0 - d15} -+; V81M-COMMON-NEXT: add sp, #136 -+; V81M-COMMON-NEXT: pop.w {r4, r5, r6, r7, r8, r9, r10, r11} -+; V81M-COMMON-NEXT: movw r1, :lower16:arr -+; V81M-COMMON-NEXT: sxtb r0, r0 -+; V81M-COMMON-NEXT: movt r1, :upper16:arr -+; V81M-COMMON-NEXT: ldr.w r0, [r1, r0, lsl #2] -+; V81M-COMMON-NEXT: pop {r7, pc} -+entry: -+ %0 = load ptr, ptr @get_idx, align 4 -+ %call = tail call signext i8 %0() "cmse_nonsecure_call" -+ %idxprom = sext i8 %call to i32 -+ %arrayidx = getelementptr inbounds [256 x i32], ptr @arr, i32 0, i32 %idxprom -+ %1 = load i32, ptr %arrayidx, align 4 -+ ret i32 %1 -+} -+ -+define i32 @access_u8() { -+; V8M-COMMON-LABEL: access_u8: -+; V8M-COMMON: @ %bb.0: @ %entry -+; V8M-COMMON-NEXT: push {r7, lr} -+; V8M-COMMON-NEXT: movw r0, :lower16:get_idx -+; V8M-COMMON-NEXT: movt r0, :upper16:get_idx -+; V8M-COMMON-NEXT: ldr r0, [r0] -+; V8M-COMMON-NEXT: push.w {r4, r5, r6, r7, r8, r9, r10, r11} -+; V8M-COMMON-NEXT: bic r0, r0, #1 -+; V8M-COMMON-NEXT: sub sp, #136 -+; V8M-COMMON-NEXT: vlstm sp, {d0 - d15} -+; V8M-COMMON-NEXT: mov r1, r0 -+; V8M-COMMON-NEXT: mov r2, r0 -+; V8M-COMMON-NEXT: mov r3, r0 -+; V8M-COMMON-NEXT: mov r4, r0 -+; V8M-COMMON-NEXT: mov r5, r0 -+; V8M-COMMON-NEXT: mov r6, r0 -+; V8M-COMMON-NEXT: mov r7, r0 -+; V8M-COMMON-NEXT: mov r8, r0 -+; V8M-COMMON-NEXT: mov r9, r0 -+; V8M-COMMON-NEXT: mov r10, r0 -+; V8M-COMMON-NEXT: mov r11, r0 -+; V8M-COMMON-NEXT: mov r12, r0 -+; V8M-COMMON-NEXT: msr apsr_nzcvq, r0 -+; V8M-COMMON-NEXT: blxns r0 -+; V8M-COMMON-NEXT: vlldm sp, {d0 - d15} -+; V8M-COMMON-NEXT: add sp, #136 -+; V8M-COMMON-NEXT: pop.w {r4, r5, r6, r7, r8, r9, r10, r11} -+; V8M-COMMON-NEXT: movw r1, :lower16:arr -+; V8M-COMMON-NEXT: uxtb r0, r0 -+; V8M-COMMON-NEXT: movt r1, :upper16:arr -+; V8M-COMMON-NEXT: ldr.w r0, [r1, r0, lsl #2] -+; V8M-COMMON-NEXT: pop {r7, pc} -+; -+; V81M-COMMON-LABEL: access_u8: -+; V81M-COMMON: @ %bb.0: @ %entry -+; V81M-COMMON-NEXT: push {r7, lr} -+; V81M-COMMON-NEXT: movw r0, :lower16:get_idx -+; V81M-COMMON-NEXT: movt r0, :upper16:get_idx -+; V81M-COMMON-NEXT: ldr r0, [r0] -+; V81M-COMMON-NEXT: push.w {r4, r5, r6, r7, r8, r9, r10, r11} -+; V81M-COMMON-NEXT: bic r0, r0, #1 -+; V81M-COMMON-NEXT: sub sp, #136 -+; V81M-COMMON-NEXT: vlstm sp, {d0 - d15} -+; V81M-COMMON-NEXT: clrm {r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, apsr} -+; V81M-COMMON-NEXT: blxns r0 -+; V81M-COMMON-NEXT: vlldm sp, {d0 - d15} -+; V81M-COMMON-NEXT: add sp, #136 -+; V81M-COMMON-NEXT: pop.w {r4, r5, r6, r7, r8, r9, r10, r11} -+; V81M-COMMON-NEXT: movw r1, :lower16:arr -+; V81M-COMMON-NEXT: uxtb r0, r0 -+; V81M-COMMON-NEXT: movt r1, :upper16:arr -+; V81M-COMMON-NEXT: ldr.w r0, [r1, r0, lsl #2] -+; V81M-COMMON-NEXT: pop {r7, pc} -+entry: -+ %0 = load ptr, ptr @get_idx, align 4 -+ %call = tail call zeroext i8 %0() "cmse_nonsecure_call" -+ %idxprom = zext i8 %call to i32 -+ %arrayidx = getelementptr inbounds [256 x i32], ptr @arr, i32 0, i32 %idxprom -+ %1 = load i32, ptr %arrayidx, align 4 -+ ret i32 %1 -+} -+ -+define i32 @access_i1() { -+; V8M-COMMON-LABEL: access_i1: -+; V8M-COMMON: @ %bb.0: @ %entry -+; V8M-COMMON-NEXT: push {r7, lr} -+; V8M-COMMON-NEXT: movw r0, :lower16:get_idx -+; V8M-COMMON-NEXT: movt r0, :upper16:get_idx -+; V8M-COMMON-NEXT: ldr r0, [r0] -+; V8M-COMMON-NEXT: push.w {r4, r5, r6, r7, r8, r9, r10, r11} -+; V8M-COMMON-NEXT: bic r0, r0, #1 -+; V8M-COMMON-NEXT: sub sp, #136 -+; V8M-COMMON-NEXT: vlstm sp, {d0 - d15} -+; V8M-COMMON-NEXT: mov r1, r0 -+; V8M-COMMON-NEXT: mov r2, r0 -+; V8M-COMMON-NEXT: mov r3, r0 -+; V8M-COMMON-NEXT: mov r4, r0 -+; V8M-COMMON-NEXT: mov r5, r0 -+; V8M-COMMON-NEXT: mov r6, r0 -+; V8M-COMMON-NEXT: mov r7, r0 -+; V8M-COMMON-NEXT: mov r8, r0 -+; V8M-COMMON-NEXT: mov r9, r0 -+; V8M-COMMON-NEXT: mov r10, r0 -+; V8M-COMMON-NEXT: mov r11, r0 -+; V8M-COMMON-NEXT: mov r12, r0 -+; V8M-COMMON-NEXT: msr apsr_nzcvq, r0 -+; V8M-COMMON-NEXT: blxns r0 -+; V8M-COMMON-NEXT: vlldm sp, {d0 - d15} -+; V8M-COMMON-NEXT: add sp, #136 -+; V8M-COMMON-NEXT: pop.w {r4, r5, r6, r7, r8, r9, r10, r11} -+; V8M-COMMON-NEXT: movw r1, :lower16:arr -+; V8M-COMMON-NEXT: and r0, r0, #1 -+; V8M-COMMON-NEXT: movt r1, :upper16:arr -+; V8M-COMMON-NEXT: ldr.w r0, [r1, r0, lsl #2] -+; V8M-COMMON-NEXT: pop {r7, pc} -+; -+; V81M-COMMON-LABEL: access_i1: -+; V81M-COMMON: @ %bb.0: @ %entry -+; V81M-COMMON-NEXT: push {r7, lr} -+; V81M-COMMON-NEXT: movw r0, :lower16:get_idx -+; V81M-COMMON-NEXT: movt r0, :upper16:get_idx -+; V81M-COMMON-NEXT: ldr r0, [r0] -+; V81M-COMMON-NEXT: push.w {r4, r5, r6, r7, r8, r9, r10, r11} -+; V81M-COMMON-NEXT: bic r0, r0, #1 -+; V81M-COMMON-NEXT: sub sp, #136 -+; V81M-COMMON-NEXT: vlstm sp, {d0 - d15} -+; V81M-COMMON-NEXT: clrm {r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, apsr} -+; V81M-COMMON-NEXT: blxns r0 -+; V81M-COMMON-NEXT: vlldm sp, {d0 - d15} -+; V81M-COMMON-NEXT: add sp, #136 -+; V81M-COMMON-NEXT: pop.w {r4, r5, r6, r7, r8, r9, r10, r11} -+; V81M-COMMON-NEXT: movw r1, :lower16:arr -+; V81M-COMMON-NEXT: and r0, r0, #1 -+; V81M-COMMON-NEXT: movt r1, :upper16:arr -+; V81M-COMMON-NEXT: ldr.w r0, [r1, r0, lsl #2] -+; V81M-COMMON-NEXT: pop {r7, pc} -+entry: -+ %0 = load ptr, ptr @get_idx, align 4 -+ %call = tail call zeroext i1 %0() "cmse_nonsecure_call" -+ %idxprom = zext i1 %call to i32 -+ %arrayidx = getelementptr inbounds [256 x i32], ptr @arr, i32 0, i32 %idxprom -+ %1 = load i32, ptr %arrayidx, align 4 -+ ret i32 %1 -+} -+ -+define i32 @access_i5() { -+; V8M-COMMON-LABEL: access_i5: -+; V8M-COMMON: @ %bb.0: @ %entry -+; V8M-COMMON-NEXT: push {r7, lr} -+; V8M-COMMON-NEXT: movw r0, :lower16:get_idx -+; V8M-COMMON-NEXT: movt r0, :upper16:get_idx -+; V8M-COMMON-NEXT: ldr r0, [r0] -+; V8M-COMMON-NEXT: push.w {r4, r5, r6, r7, r8, r9, r10, r11} -+; V8M-COMMON-NEXT: bic r0, r0, #1 -+; V8M-COMMON-NEXT: sub sp, #136 -+; V8M-COMMON-NEXT: vlstm sp, {d0 - d15} -+; V8M-COMMON-NEXT: mov r1, r0 -+; V8M-COMMON-NEXT: mov r2, r0 -+; V8M-COMMON-NEXT: mov r3, r0 -+; V8M-COMMON-NEXT: mov r4, r0 -+; V8M-COMMON-NEXT: mov r5, r0 -+; V8M-COMMON-NEXT: mov r6, r0 -+; V8M-COMMON-NEXT: mov r7, r0 -+; V8M-COMMON-NEXT: mov r8, r0 -+; V8M-COMMON-NEXT: mov r9, r0 -+; V8M-COMMON-NEXT: mov r10, r0 -+; V8M-COMMON-NEXT: mov r11, r0 -+; V8M-COMMON-NEXT: mov r12, r0 -+; V8M-COMMON-NEXT: msr apsr_nzcvq, r0 -+; V8M-COMMON-NEXT: blxns r0 -+; V8M-COMMON-NEXT: vlldm sp, {d0 - d15} -+; V8M-COMMON-NEXT: add sp, #136 -+; V8M-COMMON-NEXT: pop.w {r4, r5, r6, r7, r8, r9, r10, r11} -+; V8M-COMMON-NEXT: movw r1, :lower16:arr -+; V8M-COMMON-NEXT: sbfx r0, r0, #0, #5 -+; V8M-COMMON-NEXT: movt r1, :upper16:arr -+; V8M-COMMON-NEXT: ldr.w r0, [r1, r0, lsl #2] -+; V8M-COMMON-NEXT: pop {r7, pc} -+; -+; V81M-COMMON-LABEL: access_i5: -+; V81M-COMMON: @ %bb.0: @ %entry -+; V81M-COMMON-NEXT: push {r7, lr} -+; V81M-COMMON-NEXT: movw r0, :lower16:get_idx -+; V81M-COMMON-NEXT: movt r0, :upper16:get_idx -+; V81M-COMMON-NEXT: ldr r0, [r0] -+; V81M-COMMON-NEXT: push.w {r4, r5, r6, r7, r8, r9, r10, r11} -+; V81M-COMMON-NEXT: bic r0, r0, #1 -+; V81M-COMMON-NEXT: sub sp, #136 -+; V81M-COMMON-NEXT: vlstm sp, {d0 - d15} -+; V81M-COMMON-NEXT: clrm {r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, apsr} -+; V81M-COMMON-NEXT: blxns r0 -+; V81M-COMMON-NEXT: vlldm sp, {d0 - d15} -+; V81M-COMMON-NEXT: add sp, #136 -+; V81M-COMMON-NEXT: pop.w {r4, r5, r6, r7, r8, r9, r10, r11} -+; V81M-COMMON-NEXT: movw r1, :lower16:arr -+; V81M-COMMON-NEXT: sbfx r0, r0, #0, #5 -+; V81M-COMMON-NEXT: movt r1, :upper16:arr -+; V81M-COMMON-NEXT: ldr.w r0, [r1, r0, lsl #2] -+; V81M-COMMON-NEXT: pop {r7, pc} -+entry: -+ %0 = load ptr, ptr @get_idx, align 4 -+ %call = tail call signext i5 %0() "cmse_nonsecure_call" -+ %idxprom = sext i5 %call to i32 -+ %arrayidx = getelementptr inbounds [256 x i32], ptr @arr, i32 0, i32 %idxprom -+ %1 = load i32, ptr %arrayidx, align 4 -+ ret i32 %1 -+} -+ -+define i32 @access_u5() { -+; V8M-COMMON-LABEL: access_u5: -+; V8M-COMMON: @ %bb.0: @ %entry -+; V8M-COMMON-NEXT: push {r7, lr} -+; V8M-COMMON-NEXT: movw r0, :lower16:get_idx -+; V8M-COMMON-NEXT: movt r0, :upper16:get_idx -+; V8M-COMMON-NEXT: ldr r0, [r0] -+; V8M-COMMON-NEXT: push.w {r4, r5, r6, r7, r8, r9, r10, r11} -+; V8M-COMMON-NEXT: bic r0, r0, #1 -+; V8M-COMMON-NEXT: sub sp, #136 -+; V8M-COMMON-NEXT: vlstm sp, {d0 - d15} -+; V8M-COMMON-NEXT: mov r1, r0 -+; V8M-COMMON-NEXT: mov r2, r0 -+; V8M-COMMON-NEXT: mov r3, r0 -+; V8M-COMMON-NEXT: mov r4, r0 -+; V8M-COMMON-NEXT: mov r5, r0 -+; V8M-COMMON-NEXT: mov r6, r0 -+; V8M-COMMON-NEXT: mov r7, r0 -+; V8M-COMMON-NEXT: mov r8, r0 -+; V8M-COMMON-NEXT: mov r9, r0 -+; V8M-COMMON-NEXT: mov r10, r0 -+; V8M-COMMON-NEXT: mov r11, r0 -+; V8M-COMMON-NEXT: mov r12, r0 -+; V8M-COMMON-NEXT: msr apsr_nzcvq, r0 -+; V8M-COMMON-NEXT: blxns r0 -+; V8M-COMMON-NEXT: vlldm sp, {d0 - d15} -+; V8M-COMMON-NEXT: add sp, #136 -+; V8M-COMMON-NEXT: pop.w {r4, r5, r6, r7, r8, r9, r10, r11} -+; V8M-COMMON-NEXT: movw r1, :lower16:arr -+; V8M-COMMON-NEXT: and r0, r0, #31 -+; V8M-COMMON-NEXT: movt r1, :upper16:arr -+; V8M-COMMON-NEXT: ldr.w r0, [r1, r0, lsl #2] -+; V8M-COMMON-NEXT: pop {r7, pc} -+; -+; V81M-COMMON-LABEL: access_u5: -+; V81M-COMMON: @ %bb.0: @ %entry -+; V81M-COMMON-NEXT: push {r7, lr} -+; V81M-COMMON-NEXT: movw r0, :lower16:get_idx -+; V81M-COMMON-NEXT: movt r0, :upper16:get_idx -+; V81M-COMMON-NEXT: ldr r0, [r0] -+; V81M-COMMON-NEXT: push.w {r4, r5, r6, r7, r8, r9, r10, r11} -+; V81M-COMMON-NEXT: bic r0, r0, #1 -+; V81M-COMMON-NEXT: sub sp, #136 -+; V81M-COMMON-NEXT: vlstm sp, {d0 - d15} -+; V81M-COMMON-NEXT: clrm {r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, apsr} -+; V81M-COMMON-NEXT: blxns r0 -+; V81M-COMMON-NEXT: vlldm sp, {d0 - d15} -+; V81M-COMMON-NEXT: add sp, #136 -+; V81M-COMMON-NEXT: pop.w {r4, r5, r6, r7, r8, r9, r10, r11} -+; V81M-COMMON-NEXT: movw r1, :lower16:arr -+; V81M-COMMON-NEXT: and r0, r0, #31 -+; V81M-COMMON-NEXT: movt r1, :upper16:arr -+; V81M-COMMON-NEXT: ldr.w r0, [r1, r0, lsl #2] -+; V81M-COMMON-NEXT: pop {r7, pc} -+entry: -+ %0 = load ptr, ptr @get_idx, align 4 -+ %call = tail call zeroext i5 %0() "cmse_nonsecure_call" -+ %idxprom = zext i5 %call to i32 -+ %arrayidx = getelementptr inbounds [256 x i32], ptr @arr, i32 0, i32 %idxprom -+ %1 = load i32, ptr %arrayidx, align 4 -+ ret i32 %1 -+} -+ -+define i32 @access_i33(ptr %f) { -+; V8M-COMMON-LABEL: access_i33: -+; V8M-COMMON: @ %bb.0: @ %entry -+; V8M-COMMON-NEXT: push {r7, lr} -+; V8M-COMMON-NEXT: push.w {r4, r5, r6, r7, r8, r9, r10, r11} -+; V8M-COMMON-NEXT: bic r0, r0, #1 -+; V8M-COMMON-NEXT: sub sp, #136 -+; V8M-COMMON-NEXT: vlstm sp, {d0 - d15} -+; V8M-COMMON-NEXT: mov r1, r0 -+; V8M-COMMON-NEXT: mov r2, r0 -+; V8M-COMMON-NEXT: mov r3, r0 -+; V8M-COMMON-NEXT: mov r4, r0 -+; V8M-COMMON-NEXT: mov r5, r0 -+; V8M-COMMON-NEXT: mov r6, r0 -+; V8M-COMMON-NEXT: mov r7, r0 -+; V8M-COMMON-NEXT: mov r8, r0 -+; V8M-COMMON-NEXT: mov r9, r0 -+; V8M-COMMON-NEXT: mov r10, r0 -+; V8M-COMMON-NEXT: mov r11, r0 -+; V8M-COMMON-NEXT: mov r12, r0 -+; V8M-COMMON-NEXT: msr apsr_nzcvq, r0 -+; V8M-COMMON-NEXT: blxns r0 -+; V8M-COMMON-NEXT: vlldm sp, {d0 - d15} -+; V8M-COMMON-NEXT: add sp, #136 -+; V8M-COMMON-NEXT: pop.w {r4, r5, r6, r7, r8, r9, r10, r11} -+; V8M-LE-NEXT: and r0, r1, #1 -+; V8M-BE-NEXT: and r0, r0, #1 -+; V8M-COMMON-NEXT: rsb.w r0, r0, #0 -+; V8M-COMMON-NEXT: pop {r7, pc} -+; -+; V81M-COMMON-LABEL: access_i33: -+; V81M-COMMON: @ %bb.0: @ %entry -+; V81M-COMMON-NEXT: push {r7, lr} -+; V81M-COMMON-NEXT: push.w {r4, r5, r6, r7, r8, r9, r10, r11} -+; V81M-COMMON-NEXT: bic r0, r0, #1 -+; V81M-COMMON-NEXT: sub sp, #136 -+; V81M-COMMON-NEXT: vlstm sp, {d0 - d15} -+; V81M-COMMON-NEXT: clrm {r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, apsr} -+; V81M-COMMON-NEXT: blxns r0 -+; V81M-COMMON-NEXT: vlldm sp, {d0 - d15} -+; V81M-COMMON-NEXT: add sp, #136 -+; V81M-COMMON-NEXT: pop.w {r4, r5, r6, r7, r8, r9, r10, r11} -+; V81M-LE-NEXT: and r0, r1, #1 -+; V81M-BE-NEXT: and r0, r0, #1 -+; V81M-COMMON-NEXT: rsb.w r0, r0, #0 -+; V81M-COMMON-NEXT: pop {r7, pc} -+entry: -+ %call = tail call i33 %f() "cmse_nonsecure_call" -+ %shr = ashr i33 %call, 32 -+ %conv = trunc nsw i33 %shr to i32 -+ ret i32 %conv -+} -+ -+define i32 @access_u33(ptr %f) { -+; V8M-COMMON-LABEL: access_u33: -+; V8M-COMMON: @ %bb.0: @ %entry -+; V8M-COMMON-NEXT: push {r7, lr} -+; V8M-COMMON-NEXT: push.w {r4, r5, r6, r7, r8, r9, r10, r11} -+; V8M-COMMON-NEXT: bic r0, r0, #1 -+; V8M-COMMON-NEXT: sub sp, #136 -+; V8M-COMMON-NEXT: vlstm sp, {d0 - d15} -+; V8M-COMMON-NEXT: mov r1, r0 -+; V8M-COMMON-NEXT: mov r2, r0 -+; V8M-COMMON-NEXT: mov r3, r0 -+; V8M-COMMON-NEXT: mov r4, r0 -+; V8M-COMMON-NEXT: mov r5, r0 -+; V8M-COMMON-NEXT: mov r6, r0 -+; V8M-COMMON-NEXT: mov r7, r0 -+; V8M-COMMON-NEXT: mov r8, r0 -+; V8M-COMMON-NEXT: mov r9, r0 -+; V8M-COMMON-NEXT: mov r10, r0 -+; V8M-COMMON-NEXT: mov r11, r0 -+; V8M-COMMON-NEXT: mov r12, r0 -+; V8M-COMMON-NEXT: msr apsr_nzcvq, r0 -+; V8M-COMMON-NEXT: blxns r0 -+; V8M-COMMON-NEXT: vlldm sp, {d0 - d15} -+; V8M-COMMON-NEXT: add sp, #136 -+; V8M-COMMON-NEXT: pop.w {r4, r5, r6, r7, r8, r9, r10, r11} -+; V8M-LE-NEXT: and r0, r1, #1 -+; V8M-BE-NEXT: and r0, r0, #1 -+; V8M-COMMON-NEXT: pop {r7, pc} -+; -+; V81M-COMMON-LABEL: access_u33: -+; V81M-COMMON: @ %bb.0: @ %entry -+; V81M-COMMON-NEXT: push {r7, lr} -+; V81M-COMMON-NEXT: push.w {r4, r5, r6, r7, r8, r9, r10, r11} -+; V81M-COMMON-NEXT: bic r0, r0, #1 -+; V81M-COMMON-NEXT: sub sp, #136 -+; V81M-COMMON-NEXT: vlstm sp, {d0 - d15} -+; V81M-COMMON-NEXT: clrm {r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, apsr} -+; V81M-COMMON-NEXT: blxns r0 -+; V81M-COMMON-NEXT: vlldm sp, {d0 - d15} -+; V81M-COMMON-NEXT: add sp, #136 -+; V81M-COMMON-NEXT: pop.w {r4, r5, r6, r7, r8, r9, r10, r11} -+; V81M-LE-NEXT: and r0, r1, #1 -+; V81M-BE-NEXT: and r0, r0, #1 -+; V81M-COMMON-NEXT: pop {r7, pc} -+entry: -+ %call = tail call i33 %f() "cmse_nonsecure_call" -+ %shr = lshr i33 %call, 32 -+ %conv = trunc nuw nsw i33 %shr to i32 -+ ret i32 %conv -+} -diff --git a/llvm/test/CodeGen/ARM/cmse-harden-entry-arguments.ll b/llvm/test/CodeGen/ARM/cmse-harden-entry-arguments.ll -new file mode 100644 -index 0000000000..c66ab00566dd ---- /dev/null -+++ b/llvm/test/CodeGen/ARM/cmse-harden-entry-arguments.ll -@@ -0,0 +1,368 @@ -+; RUN: llc %s -mtriple=thumbv8m.main -o - | FileCheck %s --check-prefixes V8M-COMMON,V8M-LE -+; RUN: llc %s -mtriple=thumbebv8m.main -o - | FileCheck %s --check-prefixes V8M-COMMON,V8M-BE -+; RUN: llc %s -mtriple=thumbv8.1m.main -o - | FileCheck %s --check-prefixes V81M-COMMON,V81M-LE -+; RUN: llc %s -mtriple=thumbebv8.1m.main -o - | FileCheck %s --check-prefixes V81M-COMMON,V81M-BE -+ -+@arr = hidden local_unnamed_addr global [256 x i32] zeroinitializer, align 4 -+ -+define i32 @access_i16(i16 signext %idx) "cmse_nonsecure_entry" { -+; V8M-COMMON-LABEL: access_i16: -+; V8M-COMMON: @ %bb.0: @ %entry -+; V8M-COMMON-NEXT: movw r1, :lower16:arr -+; V8M-COMMON-NEXT: sxth r0, r0 -+; V8M-COMMON-NEXT: movt r1, :upper16:arr -+; V8M-COMMON-NEXT: mov r2, lr -+; V8M-COMMON-NEXT: ldr.w r0, [r1, r0, lsl #2] -+; V8M-COMMON-NEXT: mov r1, lr -+; V8M-COMMON-NEXT: mov r3, lr -+; V8M-COMMON-NEXT: msr apsr_nzcvq, lr -+; V8M-COMMON-NEXT: mov r12, lr -+; V8M-COMMON-NEXT: bxns lr -+; -+; V81M-COMMON-LABEL: access_i16: -+; V81M-COMMON: @ %bb.0: @ %entry -+; V81M-COMMON-NEXT: vstr fpcxtns, [sp, #-4]! -+; V81M-COMMON-NEXT: movw r1, :lower16:arr -+; V81M-COMMON-NEXT: sxth r0, r0 -+; V81M-COMMON-NEXT: movt r1, :upper16:arr -+; V81M-COMMON-NEXT: ldr.w r0, [r1, r0, lsl #2] -+; V81M-COMMON-NEXT: vscclrm {s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, s13, s14, s15, vpr} -+; V81M-COMMON-NEXT: vldr fpcxtns, [sp], #4 -+; V81M-COMMON-NEXT: clrm {r1, r2, r3, r12, apsr} -+; V81M-COMMON-NEXT: bxns lr -+entry: -+ %idxprom = sext i16 %idx to i32 -+ %arrayidx = getelementptr inbounds [256 x i32], ptr @arr, i32 0, i32 %idxprom -+ %0 = load i32, ptr %arrayidx, align 4 -+ ret i32 %0 -+} -+ -+define i32 @access_u16(i16 zeroext %idx) "cmse_nonsecure_entry" { -+; V8M-COMMON-LABEL: access_u16: -+; V8M-COMMON: @ %bb.0: @ %entry -+; V8M-COMMON-NEXT: movw r1, :lower16:arr -+; V8M-COMMON-NEXT: uxth r0, r0 -+; V8M-COMMON-NEXT: movt r1, :upper16:arr -+; V8M-COMMON-NEXT: mov r2, lr -+; V8M-COMMON-NEXT: ldr.w r0, [r1, r0, lsl #2] -+; V8M-COMMON-NEXT: mov r1, lr -+; V8M-COMMON-NEXT: mov r3, lr -+; V8M-COMMON-NEXT: msr apsr_nzcvq, lr -+; V8M-COMMON-NEXT: mov r12, lr -+; V8M-COMMON-NEXT: bxns lr -+; -+; V81M-COMMON-LABEL: access_u16: -+; V81M-COMMON: @ %bb.0: @ %entry -+; V81M-COMMON-NEXT: vstr fpcxtns, [sp, #-4]! -+; V81M-COMMON-NEXT: movw r1, :lower16:arr -+; V81M-COMMON-NEXT: uxth r0, r0 -+; V81M-COMMON-NEXT: movt r1, :upper16:arr -+; V81M-COMMON-NEXT: ldr.w r0, [r1, r0, lsl #2] -+; V81M-COMMON-NEXT: vscclrm {s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, s13, s14, s15, vpr} -+; V81M-COMMON-NEXT: vldr fpcxtns, [sp], #4 -+; V81M-COMMON-NEXT: clrm {r1, r2, r3, r12, apsr} -+; V81M-COMMON-NEXT: bxns lr -+entry: -+ %idxprom = zext i16 %idx to i32 -+ %arrayidx = getelementptr inbounds [256 x i32], ptr @arr, i32 0, i32 %idxprom -+ %0 = load i32, ptr %arrayidx, align 4 -+ ret i32 %0 -+} -+ -+define i32 @access_i8(i8 signext %idx) "cmse_nonsecure_entry" { -+; V8M-COMMON-LABEL: access_i8: -+; V8M-COMMON: @ %bb.0: @ %entry -+; V8M-COMMON-NEXT: movw r1, :lower16:arr -+; V8M-COMMON-NEXT: sxtb r0, r0 -+; V8M-COMMON-NEXT: movt r1, :upper16:arr -+; V8M-COMMON-NEXT: mov r2, lr -+; V8M-COMMON-NEXT: ldr.w r0, [r1, r0, lsl #2] -+; V8M-COMMON-NEXT: mov r1, lr -+; V8M-COMMON-NEXT: mov r3, lr -+; V8M-COMMON-NEXT: msr apsr_nzcvq, lr -+; V8M-COMMON-NEXT: mov r12, lr -+; V8M-COMMON-NEXT: bxns lr -+; -+; V81M-COMMON-LABEL: access_i8: -+; V81M-COMMON: @ %bb.0: @ %entry -+; V81M-COMMON-NEXT: vstr fpcxtns, [sp, #-4]! -+; V81M-COMMON-NEXT: movw r1, :lower16:arr -+; V81M-COMMON-NEXT: sxtb r0, r0 -+; V81M-COMMON-NEXT: movt r1, :upper16:arr -+; V81M-COMMON-NEXT: ldr.w r0, [r1, r0, lsl #2] -+; V81M-COMMON-NEXT: vscclrm {s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, s13, s14, s15, vpr} -+; V81M-COMMON-NEXT: vldr fpcxtns, [sp], #4 -+; V81M-COMMON-NEXT: clrm {r1, r2, r3, r12, apsr} -+; V81M-COMMON-NEXT: bxns lr -+entry: -+ %idxprom = sext i8 %idx to i32 -+ %arrayidx = getelementptr inbounds [256 x i32], ptr @arr, i32 0, i32 %idxprom -+ %0 = load i32, ptr %arrayidx, align 4 -+ ret i32 %0 -+} -+ -+define i32 @access_u8(i8 zeroext %idx) "cmse_nonsecure_entry" { -+; V8M-COMMON-LABEL: access_u8: -+; V8M-COMMON: @ %bb.0: @ %entry -+; V8M-COMMON-NEXT: movw r1, :lower16:arr -+; V8M-COMMON-NEXT: uxtb r0, r0 -+; V8M-COMMON-NEXT: movt r1, :upper16:arr -+; V8M-COMMON-NEXT: mov r2, lr -+; V8M-COMMON-NEXT: ldr.w r0, [r1, r0, lsl #2] -+; V8M-COMMON-NEXT: mov r1, lr -+; V8M-COMMON-NEXT: mov r3, lr -+; V8M-COMMON-NEXT: msr apsr_nzcvq, lr -+; V8M-COMMON-NEXT: mov r12, lr -+; V8M-COMMON-NEXT: bxns lr -+; -+; V81M-COMMON-LABEL: access_u8: -+; V81M-COMMON: @ %bb.0: @ %entry -+; V81M-COMMON-NEXT: vstr fpcxtns, [sp, #-4]! -+; V81M-COMMON-NEXT: movw r1, :lower16:arr -+; V81M-COMMON-NEXT: uxtb r0, r0 -+; V81M-COMMON-NEXT: movt r1, :upper16:arr -+; V81M-COMMON-NEXT: ldr.w r0, [r1, r0, lsl #2] -+; V81M-COMMON-NEXT: vscclrm {s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, s13, s14, s15, vpr} -+; V81M-COMMON-NEXT: vldr fpcxtns, [sp], #4 -+; V81M-COMMON-NEXT: clrm {r1, r2, r3, r12, apsr} -+; V81M-COMMON-NEXT: bxns lr -+entry: -+ %idxprom = zext i8 %idx to i32 -+ %arrayidx = getelementptr inbounds [256 x i32], ptr @arr, i32 0, i32 %idxprom -+ %0 = load i32, ptr %arrayidx, align 4 -+ ret i32 %0 -+} -+ -+define i32 @access_i1(i1 signext %idx) "cmse_nonsecure_entry" { -+; V8M-COMMON-LABEL: access_i1: -+; V8M-COMMON: @ %bb.0: @ %entry -+; V8M-COMMON-NEXT: and r0, r0, #1 -+; V8M-COMMON-NEXT: movw r1, :lower16:arr -+; V8M-COMMON-NEXT: rsbs r0, r0, #0 -+; V8M-COMMON-NEXT: movt r1, :upper16:arr -+; V8M-COMMON-NEXT: and r0, r0, #1 -+; V8M-COMMON-NEXT: mov r2, lr -+; V8M-COMMON-NEXT: mov r3, lr -+; V8M-COMMON-NEXT: mov r12, lr -+; V8M-COMMON-NEXT: ldr.w r0, [r1, r0, lsl #2] -+; V8M-COMMON-NEXT: mov r1, lr -+; V8M-COMMON-NEXT: msr apsr_nzcvq, lr -+; V8M-COMMON-NEXT: bxns lr -+; -+; V81M-COMMON-LABEL: access_i1: -+; V81M-COMMON: @ %bb.0: @ %entry -+; V81M-COMMON-NEXT: vstr fpcxtns, [sp, #-4]! -+; V81M-COMMON-NEXT: and r0, r0, #1 -+; V81M-COMMON-NEXT: movw r1, :lower16:arr -+; V81M-COMMON-NEXT: rsbs r0, r0, #0 -+; V81M-COMMON-NEXT: movt r1, :upper16:arr -+; V81M-COMMON-NEXT: and r0, r0, #1 -+; V81M-COMMON-NEXT: ldr.w r0, [r1, r0, lsl #2] -+; V81M-COMMON-NEXT: vscclrm {s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, s13, s14, s15, vpr} -+; V81M-COMMON-NEXT: vldr fpcxtns, [sp], #4 -+; V81M-COMMON-NEXT: clrm {r1, r2, r3, r12, apsr} -+; V81M-COMMON-NEXT: bxns lr -+entry: -+ %idxprom = zext i1 %idx to i32 -+ %arrayidx = getelementptr inbounds [256 x i32], ptr @arr, i32 0, i32 %idxprom -+ %0 = load i32, ptr %arrayidx, align 4 -+ ret i32 %0 -+} -+ -+define i32 @access_i5(i5 signext %idx) "cmse_nonsecure_entry" { -+; V8M-COMMON-LABEL: access_i5: -+; V8M-COMMON: @ %bb.0: @ %entry -+; V8M-COMMON-NEXT: movw r1, :lower16:arr -+; V8M-COMMON-NEXT: sbfx r0, r0, #0, #5 -+; V8M-COMMON-NEXT: movt r1, :upper16:arr -+; V8M-COMMON-NEXT: mov r2, lr -+; V8M-COMMON-NEXT: ldr.w r0, [r1, r0, lsl #2] -+; V8M-COMMON-NEXT: mov r1, lr -+; V8M-COMMON-NEXT: mov r3, lr -+; V8M-COMMON-NEXT: msr apsr_nzcvq, lr -+; V8M-COMMON-NEXT: mov r12, lr -+; V8M-COMMON-NEXT: bxns lr -+; -+; V81M-COMMON-LABEL: access_i5: -+; V81M-COMMON: @ %bb.0: @ %entry -+; V81M-COMMON-NEXT: vstr fpcxtns, [sp, #-4]! -+; V81M-COMMON-NEXT: movw r1, :lower16:arr -+; V81M-COMMON-NEXT: sbfx r0, r0, #0, #5 -+; V81M-COMMON-NEXT: movt r1, :upper16:arr -+; V81M-COMMON-NEXT: ldr.w r0, [r1, r0, lsl #2] -+; V81M-COMMON-NEXT: vscclrm {s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, s13, s14, s15, vpr} -+; V81M-COMMON-NEXT: vldr fpcxtns, [sp], #4 -+; V81M-COMMON-NEXT: clrm {r1, r2, r3, r12, apsr} -+; V81M-COMMON-NEXT: bxns lr -+entry: -+ %idxprom = sext i5 %idx to i32 -+ %arrayidx = getelementptr inbounds [256 x i32], ptr @arr, i32 0, i32 %idxprom -+ %0 = load i32, ptr %arrayidx, align 4 -+ ret i32 %0 -+} -+ -+define i32 @access_u5(i5 zeroext %idx) "cmse_nonsecure_entry" { -+; V8M-COMMON-LABEL: access_u5: -+; V8M-COMMON: @ %bb.0: @ %entry -+; V8M-COMMON-NEXT: movw r1, :lower16:arr -+; V8M-COMMON-NEXT: and r0, r0, #31 -+; V8M-COMMON-NEXT: movt r1, :upper16:arr -+; V8M-COMMON-NEXT: mov r2, lr -+; V8M-COMMON-NEXT: ldr.w r0, [r1, r0, lsl #2] -+; V8M-COMMON-NEXT: mov r1, lr -+; V8M-COMMON-NEXT: mov r3, lr -+; V8M-COMMON-NEXT: msr apsr_nzcvq, lr -+; V8M-COMMON-NEXT: mov r12, lr -+; V8M-COMMON-NEXT: bxns lr -+; -+; V81M-COMMON-LABEL: access_u5: -+; V81M-COMMON: @ %bb.0: @ %entry -+; V81M-COMMON-NEXT: vstr fpcxtns, [sp, #-4]! -+; V81M-COMMON-NEXT: movw r1, :lower16:arr -+; V81M-COMMON-NEXT: and r0, r0, #31 -+; V81M-COMMON-NEXT: movt r1, :upper16:arr -+; V81M-COMMON-NEXT: ldr.w r0, [r1, r0, lsl #2] -+; V81M-COMMON-NEXT: vscclrm {s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, s13, s14, s15, vpr} -+; V81M-COMMON-NEXT: vldr fpcxtns, [sp], #4 -+; V81M-COMMON-NEXT: clrm {r1, r2, r3, r12, apsr} -+; V81M-COMMON-NEXT: bxns lr -+entry: -+ %idxprom = zext i5 %idx to i32 -+ %arrayidx = getelementptr inbounds [256 x i32], ptr @arr, i32 0, i32 %idxprom -+ %0 = load i32, ptr %arrayidx, align 4 -+ ret i32 %0 -+} -+ -+define i32 @access_i33(i33 %arg) "cmse_nonsecure_entry" { -+; V8M-COMMON-LABEL: access_i33: -+; V8M-COMMON: @ %bb.0: @ %entry -+; V8M-LE-NEXT: and r0, r1, #1 -+; V8M-BE-NEXT: and r0, r0, #1 -+; V8M-COMMON-NEXT: mov r1, lr -+; V8M-COMMON-NEXT: rsbs r0, r0, #0 -+; V8M-COMMON-NEXT: mov r2, lr -+; V8M-COMMON-NEXT: mov r3, lr -+; V8M-COMMON-NEXT: mov r12, lr -+; V8M-COMMON-NEXT: msr apsr_nzcvq, lr -+; V8M-COMMON-NEXT: bxns lr -+; -+; V81M-COMMON-LABEL: access_i33: -+; V81M-COMMON: @ %bb.0: @ %entry -+; V81M-COMMON-NEXT: vstr fpcxtns, [sp, #-4]! -+; V81M-LE-NEXT: and r0, r1, #1 -+; V81M-BE-NEXT: and r0, r0, #1 -+; V81M-COMMON-NEXT: vscclrm {s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, s13, s14, s15, vpr} -+; V81M-COMMON-NEXT: rsbs r0, r0, #0 -+; V81M-COMMON-NEXT: vldr fpcxtns, [sp], #4 -+; V81M-COMMON-NEXT: clrm {r1, r2, r3, r12, apsr} -+; V81M-COMMON-NEXT: bxns lr -+entry: -+ %shr = ashr i33 %arg, 32 -+ %conv = trunc nsw i33 %shr to i32 -+ ret i32 %conv -+} -+ -+define i32 @access_u33(i33 %arg) "cmse_nonsecure_entry" { -+; V8M-COMMON-LABEL: access_u33: -+; V8M-COMMON: @ %bb.0: @ %entry -+; V8M-LE-NEXT: and r0, r1, #1 -+; V8M-BE-NEXT: and r0, r0, #1 -+; V8M-COMMON-NEXT: mov r1, lr -+; V8M-COMMON-NEXT: mov r2, lr -+; V8M-COMMON-NEXT: mov r3, lr -+; V8M-COMMON-NEXT: mov r12, lr -+; V8M-COMMON-NEXT: msr apsr_nzcvq, lr -+; V8M-COMMON-NEXT: bxns lr -+; -+; V81M-COMMON-LABEL: access_u33: -+; V81M-COMMON: @ %bb.0: @ %entry -+; V81M-COMMON-NEXT: vstr fpcxtns, [sp, #-4]! -+; V81M-LE-NEXT: and r0, r1, #1 -+; V81M-BE-NEXT: and r0, r0, #1 -+; V81M-COMMON-NEXT: vscclrm {s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, s13, s14, s15, vpr} -+; V81M-COMMON-NEXT: vldr fpcxtns, [sp], #4 -+; V81M-COMMON-NEXT: clrm {r1, r2, r3, r12, apsr} -+; V81M-COMMON-NEXT: bxns lr -+entry: -+ %shr = lshr i33 %arg, 32 -+ %conv = trunc nuw nsw i33 %shr to i32 -+ ret i32 %conv -+} -+ -+define i32 @access_i65(ptr byval(i65) %0) "cmse_nonsecure_entry" { -+; V8M-COMMON-LABEL: access_i65: -+; V8M-COMMON: @ %bb.0: @ %entry -+; V8M-COMMON-NEXT: sub sp, #16 -+; V8M-COMMON-NEXT: stm.w sp, {r0, r1, r2, r3} -+; V8M-LE-NEXT: ldrb.w r0, [sp, #8] -+; V8M-LE-NEXT: and r0, r0, #1 -+; V8M-LE-NEXT: rsbs r0, r0, #0 -+; V8M-BE-NEXT: movs r1, #0 -+; V8M-BE-NEXT: sub.w r0, r1, r0, lsr #24 -+; V8M-COMMON-NEXT: add sp, #16 -+; V8M-COMMON-NEXT: mov r1, lr -+; V8M-COMMON-NEXT: mov r2, lr -+; V8M-COMMON-NEXT: mov r3, lr -+; V8M-COMMON-NEXT: mov r12, lr -+; V8M-COMMON-NEXT: msr apsr_nzcvq, lr -+; V8M-COMMON-NEXT: bxns lr -+; -+; V81M-COMMON-LABEL: access_i65: -+; V81M-COMMON: @ %bb.0: @ %entry -+; V81M-COMMON-NEXT: vstr fpcxtns, [sp, #-4]! -+; V81M-COMMON-NEXT: sub sp, #16 -+; V81M-COMMON-NEXT: add sp, #4 -+; V81M-COMMON-NEXT: stm.w sp, {r0, r1, r2, r3} -+; V81M-LE-NEXT: ldrb.w r0, [sp, #8] -+; V81M-LE-NEXT: and r0, r0, #1 -+; V81M-LE-NEXT: rsbs r0, r0, #0 -+; V81M-BE-NEXT: movs r1, #0 -+; V81M-BE-NEXT: sub.w r0, r1, r0, lsr #24 -+; V81M-COMMON-NEXT: sub sp, #4 -+; V81M-COMMON-NEXT: add sp, #16 -+; V81M-COMMON-NEXT: vscclrm {s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, s13, s14, s15, vpr} -+; V81M-COMMON-NEXT: vldr fpcxtns, [sp], #4 -+; V81M-COMMON-NEXT: clrm {r1, r2, r3, r12, apsr} -+; V81M-COMMON-NEXT: bxns lr -+entry: -+ %arg = load i65, ptr %0, align 8 -+ %shr = ashr i65 %arg, 64 -+ %conv = trunc nsw i65 %shr to i32 -+ ret i32 %conv -+} -+ -+define i32 @access_u65(ptr byval(i65) %0) "cmse_nonsecure_entry" { -+; V8M-COMMON-LABEL: access_u65: -+; V8M-COMMON: @ %bb.0: @ %entry -+; V8M-COMMON-NEXT: sub sp, #16 -+; V8M-COMMON-NEXT: stm.w sp, {r0, r1, r2, r3} -+; V8M-LE-NEXT: ldrb.w r0, [sp, #8] -+; V8M-BE-NEXT: lsrs r0, r0, #24 -+; V8M-COMMON-NEXT: add sp, #16 -+; V8M-COMMON-NEXT: mov r1, lr -+; V8M-COMMON-NEXT: mov r2, lr -+; V8M-COMMON-NEXT: mov r3, lr -+; V8M-COMMON-NEXT: mov r12, lr -+; V8M-COMMON-NEXT: msr apsr_nzcvq, lr -+; V8M-COMMON-NEXT: bxns lr -+; -+; V81M-COMMON-LABEL: access_u65: -+; V81M-COMMON: @ %bb.0: @ %entry -+; V81M-COMMON-NEXT: vstr fpcxtns, [sp, #-4]! -+; V81M-COMMON-NEXT: sub sp, #16 -+; V81M-COMMON-NEXT: add sp, #4 -+; V81M-COMMON-NEXT: stm.w sp, {r0, r1, r2, r3} -+; V81M-LE-NEXT: ldrb.w r0, [sp, #8] -+; V81M-BE-NEXT: lsrs r0, r0, #24 -+; V81M-COMMON-NEXT: sub sp, #4 -+; V81M-COMMON-NEXT: add sp, #16 -+; V81M-COMMON-NEXT: vscclrm {s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, s13, s14, s15, vpr} -+; V81M-COMMON-NEXT: vldr fpcxtns, [sp], #4 -+; V81M-COMMON-NEXT: clrm {r1, r2, r3, r12, apsr} -+; V81M-COMMON-NEXT: bxns lr -+entry: -+ %arg = load i65, ptr %0, align 8 -+ %shr = lshr i65 %arg, 64 -+ %conv = trunc nuw nsw i65 %shr to i32 -+ ret i32 %conv -+}
meta/recipes-devtools/llvm/llvm_19.1.0.bb renamed from meta/recipes-devtools/llvm/llvm_18.1.8.bb +1 -2
@@ -25,10 +25,9 @@ LLVM_RELEASE = "${PV}" SRC_URI = "https://github.com/llvm/llvm-project/releases/download/llvmorg-${PV}/llvm-project-${PV}.src.tar.xz \ file://0007-llvm-allow-env-override-of-exe-path.patch;striplevel=2 \ file://0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch;striplevel=2 \ - file://0002-llvm-Fix-CVE-2024-0151.patch;striplevel=2 \ file://llvm-config \ " -SRC_URI[sha256sum] = "0b58557a6d32ceee97c8d533a59b9212d87e0fc4d2833924eb6c611247db2f2a" +SRC_URI[sha256sum] = "5042522b49945bc560ff9206f25fb87980a9b89b914193ca00d961511ff0673c" UPSTREAM_CHECK_URI = "https://github.com/llvm/llvm-project" UPSTREAM_CHECK_REGEX = "llvmorg-(?P<pver>\d+(\.\d+)+)"
Signature · 1 line
2.34.1
PATCH 21/47 meson: upgrade 1.5.1 -> 1.5.2
In reply to [email protected]From: Wang Mingyu <[email protected]>
0001-Make-CPU-family-warnings-fatal.patch
refreshed for 1.5.2
Changelog:
============
- nasm: Use different test sources for x86 and x86_64
- mdist: correctly detect dirty hg repos with non-English locale, redux
- backend/ninja: Generate sysroot in rust-project.json
- mdist: detect pathological git repo cases and show a slightly better error
- compilers: Pass mode to determine_args, not its string value
- CI: mark arch as skipping frameworks/libgcrypt
- When configuring fails in Github Actions, print folded logs
- Prevent raw exception during project()
- compilers: avoid -Wunused-value compiler warning in CLikeCompiler.has_type()
- compilers: avoid -Wunused-value compiler warning in CLikeCompiler.has_members()
- mformat: better handling of continuation lines
- mformat: detect invalid config
- tests: handle uncommon architecture format for nm
- mformat: regenerate long lines even if they're already multiline
- Add support for LLVM 19 in Debian.
- mformat: provide nice error message instead of backtrace for invalid value
- mformat: A triple string with a ' in it cannot be simplified
- tests/format: Make the compare script more useful
- linkers: skip -export_dynamic flag before MacOS 10.7
- format: fix indentation of comments
- mformat: correctly handle editorconfig files without the root setting
- cargo: Ignore Cargo.lock if toml implementation is missing
- compilers: do not strip '-isystem' from C build arguments
- Fix compiling ObjC/ObjC++ on Windows/MinGW
- mformat: fix formatting of empty build file
- tests: nasm: make it easier to debug generator() style build
- mdist: correctly detect dirty hg repos with non-English locale
---
.../meson/meson/0001-Make-CPU-family-warnings-fatal.patch | 6 +++---
.../meson/{meson_1.5.1.bb => meson_1.5.2.bb} | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
rename meta/recipes-devtools/meson/{meson_1.5.1.bb => meson_1.5.2.bb} (98%)meta/recipes-devtools/meson/meson/0001-Make-CPU-family-warnings-fatal.patch +3 -3
@@ -1,4 +1,4 @@ -From 33bc81d5a262e0fa1a346ac1667a3679a17c0997 Mon Sep 17 00:00:00 2001 +From 13e05ca933a572c1caf93372df808a30976f99cd Mon Sep 17 00:00:00 2001 From: Ross Burton <[email protected]> Date: Tue, 3 Jul 2018 13:59:09 +0100 Subject: [PATCH] Make CPU family warnings fatal
@@ -26,10 +26,10 @@ index 86bad9b..9703315 100644 endian = literal['endian'] if endian not in ('little', 'big'): diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py -index 5bccb90..6aa4b15 100644 +index 484ef45..cf4a3ba 100644 --- a/mesonbuild/environment.py +++ b/mesonbuild/environment.py -@@ -387,10 +387,8 @@ def detect_cpu_family(compilers: CompilersDict) -> str: +@@ -389,10 +389,8 @@ def detect_cpu_family(compilers: CompilersDict) -> str: if compilers and not any_compiler_has_define(compilers, '__mips64'): trial = 'mips'
meta/recipes-devtools/meson/meson_1.5.2.bb renamed from meta/recipes-devtools/meson/meson_1.5.1.bb +1 -1
@@ -15,7 +15,7 @@ SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/meson-${PV}.tar.gz \ file://0001-Make-CPU-family-warnings-fatal.patch \ file://0002-Support-building-allarch-recipes-again.patch \ " -SRC_URI[sha256sum] = "567e533adf255de73a2de35049b99923caf872a455af9ce03e01077e0d384bed" +SRC_URI[sha256sum] = "f955e09ab0d71ef180ae85df65991d58ed8430323de7d77a37e11c9ea630910b" UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)$" inherit python_setuptools_build_meta github-releases
Signature · 1 line
2.34.1
PATCH 22/47 openssh: upgrade 9.8p1 -> 9.9p1
In reply to [email protected]From: Wang Mingyu <[email protected]>
License-Update:
include openbsd-compat/base64.c license in LICENSE
0001-Cast-to-sockaddr-in-systemd-interface.patch
removed since it's included in 9.9p1
Changelog:
http://www.openssh.com/releasenotes.html
---
...ast-to-sockaddr-in-systemd-interface.patch | 30 -------------------
.../{openssh_9.8p1.bb => openssh_9.9p1.bb} | 5 ++--
2 files changed, 2 insertions(+), 33 deletions(-)
delete mode 100644 meta/recipes-connectivity/openssh/openssh/0001-Cast-to-sockaddr-in-systemd-interface.patch
rename meta/recipes-connectivity/openssh/{openssh_9.8p1.bb => openssh_9.9p1.bb} (97%)meta/recipes-connectivity/openssh/openssh/0001-Cast-to-sockaddr-in-systemd-interface.patch deleted +0 -30
@@ -1,30 +0,0 @@ -From a3068c6edb81c0b0b9a2ced82e8632c79314e409 Mon Sep 17 00:00:00 2001 -From: Darren Tucker <[email protected]> -Date: Sun, 7 Jul 2024 18:46:19 +1000 -Subject: [PATCH] Cast to sockaddr * in systemd interface. - -Fixes build with musl libx. bz#3707. - -Upstream-Status: Backport [https://github.com/openssh/openssh-portable/commit/8b664df75966e5aed8dabea00b8838303d3488b8] - -Signed-off-by: Jose Quaresma <[email protected]> ---- - openbsd-compat/port-linux.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/openbsd-compat/port-linux.c b/openbsd-compat/port-linux.c -index 4c024c6d2..8adfec5a7 100644 ---- a/openbsd-compat/port-linux.c -+++ b/openbsd-compat/port-linux.c -@@ -366,7 +366,7 @@ ssh_systemd_notify(const char *fmt, ...) - error_f("socket \"%s\": %s", path, strerror(errno)); - goto out; - } -- if (connect(fd, &addr, sizeof(addr)) != 0) { -+ if (connect(fd, (struct sockaddr *)&addr, sizeof(addr)) != 0) { - error_f("socket \"%s\" connect: %s", path, strerror(errno)); - goto out; - } --- -2.45.2 -
meta/recipes-connectivity/openssh/openssh_9.9p1.bb renamed from meta/recipes-connectivity/openssh/openssh_9.8p1.bb +2 -3
@@ -6,7 +6,7 @@ and for executing commands on a remote machine." HOMEPAGE = "http://www.openssh.com/" SECTION = "console/network" LICENSE = "BSD-2-Clause & BSD-3-Clause & ISC & MIT" -LIC_FILES_CHKSUM = "file://LICENCE;md5=072979064e691d342002f43cd89c0394" +LIC_FILES_CHKSUM = "file://LICENCE;md5=78ffb36e5a48c0d8c5648603a3b6c8eb" DEPENDS = "zlib openssl virtual/crypt" DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
@@ -23,11 +23,10 @@ SRC_URI = "http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar file://volatiles.99_sshd \ file://run-ptest \ file://sshd_check_keys \ - file://0001-Cast-to-sockaddr-in-systemd-interface.patch \ file://0001-regress-banner.sh-log-input-and-output-files-on-erro.patch \ file://0001-regress-test-exec-use-the-absolute-path-in-the-SSH-e.patch \ " -SRC_URI[sha256sum] = "dd8bd002a379b5d499dfb050dd1fa9af8029e80461f4bb6c523c49973f5a39f3" +SRC_URI[sha256sum] = "b343fbcdbff87f15b1986e6e15d6d4fc9a7d36066be6b7fb507087ba8f966c02" CVE_STATUS[CVE-2007-2768] = "not-applicable-config: This CVE is specific to OpenSSH with the pam opie which we don't build/use here."
Signature · 1 line
2.34.1
PATCH 23/47 orc: upgrade 0.4.39 -> 0.4.40
In reply to [email protected]From: Wang Mingyu <[email protected]>
Changelog:
===========
- Security: Minor follow-up fixes for CVE-2024-40897
- powerpc: fix div255w which still used the inexact substitution
- x86: work around old GCC versions (pre 9.0) having broken xgetbv implementations
- x86: consider MSYS2/Cygwin as Windows for ABI purposes only
- x86: handle unnatural and misaligned array pointers
- orccodemem: Assorted memory mapping fixes
- Fix include header use from C++
- Some compatibility fixes for Musl
- ppc: Disable VSX and ISA 2.07 for Apple targets
- ppc: Allow detection of ppc64 in Mac OS
- x86: Fix non-C11 typedefs
- meson: Fix detecting XSAVE on older AppleClang
- x86: try fixing AVX detection again by adding check for XSAVE
- Check return values of malloc() and realloc()
---
meta/recipes-devtools/orc/{orc_0.4.39.bb => orc_0.4.40.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-devtools/orc/{orc_0.4.39.bb => orc_0.4.40.bb} (92%)meta/recipes-devtools/orc/orc_0.4.40.bb renamed from meta/recipes-devtools/orc/orc_0.4.39.bb +1 -1
@@ -5,7 +5,7 @@ LICENSE = "BSD-2-Clause & BSD-3-Clause" LIC_FILES_CHKSUM = "file://COPYING;md5=1400bd9d09e8af56b9ec982b3d85797e" SRC_URI = "http://gstreamer.freedesktop.org/src/orc/orc-${PV}.tar.xz" -SRC_URI[sha256sum] = "33ed2387f49b825fa1b9c3b0072e05f259141b895474ad085ae51143d3040cc0" +SRC_URI[sha256sum] = "3fc2bee78dfb7c41fd9605061fc69138db7df007eae2f669a1f56e8bacef74ab" inherit meson pkgconfig gtk-doc
Signature · 1 line
2.34.1
PATCH 24/47 python3-build: upgrade 1.2.1 -> 1.2.2
In reply to [email protected]From: Wang Mingyu <[email protected]>
Changelog:
===========
- Add editable to builder.get_requries_for_build's static types
- Include artifact attestations in our release
- Fix typing compatibility with typed pyproject-hooks
- Mark more tests with network
- Add more intersphinx links to docs
- Make uv optional for tests
---
.../python/{python3-build_1.2.1.bb => python3-build_1.2.2.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-devtools/python/{python3-build_1.2.1.bb => python3-build_1.2.2.bb} (89%)meta/recipes-devtools/python/python3-build_1.2.2.bb renamed from meta/recipes-devtools/python/python3-build_1.2.1.bb +1 -1
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/pypa/build" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=310439af287b0fb4780b2ad6907c256c" -SRC_URI[sha256sum] = "526263f4870c26f26c433545579475377b2b7588b6f1eac76a001e873ae3e19d" +SRC_URI[sha256sum] = "119b2fb462adef986483438377a13b2f42064a2a3a4161f24a0cca698a07ac8c" inherit pypi python_flit_core
Signature · 1 line
2.34.1
PATCH 25/47 python3-cffi: upgrade 1.17.0 -> 1.17.1
In reply to [email protected]From: Wang Mingyu <[email protected]>
Changelog:
===========
- Fix failing distutils.msvc9compiler imports under Windows
- ffibuilder.emit_python_code() and ffibuiler.emit_c_code() accept file-like objects
- ffiplatform calls are bypassed by ffibuilder.emit_python_code() and ffibuilder.emit_c_code()
---
.../python/{python3-cffi_1.17.0.bb => python3-cffi_1.17.1.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-devtools/python/{python3-cffi_1.17.0.bb => python3-cffi_1.17.1.bb} (91%)meta/recipes-devtools/python/python3-cffi_1.17.1.bb renamed from meta/recipes-devtools/python/python3-cffi_1.17.0.bb +1 -1
@@ -4,7 +4,7 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=5677e2fdbf7cdda61d6dd2b57df547bf" DEPENDS += "libffi python3-pycparser" -SRC_URI[sha256sum] = "f3157624b7558b914cb039fd1af735e5e8049a87c817cc215109ad1c8779df76" +SRC_URI[sha256sum] = "1c39c6016c32bc48dd54561950ebd6836e1670f2ae46128f67cf49e789c52824" SRC_URI += "file://run-ptest"
Signature · 1 line
2.34.1
PATCH 26/47 python3-dtschema: upgrade 2024.5 -> 2024.9
In reply to [email protected]From: Wang Mingyu <[email protected]>
Changelog:
=============
- Use type information for decoding DTB properties to their defined type. With this many of the fixups in the schema processing are dropped.
- Restore prior behavior of matching schemas to fallback compatible strings.
- Fix support for filtering with multiple patterns on dt-validate.
- Clean-ups for I2C schemas.
- Add an "assigned-clock-rates-u64" property to support frequencies above 4GHz
- Add a 'test,' vendor prefix to exclude from undocumented compatible checks. This removes the documentation requirement for test cases.
---
.../{python3-dtschema_2024.5.bb => python3-dtschema_2024.9.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-devtools/python/{python3-dtschema_2024.5.bb => python3-dtschema_2024.9.bb} (85%)meta/recipes-devtools/python/python3-dtschema_2024.9.bb renamed from meta/recipes-devtools/python/python3-dtschema_2024.5.bb +1 -1
@@ -7,7 +7,7 @@ inherit pypi python_setuptools_build_meta PYPI_PACKAGE = "dtschema" -SRC_URI[sha256sum] = "ea259a9ba4d1e1eff44ac8d362950361e46750bdeaf30a437a7ed33159c35fd8" +SRC_URI[sha256sum] = "1e5cc422736d5e4167f764478e50093f340bbede95b569ed66d60748dbc39ab2" DEPENDS += "python3-setuptools-scm-native" RDEPENDS:${PN} += "\
Signature · 1 line
2.34.1
PATCH 27/47 python3-hypothesis: upgrade 6.111.2 -> 6.112.1
In reply to [email protected]From: Wang Mingyu <[email protected]>
Changelog:
===========
- removes a now-incorrect internal assertion about numpy's typing after recent numpy changes (currently only in numpy's nightly release).
- adds support for variable-width bytes in IR layer
- changes the draw_* interface
---
...hon3-hypothesis_6.111.2.bb => python3-hypothesis_6.112.1.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-devtools/python/{python3-hypothesis_6.111.2.bb => python3-hypothesis_6.112.1.bb} (91%)meta/recipes-devtools/python/python3-hypothesis_6.112.1.bb renamed from meta/recipes-devtools/python/python3-hypothesis_6.111.2.bb +1 -1
@@ -13,7 +13,7 @@ SRC_URI += " \ file://test_rle.py \ " -SRC_URI[sha256sum] = "0496ad28c7240ee9ba89fcc7fb1dc74e89f3e40fbcbbb5f73c0091558dec8e6e" +SRC_URI[sha256sum] = "b070d7a1bb9bd84706c31885c9aeddc138e2b36a9c112a91984f49501c567856" RDEPENDS:${PN} += " \ python3-attrs \
Signature · 1 line
2.34.1
PATCH 28/47 python3-idna: upgrade 3.8 -> 3.10
In reply to [email protected]From: Wang Mingyu <[email protected]>
Changelog:
===========
- Deprecate setup.cfg in favour of pyproject.toml
- Use ruff for code formatting
---
.../python/{python3-idna_3.8.bb => python3-idna_3.10.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-devtools/python/{python3-idna_3.8.bb => python3-idna_3.10.bb} (84%)meta/recipes-devtools/python/python3-idna_3.10.bb renamed from meta/recipes-devtools/python/python3-idna_3.8.bb +1 -1
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/kjd/idna" LICENSE = "BSD-3-Clause & Python-2.0 & Unicode-TOU" LIC_FILES_CHKSUM = "file://LICENSE.md;md5=204c0612e40a4dd46012a78d02c80fb1" -SRC_URI[sha256sum] = "d838c2c0ed6fced7693d5e8ab8e734d5f8fda53a039c0164afb0b82e771e3603" +SRC_URI[sha256sum] = "12f65c9b470abda6dc35cf8e63cc574b1c52b11df2c86030af0ac09b01b13ea9" SRC_URI += "file://run-ptest"
Signature · 1 line
2.34.1
PATCH 29/47 python3-more-itertools: upgrade 10.4.0 -> 10.5.0
In reply to [email protected]From: Wang Mingyu <[email protected]>
Changelog:
===========
- Optimize all_equal recipe
- Reduce groupby.next calls in all_equal
- Fix types.UnionType
---
...ore-itertools_10.4.0.bb => python3-more-itertools_10.5.0.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-devtools/python/{python3-more-itertools_10.4.0.bb => python3-more-itertools_10.5.0.bb} (87%)meta/recipes-devtools/python/python3-more-itertools_10.5.0.bb renamed from meta/recipes-devtools/python/python3-more-itertools_10.4.0.bb +1 -1
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/erikrose/more-itertools" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=3396ea30f9d21389d7857719816f83b5" -SRC_URI[sha256sum] = "fe0e63c4ab068eac62410ab05cccca2dc71ec44ba8ef29916a0090df061cf923" +SRC_URI[sha256sum] = "5482bfef7849c25dc3c6dd53a6173ae4795da2a41a80faea6700d9f5846c5da6" inherit pypi python_flit_core ptest
Signature · 1 line
2.34.1
PATCH 30/47 python3-pyasn1: upgrade 0.6.0 -> 0.6.1
In reply to [email protected]From: Wang Mingyu <[email protected]>
Changelog:
==========
- Added support for Python 3.13.
- Cleaned Python 2-related code.
- Removed bdist_wheel universal flag from setup.cfg.
---
.../python/{python3-pyasn1_0.6.0.bb => python3-pyasn1_0.6.1.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-devtools/python/{python3-pyasn1_0.6.0.bb => python3-pyasn1_0.6.1.bb} (88%)meta/recipes-devtools/python/python3-pyasn1_0.6.1.bb renamed from meta/recipes-devtools/python/python3-pyasn1_0.6.0.bb +1 -1
@@ -3,7 +3,7 @@ HOMEPAGE = "http://pyasn1.sourceforge.net/" LICENSE = "BSD-2-Clause" LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=190f79253908c986e6cacf380c3a5f6d" -SRC_URI[sha256sum] = "3a35ab2c4b5ef98e17dfdec8ab074046fbda76e281c5a706ccd82328cfc8f64c" +SRC_URI[sha256sum] = "6f580d2bdd84365380830acf45550f2511469f673cb4a5ae3857a3170128b034" inherit pypi python_setuptools_build_meta ptest
Signature · 1 line
2.34.1
Re: [OE-core] [PATCH 30/47] python3-pyasn1: upgrade 0.6.0 -> 0.6.1
Quoted 9 lines · wangmy via lists.openembedded.org
From: Wang Mingyu <[email protected]>
Changelog:
==========
- Added support for Python 3.13.
- Cleaned Python 2-related code.
- Removedbdist_wheeluniversal flag from setup.cfg.
This causes a ptest regression on pyasn1-modules recipe from meta-python
ERROR: tests/test_rfc5755.py:tests/test_rfc5755.py ImportError while importing test module '/usr/lib/python3-pyasn1-modules/ptest/tests/test_rfc6032.py'
octets.py has been removed in 0.6.1 release. Fortunately, there is a patch for pyasn1-modules
https://github.com/pyasn1/pyasn1-modules/pull/22
Quoted 34 lines
Signed-off-by Wang Mingyu <[email protected]>--- .../python/{python3-pyasn1_0.6.0.bb => python3-pyasn1_0.6.1.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-devtools/python/{python3-pyasn1_0.6.0.bb => python3-pyasn1_0.6.1.bb} (88%)meta/recipes-devtools/python/python3-pyasn1_0.6.1.bb renamed from meta/recipes-devtools/python/python3-pyasn1_0.6.0.bb +1
-2@@ -3,7 +3,7 @@ HOMEPAGE = "http://pyasn1.sourceforge.net/" LICENSE = "BSD-2-Clause" LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=190f79253908c986e6cacf380c3a5f6d" -SRC_URI[sha256sum] = "3a35ab2c4b5ef98e17dfdec8ab074046fbda76e281c5a706ccd82328cfc8f64c" +SRC_URI[sha256sum] = "6f580d2bdd84365380830acf45550f2511469f673cb4a5ae3857a3170128b034" inherit pypi python_setuptools_build_meta ptest --2.34.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#204929): https://lists.openembedded.org/g/openembedded-core/message/204929
Mute This Topic: https://lists.openembedded.org/mt/108643630/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
PATCH 31/47 python3-pycairo: upgrade 1.26.1 -> 1.27.0
In reply to [email protected]From: Wang Mingyu <[email protected]>
Changelog:
==========
- Drop support for Python 3.8
- Add Windows wheels for Python 3.13
- Updated cairo in Windows wheels from 1.18.0 to 1.18.2
- Port PEP517/wheel build from setuptools to meson-python. This means setup.py is gone. System packagers should not switch to wheel builds and continue using meson directly.
- meson: install the package metadata to .dist-info/METADATA instead of .egg-info
- Drop arm64 Windows wheels again. pypa/cibuildwheel does not support cross compiling with meson-python. They might be added back in the future if GitHub Actions gains a native Windows runner with arm64 support.
---
.../{python3-pycairo_1.26.1.bb => python3-pycairo_1.27.0.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-devtools/python/{python3-pycairo_1.26.1.bb => python3-pycairo_1.27.0.bb} (90%)meta/recipes-devtools/python/python3-pycairo_1.27.0.bb renamed from meta/recipes-devtools/python/python3-pycairo_1.26.1.bb +1 -1
@@ -13,7 +13,7 @@ DEPENDS = "cairo python3" SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/pycairo-${PV}.tar.gz" GITHUB_BASE_URI = "https://github.com/pygobject/pycairo/releases/" -SRC_URI[sha256sum] = "a11b999ce55b798dbf13516ab038e0ce8b6ec299b208d7c4e767a6f7e68e8430" +SRC_URI[sha256sum] = "5cb21e7a00a2afcafea7f14390235be33497a2cce53a98a19389492a60628430" S = "${WORKDIR}/pycairo-${PV}"
Signature · 1 line
2.34.1
PATCH 32/47 python3-pygobject: upgrade 3.48.2 -> 3.50.0
In reply to [email protected]From: Wang Mingyu <[email protected]>
Changelog:
===========
* tests: Fix event test errors when GTK is not installed :mr:'347'
* Rename master branch to main
* Drop support for Python 3.8 :mr:'300'
* Add Override for Gio.DataInputStream :mr:'293'
* Treat GParamSpec as any other fundamental type :mr:'268'
* override connection.register_object to prevent an invocation object from leaking :mr:'219'
* Various PyPy related fixes :mr:'299'
* bind_property: Accept keyword arguments :mr:'309'
* Various documentation improvements :mr:'342' :mr:'343' :mr:'338' :mr:'336' :mr:'335' :mr:'328' :mr:'329' :mr:'330' :mr:'325' :mr:'322' :mr:'312'
* Python2 / GTK2 cleanups :mr:'338' :mr:'331'
* asyncio integration with support to await Gio async functions :mr:'189'
* meson: move from .egg-info to .dist-info/METADATA :mr:'306'
* build: fixes for building with gobject-introspection 1.81 :mr:'344'
---
...{python3-pygobject_3.48.2.bb => python3-pygobject_3.50.0.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-devtools/python/{python3-pygobject_3.48.2.bb => python3-pygobject_3.50.0.bb} (93%)meta/recipes-devtools/python/python3-pygobject_3.50.0.bb renamed from meta/recipes-devtools/python/python3-pygobject_3.48.2.bb +1 -1
@@ -19,7 +19,7 @@ DEPENDS += "python3 glib-2.0" SRCNAME="pygobject" SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/${SRCNAME}/${@gnome_verdir("${PV}")}/${SRCNAME}-${PV}.tar.xz" -SRC_URI[sha256sum] = "0794aeb4a9be31a092ac20621b5f54ec280f9185943d328b105cdae6298ad1a7" +SRC_URI[sha256sum] = "8d836e75b5a881d457ee1622cae4a32bcdba28a0ba562193adb3bbb472472212" S = "${WORKDIR}/${SRCNAME}-${PV}"
Signature · 1 line
2.34.1
Re: [OE-core] [PATCH 32/47] python3-pygobject: upgrade 3.48.2 -> 3.50.0
Quoted 1 line · wangmy via lists.openembedded.org
* asyncio integration with support to await Gio async functions :mr:'189'
I’m guessing that is why the tests fail:
RESULTS - gi.GObjectIntrospectionTest.test_python: FAILED (0.51s)
AssertionError: 1 != 0 : Python failed (Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3.12/site-packages/gi/__init__.py", line 40, in <module> from . import _gi
ModuleNotFoundError: No module named 'asyncio’)
Can you add the missing dependencies and retest?
Ross
PATCH 33/47 python3-pytest: upgrade 8.3.2 -> 8.3.3
In reply to [email protected]From: Wang Mingyu <[email protected]>
Changelog:
===========
- Avoid calling @property (and other instance descriptors) during fixture discovery
- Fixed the issue of not displaying assertion failure differences when using the parameter --import-mode=importlib in pytest>=8.1.
- Fixed a regression where type change in [ExceptionInfo.errisinstance]{.title-ref} caused [mypy]{.title-ref} to fail.
- Fixed typing compatibility with Python 3.9 or less
-- replaced [typing.Self]{.title-ref} with [typing_extensions.Self]{.title-ref}
- Fixed an issue with backslashes being incorrectly converted in nodeid paths on Windows, ensuring consistent path handling across environments.
- Fixed bug where the verbosity levels where not being respected when printing the "msg" part of failed assertion (as in assert condition, msg).
- Fix bug where disabling the terminal plugin via -p no:terminal would cause crashes related to missing the verbose option.
- Clarify that the [pytest_deselected]{.title-ref} hook should be called from [pytest_collection_modifyitems]{.title-ref} hook implementations when items are deselected.
- Remove erroneous quotes from [tmp_path_retention_policy]{.title-ref} example in docs.
- Fix typos discovered by codespell and add codespell to pre-commit hooks.
---
.../python/{python3-pytest_8.3.2.bb => python3-pytest_8.3.3.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-devtools/python/{python3-pytest_8.3.2.bb => python3-pytest_8.3.3.bb} (91%)meta/recipes-devtools/python/python3-pytest_8.3.3.bb renamed from meta/recipes-devtools/python/python3-pytest_8.3.2.bb +1 -1
@@ -5,7 +5,7 @@ DESCRIPTION = "The pytest framework makes it easy to write small tests, yet scal LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=bd27e41b6550fe0fc45356d1d81ee37c" -SRC_URI[sha256sum] = "c132345d12ce551242c87269de812483f5bcc87cdbb4722e48487ba194f9fdce" +SRC_URI[sha256sum] = "70b98107bd648308a7952b06e6ca9a50bc660be218d53c257cc1fc94fda10181" DEPENDS += "python3-setuptools-scm-native"
Signature · 1 line
2.34.1
PATCH 34/47 python3-pytz: upgrade 2024.1 -> 2024.2
In reply to [email protected]From: Wang Mingyu <[email protected]>
Changelog:
==========
- IANA 2024b
- Squashed 'tz/' changes from 380c07cef..923e54bae
- Stop testing unavailable and EOL Python 3.5
- Add support for Python 3.13
- Run other jobs if one fails
---
.../python/{python3-pytz_2024.1.bb => python3-pytz_2024.2.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-devtools/python/{python3-pytz_2024.1.bb => python3-pytz_2024.2.bb} (89%)meta/recipes-devtools/python/python3-pytz_2024.2.bb renamed from meta/recipes-devtools/python/python3-pytz_2024.1.bb +1 -1
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=1a67fc46c1b596cce5d21209bbe75999" inherit pypi setuptools3 ptest -SRC_URI[sha256sum] = "2a29735ea9c18baf14b448846bde5a48030ed267578472d8955cd0e7443a9812" +SRC_URI[sha256sum] = "2aa355083c50a0f93fa581709deac0c9ad65cca8a9e9beac660adcbd493c798a" RDEPENDS:${PN}:class-target += "\ python3-datetime \
Signature · 1 line
2.34.1
PATCH 35/47 python3-scons: upgrade 4.8.0 -> 4.8.1
In reply to [email protected]From: Wang Mingyu <[email protected]>
Changelog:
==========
- env.Dump() previously accepted a single optional "key" argument.
- SCons 4.8.0 added an __all__ specifier at the top of the Variables module (Variables/__init__.py) to control what is made available in a star import.
- Fix a problem with AppendUnique and PrependUnique where a value could be erroneously removed due to a substring match.
- Fix handling of ListVariable when supplying a quoted choice containing a space character
- On win32 platform, SCons 4.7.0 modified the determination
of the output encoding of piped processes.
- Improve wording of manpage "Functions and Environment Methods" section.
- Make doc function signature style more consistent - tweaks to AddOption, DefaultEnvironment and Tool,.
- sctypes is_* functions given explicit return types.
---
.../python/{python3-scons_4.8.0.bb => python3-scons_4.8.1.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-devtools/python/{python3-scons_4.8.0.bb => python3-scons_4.8.1.bb} (89%)meta/recipes-devtools/python/python3-scons_4.8.1.bb renamed from meta/recipes-devtools/python/python3-scons_4.8.0.bb +1 -1
@@ -4,7 +4,7 @@ SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=d903b0b8027f461402bac9b5169b36f7" -SRC_URI[sha256sum] = "2c7377ff6a22ca136c795ae3dc3d0824696e5478d1e4940f2af75659b0d45454" +SRC_URI[sha256sum] = "5b641357904d2f56f7bfdbb37e165ab996b6143c948b9df0efc7305f54949daa" UPSTREAM_CHECK_PYPI_PACKAGE = "SCons" inherit pypi python_setuptools_build_meta
Signature · 1 line
2.34.1
PATCH 36/47 python3-trove-classifiers: upgrade 2024.7.2 -> 2024.9.12
In reply to [email protected]From: Wang Mingyu <[email protected]>
Changelog:
===========
Add Odoo 18 trove classifier
---
...fiers_2024.7.2.bb => python3-trove-classifiers_2024.9.12.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-devtools/python/{python3-trove-classifiers_2024.7.2.bb => python3-trove-classifiers_2024.9.12.bb} (87%)meta/recipes-devtools/python/python3-trove-classifiers_2024.9.12.bb renamed from meta/recipes-devtools/python/python3-trove-classifiers_2024.7.2.bb +1 -1
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/pypa/trove-classifiers" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" -SRC_URI[sha256sum] = "8328f2ac2ce3fd773cbb37c765a0ed7a83f89dc564c7d452f039b69249d0ac35" +SRC_URI[sha256sum] = "4b46b3e134a4d01999ac5bc6e528afcc10cc48f0f724f185f267e276005768f4" PYPI_PACKAGE = "trove_classifiers"
Signature · 1 line
2.34.1
PATCH 37/47 python3-websockets: upgrade 13.0.1 -> 13.1
In reply to [email protected]From: Wang Mingyu <[email protected]>
Changelog:
==========
- Clarify comment.
- Wait until state is CLOSED to acces close_exc.
- Improve exception handling during handshake.
- Standard spelling on "an HTTP".
- Run handler only when opening handshake succeeds.
- Run spellcheck.
- Add dedicated ConcurrencyError exception.
- Improve isolation of tests of sync implementation.
- Fix typo in convenience imports.
- Add changelog for previous commits.
- Improve error messages on HTTP parsing errors.
- Log error when server receives bad request.
- Close connection when client receives bad response.
- Simplify handling of connection close during handshake.
- Proof-read upgrade guide.
- The new asyncio implementation has reached parity.
- Follow redirects in the new asyncio implementation.
- Switch from black to ruff for code formatting.
- Prevent false positives with latest ruff.
- Update FAQ after implementing reconnection.
- Make make build the C extension by default.
- Prevent a warning in twine upload.
- Add automatic reconnection to the new asyncio implementation.
---
...{python3-websockets_13.0.1.bb => python3-websockets_13.1.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-devtools/python/{python3-websockets_13.0.1.bb => python3-websockets_13.1.bb} (79%)meta/recipes-devtools/python/python3-websockets_13.1.bb renamed from meta/recipes-devtools/python/python3-websockets_13.0.1.bb +1 -1
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=51924a6af4495b8cfaee1b1da869b6f4" inherit pypi python_setuptools_build_meta -SRC_URI[sha256sum] = "4d6ece65099411cfd9a48d13701d7438d9c34f479046b34c50ff60bb8834e43e" +SRC_URI[sha256sum] = "a3b3366087c1bc0a2795111edcadddb8b3b59509d5db5d7ea3fdd69f954a8878" BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.34.1
PATCH 38/47 python3-zipp: upgrade 3.20.1 -> 3.20.2
In reply to [email protected]From: Wang Mingyu <[email protected]>
Changelog:
===========
- Make no assertions about the number. It could be negative.
- Make zipp.compat.overlay.zipfile hashable.
- Merge https://github.com/jaraco/skeleton
- Add Python 3.13 and 3.14 into the matrix. (jaraco/skeleton#146)
- Fix an incompatibility (and source of merge conflicts) with projects using Ruff/isort.
- Merge pull request #125 from saschanaz/patch-1
- Suppress F821
- Allow the workflow to be triggered manually.
- Remove workaround for sphinx-contrib/sphinx-lint#83
- Include the trailing slash in disable_error_code(overload-overlap), also required for clean diffs.
- Add support for linking usernames.
- Add a degenerate nitpick_ignore for downstream consumers. Add a 'local' comment to delineate where the skeleton ends and the downstream begins.
- Expand docs and tests for overlay.
- Remove unexpected character \ufeff
---
.../python/{python3-zipp_3.20.1.bb => python3-zipp_3.20.2.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-devtools/python/{python3-zipp_3.20.1.bb => python3-zipp_3.20.2.bb} (82%)meta/recipes-devtools/python/python3-zipp_3.20.2.bb renamed from meta/recipes-devtools/python/python3-zipp_3.20.1.bb +1 -1
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/jaraco/zipp" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=141643e11c48898150daa83802dbc65f" -SRC_URI[sha256sum] = "c22b14cc4763c5a5b04134207736c107db42e9d3ef2d9779d465f5f1bcba572b" +SRC_URI[sha256sum] = "bc9eb26f4506fda01b81bcde0ca78103b6e62f991b381fec825435c836edbc29" DEPENDS += "python3-setuptools-scm-native"
Signature · 1 line
2.34.1
PATCH 39/47 repo: upgrade 2.46 -> 2.47
In reply to [email protected]From: Wang Mingyu <[email protected]>
Changelog:
==========
- sync: include TARGET_RELEASE when constructing smart sync target.
- color: fix have_fg not re assign to true
- tox.ini: Make the lint and format environments run black for all code
- tox.ini, constraints.txt: Lock the version of black to <24
- project: run fetch --refetch onacould not parse commit
- Add a --rebase option to sync command
- sync: Fix git command for aborting rebase being called incorrectly.
---
meta/recipes-devtools/repo/{repo_2.46.bb => repo_2.47.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-devtools/repo/{repo_2.46.bb => repo_2.47.bb} (94%)meta/recipes-devtools/repo/repo_2.47.bb renamed from meta/recipes-devtools/repo/repo_2.46.bb +1 -1
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" SRC_URI = "git://gerrit.googlesource.com/git-repo.git;protocol=https;branch=main \ " -SRCREV = "0444ddf78e3026056ee3786119e595909c039ff2" +SRCREV = "1e19f7dd61923b8835d9c6e1a7e560575dafaf1e" MIRRORS += "git://gerrit.googlesource.com/git-repo.git git://github.com/GerritCodeReview/git-repo.git"
Signature · 1 line
2.34.1
PATCH 40/47 ruby: upgrade 3.3.4 -> 3.3.5
In reply to [email protected]From: Wang Mingyu <[email protected]>
0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch refreshed for 3.3.5
Changelog:
https://github.com/ruby/ruby/releases/tag/v3_3_5
---
...Mark-Gemspec-reproducible-change-fixing-784225-too.patch | 6 +++---
meta/recipes-devtools/ruby/{ruby_3.3.4.bb => ruby_3.3.5.bb} | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
rename meta/recipes-devtools/ruby/{ruby_3.3.4.bb => ruby_3.3.5.bb} (98%)meta/recipes-devtools/ruby/ruby/0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch +3 -3
@@ -1,4 +1,4 @@ -From 91304f26dd4153ecae752ea875eec9ce2d5d3963 Mon Sep 17 00:00:00 2001 +From 33814428ef00e1805ae34a7684e53d249658289c Mon Sep 17 00:00:00 2001 From: Lucas Kanashiro <[email protected]> Date: Fri, 1 Nov 2019 15:25:17 -0300 Subject: [PATCH] Make gemspecs reproducible
@@ -12,10 +12,10 @@ Upstream-Status: Backport [debian] 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/rubygems/specification.rb b/lib/rubygems/specification.rb -index 05ce483..5f2dbd1 100644 +index d6eac7f..4b2e95e 100644 --- a/lib/rubygems/specification.rb +++ b/lib/rubygems/specification.rb -@@ -1698,7 +1698,9 @@ class Gem::Specification < Gem::BasicSpecification +@@ -1707,7 +1707,9 @@ class Gem::Specification < Gem::BasicSpecification raise(Gem::InvalidSpecificationException, "invalid date format in specification: #{date.inspect}") end
meta/recipes-devtools/ruby/ruby_3.3.5.bb renamed from meta/recipes-devtools/ruby/ruby_3.3.4.bb +1 -1
@@ -47,7 +47,7 @@ do_configure:prepend() { DEPENDS:append:libc-musl = " libucontext" -SRC_URI[sha256sum] = "fe6a30f97d54e029768f2ddf4923699c416cdbc3a6e96db3e2d5716c7db96a34" +SRC_URI[sha256sum] = "3781a3504222c2f26cb4b9eb9c1a12dbf4944d366ce24a9ff8cf99ecbce75196" PACKAGECONFIG ??= "" PACKAGECONFIG += "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
Signature · 1 line
2.34.1
PATCH 41/47 shaderc: upgrade 2024.1 -> 2024.2
In reply to [email protected]From: Wang Mingyu <[email protected]>
Changelog:
==========
- Update dependencies:
Glslang: top of tree 2024-06-21
SPIRV-Header: top of tree 2024-06-21
SPIRV-Tools: v2024.3.rc1
- Build:
Remove support for VS2017
---
.../shaderc/{shaderc_2024.1.bb => shaderc_2024.2.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-graphics/shaderc/{shaderc_2024.1.bb => shaderc_2024.2.bb} (95%)meta/recipes-graphics/shaderc/shaderc_2024.2.bb renamed from meta/recipes-graphics/shaderc/shaderc_2024.1.bb +1 -1
@@ -6,7 +6,7 @@ HOMEPAGE = "https://github.com/google/shaderc" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" -SRCREV = "5d7736da11e626b49c5463aadb2afb228ad20276" +SRCREV = "5dad9194c038702ef20ccabbe4e3c188f2b13cec" SRC_URI = "git://github.com/google/shaderc.git;protocol=https;branch=main \ file://0001-cmake-disable-building-external-dependencies.patch \ file://0002-libshaderc_util-fix-glslang-header-file-location.patch \
Signature · 1 line
2.34.1
PATCH 42/47 strace: upgrade 6.10 -> 6.11
In reply to [email protected]From: Wang Mingyu <[email protected]>
Makefile-ptest.patch
refreshed for 6.11
Improvements
=============
* Implemented decoding of uretprobe syscall.
* Implemented decoding of WDIOC_GETSUPPORT and WDIOC_SETOPTIONS ioctl commands.
* Enhanced decoding of unknown ioctl commands in non-abbreviated mode by printing the contents of the ioctl argument buffer in hexadecimal format.
* Updated decoding of listmount, statmount, and statx syscalls.
* Updated lists of ETHTOOL_*, IORING_*, IPPROTO_*, RWF_*, STATX_*, and V4L2_* constants.
* Updated lists of ioctl commands from Linux 6.11.
---
meta/recipes-devtools/strace/strace/Makefile-ptest.patch | 6 +++---
.../strace/{strace_6.10.bb => strace_6.11.bb} | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
rename meta/recipes-devtools/strace/{strace_6.10.bb => strace_6.11.bb} (96%)meta/recipes-devtools/strace/strace/Makefile-ptest.patch +3 -3
@@ -1,4 +1,4 @@ -From 3a10dcdd5d8def52fc096ed59e8d0f32ee0c2d42 Mon Sep 17 00:00:00 2001 +From 593bea35a044b55222a71737ca8455c2359817d1 Mon Sep 17 00:00:00 2001 From: Gabriel Barbu <[email protected]> Date: Thu, 25 Jul 2013 15:28:33 +0200 Subject: [PATCH] strace: Add ptest
@@ -13,7 +13,7 @@ Signed-off-by: Anuj Mittal <[email protected]> 1 file changed, 20 insertions(+) diff --git a/tests/Makefile.am b/tests/Makefile.am -index 378146b..f2529a6 100644 +index e1254c3..149570d 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -18,6 +18,7 @@ SIZEOF_LONG = @SIZEOF_LONG@
@@ -24,7 +24,7 @@ index 378146b..f2529a6 100644 AM_CFLAGS = $(WARN_CFLAGS) bundled_CPPFLAGS = if USE_BUNDLED_HEADERS -@@ -901,3 +902,22 @@ BUILT_SOURCES = ksysent.h +@@ -903,3 +904,22 @@ BUILT_SOURCES = ksysent.h CLEANFILES = ksysent.h include ../src/scno.am
meta/recipes-devtools/strace/strace_6.11.bb renamed from meta/recipes-devtools/strace/strace_6.10.bb +1 -1
@@ -15,7 +15,7 @@ SRC_URI = "https://strace.io/files/${PV}/strace-${PV}.tar.xz \ file://0001-configure-Use-autoconf-macro-to-detect-largefile-sup.patch \ file://0002-tests-Replace-off64_t-with-off_t.patch \ " -SRC_URI[sha256sum] = "765ec71aa1de2fe37363c1e40c7b7669fc1d40c44bb5d38ba8e8cd82c4edcf07" +SRC_URI[sha256sum] = "83262583a3529f02c3501aa8b8ac772b4cbc03dc934e98bab6e4883626e283a5" inherit autotools ptest
Signature · 1 line
2.34.1
PATCH 43/47 sysklogd: upgrade 2.6.1 -> 2.6.2
In reply to [email protected]From: Wang Mingyu <[email protected]>
Changes
=========
- 'syslog.conf': misplaced continuation character in example
- Adapt facilities for RFC5424 compliance.
- Add support for IPv6 addresses in 'listen' directive, issue #90 Fixes
=======
- Fix #85: logging to remote IPv6 address does not work.
- Fix #88: initial delay for unresolvable remote target.
---
.../sysklogd/{sysklogd_2.6.1.bb => sysklogd_2.6.2.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-extended/sysklogd/{sysklogd_2.6.1.bb => sysklogd_2.6.2.bb} (97%)meta/recipes-extended/sysklogd/sysklogd_2.6.2.bb renamed from meta/recipes-extended/sysklogd/sysklogd_2.6.1.bb +1 -1
@@ -14,7 +14,7 @@ SRC_URI = "git://github.com/troglobit/sysklogd.git;branch=master;protocol=https file://sysklogd \ " -SRCREV = "c2bc519697aaa94f7b5e658a31ff55b9d54e7c8d" +SRCREV = "c1f8842853378781c2fdf6e70070a95539ba7d2e" S = "${WORKDIR}/git"
Signature · 1 line
2.34.1
PATCH 44/47 systemd: upgrade 256.5 -> 256.6
In reply to [email protected]From: Wang Mingyu <[email protected]>
---
.../systemd/{systemd-boot_256.5.bb => systemd-boot_256.6.bb} | 0
meta/recipes-core/systemd/systemd.inc | 2 +-
.../recipes-core/systemd/{systemd_256.5.bb => systemd_256.6.bb} | 0
3 files changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-core/systemd/{systemd-boot_256.5.bb => systemd-boot_256.6.bb} (100%)
rename meta/recipes-core/systemd/{systemd_256.5.bb => systemd_256.6.bb} (100%)meta/recipes-core/systemd/systemd-boot_256.6.bb renamed from meta/recipes-core/systemd/systemd-boot_256.5.bb +0 -0
meta/recipes-core/systemd/systemd.inc +1 -1
@@ -15,7 +15,7 @@ LICENSE:libsystemd = "LGPL-2.1-or-later" LIC_FILES_CHKSUM = "file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe \ file://LICENSE.LGPL2.1;md5=4fbd65380cdd255951079008b364516c" -SRCREV = "b45730389ba025489ec8d445bc91534fef515c28" +SRCREV = "230f5613c97175985f878580ef2f5f1937963da6" SRCBRANCH = "v256-stable" SRC_URI = "git://github.com/systemd/systemd.git;protocol=https;branch=${SRCBRANCH}"
meta/recipes-core/systemd/systemd_256.6.bb renamed from meta/recipes-core/systemd/systemd_256.5.bb +0 -0
Signature · 1 line
2.34.1
Re: [OE-core] [PATCH 44/47] systemd: upgrade 256.5 -> 256.6
systemd-boot-native should be renamed at the same time.
Alex
Quoted 45 lines · wangmy via lists.openembedded.org
From: Wang Mingyu <[email protected]>
Signed-off-by Wang Mingyu <[email protected]>--- .../systemd/{systemd-boot_256.5.bb => systemd-boot_256.6.bb} | 0 meta/recipes-core/systemd/systemd.inc | 2 +- .../recipes-core/systemd/{systemd_256.5.bb => systemd_256.6.bb} | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-core/systemd/{systemd-boot_256.5.bb => systemd-boot_256.6.bb} (100%) rename meta/recipes-core/systemd/{systemd_256.5.bb => systemd_256.6.bb} (100%)meta/recipes-core/systemd/systemd-boot_256.6.bb renamed from meta/recipes-core/systemd/systemd-boot_256.5.bb +0
-0meta/recipes-core/systemd/systemd.inc +1
-1@@ -15,7 +15,7 @@ LICENSE:libsystemd = "LGPL-2.1-or-later" LIC_FILES_CHKSUM = "file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe \ file://LICENSE.LGPL2.1;md5=4fbd65380cdd255951079008b364516c" -SRCREV = "b45730389ba025489ec8d445bc91534fef515c28" +SRCREV = "230f5613c97175985f878580ef2f5f1937963da6" SRCBRANCH = "v256-stable" SRC_URI = "git://github.com/systemd/systemd.git;protocol=https;branch=${SRCBRANCH}"meta/recipes-core/systemd/systemd_256.6.bb renamed from meta/recipes-core/systemd/systemd_256.5.bb +0
-1--2.34.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#204937): https://lists.openembedded.org/g/openembedded-core/message/204937
Mute This Topic: https://lists.openembedded.org/mt/108643638/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
PATCH 45/47 vte: upgrade 0.76.3 -> 0.78.0
In reply to [email protected]From: Wang Mingyu <[email protected]>
---
meta/recipes-support/vte/{vte_0.76.3.bb => vte_0.78.0.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-support/vte/{vte_0.76.3.bb => vte_0.78.0.bb} (96%)meta/recipes-support/vte/vte_0.78.0.bb renamed from meta/recipes-support/vte/vte_0.76.3.bb +1 -1
@@ -19,7 +19,7 @@ GIDOCGEN_MESON_OPTION = "docs" inherit gnomebase gi-docgen features_check upstream-version-is-even gobject-introspection systemd vala SRC_URI += "file://0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch" -SRC_URI[archive.sha256sum] = "f678e94c056f377fd0021214adff5450cb172e9a08b160911181ddff7b7d5d60" +SRC_URI[archive.sha256sum] = "07f09c6228a8bb3c1599dd0f5a6ec797b30d3010c3ac91cf21b69d9635dfaf7c" ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
Signature · 1 line
2.34.1
PATCH 46/47 wpebackend-fdo: upgrade 1.14.2 -> 1.14.3
In reply to [email protected]From: Wang Mingyu <[email protected]>
Changelog:
===========
- Fix build issues in some configurations that require en explicit cast to EGLNativeWindowType.
- Fix memory leak when the view backend wl_resource is destroyed.
- Fix wpe_dmabuf_pool object leak.
---
.../{wpebackend-fdo_1.14.2.bb => wpebackend-fdo_1.14.3.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-sato/webkit/{wpebackend-fdo_1.14.2.bb => wpebackend-fdo_1.14.3.bb} (90%)meta/recipes-sato/webkit/wpebackend-fdo_1.14.3.bb renamed from meta/recipes-sato/webkit/wpebackend-fdo_1.14.2.bb +1 -1
@@ -13,7 +13,7 @@ inherit meson features_check pkgconfig REQUIRED_DISTRO_FEATURES = "opengl" SRC_URI = "https://wpewebkit.org/releases/${BPN}-${PV}.tar.xz" -SRC_URI[sha256sum] = "93c9766ae9864eeaeaee2b0a74f22cbca08df42c1a1bdb55b086f2528e380d38" +SRC_URI[sha256sum] = "10121842595a850291db3e82f3db0b9984df079022d386ce42c2b8508159dc6c" # Especially helps compiling with clang which enable this as error when # using c++11
Signature · 1 line
2.34.1
PATCH 47/47 xcb-util-cursor: upgrade 0.1.4 -> 0.1.5
In reply to [email protected]From: Wang Mingyu <[email protected]>
Changelog:
===========
- cppcheck style-fixes in _XcursorThemeInherits
- Insufficient memory for terminating null of string in _XcursorThemeInherits
- Set close-on-exec when opening files
---
.../{xcb-util-cursor_0.1.4.bb => xcb-util-cursor_0.1.5.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-graphics/xorg-lib/{xcb-util-cursor_0.1.4.bb => xcb-util-cursor_0.1.5.bb} (72%)meta/recipes-graphics/xorg-lib/xcb-util-cursor_0.1.5.bb renamed from meta/recipes-graphics/xorg-lib/xcb-util-cursor_0.1.4.bb +1 -1
@@ -7,4 +7,4 @@ DEPENDS += "xcb-util xcb-util-renderutil xcb-util-image" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=ce469b61c70ff8d7cce0547476891974" -SRC_URI[sha256sum] = "28dcfe90bcab7b3561abe0dd58eb6832aa9cc77cfe42fcdfa4ebe20d605231fb" +SRC_URI[sha256sum] = "0caf99b0d60970f81ce41c7ba694e5eaaf833227bb2cbcdb2f6dc9666a663c57"
Signature · 1 line
2.34.1