summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
Commit message (Collapse)AuthorAgeFilesLines
...
* python3: upgrade 3.13.2 -> 3.13.3Trevor Gamblin2025-05-152-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds some security fixes and many new changes to the library. Changelog: https://docs.python.org/3/whatsnew/changelog.html#python-3-13-3-final Modify 0001-Makefile.pre-use-qemu-wrapper-when-gathering-profile.patch to remove 'test_types' from the pgo-wrapper call, since that fails now under qemu. Reproducibility looks OK. ptest results OK: |== Tests result: SUCCESS == | |29 tests skipped: | test.test_asyncio.test_windows_events | test.test_asyncio.test_windows_utils test.test_gdb.test_backtrace | test.test_gdb.test_cfunction test.test_gdb.test_cfunction_full | test.test_gdb.test_misc test.test_gdb.test_pretty_print | test_android test_apple test_asdl_parser test_clinic test_devpoll | test_free_threading test_generated_cases test_idle test_ioctl | test_kqueue test_launcher test_msvcrt test_startfile test_tcl | test_tkinter test_ttk test_ttk_textonly test_turtle test_winapi | test_winconsoleio test_winreg test_wmi | |9 tests skipped (resource denied): | test_curses test_peg_generator test_pyrepl test_smtpnet | test_socketserver test_urllib2net test_urllibnet test_winsound | test_zipfile64 | |442 tests OK. | |Total duration: 2 min 48 sec |Total tests: run=43,896 skipped=2,268 |Total test files: run=471/480 skipped=29 resource_denied=9 |Result: SUCCESS |DURATION: 169 |END: /usr/lib/python3/ptest |2025-05-12T12:34 |STOP: ptest-runner |TOTAL: 1 FAIL: 0 |root@qemux86-64:~# (From OE-Core rev: 063d5a5fb2f71b523f378b95167553b28804c3ad) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* compiler-rt-sanitizers: Fix native builds on aarch64 build hostsKhem Raj2025-05-151-6/+11
| | | | | | | | | | | | | Add logic to deduce compiler-rt target architecture based on tune features Cleanup the cmake options for native/nativesdk/target recipes (From OE-Core rev: 579d4d85574624e39140fb74f6d37dcd7bf363a6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* compile-rt: Fix building compiler-native on aarch64 build hosts.Khem Raj2025-05-151-2/+4
| | | | | | | | | | | | | | | | | | Using target triple confuses the native system compiler to find libgcc and C runtime during compiler-rt-native build Fixes | /home/khem/yoe/build/tmp/hosttools/ld: cannot find crtbeginS.o: No such file or directory | /home/khem/yoe/build/tmp/hosttools/ld: cannot find -lgcc: No such file or directory | /home/khem/yoe/build/tmp/hosttools/ld: cannot find -lgcc_s: No such file or directory | clang: error: linker command failed with exit code 1 (use -v to see invocation) | ninja: build stopped: subcommand failed. (From OE-Core rev: 1d4676d6b7c0fe40ab4f808dda436dc2f2915fd8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go: upgrade 1.24.2 -> 1.24.3Peter Marko2025-05-157-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | Upgrade to latest 1.24.x release [1]: $ git --no-pager log --oneline go1.24.2..go1.24.3 34c8b14ca9 (release-branch.go1.24) [release-branch.go1.24] go1.24.3 8947f3395e [release-branch.go1.24] os: avoid escape from Root via paths ending in ../ 06fd2f115b [release-branch.go1.24] cmd/compile: remove no-longer-necessary recursive inlining checks f66ab6521c [release-branch.go1.24] cmd/internal/obj/wasm: use i64 for large return addr c1f9c2c7b0 [release-branch.go1.24] cmd/go/internal/load: join incompatible and dirty build specifiers with . 0ab64e2caa [release-branch.go1.24] runtime: cleanup M vgetrandom state before dropping P 56eb99859d [release-branch.go1.24] internal/runtime/maps: pass proper func PC to race.WritePC/race.ReadPC 43130aff52 [release-branch.go1.24] runtime: fix 9-arg syscall on darwin/amd64 b2c005e7b2 [release-branch.go1.24] crypto/tls: fix ECH compatibility a9d9b55709 [release-branch.go1.24] cmd/link: choose one with larger size for duplicated BSS symbols fa7217f74d [release-branch.go1.24] os: avoid panic in Root when symlink references the root Fixes CVE-2025-22873 [1] https://github.com/golang/go/compare/go1.24.2...go1.24.3 (From OE-Core rev: b317570acf1e25a4cfaa0c66a2630d082b4d0bae) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* compiler-rt: Exclude sync builtins from build when arm < v6Khem Raj2025-05-152-0/+62
| | | | | | | | | | | arm architecture < v6 does not have the dmb support, therefore do not add the sync primitives to compiler-rt builtins build (From OE-Core rev: e1b143860b221600f7dab5c08e5b187aefb851dd) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* compiler-rt: Map the COMPILER_RT_DEFAULT_TARGET_ARCHKhem Raj2025-05-151-1/+10
| | | | | | | | | | | COMPILER_RT_DEFAULT_TARGET_ARCH is not 1 to 1 match with HOST_ARCH especially for armv5/arm4 (From OE-Core rev: 71f7db2e5d264bc6ed50fae48567ae674af9a700) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* swig: upgrade 4.3.0 -> 4.3.1Wang Mingyu2025-05-131-1/+1
| | | | | | | (From OE-Core rev: 43b1e1af671cbe5a76be1b97d185bb95b767efde) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* repo: upgrade 2.53 -> 2.54Wang Mingyu2025-05-131-1/+1
| | | | | | | (From OE-Core rev: a7b791ad8fd32a48febc2e3aeb81785ff561a163) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-yamllint: upgrade 1.37.0 -> 1.37.1Wang Mingyu2025-05-131-1/+1
| | | | | | | | | | | | | | | | | | | Changelog: ============= - Rule comments: tell how many spaces are expected - Rule quoted-strings: Fix only-when-needed on multiline with backslash - Config: Report if rules is not a dict - Fix test_codec_built_in_equivalent() test when run with pytest - CI: Fix TestPyPI "dev0" versions for master commits on tags - Docs: Add links to GitHub repository and releases - Docs: Fix GitLab integration example - Docs: Fix GitLab integration link - Fix the tests badge link on the README (From OE-Core rev: b49426b3577546e197c42aa28b5af4a0f3ea1c53) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-typing-extensions: upgrade 4.13.1 -> 4.13.2Wang Mingyu2025-05-131-1/+1
| | | | | | | | | | | | | | Changelog: ============= - Fix TypeError when taking the union of typing_extensions.TypeAliasType and a typing.TypeAliasType on Python 3.12 and 3.13. - Backport from CPython PR #132160 to avoid having user arguments shadowed in generated __new__ by @typing_extensions.deprecated. (From OE-Core rev: f01c7ece71f4d9887763ee5062c56d454f88ae3d) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pycairo: upgrade 1.27.0 -> 1.28.0Wang Mingyu2025-05-131-1/+1
| | | | | | | | | | Changelog: https://pycairo.readthedocs.io/en/latest/changelog.html#v1-28-0 (From OE-Core rev: 96baa620e4ce198c0042eaba85e0935b4a2741e9) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-poetry-core: upgrade 2.1.2 -> 2.1.3Wang Mingyu2025-05-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Changed ---------- - Update list of supported licenses Fixed -------- - Fix an issue where the union of specific inverse or partially inverse markers was not simplified - Fix an issue where optional dependencies defined in the project section were treated as non-optional when a source was defined for them in the tool.poetry section - Fix an issue where markers with === were not parsed correctly - Fix an issue where local versions with upper case letters caused an error - Fix an issue where extra markers with a value starting with "in" were not validated correctly - Fix an issue where inheriting from WheelBuilder was unnecessarily difficult (From OE-Core rev: ca51448b82abd9333ad2763d52c473cbe876d5c5) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pip: upgrade 25.0.1 -> 25.1.1Wang Mingyu2025-05-131-1/+1
| | | | | | | (From OE-Core rev: 76556fab9ef0fe07a0eb7b308a4c875d0a2d5e19) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pdm: upgrade 2.23.1 -> 2.24.1Wang Mingyu2025-05-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Features & Improvements ------------------------ - New command pdm new that behaves like pdm init but creates a new project. - Support use --name as project name for command pdm new e.g. pdm new hello --name world - Support exporting to pylock.toml format as described by PEP 751. Bug Fixes --------- - Pass the --quiet option to pdm sync command. - If a .python-version file is found and it contains multiple lines, the file will be ignored. The usage of the .python-version file can be disabled, if configuration value python.use_python_version (or environment variable PDM_USE_PYTHON_VERSION) is False. - fix pdm config -e command to open read-only file under linux - Replace project names and import names in both README.md and pyproject.toml when running pdm init <template>. - Fix a bug that URL dependency hashes are not updated if running pdm lock --update-reuse. - Install the project when using the BaseSynchronizer with install_self set to True. This fixes the bug that when calling pdm sync --quiet, it skips installing the project itself. - Mark one additional test as requiring network, and fix another one not to require it anymore. (From OE-Core rev: 01cacd208c7a3e1fa2923ef346d7a1c65a4005c0) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-packaging: upgrade 24.2 -> 25.0Wang Mingyu2025-05-131-1/+1
| | | | | | | | | | | | | | Changelog: ============ - Re-add a test for Unicode file name parsing - Upgrade to ruff 0.9.1 - Add support for PEP 738 Android tags - feat(markers): support 'extras' and 'dependency_groups' markers (From OE-Core rev: 1f6a72bf37297a362119375523750544a11a23ea) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-meson-python: upgrade 0.17.1 -> 0.18.0Wang Mingyu2025-05-131-1/+1
| | | | | | | (From OE-Core rev: 70ccf82bcff9bca772c518837c7be11241aaf316) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-markdown: upgrade 3.7 -> 3.8Wang Mingyu2025-05-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Changelog: =========== Changed ------- - DRY fix in abbr extension by introducing method create_element - Clean up test directory by removing some redundant tests and port non-redundant cases to the newer test framework. - Improved performance of the raw HTML post-processor Fixed --------- - Backslash Unescape IDs set via attr_list on toc - Ensure md_in_html processes content inside "markdown" blocks as they are parsed outside of "markdown" blocks to keep things more consistent for third-party extensions - md_in_html handle tags within inline code blocks better - md_in_html fix handling of one-liner block HTML handling - Ensure <center> is treated like a block-level element - Ensure that abbr extension respects AtomicString and does not process perceived abbreviations in these strings - Ensure smarty extension correctly renders nested closing quotes (From OE-Core rev: 662d586edb3afed8273ec4910ea1a4c090f8b757) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-mako: upgrade 1.3.9 -> 1.3.10Wang Mingyu2025-05-131-1/+1
| | | | | | | | | | | Changelog: - Fix undefined variable errors when strict_undefined=True when using a nested list comprehension. (From OE-Core rev: 40a60f0ca45116604430f8b0d1ee4f70e1f9843e) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-lxml: upgrade 5.3.2 -> 5.4.0Wang Mingyu2025-05-131-1/+1
| | | | | | | | | | | Bugfix: -Binary wheels use libxml2 2.13.8 and libxslt 1.1.43 to resolve several CVEs. (Binary wheels for Windows continue to use a patched libxml2 2.11.9 and libxslt 1.1.39.) (From OE-Core rev: 4e15eededc4c67665c48c0fcdcfa41cfd0d3bf40) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-jsonschema-specifications: upgrade 2024.10.1 -> 2025.4.1Wang Mingyu2025-05-131-1/+1
| | | | | | | | | | Changelog: - Add SPDX license identifier (From OE-Core rev: f3fb3e621c9c3b3e286002b6b6a6dede640e2866) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hypothesis: upgrade 6.131.0 -> 6.131.14Wang Mingyu2025-05-131-1/+1
| | | | | | | (From OE-Core rev: af58c48b2c9163a50c0b02b2eb193f9a2344e448) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hatch-fancy-pypi-readme: upgrade 24.1.0 -> 25.1.0Wang Mingyu2025-05-131-1/+1
| | | | | | | | | | | | Changelog: ========== - $HFPR_PACKAGE_NAME is now replaced by the package name in the PyPI readme. - Support for Python 3.7. (From OE-Core rev: 5d3f3f8f9770e81bd7c2d53a1512577792ba4fa2) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-certifi: upgrade 2025.1.31 -> 2025.4.26Wang Mingyu2025-05-131-1/+1
| | | | | | | (From OE-Core rev: f45a8bbe689ae7d006f8463fd156ebbd8e745227) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-calver: upgrade 2025.04.02 -> 2025.04.17Wang Mingyu2025-05-131-1/+1
| | | | | | | | | | Changelog: - test: Delete SOURCE_DATE_EPOCH envvar if already present for robustness (From OE-Core rev: ac2ea906568bdb6aaf1f0ca4d35da87ceb39304d) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fmt: upgrade 11.1.4 -> 11.2.0Wang Mingyu2025-05-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ============ - Added the 's' specifier for 'std::error_code'. It allows formatting an error message as a string. - Fixed formatting of 'std::chrono::local_time' and 'tm' - Added diagnostics for cases when timezone information is not available. - Deprecated 'fmt::localtime' in favor of 'std::localtime'. - Fixed compilation with GCC 15 and C++20 modules enabled - Fixed handling of named arguments in format specs - Added error reporting for duplicate named arguments - Fixed formatting of 'long' with 'FMT_BUILTIN_TYPES=0' - Optimized 'text_style' using bit packing - Added support for incomplete types - Fixed a flush issue in 'fmt::print' when using libstdc++ - Fixed 'fmt::println' usage with 'FMT_ENFORCE_COMPILE_STRING' and legacy - Removed legacy header 'fmt/core.h' from docs - Worked around limitations of '__builtin_strlen' during constant evaluation - Worked around a bug in MSVC v141 - Removed the 'fmt_detail' namespace - Removed specializations of 'std::is_floating_point' in tests - Fixed a CMake error when setting 'CMAKE_MODULE_PATH' in the pedantic mode - Updated the Bazel config (From OE-Core rev: 2f2ef80e7e037900d8d4afa3dc7bf01734cef229) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* diffstat: upgrade 1.67 -> 1.68Wang Mingyu2025-05-131-2/+2
| | | | | | | | | License-Update: Copyright year updated to 2025 (From OE-Core rev: e96c1a869d250250f14ff2f0089df78b7ec5795c) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ccache: upgrade 4.11.2 -> 4.11.3Wang Mingyu2025-05-131-1/+1
| | | | | | | (From OE-Core rev: 3cbe5bd8392efa0a9b32ea9931527196c3d53645) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf/pseudo: Switch from exclusion list to inclusion listRichard Purdie2025-05-121-1/+1
| | | | | | | | | | | | | | | | | Currently, pseudo tracks all files referenced within its presence unless they're listed in an exclusion list. The exclusion list has grown to be fairly unwieldy. This patch swaps PSEUDO_IGNORE_PATHS for PSEUDO_INCLUDE_PATHS which in theory should be easier and more explicit to maintain. This change does drop many directories from pseudo coverage including /home and /tmp. There may be adapatations needed for recipes/classes using pseudo in specific ways. (From OE-Core rev: 2502da81709f25de499277b28d33c915638c45f6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* clang: Upgrade to 20.1.4Khem Raj2025-05-122-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Brings following fixes * ec28b8f9cc7f [libcxx] [test] Extend mingw workarounds for armv7/aarch64 too (#136419) * 8c2dc1b5aa7f [clang-repl] Implement LoadDynamicLibrary for clang-repl wasm use cases (#133037) * 02afcbf63fee [SystemZ] Fix compile time regression in adjustInliningThreshold(). (#137527) * c877757659e8 [clang-repl] : Fix clang-repl crash with --cuda flag (#136404) * f4779c389868 [InstCombine] Preserve signbit semantics of NaN with fold to fabs (#136648) * 57a31e183dc8 [InstCombine] Do not fold logical is_finite test (#136851) * 1cf8c7797d2b [GlobalOpt] Do not promote malloc if there are atomic loads/stores (#137158) * 24805c2e0817 [lldb] Use correct path for lldb-server executable (#131519) * 182e8b7f8a71 [clang-format] Correctly annotate kw_operator in using decls (#136545) * 425d1aad294f [RISCV] Handle scalarized reductions in getArithmeticReductionCost * 2d7ad98ec0a8 [clang][analyzer] Fix error path of builtin overflow (#136345) * e7ae5532bc27 [clang-format] Fix mismatched break in BlockIndent (#124998) * 8f288eb619db [lldb][test] Adjust TestTargetReadInstructionsFlavor skipIfs * d76ec6a75d39 [lldb] Fix SBTarget::ReadInstruction with flavor (#134626) * 62072e7f877e [clang][AST] Handle implicit first argument in CallExpr::getBeginLoc() * 581772ed077e [LoongArch] Don't crash on instruction prefetch intrinsics (#135760) * 89adc2d4f93b [HEXAGON] Fix corner cases for hwloops pass (#135439) * 78f6719ca9b5 [GlobalMerge][PPC] Don't merge globals in llvm.metadata section (#131801) * ab0074fe306f Bump version to 20.1.4 (From OE-Core rev: a94a08b86f08e4fbf038abbda6d210b11edb0dd6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* compiler-rt: Rename the rt libraries if compiled with arm hardfloat ABIKhem Raj2025-05-121-1/+6
| | | | | | | | | | | | | | | | OE does not rely on tuple to deduce hardfloat ABI, but clang/llvm does arm-yoe-linux-gnueabi is used for both soft and softfp and hardfp float ABIs in OE, LLVM expects arm-yoe-linux-gnueabihf for it to be treated as hardfloat ABI, and look for correct name for rt libraries. We know when we compile them with Hard-float ABI so rename them in such case so clang can find it when using -rtlib=compiler-rt it needs to has 'armhf' suffix (From OE-Core rev: b369e99cb27bd327ab244335b637f0ad3393d9b8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libcxx: Fix cflags and ldflags for using compiler runtimeKhem Raj2025-05-121-4/+4
| | | | | | | | | | | | | | | | | | -stdlib is needed in both cxxflags and ldflags since c++ compiler will use these to chose the right c++ headers and libraries during link -rtlib and -unwindlib are only needed during linking Use LLVM_HOST_TRIPLE during cross compiling compiler-rt for target this is used by cmake to compute target and compiler triples Fix LLVM_RUNTIME_TARGETS to use HOST_ARCH, it does not need cross compile triple which HOST_SYS is passing here (From OE-Core rev: d1ae4087c548a78e90687b64764f621b070e3ec5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* compiler-rt: Consolidate and fix cmake argumentsKhem Raj2025-05-121-8/+2
| | | | | | | | | | | | | | | | | Specify CMAKE_C_COMPILER_TARGET and COMPILER_RT_DEFAULT_TARGET_ARCH in common for native/target/nativesdk set COMPILER_RT_DEFAULT_TARGET_ARCH to use HOST_ARCH across all recipe variants It is not needed to set COMPILER_RT_DEFAULT_TARGET_ARCH for powerpc anymore as it is already fixed by setting COMPILER_RT_DEFAULT_TARGET_ARCH to HOST_ARCH (From OE-Core rev: 945e9a799ddbb28c169155368f1998cb8e9f455f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pygobject: RDEPENDS on gobject-introspectionYi Zhao2025-05-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since 3.51.0, python3-pygobject depends on libgirepository 2.0 provided by glib-2.0 instead of libgirepository 1.0 provided by gobject-introspection[1]. It still needs the typelib files from libgirepository-1.0 package. Add gobject-introspection as a runtime dependency. Fixes: $ python3 Python 3.13.2 (main, Feb 4 2025, 14:51:09) [GCC 14.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import gi >>> from gi.repository import Gtk Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/gi/importer.py", line 139, in create_module introspection_module = get_introspection_module(namespace) File "/usr/lib64/python3.13/site-packages/gi/module.py", line 243, in get_introspection_module module = IntrospectionModule(namespace, version) File "/usr/lib64/python3.13/site-packages/gi/module.py", line 111, in __init__ repository.require(namespace, version) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^ gi.RepositoryError: Typelib file for namespace 'xlib', version '2.0' not found The above exception was the direct cause of the following exception: Traceback (most recent call last): File "<python-input-1>", line 1, in <module> from gi.repository import Gtk File "/usr/lib64/python3.13/site-packages/gi/importer.py", line 141, in create_module raise ImportError(e) from e ImportError: Typelib file for namespace 'xlib', version '2.0' not found [1] https://gitlab.gnome.org/GNOME/pygobject/-/merge_requests/320 (From OE-Core rev: 6f9e02292c9305e795f2651c3bb6ef5b671e1c74) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: clean up the native template in nativesdk buildsRoss Burton2025-05-121-1/+16
| | | | | | | | | | | | | | In a nativesdk build, the native build template should be minimal as it just needs to ensure that Meson can link with libraries in the SDK's native sysroot. Specifically, it shouldn't be passing BUILD_* flags to Meson as these are for the Yocto build host, not the SDK user. (From OE-Core rev: f13063d11f1c62152af9ed45cb24f6499262e1a2) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: remove sysroot from the native environment fileRoss Burton2025-05-121-3/+0
| | | | | | | | | | | The [properties]sys_root assignment doesn't actually do much in cross builds, and does nothing in native builds (confirmed by the Meson author). (From OE-Core rev: b3ac60779d3f392689bad25780974244f893e2a0) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: split template generationRoss Burton2025-05-121-3/+10
| | | | | | | | | | Split the template generation function into two functions, one for cross and another for native. (From OE-Core rev: 3c4d2fc7ef38042737f64e9e44355839ab551b55) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: Fix host_machine setting for native cross-fileTom Hochstein2025-05-121-12/+4
| | | | | | | | | | | | | | | For native and nativesdk, the meson cross-file settings for `host_machine` are incorrectly set for the build machine, not the "machine on which the compiled binary will run". See https://mesonbuild.com/Cross-compilation.html. Fixes: [YOCTO #15485] (From OE-Core rev: 59d21632aecf1ca9085d17aeda19a8a29602cd17) (From OE-Core rev: 0b882df19b5c339d2e7e00f56136afa890404f7b) Signed-off-by: Tom Hochstein <tom.hochstein@oss.nxp.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* clang: fix upstream version checkAlexander Kanavin2025-05-091-0/+2
| | | | | | | (From OE-Core rev: 0dfdaca8405f4f1a9c188f736a99c39b7f8272b3) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* clang: Build limited targets for target clang recipeKhem Raj2025-05-091-5/+9
| | | | | | | | | | | | | | | | | On target its sufficient to build what mesa needs + one host target It should speed up the build. Fix bug in function mapping target architecture to LLVM backend Reduces size of libLLVM Before - 131M May 6 20:42 ./clang-libllvm/usr/lib/libLLVM.so.20.1 After - 93M May 6 18:47 ./clang-libllvm/usr/lib/libLLVM.so.20.1 (From OE-Core rev: 0e1c55d2631200f8c9890eac8d26c404f28862d3) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* clang: Space optimize clang recipesKhem Raj2025-05-091-2/+0
| | | | | | | | | They can consume quite a bit of build space, we don't debug them as often (From OE-Core rev: 107c344a627c29a2c6a1a47f57d3d63e74bbb112) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* compiler-rt: Always use clang for compilerKhem Raj2025-05-081-11/+18
| | | | | | | | | | | | | This makes it build for all architectures e.g. riscv/mips/ppc etc. Using clang-native to build all variants of recipe makes it easier to handle compiling with various distros choosing different runtimes (From OE-Core rev: 4df1f0da627e0985312ae4a330e7f0800c0c87a5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* compiler-rt-sanitizers: Omit the musl architecture restrictionsKhem Raj2025-05-081-6/+0
| | | | | | | | | | | sanitizers are working fine on arm/aarch64 as well. Remove the compatible host restriction (From OE-Core rev: 3ebe53ddc99643f96a87e751766f02f0b2203a07) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* clang: split SPIRV-LLVM-Translator to its own recipeDmitry Baryshkov2025-05-084-86/+4
| | | | | | | | | | | | | | | The translator is not a part of the same source tree. As such it has tendency to break on clang upgrades. Split it to its own recipe in order to ease handling of clang. This also makes it use SPIR-V headers provided by the spirv-headers recipe instead of vendoring them in. (From OE-Core rev: 4178fe97371bce0bd63b19f57b872ccefd1ec45c) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mmc-utils: upgrade to latest revisionDario Binacchi2025-05-081-1/+1
| | | | | | | | (From OE-Core rev: 30f0177e74dace0e9a4305d8aa077cbdbc9d786f) Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pseudo: Upgrade to version 1.9.1Richard Purdie2025-05-064-114/+3
| | | | | | | | | | | | | | | | | | | | This brings in: * nftw, nftw64: add wrapper * ftw, nftw, ftw64, nftw64: add tests * Move ftw and ftw64 to calling ntfw and nftw64 * makewrappers: Introduce 'array' support * pseudo_util.c: Avoid warning when we intentionally discard const * pseudo_client.c: Fix warning * yocto-older-glibc-symbols.path: Add as a reference patch * pseudo/pseudo_client: Add wrapper functions to operate correctly with glibc 2.38 onwards * configure: Prune PIE flags * test/test-parallel-rename.sh: Add parallel rename test * test/test-parallel-symlinks.sh: Add parallel symlink test * ports/linux/guts: Add .gitignore to ignore generated files (From OE-Core rev: 994e508b2a0ede8b5cc4fe39444cf25dc9a53faf) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libcxx,compiler-rt-sanitizers: Add cflags to build with clang compilerKhem Raj2025-05-052-0/+11
| | | | | | | | | | | | We are using clang-native to build the native versions of these recipes but we are missing the needed compiler flags to let it c/c++ runtime appropriately. This also ensures that meta-clang does not have to worry about the compiler settings for nativesdk/native pieces separately. (From OE-Core rev: b3b97ff790f42c5844c9f6aaeab9e23d355febfa) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* clang: Upgrade to 20.1.3Khem Raj2025-05-052-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Brings following fixes * 923a5c4f83d2 Revert "[ARM][ConstantIslands] Correct MinNoSplitDisp calculation (#114590)" * 86f5891c5986 [llvm][Hexagon] Promote operand v2i1 to v2i32 (#135409) * d55c3c20520a [libc++] Fix misplaced _LIBCPP_POP_MACROS (#134874) * 9420327ad768 [Clang] Fix a lambda pattern comparison mismatch after ecc7e6ce4 (#133863) * 4da7285e636e Silence -Wcast-function-type warnings on idiomatic Windows code (#135660) * c5109be53b7e [LV] Disable epilogue vectorization for FindLastIV if start is poison. * 91a3f14d9497 [LV] Add tests with FindLastIV and epilogue vectorization. * 2131242240f7 [LLVM][MemCpyOpt] Unify alias tags if we optimize allocas (#129537) * 86c98536380b [libc++] Fix deployment targets that were incorrectly bumped (#134278) * dfd6f123362a [libc++] Guard additional headers with _LIBCPP_HAS_LOCALIZATION (#131921) * dc9d4f9a7008 [lldb] Respect LaunchInfo::SetExecutable in ProcessLauncherPosixFork (#133093) * 9c7d72869876 [LoongArch] Move fix-tle-le-sym-type test to test/MC. NFC (#133839) * 0c30835a63db [X86][AVX10] Remove VAES and VPCLMULQDQ feature from AVX10.1 (#135489) * 2e0966408283 [X86] Backport saturate-convert intrinsics renaming & YMM rounding intrinsics removal in AVX10.2 * 0dd4235473d4 [SCEV] Use ashr to adjust constant multipliers (#135534) * a141e58685fd [llvm][CodeGen] avoid repeated interval calculation in window scheduler (#132352) * d88cd35023b4 [llvm][CodeGen] Fix the empty interval issue in Window Scheduler (#129204) * 73d1e8598eda [CodeGen] Avoid repeated hash lookups (NFC) (#130237) * 7034995f1029 [clang] Handle Binary StingLiteral kind in one more place (#132201) * 2e7710eaffdd [clang] Introduce "binary" StringLiteral for #embed data (#127629) * e0db588f3db4 [IR] Fix assertion error in User new/delete edge case (#129914) * d5bb7b866e59 Avoid a race condition in opt-viewer/optrecord (#131214) * d15fef4209f1 [IndVarSimplify] Handle the case where both operands are the same when widening IV (#135207) * 91647ae0dffe [X86][SSE] Don't emit SSE2 load instructions in SSE1-only mode (#134547) * d05543ed0796 [clang-format] Keep the space between `not` and a unary operator (#135035) * 81220e68a496 [fatlto] Add coroutine passes when using FatLTO with ThinLTO (#134434) * edb54a7821fe Release/20.x: [clang-format] Set C11 instead of C17 for LK_C * 4181e829d1db [LLDB][LoongArch] Fix build errors about NT_LOONGARCH_HW_{BREAK,WATCH} (#126020) * 7436329bfee9 Revert "[clang] [ARM] Explicitly enable NEON for Windows/Darwin targets (#122095)" * a0c8959cc880 [X86] When expanding LCMPXCHG16B_SAVE_RBX, substitute RBX in base (#134109) * a8b5fe017a5e [libc++] Add missing release note for LLVM 20 about zip_view (#134144) * 41aefdbebe64 cuda clang: Fix argument order for __reduce_max_sync (#132881) * 19c2e1c12d47 [clang-tidy] Fix broken HeaderFilterRegex when read from config file (#133582) * ac31db0463c0 [Sanitizers][Darwin][Test] XFAIL malloc_zone.cpp * 53141e4e3c65 [clang] Do not infer lifetimebound for functions with void return type (#131997) * cf7bb13f0c7f [TailDuplicator] Determine if computed gotos using `blockaddress` (#132536) * 656289ffa0a6 Bump version to 20.1.3 (#134187) (From OE-Core rev: 2199334354162a6304c4b0d4f35efb67e8e7d36b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* clang: RPROVIDE spirv-llvm-translator and libclcKhem Raj2025-05-051-0/+3
| | | | | | | | | | This paves the way to spin out these packages out of clang in future specifically spirv-llvm-translator which is not yet part of llvm monorepo (From OE-Core rev: fc58a1ee75737851d6e97be8a0b7ac739819efc8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* clang: Merge llvm/clang family recipes from meta-clangKhem Raj2025-05-0555-333/+3620
| | | | | | | | | | | | | | | | | This can ensure that meta-clang does not carry them and can rely on core layer while mesa can use them too. Omit time stamps in openmp from generated files to improve reproducibility fix the issue that: | file /usr/include/llvm/Config/llvm-config.h conflicts between attempted installs of lib32-llvm-dev-20.1.2-r0.core2_32 and llvm-dev-20.1.2-r0.core2_64 (From OE-Core rev: d77e398095228b34851762858a76640e3c2cb0ab) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: mark CVE-2025-1153 as fixedPeter Marko2025-05-051-0/+2
| | | | | | | | | | | | We had this CVE patched but the patch was removed with last 2.44 branch updates as it is now included. Since there is no new version which could be set in NVD DB, this needs to be explicitly handled. (From OE-Core rev: 32f18145dee54f61203506daef339cd132908287) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>