summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/apt/apt/0001-Hide-fstatat64-and-prlimit64-defines-on-musl.patch48
-rw-r--r--meta/recipes-devtools/apt/apt/0001-strutl-Add-missing-include-cstdint-gcc-15.patch26
-rw-r--r--meta/recipes-devtools/apt/apt_2.6.1.bb6
-rw-r--r--meta/recipes-devtools/autoconf-archive/autoconf-archive_2024.10.16.bb (renamed from meta/recipes-devtools/autoconf-archive/autoconf-archive_2023.02.20.bb)2
-rw-r--r--meta/recipes-devtools/autoconf/autoconf_2.72.bb (renamed from meta/recipes-devtools/autoconf/autoconf_2.72e.bb)8
-rw-r--r--meta/recipes-devtools/automake/automake/0001-Drop-ar-u-argument.patch35
-rw-r--r--meta/recipes-devtools/automake/automake/0001-automake-Add-default-libtool_tag-to-cppasm.patch27
-rw-r--r--meta/recipes-devtools/automake/automake/0001-build-fix-race-in-parallel-builds.patch65
-rw-r--r--meta/recipes-devtools/automake/automake/0001-configure-don-t-report-error-when-the-path-of-Perl-c.patch34
-rw-r--r--meta/recipes-devtools/automake/automake/0002-automake-Update-for-python.m4-to-respect-libdir.patch (renamed from meta/recipes-devtools/automake/automake/0001-automake-Update-for-python.m4-to-respect-libdir.patch)34
-rw-r--r--meta/recipes-devtools/automake/automake/0004-Add-a-new-distro-feature-ptest.patch (renamed from meta/recipes-devtools/automake/automake/buildtest.patch)12
-rw-r--r--meta/recipes-devtools/automake/automake/0006-automake-Remove-delays-in-configure-scripts-using-au.patch77
-rw-r--r--meta/recipes-devtools/automake/automake/new_rt_path_for_test-driver.patch48
-rw-r--r--meta/recipes-devtools/automake/automake/performance.patch82
-rw-r--r--meta/recipes-devtools/automake/automake_1.17.bb (renamed from meta/recipes-devtools/automake/automake_1.16.5.bb)13
-rw-r--r--meta/recipes-devtools/bindgen-cli/bindgen-cli-crates.inc186
-rw-r--r--meta/recipes-devtools/bindgen-cli/bindgen-cli_0.71.1.bb18
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.44.inc (renamed from meta/recipes-devtools/binutils/binutils-2.42.inc)24
-rw-r--r--meta/recipes-devtools/binutils/binutils-cross-canadian.inc2
-rw-r--r--meta/recipes-devtools/binutils/binutils-cross-canadian_2.44.bb (renamed from meta/recipes-devtools/binutils/binutils-cross-canadian_2.42.bb)0
-rw-r--r--meta/recipes-devtools/binutils/binutils-cross.inc3
-rw-r--r--meta/recipes-devtools/binutils/binutils-cross_2.44.bb (renamed from meta/recipes-devtools/binutils/binutils-cross_2.42.bb)0
-rw-r--r--meta/recipes-devtools/binutils/binutils-crosssdk_2.44.bb (renamed from meta/recipes-devtools/binutils/binutils-crosssdk_2.42.bb)0
-rw-r--r--meta/recipes-devtools/binutils/binutils-testsuite_2.44.bb (renamed from meta/recipes-devtools/binutils/binutils-cross-testsuite_2.42.bb)9
-rw-r--r--meta/recipes-devtools/binutils/binutils.inc36
-rw-r--r--meta/recipes-devtools/binutils/binutils/0001-binutils-crosssdk-Generate-relocatable-SDKs.patch18
-rw-r--r--meta/recipes-devtools/binutils/binutils/0002-binutils-cross-Do-not-generate-linker-script-directo.patch6
-rw-r--r--meta/recipes-devtools/binutils/binutils/0003-binutils-nativesdk-Search-for-alternative-ld.so.conf.patch14
-rw-r--r--meta/recipes-devtools/binutils/binutils/0004-Point-scripts-location-to-libdir.patch6
-rw-r--r--meta/recipes-devtools/binutils/binutils/0005-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch4
-rw-r--r--meta/recipes-devtools/binutils/binutils/0006-warn-for-uses-of-system-directories-when-cross-linki.patch48
-rw-r--r--meta/recipes-devtools/binutils/binutils/0007-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch4
-rw-r--r--meta/recipes-devtools/binutils/binutils/0008-Use-libtool-2.4.patch2164
-rw-r--r--meta/recipes-devtools/binutils/binutils/0009-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch8
-rw-r--r--meta/recipes-devtools/binutils/binutils/0010-sync-with-OE-libtool-changes.patch10
-rw-r--r--meta/recipes-devtools/binutils/binutils/0011-Check-for-clang-before-checking-gcc-version.patch10
-rw-r--r--meta/recipes-devtools/binutils/binutils/0012-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch8
-rw-r--r--meta/recipes-devtools/binutils/binutils/0013-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch4
-rw-r--r--meta/recipes-devtools/binutils/binutils/0014-Remove-duplicate-pe-dll.o-entry-deom-targ_extra_ofil.patch6
-rw-r--r--meta/recipes-devtools/binutils/binutils/0015-CVE-2025-1178.patch33
-rw-r--r--meta/recipes-devtools/binutils/binutils/0015-gprofng-change-use-of-bignum-to-bigint.patch17
-rw-r--r--meta/recipes-devtools/binutils/binutils/0016-CVE-2025-1181-1.patch141
-rw-r--r--meta/recipes-devtools/binutils/binutils/0017-CVE-2025-1181-2.patch337
-rw-r--r--meta/recipes-devtools/binutils/binutils/0018-CVE-2025-5245.patch38
-rw-r--r--meta/recipes-devtools/binutils/binutils/0019-CVE-2025-3198.patch28
-rw-r--r--meta/recipes-devtools/binutils/binutils/0019-CVE-2025-5244.patch25
-rw-r--r--meta/recipes-devtools/binutils/binutils/CVE-2025-1180.patch165
-rw-r--r--meta/recipes-devtools/binutils/binutils/CVE-2025-1182.patch36
-rw-r--r--meta/recipes-devtools/binutils/binutils_2.44.bb (renamed from meta/recipes-devtools/binutils/binutils_2.42.bb)7
-rw-r--r--meta/recipes-devtools/bison/bison_3.8.2.bb3
-rw-r--r--meta/recipes-devtools/bootchart2/bootchart2/0001-Makefile-Let-bootchartd.conf-use-EARLY_.patch30
-rw-r--r--meta/recipes-devtools/bootchart2/bootchart2/0002-Makefile-Add-n-to-gzip.patch37
-rw-r--r--meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb14
-rw-r--r--meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Add-a-possibility-to-specify-where-python-modules-ar.patch6
-rw-r--r--meta/recipes-devtools/btrfs-tools/btrfs-tools_6.14.bb (renamed from meta/recipes-devtools/btrfs-tools/btrfs-tools_6.8.bb)6
-rw-r--r--meta/recipes-devtools/ccache/ccache_4.11.3.bb32
-rw-r--r--meta/recipes-devtools/ccache/ccache_4.9.1.bb26
-rw-r--r--meta/recipes-devtools/ccache/files/0001-xxhash.h-Fix-build-with-gcc-12.patch37
-rw-r--r--meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb18
-rw-r--r--meta/recipes-devtools/cdrtools/cdrtools/0001-fix-nsectors-exceeds-0xffff-situation.patch69
-rw-r--r--meta/recipes-devtools/cdrtools/cdrtools/gcc14-fix.patch13
-rw-r--r--meta/recipes-devtools/chrpath/chrpath/standarddoc.patch5
-rw-r--r--meta/recipes-devtools/chrpath/chrpath_0.18.bb (renamed from meta/recipes-devtools/chrpath/chrpath_0.16.bb)4
-rw-r--r--meta/recipes-devtools/clang/clang-cross-canadian_git.bb36
-rw-r--r--meta/recipes-devtools/clang/clang-cross_git.bb40
-rw-r--r--meta/recipes-devtools/clang/clang-crosssdk_git.bb34
-rw-r--r--meta/recipes-devtools/clang/clang/0001-libcxxabi-Find-libunwind-headers-when-LIBCXXABI_LIBU.patch60
-rw-r--r--meta/recipes-devtools/clang/clang/0002-compiler-rt-support-a-new-embedded-linux-target.patch309
-rw-r--r--meta/recipes-devtools/clang/clang/0003-compiler-rt-Simplify-cross-compilation.-Don-t-use-na.patch44
-rw-r--r--meta/recipes-devtools/clang/clang/0004-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch90
-rw-r--r--meta/recipes-devtools/clang/clang/0005-llvm-allow-env-override-of-exe-and-libdir-path.patch71
-rw-r--r--meta/recipes-devtools/clang/clang/0006-clang-driver-Check-sysroot-for-ldso-path.patch78
-rw-r--r--meta/recipes-devtools/clang/clang/0007-clang-Driver-tools.cpp-Add-lssp_nonshared-on-musl.patch32
-rw-r--r--meta/recipes-devtools/clang/clang/0008-clang-Prepend-trailing-to-sysroot.patch39
-rw-r--r--meta/recipes-devtools/clang/clang/0009-clang-Look-inside-the-target-sysroot-for-compiler-ru.patch41
-rw-r--r--meta/recipes-devtools/clang/clang/0010-clang-Define-releative-gcc-installation-dir.patch123
-rw-r--r--meta/recipes-devtools/clang/clang/0011-clang-Add-lpthread-and-ldl-along-with-lunwind-for-st.patch35
-rw-r--r--meta/recipes-devtools/clang/clang/0012-Pass-PYTHON_EXECUTABLE-when-cross-compiling-for-nati.patch24
-rw-r--r--meta/recipes-devtools/clang/clang/0013-Check-for-atomic-double-intrinsics.patch34
-rw-r--r--meta/recipes-devtools/clang/clang/0014-cmake-Fix-configure-for-packages-using-find_package.patch117
-rw-r--r--meta/recipes-devtools/clang/clang/0015-clang-Fix-resource-dir-location-for-cross-toolchains.patch50
-rw-r--r--meta/recipes-devtools/clang/clang/0016-clang-driver-Add-dyld-prefix-when-checking-sysroot-f.patch79
-rw-r--r--meta/recipes-devtools/clang/clang/0017-clang-Use-python3-in-python-scripts.patch35
-rw-r--r--meta/recipes-devtools/clang/clang/0018-llvm-clang-Insert-anchor-for-adding-OE-distro-vendor.patch167
-rw-r--r--meta/recipes-devtools/clang/clang/0019-compiler-rt-Do-not-use-backtrace-APIs-on-non-glibc-l.patch68
-rw-r--r--meta/recipes-devtools/clang/clang/0020-clang-Fix-x86-triple-for-non-debian-multiarch-linux-.patch28
-rw-r--r--meta/recipes-devtools/clang/clang/0021-libunwind-Added-unw_backtrace-method.patch56
-rw-r--r--meta/recipes-devtools/clang/clang/0022-lldb-Link-with-libatomic-on-x86.patch33
-rw-r--r--meta/recipes-devtools/clang/clang/0023-compiler-rt-Enable-__int128-for-ppc32.patch73
-rw-r--r--meta/recipes-devtools/clang/clang/0024-llvm-Do-not-use-cmake-infra-to-detect-libzstd.patch62
-rw-r--r--meta/recipes-devtools/clang/clang/0025-compiler-rt-Fix-stat-struct-s-size-for-O32-ABI.patch46
-rw-r--r--meta/recipes-devtools/clang/clang/0026-compiler-rt-Undef-_TIME_BITS-along-with-_FILE_OFFSET.patch43
-rw-r--r--meta/recipes-devtools/clang/clang/0027-ToolChains-Gnu.cpp-ARMLibDirs-search-also-in-lib32.patch81
-rw-r--r--meta/recipes-devtools/clang/clang/0028-clang-llvm-Add-OE-specific-ABI-triple-for-N32-ABI.patch78
-rw-r--r--meta/recipes-devtools/clang/clang/0029-llvm-Add-libunwind.pc.in-and-llvm-config-scripts.patch90
-rw-r--r--meta/recipes-devtools/clang/clang/0030-scan-build-py-respect-LLVM_LIBDIR_SUFFIX-like-other-.patch92
-rw-r--r--meta/recipes-devtools/clang/clang/0031-compiler-rt-Do-not-pass-target-to-clang-compiler.patch29
-rw-r--r--meta/recipes-devtools/clang/clang/0032-clangd-Add-a-build-option-to-disable-building-dexp.patch85
-rw-r--r--meta/recipes-devtools/clang/clang/0033-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch (renamed from meta/recipes-devtools/llvm/llvm/0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch)4
-rw-r--r--meta/recipes-devtools/clang/clang/0034-llvm-config-remove-LLVM_LDFLAGS-from-ldflags-output.patch32
-rw-r--r--meta/recipes-devtools/clang/clang/0035-openmp-Do-not-emit-date-and-time-into-generate-files.patch37
-rw-r--r--meta/recipes-devtools/clang/clang/0036-libunwind-Use-gcs-instead-of-gcs-target-attribute.patch56
-rw-r--r--meta/recipes-devtools/clang/clang/0037-compiler-rt-Exclude-sync_fetch_and_-for-any-pre-ARMv.patch63
-rw-r--r--meta/recipes-devtools/clang/clang/0038-compiler-rt-Hardcode-uptr-sptr-typedefs-on-Mips-Linu.patch35
-rw-r--r--meta/recipes-devtools/clang/clang_git.bb488
-rw-r--r--meta/recipes-devtools/clang/common-clang.inc24
-rw-r--r--meta/recipes-devtools/clang/common-source.inc17
-rw-r--r--meta/recipes-devtools/clang/common.inc75
-rw-r--r--meta/recipes-devtools/clang/compiler-rt-sanitizers_git.bb138
-rw-r--r--meta/recipes-devtools/clang/compiler-rt_git.bb139
-rw-r--r--meta/recipes-devtools/clang/libcxx_git.bb122
-rw-r--r--meta/recipes-devtools/clang/llvm-project-source.bb12
-rw-r--r--meta/recipes-devtools/clang/llvm-project-source.inc98
-rw-r--r--meta/recipes-devtools/clang/nativesdk-clang-glue.bb36
-rw-r--r--meta/recipes-devtools/clang/openmp_git.bb65
-rw-r--r--meta/recipes-devtools/cmake/cmake-native_3.31.6.bb (renamed from meta/recipes-devtools/cmake/cmake-native_3.28.3.bb)6
-rw-r--r--meta/recipes-devtools/cmake/cmake.inc8
-rw-r--r--meta/recipes-devtools/cmake/cmake/0001-CMakeDetermineCompilerABI-Strip-pipe-from-compile-fl.patch63
-rw-r--r--meta/recipes-devtools/cmake/cmake/0001-CMakeLists.txt-disable-USE_NGHTTP2.patch19
-rw-r--r--meta/recipes-devtools/cmake/cmake/0001-cmCurl-Avoid-using-undocumented-type-for-CURLOPT_NET.patch30
-rw-r--r--meta/recipes-devtools/cmake/cmake/0001-ctest-Allow-arbitrary-characters-in-test-names-of-CT.patch202
-rw-r--r--meta/recipes-devtools/cmake/cmake/0005-Disable-use-of-ext2fs-ext2_fs.h-by-cmake-s-internal-.patch9
-rw-r--r--meta/recipes-devtools/cmake/cmake_3.31.6.bb (renamed from meta/recipes-devtools/cmake/cmake_3.28.3.bb)3
-rw-r--r--meta/recipes-devtools/createrepo-c/createrepo-c/0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch5
-rw-r--r--meta/recipes-devtools/createrepo-c/createrepo-c/0001-include-rpm-rpmstring.h.patch5
-rw-r--r--meta/recipes-devtools/createrepo-c/createrepo-c_1.2.1.bb (renamed from meta/recipes-devtools/createrepo-c/createrepo-c_1.1.0.bb)6
-rw-r--r--meta/recipes-devtools/debugedit/debugedit_5.1.bb (renamed from meta/recipes-devtools/debugedit/debugedit_5.0.bb)17
-rw-r--r--meta/recipes-devtools/debugedit/files/0001-Add-option-to-allow-disabling-inlined-xxhash.patch81
-rw-r--r--meta/recipes-devtools/debugedit/files/0002-sepdebugcrcfix.c-do-not-use-64bit-variants.patch56
-rw-r--r--meta/recipes-devtools/debugedit/files/0003-Makefile.am-do-not-update-manual.patch13
-rw-r--r--meta/recipes-devtools/dejagnu/dejagnu_1.6.3.bb2
-rw-r--r--meta/recipes-devtools/desktop-file-utils/desktop-file-utils_0.28.bb (renamed from meta/recipes-devtools/desktop-file-utils/desktop-file-utils_0.27.bb)4
-rw-r--r--meta/recipes-devtools/devel-config/distcc-config.bb2
-rw-r--r--meta/recipes-devtools/devel-config/nfs-export-root.bb3
-rw-r--r--meta/recipes-devtools/diffstat/diffstat/avoid-check-user-break-cc.patch7
-rw-r--r--meta/recipes-devtools/diffstat/diffstat_1.68.bb (renamed from meta/recipes-devtools/diffstat/diffstat_1.66.bb)6
-rw-r--r--meta/recipes-devtools/distcc/distcc_3.4.bb1
-rw-r--r--meta/recipes-devtools/dmidecode/dmidecode_3.6.bb (renamed from meta/recipes-devtools/dmidecode/dmidecode_3.5.bb)2
-rw-r--r--meta/recipes-devtools/dnf/dnf/0005-Do-not-prepend-installroot-to-logdir.patch6
-rw-r--r--meta/recipes-devtools/dnf/dnf_4.23.0.bb (renamed from meta/recipes-devtools/dnf/dnf_4.19.2.bb)11
-rw-r--r--meta/recipes-devtools/docbook-xml/docbook-xml-dtd4/LICENSE-OASIS4
-rw-r--r--meta/recipes-devtools/docbook-xml/docbook-xml-dtd4_4.5.bb27
-rw-r--r--meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets_1.79.1.bb5
-rw-r--r--meta/recipes-devtools/dosfstools/dosfstools/0001-fsck.fat-Adhere-to-the-fsck-exit-codes.patch214
-rw-r--r--meta/recipes-devtools/dosfstools/dosfstools/0002-manpages-Document-fsck.fat-new-exit-codes.patch46
-rw-r--r--meta/recipes-devtools/dosfstools/dosfstools/source-date-epoch.patch158
-rw-r--r--meta/recipes-devtools/dosfstools/dosfstools_4.2.bb5
-rw-r--r--meta/recipes-devtools/dpkg/dpkg.inc3
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/0001-Add-support-for-riscv32-CPU.patch8
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/0001-build.c-ignore-return-of-1-from-tar-cf.patch4
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/0001-dpkg-Support-muslx32-build.patch4
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/0001-script.c-avoid-use-of-chroot.patch (renamed from meta/recipes-devtools/dpkg/dpkg/0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch)25
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/0002-Adapt-to-linux-wrs-kernel-version-which-has-characte.patch6
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/0004-The-lutimes-function-doesn-t-work-properly-for-all-s.patch6
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/0006-add-musleabi-to-known-target-tripets.patch4
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/0007-dpkg-deb-build.c-Remove-usage-of-clamp-mtime-in-tar.patch4
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/add_armeb_triplet_entry.patch8
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/arch_pm.patch4
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/noman.patch4
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/remove-tar-no-timestamp.patch4
-rw-r--r--meta/recipes-devtools/dpkg/dpkg_1.22.11.bb (renamed from meta/recipes-devtools/dpkg/dpkg_1.22.6.bb)5
-rw-r--r--meta/recipes-devtools/dwarfsrcfiles/dwarfsrcfiles.bb8
-rw-r--r--meta/recipes-devtools/e2fsprogs/e2fsprogs.inc1
-rw-r--r--meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-libext2fs-fix-std-c23-build-failure.patch42
-rw-r--r--meta/recipes-devtools/e2fsprogs/e2fsprogs/e2fsprogs-fix-missing-check-for-permission-denied.patch3
-rw-r--r--meta/recipes-devtools/e2fsprogs/e2fsprogs/mkdir_p.patch7
-rw-r--r--meta/recipes-devtools/e2fsprogs/e2fsprogs/ptest.patch8
-rw-r--r--meta/recipes-devtools/e2fsprogs/e2fsprogs/quiet-debugfs.patch7
-rw-r--r--meta/recipes-devtools/e2fsprogs/e2fsprogs/remove.ldconfig.call.patch15
-rw-r--r--meta/recipes-devtools/e2fsprogs/e2fsprogs/run-ptest3
-rw-r--r--meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.1.bb (renamed from meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.0.bb)3
-rw-r--r--meta/recipes-devtools/elfutils/elfutils_0.193.bb (renamed from meta/recipes-devtools/elfutils/elfutils_0.191.bb)86
-rw-r--r--meta/recipes-devtools/elfutils/files/0001-config-eu.am-do-not-force-Werror.patch34
-rw-r--r--meta/recipes-devtools/elfutils/files/0001-debuginfod-Remove-unused-variable.patch34
-rw-r--r--meta/recipes-devtools/elfutils/files/0001-dso-link-change.patch49
-rw-r--r--meta/recipes-devtools/elfutils/files/0001-libasm-may-link-with-libbz2-if-found.patch39
-rw-r--r--meta/recipes-devtools/elfutils/files/0001-libelf-Add-libeu-objects-to-libelf.a-static-archive.patch35
-rw-r--r--meta/recipes-devtools/elfutils/files/0001-libelf-elf_end.c-check-data_list.data.d.d_buf-before.patch6
-rw-r--r--meta/recipes-devtools/elfutils/files/0001-skip-the-test-when-gcc-not-deployed.patch2
-rw-r--r--meta/recipes-devtools/elfutils/files/0001-srcfiles-fix-unused-variable-BUFFER_SIZE.patch36
-rw-r--r--meta/recipes-devtools/elfutils/files/0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch6
-rw-r--r--meta/recipes-devtools/elfutils/files/0002-Fix-elf_cvt_gunhash-if-dest-and-src-are-same.patch2
-rw-r--r--meta/recipes-devtools/elfutils/files/0003-fixheadercheck.patch2
-rw-r--r--meta/recipes-devtools/elfutils/files/0003-musl-utils.patch4
-rw-r--r--meta/recipes-devtools/elfutils/files/0006-Fix-build-on-aarch64-musl.patch58
-rw-r--r--meta/recipes-devtools/elfutils/files/ptest.patch16
-rw-r--r--meta/recipes-devtools/erofs-utils/erofs-utils_1.8.5.bb (renamed from meta/recipes-devtools/erofs-utils/erofs-utils_1.7.1.bb)4
-rw-r--r--meta/recipes-devtools/expect/expect/0001-Replace-tclsh-with-tclsh8-in-the-scripts-used-in-the.patch474
-rw-r--r--meta/recipes-devtools/expect/expect/expect-configure-c99.patch201
-rwxr-xr-xmeta/recipes-devtools/expect/expect/run-ptest2
-rw-r--r--meta/recipes-devtools/expect/expect/tcl840.patch27
-rw-r--r--meta/recipes-devtools/expect/expect_5.45.4.bb27
-rw-r--r--meta/recipes-devtools/fastfloat/fastfloat_8.0.2.bb14
-rw-r--r--meta/recipes-devtools/file/file_5.46.bb (renamed from meta/recipes-devtools/file/file_5.45.bb)8
-rw-r--r--meta/recipes-devtools/file/files/0001-PR-579-net147-Fix-stack-overrun.patch33
-rw-r--r--meta/recipes-devtools/file/files/0001-Use-4-in-default-reset-previous-negative-offset-in-m.patch93
-rw-r--r--meta/recipes-devtools/file/files/print_c.patch27
-rw-r--r--meta/recipes-devtools/flex/flex/0001-Match-malloc-signature-to-its-use.patch25
-rw-r--r--meta/recipes-devtools/flex/flex/0001-build-tests-add-missing-parser-scanner-dependencies.patch51
-rw-r--r--meta/recipes-devtools/flex/flex/disable-tests.patch19
-rw-r--r--meta/recipes-devtools/flex/flex_2.6.4.bb9
-rw-r--r--meta/recipes-devtools/fmt/fmt/0001-Workaround-an-ABI-issue-in-spdlog.patch35
-rw-r--r--meta/recipes-devtools/fmt/fmt_11.2.0.bb15
-rw-r--r--meta/recipes-devtools/gcc/gcc-15.1.inc (renamed from meta/recipes-devtools/gcc/gcc-13.2.inc)34
-rw-r--r--meta/recipes-devtools/gcc/gcc-common.inc32
-rw-r--r--meta/recipes-devtools/gcc/gcc-configure-common.inc4
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-canadian.inc10
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-canadian_15.1.bb (renamed from meta/recipes-devtools/gcc/gcc-cross-canadian_13.2.bb)2
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross.inc25
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross_15.1.bb (renamed from meta/recipes-devtools/gcc/gcc-cross_13.2.bb)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-crosssdk.inc4
-rw-r--r--meta/recipes-devtools/gcc/gcc-crosssdk_15.1.bb (renamed from meta/recipes-devtools/gcc/gcc-crosssdk_13.2.bb)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-multilib-config.inc11
-rw-r--r--meta/recipes-devtools/gcc/gcc-runtime.inc30
-rw-r--r--meta/recipes-devtools/gcc/gcc-runtime_15.1.bb (renamed from meta/recipes-devtools/gcc/gcc-runtime_13.2.bb)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-sanitizers.inc15
-rw-r--r--meta/recipes-devtools/gcc/gcc-sanitizers_15.1.bb (renamed from meta/recipes-devtools/gcc/gcc-sanitizers_13.2.bb)0
-rw-r--r--meta/recipes-devtools/gcc/gcc-shared-source.inc4
-rw-r--r--meta/recipes-devtools/gcc/gcc-source_15.1.bb (renamed from meta/recipes-devtools/gcc/gcc-source_13.2.bb)1
-rw-r--r--meta/recipes-devtools/gcc/gcc-target.inc76
-rw-r--r--meta/recipes-devtools/gcc/gcc-testsuite.inc6
-rw-r--r--meta/recipes-devtools/gcc/gcc/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch10
-rw-r--r--meta/recipes-devtools/gcc/gcc/0002-gcc-poison-system-directories.patch113
-rw-r--r--meta/recipes-devtools/gcc/gcc/0003-64-bit-multilib-hack.patch75
-rw-r--r--meta/recipes-devtools/gcc/gcc/0004-Pass-CXXFLAGS_FOR_BUILD-in-a-couple-of-places-to-avo.patch14
-rw-r--r--meta/recipes-devtools/gcc/gcc/0005-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch16
-rw-r--r--meta/recipes-devtools/gcc/gcc/0006-cpp-honor-sysroot.patch12
-rw-r--r--meta/recipes-devtools/gcc/gcc/0007-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch76
-rw-r--r--meta/recipes-devtools/gcc/gcc/0008-libtool.patch6
-rw-r--r--meta/recipes-devtools/gcc/gcc/0009-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch6
-rw-r--r--meta/recipes-devtools/gcc/gcc/0010-Use-the-multilib-config-files-from-B-instead-of-usin.patch14
-rw-r--r--meta/recipes-devtools/gcc/gcc/0011-aarch64-Fix-include-paths-when-S-B.patch30
-rw-r--r--meta/recipes-devtools/gcc/gcc/0012-Avoid-using-libdir-from-.la-which-usually-points-to-.patch6
-rw-r--r--meta/recipes-devtools/gcc/gcc/0013-Ensure-target-gcc-headers-can-be-included.patch18
-rw-r--r--meta/recipes-devtools/gcc/gcc/0014-Don-t-search-host-directory-during-relink-if-inst_pr.patch6
-rw-r--r--meta/recipes-devtools/gcc/gcc/0015-libcc1-fix-libcc1-s-install-path-and-rpath.patch6
-rw-r--r--meta/recipes-devtools/gcc/gcc/0016-handle-sysroot-support-for-nativesdk-gcc.patch34
-rw-r--r--meta/recipes-devtools/gcc/gcc/0017-Search-target-sysroot-gcc-version-specific-dirs-with.patch8
-rw-r--r--meta/recipes-devtools/gcc/gcc/0018-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch12
-rw-r--r--meta/recipes-devtools/gcc/gcc/0019-Re-introduce-spe-commandline-options.patch6
-rw-r--r--meta/recipes-devtools/gcc/gcc/0020-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch8
-rw-r--r--meta/recipes-devtools/gcc/gcc/0021-gentypes-genmodes-Do-not-use-__LINE__-for-maintainin.patch8
-rw-r--r--meta/recipes-devtools/gcc/gcc/0022-libatomic-Do-not-enforce-march-on-aarch64.patch16
-rw-r--r--meta/recipes-devtools/gcc/gcc/0023-Fix-install-path-of-linux64.h.patch8
-rw-r--r--meta/recipes-devtools/gcc/gcc/0024-Avoid-hardcoded-build-paths-into-ppc-libgcc.patch2
-rw-r--r--meta/recipes-devtools/gcc/gcc/0025-gcc-testsuite-tweaks-for-mips-OE.patch138
-rw-r--r--meta/recipes-devtools/gcc/gcc/0026-aarch64-Fix-loose-ldpstp-check-PR111411.patch117
-rw-r--r--meta/recipes-devtools/gcc/gcc/0026-arm-fully-validate-mem_noofs_operand-PR120351.patch95
-rw-r--r--meta/recipes-devtools/gcc/gcc/0026-fix-incorrect-preprocessor-line-numbers.patch475
-rw-r--r--meta/recipes-devtools/gcc/gcc/0027-Fix-gcc-vect-module-testcases.patch26
-rw-r--r--meta/recipes-devtools/gcc/gcc/CVE-2023-4039.patch3093
-rw-r--r--meta/recipes-devtools/gcc/gcc_15.1.bb (renamed from meta/recipes-devtools/gcc/gcc_13.2.bb)0
-rw-r--r--meta/recipes-devtools/gcc/libgcc-common.inc6
-rw-r--r--meta/recipes-devtools/gcc/libgcc-initial.inc2
-rw-r--r--meta/recipes-devtools/gcc/libgcc-initial_15.1.bb (renamed from meta/recipes-devtools/gcc/libgcc-initial_13.2.bb)0
-rw-r--r--meta/recipes-devtools/gcc/libgcc.inc3
-rw-r--r--meta/recipes-devtools/gcc/libgcc_15.1.bb (renamed from meta/recipes-devtools/gcc/libgcc_13.2.bb)0
-rw-r--r--meta/recipes-devtools/gcc/libgfortran.inc5
-rw-r--r--meta/recipes-devtools/gcc/libgfortran_15.1.bb (renamed from meta/recipes-devtools/gcc/libgfortran_13.2.bb)0
-rw-r--r--meta/recipes-devtools/gdb/gdb-common.inc5
-rw-r--r--meta/recipes-devtools/gdb/gdb-cross-canadian.inc8
-rw-r--r--meta/recipes-devtools/gdb/gdb-cross-canadian_16.3.bb (renamed from meta/recipes-devtools/gdb/gdb-cross-canadian_14.2.bb)0
-rw-r--r--meta/recipes-devtools/gdb/gdb-cross.inc4
-rw-r--r--meta/recipes-devtools/gdb/gdb-cross_16.3.bb (renamed from meta/recipes-devtools/gdb/gdb-cross_14.2.bb)0
-rw-r--r--meta/recipes-devtools/gdb/gdb.inc9
-rw-r--r--meta/recipes-devtools/gdb/gdb/0001-mips-linux-nat-Define-_ABIO32-if-not-defined.patch6
-rw-r--r--meta/recipes-devtools/gdb/gdb/0002-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch12
-rw-r--r--meta/recipes-devtools/gdb/gdb/0003-Dont-disable-libreadline.a-when-using-disable-static.patch10
-rw-r--r--meta/recipes-devtools/gdb/gdb/0004-use-asm-sgidefs.h.patch6
-rw-r--r--meta/recipes-devtools/gdb/gdb/0005-Change-order-of-CFLAGS.patch21
-rw-r--r--meta/recipes-devtools/gdb/gdb/0006-Fix-invalid-sigprocmask-call.patch (renamed from meta/recipes-devtools/gdb/gdb/0007-Fix-invalid-sigprocmask-call.patch)6
-rw-r--r--meta/recipes-devtools/gdb/gdb/0006-resolve-restrict-keyword-conflict.patch45
-rw-r--r--meta/recipes-devtools/gdb/gdb/0007-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch (renamed from meta/recipes-devtools/gdb/gdb/0008-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch)6
-rw-r--r--meta/recipes-devtools/gdb/gdb/0008-Add-fix-for-packages-that-are-not-compatible-with-C2.patch29
-rw-r--r--meta/recipes-devtools/gdb/gdb/0009-Readline-8.3-alpha-release.patch164
-rw-r--r--meta/recipes-devtools/gdb/gdb_16.3.bb (renamed from meta/recipes-devtools/gdb/gdb_14.2.bb)0
-rw-r--r--meta/recipes-devtools/git/git/0001-config.mak.uname-do-not-force-RHEL-7-specific-build-.patch15
-rw-r--r--meta/recipes-devtools/git/git/environment.d-git.sh19
-rw-r--r--meta/recipes-devtools/git/git/fixsort.patch24
-rw-r--r--meta/recipes-devtools/git/git_2.49.0.bb (renamed from meta/recipes-devtools/git/git_2.44.0.bb)17
-rw-r--r--meta/recipes-devtools/gnu-config/gnu-config_git.bb5
-rw-r--r--meta/recipes-devtools/go/go-1.24.4.inc (renamed from meta/recipes-devtools/go/go-1.22.2.inc)6
-rw-r--r--meta/recipes-devtools/go/go-binary-native_1.24.4.bb (renamed from meta/recipes-devtools/go/go-binary-native_1.22.2.bb)11
-rw-r--r--meta/recipes-devtools/go/go-common.inc4
-rw-r--r--meta/recipes-devtools/go/go-cross-canadian.inc5
-rw-r--r--meta/recipes-devtools/go/go-cross-canadian_1.24.4.bb (renamed from meta/recipes-devtools/go/go-cross-canadian_1.22.2.bb)0
-rw-r--r--meta/recipes-devtools/go/go-cross_1.24.4.bb (renamed from meta/recipes-devtools/go/go-cross_1.22.2.bb)0
-rw-r--r--meta/recipes-devtools/go/go-crosssdk.inc2
-rw-r--r--meta/recipes-devtools/go/go-crosssdk_1.24.4.bb (renamed from meta/recipes-devtools/go/go-crosssdk_1.22.2.bb)0
-rw-r--r--meta/recipes-devtools/go/go-native_1.22.2.bb58
-rw-r--r--meta/recipes-devtools/go/go-runtime.inc2
-rw-r--r--meta/recipes-devtools/go/go-runtime_1.24.4.bb (renamed from meta/recipes-devtools/go/go-runtime_1.22.2.bb)0
-rw-r--r--meta/recipes-devtools/go/go/0001-cmd-go-make-content-based-hash-generation-less-pedan.patch38
-rw-r--r--meta/recipes-devtools/go/go/0002-cmd-go-Allow-GOTOOLDIR-to-be-overridden-in-the-envir.patch14
-rw-r--r--meta/recipes-devtools/go/go/0003-ld-add-soname-to-shareable-objects.patch14
-rw-r--r--meta/recipes-devtools/go/go/0004-make.bash-override-CC-when-building-dist-and-go_boot.patch31
-rw-r--r--meta/recipes-devtools/go/go/0005-cmd-dist-separate-host-and-target-builds.patch37
-rw-r--r--meta/recipes-devtools/go/go/0006-cmd-go-make-GOROOT-precious-by-default.patch22
-rw-r--r--meta/recipes-devtools/go/go/0007-exec.go-filter-out-build-specific-paths-from-linker-.patch12
-rw-r--r--meta/recipes-devtools/go/go/0008-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch6
-rw-r--r--meta/recipes-devtools/go/go/0009-go-Filter-build-paths-on-staticly-linked-arches.patch14
-rw-r--r--meta/recipes-devtools/go/go/0010-cmd-go-clear-GOROOT-for-func-ldShared-when-trimpath-.patch51
-rw-r--r--meta/recipes-devtools/go/go/6d265b008e3d106b2706645e5a88cd8e2fb98953.patch54
-rw-r--r--meta/recipes-devtools/go/go_1.24.4.bb (renamed from meta/recipes-devtools/go/go_1.22.2.bb)0
-rw-r--r--meta/recipes-devtools/i2c-tools/i2c-tools_4.4.bb (renamed from meta/recipes-devtools/i2c-tools/i2c-tools_4.3.bb)2
-rwxr-xr-xmeta/recipes-devtools/icecc-create-env/icecc-create-env/icecc-create-env382
-rw-r--r--meta/recipes-devtools/icecc-create-env/icecc-create-env_0.1.bb38
-rw-r--r--meta/recipes-devtools/icecc-toolchain/icecc-toolchain/icecc-env.sh49
-rw-r--r--meta/recipes-devtools/icecc-toolchain/icecc-toolchain/icecc-setup.sh38
-rw-r--r--meta/recipes-devtools/icecc-toolchain/nativesdk-icecc-toolchain_0.1.bb39
-rw-r--r--meta/recipes-devtools/intltool/intltool_0.51.0.bb1
-rw-r--r--meta/recipes-devtools/json-c/json-c/run-ptest2
-rw-r--r--meta/recipes-devtools/json-c/json-c_0.18.bb (renamed from meta/recipes-devtools/json-c/json-c_0.17.bb)16
-rw-r--r--meta/recipes-devtools/libcomps/libcomps_0.1.21.bb2
-rw-r--r--meta/recipes-devtools/libdnf/libdnf/0001-FindGtkDoc.cmake-drop-the-requirement-for-GTKDOC_SCA.patch2
-rw-r--r--meta/recipes-devtools/libdnf/libdnf/0001-Get-parameters-for-both-libsolv-and-libsolvext-libdn.patch4
-rw-r--r--meta/recipes-devtools/libdnf/libdnf/0001-drop-FindPythonInstDir.cmake.patch2
-rw-r--r--meta/recipes-devtools/libdnf/libdnf/0004-Set-libsolv-variables-with-pkg-config-cmake-s-own-mo.patch4
-rw-r--r--meta/recipes-devtools/libdnf/libdnf/armarch.patch2
-rw-r--r--meta/recipes-devtools/libdnf/libdnf/enable_test_data_dir_set.patch13
-rw-r--r--meta/recipes-devtools/libdnf/libdnf_0.74.0.bb (renamed from meta/recipes-devtools/libdnf/libdnf_0.73.1.bb)4
-rw-r--r--meta/recipes-devtools/libedit/libedit/stdc-predef.patch16
-rw-r--r--meta/recipes-devtools/libedit/libedit_20250104-3.1.bb (renamed from meta/recipes-devtools/libedit/libedit_20230828-3.1.bb)13
-rw-r--r--meta/recipes-devtools/libmodulemd/libmodulemd_2.15.1.bb (renamed from meta/recipes-devtools/libmodulemd/libmodulemd_git.bb)12
-rw-r--r--meta/recipes-devtools/librepo/librepo/0001-gpg_gpgme.c-fix-build-errors-with-older-gcc.patch36
-rw-r--r--meta/recipes-devtools/librepo/librepo/0002-Do-not-try-to-obtain-PYTHON_INSTALL_DIR-by-running-p.patch2
-rw-r--r--meta/recipes-devtools/librepo/librepo/0004-Set-gpgme-variables-with-pkg-config-not-with-cmake-m.patch6
-rw-r--r--meta/recipes-devtools/librepo/librepo_1.19.0.bb (renamed from meta/recipes-devtools/librepo/librepo_1.17.0.bb)5
-rw-r--r--meta/recipes-devtools/libtool/libtool-2.4.7.inc52
-rw-r--r--meta/recipes-devtools/libtool/libtool-2.5.4.inc36
-rw-r--r--meta/recipes-devtools/libtool/libtool-cross_2.5.4.bb (renamed from meta/recipes-devtools/libtool/libtool-cross_2.4.7.bb)9
-rw-r--r--meta/recipes-devtools/libtool/libtool-native_2.4.7.bb20
-rw-r--r--meta/recipes-devtools/libtool/libtool-native_2.5.4.bb11
-rw-r--r--meta/recipes-devtools/libtool/libtool/0001-ltmain.in-Handle-trailing-slashes-on-install-command.patch39
-rw-r--r--meta/recipes-devtools/libtool/libtool/0001-ltmain.in-Parse-additional-clang-options.patch33
-rw-r--r--meta/recipes-devtools/libtool/libtool/0001-ltmain.sh-Fix-sysroot-paths-being-encoded-into-RPATH.patch (renamed from meta/recipes-devtools/libtool/libtool/0004-ltmain.sh-Fix-sysroot-paths-being-encoded-into-RPATH.patch)17
-rw-r--r--meta/recipes-devtools/libtool/libtool/0002-libtool.m4-Rename-the-with-sysroot-option-to-avoid-c.patch170
-rw-r--r--meta/recipes-devtools/libtool/libtool/0002-ltmain.in-Don-t-encode-RATHS-which-match-default-lin.patch (renamed from meta/recipes-devtools/libtool/libtool/0005-ltmain.in-Don-t-encode-RATHS-which-match-default-lin.patch)18
-rw-r--r--meta/recipes-devtools/libtool/libtool/0003-libtool-remove-help2man-dependency.patch (renamed from meta/recipes-devtools/libtool/libtool/dont-depend-on-help2man.patch)23
-rw-r--r--meta/recipes-devtools/libtool/libtool/0003-libtool.m4-Cleanup-sysroot-trailing.patch37
-rw-r--r--meta/recipes-devtools/libtool/libtool/0003-ltmain.in-Add-missing-sysroot-to-library-path.patch28
-rw-r--r--meta/recipes-devtools/libtool/libtool/0004-libtool.m4-Change-libtool-to-handle-sysroots-by-defa.patch (renamed from meta/recipes-devtools/libtool/libtool/0006-libtool.m4-Handle-as-a-sysroot-correctly.patch)19
-rw-r--r--meta/recipes-devtools/libtool/libtool/0005-libtool-Check-for-static-libs-for-internal-compiler-.patch (renamed from meta/recipes-devtools/libtool/libtool/0008-libtool-Check-for-static-libs-for-internal-compiler-.patch)18
-rw-r--r--meta/recipes-devtools/libtool/libtool/0006-libtool-Fix-tools-path-issues.patch (renamed from meta/recipes-devtools/libtool/libtool/nohardcodepaths.patch)19
-rw-r--r--meta/recipes-devtools/libtool/libtool/0007-libtool-Fix-problem-with-libtoolize-in-multilib.patch (renamed from meta/recipes-devtools/libtool/libtool/multilib.patch)23
-rw-r--r--meta/recipes-devtools/libtool/libtool/0007-libtool-Fix-support-for-NIOS2-processor.patch60
-rw-r--r--meta/recipes-devtools/libtool/libtool/0008-libtool-Avoid-relinking-when-cross-compiling-its-poi.patch (renamed from meta/recipes-devtools/libtool/libtool/fixinstall.patch)54
-rw-r--r--meta/recipes-devtools/libtool/libtool/0009-Makefile.am-make-sure-autoheader-run-before-autoconf.patch31
-rw-r--r--meta/recipes-devtools/libtool/libtool/0010-Makefile.am-make-sure-autoheader-run-before-automake.patch33
-rw-r--r--meta/recipes-devtools/libtool/libtool/0011-ltmain.in-Handle-prefix-map-compiler-options-correct.patch37
-rw-r--r--meta/recipes-devtools/libtool/libtool/0012-libtool.m4-For-reproducibility-stop-encoding-hostnam.patch29
-rw-r--r--meta/recipes-devtools/libtool/libtool_2.5.4.bb17
-rw-r--r--meta/recipes-devtools/libtool/nativesdk-libtool_2.5.4.bb (renamed from meta/recipes-devtools/libtool/nativesdk-libtool_2.4.7.bb)12
-rw-r--r--meta/recipes-devtools/libtool/remove-buildpaths.inc (renamed from meta/recipes-devtools/libtool/libtool_2.4.7.bb)21
-rw-r--r--meta/recipes-devtools/llvm/llvm/0007-llvm-allow-env-override-of-exe-path.patch37
-rw-r--r--meta/recipes-devtools/llvm/llvm/llvm-config51
-rw-r--r--meta/recipes-devtools/llvm/llvm_18.1.5.bb177
-rw-r--r--meta/recipes-devtools/log4cplus/log4cplus_2.1.2.bb (renamed from meta/recipes-devtools/log4cplus/log4cplus_2.1.1.bb)2
-rw-r--r--meta/recipes-devtools/lua/lua_5.4.7.bb (renamed from meta/recipes-devtools/lua/lua_5.4.6.bb)10
-rw-r--r--meta/recipes-devtools/m4/m4-1.4.20.inc (renamed from meta/recipes-devtools/m4/m4-1.4.19.inc)27
-rw-r--r--meta/recipes-devtools/m4/m4-native_1.4.20.bb (renamed from meta/recipes-devtools/m4/m4-native_1.4.19.bb)0
-rw-r--r--meta/recipes-devtools/m4/m4/0001-Define-alignof_slot-using-_Alignof-when-using-C11-or.patch49
-rw-r--r--meta/recipes-devtools/m4/m4/0001-gettext-h-Avoid-gcc-Wformat-security-warnings-with-d.patch133
-rw-r--r--meta/recipes-devtools/m4/m4/0001-sigsegv-Fix-build-on-ppc-musl.patch37
-rw-r--r--meta/recipes-devtools/m4/m4/ac_config_links.patch37
-rw-r--r--meta/recipes-devtools/m4/m4/run-ptest2
-rw-r--r--meta/recipes-devtools/m4/m4/serial-tests-config.patch11
-rw-r--r--meta/recipes-devtools/m4/m4_1.4.20.bb (renamed from meta/recipes-devtools/m4/m4_1.4.19.bb)0
-rw-r--r--meta/recipes-devtools/make/make/0001-Fix-signatures-for-getenv-getopt.patch60
-rw-r--r--meta/recipes-devtools/make/make_4.4.1.bb1
-rw-r--r--meta/recipes-devtools/makedevs/makedevs/makedevs.c33
-rw-r--r--meta/recipes-devtools/makedevs/makedevs_1.0.1.bb2
-rw-r--r--meta/recipes-devtools/meson/meson/0001-Make-CPU-family-warnings-fatal.patch11
-rw-r--r--meta/recipes-devtools/meson/meson/0001-python-module-do-not-manipulate-the-environment-when.patch14
-rw-r--r--meta/recipes-devtools/meson/meson/0002-Support-building-allarch-recipes-again.patch7
-rwxr-xr-xmeta/recipes-devtools/meson/meson/meson-wrapper15
-rw-r--r--meta/recipes-devtools/meson/meson_1.8.2.bb (renamed from meta/recipes-devtools/meson/meson_1.3.1.bb)63
-rw-r--r--meta/recipes-devtools/mmc/mmc-utils_git.bb9
-rw-r--r--meta/recipes-devtools/mtd/files/0001-Improve-check-for-GCC-compiler-version.patch34
-rw-r--r--meta/recipes-devtools/mtd/files/0001-ubifs-utils-ubifs.h-Include-fcntl.h.patch53
-rw-r--r--meta/recipes-devtools/mtd/files/0002-ubifs-utils-journal-Include-sys-stat.h.patch41
-rw-r--r--meta/recipes-devtools/mtd/files/0003-ubifs-utils-link-libmissing.a-in-case-execinfo.h-isn.patch66
-rw-r--r--meta/recipes-devtools/mtd/files/0004-ubifs-utils-extract_files-Include-linux-limits.h.patch41
-rw-r--r--meta/recipes-devtools/mtd/mtd-utils_2.3.0.bb (renamed from meta/recipes-devtools/mtd/mtd-utils_git.bb)13
-rw-r--r--meta/recipes-devtools/mtools/mtools/clang_UNUSED.patch19
-rw-r--r--meta/recipes-devtools/mtools/mtools/disable-hardcoded-configs.patch7
-rw-r--r--meta/recipes-devtools/mtools/mtools/mtools-makeinfo.patch19
-rw-r--r--meta/recipes-devtools/mtools/mtools_4.0.49.bb (renamed from meta/recipes-devtools/mtools/mtools_4.0.43.bb)2
-rw-r--r--meta/recipes-devtools/nasm/nasm_2.16.03.bb (renamed from meta/recipes-devtools/nasm/nasm_2.16.01.bb)2
-rw-r--r--meta/recipes-devtools/ninja/ninja_1.13.0.bb (renamed from meta/recipes-devtools/ninja/ninja_1.12.0.bb)12
-rw-r--r--meta/recipes-devtools/opkg-utils/opkg-utils/0001-opkg-build-remove-numeric-owner-parameter-overzealou.patch34
-rw-r--r--meta/recipes-devtools/opkg-utils/opkg-utils_0.7.0.bb (renamed from meta/recipes-devtools/opkg-utils/opkg-utils_0.6.3.bb)5
-rw-r--r--meta/recipes-devtools/opkg/opkg-arch-config_1.0.bb3
-rw-r--r--meta/recipes-devtools/opkg/opkg/0001-libopkg-Use-libgen.h-to-provide-basename-API.patch62
-rw-r--r--meta/recipes-devtools/opkg/opkg/0001-opkg_conf-create-opkg.lock-in-run-instead-of-var-run.patch9
-rw-r--r--meta/recipes-devtools/opkg/opkg_0.7.0.bb (renamed from meta/recipes-devtools/opkg/opkg_0.6.3.bb)6
-rw-r--r--meta/recipes-devtools/orc/orc_0.4.41.bb (renamed from meta/recipes-devtools/orc/orc_0.4.38.bb)2
-rw-r--r--meta/recipes-devtools/patch/patch.inc2
-rw-r--r--meta/recipes-devtools/patch/patch/0001-Don-t-leak-temporary-file-on-failed-ed-style-patch.patch94
-rw-r--r--meta/recipes-devtools/patch/patch/0001-Don-t-leak-temporary-file-on-failed-multi-file-ed.patch81
-rw-r--r--meta/recipes-devtools/patch/patch/0001-Fix-swapping-fake-lines-in-pch_swap.patch36
-rw-r--r--meta/recipes-devtools/patch/patch/0001-Invoke-ed-directly-instead-of-using-the-shell.patch44
-rw-r--r--meta/recipes-devtools/patch/patch/0001-Unset-need_charset_alias-when-building-for-musl.patch33
-rw-r--r--meta/recipes-devtools/patch/patch/0002-Fix-segfault-with-mangled-rename-patch.patch35
-rw-r--r--meta/recipes-devtools/patch/patch/0003-Allow-input-files-to-be-missing-for-ed-style-patches.patch38
-rw-r--r--meta/recipes-devtools/patch/patch/0004-Fix-arbitrary-command-execution-in-ed-style-patches-.patch215
-rw-r--r--meta/recipes-devtools/patch/patch/CVE-2019-13636.patch113
-rw-r--r--meta/recipes-devtools/patch/patch/CVE-2019-20633.patch31
-rw-r--r--meta/recipes-devtools/patch/patch_2.7.6.bb28
-rw-r--r--meta/recipes-devtools/patch/patch_2.8.bb13
-rw-r--r--meta/recipes-devtools/patchelf/patchelf_0.18.0.bb2
-rw-r--r--meta/recipes-devtools/perl-cross/files/0001-Makefile-check-the-file-if-patched-or-not.patch3
-rw-r--r--meta/recipes-devtools/perl-cross/files/0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch9
-rw-r--r--meta/recipes-devtools/perl-cross/files/determinism.patch43
-rw-r--r--meta/recipes-devtools/perl-cross/perlcross_1.6.2.bb (renamed from meta/recipes-devtools/perl-cross/perlcross_1.5.2.bb)6
-rw-r--r--meta/recipes-devtools/perl/files/0001-Fix-intermittent-failure-of-test-t-op-sigsystem.t.patch77
-rw-r--r--meta/recipes-devtools/perl/files/0001-Somehow-this-module-breaks-through-the-perl-wrapper-.patch8
-rw-r--r--meta/recipes-devtools/perl/files/0001-cpan-Sys-Syslog-Makefile.PL-Fix-_PATH_LOG-for-determ.patch5
-rw-r--r--meta/recipes-devtools/perl/files/0002-Constant-Fix-up-shebang.patch9
-rw-r--r--meta/recipes-devtools/perl/files/determinism.patch22
-rw-r--r--meta/recipes-devtools/perl/files/encodefix.patch16
-rw-r--r--meta/recipes-devtools/perl/files/errno_ver.diff15
-rw-r--r--meta/recipes-devtools/perl/files/native-perlinc.patch18
-rw-r--r--meta/recipes-devtools/perl/files/perl-configpm-switch.patch3
-rw-r--r--meta/recipes-devtools/perl/files/perl-dynloader.patch18
-rw-r--r--meta/recipes-devtools/perl/files/perl-rdepends.txt696
-rw-r--r--meta/recipes-devtools/perl/libmodule-build-perl_0.4234.bb2
-rw-r--r--meta/recipes-devtools/perl/libtest-fatal-perl_0.017.bb2
-rw-r--r--meta/recipes-devtools/perl/libtest-needs-perl_0.002010.bb2
-rw-r--r--meta/recipes-devtools/perl/libtest-warnings-perl_0.038.bb (renamed from meta/recipes-devtools/perl/libtest-warnings-perl_0.033.bb)4
-rw-r--r--meta/recipes-devtools/perl/libtry-tiny-perl_0.32.bb (renamed from meta/recipes-devtools/perl/libtry-tiny-perl_0.31.bb)4
-rw-r--r--meta/recipes-devtools/perl/liburi-perl/0001-Skip-TODO-test-cases-that-fail.patch110
-rw-r--r--meta/recipes-devtools/perl/liburi-perl_5.28.bb56
-rw-r--r--meta/recipes-devtools/perl/libxml-parser-perl_2.47.bb6
-rw-r--r--meta/recipes-devtools/perl/libxml-perl_0.08.bb1
-rw-r--r--meta/recipes-devtools/perl/libxml-simple-perl_2.25.bb3
-rw-r--r--meta/recipes-devtools/perl/perl-ptest.inc3
-rw-r--r--meta/recipes-devtools/perl/perl_5.40.2.bb (renamed from meta/recipes-devtools/perl/perl_5.38.2.bb)18
-rw-r--r--meta/recipes-devtools/pkgconf/pkgconf/pkg-config-native.in2
-rw-r--r--meta/recipes-devtools/pkgconf/pkgconf_2.4.3.bb (renamed from meta/recipes-devtools/pkgconf/pkgconf_2.2.0.bb)2
-rw-r--r--meta/recipes-devtools/pkgconfig/pkgconfig/0001-Do-not-use-bool-as-a-field-name.patch36
-rw-r--r--meta/recipes-devtools/pkgconfig/pkgconfig/pkg-config-native.in2
-rw-r--r--meta/recipes-devtools/pkgconfig/pkgconfig_git.bb18
-rw-r--r--meta/recipes-devtools/pseudo/files/0001-configure-Prune-PIE-flags.patch44
-rw-r--r--meta/recipes-devtools/pseudo/files/glibc238.patch59
-rw-r--r--meta/recipes-devtools/pseudo/files/older-glibc-symbols.patch4
-rw-r--r--meta/recipes-devtools/pseudo/pseudo.inc1
-rw-r--r--meta/recipes-devtools/pseudo/pseudo_git.bb16
-rw-r--r--meta/recipes-devtools/python/python-extras.inc1
-rw-r--r--meta/recipes-devtools/python/python-pycryptodome.inc2
-rw-r--r--meta/recipes-devtools/python/python-rfc3986-validator/0001-setup.py-move-pytest-runner-to-test_requirements.patch32
-rw-r--r--meta/recipes-devtools/python/python-six.inc2
-rw-r--r--meta/recipes-devtools/python/python3-alabaster_1.0.0.bb (renamed from meta/recipes-devtools/python/python3-alabaster_0.7.16.bb)2
-rw-r--r--meta/recipes-devtools/python/python3-atomicwrites/run-ptest3
-rw-r--r--meta/recipes-devtools/python/python3-atomicwrites_1.4.1.bb13
-rw-r--r--meta/recipes-devtools/python/python3-attrs/0001-conftest.py-disable-deadline.patch45
-rw-r--r--meta/recipes-devtools/python/python3-attrs/0001-test_funcs-skip-test_unknown-for-pytest-8.patch30
-rw-r--r--meta/recipes-devtools/python/python3-attrs/run-ptest3
-rw-r--r--meta/recipes-devtools/python/python3-attrs_23.2.0.bb39
-rw-r--r--meta/recipes-devtools/python/python3-attrs_25.3.0.bb28
-rw-r--r--meta/recipes-devtools/python/python3-babel_2.17.0.bb (renamed from meta/recipes-devtools/python/python3-babel_2.14.0.bb)8
-rw-r--r--meta/recipes-devtools/python/python3-bcrypt-crates.inc160
-rw-r--r--meta/recipes-devtools/python/python3-bcrypt/0001-Bump-pyo3-from-0.20.0-to-0.20.3-in-src-_bcrypt-746.patch111
-rw-r--r--meta/recipes-devtools/python/python3-bcrypt/run-ptest3
-rw-r--r--meta/recipes-devtools/python/python3-bcrypt_4.1.2.bb36
-rw-r--r--meta/recipes-devtools/python/python3-bcrypt_4.3.0.bb21
-rw-r--r--meta/recipes-devtools/python/python3-beartype_0.18.5.bb11
-rw-r--r--meta/recipes-devtools/python/python3-beartype_0.21.0.bb13
-rw-r--r--meta/recipes-devtools/python/python3-booleanpy_4.0.bb1
-rw-r--r--meta/recipes-devtools/python/python3-build_1.2.2.bb (renamed from meta/recipes-devtools/python/python3-build_1.2.1.bb)2
-rw-r--r--meta/recipes-devtools/python/python3-calver/0001-setup.py-hard-code-version.patch32
-rw-r--r--meta/recipes-devtools/python/python3-calver/run-ptest3
-rw-r--r--meta/recipes-devtools/python/python3-calver_2022.6.26.bb28
-rw-r--r--meta/recipes-devtools/python/python3-calver_2025.04.17.bb15
-rw-r--r--meta/recipes-devtools/python/python3-certifi_2025.6.15.bb (renamed from meta/recipes-devtools/python/python3-certifi_2024.2.2.bb)4
-rw-r--r--meta/recipes-devtools/python/python3-cffi/0001-Cast-offset-to-size_t-to-avoid-c-11-narrowing-warnin.patch34
-rw-r--r--meta/recipes-devtools/python/python3-cffi/run-ptest7
-rw-r--r--meta/recipes-devtools/python/python3-cffi_1.16.0.bb18
-rw-r--r--meta/recipes-devtools/python/python3-cffi_1.17.1.bb39
-rw-r--r--meta/recipes-devtools/python/python3-chardet_5.2.0.bb3
-rw-r--r--meta/recipes-devtools/python/python3-click/run-ptest3
-rw-r--r--meta/recipes-devtools/python/python3-click_8.1.8.bb (renamed from meta/recipes-devtools/python/python3-click_8.1.7.bb)16
-rw-r--r--meta/recipes-devtools/python/python3-colorama_0.4.6.bb10
-rw-r--r--meta/recipes-devtools/python/python3-cryptography-common.inc6
-rw-r--r--meta/recipes-devtools/python/python3-cryptography-crates.inc148
-rw-r--r--meta/recipes-devtools/python/python3-cryptography-vectors.bb (renamed from meta/recipes-devtools/python/python3-cryptography-vectors_42.0.5.bb)14
-rw-r--r--meta/recipes-devtools/python/python3-cryptography.bb (renamed from meta/recipes-devtools/python/python3-cryptography_42.0.5.bb)9
-rw-r--r--meta/recipes-devtools/python/python3-cryptography/0001-pyproject.toml-remove-benchmark-disable-option.patch11
-rw-r--r--meta/recipes-devtools/python/python3-cython_3.0.10.bb37
-rw-r--r--meta/recipes-devtools/python/python3-cython_3.1.2.bb (renamed from meta/recipes-devtools/python/python-cython.inc)27
-rw-r--r--meta/recipes-devtools/python/python3-dbus_1.4.0.bb (renamed from meta/recipes-devtools/python/python3-dbus_1.3.2.bb)6
-rw-r--r--meta/recipes-devtools/python/python3-dbusmock_0.33.0.bb (renamed from meta/recipes-devtools/python/python3-dbusmock_0.31.1.bb)2
-rw-r--r--meta/recipes-devtools/python/python3-docutils_0.20.1.bb20
-rw-r--r--meta/recipes-devtools/python/python3-docutils_0.21.2.bb22
-rw-r--r--meta/recipes-devtools/python/python3-dtc/0001-Revert-libfdt-overlay-make-overlay_get_target-public.patch132
-rw-r--r--meta/recipes-devtools/python/python3-dtc_1.7.2.bb (renamed from meta/recipes-devtools/python/python3-dtc_1.7.0.bb)9
-rw-r--r--meta/recipes-devtools/python/python3-dtschema_2025.6.1.bb (renamed from meta/recipes-devtools/python/python3-dtschema_2024.4.bb)2
-rw-r--r--meta/recipes-devtools/python/python3-flit-core_3.12.0.bb (renamed from meta/recipes-devtools/python/python3-flit-core_3.9.0.bb)8
-rw-r--r--meta/recipes-devtools/python/python3-git_3.1.43.bb1
-rw-r--r--meta/recipes-devtools/python/python3-gitdb_4.0.12.bb (renamed from meta/recipes-devtools/python/python3-gitdb_4.0.11.bb)2
-rw-r--r--meta/recipes-devtools/python/python3-hatch-fancy-pypi-readme_25.1.0.bb (renamed from meta/recipes-devtools/python/python3-hatch-fancy-pypi-readme_24.1.0.bb)5
-rw-r--r--meta/recipes-devtools/python/python3-hatch-vcs_0.4.0.bb3
-rw-r--r--meta/recipes-devtools/python/python3-hatchling_1.27.0.bb (renamed from meta/recipes-devtools/python/python3-hatchling_1.24.1.bb)2
-rw-r--r--meta/recipes-devtools/python/python3-hypothesis/run-ptest10
-rw-r--r--meta/recipes-devtools/python/python3-hypothesis_6.135.9.bb (renamed from meta/recipes-devtools/python/python3-hypothesis_6.100.1.bb)19
-rw-r--r--meta/recipes-devtools/python/python3-idna_3.10.bb (renamed from meta/recipes-devtools/python/python3-idna_3.7.bb)9
-rw-r--r--meta/recipes-devtools/python/python3-imagesize_1.4.1.bb2
-rw-r--r--meta/recipes-devtools/python/python3-importlib-metadata_7.1.0.bb20
-rw-r--r--meta/recipes-devtools/python/python3-iniconfig_2.1.0.bb (renamed from meta/recipes-devtools/python/python3-iniconfig_2.0.0.bb)4
-rw-r--r--meta/recipes-devtools/python/python3-iniparse_0.5.bb14
-rw-r--r--meta/recipes-devtools/python/python3-installer/0001-src-installer-utils.py-sort-entries-before-writing-o.patch27
-rw-r--r--meta/recipes-devtools/python/python3-installer_0.7.0.bb3
-rw-r--r--meta/recipes-devtools/python/python3-isodate_0.6.1.bb16
-rw-r--r--meta/recipes-devtools/python/python3-jinja2/run-ptest3
-rw-r--r--meta/recipes-devtools/python/python3-jinja2_3.1.6.bb (renamed from meta/recipes-devtools/python/python3-jinja2_3.1.3.bb)21
-rw-r--r--meta/recipes-devtools/python/python3-jsonpointer_3.0.0.bb (renamed from meta/recipes-devtools/python/python3-jsonpointer_2.4.bb)18
-rw-r--r--meta/recipes-devtools/python/python3-jsonschema-specifications_2025.4.1.bb (renamed from meta/recipes-devtools/python/python3-jsonschema-specifications_2023.12.1.bb)3
-rw-r--r--meta/recipes-devtools/python/python3-jsonschema_4.24.0.bb (renamed from meta/recipes-devtools/python/python3-jsonschema_4.21.1.bb)5
-rw-r--r--meta/recipes-devtools/python/python3-libarchive-c/0001-ffi-Insert-a-replacable-anchor-for-find_library.patch29
-rw-r--r--meta/recipes-devtools/python/python3-libarchive-c/new-libarchive.patch41
-rw-r--r--meta/recipes-devtools/python/python3-libarchive-c/run-ptest6
-rw-r--r--meta/recipes-devtools/python/python3-libarchive-c_5.1.bb26
-rw-r--r--meta/recipes-devtools/python/python3-license-expression/run-ptest3
-rw-r--r--meta/recipes-devtools/python/python3-license-expression_30.4.1.bb (renamed from meta/recipes-devtools/python/python3-license-expression_30.3.0.bb)24
-rw-r--r--meta/recipes-devtools/python/python3-lxml_5.4.0.bb (renamed from meta/recipes-devtools/python/python3-lxml_5.2.1.bb)4
-rw-r--r--meta/recipes-devtools/python/python3-mako_1.3.10.bb27
-rw-r--r--meta/recipes-devtools/python/python3-mako_1.3.3.bb20
-rw-r--r--meta/recipes-devtools/python/python3-markdown_3.8.bb (renamed from meta/recipes-devtools/python/python3-markdown_3.6.bb)3
-rw-r--r--meta/recipes-devtools/python/python3-markupsafe/run-ptest3
-rw-r--r--meta/recipes-devtools/python/python3-markupsafe_2.1.5.bb27
-rw-r--r--meta/recipes-devtools/python/python3-markupsafe_3.0.2.bb13
-rw-r--r--meta/recipes-devtools/python/python3-maturin-crates.inc876
-rw-r--r--meta/recipes-devtools/python/python3-maturin_1.9.0.bb (renamed from meta/recipes-devtools/python/python3-maturin_1.5.1.bb)6
-rw-r--r--meta/recipes-devtools/python/python3-meson-python_0.18.0.bb (renamed from meta/recipes-devtools/python/python3-meson-python_0.15.0.bb)3
-rw-r--r--meta/recipes-devtools/python/python3-more-itertools/run-ptest3
-rw-r--r--meta/recipes-devtools/python/python3-more-itertools_10.6.0.bb (renamed from meta/recipes-devtools/python/python3-more-itertools_10.2.0.bb)15
-rw-r--r--meta/recipes-devtools/python/python3-ndg-httpsclient_0.5.1.bb31
-rw-r--r--meta/recipes-devtools/python/python3-numpy/0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch7
-rw-r--r--meta/recipes-devtools/python/python3-numpy/0001-numpy-core-Define-RISCV-32-support.patch50
-rw-r--r--meta/recipes-devtools/python/python3-numpy/fix_reproducibility.patch23
-rw-r--r--meta/recipes-devtools/python/python3-numpy/run-ptest16
-rw-r--r--meta/recipes-devtools/python/python3-numpy_2.3.0.bb (renamed from meta/recipes-devtools/python/python3-numpy_1.26.4.bb)60
-rw-r--r--meta/recipes-devtools/python/python3-packaging/run-ptest.in2
-rw-r--r--meta/recipes-devtools/python/python3-packaging_24.0.bb18
-rw-r--r--meta/recipes-devtools/python/python3-packaging_25.0.bb43
-rw-r--r--meta/recipes-devtools/python/python3-pathlib2_2.3.7.bb12
-rw-r--r--meta/recipes-devtools/python/python3-pathspec_0.12.1.bb2
-rw-r--r--meta/recipes-devtools/python/python3-pbr/0001-change-shebang-to-python3.patch13
-rw-r--r--meta/recipes-devtools/python/python3-pbr_6.0.0.bb4
-rw-r--r--meta/recipes-devtools/python/python3-pbr_6.1.0.bb4
-rw-r--r--meta/recipes-devtools/python/python3-pdm-backend_2.4.4.bb14
-rw-r--r--meta/recipes-devtools/python/python3-pdm-build-locked_0.3.5.bb15
-rw-r--r--meta/recipes-devtools/python/python3-pdm_2.25.1.bb16
-rw-r--r--meta/recipes-devtools/python/python3-pefile/run-ptest3
-rw-r--r--meta/recipes-devtools/python/python3-pefile_2024.8.26.bb18
-rw-r--r--meta/recipes-devtools/python/python3-pip/no_shebang_mangling.patch10
-rw-r--r--meta/recipes-devtools/python/python3-pip_25.1.1.bb (renamed from meta/recipes-devtools/python/python3-pip_24.0.bb)25
-rw-r--r--meta/recipes-devtools/python/python3-pluggy/run-ptest3
-rw-r--r--meta/recipes-devtools/python/python3-pluggy_1.5.0.bb29
-rw-r--r--meta/recipes-devtools/python/python3-pluggy_1.6.0.bb14
-rw-r--r--meta/recipes-devtools/python/python3-ply_3.11.bb1
-rw-r--r--meta/recipes-devtools/python/python3-poetry-core_2.1.3.bb (renamed from meta/recipes-devtools/python/python3-poetry-core_1.9.0.bb)5
-rw-r--r--meta/recipes-devtools/python/python3-pretend_1.0.9.bb1
-rw-r--r--meta/recipes-devtools/python/python3-psutil_7.0.0.bb (renamed from meta/recipes-devtools/python/python3-psutil_5.9.8.bb)8
-rw-r--r--meta/recipes-devtools/python/python3-py_1.11.0.bb14
-rw-r--r--meta/recipes-devtools/python/python3-pyasn1/run-ptest3
-rw-r--r--meta/recipes-devtools/python/python3-pyasn1_0.6.0.bb3
-rw-r--r--meta/recipes-devtools/python/python3-pyasn1_0.6.1.bb (renamed from meta/recipes-devtools/python/python-pyasn1.inc)20
-rw-r--r--meta/recipes-devtools/python/python3-pycairo_1.28.0.bb (renamed from meta/recipes-devtools/python/python3-pycairo_1.26.0.bb)4
-rw-r--r--meta/recipes-devtools/python/python3-pycparser_2.22.bb4
-rw-r--r--meta/recipes-devtools/python/python3-pycryptodome_3.20.0.bb5
-rw-r--r--meta/recipes-devtools/python/python3-pycryptodome_3.23.0.bb5
-rw-r--r--meta/recipes-devtools/python/python3-pycryptodomex_3.23.0.bb (renamed from meta/recipes-devtools/python/python3-pycryptodomex_3.20.0.bb)4
-rw-r--r--meta/recipes-devtools/python/python3-pyelftools_0.32.bb (renamed from meta/recipes-devtools/python/python3-pyelftools_0.31.bb)4
-rw-r--r--meta/recipes-devtools/python/python3-pygments_2.19.1.bb (renamed from meta/recipes-devtools/python/python3-pygments_2.17.2.bb)3
-rw-r--r--meta/recipes-devtools/python/python3-pygobject_3.52.3.bb (renamed from meta/recipes-devtools/python/python3-pygobject_3.48.2.bb)10
-rw-r--r--meta/recipes-devtools/python/python3-pyopenssl_25.1.0.bb (renamed from meta/recipes-devtools/python/python3-pyopenssl_24.1.0.bb)3
-rw-r--r--meta/recipes-devtools/python/python3-pyparsing_3.2.3.bb (renamed from meta/recipes-devtools/python/python3-pyparsing_3.1.2.bb)4
-rw-r--r--meta/recipes-devtools/python/python3-pyproject-hooks_1.2.0.bb (renamed from meta/recipes-devtools/python/python3-pyproject-hooks_1.0.0.bb)3
-rw-r--r--meta/recipes-devtools/python/python3-pyproject-metadata_0.9.1.bb (renamed from meta/recipes-devtools/python/python3-pyproject-metadata_0.7.1.bb)5
-rw-r--r--meta/recipes-devtools/python/python3-pysocks_1.7.1.bb3
-rw-r--r--meta/recipes-devtools/python/python3-pytest-runner_6.0.1.bb16
-rw-r--r--meta/recipes-devtools/python/python3-pytest-subtests_0.14.2.bb (renamed from meta/recipes-devtools/python/python3-pytest-subtests_0.12.1.bb)6
-rw-r--r--meta/recipes-devtools/python/python3-pytest_8.4.1.bb (renamed from meta/recipes-devtools/python/python3-pytest_8.2.0.bb)14
-rw-r--r--meta/recipes-devtools/python/python3-pytz/run-ptest3
-rw-r--r--meta/recipes-devtools/python/python3-pytz_2025.2.bb (renamed from meta/recipes-devtools/python/python3-pytz_2024.1.bb)16
-rw-r--r--meta/recipes-devtools/python/python3-pyyaml/0001-Fix-builds-with-Cython-3.patch54
-rw-r--r--meta/recipes-devtools/python/python3-pyyaml/run-ptest3
-rw-r--r--meta/recipes-devtools/python/python3-pyyaml_6.0.2.bb (renamed from meta/recipes-devtools/python/python3-pyyaml_6.0.1.bb)28
-rw-r--r--meta/recipes-devtools/python/python3-rdflib_7.1.4.bb (renamed from meta/recipes-devtools/python/python3-rdflib_7.0.0.bb)6
-rw-r--r--meta/recipes-devtools/python/python3-referencing_0.36.2.bb (renamed from meta/recipes-devtools/python/python3-referencing_0.34.0.bb)2
-rw-r--r--meta/recipes-devtools/python/python3-requests/environment.d-python3-requests.sh11
-rw-r--r--meta/recipes-devtools/python/python3-requests_2.31.0.bb26
-rw-r--r--meta/recipes-devtools/python/python3-requests_2.32.4.bb35
-rw-r--r--meta/recipes-devtools/python/python3-rfc3339-validator_0.1.4.bb2
-rw-r--r--meta/recipes-devtools/python/python3-rfc3986-validator_0.1.1.bb24
-rw-r--r--meta/recipes-devtools/python/python3-rfc3987_1.3.8.bb1
-rw-r--r--meta/recipes-devtools/python/python3-roman-numerals-py_3.1.0.bb12
-rw-r--r--meta/recipes-devtools/python/python3-rpds-py-crates.inc122
-rw-r--r--meta/recipes-devtools/python/python3-rpds-py_0.18.0.bb15
-rw-r--r--meta/recipes-devtools/python/python3-rpds-py_0.25.1.bb22
-rw-r--r--meta/recipes-devtools/python/python3-ruamel-yaml_0.18.14.bb (renamed from meta/recipes-devtools/python/python3-ruamel-yaml_0.18.6.bb)11
-rw-r--r--meta/recipes-devtools/python/python3-scons/0001-Fix-man-page-installation.patch29
-rw-r--r--meta/recipes-devtools/python/python3-scons_4.9.1.bb (renamed from meta/recipes-devtools/python/python3-scons_4.7.0.bb)13
-rw-r--r--meta/recipes-devtools/python/python3-semantic-version_2.10.0.bb3
-rw-r--r--meta/recipes-devtools/python/python3-setuptools-rust_1.11.1.bb (renamed from meta/recipes-devtools/python/python3-setuptools-rust_1.9.0.bb)12
-rw-r--r--meta/recipes-devtools/python/python3-setuptools-scm_8.3.1.bb (renamed from meta/recipes-devtools/python/python3-setuptools-scm_8.0.4.bb)10
-rw-r--r--meta/recipes-devtools/python/python3-setuptools/0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch14
-rw-r--r--meta/recipes-devtools/python/python3-setuptools/0001-conditionally-do-not-fetch-code-by-easy_install.patch31
-rw-r--r--meta/recipes-devtools/python/python3-setuptools_80.9.0.bb (renamed from meta/recipes-devtools/python/python3-setuptools_69.5.1.bb)6
-rw-r--r--meta/recipes-devtools/python/python3-six_1.16.0.bb4
-rw-r--r--meta/recipes-devtools/python/python3-six_1.17.0.bb4
-rw-r--r--meta/recipes-devtools/python/python3-smartypants/0001-Change-hash-bang-to-python3.patch24
-rw-r--r--meta/recipes-devtools/python/python3-smartypants_2.0.2.bb (renamed from meta/recipes-devtools/python/python3-smartypants_2.0.0.bb)6
-rw-r--r--meta/recipes-devtools/python/python3-snowballstemmer_3.0.1.bb (renamed from meta/recipes-devtools/python/python3-snowballstemmer_2.2.0.bb)4
-rw-r--r--meta/recipes-devtools/python/python3-spdx-tools_0.8.3.bb (renamed from meta/recipes-devtools/python/python3-spdx-tools_0.8.2.bb)6
-rw-r--r--meta/recipes-devtools/python/python3-sphinx-argparse_0.5.2.bb13
-rw-r--r--meta/recipes-devtools/python/python3-sphinx-copybutton_0.5.2.bb10
-rw-r--r--meta/recipes-devtools/python/python3-sphinx-rtd-theme_3.0.2.bb (renamed from meta/recipes-devtools/python/python3-sphinx-rtd-theme_2.0.0.bb)4
-rw-r--r--meta/recipes-devtools/python/python3-sphinx_8.2.1.bb (renamed from meta/recipes-devtools/python/python3-sphinx_7.2.6.bb)6
-rw-r--r--meta/recipes-devtools/python/python3-sphinxcontrib-applehelp_2.0.0.bb (renamed from meta/recipes-devtools/python/python3-sphinxcontrib-applehelp_1.0.8.bb)5
-rw-r--r--meta/recipes-devtools/python/python3-sphinxcontrib-devhelp_2.0.0.bb (renamed from meta/recipes-devtools/python/python3-sphinxcontrib-devhelp_1.0.6.bb)5
-rw-r--r--meta/recipes-devtools/python/python3-sphinxcontrib-htmlhelp_2.1.0.bb (renamed from meta/recipes-devtools/python/python3-sphinxcontrib-htmlhelp_2.0.5.bb)5
-rw-r--r--meta/recipes-devtools/python/python3-sphinxcontrib-qthelp_2.0.0.bb (renamed from meta/recipes-devtools/python/python3-sphinxcontrib-qthelp_1.0.7.bb)5
-rw-r--r--meta/recipes-devtools/python/python3-sphinxcontrib-serializinghtml_2.0.0.bb (renamed from meta/recipes-devtools/python/python3-sphinxcontrib-serializinghtml_1.1.10.bb)5
-rw-r--r--meta/recipes-devtools/python/python3-subunit_1.4.4.bb2
-rw-r--r--meta/recipes-devtools/python/python3-testtools_2.7.2.bb (renamed from meta/recipes-devtools/python/python3-testtools_2.7.1.bb)4
-rw-r--r--meta/recipes-devtools/python/python3-toml_0.10.2.bb15
-rw-r--r--meta/recipes-devtools/python/python3-tomli_2.0.1.bb18
-rw-r--r--meta/recipes-devtools/python/python3-trove-classifiers/run-ptest3
-rw-r--r--meta/recipes-devtools/python/python3-trove-classifiers_2024.4.10.bb26
-rw-r--r--meta/recipes-devtools/python/python3-trove-classifiers_2025.5.9.12.bb15
-rw-r--r--meta/recipes-devtools/python/python3-typing-extensions_4.14.0.bb (renamed from meta/recipes-devtools/python/python3-typing-extensions_4.11.0.bb)5
-rw-r--r--meta/recipes-devtools/python/python3-typogrify_2.1.0.bb (renamed from meta/recipes-devtools/python/python3-typogrify_2.0.7.bb)6
-rw-r--r--meta/recipes-devtools/python/python3-unittest-automake-output/0001-Update-__version__-to-match-the-tag-version.patch30
-rw-r--r--meta/recipes-devtools/python/python3-unittest-automake-output_0.2.bb8
-rw-r--r--meta/recipes-devtools/python/python3-uritools_4.0.2.bb11
-rw-r--r--meta/recipes-devtools/python/python3-uritools_5.0.0.bb11
-rw-r--r--meta/recipes-devtools/python/python3-urllib3_2.5.0.bb (renamed from meta/recipes-devtools/python/python3-urllib3_2.2.1.bb)8
-rw-r--r--meta/recipes-devtools/python/python3-vcversioner_2.16.0.0.bb1
-rw-r--r--meta/recipes-devtools/python/python3-wcwidth/run-ptest3
-rw-r--r--meta/recipes-devtools/python/python3-wcwidth_0.2.13.bb15
-rw-r--r--meta/recipes-devtools/python/python3-webcolors/run-ptest3
-rw-r--r--meta/recipes-devtools/python/python3-webcolors_1.13.bb28
-rw-r--r--meta/recipes-devtools/python/python3-webcolors_24.11.1.bb19
-rw-r--r--meta/recipes-devtools/python/python3-websockets_15.0.1.bb (renamed from meta/recipes-devtools/python/python3-websockets_12.0.bb)5
-rw-r--r--meta/recipes-devtools/python/python3-wheel_0.46.1.bb (renamed from meta/recipes-devtools/python/python3-wheel_0.43.0.bb)9
-rw-r--r--meta/recipes-devtools/python/python3-xmltodict/run-ptest3
-rw-r--r--meta/recipes-devtools/python/python3-xmltodict_0.14.2.bb (renamed from meta/recipes-devtools/python/python3-xmltodict_0.13.0.bb)16
-rw-r--r--meta/recipes-devtools/python/python3-yamllint_1.37.1.bb (renamed from meta/recipes-devtools/python/python3-yamllint_1.35.1.bb)5
-rw-r--r--meta/recipes-devtools/python/python3-zipp_3.21.0.bb (renamed from meta/recipes-devtools/python/python3-zipp_3.18.1.bb)7
-rw-r--r--meta/recipes-devtools/python/python3/0001-Avoid-shebang-overflow-on-python-config.py.patch6
-rw-r--r--meta/recipes-devtools/python/python3/0001-Generate-data-for-OpenSSL-3.4-and-add-it-to-multissl.patch1452
-rw-r--r--meta/recipes-devtools/python/python3/0001-Lib-pty.py-handle-stdin-I-O-errors-same-way-as-maste.patch3
-rw-r--r--meta/recipes-devtools/python/python3/0001-Lib-sysconfig.py-use-prefix-value-from-build-configu.patch15
-rw-r--r--meta/recipes-devtools/python/python3/0001-Makefile.pre-use-qemu-wrapper-when-gathering-profile.patch18
-rw-r--r--meta/recipes-devtools/python/python3/0001-Skip-failing-tests-due-to-load-variability-on-YP-AB.patch18
-rw-r--r--meta/recipes-devtools/python/python3/0001-Update-test_sysconfig-for-posix_user-purelib.patch9
-rw-r--r--meta/recipes-devtools/python/python3/0001-gh-107811-tarfile-treat-overflow-in-UID-GID-as-failu.patch40
-rw-r--r--meta/recipes-devtools/python/python3/0001-gh-114492-Initialize-struct-termios-before-calling-t.patch26
-rw-r--r--meta/recipes-devtools/python/python3/0001-python3-use-cc_basename-to-replace-CC-for-checking-c.patch120
-rw-r--r--meta/recipes-devtools/python/python3/0001-skip-no_stdout_fileno-test-due-to-load-variability.patch10
-rw-r--r--meta/recipes-devtools/python/python3/0001-sysconfig.py-use-platlibdir-also-for-purelib.patch27
-rw-r--r--meta/recipes-devtools/python/python3/0001-test_active_children-skip-problematic-test.patch27
-rw-r--r--meta/recipes-devtools/python/python3/0001-test_ctypes.test_find-skip-without-tools-sdk.patch7
-rw-r--r--meta/recipes-devtools/python/python3/0001-test_deadlock-skip-problematic-test.patch27
-rw-r--r--meta/recipes-devtools/python/python3/0001-test_locale.py-correct-the-test-output-format.patch7
-rw-r--r--meta/recipes-devtools/python/python3/0001-test_readline-skip-limited-history-test.patch44
-rw-r--r--meta/recipes-devtools/python/python3/0001-test_shutdown-skip-problematic-test.patch11
-rw-r--r--meta/recipes-devtools/python/python3/0001-test_storlines-skip-due-to-load-variability.patch7
-rw-r--r--meta/recipes-devtools/python/python3/0020-configure.ac-setup.py-do-not-add-a-curses-include-pa.patch33
-rw-r--r--meta/recipes-devtools/python/python3/cgi_py.patch32
-rw-r--r--meta/recipes-devtools/python/python3/create_manifest3.py2
-rw-r--r--meta/recipes-devtools/python/python3/crosspythonpath.patch34
-rw-r--r--meta/recipes-devtools/python/python3/deterministic_imports.patch40
-rw-r--r--meta/recipes-devtools/python/python3/makerace.patch6
-rw-r--r--meta/recipes-devtools/python/python3/python3-manifest.json137
-rw-r--r--meta/recipes-devtools/python/python3/valid-dists.patch160
-rw-r--r--meta/recipes-devtools/python/python3_3.13.5.bb (renamed from meta/recipes-devtools/python/python3_3.12.3.bb)103
-rw-r--r--meta/recipes-devtools/qemu/nativesdk-qemu-helper_1.0.bb4
-rw-r--r--meta/recipes-devtools/qemu/qemu-helper-native_1.0.bb2
-rw-r--r--meta/recipes-devtools/qemu/qemu-native.inc2
-rw-r--r--meta/recipes-devtools/qemu/qemu-native_10.0.2.bb (renamed from meta/recipes-devtools/qemu/qemu-native_8.2.1.bb)1
-rw-r--r--meta/recipes-devtools/qemu/qemu-system-native_10.0.2.bb (renamed from meta/recipes-devtools/qemu/qemu-system-native_8.2.1.bb)3
-rw-r--r--meta/recipes-devtools/qemu/qemu-targets.inc6
-rw-r--r--meta/recipes-devtools/qemu/qemu.inc78
-rw-r--r--meta/recipes-devtools/qemu/qemu/0001-linux-user-x86_64-Handle-the-vsyscall-page-in-open_s.patch56
-rw-r--r--meta/recipes-devtools/qemu/qemu/0001-qemu-Add-addition-environment-space-to-boot-loader-q.patch15
-rw-r--r--meta/recipes-devtools/qemu/qemu/0002-apic-fixup-fallthrough-to-PIC.patch (renamed from meta/recipes-devtools/qemu/qemu/0003-apic-fixup-fallthrough-to-PIC.patch)15
-rw-r--r--meta/recipes-devtools/qemu/qemu/0002-linux-user-Replace-use-of-lfs64-related-functions-an.patch355
-rw-r--r--meta/recipes-devtools/qemu/qemu/0002-linux-user-loongarch64-Remove-TARGET_FORCE_SHMLBA.patch43
-rw-r--r--meta/recipes-devtools/qemu/qemu/0003-linux-user-Add-strace-for-shmat.patch71
-rw-r--r--meta/recipes-devtools/qemu/qemu/0004-configure-Add-pkg-config-handling-for-libgcrypt.patch29
-rw-r--r--meta/recipes-devtools/qemu/qemu/0004-linux-user-Rewrite-target_shmat.patch236
-rw-r--r--meta/recipes-devtools/qemu/qemu/0004-qemu-Do-not-include-file-if-not-exists.patch (renamed from meta/recipes-devtools/qemu/qemu/0005-qemu-Do-not-include-file-if-not-exists.patch)15
-rw-r--r--meta/recipes-devtools/qemu/qemu/0005-qemu-Add-some-user-space-mmap-tweaks-to-address-musl.patch (renamed from meta/recipes-devtools/qemu/qemu/0006-qemu-Add-some-user-space-mmap-tweaks-to-address-musl.patch)16
-rw-r--r--meta/recipes-devtools/qemu/qemu/0005-tests-tcg-Check-that-shmat-does-not-break-proc-self-.patch85
-rw-r--r--meta/recipes-devtools/qemu/qemu/0006-qemu-Determinism-fixes.patch (renamed from meta/recipes-devtools/qemu/qemu/0007-qemu-Determinism-fixes.patch)15
-rw-r--r--meta/recipes-devtools/qemu/qemu/0007-tests-meson.build-use-relative-path-to-refer-to-file.patch43
-rw-r--r--meta/recipes-devtools/qemu/qemu/0008-Define-MAP_SYNC-and-MAP_SHARED_VALIDATE-on-needed-li.patch (renamed from meta/recipes-devtools/qemu/qemu/0009-Define-MAP_SYNC-and-MAP_SHARED_VALIDATE-on-needed-li.patch)13
-rw-r--r--meta/recipes-devtools/qemu/qemu/0008-tests-meson.build-use-relative-path-to-refer-to-file.patch41
-rw-r--r--meta/recipes-devtools/qemu/qemu/0010-configure-lookup-meson-exutable-from-PATH.patch (renamed from meta/recipes-devtools/qemu/qemu/fixedmeson.patch)18
-rw-r--r--meta/recipes-devtools/qemu/qemu/0010-hw-pvrdma-Protect-against-buggy-or-malicious-guest-d.patch40
-rw-r--r--meta/recipes-devtools/qemu/qemu/0011-linux-user-workaround-for-missing-MAP_FIXED_NOREPLAC.patch282
-rw-r--r--meta/recipes-devtools/qemu/qemu/0011-qemu-Ensure-pip-and-the-python-venv-aren-t-used-for-.patch (renamed from meta/recipes-devtools/qemu/qemu/no-pip.patch)22
-rw-r--r--meta/recipes-devtools/qemu/qemu/0012-linux-user-workaround-for-missing-MAP_SHARED_VALIDAT.patch51
-rw-r--r--meta/recipes-devtools/qemu/qemu/4a8579ad8629b57a43daa62e46cc7af6e1078116.patch60
-rw-r--r--meta/recipes-devtools/qemu/qemu/CVE-2023-6683.patch91
-rw-r--r--meta/recipes-devtools/qemu/qemu/fix-strerrorname_np.patch35
-rw-r--r--meta/recipes-devtools/qemu/qemu/run-ptest5
-rw-r--r--meta/recipes-devtools/qemu/qemu_10.0.2.bb (renamed from meta/recipes-devtools/qemu/qemu_8.2.1.bb)1
-rw-r--r--meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb3
-rw-r--r--meta/recipes-devtools/quilt/quilt-native_0.69.bb (renamed from meta/recipes-devtools/quilt/quilt-native_0.67.bb)0
-rw-r--r--meta/recipes-devtools/quilt/quilt.inc12
-rw-r--r--meta/recipes-devtools/quilt/quilt/0001-contrib-spec-filters-obs-usr-bin-sh-bin-sh.patch28
-rw-r--r--meta/recipes-devtools/quilt/quilt/0001-test-Fix-a-race-condition-in-merge.test.patch48
-rw-r--r--meta/recipes-devtools/quilt/quilt/faildiff-order.patch41
-rw-r--r--meta/recipes-devtools/quilt/quilt/fix-grep-3.8.patch144
-rw-r--r--meta/recipes-devtools/quilt/quilt_0.69.bb (renamed from meta/recipes-devtools/quilt/quilt_0.67.bb)0
-rw-r--r--meta/recipes-devtools/repo/repo_2.55.2.bb (renamed from meta/recipes-devtools/repo/repo_2.45.bb)6
-rw-r--r--meta/recipes-devtools/rpm-sequoia/files/0001-Use-optional-env-vars-to-force-runtime-paths-in-test.patch35
-rw-r--r--meta/recipes-devtools/rpm-sequoia/rpm-sequoia-crates.inc486
-rw-r--r--meta/recipes-devtools/rpm-sequoia/rpm-sequoia-crypto-policy/0001-libreswan-Allow-skipping-test_config-for-old-ipsec.patch29
-rw-r--r--meta/recipes-devtools/rpm-sequoia/rpm-sequoia-crypto-policy_git.bb40
-rw-r--r--meta/recipes-devtools/rpm-sequoia/rpm-sequoia_1.7.0.bb79
-rw-r--r--meta/recipes-devtools/rpm/files/0001-Add-a-color-setting-for-mips64_n32-binaries.patch10
-rw-r--r--meta/recipes-devtools/rpm/files/0001-CMakeLists.txt-Fix-checking-for-CFLAGS.patch46
-rw-r--r--meta/recipes-devtools/rpm/files/0001-CMakeLists.txt-look-for-lua-with-pkg-config-rather-t.patch10
-rw-r--r--meta/recipes-devtools/rpm/files/0001-CMakeLists.txt-set-libdir-to-CMAKE_INSTALL_FULL_LIBD.patch50
-rw-r--r--meta/recipes-devtools/rpm/files/0001-Do-not-add-an-unsatisfiable-dependency-when-building.patch6
-rw-r--r--meta/recipes-devtools/rpm/files/0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch18
-rw-r--r--meta/recipes-devtools/rpm/files/0001-Do-not-read-config-files-from-HOME.patch20
-rw-r--r--meta/recipes-devtools/rpm/files/0001-Do-not-reset-the-PATH-environment-variable-before-ru.patch6
-rw-r--r--meta/recipes-devtools/rpm/files/0001-When-cross-installing-execute-package-scriptlets-wit.patch26
-rw-r--r--meta/recipes-devtools/rpm/files/0001-build-pack.c-do-not-insert-payloadflags-into-.rpm-me.patch4
-rw-r--r--meta/recipes-devtools/rpm/files/0001-lib-transaction.c-fix-file-conflicts-for-MIPS64-N32.patch4
-rw-r--r--meta/recipes-devtools/rpm/files/0001-perl-disable-auto-reqs.patch39
-rw-r--r--meta/recipes-devtools/rpm/files/0002-Add-support-for-prefixing-etc-from-RPM_ETCCONFIGDIR-.patch32
-rw-r--r--meta/recipes-devtools/rpm/files/0002-rpmio-rpmglob.c-avoid-using-GLOB_BRACE-if-undefined-.patch4
-rw-r--r--meta/recipes-devtools/rpm/files/0016-rpmscript.c-change-logging-level-around-scriptlets-t.patch29
-rw-r--r--meta/recipes-devtools/rpm/rpm_4.20.1.bb (renamed from meta/recipes-devtools/rpm/rpm_4.19.1.1.bb)36
-rw-r--r--meta/recipes-devtools/rsync/files/0001-Add-missing-prototypes-to-function-declarations.patch69
-rw-r--r--meta/recipes-devtools/rsync/files/determism.patch20
-rw-r--r--meta/recipes-devtools/rsync/files/makefile-no-rebuild.patch10
-rw-r--r--meta/recipes-devtools/rsync/rsync_3.4.1.bb (renamed from meta/recipes-devtools/rsync/rsync_3.3.0.bb)13
-rw-r--r--meta/recipes-devtools/ruby/ruby/0001-extmk-fix-cross-compilation-of-external-gems.patch6
-rw-r--r--meta/recipes-devtools/ruby/ruby/0001-vm_dump.c-Define-REG_S1-and-REG_S2-for-musl-riscv.patch6
-rw-r--r--meta/recipes-devtools/ruby/ruby/0002-Obey-LDFLAGS-for-the-link-of-libruby.patch6
-rw-r--r--meta/recipes-devtools/ruby/ruby/0003-rdoc-build-reproducible-documentation.patch2
-rw-r--r--meta/recipes-devtools/ruby/ruby/0004-lib-mkmf.rb-sort-list-of-object-files-in-generated-M.patch6
-rw-r--r--meta/recipes-devtools/ruby/ruby/0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch9
-rw-r--r--meta/recipes-devtools/ruby/ruby/0006-Make-gemspecs-reproducible.patch30
-rw-r--r--meta/recipes-devtools/ruby/ruby_3.4.4.bb (renamed from meta/recipes-devtools/ruby/ruby_3.3.0.bb)13
-rw-r--r--meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts.service2
-rw-r--r--meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb2
-rw-r--r--meta/recipes-devtools/rust/README-rust.md24
-rw-r--r--meta/recipes-devtools/rust/cargo-c-crates.inc1122
-rw-r--r--meta/recipes-devtools/rust/cargo-c_0.10.13+cargo-0.88.0.bb (renamed from meta/recipes-devtools/rust/cargo-c-native_0.9.30+cargo-0.77.0.bb)5
-rw-r--r--meta/recipes-devtools/rust/cargo_1.87.0.bb (renamed from meta/recipes-devtools/rust/cargo_1.75.0.bb)18
-rw-r--r--meta/recipes-devtools/rust/files/0001-Define-more-ioctl-codes-on-riscv32gc-unknown-linux-g.patch80
-rw-r--r--meta/recipes-devtools/rust/files/0001-Disable-libunwind-cross-architecture-unwinding.patch46
-rw-r--r--meta/recipes-devtools/rust/files/0001-Handle-vendored-sources-when-remapping-paths.patch46
-rw-r--r--meta/recipes-devtools/rust/files/0001-Revert-Map-source-absolute-paths-to-OUT_DIR-as-relat.patch67
-rw-r--r--meta/recipes-devtools/rust/files/0001-libunwind-Use-gcs-instead-of-gcs-target-attribute.patch66
-rw-r--r--meta/recipes-devtools/rust/files/0001-src-core-build_steps-tool.rs-switch-off-lto-for-rust.patch78
-rw-r--r--meta/recipes-devtools/rust/files/cargo-path.patch37
-rw-r--r--meta/recipes-devtools/rust/files/custom-target-cfg.patch90
-rw-r--r--meta/recipes-devtools/rust/files/hardcodepaths.patch59
-rw-r--r--meta/recipes-devtools/rust/files/oeqa-selftest-Increase-timeout-in-process-sigpipe-ru.patch31
-rw-r--r--meta/recipes-devtools/rust/files/repro-issue-fix-with-cc-crate-hashmap.patch168
-rw-r--r--meta/recipes-devtools/rust/files/repro-issue-fix-with-v175.patch36
-rw-r--r--meta/recipes-devtools/rust/files/revert-link-std-statically-in-rustc_driver-feature.patch227
-rw-r--r--meta/recipes-devtools/rust/files/rust-oe-selftest.patch282
-rw-r--r--meta/recipes-devtools/rust/files/rustc-bootstrap.patch21
-rw-r--r--meta/recipes-devtools/rust/files/rv32-cargo-rustix-0.38.19-fix.patch70
-rw-r--r--meta/recipes-devtools/rust/files/rv32-missing-syscalls.patch1503
-rw-r--r--meta/recipes-devtools/rust/files/rv32-rustix-libc-backend.patch32
-rw-r--r--meta/recipes-devtools/rust/files/target-build-value.patch26
-rw-r--r--meta/recipes-devtools/rust/files/triagebot.patch32
-rw-r--r--meta/recipes-devtools/rust/files/zlib-off64_t.patch36
-rw-r--r--meta/recipes-devtools/rust/libstd-rs_1.87.0.bb (renamed from meta/recipes-devtools/rust/libstd-rs_1.75.0.bb)13
-rw-r--r--meta/recipes-devtools/rust/rust-cross-canadian.inc29
-rw-r--r--meta/recipes-devtools/rust/rust-cross-canadian_1.87.0.bb (renamed from meta/recipes-devtools/rust/rust-cross-canadian_1.75.0.bb)0
-rw-r--r--meta/recipes-devtools/rust/rust-llvm/0003-llvm-fix-include-benchmarks.patch25
-rw-r--r--meta/recipes-devtools/rust/rust-llvm_1.87.0.bb (renamed from meta/recipes-devtools/rust/rust-llvm_1.75.0.bb)8
-rw-r--r--meta/recipes-devtools/rust/rust-snapshot.inc72
-rw-r--r--meta/recipes-devtools/rust/rust-source.inc26
-rw-r--r--meta/recipes-devtools/rust/rust_1.87.0.bb (renamed from meta/recipes-devtools/rust/rust_1.75.0.bb)125
-rw-r--r--meta/recipes-devtools/squashfs-tools/squashfs-tools/pid.patch40
-rw-r--r--meta/recipes-devtools/squashfs-tools/squashfs-tools/thread.patch33
-rw-r--r--meta/recipes-devtools/squashfs-tools/squashfs-tools_4.7.bb (renamed from meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb)24
-rw-r--r--meta/recipes-devtools/strace/strace/0001-configure-Use-autoconf-macro-to-detect-largefile-sup.patch6
-rw-r--r--meta/recipes-devtools/strace/strace/0001-strace-fix-reproducibilty-issues.patch9
-rw-r--r--meta/recipes-devtools/strace/strace/0002-tests-Replace-off64_t-with-off_t.patch35
-rw-r--r--meta/recipes-devtools/strace/strace/Makefile-ptest.patch12
-rw-r--r--meta/recipes-devtools/strace/strace/ptest-spacesave.patch7
-rwxr-xr-xmeta/recipes-devtools/strace/strace/run-ptest2
-rw-r--r--meta/recipes-devtools/strace/strace/skip-load.patch9
-rw-r--r--meta/recipes-devtools/strace/strace/update-gawk-paths.patch70
-rw-r--r--meta/recipes-devtools/strace/strace_6.15.bb (renamed from meta/recipes-devtools/strace/strace_6.8.bb)12
-rw-r--r--meta/recipes-devtools/subversion/subversion_1.14.5.bb (renamed from meta/recipes-devtools/subversion/subversion_1.14.3.bb)17
-rw-r--r--meta/recipes-devtools/swig/swig/determinism.patch8
-rw-r--r--meta/recipes-devtools/swig/swig_4.3.1.bb (renamed from meta/recipes-devtools/swig/swig_4.2.1.bb)2
-rw-r--r--meta/recipes-devtools/syslinux/syslinux/0001-Add-extra-sector-count-from-section-entry-for-EFI-ca.patch104
-rw-r--r--meta/recipes-devtools/syslinux/syslinux/0001-ext2_fs.h-do-not-carry-an-outdated-copy.patch1197
-rw-r--r--meta/recipes-devtools/syslinux/syslinux_6.04-pre2.bb12
-rw-r--r--meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0001-Add-riscv32-support.patch48
-rw-r--r--meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0001-Define-portable-basename-function.patch59
-rw-r--r--meta/recipes-devtools/systemd-bootchart/systemd-bootchart_235.bb5
-rw-r--r--meta/recipes-devtools/tcf-agent/tcf-agent_1.8.0.bb (renamed from meta/recipes-devtools/tcf-agent/tcf-agent_git.bb)14
-rw-r--r--meta/recipes-devtools/tcltk/tcl/0001-tcl-Add-tcltk-from-OE.dev-but-with-legacy-staging-fu.patch47
-rw-r--r--meta/recipes-devtools/tcltk/tcl/0002-tcl-fix-a-build-issue.patch79
-rw-r--r--meta/recipes-devtools/tcltk/tcl/0003-tcl-install-tcl-to-lib64-instead-of-lib-on-64bit-tar.patch31
-rw-r--r--meta/recipes-devtools/tcltk/tcl/0004-tcl-update-the-header-location.patch75
-rw-r--r--meta/recipes-devtools/tcltk/tcl/0005-tcl-fix-race-in-interp.test.patch40
-rw-r--r--meta/recipes-devtools/tcltk/tcl/run-ptest9
-rw-r--r--meta/recipes-devtools/tcltk/tcl_9.0.1.bb (renamed from meta/recipes-devtools/tcltk/tcl_8.6.14.bb)33
-rw-r--r--meta/recipes-devtools/tcltk8/tcl8/0001-generic-tcl.h-use-Tcl_WideInt-for-seconds-in-Tcl_Tim.patch33
-rw-r--r--meta/recipes-devtools/tcltk8/tcl8/alter-includedir.patch (renamed from meta/recipes-devtools/tcltk/tcl/alter-includedir.patch)10
-rw-r--r--meta/recipes-devtools/tcltk8/tcl8/fix_non_native_build_issue.patch (renamed from meta/recipes-devtools/tcltk/tcl/fix_non_native_build_issue.patch)15
-rw-r--r--meta/recipes-devtools/tcltk8/tcl8/interp.patch (renamed from meta/recipes-devtools/tcltk/tcl/interp.patch)8
-rw-r--r--meta/recipes-devtools/tcltk8/tcl8/run-ptest31
-rw-r--r--meta/recipes-devtools/tcltk8/tcl8/tcl-add-soname.patch (renamed from meta/recipes-devtools/tcltk/tcl/tcl-add-soname.patch)11
-rw-r--r--meta/recipes-devtools/tcltk8/tcl8/tcl-remove-hardcoded-install-path.patch (renamed from meta/recipes-devtools/tcltk/tcl/tcl-remove-hardcoded-install-path.patch)8
-rw-r--r--meta/recipes-devtools/tcltk8/tcl8_8.6.16.bb122
-rw-r--r--meta/recipes-devtools/unfs3/unfs3/0001-Alias-off64_t-to-off_t-on-linux-if-not-defined.patch28
-rw-r--r--meta/recipes-devtools/unfs3/unfs3/0001-attr-fix-utime-for-symlink.patch88
-rw-r--r--meta/recipes-devtools/unfs3/unfs3/0001-daemon.c-Fix-race-window-for-writing-of-the-pid-file.patch68
-rw-r--r--meta/recipes-devtools/unfs3/unfs3/0001-fix-building-on-macOS.patch27
-rw-r--r--meta/recipes-devtools/unfs3/unfs3/0001-locate.c-Include-attr.h.patch28
-rw-r--r--meta/recipes-devtools/unfs3/unfs3_0.11.0.bb20
-rw-r--r--meta/recipes-devtools/unfs3/unfs3_git.bb30
-rw-r--r--meta/recipes-devtools/unifdef/unifdef/0001-Don-t-use-C23-constexpr-keyword.patch57
-rw-r--r--meta/recipes-devtools/unifdef/unifdef_2.12.bb4
-rw-r--r--meta/recipes-devtools/vala/vala_0.56.18.bb (renamed from meta/recipes-devtools/vala/vala_0.56.17.bb)2
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0001-Return-a-valid-exit_code-from-vg_regtest.patch27
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0001-Use-portable-syntax-for-pushsection-directive-in-inl.patch31
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0001-configure-Drop-setting-mcpu-cortex-a8-on-arm.patch37
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0001-docs-Disable-manual-validation.patch11
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0001-makefiles-Drop-setting-mcpu-to-cortex-a8-on-arm-arch.patch45
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0001-memcheck-tests-Fix-timerfd-syscall-test.patch32
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0001-memcheck-vgtests-remove-fullpath-after-flags.patch9
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0001-none-tests-fdleak_cmsg.stderr.exp-adjust-tmp-paths.patch9
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0001-sigqueue-Rename-_sifields-to-__si_fields-on-musl.patch9
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0001-tests-arm-Use-O-instead-of-O0.patch36
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0001-valgrind-filter_xml_frames-do-not-filter-usr.patch9
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0001-valgrind-monitor.py-regular-expressions-should-use-r.patch64
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0002-Bug-476548-valgrind-3.22.0-fails-on-assertion-when-l.patch147
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0003-Add-fchmodat2-syscall-on-linux.patch221
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0003-correct-include-directive-path-for-config.h.patch9
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0004-Bug-478624-Valgrind-incompatibility-with-binutils-2..patch137
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0005-Modify-vg_test-wrapper-to-support-PTEST-formats.patch257
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/Added-support-for-PPC-instructions-mfatbu-mfatbl.patch25
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/avoid-neon-for-targets-which-don-t-support-it.patch7
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/fixed-perl-path.patch5
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/remove-for-aarch6432
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/remove-for-all29
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/s390x_vec_op_t.patch15
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/use-appropriate-march-mcpu-mfpu-for-ARM-test-apps.patch9
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/valgrind-make-ld-XXX.so-strlen-intercept-optional.patch9
-rw-r--r--meta/recipes-devtools/valgrind/valgrind_3.22.0.bb276
-rw-r--r--meta/recipes-devtools/valgrind/valgrind_3.25.1.bb116
-rw-r--r--meta/recipes-devtools/xmlto/xmlto_0.0.29.bb (renamed from meta/recipes-devtools/xmlto/xmlto_0.0.28.bb)8
863 files changed, 20845 insertions, 18738 deletions
diff --git a/meta/recipes-devtools/apt/apt/0001-Hide-fstatat64-and-prlimit64-defines-on-musl.patch b/meta/recipes-devtools/apt/apt/0001-Hide-fstatat64-and-prlimit64-defines-on-musl.patch
deleted file mode 100644
index f1816836b5..0000000000
--- a/meta/recipes-devtools/apt/apt/0001-Hide-fstatat64-and-prlimit64-defines-on-musl.patch
+++ /dev/null
@@ -1,48 +0,0 @@
1From e849b161ce1d87ab369b921438abcf5b3a03e186 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 25 Apr 2021 08:57:03 -0700
4Subject: [PATCH] Hide fstatat64 and prlimit64 defines on musl
5
6musl defines fstatat64 and prlimit64 as macros which confuses the
7seccomp sysall rewiring since there are syscalls with same names
8
9Upstream-Status: Pending
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 methods/aptmethod.h | 12 ++++++++++--
13 1 file changed, 10 insertions(+), 2 deletions(-)
14
15diff --git a/methods/aptmethod.h b/methods/aptmethod.h
16index bd50e80..3085aed 100644
17--- a/methods/aptmethod.h
18+++ b/methods/aptmethod.h
19@@ -121,6 +121,12 @@ protected:
20 if (ctx == NULL)
21 return _error->FatalE("HttpMethod::Configuration", "Cannot init seccomp");
22
23+#ifndef __GLIBC__
24+#pragma push_macro("fstatat64")
25+#pragma push_macro("prlimit64")
26+#undef fstatat64
27+#undef prlimit64
28+#endif
29 #define ALLOW(what) \
30 if ((rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(what), 0))) \
31 return _error->FatalE("HttpMethod::Configuration", "Cannot allow %s: %s", #what, strerror(-rc));
32@@ -320,9 +326,11 @@ protected:
33 if ((rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, seccomp_syscall_resolve_name(custom.c_str()), 0)))
34 return _error->FatalE("aptMethod::Configuration", "Cannot allow %s: %s", custom.c_str(), strerror(-rc));
35 }
36-
37 #undef ALLOW
38-
39+#ifndef __GLIBC__
40+#pragma pop_macro("fstatat64")
41+#pragma pop_macro("prlimit64")
42+#endif
43 rc = seccomp_load(ctx);
44 if (rc == -EINVAL)
45 {
46--
472.31.1
48
diff --git a/meta/recipes-devtools/apt/apt/0001-strutl-Add-missing-include-cstdint-gcc-15.patch b/meta/recipes-devtools/apt/apt/0001-strutl-Add-missing-include-cstdint-gcc-15.patch
new file mode 100644
index 0000000000..b86ed8bb92
--- /dev/null
+++ b/meta/recipes-devtools/apt/apt/0001-strutl-Add-missing-include-cstdint-gcc-15.patch
@@ -0,0 +1,26 @@
1From 9da1b0dbdcc90455bc9de49f73a96e7d18f83493 Mon Sep 17 00:00:00 2001
2From: Julian Andres Klode <julian.klode@canonical.com>
3Date: Tue, 18 Feb 2025 10:29:40 +0100
4Subject: [PATCH] strutl: Add missing #include <cstdint> [gcc 15]
5
6Closes: #1096322
7
8Upstream-Status: Backport [https://salsa.debian.org/apt-team/apt/-/commit/f82dcd7e4ebb3f70d28e9feb3621676f8c0cc024]
9
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 apt-pkg/contrib/strutl.cc | 1 +
13 1 file changed, 1 insertion(+)
14
15diff --git a/apt-pkg/contrib/strutl.cc b/apt-pkg/contrib/strutl.cc
16index 67100f1..c0a1cbc 100644
17--- a/apt-pkg/contrib/strutl.cc
18+++ b/apt-pkg/contrib/strutl.cc
19@@ -26,6 +26,7 @@
20
21 #include <algorithm>
22 #include <array>
23+#include <cstdint>
24 #include <iomanip>
25 #include <limits>
26 #include <locale>
diff --git a/meta/recipes-devtools/apt/apt_2.6.1.bb b/meta/recipes-devtools/apt/apt_2.6.1.bb
index fb4ff899d2..d605d950dd 100644
--- a/meta/recipes-devtools/apt/apt_2.6.1.bb
+++ b/meta/recipes-devtools/apt/apt_2.6.1.bb
@@ -11,9 +11,9 @@ SRC_URI = "${DEBIAN_MIRROR}/main/a/apt/${BPN}_${PV}.tar.xz \
11 file://0001-Fix-musl-build.patch \ 11 file://0001-Fix-musl-build.patch \
12 file://0001-CMakeLists.txt-avoid-changing-install-paths-based-on.patch \ 12 file://0001-CMakeLists.txt-avoid-changing-install-paths-based-on.patch \
13 file://0001-cmake-Do-not-build-po-files.patch \ 13 file://0001-cmake-Do-not-build-po-files.patch \
14 file://0001-Hide-fstatat64-and-prlimit64-defines-on-musl.patch \
15 file://0001-aptwebserver.cc-Include-array.patch \ 14 file://0001-aptwebserver.cc-Include-array.patch \
16 file://0001-Remove-using-std-binary_function.patch \ 15 file://0001-Remove-using-std-binary_function.patch \
16 file://0001-strutl-Add-missing-include-cstdint-gcc-15.patch \
17 " 17 "
18 18
19SRC_URI:append:class-native = " \ 19SRC_URI:append:class-native = " \
@@ -49,7 +49,7 @@ DEPENDS += "db gnutls lz4 zlib bzip2 xz libgcrypt xxhash"
49 49
50EXTRA_OECMAKE:append = " -DCURRENT_VENDOR=debian -DWITH_DOC=False \ 50EXTRA_OECMAKE:append = " -DCURRENT_VENDOR=debian -DWITH_DOC=False \
51 -DDPKG_DATADIR=${datadir}/dpkg \ 51 -DDPKG_DATADIR=${datadir}/dpkg \
52 -DTRIEHASH_EXECUTABLE=${WORKDIR}/triehash \ 52 -DTRIEHASH_EXECUTABLE=${UNPACKDIR}/triehash \
53 -DCMAKE_DISABLE_FIND_PACKAGE_ZSTD=True \ 53 -DCMAKE_DISABLE_FIND_PACKAGE_ZSTD=True \
54 -DCMAKE_DISABLE_FIND_PACKAGE_SECCOMP=True \ 54 -DCMAKE_DISABLE_FIND_PACKAGE_SECCOMP=True \
55 -DWITH_TESTS=False \ 55 -DWITH_TESTS=False \
@@ -111,7 +111,7 @@ Acquire
111 AllowInsecureRepositories "true"; 111 AllowInsecureRepositories "true";
112}; 112};
113 113
114DPkg::Options {"--root=#ROOTFS#";"--admindir=#ROOTFS#/var/lib/dpkg";"--force-all";"--no-debsig"}; 114DPkg::Options {"--root=#ROOTFS#";"--admindir=#ROOTFS#/var/lib/dpkg";"--force-all";"--no-force-overwrite";"--no-debsig"};
115DPkg::Path ""; 115DPkg::Path "";
116EOF 116EOF
117} 117}
diff --git a/meta/recipes-devtools/autoconf-archive/autoconf-archive_2023.02.20.bb b/meta/recipes-devtools/autoconf-archive/autoconf-archive_2024.10.16.bb
index 6ba7cdf3fe..11708de1c8 100644
--- a/meta/recipes-devtools/autoconf-archive/autoconf-archive_2023.02.20.bb
+++ b/meta/recipes-devtools/autoconf-archive/autoconf-archive_2024.10.16.bb
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=11cc2d3ee574f9d6b7ee797bdce4d423 \
6 file://COPYING.EXCEPTION;md5=fdef168ebff3bc2f13664c365a5fb515" 6 file://COPYING.EXCEPTION;md5=fdef168ebff3bc2f13664c365a5fb515"
7 7
8SRC_URI = "${GNU_MIRROR}/${BPN}/${BPN}-${PV}.tar.xz" 8SRC_URI = "${GNU_MIRROR}/${BPN}/${BPN}-${PV}.tar.xz"
9SRC_URI[sha256sum] = "71d4048479ae28f1f5794619c3d72df9c01df49b1c628ef85fde37596dc31a33" 9SRC_URI[sha256sum] = "7bcd5d001916f3a50ed7436f4f700e3d2b1bade3ed803219c592d62502a57363"
10 10
11inherit autotools allarch texinfo 11inherit autotools allarch texinfo
12 12
diff --git a/meta/recipes-devtools/autoconf/autoconf_2.72e.bb b/meta/recipes-devtools/autoconf/autoconf_2.72.bb
index db374373cf..b599f270c7 100644
--- a/meta/recipes-devtools/autoconf/autoconf_2.72e.bb
+++ b/meta/recipes-devtools/autoconf/autoconf_2.72.bb
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=cc3f3a7596cb558bbd9eb7fbaa3ef16c \
12 file://COPYINGv3;md5=1ebbd3e34237af26da5dc08a4e440464" 12 file://COPYINGv3;md5=1ebbd3e34237af26da5dc08a4e440464"
13 13
14SRC_URI = " \ 14SRC_URI = " \
15 https://alpha.gnu.org/gnu/autoconf/${BP}.tar.gz \ 15 ${GNU_MIRROR}/autoconf/${BP}.tar.gz \
16 file://program_prefix.patch \ 16 file://program_prefix.patch \
17 file://autoreconf-exclude.patch \ 17 file://autoreconf-exclude.patch \
18 file://remove-usr-local-lib-from-m4.patch \ 18 file://remove-usr-local-lib-from-m4.patch \
@@ -22,7 +22,11 @@ SRC_URI = " \
22" 22"
23SRC_URI:append:class-native = " file://no-man.patch" 23SRC_URI:append:class-native = " file://no-man.patch"
24 24
25SRC_URI[sha256sum] = "f3478d3b597d51f5d61596fb2f6f6aba49cdd974b4b05ff0bac57f56b5cfdb39" 25SRC_URI[sha256sum] = "afb181a76e1ee72832f6581c0eddf8df032b83e2e0239ef79ebedc4467d92d6e"
26
27# Remove this when upgrading past 2.72, as package managers sort 2.72e (the
28# fifth release candidate) after 2.72.
29PKGV = "2.72e+really${PV}"
26 30
27RDEPENDS:${PN} = "m4 gnu-config \ 31RDEPENDS:${PN} = "m4 gnu-config \
28 perl \ 32 perl \
diff --git a/meta/recipes-devtools/automake/automake/0001-Drop-ar-u-argument.patch b/meta/recipes-devtools/automake/automake/0001-Drop-ar-u-argument.patch
deleted file mode 100644
index f72788c3a6..0000000000
--- a/meta/recipes-devtools/automake/automake/0001-Drop-ar-u-argument.patch
+++ /dev/null
@@ -1,35 +0,0 @@
1From bed646918bc67e9e2151ccbda03aae34717821fe Mon Sep 17 00:00:00 2001
2From: Andrei Gherzan <andrei.gherzan@huawei.com>
3Date: Wed, 20 Apr 2022 14:57:14 +0200
4Subject: [PATCH] Drop ar 'u' argument
5
6binutils/ar is configured in deterministic mode by default making the
7'u' argument irrelevant while leading to warning massages similar to:
8
9| ar: `u' modifier ignored since `D' is the default (see `U')
10
11We also add 'D' flag explicitely to not rely in the default configuration
12for reproducible archives.
13
14Upstream-Status: Inappropriate [OE specific]
15Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
16---
17 bin/automake.in | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
19
20diff --git a/bin/automake.in b/bin/automake.in
21index 92bcebe..0f2b84b 100644
22--- a/bin/automake.in
23+++ b/bin/automake.in
24@@ -2678,7 +2678,7 @@ sub handle_libraries ()
25 }
26
27 define_variable ('AR', 'ar', INTERNAL);
28- define_variable ('ARFLAGS', 'cru', INTERNAL);
29+ define_variable ('ARFLAGS', 'crD', INTERNAL);
30 define_verbose_tagvar ('AR');
31
32 foreach my $pair (@liblist)
33--
342.25.1
35
diff --git a/meta/recipes-devtools/automake/automake/0001-automake-Add-default-libtool_tag-to-cppasm.patch b/meta/recipes-devtools/automake/automake/0001-automake-Add-default-libtool_tag-to-cppasm.patch
deleted file mode 100644
index deb1d03503..0000000000
--- a/meta/recipes-devtools/automake/automake/0001-automake-Add-default-libtool_tag-to-cppasm.patch
+++ /dev/null
@@ -1,27 +0,0 @@
1From b3c6e1971786cd93a2e3017c92bfbfe96baaf2f7 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 26 Jul 2017 11:19:56 -0700
4Subject: [PATCH] automake: Add default libtool_tag to cppasm.
5
6 * bin/automake.in (register_language): Define default libtool tag to be CC
7 since CPPASCOMPILE is using CC to call assembler
8
9Upstream-Status: Submitted
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11
12---
13 bin/automake.in | 1 +
14 1 file changed, 1 insertion(+)
15
16diff --git a/bin/automake.in b/bin/automake.in
17index 3a66965..08ba09a 100644
18--- a/bin/automake.in
19+++ b/bin/automake.in
20@@ -898,6 +898,7 @@ register_language ('name' => 'cppasm',
21 'libtool_tag' => 'CC',
22 'compile_flag' => '-c',
23 'output_flag' => '-o',
24+ 'libtool_tag' => 'CC',
25 'extensions' => ['.S', '.sx']);
26
27 # Fortran 77
diff --git a/meta/recipes-devtools/automake/automake/0001-build-fix-race-in-parallel-builds.patch b/meta/recipes-devtools/automake/automake/0001-build-fix-race-in-parallel-builds.patch
deleted file mode 100644
index 591fce1bf1..0000000000
--- a/meta/recipes-devtools/automake/automake/0001-build-fix-race-in-parallel-builds.patch
+++ /dev/null
@@ -1,65 +0,0 @@
1From 592eb55b248a765abfc796fccb68baa3d53745ac Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Thu, 26 Jul 2018 00:58:12 -0700
4Subject: [PATCH] build: fix race in parallel builds
5
6The automake-$(APIVERSION) is a hardlink of automake, if it is
7created later than update_mans executing, there is a failure
8[snip]
9|: && mkdir -p doc && ./pre-inst-env /usr/bin/env perl
10../automake-1.16.1/doc/help2man --output=doc/aclocal-1.16.1
11aclocal-1.16
12|help2man: can't get `--help' info from aclocal-1.16
13|Try `--no-discard-stderr' if option outputs to stderr
14Makefile:3693: recipe for target 'doc/aclocal-1.16.1' failed
15[snip]
16
17The automake_script is required by update_mans and update_mans
18invokes automake-$(APIVERSION) rather than automake to generate
19doc, so we should assign `automake-$(APIVERSION)' to automake_script.
20
21The same reason to tweak aclocal_script.
22
23* bin/local.mk: correct automake_script/aclocal_script
24
25Upstream-Status: Submitted [automake-patches@gnu.org]
26
27Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
28---
29 Makefile.in | 4 ++--
30 bin/local.mk | 4 ++--
31 2 files changed, 4 insertions(+), 4 deletions(-)
32
33diff --git a/Makefile.in b/Makefile.in
34index c3e934c..7cddb8d 100644
35--- a/Makefile.in
36+++ b/Makefile.in
37@@ -691,8 +691,8 @@ bin_SCRIPTS = bin/automake bin/aclocal
38 # Used by maintainer checks and such.
39 automake_in = $(srcdir)/bin/automake.in
40 aclocal_in = $(srcdir)/bin/aclocal.in
41-automake_script = bin/automake
42-aclocal_script = bin/aclocal
43+automake_script = bin/automake-$(APIVERSION)
44+aclocal_script = bin/aclocal-$(APIVERSION)
45 AUTOMAKESOURCES = $(automake_in) $(aclocal_in)
46 info_TEXINFOS = doc/automake.texi doc/automake-history.texi
47 doc_automake_TEXINFOS = doc/fdl.texi
48diff --git a/bin/local.mk b/bin/local.mk
49index 97b38db..058ca99 100644
50--- a/bin/local.mk
51+++ b/bin/local.mk
52@@ -31,8 +31,8 @@ CLEANFILES += \
53 # Used by maintainer checks and such.
54 automake_in = $(srcdir)/%D%/automake.in
55 aclocal_in = $(srcdir)/%D%/aclocal.in
56-automake_script = %D%/automake
57-aclocal_script = %D%/aclocal
58+automake_script = %D%/automake-$(APIVERSION)
59+aclocal_script = %D%/aclocal-$(APIVERSION)
60
61 AUTOMAKESOURCES = $(automake_in) $(aclocal_in)
62 TAGS_FILES += $(AUTOMAKESOURCES)
63--
642.7.4
65
diff --git a/meta/recipes-devtools/automake/automake/0001-configure-don-t-report-error-when-the-path-of-Perl-c.patch b/meta/recipes-devtools/automake/automake/0001-configure-don-t-report-error-when-the-path-of-Perl-c.patch
new file mode 100644
index 0000000000..5a38feb16c
--- /dev/null
+++ b/meta/recipes-devtools/automake/automake/0001-configure-don-t-report-error-when-the-path-of-Perl-c.patch
@@ -0,0 +1,34 @@
1From 4339a2298a2d486fb4636b72393499b59805edde Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com>
3Date: Thu, 21 Nov 2024 14:54:37 +0800
4Subject: [PATCH] configure: don't report error when the path of Perl contains
5 spaces or tabs
6
7In order to make setting PERL to "/usr/bin/env perl" works well, patch
8configure as upstream suggested, refer [1].
9
10[1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=74453
11
12Upstream-Status: Inappropriate [ oe-specific ]
13
14Signed-off-by: Changqing Li <changqing.li@windriver.com>
15---
16 configure | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/configure b/configure
20index 45bf85a..68d3c7d 100755
21--- a/configure
22+++ b/configure
23@@ -3514,7 +3514,7 @@ case $PERL in
24 as_fn_error $? "perl not found" "$LINENO" 5
25 ;;
26 *' '* | *' '*)
27- as_fn_error $? "The path to your Perl contains spaces or tabs.
28+ : as_fn_error $? "The path to your Perl contains spaces or tabs.
29 This would cause build failures later or unusable programs.
30 Please use a path without spaces and try again." "$LINENO" 5
31 ;;
32--
332.25.1
34
diff --git a/meta/recipes-devtools/automake/automake/0001-automake-Update-for-python.m4-to-respect-libdir.patch b/meta/recipes-devtools/automake/automake/0002-automake-Update-for-python.m4-to-respect-libdir.patch
index d28045618e..308a7d075d 100644
--- a/meta/recipes-devtools/automake/automake/0001-automake-Update-for-python.m4-to-respect-libdir.patch
+++ b/meta/recipes-devtools/automake/automake/0002-automake-Update-for-python.m4-to-respect-libdir.patch
@@ -1,7 +1,7 @@
1From dff74c5b19935cc11b30116a7ae9c8affdff246b Mon Sep 17 00:00:00 2001 1From 05194070775b597829abfa0d9a5f96d19cc064b8 Mon Sep 17 00:00:00 2001
2From: Kumar Gala <galak@kernel.crashing.org> 2From: Kumar Gala <galak@kernel.crashing.org>
3Date: Thu, 11 Aug 2011 01:26:33 -0500 3Date: Thu, 11 Aug 2011 01:26:33 -0500
4Subject: [PATCH] automake: Update for python.m4 to respect libdir 4Subject: [PATCH 2/6] automake: Update for python.m4 to respect libdir
5 5
6Upstream-Status: Inappropriate [embedded specific] 6Upstream-Status: Inappropriate [embedded specific]
7 7
@@ -12,14 +12,14 @@ Updated for automake-1.12.6
12Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> 12Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
13Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 13Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
14--- 14---
15 m4/python.m4 | 24 ++++++------------------ 15 m4/python.m4 | 32 ++++++--------------------------
16 1 file changed, 6 insertions(+), 18 deletions(-) 16 1 file changed, 6 insertions(+), 26 deletions(-)
17 17
18diff --git a/m4/python.m4 b/m4/python.m4 18diff --git a/m4/python.m4 b/m4/python.m4
19index 4e7de9427..40fc5b396 100644 19index 0b1db26..07db0eb 100644
20--- a/m4/python.m4 20--- a/m4/python.m4
21+++ b/m4/python.m4 21+++ b/m4/python.m4
22@@ -96,6 +96,8 @@ AC_DEFUN([AM_PATH_PYTHON], 22@@ -99,6 +99,8 @@ AC_DEFUN([AM_PATH_PYTHON],
23 [am_cv_python_version=`$PYTHON -c "import sys; print ('%u.%u' % sys.version_info[[:2]])"`]) 23 [am_cv_python_version=`$PYTHON -c "import sys; print ('%u.%u' % sys.version_info[[:2]])"`])
24 AC_SUBST([PYTHON_VERSION], [$am_cv_python_version]) 24 AC_SUBST([PYTHON_VERSION], [$am_cv_python_version])
25 25
@@ -28,14 +28,18 @@ index 4e7de9427..40fc5b396 100644
28 dnl At times, e.g., when building shared libraries, you may want 28 dnl At times, e.g., when building shared libraries, you may want
29 dnl to know which OS platform Python thinks this is. 29 dnl to know which OS platform Python thinks this is.
30 dnl 30 dnl
31@@ -251,14 +253,7 @@ except ImportError: 31@@ -268,18 +270,7 @@ except ImportError:
32 else 32 else
33 am_py_prefix=$am_cv_python_prefix 33 am_py_prefix=$am_cv_python_prefix
34 fi 34 fi
35- am_cv_python_pythondir=`$PYTHON -c " 35- am_cv_python_pythondir=`$PYTHON -c "
36-$am_python_setup_sysconfig 36-$am_python_setup_sysconfig
37-if can_use_sysconfig: 37-if can_use_sysconfig:
38- sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'}) 38- try:
39- $am_python_setup_scheme
40- sitedir = sysconfig.get_path('purelib', scheme, vars={'base':'$am_py_prefix'})
41- except:
42- sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
39-else: 43-else:
40- from distutils import sysconfig 44- from distutils import sysconfig
41- sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix') 45- sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
@@ -44,7 +48,7 @@ index 4e7de9427..40fc5b396 100644
44 # 48 #
45 case $am_cv_python_pythondir in 49 case $am_cv_python_pythondir in
46 $am_py_prefix*) 50 $am_py_prefix*)
47@@ -268,7 +263,7 @@ sys.stdout.write(sitedir)"` 51@@ -289,7 +280,7 @@ sys.stdout.write(sitedir)"`
48 *) 52 *)
49 case $am_py_prefix in 53 case $am_py_prefix in
50 /usr|/System*) ;; 54 /usr|/System*) ;;
@@ -53,14 +57,18 @@ index 4e7de9427..40fc5b396 100644
53 ;; 57 ;;
54 esac 58 esac
55 ;; 59 ;;
56@@ -293,14 +288,7 @@ sys.stdout.write(sitedir)"` 60@@ -315,18 +306,7 @@ sys.stdout.write(sitedir)"`
57 else 61 else
58 am_py_exec_prefix=$am_cv_python_exec_prefix 62 am_py_exec_prefix=$am_cv_python_exec_prefix
59 fi 63 fi
60- am_cv_python_pyexecdir=`$PYTHON -c " 64- am_cv_python_pyexecdir=`$PYTHON -c "
61-$am_python_setup_sysconfig 65-$am_python_setup_sysconfig
62-if can_use_sysconfig: 66-if can_use_sysconfig:
63- sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_exec_prefix'}) 67- try:
68- $am_python_setup_scheme
69- sitedir = sysconfig.get_path('platlib', scheme, vars={'platbase':'$am_py_exec_prefix'})
70- except:
71- sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_exec_prefix'})
64-else: 72-else:
65- from distutils import sysconfig 73- from distutils import sysconfig
66- sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_exec_prefix') 74- sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_exec_prefix')
@@ -69,7 +77,7 @@ index 4e7de9427..40fc5b396 100644
69 # 77 #
70 case $am_cv_python_pyexecdir in 78 case $am_cv_python_pyexecdir in
71 $am_py_exec_prefix*) 79 $am_py_exec_prefix*)
72@@ -310,7 +298,7 @@ sys.stdout.write(sitedir)"` 80@@ -336,7 +316,7 @@ sys.stdout.write(sitedir)"`
73 *) 81 *)
74 case $am_py_exec_prefix in 82 case $am_py_exec_prefix in
75 /usr|/System*) ;; 83 /usr|/System*) ;;
@@ -79,5 +87,5 @@ index 4e7de9427..40fc5b396 100644
79 esac 87 esac
80 ;; 88 ;;
81-- 89--
822.20.1 902.39.2
83 91
diff --git a/meta/recipes-devtools/automake/automake/buildtest.patch b/meta/recipes-devtools/automake/automake/0004-Add-a-new-distro-feature-ptest.patch
index c43a4ac8f3..91c7f1c2cc 100644
--- a/meta/recipes-devtools/automake/automake/buildtest.patch
+++ b/meta/recipes-devtools/automake/automake/0004-Add-a-new-distro-feature-ptest.patch
@@ -1,7 +1,7 @@
1From a860b28069785aa5bf2fa9b671287de9af5004ff Mon Sep 17 00:00:00 2001 1From 839dca38cf24e70c7f0e20015d55aa8e543dd403 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Bj=C3=B6rn=20Stenberg?= <bjst@enea.com> 2From: =?UTF-8?q?Bj=C3=B6rn=20Stenberg?= <bjst@enea.com>
3Date: Wed, 19 Dec 2012 17:18:27 +0100 3Date: Wed, 19 Dec 2012 17:18:27 +0100
4Subject: [PATCH] Add a new distro feature "ptest". 4Subject: [PATCH 4/6] Add a new distro feature "ptest".
5MIME-Version: 1.0 5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8 6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit 7Content-Transfer-Encoding: 8bit
@@ -11,13 +11,12 @@ be run separately.
11 11
12Signed-off-by: Björn Stenberg <bjst@enea.com> 12Signed-off-by: Björn Stenberg <bjst@enea.com>
13Upstream-Status: Pending 13Upstream-Status: Pending
14
15--- 14---
16 lib/am/check.am | 11 +++++++++-- 15 lib/am/check.am | 11 +++++++++--
17 1 file changed, 9 insertions(+), 2 deletions(-) 16 1 file changed, 9 insertions(+), 2 deletions(-)
18 17
19diff --git a/lib/am/check.am b/lib/am/check.am 18diff --git a/lib/am/check.am b/lib/am/check.am
20index e0db651..de137fa 100644 19index e51a771..070e2da 100644
21--- a/lib/am/check.am 20--- a/lib/am/check.am
22+++ b/lib/am/check.am 21+++ b/lib/am/check.am
23@@ -41,7 +41,7 @@ am__tty_colors = { \ 22@@ -41,7 +41,7 @@ am__tty_colors = { \
@@ -29,7 +28,7 @@ index e0db651..de137fa 100644
29 28
30 if !%?SERIAL_TESTS% 29 if !%?SERIAL_TESTS%
31 30
32@@ -466,7 +466,14 @@ else %?SERIAL_TESTS% 31@@ -520,7 +520,14 @@ else %?SERIAL_TESTS%
33 32
34 ## Obsolescent serial testsuite driver. 33 ## Obsolescent serial testsuite driver.
35 34
@@ -45,3 +44,6 @@ index e0db651..de137fa 100644
45 @failed=0; all=0; xfail=0; xpass=0; skip=0; \ 44 @failed=0; all=0; xfail=0; xpass=0; skip=0; \
46 srcdir=$(srcdir); export srcdir; \ 45 srcdir=$(srcdir); export srcdir; \
47 ## Make sure Solaris VPATH-expands all members of this list, even 46 ## Make sure Solaris VPATH-expands all members of this list, even
47--
482.39.2
49
diff --git a/meta/recipes-devtools/automake/automake/0006-automake-Remove-delays-in-configure-scripts-using-au.patch b/meta/recipes-devtools/automake/automake/0006-automake-Remove-delays-in-configure-scripts-using-au.patch
new file mode 100644
index 0000000000..e5e39169b6
--- /dev/null
+++ b/meta/recipes-devtools/automake/automake/0006-automake-Remove-delays-in-configure-scripts-using-au.patch
@@ -0,0 +1,77 @@
1From b43c0ccd1d98a43c0ddcade40fa288e98d381420 Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Mon, 7 Dec 2015 18:28:05 +0000
4Subject: [PATCH 6/6] automake: Remove delays in configure scripts using
5 automake
6
7By default automake puts "sleep 1" into the start of configure scripts
8which adds pointless delays to them. Rather than do this, lets just assume
9our systems are sane.
10
11RP
122015/12/7
13Upstream-Status: Inappropriate
14---
15 m4/sanity.m4 | 48 +-----------------------------------------------
16 1 file changed, 1 insertion(+), 47 deletions(-)
17
18diff --git a/m4/sanity.m4 b/m4/sanity.m4
19index c7f32da..f25625a 100644
20--- a/m4/sanity.m4
21+++ b/m4/sanity.m4
22@@ -176,51 +176,5 @@ case $srcdir in
23 AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
24 esac
25
26-# Do 'set' in a subshell so we don't clobber the current shell's
27-# arguments. Must try -L first in case configure is actually a
28-# symlink; some systems play weird games with the mod time of symlinks
29-# (eg FreeBSD returns the mod time of the symlink's containing
30-# directory).
31-am_build_env_is_sane=no
32-am_has_slept=no
33-rm -f conftest.file
34-for am_try in 1 2; do
35- echo "timestamp, slept: $am_has_slept" > conftest.file
36- if (
37- set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
38- if test "$[]*" = "X"; then
39- # -L didn't work.
40- set X `ls -t "$srcdir/configure" conftest.file`
41- fi
42- test "$[]2" = conftest.file
43- ); then
44- am_build_env_is_sane=yes
45- break
46- fi
47- # Just in case.
48- sleep "$am_cv_filesystem_timestamp_resolution"
49- am_has_slept=yes
50-done
51-
52-AC_MSG_RESULT([$am_build_env_is_sane])
53-if test "$am_build_env_is_sane" = no; then
54- AC_MSG_ERROR([newly created file is older than distributed files!
55-Check your system clock])
56-fi
57-
58-# If we didn't sleep, we still need to ensure time stamps of config.status and
59-# generated files are strictly newer.
60-am_sleep_pid=
61-AS_IF([test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1],, [dnl
62- ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
63- am_sleep_pid=$!
64-])
65-AC_CONFIG_COMMANDS_PRE(
66- [AC_MSG_CHECKING([that generated files are newer than configure])
67- if test -n "$am_sleep_pid"; then
68- # Hide warnings about reused PIDs.
69- wait $am_sleep_pid 2>/dev/null
70- fi
71- AC_MSG_RESULT([done])])
72-rm -f conftest.file
73+AC_MSG_RESULT([yes])
74 ])
75--
762.39.2
77
diff --git a/meta/recipes-devtools/automake/automake/new_rt_path_for_test-driver.patch b/meta/recipes-devtools/automake/automake/new_rt_path_for_test-driver.patch
deleted file mode 100644
index 1f71722334..0000000000
--- a/meta/recipes-devtools/automake/automake/new_rt_path_for_test-driver.patch
+++ /dev/null
@@ -1,48 +0,0 @@
1From f78dfa39139d528c94d72f27994f337f2fd3b6bd Mon Sep 17 00:00:00 2001
2From: Adrian Calianu <adrian.calianu@enea.com>
3Date: Thu, 25 Feb 2016 16:08:04 +0100
4Subject: [PATCH] Set relative to top_builddir path in Makefile to access
5 test-driver
6
7Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
8Upstream-Status: Pending
9Bug-Report: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19042
10
11---
12 bin/automake.in | 9 ++++++++-
13 1 file changed, 8 insertions(+), 1 deletion(-)
14
15diff --git a/bin/automake.in b/bin/automake.in
16index a52a489..8377d20 100644
17--- a/bin/automake.in
18+++ b/bin/automake.in
19@@ -324,6 +324,9 @@ my $config_aux_dir_set_in_configure_ac = 0;
20 # $AM_CONFIG_AUX_DIR is prefixed with $(top_srcdir), so it can be used
21 # in Makefiles.
22 my $am_config_aux_dir = '';
23+# Directory used at runtime like running test-driver that should not
24+# depend on $(top_srcdir)
25+my $am_config_rt_aux_dir = '';
26
27 # Directory to search for AC_LIBSOURCE files, as set by AC_CONFIG_LIBOBJ_DIR
28 # in configure.ac.
29@@ -4854,7 +4857,7 @@ sub handle_per_suffix_test
30 {
31 require_conf_file ("parallel-tests", FOREIGN, 'test-driver');
32 define_variable ("${pfx}LOG_DRIVER",
33- "\$(SHELL) $am_config_aux_dir/test-driver",
34+ "\$(SHELL) $am_config_rt_aux_dir/test-driver",
35 INTERNAL);
36 }
37 my $driver = '$(' . $pfx . 'LOG_DRIVER)';
38@@ -7440,6 +7443,10 @@ sub locate_aux_dir ()
39 $am_config_aux_dir =
40 '$(top_srcdir)' . ($config_aux_dir eq '.' ? "" : "/$config_aux_dir");
41 $am_config_aux_dir =~ s,/*$,,;
42+
43+ $am_config_rt_aux_dir =
44+ '$(top_builddir)' . ($config_aux_dir eq '.' ? "" : "/$config_aux_dir");
45+ $am_config_rt_aux_dir =~ s,/*$,,;
46 }
47
48
diff --git a/meta/recipes-devtools/automake/automake/performance.patch b/meta/recipes-devtools/automake/automake/performance.patch
deleted file mode 100644
index a8ba6592fa..0000000000
--- a/meta/recipes-devtools/automake/automake/performance.patch
+++ /dev/null
@@ -1,82 +0,0 @@
1From cd47c328cb53546891bb3dc7c9b2c54ed01cc6d1 Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Mon, 7 Dec 2015 18:28:05 +0000
4Subject: [PATCH] automake: Remove delays in configure scripts using automake
5
6By default automake puts "sleep 1" into the start of configure scripts
7which adds pointless delays to them. Rather than do this, lets just assume
8our systems are sane.
9
10RP
112015/12/7
12Upstream-Status: Inappropriate
13
14---
15 m4/sanity.m4 | 55 -------------------------------------------------------
16 1 file changed, 55 deletions(-)
17
18diff --git a/m4/sanity.m4 b/m4/sanity.m4
19index eaac218..bfdfe88 100644
20--- a/m4/sanity.m4
21+++ b/m4/sanity.m4
22@@ -23,60 +23,5 @@ case $srcdir in
23 AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
24 esac
25
26-# Do 'set' in a subshell so we don't clobber the current shell's
27-# arguments. Must try -L first in case configure is actually a
28-# symlink; some systems play weird games with the mod time of symlinks
29-# (eg FreeBSD returns the mod time of the symlink's containing
30-# directory).
31-if (
32- am_has_slept=no
33- for am_try in 1 2; do
34- echo "timestamp, slept: $am_has_slept" > conftest.file
35- set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
36- if test "$[*]" = "X"; then
37- # -L didn't work.
38- set X `ls -t "$srcdir/configure" conftest.file`
39- fi
40- if test "$[*]" != "X $srcdir/configure conftest.file" \
41- && test "$[*]" != "X conftest.file $srcdir/configure"; then
42-
43- # If neither matched, then we have a broken ls. This can happen
44- # if, for instance, CONFIG_SHELL is bash and it inherits a
45- # broken ls alias from the environment. This has actually
46- # happened. Such a system could not be considered "sane".
47- AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
48- alias in your environment])
49- fi
50- if test "$[2]" = conftest.file || test $am_try -eq 2; then
51- break
52- fi
53- # Just in case.
54- sleep 1
55- am_has_slept=yes
56- done
57- test "$[2]" = conftest.file
58- )
59-then
60- # Ok.
61- :
62-else
63- AC_MSG_ERROR([newly created file is older than distributed files!
64-Check your system clock])
65-fi
66 AC_MSG_RESULT([yes])
67-# If we didn't sleep, we still need to ensure time stamps of config.status and
68-# generated files are strictly newer.
69-am_sleep_pid=
70-if grep 'slept: no' conftest.file >/dev/null 2>&1; then
71- ( sleep 1 ) &
72- am_sleep_pid=$!
73-fi
74-AC_CONFIG_COMMANDS_PRE(
75- [AC_MSG_CHECKING([that generated files are newer than configure])
76- if test -n "$am_sleep_pid"; then
77- # Hide warnings about reused PIDs.
78- wait $am_sleep_pid 2>/dev/null
79- fi
80- AC_MSG_RESULT([done])])
81-rm -f conftest.file
82 ])
diff --git a/meta/recipes-devtools/automake/automake_1.16.5.bb b/meta/recipes-devtools/automake/automake_1.17.bb
index 469fcd69f7..4cda04e47b 100644
--- a/meta/recipes-devtools/automake/automake_1.16.5.bb
+++ b/meta/recipes-devtools/automake/automake_1.17.bb
@@ -19,16 +19,13 @@ RDEPENDS:${PN} += "\
19RDEPENDS:${PN}:class-native = "autoconf-native hostperl-runtime-native" 19RDEPENDS:${PN}:class-native = "autoconf-native hostperl-runtime-native"
20 20
21SRC_URI += "\ 21SRC_URI += "\
22 file://0001-automake-Update-for-python.m4-to-respect-libdir.patch \ 22 file://0002-automake-Update-for-python.m4-to-respect-libdir.patch \
23 file://buildtest.patch \ 23 file://0004-Add-a-new-distro-feature-ptest.patch \
24 file://performance.patch \ 24 file://0006-automake-Remove-delays-in-configure-scripts-using-au.patch \
25 file://new_rt_path_for_test-driver.patch \ 25 file://0001-configure-don-t-report-error-when-the-path-of-Perl-c.patch \
26 file://0001-automake-Add-default-libtool_tag-to-cppasm.patch \
27 file://0001-build-fix-race-in-parallel-builds.patch \
28 file://0001-Drop-ar-u-argument.patch \
29 " 26 "
30 27
31SRC_URI[sha256sum] = "07bd24ad08a64bc17250ce09ec56e921d6343903943e99ccf63bbf0705e34605" 28SRC_URI[sha256sum] = "397767d4db3018dd4440825b60c64258b636eaf6bf99ac8b0897f06c89310acd"
32 29
33PERL = "${USRBINPATH}/perl" 30PERL = "${USRBINPATH}/perl"
34PERL:class-native = "${USRBINPATH}/env perl" 31PERL:class-native = "${USRBINPATH}/env perl"
diff --git a/meta/recipes-devtools/bindgen-cli/bindgen-cli-crates.inc b/meta/recipes-devtools/bindgen-cli/bindgen-cli-crates.inc
new file mode 100644
index 0000000000..a758440c9d
--- /dev/null
+++ b/meta/recipes-devtools/bindgen-cli/bindgen-cli-crates.inc
@@ -0,0 +1,186 @@
1# Autogenerated with 'bitbake -c update_crates bindgen-cli'
2
3# from Cargo.lock
4SRC_URI += " \
5 crate://crates.io/aho-corasick/1.1.3 \
6 crate://crates.io/annotate-snippets/0.11.4 \
7 crate://crates.io/anstyle/1.0.10 \
8 crate://crates.io/autocfg/1.4.0 \
9 crate://crates.io/bitflags/1.3.2 \
10 crate://crates.io/bitflags/2.2.1 \
11 crate://crates.io/block/0.1.6 \
12 crate://crates.io/cc/1.2.2 \
13 crate://crates.io/cexpr/0.6.0 \
14 crate://crates.io/cfg-if/1.0.0 \
15 crate://crates.io/clang-sys/1.8.1 \
16 crate://crates.io/clap/4.1.4 \
17 crate://crates.io/clap_complete/4.2.0 \
18 crate://crates.io/clap_derive/4.1.0 \
19 crate://crates.io/clap_lex/0.3.1 \
20 crate://crates.io/either/1.13.0 \
21 crate://crates.io/env_logger/0.10.0 \
22 crate://crates.io/env_logger/0.8.4 \
23 crate://crates.io/errno/0.3.10 \
24 crate://crates.io/fastrand/1.9.0 \
25 crate://crates.io/getrandom/0.2.15 \
26 crate://crates.io/glob/0.3.1 \
27 crate://crates.io/heck/0.4.1 \
28 crate://crates.io/hermit-abi/0.3.9 \
29 crate://crates.io/hermit-abi/0.4.0 \
30 crate://crates.io/humantime/2.1.0 \
31 crate://crates.io/instant/0.1.12 \
32 crate://crates.io/io-lifetimes/1.0.11 \
33 crate://crates.io/is-terminal/0.4.13 \
34 crate://crates.io/itertools/0.13.0 \
35 crate://crates.io/libc/0.2.167 \
36 crate://crates.io/libloading/0.8.6 \
37 crate://crates.io/linux-raw-sys/0.3.8 \
38 crate://crates.io/log/0.4.22 \
39 crate://crates.io/malloc_buf/0.0.6 \
40 crate://crates.io/memchr/2.7.4 \
41 crate://crates.io/minimal-lexical/0.2.1 \
42 crate://crates.io/nom/7.1.3 \
43 crate://crates.io/objc/0.2.7 \
44 crate://crates.io/once_cell/1.20.2 \
45 crate://crates.io/os_str_bytes/6.4.1 \
46 crate://crates.io/owo-colors/4.1.0 \
47 crate://crates.io/prettyplease/0.2.25 \
48 crate://crates.io/proc-macro-error-attr/1.0.4 \
49 crate://crates.io/proc-macro-error/1.0.4 \
50 crate://crates.io/proc-macro2/1.0.92 \
51 crate://crates.io/quickcheck/1.0.3 \
52 crate://crates.io/quote/1.0.37 \
53 crate://crates.io/rand/0.8.5 \
54 crate://crates.io/rand_core/0.6.4 \
55 crate://crates.io/redox_syscall/0.3.5 \
56 crate://crates.io/regex-automata/0.4.9 \
57 crate://crates.io/regex-syntax/0.8.5 \
58 crate://crates.io/regex/1.11.1 \
59 crate://crates.io/rustc-hash/2.1.0 \
60 crate://crates.io/rustix/0.37.27 \
61 crate://crates.io/shlex/1.3.0 \
62 crate://crates.io/similar/2.6.0 \
63 crate://crates.io/strsim/0.10.0 \
64 crate://crates.io/syn/1.0.109 \
65 crate://crates.io/syn/2.0.90 \
66 crate://crates.io/tempfile/3.6.0 \
67 crate://crates.io/termcolor/1.2.0 \
68 crate://crates.io/unicode-ident/1.0.14 \
69 crate://crates.io/unicode-width/0.1.14 \
70 crate://crates.io/version_check/0.9.4 \
71 crate://crates.io/wasi/0.11.0+wasi-snapshot-preview1 \
72 crate://crates.io/winapi-i686-pc-windows-gnu/0.4.0 \
73 crate://crates.io/winapi-util/0.1.5 \
74 crate://crates.io/winapi-x86_64-pc-windows-gnu/0.4.0 \
75 crate://crates.io/winapi/0.3.9 \
76 crate://crates.io/windows-sys/0.48.0 \
77 crate://crates.io/windows-sys/0.52.0 \
78 crate://crates.io/windows-targets/0.48.5 \
79 crate://crates.io/windows-targets/0.52.6 \
80 crate://crates.io/windows_aarch64_gnullvm/0.48.5 \
81 crate://crates.io/windows_aarch64_gnullvm/0.52.6 \
82 crate://crates.io/windows_aarch64_msvc/0.48.5 \
83 crate://crates.io/windows_aarch64_msvc/0.52.6 \
84 crate://crates.io/windows_i686_gnu/0.48.5 \
85 crate://crates.io/windows_i686_gnu/0.52.6 \
86 crate://crates.io/windows_i686_gnullvm/0.52.6 \
87 crate://crates.io/windows_i686_msvc/0.48.5 \
88 crate://crates.io/windows_i686_msvc/0.52.6 \
89 crate://crates.io/windows_x86_64_gnu/0.48.5 \
90 crate://crates.io/windows_x86_64_gnu/0.52.6 \
91 crate://crates.io/windows_x86_64_gnullvm/0.48.5 \
92 crate://crates.io/windows_x86_64_gnullvm/0.52.6 \
93 crate://crates.io/windows_x86_64_msvc/0.48.5 \
94 crate://crates.io/windows_x86_64_msvc/0.52.6 \
95"
96
97SRC_URI[aho-corasick-1.1.3.sha256sum] = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
98SRC_URI[annotate-snippets-0.11.4.sha256sum] = "24e35ed54e5ea7997c14ed4c70ba043478db1112e98263b3b035907aa197d991"
99SRC_URI[anstyle-1.0.10.sha256sum] = "55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9"
100SRC_URI[autocfg-1.4.0.sha256sum] = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
101SRC_URI[bitflags-1.3.2.sha256sum] = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
102SRC_URI[bitflags-2.2.1.sha256sum] = "24a6904aef64d73cf10ab17ebace7befb918b82164785cb89907993be7f83813"
103SRC_URI[block-0.1.6.sha256sum] = "0d8c1fef690941d3e7788d328517591fecc684c084084702d6ff1641e993699a"
104SRC_URI[cc-1.2.2.sha256sum] = "f34d93e62b03caf570cccc334cbc6c2fceca82f39211051345108adcba3eebdc"
105SRC_URI[cexpr-0.6.0.sha256sum] = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766"
106SRC_URI[cfg-if-1.0.0.sha256sum] = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
107SRC_URI[clang-sys-1.8.1.sha256sum] = "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4"
108SRC_URI[clap-4.1.4.sha256sum] = "f13b9c79b5d1dd500d20ef541215a6423c75829ef43117e1b4d17fd8af0b5d76"
109SRC_URI[clap_complete-4.2.0.sha256sum] = "01c22dcfb410883764b29953103d9ef7bb8fe21b3fa1158bc99986c2067294bd"
110SRC_URI[clap_derive-4.1.0.sha256sum] = "684a277d672e91966334af371f1a7b5833f9aa00b07c84e92fbce95e00208ce8"
111SRC_URI[clap_lex-0.3.1.sha256sum] = "783fe232adfca04f90f56201b26d79682d4cd2625e0bc7290b95123afe558ade"
112SRC_URI[either-1.13.0.sha256sum] = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0"
113SRC_URI[env_logger-0.10.0.sha256sum] = "85cdab6a89accf66733ad5a1693a4dcced6aeff64602b634530dd73c1f3ee9f0"
114SRC_URI[env_logger-0.8.4.sha256sum] = "a19187fea3ac7e84da7dacf48de0c45d63c6a76f9490dae389aead16c243fce3"
115SRC_URI[errno-0.3.10.sha256sum] = "33d852cb9b869c2a9b3df2f71a3074817f01e1844f839a144f5fcef059a4eb5d"
116SRC_URI[fastrand-1.9.0.sha256sum] = "e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be"
117SRC_URI[getrandom-0.2.15.sha256sum] = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7"
118SRC_URI[glob-0.3.1.sha256sum] = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
119SRC_URI[heck-0.4.1.sha256sum] = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
120SRC_URI[hermit-abi-0.3.9.sha256sum] = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024"
121SRC_URI[hermit-abi-0.4.0.sha256sum] = "fbf6a919d6cf397374f7dfeeea91d974c7c0a7221d0d0f4f20d859d329e53fcc"
122SRC_URI[humantime-2.1.0.sha256sum] = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4"
123SRC_URI[instant-0.1.12.sha256sum] = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c"
124SRC_URI[io-lifetimes-1.0.11.sha256sum] = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2"
125SRC_URI[is-terminal-0.4.13.sha256sum] = "261f68e344040fbd0edea105bef17c66edf46f984ddb1115b775ce31be948f4b"
126SRC_URI[itertools-0.13.0.sha256sum] = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186"
127SRC_URI[libc-0.2.167.sha256sum] = "09d6582e104315a817dff97f75133544b2e094ee22447d2acf4a74e189ba06fc"
128SRC_URI[libloading-0.8.6.sha256sum] = "fc2f4eb4bc735547cfed7c0a4922cbd04a4655978c09b54f1f7b228750664c34"
129SRC_URI[linux-raw-sys-0.3.8.sha256sum] = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519"
130SRC_URI[log-0.4.22.sha256sum] = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"
131SRC_URI[malloc_buf-0.0.6.sha256sum] = "62bb907fe88d54d8d9ce32a3cceab4218ed2f6b7d35617cafe9adf84e43919cb"
132SRC_URI[memchr-2.7.4.sha256sum] = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
133SRC_URI[minimal-lexical-0.2.1.sha256sum] = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
134SRC_URI[nom-7.1.3.sha256sum] = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
135SRC_URI[objc-0.2.7.sha256sum] = "915b1b472bc21c53464d6c8461c9d3af805ba1ef837e1cac254428f4a77177b1"
136SRC_URI[once_cell-1.20.2.sha256sum] = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775"
137SRC_URI[os_str_bytes-6.4.1.sha256sum] = "9b7820b9daea5457c9f21c69448905d723fbd21136ccf521748f23fd49e723ee"
138SRC_URI[owo-colors-4.1.0.sha256sum] = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56"
139SRC_URI[prettyplease-0.2.25.sha256sum] = "64d1ec885c64d0457d564db4ec299b2dae3f9c02808b8ad9c3a089c591b18033"
140SRC_URI[proc-macro-error-attr-1.0.4.sha256sum] = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869"
141SRC_URI[proc-macro-error-1.0.4.sha256sum] = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c"
142SRC_URI[proc-macro2-1.0.92.sha256sum] = "37d3544b3f2748c54e147655edb5025752e2303145b5aefb3c3ea2c78b973bb0"
143SRC_URI[quickcheck-1.0.3.sha256sum] = "588f6378e4dd99458b60ec275b4477add41ce4fa9f64dcba6f15adccb19b50d6"
144SRC_URI[quote-1.0.37.sha256sum] = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af"
145SRC_URI[rand-0.8.5.sha256sum] = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
146SRC_URI[rand_core-0.6.4.sha256sum] = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
147SRC_URI[redox_syscall-0.3.5.sha256sum] = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29"
148SRC_URI[regex-automata-0.4.9.sha256sum] = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908"
149SRC_URI[regex-syntax-0.8.5.sha256sum] = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c"
150SRC_URI[regex-1.11.1.sha256sum] = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191"
151SRC_URI[rustc-hash-2.1.0.sha256sum] = "c7fb8039b3032c191086b10f11f319a6e99e1e82889c5cc6046f515c9db1d497"
152SRC_URI[rustix-0.37.27.sha256sum] = "fea8ca367a3a01fe35e6943c400addf443c0f57670e6ec51196f71a4b8762dd2"
153SRC_URI[shlex-1.3.0.sha256sum] = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
154SRC_URI[similar-2.6.0.sha256sum] = "1de1d4f81173b03af4c0cbed3c898f6bff5b870e4a7f5d6f4057d62a7a4b686e"
155SRC_URI[strsim-0.10.0.sha256sum] = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
156SRC_URI[syn-1.0.109.sha256sum] = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
157SRC_URI[syn-2.0.90.sha256sum] = "919d3b74a5dd0ccd15aeb8f93e7006bd9e14c295087c9896a110f490752bcf31"
158SRC_URI[tempfile-3.6.0.sha256sum] = "31c0432476357e58790aaa47a8efb0c5138f137343f3b5f23bd36a27e3b0a6d6"
159SRC_URI[termcolor-1.2.0.sha256sum] = "be55cf8942feac5c765c2c993422806843c9a9a45d4d5c407ad6dd2ea95eb9b6"
160SRC_URI[unicode-ident-1.0.14.sha256sum] = "adb9e6ca4f869e1180728b7950e35922a7fc6397f7b641499e8f3ef06e50dc83"
161SRC_URI[unicode-width-0.1.14.sha256sum] = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af"
162SRC_URI[version_check-0.9.4.sha256sum] = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"
163SRC_URI[wasi-0.11.0+wasi-snapshot-preview1.sha256sum] = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
164SRC_URI[winapi-i686-pc-windows-gnu-0.4.0.sha256sum] = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
165SRC_URI[winapi-util-0.1.5.sha256sum] = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178"
166SRC_URI[winapi-x86_64-pc-windows-gnu-0.4.0.sha256sum] = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
167SRC_URI[winapi-0.3.9.sha256sum] = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
168SRC_URI[windows-sys-0.48.0.sha256sum] = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
169SRC_URI[windows-sys-0.52.0.sha256sum] = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
170SRC_URI[windows-targets-0.48.5.sha256sum] = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"
171SRC_URI[windows-targets-0.52.6.sha256sum] = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
172SRC_URI[windows_aarch64_gnullvm-0.48.5.sha256sum] = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
173SRC_URI[windows_aarch64_gnullvm-0.52.6.sha256sum] = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
174SRC_URI[windows_aarch64_msvc-0.48.5.sha256sum] = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
175SRC_URI[windows_aarch64_msvc-0.52.6.sha256sum] = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
176SRC_URI[windows_i686_gnu-0.48.5.sha256sum] = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
177SRC_URI[windows_i686_gnu-0.52.6.sha256sum] = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
178SRC_URI[windows_i686_gnullvm-0.52.6.sha256sum] = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
179SRC_URI[windows_i686_msvc-0.48.5.sha256sum] = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
180SRC_URI[windows_i686_msvc-0.52.6.sha256sum] = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
181SRC_URI[windows_x86_64_gnu-0.48.5.sha256sum] = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
182SRC_URI[windows_x86_64_gnu-0.52.6.sha256sum] = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
183SRC_URI[windows_x86_64_gnullvm-0.48.5.sha256sum] = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
184SRC_URI[windows_x86_64_gnullvm-0.52.6.sha256sum] = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
185SRC_URI[windows_x86_64_msvc-0.48.5.sha256sum] = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
186SRC_URI[windows_x86_64_msvc-0.52.6.sha256sum] = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" \ No newline at end of file
diff --git a/meta/recipes-devtools/bindgen-cli/bindgen-cli_0.71.1.bb b/meta/recipes-devtools/bindgen-cli/bindgen-cli_0.71.1.bb
new file mode 100644
index 0000000000..79f2488727
--- /dev/null
+++ b/meta/recipes-devtools/bindgen-cli/bindgen-cli_0.71.1.bb
@@ -0,0 +1,18 @@
1SUMMARY = "Automatically generates Rust FFI bindings to C and C++ libraries."
2HOMEPAGE = "https://rust-lang.github.io/rust-bindgen/"
3LICENSE = "BSD-3-Clause"
4
5LIC_FILES_CHKSUM = "file://LICENSE;md5=0b9a98cb3dcdefcceb145324693fda9b"
6
7inherit rust cargo cargo-update-recipe-crates
8
9SRC_URI += "git://github.com/rust-lang/rust-bindgen.git;protocol=https;branch=main"
10SRCREV = "af7fd38d5e80514406fb6a8bba2d407d252c30b9"
11
12require ${BPN}-crates.inc
13
14do_install:append:class-native() {
15 create_wrapper ${D}/${bindir}/bindgen LIBCLANG_PATH="${STAGING_LIBDIR_NATIVE}"
16}
17
18BBCLASSEXTEND = "native"
diff --git a/meta/recipes-devtools/binutils/binutils-2.42.inc b/meta/recipes-devtools/binutils/binutils-2.44.inc
index 3b6f47d4ce..18bff2816a 100644
--- a/meta/recipes-devtools/binutils/binutils-2.42.inc
+++ b/meta/recipes-devtools/binutils/binutils-2.44.inc
@@ -1,4 +1,4 @@
1LIC_FILES_CHKSUM="\ 1LIC_FILES_CHKSUM = "\
2 file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552\ 2 file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552\
3 file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674\ 3 file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674\
4 file://COPYING3;md5=d32239bcb673463ab874e80d47fae504\ 4 file://COPYING3;md5=d32239bcb673463ab874e80d47fae504\
@@ -10,17 +10,17 @@ LIC_FILES_CHKSUM="\
10 file://bfd/COPYING;md5=d32239bcb673463ab874e80d47fae504\ 10 file://bfd/COPYING;md5=d32239bcb673463ab874e80d47fae504\
11 " 11 "
12 12
13# When upgrading to 2.42, please make sure there is no trailing .0, so 13# When upgrading to next major release, ensure that there is no trailing .0, so
14# that upstream version check can work correctly. 14# that upstream version check can work correctly.
15PV = "2.42" 15PV = "2.44"
16CVE_VERSION = "2.42" 16CVE_VERSION = "2.44"
17SRCBRANCH ?= "binutils-2_42-branch" 17SRCBRANCH ?= "binutils-2_44-branch"
18 18
19UPSTREAM_CHECK_GITTAGREGEX = "binutils-(?P<pver>\d+_(\d_?)*)" 19UPSTREAM_CHECK_GITTAGREGEX = "binutils-(?P<pver>\d+_(\d_?)*)"
20 20
21CVE_STATUS[CVE-2023-25584] = "cpe-incorrect: Applies only for version 2.40 and earlier" 21CVE_STATUS[CVE-2025-1153] = "cpe-stable-backport: fix available in used git hash"
22 22
23SRCREV ?= "553c7f61b74badf91df484450944675efd9cd485" 23SRCREV ?= "96bc9e8081a5dbe8329c1d5b0c94191fd5bed840"
24BINUTILS_GIT_URI ?= "git://sourceware.org/git/binutils-gdb.git;branch=${SRCBRANCH};protocol=https" 24BINUTILS_GIT_URI ?= "git://sourceware.org/git/binutils-gdb.git;branch=${SRCBRANCH};protocol=https"
25SRC_URI = "\ 25SRC_URI = "\
26 ${BINUTILS_GIT_URI} \ 26 ${BINUTILS_GIT_URI} \
@@ -35,6 +35,12 @@ SRC_URI = "\
35 file://0012-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch \ 35 file://0012-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch \
36 file://0013-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch \ 36 file://0013-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch \
37 file://0014-Remove-duplicate-pe-dll.o-entry-deom-targ_extra_ofil.patch \ 37 file://0014-Remove-duplicate-pe-dll.o-entry-deom-targ_extra_ofil.patch \
38 file://0015-gprofng-change-use-of-bignum-to-bigint.patch \ 38 file://0015-CVE-2025-1178.patch \
39 file://CVE-2025-1180.patch \
40 file://CVE-2025-1182.patch \
41 file://0016-CVE-2025-1181-1.patch \
42 file://0017-CVE-2025-1181-2.patch \
43 file://0018-CVE-2025-5245.patch \
44 file://0019-CVE-2025-5244.patch \
45 file://0019-CVE-2025-3198.patch \
39" 46"
40S = "${WORKDIR}/git"
diff --git a/meta/recipes-devtools/binutils/binutils-cross-canadian.inc b/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
index 62ebb3f5bc..c1fda1a465 100644
--- a/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
+++ b/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
@@ -4,7 +4,7 @@ SUMMARY = "GNU binary utilities (cross-canadian for ${TARGET_ARCH} target)"
4PN = "binutils-cross-canadian-${TRANSLATED_TARGET_ARCH}" 4PN = "binutils-cross-canadian-${TRANSLATED_TARGET_ARCH}"
5BPN = "binutils" 5BPN = "binutils"
6 6
7DEPENDS = "flex-native bison-native virtual/${HOST_PREFIX}gcc virtual/nativesdk-libc nativesdk-zlib nativesdk-gettext nativesdk-flex" 7DEPENDS = "flex-native bison-native virtual/nativesdk-cross-cc virtual/nativesdk-libc nativesdk-zlib nativesdk-gettext nativesdk-flex"
8EXTRA_OECONF += "--with-sysroot=${SDKPATH}/sysroots/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS} \ 8EXTRA_OECONF += "--with-sysroot=${SDKPATH}/sysroots/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS} \
9 --enable-poison-system-directories \ 9 --enable-poison-system-directories \
10 " 10 "
diff --git a/meta/recipes-devtools/binutils/binutils-cross-canadian_2.42.bb b/meta/recipes-devtools/binutils/binutils-cross-canadian_2.44.bb
index 5dbaa03017..5dbaa03017 100644
--- a/meta/recipes-devtools/binutils/binutils-cross-canadian_2.42.bb
+++ b/meta/recipes-devtools/binutils/binutils-cross-canadian_2.44.bb
diff --git a/meta/recipes-devtools/binutils/binutils-cross.inc b/meta/recipes-devtools/binutils/binutils-cross.inc
index 835d4fa69b..c545ea2ad9 100644
--- a/meta/recipes-devtools/binutils/binutils-cross.inc
+++ b/meta/recipes-devtools/binutils/binutils-cross.inc
@@ -1,5 +1,4 @@
1inherit cross 1inherit cross
2PROVIDES = "virtual/${TARGET_PREFIX}binutils"
3 2
4PN = "binutils-cross-${TARGET_ARCH}" 3PN = "binutils-cross-${TARGET_ARCH}"
5BPN = "binutils" 4BPN = "binutils"
@@ -10,6 +9,8 @@ TARGET_ARCH[vardepvalue] = "${TARGET_ARCH}"
10INHIBIT_DEFAULT_DEPS = "1" 9INHIBIT_DEFAULT_DEPS = "1"
11INHIBIT_AUTOTOOLS_DEPS = "1" 10INHIBIT_AUTOTOOLS_DEPS = "1"
12 11
12TOOLCHAIN = "gcc"
13
13SRC_URI += "file://0002-binutils-cross-Do-not-generate-linker-script-directo.patch" 14SRC_URI += "file://0002-binutils-cross-Do-not-generate-linker-script-directo.patch"
14 15
15# Specify lib-path else we use a load of search dirs which we don't use 16# Specify lib-path else we use a load of search dirs which we don't use
diff --git a/meta/recipes-devtools/binutils/binutils-cross_2.42.bb b/meta/recipes-devtools/binutils/binutils-cross_2.44.bb
index fbd1f7d25a..fbd1f7d25a 100644
--- a/meta/recipes-devtools/binutils/binutils-cross_2.42.bb
+++ b/meta/recipes-devtools/binutils/binutils-cross_2.44.bb
diff --git a/meta/recipes-devtools/binutils/binutils-crosssdk_2.42.bb b/meta/recipes-devtools/binutils/binutils-crosssdk_2.44.bb
index 6752659304..6752659304 100644
--- a/meta/recipes-devtools/binutils/binutils-crosssdk_2.42.bb
+++ b/meta/recipes-devtools/binutils/binutils-crosssdk_2.44.bb
diff --git a/meta/recipes-devtools/binutils/binutils-cross-testsuite_2.42.bb b/meta/recipes-devtools/binutils/binutils-testsuite_2.44.bb
index 630815c7a3..e5e159bc71 100644
--- a/meta/recipes-devtools/binutils/binutils-cross-testsuite_2.42.bb
+++ b/meta/recipes-devtools/binutils/binutils-testsuite_2.44.bb
@@ -1,3 +1,6 @@
1# NOTE: This recipe cannot have -cross- in the file name because it triggers
2# the cross build detection in sstate which causes it to use the wrong
3# architecture
1require binutils.inc 4require binutils.inc
2require binutils-${PV}.inc 5require binutils-${PV}.inc
3 6
@@ -18,9 +21,9 @@ do_configure() {
18} 21}
19 22
20# target depends 23# target depends
21DEPENDS += "virtual/${TARGET_PREFIX}binutils" 24DEPENDS += "virtual/cross-binutils"
22DEPENDS += "virtual/${TARGET_PREFIX}gcc" 25DEPENDS += "virtual/cross-cc"
23DEPENDS += "virtual/${MLPREFIX}${TARGET_PREFIX}compilerlibs" 26DEPENDS += "virtual/${MLPREFIX}compilerlibs"
24DEPENDS += "virtual/${MLPREFIX}libc" 27DEPENDS += "virtual/${MLPREFIX}libc"
25 28
26python check_prepare() { 29python check_prepare() {
diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc
index e176b5cff1..00b1301258 100644
--- a/meta/recipes-devtools/binutils/binutils.inc
+++ b/meta/recipes-devtools/binutils/binutils.inc
@@ -18,7 +18,7 @@ inherit autotools gettext multilib_header pkgconfig texinfo
18FILES:${PN} = " \ 18FILES:${PN} = " \
19 ${bindir}/${TARGET_PREFIX}* \ 19 ${bindir}/${TARGET_PREFIX}* \
20 ${libdir}/lib*.so.* \ 20 ${libdir}/lib*.so.* \
21 ${libdir}/bfd-plugins/lib*.so \ 21 ${libdir}/bfd-plugins/lib*${SOLIBSDEV} \
22 ${libdir}/lib*-${PV}*.so \ 22 ${libdir}/lib*-${PV}*.so \
23 ${prefix}/${TARGET_SYS}/bin/* \ 23 ${prefix}/${TARGET_SYS}/bin/* \
24 ${bindir}/embedspu" 24 ${bindir}/embedspu"
@@ -39,11 +39,11 @@ FILES:${PN}-staticdev += "${libdir}/gprofng/*.a"
39# list and reuse it. 39# list and reuse it.
40 40
41GPROFNGS = " \ 41GPROFNGS = " \
42 gp-archive \ 42 gprofng-archive \
43 gp-collect-app \ 43 gprofng-collect-app \
44 gp-display-html \ 44 gprofng-display-html \
45 gp-display-src \ 45 gprofng-display-src \
46 gp-display-text \ 46 gprofng-display-text \
47 gprofng \ 47 gprofng \
48" 48"
49 49
@@ -56,12 +56,6 @@ GPROFNG_ALTS:x86 = "${GPROFNGS}"
56GPROFNG_ALTS:x86-64 = "${GPROFNGS}" 56GPROFNG_ALTS:x86-64 = "${GPROFNGS}"
57GPROFNG_ALTS:aarch64 = "${GPROFNGS}" 57GPROFNG_ALTS:aarch64 = "${GPROFNGS}"
58 58
59LDGOLD_ALTS ?= "ld.gold dwp"
60LDGOLD_ALTS:riscv64 = ""
61LDGOLD_ALTS:riscv32 = ""
62LDGOLD_ALTS:loongarch64 = ""
63LDGOLD_ALTS:libc-glibc:mipsarch = ""
64
65USE_ALTERNATIVES_FOR = " \ 59USE_ALTERNATIVES_FOR = " \
66 addr2line \ 60 addr2line \
67 ar \ 61 ar \
@@ -72,7 +66,6 @@ USE_ALTERNATIVES_FOR = " \
72 ${GPROFNG_ALTS} \ 66 ${GPROFNG_ALTS} \
73 ld \ 67 ld \
74 ld.bfd \ 68 ld.bfd \
75 ${LDGOLD_ALTS} \
76 nm \ 69 nm \
77 objcopy \ 70 objcopy \
78 objdump \ 71 objdump \
@@ -104,7 +97,7 @@ EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \
104 --disable-libdecnumber \ 97 --disable-libdecnumber \
105 --disable-readline \ 98 --disable-readline \
106 --disable-sim \ 99 --disable-sim \
107 ${LDGOLD} \ 100 --disable-gold \
108 ${EXTRA_TARGETS} \ 101 ${EXTRA_TARGETS} \
109 ${@bb.utils.contains('DISTRO_FEATURES', 'multiarch', '--enable-64-bit-bfd', '', d)}" 102 ${@bb.utils.contains('DISTRO_FEATURES', 'multiarch', '--enable-64-bit-bfd', '', d)}"
110 103
@@ -112,12 +105,6 @@ EXTRA_TARGETS = ""
112EXTRA_TARGETS:x86-64 = " --enable-targets=x86_64-pe,x86_64-pep " 105EXTRA_TARGETS:x86-64 = " --enable-targets=x86_64-pe,x86_64-pep "
113EXTRA_TARGETS:class-native = "" 106EXTRA_TARGETS:class-native = ""
114 107
115LDGOLD:class-native = ""
116LDGOLD:class-crosssdk = ""
117LDGOLD:libc-glibc:mipsarch = ""
118LDGOLD ?= "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default --enable-threads', '--enable-gold --enable-ld=default --enable-threads', d)}"
119
120
121# This is necessary due to a bug in the binutils Makefiles 108# This is necessary due to a bug in the binutils Makefiles
122# EXTRA_OEMAKE = "configure-build-libiberty all" 109# EXTRA_OEMAKE = "configure-build-libiberty all"
123 110
@@ -191,6 +178,10 @@ do_install () {
191 for alt in ${USE_ALTERNATIVES_FOR}; do 178 for alt in ${USE_ALTERNATIVES_FOR}; do
192 rm -f ${D}${bindir}/$alt 179 rm -f ${D}${bindir}/$alt
193 done 180 done
181 # remove old pre 2.44 release gprofng binary names
182 for f in gp-archive gp-collect-app gp-display-html gp-display-src gp-display-text; do
183 rm -f ${D}${bindir}/$f
184 done
194 185
195 oe_multilib_header bfd.h 186 oe_multilib_header bfd.h
196} 187}
@@ -200,8 +191,3 @@ inherit update-alternatives
200ALTERNATIVE_PRIORITY = "100" 191ALTERNATIVE_PRIORITY = "100"
201 192
202ALTERNATIVE:${PN}:class-target = "${USE_ALTERNATIVES_FOR}" 193ALTERNATIVE:${PN}:class-target = "${USE_ALTERNATIVES_FOR}"
203
204python () {
205 if bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', True, False, d) and bb.utils.contains_any('TARGET_ARCH', 'riscv32 riscv64 loongarch64', True, False, d):
206 bb.fatal("Gold linker does not _yet_ support RISC-V and LoongArch architecture please remove ld-is-gold from DISTRO_FEATURES")
207}
diff --git a/meta/recipes-devtools/binutils/binutils/0001-binutils-crosssdk-Generate-relocatable-SDKs.patch b/meta/recipes-devtools/binutils/binutils/0001-binutils-crosssdk-Generate-relocatable-SDKs.patch
index 4ef11c56e7..2443897cad 100644
--- a/meta/recipes-devtools/binutils/binutils/0001-binutils-crosssdk-Generate-relocatable-SDKs.patch
+++ b/meta/recipes-devtools/binutils/binutils/0001-binutils-crosssdk-Generate-relocatable-SDKs.patch
@@ -1,4 +1,4 @@
1From 089ee95b342e79af09258b45c888a13b35fadf26 Mon Sep 17 00:00:00 2001 1From df3faaf0a09fd828330d3bac45782868a04f7bc0 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 2 Mar 2015 01:58:54 +0000 3Date: Mon, 2 Mar 2015 01:58:54 +0000
4Subject: [PATCH] binutils-crosssdk: Generate relocatable SDKs 4Subject: [PATCH] binutils-crosssdk: Generate relocatable SDKs
@@ -21,7 +21,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
21 3 files changed, 6 insertions(+), 3 deletions(-) 21 3 files changed, 6 insertions(+), 3 deletions(-)
22 22
23diff --git a/gold/layout.cc b/gold/layout.cc 23diff --git a/gold/layout.cc b/gold/layout.cc
24index b43ae841a6c..6101a95195b 100644 24index f690c67618e..9ded8368482 100644
25--- a/gold/layout.cc 25--- a/gold/layout.cc
26+++ b/gold/layout.cc 26+++ b/gold/layout.cc
27@@ -5102,7 +5102,7 @@ Layout::create_interp(const Target* target) 27@@ -5102,7 +5102,7 @@ Layout::create_interp(const Target* target)
@@ -34,10 +34,10 @@ index b43ae841a6c..6101a95195b 100644
34 Output_section_data* odata = new Output_data_const(interp, len, 1); 34 Output_section_data* odata = new Output_data_const(interp, len, 1);
35 35
36diff --git a/ld/genscripts.sh b/ld/genscripts.sh 36diff --git a/ld/genscripts.sh b/ld/genscripts.sh
37index d6ceb3fe4f5..365c0e778cc 100755 37index 77a1fb465ad..5b51c23e141 100755
38--- a/ld/genscripts.sh 38--- a/ld/genscripts.sh
39+++ b/ld/genscripts.sh 39+++ b/ld/genscripts.sh
40@@ -298,6 +298,7 @@ DATA_ALIGNMENT_u="${DATA_ALIGNMENT_u-${DATA_ALIGNMENT_r}}" 40@@ -315,6 +315,7 @@ DATA_ALIGNMENT_u="${DATA_ALIGNMENT_u-${DATA_ALIGNMENT_r}}"
41 LD_FLAG=r 41 LD_FLAG=r
42 DATA_ALIGNMENT=${DATA_ALIGNMENT_r} 42 DATA_ALIGNMENT=${DATA_ALIGNMENT_r}
43 DEFAULT_DATA_ALIGNMENT="ALIGN(${SEGMENT_SIZE})" 43 DEFAULT_DATA_ALIGNMENT="ALIGN(${SEGMENT_SIZE})"
@@ -45,7 +45,7 @@ index d6ceb3fe4f5..365c0e778cc 100755
45 ( echo "/* Script for -r */" 45 ( echo "/* Script for -r */"
46 source_sh ${CUSTOMIZER_SCRIPT} 46 source_sh ${CUSTOMIZER_SCRIPT}
47 source_sh ${srcdir}/scripttempl/${SCRIPT_NAME}.sc 47 source_sh ${srcdir}/scripttempl/${SCRIPT_NAME}.sc
48@@ -306,10 +307,12 @@ DEFAULT_DATA_ALIGNMENT="ALIGN(${SEGMENT_SIZE})" 48@@ -323,10 +324,12 @@ DEFAULT_DATA_ALIGNMENT="ALIGN(${SEGMENT_SIZE})"
49 LD_FLAG=u 49 LD_FLAG=u
50 DATA_ALIGNMENT=${DATA_ALIGNMENT_u} 50 DATA_ALIGNMENT=${DATA_ALIGNMENT_u}
51 CONSTRUCTING=" " 51 CONSTRUCTING=" "
@@ -59,17 +59,17 @@ index d6ceb3fe4f5..365c0e778cc 100755
59 DATA_ALIGNMENT=${DATA_ALIGNMENT_} 59 DATA_ALIGNMENT=${DATA_ALIGNMENT_}
60 RELOCATING=" " 60 RELOCATING=" "
61diff --git a/ld/scripttempl/elf.sc b/ld/scripttempl/elf.sc 61diff --git a/ld/scripttempl/elf.sc b/ld/scripttempl/elf.sc
62index fae7c2ad71c..7fe37eb1874 100644 62index be8d19fcf11..26ecd6dff80 100644
63--- a/ld/scripttempl/elf.sc 63--- a/ld/scripttempl/elf.sc
64+++ b/ld/scripttempl/elf.sc 64+++ b/ld/scripttempl/elf.sc
65@@ -150,8 +150,8 @@ if test -z "$DATA_SEGMENT_ALIGN"; then 65@@ -197,8 +197,8 @@ if test -z "$DATA_SEGMENT_ALIGN"; then
66 DATA_SEGMENT_RELRO_END=". = DATA_SEGMENT_RELRO_END (${SEPARATE_GOTPLT-0}, .);"
67 fi 66 fi
68 fi 67 fi
68
69-if test -z "${INITIAL_READONLY_SECTIONS}${CREATE_SHLIB}"; then 69-if test -z "${INITIAL_READONLY_SECTIONS}${CREATE_SHLIB}"; then
70- INITIAL_READONLY_SECTIONS=".interp ${RELOCATING-0} : { *(.interp) }" 70- INITIAL_READONLY_SECTIONS=".interp ${RELOCATING-0} : { *(.interp) }"
71+if test -z "${INITIAL_READONLY_SECTIONS}${CREATE_SHLIB}${PARTIAL_LINKING}"; then 71+if test -z "${INITIAL_READONLY_SECTIONS}${CREATE_SHLIB}${PARTIAL_LINKING}"; then
72+ INITIAL_READONLY_SECTIONS=".interp ${RELOCATING-0} : { *(.interp); . = 0x1000; }" 72+ INITIAL_READONLY_SECTIONS=".interp ${RELOCATING-0} : { *(.interp); . = 0x1000; }"
73 fi 73 fi
74
74 if test -z "$PLT"; then 75 if test -z "$PLT"; then
75 IPLT=".iplt ${RELOCATING-0} : { *(.iplt) }"
diff --git a/meta/recipes-devtools/binutils/binutils/0002-binutils-cross-Do-not-generate-linker-script-directo.patch b/meta/recipes-devtools/binutils/binutils/0002-binutils-cross-Do-not-generate-linker-script-directo.patch
index 1652473bcb..20459fce66 100644
--- a/meta/recipes-devtools/binutils/binutils/0002-binutils-cross-Do-not-generate-linker-script-directo.patch
+++ b/meta/recipes-devtools/binutils/binutils/0002-binutils-cross-Do-not-generate-linker-script-directo.patch
@@ -1,4 +1,4 @@
1From 6fae7afeb713a60755e17443964e46190bb97ede Mon Sep 17 00:00:00 2001 1From 3105d7ecc3f16d66c19985a6557cd1e9becfab55 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 6 Mar 2017 23:37:05 -0800 3Date: Mon, 6 Mar 2017 23:37:05 -0800
4Subject: [PATCH] binutils-cross: Do not generate linker script directories 4Subject: [PATCH] binutils-cross: Do not generate linker script directories
@@ -22,10 +22,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
22 1 file changed, 25 deletions(-) 22 1 file changed, 25 deletions(-)
23 23
24diff --git a/ld/genscripts.sh b/ld/genscripts.sh 24diff --git a/ld/genscripts.sh b/ld/genscripts.sh
25index 365c0e778cc..b0893fda3c5 100755 25index 5b51c23e141..5d2c54706f8 100755
26--- a/ld/genscripts.sh 26--- a/ld/genscripts.sh
27+++ b/ld/genscripts.sh 27+++ b/ld/genscripts.sh
28@@ -229,31 +229,6 @@ append_to_lib_path() 28@@ -244,31 +244,6 @@ append_to_lib_path()
29 fi 29 fi
30 } 30 }
31 31
diff --git a/meta/recipes-devtools/binutils/binutils/0003-binutils-nativesdk-Search-for-alternative-ld.so.conf.patch b/meta/recipes-devtools/binutils/binutils/0003-binutils-nativesdk-Search-for-alternative-ld.so.conf.patch
index f45690ed68..374fbd6f41 100644
--- a/meta/recipes-devtools/binutils/binutils/0003-binutils-nativesdk-Search-for-alternative-ld.so.conf.patch
+++ b/meta/recipes-devtools/binutils/binutils/0003-binutils-nativesdk-Search-for-alternative-ld.so.conf.patch
@@ -1,4 +1,4 @@
1From 1fe9aa3f25e09281cb018b29081db4cc44bdc01f Mon Sep 17 00:00:00 2001 1From d718e17e1668880a85ff05993f0027d9c9ad6935 Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org> 2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Wed, 19 Feb 2020 09:51:16 -0800 3Date: Wed, 19 Feb 2020 09:51:16 -0800
4Subject: [PATCH] binutils-nativesdk: Search for alternative ld.so.conf in SDK 4Subject: [PATCH] binutils-nativesdk: Search for alternative ld.so.conf in SDK
@@ -29,7 +29,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
29 5 files changed, 7 insertions(+), 3 deletions(-) 29 5 files changed, 7 insertions(+), 3 deletions(-)
30 30
31diff --git a/ld/Makefile.am b/ld/Makefile.am 31diff --git a/ld/Makefile.am b/ld/Makefile.am
32index f9ee05b1400..07801c2c3ac 100644 32index ccff9289924..cf2c29e89a3 100644
33--- a/ld/Makefile.am 33--- a/ld/Makefile.am
34+++ b/ld/Makefile.am 34+++ b/ld/Makefile.am
35@@ -42,7 +42,8 @@ ZLIBINC = @zlibinc@ 35@@ -42,7 +42,8 @@ ZLIBINC = @zlibinc@
@@ -43,7 +43,7 @@ index f9ee05b1400..07801c2c3ac 100644
43 NO_WERROR = @NO_WERROR@ 43 NO_WERROR = @NO_WERROR@
44 AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CFLAGS) $(JANSSON_CFLAGS) $(ZSTD_CFLAGS) 44 AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CFLAGS) $(JANSSON_CFLAGS) $(ZSTD_CFLAGS)
45diff --git a/ld/Makefile.in b/ld/Makefile.in 45diff --git a/ld/Makefile.in b/ld/Makefile.in
46index abb0565718f..6329a12a0d6 100644 46index 3e24bd4deb2..23d4f1f3132 100644
47--- a/ld/Makefile.in 47--- a/ld/Makefile.in
48+++ b/ld/Makefile.in 48+++ b/ld/Makefile.in
49@@ -576,7 +576,8 @@ ZLIB = @zlibdir@ -lz 49@@ -576,7 +576,8 @@ ZLIB = @zlibdir@ -lz
@@ -57,10 +57,10 @@ index abb0565718f..6329a12a0d6 100644
57 AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CFLAGS) $(JANSSON_CFLAGS) $(ZSTD_CFLAGS) 57 AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CFLAGS) $(JANSSON_CFLAGS) $(ZSTD_CFLAGS)
58 58
59diff --git a/ld/ldelf.c b/ld/ldelf.c 59diff --git a/ld/ldelf.c b/ld/ldelf.c
60index 2852851dcd5..187b359af86 100644 60index 4a1aa044e70..f6f3ac11a76 100644
61--- a/ld/ldelf.c 61--- a/ld/ldelf.c
62+++ b/ld/ldelf.c 62+++ b/ld/ldelf.c
63@@ -939,7 +939,7 @@ ldelf_check_ld_so_conf (const struct bfd_link_needed_list *l, int force, 63@@ -943,7 +943,7 @@ ldelf_check_ld_so_conf (const struct bfd_link_needed_list *l, int force,
64 64
65 info.path = NULL; 65 info.path = NULL;
66 info.len = info.alloc = 0; 66 info.len = info.alloc = 0;
@@ -70,7 +70,7 @@ index 2852851dcd5..187b359af86 100644
70 if (!ldelf_parse_ld_so_conf (&info, tmppath)) 70 if (!ldelf_parse_ld_so_conf (&info, tmppath))
71 { 71 {
72diff --git a/ld/ldmain.c b/ld/ldmain.c 72diff --git a/ld/ldmain.c b/ld/ldmain.c
73index e90c2021b33..01b306e58a1 100644 73index f1c5f7035c5..cce4991b25a 100644
74--- a/ld/ldmain.c 74--- a/ld/ldmain.c
75+++ b/ld/ldmain.c 75+++ b/ld/ldmain.c
76@@ -69,6 +69,7 @@ char *program_name; 76@@ -69,6 +69,7 @@ char *program_name;
@@ -82,7 +82,7 @@ index e90c2021b33..01b306e58a1 100644
82 /* The canonical representation of ld_sysroot. */ 82 /* The canonical representation of ld_sysroot. */
83 char *ld_canon_sysroot; 83 char *ld_canon_sysroot;
84diff --git a/ld/ldmain.h b/ld/ldmain.h 84diff --git a/ld/ldmain.h b/ld/ldmain.h
85index 0238aed0ebd..2dd00db13b3 100644 85index 0baa3c305c3..899c4b591c6 100644
86--- a/ld/ldmain.h 86--- a/ld/ldmain.h
87+++ b/ld/ldmain.h 87+++ b/ld/ldmain.h
88@@ -23,6 +23,7 @@ 88@@ -23,6 +23,7 @@
diff --git a/meta/recipes-devtools/binutils/binutils/0004-Point-scripts-location-to-libdir.patch b/meta/recipes-devtools/binutils/binutils/0004-Point-scripts-location-to-libdir.patch
index ab12c145ea..8a24408f4f 100644
--- a/meta/recipes-devtools/binutils/binutils/0004-Point-scripts-location-to-libdir.patch
+++ b/meta/recipes-devtools/binutils/binutils/0004-Point-scripts-location-to-libdir.patch
@@ -1,4 +1,4 @@
1From 780109902b00652dfdc080607c614f210e96ae9b Mon Sep 17 00:00:00 2001 1From 0ff4f23d3521a45835eaa03731c0b3351a50d8ba Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 2 Mar 2015 01:09:58 +0000 3Date: Mon, 2 Mar 2015 01:09:58 +0000
4Subject: [PATCH] Point scripts location to libdir 4Subject: [PATCH] Point scripts location to libdir
@@ -12,7 +12,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
12 2 files changed, 2 insertions(+), 2 deletions(-) 12 2 files changed, 2 insertions(+), 2 deletions(-)
13 13
14diff --git a/ld/Makefile.am b/ld/Makefile.am 14diff --git a/ld/Makefile.am b/ld/Makefile.am
15index 07801c2c3ac..a2bcffecf73 100644 15index cf2c29e89a3..0a6eaada129 100644
16--- a/ld/Makefile.am 16--- a/ld/Makefile.am
17+++ b/ld/Makefile.am 17+++ b/ld/Makefile.am
18@@ -51,7 +51,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CFLAGS) $(JANSSON_CFLAGS) $(ZSTD_CFLAGS) 18@@ -51,7 +51,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CFLAGS) $(JANSSON_CFLAGS) $(ZSTD_CFLAGS)
@@ -25,7 +25,7 @@ index 07801c2c3ac..a2bcffecf73 100644
25 EMUL = @EMUL@ 25 EMUL = @EMUL@
26 EMULATION_OFILES = @EMULATION_OFILES@ 26 EMULATION_OFILES = @EMULATION_OFILES@
27diff --git a/ld/Makefile.in b/ld/Makefile.in 27diff --git a/ld/Makefile.in b/ld/Makefile.in
28index 6329a12a0d6..15311048855 100644 28index 23d4f1f3132..c3d08edbef1 100644
29--- a/ld/Makefile.in 29--- a/ld/Makefile.in
30+++ b/ld/Makefile.in 30+++ b/ld/Makefile.in
31@@ -584,7 +584,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CFLAGS) $(JANSSON_CFLAGS) $(ZSTD_CFLAGS) 31@@ -584,7 +584,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CFLAGS) $(JANSSON_CFLAGS) $(ZSTD_CFLAGS)
diff --git a/meta/recipes-devtools/binutils/binutils/0005-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch b/meta/recipes-devtools/binutils/binutils/0005-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch
index f7c3987542..4a1cd34f29 100644
--- a/meta/recipes-devtools/binutils/binutils/0005-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch
+++ b/meta/recipes-devtools/binutils/binutils/0005-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch
@@ -1,4 +1,4 @@
1From c8cca8d2364c9f233d6e771136a4d4ff7f405c21 Mon Sep 17 00:00:00 2001 1From 340d2cf058b373ed4fbf6bcea4f6674eab23c73a Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 2 Mar 2015 01:39:01 +0000 3Date: Mon, 2 Mar 2015 01:39:01 +0000
4Subject: [PATCH] don't let the distro compiler point to the wrong installation 4Subject: [PATCH] don't let the distro compiler point to the wrong installation
@@ -17,7 +17,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
17 1 file changed, 2 insertions(+), 1 deletion(-) 17 1 file changed, 2 insertions(+), 1 deletion(-)
18 18
19diff --git a/libiberty/Makefile.in b/libiberty/Makefile.in 19diff --git a/libiberty/Makefile.in b/libiberty/Makefile.in
20index 85c4b6b6ef8..cb6e91c8f9b 100644 20index b11df756b4b..f47269fdc0e 100644
21--- a/libiberty/Makefile.in 21--- a/libiberty/Makefile.in
22+++ b/libiberty/Makefile.in 22+++ b/libiberty/Makefile.in
23@@ -385,7 +385,8 @@ install-strip: install 23@@ -385,7 +385,8 @@ install-strip: install
diff --git a/meta/recipes-devtools/binutils/binutils/0006-warn-for-uses-of-system-directories-when-cross-linki.patch b/meta/recipes-devtools/binutils/binutils/0006-warn-for-uses-of-system-directories-when-cross-linki.patch
index bf6a1a3961..e094c89d1a 100644
--- a/meta/recipes-devtools/binutils/binutils/0006-warn-for-uses-of-system-directories-when-cross-linki.patch
+++ b/meta/recipes-devtools/binutils/binutils/0006-warn-for-uses-of-system-directories-when-cross-linki.patch
@@ -1,4 +1,4 @@
1From a92c46e3703d038d7d810bdc91e8540ad9d9150a Mon Sep 17 00:00:00 2001 1From e9297b35595d7dd6c50ce6ff7282eee248b7e479 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 15 Jan 2016 06:31:09 +0000 3Date: Fri, 15 Jan 2016 06:31:09 +0000
4Subject: [PATCH] warn for uses of system directories when cross linking 4Subject: [PATCH] warn for uses of system directories when cross linking
@@ -63,10 +63,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
63 9 files changed, 87 insertions(+), 2 deletions(-) 63 9 files changed, 87 insertions(+), 2 deletions(-)
64 64
65diff --git a/ld/config.in b/ld/config.in 65diff --git a/ld/config.in b/ld/config.in
66index 52d62f06ff0..b5944e7ba55 100644 66index 2d7b6406d2b..37cd12d20fa 100644
67--- a/ld/config.in 67--- a/ld/config.in
68+++ b/ld/config.in 68+++ b/ld/config.in
69@@ -70,6 +70,9 @@ 69@@ -78,6 +78,9 @@
70 language is requested. */ 70 language is requested. */
71 #undef ENABLE_NLS 71 #undef ENABLE_NLS
72 72
@@ -77,7 +77,7 @@ index 52d62f06ff0..b5944e7ba55 100644
77 #undef EXTRA_SHLIB_EXTENSION 77 #undef EXTRA_SHLIB_EXTENSION
78 78
79diff --git a/ld/configure b/ld/configure 79diff --git a/ld/configure b/ld/configure
80index 6f8a05c3b6c..98a76d6da7f 100755 80index 597d110f57a..d537ec391d2 100755
81--- a/ld/configure 81--- a/ld/configure
82+++ b/ld/configure 82+++ b/ld/configure
83@@ -844,6 +844,7 @@ with_lib_path 83@@ -844,6 +844,7 @@ with_lib_path
@@ -88,7 +88,7 @@ index 6f8a05c3b6c..98a76d6da7f 100755
88 enable_gold 88 enable_gold
89 enable_got 89 enable_got
90 enable_compressed_debug_sections 90 enable_compressed_debug_sections
91@@ -1534,6 +1535,8 @@ Optional Features: 91@@ -1537,6 +1538,8 @@ Optional Features:
92 --enable-checking enable run-time checks 92 --enable-checking enable run-time checks
93 --enable-targets alternative target configurations 93 --enable-targets alternative target configurations
94 --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes) 94 --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes)
@@ -97,7 +97,7 @@ index 6f8a05c3b6c..98a76d6da7f 100755
97 --enable-gold[=ARG] build gold [ARG={default,yes,no}] 97 --enable-gold[=ARG] build gold [ARG={default,yes,no}]
98 --enable-got=<type> GOT handling scheme (target, single, negative, 98 --enable-got=<type> GOT handling scheme (target, single, negative,
99 multigot) 99 multigot)
100@@ -15566,6 +15569,19 @@ fi 100@@ -15571,6 +15574,19 @@ fi
101 101
102 102
103 103
@@ -118,10 +118,10 @@ index 6f8a05c3b6c..98a76d6da7f 100755
118 if test "${enable_gold+set}" = set; then : 118 if test "${enable_gold+set}" = set; then :
119 enableval=$enable_gold; case "${enableval}" in 119 enableval=$enable_gold; case "${enableval}" in
120diff --git a/ld/configure.ac b/ld/configure.ac 120diff --git a/ld/configure.ac b/ld/configure.ac
121index 4a11787ae71..104a531fb0f 100644 121index 228f2ee4089..50a4b0f4db1 100644
122--- a/ld/configure.ac 122--- a/ld/configure.ac
123+++ b/ld/configure.ac 123+++ b/ld/configure.ac
124@@ -103,6 +103,16 @@ AC_SUBST(use_sysroot) 124@@ -102,6 +102,16 @@ AC_SUBST(use_sysroot)
125 AC_SUBST(TARGET_SYSTEM_ROOT) 125 AC_SUBST(TARGET_SYSTEM_ROOT)
126 AC_SUBST(TARGET_SYSTEM_ROOT_DEFINE) 126 AC_SUBST(TARGET_SYSTEM_ROOT_DEFINE)
127 127
@@ -139,7 +139,7 @@ index 4a11787ae71..104a531fb0f 100644
139 dnl "install_as_default" is set to false if gold is the default linker. 139 dnl "install_as_default" is set to false if gold is the default linker.
140 dnl "installed_linker" is the installed BFD linker name. 140 dnl "installed_linker" is the installed BFD linker name.
141diff --git a/ld/ld.h b/ld/ld.h 141diff --git a/ld/ld.h b/ld/ld.h
142index 54d9079678c..9f0163b2911 100644 142index 254f0a097bb..daf777c65c8 100644
143--- a/ld/ld.h 143--- a/ld/ld.h
144+++ b/ld/ld.h 144+++ b/ld/ld.h
145@@ -166,6 +166,14 @@ typedef struct 145@@ -166,6 +166,14 @@ typedef struct
@@ -158,10 +158,10 @@ index 54d9079678c..9f0163b2911 100644
158 enum endian_enum endian; 158 enum endian_enum endian;
159 159
160diff --git a/ld/ld.texi b/ld/ld.texi 160diff --git a/ld/ld.texi b/ld/ld.texi
161index 4fda259a552..22685f5f1dd 100644 161index f6384ad82dd..26479a6a232 100644
162--- a/ld/ld.texi 162--- a/ld/ld.texi
163+++ b/ld/ld.texi 163+++ b/ld/ld.texi
164@@ -3119,6 +3119,18 @@ creation of the metadata note, if one had been enabled by an earlier 164@@ -3279,6 +3279,18 @@ creation of the metadata note, if one had been enabled by an earlier
165 occurrence of the --package-metadata option. 165 occurrence of the --package-metadata option.
166 If the linker has been built with libjansson, then the JSON string 166 If the linker has been built with libjansson, then the JSON string
167 will be validated. 167 will be validated.
@@ -181,10 +181,10 @@ index 4fda259a552..22685f5f1dd 100644
181 181
182 @c man end 182 @c man end
183diff --git a/ld/ldfile.c b/ld/ldfile.c 183diff --git a/ld/ldfile.c b/ld/ldfile.c
184index dc9875d8813..49d899ee49d 100644 184index 12551504ae6..8bea4e7048f 100644
185--- a/ld/ldfile.c 185--- a/ld/ldfile.c
186+++ b/ld/ldfile.c 186+++ b/ld/ldfile.c
187@@ -327,6 +327,23 @@ ldfile_add_library_path (const char *name, bool cmdline) 187@@ -328,6 +328,23 @@ ldfile_add_library_path (const char *name, bool cmdline)
188 new_dirs->name = concat (ld_sysroot, name + strlen ("$SYSROOT"), (const char *) NULL); 188 new_dirs->name = concat (ld_sysroot, name + strlen ("$SYSROOT"), (const char *) NULL);
189 else 189 else
190 new_dirs->name = xstrdup (name); 190 new_dirs->name = xstrdup (name);
@@ -207,14 +207,14 @@ index dc9875d8813..49d899ee49d 100644
207+ 207+
208 } 208 }
209 209
210 /* Try to open a BFD for a lang_input_statement. */ 210 static void
211diff --git a/ld/ldlex.h b/ld/ldlex.h 211diff --git a/ld/ldlex.h b/ld/ldlex.h
212index 161a9d4d8dc..757fe2f7650 100644 212index b8b7d6b6829..a8faeb635c4 100644
213--- a/ld/ldlex.h 213--- a/ld/ldlex.h
214+++ b/ld/ldlex.h 214+++ b/ld/ldlex.h
215@@ -147,6 +147,8 @@ enum option_values 215@@ -150,6 +150,8 @@ enum option_values
216 OPTION_PLUGIN,
217 OPTION_PLUGIN_OPT, 216 OPTION_PLUGIN_OPT,
217 OPTION_PLUGIN_SAVE_TEMPS,
218 #endif /* BFD_SUPPORTS_PLUGINS */ 218 #endif /* BFD_SUPPORTS_PLUGINS */
219+ OPTION_NO_POISON_SYSTEM_DIRECTORIES, 219+ OPTION_NO_POISON_SYSTEM_DIRECTORIES,
220+ OPTION_ERROR_POISON_SYSTEM_DIRECTORIES, 220+ OPTION_ERROR_POISON_SYSTEM_DIRECTORIES,
@@ -222,10 +222,10 @@ index 161a9d4d8dc..757fe2f7650 100644
222 OPTION_PRINT_OUTPUT_FORMAT, 222 OPTION_PRINT_OUTPUT_FORMAT,
223 OPTION_PRINT_SYSROOT, 223 OPTION_PRINT_SYSROOT,
224diff --git a/ld/ldmain.c b/ld/ldmain.c 224diff --git a/ld/ldmain.c b/ld/ldmain.c
225index 01b306e58a1..eddefc24332 100644 225index cce4991b25a..1859465635d 100644
226--- a/ld/ldmain.c 226--- a/ld/ldmain.c
227+++ b/ld/ldmain.c 227+++ b/ld/ldmain.c
228@@ -326,6 +326,8 @@ main (int argc, char **argv) 228@@ -352,6 +352,8 @@ main (int argc, char **argv)
229 command_line.warn_mismatch = true; 229 command_line.warn_mismatch = true;
230 command_line.warn_search_mismatch = true; 230 command_line.warn_search_mismatch = true;
231 command_line.check_section_addresses = -1; 231 command_line.check_section_addresses = -1;
@@ -234,7 +234,7 @@ index 01b306e58a1..eddefc24332 100644
234 234
235 /* We initialize DEMANGLING based on the environment variable 235 /* We initialize DEMANGLING based on the environment variable
236 COLLECT_NO_DEMANGLE. The gcc collect2 program will demangle the 236 COLLECT_NO_DEMANGLE. The gcc collect2 program will demangle the
237@@ -1458,7 +1460,7 @@ undefined_symbol (struct bfd_link_info *info, 237@@ -1500,7 +1502,7 @@ undefined_symbol (struct bfd_link_info *info,
238 argv[1] = "undefined-symbol"; 238 argv[1] = "undefined-symbol";
239 argv[2] = (char *) name; 239 argv[2] = (char *) name;
240 argv[3] = NULL; 240 argv[3] = NULL;
@@ -243,7 +243,7 @@ index 01b306e58a1..eddefc24332 100644
243 if (verbose) 243 if (verbose)
244 einfo (_("%P: About to run error handling script '%s' with arguments: '%s' '%s'\n"), 244 einfo (_("%P: About to run error handling script '%s' with arguments: '%s' '%s'\n"),
245 argv[0], argv[1], argv[2]); 245 argv[0], argv[1], argv[2]);
246@@ -1479,7 +1481,7 @@ undefined_symbol (struct bfd_link_info *info, 246@@ -1521,7 +1523,7 @@ undefined_symbol (struct bfd_link_info *info,
247 carry on to issue the normal error message. */ 247 carry on to issue the normal error message. */
248 } 248 }
249 #endif /* SUPPORT_ERROR_HANDLING_SCRIPT */ 249 #endif /* SUPPORT_ERROR_HANDLING_SCRIPT */
@@ -253,10 +253,10 @@ index 01b306e58a1..eddefc24332 100644
253 { 253 {
254 if (error_count < MAX_ERRORS_IN_A_ROW) 254 if (error_count < MAX_ERRORS_IN_A_ROW)
255diff --git a/ld/lexsup.c b/ld/lexsup.c 255diff --git a/ld/lexsup.c b/ld/lexsup.c
256index 099dff8ecde..e9939000b2e 100644 256index 5399aa45b72..8f9a221bfba 100644
257--- a/ld/lexsup.c 257--- a/ld/lexsup.c
258+++ b/ld/lexsup.c 258+++ b/ld/lexsup.c
259@@ -642,6 +642,14 @@ static const struct ld_option ld_options[] = 259@@ -650,6 +650,14 @@ static const struct ld_option ld_options[] =
260 " <method> is: share-unconflicted (default),\n" 260 " <method> is: share-unconflicted (default),\n"
261 " share-duplicated"), 261 " share-duplicated"),
262 TWO_DASHES }, 262 TWO_DASHES },
@@ -271,7 +271,7 @@ index 099dff8ecde..e9939000b2e 100644
271 }; 271 };
272 272
273 #define OPTION_COUNT ARRAY_SIZE (ld_options) 273 #define OPTION_COUNT ARRAY_SIZE (ld_options)
274@@ -1818,6 +1826,13 @@ parse_args (unsigned argc, char **argv) 274@@ -1838,6 +1846,13 @@ parse_args (unsigned argc, char **argv)
275 275
276 case OPTION_PRINT_MAP_LOCALS: 276 case OPTION_PRINT_MAP_LOCALS:
277 config.print_map_locals = true; 277 config.print_map_locals = true;
diff --git a/meta/recipes-devtools/binutils/binutils/0007-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch b/meta/recipes-devtools/binutils/binutils/0007-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch
index f9fa0d4f78..7101219bf4 100644
--- a/meta/recipes-devtools/binutils/binutils/0007-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch
+++ b/meta/recipes-devtools/binutils/binutils/0007-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch
@@ -1,4 +1,4 @@
1From d35fd95eee9930ab41d9ad637eacb35aa9fe6f44 Mon Sep 17 00:00:00 2001 1From de07998ce2189c329220a76feb073438c4ec88f5 Mon Sep 17 00:00:00 2001
2From: Zhenhua Luo <zhenhua.luo@nxp.com> 2From: Zhenhua Luo <zhenhua.luo@nxp.com>
3Date: Sat, 11 Jun 2016 22:08:29 -0500 3Date: Sat, 11 Jun 2016 22:08:29 -0500
4Subject: [PATCH] fix the incorrect assembling for ppc wait mnemonic 4Subject: [PATCH] fix the incorrect assembling for ppc wait mnemonic
@@ -14,7 +14,7 @@ Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
14 1 file changed, 1 insertion(+), 3 deletions(-) 14 1 file changed, 1 insertion(+), 3 deletions(-)
15 15
16diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c 16diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c
17index e55bfe846cd..66b37e36e6f 100644 17index aa4484ef9ab..81b6a4c2db9 100644
18--- a/opcodes/ppc-opc.c 18--- a/opcodes/ppc-opc.c
19+++ b/opcodes/ppc-opc.c 19+++ b/opcodes/ppc-opc.c
20@@ -7138,8 +7138,6 @@ const struct powerpc_opcode powerpc_opcodes[] = { 20@@ -7138,8 +7138,6 @@ const struct powerpc_opcode powerpc_opcodes[] = {
diff --git a/meta/recipes-devtools/binutils/binutils/0008-Use-libtool-2.4.patch b/meta/recipes-devtools/binutils/binutils/0008-Use-libtool-2.4.patch
index 05f1ed0dc5..f8dcbd5e4d 100644
--- a/meta/recipes-devtools/binutils/binutils/0008-Use-libtool-2.4.patch
+++ b/meta/recipes-devtools/binutils/binutils/0008-Use-libtool-2.4.patch
@@ -1,4 +1,4 @@
1From da089ddacb6506f406acd8939389183a4356ebf0 Mon Sep 17 00:00:00 2001 1From dc3a330d6525c6276930c3175e5c878fe2cd9784 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 14 Feb 2016 17:04:07 +0000 3Date: Sun, 14 Feb 2016 17:04:07 +0000
4Subject: [PATCH] Use libtool 2.4 4Subject: [PATCH] Use libtool 2.4
@@ -10,14 +10,14 @@ Upstream-Status: Pending
10Signed-off-by: Khem Raj <raj.khem@gmail.com> 10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11--- 11---
12 bfd/Makefile.in | 3 + 12 bfd/Makefile.in | 3 +
13 bfd/configure | 1333 +++++++++--- 13 bfd/configure | 1333 ++++++++----
14 bfd/configure.ac | 2 +- 14 bfd/configure.ac | 2 +-
15 binutils/Makefile.in | 3 + 15 binutils/Makefile.in | 3 +
16 binutils/configure | 1331 +++++++++--- 16 binutils/configure | 1331 ++++++++----
17 gas/Makefile.in | 3 + 17 gas/Makefile.in | 3 +
18 gas/configure | 1331 +++++++++--- 18 gas/configure | 1331 ++++++++----
19 gprof/Makefile.in | 3 + 19 gprof/Makefile.in | 3 +
20 gprof/configure | 1331 +++++++++--- 20 gprof/configure | 1331 ++++++++----
21 gprofng/Makefile.in | 2 + 21 gprofng/Makefile.in | 2 +
22 gprofng/configure | 1693 ++++++++++++---- 22 gprofng/configure | 1693 ++++++++++++----
23 gprofng/doc/Makefile.in | 2 + 23 gprofng/doc/Makefile.in | 2 +
@@ -27,27 +27,27 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
27 gprofng/src/Makefile.in | 2 + 27 gprofng/src/Makefile.in | 2 +
28 ld/Makefile.in | 3 + 28 ld/Makefile.in | 3 +
29 ld/configure | 1694 ++++++++++++---- 29 ld/configure | 1694 ++++++++++++----
30 libbacktrace/Makefile.in | 108 +- 30 libbacktrace/Makefile.in | 112 +-
31 libbacktrace/aclocal.m4 | 73 +- 31 libbacktrace/aclocal.m4 | 73 +-
32 libbacktrace/configure | 1441 +++++++++---- 32 libbacktrace/configure | 1441 +++++++++----
33 libctf/Makefile.in | 2 + 33 libctf/Makefile.in | 2 +
34 libctf/configure | 1334 +++++++++--- 34 libctf/configure | 1330 ++++++++----
35 libsframe/Makefile.in | 344 ++-- 35 libsframe/Makefile.in | 344 ++--
36 libsframe/aclocal.m4 | 220 +- 36 libsframe/aclocal.m4 | 220 +-
37 libsframe/configure | 1553 ++++++++++---- 37 libsframe/configure | 1553 ++++++++++----
38 libtool.m4 | 1085 ++++++---- 38 libtool.m4 | 1085 ++++++----
39 ltmain.sh | 2921 ++++++++++++++++++--------- 39 ltmain.sh | 2898 ++++++++++++++++++---------
40 ltoptions.m4 | 2 +- 40 ltoptions.m4 | 2 +-
41 ltversion.m4 | 12 +- 41 ltversion.m4 | 12 +-
42 lt~obsolete.m4 | 2 +- 42 lt~obsolete.m4 | 2 +-
43 opcodes/Makefile.in | 3 + 43 opcodes/Makefile.in | 3 +
44 opcodes/configure | 1331 +++++++++--- 44 opcodes/configure | 1331 ++++++++----
45 zlib/Makefile.in | 3 + 45 zlib/Makefile.in | 3 +
46 zlib/configure | 1331 +++++++++--- 46 zlib/configure | 1331 ++++++++----
47 35 files changed, 16094 insertions(+), 6104 deletions(-) 47 35 files changed, 16078 insertions(+), 6097 deletions(-)
48 48
49diff --git a/bfd/Makefile.in b/bfd/Makefile.in 49diff --git a/bfd/Makefile.in b/bfd/Makefile.in
50index faaa0c424b8..5371e093163 100644 50index ee674a36c5b..130a50d80b0 100644
51--- a/bfd/Makefile.in 51--- a/bfd/Makefile.in
52+++ b/bfd/Makefile.in 52+++ b/bfd/Makefile.in
53@@ -340,6 +340,7 @@ DATADIRNAME = @DATADIRNAME@ 53@@ -340,6 +340,7 @@ DATADIRNAME = @DATADIRNAME@
@@ -75,7 +75,7 @@ index faaa0c424b8..5371e093163 100644
75 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ 75 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
76 all_backends = @all_backends@ 76 all_backends = @all_backends@
77diff --git a/bfd/configure b/bfd/configure 77diff --git a/bfd/configure b/bfd/configure
78index acbac2f364a..a53a9d52719 100755 78index b0f424dffc2..ba3fce10980 100755
79--- a/bfd/configure 79--- a/bfd/configure
80+++ b/bfd/configure 80+++ b/bfd/configure
81@@ -712,6 +712,9 @@ OTOOL 81@@ -712,6 +712,9 @@ OTOOL
@@ -105,7 +105,7 @@ index acbac2f364a..a53a9d52719 100755
105 --with-mmap try using mmap for BFD input files if available 105 --with-mmap try using mmap for BFD input files if available
106 --with-separate-debug-dir=DIR 106 --with-separate-debug-dir=DIR
107 Look for global separate debug info in DIR 107 Look for global separate debug info in DIR
108@@ -5063,8 +5069,8 @@ esac 108@@ -5061,8 +5067,8 @@ esac
109 109
110 110
111 111
@@ -116,7 +116,7 @@ index acbac2f364a..a53a9d52719 100755
116 116
117 117
118 118
119@@ -5104,7 +5110,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 119@@ -5102,7 +5108,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
121 $as_echo_n "checking how to print strings... " >&6; } 121 $as_echo_n "checking how to print strings... " >&6; }
122 # Test print first, because it will be a builtin if present. 122 # Test print first, because it will be a builtin if present.
@@ -125,7 +125,7 @@ index acbac2f364a..a53a9d52719 100755
125 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 125 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
126 ECHO='print -r --' 126 ECHO='print -r --'
127 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 127 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
128@@ -5797,8 +5803,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; 128@@ -5795,8 +5801,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
129 # Try some XSI features 129 # Try some XSI features
130 xsi_shell=no 130 xsi_shell=no
131 ( _lt_dummy="a/b/c" 131 ( _lt_dummy="a/b/c"
@@ -136,7 +136,7 @@ index acbac2f364a..a53a9d52719 100755
136 && eval 'test $(( 1 + 1 )) -eq 2 \ 136 && eval 'test $(( 1 + 1 )) -eq 2 \
137 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 137 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
138 && xsi_shell=yes 138 && xsi_shell=yes
139@@ -5847,6 +5853,80 @@ esac 139@@ -5845,6 +5851,80 @@ esac
140 140
141 141
142 142
@@ -217,7 +217,7 @@ index acbac2f364a..a53a9d52719 100755
217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
218 $as_echo_n "checking for $LD option to reload object files... " >&6; } 218 $as_echo_n "checking for $LD option to reload object files... " >&6; }
219 if ${lt_cv_ld_reload_flag+:} false; then : 219 if ${lt_cv_ld_reload_flag+:} false; then :
220@@ -5863,6 +5943,11 @@ case $reload_flag in 220@@ -5861,6 +5941,11 @@ case $reload_flag in
221 esac 221 esac
222 reload_cmds='$LD$reload_flag -o $output$reload_objs' 222 reload_cmds='$LD$reload_flag -o $output$reload_objs'
223 case $host_os in 223 case $host_os in
@@ -229,7 +229,7 @@ index acbac2f364a..a53a9d52719 100755
229 darwin*) 229 darwin*)
230 if test "$GCC" = yes; then 230 if test "$GCC" = yes; then
231 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 231 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
232@@ -6031,7 +6116,8 @@ mingw* | pw32*) 232@@ -6029,7 +6114,8 @@ mingw* | pw32*)
233 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 233 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
234 lt_cv_file_magic_cmd='func_win32_libid' 234 lt_cv_file_magic_cmd='func_win32_libid'
235 else 235 else
@@ -239,7 +239,7 @@ index acbac2f364a..a53a9d52719 100755
239 lt_cv_file_magic_cmd='$OBJDUMP -f' 239 lt_cv_file_magic_cmd='$OBJDUMP -f'
240 fi 240 fi
241 ;; 241 ;;
242@@ -6190,6 +6276,21 @@ esac 242@@ -6188,6 +6274,21 @@ esac
243 fi 243 fi
244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
245 $as_echo "$lt_cv_deplibs_check_method" >&6; } 245 $as_echo "$lt_cv_deplibs_check_method" >&6; }
@@ -261,7 +261,7 @@ index acbac2f364a..a53a9d52719 100755
261 file_magic_cmd=$lt_cv_file_magic_cmd 261 file_magic_cmd=$lt_cv_file_magic_cmd
262 deplibs_check_method=$lt_cv_deplibs_check_method 262 deplibs_check_method=$lt_cv_deplibs_check_method
263 test -z "$deplibs_check_method" && deplibs_check_method=unknown 263 test -z "$deplibs_check_method" && deplibs_check_method=unknown
264@@ -6205,6 +6306,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown 264@@ -6203,6 +6304,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
265 265
266 266
267 267
@@ -419,7 +419,7 @@ index acbac2f364a..a53a9d52719 100755
419 plugin_option= 419 plugin_option=
420 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll" 420 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
421 for plugin in $plugin_names; do 421 for plugin in $plugin_names; do
422@@ -6219,8 +6471,10 @@ for plugin in $plugin_names; do 422@@ -6217,8 +6469,10 @@ for plugin in $plugin_names; do
423 done 423 done
424 424
425 if test -n "$ac_tool_prefix"; then 425 if test -n "$ac_tool_prefix"; then
@@ -432,7 +432,7 @@ index acbac2f364a..a53a9d52719 100755
432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
433 $as_echo_n "checking for $ac_word... " >&6; } 433 $as_echo_n "checking for $ac_word... " >&6; }
434 if ${ac_cv_prog_AR+:} false; then : 434 if ${ac_cv_prog_AR+:} false; then :
435@@ -6236,7 +6490,7 @@ do 435@@ -6234,7 +6488,7 @@ do
436 test -z "$as_dir" && as_dir=. 436 test -z "$as_dir" && as_dir=.
437 for ac_exec_ext in '' $ac_executable_extensions; do 437 for ac_exec_ext in '' $ac_executable_extensions; do
438 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 438 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -441,7 +441,7 @@ index acbac2f364a..a53a9d52719 100755
441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
442 break 2 442 break 2
443 fi 443 fi
444@@ -6256,11 +6510,15 @@ $as_echo "no" >&6; } 444@@ -6254,11 +6508,15 @@ $as_echo "no" >&6; }
445 fi 445 fi
446 446
447 447
@@ -460,7 +460,7 @@ index acbac2f364a..a53a9d52719 100755
460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
461 $as_echo_n "checking for $ac_word... " >&6; } 461 $as_echo_n "checking for $ac_word... " >&6; }
462 if ${ac_cv_prog_ac_ct_AR+:} false; then : 462 if ${ac_cv_prog_ac_ct_AR+:} false; then :
463@@ -6276,7 +6534,7 @@ do 463@@ -6274,7 +6532,7 @@ do
464 test -z "$as_dir" && as_dir=. 464 test -z "$as_dir" && as_dir=.
465 for ac_exec_ext in '' $ac_executable_extensions; do 465 for ac_exec_ext in '' $ac_executable_extensions; do
466 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 466 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -469,7 +469,7 @@ index acbac2f364a..a53a9d52719 100755
469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
470 break 2 470 break 2
471 fi 471 fi
472@@ -6295,6 +6553,10 @@ else 472@@ -6293,6 +6551,10 @@ else
473 $as_echo "no" >&6; } 473 $as_echo "no" >&6; }
474 fi 474 fi
475 475
@@ -480,7 +480,7 @@ index acbac2f364a..a53a9d52719 100755
480 if test "x$ac_ct_AR" = x; then 480 if test "x$ac_ct_AR" = x; then
481 AR="false" 481 AR="false"
482 else 482 else
483@@ -6306,25 +6568,20 @@ ac_tool_warned=yes ;; 483@@ -6304,25 +6566,20 @@ ac_tool_warned=yes ;;
484 esac 484 esac
485 AR=$ac_ct_AR 485 AR=$ac_ct_AR
486 fi 486 fi
@@ -516,7 +516,7 @@ index acbac2f364a..a53a9d52719 100755
516 516
517 517
518 518
519@@ -6335,6 +6592,63 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru 519@@ -6333,6 +6590,63 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
520 520
521 521
522 522
@@ -580,7 +580,7 @@ index acbac2f364a..a53a9d52719 100755
580 580
581 if test -n "$ac_tool_prefix"; then 581 if test -n "$ac_tool_prefix"; then
582 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 582 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
583@@ -6675,8 +6989,8 @@ esac 583@@ -6673,8 +6987,8 @@ esac
584 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 584 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
585 585
586 # Transform an extracted symbol line into symbol name and symbol address 586 # Transform an extracted symbol line into symbol name and symbol address
@@ -591,7 +591,7 @@ index acbac2f364a..a53a9d52719 100755
591 591
592 # Handle CRLF in mingw tool chain 592 # Handle CRLF in mingw tool chain
593 opt_cr= 593 opt_cr=
594@@ -6712,6 +7026,7 @@ for ac_symprfx in "" "_"; do 594@@ -6710,6 +7024,7 @@ for ac_symprfx in "" "_"; do
595 else 595 else
596 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 596 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
597 fi 597 fi
@@ -599,7 +599,7 @@ index acbac2f364a..a53a9d52719 100755
599 599
600 # Check to see that the pipe works correctly. 600 # Check to see that the pipe works correctly.
601 pipe_works=no 601 pipe_works=no
602@@ -6753,6 +7068,18 @@ _LT_EOF 602@@ -6751,6 +7066,18 @@ _LT_EOF
603 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 603 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
604 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 604 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
605 cat <<_LT_EOF > conftest.$ac_ext 605 cat <<_LT_EOF > conftest.$ac_ext
@@ -618,7 +618,7 @@ index acbac2f364a..a53a9d52719 100755
618 #ifdef __cplusplus 618 #ifdef __cplusplus
619 extern "C" { 619 extern "C" {
620 #endif 620 #endif
621@@ -6764,7 +7091,7 @@ _LT_EOF 621@@ -6762,7 +7089,7 @@ _LT_EOF
622 cat <<_LT_EOF >> conftest.$ac_ext 622 cat <<_LT_EOF >> conftest.$ac_ext
623 623
624 /* The mapping between symbol names and symbols. */ 624 /* The mapping between symbol names and symbols. */
@@ -627,7 +627,7 @@ index acbac2f364a..a53a9d52719 100755
627 const char *name; 627 const char *name;
628 void *address; 628 void *address;
629 } 629 }
630@@ -6790,8 +7117,8 @@ static const void *lt_preloaded_setup() { 630@@ -6788,8 +7115,8 @@ static const void *lt_preloaded_setup() {
631 _LT_EOF 631 _LT_EOF
632 # Now try linking the two files. 632 # Now try linking the two files.
633 mv conftest.$ac_objext conftstm.$ac_objext 633 mv conftest.$ac_objext conftstm.$ac_objext
@@ -638,7 +638,7 @@ index acbac2f364a..a53a9d52719 100755
638 LIBS="conftstm.$ac_objext" 638 LIBS="conftstm.$ac_objext"
639 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 639 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
640 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 640 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
641@@ -6801,8 +7128,8 @@ _LT_EOF 641@@ -6799,8 +7126,8 @@ _LT_EOF
642 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 642 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
643 pipe_works=yes 643 pipe_works=yes
644 fi 644 fi
@@ -649,7 +649,7 @@ index acbac2f364a..a53a9d52719 100755
649 else 649 else
650 echo "cannot find nm_test_func in $nlist" >&5 650 echo "cannot find nm_test_func in $nlist" >&5
651 fi 651 fi
652@@ -6839,6 +7166,14 @@ else 652@@ -6837,6 +7164,14 @@ else
653 $as_echo "ok" >&6; } 653 $as_echo "ok" >&6; }
654 fi 654 fi
655 655
@@ -664,7 +664,7 @@ index acbac2f364a..a53a9d52719 100755
664 664
665 665
666 666
667@@ -6857,6 +7192,47 @@ fi 667@@ -6855,6 +7190,47 @@ fi
668 668
669 669
670 670
@@ -712,7 +712,7 @@ index acbac2f364a..a53a9d52719 100755
712 712
713 713
714 714
715@@ -7066,6 +7442,123 @@ esac 715@@ -7064,6 +7440,123 @@ esac
716 716
717 need_locks="$enable_libtool_lock" 717 need_locks="$enable_libtool_lock"
718 718
@@ -836,7 +836,7 @@ index acbac2f364a..a53a9d52719 100755
836 836
837 case $host_os in 837 case $host_os in
838 rhapsody* | darwin*) 838 rhapsody* | darwin*)
839@@ -7629,6 +8122,8 @@ _LT_EOF 839@@ -7627,6 +8120,8 @@ _LT_EOF
840 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 840 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
841 echo "$AR cru libconftest.a conftest.o" >&5 841 echo "$AR cru libconftest.a conftest.o" >&5
842 $AR cru libconftest.a conftest.o 2>&5 842 $AR cru libconftest.a conftest.o 2>&5
@@ -845,7 +845,7 @@ index acbac2f364a..a53a9d52719 100755
845 cat > conftest.c << _LT_EOF 845 cat > conftest.c << _LT_EOF
846 int main() { return 0;} 846 int main() { return 0;}
847 _LT_EOF 847 _LT_EOF
848@@ -8182,8 +8677,6 @@ fi 848@@ -8180,8 +8675,6 @@ fi
849 lt_prog_compiler_pic= 849 lt_prog_compiler_pic=
850 lt_prog_compiler_static= 850 lt_prog_compiler_static=
851 851
@@ -854,7 +854,7 @@ index acbac2f364a..a53a9d52719 100755
854 854
855 if test "$GCC" = yes; then 855 if test "$GCC" = yes; then
856 lt_prog_compiler_wl='-Wl,' 856 lt_prog_compiler_wl='-Wl,'
857@@ -8349,6 +8842,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } 857@@ -8347,6 +8840,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
858 lt_prog_compiler_pic='--shared' 858 lt_prog_compiler_pic='--shared'
859 lt_prog_compiler_static='--static' 859 lt_prog_compiler_static='--static'
860 ;; 860 ;;
@@ -867,7 +867,7 @@ index acbac2f364a..a53a9d52719 100755
867 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 867 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
868 # Portland Group compilers (*not* the Pentium gcc compiler, 868 # Portland Group compilers (*not* the Pentium gcc compiler,
869 # which looks to be a dead project) 869 # which looks to be a dead project)
870@@ -8411,7 +8910,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } 870@@ -8409,7 +8908,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
871 lt_prog_compiler_pic='-KPIC' 871 lt_prog_compiler_pic='-KPIC'
872 lt_prog_compiler_static='-Bstatic' 872 lt_prog_compiler_static='-Bstatic'
873 case $cc_basename in 873 case $cc_basename in
@@ -876,7 +876,7 @@ index acbac2f364a..a53a9d52719 100755
876 lt_prog_compiler_wl='-Qoption ld ';; 876 lt_prog_compiler_wl='-Qoption ld ';;
877 *) 877 *)
878 lt_prog_compiler_wl='-Wl,';; 878 lt_prog_compiler_wl='-Wl,';;
879@@ -8468,13 +8967,17 @@ case $host_os in 879@@ -8466,13 +8965,17 @@ case $host_os in
880 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 880 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
881 ;; 881 ;;
882 esac 882 esac
@@ -900,7 +900,7 @@ index acbac2f364a..a53a9d52719 100755
900 900
901 # 901 #
902 # Check to make sure the PIC flag actually works. 902 # Check to make sure the PIC flag actually works.
903@@ -8535,6 +9038,11 @@ fi 903@@ -8533,6 +9036,11 @@ fi
904 904
905 905
906 906
@@ -912,7 +912,7 @@ index acbac2f364a..a53a9d52719 100755
912 # 912 #
913 # Check to make sure the static flag actually works. 913 # Check to make sure the static flag actually works.
914 # 914 #
915@@ -8885,7 +9393,8 @@ _LT_EOF 915@@ -8883,7 +9391,8 @@ _LT_EOF
916 allow_undefined_flag=unsupported 916 allow_undefined_flag=unsupported
917 always_export_symbols=no 917 always_export_symbols=no
918 enable_shared_with_static_runtimes=yes 918 enable_shared_with_static_runtimes=yes
@@ -922,7 +922,7 @@ index acbac2f364a..a53a9d52719 100755
922 922
923 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 923 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
924 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 924 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
925@@ -8984,12 +9493,12 @@ _LT_EOF 925@@ -8982,12 +9491,12 @@ _LT_EOF
926 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 926 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
927 hardcode_libdir_flag_spec= 927 hardcode_libdir_flag_spec=
928 hardcode_libdir_flag_spec_ld='-rpath $libdir' 928 hardcode_libdir_flag_spec_ld='-rpath $libdir'
@@ -937,7 +937,7 @@ index acbac2f364a..a53a9d52719 100755
937 fi 937 fi
938 ;; 938 ;;
939 esac 939 esac
940@@ -9003,8 +9512,8 @@ _LT_EOF 940@@ -9001,8 +9510,8 @@ _LT_EOF
941 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 941 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
942 wlarc= 942 wlarc=
943 else 943 else
@@ -948,7 +948,7 @@ index acbac2f364a..a53a9d52719 100755
948 fi 948 fi
949 ;; 949 ;;
950 950
951@@ -9022,8 +9531,8 @@ _LT_EOF 951@@ -9020,8 +9529,8 @@ _LT_EOF
952 952
953 _LT_EOF 953 _LT_EOF
954 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 954 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -959,7 +959,7 @@ index acbac2f364a..a53a9d52719 100755
959 else 959 else
960 ld_shlibs=no 960 ld_shlibs=no
961 fi 961 fi
962@@ -9069,8 +9578,8 @@ _LT_EOF 962@@ -9067,8 +9576,8 @@ _LT_EOF
963 963
964 *) 964 *)
965 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 965 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -970,7 +970,7 @@ index acbac2f364a..a53a9d52719 100755
970 else 970 else
971 ld_shlibs=no 971 ld_shlibs=no
972 fi 972 fi
973@@ -9200,7 +9709,13 @@ _LT_EOF 973@@ -9198,7 +9707,13 @@ _LT_EOF
974 allow_undefined_flag='-berok' 974 allow_undefined_flag='-berok'
975 # Determine the default libpath from the value encoded in an 975 # Determine the default libpath from the value encoded in an
976 # empty executable. 976 # empty executable.
@@ -985,7 +985,7 @@ index acbac2f364a..a53a9d52719 100755
985 /* end confdefs.h. */ 985 /* end confdefs.h. */
986 986
987 int 987 int
988@@ -9213,22 +9728,29 @@ main () 988@@ -9211,22 +9726,29 @@ main ()
989 _ACEOF 989 _ACEOF
990 if ac_fn_c_try_link "$LINENO"; then : 990 if ac_fn_c_try_link "$LINENO"; then :
991 991
@@ -1028,7 +1028,7 @@ index acbac2f364a..a53a9d52719 100755
1028 1028
1029 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 1029 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
1030 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 1030 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
1031@@ -9240,7 +9762,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 1031@@ -9238,7 +9760,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1032 else 1032 else
1033 # Determine the default libpath from the value encoded in an 1033 # Determine the default libpath from the value encoded in an
1034 # empty executable. 1034 # empty executable.
@@ -1043,7 +1043,7 @@ index acbac2f364a..a53a9d52719 100755
1043 /* end confdefs.h. */ 1043 /* end confdefs.h. */
1044 1044
1045 int 1045 int
1046@@ -9253,22 +9781,29 @@ main () 1046@@ -9251,22 +9779,29 @@ main ()
1047 _ACEOF 1047 _ACEOF
1048 if ac_fn_c_try_link "$LINENO"; then : 1048 if ac_fn_c_try_link "$LINENO"; then :
1049 1049
@@ -1086,7 +1086,7 @@ index acbac2f364a..a53a9d52719 100755
1086 1086
1087 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 1087 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
1088 # Warning - without using the other run time loading flags, 1088 # Warning - without using the other run time loading flags,
1089@@ -9313,20 +9848,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 1089@@ -9311,20 +9846,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1090 # Microsoft Visual C++. 1090 # Microsoft Visual C++.
1091 # hardcode_libdir_flag_spec is actually meaningless, as there is 1091 # hardcode_libdir_flag_spec is actually meaningless, as there is
1092 # no search path for DLLs. 1092 # no search path for DLLs.
@@ -1164,7 +1164,7 @@ index acbac2f364a..a53a9d52719 100755
1164 ;; 1164 ;;
1165 1165
1166 darwin* | rhapsody*) 1166 darwin* | rhapsody*)
1167@@ -9387,7 +9965,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 1167@@ -9385,7 +9963,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1168 1168
1169 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 1169 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
1170 freebsd* | dragonfly*) 1170 freebsd* | dragonfly*)
@@ -1173,7 +1173,7 @@ index acbac2f364a..a53a9d52719 100755
1173 hardcode_libdir_flag_spec='-R$libdir' 1173 hardcode_libdir_flag_spec='-R$libdir'
1174 hardcode_direct=yes 1174 hardcode_direct=yes
1175 hardcode_shlibpath_var=no 1175 hardcode_shlibpath_var=no
1176@@ -9395,7 +9973,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 1176@@ -9393,7 +9971,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1177 1177
1178 hpux9*) 1178 hpux9*)
1179 if test "$GCC" = yes; then 1179 if test "$GCC" = yes; then
@@ -1182,7 +1182,7 @@ index acbac2f364a..a53a9d52719 100755
1182 else 1182 else
1183 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 1183 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
1184 fi 1184 fi
1185@@ -9411,7 +9989,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 1185@@ -9409,7 +9987,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1186 1186
1187 hpux10*) 1187 hpux10*)
1188 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 1188 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -1191,7 +1191,7 @@ index acbac2f364a..a53a9d52719 100755
1191 else 1191 else
1192 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 1192 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
1193 fi 1193 fi
1194@@ -9435,10 +10013,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 1194@@ -9433,10 +10011,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1195 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 1195 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
1196 ;; 1196 ;;
1197 ia64*) 1197 ia64*)
@@ -1204,7 +1204,7 @@ index acbac2f364a..a53a9d52719 100755
1204 ;; 1204 ;;
1205 esac 1205 esac
1206 else 1206 else
1207@@ -9517,23 +10095,36 @@ fi 1207@@ -9515,23 +10093,36 @@ fi
1208 1208
1209 irix5* | irix6* | nonstopux*) 1209 irix5* | irix6* | nonstopux*)
1210 if test "$GCC" = yes; then 1210 if test "$GCC" = yes; then
@@ -1249,7 +1249,7 @@ index acbac2f364a..a53a9d52719 100755
1249 else 1249 else
1250 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 1250 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
1251 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' 1251 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
1252@@ -9618,7 +10209,7 @@ rm -f core conftest.err conftest.$ac_objext \ 1252@@ -9616,7 +10207,7 @@ rm -f core conftest.err conftest.$ac_objext \
1253 osf4* | osf5*) # as osf3* with the addition of -msym flag 1253 osf4* | osf5*) # as osf3* with the addition of -msym flag
1254 if test "$GCC" = yes; then 1254 if test "$GCC" = yes; then
1255 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 1255 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
@@ -1258,7 +1258,7 @@ index acbac2f364a..a53a9d52719 100755
1258 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 1258 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
1259 else 1259 else
1260 allow_undefined_flag=' -expect_unresolved \*' 1260 allow_undefined_flag=' -expect_unresolved \*'
1261@@ -9637,9 +10228,9 @@ rm -f core conftest.err conftest.$ac_objext \ 1261@@ -9635,9 +10226,9 @@ rm -f core conftest.err conftest.$ac_objext \
1262 no_undefined_flag=' -z defs' 1262 no_undefined_flag=' -z defs'
1263 if test "$GCC" = yes; then 1263 if test "$GCC" = yes; then
1264 wlarc='${wl}' 1264 wlarc='${wl}'
@@ -1270,7 +1270,7 @@ index acbac2f364a..a53a9d52719 100755
1270 else 1270 else
1271 case `$CC -V 2>&1` in 1271 case `$CC -V 2>&1` in
1272 *"Compilers 5.0"*) 1272 *"Compilers 5.0"*)
1273@@ -10215,8 +10806,9 @@ cygwin* | mingw* | pw32* | cegcc*) 1273@@ -10213,8 +10804,9 @@ cygwin* | mingw* | pw32* | cegcc*)
1274 need_version=no 1274 need_version=no
1275 need_lib_prefix=no 1275 need_lib_prefix=no
1276 1276
@@ -1282,7 +1282,7 @@ index acbac2f364a..a53a9d52719 100755
1282 library_names_spec='$libname.dll.a' 1282 library_names_spec='$libname.dll.a'
1283 # DLL is installed to $(libdir)/../bin by postinstall_cmds 1283 # DLL is installed to $(libdir)/../bin by postinstall_cmds
1284 postinstall_cmds='base_file=`basename \${file}`~ 1284 postinstall_cmds='base_file=`basename \${file}`~
1285@@ -10249,13 +10841,71 @@ cygwin* | mingw* | pw32* | cegcc*) 1285@@ -10247,13 +10839,71 @@ cygwin* | mingw* | pw32* | cegcc*)
1286 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 1286 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
1287 ;; 1287 ;;
1288 esac 1288 esac
@@ -1355,16 +1355,16 @@ index acbac2f364a..a53a9d52719 100755
1355 # FIXME: first we should search . and the directory the executable is in 1355 # FIXME: first we should search . and the directory the executable is in
1356 shlibpath_var=PATH 1356 shlibpath_var=PATH
1357 ;; 1357 ;;
1358@@ -11157,7 +11807,7 @@ else 1358@@ -11155,7 +11805,7 @@ else
1359 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 1359 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1360 lt_status=$lt_dlunknown 1360 lt_status=$lt_dlunknown
1361 cat > conftest.$ac_ext <<_LT_EOF 1361 cat > conftest.$ac_ext <<_LT_EOF
1362-#line 11160 "configure" 1362-#line 11158 "configure"
1363+#line $LINENO "configure" 1363+#line $LINENO "configure"
1364 #include "confdefs.h" 1364 #include "confdefs.h"
1365 1365
1366 #if HAVE_DLFCN_H 1366 #if HAVE_DLFCN_H
1367@@ -11201,10 +11851,10 @@ else 1367@@ -11199,10 +11849,10 @@ else
1368 /* When -fvisbility=hidden is used, assume the code has been annotated 1368 /* When -fvisbility=hidden is used, assume the code has been annotated
1369 correspondingly for the symbols needed. */ 1369 correspondingly for the symbols needed. */
1370 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 1370 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -1377,16 +1377,16 @@ index acbac2f364a..a53a9d52719 100755
1377 int main () 1377 int main ()
1378 { 1378 {
1379 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 1379 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
1380@@ -11263,7 +11913,7 @@ else 1380@@ -11261,7 +11911,7 @@ else
1381 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 1381 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1382 lt_status=$lt_dlunknown 1382 lt_status=$lt_dlunknown
1383 cat > conftest.$ac_ext <<_LT_EOF 1383 cat > conftest.$ac_ext <<_LT_EOF
1384-#line 11266 "configure" 1384-#line 11264 "configure"
1385+#line $LINENO "configure" 1385+#line $LINENO "configure"
1386 #include "confdefs.h" 1386 #include "confdefs.h"
1387 1387
1388 #if HAVE_DLFCN_H 1388 #if HAVE_DLFCN_H
1389@@ -11307,10 +11957,10 @@ else 1389@@ -11305,10 +11955,10 @@ else
1390 /* When -fvisbility=hidden is used, assume the code has been annotated 1390 /* When -fvisbility=hidden is used, assume the code has been annotated
1391 correspondingly for the symbols needed. */ 1391 correspondingly for the symbols needed. */
1392 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 1392 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -1399,7 +1399,7 @@ index acbac2f364a..a53a9d52719 100755
1399 int main () 1399 int main ()
1400 { 1400 {
1401 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 1401 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
1402@@ -15691,7 +16341,7 @@ SHARED_LDFLAGS= 1402@@ -15689,7 +16339,7 @@ SHARED_LDFLAGS=
1403 if test "$enable_shared" = "yes"; then 1403 if test "$enable_shared" = "yes"; then
1404 x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'` 1404 x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
1405 if test -n "$x"; then 1405 if test -n "$x"; then
@@ -1408,7 +1408,7 @@ index acbac2f364a..a53a9d52719 100755
1408 fi 1408 fi
1409 fi 1409 fi
1410 1410
1411@@ -18313,13 +18963,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 1411@@ -18314,13 +18964,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
1412 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 1412 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
1413 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 1413 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
1414 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 1414 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -1429,7 +1429,7 @@ index acbac2f364a..a53a9d52719 100755
1429 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 1429 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
1430 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 1430 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
1431 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 1431 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
1432@@ -18334,14 +18991,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de 1432@@ -18335,14 +18992,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
1433 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 1433 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
1434 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 1434 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
1435 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' 1435 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
@@ -1448,7 +1448,7 @@ index acbac2f364a..a53a9d52719 100755
1448 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 1448 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
1449 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 1449 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
1450 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 1450 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
1451@@ -18374,12 +19034,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q 1451@@ -18375,12 +19035,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q
1452 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 1452 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
1453 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 1453 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
1454 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 1454 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -1462,7 +1462,7 @@ index acbac2f364a..a53a9d52719 100755
1462 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 1462 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
1463 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 1463 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
1464 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 1464 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
1465@@ -18434,8 +19094,13 @@ reload_flag \ 1465@@ -18435,8 +19095,13 @@ reload_flag \
1466 OBJDUMP \ 1466 OBJDUMP \
1467 deplibs_check_method \ 1467 deplibs_check_method \
1468 file_magic_cmd \ 1468 file_magic_cmd \
@@ -1476,7 +1476,7 @@ index acbac2f364a..a53a9d52719 100755
1476 STRIP \ 1476 STRIP \
1477 RANLIB \ 1477 RANLIB \
1478 CC \ 1478 CC \
1479@@ -18445,12 +19110,14 @@ lt_cv_sys_global_symbol_pipe \ 1479@@ -18446,12 +19111,14 @@ lt_cv_sys_global_symbol_pipe \
1480 lt_cv_sys_global_symbol_to_cdecl \ 1480 lt_cv_sys_global_symbol_to_cdecl \
1481 lt_cv_sys_global_symbol_to_c_name_address \ 1481 lt_cv_sys_global_symbol_to_c_name_address \
1482 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 1482 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -1492,7 +1492,7 @@ index acbac2f364a..a53a9d52719 100755
1492 DSYMUTIL \ 1492 DSYMUTIL \
1493 NMEDIT \ 1493 NMEDIT \
1494 LIPO \ 1494 LIPO \
1495@@ -18466,7 +19133,6 @@ no_undefined_flag \ 1495@@ -18467,7 +19134,6 @@ no_undefined_flag \
1496 hardcode_libdir_flag_spec \ 1496 hardcode_libdir_flag_spec \
1497 hardcode_libdir_flag_spec_ld \ 1497 hardcode_libdir_flag_spec_ld \
1498 hardcode_libdir_separator \ 1498 hardcode_libdir_separator \
@@ -1500,7 +1500,7 @@ index acbac2f364a..a53a9d52719 100755
1500 exclude_expsyms \ 1500 exclude_expsyms \
1501 include_expsyms \ 1501 include_expsyms \
1502 file_list_spec \ 1502 file_list_spec \
1503@@ -18502,6 +19168,7 @@ module_cmds \ 1503@@ -18503,6 +19169,7 @@ module_cmds \
1504 module_expsym_cmds \ 1504 module_expsym_cmds \
1505 export_symbols_cmds \ 1505 export_symbols_cmds \
1506 prelink_cmds \ 1506 prelink_cmds \
@@ -1508,7 +1508,7 @@ index acbac2f364a..a53a9d52719 100755
1508 postinstall_cmds \ 1508 postinstall_cmds \
1509 postuninstall_cmds \ 1509 postuninstall_cmds \
1510 finish_cmds \ 1510 finish_cmds \
1511@@ -19278,7 +19945,8 @@ $as_echo X"$file" | 1511@@ -19279,7 +19946,8 @@ $as_echo X"$file" |
1512 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 1512 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
1513 # 1513 #
1514 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 1514 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -1518,7 +1518,7 @@ index acbac2f364a..a53a9d52719 100755
1518 # Written by Gordon Matzigkeit, 1996 1518 # Written by Gordon Matzigkeit, 1996
1519 # 1519 #
1520 # This file is part of GNU Libtool. 1520 # This file is part of GNU Libtool.
1521@@ -19381,19 +20049,42 @@ SP2NL=$lt_lt_SP2NL 1521@@ -19382,19 +20050,42 @@ SP2NL=$lt_lt_SP2NL
1522 # turn newlines into spaces. 1522 # turn newlines into spaces.
1523 NL2SP=$lt_lt_NL2SP 1523 NL2SP=$lt_lt_NL2SP
1524 1524
@@ -1562,7 +1562,7 @@ index acbac2f364a..a53a9d52719 100755
1562 # A symbol stripping program. 1562 # A symbol stripping program.
1563 STRIP=$lt_STRIP 1563 STRIP=$lt_STRIP
1564 1564
1565@@ -19423,6 +20114,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 1565@@ -19424,6 +20115,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
1566 # Transform the output of nm in a C name address pair when lib prefix is needed. 1566 # Transform the output of nm in a C name address pair when lib prefix is needed.
1567 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 1567 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
1568 1568
@@ -1575,7 +1575,7 @@ index acbac2f364a..a53a9d52719 100755
1575 # The name of the directory that contains temporary libtool files. 1575 # The name of the directory that contains temporary libtool files.
1576 objdir=$objdir 1576 objdir=$objdir
1577 1577
1578@@ -19432,6 +20129,9 @@ MAGIC_CMD=$MAGIC_CMD 1578@@ -19433,6 +20130,9 @@ MAGIC_CMD=$MAGIC_CMD
1579 # Must we lock files when doing compilation? 1579 # Must we lock files when doing compilation?
1580 need_locks=$lt_need_locks 1580 need_locks=$lt_need_locks
1581 1581
@@ -1585,7 +1585,7 @@ index acbac2f364a..a53a9d52719 100755
1585 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. 1585 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
1586 DSYMUTIL=$lt_DSYMUTIL 1586 DSYMUTIL=$lt_DSYMUTIL
1587 1587
1588@@ -19546,12 +20246,12 @@ with_gcc=$GCC 1588@@ -19547,12 +20247,12 @@ with_gcc=$GCC
1589 # Compiler flag to turn off builtin functions. 1589 # Compiler flag to turn off builtin functions.
1590 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 1590 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
1591 1591
@@ -1601,7 +1601,7 @@ index acbac2f364a..a53a9d52719 100755
1601 # Compiler flag to prevent dynamic linking. 1601 # Compiler flag to prevent dynamic linking.
1602 link_static_flag=$lt_lt_prog_compiler_static 1602 link_static_flag=$lt_lt_prog_compiler_static
1603 1603
1604@@ -19638,9 +20338,6 @@ inherit_rpath=$inherit_rpath 1604@@ -19639,9 +20339,6 @@ inherit_rpath=$inherit_rpath
1605 # Whether libtool must link a program against all its dependency libraries. 1605 # Whether libtool must link a program against all its dependency libraries.
1606 link_all_deplibs=$link_all_deplibs 1606 link_all_deplibs=$link_all_deplibs
1607 1607
@@ -1611,7 +1611,7 @@ index acbac2f364a..a53a9d52719 100755
1611 # Set to "yes" if exported symbols are required. 1611 # Set to "yes" if exported symbols are required.
1612 always_export_symbols=$always_export_symbols 1612 always_export_symbols=$always_export_symbols
1613 1613
1614@@ -19656,6 +20353,9 @@ include_expsyms=$lt_include_expsyms 1614@@ -19657,6 +20354,9 @@ include_expsyms=$lt_include_expsyms
1615 # Commands necessary for linking programs (against libraries) with templates. 1615 # Commands necessary for linking programs (against libraries) with templates.
1616 prelink_cmds=$lt_prelink_cmds 1616 prelink_cmds=$lt_prelink_cmds
1617 1617
@@ -1621,7 +1621,7 @@ index acbac2f364a..a53a9d52719 100755
1621 # Specify filename containing input files. 1621 # Specify filename containing input files.
1622 file_list_spec=$lt_file_list_spec 1622 file_list_spec=$lt_file_list_spec
1623 1623
1624@@ -19688,210 +20388,169 @@ ltmain="$ac_aux_dir/ltmain.sh" 1624@@ -19689,210 +20389,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
1625 # if finds mixed CR/LF and LF-only lines. Since sed operates in 1625 # if finds mixed CR/LF and LF-only lines. Since sed operates in
1626 # text mode, it properly converts lines to CR/LF. This bash problem 1626 # text mode, it properly converts lines to CR/LF. This bash problem
1627 # is reportedly fixed, but why not run on old versions too? 1627 # is reportedly fixed, but why not run on old versions too?
@@ -1996,10 +1996,10 @@ index acbac2f364a..a53a9d52719 100755
1996 chmod +x "$ofile" 1996 chmod +x "$ofile"
1997 1997
1998diff --git a/bfd/configure.ac b/bfd/configure.ac 1998diff --git a/bfd/configure.ac b/bfd/configure.ac
1999index 7fcc5d4a947..f7191d3f30f 100644 1999index 90fad5417b3..1d57f289f18 100644
2000--- a/bfd/configure.ac 2000--- a/bfd/configure.ac
2001+++ b/bfd/configure.ac 2001+++ b/bfd/configure.ac
2002@@ -276,7 +276,7 @@ changequote(,)dnl 2002@@ -275,7 +275,7 @@ changequote(,)dnl
2003 x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'` 2003 x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
2004 changequote([,])dnl 2004 changequote([,])dnl
2005 if test -n "$x"; then 2005 if test -n "$x"; then
@@ -2009,7 +2009,7 @@ index 7fcc5d4a947..f7191d3f30f 100644
2009 fi 2009 fi
2010 2010
2011diff --git a/binutils/Makefile.in b/binutils/Makefile.in 2011diff --git a/binutils/Makefile.in b/binutils/Makefile.in
2012index 842a6d99b54..037cccde038 100644 2012index 8029bc29d57..5b2b4b81426 100644
2013--- a/binutils/Makefile.in 2013--- a/binutils/Makefile.in
2014+++ b/binutils/Makefile.in 2014+++ b/binutils/Makefile.in
2015@@ -495,6 +495,7 @@ DEBUGINFOD_LIBS = @DEBUGINFOD_LIBS@ 2015@@ -495,6 +495,7 @@ DEBUGINFOD_LIBS = @DEBUGINFOD_LIBS@
@@ -2037,7 +2037,7 @@ index 842a6d99b54..037cccde038 100644
2037 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ 2037 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
2038 am__include = @am__include@ 2038 am__include = @am__include@
2039diff --git a/binutils/configure b/binutils/configure 2039diff --git a/binutils/configure b/binutils/configure
2040index a1092735311..f3bdee98f3f 100755 2040index caa7c3679e9..5b5c7b38028 100755
2041--- a/binutils/configure 2041--- a/binutils/configure
2042+++ b/binutils/configure 2042+++ b/binutils/configure
2043@@ -704,8 +704,11 @@ OTOOL 2043@@ -704,8 +704,11 @@ OTOOL
@@ -2069,7 +2069,7 @@ index a1092735311..f3bdee98f3f 100755
2069 --with-debuginfod Enable debuginfo lookups with debuginfod 2069 --with-debuginfod Enable debuginfo lookups with debuginfod
2070 (auto/yes/no) 2070 (auto/yes/no)
2071 --with-gnu-ld assume the C compiler uses GNU ld default=no 2071 --with-gnu-ld assume the C compiler uses GNU ld default=no
2072@@ -4958,8 +4964,8 @@ esac 2072@@ -4956,8 +4962,8 @@ esac
2073 2073
2074 2074
2075 2075
@@ -2080,7 +2080,7 @@ index a1092735311..f3bdee98f3f 100755
2080 2080
2081 2081
2082 2082
2083@@ -4999,7 +5005,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 2083@@ -4997,7 +5003,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 2084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
2085 $as_echo_n "checking how to print strings... " >&6; } 2085 $as_echo_n "checking how to print strings... " >&6; }
2086 # Test print first, because it will be a builtin if present. 2086 # Test print first, because it will be a builtin if present.
@@ -2089,7 +2089,7 @@ index a1092735311..f3bdee98f3f 100755
2089 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 2089 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
2090 ECHO='print -r --' 2090 ECHO='print -r --'
2091 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 2091 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
2092@@ -5692,8 +5698,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; 2092@@ -5690,8 +5696,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
2093 # Try some XSI features 2093 # Try some XSI features
2094 xsi_shell=no 2094 xsi_shell=no
2095 ( _lt_dummy="a/b/c" 2095 ( _lt_dummy="a/b/c"
@@ -2100,7 +2100,7 @@ index a1092735311..f3bdee98f3f 100755
2100 && eval 'test $(( 1 + 1 )) -eq 2 \ 2100 && eval 'test $(( 1 + 1 )) -eq 2 \
2101 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 2101 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
2102 && xsi_shell=yes 2102 && xsi_shell=yes
2103@@ -5742,6 +5748,80 @@ esac 2103@@ -5740,6 +5746,80 @@ esac
2104 2104
2105 2105
2106 2106
@@ -2181,7 +2181,7 @@ index a1092735311..f3bdee98f3f 100755
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 2181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
2182 $as_echo_n "checking for $LD option to reload object files... " >&6; } 2182 $as_echo_n "checking for $LD option to reload object files... " >&6; }
2183 if ${lt_cv_ld_reload_flag+:} false; then : 2183 if ${lt_cv_ld_reload_flag+:} false; then :
2184@@ -5758,6 +5838,11 @@ case $reload_flag in 2184@@ -5756,6 +5836,11 @@ case $reload_flag in
2185 esac 2185 esac
2186 reload_cmds='$LD$reload_flag -o $output$reload_objs' 2186 reload_cmds='$LD$reload_flag -o $output$reload_objs'
2187 case $host_os in 2187 case $host_os in
@@ -2193,7 +2193,7 @@ index a1092735311..f3bdee98f3f 100755
2193 darwin*) 2193 darwin*)
2194 if test "$GCC" = yes; then 2194 if test "$GCC" = yes; then
2195 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 2195 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
2196@@ -5926,7 +6011,8 @@ mingw* | pw32*) 2196@@ -5924,7 +6009,8 @@ mingw* | pw32*)
2197 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 2197 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
2198 lt_cv_file_magic_cmd='func_win32_libid' 2198 lt_cv_file_magic_cmd='func_win32_libid'
2199 else 2199 else
@@ -2203,7 +2203,7 @@ index a1092735311..f3bdee98f3f 100755
2203 lt_cv_file_magic_cmd='$OBJDUMP -f' 2203 lt_cv_file_magic_cmd='$OBJDUMP -f'
2204 fi 2204 fi
2205 ;; 2205 ;;
2206@@ -6085,6 +6171,21 @@ esac 2206@@ -6083,6 +6169,21 @@ esac
2207 fi 2207 fi
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 2208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
2209 $as_echo "$lt_cv_deplibs_check_method" >&6; } 2209 $as_echo "$lt_cv_deplibs_check_method" >&6; }
@@ -2225,7 +2225,7 @@ index a1092735311..f3bdee98f3f 100755
2225 file_magic_cmd=$lt_cv_file_magic_cmd 2225 file_magic_cmd=$lt_cv_file_magic_cmd
2226 deplibs_check_method=$lt_cv_deplibs_check_method 2226 deplibs_check_method=$lt_cv_deplibs_check_method
2227 test -z "$deplibs_check_method" && deplibs_check_method=unknown 2227 test -z "$deplibs_check_method" && deplibs_check_method=unknown
2228@@ -6100,6 +6201,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown 2228@@ -6098,6 +6199,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
2229 2229
2230 2230
2231 2231
@@ -2383,7 +2383,7 @@ index a1092735311..f3bdee98f3f 100755
2383 plugin_option= 2383 plugin_option=
2384 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll" 2384 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
2385 for plugin in $plugin_names; do 2385 for plugin in $plugin_names; do
2386@@ -6114,8 +6366,10 @@ for plugin in $plugin_names; do 2386@@ -6112,8 +6364,10 @@ for plugin in $plugin_names; do
2387 done 2387 done
2388 2388
2389 if test -n "$ac_tool_prefix"; then 2389 if test -n "$ac_tool_prefix"; then
@@ -2396,7 +2396,7 @@ index a1092735311..f3bdee98f3f 100755
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2397 $as_echo_n "checking for $ac_word... " >&6; } 2397 $as_echo_n "checking for $ac_word... " >&6; }
2398 if ${ac_cv_prog_AR+:} false; then : 2398 if ${ac_cv_prog_AR+:} false; then :
2399@@ -6131,7 +6385,7 @@ do 2399@@ -6129,7 +6383,7 @@ do
2400 test -z "$as_dir" && as_dir=. 2400 test -z "$as_dir" && as_dir=.
2401 for ac_exec_ext in '' $ac_executable_extensions; do 2401 for ac_exec_ext in '' $ac_executable_extensions; do
2402 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2402 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -2405,7 +2405,7 @@ index a1092735311..f3bdee98f3f 100755
2405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2406 break 2 2406 break 2
2407 fi 2407 fi
2408@@ -6151,11 +6405,15 @@ $as_echo "no" >&6; } 2408@@ -6149,11 +6403,15 @@ $as_echo "no" >&6; }
2409 fi 2409 fi
2410 2410
2411 2411
@@ -2424,7 +2424,7 @@ index a1092735311..f3bdee98f3f 100755
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2425 $as_echo_n "checking for $ac_word... " >&6; } 2425 $as_echo_n "checking for $ac_word... " >&6; }
2426 if ${ac_cv_prog_ac_ct_AR+:} false; then : 2426 if ${ac_cv_prog_ac_ct_AR+:} false; then :
2427@@ -6171,7 +6429,7 @@ do 2427@@ -6169,7 +6427,7 @@ do
2428 test -z "$as_dir" && as_dir=. 2428 test -z "$as_dir" && as_dir=.
2429 for ac_exec_ext in '' $ac_executable_extensions; do 2429 for ac_exec_ext in '' $ac_executable_extensions; do
2430 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2430 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -2433,7 +2433,7 @@ index a1092735311..f3bdee98f3f 100755
2433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2434 break 2 2434 break 2
2435 fi 2435 fi
2436@@ -6190,6 +6448,10 @@ else 2436@@ -6188,6 +6446,10 @@ else
2437 $as_echo "no" >&6; } 2437 $as_echo "no" >&6; }
2438 fi 2438 fi
2439 2439
@@ -2444,7 +2444,7 @@ index a1092735311..f3bdee98f3f 100755
2444 if test "x$ac_ct_AR" = x; then 2444 if test "x$ac_ct_AR" = x; then
2445 AR="false" 2445 AR="false"
2446 else 2446 else
2447@@ -6201,25 +6463,19 @@ ac_tool_warned=yes ;; 2447@@ -6199,25 +6461,19 @@ ac_tool_warned=yes ;;
2448 esac 2448 esac
2449 AR=$ac_ct_AR 2449 AR=$ac_ct_AR
2450 fi 2450 fi
@@ -2479,7 +2479,7 @@ index a1092735311..f3bdee98f3f 100755
2479 2479
2480 2480
2481 2481
2482@@ -6231,6 +6487,64 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru 2482@@ -6229,6 +6485,64 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
2483 2483
2484 2484
2485 2485
@@ -2544,7 +2544,7 @@ index a1092735311..f3bdee98f3f 100755
2544 if test -n "$ac_tool_prefix"; then 2544 if test -n "$ac_tool_prefix"; then
2545 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2545 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2546 set dummy ${ac_tool_prefix}strip; ac_word=$2 2546 set dummy ${ac_tool_prefix}strip; ac_word=$2
2547@@ -6570,8 +6884,8 @@ esac 2547@@ -6568,8 +6882,8 @@ esac
2548 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 2548 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
2549 2549
2550 # Transform an extracted symbol line into symbol name and symbol address 2550 # Transform an extracted symbol line into symbol name and symbol address
@@ -2555,7 +2555,7 @@ index a1092735311..f3bdee98f3f 100755
2555 2555
2556 # Handle CRLF in mingw tool chain 2556 # Handle CRLF in mingw tool chain
2557 opt_cr= 2557 opt_cr=
2558@@ -6607,6 +6921,7 @@ for ac_symprfx in "" "_"; do 2558@@ -6605,6 +6919,7 @@ for ac_symprfx in "" "_"; do
2559 else 2559 else
2560 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 2560 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
2561 fi 2561 fi
@@ -2563,7 +2563,7 @@ index a1092735311..f3bdee98f3f 100755
2563 2563
2564 # Check to see that the pipe works correctly. 2564 # Check to see that the pipe works correctly.
2565 pipe_works=no 2565 pipe_works=no
2566@@ -6648,6 +6963,18 @@ _LT_EOF 2566@@ -6646,6 +6961,18 @@ _LT_EOF
2567 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 2567 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
2568 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 2568 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
2569 cat <<_LT_EOF > conftest.$ac_ext 2569 cat <<_LT_EOF > conftest.$ac_ext
@@ -2582,7 +2582,7 @@ index a1092735311..f3bdee98f3f 100755
2582 #ifdef __cplusplus 2582 #ifdef __cplusplus
2583 extern "C" { 2583 extern "C" {
2584 #endif 2584 #endif
2585@@ -6659,7 +6986,7 @@ _LT_EOF 2585@@ -6657,7 +6984,7 @@ _LT_EOF
2586 cat <<_LT_EOF >> conftest.$ac_ext 2586 cat <<_LT_EOF >> conftest.$ac_ext
2587 2587
2588 /* The mapping between symbol names and symbols. */ 2588 /* The mapping between symbol names and symbols. */
@@ -2591,7 +2591,7 @@ index a1092735311..f3bdee98f3f 100755
2591 const char *name; 2591 const char *name;
2592 void *address; 2592 void *address;
2593 } 2593 }
2594@@ -6685,8 +7012,8 @@ static const void *lt_preloaded_setup() { 2594@@ -6683,8 +7010,8 @@ static const void *lt_preloaded_setup() {
2595 _LT_EOF 2595 _LT_EOF
2596 # Now try linking the two files. 2596 # Now try linking the two files.
2597 mv conftest.$ac_objext conftstm.$ac_objext 2597 mv conftest.$ac_objext conftstm.$ac_objext
@@ -2602,7 +2602,7 @@ index a1092735311..f3bdee98f3f 100755
2602 LIBS="conftstm.$ac_objext" 2602 LIBS="conftstm.$ac_objext"
2603 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 2603 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
2604 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 2604 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
2605@@ -6696,8 +7023,8 @@ _LT_EOF 2605@@ -6694,8 +7021,8 @@ _LT_EOF
2606 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 2606 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
2607 pipe_works=yes 2607 pipe_works=yes
2608 fi 2608 fi
@@ -2613,7 +2613,7 @@ index a1092735311..f3bdee98f3f 100755
2613 else 2613 else
2614 echo "cannot find nm_test_func in $nlist" >&5 2614 echo "cannot find nm_test_func in $nlist" >&5
2615 fi 2615 fi
2616@@ -6734,6 +7061,18 @@ else 2616@@ -6732,6 +7059,18 @@ else
2617 $as_echo "ok" >&6; } 2617 $as_echo "ok" >&6; }
2618 fi 2618 fi
2619 2619
@@ -2632,7 +2632,7 @@ index a1092735311..f3bdee98f3f 100755
2632 2632
2633 2633
2634 2634
2635@@ -6750,6 +7089,43 @@ fi 2635@@ -6748,6 +7087,43 @@ fi
2636 2636
2637 2637
2638 2638
@@ -2676,7 +2676,7 @@ index a1092735311..f3bdee98f3f 100755
2676 2676
2677 2677
2678 2678
2679@@ -6961,6 +7337,123 @@ esac 2679@@ -6959,6 +7335,123 @@ esac
2680 2680
2681 need_locks="$enable_libtool_lock" 2681 need_locks="$enable_libtool_lock"
2682 2682
@@ -2800,7 +2800,7 @@ index a1092735311..f3bdee98f3f 100755
2800 2800
2801 case $host_os in 2801 case $host_os in
2802 rhapsody* | darwin*) 2802 rhapsody* | darwin*)
2803@@ -7524,6 +8017,8 @@ _LT_EOF 2803@@ -7522,6 +8015,8 @@ _LT_EOF
2804 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 2804 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
2805 echo "$AR cru libconftest.a conftest.o" >&5 2805 echo "$AR cru libconftest.a conftest.o" >&5
2806 $AR cru libconftest.a conftest.o 2>&5 2806 $AR cru libconftest.a conftest.o 2>&5
@@ -2809,7 +2809,7 @@ index a1092735311..f3bdee98f3f 100755
2809 cat > conftest.c << _LT_EOF 2809 cat > conftest.c << _LT_EOF
2810 int main() { return 0;} 2810 int main() { return 0;}
2811 _LT_EOF 2811 _LT_EOF
2812@@ -8108,8 +8603,6 @@ fi 2812@@ -8106,8 +8601,6 @@ fi
2813 lt_prog_compiler_pic= 2813 lt_prog_compiler_pic=
2814 lt_prog_compiler_static= 2814 lt_prog_compiler_static=
2815 2815
@@ -2818,7 +2818,7 @@ index a1092735311..f3bdee98f3f 100755
2818 2818
2819 if test "$GCC" = yes; then 2819 if test "$GCC" = yes; then
2820 lt_prog_compiler_wl='-Wl,' 2820 lt_prog_compiler_wl='-Wl,'
2821@@ -8275,6 +8768,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } 2821@@ -8273,6 +8766,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
2822 lt_prog_compiler_pic='--shared' 2822 lt_prog_compiler_pic='--shared'
2823 lt_prog_compiler_static='--static' 2823 lt_prog_compiler_static='--static'
2824 ;; 2824 ;;
@@ -2831,7 +2831,7 @@ index a1092735311..f3bdee98f3f 100755
2831 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 2831 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
2832 # Portland Group compilers (*not* the Pentium gcc compiler, 2832 # Portland Group compilers (*not* the Pentium gcc compiler,
2833 # which looks to be a dead project) 2833 # which looks to be a dead project)
2834@@ -8337,7 +8836,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } 2834@@ -8335,7 +8834,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
2835 lt_prog_compiler_pic='-KPIC' 2835 lt_prog_compiler_pic='-KPIC'
2836 lt_prog_compiler_static='-Bstatic' 2836 lt_prog_compiler_static='-Bstatic'
2837 case $cc_basename in 2837 case $cc_basename in
@@ -2840,7 +2840,7 @@ index a1092735311..f3bdee98f3f 100755
2840 lt_prog_compiler_wl='-Qoption ld ';; 2840 lt_prog_compiler_wl='-Qoption ld ';;
2841 *) 2841 *)
2842 lt_prog_compiler_wl='-Wl,';; 2842 lt_prog_compiler_wl='-Wl,';;
2843@@ -8394,13 +8893,17 @@ case $host_os in 2843@@ -8392,13 +8891,17 @@ case $host_os in
2844 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 2844 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
2845 ;; 2845 ;;
2846 esac 2846 esac
@@ -2864,7 +2864,7 @@ index a1092735311..f3bdee98f3f 100755
2864 2864
2865 # 2865 #
2866 # Check to make sure the PIC flag actually works. 2866 # Check to make sure the PIC flag actually works.
2867@@ -8461,6 +8964,11 @@ fi 2867@@ -8459,6 +8962,11 @@ fi
2868 2868
2869 2869
2870 2870
@@ -2876,7 +2876,7 @@ index a1092735311..f3bdee98f3f 100755
2876 # 2876 #
2877 # Check to make sure the static flag actually works. 2877 # Check to make sure the static flag actually works.
2878 # 2878 #
2879@@ -8811,7 +9319,8 @@ _LT_EOF 2879@@ -8809,7 +9317,8 @@ _LT_EOF
2880 allow_undefined_flag=unsupported 2880 allow_undefined_flag=unsupported
2881 always_export_symbols=no 2881 always_export_symbols=no
2882 enable_shared_with_static_runtimes=yes 2882 enable_shared_with_static_runtimes=yes
@@ -2886,7 +2886,7 @@ index a1092735311..f3bdee98f3f 100755
2886 2886
2887 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 2887 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
2888 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 2888 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
2889@@ -8910,12 +9419,12 @@ _LT_EOF 2889@@ -8908,12 +9417,12 @@ _LT_EOF
2890 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 2890 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
2891 hardcode_libdir_flag_spec= 2891 hardcode_libdir_flag_spec=
2892 hardcode_libdir_flag_spec_ld='-rpath $libdir' 2892 hardcode_libdir_flag_spec_ld='-rpath $libdir'
@@ -2901,7 +2901,7 @@ index a1092735311..f3bdee98f3f 100755
2901 fi 2901 fi
2902 ;; 2902 ;;
2903 esac 2903 esac
2904@@ -8929,8 +9438,8 @@ _LT_EOF 2904@@ -8927,8 +9436,8 @@ _LT_EOF
2905 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 2905 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
2906 wlarc= 2906 wlarc=
2907 else 2907 else
@@ -2912,7 +2912,7 @@ index a1092735311..f3bdee98f3f 100755
2912 fi 2912 fi
2913 ;; 2913 ;;
2914 2914
2915@@ -8948,8 +9457,8 @@ _LT_EOF 2915@@ -8946,8 +9455,8 @@ _LT_EOF
2916 2916
2917 _LT_EOF 2917 _LT_EOF
2918 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 2918 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -2923,7 +2923,7 @@ index a1092735311..f3bdee98f3f 100755
2923 else 2923 else
2924 ld_shlibs=no 2924 ld_shlibs=no
2925 fi 2925 fi
2926@@ -8995,8 +9504,8 @@ _LT_EOF 2926@@ -8993,8 +9502,8 @@ _LT_EOF
2927 2927
2928 *) 2928 *)
2929 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 2929 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -2934,7 +2934,7 @@ index a1092735311..f3bdee98f3f 100755
2934 else 2934 else
2935 ld_shlibs=no 2935 ld_shlibs=no
2936 fi 2936 fi
2937@@ -9126,7 +9635,13 @@ _LT_EOF 2937@@ -9124,7 +9633,13 @@ _LT_EOF
2938 allow_undefined_flag='-berok' 2938 allow_undefined_flag='-berok'
2939 # Determine the default libpath from the value encoded in an 2939 # Determine the default libpath from the value encoded in an
2940 # empty executable. 2940 # empty executable.
@@ -2949,7 +2949,7 @@ index a1092735311..f3bdee98f3f 100755
2949 /* end confdefs.h. */ 2949 /* end confdefs.h. */
2950 2950
2951 int 2951 int
2952@@ -9139,22 +9654,29 @@ main () 2952@@ -9137,22 +9652,29 @@ main ()
2953 _ACEOF 2953 _ACEOF
2954 if ac_fn_c_try_link "$LINENO"; then : 2954 if ac_fn_c_try_link "$LINENO"; then :
2955 2955
@@ -2992,7 +2992,7 @@ index a1092735311..f3bdee98f3f 100755
2992 2992
2993 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 2993 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
2994 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 2994 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
2995@@ -9166,7 +9688,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 2995@@ -9164,7 +9686,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
2996 else 2996 else
2997 # Determine the default libpath from the value encoded in an 2997 # Determine the default libpath from the value encoded in an
2998 # empty executable. 2998 # empty executable.
@@ -3007,7 +3007,7 @@ index a1092735311..f3bdee98f3f 100755
3007 /* end confdefs.h. */ 3007 /* end confdefs.h. */
3008 3008
3009 int 3009 int
3010@@ -9179,22 +9707,29 @@ main () 3010@@ -9177,22 +9705,29 @@ main ()
3011 _ACEOF 3011 _ACEOF
3012 if ac_fn_c_try_link "$LINENO"; then : 3012 if ac_fn_c_try_link "$LINENO"; then :
3013 3013
@@ -3050,7 +3050,7 @@ index a1092735311..f3bdee98f3f 100755
3050 3050
3051 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 3051 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
3052 # Warning - without using the other run time loading flags, 3052 # Warning - without using the other run time loading flags,
3053@@ -9239,20 +9774,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 3053@@ -9237,20 +9772,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
3054 # Microsoft Visual C++. 3054 # Microsoft Visual C++.
3055 # hardcode_libdir_flag_spec is actually meaningless, as there is 3055 # hardcode_libdir_flag_spec is actually meaningless, as there is
3056 # no search path for DLLs. 3056 # no search path for DLLs.
@@ -3128,7 +3128,7 @@ index a1092735311..f3bdee98f3f 100755
3128 ;; 3128 ;;
3129 3129
3130 darwin* | rhapsody*) 3130 darwin* | rhapsody*)
3131@@ -9313,7 +9891,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 3131@@ -9311,7 +9889,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
3132 3132
3133 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 3133 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
3134 freebsd* | dragonfly*) 3134 freebsd* | dragonfly*)
@@ -3137,7 +3137,7 @@ index a1092735311..f3bdee98f3f 100755
3137 hardcode_libdir_flag_spec='-R$libdir' 3137 hardcode_libdir_flag_spec='-R$libdir'
3138 hardcode_direct=yes 3138 hardcode_direct=yes
3139 hardcode_shlibpath_var=no 3139 hardcode_shlibpath_var=no
3140@@ -9321,7 +9899,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 3140@@ -9319,7 +9897,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
3141 3141
3142 hpux9*) 3142 hpux9*)
3143 if test "$GCC" = yes; then 3143 if test "$GCC" = yes; then
@@ -3146,7 +3146,7 @@ index a1092735311..f3bdee98f3f 100755
3146 else 3146 else
3147 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 3147 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
3148 fi 3148 fi
3149@@ -9337,7 +9915,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 3149@@ -9335,7 +9913,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
3150 3150
3151 hpux10*) 3151 hpux10*)
3152 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 3152 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -3155,7 +3155,7 @@ index a1092735311..f3bdee98f3f 100755
3155 else 3155 else
3156 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 3156 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
3157 fi 3157 fi
3158@@ -9361,10 +9939,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 3158@@ -9359,10 +9937,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
3159 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 3159 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
3160 ;; 3160 ;;
3161 ia64*) 3161 ia64*)
@@ -3168,7 +3168,7 @@ index a1092735311..f3bdee98f3f 100755
3168 ;; 3168 ;;
3169 esac 3169 esac
3170 else 3170 else
3171@@ -9443,23 +10021,36 @@ fi 3171@@ -9441,23 +10019,36 @@ fi
3172 3172
3173 irix5* | irix6* | nonstopux*) 3173 irix5* | irix6* | nonstopux*)
3174 if test "$GCC" = yes; then 3174 if test "$GCC" = yes; then
@@ -3213,7 +3213,7 @@ index a1092735311..f3bdee98f3f 100755
3213 else 3213 else
3214 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 3214 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
3215 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' 3215 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
3216@@ -9544,7 +10135,7 @@ rm -f core conftest.err conftest.$ac_objext \ 3216@@ -9542,7 +10133,7 @@ rm -f core conftest.err conftest.$ac_objext \
3217 osf4* | osf5*) # as osf3* with the addition of -msym flag 3217 osf4* | osf5*) # as osf3* with the addition of -msym flag
3218 if test "$GCC" = yes; then 3218 if test "$GCC" = yes; then
3219 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 3219 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
@@ -3222,7 +3222,7 @@ index a1092735311..f3bdee98f3f 100755
3222 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 3222 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
3223 else 3223 else
3224 allow_undefined_flag=' -expect_unresolved \*' 3224 allow_undefined_flag=' -expect_unresolved \*'
3225@@ -9563,9 +10154,9 @@ rm -f core conftest.err conftest.$ac_objext \ 3225@@ -9561,9 +10152,9 @@ rm -f core conftest.err conftest.$ac_objext \
3226 no_undefined_flag=' -z defs' 3226 no_undefined_flag=' -z defs'
3227 if test "$GCC" = yes; then 3227 if test "$GCC" = yes; then
3228 wlarc='${wl}' 3228 wlarc='${wl}'
@@ -3234,7 +3234,7 @@ index a1092735311..f3bdee98f3f 100755
3234 else 3234 else
3235 case `$CC -V 2>&1` in 3235 case `$CC -V 2>&1` in
3236 *"Compilers 5.0"*) 3236 *"Compilers 5.0"*)
3237@@ -10141,8 +10732,9 @@ cygwin* | mingw* | pw32* | cegcc*) 3237@@ -10139,8 +10730,9 @@ cygwin* | mingw* | pw32* | cegcc*)
3238 need_version=no 3238 need_version=no
3239 need_lib_prefix=no 3239 need_lib_prefix=no
3240 3240
@@ -3246,7 +3246,7 @@ index a1092735311..f3bdee98f3f 100755
3246 library_names_spec='$libname.dll.a' 3246 library_names_spec='$libname.dll.a'
3247 # DLL is installed to $(libdir)/../bin by postinstall_cmds 3247 # DLL is installed to $(libdir)/../bin by postinstall_cmds
3248 postinstall_cmds='base_file=`basename \${file}`~ 3248 postinstall_cmds='base_file=`basename \${file}`~
3249@@ -10175,13 +10767,71 @@ cygwin* | mingw* | pw32* | cegcc*) 3249@@ -10173,13 +10765,71 @@ cygwin* | mingw* | pw32* | cegcc*)
3250 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 3250 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
3251 ;; 3251 ;;
3252 esac 3252 esac
@@ -3319,16 +3319,16 @@ index a1092735311..f3bdee98f3f 100755
3319 # FIXME: first we should search . and the directory the executable is in 3319 # FIXME: first we should search . and the directory the executable is in
3320 shlibpath_var=PATH 3320 shlibpath_var=PATH
3321 ;; 3321 ;;
3322@@ -11083,7 +11733,7 @@ else 3322@@ -11081,7 +11731,7 @@ else
3323 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 3323 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
3324 lt_status=$lt_dlunknown 3324 lt_status=$lt_dlunknown
3325 cat > conftest.$ac_ext <<_LT_EOF 3325 cat > conftest.$ac_ext <<_LT_EOF
3326-#line 11086 "configure" 3326-#line 11084 "configure"
3327+#line $LINENO "configure" 3327+#line $LINENO "configure"
3328 #include "confdefs.h" 3328 #include "confdefs.h"
3329 3329
3330 #if HAVE_DLFCN_H 3330 #if HAVE_DLFCN_H
3331@@ -11127,10 +11777,10 @@ else 3331@@ -11125,10 +11775,10 @@ else
3332 /* When -fvisbility=hidden is used, assume the code has been annotated 3332 /* When -fvisbility=hidden is used, assume the code has been annotated
3333 correspondingly for the symbols needed. */ 3333 correspondingly for the symbols needed. */
3334 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 3334 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -3341,16 +3341,16 @@ index a1092735311..f3bdee98f3f 100755
3341 int main () 3341 int main ()
3342 { 3342 {
3343 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 3343 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
3344@@ -11189,7 +11839,7 @@ else 3344@@ -11187,7 +11837,7 @@ else
3345 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 3345 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
3346 lt_status=$lt_dlunknown 3346 lt_status=$lt_dlunknown
3347 cat > conftest.$ac_ext <<_LT_EOF 3347 cat > conftest.$ac_ext <<_LT_EOF
3348-#line 11192 "configure" 3348-#line 11190 "configure"
3349+#line $LINENO "configure" 3349+#line $LINENO "configure"
3350 #include "confdefs.h" 3350 #include "confdefs.h"
3351 3351
3352 #if HAVE_DLFCN_H 3352 #if HAVE_DLFCN_H
3353@@ -11233,10 +11883,10 @@ else 3353@@ -11231,10 +11881,10 @@ else
3354 /* When -fvisbility=hidden is used, assume the code has been annotated 3354 /* When -fvisbility=hidden is used, assume the code has been annotated
3355 correspondingly for the symbols needed. */ 3355 correspondingly for the symbols needed. */
3356 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 3356 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -3363,7 +3363,7 @@ index a1092735311..f3bdee98f3f 100755
3363 int main () 3363 int main ()
3364 { 3364 {
3365 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 3365 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
3366@@ -17390,13 +18040,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 3366@@ -17383,13 +18033,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
3367 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 3367 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
3368 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 3368 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
3369 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 3369 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -3384,7 +3384,7 @@ index a1092735311..f3bdee98f3f 100755
3384 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 3384 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
3385 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 3385 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
3386 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 3386 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
3387@@ -17411,14 +18068,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de 3387@@ -17404,14 +18061,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
3388 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 3388 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
3389 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 3389 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
3390 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' 3390 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
@@ -3403,7 +3403,7 @@ index a1092735311..f3bdee98f3f 100755
3403 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 3403 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
3404 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 3404 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
3405 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 3405 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
3406@@ -17451,12 +18111,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q 3406@@ -17444,12 +18104,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q
3407 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 3407 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
3408 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 3408 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
3409 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 3409 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -3417,7 +3417,7 @@ index a1092735311..f3bdee98f3f 100755
3417 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 3417 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
3418 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 3418 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
3419 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 3419 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
3420@@ -17511,8 +18171,13 @@ reload_flag \ 3420@@ -17504,8 +18164,13 @@ reload_flag \
3421 OBJDUMP \ 3421 OBJDUMP \
3422 deplibs_check_method \ 3422 deplibs_check_method \
3423 file_magic_cmd \ 3423 file_magic_cmd \
@@ -3431,7 +3431,7 @@ index a1092735311..f3bdee98f3f 100755
3431 STRIP \ 3431 STRIP \
3432 RANLIB \ 3432 RANLIB \
3433 CC \ 3433 CC \
3434@@ -17522,12 +18187,14 @@ lt_cv_sys_global_symbol_pipe \ 3434@@ -17515,12 +18180,14 @@ lt_cv_sys_global_symbol_pipe \
3435 lt_cv_sys_global_symbol_to_cdecl \ 3435 lt_cv_sys_global_symbol_to_cdecl \
3436 lt_cv_sys_global_symbol_to_c_name_address \ 3436 lt_cv_sys_global_symbol_to_c_name_address \
3437 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 3437 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -3447,7 +3447,7 @@ index a1092735311..f3bdee98f3f 100755
3447 DSYMUTIL \ 3447 DSYMUTIL \
3448 NMEDIT \ 3448 NMEDIT \
3449 LIPO \ 3449 LIPO \
3450@@ -17543,7 +18210,6 @@ no_undefined_flag \ 3450@@ -17536,7 +18203,6 @@ no_undefined_flag \
3451 hardcode_libdir_flag_spec \ 3451 hardcode_libdir_flag_spec \
3452 hardcode_libdir_flag_spec_ld \ 3452 hardcode_libdir_flag_spec_ld \
3453 hardcode_libdir_separator \ 3453 hardcode_libdir_separator \
@@ -3455,7 +3455,7 @@ index a1092735311..f3bdee98f3f 100755
3455 exclude_expsyms \ 3455 exclude_expsyms \
3456 include_expsyms \ 3456 include_expsyms \
3457 file_list_spec \ 3457 file_list_spec \
3458@@ -17579,6 +18245,7 @@ module_cmds \ 3458@@ -17572,6 +18238,7 @@ module_cmds \
3459 module_expsym_cmds \ 3459 module_expsym_cmds \
3460 export_symbols_cmds \ 3460 export_symbols_cmds \
3461 prelink_cmds \ 3461 prelink_cmds \
@@ -3463,7 +3463,7 @@ index a1092735311..f3bdee98f3f 100755
3463 postinstall_cmds \ 3463 postinstall_cmds \
3464 postuninstall_cmds \ 3464 postuninstall_cmds \
3465 finish_cmds \ 3465 finish_cmds \
3466@@ -18352,7 +19019,8 @@ $as_echo X"$file" | 3466@@ -18345,7 +19012,8 @@ $as_echo X"$file" |
3467 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 3467 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
3468 # 3468 #
3469 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 3469 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -3473,7 +3473,7 @@ index a1092735311..f3bdee98f3f 100755
3473 # Written by Gordon Matzigkeit, 1996 3473 # Written by Gordon Matzigkeit, 1996
3474 # 3474 #
3475 # This file is part of GNU Libtool. 3475 # This file is part of GNU Libtool.
3476@@ -18455,19 +19123,42 @@ SP2NL=$lt_lt_SP2NL 3476@@ -18448,19 +19116,42 @@ SP2NL=$lt_lt_SP2NL
3477 # turn newlines into spaces. 3477 # turn newlines into spaces.
3478 NL2SP=$lt_lt_NL2SP 3478 NL2SP=$lt_lt_NL2SP
3479 3479
@@ -3517,7 +3517,7 @@ index a1092735311..f3bdee98f3f 100755
3517 # A symbol stripping program. 3517 # A symbol stripping program.
3518 STRIP=$lt_STRIP 3518 STRIP=$lt_STRIP
3519 3519
3520@@ -18497,6 +19188,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 3520@@ -18490,6 +19181,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
3521 # Transform the output of nm in a C name address pair when lib prefix is needed. 3521 # Transform the output of nm in a C name address pair when lib prefix is needed.
3522 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 3522 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
3523 3523
@@ -3530,7 +3530,7 @@ index a1092735311..f3bdee98f3f 100755
3530 # The name of the directory that contains temporary libtool files. 3530 # The name of the directory that contains temporary libtool files.
3531 objdir=$objdir 3531 objdir=$objdir
3532 3532
3533@@ -18506,6 +19203,9 @@ MAGIC_CMD=$MAGIC_CMD 3533@@ -18499,6 +19196,9 @@ MAGIC_CMD=$MAGIC_CMD
3534 # Must we lock files when doing compilation? 3534 # Must we lock files when doing compilation?
3535 need_locks=$lt_need_locks 3535 need_locks=$lt_need_locks
3536 3536
@@ -3540,7 +3540,7 @@ index a1092735311..f3bdee98f3f 100755
3540 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. 3540 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
3541 DSYMUTIL=$lt_DSYMUTIL 3541 DSYMUTIL=$lt_DSYMUTIL
3542 3542
3543@@ -18620,12 +19320,12 @@ with_gcc=$GCC 3543@@ -18613,12 +19313,12 @@ with_gcc=$GCC
3544 # Compiler flag to turn off builtin functions. 3544 # Compiler flag to turn off builtin functions.
3545 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 3545 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
3546 3546
@@ -3556,7 +3556,7 @@ index a1092735311..f3bdee98f3f 100755
3556 # Compiler flag to prevent dynamic linking. 3556 # Compiler flag to prevent dynamic linking.
3557 link_static_flag=$lt_lt_prog_compiler_static 3557 link_static_flag=$lt_lt_prog_compiler_static
3558 3558
3559@@ -18712,9 +19412,6 @@ inherit_rpath=$inherit_rpath 3559@@ -18705,9 +19405,6 @@ inherit_rpath=$inherit_rpath
3560 # Whether libtool must link a program against all its dependency libraries. 3560 # Whether libtool must link a program against all its dependency libraries.
3561 link_all_deplibs=$link_all_deplibs 3561 link_all_deplibs=$link_all_deplibs
3562 3562
@@ -3566,7 +3566,7 @@ index a1092735311..f3bdee98f3f 100755
3566 # Set to "yes" if exported symbols are required. 3566 # Set to "yes" if exported symbols are required.
3567 always_export_symbols=$always_export_symbols 3567 always_export_symbols=$always_export_symbols
3568 3568
3569@@ -18730,6 +19427,9 @@ include_expsyms=$lt_include_expsyms 3569@@ -18723,6 +19420,9 @@ include_expsyms=$lt_include_expsyms
3570 # Commands necessary for linking programs (against libraries) with templates. 3570 # Commands necessary for linking programs (against libraries) with templates.
3571 prelink_cmds=$lt_prelink_cmds 3571 prelink_cmds=$lt_prelink_cmds
3572 3572
@@ -3576,7 +3576,7 @@ index a1092735311..f3bdee98f3f 100755
3576 # Specify filename containing input files. 3576 # Specify filename containing input files.
3577 file_list_spec=$lt_file_list_spec 3577 file_list_spec=$lt_file_list_spec
3578 3578
3579@@ -18762,210 +19462,169 @@ ltmain="$ac_aux_dir/ltmain.sh" 3579@@ -18755,210 +19455,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
3580 # if finds mixed CR/LF and LF-only lines. Since sed operates in 3580 # if finds mixed CR/LF and LF-only lines. Since sed operates in
3581 # text mode, it properly converts lines to CR/LF. This bash problem 3581 # text mode, it properly converts lines to CR/LF. This bash problem
3582 # is reportedly fixed, but why not run on old versions too? 3582 # is reportedly fixed, but why not run on old versions too?
@@ -3951,7 +3951,7 @@ index a1092735311..f3bdee98f3f 100755
3951 chmod +x "$ofile" 3951 chmod +x "$ofile"
3952 3952
3953diff --git a/gas/Makefile.in b/gas/Makefile.in 3953diff --git a/gas/Makefile.in b/gas/Makefile.in
3954index bc25765cb5b..c481d96a05a 100644 3954index 1f24d4a5bbc..0147b491612 100644
3955--- a/gas/Makefile.in 3955--- a/gas/Makefile.in
3956+++ b/gas/Makefile.in 3956+++ b/gas/Makefile.in
3957@@ -384,6 +384,7 @@ CYGPATH_W = @CYGPATH_W@ 3957@@ -384,6 +384,7 @@ CYGPATH_W = @CYGPATH_W@
@@ -3979,7 +3979,7 @@ index bc25765cb5b..c481d96a05a 100644
3979 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ 3979 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
3980 am__include = @am__include@ 3980 am__include = @am__include@
3981diff --git a/gas/configure b/gas/configure 3981diff --git a/gas/configure b/gas/configure
3982index 5f8c8493589..998727b6108 100755 3982index 085c87d564c..14b1dc0f121 100755
3983--- a/gas/configure 3983--- a/gas/configure
3984+++ b/gas/configure 3984+++ b/gas/configure
3985@@ -692,8 +692,11 @@ OTOOL 3985@@ -692,8 +692,11 @@ OTOOL
@@ -4002,7 +4002,7 @@ index 5f8c8493589..998727b6108 100755
4002 enable_libtool_lock 4002 enable_libtool_lock
4003 enable_plugins 4003 enable_plugins
4004 enable_largefile 4004 enable_largefile
4005@@ -1517,6 +1521,8 @@ Optional Packages: 4005@@ -1519,6 +1523,8 @@ Optional Packages:
4006 --with-pic try to use only PIC/non-PIC objects [default=use 4006 --with-pic try to use only PIC/non-PIC objects [default=use
4007 both] 4007 both]
4008 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 4008 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
@@ -5302,7 +5302,7 @@ index 5f8c8493589..998727b6108 100755
5302 int main () 5302 int main ()
5303 { 5303 {
5304 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 5304 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
5305@@ -17080,13 +17730,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 5305@@ -17049,13 +17699,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
5306 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 5306 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
5307 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 5307 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
5308 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 5308 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -5323,7 +5323,7 @@ index 5f8c8493589..998727b6108 100755
5323 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 5323 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
5324 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 5324 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
5325 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 5325 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
5326@@ -17101,14 +17758,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de 5326@@ -17070,14 +17727,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
5327 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 5327 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
5328 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 5328 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
5329 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' 5329 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
@@ -5342,7 +5342,7 @@ index 5f8c8493589..998727b6108 100755
5342 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 5342 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
5343 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 5343 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
5344 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 5344 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
5345@@ -17141,12 +17801,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q 5345@@ -17110,12 +17770,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q
5346 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 5346 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
5347 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 5347 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
5348 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 5348 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -5356,7 +5356,7 @@ index 5f8c8493589..998727b6108 100755
5356 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 5356 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
5357 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 5357 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
5358 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 5358 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
5359@@ -17201,8 +17861,13 @@ reload_flag \ 5359@@ -17170,8 +17830,13 @@ reload_flag \
5360 OBJDUMP \ 5360 OBJDUMP \
5361 deplibs_check_method \ 5361 deplibs_check_method \
5362 file_magic_cmd \ 5362 file_magic_cmd \
@@ -5370,7 +5370,7 @@ index 5f8c8493589..998727b6108 100755
5370 STRIP \ 5370 STRIP \
5371 RANLIB \ 5371 RANLIB \
5372 CC \ 5372 CC \
5373@@ -17212,12 +17877,14 @@ lt_cv_sys_global_symbol_pipe \ 5373@@ -17181,12 +17846,14 @@ lt_cv_sys_global_symbol_pipe \
5374 lt_cv_sys_global_symbol_to_cdecl \ 5374 lt_cv_sys_global_symbol_to_cdecl \
5375 lt_cv_sys_global_symbol_to_c_name_address \ 5375 lt_cv_sys_global_symbol_to_c_name_address \
5376 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 5376 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -5386,7 +5386,7 @@ index 5f8c8493589..998727b6108 100755
5386 DSYMUTIL \ 5386 DSYMUTIL \
5387 NMEDIT \ 5387 NMEDIT \
5388 LIPO \ 5388 LIPO \
5389@@ -17233,7 +17900,6 @@ no_undefined_flag \ 5389@@ -17202,7 +17869,6 @@ no_undefined_flag \
5390 hardcode_libdir_flag_spec \ 5390 hardcode_libdir_flag_spec \
5391 hardcode_libdir_flag_spec_ld \ 5391 hardcode_libdir_flag_spec_ld \
5392 hardcode_libdir_separator \ 5392 hardcode_libdir_separator \
@@ -5394,7 +5394,7 @@ index 5f8c8493589..998727b6108 100755
5394 exclude_expsyms \ 5394 exclude_expsyms \
5395 include_expsyms \ 5395 include_expsyms \
5396 file_list_spec \ 5396 file_list_spec \
5397@@ -17269,6 +17935,7 @@ module_cmds \ 5397@@ -17238,6 +17904,7 @@ module_cmds \
5398 module_expsym_cmds \ 5398 module_expsym_cmds \
5399 export_symbols_cmds \ 5399 export_symbols_cmds \
5400 prelink_cmds \ 5400 prelink_cmds \
@@ -5402,7 +5402,7 @@ index 5f8c8493589..998727b6108 100755
5402 postinstall_cmds \ 5402 postinstall_cmds \
5403 postuninstall_cmds \ 5403 postuninstall_cmds \
5404 finish_cmds \ 5404 finish_cmds \
5405@@ -18049,7 +18716,8 @@ $as_echo X"$file" | 5405@@ -18018,7 +18685,8 @@ $as_echo X"$file" |
5406 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 5406 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
5407 # 5407 #
5408 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 5408 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -5412,7 +5412,7 @@ index 5f8c8493589..998727b6108 100755
5412 # Written by Gordon Matzigkeit, 1996 5412 # Written by Gordon Matzigkeit, 1996
5413 # 5413 #
5414 # This file is part of GNU Libtool. 5414 # This file is part of GNU Libtool.
5415@@ -18152,19 +18820,42 @@ SP2NL=$lt_lt_SP2NL 5415@@ -18121,19 +18789,42 @@ SP2NL=$lt_lt_SP2NL
5416 # turn newlines into spaces. 5416 # turn newlines into spaces.
5417 NL2SP=$lt_lt_NL2SP 5417 NL2SP=$lt_lt_NL2SP
5418 5418
@@ -5456,7 +5456,7 @@ index 5f8c8493589..998727b6108 100755
5456 # A symbol stripping program. 5456 # A symbol stripping program.
5457 STRIP=$lt_STRIP 5457 STRIP=$lt_STRIP
5458 5458
5459@@ -18194,6 +18885,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 5459@@ -18163,6 +18854,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
5460 # Transform the output of nm in a C name address pair when lib prefix is needed. 5460 # Transform the output of nm in a C name address pair when lib prefix is needed.
5461 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 5461 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
5462 5462
@@ -5469,7 +5469,7 @@ index 5f8c8493589..998727b6108 100755
5469 # The name of the directory that contains temporary libtool files. 5469 # The name of the directory that contains temporary libtool files.
5470 objdir=$objdir 5470 objdir=$objdir
5471 5471
5472@@ -18203,6 +18900,9 @@ MAGIC_CMD=$MAGIC_CMD 5472@@ -18172,6 +18869,9 @@ MAGIC_CMD=$MAGIC_CMD
5473 # Must we lock files when doing compilation? 5473 # Must we lock files when doing compilation?
5474 need_locks=$lt_need_locks 5474 need_locks=$lt_need_locks
5475 5475
@@ -5479,7 +5479,7 @@ index 5f8c8493589..998727b6108 100755
5479 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. 5479 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
5480 DSYMUTIL=$lt_DSYMUTIL 5480 DSYMUTIL=$lt_DSYMUTIL
5481 5481
5482@@ -18317,12 +19017,12 @@ with_gcc=$GCC 5482@@ -18286,12 +18986,12 @@ with_gcc=$GCC
5483 # Compiler flag to turn off builtin functions. 5483 # Compiler flag to turn off builtin functions.
5484 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 5484 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
5485 5485
@@ -5495,7 +5495,7 @@ index 5f8c8493589..998727b6108 100755
5495 # Compiler flag to prevent dynamic linking. 5495 # Compiler flag to prevent dynamic linking.
5496 link_static_flag=$lt_lt_prog_compiler_static 5496 link_static_flag=$lt_lt_prog_compiler_static
5497 5497
5498@@ -18409,9 +19109,6 @@ inherit_rpath=$inherit_rpath 5498@@ -18378,9 +19078,6 @@ inherit_rpath=$inherit_rpath
5499 # Whether libtool must link a program against all its dependency libraries. 5499 # Whether libtool must link a program against all its dependency libraries.
5500 link_all_deplibs=$link_all_deplibs 5500 link_all_deplibs=$link_all_deplibs
5501 5501
@@ -5505,7 +5505,7 @@ index 5f8c8493589..998727b6108 100755
5505 # Set to "yes" if exported symbols are required. 5505 # Set to "yes" if exported symbols are required.
5506 always_export_symbols=$always_export_symbols 5506 always_export_symbols=$always_export_symbols
5507 5507
5508@@ -18427,6 +19124,9 @@ include_expsyms=$lt_include_expsyms 5508@@ -18396,6 +19093,9 @@ include_expsyms=$lt_include_expsyms
5509 # Commands necessary for linking programs (against libraries) with templates. 5509 # Commands necessary for linking programs (against libraries) with templates.
5510 prelink_cmds=$lt_prelink_cmds 5510 prelink_cmds=$lt_prelink_cmds
5511 5511
@@ -5515,7 +5515,7 @@ index 5f8c8493589..998727b6108 100755
5515 # Specify filename containing input files. 5515 # Specify filename containing input files.
5516 file_list_spec=$lt_file_list_spec 5516 file_list_spec=$lt_file_list_spec
5517 5517
5518@@ -18459,210 +19159,169 @@ ltmain="$ac_aux_dir/ltmain.sh" 5518@@ -18428,210 +19128,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
5519 # if finds mixed CR/LF and LF-only lines. Since sed operates in 5519 # if finds mixed CR/LF and LF-only lines. Since sed operates in
5520 # text mode, it properly converts lines to CR/LF. This bash problem 5520 # text mode, it properly converts lines to CR/LF. This bash problem
5521 # is reportedly fixed, but why not run on old versions too? 5521 # is reportedly fixed, but why not run on old versions too?
@@ -5890,7 +5890,7 @@ index 5f8c8493589..998727b6108 100755
5890 chmod +x "$ofile" 5890 chmod +x "$ofile"
5891 5891
5892diff --git a/gprof/Makefile.in b/gprof/Makefile.in 5892diff --git a/gprof/Makefile.in b/gprof/Makefile.in
5893index a7398231030..fc7a3d78db0 100644 5893index 93fb378149a..6744cb1ff8c 100644
5894--- a/gprof/Makefile.in 5894--- a/gprof/Makefile.in
5895+++ b/gprof/Makefile.in 5895+++ b/gprof/Makefile.in
5896@@ -327,6 +327,7 @@ CYGPATH_W = @CYGPATH_W@ 5896@@ -327,6 +327,7 @@ CYGPATH_W = @CYGPATH_W@
@@ -5918,7 +5918,7 @@ index a7398231030..fc7a3d78db0 100644
5918 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ 5918 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
5919 am__include = @am__include@ 5919 am__include = @am__include@
5920diff --git a/gprof/configure b/gprof/configure 5920diff --git a/gprof/configure b/gprof/configure
5921index 2d62b6fbb07..0cafee249eb 100755 5921index 47ed79d1df4..bfbf4c421f3 100755
5922--- a/gprof/configure 5922--- a/gprof/configure
5923+++ b/gprof/configure 5923+++ b/gprof/configure
5924@@ -669,8 +669,11 @@ OTOOL 5924@@ -669,8 +669,11 @@ OTOOL
@@ -5950,7 +5950,7 @@ index 2d62b6fbb07..0cafee249eb 100755
5950 5950
5951 Some influential environment variables: 5951 Some influential environment variables:
5952 CC C compiler command 5952 CC C compiler command
5953@@ -4530,8 +4536,8 @@ esac 5953@@ -4528,8 +4534,8 @@ esac
5954 5954
5955 5955
5956 5956
@@ -5961,7 +5961,7 @@ index 2d62b6fbb07..0cafee249eb 100755
5961 5961
5962 5962
5963 5963
5964@@ -4571,7 +4577,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 5964@@ -4569,7 +4575,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 5965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5966 $as_echo_n "checking how to print strings... " >&6; } 5966 $as_echo_n "checking how to print strings... " >&6; }
5967 # Test print first, because it will be a builtin if present. 5967 # Test print first, because it will be a builtin if present.
@@ -5970,7 +5970,7 @@ index 2d62b6fbb07..0cafee249eb 100755
5970 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 5970 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5971 ECHO='print -r --' 5971 ECHO='print -r --'
5972 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 5972 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5973@@ -5264,8 +5270,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; 5973@@ -5262,8 +5268,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
5974 # Try some XSI features 5974 # Try some XSI features
5975 xsi_shell=no 5975 xsi_shell=no
5976 ( _lt_dummy="a/b/c" 5976 ( _lt_dummy="a/b/c"
@@ -5981,7 +5981,7 @@ index 2d62b6fbb07..0cafee249eb 100755
5981 && eval 'test $(( 1 + 1 )) -eq 2 \ 5981 && eval 'test $(( 1 + 1 )) -eq 2 \
5982 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 5982 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5983 && xsi_shell=yes 5983 && xsi_shell=yes
5984@@ -5314,6 +5320,80 @@ esac 5984@@ -5312,6 +5318,80 @@ esac
5985 5985
5986 5986
5987 5987
@@ -6062,7 +6062,7 @@ index 2d62b6fbb07..0cafee249eb 100755
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 6062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6063 $as_echo_n "checking for $LD option to reload object files... " >&6; } 6063 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6064 if ${lt_cv_ld_reload_flag+:} false; then : 6064 if ${lt_cv_ld_reload_flag+:} false; then :
6065@@ -5330,6 +5410,11 @@ case $reload_flag in 6065@@ -5328,6 +5408,11 @@ case $reload_flag in
6066 esac 6066 esac
6067 reload_cmds='$LD$reload_flag -o $output$reload_objs' 6067 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6068 case $host_os in 6068 case $host_os in
@@ -6074,7 +6074,7 @@ index 2d62b6fbb07..0cafee249eb 100755
6074 darwin*) 6074 darwin*)
6075 if test "$GCC" = yes; then 6075 if test "$GCC" = yes; then
6076 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 6076 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6077@@ -5498,7 +5583,8 @@ mingw* | pw32*) 6077@@ -5496,7 +5581,8 @@ mingw* | pw32*)
6078 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6078 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6079 lt_cv_file_magic_cmd='func_win32_libid' 6079 lt_cv_file_magic_cmd='func_win32_libid'
6080 else 6080 else
@@ -6084,7 +6084,7 @@ index 2d62b6fbb07..0cafee249eb 100755
6084 lt_cv_file_magic_cmd='$OBJDUMP -f' 6084 lt_cv_file_magic_cmd='$OBJDUMP -f'
6085 fi 6085 fi
6086 ;; 6086 ;;
6087@@ -5657,6 +5743,21 @@ esac 6087@@ -5655,6 +5741,21 @@ esac
6088 fi 6088 fi
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6090 $as_echo "$lt_cv_deplibs_check_method" >&6; } 6090 $as_echo "$lt_cv_deplibs_check_method" >&6; }
@@ -6106,7 +6106,7 @@ index 2d62b6fbb07..0cafee249eb 100755
6106 file_magic_cmd=$lt_cv_file_magic_cmd 6106 file_magic_cmd=$lt_cv_file_magic_cmd
6107 deplibs_check_method=$lt_cv_deplibs_check_method 6107 deplibs_check_method=$lt_cv_deplibs_check_method
6108 test -z "$deplibs_check_method" && deplibs_check_method=unknown 6108 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6109@@ -5672,6 +5773,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown 6109@@ -5670,6 +5771,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
6110 6110
6111 6111
6112 6112
@@ -6264,7 +6264,7 @@ index 2d62b6fbb07..0cafee249eb 100755
6264 plugin_option= 6264 plugin_option=
6265 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll" 6265 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
6266 for plugin in $plugin_names; do 6266 for plugin in $plugin_names; do
6267@@ -5686,8 +5938,10 @@ for plugin in $plugin_names; do 6267@@ -5684,8 +5936,10 @@ for plugin in $plugin_names; do
6268 done 6268 done
6269 6269
6270 if test -n "$ac_tool_prefix"; then 6270 if test -n "$ac_tool_prefix"; then
@@ -6277,7 +6277,7 @@ index 2d62b6fbb07..0cafee249eb 100755
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6278 $as_echo_n "checking for $ac_word... " >&6; } 6278 $as_echo_n "checking for $ac_word... " >&6; }
6279 if ${ac_cv_prog_AR+:} false; then : 6279 if ${ac_cv_prog_AR+:} false; then :
6280@@ -5703,7 +5957,7 @@ do 6280@@ -5701,7 +5955,7 @@ do
6281 test -z "$as_dir" && as_dir=. 6281 test -z "$as_dir" && as_dir=.
6282 for ac_exec_ext in '' $ac_executable_extensions; do 6282 for ac_exec_ext in '' $ac_executable_extensions; do
6283 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6283 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -6286,7 +6286,7 @@ index 2d62b6fbb07..0cafee249eb 100755
6286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6287 break 2 6287 break 2
6288 fi 6288 fi
6289@@ -5723,11 +5977,15 @@ $as_echo "no" >&6; } 6289@@ -5721,11 +5975,15 @@ $as_echo "no" >&6; }
6290 fi 6290 fi
6291 6291
6292 6292
@@ -6305,7 +6305,7 @@ index 2d62b6fbb07..0cafee249eb 100755
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6306 $as_echo_n "checking for $ac_word... " >&6; } 6306 $as_echo_n "checking for $ac_word... " >&6; }
6307 if ${ac_cv_prog_ac_ct_AR+:} false; then : 6307 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6308@@ -5743,7 +6001,7 @@ do 6308@@ -5741,7 +5999,7 @@ do
6309 test -z "$as_dir" && as_dir=. 6309 test -z "$as_dir" && as_dir=.
6310 for ac_exec_ext in '' $ac_executable_extensions; do 6310 for ac_exec_ext in '' $ac_executable_extensions; do
6311 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6311 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -6314,7 +6314,7 @@ index 2d62b6fbb07..0cafee249eb 100755
6314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6315 break 2 6315 break 2
6316 fi 6316 fi
6317@@ -5762,6 +6020,10 @@ else 6317@@ -5760,6 +6018,10 @@ else
6318 $as_echo "no" >&6; } 6318 $as_echo "no" >&6; }
6319 fi 6319 fi
6320 6320
@@ -6325,7 +6325,7 @@ index 2d62b6fbb07..0cafee249eb 100755
6325 if test "x$ac_ct_AR" = x; then 6325 if test "x$ac_ct_AR" = x; then
6326 AR="false" 6326 AR="false"
6327 else 6327 else
6328@@ -5773,25 +6035,19 @@ ac_tool_warned=yes ;; 6328@@ -5771,25 +6033,19 @@ ac_tool_warned=yes ;;
6329 esac 6329 esac
6330 AR=$ac_ct_AR 6330 AR=$ac_ct_AR
6331 fi 6331 fi
@@ -6360,7 +6360,7 @@ index 2d62b6fbb07..0cafee249eb 100755
6360 6360
6361 6361
6362 6362
6363@@ -5803,6 +6059,64 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru 6363@@ -5801,6 +6057,64 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
6364 6364
6365 6365
6366 6366
@@ -6425,7 +6425,7 @@ index 2d62b6fbb07..0cafee249eb 100755
6425 if test -n "$ac_tool_prefix"; then 6425 if test -n "$ac_tool_prefix"; then
6426 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6426 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6427 set dummy ${ac_tool_prefix}strip; ac_word=$2 6427 set dummy ${ac_tool_prefix}strip; ac_word=$2
6428@@ -6142,8 +6456,8 @@ esac 6428@@ -6140,8 +6454,8 @@ esac
6429 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 6429 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6430 6430
6431 # Transform an extracted symbol line into symbol name and symbol address 6431 # Transform an extracted symbol line into symbol name and symbol address
@@ -6436,7 +6436,7 @@ index 2d62b6fbb07..0cafee249eb 100755
6436 6436
6437 # Handle CRLF in mingw tool chain 6437 # Handle CRLF in mingw tool chain
6438 opt_cr= 6438 opt_cr=
6439@@ -6179,6 +6493,7 @@ for ac_symprfx in "" "_"; do 6439@@ -6177,6 +6491,7 @@ for ac_symprfx in "" "_"; do
6440 else 6440 else
6441 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6441 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6442 fi 6442 fi
@@ -6444,7 +6444,7 @@ index 2d62b6fbb07..0cafee249eb 100755
6444 6444
6445 # Check to see that the pipe works correctly. 6445 # Check to see that the pipe works correctly.
6446 pipe_works=no 6446 pipe_works=no
6447@@ -6220,6 +6535,18 @@ _LT_EOF 6447@@ -6218,6 +6533,18 @@ _LT_EOF
6448 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6448 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6449 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6449 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6450 cat <<_LT_EOF > conftest.$ac_ext 6450 cat <<_LT_EOF > conftest.$ac_ext
@@ -6463,7 +6463,7 @@ index 2d62b6fbb07..0cafee249eb 100755
6463 #ifdef __cplusplus 6463 #ifdef __cplusplus
6464 extern "C" { 6464 extern "C" {
6465 #endif 6465 #endif
6466@@ -6231,7 +6558,7 @@ _LT_EOF 6466@@ -6229,7 +6556,7 @@ _LT_EOF
6467 cat <<_LT_EOF >> conftest.$ac_ext 6467 cat <<_LT_EOF >> conftest.$ac_ext
6468 6468
6469 /* The mapping between symbol names and symbols. */ 6469 /* The mapping between symbol names and symbols. */
@@ -6472,7 +6472,7 @@ index 2d62b6fbb07..0cafee249eb 100755
6472 const char *name; 6472 const char *name;
6473 void *address; 6473 void *address;
6474 } 6474 }
6475@@ -6257,8 +6584,8 @@ static const void *lt_preloaded_setup() { 6475@@ -6255,8 +6582,8 @@ static const void *lt_preloaded_setup() {
6476 _LT_EOF 6476 _LT_EOF
6477 # Now try linking the two files. 6477 # Now try linking the two files.
6478 mv conftest.$ac_objext conftstm.$ac_objext 6478 mv conftest.$ac_objext conftstm.$ac_objext
@@ -6483,7 +6483,7 @@ index 2d62b6fbb07..0cafee249eb 100755
6483 LIBS="conftstm.$ac_objext" 6483 LIBS="conftstm.$ac_objext"
6484 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6484 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6485 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6485 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6486@@ -6268,8 +6595,8 @@ _LT_EOF 6486@@ -6266,8 +6593,8 @@ _LT_EOF
6487 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 6487 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6488 pipe_works=yes 6488 pipe_works=yes
6489 fi 6489 fi
@@ -6494,7 +6494,7 @@ index 2d62b6fbb07..0cafee249eb 100755
6494 else 6494 else
6495 echo "cannot find nm_test_func in $nlist" >&5 6495 echo "cannot find nm_test_func in $nlist" >&5
6496 fi 6496 fi
6497@@ -6306,6 +6633,18 @@ else 6497@@ -6304,6 +6631,18 @@ else
6498 $as_echo "ok" >&6; } 6498 $as_echo "ok" >&6; }
6499 fi 6499 fi
6500 6500
@@ -6513,7 +6513,7 @@ index 2d62b6fbb07..0cafee249eb 100755
6513 6513
6514 6514
6515 6515
6516@@ -6322,6 +6661,43 @@ fi 6516@@ -6320,6 +6659,43 @@ fi
6517 6517
6518 6518
6519 6519
@@ -6557,7 +6557,7 @@ index 2d62b6fbb07..0cafee249eb 100755
6557 6557
6558 6558
6559 6559
6560@@ -6533,6 +6909,123 @@ esac 6560@@ -6531,6 +6907,123 @@ esac
6561 6561
6562 need_locks="$enable_libtool_lock" 6562 need_locks="$enable_libtool_lock"
6563 6563
@@ -6681,7 +6681,7 @@ index 2d62b6fbb07..0cafee249eb 100755
6681 6681
6682 case $host_os in 6682 case $host_os in
6683 rhapsody* | darwin*) 6683 rhapsody* | darwin*)
6684@@ -7096,6 +7589,8 @@ _LT_EOF 6684@@ -7094,6 +7587,8 @@ _LT_EOF
6685 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 6685 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6686 echo "$AR cru libconftest.a conftest.o" >&5 6686 echo "$AR cru libconftest.a conftest.o" >&5
6687 $AR cru libconftest.a conftest.o 2>&5 6687 $AR cru libconftest.a conftest.o 2>&5
@@ -6690,7 +6690,7 @@ index 2d62b6fbb07..0cafee249eb 100755
6690 cat > conftest.c << _LT_EOF 6690 cat > conftest.c << _LT_EOF
6691 int main() { return 0;} 6691 int main() { return 0;}
6692 _LT_EOF 6692 _LT_EOF
6693@@ -7680,8 +8175,6 @@ fi 6693@@ -7678,8 +8173,6 @@ fi
6694 lt_prog_compiler_pic= 6694 lt_prog_compiler_pic=
6695 lt_prog_compiler_static= 6695 lt_prog_compiler_static=
6696 6696
@@ -6699,7 +6699,7 @@ index 2d62b6fbb07..0cafee249eb 100755
6699 6699
6700 if test "$GCC" = yes; then 6700 if test "$GCC" = yes; then
6701 lt_prog_compiler_wl='-Wl,' 6701 lt_prog_compiler_wl='-Wl,'
6702@@ -7847,6 +8340,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } 6702@@ -7845,6 +8338,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
6703 lt_prog_compiler_pic='--shared' 6703 lt_prog_compiler_pic='--shared'
6704 lt_prog_compiler_static='--static' 6704 lt_prog_compiler_static='--static'
6705 ;; 6705 ;;
@@ -6712,7 +6712,7 @@ index 2d62b6fbb07..0cafee249eb 100755
6712 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 6712 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
6713 # Portland Group compilers (*not* the Pentium gcc compiler, 6713 # Portland Group compilers (*not* the Pentium gcc compiler,
6714 # which looks to be a dead project) 6714 # which looks to be a dead project)
6715@@ -7909,7 +8408,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } 6715@@ -7907,7 +8406,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
6716 lt_prog_compiler_pic='-KPIC' 6716 lt_prog_compiler_pic='-KPIC'
6717 lt_prog_compiler_static='-Bstatic' 6717 lt_prog_compiler_static='-Bstatic'
6718 case $cc_basename in 6718 case $cc_basename in
@@ -6721,7 +6721,7 @@ index 2d62b6fbb07..0cafee249eb 100755
6721 lt_prog_compiler_wl='-Qoption ld ';; 6721 lt_prog_compiler_wl='-Qoption ld ';;
6722 *) 6722 *)
6723 lt_prog_compiler_wl='-Wl,';; 6723 lt_prog_compiler_wl='-Wl,';;
6724@@ -7966,13 +8465,17 @@ case $host_os in 6724@@ -7964,13 +8463,17 @@ case $host_os in
6725 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 6725 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6726 ;; 6726 ;;
6727 esac 6727 esac
@@ -6745,7 +6745,7 @@ index 2d62b6fbb07..0cafee249eb 100755
6745 6745
6746 # 6746 #
6747 # Check to make sure the PIC flag actually works. 6747 # Check to make sure the PIC flag actually works.
6748@@ -8033,6 +8536,11 @@ fi 6748@@ -8031,6 +8534,11 @@ fi
6749 6749
6750 6750
6751 6751
@@ -6757,7 +6757,7 @@ index 2d62b6fbb07..0cafee249eb 100755
6757 # 6757 #
6758 # Check to make sure the static flag actually works. 6758 # Check to make sure the static flag actually works.
6759 # 6759 #
6760@@ -8383,7 +8891,8 @@ _LT_EOF 6760@@ -8381,7 +8889,8 @@ _LT_EOF
6761 allow_undefined_flag=unsupported 6761 allow_undefined_flag=unsupported
6762 always_export_symbols=no 6762 always_export_symbols=no
6763 enable_shared_with_static_runtimes=yes 6763 enable_shared_with_static_runtimes=yes
@@ -6767,7 +6767,7 @@ index 2d62b6fbb07..0cafee249eb 100755
6767 6767
6768 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 6768 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
6769 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 6769 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6770@@ -8482,12 +8991,12 @@ _LT_EOF 6770@@ -8480,12 +8989,12 @@ _LT_EOF
6771 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 6771 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
6772 hardcode_libdir_flag_spec= 6772 hardcode_libdir_flag_spec=
6773 hardcode_libdir_flag_spec_ld='-rpath $libdir' 6773 hardcode_libdir_flag_spec_ld='-rpath $libdir'
@@ -6782,7 +6782,7 @@ index 2d62b6fbb07..0cafee249eb 100755
6782 fi 6782 fi
6783 ;; 6783 ;;
6784 esac 6784 esac
6785@@ -8501,8 +9010,8 @@ _LT_EOF 6785@@ -8499,8 +9008,8 @@ _LT_EOF
6786 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 6786 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6787 wlarc= 6787 wlarc=
6788 else 6788 else
@@ -6793,7 +6793,7 @@ index 2d62b6fbb07..0cafee249eb 100755
6793 fi 6793 fi
6794 ;; 6794 ;;
6795 6795
6796@@ -8520,8 +9029,8 @@ _LT_EOF 6796@@ -8518,8 +9027,8 @@ _LT_EOF
6797 6797
6798 _LT_EOF 6798 _LT_EOF
6799 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 6799 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -6804,7 +6804,7 @@ index 2d62b6fbb07..0cafee249eb 100755
6804 else 6804 else
6805 ld_shlibs=no 6805 ld_shlibs=no
6806 fi 6806 fi
6807@@ -8567,8 +9076,8 @@ _LT_EOF 6807@@ -8565,8 +9074,8 @@ _LT_EOF
6808 6808
6809 *) 6809 *)
6810 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 6810 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -6815,7 +6815,7 @@ index 2d62b6fbb07..0cafee249eb 100755
6815 else 6815 else
6816 ld_shlibs=no 6816 ld_shlibs=no
6817 fi 6817 fi
6818@@ -8698,7 +9207,13 @@ _LT_EOF 6818@@ -8696,7 +9205,13 @@ _LT_EOF
6819 allow_undefined_flag='-berok' 6819 allow_undefined_flag='-berok'
6820 # Determine the default libpath from the value encoded in an 6820 # Determine the default libpath from the value encoded in an
6821 # empty executable. 6821 # empty executable.
@@ -6830,7 +6830,7 @@ index 2d62b6fbb07..0cafee249eb 100755
6830 /* end confdefs.h. */ 6830 /* end confdefs.h. */
6831 6831
6832 int 6832 int
6833@@ -8711,22 +9226,29 @@ main () 6833@@ -8709,22 +9224,29 @@ main ()
6834 _ACEOF 6834 _ACEOF
6835 if ac_fn_c_try_link "$LINENO"; then : 6835 if ac_fn_c_try_link "$LINENO"; then :
6836 6836
@@ -6873,7 +6873,7 @@ index 2d62b6fbb07..0cafee249eb 100755
6873 6873
6874 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 6874 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6875 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 6875 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
6876@@ -8738,7 +9260,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 6876@@ -8736,7 +9258,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6877 else 6877 else
6878 # Determine the default libpath from the value encoded in an 6878 # Determine the default libpath from the value encoded in an
6879 # empty executable. 6879 # empty executable.
@@ -6888,7 +6888,7 @@ index 2d62b6fbb07..0cafee249eb 100755
6888 /* end confdefs.h. */ 6888 /* end confdefs.h. */
6889 6889
6890 int 6890 int
6891@@ -8751,22 +9279,29 @@ main () 6891@@ -8749,22 +9277,29 @@ main ()
6892 _ACEOF 6892 _ACEOF
6893 if ac_fn_c_try_link "$LINENO"; then : 6893 if ac_fn_c_try_link "$LINENO"; then :
6894 6894
@@ -6931,7 +6931,7 @@ index 2d62b6fbb07..0cafee249eb 100755
6931 6931
6932 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 6932 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6933 # Warning - without using the other run time loading flags, 6933 # Warning - without using the other run time loading flags,
6934@@ -8811,20 +9346,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 6934@@ -8809,20 +9344,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6935 # Microsoft Visual C++. 6935 # Microsoft Visual C++.
6936 # hardcode_libdir_flag_spec is actually meaningless, as there is 6936 # hardcode_libdir_flag_spec is actually meaningless, as there is
6937 # no search path for DLLs. 6937 # no search path for DLLs.
@@ -7009,7 +7009,7 @@ index 2d62b6fbb07..0cafee249eb 100755
7009 ;; 7009 ;;
7010 7010
7011 darwin* | rhapsody*) 7011 darwin* | rhapsody*)
7012@@ -8885,7 +9463,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 7012@@ -8883,7 +9461,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7013 7013
7014 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 7014 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7015 freebsd* | dragonfly*) 7015 freebsd* | dragonfly*)
@@ -7018,7 +7018,7 @@ index 2d62b6fbb07..0cafee249eb 100755
7018 hardcode_libdir_flag_spec='-R$libdir' 7018 hardcode_libdir_flag_spec='-R$libdir'
7019 hardcode_direct=yes 7019 hardcode_direct=yes
7020 hardcode_shlibpath_var=no 7020 hardcode_shlibpath_var=no
7021@@ -8893,7 +9471,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 7021@@ -8891,7 +9469,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7022 7022
7023 hpux9*) 7023 hpux9*)
7024 if test "$GCC" = yes; then 7024 if test "$GCC" = yes; then
@@ -7027,7 +7027,7 @@ index 2d62b6fbb07..0cafee249eb 100755
7027 else 7027 else
7028 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 7028 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
7029 fi 7029 fi
7030@@ -8909,7 +9487,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 7030@@ -8907,7 +9485,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7031 7031
7032 hpux10*) 7032 hpux10*)
7033 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 7033 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -7036,7 +7036,7 @@ index 2d62b6fbb07..0cafee249eb 100755
7036 else 7036 else
7037 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 7037 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7038 fi 7038 fi
7039@@ -8933,10 +9511,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 7039@@ -8931,10 +9509,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7040 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 7040 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7041 ;; 7041 ;;
7042 ia64*) 7042 ia64*)
@@ -7049,7 +7049,7 @@ index 2d62b6fbb07..0cafee249eb 100755
7049 ;; 7049 ;;
7050 esac 7050 esac
7051 else 7051 else
7052@@ -9015,23 +9593,36 @@ fi 7052@@ -9013,23 +9591,36 @@ fi
7053 7053
7054 irix5* | irix6* | nonstopux*) 7054 irix5* | irix6* | nonstopux*)
7055 if test "$GCC" = yes; then 7055 if test "$GCC" = yes; then
@@ -7094,7 +7094,7 @@ index 2d62b6fbb07..0cafee249eb 100755
7094 else 7094 else
7095 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 7095 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
7096 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' 7096 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
7097@@ -9116,7 +9707,7 @@ rm -f core conftest.err conftest.$ac_objext \ 7097@@ -9114,7 +9705,7 @@ rm -f core conftest.err conftest.$ac_objext \
7098 osf4* | osf5*) # as osf3* with the addition of -msym flag 7098 osf4* | osf5*) # as osf3* with the addition of -msym flag
7099 if test "$GCC" = yes; then 7099 if test "$GCC" = yes; then
7100 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 7100 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
@@ -7103,7 +7103,7 @@ index 2d62b6fbb07..0cafee249eb 100755
7103 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 7103 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7104 else 7104 else
7105 allow_undefined_flag=' -expect_unresolved \*' 7105 allow_undefined_flag=' -expect_unresolved \*'
7106@@ -9135,9 +9726,9 @@ rm -f core conftest.err conftest.$ac_objext \ 7106@@ -9133,9 +9724,9 @@ rm -f core conftest.err conftest.$ac_objext \
7107 no_undefined_flag=' -z defs' 7107 no_undefined_flag=' -z defs'
7108 if test "$GCC" = yes; then 7108 if test "$GCC" = yes; then
7109 wlarc='${wl}' 7109 wlarc='${wl}'
@@ -7115,7 +7115,7 @@ index 2d62b6fbb07..0cafee249eb 100755
7115 else 7115 else
7116 case `$CC -V 2>&1` in 7116 case `$CC -V 2>&1` in
7117 *"Compilers 5.0"*) 7117 *"Compilers 5.0"*)
7118@@ -9713,8 +10304,9 @@ cygwin* | mingw* | pw32* | cegcc*) 7118@@ -9711,8 +10302,9 @@ cygwin* | mingw* | pw32* | cegcc*)
7119 need_version=no 7119 need_version=no
7120 need_lib_prefix=no 7120 need_lib_prefix=no
7121 7121
@@ -7127,7 +7127,7 @@ index 2d62b6fbb07..0cafee249eb 100755
7127 library_names_spec='$libname.dll.a' 7127 library_names_spec='$libname.dll.a'
7128 # DLL is installed to $(libdir)/../bin by postinstall_cmds 7128 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7129 postinstall_cmds='base_file=`basename \${file}`~ 7129 postinstall_cmds='base_file=`basename \${file}`~
7130@@ -9747,13 +10339,71 @@ cygwin* | mingw* | pw32* | cegcc*) 7130@@ -9745,13 +10337,71 @@ cygwin* | mingw* | pw32* | cegcc*)
7131 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 7131 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7132 ;; 7132 ;;
7133 esac 7133 esac
@@ -7200,16 +7200,16 @@ index 2d62b6fbb07..0cafee249eb 100755
7200 # FIXME: first we should search . and the directory the executable is in 7200 # FIXME: first we should search . and the directory the executable is in
7201 shlibpath_var=PATH 7201 shlibpath_var=PATH
7202 ;; 7202 ;;
7203@@ -10655,7 +11305,7 @@ else 7203@@ -10653,7 +11303,7 @@ else
7204 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7204 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7205 lt_status=$lt_dlunknown 7205 lt_status=$lt_dlunknown
7206 cat > conftest.$ac_ext <<_LT_EOF 7206 cat > conftest.$ac_ext <<_LT_EOF
7207-#line 10658 "configure" 7207-#line 10656 "configure"
7208+#line $LINENO "configure" 7208+#line $LINENO "configure"
7209 #include "confdefs.h" 7209 #include "confdefs.h"
7210 7210
7211 #if HAVE_DLFCN_H 7211 #if HAVE_DLFCN_H
7212@@ -10699,10 +11349,10 @@ else 7212@@ -10697,10 +11347,10 @@ else
7213 /* When -fvisbility=hidden is used, assume the code has been annotated 7213 /* When -fvisbility=hidden is used, assume the code has been annotated
7214 correspondingly for the symbols needed. */ 7214 correspondingly for the symbols needed. */
7215 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 7215 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -7222,16 +7222,16 @@ index 2d62b6fbb07..0cafee249eb 100755
7222 int main () 7222 int main ()
7223 { 7223 {
7224 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 7224 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
7225@@ -10761,7 +11411,7 @@ else 7225@@ -10759,7 +11409,7 @@ else
7226 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7226 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7227 lt_status=$lt_dlunknown 7227 lt_status=$lt_dlunknown
7228 cat > conftest.$ac_ext <<_LT_EOF 7228 cat > conftest.$ac_ext <<_LT_EOF
7229-#line 10764 "configure" 7229-#line 10762 "configure"
7230+#line $LINENO "configure" 7230+#line $LINENO "configure"
7231 #include "confdefs.h" 7231 #include "confdefs.h"
7232 7232
7233 #if HAVE_DLFCN_H 7233 #if HAVE_DLFCN_H
7234@@ -10805,10 +11455,10 @@ else 7234@@ -10803,10 +11453,10 @@ else
7235 /* When -fvisbility=hidden is used, assume the code has been annotated 7235 /* When -fvisbility=hidden is used, assume the code has been annotated
7236 correspondingly for the symbols needed. */ 7236 correspondingly for the symbols needed. */
7237 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 7237 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -7244,7 +7244,7 @@ index 2d62b6fbb07..0cafee249eb 100755
7244 int main () 7244 int main ()
7245 { 7245 {
7246 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 7246 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
7247@@ -14728,13 +15378,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 7247@@ -14726,13 +15376,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
7248 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 7248 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
7249 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 7249 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
7250 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 7250 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -7265,7 +7265,7 @@ index 2d62b6fbb07..0cafee249eb 100755
7265 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 7265 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
7266 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 7266 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
7267 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 7267 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
7268@@ -14749,14 +15406,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de 7268@@ -14747,14 +15404,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
7269 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 7269 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
7270 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 7270 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
7271 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' 7271 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
@@ -7284,7 +7284,7 @@ index 2d62b6fbb07..0cafee249eb 100755
7284 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 7284 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
7285 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 7285 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
7286 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 7286 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
7287@@ -14789,12 +15449,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q 7287@@ -14787,12 +15447,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q
7288 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 7288 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
7289 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 7289 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
7290 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 7290 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -7298,7 +7298,7 @@ index 2d62b6fbb07..0cafee249eb 100755
7298 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 7298 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
7299 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 7299 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
7300 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 7300 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
7301@@ -14849,8 +15509,13 @@ reload_flag \ 7301@@ -14847,8 +15507,13 @@ reload_flag \
7302 OBJDUMP \ 7302 OBJDUMP \
7303 deplibs_check_method \ 7303 deplibs_check_method \
7304 file_magic_cmd \ 7304 file_magic_cmd \
@@ -7312,7 +7312,7 @@ index 2d62b6fbb07..0cafee249eb 100755
7312 STRIP \ 7312 STRIP \
7313 RANLIB \ 7313 RANLIB \
7314 CC \ 7314 CC \
7315@@ -14860,12 +15525,14 @@ lt_cv_sys_global_symbol_pipe \ 7315@@ -14858,12 +15523,14 @@ lt_cv_sys_global_symbol_pipe \
7316 lt_cv_sys_global_symbol_to_cdecl \ 7316 lt_cv_sys_global_symbol_to_cdecl \
7317 lt_cv_sys_global_symbol_to_c_name_address \ 7317 lt_cv_sys_global_symbol_to_c_name_address \
7318 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 7318 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -7328,7 +7328,7 @@ index 2d62b6fbb07..0cafee249eb 100755
7328 DSYMUTIL \ 7328 DSYMUTIL \
7329 NMEDIT \ 7329 NMEDIT \
7330 LIPO \ 7330 LIPO \
7331@@ -14881,7 +15548,6 @@ no_undefined_flag \ 7331@@ -14879,7 +15546,6 @@ no_undefined_flag \
7332 hardcode_libdir_flag_spec \ 7332 hardcode_libdir_flag_spec \
7333 hardcode_libdir_flag_spec_ld \ 7333 hardcode_libdir_flag_spec_ld \
7334 hardcode_libdir_separator \ 7334 hardcode_libdir_separator \
@@ -7336,7 +7336,7 @@ index 2d62b6fbb07..0cafee249eb 100755
7336 exclude_expsyms \ 7336 exclude_expsyms \
7337 include_expsyms \ 7337 include_expsyms \
7338 file_list_spec \ 7338 file_list_spec \
7339@@ -14917,6 +15583,7 @@ module_cmds \ 7339@@ -14915,6 +15581,7 @@ module_cmds \
7340 module_expsym_cmds \ 7340 module_expsym_cmds \
7341 export_symbols_cmds \ 7341 export_symbols_cmds \
7342 prelink_cmds \ 7342 prelink_cmds \
@@ -7344,7 +7344,7 @@ index 2d62b6fbb07..0cafee249eb 100755
7344 postinstall_cmds \ 7344 postinstall_cmds \
7345 postuninstall_cmds \ 7345 postuninstall_cmds \
7346 finish_cmds \ 7346 finish_cmds \
7347@@ -15690,7 +16357,8 @@ $as_echo X"$file" | 7347@@ -15688,7 +16355,8 @@ $as_echo X"$file" |
7348 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 7348 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
7349 # 7349 #
7350 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 7350 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -7354,7 +7354,7 @@ index 2d62b6fbb07..0cafee249eb 100755
7354 # Written by Gordon Matzigkeit, 1996 7354 # Written by Gordon Matzigkeit, 1996
7355 # 7355 #
7356 # This file is part of GNU Libtool. 7356 # This file is part of GNU Libtool.
7357@@ -15793,19 +16461,42 @@ SP2NL=$lt_lt_SP2NL 7357@@ -15791,19 +16459,42 @@ SP2NL=$lt_lt_SP2NL
7358 # turn newlines into spaces. 7358 # turn newlines into spaces.
7359 NL2SP=$lt_lt_NL2SP 7359 NL2SP=$lt_lt_NL2SP
7360 7360
@@ -7398,7 +7398,7 @@ index 2d62b6fbb07..0cafee249eb 100755
7398 # A symbol stripping program. 7398 # A symbol stripping program.
7399 STRIP=$lt_STRIP 7399 STRIP=$lt_STRIP
7400 7400
7401@@ -15835,6 +16526,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 7401@@ -15833,6 +16524,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
7402 # Transform the output of nm in a C name address pair when lib prefix is needed. 7402 # Transform the output of nm in a C name address pair when lib prefix is needed.
7403 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 7403 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
7404 7404
@@ -7411,7 +7411,7 @@ index 2d62b6fbb07..0cafee249eb 100755
7411 # The name of the directory that contains temporary libtool files. 7411 # The name of the directory that contains temporary libtool files.
7412 objdir=$objdir 7412 objdir=$objdir
7413 7413
7414@@ -15844,6 +16541,9 @@ MAGIC_CMD=$MAGIC_CMD 7414@@ -15842,6 +16539,9 @@ MAGIC_CMD=$MAGIC_CMD
7415 # Must we lock files when doing compilation? 7415 # Must we lock files when doing compilation?
7416 need_locks=$lt_need_locks 7416 need_locks=$lt_need_locks
7417 7417
@@ -7421,7 +7421,7 @@ index 2d62b6fbb07..0cafee249eb 100755
7421 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. 7421 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
7422 DSYMUTIL=$lt_DSYMUTIL 7422 DSYMUTIL=$lt_DSYMUTIL
7423 7423
7424@@ -15958,12 +16658,12 @@ with_gcc=$GCC 7424@@ -15956,12 +16656,12 @@ with_gcc=$GCC
7425 # Compiler flag to turn off builtin functions. 7425 # Compiler flag to turn off builtin functions.
7426 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 7426 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
7427 7427
@@ -7437,7 +7437,7 @@ index 2d62b6fbb07..0cafee249eb 100755
7437 # Compiler flag to prevent dynamic linking. 7437 # Compiler flag to prevent dynamic linking.
7438 link_static_flag=$lt_lt_prog_compiler_static 7438 link_static_flag=$lt_lt_prog_compiler_static
7439 7439
7440@@ -16050,9 +16750,6 @@ inherit_rpath=$inherit_rpath 7440@@ -16048,9 +16748,6 @@ inherit_rpath=$inherit_rpath
7441 # Whether libtool must link a program against all its dependency libraries. 7441 # Whether libtool must link a program against all its dependency libraries.
7442 link_all_deplibs=$link_all_deplibs 7442 link_all_deplibs=$link_all_deplibs
7443 7443
@@ -7447,7 +7447,7 @@ index 2d62b6fbb07..0cafee249eb 100755
7447 # Set to "yes" if exported symbols are required. 7447 # Set to "yes" if exported symbols are required.
7448 always_export_symbols=$always_export_symbols 7448 always_export_symbols=$always_export_symbols
7449 7449
7450@@ -16068,6 +16765,9 @@ include_expsyms=$lt_include_expsyms 7450@@ -16066,6 +16763,9 @@ include_expsyms=$lt_include_expsyms
7451 # Commands necessary for linking programs (against libraries) with templates. 7451 # Commands necessary for linking programs (against libraries) with templates.
7452 prelink_cmds=$lt_prelink_cmds 7452 prelink_cmds=$lt_prelink_cmds
7453 7453
@@ -7457,7 +7457,7 @@ index 2d62b6fbb07..0cafee249eb 100755
7457 # Specify filename containing input files. 7457 # Specify filename containing input files.
7458 file_list_spec=$lt_file_list_spec 7458 file_list_spec=$lt_file_list_spec
7459 7459
7460@@ -16100,210 +16800,169 @@ ltmain="$ac_aux_dir/ltmain.sh" 7460@@ -16098,210 +16798,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
7461 # if finds mixed CR/LF and LF-only lines. Since sed operates in 7461 # if finds mixed CR/LF and LF-only lines. Since sed operates in
7462 # text mode, it properly converts lines to CR/LF. This bash problem 7462 # text mode, it properly converts lines to CR/LF. This bash problem
7463 # is reportedly fixed, but why not run on old versions too? 7463 # is reportedly fixed, but why not run on old versions too?
@@ -7832,10 +7832,10 @@ index 2d62b6fbb07..0cafee249eb 100755
7832 chmod +x "$ofile" 7832 chmod +x "$ofile"
7833 7833
7834diff --git a/gprofng/Makefile.in b/gprofng/Makefile.in 7834diff --git a/gprofng/Makefile.in b/gprofng/Makefile.in
7835index dbc868191b7..1ca6dd01f58 100644 7835index f770dac57c5..dbdfd96c5ff 100644
7836--- a/gprofng/Makefile.in 7836--- a/gprofng/Makefile.in
7837+++ b/gprofng/Makefile.in 7837+++ b/gprofng/Makefile.in
7838@@ -253,6 +253,7 @@ CXXFLAGS = @CXXFLAGS@ 7838@@ -254,6 +254,7 @@ CXXFLAGS = @CXXFLAGS@
7839 CYGPATH_W = @CYGPATH_W@ 7839 CYGPATH_W = @CYGPATH_W@
7840 DEFS = @DEFS@ 7840 DEFS = @DEFS@
7841 DEPDIR = @DEPDIR@ 7841 DEPDIR = @DEPDIR@
@@ -7843,7 +7843,7 @@ index dbc868191b7..1ca6dd01f58 100644
7843 DSYMUTIL = @DSYMUTIL@ 7843 DSYMUTIL = @DSYMUTIL@
7844 DUMPBIN = @DUMPBIN@ 7844 DUMPBIN = @DUMPBIN@
7845 ECHO_C = @ECHO_C@ 7845 ECHO_C = @ECHO_C@
7846@@ -289,6 +290,7 @@ LN_S = @LN_S@ 7846@@ -290,6 +291,7 @@ LN_S = @LN_S@
7847 LTLIBOBJS = @LTLIBOBJS@ 7847 LTLIBOBJS = @LTLIBOBJS@
7848 MAINT = @MAINT@ 7848 MAINT = @MAINT@
7849 MAKEINFO = @MAKEINFO@ 7849 MAKEINFO = @MAKEINFO@
@@ -7852,10 +7852,10 @@ index dbc868191b7..1ca6dd01f58 100644
7852 NM = @NM@ 7852 NM = @NM@
7853 NMEDIT = @NMEDIT@ 7853 NMEDIT = @NMEDIT@
7854diff --git a/gprofng/configure b/gprofng/configure 7854diff --git a/gprofng/configure b/gprofng/configure
7855index bdfa2281f2c..b6376eb3f77 100755 7855index 524dbe737ec..6aaed114536 100755
7856--- a/gprofng/configure 7856--- a/gprofng/configure
7857+++ b/gprofng/configure 7857+++ b/gprofng/configure
7858@@ -671,6 +671,8 @@ OTOOL 7858@@ -672,6 +672,8 @@ OTOOL
7859 LIPO 7859 LIPO
7860 NMEDIT 7860 NMEDIT
7861 DSYMUTIL 7861 DSYMUTIL
@@ -7864,7 +7864,7 @@ index bdfa2281f2c..b6376eb3f77 100755
7864 OBJDUMP 7864 OBJDUMP
7865 LN_S 7865 LN_S
7866 NM 7866 NM
7867@@ -801,6 +803,7 @@ enable_static 7867@@ -802,6 +804,7 @@ enable_static
7868 with_pic 7868 with_pic
7869 enable_fast_install 7869 enable_fast_install
7870 with_gnu_ld 7870 with_gnu_ld
@@ -7872,7 +7872,7 @@ index bdfa2281f2c..b6376eb3f77 100755
7872 enable_libtool_lock 7872 enable_libtool_lock
7873 enable_werror_always 7873 enable_werror_always
7874 enable_gprofng_tools 7874 enable_gprofng_tools
7875@@ -1464,6 +1467,8 @@ Optional Packages: 7875@@ -1465,6 +1468,8 @@ Optional Packages:
7876 --with-pic try to use only PIC/non-PIC objects [default=use 7876 --with-pic try to use only PIC/non-PIC objects [default=use
7877 both] 7877 both]
7878 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 7878 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
@@ -7881,7 +7881,7 @@ index bdfa2281f2c..b6376eb3f77 100755
7881 --with-jdk=PATH specify prefix directory for installed JDK. 7881 --with-jdk=PATH specify prefix directory for installed JDK.
7882 --with-system-zlib use installed libz 7882 --with-system-zlib use installed libz
7883 7883
7884@@ -6152,8 +6157,8 @@ esac 7884@@ -6153,8 +6158,8 @@ esac
7885 7885
7886 7886
7887 7887
@@ -7892,7 +7892,7 @@ index bdfa2281f2c..b6376eb3f77 100755
7892 7892
7893 7893
7894 7894
7895@@ -6193,7 +6198,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 7895@@ -6194,7 +6199,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 7896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
7897 $as_echo_n "checking how to print strings... " >&6; } 7897 $as_echo_n "checking how to print strings... " >&6; }
7898 # Test print first, because it will be a builtin if present. 7898 # Test print first, because it will be a builtin if present.
@@ -7901,7 +7901,7 @@ index bdfa2281f2c..b6376eb3f77 100755
7901 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 7901 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
7902 ECHO='print -r --' 7902 ECHO='print -r --'
7903 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 7903 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
7904@@ -6886,8 +6891,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; 7904@@ -6887,8 +6892,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
7905 # Try some XSI features 7905 # Try some XSI features
7906 xsi_shell=no 7906 xsi_shell=no
7907 ( _lt_dummy="a/b/c" 7907 ( _lt_dummy="a/b/c"
@@ -7912,7 +7912,7 @@ index bdfa2281f2c..b6376eb3f77 100755
7912 && eval 'test $(( 1 + 1 )) -eq 2 \ 7912 && eval 'test $(( 1 + 1 )) -eq 2 \
7913 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 7913 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7914 && xsi_shell=yes 7914 && xsi_shell=yes
7915@@ -6936,6 +6941,80 @@ esac 7915@@ -6937,6 +6942,80 @@ esac
7916 7916
7917 7917
7918 7918
@@ -7993,7 +7993,7 @@ index bdfa2281f2c..b6376eb3f77 100755
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 7993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7994 $as_echo_n "checking for $LD option to reload object files... " >&6; } 7994 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7995 if ${lt_cv_ld_reload_flag+:} false; then : 7995 if ${lt_cv_ld_reload_flag+:} false; then :
7996@@ -6952,6 +7031,11 @@ case $reload_flag in 7996@@ -6953,6 +7032,11 @@ case $reload_flag in
7997 esac 7997 esac
7998 reload_cmds='$LD$reload_flag -o $output$reload_objs' 7998 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7999 case $host_os in 7999 case $host_os in
@@ -8005,7 +8005,7 @@ index bdfa2281f2c..b6376eb3f77 100755
8005 darwin*) 8005 darwin*)
8006 if test "$GCC" = yes; then 8006 if test "$GCC" = yes; then
8007 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 8007 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
8008@@ -7120,7 +7204,8 @@ mingw* | pw32*) 8008@@ -7121,7 +7205,8 @@ mingw* | pw32*)
8009 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 8009 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8010 lt_cv_file_magic_cmd='func_win32_libid' 8010 lt_cv_file_magic_cmd='func_win32_libid'
8011 else 8011 else
@@ -8015,7 +8015,7 @@ index bdfa2281f2c..b6376eb3f77 100755
8015 lt_cv_file_magic_cmd='$OBJDUMP -f' 8015 lt_cv_file_magic_cmd='$OBJDUMP -f'
8016 fi 8016 fi
8017 ;; 8017 ;;
8018@@ -7279,6 +7364,21 @@ esac 8018@@ -7280,6 +7365,21 @@ esac
8019 fi 8019 fi
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 8020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
8021 $as_echo "$lt_cv_deplibs_check_method" >&6; } 8021 $as_echo "$lt_cv_deplibs_check_method" >&6; }
@@ -8037,7 +8037,7 @@ index bdfa2281f2c..b6376eb3f77 100755
8037 file_magic_cmd=$lt_cv_file_magic_cmd 8037 file_magic_cmd=$lt_cv_file_magic_cmd
8038 deplibs_check_method=$lt_cv_deplibs_check_method 8038 deplibs_check_method=$lt_cv_deplibs_check_method
8039 test -z "$deplibs_check_method" && deplibs_check_method=unknown 8039 test -z "$deplibs_check_method" && deplibs_check_method=unknown
8040@@ -7294,6 +7394,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown 8040@@ -7295,6 +7395,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
8041 8041
8042 8042
8043 8043
@@ -8195,7 +8195,7 @@ index bdfa2281f2c..b6376eb3f77 100755
8195 plugin_option= 8195 plugin_option=
8196 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll" 8196 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
8197 for plugin in $plugin_names; do 8197 for plugin in $plugin_names; do
8198@@ -7308,8 +7559,10 @@ for plugin in $plugin_names; do 8198@@ -7309,8 +7560,10 @@ for plugin in $plugin_names; do
8199 done 8199 done
8200 8200
8201 if test -n "$ac_tool_prefix"; then 8201 if test -n "$ac_tool_prefix"; then
@@ -8208,7 +8208,7 @@ index bdfa2281f2c..b6376eb3f77 100755
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8209 $as_echo_n "checking for $ac_word... " >&6; } 8209 $as_echo_n "checking for $ac_word... " >&6; }
8210 if ${ac_cv_prog_AR+:} false; then : 8210 if ${ac_cv_prog_AR+:} false; then :
8211@@ -7325,7 +7578,7 @@ do 8211@@ -7326,7 +7579,7 @@ do
8212 test -z "$as_dir" && as_dir=. 8212 test -z "$as_dir" && as_dir=.
8213 for ac_exec_ext in '' $ac_executable_extensions; do 8213 for ac_exec_ext in '' $ac_executable_extensions; do
8214 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8214 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -8217,7 +8217,7 @@ index bdfa2281f2c..b6376eb3f77 100755
8217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8218 break 2 8218 break 2
8219 fi 8219 fi
8220@@ -7345,11 +7598,15 @@ $as_echo "no" >&6; } 8220@@ -7346,11 +7599,15 @@ $as_echo "no" >&6; }
8221 fi 8221 fi
8222 8222
8223 8223
@@ -8236,7 +8236,7 @@ index bdfa2281f2c..b6376eb3f77 100755
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8237 $as_echo_n "checking for $ac_word... " >&6; } 8237 $as_echo_n "checking for $ac_word... " >&6; }
8238 if ${ac_cv_prog_ac_ct_AR+:} false; then : 8238 if ${ac_cv_prog_ac_ct_AR+:} false; then :
8239@@ -7365,7 +7622,7 @@ do 8239@@ -7366,7 +7623,7 @@ do
8240 test -z "$as_dir" && as_dir=. 8240 test -z "$as_dir" && as_dir=.
8241 for ac_exec_ext in '' $ac_executable_extensions; do 8241 for ac_exec_ext in '' $ac_executable_extensions; do
8242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -8245,7 +8245,7 @@ index bdfa2281f2c..b6376eb3f77 100755
8245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8246 break 2 8246 break 2
8247 fi 8247 fi
8248@@ -7384,6 +7641,10 @@ else 8248@@ -7385,6 +7642,10 @@ else
8249 $as_echo "no" >&6; } 8249 $as_echo "no" >&6; }
8250 fi 8250 fi
8251 8251
@@ -8256,7 +8256,7 @@ index bdfa2281f2c..b6376eb3f77 100755
8256 if test "x$ac_ct_AR" = x; then 8256 if test "x$ac_ct_AR" = x; then
8257 AR="false" 8257 AR="false"
8258 else 8258 else
8259@@ -7395,25 +7656,19 @@ ac_tool_warned=yes ;; 8259@@ -7396,25 +7657,19 @@ ac_tool_warned=yes ;;
8260 esac 8260 esac
8261 AR=$ac_ct_AR 8261 AR=$ac_ct_AR
8262 fi 8262 fi
@@ -8291,7 +8291,7 @@ index bdfa2281f2c..b6376eb3f77 100755
8291 8291
8292 8292
8293 8293
8294@@ -7425,6 +7680,64 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru 8294@@ -7426,6 +7681,64 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
8295 8295
8296 8296
8297 8297
@@ -8356,7 +8356,7 @@ index bdfa2281f2c..b6376eb3f77 100755
8356 if test -n "$ac_tool_prefix"; then 8356 if test -n "$ac_tool_prefix"; then
8357 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 8357 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8358 set dummy ${ac_tool_prefix}strip; ac_word=$2 8358 set dummy ${ac_tool_prefix}strip; ac_word=$2
8359@@ -7764,8 +8077,8 @@ esac 8359@@ -7765,8 +8078,8 @@ esac
8360 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 8360 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8361 8361
8362 # Transform an extracted symbol line into symbol name and symbol address 8362 # Transform an extracted symbol line into symbol name and symbol address
@@ -8367,7 +8367,7 @@ index bdfa2281f2c..b6376eb3f77 100755
8367 8367
8368 # Handle CRLF in mingw tool chain 8368 # Handle CRLF in mingw tool chain
8369 opt_cr= 8369 opt_cr=
8370@@ -7801,6 +8114,7 @@ for ac_symprfx in "" "_"; do 8370@@ -7802,6 +8115,7 @@ for ac_symprfx in "" "_"; do
8371 else 8371 else
8372 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 8372 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8373 fi 8373 fi
@@ -8375,7 +8375,7 @@ index bdfa2281f2c..b6376eb3f77 100755
8375 8375
8376 # Check to see that the pipe works correctly. 8376 # Check to see that the pipe works correctly.
8377 pipe_works=no 8377 pipe_works=no
8378@@ -7842,6 +8156,18 @@ _LT_EOF 8378@@ -7843,6 +8157,18 @@ _LT_EOF
8379 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 8379 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8380 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 8380 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8381 cat <<_LT_EOF > conftest.$ac_ext 8381 cat <<_LT_EOF > conftest.$ac_ext
@@ -8394,7 +8394,7 @@ index bdfa2281f2c..b6376eb3f77 100755
8394 #ifdef __cplusplus 8394 #ifdef __cplusplus
8395 extern "C" { 8395 extern "C" {
8396 #endif 8396 #endif
8397@@ -7853,7 +8179,7 @@ _LT_EOF 8397@@ -7854,7 +8180,7 @@ _LT_EOF
8398 cat <<_LT_EOF >> conftest.$ac_ext 8398 cat <<_LT_EOF >> conftest.$ac_ext
8399 8399
8400 /* The mapping between symbol names and symbols. */ 8400 /* The mapping between symbol names and symbols. */
@@ -8403,7 +8403,7 @@ index bdfa2281f2c..b6376eb3f77 100755
8403 const char *name; 8403 const char *name;
8404 void *address; 8404 void *address;
8405 } 8405 }
8406@@ -7879,8 +8205,8 @@ static const void *lt_preloaded_setup() { 8406@@ -7880,8 +8206,8 @@ static const void *lt_preloaded_setup() {
8407 _LT_EOF 8407 _LT_EOF
8408 # Now try linking the two files. 8408 # Now try linking the two files.
8409 mv conftest.$ac_objext conftstm.$ac_objext 8409 mv conftest.$ac_objext conftstm.$ac_objext
@@ -8414,7 +8414,7 @@ index bdfa2281f2c..b6376eb3f77 100755
8414 LIBS="conftstm.$ac_objext" 8414 LIBS="conftstm.$ac_objext"
8415 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 8415 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8416 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 8416 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8417@@ -7890,8 +8216,8 @@ _LT_EOF 8417@@ -7891,8 +8217,8 @@ _LT_EOF
8418 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 8418 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8419 pipe_works=yes 8419 pipe_works=yes
8420 fi 8420 fi
@@ -8425,7 +8425,7 @@ index bdfa2281f2c..b6376eb3f77 100755
8425 else 8425 else
8426 echo "cannot find nm_test_func in $nlist" >&5 8426 echo "cannot find nm_test_func in $nlist" >&5
8427 fi 8427 fi
8428@@ -7928,6 +8254,14 @@ else 8428@@ -7929,6 +8255,14 @@ else
8429 $as_echo "ok" >&6; } 8429 $as_echo "ok" >&6; }
8430 fi 8430 fi
8431 8431
@@ -8440,7 +8440,7 @@ index bdfa2281f2c..b6376eb3f77 100755
8440 8440
8441 8441
8442 8442
8443@@ -7946,6 +8280,47 @@ fi 8443@@ -7947,6 +8281,47 @@ fi
8444 8444
8445 8445
8446 8446
@@ -8488,7 +8488,7 @@ index bdfa2281f2c..b6376eb3f77 100755
8488 8488
8489 8489
8490 8490
8491@@ -8155,6 +8530,123 @@ esac 8491@@ -8156,6 +8531,123 @@ esac
8492 8492
8493 need_locks="$enable_libtool_lock" 8493 need_locks="$enable_libtool_lock"
8494 8494
@@ -8612,7 +8612,7 @@ index bdfa2281f2c..b6376eb3f77 100755
8612 8612
8613 case $host_os in 8613 case $host_os in
8614 rhapsody* | darwin*) 8614 rhapsody* | darwin*)
8615@@ -8718,6 +9210,8 @@ _LT_EOF 8615@@ -8719,6 +9211,8 @@ _LT_EOF
8616 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 8616 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8617 echo "$AR cru libconftest.a conftest.o" >&5 8617 echo "$AR cru libconftest.a conftest.o" >&5
8618 $AR cru libconftest.a conftest.o 2>&5 8618 $AR cru libconftest.a conftest.o 2>&5
@@ -8621,7 +8621,7 @@ index bdfa2281f2c..b6376eb3f77 100755
8621 cat > conftest.c << _LT_EOF 8621 cat > conftest.c << _LT_EOF
8622 int main() { return 0;} 8622 int main() { return 0;}
8623 _LT_EOF 8623 _LT_EOF
8624@@ -8788,6 +9282,16 @@ done 8624@@ -8789,6 +9283,16 @@ done
8625 8625
8626 8626
8627 8627
@@ -8638,7 +8638,7 @@ index bdfa2281f2c..b6376eb3f77 100755
8638 8638
8639 8639
8640 # Set options 8640 # Set options
8641@@ -9273,8 +9777,6 @@ fi 8641@@ -9274,8 +9778,6 @@ fi
8642 lt_prog_compiler_pic= 8642 lt_prog_compiler_pic=
8643 lt_prog_compiler_static= 8643 lt_prog_compiler_static=
8644 8644
@@ -8647,7 +8647,7 @@ index bdfa2281f2c..b6376eb3f77 100755
8647 8647
8648 if test "$GCC" = yes; then 8648 if test "$GCC" = yes; then
8649 lt_prog_compiler_wl='-Wl,' 8649 lt_prog_compiler_wl='-Wl,'
8650@@ -9440,6 +9942,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } 8650@@ -9441,6 +9943,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8651 lt_prog_compiler_pic='--shared' 8651 lt_prog_compiler_pic='--shared'
8652 lt_prog_compiler_static='--static' 8652 lt_prog_compiler_static='--static'
8653 ;; 8653 ;;
@@ -8660,7 +8660,7 @@ index bdfa2281f2c..b6376eb3f77 100755
8660 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 8660 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8661 # Portland Group compilers (*not* the Pentium gcc compiler, 8661 # Portland Group compilers (*not* the Pentium gcc compiler,
8662 # which looks to be a dead project) 8662 # which looks to be a dead project)
8663@@ -9502,7 +10010,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } 8663@@ -9503,7 +10011,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8664 lt_prog_compiler_pic='-KPIC' 8664 lt_prog_compiler_pic='-KPIC'
8665 lt_prog_compiler_static='-Bstatic' 8665 lt_prog_compiler_static='-Bstatic'
8666 case $cc_basename in 8666 case $cc_basename in
@@ -8669,7 +8669,7 @@ index bdfa2281f2c..b6376eb3f77 100755
8669 lt_prog_compiler_wl='-Qoption ld ';; 8669 lt_prog_compiler_wl='-Qoption ld ';;
8670 *) 8670 *)
8671 lt_prog_compiler_wl='-Wl,';; 8671 lt_prog_compiler_wl='-Wl,';;
8672@@ -9559,13 +10067,17 @@ case $host_os in 8672@@ -9560,13 +10068,17 @@ case $host_os in
8673 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 8673 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8674 ;; 8674 ;;
8675 esac 8675 esac
@@ -8693,7 +8693,7 @@ index bdfa2281f2c..b6376eb3f77 100755
8693 8693
8694 # 8694 #
8695 # Check to make sure the PIC flag actually works. 8695 # Check to make sure the PIC flag actually works.
8696@@ -9626,6 +10138,11 @@ fi 8696@@ -9627,6 +10139,11 @@ fi
8697 8697
8698 8698
8699 8699
@@ -8705,7 +8705,7 @@ index bdfa2281f2c..b6376eb3f77 100755
8705 # 8705 #
8706 # Check to make sure the static flag actually works. 8706 # Check to make sure the static flag actually works.
8707 # 8707 #
8708@@ -9976,7 +10493,8 @@ _LT_EOF 8708@@ -9977,7 +10494,8 @@ _LT_EOF
8709 allow_undefined_flag=unsupported 8709 allow_undefined_flag=unsupported
8710 always_export_symbols=no 8710 always_export_symbols=no
8711 enable_shared_with_static_runtimes=yes 8711 enable_shared_with_static_runtimes=yes
@@ -8715,7 +8715,7 @@ index bdfa2281f2c..b6376eb3f77 100755
8715 8715
8716 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 8716 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8717 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8717 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8718@@ -10075,12 +10593,12 @@ _LT_EOF 8718@@ -10076,12 +10594,12 @@ _LT_EOF
8719 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 8719 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8720 hardcode_libdir_flag_spec= 8720 hardcode_libdir_flag_spec=
8721 hardcode_libdir_flag_spec_ld='-rpath $libdir' 8721 hardcode_libdir_flag_spec_ld='-rpath $libdir'
@@ -8730,7 +8730,7 @@ index bdfa2281f2c..b6376eb3f77 100755
8730 fi 8730 fi
8731 ;; 8731 ;;
8732 esac 8732 esac
8733@@ -10094,8 +10612,8 @@ _LT_EOF 8733@@ -10095,8 +10613,8 @@ _LT_EOF
8734 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 8734 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8735 wlarc= 8735 wlarc=
8736 else 8736 else
@@ -8741,7 +8741,7 @@ index bdfa2281f2c..b6376eb3f77 100755
8741 fi 8741 fi
8742 ;; 8742 ;;
8743 8743
8744@@ -10113,8 +10631,8 @@ _LT_EOF 8744@@ -10114,8 +10632,8 @@ _LT_EOF
8745 8745
8746 _LT_EOF 8746 _LT_EOF
8747 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8747 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -8752,7 +8752,7 @@ index bdfa2281f2c..b6376eb3f77 100755
8752 else 8752 else
8753 ld_shlibs=no 8753 ld_shlibs=no
8754 fi 8754 fi
8755@@ -10160,8 +10678,8 @@ _LT_EOF 8755@@ -10161,8 +10679,8 @@ _LT_EOF
8756 8756
8757 *) 8757 *)
8758 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8758 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -8763,7 +8763,7 @@ index bdfa2281f2c..b6376eb3f77 100755
8763 else 8763 else
8764 ld_shlibs=no 8764 ld_shlibs=no
8765 fi 8765 fi
8766@@ -10291,7 +10809,13 @@ _LT_EOF 8766@@ -10292,7 +10810,13 @@ _LT_EOF
8767 allow_undefined_flag='-berok' 8767 allow_undefined_flag='-berok'
8768 # Determine the default libpath from the value encoded in an 8768 # Determine the default libpath from the value encoded in an
8769 # empty executable. 8769 # empty executable.
@@ -8778,7 +8778,7 @@ index bdfa2281f2c..b6376eb3f77 100755
8778 /* end confdefs.h. */ 8778 /* end confdefs.h. */
8779 8779
8780 int 8780 int
8781@@ -10304,22 +10828,29 @@ main () 8781@@ -10305,22 +10829,29 @@ main ()
8782 _ACEOF 8782 _ACEOF
8783 if ac_fn_c_try_link "$LINENO"; then : 8783 if ac_fn_c_try_link "$LINENO"; then :
8784 8784
@@ -8821,7 +8821,7 @@ index bdfa2281f2c..b6376eb3f77 100755
8821 8821
8822 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 8822 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8823 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 8823 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8824@@ -10331,7 +10862,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 8824@@ -10332,7 +10863,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8825 else 8825 else
8826 # Determine the default libpath from the value encoded in an 8826 # Determine the default libpath from the value encoded in an
8827 # empty executable. 8827 # empty executable.
@@ -8836,7 +8836,7 @@ index bdfa2281f2c..b6376eb3f77 100755
8836 /* end confdefs.h. */ 8836 /* end confdefs.h. */
8837 8837
8838 int 8838 int
8839@@ -10344,22 +10881,29 @@ main () 8839@@ -10345,22 +10882,29 @@ main ()
8840 _ACEOF 8840 _ACEOF
8841 if ac_fn_c_try_link "$LINENO"; then : 8841 if ac_fn_c_try_link "$LINENO"; then :
8842 8842
@@ -8879,7 +8879,7 @@ index bdfa2281f2c..b6376eb3f77 100755
8879 8879
8880 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 8880 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8881 # Warning - without using the other run time loading flags, 8881 # Warning - without using the other run time loading flags,
8882@@ -10404,20 +10948,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 8882@@ -10405,20 +10949,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8883 # Microsoft Visual C++. 8883 # Microsoft Visual C++.
8884 # hardcode_libdir_flag_spec is actually meaningless, as there is 8884 # hardcode_libdir_flag_spec is actually meaningless, as there is
8885 # no search path for DLLs. 8885 # no search path for DLLs.
@@ -8957,7 +8957,7 @@ index bdfa2281f2c..b6376eb3f77 100755
8957 ;; 8957 ;;
8958 8958
8959 darwin* | rhapsody*) 8959 darwin* | rhapsody*)
8960@@ -10478,7 +11065,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 8960@@ -10479,7 +11066,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8961 8961
8962 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 8962 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8963 freebsd* | dragonfly*) 8963 freebsd* | dragonfly*)
@@ -8966,7 +8966,7 @@ index bdfa2281f2c..b6376eb3f77 100755
8966 hardcode_libdir_flag_spec='-R$libdir' 8966 hardcode_libdir_flag_spec='-R$libdir'
8967 hardcode_direct=yes 8967 hardcode_direct=yes
8968 hardcode_shlibpath_var=no 8968 hardcode_shlibpath_var=no
8969@@ -10486,7 +11073,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 8969@@ -10487,7 +11074,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8970 8970
8971 hpux9*) 8971 hpux9*)
8972 if test "$GCC" = yes; then 8972 if test "$GCC" = yes; then
@@ -8975,7 +8975,7 @@ index bdfa2281f2c..b6376eb3f77 100755
8975 else 8975 else
8976 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 8976 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8977 fi 8977 fi
8978@@ -10502,7 +11089,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 8978@@ -10503,7 +11090,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8979 8979
8980 hpux10*) 8980 hpux10*)
8981 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 8981 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -8984,7 +8984,7 @@ index bdfa2281f2c..b6376eb3f77 100755
8984 else 8984 else
8985 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 8985 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8986 fi 8986 fi
8987@@ -10526,10 +11113,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 8987@@ -10527,10 +11114,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8988 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 8988 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8989 ;; 8989 ;;
8990 ia64*) 8990 ia64*)
@@ -8997,7 +8997,7 @@ index bdfa2281f2c..b6376eb3f77 100755
8997 ;; 8997 ;;
8998 esac 8998 esac
8999 else 8999 else
9000@@ -10608,23 +11195,36 @@ fi 9000@@ -10609,23 +11196,36 @@ fi
9001 9001
9002 irix5* | irix6* | nonstopux*) 9002 irix5* | irix6* | nonstopux*)
9003 if test "$GCC" = yes; then 9003 if test "$GCC" = yes; then
@@ -9042,7 +9042,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9042 else 9042 else
9043 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 9043 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9044 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' 9044 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9045@@ -10709,7 +11309,7 @@ rm -f core conftest.err conftest.$ac_objext \ 9045@@ -10710,7 +11310,7 @@ rm -f core conftest.err conftest.$ac_objext \
9046 osf4* | osf5*) # as osf3* with the addition of -msym flag 9046 osf4* | osf5*) # as osf3* with the addition of -msym flag
9047 if test "$GCC" = yes; then 9047 if test "$GCC" = yes; then
9048 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9048 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
@@ -9051,7 +9051,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9051 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9051 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9052 else 9052 else
9053 allow_undefined_flag=' -expect_unresolved \*' 9053 allow_undefined_flag=' -expect_unresolved \*'
9054@@ -10728,9 +11328,9 @@ rm -f core conftest.err conftest.$ac_objext \ 9054@@ -10729,9 +11329,9 @@ rm -f core conftest.err conftest.$ac_objext \
9055 no_undefined_flag=' -z defs' 9055 no_undefined_flag=' -z defs'
9056 if test "$GCC" = yes; then 9056 if test "$GCC" = yes; then
9057 wlarc='${wl}' 9057 wlarc='${wl}'
@@ -9063,7 +9063,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9063 else 9063 else
9064 case `$CC -V 2>&1` in 9064 case `$CC -V 2>&1` in
9065 *"Compilers 5.0"*) 9065 *"Compilers 5.0"*)
9066@@ -11306,8 +11906,9 @@ cygwin* | mingw* | pw32* | cegcc*) 9066@@ -11307,8 +11907,9 @@ cygwin* | mingw* | pw32* | cegcc*)
9067 need_version=no 9067 need_version=no
9068 need_lib_prefix=no 9068 need_lib_prefix=no
9069 9069
@@ -9075,7 +9075,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9075 library_names_spec='$libname.dll.a' 9075 library_names_spec='$libname.dll.a'
9076 # DLL is installed to $(libdir)/../bin by postinstall_cmds 9076 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9077 postinstall_cmds='base_file=`basename \${file}`~ 9077 postinstall_cmds='base_file=`basename \${file}`~
9078@@ -11340,13 +11941,71 @@ cygwin* | mingw* | pw32* | cegcc*) 9078@@ -11341,13 +11942,71 @@ cygwin* | mingw* | pw32* | cegcc*)
9079 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9079 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9080 ;; 9080 ;;
9081 esac 9081 esac
@@ -9148,16 +9148,16 @@ index bdfa2281f2c..b6376eb3f77 100755
9148 # FIXME: first we should search . and the directory the executable is in 9148 # FIXME: first we should search . and the directory the executable is in
9149 shlibpath_var=PATH 9149 shlibpath_var=PATH
9150 ;; 9150 ;;
9151@@ -12248,7 +12907,7 @@ else 9151@@ -12249,7 +12908,7 @@ else
9152 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 9152 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9153 lt_status=$lt_dlunknown 9153 lt_status=$lt_dlunknown
9154 cat > conftest.$ac_ext <<_LT_EOF 9154 cat > conftest.$ac_ext <<_LT_EOF
9155-#line 12251 "configure" 9155-#line 12252 "configure"
9156+#line $LINENO "configure" 9156+#line $LINENO "configure"
9157 #include "confdefs.h" 9157 #include "confdefs.h"
9158 9158
9159 #if HAVE_DLFCN_H 9159 #if HAVE_DLFCN_H
9160@@ -12292,10 +12951,10 @@ else 9160@@ -12293,10 +12952,10 @@ else
9161 /* When -fvisbility=hidden is used, assume the code has been annotated 9161 /* When -fvisbility=hidden is used, assume the code has been annotated
9162 correspondingly for the symbols needed. */ 9162 correspondingly for the symbols needed. */
9163 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 9163 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -9170,16 +9170,16 @@ index bdfa2281f2c..b6376eb3f77 100755
9170 int main () 9170 int main ()
9171 { 9171 {
9172 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 9172 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9173@@ -12354,7 +13013,7 @@ else 9173@@ -12355,7 +13014,7 @@ else
9174 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 9174 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9175 lt_status=$lt_dlunknown 9175 lt_status=$lt_dlunknown
9176 cat > conftest.$ac_ext <<_LT_EOF 9176 cat > conftest.$ac_ext <<_LT_EOF
9177-#line 12357 "configure" 9177-#line 12358 "configure"
9178+#line $LINENO "configure" 9178+#line $LINENO "configure"
9179 #include "confdefs.h" 9179 #include "confdefs.h"
9180 9180
9181 #if HAVE_DLFCN_H 9181 #if HAVE_DLFCN_H
9182@@ -12398,10 +13057,10 @@ else 9182@@ -12399,10 +13058,10 @@ else
9183 /* When -fvisbility=hidden is used, assume the code has been annotated 9183 /* When -fvisbility=hidden is used, assume the code has been annotated
9184 correspondingly for the symbols needed. */ 9184 correspondingly for the symbols needed. */
9185 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 9185 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -9192,7 +9192,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9192 int main () 9192 int main ()
9193 { 9193 {
9194 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 9194 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9195@@ -12793,6 +13452,7 @@ $RM -r conftest* 9195@@ -12794,6 +13453,7 @@ $RM -r conftest*
9196 9196
9197 # Allow CC to be a program name with arguments. 9197 # Allow CC to be a program name with arguments.
9198 lt_save_CC=$CC 9198 lt_save_CC=$CC
@@ -9200,7 +9200,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9200 lt_save_LD=$LD 9200 lt_save_LD=$LD
9201 lt_save_GCC=$GCC 9201 lt_save_GCC=$GCC
9202 GCC=$GXX 9202 GCC=$GXX
9203@@ -12810,6 +13470,7 @@ $RM -r conftest* 9203@@ -12811,6 +13471,7 @@ $RM -r conftest*
9204 fi 9204 fi
9205 test -z "${LDCXX+set}" || LD=$LDCXX 9205 test -z "${LDCXX+set}" || LD=$LDCXX
9206 CC=${CXX-"c++"} 9206 CC=${CXX-"c++"}
@@ -9208,7 +9208,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9208 compiler=$CC 9208 compiler=$CC
9209 compiler_CXX=$CC 9209 compiler_CXX=$CC
9210 for cc_temp in $compiler""; do 9210 for cc_temp in $compiler""; do
9211@@ -13092,7 +13753,13 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie 9211@@ -13093,7 +13754,13 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
9212 allow_undefined_flag_CXX='-berok' 9212 allow_undefined_flag_CXX='-berok'
9213 # Determine the default libpath from the value encoded in an empty 9213 # Determine the default libpath from the value encoded in an empty
9214 # executable. 9214 # executable.
@@ -9223,7 +9223,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9223 /* end confdefs.h. */ 9223 /* end confdefs.h. */
9224 9224
9225 int 9225 int
9226@@ -13105,22 +13772,29 @@ main () 9226@@ -13106,22 +13773,29 @@ main ()
9227 _ACEOF 9227 _ACEOF
9228 if ac_fn_cxx_try_link "$LINENO"; then : 9228 if ac_fn_cxx_try_link "$LINENO"; then :
9229 9229
@@ -9266,7 +9266,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9266 9266
9267 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" 9267 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9268 9268
9269@@ -13133,7 +13807,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 9269@@ -13134,7 +13808,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9270 else 9270 else
9271 # Determine the default libpath from the value encoded in an 9271 # Determine the default libpath from the value encoded in an
9272 # empty executable. 9272 # empty executable.
@@ -9281,7 +9281,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9281 /* end confdefs.h. */ 9281 /* end confdefs.h. */
9282 9282
9283 int 9283 int
9284@@ -13146,22 +13826,29 @@ main () 9284@@ -13147,22 +13827,29 @@ main ()
9285 _ACEOF 9285 _ACEOF
9286 if ac_fn_cxx_try_link "$LINENO"; then : 9286 if ac_fn_cxx_try_link "$LINENO"; then :
9287 9287
@@ -9324,7 +9324,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9324 9324
9325 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" 9325 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9326 # Warning - without using the other run time loading flags, 9326 # Warning - without using the other run time loading flags,
9327@@ -13204,29 +13891,75 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 9327@@ -13205,29 +13892,75 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9328 ;; 9328 ;;
9329 9329
9330 cygwin* | mingw* | pw32* | cegcc*) 9330 cygwin* | mingw* | pw32* | cegcc*)
@@ -9423,7 +9423,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9423 darwin* | rhapsody*) 9423 darwin* | rhapsody*)
9424 9424
9425 9425
9426@@ -13332,7 +14065,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 9426@@ -13333,7 +14066,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9427 ;; 9427 ;;
9428 *) 9428 *)
9429 if test "$GXX" = yes; then 9429 if test "$GXX" = yes; then
@@ -9432,7 +9432,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9432 else 9432 else
9433 # FIXME: insert proper C++ library support 9433 # FIXME: insert proper C++ library support
9434 ld_shlibs_CXX=no 9434 ld_shlibs_CXX=no
9435@@ -13403,10 +14136,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 9435@@ -13404,10 +14137,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9436 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 9436 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
9437 ;; 9437 ;;
9438 ia64*) 9438 ia64*)
@@ -9445,7 +9445,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9445 ;; 9445 ;;
9446 esac 9446 esac
9447 fi 9447 fi
9448@@ -13447,9 +14180,9 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 9448@@ -13448,9 +14181,9 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9449 *) 9449 *)
9450 if test "$GXX" = yes; then 9450 if test "$GXX" = yes; then
9451 if test "$with_gnu_ld" = no; then 9451 if test "$with_gnu_ld" = no; then
@@ -9457,7 +9457,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9457 fi 9457 fi
9458 fi 9458 fi
9459 link_all_deplibs_CXX=yes 9459 link_all_deplibs_CXX=yes
9460@@ -13727,7 +14460,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 9460@@ -13728,7 +14461,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9461 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 9461 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9462 ;; 9462 ;;
9463 *) 9463 *)
@@ -9466,7 +9466,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9466 ;; 9466 ;;
9467 esac 9467 esac
9468 9468
9469@@ -13773,7 +14506,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 9469@@ -13774,7 +14507,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9470 9470
9471 solaris*) 9471 solaris*)
9472 case $cc_basename in 9472 case $cc_basename in
@@ -9475,7 +9475,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9475 # Sun C++ 4.2, 5.x and Centerline C++ 9475 # Sun C++ 4.2, 5.x and Centerline C++
9476 archive_cmds_need_lc_CXX=yes 9476 archive_cmds_need_lc_CXX=yes
9477 no_undefined_flag_CXX=' -zdefs' 9477 no_undefined_flag_CXX=' -zdefs'
9478@@ -13814,9 +14547,9 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 9478@@ -13815,9 +14548,9 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9479 if test "$GXX" = yes && test "$with_gnu_ld" = no; then 9479 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
9480 no_undefined_flag_CXX=' ${wl}-z ${wl}defs' 9480 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
9481 if $CC --version | $GREP -v '^2\.7' > /dev/null; then 9481 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
@@ -9487,7 +9487,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9487 9487
9488 # Commands to make compiler produce verbose output that lists 9488 # Commands to make compiler produce verbose output that lists
9489 # what "hidden" libraries, object files and flags are used when 9489 # what "hidden" libraries, object files and flags are used when
9490@@ -13952,6 +14685,13 @@ private: 9490@@ -13953,6 +14686,13 @@ private:
9491 }; 9491 };
9492 _LT_EOF 9492 _LT_EOF
9493 9493
@@ -9501,7 +9501,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9501 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 9501 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9502 (eval $ac_compile) 2>&5 9502 (eval $ac_compile) 2>&5
9503 ac_status=$? 9503 ac_status=$?
9504@@ -13965,7 +14705,7 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 9504@@ -13966,7 +14706,7 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9505 pre_test_object_deps_done=no 9505 pre_test_object_deps_done=no
9506 9506
9507 for p in `eval "$output_verbose_link_cmd"`; do 9507 for p in `eval "$output_verbose_link_cmd"`; do
@@ -9510,7 +9510,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9510 9510
9511 -L* | -R* | -l*) 9511 -L* | -R* | -l*)
9512 # Some compilers place space between "-{L,R}" and the path. 9512 # Some compilers place space between "-{L,R}" and the path.
9513@@ -13974,13 +14714,22 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 9513@@ -13975,13 +14715,22 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9514 test $p = "-R"; then 9514 test $p = "-R"; then
9515 prev=$p 9515 prev=$p
9516 continue 9516 continue
@@ -9537,7 +9537,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9537 # Internal compiler library paths should come after those 9537 # Internal compiler library paths should come after those
9538 # provided the user. The postdeps already come after the 9538 # provided the user. The postdeps already come after the
9539 # user supplied libs so there is no need to process them. 9539 # user supplied libs so there is no need to process them.
9540@@ -14000,8 +14749,10 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 9540@@ -14001,8 +14750,10 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9541 postdeps_CXX="${postdeps_CXX} ${prev}${p}" 9541 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
9542 fi 9542 fi
9543 fi 9543 fi
@@ -9548,7 +9548,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9548 *.$objext) 9548 *.$objext)
9549 # This assumes that the test object file only shows up 9549 # This assumes that the test object file only shows up
9550 # once in the compiler output. 9550 # once in the compiler output.
9551@@ -14037,6 +14788,7 @@ else 9551@@ -14038,6 +14789,7 @@ else
9552 fi 9552 fi
9553 9553
9554 $RM -f confest.$objext 9554 $RM -f confest.$objext
@@ -9556,7 +9556,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9556 9556
9557 # PORTME: override above test on systems where it is broken 9557 # PORTME: override above test on systems where it is broken
9558 case $host_os in 9558 case $host_os in
9559@@ -14072,7 +14824,7 @@ linux*) 9559@@ -14073,7 +14825,7 @@ linux*)
9560 9560
9561 solaris*) 9561 solaris*)
9562 case $cc_basename in 9562 case $cc_basename in
@@ -9565,7 +9565,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9565 # The more standards-conforming stlport4 library is 9565 # The more standards-conforming stlport4 library is
9566 # incompatible with the Cstd library. Avoid specifying 9566 # incompatible with the Cstd library. Avoid specifying
9567 # it if it's in CXXFLAGS. Ignore libCrun as 9567 # it if it's in CXXFLAGS. Ignore libCrun as
9568@@ -14137,8 +14889,6 @@ fi 9568@@ -14138,8 +14890,6 @@ fi
9569 lt_prog_compiler_pic_CXX= 9569 lt_prog_compiler_pic_CXX=
9570 lt_prog_compiler_static_CXX= 9570 lt_prog_compiler_static_CXX=
9571 9571
@@ -9574,7 +9574,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9574 9574
9575 # C++ specific cases for pic, static, wl, etc. 9575 # C++ specific cases for pic, static, wl, etc.
9576 if test "$GXX" = yes; then 9576 if test "$GXX" = yes; then
9577@@ -14243,6 +14993,11 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } 9577@@ -14244,6 +14994,11 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9578 ;; 9578 ;;
9579 esac 9579 esac
9580 ;; 9580 ;;
@@ -9586,7 +9586,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9586 dgux*) 9586 dgux*)
9587 case $cc_basename in 9587 case $cc_basename in
9588 ec++*) 9588 ec++*)
9589@@ -14395,7 +15150,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } 9589@@ -14396,7 +15151,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9590 ;; 9590 ;;
9591 solaris*) 9591 solaris*)
9592 case $cc_basename in 9592 case $cc_basename in
@@ -9595,7 +9595,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9595 # Sun C++ 4.2, 5.x and Centerline C++ 9595 # Sun C++ 4.2, 5.x and Centerline C++
9596 lt_prog_compiler_pic_CXX='-KPIC' 9596 lt_prog_compiler_pic_CXX='-KPIC'
9597 lt_prog_compiler_static_CXX='-Bstatic' 9597 lt_prog_compiler_static_CXX='-Bstatic'
9598@@ -14460,10 +15215,17 @@ case $host_os in 9598@@ -14461,10 +15216,17 @@ case $host_os in
9599 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" 9599 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
9600 ;; 9600 ;;
9601 esac 9601 esac
@@ -9616,7 +9616,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9616 9616
9617 # 9617 #
9618 # Check to make sure the PIC flag actually works. 9618 # Check to make sure the PIC flag actually works.
9619@@ -14521,6 +15283,8 @@ fi 9619@@ -14522,6 +15284,8 @@ fi
9620 9620
9621 9621
9622 9622
@@ -9625,7 +9625,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9625 # 9625 #
9626 # Check to make sure the static flag actually works. 9626 # Check to make sure the static flag actually works.
9627 # 9627 #
9628@@ -14698,6 +15462,7 @@ fi 9628@@ -14699,6 +15463,7 @@ fi
9629 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 9629 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9630 9630
9631 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 9631 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
@@ -9633,7 +9633,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9633 case $host_os in 9633 case $host_os in
9634 aix[4-9]*) 9634 aix[4-9]*)
9635 # If we're using GNU nm, then we don't want the "-C" option. 9635 # If we're using GNU nm, then we don't want the "-C" option.
9636@@ -14712,15 +15477,20 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie 9636@@ -14713,15 +15478,20 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
9637 ;; 9637 ;;
9638 pw32*) 9638 pw32*)
9639 export_symbols_cmds_CXX="$ltdll_cmds" 9639 export_symbols_cmds_CXX="$ltdll_cmds"
@@ -9659,7 +9659,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9659 9659
9660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 9660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
9661 $as_echo "$ld_shlibs_CXX" >&6; } 9661 $as_echo "$ld_shlibs_CXX" >&6; }
9662@@ -14983,8 +15753,9 @@ cygwin* | mingw* | pw32* | cegcc*) 9662@@ -14984,8 +15754,9 @@ cygwin* | mingw* | pw32* | cegcc*)
9663 need_version=no 9663 need_version=no
9664 need_lib_prefix=no 9664 need_lib_prefix=no
9665 9665
@@ -9671,7 +9671,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9671 library_names_spec='$libname.dll.a' 9671 library_names_spec='$libname.dll.a'
9672 # DLL is installed to $(libdir)/../bin by postinstall_cmds 9672 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9673 postinstall_cmds='base_file=`basename \${file}`~ 9673 postinstall_cmds='base_file=`basename \${file}`~
9674@@ -15016,13 +15787,71 @@ cygwin* | mingw* | pw32* | cegcc*) 9674@@ -15017,13 +15788,71 @@ cygwin* | mingw* | pw32* | cegcc*)
9675 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9675 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9676 ;; 9676 ;;
9677 esac 9677 esac
@@ -9744,7 +9744,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9744 # FIXME: first we should search . and the directory the executable is in 9744 # FIXME: first we should search . and the directory the executable is in
9745 shlibpath_var=PATH 9745 shlibpath_var=PATH
9746 ;; 9746 ;;
9747@@ -15586,6 +16415,7 @@ fi 9747@@ -15587,6 +16416,7 @@ fi
9748 fi # test -n "$compiler" 9748 fi # test -n "$compiler"
9749 9749
9750 CC=$lt_save_CC 9750 CC=$lt_save_CC
@@ -9752,7 +9752,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9752 LDCXX=$LD 9752 LDCXX=$LD
9753 LD=$lt_save_LD 9753 LD=$lt_save_LD
9754 GCC=$lt_save_GCC 9754 GCC=$lt_save_GCC
9755@@ -17738,13 +18568,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 9755@@ -17785,13 +18615,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
9756 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 9756 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
9757 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 9757 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
9758 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 9758 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -9773,7 +9773,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9773 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 9773 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
9774 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 9774 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
9775 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 9775 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
9776@@ -17759,14 +18596,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de 9776@@ -17806,14 +18643,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
9777 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 9777 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
9778 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 9778 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
9779 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' 9779 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
@@ -9792,7 +9792,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9792 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 9792 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
9793 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 9793 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
9794 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 9794 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
9795@@ -17799,12 +18639,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q 9795@@ -17846,12 +18686,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q
9796 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 9796 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
9797 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 9797 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
9798 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 9798 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -9806,7 +9806,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9806 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 9806 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
9807 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 9807 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
9808 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 9808 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
9809@@ -17843,8 +18683,8 @@ old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote 9809@@ -17890,8 +18730,8 @@ old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote
9810 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' 9810 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
9811 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' 9811 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
9812 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' 9812 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
@@ -9816,7 +9816,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9816 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' 9816 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
9817 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' 9817 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
9818 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' 9818 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
9819@@ -17871,12 +18711,12 @@ hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_ 9819@@ -17918,12 +18758,12 @@ hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_
9820 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' 9820 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
9821 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' 9821 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
9822 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' 9822 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
@@ -9830,7 +9830,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9830 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' 9830 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
9831 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' 9831 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
9832 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' 9832 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
9833@@ -17914,8 +18754,13 @@ reload_flag \ 9833@@ -17961,8 +18801,13 @@ reload_flag \
9834 OBJDUMP \ 9834 OBJDUMP \
9835 deplibs_check_method \ 9835 deplibs_check_method \
9836 file_magic_cmd \ 9836 file_magic_cmd \
@@ -9844,7 +9844,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9844 STRIP \ 9844 STRIP \
9845 RANLIB \ 9845 RANLIB \
9846 CC \ 9846 CC \
9847@@ -17925,12 +18770,14 @@ lt_cv_sys_global_symbol_pipe \ 9847@@ -17972,12 +18817,14 @@ lt_cv_sys_global_symbol_pipe \
9848 lt_cv_sys_global_symbol_to_cdecl \ 9848 lt_cv_sys_global_symbol_to_cdecl \
9849 lt_cv_sys_global_symbol_to_c_name_address \ 9849 lt_cv_sys_global_symbol_to_c_name_address \
9850 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 9850 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -9860,7 +9860,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9860 DSYMUTIL \ 9860 DSYMUTIL \
9861 NMEDIT \ 9861 NMEDIT \
9862 LIPO \ 9862 LIPO \
9863@@ -17946,7 +18793,6 @@ no_undefined_flag \ 9863@@ -17993,7 +18840,6 @@ no_undefined_flag \
9864 hardcode_libdir_flag_spec \ 9864 hardcode_libdir_flag_spec \
9865 hardcode_libdir_flag_spec_ld \ 9865 hardcode_libdir_flag_spec_ld \
9866 hardcode_libdir_separator \ 9866 hardcode_libdir_separator \
@@ -9868,7 +9868,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9868 exclude_expsyms \ 9868 exclude_expsyms \
9869 include_expsyms \ 9869 include_expsyms \
9870 file_list_spec \ 9870 file_list_spec \
9871@@ -17968,8 +18814,8 @@ LD_CXX \ 9871@@ -18015,8 +18861,8 @@ LD_CXX \
9872 reload_flag_CXX \ 9872 reload_flag_CXX \
9873 compiler_CXX \ 9873 compiler_CXX \
9874 lt_prog_compiler_no_builtin_flag_CXX \ 9874 lt_prog_compiler_no_builtin_flag_CXX \
@@ -9878,7 +9878,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9878 lt_prog_compiler_static_CXX \ 9878 lt_prog_compiler_static_CXX \
9879 lt_cv_prog_compiler_c_o_CXX \ 9879 lt_cv_prog_compiler_c_o_CXX \
9880 export_dynamic_flag_spec_CXX \ 9880 export_dynamic_flag_spec_CXX \
9881@@ -17981,7 +18827,6 @@ no_undefined_flag_CXX \ 9881@@ -18028,7 +18874,6 @@ no_undefined_flag_CXX \
9882 hardcode_libdir_flag_spec_CXX \ 9882 hardcode_libdir_flag_spec_CXX \
9883 hardcode_libdir_flag_spec_ld_CXX \ 9883 hardcode_libdir_flag_spec_ld_CXX \
9884 hardcode_libdir_separator_CXX \ 9884 hardcode_libdir_separator_CXX \
@@ -9886,7 +9886,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9886 exclude_expsyms_CXX \ 9886 exclude_expsyms_CXX \
9887 include_expsyms_CXX \ 9887 include_expsyms_CXX \
9888 file_list_spec_CXX \ 9888 file_list_spec_CXX \
9889@@ -18015,6 +18860,7 @@ module_cmds \ 9889@@ -18062,6 +18907,7 @@ module_cmds \
9890 module_expsym_cmds \ 9890 module_expsym_cmds \
9891 export_symbols_cmds \ 9891 export_symbols_cmds \
9892 prelink_cmds \ 9892 prelink_cmds \
@@ -9894,7 +9894,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9894 postinstall_cmds \ 9894 postinstall_cmds \
9895 postuninstall_cmds \ 9895 postuninstall_cmds \
9896 finish_cmds \ 9896 finish_cmds \
9897@@ -18029,7 +18875,8 @@ archive_expsym_cmds_CXX \ 9897@@ -18076,7 +18922,8 @@ archive_expsym_cmds_CXX \
9898 module_cmds_CXX \ 9898 module_cmds_CXX \
9899 module_expsym_cmds_CXX \ 9899 module_expsym_cmds_CXX \
9900 export_symbols_cmds_CXX \ 9900 export_symbols_cmds_CXX \
@@ -9904,7 +9904,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9904 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 9904 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
9905 *[\\\\\\\`\\"\\\$]*) 9905 *[\\\\\\\`\\"\\\$]*)
9906 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 9906 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
9907@@ -18786,7 +19633,8 @@ $as_echo X"$file" | 9907@@ -18833,7 +19680,8 @@ $as_echo X"$file" |
9908 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 9908 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
9909 # 9909 #
9910 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 9910 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -9914,7 +9914,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9914 # Written by Gordon Matzigkeit, 1996 9914 # Written by Gordon Matzigkeit, 1996
9915 # 9915 #
9916 # This file is part of GNU Libtool. 9916 # This file is part of GNU Libtool.
9917@@ -18889,19 +19737,42 @@ SP2NL=$lt_lt_SP2NL 9917@@ -18936,19 +19784,42 @@ SP2NL=$lt_lt_SP2NL
9918 # turn newlines into spaces. 9918 # turn newlines into spaces.
9919 NL2SP=$lt_lt_NL2SP 9919 NL2SP=$lt_lt_NL2SP
9920 9920
@@ -9958,7 +9958,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9958 # A symbol stripping program. 9958 # A symbol stripping program.
9959 STRIP=$lt_STRIP 9959 STRIP=$lt_STRIP
9960 9960
9961@@ -18931,6 +19802,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 9961@@ -18978,6 +19849,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9962 # Transform the output of nm in a C name address pair when lib prefix is needed. 9962 # Transform the output of nm in a C name address pair when lib prefix is needed.
9963 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 9963 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
9964 9964
@@ -9971,7 +9971,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9971 # The name of the directory that contains temporary libtool files. 9971 # The name of the directory that contains temporary libtool files.
9972 objdir=$objdir 9972 objdir=$objdir
9973 9973
9974@@ -18940,6 +19817,9 @@ MAGIC_CMD=$MAGIC_CMD 9974@@ -18987,6 +19864,9 @@ MAGIC_CMD=$MAGIC_CMD
9975 # Must we lock files when doing compilation? 9975 # Must we lock files when doing compilation?
9976 need_locks=$lt_need_locks 9976 need_locks=$lt_need_locks
9977 9977
@@ -9981,7 +9981,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9981 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. 9981 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
9982 DSYMUTIL=$lt_DSYMUTIL 9982 DSYMUTIL=$lt_DSYMUTIL
9983 9983
9984@@ -19054,12 +19934,12 @@ with_gcc=$GCC 9984@@ -19101,12 +19981,12 @@ with_gcc=$GCC
9985 # Compiler flag to turn off builtin functions. 9985 # Compiler flag to turn off builtin functions.
9986 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 9986 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9987 9987
@@ -9997,7 +9997,7 @@ index bdfa2281f2c..b6376eb3f77 100755
9997 # Compiler flag to prevent dynamic linking. 9997 # Compiler flag to prevent dynamic linking.
9998 link_static_flag=$lt_lt_prog_compiler_static 9998 link_static_flag=$lt_lt_prog_compiler_static
9999 9999
10000@@ -19146,9 +20026,6 @@ inherit_rpath=$inherit_rpath 10000@@ -19193,9 +20073,6 @@ inherit_rpath=$inherit_rpath
10001 # Whether libtool must link a program against all its dependency libraries. 10001 # Whether libtool must link a program against all its dependency libraries.
10002 link_all_deplibs=$link_all_deplibs 10002 link_all_deplibs=$link_all_deplibs
10003 10003
@@ -10007,7 +10007,7 @@ index bdfa2281f2c..b6376eb3f77 100755
10007 # Set to "yes" if exported symbols are required. 10007 # Set to "yes" if exported symbols are required.
10008 always_export_symbols=$always_export_symbols 10008 always_export_symbols=$always_export_symbols
10009 10009
10010@@ -19164,6 +20041,9 @@ include_expsyms=$lt_include_expsyms 10010@@ -19211,6 +20088,9 @@ include_expsyms=$lt_include_expsyms
10011 # Commands necessary for linking programs (against libraries) with templates. 10011 # Commands necessary for linking programs (against libraries) with templates.
10012 prelink_cmds=$lt_prelink_cmds 10012 prelink_cmds=$lt_prelink_cmds
10013 10013
@@ -10017,7 +10017,7 @@ index bdfa2281f2c..b6376eb3f77 100755
10017 # Specify filename containing input files. 10017 # Specify filename containing input files.
10018 file_list_spec=$lt_file_list_spec 10018 file_list_spec=$lt_file_list_spec
10019 10019
10020@@ -19210,210 +20090,169 @@ ltmain="$ac_aux_dir/ltmain.sh" 10020@@ -19257,210 +20137,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
10021 # if finds mixed CR/LF and LF-only lines. Since sed operates in 10021 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10022 # text mode, it properly converts lines to CR/LF. This bash problem 10022 # text mode, it properly converts lines to CR/LF. This bash problem
10023 # is reportedly fixed, but why not run on old versions too? 10023 # is reportedly fixed, but why not run on old versions too?
@@ -10391,7 +10391,7 @@ index bdfa2281f2c..b6376eb3f77 100755
10391 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 10391 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10392 chmod +x "$ofile" 10392 chmod +x "$ofile"
10393 10393
10394@@ -19441,12 +20280,12 @@ with_gcc=$GCC_CXX 10394@@ -19488,12 +20327,12 @@ with_gcc=$GCC_CXX
10395 # Compiler flag to turn off builtin functions. 10395 # Compiler flag to turn off builtin functions.
10396 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX 10396 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
10397 10397
@@ -10407,7 +10407,7 @@ index bdfa2281f2c..b6376eb3f77 100755
10407 # Compiler flag to prevent dynamic linking. 10407 # Compiler flag to prevent dynamic linking.
10408 link_static_flag=$lt_lt_prog_compiler_static_CXX 10408 link_static_flag=$lt_lt_prog_compiler_static_CXX
10409 10409
10410@@ -19533,9 +20372,6 @@ inherit_rpath=$inherit_rpath_CXX 10410@@ -19580,9 +20419,6 @@ inherit_rpath=$inherit_rpath_CXX
10411 # Whether libtool must link a program against all its dependency libraries. 10411 # Whether libtool must link a program against all its dependency libraries.
10412 link_all_deplibs=$link_all_deplibs_CXX 10412 link_all_deplibs=$link_all_deplibs_CXX
10413 10413
@@ -10417,7 +10417,7 @@ index bdfa2281f2c..b6376eb3f77 100755
10417 # Set to "yes" if exported symbols are required. 10417 # Set to "yes" if exported symbols are required.
10418 always_export_symbols=$always_export_symbols_CXX 10418 always_export_symbols=$always_export_symbols_CXX
10419 10419
10420@@ -19551,6 +20387,9 @@ include_expsyms=$lt_include_expsyms_CXX 10420@@ -19598,6 +20434,9 @@ include_expsyms=$lt_include_expsyms_CXX
10421 # Commands necessary for linking programs (against libraries) with templates. 10421 # Commands necessary for linking programs (against libraries) with templates.
10422 prelink_cmds=$lt_prelink_cmds_CXX 10422 prelink_cmds=$lt_prelink_cmds_CXX
10423 10423
@@ -10428,7 +10428,7 @@ index bdfa2281f2c..b6376eb3f77 100755
10428 file_list_spec=$lt_file_list_spec_CXX 10428 file_list_spec=$lt_file_list_spec_CXX
10429 10429
10430diff --git a/gprofng/doc/Makefile.in b/gprofng/doc/Makefile.in 10430diff --git a/gprofng/doc/Makefile.in b/gprofng/doc/Makefile.in
10431index 3306c51b31c..6ab3d9636c8 100644 10431index 162ae4b19c1..9e6017aa0ff 100644
10432--- a/gprofng/doc/Makefile.in 10432--- a/gprofng/doc/Makefile.in
10433+++ b/gprofng/doc/Makefile.in 10433+++ b/gprofng/doc/Makefile.in
10434@@ -238,6 +238,7 @@ CXXFLAGS = @CXXFLAGS@ 10434@@ -238,6 +238,7 @@ CXXFLAGS = @CXXFLAGS@
@@ -10448,10 +10448,10 @@ index 3306c51b31c..6ab3d9636c8 100644
10448 NM = @NM@ 10448 NM = @NM@
10449 NMEDIT = @NMEDIT@ 10449 NMEDIT = @NMEDIT@
10450diff --git a/gprofng/gp-display-html/Makefile.in b/gprofng/gp-display-html/Makefile.in 10450diff --git a/gprofng/gp-display-html/Makefile.in b/gprofng/gp-display-html/Makefile.in
10451index 61c00cd6e46..edce3cb94c5 100644 10451index 2b8580f40f9..a01e34702d7 100644
10452--- a/gprofng/gp-display-html/Makefile.in 10452--- a/gprofng/gp-display-html/Makefile.in
10453+++ b/gprofng/gp-display-html/Makefile.in 10453+++ b/gprofng/gp-display-html/Makefile.in
10454@@ -197,6 +197,7 @@ CXXFLAGS = @CXXFLAGS@ 10454@@ -198,6 +198,7 @@ CXXFLAGS = @CXXFLAGS@
10455 CYGPATH_W = @CYGPATH_W@ 10455 CYGPATH_W = @CYGPATH_W@
10456 DEFS = @DEFS@ 10456 DEFS = @DEFS@
10457 DEPDIR = @DEPDIR@ 10457 DEPDIR = @DEPDIR@
@@ -10459,7 +10459,7 @@ index 61c00cd6e46..edce3cb94c5 100644
10459 DSYMUTIL = @DSYMUTIL@ 10459 DSYMUTIL = @DSYMUTIL@
10460 DUMPBIN = @DUMPBIN@ 10460 DUMPBIN = @DUMPBIN@
10461 ECHO_C = @ECHO_C@ 10461 ECHO_C = @ECHO_C@
10462@@ -231,6 +232,7 @@ LN_S = @LN_S@ 10462@@ -232,6 +233,7 @@ LN_S = @LN_S@
10463 LTLIBOBJS = @LTLIBOBJS@ 10463 LTLIBOBJS = @LTLIBOBJS@
10464 MAINT = @MAINT@ 10464 MAINT = @MAINT@
10465 MAKEINFO = @MAKEINFO@ 10465 MAKEINFO = @MAKEINFO@
@@ -10468,7 +10468,7 @@ index 61c00cd6e46..edce3cb94c5 100644
10468 NM = @NM@ 10468 NM = @NM@
10469 NMEDIT = @NMEDIT@ 10469 NMEDIT = @NMEDIT@
10470diff --git a/gprofng/libcollector/Makefile.in b/gprofng/libcollector/Makefile.in 10470diff --git a/gprofng/libcollector/Makefile.in b/gprofng/libcollector/Makefile.in
10471index ce8755c80c9..91e29c29ab8 100644 10471index 4448745f17e..ff20f8f0715 100644
10472--- a/gprofng/libcollector/Makefile.in 10472--- a/gprofng/libcollector/Makefile.in
10473+++ b/gprofng/libcollector/Makefile.in 10473+++ b/gprofng/libcollector/Makefile.in
10474@@ -316,6 +316,7 @@ CXXFLAGS = @CXXFLAGS@ 10474@@ -316,6 +316,7 @@ CXXFLAGS = @CXXFLAGS@
@@ -10488,7 +10488,7 @@ index ce8755c80c9..91e29c29ab8 100644
10488 NM = @NM@ 10488 NM = @NM@
10489 NMEDIT = @NMEDIT@ 10489 NMEDIT = @NMEDIT@
10490diff --git a/gprofng/libcollector/configure b/gprofng/libcollector/configure 10490diff --git a/gprofng/libcollector/configure b/gprofng/libcollector/configure
10491index 8b0092433fe..a363ab1047c 100755 10491index b1ba1edb35b..5a20f484c38 100755
10492--- a/gprofng/libcollector/configure 10492--- a/gprofng/libcollector/configure
10493+++ b/gprofng/libcollector/configure 10493+++ b/gprofng/libcollector/configure
10494@@ -640,6 +640,8 @@ OTOOL 10494@@ -640,6 +640,8 @@ OTOOL
@@ -13064,10 +13064,10 @@ index 8b0092433fe..a363ab1047c 100755
13064 file_list_spec=$lt_file_list_spec_CXX 13064 file_list_spec=$lt_file_list_spec_CXX
13065 13065
13066diff --git a/gprofng/src/Makefile.in b/gprofng/src/Makefile.in 13066diff --git a/gprofng/src/Makefile.in b/gprofng/src/Makefile.in
13067index db763ef71b2..726dc69bf85 100644 13067index d0dec12e244..cf2745db706 100644
13068--- a/gprofng/src/Makefile.in 13068--- a/gprofng/src/Makefile.in
13069+++ b/gprofng/src/Makefile.in 13069+++ b/gprofng/src/Makefile.in
13070@@ -321,6 +321,7 @@ CXXFLAGS = @CXXFLAGS@ 13070@@ -322,6 +322,7 @@ CXXFLAGS = @CXXFLAGS@
13071 CYGPATH_W = @CYGPATH_W@ 13071 CYGPATH_W = @CYGPATH_W@
13072 DEFS = @DEFS@ 13072 DEFS = @DEFS@
13073 DEPDIR = @DEPDIR@ 13073 DEPDIR = @DEPDIR@
@@ -13075,7 +13075,7 @@ index db763ef71b2..726dc69bf85 100644
13075 DSYMUTIL = @DSYMUTIL@ 13075 DSYMUTIL = @DSYMUTIL@
13076 DUMPBIN = @DUMPBIN@ 13076 DUMPBIN = @DUMPBIN@
13077 ECHO_C = @ECHO_C@ 13077 ECHO_C = @ECHO_C@
13078@@ -355,6 +356,7 @@ LN_S = @LN_S@ 13078@@ -356,6 +357,7 @@ LN_S = @LN_S@
13079 LTLIBOBJS = @LTLIBOBJS@ 13079 LTLIBOBJS = @LTLIBOBJS@
13080 MAINT = @MAINT@ 13080 MAINT = @MAINT@
13081 MAKEINFO = @MAKEINFO@ 13081 MAKEINFO = @MAKEINFO@
@@ -13084,7 +13084,7 @@ index db763ef71b2..726dc69bf85 100644
13084 NM = @NM@ 13084 NM = @NM@
13085 NMEDIT = @NMEDIT@ 13085 NMEDIT = @NMEDIT@
13086diff --git a/ld/Makefile.in b/ld/Makefile.in 13086diff --git a/ld/Makefile.in b/ld/Makefile.in
13087index 15311048855..71b39ee9311 100644 13087index c3d08edbef1..7ee6acd3e03 100644
13088--- a/ld/Makefile.in 13088--- a/ld/Makefile.in
13089+++ b/ld/Makefile.in 13089+++ b/ld/Makefile.in
13090@@ -390,6 +390,7 @@ CYGPATH_W = @CYGPATH_W@ 13090@@ -390,6 +390,7 @@ CYGPATH_W = @CYGPATH_W@
@@ -13112,7 +13112,7 @@ index 15311048855..71b39ee9311 100644
13112 ac_ct_CXX = @ac_ct_CXX@ 13112 ac_ct_CXX = @ac_ct_CXX@
13113 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ 13113 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
13114diff --git a/ld/configure b/ld/configure 13114diff --git a/ld/configure b/ld/configure
13115index 98a76d6da7f..a4266996c44 100755 13115index d537ec391d2..de7b61bb612 100755
13116--- a/ld/configure 13116--- a/ld/configure
13117+++ b/ld/configure 13117+++ b/ld/configure
13118@@ -705,8 +705,11 @@ OTOOL 13118@@ -705,8 +705,11 @@ OTOOL
@@ -13135,7 +13135,7 @@ index 98a76d6da7f..a4266996c44 100755
13135 enable_libtool_lock 13135 enable_libtool_lock
13136 enable_plugins 13136 enable_plugins
13137 enable_largefile 13137 enable_largefile
13138@@ -1581,6 +1585,8 @@ Optional Packages: 13138@@ -1586,6 +1590,8 @@ Optional Packages:
13139 --with-pic try to use only PIC/non-PIC objects [default=use 13139 --with-pic try to use only PIC/non-PIC objects [default=use
13140 both] 13140 both]
13141 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 13141 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
@@ -13144,7 +13144,7 @@ index 98a76d6da7f..a4266996c44 100755
13144 --with-lib-path=dir1:dir2... set default LIB_PATH 13144 --with-lib-path=dir1:dir2... set default LIB_PATH
13145 --with-sysroot=DIR Search for usr/lib et al within DIR. 13145 --with-sysroot=DIR Search for usr/lib et al within DIR.
13146 --with-gnu-ld assume the C compiler uses GNU ld default=no 13146 --with-gnu-ld assume the C compiler uses GNU ld default=no
13147@@ -5560,8 +5566,8 @@ esac 13147@@ -5565,8 +5571,8 @@ esac
13148 13148
13149 13149
13150 13150
@@ -13155,7 +13155,7 @@ index 98a76d6da7f..a4266996c44 100755
13155 13155
13156 13156
13157 13157
13158@@ -5601,7 +5607,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 13158@@ -5606,7 +5612,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
13159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 13159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
13160 $as_echo_n "checking how to print strings... " >&6; } 13160 $as_echo_n "checking how to print strings... " >&6; }
13161 # Test print first, because it will be a builtin if present. 13161 # Test print first, because it will be a builtin if present.
@@ -13164,7 +13164,7 @@ index 98a76d6da7f..a4266996c44 100755
13164 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 13164 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
13165 ECHO='print -r --' 13165 ECHO='print -r --'
13166 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 13166 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
13167@@ -6294,8 +6300,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; 13167@@ -6299,8 +6305,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
13168 # Try some XSI features 13168 # Try some XSI features
13169 xsi_shell=no 13169 xsi_shell=no
13170 ( _lt_dummy="a/b/c" 13170 ( _lt_dummy="a/b/c"
@@ -13175,7 +13175,7 @@ index 98a76d6da7f..a4266996c44 100755
13175 && eval 'test $(( 1 + 1 )) -eq 2 \ 13175 && eval 'test $(( 1 + 1 )) -eq 2 \
13176 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 13176 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
13177 && xsi_shell=yes 13177 && xsi_shell=yes
13178@@ -6344,6 +6350,80 @@ esac 13178@@ -6349,6 +6355,80 @@ esac
13179 13179
13180 13180
13181 13181
@@ -13256,7 +13256,7 @@ index 98a76d6da7f..a4266996c44 100755
13256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 13256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
13257 $as_echo_n "checking for $LD option to reload object files... " >&6; } 13257 $as_echo_n "checking for $LD option to reload object files... " >&6; }
13258 if ${lt_cv_ld_reload_flag+:} false; then : 13258 if ${lt_cv_ld_reload_flag+:} false; then :
13259@@ -6360,6 +6440,11 @@ case $reload_flag in 13259@@ -6365,6 +6445,11 @@ case $reload_flag in
13260 esac 13260 esac
13261 reload_cmds='$LD$reload_flag -o $output$reload_objs' 13261 reload_cmds='$LD$reload_flag -o $output$reload_objs'
13262 case $host_os in 13262 case $host_os in
@@ -13268,7 +13268,7 @@ index 98a76d6da7f..a4266996c44 100755
13268 darwin*) 13268 darwin*)
13269 if test "$GCC" = yes; then 13269 if test "$GCC" = yes; then
13270 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 13270 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
13271@@ -6528,7 +6613,8 @@ mingw* | pw32*) 13271@@ -6533,7 +6618,8 @@ mingw* | pw32*)
13272 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 13272 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
13273 lt_cv_file_magic_cmd='func_win32_libid' 13273 lt_cv_file_magic_cmd='func_win32_libid'
13274 else 13274 else
@@ -13278,7 +13278,7 @@ index 98a76d6da7f..a4266996c44 100755
13278 lt_cv_file_magic_cmd='$OBJDUMP -f' 13278 lt_cv_file_magic_cmd='$OBJDUMP -f'
13279 fi 13279 fi
13280 ;; 13280 ;;
13281@@ -6687,6 +6773,21 @@ esac 13281@@ -6692,6 +6778,21 @@ esac
13282 fi 13282 fi
13283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 13283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
13284 $as_echo "$lt_cv_deplibs_check_method" >&6; } 13284 $as_echo "$lt_cv_deplibs_check_method" >&6; }
@@ -13300,7 +13300,7 @@ index 98a76d6da7f..a4266996c44 100755
13300 file_magic_cmd=$lt_cv_file_magic_cmd 13300 file_magic_cmd=$lt_cv_file_magic_cmd
13301 deplibs_check_method=$lt_cv_deplibs_check_method 13301 deplibs_check_method=$lt_cv_deplibs_check_method
13302 test -z "$deplibs_check_method" && deplibs_check_method=unknown 13302 test -z "$deplibs_check_method" && deplibs_check_method=unknown
13303@@ -6702,6 +6803,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown 13303@@ -6707,6 +6808,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
13304 13304
13305 13305
13306 13306
@@ -13458,7 +13458,7 @@ index 98a76d6da7f..a4266996c44 100755
13458 plugin_option= 13458 plugin_option=
13459 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll" 13459 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
13460 for plugin in $plugin_names; do 13460 for plugin in $plugin_names; do
13461@@ -6716,8 +6968,10 @@ for plugin in $plugin_names; do 13461@@ -6721,8 +6973,10 @@ for plugin in $plugin_names; do
13462 done 13462 done
13463 13463
13464 if test -n "$ac_tool_prefix"; then 13464 if test -n "$ac_tool_prefix"; then
@@ -13471,7 +13471,7 @@ index 98a76d6da7f..a4266996c44 100755
13471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13472 $as_echo_n "checking for $ac_word... " >&6; } 13472 $as_echo_n "checking for $ac_word... " >&6; }
13473 if ${ac_cv_prog_AR+:} false; then : 13473 if ${ac_cv_prog_AR+:} false; then :
13474@@ -6733,7 +6987,7 @@ do 13474@@ -6738,7 +6992,7 @@ do
13475 test -z "$as_dir" && as_dir=. 13475 test -z "$as_dir" && as_dir=.
13476 for ac_exec_ext in '' $ac_executable_extensions; do 13476 for ac_exec_ext in '' $ac_executable_extensions; do
13477 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13477 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -13480,7 +13480,7 @@ index 98a76d6da7f..a4266996c44 100755
13480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13481 break 2 13481 break 2
13482 fi 13482 fi
13483@@ -6753,11 +7007,15 @@ $as_echo "no" >&6; } 13483@@ -6758,11 +7012,15 @@ $as_echo "no" >&6; }
13484 fi 13484 fi
13485 13485
13486 13486
@@ -13499,7 +13499,7 @@ index 98a76d6da7f..a4266996c44 100755
13499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13500 $as_echo_n "checking for $ac_word... " >&6; } 13500 $as_echo_n "checking for $ac_word... " >&6; }
13501 if ${ac_cv_prog_ac_ct_AR+:} false; then : 13501 if ${ac_cv_prog_ac_ct_AR+:} false; then :
13502@@ -6773,7 +7031,7 @@ do 13502@@ -6778,7 +7036,7 @@ do
13503 test -z "$as_dir" && as_dir=. 13503 test -z "$as_dir" && as_dir=.
13504 for ac_exec_ext in '' $ac_executable_extensions; do 13504 for ac_exec_ext in '' $ac_executable_extensions; do
13505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -13508,7 +13508,7 @@ index 98a76d6da7f..a4266996c44 100755
13508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13509 break 2 13509 break 2
13510 fi 13510 fi
13511@@ -6792,6 +7050,10 @@ else 13511@@ -6797,6 +7055,10 @@ else
13512 $as_echo "no" >&6; } 13512 $as_echo "no" >&6; }
13513 fi 13513 fi
13514 13514
@@ -13519,7 +13519,7 @@ index 98a76d6da7f..a4266996c44 100755
13519 if test "x$ac_ct_AR" = x; then 13519 if test "x$ac_ct_AR" = x; then
13520 AR="false" 13520 AR="false"
13521 else 13521 else
13522@@ -6803,29 +7065,81 @@ ac_tool_warned=yes ;; 13522@@ -6808,29 +7070,81 @@ ac_tool_warned=yes ;;
13523 esac 13523 esac
13524 AR=$ac_ct_AR 13524 AR=$ac_ct_AR
13525 fi 13525 fi
@@ -13616,7 +13616,7 @@ index 98a76d6da7f..a4266996c44 100755
13616 13616
13617 13617
13618 13618
13619@@ -7172,8 +7486,8 @@ esac 13619@@ -7177,8 +7491,8 @@ esac
13620 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 13620 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
13621 13621
13622 # Transform an extracted symbol line into symbol name and symbol address 13622 # Transform an extracted symbol line into symbol name and symbol address
@@ -13627,7 +13627,7 @@ index 98a76d6da7f..a4266996c44 100755
13627 13627
13628 # Handle CRLF in mingw tool chain 13628 # Handle CRLF in mingw tool chain
13629 opt_cr= 13629 opt_cr=
13630@@ -7209,6 +7523,7 @@ for ac_symprfx in "" "_"; do 13630@@ -7214,6 +7528,7 @@ for ac_symprfx in "" "_"; do
13631 else 13631 else
13632 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 13632 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
13633 fi 13633 fi
@@ -13635,7 +13635,7 @@ index 98a76d6da7f..a4266996c44 100755
13635 13635
13636 # Check to see that the pipe works correctly. 13636 # Check to see that the pipe works correctly.
13637 pipe_works=no 13637 pipe_works=no
13638@@ -7250,6 +7565,18 @@ _LT_EOF 13638@@ -7255,6 +7570,18 @@ _LT_EOF
13639 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 13639 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
13640 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 13640 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
13641 cat <<_LT_EOF > conftest.$ac_ext 13641 cat <<_LT_EOF > conftest.$ac_ext
@@ -13654,7 +13654,7 @@ index 98a76d6da7f..a4266996c44 100755
13654 #ifdef __cplusplus 13654 #ifdef __cplusplus
13655 extern "C" { 13655 extern "C" {
13656 #endif 13656 #endif
13657@@ -7261,7 +7588,7 @@ _LT_EOF 13657@@ -7266,7 +7593,7 @@ _LT_EOF
13658 cat <<_LT_EOF >> conftest.$ac_ext 13658 cat <<_LT_EOF >> conftest.$ac_ext
13659 13659
13660 /* The mapping between symbol names and symbols. */ 13660 /* The mapping between symbol names and symbols. */
@@ -13663,7 +13663,7 @@ index 98a76d6da7f..a4266996c44 100755
13663 const char *name; 13663 const char *name;
13664 void *address; 13664 void *address;
13665 } 13665 }
13666@@ -7287,8 +7614,8 @@ static const void *lt_preloaded_setup() { 13666@@ -7292,8 +7619,8 @@ static const void *lt_preloaded_setup() {
13667 _LT_EOF 13667 _LT_EOF
13668 # Now try linking the two files. 13668 # Now try linking the two files.
13669 mv conftest.$ac_objext conftstm.$ac_objext 13669 mv conftest.$ac_objext conftstm.$ac_objext
@@ -13674,7 +13674,7 @@ index 98a76d6da7f..a4266996c44 100755
13674 LIBS="conftstm.$ac_objext" 13674 LIBS="conftstm.$ac_objext"
13675 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 13675 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
13676 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 13676 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13677@@ -7298,8 +7625,8 @@ _LT_EOF 13677@@ -7303,8 +7630,8 @@ _LT_EOF
13678 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 13678 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
13679 pipe_works=yes 13679 pipe_works=yes
13680 fi 13680 fi
@@ -13685,7 +13685,7 @@ index 98a76d6da7f..a4266996c44 100755
13685 else 13685 else
13686 echo "cannot find nm_test_func in $nlist" >&5 13686 echo "cannot find nm_test_func in $nlist" >&5
13687 fi 13687 fi
13688@@ -7336,6 +7663,27 @@ else 13688@@ -7341,6 +7668,27 @@ else
13689 $as_echo "ok" >&6; } 13689 $as_echo "ok" >&6; }
13690 fi 13690 fi
13691 13691
@@ -13713,7 +13713,7 @@ index 98a76d6da7f..a4266996c44 100755
13713 13713
13714 13714
13715 13715
13716@@ -7348,10 +7696,38 @@ fi 13716@@ -7353,10 +7701,38 @@ fi
13717 13717
13718 13718
13719 13719
@@ -13752,7 +13752,7 @@ index 98a76d6da7f..a4266996c44 100755
13752 13752
13753 13753
13754 13754
13755@@ -7563,6 +7939,123 @@ esac 13755@@ -7568,6 +7944,123 @@ esac
13756 13756
13757 need_locks="$enable_libtool_lock" 13757 need_locks="$enable_libtool_lock"
13758 13758
@@ -13876,7 +13876,7 @@ index 98a76d6da7f..a4266996c44 100755
13876 13876
13877 case $host_os in 13877 case $host_os in
13878 rhapsody* | darwin*) 13878 rhapsody* | darwin*)
13879@@ -8126,6 +8619,8 @@ _LT_EOF 13879@@ -8131,6 +8624,8 @@ _LT_EOF
13880 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 13880 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
13881 echo "$AR cru libconftest.a conftest.o" >&5 13881 echo "$AR cru libconftest.a conftest.o" >&5
13882 $AR cru libconftest.a conftest.o 2>&5 13882 $AR cru libconftest.a conftest.o 2>&5
@@ -13885,7 +13885,7 @@ index 98a76d6da7f..a4266996c44 100755
13885 cat > conftest.c << _LT_EOF 13885 cat > conftest.c << _LT_EOF
13886 int main() { return 0;} 13886 int main() { return 0;}
13887 _LT_EOF 13887 _LT_EOF
13888@@ -8196,6 +8691,16 @@ done 13888@@ -8201,6 +8696,16 @@ done
13889 13889
13890 13890
13891 13891
@@ -13902,7 +13902,7 @@ index 98a76d6da7f..a4266996c44 100755
13902 13902
13903 13903
13904 # Set options 13904 # Set options
13905@@ -8711,8 +9216,6 @@ fi 13905@@ -8716,8 +9221,6 @@ fi
13906 lt_prog_compiler_pic= 13906 lt_prog_compiler_pic=
13907 lt_prog_compiler_static= 13907 lt_prog_compiler_static=
13908 13908
@@ -13911,7 +13911,7 @@ index 98a76d6da7f..a4266996c44 100755
13911 13911
13912 if test "$GCC" = yes; then 13912 if test "$GCC" = yes; then
13913 lt_prog_compiler_wl='-Wl,' 13913 lt_prog_compiler_wl='-Wl,'
13914@@ -8878,6 +9381,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } 13914@@ -8883,6 +9386,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13915 lt_prog_compiler_pic='--shared' 13915 lt_prog_compiler_pic='--shared'
13916 lt_prog_compiler_static='--static' 13916 lt_prog_compiler_static='--static'
13917 ;; 13917 ;;
@@ -13924,7 +13924,7 @@ index 98a76d6da7f..a4266996c44 100755
13924 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 13924 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
13925 # Portland Group compilers (*not* the Pentium gcc compiler, 13925 # Portland Group compilers (*not* the Pentium gcc compiler,
13926 # which looks to be a dead project) 13926 # which looks to be a dead project)
13927@@ -8940,7 +9449,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } 13927@@ -8945,7 +9454,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13928 lt_prog_compiler_pic='-KPIC' 13928 lt_prog_compiler_pic='-KPIC'
13929 lt_prog_compiler_static='-Bstatic' 13929 lt_prog_compiler_static='-Bstatic'
13930 case $cc_basename in 13930 case $cc_basename in
@@ -13933,7 +13933,7 @@ index 98a76d6da7f..a4266996c44 100755
13933 lt_prog_compiler_wl='-Qoption ld ';; 13933 lt_prog_compiler_wl='-Qoption ld ';;
13934 *) 13934 *)
13935 lt_prog_compiler_wl='-Wl,';; 13935 lt_prog_compiler_wl='-Wl,';;
13936@@ -8997,13 +9506,17 @@ case $host_os in 13936@@ -9002,13 +9511,17 @@ case $host_os in
13937 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 13937 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
13938 ;; 13938 ;;
13939 esac 13939 esac
@@ -13957,7 +13957,7 @@ index 98a76d6da7f..a4266996c44 100755
13957 13957
13958 # 13958 #
13959 # Check to make sure the PIC flag actually works. 13959 # Check to make sure the PIC flag actually works.
13960@@ -9064,6 +9577,11 @@ fi 13960@@ -9069,6 +9582,11 @@ fi
13961 13961
13962 13962
13963 13963
@@ -13969,7 +13969,7 @@ index 98a76d6da7f..a4266996c44 100755
13969 # 13969 #
13970 # Check to make sure the static flag actually works. 13970 # Check to make sure the static flag actually works.
13971 # 13971 #
13972@@ -9414,7 +9932,8 @@ _LT_EOF 13972@@ -9419,7 +9937,8 @@ _LT_EOF
13973 allow_undefined_flag=unsupported 13973 allow_undefined_flag=unsupported
13974 always_export_symbols=no 13974 always_export_symbols=no
13975 enable_shared_with_static_runtimes=yes 13975 enable_shared_with_static_runtimes=yes
@@ -13979,7 +13979,7 @@ index 98a76d6da7f..a4266996c44 100755
13979 13979
13980 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 13980 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13981 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 13981 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13982@@ -9513,12 +10032,12 @@ _LT_EOF 13982@@ -9518,12 +10037,12 @@ _LT_EOF
13983 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 13983 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
13984 hardcode_libdir_flag_spec= 13984 hardcode_libdir_flag_spec=
13985 hardcode_libdir_flag_spec_ld='-rpath $libdir' 13985 hardcode_libdir_flag_spec_ld='-rpath $libdir'
@@ -13994,7 +13994,7 @@ index 98a76d6da7f..a4266996c44 100755
13994 fi 13994 fi
13995 ;; 13995 ;;
13996 esac 13996 esac
13997@@ -9532,8 +10051,8 @@ _LT_EOF 13997@@ -9537,8 +10056,8 @@ _LT_EOF
13998 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 13998 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13999 wlarc= 13999 wlarc=
14000 else 14000 else
@@ -14005,7 +14005,7 @@ index 98a76d6da7f..a4266996c44 100755
14005 fi 14005 fi
14006 ;; 14006 ;;
14007 14007
14008@@ -9551,8 +10070,8 @@ _LT_EOF 14008@@ -9556,8 +10075,8 @@ _LT_EOF
14009 14009
14010 _LT_EOF 14010 _LT_EOF
14011 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 14011 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -14016,7 +14016,7 @@ index 98a76d6da7f..a4266996c44 100755
14016 else 14016 else
14017 ld_shlibs=no 14017 ld_shlibs=no
14018 fi 14018 fi
14019@@ -9598,8 +10117,8 @@ _LT_EOF 14019@@ -9603,8 +10122,8 @@ _LT_EOF
14020 14020
14021 *) 14021 *)
14022 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 14022 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -14027,7 +14027,7 @@ index 98a76d6da7f..a4266996c44 100755
14027 else 14027 else
14028 ld_shlibs=no 14028 ld_shlibs=no
14029 fi 14029 fi
14030@@ -9729,7 +10248,13 @@ _LT_EOF 14030@@ -9734,7 +10253,13 @@ _LT_EOF
14031 allow_undefined_flag='-berok' 14031 allow_undefined_flag='-berok'
14032 # Determine the default libpath from the value encoded in an 14032 # Determine the default libpath from the value encoded in an
14033 # empty executable. 14033 # empty executable.
@@ -14042,7 +14042,7 @@ index 98a76d6da7f..a4266996c44 100755
14042 /* end confdefs.h. */ 14042 /* end confdefs.h. */
14043 14043
14044 int 14044 int
14045@@ -9742,22 +10267,29 @@ main () 14045@@ -9747,22 +10272,29 @@ main ()
14046 _ACEOF 14046 _ACEOF
14047 if ac_fn_c_try_link "$LINENO"; then : 14047 if ac_fn_c_try_link "$LINENO"; then :
14048 14048
@@ -14085,7 +14085,7 @@ index 98a76d6da7f..a4266996c44 100755
14085 14085
14086 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 14086 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
14087 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 14087 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14088@@ -9769,7 +10301,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 14088@@ -9774,7 +10306,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14089 else 14089 else
14090 # Determine the default libpath from the value encoded in an 14090 # Determine the default libpath from the value encoded in an
14091 # empty executable. 14091 # empty executable.
@@ -14100,7 +14100,7 @@ index 98a76d6da7f..a4266996c44 100755
14100 /* end confdefs.h. */ 14100 /* end confdefs.h. */
14101 14101
14102 int 14102 int
14103@@ -9782,22 +10320,29 @@ main () 14103@@ -9787,22 +10325,29 @@ main ()
14104 _ACEOF 14104 _ACEOF
14105 if ac_fn_c_try_link "$LINENO"; then : 14105 if ac_fn_c_try_link "$LINENO"; then :
14106 14106
@@ -14143,7 +14143,7 @@ index 98a76d6da7f..a4266996c44 100755
14143 14143
14144 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 14144 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
14145 # Warning - without using the other run time loading flags, 14145 # Warning - without using the other run time loading flags,
14146@@ -9842,20 +10387,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 14146@@ -9847,20 +10392,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14147 # Microsoft Visual C++. 14147 # Microsoft Visual C++.
14148 # hardcode_libdir_flag_spec is actually meaningless, as there is 14148 # hardcode_libdir_flag_spec is actually meaningless, as there is
14149 # no search path for DLLs. 14149 # no search path for DLLs.
@@ -14221,7 +14221,7 @@ index 98a76d6da7f..a4266996c44 100755
14221 ;; 14221 ;;
14222 14222
14223 darwin* | rhapsody*) 14223 darwin* | rhapsody*)
14224@@ -9916,7 +10504,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 14224@@ -9921,7 +10509,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14225 14225
14226 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 14226 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14227 freebsd* | dragonfly*) 14227 freebsd* | dragonfly*)
@@ -14230,7 +14230,7 @@ index 98a76d6da7f..a4266996c44 100755
14230 hardcode_libdir_flag_spec='-R$libdir' 14230 hardcode_libdir_flag_spec='-R$libdir'
14231 hardcode_direct=yes 14231 hardcode_direct=yes
14232 hardcode_shlibpath_var=no 14232 hardcode_shlibpath_var=no
14233@@ -9924,7 +10512,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 14233@@ -9929,7 +10517,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14234 14234
14235 hpux9*) 14235 hpux9*)
14236 if test "$GCC" = yes; then 14236 if test "$GCC" = yes; then
@@ -14239,7 +14239,7 @@ index 98a76d6da7f..a4266996c44 100755
14239 else 14239 else
14240 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 14240 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14241 fi 14241 fi
14242@@ -9940,7 +10528,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 14242@@ -9945,7 +10533,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14243 14243
14244 hpux10*) 14244 hpux10*)
14245 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 14245 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -14248,7 +14248,7 @@ index 98a76d6da7f..a4266996c44 100755
14248 else 14248 else
14249 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 14249 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14250 fi 14250 fi
14251@@ -9964,10 +10552,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 14251@@ -9969,10 +10557,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14252 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 14252 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14253 ;; 14253 ;;
14254 ia64*) 14254 ia64*)
@@ -14261,7 +14261,7 @@ index 98a76d6da7f..a4266996c44 100755
14261 ;; 14261 ;;
14262 esac 14262 esac
14263 else 14263 else
14264@@ -10046,23 +10634,36 @@ fi 14264@@ -10051,23 +10639,36 @@ fi
14265 14265
14266 irix5* | irix6* | nonstopux*) 14266 irix5* | irix6* | nonstopux*)
14267 if test "$GCC" = yes; then 14267 if test "$GCC" = yes; then
@@ -14306,7 +14306,7 @@ index 98a76d6da7f..a4266996c44 100755
14306 else 14306 else
14307 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 14307 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
14308 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' 14308 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
14309@@ -10147,7 +10748,7 @@ rm -f core conftest.err conftest.$ac_objext \ 14309@@ -10152,7 +10753,7 @@ rm -f core conftest.err conftest.$ac_objext \
14310 osf4* | osf5*) # as osf3* with the addition of -msym flag 14310 osf4* | osf5*) # as osf3* with the addition of -msym flag
14311 if test "$GCC" = yes; then 14311 if test "$GCC" = yes; then
14312 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 14312 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
@@ -14315,7 +14315,7 @@ index 98a76d6da7f..a4266996c44 100755
14315 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 14315 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
14316 else 14316 else
14317 allow_undefined_flag=' -expect_unresolved \*' 14317 allow_undefined_flag=' -expect_unresolved \*'
14318@@ -10166,9 +10767,9 @@ rm -f core conftest.err conftest.$ac_objext \ 14318@@ -10171,9 +10772,9 @@ rm -f core conftest.err conftest.$ac_objext \
14319 no_undefined_flag=' -z defs' 14319 no_undefined_flag=' -z defs'
14320 if test "$GCC" = yes; then 14320 if test "$GCC" = yes; then
14321 wlarc='${wl}' 14321 wlarc='${wl}'
@@ -14327,7 +14327,7 @@ index 98a76d6da7f..a4266996c44 100755
14327 else 14327 else
14328 case `$CC -V 2>&1` in 14328 case `$CC -V 2>&1` in
14329 *"Compilers 5.0"*) 14329 *"Compilers 5.0"*)
14330@@ -10744,8 +11345,9 @@ cygwin* | mingw* | pw32* | cegcc*) 14330@@ -10749,8 +11350,9 @@ cygwin* | mingw* | pw32* | cegcc*)
14331 need_version=no 14331 need_version=no
14332 need_lib_prefix=no 14332 need_lib_prefix=no
14333 14333
@@ -14339,7 +14339,7 @@ index 98a76d6da7f..a4266996c44 100755
14339 library_names_spec='$libname.dll.a' 14339 library_names_spec='$libname.dll.a'
14340 # DLL is installed to $(libdir)/../bin by postinstall_cmds 14340 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14341 postinstall_cmds='base_file=`basename \${file}`~ 14341 postinstall_cmds='base_file=`basename \${file}`~
14342@@ -10778,13 +11380,71 @@ cygwin* | mingw* | pw32* | cegcc*) 14342@@ -10783,13 +11385,71 @@ cygwin* | mingw* | pw32* | cegcc*)
14343 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 14343 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14344 ;; 14344 ;;
14345 esac 14345 esac
@@ -14412,16 +14412,16 @@ index 98a76d6da7f..a4266996c44 100755
14412 # FIXME: first we should search . and the directory the executable is in 14412 # FIXME: first we should search . and the directory the executable is in
14413 shlibpath_var=PATH 14413 shlibpath_var=PATH
14414 ;; 14414 ;;
14415@@ -11686,7 +12346,7 @@ else 14415@@ -11691,7 +12351,7 @@ else
14416 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 14416 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14417 lt_status=$lt_dlunknown 14417 lt_status=$lt_dlunknown
14418 cat > conftest.$ac_ext <<_LT_EOF 14418 cat > conftest.$ac_ext <<_LT_EOF
14419-#line 11686 "configure" 14419-#line 11691 "configure"
14420+#line $LINENO "configure" 14420+#line $LINENO "configure"
14421 #include "confdefs.h" 14421 #include "confdefs.h"
14422 14422
14423 #if HAVE_DLFCN_H 14423 #if HAVE_DLFCN_H
14424@@ -11730,10 +12390,10 @@ else 14424@@ -11735,10 +12395,10 @@ else
14425 /* When -fvisbility=hidden is used, assume the code has been annotated 14425 /* When -fvisbility=hidden is used, assume the code has been annotated
14426 correspondingly for the symbols needed. */ 14426 correspondingly for the symbols needed. */
14427 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 14427 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -14434,16 +14434,16 @@ index 98a76d6da7f..a4266996c44 100755
14434 int main () 14434 int main ()
14435 { 14435 {
14436 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 14436 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14437@@ -11792,7 +12452,7 @@ else 14437@@ -11797,7 +12457,7 @@ else
14438 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 14438 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14439 lt_status=$lt_dlunknown 14439 lt_status=$lt_dlunknown
14440 cat > conftest.$ac_ext <<_LT_EOF 14440 cat > conftest.$ac_ext <<_LT_EOF
14441-#line 11792 "configure" 14441-#line 11797 "configure"
14442+#line $LINENO "configure" 14442+#line $LINENO "configure"
14443 #include "confdefs.h" 14443 #include "confdefs.h"
14444 14444
14445 #if HAVE_DLFCN_H 14445 #if HAVE_DLFCN_H
14446@@ -11836,10 +12496,10 @@ else 14446@@ -11841,10 +12501,10 @@ else
14447 /* When -fvisbility=hidden is used, assume the code has been annotated 14447 /* When -fvisbility=hidden is used, assume the code has been annotated
14448 correspondingly for the symbols needed. */ 14448 correspondingly for the symbols needed. */
14449 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 14449 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -14456,7 +14456,7 @@ index 98a76d6da7f..a4266996c44 100755
14456 int main () 14456 int main ()
14457 { 14457 {
14458 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 14458 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14459@@ -12231,6 +12891,7 @@ $RM -r conftest* 14459@@ -12236,6 +12896,7 @@ $RM -r conftest*
14460 14460
14461 # Allow CC to be a program name with arguments. 14461 # Allow CC to be a program name with arguments.
14462 lt_save_CC=$CC 14462 lt_save_CC=$CC
@@ -14464,7 +14464,7 @@ index 98a76d6da7f..a4266996c44 100755
14464 lt_save_LD=$LD 14464 lt_save_LD=$LD
14465 lt_save_GCC=$GCC 14465 lt_save_GCC=$GCC
14466 GCC=$GXX 14466 GCC=$GXX
14467@@ -12248,6 +12909,7 @@ $RM -r conftest* 14467@@ -12253,6 +12914,7 @@ $RM -r conftest*
14468 fi 14468 fi
14469 test -z "${LDCXX+set}" || LD=$LDCXX 14469 test -z "${LDCXX+set}" || LD=$LDCXX
14470 CC=${CXX-"c++"} 14470 CC=${CXX-"c++"}
@@ -14472,7 +14472,7 @@ index 98a76d6da7f..a4266996c44 100755
14472 compiler=$CC 14472 compiler=$CC
14473 compiler_CXX=$CC 14473 compiler_CXX=$CC
14474 for cc_temp in $compiler""; do 14474 for cc_temp in $compiler""; do
14475@@ -12530,7 +13192,13 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie 14475@@ -12535,7 +13197,13 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
14476 allow_undefined_flag_CXX='-berok' 14476 allow_undefined_flag_CXX='-berok'
14477 # Determine the default libpath from the value encoded in an empty 14477 # Determine the default libpath from the value encoded in an empty
14478 # executable. 14478 # executable.
@@ -14487,7 +14487,7 @@ index 98a76d6da7f..a4266996c44 100755
14487 /* end confdefs.h. */ 14487 /* end confdefs.h. */
14488 14488
14489 int 14489 int
14490@@ -12543,22 +13211,29 @@ main () 14490@@ -12548,22 +13216,29 @@ main ()
14491 _ACEOF 14491 _ACEOF
14492 if ac_fn_cxx_try_link "$LINENO"; then : 14492 if ac_fn_cxx_try_link "$LINENO"; then :
14493 14493
@@ -14530,7 +14530,7 @@ index 98a76d6da7f..a4266996c44 100755
14530 14530
14531 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" 14531 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14532 14532
14533@@ -12571,7 +13246,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 14533@@ -12576,7 +13251,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14534 else 14534 else
14535 # Determine the default libpath from the value encoded in an 14535 # Determine the default libpath from the value encoded in an
14536 # empty executable. 14536 # empty executable.
@@ -14545,7 +14545,7 @@ index 98a76d6da7f..a4266996c44 100755
14545 /* end confdefs.h. */ 14545 /* end confdefs.h. */
14546 14546
14547 int 14547 int
14548@@ -12584,22 +13265,29 @@ main () 14548@@ -12589,22 +13270,29 @@ main ()
14549 _ACEOF 14549 _ACEOF
14550 if ac_fn_cxx_try_link "$LINENO"; then : 14550 if ac_fn_cxx_try_link "$LINENO"; then :
14551 14551
@@ -14588,7 +14588,7 @@ index 98a76d6da7f..a4266996c44 100755
14588 14588
14589 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" 14589 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14590 # Warning - without using the other run time loading flags, 14590 # Warning - without using the other run time loading flags,
14591@@ -12642,29 +13330,75 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 14591@@ -12647,29 +13335,75 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14592 ;; 14592 ;;
14593 14593
14594 cygwin* | mingw* | pw32* | cegcc*) 14594 cygwin* | mingw* | pw32* | cegcc*)
@@ -14687,7 +14687,7 @@ index 98a76d6da7f..a4266996c44 100755
14687 darwin* | rhapsody*) 14687 darwin* | rhapsody*)
14688 14688
14689 14689
14690@@ -12770,7 +13504,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 14690@@ -12775,7 +13509,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14691 ;; 14691 ;;
14692 *) 14692 *)
14693 if test "$GXX" = yes; then 14693 if test "$GXX" = yes; then
@@ -14696,7 +14696,7 @@ index 98a76d6da7f..a4266996c44 100755
14696 else 14696 else
14697 # FIXME: insert proper C++ library support 14697 # FIXME: insert proper C++ library support
14698 ld_shlibs_CXX=no 14698 ld_shlibs_CXX=no
14699@@ -12841,10 +13575,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 14699@@ -12846,10 +13580,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14700 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14700 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14701 ;; 14701 ;;
14702 ia64*) 14702 ia64*)
@@ -14709,7 +14709,7 @@ index 98a76d6da7f..a4266996c44 100755
14709 ;; 14709 ;;
14710 esac 14710 esac
14711 fi 14711 fi
14712@@ -12885,9 +13619,9 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 14712@@ -12890,9 +13624,9 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14713 *) 14713 *)
14714 if test "$GXX" = yes; then 14714 if test "$GXX" = yes; then
14715 if test "$with_gnu_ld" = no; then 14715 if test "$with_gnu_ld" = no; then
@@ -14721,7 +14721,7 @@ index 98a76d6da7f..a4266996c44 100755
14721 fi 14721 fi
14722 fi 14722 fi
14723 link_all_deplibs_CXX=yes 14723 link_all_deplibs_CXX=yes
14724@@ -13165,7 +13899,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 14724@@ -13170,7 +13904,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14725 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 14725 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14726 ;; 14726 ;;
14727 *) 14727 *)
@@ -14730,7 +14730,7 @@ index 98a76d6da7f..a4266996c44 100755
14730 ;; 14730 ;;
14731 esac 14731 esac
14732 14732
14733@@ -13211,7 +13945,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 14733@@ -13216,7 +13950,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14734 14734
14735 solaris*) 14735 solaris*)
14736 case $cc_basename in 14736 case $cc_basename in
@@ -14739,7 +14739,7 @@ index 98a76d6da7f..a4266996c44 100755
14739 # Sun C++ 4.2, 5.x and Centerline C++ 14739 # Sun C++ 4.2, 5.x and Centerline C++
14740 archive_cmds_need_lc_CXX=yes 14740 archive_cmds_need_lc_CXX=yes
14741 no_undefined_flag_CXX=' -zdefs' 14741 no_undefined_flag_CXX=' -zdefs'
14742@@ -13252,9 +13986,9 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 14742@@ -13257,9 +13991,9 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14743 if test "$GXX" = yes && test "$with_gnu_ld" = no; then 14743 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14744 no_undefined_flag_CXX=' ${wl}-z ${wl}defs' 14744 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
14745 if $CC --version | $GREP -v '^2\.7' > /dev/null; then 14745 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
@@ -14751,7 +14751,7 @@ index 98a76d6da7f..a4266996c44 100755
14751 14751
14752 # Commands to make compiler produce verbose output that lists 14752 # Commands to make compiler produce verbose output that lists
14753 # what "hidden" libraries, object files and flags are used when 14753 # what "hidden" libraries, object files and flags are used when
14754@@ -13390,6 +14124,13 @@ private: 14754@@ -13395,6 +14129,13 @@ private:
14755 }; 14755 };
14756 _LT_EOF 14756 _LT_EOF
14757 14757
@@ -14765,7 +14765,7 @@ index 98a76d6da7f..a4266996c44 100755
14765 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 14765 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14766 (eval $ac_compile) 2>&5 14766 (eval $ac_compile) 2>&5
14767 ac_status=$? 14767 ac_status=$?
14768@@ -13403,7 +14144,7 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 14768@@ -13408,7 +14149,7 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14769 pre_test_object_deps_done=no 14769 pre_test_object_deps_done=no
14770 14770
14771 for p in `eval "$output_verbose_link_cmd"`; do 14771 for p in `eval "$output_verbose_link_cmd"`; do
@@ -14774,7 +14774,7 @@ index 98a76d6da7f..a4266996c44 100755
14774 14774
14775 -L* | -R* | -l*) 14775 -L* | -R* | -l*)
14776 # Some compilers place space between "-{L,R}" and the path. 14776 # Some compilers place space between "-{L,R}" and the path.
14777@@ -13412,13 +14153,22 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 14777@@ -13417,13 +14158,22 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14778 test $p = "-R"; then 14778 test $p = "-R"; then
14779 prev=$p 14779 prev=$p
14780 continue 14780 continue
@@ -14801,7 +14801,7 @@ index 98a76d6da7f..a4266996c44 100755
14801 # Internal compiler library paths should come after those 14801 # Internal compiler library paths should come after those
14802 # provided the user. The postdeps already come after the 14802 # provided the user. The postdeps already come after the
14803 # user supplied libs so there is no need to process them. 14803 # user supplied libs so there is no need to process them.
14804@@ -13438,8 +14188,10 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 14804@@ -13443,8 +14193,10 @@ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14805 postdeps_CXX="${postdeps_CXX} ${prev}${p}" 14805 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14806 fi 14806 fi
14807 fi 14807 fi
@@ -14812,7 +14812,7 @@ index 98a76d6da7f..a4266996c44 100755
14812 *.$objext) 14812 *.$objext)
14813 # This assumes that the test object file only shows up 14813 # This assumes that the test object file only shows up
14814 # once in the compiler output. 14814 # once in the compiler output.
14815@@ -13475,6 +14227,7 @@ else 14815@@ -13480,6 +14232,7 @@ else
14816 fi 14816 fi
14817 14817
14818 $RM -f confest.$objext 14818 $RM -f confest.$objext
@@ -14820,7 +14820,7 @@ index 98a76d6da7f..a4266996c44 100755
14820 14820
14821 # PORTME: override above test on systems where it is broken 14821 # PORTME: override above test on systems where it is broken
14822 case $host_os in 14822 case $host_os in
14823@@ -13510,7 +14263,7 @@ linux*) 14823@@ -13515,7 +14268,7 @@ linux*)
14824 14824
14825 solaris*) 14825 solaris*)
14826 case $cc_basename in 14826 case $cc_basename in
@@ -14829,7 +14829,7 @@ index 98a76d6da7f..a4266996c44 100755
14829 # The more standards-conforming stlport4 library is 14829 # The more standards-conforming stlport4 library is
14830 # incompatible with the Cstd library. Avoid specifying 14830 # incompatible with the Cstd library. Avoid specifying
14831 # it if it's in CXXFLAGS. Ignore libCrun as 14831 # it if it's in CXXFLAGS. Ignore libCrun as
14832@@ -13575,8 +14328,6 @@ fi 14832@@ -13580,8 +14333,6 @@ fi
14833 lt_prog_compiler_pic_CXX= 14833 lt_prog_compiler_pic_CXX=
14834 lt_prog_compiler_static_CXX= 14834 lt_prog_compiler_static_CXX=
14835 14835
@@ -14838,7 +14838,7 @@ index 98a76d6da7f..a4266996c44 100755
14838 14838
14839 # C++ specific cases for pic, static, wl, etc. 14839 # C++ specific cases for pic, static, wl, etc.
14840 if test "$GXX" = yes; then 14840 if test "$GXX" = yes; then
14841@@ -13681,6 +14432,11 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } 14841@@ -13686,6 +14437,11 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14842 ;; 14842 ;;
14843 esac 14843 esac
14844 ;; 14844 ;;
@@ -14850,7 +14850,7 @@ index 98a76d6da7f..a4266996c44 100755
14850 dgux*) 14850 dgux*)
14851 case $cc_basename in 14851 case $cc_basename in
14852 ec++*) 14852 ec++*)
14853@@ -13833,7 +14589,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } 14853@@ -13838,7 +14594,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14854 ;; 14854 ;;
14855 solaris*) 14855 solaris*)
14856 case $cc_basename in 14856 case $cc_basename in
@@ -14859,7 +14859,7 @@ index 98a76d6da7f..a4266996c44 100755
14859 # Sun C++ 4.2, 5.x and Centerline C++ 14859 # Sun C++ 4.2, 5.x and Centerline C++
14860 lt_prog_compiler_pic_CXX='-KPIC' 14860 lt_prog_compiler_pic_CXX='-KPIC'
14861 lt_prog_compiler_static_CXX='-Bstatic' 14861 lt_prog_compiler_static_CXX='-Bstatic'
14862@@ -13898,10 +14654,17 @@ case $host_os in 14862@@ -13903,10 +14659,17 @@ case $host_os in
14863 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" 14863 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14864 ;; 14864 ;;
14865 esac 14865 esac
@@ -14880,7 +14880,7 @@ index 98a76d6da7f..a4266996c44 100755
14880 14880
14881 # 14881 #
14882 # Check to make sure the PIC flag actually works. 14882 # Check to make sure the PIC flag actually works.
14883@@ -13959,6 +14722,8 @@ fi 14883@@ -13964,6 +14727,8 @@ fi
14884 14884
14885 14885
14886 14886
@@ -14889,7 +14889,7 @@ index 98a76d6da7f..a4266996c44 100755
14889 # 14889 #
14890 # Check to make sure the static flag actually works. 14890 # Check to make sure the static flag actually works.
14891 # 14891 #
14892@@ -14136,6 +14901,7 @@ fi 14892@@ -14141,6 +14906,7 @@ fi
14893 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 14893 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14894 14894
14895 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 14895 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
@@ -14897,7 +14897,7 @@ index 98a76d6da7f..a4266996c44 100755
14897 case $host_os in 14897 case $host_os in
14898 aix[4-9]*) 14898 aix[4-9]*)
14899 # If we're using GNU nm, then we don't want the "-C" option. 14899 # If we're using GNU nm, then we don't want the "-C" option.
14900@@ -14150,15 +14916,20 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie 14900@@ -14155,15 +14921,20 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
14901 ;; 14901 ;;
14902 pw32*) 14902 pw32*)
14903 export_symbols_cmds_CXX="$ltdll_cmds" 14903 export_symbols_cmds_CXX="$ltdll_cmds"
@@ -14923,7 +14923,7 @@ index 98a76d6da7f..a4266996c44 100755
14923 14923
14924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 14924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14925 $as_echo "$ld_shlibs_CXX" >&6; } 14925 $as_echo "$ld_shlibs_CXX" >&6; }
14926@@ -14421,8 +15192,9 @@ cygwin* | mingw* | pw32* | cegcc*) 14926@@ -14426,8 +15197,9 @@ cygwin* | mingw* | pw32* | cegcc*)
14927 need_version=no 14927 need_version=no
14928 need_lib_prefix=no 14928 need_lib_prefix=no
14929 14929
@@ -14935,7 +14935,7 @@ index 98a76d6da7f..a4266996c44 100755
14935 library_names_spec='$libname.dll.a' 14935 library_names_spec='$libname.dll.a'
14936 # DLL is installed to $(libdir)/../bin by postinstall_cmds 14936 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14937 postinstall_cmds='base_file=`basename \${file}`~ 14937 postinstall_cmds='base_file=`basename \${file}`~
14938@@ -14454,13 +15226,71 @@ cygwin* | mingw* | pw32* | cegcc*) 14938@@ -14459,13 +15231,71 @@ cygwin* | mingw* | pw32* | cegcc*)
14939 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 14939 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14940 ;; 14940 ;;
14941 esac 14941 esac
@@ -15008,7 +15008,7 @@ index 98a76d6da7f..a4266996c44 100755
15008 # FIXME: first we should search . and the directory the executable is in 15008 # FIXME: first we should search . and the directory the executable is in
15009 shlibpath_var=PATH 15009 shlibpath_var=PATH
15010 ;; 15010 ;;
15011@@ -15024,6 +15854,7 @@ fi 15011@@ -15029,6 +15859,7 @@ fi
15012 fi # test -n "$compiler" 15012 fi # test -n "$compiler"
15013 15013
15014 CC=$lt_save_CC 15014 CC=$lt_save_CC
@@ -15016,7 +15016,7 @@ index 98a76d6da7f..a4266996c44 100755
15016 LDCXX=$LD 15016 LDCXX=$LD
15017 LD=$lt_save_LD 15017 LD=$lt_save_LD
15018 GCC=$lt_save_GCC 15018 GCC=$lt_save_GCC
15019@@ -20310,13 +21141,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 15019@@ -20389,13 +21220,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15020 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 15020 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15021 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 15021 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15022 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 15022 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -15037,7 +15037,7 @@ index 98a76d6da7f..a4266996c44 100755
15037 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 15037 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15038 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 15038 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15039 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 15039 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15040@@ -20331,14 +21169,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de 15040@@ -20410,14 +21248,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
15041 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 15041 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15042 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 15042 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15043 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' 15043 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
@@ -15056,7 +15056,7 @@ index 98a76d6da7f..a4266996c44 100755
15056 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 15056 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15057 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 15057 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15058 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 15058 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15059@@ -20371,12 +21212,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q 15059@@ -20450,12 +21291,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q
15060 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 15060 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15061 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 15061 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15062 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 15062 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -15070,7 +15070,7 @@ index 98a76d6da7f..a4266996c44 100755
15070 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 15070 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15071 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 15071 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15072 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 15072 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15073@@ -20415,8 +21256,8 @@ old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote 15073@@ -20494,8 +21335,8 @@ old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote
15074 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' 15074 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
15075 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' 15075 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
15076 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' 15076 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
@@ -15080,7 +15080,7 @@ index 98a76d6da7f..a4266996c44 100755
15080 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' 15080 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
15081 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' 15081 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
15082 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' 15082 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
15083@@ -20443,12 +21284,12 @@ hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_ 15083@@ -20522,12 +21363,12 @@ hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_
15084 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' 15084 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
15085 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' 15085 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
15086 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' 15086 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
@@ -15094,7 +15094,7 @@ index 98a76d6da7f..a4266996c44 100755
15094 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' 15094 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
15095 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' 15095 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
15096 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' 15096 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
15097@@ -20486,8 +21327,13 @@ reload_flag \ 15097@@ -20565,8 +21406,13 @@ reload_flag \
15098 OBJDUMP \ 15098 OBJDUMP \
15099 deplibs_check_method \ 15099 deplibs_check_method \
15100 file_magic_cmd \ 15100 file_magic_cmd \
@@ -15108,7 +15108,7 @@ index 98a76d6da7f..a4266996c44 100755
15108 STRIP \ 15108 STRIP \
15109 RANLIB \ 15109 RANLIB \
15110 CC \ 15110 CC \
15111@@ -20497,12 +21343,14 @@ lt_cv_sys_global_symbol_pipe \ 15111@@ -20576,12 +21422,14 @@ lt_cv_sys_global_symbol_pipe \
15112 lt_cv_sys_global_symbol_to_cdecl \ 15112 lt_cv_sys_global_symbol_to_cdecl \
15113 lt_cv_sys_global_symbol_to_c_name_address \ 15113 lt_cv_sys_global_symbol_to_c_name_address \
15114 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 15114 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -15124,7 +15124,7 @@ index 98a76d6da7f..a4266996c44 100755
15124 DSYMUTIL \ 15124 DSYMUTIL \
15125 NMEDIT \ 15125 NMEDIT \
15126 LIPO \ 15126 LIPO \
15127@@ -20518,7 +21366,6 @@ no_undefined_flag \ 15127@@ -20597,7 +21445,6 @@ no_undefined_flag \
15128 hardcode_libdir_flag_spec \ 15128 hardcode_libdir_flag_spec \
15129 hardcode_libdir_flag_spec_ld \ 15129 hardcode_libdir_flag_spec_ld \
15130 hardcode_libdir_separator \ 15130 hardcode_libdir_separator \
@@ -15132,7 +15132,7 @@ index 98a76d6da7f..a4266996c44 100755
15132 exclude_expsyms \ 15132 exclude_expsyms \
15133 include_expsyms \ 15133 include_expsyms \
15134 file_list_spec \ 15134 file_list_spec \
15135@@ -20540,8 +21387,8 @@ LD_CXX \ 15135@@ -20619,8 +21466,8 @@ LD_CXX \
15136 reload_flag_CXX \ 15136 reload_flag_CXX \
15137 compiler_CXX \ 15137 compiler_CXX \
15138 lt_prog_compiler_no_builtin_flag_CXX \ 15138 lt_prog_compiler_no_builtin_flag_CXX \
@@ -15142,7 +15142,7 @@ index 98a76d6da7f..a4266996c44 100755
15142 lt_prog_compiler_static_CXX \ 15142 lt_prog_compiler_static_CXX \
15143 lt_cv_prog_compiler_c_o_CXX \ 15143 lt_cv_prog_compiler_c_o_CXX \
15144 export_dynamic_flag_spec_CXX \ 15144 export_dynamic_flag_spec_CXX \
15145@@ -20553,7 +21400,6 @@ no_undefined_flag_CXX \ 15145@@ -20632,7 +21479,6 @@ no_undefined_flag_CXX \
15146 hardcode_libdir_flag_spec_CXX \ 15146 hardcode_libdir_flag_spec_CXX \
15147 hardcode_libdir_flag_spec_ld_CXX \ 15147 hardcode_libdir_flag_spec_ld_CXX \
15148 hardcode_libdir_separator_CXX \ 15148 hardcode_libdir_separator_CXX \
@@ -15150,7 +15150,7 @@ index 98a76d6da7f..a4266996c44 100755
15150 exclude_expsyms_CXX \ 15150 exclude_expsyms_CXX \
15151 include_expsyms_CXX \ 15151 include_expsyms_CXX \
15152 file_list_spec_CXX \ 15152 file_list_spec_CXX \
15153@@ -20587,6 +21433,7 @@ module_cmds \ 15153@@ -20666,6 +21512,7 @@ module_cmds \
15154 module_expsym_cmds \ 15154 module_expsym_cmds \
15155 export_symbols_cmds \ 15155 export_symbols_cmds \
15156 prelink_cmds \ 15156 prelink_cmds \
@@ -15158,7 +15158,7 @@ index 98a76d6da7f..a4266996c44 100755
15158 postinstall_cmds \ 15158 postinstall_cmds \
15159 postuninstall_cmds \ 15159 postuninstall_cmds \
15160 finish_cmds \ 15160 finish_cmds \
15161@@ -20601,7 +21448,8 @@ archive_expsym_cmds_CXX \ 15161@@ -20680,7 +21527,8 @@ archive_expsym_cmds_CXX \
15162 module_cmds_CXX \ 15162 module_cmds_CXX \
15163 module_expsym_cmds_CXX \ 15163 module_expsym_cmds_CXX \
15164 export_symbols_cmds_CXX \ 15164 export_symbols_cmds_CXX \
@@ -15168,7 +15168,7 @@ index 98a76d6da7f..a4266996c44 100755
15168 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 15168 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15169 *[\\\\\\\`\\"\\\$]*) 15169 *[\\\\\\\`\\"\\\$]*)
15170 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 15170 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15171@@ -21374,7 +22222,8 @@ $as_echo X"$file" | 15171@@ -21453,7 +22301,8 @@ $as_echo X"$file" |
15172 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 15172 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15173 # 15173 #
15174 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 15174 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -15178,7 +15178,7 @@ index 98a76d6da7f..a4266996c44 100755
15178 # Written by Gordon Matzigkeit, 1996 15178 # Written by Gordon Matzigkeit, 1996
15179 # 15179 #
15180 # This file is part of GNU Libtool. 15180 # This file is part of GNU Libtool.
15181@@ -21477,19 +22326,42 @@ SP2NL=$lt_lt_SP2NL 15181@@ -21556,19 +22405,42 @@ SP2NL=$lt_lt_SP2NL
15182 # turn newlines into spaces. 15182 # turn newlines into spaces.
15183 NL2SP=$lt_lt_NL2SP 15183 NL2SP=$lt_lt_NL2SP
15184 15184
@@ -15222,7 +15222,7 @@ index 98a76d6da7f..a4266996c44 100755
15222 # A symbol stripping program. 15222 # A symbol stripping program.
15223 STRIP=$lt_STRIP 15223 STRIP=$lt_STRIP
15224 15224
15225@@ -21519,6 +22391,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 15225@@ -21598,6 +22470,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15226 # Transform the output of nm in a C name address pair when lib prefix is needed. 15226 # Transform the output of nm in a C name address pair when lib prefix is needed.
15227 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 15227 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15228 15228
@@ -15235,7 +15235,7 @@ index 98a76d6da7f..a4266996c44 100755
15235 # The name of the directory that contains temporary libtool files. 15235 # The name of the directory that contains temporary libtool files.
15236 objdir=$objdir 15236 objdir=$objdir
15237 15237
15238@@ -21528,6 +22406,9 @@ MAGIC_CMD=$MAGIC_CMD 15238@@ -21607,6 +22485,9 @@ MAGIC_CMD=$MAGIC_CMD
15239 # Must we lock files when doing compilation? 15239 # Must we lock files when doing compilation?
15240 need_locks=$lt_need_locks 15240 need_locks=$lt_need_locks
15241 15241
@@ -15245,7 +15245,7 @@ index 98a76d6da7f..a4266996c44 100755
15245 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. 15245 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15246 DSYMUTIL=$lt_DSYMUTIL 15246 DSYMUTIL=$lt_DSYMUTIL
15247 15247
15248@@ -21642,12 +22523,12 @@ with_gcc=$GCC 15248@@ -21721,12 +22602,12 @@ with_gcc=$GCC
15249 # Compiler flag to turn off builtin functions. 15249 # Compiler flag to turn off builtin functions.
15250 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 15250 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15251 15251
@@ -15261,7 +15261,7 @@ index 98a76d6da7f..a4266996c44 100755
15261 # Compiler flag to prevent dynamic linking. 15261 # Compiler flag to prevent dynamic linking.
15262 link_static_flag=$lt_lt_prog_compiler_static 15262 link_static_flag=$lt_lt_prog_compiler_static
15263 15263
15264@@ -21734,9 +22615,6 @@ inherit_rpath=$inherit_rpath 15264@@ -21813,9 +22694,6 @@ inherit_rpath=$inherit_rpath
15265 # Whether libtool must link a program against all its dependency libraries. 15265 # Whether libtool must link a program against all its dependency libraries.
15266 link_all_deplibs=$link_all_deplibs 15266 link_all_deplibs=$link_all_deplibs
15267 15267
@@ -15271,7 +15271,7 @@ index 98a76d6da7f..a4266996c44 100755
15271 # Set to "yes" if exported symbols are required. 15271 # Set to "yes" if exported symbols are required.
15272 always_export_symbols=$always_export_symbols 15272 always_export_symbols=$always_export_symbols
15273 15273
15274@@ -21752,6 +22630,9 @@ include_expsyms=$lt_include_expsyms 15274@@ -21831,6 +22709,9 @@ include_expsyms=$lt_include_expsyms
15275 # Commands necessary for linking programs (against libraries) with templates. 15275 # Commands necessary for linking programs (against libraries) with templates.
15276 prelink_cmds=$lt_prelink_cmds 15276 prelink_cmds=$lt_prelink_cmds
15277 15277
@@ -15281,7 +15281,7 @@ index 98a76d6da7f..a4266996c44 100755
15281 # Specify filename containing input files. 15281 # Specify filename containing input files.
15282 file_list_spec=$lt_file_list_spec 15282 file_list_spec=$lt_file_list_spec
15283 15283
15284@@ -21798,210 +22679,169 @@ ltmain="$ac_aux_dir/ltmain.sh" 15284@@ -21877,210 +22758,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
15285 # if finds mixed CR/LF and LF-only lines. Since sed operates in 15285 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15286 # text mode, it properly converts lines to CR/LF. This bash problem 15286 # text mode, it properly converts lines to CR/LF. This bash problem
15287 # is reportedly fixed, but why not run on old versions too? 15287 # is reportedly fixed, but why not run on old versions too?
@@ -15655,7 +15655,7 @@ index 98a76d6da7f..a4266996c44 100755
15655 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 15655 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15656 chmod +x "$ofile" 15656 chmod +x "$ofile"
15657 15657
15658@@ -22029,12 +22869,12 @@ with_gcc=$GCC_CXX 15658@@ -22108,12 +22948,12 @@ with_gcc=$GCC_CXX
15659 # Compiler flag to turn off builtin functions. 15659 # Compiler flag to turn off builtin functions.
15660 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX 15660 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
15661 15661
@@ -15671,7 +15671,7 @@ index 98a76d6da7f..a4266996c44 100755
15671 # Compiler flag to prevent dynamic linking. 15671 # Compiler flag to prevent dynamic linking.
15672 link_static_flag=$lt_lt_prog_compiler_static_CXX 15672 link_static_flag=$lt_lt_prog_compiler_static_CXX
15673 15673
15674@@ -22121,9 +22961,6 @@ inherit_rpath=$inherit_rpath_CXX 15674@@ -22200,9 +23040,6 @@ inherit_rpath=$inherit_rpath_CXX
15675 # Whether libtool must link a program against all its dependency libraries. 15675 # Whether libtool must link a program against all its dependency libraries.
15676 link_all_deplibs=$link_all_deplibs_CXX 15676 link_all_deplibs=$link_all_deplibs_CXX
15677 15677
@@ -15681,7 +15681,7 @@ index 98a76d6da7f..a4266996c44 100755
15681 # Set to "yes" if exported symbols are required. 15681 # Set to "yes" if exported symbols are required.
15682 always_export_symbols=$always_export_symbols_CXX 15682 always_export_symbols=$always_export_symbols_CXX
15683 15683
15684@@ -22139,6 +22976,9 @@ include_expsyms=$lt_include_expsyms_CXX 15684@@ -22218,6 +23055,9 @@ include_expsyms=$lt_include_expsyms_CXX
15685 # Commands necessary for linking programs (against libraries) with templates. 15685 # Commands necessary for linking programs (against libraries) with templates.
15686 prelink_cmds=$lt_prelink_cmds_CXX 15686 prelink_cmds=$lt_prelink_cmds_CXX
15687 15687
@@ -15692,7 +15692,7 @@ index 98a76d6da7f..a4266996c44 100755
15692 file_list_spec=$lt_file_list_spec_CXX 15692 file_list_spec=$lt_file_list_spec_CXX
15693 15693
15694diff --git a/libbacktrace/Makefile.in b/libbacktrace/Makefile.in 15694diff --git a/libbacktrace/Makefile.in b/libbacktrace/Makefile.in
15695index 0a61880ba67..500756cd023 100644 15695index 49852a21d37..d371dda2d34 100644
15696--- a/libbacktrace/Makefile.in 15696--- a/libbacktrace/Makefile.in
15697+++ b/libbacktrace/Makefile.in 15697+++ b/libbacktrace/Makefile.in
15698@@ -1,7 +1,7 @@ 15698@@ -1,7 +1,7 @@
@@ -15705,79 +15705,83 @@ index 0a61880ba67..500756cd023 100644
15705 15705
15706 # This Makefile.in is free software; the Free Software Foundation 15706 # This Makefile.in is free software; the Free Software Foundation
15707 # gives unlimited permission to copy and/or distribute it, 15707 # gives unlimited permission to copy and/or distribute it,
15708@@ -189,6 +189,35 @@ CONFIG_HEADER = config.h 15708@@ -190,37 +190,6 @@ CONFIG_HEADER = config.h
15709 CONFIG_CLEAN_FILES = backtrace-supported.h \ 15709 CONFIG_CLEAN_FILES = backtrace-supported.h \
15710 install-debuginfo-for-buildid.sh 15710 install-debuginfo-for-buildid.sh
15711 CONFIG_CLEAN_VPATH_FILES = 15711 CONFIG_CLEAN_VPATH_FILES =
15712+@NATIVE_TRUE@am__EXEEXT_1 = allocfail$(EXEEXT) 15712-LTLIBRARIES = $(noinst_LTLIBRARIES)
15713+@HAVE_ELF_TRUE@@HAVE_OBJCOPY_DEBUGLINK_TRUE@@NATIVE_TRUE@am__EXEEXT_2 = b2test$(EXEEXT) 15713-am__DEPENDENCIES_1 =
15714+@HAVE_DWZ_TRUE@@HAVE_ELF_TRUE@@HAVE_OBJCOPY_DEBUGLINK_TRUE@@NATIVE_TRUE@am__EXEEXT_3 = b3test$(EXEEXT) 15714-am_libbacktrace_la_OBJECTS = atomic.lo dwarf.lo fileline.lo posix.lo \
15715+@NATIVE_TRUE@am__EXEEXT_4 = test_elf_32$(EXEEXT) test_elf_64$(EXEEXT) \ 15715- print.lo sort.lo state.lo
15716+@NATIVE_TRUE@ test_macho$(EXEEXT) test_xcoff_32$(EXEEXT) \ 15716-libbacktrace_la_OBJECTS = $(am_libbacktrace_la_OBJECTS)
15717+@NATIVE_TRUE@ test_xcoff_64$(EXEEXT) test_pecoff$(EXEEXT) \ 15717-AM_V_lt = $(am__v_lt_@AM_V@)
15718+@NATIVE_TRUE@ test_unknown$(EXEEXT) unittest$(EXEEXT) \ 15718-am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
15719+@NATIVE_TRUE@ unittest_alloc$(EXEEXT) btest$(EXEEXT) 15719-am__v_lt_0 = --silent
15720+@HAVE_ELF_TRUE@@NATIVE_TRUE@am__EXEEXT_5 = btest_lto$(EXEEXT) 15720-am__v_lt_1 =
15721+@NATIVE_TRUE@am__EXEEXT_6 = btest_alloc$(EXEEXT) stest$(EXEEXT) \ 15721-am__objects_1 = atomic.lo dwarf.lo fileline.lo posix.lo print.lo \
15722+@NATIVE_TRUE@ stest_alloc$(EXEEXT) 15722- sort.lo state.lo
15723+@HAVE_ELF_TRUE@@NATIVE_TRUE@am__EXEEXT_7 = ztest$(EXEEXT) \ 15723-@NATIVE_TRUE@am_libbacktrace_alloc_la_OBJECTS = $(am__objects_1)
15724+@HAVE_ELF_TRUE@@NATIVE_TRUE@ ztest_alloc$(EXEEXT) 15724-libbacktrace_alloc_la_OBJECTS = $(am_libbacktrace_alloc_la_OBJECTS)
15725+@NATIVE_TRUE@am__EXEEXT_8 = edtest$(EXEEXT) edtest_alloc$(EXEEXT) 15725-@NATIVE_TRUE@am_libbacktrace_alloc_la_rpath =
15726+@HAVE_PTHREAD_TRUE@@NATIVE_TRUE@am__EXEEXT_9 = ttest$(EXEEXT) \ 15726-@HAVE_ELF_TRUE@@HAVE_OBJCOPY_DEBUGLINK_TRUE@@NATIVE_TRUE@libbacktrace_elf_for_test_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
15727+@HAVE_PTHREAD_TRUE@@NATIVE_TRUE@ ttest_alloc$(EXEEXT) 15727-@HAVE_ELF_TRUE@@HAVE_OBJCOPY_DEBUGLINK_TRUE@@NATIVE_TRUE@ elf_for_test.lo \
15728+@HAVE_COMPRESSED_DEBUG_TRUE@@NATIVE_TRUE@am__EXEEXT_10 = \ 15728-@HAVE_ELF_TRUE@@HAVE_OBJCOPY_DEBUGLINK_TRUE@@NATIVE_TRUE@ $(am__DEPENDENCIES_1) \
15729+@HAVE_COMPRESSED_DEBUG_TRUE@@NATIVE_TRUE@ ctestg$(EXEEXT) \ 15729-@HAVE_ELF_TRUE@@HAVE_OBJCOPY_DEBUGLINK_TRUE@@NATIVE_TRUE@ $(am__DEPENDENCIES_1)
15730+@HAVE_COMPRESSED_DEBUG_TRUE@@NATIVE_TRUE@ ctesta$(EXEEXT) \ 15730-@HAVE_ELF_TRUE@@HAVE_OBJCOPY_DEBUGLINK_TRUE@@NATIVE_TRUE@am_libbacktrace_elf_for_test_la_OBJECTS = $(am__objects_1)
15731+@HAVE_COMPRESSED_DEBUG_TRUE@@NATIVE_TRUE@ ctestg_alloc$(EXEEXT) \ 15731-libbacktrace_elf_for_test_la_OBJECTS = \
15732+@HAVE_COMPRESSED_DEBUG_TRUE@@NATIVE_TRUE@ ctesta_alloc$(EXEEXT) 15732- $(am_libbacktrace_elf_for_test_la_OBJECTS)
15733+@HAVE_DWARF5_TRUE@@NATIVE_TRUE@am__EXEEXT_11 = dwarf5$(EXEEXT) \ 15733-@HAVE_ELF_TRUE@@HAVE_OBJCOPY_DEBUGLINK_TRUE@@NATIVE_TRUE@am_libbacktrace_elf_for_test_la_rpath =
15734+@HAVE_DWARF5_TRUE@@NATIVE_TRUE@ dwarf5_alloc$(EXEEXT) 15734-@NATIVE_TRUE@am_libbacktrace_instrumented_alloc_la_OBJECTS = \
15735+@NATIVE_TRUE@am__EXEEXT_12 = mtest$(EXEEXT) 15735-@NATIVE_TRUE@ $(am__objects_1)
15736+@HAVE_ELF_TRUE@am__EXEEXT_13 = xztest$(EXEEXT) xztest_alloc$(EXEEXT) 15736-libbacktrace_instrumented_alloc_la_OBJECTS = \
15737+am__EXEEXT_14 = $(am__EXEEXT_4) $(am__EXEEXT_5) $(am__EXEEXT_6) \ 15737- $(am_libbacktrace_instrumented_alloc_la_OBJECTS)
15738+ $(am__EXEEXT_7) $(am__EXEEXT_8) $(am__EXEEXT_9) \ 15738-@NATIVE_TRUE@am_libbacktrace_instrumented_alloc_la_rpath =
15739+ $(am__EXEEXT_10) $(am__EXEEXT_11) $(am__EXEEXT_12) \ 15739-@NATIVE_TRUE@am_libbacktrace_noformat_la_OBJECTS = $(am__objects_1)
15740+ $(am__EXEEXT_13) 15740-libbacktrace_noformat_la_OBJECTS = \
15741 LTLIBRARIES = $(noinst_LTLIBRARIES) 15741- $(am_libbacktrace_noformat_la_OBJECTS)
15742 am__DEPENDENCIES_1 = 15742-@NATIVE_TRUE@am_libbacktrace_noformat_la_rpath =
15743 am_libbacktrace_la_OBJECTS = atomic.lo dwarf.lo fileline.lo posix.lo \ 15743 @NATIVE_TRUE@am__EXEEXT_1 = allocfail$(EXEEXT)
15744@@ -220,35 +249,6 @@ libbacktrace_instrumented_alloc_la_OBJECTS = \ 15744 @HAVE_BUILDID_TRUE@@HAVE_ELF_TRUE@@HAVE_OBJCOPY_DEBUGLINK_TRUE@@NATIVE_TRUE@am__EXEEXT_2 = b2test$(EXEEXT)
15745 libbacktrace_noformat_la_OBJECTS = \ 15745 @HAVE_BUILDID_TRUE@@HAVE_DWZ_TRUE@@HAVE_ELF_TRUE@@HAVE_OBJCOPY_DEBUGLINK_TRUE@@NATIVE_TRUE@am__EXEEXT_3 = b3test$(EXEEXT)
15746 $(am_libbacktrace_noformat_la_OBJECTS) 15746@@ -253,6 +222,37 @@ am__EXEEXT_16 = $(am__EXEEXT_4) $(am__EXEEXT_5) $(am__EXEEXT_6) \
15747 @NATIVE_TRUE@am_libbacktrace_noformat_la_rpath = 15747 $(am__EXEEXT_7) $(am__EXEEXT_8) $(am__EXEEXT_9) \
15748-@NATIVE_TRUE@am__EXEEXT_1 = allocfail$(EXEEXT) 15748 $(am__EXEEXT_10) $(am__EXEEXT_11) $(am__EXEEXT_12) \
15749-@HAVE_ELF_TRUE@@HAVE_OBJCOPY_DEBUGLINK_TRUE@@NATIVE_TRUE@am__EXEEXT_2 = b2test$(EXEEXT) 15749 $(am__EXEEXT_13) $(am__EXEEXT_14) $(am__EXEEXT_15)
15750-@HAVE_DWZ_TRUE@@HAVE_ELF_TRUE@@HAVE_OBJCOPY_DEBUGLINK_TRUE@@NATIVE_TRUE@am__EXEEXT_3 = b3test$(EXEEXT) 15750+LTLIBRARIES = $(noinst_LTLIBRARIES)
15751-@NATIVE_TRUE@am__EXEEXT_4 = test_elf_32$(EXEEXT) test_elf_64$(EXEEXT) \ 15751+am__DEPENDENCIES_1 =
15752-@NATIVE_TRUE@ test_macho$(EXEEXT) test_xcoff_32$(EXEEXT) \ 15752+am_libbacktrace_la_OBJECTS = atomic.lo dwarf.lo fileline.lo posix.lo \
15753-@NATIVE_TRUE@ test_xcoff_64$(EXEEXT) test_pecoff$(EXEEXT) \ 15753+ print.lo sort.lo state.lo
15754-@NATIVE_TRUE@ test_unknown$(EXEEXT) unittest$(EXEEXT) \ 15754+libbacktrace_la_OBJECTS = $(am_libbacktrace_la_OBJECTS)
15755-@NATIVE_TRUE@ unittest_alloc$(EXEEXT) btest$(EXEEXT) 15755+AM_V_lt = $(am__v_lt_@AM_V@)
15756-@HAVE_ELF_TRUE@@NATIVE_TRUE@am__EXEEXT_5 = btest_lto$(EXEEXT) 15756+am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
15757-@NATIVE_TRUE@am__EXEEXT_6 = btest_alloc$(EXEEXT) stest$(EXEEXT) \ 15757+am__v_lt_0 = --silent
15758-@NATIVE_TRUE@ stest_alloc$(EXEEXT) 15758+am__v_lt_1 =
15759-@HAVE_ELF_TRUE@@NATIVE_TRUE@am__EXEEXT_7 = ztest$(EXEEXT) \ 15759+am__objects_1 = atomic.lo dwarf.lo fileline.lo posix.lo print.lo \
15760-@HAVE_ELF_TRUE@@NATIVE_TRUE@ ztest_alloc$(EXEEXT) 15760+ sort.lo state.lo
15761-@NATIVE_TRUE@am__EXEEXT_8 = edtest$(EXEEXT) edtest_alloc$(EXEEXT) 15761+@NATIVE_TRUE@am_libbacktrace_alloc_la_OBJECTS = $(am__objects_1)
15762-@HAVE_PTHREAD_TRUE@@NATIVE_TRUE@am__EXEEXT_9 = ttest$(EXEEXT) \ 15762+libbacktrace_alloc_la_OBJECTS = $(am_libbacktrace_alloc_la_OBJECTS)
15763-@HAVE_PTHREAD_TRUE@@NATIVE_TRUE@ ttest_alloc$(EXEEXT) 15763+@NATIVE_TRUE@am_libbacktrace_alloc_la_rpath =
15764-@HAVE_COMPRESSED_DEBUG_TRUE@@NATIVE_TRUE@am__EXEEXT_10 = \ 15764+@HAVE_ELF_TRUE@@HAVE_OBJCOPY_DEBUGLINK_TRUE@@NATIVE_TRUE@libbacktrace_elf_for_test_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
15765-@HAVE_COMPRESSED_DEBUG_TRUE@@NATIVE_TRUE@ ctestg$(EXEEXT) \ 15765+@HAVE_ELF_TRUE@@HAVE_OBJCOPY_DEBUGLINK_TRUE@@NATIVE_TRUE@ elf_for_test.lo \
15766-@HAVE_COMPRESSED_DEBUG_TRUE@@NATIVE_TRUE@ ctesta$(EXEEXT) \ 15766+@HAVE_ELF_TRUE@@HAVE_OBJCOPY_DEBUGLINK_TRUE@@NATIVE_TRUE@ $(am__DEPENDENCIES_1) \
15767-@HAVE_COMPRESSED_DEBUG_TRUE@@NATIVE_TRUE@ ctestg_alloc$(EXEEXT) \ 15767+@HAVE_ELF_TRUE@@HAVE_OBJCOPY_DEBUGLINK_TRUE@@NATIVE_TRUE@ $(am__DEPENDENCIES_1)
15768-@HAVE_COMPRESSED_DEBUG_TRUE@@NATIVE_TRUE@ ctesta_alloc$(EXEEXT) 15768+@HAVE_ELF_TRUE@@HAVE_OBJCOPY_DEBUGLINK_TRUE@@NATIVE_TRUE@am_libbacktrace_elf_for_test_la_OBJECTS = $(am__objects_1)
15769-@HAVE_DWARF5_TRUE@@NATIVE_TRUE@am__EXEEXT_11 = dwarf5$(EXEEXT) \ 15769+libbacktrace_elf_for_test_la_OBJECTS = \
15770-@HAVE_DWARF5_TRUE@@NATIVE_TRUE@ dwarf5_alloc$(EXEEXT) 15770+ $(am_libbacktrace_elf_for_test_la_OBJECTS)
15771-@NATIVE_TRUE@am__EXEEXT_12 = mtest$(EXEEXT) 15771+@HAVE_ELF_TRUE@@HAVE_OBJCOPY_DEBUGLINK_TRUE@@NATIVE_TRUE@am_libbacktrace_elf_for_test_la_rpath =
15772-@HAVE_ELF_TRUE@am__EXEEXT_13 = xztest$(EXEEXT) xztest_alloc$(EXEEXT) 15772+@NATIVE_TRUE@am_libbacktrace_instrumented_alloc_la_OBJECTS = \
15773-am__EXEEXT_14 = $(am__EXEEXT_4) $(am__EXEEXT_5) $(am__EXEEXT_6) \ 15773+@NATIVE_TRUE@ $(am__objects_1)
15774- $(am__EXEEXT_7) $(am__EXEEXT_8) $(am__EXEEXT_9) \ 15774+libbacktrace_instrumented_alloc_la_OBJECTS = \
15775- $(am__EXEEXT_10) $(am__EXEEXT_11) $(am__EXEEXT_12) \ 15775+ $(am_libbacktrace_instrumented_alloc_la_OBJECTS)
15776- $(am__EXEEXT_13) 15776+@NATIVE_TRUE@am_libbacktrace_instrumented_alloc_la_rpath =
15777+@NATIVE_TRUE@am_libbacktrace_noformat_la_OBJECTS = $(am__objects_1)
15778+libbacktrace_noformat_la_OBJECTS = \
15779+ $(am_libbacktrace_noformat_la_OBJECTS)
15780+@NATIVE_TRUE@am_libbacktrace_noformat_la_rpath =
15777 @NATIVE_TRUE@am_allocfail_OBJECTS = allocfail-allocfail.$(OBJEXT) \ 15781 @NATIVE_TRUE@am_allocfail_OBJECTS = allocfail-allocfail.$(OBJEXT) \
15778 @NATIVE_TRUE@ allocfail-testlib.$(OBJEXT) 15782 @NATIVE_TRUE@ allocfail-testlib.$(OBJEXT)
15779 allocfail_OBJECTS = $(am_allocfail_OBJECTS) 15783 allocfail_OBJECTS = $(am_allocfail_OBJECTS)
15780@@ -536,7 +536,7 @@ am__v_at_0 = @ 15784@@ -571,7 +571,7 @@ am__v_at_0 = @
15781 am__v_at_1 = 15785 am__v_at_1 =
15782 DEFAULT_INCLUDES = -I.@am__isrc@ 15786 DEFAULT_INCLUDES = -I.@am__isrc@
15783 depcomp = 15787 depcomp =
@@ -15786,7 +15790,7 @@ index 0a61880ba67..500756cd023 100644
15786 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ 15790 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
15787 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 15791 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
15788 LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ 15792 LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
15789@@ -579,8 +579,8 @@ am__can_run_installinfo = \ 15793@@ -615,8 +615,8 @@ am__can_run_installinfo = \
15790 n|no|NO) false;; \ 15794 n|no|NO) false;; \
15791 *) (install-info --version) >/dev/null 2>&1;; \ 15795 *) (install-info --version) >/dev/null 2>&1;; \
15792 esac 15796 esac
@@ -15797,7 +15801,7 @@ index 0a61880ba67..500756cd023 100644
15797 # Read a list of newline-separated strings from the standard input, 15801 # Read a list of newline-separated strings from the standard input,
15798 # and print each of them once, without duplicates. Input order is 15802 # and print each of them once, without duplicates. Input order is
15799 # *not* preserved. 15803 # *not* preserved.
15800@@ -597,9 +597,6 @@ am__define_uniq_tagged_files = \ 15804@@ -633,9 +633,6 @@ am__define_uniq_tagged_files = \
15801 unique=`for i in $$list; do \ 15805 unique=`for i in $$list; do \
15802 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 15806 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
15803 done | $(am__uniquify_input)` 15807 done | $(am__uniquify_input)`
@@ -15807,7 +15811,7 @@ index 0a61880ba67..500756cd023 100644
15807 AM_RECURSIVE_TARGETS = cscope check recheck 15811 AM_RECURSIVE_TARGETS = cscope check recheck
15808 am__tty_colors_dummy = \ 15812 am__tty_colors_dummy = \
15809 mgn= red= grn= lgn= blu= brg= std=; \ 15813 mgn= red= grn= lgn= blu= brg= std=; \
15810@@ -783,6 +780,7 @@ am__set_TESTS_bases = \ 15814@@ -819,6 +816,7 @@ am__set_TESTS_bases = \
15811 bases='$(TEST_LOGS)'; \ 15815 bases='$(TEST_LOGS)'; \
15812 bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \ 15816 bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
15813 bases=`echo $$bases` 15817 bases=`echo $$bases`
@@ -15815,7 +15819,7 @@ index 0a61880ba67..500756cd023 100644
15815 RECHECK_LOGS = $(TEST_LOGS) 15819 RECHECK_LOGS = $(TEST_LOGS)
15816 TEST_SUITE_LOG = test-suite.log 15820 TEST_SUITE_LOG = test-suite.log
15817 TEST_EXTENSIONS = @EXEEXT@ .test 15821 TEST_EXTENSIONS = @EXEEXT@ .test
15818@@ -825,8 +823,11 @@ CLOCK_GETTIME_LINK = @CLOCK_GETTIME_LINK@ 15822@@ -861,8 +859,11 @@ CLOCK_GETTIME_LINK = @CLOCK_GETTIME_LINK@
15819 COMM = @COMM@ 15823 COMM = @COMM@
15820 CPP = @CPP@ 15824 CPP = @CPP@
15821 CPPFLAGS = @CPPFLAGS@ 15825 CPPFLAGS = @CPPFLAGS@
@@ -15827,7 +15831,7 @@ index 0a61880ba67..500756cd023 100644
15827 DSYMUTIL = @DSYMUTIL@ 15831 DSYMUTIL = @DSYMUTIL@
15828 DUMPBIN = @DUMPBIN@ 15832 DUMPBIN = @DUMPBIN@
15829 DWZ = @DWZ@ 15833 DWZ = @DWZ@
15830@@ -834,6 +835,7 @@ ECHO_C = @ECHO_C@ 15834@@ -870,6 +871,7 @@ ECHO_C = @ECHO_C@
15831 ECHO_N = @ECHO_N@ 15835 ECHO_N = @ECHO_N@
15832 ECHO_T = @ECHO_T@ 15836 ECHO_T = @ECHO_T@
15833 EGREP = @EGREP@ 15837 EGREP = @EGREP@
@@ -15835,7 +15839,7 @@ index 0a61880ba67..500756cd023 100644
15835 EXEEXT = @EXEEXT@ 15839 EXEEXT = @EXEEXT@
15836 EXTRA_FLAGS = @EXTRA_FLAGS@ 15840 EXTRA_FLAGS = @EXTRA_FLAGS@
15837 FGREP = @FGREP@ 15841 FGREP = @FGREP@
15838@@ -854,6 +856,7 @@ LN_S = @LN_S@ 15842@@ -890,6 +892,7 @@ LN_S = @LN_S@
15839 LTLIBOBJS = @LTLIBOBJS@ 15843 LTLIBOBJS = @LTLIBOBJS@
15840 MAINT = @MAINT@ 15844 MAINT = @MAINT@
15841 MAKEINFO = @MAKEINFO@ 15845 MAKEINFO = @MAKEINFO@
@@ -15843,7 +15847,7 @@ index 0a61880ba67..500756cd023 100644
15843 MKDIR_P = @MKDIR_P@ 15847 MKDIR_P = @MKDIR_P@
15844 NM = @NM@ 15848 NM = @NM@
15845 NMEDIT = @NMEDIT@ 15849 NMEDIT = @NMEDIT@
15846@@ -886,6 +889,7 @@ abs_builddir = @abs_builddir@ 15850@@ -922,6 +925,7 @@ abs_builddir = @abs_builddir@
15847 abs_srcdir = @abs_srcdir@ 15851 abs_srcdir = @abs_srcdir@
15848 abs_top_builddir = @abs_top_builddir@ 15852 abs_top_builddir = @abs_top_builddir@
15849 abs_top_srcdir = @abs_top_srcdir@ 15853 abs_top_srcdir = @abs_top_srcdir@
@@ -15851,7 +15855,7 @@ index 0a61880ba67..500756cd023 100644
15851 ac_ct_CC = @ac_ct_CC@ 15855 ac_ct_CC = @ac_ct_CC@
15852 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ 15856 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
15853 am__leading_dot = @am__leading_dot@ 15857 am__leading_dot = @am__leading_dot@
15854@@ -1178,8 +1182,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 15858@@ -1267,8 +1271,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
15855 echo ' $(SHELL) ./config.status'; \ 15859 echo ' $(SHELL) ./config.status'; \
15856 $(SHELL) ./config.status;; \ 15860 $(SHELL) ./config.status;; \
15857 *) \ 15861 *) \
@@ -15862,7 +15866,7 @@ index 0a61880ba67..500756cd023 100644
15862 esac; 15866 esac;
15863 $(top_srcdir)/../multilib.am $(am__empty): 15867 $(top_srcdir)/../multilib.am $(am__empty):
15864 15868
15865@@ -1211,6 +1215,15 @@ backtrace-supported.h: $(top_builddir)/config.status $(srcdir)/backtrace-support 15869@@ -1300,6 +1304,15 @@ backtrace-supported.h: $(top_builddir)/config.status $(srcdir)/backtrace-support
15866 install-debuginfo-for-buildid.sh: $(top_builddir)/config.status $(srcdir)/install-debuginfo-for-buildid.sh.in 15870 install-debuginfo-for-buildid.sh: $(top_builddir)/config.status $(srcdir)/install-debuginfo-for-buildid.sh.in
15867 cd $(top_builddir) && $(SHELL) ./config.status $@ 15871 cd $(top_builddir) && $(SHELL) ./config.status $@
15868 15872
@@ -15878,7 +15882,7 @@ index 0a61880ba67..500756cd023 100644
15878 clean-checkLTLIBRARIES: 15882 clean-checkLTLIBRARIES:
15879 -test -z "$(check_LTLIBRARIES)" || rm -f $(check_LTLIBRARIES) 15883 -test -z "$(check_LTLIBRARIES)" || rm -f $(check_LTLIBRARIES)
15880 @list='$(check_LTLIBRARIES)'; \ 15884 @list='$(check_LTLIBRARIES)'; \
15881@@ -1248,15 +1261,6 @@ libbacktrace_instrumented_alloc.la: $(libbacktrace_instrumented_alloc_la_OBJECTS 15885@@ -1337,15 +1350,6 @@ libbacktrace_instrumented_alloc.la: $(libbacktrace_instrumented_alloc_la_OBJECTS
15882 libbacktrace_noformat.la: $(libbacktrace_noformat_la_OBJECTS) $(libbacktrace_noformat_la_DEPENDENCIES) $(EXTRA_libbacktrace_noformat_la_DEPENDENCIES) 15886 libbacktrace_noformat.la: $(libbacktrace_noformat_la_OBJECTS) $(libbacktrace_noformat_la_DEPENDENCIES) $(EXTRA_libbacktrace_noformat_la_DEPENDENCIES)
15883 $(AM_V_CCLD)$(LINK) $(am_libbacktrace_noformat_la_rpath) $(libbacktrace_noformat_la_OBJECTS) $(libbacktrace_noformat_la_LIBADD) $(LIBS) 15887 $(AM_V_CCLD)$(LINK) $(am_libbacktrace_noformat_la_rpath) $(libbacktrace_noformat_la_OBJECTS) $(libbacktrace_noformat_la_LIBADD) $(LIBS)
15884 15888
@@ -15894,7 +15898,7 @@ index 0a61880ba67..500756cd023 100644
15894 allocfail$(EXEEXT): $(allocfail_OBJECTS) $(allocfail_DEPENDENCIES) $(EXTRA_allocfail_DEPENDENCIES) 15898 allocfail$(EXEEXT): $(allocfail_OBJECTS) $(allocfail_DEPENDENCIES) $(EXTRA_allocfail_DEPENDENCIES)
15895 @rm -f allocfail$(EXEEXT) 15899 @rm -f allocfail$(EXEEXT)
15896 $(AM_V_CCLD)$(allocfail_LINK) $(allocfail_OBJECTS) $(allocfail_LDADD) $(LIBS) 15900 $(AM_V_CCLD)$(allocfail_LINK) $(allocfail_OBJECTS) $(allocfail_LDADD) $(LIBS)
15897@@ -1959,7 +1963,7 @@ $(TEST_SUITE_LOG): $(TEST_LOGS) 15901@@ -2096,7 +2100,7 @@ $(TEST_SUITE_LOG): $(TEST_LOGS)
15898 test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \ 15902 test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
15899 fi; \ 15903 fi; \
15900 echo "$${col}$$br$${std}"; \ 15904 echo "$${col}$$br$${std}"; \
@@ -15903,7 +15907,7 @@ index 0a61880ba67..500756cd023 100644
15903 echo "$${col}$$br$${std}"; \ 15907 echo "$${col}$$br$${std}"; \
15904 create_testsuite_report --maybe-color; \ 15908 create_testsuite_report --maybe-color; \
15905 echo "$$col$$br$$std"; \ 15909 echo "$$col$$br$$std"; \
15906@@ -1972,7 +1976,7 @@ $(TEST_SUITE_LOG): $(TEST_LOGS) 15910@@ -2109,7 +2113,7 @@ $(TEST_SUITE_LOG): $(TEST_LOGS)
15907 fi; \ 15911 fi; \
15908 $$success || exit 1 15912 $$success || exit 1
15909 15913
@@ -15912,7 +15916,7 @@ index 0a61880ba67..500756cd023 100644
15912 @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list 15916 @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
15913 @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list 15917 @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
15914 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) 15918 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
15915@@ -1982,7 +1986,7 @@ check-TESTS: 15919@@ -2119,7 +2123,7 @@ check-TESTS:
15916 log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \ 15920 log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
15917 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \ 15921 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
15918 exit $$?; 15922 exit $$?;
@@ -15921,7 +15925,7 @@ index 0a61880ba67..500756cd023 100644
15921 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) 15925 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
15922 @set +e; $(am__set_TESTS_bases); \ 15926 @set +e; $(am__set_TESTS_bases); \
15923 bases=`for i in $$bases; do echo $$i; done \ 15927 bases=`for i in $$bases; do echo $$i; done \
15924@@ -2260,7 +2264,7 @@ xztest_alloc.log: xztest_alloc$(EXEEXT) 15928@@ -2439,7 +2443,7 @@ xztest_alloc.log: xztest_alloc$(EXEEXT)
15925 @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ 15929 @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
15926 @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT) 15930 @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
15927 check-am: all-am 15931 check-am: all-am
@@ -16175,10 +16179,10 @@ index 528e6173930..d88a5ec84f2 100644
16175 # This file is free software; the Free Software Foundation 16179 # This file is free software; the Free Software Foundation
16176 # gives unlimited permission to copy and/or distribute it, 16180 # gives unlimited permission to copy and/or distribute it,
16177diff --git a/libbacktrace/configure b/libbacktrace/configure 16181diff --git a/libbacktrace/configure b/libbacktrace/configure
16178index e5ca8ad9379..b7c4c4be78d 100755 16182index 4ab612dc780..68f6b8566e9 100755
16179--- a/libbacktrace/configure 16183--- a/libbacktrace/configure
16180+++ b/libbacktrace/configure 16184+++ b/libbacktrace/configure
16181@@ -680,7 +680,10 @@ OTOOL 16185@@ -686,7 +686,10 @@ OTOOL
16182 LIPO 16186 LIPO
16183 NMEDIT 16187 NMEDIT
16184 DSYMUTIL 16188 DSYMUTIL
@@ -16189,7 +16193,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
16189 OBJDUMP 16193 OBJDUMP
16190 LN_S 16194 LN_S
16191 NM 16195 NM
16192@@ -701,6 +704,9 @@ AM_BACKSLASH 16196@@ -707,6 +710,9 @@ AM_BACKSLASH
16193 AM_DEFAULT_VERBOSITY 16197 AM_DEFAULT_VERBOSITY
16194 AM_DEFAULT_V 16198 AM_DEFAULT_V
16195 AM_V 16199 AM_V
@@ -16199,7 +16203,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
16199 am__untar 16203 am__untar
16200 am__tar 16204 am__tar
16201 AMTAR 16205 AMTAR
16202@@ -798,6 +804,7 @@ enable_static 16206@@ -804,6 +810,7 @@ enable_static
16203 with_pic 16207 with_pic
16204 enable_fast_install 16208 enable_fast_install
16205 with_gnu_ld 16209 with_gnu_ld
@@ -16207,7 +16211,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
16207 enable_libtool_lock 16211 enable_libtool_lock
16208 enable_largefile 16212 enable_largefile
16209 enable_cet 16213 enable_cet
16210@@ -1458,6 +1465,8 @@ Optional Packages: 16214@@ -1466,6 +1473,8 @@ Optional Packages:
16211 --with-pic try to use only PIC/non-PIC objects [default=use 16215 --with-pic try to use only PIC/non-PIC objects [default=use
16212 both] 16216 both]
16213 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 16217 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
@@ -16216,7 +16220,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
16216 --with-system-libunwind use installed libunwind 16220 --with-system-libunwind use installed libunwind
16217 16221
16218 Some influential environment variables: 16222 Some influential environment variables:
16219@@ -4047,7 +4056,7 @@ libtool_VERSION=1:0:0 16223@@ -4054,7 +4063,7 @@ libtool_VERSION=1:0:0
16220 # -Wall: Issue all automake warnings. 16224 # -Wall: Issue all automake warnings.
16221 # -Wno-portability: Don't warn about constructs supported by GNU make. 16225 # -Wno-portability: Don't warn about constructs supported by GNU make.
16222 # (because GCC requires GNU make anyhow). 16226 # (because GCC requires GNU make anyhow).
@@ -16225,7 +16229,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
16225 16229
16226 # Find a good install program. We prefer a C program (faster), 16230 # Find a good install program. We prefer a C program (faster),
16227 # so one script is as good as another. But avoid the broken or 16231 # so one script is as good as another. But avoid the broken or
16228@@ -4220,12 +4229,7 @@ ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 16232@@ -4227,12 +4236,7 @@ ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
16229 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 16233 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
16230 16234
16231 if test x"${MISSING+set}" != xset; then 16235 if test x"${MISSING+set}" != xset; then
@@ -16239,7 +16243,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
16239 fi 16243 fi
16240 # Use eval to expand $SHELL 16244 # Use eval to expand $SHELL
16241 if eval "$MISSING --is-lightweight"; then 16245 if eval "$MISSING --is-lightweight"; then
16242@@ -4551,8 +4555,8 @@ MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 16246@@ -4558,8 +4562,8 @@ MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
16243 16247
16244 # For better backward compatibility. To be removed once Automake 1.9.x 16248 # For better backward compatibility. To be removed once Automake 1.9.x
16245 # dies out for good. For more background, see: 16249 # dies out for good. For more background, see:
@@ -16250,7 +16254,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
16250 mkdir_p='$(MKDIR_P)' 16254 mkdir_p='$(MKDIR_P)'
16251 16255
16252 # We need awk for the "check" target (and possibly the TAP driver). The 16256 # We need awk for the "check" target (and possibly the TAP driver). The
16253@@ -4571,6 +4575,20 @@ am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 16257@@ -4578,6 +4582,20 @@ am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
16254 16258
16255 16259
16256 16260
@@ -16271,7 +16275,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
16271 16275
16272 # POSIX will say in a future version that running "rm -f" with no argument 16276 # POSIX will say in a future version that running "rm -f" with no argument
16273 # is OK; and we want to be able to make that assumption in our Makefile 16277 # is OK; and we want to be able to make that assumption in our Makefile
16274@@ -4603,7 +4621,7 @@ END 16278@@ -4610,7 +4628,7 @@ END
16275 Aborting the configuration process, to ensure you take notice of the issue. 16279 Aborting the configuration process, to ensure you take notice of the issue.
16276 16280
16277 You can download and install GNU coreutils to get an 'rm' implementation 16281 You can download and install GNU coreutils to get an 'rm' implementation
@@ -16280,7 +16284,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
16280 16284
16281 If you want to complete the configuration process using your problematic 16285 If you want to complete the configuration process using your problematic
16282 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 16286 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
16283@@ -5446,8 +5464,8 @@ esac 16287@@ -5453,8 +5471,8 @@ esac
16284 16288
16285 16289
16286 16290
@@ -16291,7 +16295,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
16291 16295
16292 16296
16293 16297
16294@@ -5487,7 +5505,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 16298@@ -5494,7 +5512,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
16295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 16299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
16296 $as_echo_n "checking how to print strings... " >&6; } 16300 $as_echo_n "checking how to print strings... " >&6; }
16297 # Test print first, because it will be a builtin if present. 16301 # Test print first, because it will be a builtin if present.
@@ -16300,7 +16304,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
16300 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 16304 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
16301 ECHO='print -r --' 16305 ECHO='print -r --'
16302 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 16306 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
16303@@ -6180,8 +6198,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; 16307@@ -6187,8 +6205,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
16304 # Try some XSI features 16308 # Try some XSI features
16305 xsi_shell=no 16309 xsi_shell=no
16306 ( _lt_dummy="a/b/c" 16310 ( _lt_dummy="a/b/c"
@@ -16311,7 +16315,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
16311 && eval 'test $(( 1 + 1 )) -eq 2 \ 16315 && eval 'test $(( 1 + 1 )) -eq 2 \
16312 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 16316 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
16313 && xsi_shell=yes 16317 && xsi_shell=yes
16314@@ -6230,6 +6248,80 @@ esac 16318@@ -6237,6 +6255,80 @@ esac
16315 16319
16316 16320
16317 16321
@@ -16392,7 +16396,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
16392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 16396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
16393 $as_echo_n "checking for $LD option to reload object files... " >&6; } 16397 $as_echo_n "checking for $LD option to reload object files... " >&6; }
16394 if ${lt_cv_ld_reload_flag+:} false; then : 16398 if ${lt_cv_ld_reload_flag+:} false; then :
16395@@ -6246,6 +6338,11 @@ case $reload_flag in 16399@@ -6253,6 +6345,11 @@ case $reload_flag in
16396 esac 16400 esac
16397 reload_cmds='$LD$reload_flag -o $output$reload_objs' 16401 reload_cmds='$LD$reload_flag -o $output$reload_objs'
16398 case $host_os in 16402 case $host_os in
@@ -16404,7 +16408,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
16404 darwin*) 16408 darwin*)
16405 if test "$GCC" = yes; then 16409 if test "$GCC" = yes; then
16406 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 16410 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
16407@@ -6414,7 +6511,8 @@ mingw* | pw32*) 16411@@ -6421,7 +6518,8 @@ mingw* | pw32*)
16408 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 16412 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
16409 lt_cv_file_magic_cmd='func_win32_libid' 16413 lt_cv_file_magic_cmd='func_win32_libid'
16410 else 16414 else
@@ -16414,7 +16418,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
16414 lt_cv_file_magic_cmd='$OBJDUMP -f' 16418 lt_cv_file_magic_cmd='$OBJDUMP -f'
16415 fi 16419 fi
16416 ;; 16420 ;;
16417@@ -6573,6 +6671,21 @@ esac 16421@@ -6580,6 +6678,21 @@ esac
16418 fi 16422 fi
16419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 16423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
16420 $as_echo "$lt_cv_deplibs_check_method" >&6; } 16424 $as_echo "$lt_cv_deplibs_check_method" >&6; }
@@ -16436,7 +16440,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
16436 file_magic_cmd=$lt_cv_file_magic_cmd 16440 file_magic_cmd=$lt_cv_file_magic_cmd
16437 deplibs_check_method=$lt_cv_deplibs_check_method 16441 deplibs_check_method=$lt_cv_deplibs_check_method
16438 test -z "$deplibs_check_method" && deplibs_check_method=unknown 16442 test -z "$deplibs_check_method" && deplibs_check_method=unknown
16439@@ -6588,6 +6701,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown 16443@@ -6595,6 +6708,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
16440 16444
16441 16445
16442 16446
@@ -16594,7 +16598,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
16594 plugin_option= 16598 plugin_option=
16595 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll" 16599 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
16596 for plugin in $plugin_names; do 16600 for plugin in $plugin_names; do
16597@@ -6602,8 +6866,10 @@ for plugin in $plugin_names; do 16601@@ -6609,8 +6873,10 @@ for plugin in $plugin_names; do
16598 done 16602 done
16599 16603
16600 if test -n "$ac_tool_prefix"; then 16604 if test -n "$ac_tool_prefix"; then
@@ -16607,7 +16611,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
16607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16608 $as_echo_n "checking for $ac_word... " >&6; } 16612 $as_echo_n "checking for $ac_word... " >&6; }
16609 if ${ac_cv_prog_AR+:} false; then : 16613 if ${ac_cv_prog_AR+:} false; then :
16610@@ -6619,7 +6885,7 @@ do 16614@@ -6626,7 +6892,7 @@ do
16611 test -z "$as_dir" && as_dir=. 16615 test -z "$as_dir" && as_dir=.
16612 for ac_exec_ext in '' $ac_executable_extensions; do 16616 for ac_exec_ext in '' $ac_executable_extensions; do
16613 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16617 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -16616,7 +16620,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
16616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16617 break 2 16621 break 2
16618 fi 16622 fi
16619@@ -6639,11 +6905,15 @@ $as_echo "no" >&6; } 16623@@ -6646,11 +6912,15 @@ $as_echo "no" >&6; }
16620 fi 16624 fi
16621 16625
16622 16626
@@ -16635,7 +16639,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
16635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16636 $as_echo_n "checking for $ac_word... " >&6; } 16640 $as_echo_n "checking for $ac_word... " >&6; }
16637 if ${ac_cv_prog_ac_ct_AR+:} false; then : 16641 if ${ac_cv_prog_ac_ct_AR+:} false; then :
16638@@ -6659,7 +6929,7 @@ do 16642@@ -6666,7 +6936,7 @@ do
16639 test -z "$as_dir" && as_dir=. 16643 test -z "$as_dir" && as_dir=.
16640 for ac_exec_ext in '' $ac_executable_extensions; do 16644 for ac_exec_ext in '' $ac_executable_extensions; do
16641 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16645 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -16644,7 +16648,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
16644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16645 break 2 16649 break 2
16646 fi 16650 fi
16647@@ -6678,6 +6948,10 @@ else 16651@@ -6685,6 +6955,10 @@ else
16648 $as_echo "no" >&6; } 16652 $as_echo "no" >&6; }
16649 fi 16653 fi
16650 16654
@@ -16655,7 +16659,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
16655 if test "x$ac_ct_AR" = x; then 16659 if test "x$ac_ct_AR" = x; then
16656 AR="false" 16660 AR="false"
16657 else 16661 else
16658@@ -6689,31 +6963,83 @@ ac_tool_warned=yes ;; 16662@@ -6696,31 +6970,83 @@ ac_tool_warned=yes ;;
16659 esac 16663 esac
16660 AR=$ac_ct_AR 16664 AR=$ac_ct_AR
16661 fi 16665 fi
@@ -16754,7 +16758,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
16754 16758
16755 16759
16756 16760
16757@@ -7058,8 +7384,8 @@ esac 16761@@ -7065,8 +7391,8 @@ esac
16758 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 16762 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
16759 16763
16760 # Transform an extracted symbol line into symbol name and symbol address 16764 # Transform an extracted symbol line into symbol name and symbol address
@@ -16765,7 +16769,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
16765 16769
16766 # Handle CRLF in mingw tool chain 16770 # Handle CRLF in mingw tool chain
16767 opt_cr= 16771 opt_cr=
16768@@ -7095,6 +7421,7 @@ for ac_symprfx in "" "_"; do 16772@@ -7102,6 +7428,7 @@ for ac_symprfx in "" "_"; do
16769 else 16773 else
16770 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 16774 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
16771 fi 16775 fi
@@ -16773,7 +16777,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
16773 16777
16774 # Check to see that the pipe works correctly. 16778 # Check to see that the pipe works correctly.
16775 pipe_works=no 16779 pipe_works=no
16776@@ -7136,6 +7463,18 @@ _LT_EOF 16780@@ -7143,6 +7470,18 @@ _LT_EOF
16777 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 16781 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
16778 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 16782 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
16779 cat <<_LT_EOF > conftest.$ac_ext 16783 cat <<_LT_EOF > conftest.$ac_ext
@@ -16792,7 +16796,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
16792 #ifdef __cplusplus 16796 #ifdef __cplusplus
16793 extern "C" { 16797 extern "C" {
16794 #endif 16798 #endif
16795@@ -7147,7 +7486,7 @@ _LT_EOF 16799@@ -7154,7 +7493,7 @@ _LT_EOF
16796 cat <<_LT_EOF >> conftest.$ac_ext 16800 cat <<_LT_EOF >> conftest.$ac_ext
16797 16801
16798 /* The mapping between symbol names and symbols. */ 16802 /* The mapping between symbol names and symbols. */
@@ -16801,7 +16805,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
16801 const char *name; 16805 const char *name;
16802 void *address; 16806 void *address;
16803 } 16807 }
16804@@ -7173,8 +7512,8 @@ static const void *lt_preloaded_setup() { 16808@@ -7180,8 +7519,8 @@ static const void *lt_preloaded_setup() {
16805 _LT_EOF 16809 _LT_EOF
16806 # Now try linking the two files. 16810 # Now try linking the two files.
16807 mv conftest.$ac_objext conftstm.$ac_objext 16811 mv conftest.$ac_objext conftstm.$ac_objext
@@ -16812,7 +16816,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
16812 LIBS="conftstm.$ac_objext" 16816 LIBS="conftstm.$ac_objext"
16813 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 16817 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
16814 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 16818 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
16815@@ -7184,8 +7523,8 @@ _LT_EOF 16819@@ -7191,8 +7530,8 @@ _LT_EOF
16816 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 16820 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
16817 pipe_works=yes 16821 pipe_works=yes
16818 fi 16822 fi
@@ -16823,7 +16827,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
16823 else 16827 else
16824 echo "cannot find nm_test_func in $nlist" >&5 16828 echo "cannot find nm_test_func in $nlist" >&5
16825 fi 16829 fi
16826@@ -7222,6 +7561,18 @@ else 16830@@ -7229,6 +7568,18 @@ else
16827 $as_echo "ok" >&6; } 16831 $as_echo "ok" >&6; }
16828 fi 16832 fi
16829 16833
@@ -16842,7 +16846,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
16842 16846
16843 16847
16844 16848
16845@@ -7238,6 +7589,43 @@ fi 16849@@ -7245,6 +7596,43 @@ fi
16846 16850
16847 16851
16848 16852
@@ -16886,7 +16890,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
16886 16890
16887 16891
16888 16892
16889@@ -7404,50 +7792,167 @@ _ACEOF 16893@@ -7411,50 +7799,167 @@ _ACEOF
16890 if ac_fn_c_try_link "$LINENO"; then : 16894 if ac_fn_c_try_link "$LINENO"; then :
16891 lt_cv_cc_needs_belf=yes 16895 lt_cv_cc_needs_belf=yes
16892 else 16896 else
@@ -17093,7 +17097,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
17093 17097
17094 17098
17095 case $host_os in 17099 case $host_os in
17096@@ -8012,6 +8517,8 @@ _LT_EOF 17100@@ -8019,6 +8524,8 @@ _LT_EOF
17097 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 17101 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
17098 echo "$AR cru libconftest.a conftest.o" >&5 17102 echo "$AR cru libconftest.a conftest.o" >&5
17099 $AR cru libconftest.a conftest.o 2>&5 17103 $AR cru libconftest.a conftest.o 2>&5
@@ -17102,7 +17106,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
17102 cat > conftest.c << _LT_EOF 17106 cat > conftest.c << _LT_EOF
17103 int main() { return 0;} 17107 int main() { return 0;}
17104 _LT_EOF 17108 _LT_EOF
17105@@ -8596,8 +9103,6 @@ fi 17109@@ -8603,8 +9110,6 @@ fi
17106 lt_prog_compiler_pic= 17110 lt_prog_compiler_pic=
17107 lt_prog_compiler_static= 17111 lt_prog_compiler_static=
17108 17112
@@ -17111,7 +17115,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
17111 17115
17112 if test "$GCC" = yes; then 17116 if test "$GCC" = yes; then
17113 lt_prog_compiler_wl='-Wl,' 17117 lt_prog_compiler_wl='-Wl,'
17114@@ -8763,6 +9268,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } 17118@@ -8770,6 +9275,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
17115 lt_prog_compiler_pic='--shared' 17119 lt_prog_compiler_pic='--shared'
17116 lt_prog_compiler_static='--static' 17120 lt_prog_compiler_static='--static'
17117 ;; 17121 ;;
@@ -17124,7 +17128,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
17124 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 17128 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
17125 # Portland Group compilers (*not* the Pentium gcc compiler, 17129 # Portland Group compilers (*not* the Pentium gcc compiler,
17126 # which looks to be a dead project) 17130 # which looks to be a dead project)
17127@@ -8825,7 +9336,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } 17131@@ -8832,7 +9343,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
17128 lt_prog_compiler_pic='-KPIC' 17132 lt_prog_compiler_pic='-KPIC'
17129 lt_prog_compiler_static='-Bstatic' 17133 lt_prog_compiler_static='-Bstatic'
17130 case $cc_basename in 17134 case $cc_basename in
@@ -17133,7 +17137,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
17133 lt_prog_compiler_wl='-Qoption ld ';; 17137 lt_prog_compiler_wl='-Qoption ld ';;
17134 *) 17138 *)
17135 lt_prog_compiler_wl='-Wl,';; 17139 lt_prog_compiler_wl='-Wl,';;
17136@@ -8882,13 +9393,17 @@ case $host_os in 17140@@ -8889,13 +9400,17 @@ case $host_os in
17137 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 17141 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
17138 ;; 17142 ;;
17139 esac 17143 esac
@@ -17157,7 +17161,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
17157 17161
17158 # 17162 #
17159 # Check to make sure the PIC flag actually works. 17163 # Check to make sure the PIC flag actually works.
17160@@ -8949,6 +9464,11 @@ fi 17164@@ -8956,6 +9471,11 @@ fi
17161 17165
17162 17166
17163 17167
@@ -17169,7 +17173,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
17169 # 17173 #
17170 # Check to make sure the static flag actually works. 17174 # Check to make sure the static flag actually works.
17171 # 17175 #
17172@@ -9299,7 +9819,8 @@ _LT_EOF 17176@@ -9306,7 +9826,8 @@ _LT_EOF
17173 allow_undefined_flag=unsupported 17177 allow_undefined_flag=unsupported
17174 always_export_symbols=no 17178 always_export_symbols=no
17175 enable_shared_with_static_runtimes=yes 17179 enable_shared_with_static_runtimes=yes
@@ -17179,7 +17183,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
17179 17183
17180 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 17184 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
17181 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 17185 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17182@@ -9398,12 +9919,12 @@ _LT_EOF 17186@@ -9405,12 +9926,12 @@ _LT_EOF
17183 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 17187 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
17184 hardcode_libdir_flag_spec= 17188 hardcode_libdir_flag_spec=
17185 hardcode_libdir_flag_spec_ld='-rpath $libdir' 17189 hardcode_libdir_flag_spec_ld='-rpath $libdir'
@@ -17194,7 +17198,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
17194 fi 17198 fi
17195 ;; 17199 ;;
17196 esac 17200 esac
17197@@ -9417,8 +9938,8 @@ _LT_EOF 17201@@ -9424,8 +9945,8 @@ _LT_EOF
17198 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 17202 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17199 wlarc= 17203 wlarc=
17200 else 17204 else
@@ -17205,7 +17209,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
17205 fi 17209 fi
17206 ;; 17210 ;;
17207 17211
17208@@ -9436,8 +9957,8 @@ _LT_EOF 17212@@ -9443,8 +9964,8 @@ _LT_EOF
17209 17213
17210 _LT_EOF 17214 _LT_EOF
17211 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 17215 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -17216,7 +17220,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
17216 else 17220 else
17217 ld_shlibs=no 17221 ld_shlibs=no
17218 fi 17222 fi
17219@@ -9483,8 +10004,8 @@ _LT_EOF 17223@@ -9490,8 +10011,8 @@ _LT_EOF
17220 17224
17221 *) 17225 *)
17222 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 17226 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -17227,7 +17231,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
17227 else 17231 else
17228 ld_shlibs=no 17232 ld_shlibs=no
17229 fi 17233 fi
17230@@ -9614,7 +10135,13 @@ _LT_EOF 17234@@ -9621,7 +10142,13 @@ _LT_EOF
17231 allow_undefined_flag='-berok' 17235 allow_undefined_flag='-berok'
17232 # Determine the default libpath from the value encoded in an 17236 # Determine the default libpath from the value encoded in an
17233 # empty executable. 17237 # empty executable.
@@ -17242,7 +17246,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
17242 /* end confdefs.h. */ 17246 /* end confdefs.h. */
17243 17247
17244 int 17248 int
17245@@ -9627,22 +10154,29 @@ main () 17249@@ -9634,22 +10161,29 @@ main ()
17246 _ACEOF 17250 _ACEOF
17247 if ac_fn_c_try_link "$LINENO"; then : 17251 if ac_fn_c_try_link "$LINENO"; then :
17248 17252
@@ -17285,7 +17289,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
17285 17289
17286 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 17290 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
17287 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 17291 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17288@@ -9654,7 +10188,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 17292@@ -9661,7 +10195,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17289 else 17293 else
17290 # Determine the default libpath from the value encoded in an 17294 # Determine the default libpath from the value encoded in an
17291 # empty executable. 17295 # empty executable.
@@ -17300,7 +17304,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
17300 /* end confdefs.h. */ 17304 /* end confdefs.h. */
17301 17305
17302 int 17306 int
17303@@ -9667,22 +10207,29 @@ main () 17307@@ -9674,22 +10214,29 @@ main ()
17304 _ACEOF 17308 _ACEOF
17305 if ac_fn_c_try_link "$LINENO"; then : 17309 if ac_fn_c_try_link "$LINENO"; then :
17306 17310
@@ -17343,7 +17347,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
17343 17347
17344 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 17348 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
17345 # Warning - without using the other run time loading flags, 17349 # Warning - without using the other run time loading flags,
17346@@ -9727,20 +10274,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 17350@@ -9734,20 +10281,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17347 # Microsoft Visual C++. 17351 # Microsoft Visual C++.
17348 # hardcode_libdir_flag_spec is actually meaningless, as there is 17352 # hardcode_libdir_flag_spec is actually meaningless, as there is
17349 # no search path for DLLs. 17353 # no search path for DLLs.
@@ -17421,7 +17425,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
17421 ;; 17425 ;;
17422 17426
17423 darwin* | rhapsody*) 17427 darwin* | rhapsody*)
17424@@ -9801,7 +10391,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 17428@@ -9808,7 +10398,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17425 17429
17426 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 17430 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17427 freebsd* | dragonfly*) 17431 freebsd* | dragonfly*)
@@ -17430,7 +17434,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
17430 hardcode_libdir_flag_spec='-R$libdir' 17434 hardcode_libdir_flag_spec='-R$libdir'
17431 hardcode_direct=yes 17435 hardcode_direct=yes
17432 hardcode_shlibpath_var=no 17436 hardcode_shlibpath_var=no
17433@@ -9809,7 +10399,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 17437@@ -9816,7 +10406,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17434 17438
17435 hpux9*) 17439 hpux9*)
17436 if test "$GCC" = yes; then 17440 if test "$GCC" = yes; then
@@ -17439,7 +17443,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
17439 else 17443 else
17440 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 17444 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
17441 fi 17445 fi
17442@@ -9825,7 +10415,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 17446@@ -9832,7 +10422,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17443 17447
17444 hpux10*) 17448 hpux10*)
17445 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 17449 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -17448,7 +17452,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
17448 else 17452 else
17449 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 17453 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17450 fi 17454 fi
17451@@ -9849,10 +10439,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 17455@@ -9856,10 +10446,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17452 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 17456 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17453 ;; 17457 ;;
17454 ia64*) 17458 ia64*)
@@ -17461,7 +17465,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
17461 ;; 17465 ;;
17462 esac 17466 esac
17463 else 17467 else
17464@@ -9931,23 +10521,36 @@ fi 17468@@ -9938,23 +10528,36 @@ fi
17465 17469
17466 irix5* | irix6* | nonstopux*) 17470 irix5* | irix6* | nonstopux*)
17467 if test "$GCC" = yes; then 17471 if test "$GCC" = yes; then
@@ -17506,7 +17510,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
17506 else 17510 else
17507 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 17511 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
17508 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' 17512 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
17509@@ -10032,7 +10635,7 @@ rm -f core conftest.err conftest.$ac_objext \ 17513@@ -10039,7 +10642,7 @@ rm -f core conftest.err conftest.$ac_objext \
17510 osf4* | osf5*) # as osf3* with the addition of -msym flag 17514 osf4* | osf5*) # as osf3* with the addition of -msym flag
17511 if test "$GCC" = yes; then 17515 if test "$GCC" = yes; then
17512 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 17516 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
@@ -17515,7 +17519,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
17515 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 17519 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
17516 else 17520 else
17517 allow_undefined_flag=' -expect_unresolved \*' 17521 allow_undefined_flag=' -expect_unresolved \*'
17518@@ -10051,9 +10654,9 @@ rm -f core conftest.err conftest.$ac_objext \ 17522@@ -10058,9 +10661,9 @@ rm -f core conftest.err conftest.$ac_objext \
17519 no_undefined_flag=' -z defs' 17523 no_undefined_flag=' -z defs'
17520 if test "$GCC" = yes; then 17524 if test "$GCC" = yes; then
17521 wlarc='${wl}' 17525 wlarc='${wl}'
@@ -17527,7 +17531,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
17527 else 17531 else
17528 case `$CC -V 2>&1` in 17532 case `$CC -V 2>&1` in
17529 *"Compilers 5.0"*) 17533 *"Compilers 5.0"*)
17530@@ -10629,8 +11232,9 @@ cygwin* | mingw* | pw32* | cegcc*) 17534@@ -10636,8 +11239,9 @@ cygwin* | mingw* | pw32* | cegcc*)
17531 need_version=no 17535 need_version=no
17532 need_lib_prefix=no 17536 need_lib_prefix=no
17533 17537
@@ -17539,7 +17543,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
17539 library_names_spec='$libname.dll.a' 17543 library_names_spec='$libname.dll.a'
17540 # DLL is installed to $(libdir)/../bin by postinstall_cmds 17544 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17541 postinstall_cmds='base_file=`basename \${file}`~ 17545 postinstall_cmds='base_file=`basename \${file}`~
17542@@ -10663,13 +11267,71 @@ cygwin* | mingw* | pw32* | cegcc*) 17546@@ -10670,13 +11274,71 @@ cygwin* | mingw* | pw32* | cegcc*)
17543 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 17547 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17544 ;; 17548 ;;
17545 esac 17549 esac
@@ -17612,16 +17616,16 @@ index e5ca8ad9379..b7c4c4be78d 100755
17612 # FIXME: first we should search . and the directory the executable is in 17616 # FIXME: first we should search . and the directory the executable is in
17613 shlibpath_var=PATH 17617 shlibpath_var=PATH
17614 ;; 17618 ;;
17615@@ -11571,7 +12233,7 @@ else 17619@@ -11578,7 +12240,7 @@ else
17616 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 17620 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17617 lt_status=$lt_dlunknown 17621 lt_status=$lt_dlunknown
17618 cat > conftest.$ac_ext <<_LT_EOF 17622 cat > conftest.$ac_ext <<_LT_EOF
17619-#line 11574 "configure" 17623-#line 11581 "configure"
17620+#line $LINENO "configure" 17624+#line $LINENO "configure"
17621 #include "confdefs.h" 17625 #include "confdefs.h"
17622 17626
17623 #if HAVE_DLFCN_H 17627 #if HAVE_DLFCN_H
17624@@ -11615,10 +12277,10 @@ else 17628@@ -11622,10 +12284,10 @@ else
17625 /* When -fvisbility=hidden is used, assume the code has been annotated 17629 /* When -fvisbility=hidden is used, assume the code has been annotated
17626 correspondingly for the symbols needed. */ 17630 correspondingly for the symbols needed. */
17627 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 17631 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -17634,16 +17638,16 @@ index e5ca8ad9379..b7c4c4be78d 100755
17634 int main () 17638 int main ()
17635 { 17639 {
17636 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 17640 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17637@@ -11677,7 +12339,7 @@ else 17641@@ -11684,7 +12346,7 @@ else
17638 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 17642 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17639 lt_status=$lt_dlunknown 17643 lt_status=$lt_dlunknown
17640 cat > conftest.$ac_ext <<_LT_EOF 17644 cat > conftest.$ac_ext <<_LT_EOF
17641-#line 11680 "configure" 17645-#line 11687 "configure"
17642+#line $LINENO "configure" 17646+#line $LINENO "configure"
17643 #include "confdefs.h" 17647 #include "confdefs.h"
17644 17648
17645 #if HAVE_DLFCN_H 17649 #if HAVE_DLFCN_H
17646@@ -11721,10 +12383,10 @@ else 17650@@ -11728,10 +12390,10 @@ else
17647 /* When -fvisbility=hidden is used, assume the code has been annotated 17651 /* When -fvisbility=hidden is used, assume the code has been annotated
17648 correspondingly for the symbols needed. */ 17652 correspondingly for the symbols needed. */
17649 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 17653 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -17656,7 +17660,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
17656 int main () 17660 int main ()
17657 { 17661 {
17658 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 17662 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17659@@ -15010,13 +15672,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 17663@@ -15191,13 +15853,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17660 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 17664 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17661 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 17665 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17662 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 17666 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -17677,7 +17681,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
17677 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 17681 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17678 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 17682 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17679 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 17683 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17680@@ -15031,14 +15700,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de 17684@@ -15212,14 +15881,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
17681 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 17685 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17682 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 17686 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17683 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' 17687 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
@@ -17696,7 +17700,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
17696 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 17700 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17697 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 17701 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17698 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 17702 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17699@@ -15071,12 +15743,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q 17703@@ -15252,12 +15924,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q
17700 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 17704 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17701 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 17705 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17702 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 17706 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -17710,7 +17714,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
17710 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 17714 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17711 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 17715 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17712 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 17716 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17713@@ -15131,8 +15803,13 @@ reload_flag \ 17717@@ -15312,8 +15984,13 @@ reload_flag \
17714 OBJDUMP \ 17718 OBJDUMP \
17715 deplibs_check_method \ 17719 deplibs_check_method \
17716 file_magic_cmd \ 17720 file_magic_cmd \
@@ -17724,7 +17728,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
17724 STRIP \ 17728 STRIP \
17725 RANLIB \ 17729 RANLIB \
17726 CC \ 17730 CC \
17727@@ -15142,12 +15819,14 @@ lt_cv_sys_global_symbol_pipe \ 17731@@ -15323,12 +16000,14 @@ lt_cv_sys_global_symbol_pipe \
17728 lt_cv_sys_global_symbol_to_cdecl \ 17732 lt_cv_sys_global_symbol_to_cdecl \
17729 lt_cv_sys_global_symbol_to_c_name_address \ 17733 lt_cv_sys_global_symbol_to_c_name_address \
17730 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 17734 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -17740,7 +17744,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
17740 DSYMUTIL \ 17744 DSYMUTIL \
17741 NMEDIT \ 17745 NMEDIT \
17742 LIPO \ 17746 LIPO \
17743@@ -15163,7 +15842,6 @@ no_undefined_flag \ 17747@@ -15344,7 +16023,6 @@ no_undefined_flag \
17744 hardcode_libdir_flag_spec \ 17748 hardcode_libdir_flag_spec \
17745 hardcode_libdir_flag_spec_ld \ 17749 hardcode_libdir_flag_spec_ld \
17746 hardcode_libdir_separator \ 17750 hardcode_libdir_separator \
@@ -17748,7 +17752,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
17748 exclude_expsyms \ 17752 exclude_expsyms \
17749 include_expsyms \ 17753 include_expsyms \
17750 file_list_spec \ 17754 file_list_spec \
17751@@ -15199,6 +15877,7 @@ module_cmds \ 17755@@ -15380,6 +16058,7 @@ module_cmds \
17752 module_expsym_cmds \ 17756 module_expsym_cmds \
17753 export_symbols_cmds \ 17757 export_symbols_cmds \
17754 prelink_cmds \ 17758 prelink_cmds \
@@ -17756,7 +17760,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
17756 postinstall_cmds \ 17760 postinstall_cmds \
17757 postuninstall_cmds \ 17761 postuninstall_cmds \
17758 finish_cmds \ 17762 finish_cmds \
17759@@ -15897,7 +16576,8 @@ esac ;; 17763@@ -16078,7 +16757,8 @@ esac ;;
17760 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 17764 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17761 # 17765 #
17762 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 17766 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -17766,7 +17770,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
17766 # Written by Gordon Matzigkeit, 1996 17770 # Written by Gordon Matzigkeit, 1996
17767 # 17771 #
17768 # This file is part of GNU Libtool. 17772 # This file is part of GNU Libtool.
17769@@ -16000,19 +16680,42 @@ SP2NL=$lt_lt_SP2NL 17773@@ -16181,19 +16861,42 @@ SP2NL=$lt_lt_SP2NL
17770 # turn newlines into spaces. 17774 # turn newlines into spaces.
17771 NL2SP=$lt_lt_NL2SP 17775 NL2SP=$lt_lt_NL2SP
17772 17776
@@ -17810,7 +17814,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
17810 # A symbol stripping program. 17814 # A symbol stripping program.
17811 STRIP=$lt_STRIP 17815 STRIP=$lt_STRIP
17812 17816
17813@@ -16042,6 +16745,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 17817@@ -16223,6 +16926,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17814 # Transform the output of nm in a C name address pair when lib prefix is needed. 17818 # Transform the output of nm in a C name address pair when lib prefix is needed.
17815 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 17819 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17816 17820
@@ -17823,7 +17827,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
17823 # The name of the directory that contains temporary libtool files. 17827 # The name of the directory that contains temporary libtool files.
17824 objdir=$objdir 17828 objdir=$objdir
17825 17829
17826@@ -16051,6 +16760,9 @@ MAGIC_CMD=$MAGIC_CMD 17830@@ -16232,6 +16941,9 @@ MAGIC_CMD=$MAGIC_CMD
17827 # Must we lock files when doing compilation? 17831 # Must we lock files when doing compilation?
17828 need_locks=$lt_need_locks 17832 need_locks=$lt_need_locks
17829 17833
@@ -17833,7 +17837,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
17833 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. 17837 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17834 DSYMUTIL=$lt_DSYMUTIL 17838 DSYMUTIL=$lt_DSYMUTIL
17835 17839
17836@@ -16165,12 +16877,12 @@ with_gcc=$GCC 17840@@ -16346,12 +17058,12 @@ with_gcc=$GCC
17837 # Compiler flag to turn off builtin functions. 17841 # Compiler flag to turn off builtin functions.
17838 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 17842 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17839 17843
@@ -17849,7 +17853,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
17849 # Compiler flag to prevent dynamic linking. 17853 # Compiler flag to prevent dynamic linking.
17850 link_static_flag=$lt_lt_prog_compiler_static 17854 link_static_flag=$lt_lt_prog_compiler_static
17851 17855
17852@@ -16257,9 +16969,6 @@ inherit_rpath=$inherit_rpath 17856@@ -16438,9 +17150,6 @@ inherit_rpath=$inherit_rpath
17853 # Whether libtool must link a program against all its dependency libraries. 17857 # Whether libtool must link a program against all its dependency libraries.
17854 link_all_deplibs=$link_all_deplibs 17858 link_all_deplibs=$link_all_deplibs
17855 17859
@@ -17859,7 +17863,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
17859 # Set to "yes" if exported symbols are required. 17863 # Set to "yes" if exported symbols are required.
17860 always_export_symbols=$always_export_symbols 17864 always_export_symbols=$always_export_symbols
17861 17865
17862@@ -16275,6 +16984,9 @@ include_expsyms=$lt_include_expsyms 17866@@ -16456,6 +17165,9 @@ include_expsyms=$lt_include_expsyms
17863 # Commands necessary for linking programs (against libraries) with templates. 17867 # Commands necessary for linking programs (against libraries) with templates.
17864 prelink_cmds=$lt_prelink_cmds 17868 prelink_cmds=$lt_prelink_cmds
17865 17869
@@ -17869,7 +17873,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
17869 # Specify filename containing input files. 17873 # Specify filename containing input files.
17870 file_list_spec=$lt_file_list_spec 17874 file_list_spec=$lt_file_list_spec
17871 17875
17872@@ -16307,210 +17019,169 @@ ltmain="$ac_aux_dir/ltmain.sh" 17876@@ -16488,210 +17200,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
17873 # if finds mixed CR/LF and LF-only lines. Since sed operates in 17877 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17874 # text mode, it properly converts lines to CR/LF. This bash problem 17878 # text mode, it properly converts lines to CR/LF. This bash problem
17875 # is reportedly fixed, but why not run on old versions too? 17879 # is reportedly fixed, but why not run on old versions too?
@@ -18244,7 +18248,7 @@ index e5ca8ad9379..b7c4c4be78d 100755
18244 chmod +x "$ofile" 18248 chmod +x "$ofile"
18245 18249
18246diff --git a/libctf/Makefile.in b/libctf/Makefile.in 18250diff --git a/libctf/Makefile.in b/libctf/Makefile.in
18247index 1cdf105a323..b69d6472e86 100644 18251index 5d9587766dc..146b7a71685 100644
18248--- a/libctf/Makefile.in 18252--- a/libctf/Makefile.in
18249+++ b/libctf/Makefile.in 18253+++ b/libctf/Makefile.in
18250@@ -442,6 +442,7 @@ CYGPATH_W = @CYGPATH_W@ 18254@@ -442,6 +442,7 @@ CYGPATH_W = @CYGPATH_W@
@@ -18264,7 +18268,7 @@ index 1cdf105a323..b69d6472e86 100644
18264 MKINSTALLDIRS = @MKINSTALLDIRS@ 18268 MKINSTALLDIRS = @MKINSTALLDIRS@
18265 MSGFMT = @MSGFMT@ 18269 MSGFMT = @MSGFMT@
18266diff --git a/libctf/configure b/libctf/configure 18270diff --git a/libctf/configure b/libctf/configure
18267index 3701bd8e796..9e36ae7c51c 100755 18271index 7466d56a18b..0325e438a47 100755
18268--- a/libctf/configure 18272--- a/libctf/configure
18269+++ b/libctf/configure 18273+++ b/libctf/configure
18270@@ -669,6 +669,8 @@ OTOOL 18274@@ -669,6 +669,8 @@ OTOOL
@@ -19543,7 +19547,16 @@ index 3701bd8e796..9e36ae7c51c 100755
19543 # FIXME: first we should search . and the directory the executable is in 19547 # FIXME: first we should search . and the directory the executable is in
19544 shlibpath_var=PATH 19548 shlibpath_var=PATH
19545 ;; 19549 ;;
19546@@ -13640,10 +14293,10 @@ else 19550@@ -13596,7 +14245,7 @@ else
19551 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
19552 lt_status=$lt_dlunknown
19553 cat > conftest.$ac_ext <<_LT_EOF
19554-#line 13599 "configure"
19555+#line $LINENO "configure"
19556 #include "confdefs.h"
19557
19558 #if HAVE_DLFCN_H
19559@@ -13640,10 +14289,10 @@ else
19547 /* When -fvisbility=hidden is used, assume the code has been annotated 19560 /* When -fvisbility=hidden is used, assume the code has been annotated
19548 correspondingly for the symbols needed. */ 19561 correspondingly for the symbols needed. */
19549 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 19562 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -19556,7 +19569,16 @@ index 3701bd8e796..9e36ae7c51c 100755
19556 int main () 19569 int main ()
19557 { 19570 {
19558 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 19571 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
19559@@ -13746,10 +14403,10 @@ else 19572@@ -13702,7 +14351,7 @@ else
19573 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
19574 lt_status=$lt_dlunknown
19575 cat > conftest.$ac_ext <<_LT_EOF
19576-#line 13705 "configure"
19577+#line $LINENO "configure"
19578 #include "confdefs.h"
19579
19580 #if HAVE_DLFCN_H
19581@@ -13746,10 +14395,10 @@ else
19560 /* When -fvisbility=hidden is used, assume the code has been annotated 19582 /* When -fvisbility=hidden is used, assume the code has been annotated
19561 correspondingly for the symbols needed. */ 19583 correspondingly for the symbols needed. */
19562 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 19584 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -19569,7 +19591,7 @@ index 3701bd8e796..9e36ae7c51c 100755
19569 int main () 19591 int main ()
19570 { 19592 {
19571 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 19593 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
19572@@ -17797,13 +18454,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 19594@@ -17813,13 +18462,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
19573 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 19595 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
19574 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 19596 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
19575 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 19597 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -19590,7 +19612,7 @@ index 3701bd8e796..9e36ae7c51c 100755
19590 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 19612 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
19591 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 19613 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
19592 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 19614 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
19593@@ -17818,14 +18482,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de 19615@@ -17834,14 +18490,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
19594 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 19616 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
19595 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 19617 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
19596 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' 19618 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
@@ -19609,7 +19631,7 @@ index 3701bd8e796..9e36ae7c51c 100755
19609 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 19631 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
19610 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 19632 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
19611 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 19633 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
19612@@ -17858,12 +18525,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q 19634@@ -17874,12 +18533,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q
19613 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 19635 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
19614 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 19636 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
19615 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 19637 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -19623,7 +19645,7 @@ index 3701bd8e796..9e36ae7c51c 100755
19623 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 19645 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
19624 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 19646 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
19625 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 19647 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
19626@@ -17918,8 +18585,13 @@ reload_flag \ 19648@@ -17934,8 +18593,13 @@ reload_flag \
19627 OBJDUMP \ 19649 OBJDUMP \
19628 deplibs_check_method \ 19650 deplibs_check_method \
19629 file_magic_cmd \ 19651 file_magic_cmd \
@@ -19637,7 +19659,7 @@ index 3701bd8e796..9e36ae7c51c 100755
19637 STRIP \ 19659 STRIP \
19638 RANLIB \ 19660 RANLIB \
19639 CC \ 19661 CC \
19640@@ -17929,12 +18601,14 @@ lt_cv_sys_global_symbol_pipe \ 19662@@ -17945,12 +18609,14 @@ lt_cv_sys_global_symbol_pipe \
19641 lt_cv_sys_global_symbol_to_cdecl \ 19663 lt_cv_sys_global_symbol_to_cdecl \
19642 lt_cv_sys_global_symbol_to_c_name_address \ 19664 lt_cv_sys_global_symbol_to_c_name_address \
19643 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 19665 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -19653,7 +19675,7 @@ index 3701bd8e796..9e36ae7c51c 100755
19653 DSYMUTIL \ 19675 DSYMUTIL \
19654 NMEDIT \ 19676 NMEDIT \
19655 LIPO \ 19677 LIPO \
19656@@ -17950,7 +18624,6 @@ no_undefined_flag \ 19678@@ -17966,7 +18632,6 @@ no_undefined_flag \
19657 hardcode_libdir_flag_spec \ 19679 hardcode_libdir_flag_spec \
19658 hardcode_libdir_flag_spec_ld \ 19680 hardcode_libdir_flag_spec_ld \
19659 hardcode_libdir_separator \ 19681 hardcode_libdir_separator \
@@ -19661,7 +19683,7 @@ index 3701bd8e796..9e36ae7c51c 100755
19661 exclude_expsyms \ 19683 exclude_expsyms \
19662 include_expsyms \ 19684 include_expsyms \
19663 file_list_spec \ 19685 file_list_spec \
19664@@ -17986,6 +18659,7 @@ module_cmds \ 19686@@ -18002,6 +18667,7 @@ module_cmds \
19665 module_expsym_cmds \ 19687 module_expsym_cmds \
19666 export_symbols_cmds \ 19688 export_symbols_cmds \
19667 prelink_cmds \ 19689 prelink_cmds \
@@ -19669,7 +19691,7 @@ index 3701bd8e796..9e36ae7c51c 100755
19669 postinstall_cmds \ 19691 postinstall_cmds \
19670 postuninstall_cmds \ 19692 postuninstall_cmds \
19671 finish_cmds \ 19693 finish_cmds \
19672@@ -18845,7 +19519,8 @@ $as_echo X"$file" | 19694@@ -18861,7 +19527,8 @@ $as_echo X"$file" |
19673 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 19695 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19674 # 19696 #
19675 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 19697 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -19679,7 +19701,7 @@ index 3701bd8e796..9e36ae7c51c 100755
19679 # Written by Gordon Matzigkeit, 1996 19701 # Written by Gordon Matzigkeit, 1996
19680 # 19702 #
19681 # This file is part of GNU Libtool. 19703 # This file is part of GNU Libtool.
19682@@ -18948,19 +19623,42 @@ SP2NL=$lt_lt_SP2NL 19704@@ -18964,19 +19631,42 @@ SP2NL=$lt_lt_SP2NL
19683 # turn newlines into spaces. 19705 # turn newlines into spaces.
19684 NL2SP=$lt_lt_NL2SP 19706 NL2SP=$lt_lt_NL2SP
19685 19707
@@ -19723,7 +19745,7 @@ index 3701bd8e796..9e36ae7c51c 100755
19723 # A symbol stripping program. 19745 # A symbol stripping program.
19724 STRIP=$lt_STRIP 19746 STRIP=$lt_STRIP
19725 19747
19726@@ -18990,6 +19688,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 19748@@ -19006,6 +19696,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19727 # Transform the output of nm in a C name address pair when lib prefix is needed. 19749 # Transform the output of nm in a C name address pair when lib prefix is needed.
19728 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 19750 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19729 19751
@@ -19736,7 +19758,7 @@ index 3701bd8e796..9e36ae7c51c 100755
19736 # The name of the directory that contains temporary libtool files. 19758 # The name of the directory that contains temporary libtool files.
19737 objdir=$objdir 19759 objdir=$objdir
19738 19760
19739@@ -18999,6 +19703,9 @@ MAGIC_CMD=$MAGIC_CMD 19761@@ -19015,6 +19711,9 @@ MAGIC_CMD=$MAGIC_CMD
19740 # Must we lock files when doing compilation? 19762 # Must we lock files when doing compilation?
19741 need_locks=$lt_need_locks 19763 need_locks=$lt_need_locks
19742 19764
@@ -19746,7 +19768,7 @@ index 3701bd8e796..9e36ae7c51c 100755
19746 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. 19768 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19747 DSYMUTIL=$lt_DSYMUTIL 19769 DSYMUTIL=$lt_DSYMUTIL
19748 19770
19749@@ -19113,12 +19820,12 @@ with_gcc=$GCC 19771@@ -19129,12 +19828,12 @@ with_gcc=$GCC
19750 # Compiler flag to turn off builtin functions. 19772 # Compiler flag to turn off builtin functions.
19751 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 19773 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19752 19774
@@ -19762,7 +19784,7 @@ index 3701bd8e796..9e36ae7c51c 100755
19762 # Compiler flag to prevent dynamic linking. 19784 # Compiler flag to prevent dynamic linking.
19763 link_static_flag=$lt_lt_prog_compiler_static 19785 link_static_flag=$lt_lt_prog_compiler_static
19764 19786
19765@@ -19205,9 +19912,6 @@ inherit_rpath=$inherit_rpath 19787@@ -19221,9 +19920,6 @@ inherit_rpath=$inherit_rpath
19766 # Whether libtool must link a program against all its dependency libraries. 19788 # Whether libtool must link a program against all its dependency libraries.
19767 link_all_deplibs=$link_all_deplibs 19789 link_all_deplibs=$link_all_deplibs
19768 19790
@@ -19772,7 +19794,7 @@ index 3701bd8e796..9e36ae7c51c 100755
19772 # Set to "yes" if exported symbols are required. 19794 # Set to "yes" if exported symbols are required.
19773 always_export_symbols=$always_export_symbols 19795 always_export_symbols=$always_export_symbols
19774 19796
19775@@ -19223,6 +19927,9 @@ include_expsyms=$lt_include_expsyms 19797@@ -19239,6 +19935,9 @@ include_expsyms=$lt_include_expsyms
19776 # Commands necessary for linking programs (against libraries) with templates. 19798 # Commands necessary for linking programs (against libraries) with templates.
19777 prelink_cmds=$lt_prelink_cmds 19799 prelink_cmds=$lt_prelink_cmds
19778 19800
@@ -19782,7 +19804,7 @@ index 3701bd8e796..9e36ae7c51c 100755
19782 # Specify filename containing input files. 19804 # Specify filename containing input files.
19783 file_list_spec=$lt_file_list_spec 19805 file_list_spec=$lt_file_list_spec
19784 19806
19785@@ -19255,210 +19962,169 @@ ltmain="$ac_aux_dir/ltmain.sh" 19807@@ -19271,210 +19970,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
19786 # if finds mixed CR/LF and LF-only lines. Since sed operates in 19808 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19787 # text mode, it properly converts lines to CR/LF. This bash problem 19809 # text mode, it properly converts lines to CR/LF. This bash problem
19788 # is reportedly fixed, but why not run on old versions too? 19810 # is reportedly fixed, but why not run on old versions too?
@@ -20157,7 +20179,7 @@ index 3701bd8e796..9e36ae7c51c 100755
20157 chmod +x "$ofile" 20179 chmod +x "$ofile"
20158 20180
20159diff --git a/libsframe/Makefile.in b/libsframe/Makefile.in 20181diff --git a/libsframe/Makefile.in b/libsframe/Makefile.in
20160index 9e3d268902b..c22ed33460a 100644 20182index 13f4c26e2f1..e6e05b80d0e 100644
20161--- a/libsframe/Makefile.in 20183--- a/libsframe/Makefile.in
20162+++ b/libsframe/Makefile.in 20184+++ b/libsframe/Makefile.in
20163@@ -1,7 +1,7 @@ 20185@@ -1,7 +1,7 @@
@@ -20170,7 +20192,7 @@ index 9e3d268902b..c22ed33460a 100644
20170 20192
20171 # This Makefile.in is free software; the Free Software Foundation 20193 # This Makefile.in is free software; the Free Software Foundation
20172 # gives unlimited permission to copy and/or distribute it, 20194 # gives unlimited permission to copy and/or distribute it,
20173@@ -142,6 +142,13 @@ mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs 20195@@ -144,6 +144,13 @@ mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
20174 CONFIG_HEADER = config.h 20196 CONFIG_HEADER = config.h
20175 CONFIG_CLEAN_FILES = 20197 CONFIG_CLEAN_FILES =
20176 CONFIG_CLEAN_VPATH_FILES = 20198 CONFIG_CLEAN_VPATH_FILES =
@@ -20184,7 +20206,7 @@ index 9e3d268902b..c22ed33460a 100644
20184 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; 20206 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
20185 am__vpath_adj = case $$p in \ 20207 am__vpath_adj = case $$p in \
20186 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ 20208 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
20187@@ -185,45 +192,44 @@ libsframe_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ 20209@@ -187,45 +194,44 @@ libsframe_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
20188 $(libsframe_la_LDFLAGS) $(LDFLAGS) -o $@ 20210 $(libsframe_la_LDFLAGS) $(LDFLAGS) -o $@
20189 @INSTALL_LIBBFD_FALSE@am_libsframe_la_rpath = 20211 @INSTALL_LIBBFD_FALSE@am_libsframe_la_rpath =
20190 @INSTALL_LIBBFD_TRUE@am_libsframe_la_rpath = -rpath $(libdir) 20212 @INSTALL_LIBBFD_TRUE@am_libsframe_la_rpath = -rpath $(libdir)
@@ -20243,7 +20265,7 @@ index 9e3d268902b..c22ed33460a 100644
20243 testsuite_libsframe_find_plt_findfre_1_OBJECTS = \ 20265 testsuite_libsframe_find_plt_findfre_1_OBJECTS = \
20244 $(am_testsuite_libsframe_find_plt_findfre_1_OBJECTS) 20266 $(am_testsuite_libsframe_find_plt_findfre_1_OBJECTS)
20245 testsuite_libsframe_find_plt_findfre_1_DEPENDENCIES = \ 20267 testsuite_libsframe_find_plt_findfre_1_DEPENDENCIES = \
20246@@ -242,7 +248,17 @@ am__v_at_0 = @ 20268@@ -244,7 +250,17 @@ am__v_at_0 = @
20247 am__v_at_1 = 20269 am__v_at_1 =
20248 DEFAULT_INCLUDES = -I.@am__isrc@ 20270 DEFAULT_INCLUDES = -I.@am__isrc@
20249 depcomp = $(SHELL) $(top_srcdir)/../depcomp 20271 depcomp = $(SHELL) $(top_srcdir)/../depcomp
@@ -20262,7 +20284,7 @@ index 9e3d268902b..c22ed33460a 100644
20262 am__mv = mv -f 20284 am__mv = mv -f
20263 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ 20285 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
20264 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 20286 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
20265@@ -325,8 +341,8 @@ am__can_run_installinfo = \ 20287@@ -327,8 +343,8 @@ am__can_run_installinfo = \
20266 esac 20288 esac
20267 am__include_HEADERS_DIST = $(INCDIR)/sframe.h $(INCDIR)/sframe-api.h 20289 am__include_HEADERS_DIST = $(INCDIR)/sframe.h $(INCDIR)/sframe-api.h
20268 HEADERS = $(include_HEADERS) 20290 HEADERS = $(include_HEADERS)
@@ -20273,7 +20295,7 @@ index 9e3d268902b..c22ed33460a 100644
20273 # Read a list of newline-separated strings from the standard input, 20295 # Read a list of newline-separated strings from the standard input,
20274 # and print each of them once, without duplicates. Input order is 20296 # and print each of them once, without duplicates. Input order is
20275 # *not* preserved. 20297 # *not* preserved.
20276@@ -343,9 +359,6 @@ am__define_uniq_tagged_files = \ 20298@@ -345,9 +361,6 @@ am__define_uniq_tagged_files = \
20277 unique=`for i in $$list; do \ 20299 unique=`for i in $$list; do \
20278 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 20300 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
20279 done | $(am__uniquify_input)` 20301 done | $(am__uniquify_input)`
@@ -20283,7 +20305,7 @@ index 9e3d268902b..c22ed33460a 100644
20283 AM_RECURSIVE_TARGETS = cscope 20305 AM_RECURSIVE_TARGETS = cscope
20284 DEJATOOL = $(PACKAGE) 20306 DEJATOOL = $(PACKAGE)
20285 RUNTESTDEFAULTFLAGS = --tool $$tool --srcdir $$srcdir 20307 RUNTESTDEFAULTFLAGS = --tool $$tool --srcdir $$srcdir
20286@@ -372,6 +385,8 @@ am__post_remove_distdir = $(am__remove_distdir) 20308@@ -374,6 +387,8 @@ am__post_remove_distdir = $(am__remove_distdir)
20287 DIST_ARCHIVES = $(distdir).tar.gz 20309 DIST_ARCHIVES = $(distdir).tar.gz
20288 GZIP_ENV = --best 20310 GZIP_ENV = --best
20289 DIST_TARGETS = dist-gzip 20311 DIST_TARGETS = dist-gzip
@@ -20292,7 +20314,7 @@ index 9e3d268902b..c22ed33460a 100644
20292 distuninstallcheck_listfiles = find . -type f -print 20314 distuninstallcheck_listfiles = find . -type f -print
20293 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ 20315 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
20294 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' 20316 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
20295@@ -390,15 +405,19 @@ CFLAGS = @CFLAGS@ 20317@@ -392,15 +407,19 @@ CFLAGS = @CFLAGS@
20296 COMPAT_DEJAGNU = @COMPAT_DEJAGNU@ 20318 COMPAT_DEJAGNU = @COMPAT_DEJAGNU@
20297 CPP = @CPP@ 20319 CPP = @CPP@
20298 CPPFLAGS = @CPPFLAGS@ 20320 CPPFLAGS = @CPPFLAGS@
@@ -20312,7 +20334,7 @@ index 9e3d268902b..c22ed33460a 100644
20312 EXEEXT = @EXEEXT@ 20334 EXEEXT = @EXEEXT@
20313 FGREP = @FGREP@ 20335 FGREP = @FGREP@
20314 GREP = @GREP@ 20336 GREP = @GREP@
20315@@ -417,6 +436,7 @@ LN_S = @LN_S@ 20337@@ -419,6 +438,7 @@ LN_S = @LN_S@
20316 LTLIBOBJS = @LTLIBOBJS@ 20338 LTLIBOBJS = @LTLIBOBJS@
20317 MAINT = @MAINT@ 20339 MAINT = @MAINT@
20318 MAKEINFO = @MAKEINFO@ 20340 MAKEINFO = @MAKEINFO@
@@ -20320,7 +20342,7 @@ index 9e3d268902b..c22ed33460a 100644
20320 MKDIR_P = @MKDIR_P@ 20342 MKDIR_P = @MKDIR_P@
20321 NM = @NM@ 20343 NM = @NM@
20322 NMEDIT = @NMEDIT@ 20344 NMEDIT = @NMEDIT@
20323@@ -589,8 +609,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 20345@@ -595,8 +615,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
20324 echo ' $(SHELL) ./config.status'; \ 20346 echo ' $(SHELL) ./config.status'; \
20325 $(SHELL) ./config.status;; \ 20347 $(SHELL) ./config.status;; \
20326 *) \ 20348 *) \
@@ -20331,7 +20353,7 @@ index 9e3d268902b..c22ed33460a 100644
20331 esac; 20353 esac;
20332 $(srcdir)/doc/local.mk $(srcdir)/testsuite/local.mk $(srcdir)/testsuite/libsframe.decode/local.mk $(srcdir)/testsuite/libsframe.encode/local.mk $(srcdir)/testsuite/libsframe.find/local.mk $(am__empty): 20354 $(srcdir)/doc/local.mk $(srcdir)/testsuite/local.mk $(srcdir)/testsuite/libsframe.decode/local.mk $(srcdir)/testsuite/libsframe.encode/local.mk $(srcdir)/testsuite/libsframe.find/local.mk $(am__empty):
20333 20355
20334@@ -618,6 +638,15 @@ $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 20356@@ -624,6 +644,15 @@ $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
20335 distclean-hdr: 20357 distclean-hdr:
20336 -rm -f config.h stamp-h1 20358 -rm -f config.h stamp-h1
20337 20359
@@ -20347,7 +20369,7 @@ index 9e3d268902b..c22ed33460a 100644
20347 install-libLTLIBRARIES: $(lib_LTLIBRARIES) 20369 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
20348 @$(NORMAL_INSTALL) 20370 @$(NORMAL_INSTALL)
20349 @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ 20371 @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
20350@@ -666,36 +695,27 @@ clean-noinstLTLIBRARIES: 20372@@ -672,36 +701,27 @@ clean-noinstLTLIBRARIES:
20351 20373
20352 libsframe.la: $(libsframe_la_OBJECTS) $(libsframe_la_DEPENDENCIES) $(EXTRA_libsframe_la_DEPENDENCIES) 20374 libsframe.la: $(libsframe_la_OBJECTS) $(libsframe_la_DEPENDENCIES) $(EXTRA_libsframe_la_DEPENDENCIES)
20353 $(AM_V_CCLD)$(libsframe_la_LINK) $(am_libsframe_la_rpath) $(libsframe_la_OBJECTS) $(libsframe_la_LIBADD) $(LIBS) 20375 $(AM_V_CCLD)$(libsframe_la_LINK) $(am_libsframe_la_rpath) $(libsframe_la_OBJECTS) $(libsframe_la_LIBADD) $(LIBS)
@@ -20387,7 +20409,7 @@ index 9e3d268902b..c22ed33460a 100644
20387 testsuite/libsframe.decode/$(am__dirstamp) \ 20409 testsuite/libsframe.decode/$(am__dirstamp) \
20388 testsuite/libsframe.decode/$(DEPDIR)/$(am__dirstamp) 20410 testsuite/libsframe.decode/$(DEPDIR)/$(am__dirstamp)
20389 20411
20390@@ -708,7 +728,7 @@ testsuite/libsframe.encode/$(am__dirstamp): 20412@@ -714,7 +734,7 @@ testsuite/libsframe.encode/$(am__dirstamp):
20391 testsuite/libsframe.encode/$(DEPDIR)/$(am__dirstamp): 20413 testsuite/libsframe.encode/$(DEPDIR)/$(am__dirstamp):
20392 @$(MKDIR_P) testsuite/libsframe.encode/$(DEPDIR) 20414 @$(MKDIR_P) testsuite/libsframe.encode/$(DEPDIR)
20393 @: > testsuite/libsframe.encode/$(DEPDIR)/$(am__dirstamp) 20415 @: > testsuite/libsframe.encode/$(DEPDIR)/$(am__dirstamp)
@@ -20396,7 +20418,7 @@ index 9e3d268902b..c22ed33460a 100644
20396 testsuite/libsframe.encode/$(am__dirstamp) \ 20418 testsuite/libsframe.encode/$(am__dirstamp) \
20397 testsuite/libsframe.encode/$(DEPDIR)/$(am__dirstamp) 20419 testsuite/libsframe.encode/$(DEPDIR)/$(am__dirstamp)
20398 20420
20399@@ -721,21 +741,21 @@ testsuite/libsframe.find/$(am__dirstamp): 20421@@ -727,21 +747,21 @@ testsuite/libsframe.find/$(am__dirstamp):
20400 testsuite/libsframe.find/$(DEPDIR)/$(am__dirstamp): 20422 testsuite/libsframe.find/$(DEPDIR)/$(am__dirstamp):
20401 @$(MKDIR_P) testsuite/libsframe.find/$(DEPDIR) 20423 @$(MKDIR_P) testsuite/libsframe.find/$(DEPDIR)
20402 @: > testsuite/libsframe.find/$(DEPDIR)/$(am__dirstamp) 20424 @: > testsuite/libsframe.find/$(DEPDIR)/$(am__dirstamp)
@@ -20421,7 +20443,7 @@ index 9e3d268902b..c22ed33460a 100644
20421 testsuite/libsframe.find/$(am__dirstamp) \ 20443 testsuite/libsframe.find/$(am__dirstamp) \
20422 testsuite/libsframe.find/$(DEPDIR)/$(am__dirstamp) 20444 testsuite/libsframe.find/$(DEPDIR)/$(am__dirstamp)
20423 20445
20424@@ -752,16 +772,22 @@ mostlyclean-compile: 20446@@ -758,16 +778,22 @@ mostlyclean-compile:
20425 distclean-compile: 20447 distclean-compile:
20426 -rm -f *.tab.c 20448 -rm -f *.tab.c
20427 20449
@@ -20454,7 +20476,7 @@ index 9e3d268902b..c22ed33460a 100644
20454 20476
20455 .c.o: 20477 .c.o:
20456 @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ 20478 @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
20457@@ -808,103 +834,103 @@ libsframe_la-sframe-error.lo: sframe-error.c 20479@@ -814,103 +840,103 @@ libsframe_la-sframe-error.lo: sframe-error.c
20458 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 20480 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
20459 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsframe_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libsframe_la-sframe-error.lo `test -f 'sframe-error.c' || echo '$(srcdir)/'`sframe-error.c 20481 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsframe_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libsframe_la-sframe-error.lo `test -f 'sframe-error.c' || echo '$(srcdir)/'`sframe-error.c
20460 20482
@@ -20628,7 +20650,7 @@ index 9e3d268902b..c22ed33460a 100644
20628 20650
20629 mostlyclean-libtool: 20651 mostlyclean-libtool:
20630 -rm -f *.lo 20652 -rm -f *.lo
20631@@ -1142,7 +1168,7 @@ site.exp: Makefile $(EXTRA_DEJAGNU_SITE_CONFIG) 20653@@ -1148,7 +1174,7 @@ site.exp: Makefile $(EXTRA_DEJAGNU_SITE_CONFIG)
20632 @echo '# Do not edit here. If you wish to override these values' >>site.tmp 20654 @echo '# Do not edit here. If you wish to override these values' >>site.tmp
20633 @echo '# edit the last section' >>site.tmp 20655 @echo '# edit the last section' >>site.tmp
20634 @echo 'set srcdir "$(srcdir)"' >>site.tmp 20656 @echo 'set srcdir "$(srcdir)"' >>site.tmp
@@ -20637,7 +20659,7 @@ index 9e3d268902b..c22ed33460a 100644
20637 @echo 'set build_alias "$(build_alias)"' >>site.tmp 20659 @echo 'set build_alias "$(build_alias)"' >>site.tmp
20638 @echo 'set build_triplet $(build_triplet)' >>site.tmp 20660 @echo 'set build_triplet $(build_triplet)' >>site.tmp
20639 @echo 'set host_alias "$(host_alias)"' >>site.tmp 20661 @echo 'set host_alias "$(host_alias)"' >>site.tmp
20640@@ -1166,8 +1192,10 @@ distclean-DEJAGNU: 20662@@ -1174,8 +1200,10 @@ distclean-DEJAGNU:
20641 -l='$(DEJATOOL)'; for tool in $$l; do \ 20663 -l='$(DEJATOOL)'; for tool in $$l; do \
20642 rm -f $$tool.sum $$tool.log; \ 20664 rm -f $$tool.sum $$tool.log; \
20643 done 20665 done
@@ -20649,7 +20671,7 @@ index 9e3d268902b..c22ed33460a 100644
20649 $(am__remove_distdir) 20671 $(am__remove_distdir)
20650 test -d "$(distdir)" || mkdir "$(distdir)" 20672 test -d "$(distdir)" || mkdir "$(distdir)"
20651 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 20673 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
20652@@ -1225,6 +1253,10 @@ dist-xz: distdir 20674@@ -1233,6 +1261,10 @@ dist-xz: distdir
20653 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz 20675 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
20654 $(am__post_remove_distdir) 20676 $(am__post_remove_distdir)
20655 20677
@@ -20660,7 +20682,7 @@ index 9e3d268902b..c22ed33460a 100644
20660 dist-tarZ: distdir 20682 dist-tarZ: distdir
20661 @echo WARNING: "Support for distribution archives compressed with" \ 20683 @echo WARNING: "Support for distribution archives compressed with" \
20662 "legacy program 'compress' is deprecated." >&2 20684 "legacy program 'compress' is deprecated." >&2
20663@@ -1267,6 +1299,8 @@ distcheck: dist 20685@@ -1275,6 +1307,8 @@ distcheck: dist
20664 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\ 20686 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
20665 *.zip*) \ 20687 *.zip*) \
20666 unzip $(distdir).zip ;;\ 20688 unzip $(distdir).zip ;;\
@@ -20669,7 +20691,7 @@ index 9e3d268902b..c22ed33460a 100644
20669 esac 20691 esac
20670 chmod -R a-w $(distdir) 20692 chmod -R a-w $(distdir)
20671 chmod u+w $(distdir) 20693 chmod u+w $(distdir)
20672@@ -1282,7 +1316,7 @@ distcheck: dist 20694@@ -1290,7 +1324,7 @@ distcheck: dist
20673 $(DISTCHECK_CONFIGURE_FLAGS) \ 20695 $(DISTCHECK_CONFIGURE_FLAGS) \
20674 --srcdir=../.. --prefix="$$dc_install_base" \ 20696 --srcdir=../.. --prefix="$$dc_install_base" \
20675 && $(MAKE) $(AM_MAKEFLAGS) \ 20697 && $(MAKE) $(AM_MAKEFLAGS) \
@@ -20678,7 +20700,7 @@ index 9e3d268902b..c22ed33460a 100644
20678 && $(MAKE) $(AM_MAKEFLAGS) check \ 20700 && $(MAKE) $(AM_MAKEFLAGS) check \
20679 && $(MAKE) $(AM_MAKEFLAGS) install \ 20701 && $(MAKE) $(AM_MAKEFLAGS) install \
20680 && $(MAKE) $(AM_MAKEFLAGS) installcheck \ 20702 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
20681@@ -1338,6 +1372,8 @@ check-am: all-am 20703@@ -1346,6 +1380,8 @@ check-am: all-am
20682 $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU 20704 $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU
20683 check: check-am 20705 check: check-am
20684 all-am: Makefile $(INFO_DEPS) $(LTLIBRARIES) $(HEADERS) config.h 20706 all-am: Makefile $(INFO_DEPS) $(LTLIBRARIES) $(HEADERS) config.h
@@ -20687,7 +20709,7 @@ index 9e3d268902b..c22ed33460a 100644
20687 installdirs: 20709 installdirs:
20688 for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(infodir)" "$(DESTDIR)$(includedir)"; do \ 20710 for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(infodir)" "$(DESTDIR)$(includedir)"; do \
20689 test -z "$$dir" || $(MKDIR_P) "$$dir"; \ 20711 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
20690@@ -1390,7 +1426,16 @@ clean-am: clean-aminfo clean-checkPROGRAMS clean-generic \ 20712@@ -1398,7 +1434,16 @@ clean-am: clean-aminfo clean-checkPROGRAMS clean-generic \
20691 20713
20692 distclean: distclean-am 20714 distclean: distclean-am
20693 -rm -f $(am__CONFIG_DISTCLEAN_FILES) 20715 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
@@ -20705,7 +20727,7 @@ index 9e3d268902b..c22ed33460a 100644
20705 -rm -f Makefile 20727 -rm -f Makefile
20706 distclean-am: clean-am distclean-DEJAGNU distclean-compile \ 20728 distclean-am: clean-am distclean-DEJAGNU distclean-compile \
20707 distclean-generic distclean-hdr distclean-libtool \ 20729 distclean-generic distclean-hdr distclean-libtool \
20708@@ -1530,7 +1575,16 @@ installcheck-am: 20730@@ -1538,7 +1583,16 @@ installcheck-am:
20709 maintainer-clean: maintainer-clean-am 20731 maintainer-clean: maintainer-clean-am
20710 -rm -f $(am__CONFIG_DISTCLEAN_FILES) 20732 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
20711 -rm -rf $(top_srcdir)/autom4te.cache 20733 -rm -rf $(top_srcdir)/autom4te.cache
@@ -20723,7 +20745,7 @@ index 9e3d268902b..c22ed33460a 100644
20723 -rm -f Makefile 20745 -rm -f Makefile
20724 maintainer-clean-am: distclean-am maintainer-clean-aminfo \ 20746 maintainer-clean-am: distclean-am maintainer-clean-aminfo \
20725 maintainer-clean-generic 20747 maintainer-clean-generic
20726@@ -1554,28 +1608,28 @@ uninstall-am: uninstall-dvi-am uninstall-html-am \ 20748@@ -1562,28 +1616,28 @@ uninstall-am: uninstall-dvi-am uninstall-html-am \
20727 20749
20728 .MAKE: all check-am install-am install-strip 20750 .MAKE: all check-am install-am install-strip
20729 20751
@@ -20773,7 +20795,7 @@ index 9e3d268902b..c22ed33460a 100644
20773 .PRECIOUS: Makefile 20795 .PRECIOUS: Makefile
20774 20796
20775diff --git a/libsframe/aclocal.m4 b/libsframe/aclocal.m4 20797diff --git a/libsframe/aclocal.m4 b/libsframe/aclocal.m4
20776index b0cdd6b184d..c83d4f62ece 100644 20798index 8804d9fb42b..f4974423bd6 100644
20777--- a/libsframe/aclocal.m4 20799--- a/libsframe/aclocal.m4
20778+++ b/libsframe/aclocal.m4 20800+++ b/libsframe/aclocal.m4
20779@@ -1,6 +1,6 @@ 20801@@ -1,6 +1,6 @@
@@ -21222,7 +21244,7 @@ index b0cdd6b184d..c83d4f62ece 100644
21222 # This file is free software; the Free Software Foundation 21244 # This file is free software; the Free Software Foundation
21223 # gives unlimited permission to copy and/or distribute it, 21245 # gives unlimited permission to copy and/or distribute it,
21224diff --git a/libsframe/configure b/libsframe/configure 21246diff --git a/libsframe/configure b/libsframe/configure
21225index 1d9e5e10695..a234c4815b1 100755 21247index 4727eff533a..ca3885ad105 100755
21226--- a/libsframe/configure 21248--- a/libsframe/configure
21227+++ b/libsframe/configure 21249+++ b/libsframe/configure
21228@@ -658,6 +658,8 @@ OTOOL 21250@@ -658,6 +658,8 @@ OTOOL
@@ -21234,7 +21256,7 @@ index 1d9e5e10695..a234c4815b1 100755
21234 OBJDUMP 21256 OBJDUMP
21235 LN_S 21257 LN_S
21236 NM 21258 NM
21237@@ -682,6 +684,9 @@ AM_BACKSLASH 21259@@ -674,6 +676,9 @@ AM_BACKSLASH
21238 AM_DEFAULT_VERBOSITY 21260 AM_DEFAULT_VERBOSITY
21239 AM_DEFAULT_V 21261 AM_DEFAULT_V
21240 AM_V 21262 AM_V
@@ -21244,7 +21266,7 @@ index 1d9e5e10695..a234c4815b1 100755
21244 am__fastdepCC_FALSE 21266 am__fastdepCC_FALSE
21245 am__fastdepCC_TRUE 21267 am__fastdepCC_TRUE
21246 CCDEPMODE 21268 CCDEPMODE
21247@@ -689,7 +694,6 @@ am__nodep 21269@@ -681,7 +686,6 @@ am__nodep
21248 AMDEPBACKSLASH 21270 AMDEPBACKSLASH
21249 AMDEP_FALSE 21271 AMDEP_FALSE
21250 AMDEP_TRUE 21272 AMDEP_TRUE
@@ -21252,7 +21274,7 @@ index 1d9e5e10695..a234c4815b1 100755
21252 am__include 21274 am__include
21253 DEPDIR 21275 DEPDIR
21254 am__untar 21276 am__untar
21255@@ -762,7 +766,8 @@ PACKAGE_VERSION 21277@@ -766,7 +770,8 @@ PACKAGE_VERSION
21256 PACKAGE_TARNAME 21278 PACKAGE_TARNAME
21257 PACKAGE_NAME 21279 PACKAGE_NAME
21258 PATH_SEPARATOR 21280 PATH_SEPARATOR
@@ -21262,7 +21284,7 @@ index 1d9e5e10695..a234c4815b1 100755
21262 ac_subst_files='' 21284 ac_subst_files=''
21263 ac_user_opts=' 21285 ac_user_opts='
21264 enable_option_checking 21286 enable_option_checking
21265@@ -773,6 +778,7 @@ enable_static 21287@@ -777,6 +782,7 @@ enable_static
21266 with_pic 21288 with_pic
21267 enable_fast_install 21289 enable_fast_install
21268 with_gnu_ld 21290 with_gnu_ld
@@ -21270,7 +21292,7 @@ index 1d9e5e10695..a234c4815b1 100755
21270 enable_libtool_lock 21292 enable_libtool_lock
21271 enable_largefile 21293 enable_largefile
21272 enable_maintainer_mode 21294 enable_maintainer_mode
21273@@ -1428,6 +1434,8 @@ Optional Packages: 21295@@ -1433,6 +1439,8 @@ Optional Packages:
21274 --with-pic try to use only PIC/non-PIC objects [default=use 21296 --with-pic try to use only PIC/non-PIC objects [default=use
21275 both] 21297 both]
21276 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 21298 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
@@ -21279,7 +21301,7 @@ index 1d9e5e10695..a234c4815b1 100755
21279 21301
21280 Some influential environment variables: 21302 Some influential environment variables:
21281 CC C compiler command 21303 CC C compiler command
21282@@ -3610,7 +3618,7 @@ $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 21304@@ -3727,7 +3735,7 @@ $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
21283 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h 21305 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
21284 21306
21285 21307
@@ -21288,7 +21310,7 @@ index 1d9e5e10695..a234c4815b1 100755
21288 21310
21289 # Find a good install program. We prefer a C program (faster), 21311 # Find a good install program. We prefer a C program (faster),
21290 # so one script is as good as another. But avoid the broken or 21312 # so one script is as good as another. But avoid the broken or
21291@@ -3783,12 +3791,7 @@ ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 21313@@ -3900,12 +3908,7 @@ ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
21292 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 21314 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
21293 21315
21294 if test x"${MISSING+set}" != xset; then 21316 if test x"${MISSING+set}" != xset; then
@@ -21302,7 +21324,7 @@ index 1d9e5e10695..a234c4815b1 100755
21302 fi 21324 fi
21303 # Use eval to expand $SHELL 21325 # Use eval to expand $SHELL
21304 if eval "$MISSING --is-lightweight"; then 21326 if eval "$MISSING --is-lightweight"; then
21305@@ -4036,45 +4039,45 @@ DEPDIR="${am__leading_dot}deps" 21327@@ -4153,45 +4156,45 @@ DEPDIR="${am__leading_dot}deps"
21306 21328
21307 ac_config_commands="$ac_config_commands depfiles" 21329 ac_config_commands="$ac_config_commands depfiles"
21308 21330
@@ -21381,7 +21403,7 @@ index 1d9e5e10695..a234c4815b1 100755
21381 21403
21382 # Check whether --enable-dependency-tracking was given. 21404 # Check whether --enable-dependency-tracking was given.
21383 if test "${enable_dependency_tracking+set}" = set; then : 21405 if test "${enable_dependency_tracking+set}" = set; then :
21384@@ -4186,8 +4189,8 @@ MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 21406@@ -4303,8 +4306,8 @@ MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
21385 21407
21386 # For better backward compatibility. To be removed once Automake 1.9.x 21408 # For better backward compatibility. To be removed once Automake 1.9.x
21387 # dies out for good. For more background, see: 21409 # dies out for good. For more background, see:
@@ -21392,7 +21414,7 @@ index 1d9e5e10695..a234c4815b1 100755
21392 mkdir_p='$(MKDIR_P)' 21414 mkdir_p='$(MKDIR_P)'
21393 21415
21394 # We need awk for the "check" target (and possibly the TAP driver). The 21416 # We need awk for the "check" target (and possibly the TAP driver). The
21395@@ -4334,6 +4337,20 @@ else 21417@@ -4451,6 +4454,20 @@ else
21396 fi 21418 fi
21397 21419
21398 21420
@@ -21413,7 +21435,7 @@ index 1d9e5e10695..a234c4815b1 100755
21413 21435
21414 # POSIX will say in a future version that running "rm -f" with no argument 21436 # POSIX will say in a future version that running "rm -f" with no argument
21415 # is OK; and we want to be able to make that assumption in our Makefile 21437 # is OK; and we want to be able to make that assumption in our Makefile
21416@@ -4366,7 +4383,7 @@ END 21438@@ -4483,7 +4500,7 @@ END
21417 Aborting the configuration process, to ensure you take notice of the issue. 21439 Aborting the configuration process, to ensure you take notice of the issue.
21418 21440
21419 You can download and install GNU coreutils to get an 'rm' implementation 21441 You can download and install GNU coreutils to get an 'rm' implementation
@@ -21422,7 +21444,7 @@ index 1d9e5e10695..a234c4815b1 100755
21422 21444
21423 If you want to complete the configuration process using your problematic 21445 If you want to complete the configuration process using your problematic
21424 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 21446 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
21425@@ -5351,8 +5368,8 @@ esac 21447@@ -5468,8 +5485,8 @@ esac
21426 21448
21427 21449
21428 21450
@@ -21433,7 +21455,7 @@ index 1d9e5e10695..a234c4815b1 100755
21433 21455
21434 21456
21435 21457
21436@@ -5463,7 +5480,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 21458@@ -5509,7 +5526,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
21437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 21459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
21438 $as_echo_n "checking how to print strings... " >&6; } 21460 $as_echo_n "checking how to print strings... " >&6; }
21439 # Test print first, because it will be a builtin if present. 21461 # Test print first, because it will be a builtin if present.
@@ -21442,7 +21464,7 @@ index 1d9e5e10695..a234c4815b1 100755
21442 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 21464 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
21443 ECHO='print -r --' 21465 ECHO='print -r --'
21444 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 21466 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
21445@@ -6156,8 +6173,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; 21467@@ -6202,8 +6219,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
21446 # Try some XSI features 21468 # Try some XSI features
21447 xsi_shell=no 21469 xsi_shell=no
21448 ( _lt_dummy="a/b/c" 21470 ( _lt_dummy="a/b/c"
@@ -21453,7 +21475,7 @@ index 1d9e5e10695..a234c4815b1 100755
21453 && eval 'test $(( 1 + 1 )) -eq 2 \ 21475 && eval 'test $(( 1 + 1 )) -eq 2 \
21454 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 21476 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
21455 && xsi_shell=yes 21477 && xsi_shell=yes
21456@@ -6206,6 +6223,80 @@ esac 21478@@ -6252,6 +6269,80 @@ esac
21457 21479
21458 21480
21459 21481
@@ -21534,7 +21556,7 @@ index 1d9e5e10695..a234c4815b1 100755
21534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 21556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
21535 $as_echo_n "checking for $LD option to reload object files... " >&6; } 21557 $as_echo_n "checking for $LD option to reload object files... " >&6; }
21536 if ${lt_cv_ld_reload_flag+:} false; then : 21558 if ${lt_cv_ld_reload_flag+:} false; then :
21537@@ -6222,6 +6313,11 @@ case $reload_flag in 21559@@ -6268,6 +6359,11 @@ case $reload_flag in
21538 esac 21560 esac
21539 reload_cmds='$LD$reload_flag -o $output$reload_objs' 21561 reload_cmds='$LD$reload_flag -o $output$reload_objs'
21540 case $host_os in 21562 case $host_os in
@@ -21546,7 +21568,7 @@ index 1d9e5e10695..a234c4815b1 100755
21546 darwin*) 21568 darwin*)
21547 if test "$GCC" = yes; then 21569 if test "$GCC" = yes; then
21548 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 21570 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
21549@@ -6390,7 +6486,8 @@ mingw* | pw32*) 21571@@ -6436,7 +6532,8 @@ mingw* | pw32*)
21550 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 21572 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
21551 lt_cv_file_magic_cmd='func_win32_libid' 21573 lt_cv_file_magic_cmd='func_win32_libid'
21552 else 21574 else
@@ -21556,7 +21578,7 @@ index 1d9e5e10695..a234c4815b1 100755
21556 lt_cv_file_magic_cmd='$OBJDUMP -f' 21578 lt_cv_file_magic_cmd='$OBJDUMP -f'
21557 fi 21579 fi
21558 ;; 21580 ;;
21559@@ -6549,6 +6646,21 @@ esac 21581@@ -6595,6 +6692,21 @@ esac
21560 fi 21582 fi
21561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 21583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
21562 $as_echo "$lt_cv_deplibs_check_method" >&6; } 21584 $as_echo "$lt_cv_deplibs_check_method" >&6; }
@@ -21578,7 +21600,7 @@ index 1d9e5e10695..a234c4815b1 100755
21578 file_magic_cmd=$lt_cv_file_magic_cmd 21600 file_magic_cmd=$lt_cv_file_magic_cmd
21579 deplibs_check_method=$lt_cv_deplibs_check_method 21601 deplibs_check_method=$lt_cv_deplibs_check_method
21580 test -z "$deplibs_check_method" && deplibs_check_method=unknown 21602 test -z "$deplibs_check_method" && deplibs_check_method=unknown
21581@@ -6564,6 +6676,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown 21603@@ -6610,6 +6722,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
21582 21604
21583 21605
21584 21606
@@ -21736,7 +21758,7 @@ index 1d9e5e10695..a234c4815b1 100755
21736 plugin_option= 21758 plugin_option=
21737 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll" 21759 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
21738 for plugin in $plugin_names; do 21760 for plugin in $plugin_names; do
21739@@ -6578,8 +6841,10 @@ for plugin in $plugin_names; do 21761@@ -6624,8 +6887,10 @@ for plugin in $plugin_names; do
21740 done 21762 done
21741 21763
21742 if test -n "$ac_tool_prefix"; then 21764 if test -n "$ac_tool_prefix"; then
@@ -21749,7 +21771,7 @@ index 1d9e5e10695..a234c4815b1 100755
21749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 21771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21750 $as_echo_n "checking for $ac_word... " >&6; } 21772 $as_echo_n "checking for $ac_word... " >&6; }
21751 if ${ac_cv_prog_AR+:} false; then : 21773 if ${ac_cv_prog_AR+:} false; then :
21752@@ -6595,7 +6860,7 @@ do 21774@@ -6641,7 +6906,7 @@ do
21753 test -z "$as_dir" && as_dir=. 21775 test -z "$as_dir" && as_dir=.
21754 for ac_exec_ext in '' $ac_executable_extensions; do 21776 for ac_exec_ext in '' $ac_executable_extensions; do
21755 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 21777 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -21758,7 +21780,7 @@ index 1d9e5e10695..a234c4815b1 100755
21758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 21780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21759 break 2 21781 break 2
21760 fi 21782 fi
21761@@ -6615,11 +6880,15 @@ $as_echo "no" >&6; } 21783@@ -6661,11 +6926,15 @@ $as_echo "no" >&6; }
21762 fi 21784 fi
21763 21785
21764 21786
@@ -21777,7 +21799,7 @@ index 1d9e5e10695..a234c4815b1 100755
21777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 21799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21778 $as_echo_n "checking for $ac_word... " >&6; } 21800 $as_echo_n "checking for $ac_word... " >&6; }
21779 if ${ac_cv_prog_ac_ct_AR+:} false; then : 21801 if ${ac_cv_prog_ac_ct_AR+:} false; then :
21780@@ -6635,7 +6904,7 @@ do 21802@@ -6681,7 +6950,7 @@ do
21781 test -z "$as_dir" && as_dir=. 21803 test -z "$as_dir" && as_dir=.
21782 for ac_exec_ext in '' $ac_executable_extensions; do 21804 for ac_exec_ext in '' $ac_executable_extensions; do
21783 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 21805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -21786,7 +21808,7 @@ index 1d9e5e10695..a234c4815b1 100755
21786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 21808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21787 break 2 21809 break 2
21788 fi 21810 fi
21789@@ -6654,6 +6923,10 @@ else 21811@@ -6700,6 +6969,10 @@ else
21790 $as_echo "no" >&6; } 21812 $as_echo "no" >&6; }
21791 fi 21813 fi
21792 21814
@@ -21797,7 +21819,7 @@ index 1d9e5e10695..a234c4815b1 100755
21797 if test "x$ac_ct_AR" = x; then 21819 if test "x$ac_ct_AR" = x; then
21798 AR="false" 21820 AR="false"
21799 else 21821 else
21800@@ -6665,29 +6938,81 @@ ac_tool_warned=yes ;; 21822@@ -6711,29 +6984,81 @@ ac_tool_warned=yes ;;
21801 esac 21823 esac
21802 AR=$ac_ct_AR 21824 AR=$ac_ct_AR
21803 fi 21825 fi
@@ -21894,7 +21916,7 @@ index 1d9e5e10695..a234c4815b1 100755
21894 21916
21895 21917
21896 21918
21897@@ -7034,8 +7359,8 @@ esac 21919@@ -7080,8 +7405,8 @@ esac
21898 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 21920 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
21899 21921
21900 # Transform an extracted symbol line into symbol name and symbol address 21922 # Transform an extracted symbol line into symbol name and symbol address
@@ -21905,7 +21927,7 @@ index 1d9e5e10695..a234c4815b1 100755
21905 21927
21906 # Handle CRLF in mingw tool chain 21928 # Handle CRLF in mingw tool chain
21907 opt_cr= 21929 opt_cr=
21908@@ -7071,6 +7396,7 @@ for ac_symprfx in "" "_"; do 21930@@ -7117,6 +7442,7 @@ for ac_symprfx in "" "_"; do
21909 else 21931 else
21910 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 21932 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
21911 fi 21933 fi
@@ -21913,7 +21935,7 @@ index 1d9e5e10695..a234c4815b1 100755
21913 21935
21914 # Check to see that the pipe works correctly. 21936 # Check to see that the pipe works correctly.
21915 pipe_works=no 21937 pipe_works=no
21916@@ -7112,6 +7438,18 @@ _LT_EOF 21938@@ -7158,6 +7484,18 @@ _LT_EOF
21917 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 21939 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
21918 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 21940 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
21919 cat <<_LT_EOF > conftest.$ac_ext 21941 cat <<_LT_EOF > conftest.$ac_ext
@@ -21932,7 +21954,7 @@ index 1d9e5e10695..a234c4815b1 100755
21932 #ifdef __cplusplus 21954 #ifdef __cplusplus
21933 extern "C" { 21955 extern "C" {
21934 #endif 21956 #endif
21935@@ -7123,7 +7461,7 @@ _LT_EOF 21957@@ -7169,7 +7507,7 @@ _LT_EOF
21936 cat <<_LT_EOF >> conftest.$ac_ext 21958 cat <<_LT_EOF >> conftest.$ac_ext
21937 21959
21938 /* The mapping between symbol names and symbols. */ 21960 /* The mapping between symbol names and symbols. */
@@ -21941,7 +21963,7 @@ index 1d9e5e10695..a234c4815b1 100755
21941 const char *name; 21963 const char *name;
21942 void *address; 21964 void *address;
21943 } 21965 }
21944@@ -7149,8 +7487,8 @@ static const void *lt_preloaded_setup() { 21966@@ -7195,8 +7533,8 @@ static const void *lt_preloaded_setup() {
21945 _LT_EOF 21967 _LT_EOF
21946 # Now try linking the two files. 21968 # Now try linking the two files.
21947 mv conftest.$ac_objext conftstm.$ac_objext 21969 mv conftest.$ac_objext conftstm.$ac_objext
@@ -21952,7 +21974,7 @@ index 1d9e5e10695..a234c4815b1 100755
21952 LIBS="conftstm.$ac_objext" 21974 LIBS="conftstm.$ac_objext"
21953 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 21975 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
21954 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 21976 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
21955@@ -7160,8 +7498,8 @@ _LT_EOF 21977@@ -7206,8 +7544,8 @@ _LT_EOF
21956 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 21978 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
21957 pipe_works=yes 21979 pipe_works=yes
21958 fi 21980 fi
@@ -21963,7 +21985,7 @@ index 1d9e5e10695..a234c4815b1 100755
21963 else 21985 else
21964 echo "cannot find nm_test_func in $nlist" >&5 21986 echo "cannot find nm_test_func in $nlist" >&5
21965 fi 21987 fi
21966@@ -7198,6 +7536,16 @@ else 21988@@ -7244,6 +7582,16 @@ else
21967 $as_echo "ok" >&6; } 21989 $as_echo "ok" >&6; }
21968 fi 21990 fi
21969 21991
@@ -21980,7 +22002,7 @@ index 1d9e5e10695..a234c4815b1 100755
21980 22002
21981 22003
21982 22004
21983@@ -7214,6 +7562,45 @@ fi 22005@@ -7260,6 +7608,45 @@ fi
21984 22006
21985 22007
21986 22008
@@ -22026,7 +22048,7 @@ index 1d9e5e10695..a234c4815b1 100755
22026 22048
22027 22049
22028 22050
22029@@ -7419,11 +7806,128 @@ sparc*-*solaris*) 22051@@ -7465,11 +7852,128 @@ sparc*-*solaris*)
22030 ;; 22052 ;;
22031 esac 22053 esac
22032 fi 22054 fi
@@ -22158,7 +22180,7 @@ index 1d9e5e10695..a234c4815b1 100755
22158 22180
22159 22181
22160 case $host_os in 22182 case $host_os in
22161@@ -7988,6 +8492,8 @@ _LT_EOF 22183@@ -8034,6 +8538,8 @@ _LT_EOF
22162 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 22184 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
22163 echo "$AR cru libconftest.a conftest.o" >&5 22185 echo "$AR cru libconftest.a conftest.o" >&5
22164 $AR cru libconftest.a conftest.o 2>&5 22186 $AR cru libconftest.a conftest.o 2>&5
@@ -22167,7 +22189,7 @@ index 1d9e5e10695..a234c4815b1 100755
22167 cat > conftest.c << _LT_EOF 22189 cat > conftest.c << _LT_EOF
22168 int main() { return 0;} 22190 int main() { return 0;}
22169 _LT_EOF 22191 _LT_EOF
22170@@ -8542,8 +9048,6 @@ fi 22192@@ -8588,8 +9094,6 @@ fi
22171 lt_prog_compiler_pic= 22193 lt_prog_compiler_pic=
22172 lt_prog_compiler_static= 22194 lt_prog_compiler_static=
22173 22195
@@ -22176,7 +22198,7 @@ index 1d9e5e10695..a234c4815b1 100755
22176 22198
22177 if test "$GCC" = yes; then 22199 if test "$GCC" = yes; then
22178 lt_prog_compiler_wl='-Wl,' 22200 lt_prog_compiler_wl='-Wl,'
22179@@ -8709,6 +9213,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } 22201@@ -8755,6 +9259,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
22180 lt_prog_compiler_pic='--shared' 22202 lt_prog_compiler_pic='--shared'
22181 lt_prog_compiler_static='--static' 22203 lt_prog_compiler_static='--static'
22182 ;; 22204 ;;
@@ -22189,7 +22211,7 @@ index 1d9e5e10695..a234c4815b1 100755
22189 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 22211 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
22190 # Portland Group compilers (*not* the Pentium gcc compiler, 22212 # Portland Group compilers (*not* the Pentium gcc compiler,
22191 # which looks to be a dead project) 22213 # which looks to be a dead project)
22192@@ -8771,7 +9281,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } 22214@@ -8817,7 +9327,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
22193 lt_prog_compiler_pic='-KPIC' 22215 lt_prog_compiler_pic='-KPIC'
22194 lt_prog_compiler_static='-Bstatic' 22216 lt_prog_compiler_static='-Bstatic'
22195 case $cc_basename in 22217 case $cc_basename in
@@ -22198,7 +22220,7 @@ index 1d9e5e10695..a234c4815b1 100755
22198 lt_prog_compiler_wl='-Qoption ld ';; 22220 lt_prog_compiler_wl='-Qoption ld ';;
22199 *) 22221 *)
22200 lt_prog_compiler_wl='-Wl,';; 22222 lt_prog_compiler_wl='-Wl,';;
22201@@ -8828,13 +9338,17 @@ case $host_os in 22223@@ -8874,13 +9384,17 @@ case $host_os in
22202 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 22224 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
22203 ;; 22225 ;;
22204 esac 22226 esac
@@ -22222,7 +22244,7 @@ index 1d9e5e10695..a234c4815b1 100755
22222 22244
22223 # 22245 #
22224 # Check to make sure the PIC flag actually works. 22246 # Check to make sure the PIC flag actually works.
22225@@ -8895,6 +9409,11 @@ fi 22247@@ -8941,6 +9455,11 @@ fi
22226 22248
22227 22249
22228 22250
@@ -22234,7 +22256,7 @@ index 1d9e5e10695..a234c4815b1 100755
22234 # 22256 #
22235 # Check to make sure the static flag actually works. 22257 # Check to make sure the static flag actually works.
22236 # 22258 #
22237@@ -9245,7 +9764,8 @@ _LT_EOF 22259@@ -9291,7 +9810,8 @@ _LT_EOF
22238 allow_undefined_flag=unsupported 22260 allow_undefined_flag=unsupported
22239 always_export_symbols=no 22261 always_export_symbols=no
22240 enable_shared_with_static_runtimes=yes 22262 enable_shared_with_static_runtimes=yes
@@ -22244,7 +22266,7 @@ index 1d9e5e10695..a234c4815b1 100755
22244 22266
22245 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 22267 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
22246 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 22268 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
22247@@ -9344,12 +9864,12 @@ _LT_EOF 22269@@ -9390,12 +9910,12 @@ _LT_EOF
22248 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 22270 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
22249 hardcode_libdir_flag_spec= 22271 hardcode_libdir_flag_spec=
22250 hardcode_libdir_flag_spec_ld='-rpath $libdir' 22272 hardcode_libdir_flag_spec_ld='-rpath $libdir'
@@ -22259,7 +22281,7 @@ index 1d9e5e10695..a234c4815b1 100755
22259 fi 22281 fi
22260 ;; 22282 ;;
22261 esac 22283 esac
22262@@ -9363,8 +9883,8 @@ _LT_EOF 22284@@ -9409,8 +9929,8 @@ _LT_EOF
22263 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 22285 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
22264 wlarc= 22286 wlarc=
22265 else 22287 else
@@ -22270,7 +22292,7 @@ index 1d9e5e10695..a234c4815b1 100755
22270 fi 22292 fi
22271 ;; 22293 ;;
22272 22294
22273@@ -9382,8 +9902,8 @@ _LT_EOF 22295@@ -9428,8 +9948,8 @@ _LT_EOF
22274 22296
22275 _LT_EOF 22297 _LT_EOF
22276 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 22298 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -22281,7 +22303,7 @@ index 1d9e5e10695..a234c4815b1 100755
22281 else 22303 else
22282 ld_shlibs=no 22304 ld_shlibs=no
22283 fi 22305 fi
22284@@ -9429,8 +9949,8 @@ _LT_EOF 22306@@ -9475,8 +9995,8 @@ _LT_EOF
22285 22307
22286 *) 22308 *)
22287 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 22309 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -22292,7 +22314,7 @@ index 1d9e5e10695..a234c4815b1 100755
22292 else 22314 else
22293 ld_shlibs=no 22315 ld_shlibs=no
22294 fi 22316 fi
22295@@ -9560,7 +10080,13 @@ _LT_EOF 22317@@ -9606,7 +10126,13 @@ _LT_EOF
22296 allow_undefined_flag='-berok' 22318 allow_undefined_flag='-berok'
22297 # Determine the default libpath from the value encoded in an 22319 # Determine the default libpath from the value encoded in an
22298 # empty executable. 22320 # empty executable.
@@ -22307,7 +22329,7 @@ index 1d9e5e10695..a234c4815b1 100755
22307 /* end confdefs.h. */ 22329 /* end confdefs.h. */
22308 22330
22309 int 22331 int
22310@@ -9573,22 +10099,29 @@ main () 22332@@ -9619,22 +10145,29 @@ main ()
22311 _ACEOF 22333 _ACEOF
22312 if ac_fn_c_try_link "$LINENO"; then : 22334 if ac_fn_c_try_link "$LINENO"; then :
22313 22335
@@ -22350,7 +22372,7 @@ index 1d9e5e10695..a234c4815b1 100755
22350 22372
22351 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 22373 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
22352 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 22374 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
22353@@ -9600,7 +10133,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 22375@@ -9646,7 +10179,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
22354 else 22376 else
22355 # Determine the default libpath from the value encoded in an 22377 # Determine the default libpath from the value encoded in an
22356 # empty executable. 22378 # empty executable.
@@ -22365,7 +22387,7 @@ index 1d9e5e10695..a234c4815b1 100755
22365 /* end confdefs.h. */ 22387 /* end confdefs.h. */
22366 22388
22367 int 22389 int
22368@@ -9613,22 +10152,29 @@ main () 22390@@ -9659,22 +10198,29 @@ main ()
22369 _ACEOF 22391 _ACEOF
22370 if ac_fn_c_try_link "$LINENO"; then : 22392 if ac_fn_c_try_link "$LINENO"; then :
22371 22393
@@ -22408,7 +22430,7 @@ index 1d9e5e10695..a234c4815b1 100755
22408 22430
22409 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 22431 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
22410 # Warning - without using the other run time loading flags, 22432 # Warning - without using the other run time loading flags,
22411@@ -9673,20 +10219,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 22433@@ -9719,20 +10265,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
22412 # Microsoft Visual C++. 22434 # Microsoft Visual C++.
22413 # hardcode_libdir_flag_spec is actually meaningless, as there is 22435 # hardcode_libdir_flag_spec is actually meaningless, as there is
22414 # no search path for DLLs. 22436 # no search path for DLLs.
@@ -22486,7 +22508,7 @@ index 1d9e5e10695..a234c4815b1 100755
22486 ;; 22508 ;;
22487 22509
22488 darwin* | rhapsody*) 22510 darwin* | rhapsody*)
22489@@ -9747,7 +10336,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 22511@@ -9793,7 +10382,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
22490 22512
22491 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 22513 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
22492 freebsd* | dragonfly*) 22514 freebsd* | dragonfly*)
@@ -22495,7 +22517,7 @@ index 1d9e5e10695..a234c4815b1 100755
22495 hardcode_libdir_flag_spec='-R$libdir' 22517 hardcode_libdir_flag_spec='-R$libdir'
22496 hardcode_direct=yes 22518 hardcode_direct=yes
22497 hardcode_shlibpath_var=no 22519 hardcode_shlibpath_var=no
22498@@ -9755,7 +10344,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 22520@@ -9801,7 +10390,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
22499 22521
22500 hpux9*) 22522 hpux9*)
22501 if test "$GCC" = yes; then 22523 if test "$GCC" = yes; then
@@ -22504,7 +22526,7 @@ index 1d9e5e10695..a234c4815b1 100755
22504 else 22526 else
22505 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 22527 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
22506 fi 22528 fi
22507@@ -9771,7 +10360,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 22529@@ -9817,7 +10406,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
22508 22530
22509 hpux10*) 22531 hpux10*)
22510 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 22532 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -22513,7 +22535,7 @@ index 1d9e5e10695..a234c4815b1 100755
22513 else 22535 else
22514 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 22536 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
22515 fi 22537 fi
22516@@ -9795,10 +10384,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 22538@@ -9841,10 +10430,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
22517 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 22539 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
22518 ;; 22540 ;;
22519 ia64*) 22541 ia64*)
@@ -22526,7 +22548,7 @@ index 1d9e5e10695..a234c4815b1 100755
22526 ;; 22548 ;;
22527 esac 22549 esac
22528 else 22550 else
22529@@ -9877,23 +10466,36 @@ fi 22551@@ -9923,23 +10512,36 @@ fi
22530 22552
22531 irix5* | irix6* | nonstopux*) 22553 irix5* | irix6* | nonstopux*)
22532 if test "$GCC" = yes; then 22554 if test "$GCC" = yes; then
@@ -22571,7 +22593,7 @@ index 1d9e5e10695..a234c4815b1 100755
22571 else 22593 else
22572 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 22594 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
22573 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' 22595 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
22574@@ -9978,7 +10580,7 @@ rm -f core conftest.err conftest.$ac_objext \ 22596@@ -10024,7 +10626,7 @@ rm -f core conftest.err conftest.$ac_objext \
22575 osf4* | osf5*) # as osf3* with the addition of -msym flag 22597 osf4* | osf5*) # as osf3* with the addition of -msym flag
22576 if test "$GCC" = yes; then 22598 if test "$GCC" = yes; then
22577 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 22599 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
@@ -22580,7 +22602,7 @@ index 1d9e5e10695..a234c4815b1 100755
22580 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 22602 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
22581 else 22603 else
22582 allow_undefined_flag=' -expect_unresolved \*' 22604 allow_undefined_flag=' -expect_unresolved \*'
22583@@ -9997,9 +10599,9 @@ rm -f core conftest.err conftest.$ac_objext \ 22605@@ -10043,9 +10645,9 @@ rm -f core conftest.err conftest.$ac_objext \
22584 no_undefined_flag=' -z defs' 22606 no_undefined_flag=' -z defs'
22585 if test "$GCC" = yes; then 22607 if test "$GCC" = yes; then
22586 wlarc='${wl}' 22608 wlarc='${wl}'
@@ -22592,7 +22614,7 @@ index 1d9e5e10695..a234c4815b1 100755
22592 else 22614 else
22593 case `$CC -V 2>&1` in 22615 case `$CC -V 2>&1` in
22594 *"Compilers 5.0"*) 22616 *"Compilers 5.0"*)
22595@@ -10575,8 +11177,9 @@ cygwin* | mingw* | pw32* | cegcc*) 22617@@ -10621,8 +11223,9 @@ cygwin* | mingw* | pw32* | cegcc*)
22596 need_version=no 22618 need_version=no
22597 need_lib_prefix=no 22619 need_lib_prefix=no
22598 22620
@@ -22604,7 +22626,7 @@ index 1d9e5e10695..a234c4815b1 100755
22604 library_names_spec='$libname.dll.a' 22626 library_names_spec='$libname.dll.a'
22605 # DLL is installed to $(libdir)/../bin by postinstall_cmds 22627 # DLL is installed to $(libdir)/../bin by postinstall_cmds
22606 postinstall_cmds='base_file=`basename \${file}`~ 22628 postinstall_cmds='base_file=`basename \${file}`~
22607@@ -10609,13 +11212,71 @@ cygwin* | mingw* | pw32* | cegcc*) 22629@@ -10655,13 +11258,71 @@ cygwin* | mingw* | pw32* | cegcc*)
22608 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 22630 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22609 ;; 22631 ;;
22610 esac 22632 esac
@@ -22677,16 +22699,16 @@ index 1d9e5e10695..a234c4815b1 100755
22677 # FIXME: first we should search . and the directory the executable is in 22699 # FIXME: first we should search . and the directory the executable is in
22678 shlibpath_var=PATH 22700 shlibpath_var=PATH
22679 ;; 22701 ;;
22680@@ -11517,7 +12178,7 @@ else 22702@@ -11563,7 +12224,7 @@ else
22681 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 22703 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
22682 lt_status=$lt_dlunknown 22704 lt_status=$lt_dlunknown
22683 cat > conftest.$ac_ext <<_LT_EOF 22705 cat > conftest.$ac_ext <<_LT_EOF
22684-#line 11520 "configure" 22706-#line 11566 "configure"
22685+#line $LINENO "configure" 22707+#line $LINENO "configure"
22686 #include "confdefs.h" 22708 #include "confdefs.h"
22687 22709
22688 #if HAVE_DLFCN_H 22710 #if HAVE_DLFCN_H
22689@@ -11561,10 +12222,10 @@ else 22711@@ -11607,10 +12268,10 @@ else
22690 /* When -fvisbility=hidden is used, assume the code has been annotated 22712 /* When -fvisbility=hidden is used, assume the code has been annotated
22691 correspondingly for the symbols needed. */ 22713 correspondingly for the symbols needed. */
22692 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 22714 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -22699,16 +22721,16 @@ index 1d9e5e10695..a234c4815b1 100755
22699 int main () 22721 int main ()
22700 { 22722 {
22701 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 22723 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
22702@@ -11623,7 +12284,7 @@ else 22724@@ -11669,7 +12330,7 @@ else
22703 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 22725 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
22704 lt_status=$lt_dlunknown 22726 lt_status=$lt_dlunknown
22705 cat > conftest.$ac_ext <<_LT_EOF 22727 cat > conftest.$ac_ext <<_LT_EOF
22706-#line 11626 "configure" 22728-#line 11672 "configure"
22707+#line $LINENO "configure" 22729+#line $LINENO "configure"
22708 #include "confdefs.h" 22730 #include "confdefs.h"
22709 22731
22710 #if HAVE_DLFCN_H 22732 #if HAVE_DLFCN_H
22711@@ -11667,10 +12328,10 @@ else 22733@@ -11713,10 +12374,10 @@ else
22712 /* When -fvisbility=hidden is used, assume the code has been annotated 22734 /* When -fvisbility=hidden is used, assume the code has been annotated
22713 correspondingly for the symbols needed. */ 22735 correspondingly for the symbols needed. */
22714 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 22736 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -22721,7 +22743,7 @@ index 1d9e5e10695..a234c4815b1 100755
22721 int main () 22743 int main ()
22722 { 22744 {
22723 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 22745 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
22724@@ -13490,7 +14151,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 22746@@ -13541,7 +14202,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22725 # 22747 #
22726 # INIT-COMMANDS 22748 # INIT-COMMANDS
22727 # 22749 #
@@ -22730,7 +22752,7 @@ index 1d9e5e10695..a234c4815b1 100755
22730 22752
22731 22753
22732 # The HP-UX ksh and POSIX shell print the target directory to stdout 22754 # The HP-UX ksh and POSIX shell print the target directory to stdout
22733@@ -13528,13 +14189,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 22755@@ -13579,13 +14240,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
22734 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 22756 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
22735 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 22757 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
22736 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 22758 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -22751,7 +22773,7 @@ index 1d9e5e10695..a234c4815b1 100755
22751 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 22773 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
22752 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 22774 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
22753 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 22775 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22754@@ -13549,14 +14217,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de 22776@@ -13600,14 +14268,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
22755 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 22777 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
22756 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 22778 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
22757 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' 22779 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
@@ -22770,7 +22792,7 @@ index 1d9e5e10695..a234c4815b1 100755
22770 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 22792 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
22771 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 22793 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
22772 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 22794 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
22773@@ -13589,12 +14260,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q 22795@@ -13640,12 +14311,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q
22774 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 22796 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
22775 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 22797 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
22776 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 22798 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -22784,7 +22806,7 @@ index 1d9e5e10695..a234c4815b1 100755
22784 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 22806 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
22785 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 22807 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
22786 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 22808 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
22787@@ -13649,8 +14320,13 @@ reload_flag \ 22809@@ -13700,8 +14371,13 @@ reload_flag \
22788 OBJDUMP \ 22810 OBJDUMP \
22789 deplibs_check_method \ 22811 deplibs_check_method \
22790 file_magic_cmd \ 22812 file_magic_cmd \
@@ -22798,7 +22820,7 @@ index 1d9e5e10695..a234c4815b1 100755
22798 STRIP \ 22820 STRIP \
22799 RANLIB \ 22821 RANLIB \
22800 CC \ 22822 CC \
22801@@ -13660,12 +14336,14 @@ lt_cv_sys_global_symbol_pipe \ 22823@@ -13711,12 +14387,14 @@ lt_cv_sys_global_symbol_pipe \
22802 lt_cv_sys_global_symbol_to_cdecl \ 22824 lt_cv_sys_global_symbol_to_cdecl \
22803 lt_cv_sys_global_symbol_to_c_name_address \ 22825 lt_cv_sys_global_symbol_to_c_name_address \
22804 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 22826 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -22814,7 +22836,7 @@ index 1d9e5e10695..a234c4815b1 100755
22814 DSYMUTIL \ 22836 DSYMUTIL \
22815 NMEDIT \ 22837 NMEDIT \
22816 LIPO \ 22838 LIPO \
22817@@ -13681,7 +14359,6 @@ no_undefined_flag \ 22839@@ -13732,7 +14410,6 @@ no_undefined_flag \
22818 hardcode_libdir_flag_spec \ 22840 hardcode_libdir_flag_spec \
22819 hardcode_libdir_flag_spec_ld \ 22841 hardcode_libdir_flag_spec_ld \
22820 hardcode_libdir_separator \ 22842 hardcode_libdir_separator \
@@ -22822,7 +22844,7 @@ index 1d9e5e10695..a234c4815b1 100755
22822 exclude_expsyms \ 22844 exclude_expsyms \
22823 include_expsyms \ 22845 include_expsyms \
22824 file_list_spec \ 22846 file_list_spec \
22825@@ -13717,6 +14394,7 @@ module_cmds \ 22847@@ -13768,6 +14445,7 @@ module_cmds \
22826 module_expsym_cmds \ 22848 module_expsym_cmds \
22827 export_symbols_cmds \ 22849 export_symbols_cmds \
22828 prelink_cmds \ 22850 prelink_cmds \
@@ -22830,7 +22852,7 @@ index 1d9e5e10695..a234c4815b1 100755
22830 postinstall_cmds \ 22852 postinstall_cmds \
22831 postuninstall_cmds \ 22853 postuninstall_cmds \
22832 finish_cmds \ 22854 finish_cmds \
22833@@ -14363,29 +15041,35 @@ $as_echo "$as_me: executing $ac_file commands" >&6;} 22855@@ -14414,29 +15092,35 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
22834 # Older Autoconf quotes --file arguments for eval, but not when files 22856 # Older Autoconf quotes --file arguments for eval, but not when files
22835 # are listed without --file. Let's play safe and only enable the eval 22857 # are listed without --file. Let's play safe and only enable the eval
22836 # if we detect the quoting. 22858 # if we detect the quoting.
@@ -22885,7 +22907,7 @@ index 1d9e5e10695..a234c4815b1 100755
22885 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 22907 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22886 s//\1/ 22908 s//\1/
22887 q 22909 q
22888@@ -14403,53 +15087,50 @@ $as_echo X"$mf" | 22910@@ -14454,53 +15138,50 @@ $as_echo X"$mf" |
22889 q 22911 q
22890 } 22912 }
22891 s/.*/./; q'` 22913 s/.*/./; q'`
@@ -22972,7 +22994,7 @@ index 1d9e5e10695..a234c4815b1 100755
22972 } 22994 }
22973 ;; 22995 ;;
22974 "libtool":C) 22996 "libtool":C)
22975@@ -14473,7 +15154,8 @@ $as_echo X"$file" | 22997@@ -14524,7 +15205,8 @@ $as_echo X"$file" |
22976 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 22998 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
22977 # 22999 #
22978 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 23000 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -22982,7 +23004,7 @@ index 1d9e5e10695..a234c4815b1 100755
22982 # Written by Gordon Matzigkeit, 1996 23004 # Written by Gordon Matzigkeit, 1996
22983 # 23005 #
22984 # This file is part of GNU Libtool. 23006 # This file is part of GNU Libtool.
22985@@ -14576,19 +15258,42 @@ SP2NL=$lt_lt_SP2NL 23007@@ -14627,19 +15309,42 @@ SP2NL=$lt_lt_SP2NL
22986 # turn newlines into spaces. 23008 # turn newlines into spaces.
22987 NL2SP=$lt_lt_NL2SP 23009 NL2SP=$lt_lt_NL2SP
22988 23010
@@ -23026,7 +23048,7 @@ index 1d9e5e10695..a234c4815b1 100755
23026 # A symbol stripping program. 23048 # A symbol stripping program.
23027 STRIP=$lt_STRIP 23049 STRIP=$lt_STRIP
23028 23050
23029@@ -14618,6 +15323,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 23051@@ -14669,6 +15374,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23030 # Transform the output of nm in a C name address pair when lib prefix is needed. 23052 # Transform the output of nm in a C name address pair when lib prefix is needed.
23031 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 23053 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
23032 23054
@@ -23039,7 +23061,7 @@ index 1d9e5e10695..a234c4815b1 100755
23039 # The name of the directory that contains temporary libtool files. 23061 # The name of the directory that contains temporary libtool files.
23040 objdir=$objdir 23062 objdir=$objdir
23041 23063
23042@@ -14627,6 +15338,9 @@ MAGIC_CMD=$MAGIC_CMD 23064@@ -14678,6 +15389,9 @@ MAGIC_CMD=$MAGIC_CMD
23043 # Must we lock files when doing compilation? 23065 # Must we lock files when doing compilation?
23044 need_locks=$lt_need_locks 23066 need_locks=$lt_need_locks
23045 23067
@@ -23049,7 +23071,7 @@ index 1d9e5e10695..a234c4815b1 100755
23049 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. 23071 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
23050 DSYMUTIL=$lt_DSYMUTIL 23072 DSYMUTIL=$lt_DSYMUTIL
23051 23073
23052@@ -14741,12 +15455,12 @@ with_gcc=$GCC 23074@@ -14792,12 +15506,12 @@ with_gcc=$GCC
23053 # Compiler flag to turn off builtin functions. 23075 # Compiler flag to turn off builtin functions.
23054 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 23076 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
23055 23077
@@ -23065,7 +23087,7 @@ index 1d9e5e10695..a234c4815b1 100755
23065 # Compiler flag to prevent dynamic linking. 23087 # Compiler flag to prevent dynamic linking.
23066 link_static_flag=$lt_lt_prog_compiler_static 23088 link_static_flag=$lt_lt_prog_compiler_static
23067 23089
23068@@ -14833,9 +15547,6 @@ inherit_rpath=$inherit_rpath 23090@@ -14884,9 +15598,6 @@ inherit_rpath=$inherit_rpath
23069 # Whether libtool must link a program against all its dependency libraries. 23091 # Whether libtool must link a program against all its dependency libraries.
23070 link_all_deplibs=$link_all_deplibs 23092 link_all_deplibs=$link_all_deplibs
23071 23093
@@ -23075,7 +23097,7 @@ index 1d9e5e10695..a234c4815b1 100755
23075 # Set to "yes" if exported symbols are required. 23097 # Set to "yes" if exported symbols are required.
23076 always_export_symbols=$always_export_symbols 23098 always_export_symbols=$always_export_symbols
23077 23099
23078@@ -14851,6 +15562,9 @@ include_expsyms=$lt_include_expsyms 23100@@ -14902,6 +15613,9 @@ include_expsyms=$lt_include_expsyms
23079 # Commands necessary for linking programs (against libraries) with templates. 23101 # Commands necessary for linking programs (against libraries) with templates.
23080 prelink_cmds=$lt_prelink_cmds 23102 prelink_cmds=$lt_prelink_cmds
23081 23103
@@ -23085,7 +23107,7 @@ index 1d9e5e10695..a234c4815b1 100755
23085 # Specify filename containing input files. 23107 # Specify filename containing input files.
23086 file_list_spec=$lt_file_list_spec 23108 file_list_spec=$lt_file_list_spec
23087 23109
23088@@ -14883,210 +15597,169 @@ ltmain="$ac_aux_dir/ltmain.sh" 23110@@ -14934,210 +15648,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
23089 # if finds mixed CR/LF and LF-only lines. Since sed operates in 23111 # if finds mixed CR/LF and LF-only lines. Since sed operates in
23090 # text mode, it properly converts lines to CR/LF. This bash problem 23112 # text mode, it properly converts lines to CR/LF. This bash problem
23091 # is reportedly fixed, but why not run on old versions too? 23113 # is reportedly fixed, but why not run on old versions too?
@@ -25230,7 +25252,7 @@ index e36fdd3c0e2..4acf9d67956 100644
25230+ [0], [convert $build files to toolchain format])dnl 25252+ [0], [convert $build files to toolchain format])dnl
25231+])# _LT_PATH_CONVERSION_FUNCTIONS 25253+])# _LT_PATH_CONVERSION_FUNCTIONS
25232diff --git a/ltmain.sh b/ltmain.sh 25254diff --git a/ltmain.sh b/ltmain.sh
25233index 70990740b6c..7f7104ffc82 100644 25255index 1a710177fb2..09693d7b99b 100644
25234--- a/ltmain.sh 25256--- a/ltmain.sh
25235+++ b/ltmain.sh 25257+++ b/ltmain.sh
25236@@ -1,10 +1,9 @@ 25258@@ -1,10 +1,9 @@
@@ -28440,39 +28462,19 @@ index 70990740b6c..7f7104ffc82 100644
28440 done 28462 done
28441 IFS="$save_ifs" 28463 IFS="$save_ifs"
28442 func_stripname ' ' '' "$arg" 28464 func_stripname ' ' '' "$arg"
28443@@ -4968,24 +5832,27 @@ func_mode_link () 28465@@ -4995,8 +5859,10 @@ func_mode_link ()
28444 arg="$func_quote_for_eval_result" 28466 # -f{file|debug|macro|profile}-prefix-map=* needed for lto linking
28445 ;; 28467 # -Wa,* Pass flags directly to the assembler
28446 28468 # -Werror, -Werror=* Report (specified) warnings as errors
28447- # -64, -mips[0-9] enable 64-bit mode on the SGI compiler
28448- # -r[0-9][0-9]* specifies the processor on the SGI compiler
28449- # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler
28450- # +DA*, +DD* enable 64-bit mode on the HP compiler
28451- # -q* pass through compiler args for the IBM compiler
28452- # -m*, -t[45]*, -txscale* pass through architecture-specific
28453- # compiler args for GCC
28454- # -F/path gives path to uninstalled frameworks, gcc on darwin
28455- # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
28456- # @file GCC response files
28457- # -tp=* Portland pgcc target processor selection
28458+ # Flags to be passed through unchanged, with rationale:
28459+ # -64, -mips[0-9] enable 64-bit mode for the SGI compiler
28460+ # -r[0-9][0-9]* specify processor for the SGI compiler
28461+ # -xarch=*, -xtarget=* enable 64-bit mode for the Sun compiler
28462+ # +DA*, +DD* enable 64-bit mode for the HP compiler
28463+ # -q* compiler args for the IBM compiler
28464+ # -m*, -t[45]*, -txscale* architecture-specific flags for GCC
28465+ # -F/path path to uninstalled frameworks, gcc on darwin
28466+ # -p, -pg, --coverage, -fprofile-* profiling flags for GCC
28467+ # @file GCC response files
28468+ # -tp=* Portland pgcc target processor selection
28469+ # --sysroot=* for sysroot support 28469+ # --sysroot=* for sysroot support
28470+ # -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization 28470+ # -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
28471 -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ 28471 -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
28472- -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*) 28472- -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*| \
28473+ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \ 28473+ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
28474+ -O*|-flto*|-fwhopr*|-fuse-linker-plugin) 28474 -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*| \
28475 func_quote_for_eval "$arg" 28475 -stdlib=*|-rtlib=*|--unwindlib=*| \
28476 -specs=*|-fsanitize=*|-fno-sanitize*|-shared-libsan|-static-libsan| \
28477@@ -5007,7 +5873,7 @@ func_mode_link ()
28476 arg="$func_quote_for_eval_result" 28478 arg="$func_quote_for_eval_result"
28477 func_append compile_command " $arg" 28479 func_append compile_command " $arg"
28478 func_append finalize_command " $arg" 28480 func_append finalize_command " $arg"
@@ -28481,7 +28483,7 @@ index 70990740b6c..7f7104ffc82 100644
28481 continue 28483 continue
28482 ;; 28484 ;;
28483 28485
28484@@ -4997,7 +5864,7 @@ func_mode_link () 28486@@ -5019,7 +5885,7 @@ func_mode_link ()
28485 28487
28486 *.$objext) 28488 *.$objext)
28487 # A standard object. 28489 # A standard object.
@@ -28490,7 +28492,7 @@ index 70990740b6c..7f7104ffc82 100644
28490 ;; 28492 ;;
28491 28493
28492 *.lo) 28494 *.lo)
28493@@ -5028,7 +5895,7 @@ func_mode_link () 28495@@ -5050,7 +5916,7 @@ func_mode_link ()
28494 28496
28495 if test "$prev" = dlfiles; then 28497 if test "$prev" = dlfiles; then
28496 if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then 28498 if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
@@ -28499,7 +28501,7 @@ index 70990740b6c..7f7104ffc82 100644
28499 prev= 28501 prev=
28500 continue 28502 continue
28501 else 28503 else
28502@@ -5040,7 +5907,7 @@ func_mode_link () 28504@@ -5062,7 +5928,7 @@ func_mode_link ()
28503 # CHECK ME: I think I busted this. -Ossama 28505 # CHECK ME: I think I busted this. -Ossama
28504 if test "$prev" = dlprefiles; then 28506 if test "$prev" = dlprefiles; then
28505 # Preload the old-style object. 28507 # Preload the old-style object.
@@ -28508,7 +28510,7 @@ index 70990740b6c..7f7104ffc82 100644
28508 prev= 28510 prev=
28509 fi 28511 fi
28510 28512
28511@@ -5085,24 +5952,25 @@ func_mode_link () 28513@@ -5107,24 +5973,25 @@ func_mode_link ()
28512 28514
28513 *.$libext) 28515 *.$libext)
28514 # An archive. 28516 # An archive.
@@ -28539,7 +28541,7 @@ index 70990740b6c..7f7104ffc82 100644
28539 fi 28541 fi
28540 continue 28542 continue
28541 ;; 28543 ;;
28542@@ -5127,7 +5995,7 @@ func_mode_link () 28544@@ -5149,7 +6016,7 @@ func_mode_link ()
28543 func_fatal_help "the \`$prevarg' option requires an argument" 28545 func_fatal_help "the \`$prevarg' option requires an argument"
28544 28546
28545 if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then 28547 if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
@@ -28548,7 +28550,7 @@ index 70990740b6c..7f7104ffc82 100644
28548 func_append compile_command " $arg" 28550 func_append compile_command " $arg"
28549 func_append finalize_command " $arg" 28551 func_append finalize_command " $arg"
28550 fi 28552 fi
28551@@ -5144,11 +6012,13 @@ func_mode_link () 28553@@ -5166,11 +6033,13 @@ func_mode_link ()
28552 else 28554 else
28553 shlib_search_path= 28555 shlib_search_path=
28554 fi 28556 fi
@@ -28564,7 +28566,7 @@ index 70990740b6c..7f7104ffc82 100644
28564 # Create the object directory. 28566 # Create the object directory.
28565 func_mkdir_p "$output_objdir" 28567 func_mkdir_p "$output_objdir"
28566 28568
28567@@ -5169,12 +6039,12 @@ func_mode_link () 28569@@ -5191,12 +6060,12 @@ func_mode_link ()
28568 # Find all interdependent deplibs by searching for libraries 28570 # Find all interdependent deplibs by searching for libraries
28569 # that are linked more than once (e.g. -la -lb -la) 28571 # that are linked more than once (e.g. -la -lb -la)
28570 for deplib in $deplibs; do 28572 for deplib in $deplibs; do
@@ -28580,7 +28582,7 @@ index 70990740b6c..7f7104ffc82 100644
28580 done 28582 done
28581 28583
28582 if test "$linkmode" = lib; then 28584 if test "$linkmode" = lib; then
28583@@ -5187,9 +6057,9 @@ func_mode_link () 28585@@ -5209,9 +6078,9 @@ func_mode_link ()
28584 if $opt_duplicate_compiler_generated_deps; then 28586 if $opt_duplicate_compiler_generated_deps; then
28585 for pre_post_dep in $predeps $postdeps; do 28587 for pre_post_dep in $predeps $postdeps; do
28586 case "$pre_post_deps " in 28588 case "$pre_post_deps " in
@@ -28592,7 +28594,7 @@ index 70990740b6c..7f7104ffc82 100644
28592 done 28594 done
28593 fi 28595 fi
28594 pre_post_deps= 28596 pre_post_deps=
28595@@ -5256,8 +6126,9 @@ func_mode_link () 28597@@ -5278,8 +6147,9 @@ func_mode_link ()
28596 for lib in $dlprefiles; do 28598 for lib in $dlprefiles; do
28597 # Ignore non-libtool-libs 28599 # Ignore non-libtool-libs
28598 dependency_libs= 28600 dependency_libs=
@@ -28603,7 +28605,7 @@ index 70990740b6c..7f7104ffc82 100644
28603 esac 28605 esac
28604 28606
28605 # Collect preopened libtool deplibs, except any this library 28607 # Collect preopened libtool deplibs, except any this library
28606@@ -5267,7 +6138,7 @@ func_mode_link () 28608@@ -5289,7 +6159,7 @@ func_mode_link ()
28607 deplib_base=$func_basename_result 28609 deplib_base=$func_basename_result
28608 case " $weak_libs " in 28610 case " $weak_libs " in
28609 *" $deplib_base "*) ;; 28611 *" $deplib_base "*) ;;
@@ -28612,7 +28614,7 @@ index 70990740b6c..7f7104ffc82 100644
28612 esac 28614 esac
28613 done 28615 done
28614 done 28616 done
28615@@ -5288,11 +6159,11 @@ func_mode_link () 28617@@ -5310,11 +6180,11 @@ func_mode_link ()
28616 compile_deplibs="$deplib $compile_deplibs" 28618 compile_deplibs="$deplib $compile_deplibs"
28617 finalize_deplibs="$deplib $finalize_deplibs" 28619 finalize_deplibs="$deplib $finalize_deplibs"
28618 else 28620 else
@@ -28626,7 +28628,7 @@ index 70990740b6c..7f7104ffc82 100644
28626 esac 28628 esac
28627 fi 28629 fi
28628 fi 28630 fi
28629@@ -5377,7 +6248,7 @@ func_mode_link () 28631@@ -5399,7 +6269,7 @@ func_mode_link ()
28630 if test "$linkmode" = lib ; then 28632 if test "$linkmode" = lib ; then
28631 case "$new_inherited_linker_flags " in 28633 case "$new_inherited_linker_flags " in
28632 *" $deplib "*) ;; 28634 *" $deplib "*) ;;
@@ -28635,7 +28637,7 @@ index 70990740b6c..7f7104ffc82 100644
28635 esac 28637 esac
28636 fi 28638 fi
28637 fi 28639 fi
28638@@ -5390,7 +6261,8 @@ func_mode_link () 28640@@ -5412,7 +6282,8 @@ func_mode_link ()
28639 test "$pass" = conv && continue 28641 test "$pass" = conv && continue
28640 newdependency_libs="$deplib $newdependency_libs" 28642 newdependency_libs="$deplib $newdependency_libs"
28641 func_stripname '-L' '' "$deplib" 28643 func_stripname '-L' '' "$deplib"
@@ -28645,7 +28647,7 @@ index 70990740b6c..7f7104ffc82 100644
28645 ;; 28647 ;;
28646 prog) 28648 prog)
28647 if test "$pass" = conv; then 28649 if test "$pass" = conv; then
28648@@ -5404,7 +6276,8 @@ func_mode_link () 28650@@ -5426,7 +6297,8 @@ func_mode_link ()
28649 finalize_deplibs="$deplib $finalize_deplibs" 28651 finalize_deplibs="$deplib $finalize_deplibs"
28650 fi 28652 fi
28651 func_stripname '-L' '' "$deplib" 28653 func_stripname '-L' '' "$deplib"
@@ -28655,7 +28657,7 @@ index 70990740b6c..7f7104ffc82 100644
28655 ;; 28657 ;;
28656 *) 28658 *)
28657 func_warning "\`-L' is ignored for archives/objects" 28659 func_warning "\`-L' is ignored for archives/objects"
28658@@ -5415,17 +6288,21 @@ func_mode_link () 28660@@ -5437,17 +6309,21 @@ func_mode_link ()
28659 -R*) 28661 -R*)
28660 if test "$pass" = link; then 28662 if test "$pass" = link; then
28661 func_stripname '-R' '' "$deplib" 28663 func_stripname '-R' '' "$deplib"
@@ -28680,7 +28682,7 @@ index 70990740b6c..7f7104ffc82 100644
28680 *.$libext) 28682 *.$libext)
28681 if test "$pass" = conv; then 28683 if test "$pass" = conv; then
28682 deplibs="$deplib $deplibs" 28684 deplibs="$deplib $deplibs"
28683@@ -5488,11 +6365,11 @@ func_mode_link () 28685@@ -5510,11 +6386,11 @@ func_mode_link ()
28684 if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then 28686 if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
28685 # If there is no dlopen support or we're linking statically, 28687 # If there is no dlopen support or we're linking statically,
28686 # we need to preload. 28688 # we need to preload.
@@ -28694,7 +28696,7 @@ index 70990740b6c..7f7104ffc82 100644
28694 fi 28696 fi
28695 fi 28697 fi
28696 continue 28698 continue
28697@@ -5538,7 +6415,7 @@ func_mode_link () 28699@@ -5560,7 +6436,7 @@ func_mode_link ()
28698 for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do 28700 for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do
28699 case " $new_inherited_linker_flags " in 28701 case " $new_inherited_linker_flags " in
28700 *" $tmp_inherited_linker_flag "*) ;; 28702 *" $tmp_inherited_linker_flag "*) ;;
@@ -28703,7 +28705,7 @@ index 70990740b6c..7f7104ffc82 100644
28703 esac 28705 esac
28704 done 28706 done
28705 fi 28707 fi
28706@@ -5546,8 +6423,8 @@ func_mode_link () 28708@@ -5568,8 +6444,8 @@ func_mode_link ()
28707 if test "$linkmode,$pass" = "lib,link" || 28709 if test "$linkmode,$pass" = "lib,link" ||
28708 test "$linkmode,$pass" = "prog,scan" || 28710 test "$linkmode,$pass" = "prog,scan" ||
28709 { test "$linkmode" != prog && test "$linkmode" != lib; }; then 28711 { test "$linkmode" != prog && test "$linkmode" != lib; }; then
@@ -28714,7 +28716,7 @@ index 70990740b6c..7f7104ffc82 100644
28714 fi 28716 fi
28715 28717
28716 if test "$pass" = conv; then 28718 if test "$pass" = conv; then
28717@@ -5558,20 +6435,20 @@ func_mode_link () 28719@@ -5580,20 +6456,20 @@ func_mode_link ()
28718 func_fatal_error "cannot find name of link library for \`$lib'" 28720 func_fatal_error "cannot find name of link library for \`$lib'"
28719 fi 28721 fi
28720 # It is a libtool convenience library, so add in its objects. 28722 # It is a libtool convenience library, so add in its objects.
@@ -28740,7 +28742,7 @@ index 70990740b6c..7f7104ffc82 100644
28740 done 28742 done
28741 continue 28743 continue
28742 fi # $pass = conv 28744 fi # $pass = conv
28743@@ -5579,9 +6456,15 @@ func_mode_link () 28745@@ -5601,9 +6477,15 @@ func_mode_link ()
28744 28746
28745 # Get the name of the library we link against. 28747 # Get the name of the library we link against.
28746 linklib= 28748 linklib=
@@ -28759,7 +28761,7 @@ index 70990740b6c..7f7104ffc82 100644
28759 if test -z "$linklib"; then 28761 if test -z "$linklib"; then
28760 func_fatal_error "cannot find name of link library for \`$lib'" 28762 func_fatal_error "cannot find name of link library for \`$lib'"
28761 fi 28763 fi
28762@@ -5598,9 +6481,9 @@ func_mode_link () 28764@@ -5620,9 +6502,9 @@ func_mode_link ()
28763 # statically, we need to preload. We also need to preload any 28765 # statically, we need to preload. We also need to preload any
28764 # dependent libraries so libltdl's deplib preloader doesn't 28766 # dependent libraries so libltdl's deplib preloader doesn't
28765 # bomb out in the load deplibs phase. 28767 # bomb out in the load deplibs phase.
@@ -28771,7 +28773,7 @@ index 70990740b6c..7f7104ffc82 100644
28771 fi 28773 fi
28772 continue 28774 continue
28773 fi # $pass = dlopen 28775 fi # $pass = dlopen
28774@@ -5622,14 +6505,14 @@ func_mode_link () 28776@@ -5644,14 +6526,14 @@ func_mode_link ()
28775 28777
28776 # Find the relevant object directory and library name. 28778 # Find the relevant object directory and library name.
28777 if test "X$installed" = Xyes; then 28779 if test "X$installed" = Xyes; then
@@ -28789,7 +28791,7 @@ index 70990740b6c..7f7104ffc82 100644
28789 fi 28791 fi
28790 test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes 28792 test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
28791 else 28793 else
28792@@ -5637,12 +6520,12 @@ func_mode_link () 28794@@ -5659,12 +6541,12 @@ func_mode_link ()
28793 dir="$ladir" 28795 dir="$ladir"
28794 absdir="$abs_ladir" 28796 absdir="$abs_ladir"
28795 # Remove this search path later 28797 # Remove this search path later
@@ -28804,7 +28806,7 @@ index 70990740b6c..7f7104ffc82 100644
28804 fi 28806 fi
28805 fi # $installed = yes 28807 fi # $installed = yes
28806 func_stripname 'lib' '.la' "$laname" 28808 func_stripname 'lib' '.la' "$laname"
28807@@ -5653,20 +6536,46 @@ func_mode_link () 28809@@ -5675,20 +6557,46 @@ func_mode_link ()
28808 if test -z "$libdir" && test "$linkmode" = prog; then 28810 if test -z "$libdir" && test "$linkmode" = prog; then
28809 func_fatal_error "only libraries may -dlpreopen a convenience library: \`$lib'" 28811 func_fatal_error "only libraries may -dlpreopen a convenience library: \`$lib'"
28810 fi 28812 fi
@@ -28865,7 +28867,7 @@ index 70990740b6c..7f7104ffc82 100644
28865 fi # $pass = dlpreopen 28867 fi # $pass = dlpreopen
28866 28868
28867 if test -z "$libdir"; then 28869 if test -z "$libdir"; then
28868@@ -5684,7 +6593,7 @@ func_mode_link () 28870@@ -5706,7 +6614,7 @@ func_mode_link ()
28869 28871
28870 28872
28871 if test "$linkmode" = prog && test "$pass" != link; then 28873 if test "$linkmode" = prog && test "$pass" != link; then
@@ -28874,7 +28876,7 @@ index 70990740b6c..7f7104ffc82 100644
28874 deplibs="$lib $deplibs" 28876 deplibs="$lib $deplibs"
28875 28877
28876 linkalldeplibs=no 28878 linkalldeplibs=no
28877@@ -5697,7 +6606,8 @@ func_mode_link () 28879@@ -5719,7 +6627,8 @@ func_mode_link ()
28878 for deplib in $dependency_libs; do 28880 for deplib in $dependency_libs; do
28879 case $deplib in 28881 case $deplib in
28880 -L*) func_stripname '-L' '' "$deplib" 28882 -L*) func_stripname '-L' '' "$deplib"
@@ -28884,7 +28886,7 @@ index 70990740b6c..7f7104ffc82 100644
28884 ;; 28886 ;;
28885 esac 28887 esac
28886 # Need to link against all dependency_libs? 28888 # Need to link against all dependency_libs?
28887@@ -5708,12 +6618,12 @@ func_mode_link () 28889@@ -5730,12 +6639,12 @@ func_mode_link ()
28888 # or/and link against static libraries 28890 # or/and link against static libraries
28889 newdependency_libs="$deplib $newdependency_libs" 28891 newdependency_libs="$deplib $newdependency_libs"
28890 fi 28892 fi
@@ -28900,7 +28902,7 @@ index 70990740b6c..7f7104ffc82 100644
28900 done # for deplib 28902 done # for deplib
28901 continue 28903 continue
28902 fi # $linkmode = prog... 28904 fi # $linkmode = prog...
28903@@ -5728,7 +6638,7 @@ func_mode_link () 28905@@ -5750,7 +6659,7 @@ func_mode_link ()
28904 # Make sure the rpath contains only unique directories. 28906 # Make sure the rpath contains only unique directories.
28905 case "$temp_rpath:" in 28907 case "$temp_rpath:" in
28906 *"$absdir:"*) ;; 28908 *"$absdir:"*) ;;
@@ -28909,7 +28911,7 @@ index 70990740b6c..7f7104ffc82 100644
28909 esac 28911 esac
28910 fi 28912 fi
28911 28913
28912@@ -5740,7 +6650,7 @@ func_mode_link () 28914@@ -5762,7 +6671,7 @@ func_mode_link ()
28913 *) 28915 *)
28914 case "$compile_rpath " in 28916 case "$compile_rpath " in
28915 *" $absdir "*) ;; 28917 *" $absdir "*) ;;
@@ -28918,7 +28920,7 @@ index 70990740b6c..7f7104ffc82 100644
28918 esac 28920 esac
28919 ;; 28921 ;;
28920 esac 28922 esac
28921@@ -5749,7 +6659,7 @@ func_mode_link () 28923@@ -5771,7 +6680,7 @@ func_mode_link ()
28922 *) 28924 *)
28923 case "$finalize_rpath " in 28925 case "$finalize_rpath " in
28924 *" $libdir "*) ;; 28926 *" $libdir "*) ;;
@@ -28927,7 +28929,7 @@ index 70990740b6c..7f7104ffc82 100644
28927 esac 28929 esac
28928 ;; 28930 ;;
28929 esac 28931 esac
28930@@ -5774,12 +6684,12 @@ func_mode_link () 28932@@ -5796,12 +6705,12 @@ func_mode_link ()
28931 case $host in 28933 case $host in
28932 *cygwin* | *mingw* | *cegcc*) 28934 *cygwin* | *mingw* | *cegcc*)
28933 # No point in relinking DLLs because paths are not encoded 28935 # No point in relinking DLLs because paths are not encoded
@@ -28942,7 +28944,7 @@ index 70990740b6c..7f7104ffc82 100644
28942 need_relink=yes 28944 need_relink=yes
28943 fi 28945 fi
28944 ;; 28946 ;;
28945@@ -5814,7 +6724,7 @@ func_mode_link () 28947@@ -5836,7 +6745,7 @@ func_mode_link ()
28946 *) 28948 *)
28947 case "$compile_rpath " in 28949 case "$compile_rpath " in
28948 *" $absdir "*) ;; 28950 *" $absdir "*) ;;
@@ -28951,7 +28953,7 @@ index 70990740b6c..7f7104ffc82 100644
28951 esac 28953 esac
28952 ;; 28954 ;;
28953 esac 28955 esac
28954@@ -5823,7 +6733,7 @@ func_mode_link () 28956@@ -5845,7 +6754,7 @@ func_mode_link ()
28955 *) 28957 *)
28956 case "$finalize_rpath " in 28958 case "$finalize_rpath " in
28957 *" $libdir "*) ;; 28959 *" $libdir "*) ;;
@@ -28960,7 +28962,7 @@ index 70990740b6c..7f7104ffc82 100644
28960 esac 28962 esac
28961 ;; 28963 ;;
28962 esac 28964 esac
28963@@ -5835,7 +6745,7 @@ func_mode_link () 28965@@ -5857,7 +6766,7 @@ func_mode_link ()
28964 shift 28966 shift
28965 realname="$1" 28967 realname="$1"
28966 shift 28968 shift
@@ -28969,7 +28971,7 @@ index 70990740b6c..7f7104ffc82 100644
28969 # use dlname if we got it. it's perfectly good, no? 28971 # use dlname if we got it. it's perfectly good, no?
28970 if test -n "$dlname"; then 28972 if test -n "$dlname"; then
28971 soname="$dlname" 28973 soname="$dlname"
28972@@ -5848,7 +6758,7 @@ func_mode_link () 28974@@ -5870,7 +6779,7 @@ func_mode_link ()
28973 versuffix="-$major" 28975 versuffix="-$major"
28974 ;; 28976 ;;
28975 esac 28977 esac
@@ -28978,7 +28980,7 @@ index 70990740b6c..7f7104ffc82 100644
28978 else 28980 else
28979 soname="$realname" 28981 soname="$realname"
28980 fi 28982 fi
28981@@ -5877,7 +6787,7 @@ func_mode_link () 28983@@ -5899,7 +6808,7 @@ func_mode_link ()
28982 linklib=$newlib 28984 linklib=$newlib
28983 fi # test -n "$old_archive_from_expsyms_cmds" 28985 fi # test -n "$old_archive_from_expsyms_cmds"
28984 28986
@@ -28987,7 +28989,7 @@ index 70990740b6c..7f7104ffc82 100644
28987 add_shlibpath= 28989 add_shlibpath=
28988 add_dir= 28990 add_dir=
28989 add= 28991 add=
28990@@ -5933,7 +6843,7 @@ func_mode_link () 28992@@ -5955,7 +6864,7 @@ func_mode_link ()
28991 if test -n "$inst_prefix_dir"; then 28993 if test -n "$inst_prefix_dir"; then
28992 case $libdir in 28994 case $libdir in
28993 [\\/]*) 28995 [\\/]*)
@@ -28996,7 +28998,7 @@ index 70990740b6c..7f7104ffc82 100644
28996 ;; 28998 ;;
28997 esac 28999 esac
28998 fi 29000 fi
28999@@ -5955,7 +6865,7 @@ func_mode_link () 29001@@ -5977,7 +6886,7 @@ func_mode_link ()
29000 if test -n "$add_shlibpath"; then 29002 if test -n "$add_shlibpath"; then
29001 case :$compile_shlibpath: in 29003 case :$compile_shlibpath: in
29002 *":$add_shlibpath:"*) ;; 29004 *":$add_shlibpath:"*) ;;
@@ -29005,7 +29007,7 @@ index 70990740b6c..7f7104ffc82 100644
29005 esac 29007 esac
29006 fi 29008 fi
29007 if test "$linkmode" = prog; then 29009 if test "$linkmode" = prog; then
29008@@ -5969,13 +6879,13 @@ func_mode_link () 29010@@ -5991,13 +6900,13 @@ func_mode_link ()
29009 test "$hardcode_shlibpath_var" = yes; then 29011 test "$hardcode_shlibpath_var" = yes; then
29010 case :$finalize_shlibpath: in 29012 case :$finalize_shlibpath: in
29011 *":$libdir:"*) ;; 29013 *":$libdir:"*) ;;
@@ -29021,7 +29023,7 @@ index 70990740b6c..7f7104ffc82 100644
29021 add_shlibpath= 29023 add_shlibpath=
29022 add_dir= 29024 add_dir=
29023 add= 29025 add=
29024@@ -5989,7 +6899,7 @@ func_mode_link () 29026@@ -6011,7 +6920,7 @@ func_mode_link ()
29025 elif test "$hardcode_shlibpath_var" = yes; then 29027 elif test "$hardcode_shlibpath_var" = yes; then
29026 case :$finalize_shlibpath: in 29028 case :$finalize_shlibpath: in
29027 *":$libdir:"*) ;; 29029 *":$libdir:"*) ;;
@@ -29030,7 +29032,7 @@ index 70990740b6c..7f7104ffc82 100644
29030 esac 29032 esac
29031 add="-l$name" 29033 add="-l$name"
29032 elif test "$hardcode_automatic" = yes; then 29034 elif test "$hardcode_automatic" = yes; then
29033@@ -6001,12 +6911,12 @@ func_mode_link () 29035@@ -6023,12 +6932,12 @@ func_mode_link ()
29034 fi 29036 fi
29035 else 29037 else
29036 # We cannot seem to hardcode it, guess we'll fake it. 29038 # We cannot seem to hardcode it, guess we'll fake it.
@@ -29045,7 +29047,7 @@ index 70990740b6c..7f7104ffc82 100644
29045 ;; 29047 ;;
29046 esac 29048 esac
29047 fi 29049 fi
29048@@ -6083,27 +6993,33 @@ func_mode_link () 29050@@ -6105,27 +7014,33 @@ func_mode_link ()
29049 temp_xrpath=$func_stripname_result 29051 temp_xrpath=$func_stripname_result
29050 case " $xrpath " in 29052 case " $xrpath " in
29051 *" $temp_xrpath "*) ;; 29053 *" $temp_xrpath "*) ;;
@@ -29085,7 +29087,7 @@ index 70990740b6c..7f7104ffc82 100644
29085 done 29087 done
29086 29088
29087 if test "$link_all_deplibs" != no; then 29089 if test "$link_all_deplibs" != no; then
29088@@ -6113,8 +7029,10 @@ func_mode_link () 29090@@ -6135,8 +7050,10 @@ func_mode_link ()
29089 case $deplib in 29091 case $deplib in
29090 -L*) path="$deplib" ;; 29092 -L*) path="$deplib" ;;
29091 *.la) 29093 *.la)
@@ -29097,7 +29099,7 @@ index 70990740b6c..7f7104ffc82 100644
29097 # We need an absolute path. 29099 # We need an absolute path.
29098 case $dir in 29100 case $dir in
29099 [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;; 29101 [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;
29100@@ -6130,7 +7048,7 @@ func_mode_link () 29102@@ -6152,7 +7069,7 @@ func_mode_link ()
29101 case $host in 29103 case $host in
29102 *-*-darwin*) 29104 *-*-darwin*)
29103 depdepl= 29105 depdepl=
@@ -29106,7 +29108,7 @@ index 70990740b6c..7f7104ffc82 100644
29106 if test -n "$deplibrary_names" ; then 29108 if test -n "$deplibrary_names" ; then
29107 for tmp in $deplibrary_names ; do 29109 for tmp in $deplibrary_names ; do
29108 depdepl=$tmp 29110 depdepl=$tmp
29109@@ -6141,8 +7059,8 @@ func_mode_link () 29111@@ -6163,8 +7080,8 @@ func_mode_link ()
29110 if test -z "$darwin_install_name"; then 29112 if test -z "$darwin_install_name"; then
29111 darwin_install_name=`${OTOOL64} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` 29113 darwin_install_name=`${OTOOL64} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'`
29112 fi 29114 fi
@@ -29117,7 +29119,7 @@ index 70990740b6c..7f7104ffc82 100644
29117 path= 29119 path=
29118 fi 29120 fi
29119 fi 29121 fi
29120@@ -6152,7 +7070,7 @@ func_mode_link () 29122@@ -6174,7 +7091,7 @@ func_mode_link ()
29121 ;; 29123 ;;
29122 esac 29124 esac
29123 else 29125 else
@@ -29126,7 +29128,7 @@ index 70990740b6c..7f7104ffc82 100644
29126 test -z "$libdir" && \ 29128 test -z "$libdir" && \
29127 func_fatal_error "\`$deplib' is not a valid libtool archive" 29129 func_fatal_error "\`$deplib' is not a valid libtool archive"
29128 test "$absdir" != "$libdir" && \ 29130 test "$absdir" != "$libdir" && \
29129@@ -6192,7 +7110,7 @@ func_mode_link () 29131@@ -6214,7 +7131,7 @@ func_mode_link ()
29130 for dir in $newlib_search_path; do 29132 for dir in $newlib_search_path; do
29131 case "$lib_search_path " in 29133 case "$lib_search_path " in
29132 *" $dir "*) ;; 29134 *" $dir "*) ;;
@@ -29135,7 +29137,7 @@ index 70990740b6c..7f7104ffc82 100644
29135 esac 29137 esac
29136 done 29138 done
29137 newlib_search_path= 29139 newlib_search_path=
29138@@ -6205,7 +7123,7 @@ func_mode_link () 29140@@ -6227,7 +7144,7 @@ func_mode_link ()
29139 fi 29141 fi
29140 for var in $vars dependency_libs; do 29142 for var in $vars dependency_libs; do
29141 # Add libraries to $var in reverse order 29143 # Add libraries to $var in reverse order
@@ -29144,7 +29146,7 @@ index 70990740b6c..7f7104ffc82 100644
29144 new_libs= 29146 new_libs=
29145 for deplib in $tmp_libs; do 29147 for deplib in $tmp_libs; do
29146 # FIXME: Pedantically, this is the right thing to do, so 29148 # FIXME: Pedantically, this is the right thing to do, so
29147@@ -6250,13 +7168,13 @@ func_mode_link () 29149@@ -6272,13 +7189,13 @@ func_mode_link ()
29148 -L*) 29150 -L*)
29149 case " $tmp_libs " in 29151 case " $tmp_libs " in
29150 *" $deplib "*) ;; 29152 *" $deplib "*) ;;
@@ -29161,7 +29163,7 @@ index 70990740b6c..7f7104ffc82 100644
29161 done # for var 29163 done # for var
29162 fi 29164 fi
29163 # Last step: remove runtime libs from dependency_libs 29165 # Last step: remove runtime libs from dependency_libs
29164@@ -6269,7 +7187,7 @@ func_mode_link () 29166@@ -6291,7 +7208,7 @@ func_mode_link ()
29165 ;; 29167 ;;
29166 esac 29168 esac
29167 if test -n "$i" ; then 29169 if test -n "$i" ; then
@@ -29170,7 +29172,7 @@ index 70990740b6c..7f7104ffc82 100644
29170 fi 29172 fi
29171 done 29173 done
29172 dependency_libs=$tmp_libs 29174 dependency_libs=$tmp_libs
29173@@ -6310,7 +7228,7 @@ func_mode_link () 29175@@ -6332,7 +7249,7 @@ func_mode_link ()
29174 # Now set the variables for building old libraries. 29176 # Now set the variables for building old libraries.
29175 build_libtool_libs=no 29177 build_libtool_libs=no
29176 oldlibs="$output" 29178 oldlibs="$output"
@@ -29179,7 +29181,7 @@ index 70990740b6c..7f7104ffc82 100644
29179 ;; 29181 ;;
29180 29182
29181 lib) 29183 lib)
29182@@ -6319,8 +7237,8 @@ func_mode_link () 29184@@ -6341,8 +7258,8 @@ func_mode_link ()
29183 lib*) 29185 lib*)
29184 func_stripname 'lib' '.la' "$outputname" 29186 func_stripname 'lib' '.la' "$outputname"
29185 name=$func_stripname_result 29187 name=$func_stripname_result
@@ -29190,7 +29192,7 @@ index 70990740b6c..7f7104ffc82 100644
29190 ;; 29192 ;;
29191 *) 29193 *)
29192 test "$module" = no && \ 29194 test "$module" = no && \
29193@@ -6330,8 +7248,8 @@ func_mode_link () 29195@@ -6352,8 +7269,8 @@ func_mode_link ()
29194 # Add the "lib" prefix for modules if required 29196 # Add the "lib" prefix for modules if required
29195 func_stripname '' '.la' "$outputname" 29197 func_stripname '' '.la' "$outputname"
29196 name=$func_stripname_result 29198 name=$func_stripname_result
@@ -29201,7 +29203,7 @@ index 70990740b6c..7f7104ffc82 100644
29201 else 29203 else
29202 func_stripname '' '.la' "$outputname" 29204 func_stripname '' '.la' "$outputname"
29203 libname=$func_stripname_result 29205 libname=$func_stripname_result
29204@@ -6346,7 +7264,7 @@ func_mode_link () 29206@@ -6368,7 +7285,7 @@ func_mode_link ()
29205 echo 29207 echo
29206 $ECHO "*** Warning: Linking the shared library $output against the non-libtool" 29208 $ECHO "*** Warning: Linking the shared library $output against the non-libtool"
29207 $ECHO "*** objects $objs is not portable!" 29209 $ECHO "*** objects $objs is not portable!"
@@ -29210,7 +29212,7 @@ index 70990740b6c..7f7104ffc82 100644
29210 fi 29212 fi
29211 fi 29213 fi
29212 29214
29213@@ -6544,7 +7462,7 @@ func_mode_link () 29215@@ -6566,7 +7483,7 @@ func_mode_link ()
29214 done 29216 done
29215 29217
29216 # Make executables depend on our current version. 29218 # Make executables depend on our current version.
@@ -29219,7 +29221,7 @@ index 70990740b6c..7f7104ffc82 100644
29219 ;; 29221 ;;
29220 29222
29221 qnx) 29223 qnx)
29222@@ -6612,10 +7530,10 @@ func_mode_link () 29224@@ -6634,10 +7551,10 @@ func_mode_link ()
29223 fi 29225 fi
29224 29226
29225 func_generate_dlsyms "$libname" "$libname" "yes" 29227 func_generate_dlsyms "$libname" "$libname" "yes"
@@ -29232,7 +29234,7 @@ index 70990740b6c..7f7104ffc82 100644
29232 # Remove our outputs, but don't remove object files since they 29234 # Remove our outputs, but don't remove object files since they
29233 # may have been created when compiling PIC objects. 29235 # may have been created when compiling PIC objects.
29234 removelist= 29236 removelist=
29235@@ -6631,7 +7549,7 @@ func_mode_link () 29237@@ -6653,7 +7570,7 @@ func_mode_link ()
29236 continue 29238 continue
29237 fi 29239 fi
29238 fi 29240 fi
@@ -29241,7 +29243,7 @@ index 70990740b6c..7f7104ffc82 100644
29241 ;; 29243 ;;
29242 *) ;; 29244 *) ;;
29243 esac 29245 esac
29244@@ -6642,7 +7560,7 @@ func_mode_link () 29246@@ -6664,7 +7581,7 @@ func_mode_link ()
29245 29247
29246 # Now set the variables for building old libraries. 29248 # Now set the variables for building old libraries.
29247 if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then 29249 if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then
@@ -29250,7 +29252,7 @@ index 70990740b6c..7f7104ffc82 100644
29250 29252
29251 # Transform .lo files to .o files. 29253 # Transform .lo files to .o files.
29252 oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; $lo2o" | $NL2SP` 29254 oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; $lo2o" | $NL2SP`
29253@@ -6659,10 +7577,11 @@ func_mode_link () 29255@@ -6681,10 +7598,11 @@ func_mode_link ()
29254 # If the user specified any rpath flags, then add them. 29256 # If the user specified any rpath flags, then add them.
29255 temp_xrpath= 29257 temp_xrpath=
29256 for libdir in $xrpath; do 29258 for libdir in $xrpath; do
@@ -29264,7 +29266,7 @@ index 70990740b6c..7f7104ffc82 100644
29264 esac 29266 esac
29265 done 29267 done
29266 if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then 29268 if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then
29267@@ -6676,7 +7595,7 @@ func_mode_link () 29269@@ -6698,7 +7616,7 @@ func_mode_link ()
29268 for lib in $old_dlfiles; do 29270 for lib in $old_dlfiles; do
29269 case " $dlprefiles $dlfiles " in 29271 case " $dlprefiles $dlfiles " in
29270 *" $lib "*) ;; 29272 *" $lib "*) ;;
@@ -29273,7 +29275,7 @@ index 70990740b6c..7f7104ffc82 100644
29273 esac 29275 esac
29274 done 29276 done
29275 29277
29276@@ -6686,7 +7605,7 @@ func_mode_link () 29278@@ -6708,7 +7626,7 @@ func_mode_link ()
29277 for lib in $old_dlprefiles; do 29279 for lib in $old_dlprefiles; do
29278 case "$dlprefiles " in 29280 case "$dlprefiles " in
29279 *" $lib "*) ;; 29281 *" $lib "*) ;;
@@ -29282,7 +29284,7 @@ index 70990740b6c..7f7104ffc82 100644
29282 esac 29284 esac
29283 done 29285 done
29284 29286
29285@@ -6698,7 +7617,7 @@ func_mode_link () 29287@@ -6720,7 +7638,7 @@ func_mode_link ()
29286 ;; 29288 ;;
29287 *-*-rhapsody* | *-*-darwin1.[012]) 29289 *-*-rhapsody* | *-*-darwin1.[012])
29288 # Rhapsody C library is in the System framework 29290 # Rhapsody C library is in the System framework
@@ -29291,7 +29293,7 @@ index 70990740b6c..7f7104ffc82 100644
29291 ;; 29293 ;;
29292 *-*-netbsd*) 29294 *-*-netbsd*)
29293 # Don't link with libc until the a.out ld.so is fixed. 29295 # Don't link with libc until the a.out ld.so is fixed.
29294@@ -6715,7 +7634,7 @@ func_mode_link () 29296@@ -6737,7 +7655,7 @@ func_mode_link ()
29295 *) 29297 *)
29296 # Add libc to deplibs on all other systems if necessary. 29298 # Add libc to deplibs on all other systems if necessary.
29297 if test "$build_libtool_need_lc" = "yes"; then 29299 if test "$build_libtool_need_lc" = "yes"; then
@@ -29300,7 +29302,7 @@ index 70990740b6c..7f7104ffc82 100644
29300 fi 29302 fi
29301 ;; 29303 ;;
29302 esac 29304 esac
29303@@ -6764,18 +7683,18 @@ EOF 29305@@ -6786,18 +7704,18 @@ EOF
29304 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then 29306 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
29305 case " $predeps $postdeps " in 29307 case " $predeps $postdeps " in
29306 *" $i "*) 29308 *" $i "*)
@@ -29323,7 +29325,7 @@ index 70990740b6c..7f7104ffc82 100644
29323 else 29325 else
29324 droppeddeps=yes 29326 droppeddeps=yes
29325 echo 29327 echo
29326@@ -6789,7 +7708,7 @@ EOF 29328@@ -6811,7 +7729,7 @@ EOF
29327 fi 29329 fi
29328 ;; 29330 ;;
29329 *) 29331 *)
@@ -29332,7 +29334,7 @@ index 70990740b6c..7f7104ffc82 100644
29332 ;; 29334 ;;
29333 esac 29335 esac
29334 done 29336 done
29335@@ -6807,18 +7726,18 @@ EOF 29337@@ -6829,18 +7747,18 @@ EOF
29336 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then 29338 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
29337 case " $predeps $postdeps " in 29339 case " $predeps $postdeps " in
29338 *" $i "*) 29340 *" $i "*)
@@ -29355,7 +29357,7 @@ index 70990740b6c..7f7104ffc82 100644
29355 else 29357 else
29356 droppeddeps=yes 29358 droppeddeps=yes
29357 echo 29359 echo
29358@@ -6840,7 +7759,7 @@ EOF 29360@@ -6862,7 +7780,7 @@ EOF
29359 fi 29361 fi
29360 ;; 29362 ;;
29361 *) 29363 *)
@@ -29364,7 +29366,7 @@ index 70990740b6c..7f7104ffc82 100644
29364 ;; 29366 ;;
29365 esac 29367 esac
29366 done 29368 done
29367@@ -6857,15 +7776,27 @@ EOF 29369@@ -6879,15 +7797,27 @@ EOF
29368 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then 29370 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
29369 case " $predeps $postdeps " in 29371 case " $predeps $postdeps " in
29370 *" $a_deplib "*) 29372 *" $a_deplib "*)
@@ -29395,7 +29397,7 @@ index 70990740b6c..7f7104ffc82 100644
29395 for potent_lib in $potential_libs; do 29397 for potent_lib in $potential_libs; do
29396 # Follow soft links. 29398 # Follow soft links.
29397 if ls -lLd "$potent_lib" 2>/dev/null | 29399 if ls -lLd "$potent_lib" 2>/dev/null |
29398@@ -6885,10 +7816,10 @@ EOF 29400@@ -6907,10 +7837,10 @@ EOF
29399 *) potlib=`$ECHO "$potlib" | $SED 's,[^/]*$,,'`"$potliblink";; 29401 *) potlib=`$ECHO "$potlib" | $SED 's,[^/]*$,,'`"$potliblink";;
29400 esac 29402 esac
29401 done 29403 done
@@ -29408,7 +29410,7 @@ index 70990740b6c..7f7104ffc82 100644
29408 a_deplib="" 29410 a_deplib=""
29409 break 2 29411 break 2
29410 fi 29412 fi
29411@@ -6913,7 +7844,7 @@ EOF 29413@@ -6935,7 +7865,7 @@ EOF
29412 ;; 29414 ;;
29413 *) 29415 *)
29414 # Add a -L argument. 29416 # Add a -L argument.
@@ -29417,7 +29419,7 @@ index 70990740b6c..7f7104ffc82 100644
29417 ;; 29419 ;;
29418 esac 29420 esac
29419 done # Gone through all deplibs. 29421 done # Gone through all deplibs.
29420@@ -6929,20 +7860,20 @@ EOF 29422@@ -6951,20 +7881,20 @@ EOF
29421 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then 29423 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
29422 case " $predeps $postdeps " in 29424 case " $predeps $postdeps " in
29423 *" $a_deplib "*) 29425 *" $a_deplib "*)
@@ -29441,7 +29443,7 @@ index 70990740b6c..7f7104ffc82 100644
29441 a_deplib="" 29443 a_deplib=""
29442 break 2 29444 break 2
29443 fi 29445 fi
29444@@ -6967,7 +7898,7 @@ EOF 29446@@ -6989,7 +7919,7 @@ EOF
29445 ;; 29447 ;;
29446 *) 29448 *)
29447 # Add a -L argument. 29449 # Add a -L argument.
@@ -29450,7 +29452,7 @@ index 70990740b6c..7f7104ffc82 100644
29450 ;; 29452 ;;
29451 esac 29453 esac
29452 done # Gone through all deplibs. 29454 done # Gone through all deplibs.
29453@@ -7071,7 +8002,7 @@ EOF 29455@@ -7093,7 +8023,7 @@ EOF
29454 *) 29456 *)
29455 case " $deplibs " in 29457 case " $deplibs " in
29456 *" -L$path/$objdir "*) 29458 *" -L$path/$objdir "*)
@@ -29459,7 +29461,7 @@ index 70990740b6c..7f7104ffc82 100644
29459 esac 29461 esac
29460 ;; 29462 ;;
29461 esac 29463 esac
29462@@ -7081,10 +8012,10 @@ EOF 29464@@ -7103,10 +8033,10 @@ EOF
29463 -L*) 29465 -L*)
29464 case " $new_libs " in 29466 case " $new_libs " in
29465 *" $deplib "*) ;; 29467 *" $deplib "*) ;;
@@ -29472,7 +29474,7 @@ index 70990740b6c..7f7104ffc82 100644
29472 esac 29474 esac
29473 done 29475 done
29474 deplibs="$new_libs" 29476 deplibs="$new_libs"
29475@@ -7101,10 +8032,12 @@ EOF 29477@@ -7123,10 +8053,12 @@ EOF
29476 hardcode_libdirs= 29478 hardcode_libdirs=
29477 dep_rpath= 29479 dep_rpath=
29478 rpath="$finalize_rpath" 29480 rpath="$finalize_rpath"
@@ -29486,7 +29488,7 @@ index 70990740b6c..7f7104ffc82 100644
29486 if test -z "$hardcode_libdirs"; then 29488 if test -z "$hardcode_libdirs"; then
29487 hardcode_libdirs="$libdir" 29489 hardcode_libdirs="$libdir"
29488 else 29490 else
29489@@ -7113,18 +8046,18 @@ EOF 29491@@ -7135,18 +8067,18 @@ EOF
29490 *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) 29492 *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
29491 ;; 29493 ;;
29492 *) 29494 *)
@@ -29509,7 +29511,7 @@ index 70990740b6c..7f7104ffc82 100644
29509 esac 29511 esac
29510 fi 29512 fi
29511 done 29513 done
29512@@ -7133,40 +8066,38 @@ EOF 29514@@ -7155,40 +8087,38 @@ EOF
29513 test -n "$hardcode_libdirs"; then 29515 test -n "$hardcode_libdirs"; then
29514 libdir="$hardcode_libdirs" 29516 libdir="$hardcode_libdirs"
29515 if test -n "$hardcode_libdir_flag_spec_ld"; then 29517 if test -n "$hardcode_libdir_flag_spec_ld"; then
@@ -29559,7 +29561,7 @@ index 70990740b6c..7f7104ffc82 100644
29559 else 29561 else
29560 soname="$realname" 29562 soname="$realname"
29561 fi 29563 fi
29562@@ -7178,7 +8109,7 @@ EOF 29564@@ -7200,7 +8130,7 @@ EOF
29563 linknames= 29565 linknames=
29564 for link 29566 for link
29565 do 29567 do
@@ -29568,7 +29570,7 @@ index 70990740b6c..7f7104ffc82 100644
29568 done 29570 done
29569 29571
29570 # Use standard objects if they are pic 29572 # Use standard objects if they are pic
29571@@ -7189,7 +8120,7 @@ EOF 29573@@ -7211,7 +8141,7 @@ EOF
29572 if test -n "$export_symbols" && test -n "$include_expsyms"; then 29574 if test -n "$export_symbols" && test -n "$include_expsyms"; then
29573 $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp" 29575 $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp"
29574 export_symbols="$output_objdir/$libname.uexp" 29576 export_symbols="$output_objdir/$libname.uexp"
@@ -29577,7 +29579,7 @@ index 70990740b6c..7f7104ffc82 100644
29577 fi 29579 fi
29578 29580
29579 orig_export_symbols= 29581 orig_export_symbols=
29580@@ -7220,13 +8151,45 @@ EOF 29582@@ -7242,13 +8172,45 @@ EOF
29581 $opt_dry_run || $RM $export_symbols 29583 $opt_dry_run || $RM $export_symbols
29582 cmds=$export_symbols_cmds 29584 cmds=$export_symbols_cmds
29583 save_ifs="$IFS"; IFS='~' 29585 save_ifs="$IFS"; IFS='~'
@@ -29628,7 +29630,7 @@ index 70990740b6c..7f7104ffc82 100644
29628 skipped_export=false 29630 skipped_export=false
29629 else 29631 else
29630 # The command line is too long to execute in one step. 29632 # The command line is too long to execute in one step.
29631@@ -7248,7 +8211,7 @@ EOF 29633@@ -7270,7 +8232,7 @@ EOF
29632 if test -n "$export_symbols" && test -n "$include_expsyms"; then 29634 if test -n "$export_symbols" && test -n "$include_expsyms"; then
29633 tmp_export_symbols="$export_symbols" 29635 tmp_export_symbols="$export_symbols"
29634 test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols" 29636 test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
@@ -29637,7 +29639,7 @@ index 70990740b6c..7f7104ffc82 100644
29637 fi 29639 fi
29638 29640
29639 if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then 29641 if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then
29640@@ -7260,7 +8223,7 @@ EOF 29642@@ -7282,7 +8244,7 @@ EOF
29641 # global variables. join(1) would be nice here, but unfortunately 29643 # global variables. join(1) would be nice here, but unfortunately
29642 # isn't a blessed tool. 29644 # isn't a blessed tool.
29643 $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter 29645 $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
@@ -29646,7 +29648,7 @@ index 70990740b6c..7f7104ffc82 100644
29646 export_symbols=$output_objdir/$libname.def 29648 export_symbols=$output_objdir/$libname.def
29647 $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols 29649 $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
29648 fi 29650 fi
29649@@ -7270,7 +8233,7 @@ EOF 29651@@ -7292,7 +8254,7 @@ EOF
29650 case " $convenience " in 29652 case " $convenience " in
29651 *" $test_deplib "*) ;; 29653 *" $test_deplib "*) ;;
29652 *) 29654 *)
@@ -29655,7 +29657,7 @@ index 70990740b6c..7f7104ffc82 100644
29655 ;; 29657 ;;
29656 esac 29658 esac
29657 done 29659 done
29658@@ -7286,43 +8249,43 @@ EOF 29660@@ -7308,43 +8270,43 @@ EOF
29659 fi 29661 fi
29660 if test -n "$whole_archive_flag_spec"; then 29662 if test -n "$whole_archive_flag_spec"; then
29661 save_libobjs=$libobjs 29663 save_libobjs=$libobjs
@@ -29710,7 +29712,7 @@ index 70990740b6c..7f7104ffc82 100644
29710 cmds=$archive_cmds 29712 cmds=$archive_cmds
29711 fi 29713 fi
29712 fi 29714 fi
29713@@ -7366,10 +8329,13 @@ EOF 29715@@ -7388,10 +8350,13 @@ EOF
29714 echo 'INPUT (' > $output 29716 echo 'INPUT (' > $output
29715 for obj in $save_libobjs 29717 for obj in $save_libobjs
29716 do 29718 do
@@ -29726,7 +29728,7 @@ index 70990740b6c..7f7104ffc82 100644
29726 elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then 29728 elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then
29727 output=${output_objdir}/${output_la}.lnk 29729 output=${output_objdir}/${output_la}.lnk
29728 func_verbose "creating linker input file list: $output" 29730 func_verbose "creating linker input file list: $output"
29729@@ -7383,15 +8349,17 @@ EOF 29731@@ -7405,15 +8370,17 @@ EOF
29730 fi 29732 fi
29731 for obj 29733 for obj
29732 do 29734 do
@@ -29748,7 +29750,7 @@ index 70990740b6c..7f7104ffc82 100644
29748 func_len " $test_cmds" 29750 func_len " $test_cmds"
29749 len0=$func_len_result 29751 len0=$func_len_result
29750 len=$len0 29752 len=$len0
29751@@ -7411,12 +8379,12 @@ EOF 29753@@ -7433,12 +8400,12 @@ EOF
29752 if test "$k" -eq 1 ; then 29754 if test "$k" -eq 1 ; then
29753 # The first file doesn't have a previous command to add. 29755 # The first file doesn't have a previous command to add.
29754 reload_objs=$objlist 29756 reload_objs=$objlist
@@ -29763,7 +29765,7 @@ index 70990740b6c..7f7104ffc82 100644
29763 fi 29765 fi
29764 last_robj=$output_objdir/$output_la-${k}.$objext 29766 last_robj=$output_objdir/$output_la-${k}.$objext
29765 func_arith $k + 1 29767 func_arith $k + 1
29766@@ -7433,11 +8401,11 @@ EOF 29768@@ -7455,11 +8422,11 @@ EOF
29767 # files will link in the last one created. 29769 # files will link in the last one created.
29768 test -z "$concat_cmds" || concat_cmds=$concat_cmds~ 29770 test -z "$concat_cmds" || concat_cmds=$concat_cmds~
29769 reload_objs="$objlist $last_robj" 29771 reload_objs="$objlist $last_robj"
@@ -29778,7 +29780,7 @@ index 70990740b6c..7f7104ffc82 100644
29778 29780
29779 else 29781 else
29780 output= 29782 output=
29781@@ -7450,9 +8418,9 @@ EOF 29783@@ -7472,9 +8439,9 @@ EOF
29782 libobjs=$output 29784 libobjs=$output
29783 # Append the command to create the export file. 29785 # Append the command to create the export file.
29784 test -z "$concat_cmds" || concat_cmds=$concat_cmds~ 29786 test -z "$concat_cmds" || concat_cmds=$concat_cmds~
@@ -29790,7 +29792,7 @@ index 70990740b6c..7f7104ffc82 100644
29790 fi 29792 fi
29791 fi 29793 fi
29792 29794
29793@@ -7471,7 +8439,7 @@ EOF 29795@@ -7493,7 +8460,7 @@ EOF
29794 lt_exit=$? 29796 lt_exit=$?
29795 29797
29796 # Restore the uninstalled library and exit 29798 # Restore the uninstalled library and exit
@@ -29799,7 +29801,7 @@ index 70990740b6c..7f7104ffc82 100644
29799 ( cd "$output_objdir" && \ 29801 ( cd "$output_objdir" && \
29800 $RM "${realname}T" && \ 29802 $RM "${realname}T" && \
29801 $MV "${realname}U" "$realname" ) 29803 $MV "${realname}U" "$realname" )
29802@@ -7492,7 +8460,7 @@ EOF 29804@@ -7514,7 +8481,7 @@ EOF
29803 if test -n "$export_symbols" && test -n "$include_expsyms"; then 29805 if test -n "$export_symbols" && test -n "$include_expsyms"; then
29804 tmp_export_symbols="$export_symbols" 29806 tmp_export_symbols="$export_symbols"
29805 test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols" 29807 test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
@@ -29808,7 +29810,7 @@ index 70990740b6c..7f7104ffc82 100644
29808 fi 29810 fi
29809 29811
29810 if test -n "$orig_export_symbols"; then 29812 if test -n "$orig_export_symbols"; then
29811@@ -7504,7 +8472,7 @@ EOF 29813@@ -7526,7 +8493,7 @@ EOF
29812 # global variables. join(1) would be nice here, but unfortunately 29814 # global variables. join(1) would be nice here, but unfortunately
29813 # isn't a blessed tool. 29815 # isn't a blessed tool.
29814 $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter 29816 $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
@@ -29817,7 +29819,7 @@ index 70990740b6c..7f7104ffc82 100644
29817 export_symbols=$output_objdir/$libname.def 29819 export_symbols=$output_objdir/$libname.def
29818 $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols 29820 $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
29819 fi 29821 fi
29820@@ -7515,7 +8483,7 @@ EOF 29822@@ -7537,7 +8504,7 @@ EOF
29821 output=$save_output 29823 output=$save_output
29822 29824
29823 if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then 29825 if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then
@@ -29826,7 +29828,7 @@ index 70990740b6c..7f7104ffc82 100644
29826 test "X$libobjs" = "X " && libobjs= 29828 test "X$libobjs" = "X " && libobjs=
29827 fi 29829 fi
29828 # Expand the library linking commands again to reset the 29830 # Expand the library linking commands again to reset the
29829@@ -7539,23 +8507,23 @@ EOF 29831@@ -7561,23 +8528,23 @@ EOF
29830 29832
29831 if test -n "$delfiles"; then 29833 if test -n "$delfiles"; then
29832 # Append the command to remove temporary files to $cmds. 29834 # Append the command to remove temporary files to $cmds.
@@ -29854,7 +29856,7 @@ index 70990740b6c..7f7104ffc82 100644
29854 $opt_silent || { 29856 $opt_silent || {
29855 func_quote_for_expand "$cmd" 29857 func_quote_for_expand "$cmd"
29856 eval "func_echo $func_quote_for_expand_result" 29858 eval "func_echo $func_quote_for_expand_result"
29857@@ -7564,7 +8532,7 @@ EOF 29859@@ -7586,7 +8553,7 @@ EOF
29858 lt_exit=$? 29860 lt_exit=$?
29859 29861
29860 # Restore the uninstalled library and exit 29862 # Restore the uninstalled library and exit
@@ -29863,7 +29865,7 @@ index 70990740b6c..7f7104ffc82 100644
29863 ( cd "$output_objdir" && \ 29865 ( cd "$output_objdir" && \
29864 $RM "${realname}T" && \ 29866 $RM "${realname}T" && \
29865 $MV "${realname}U" "$realname" ) 29867 $MV "${realname}U" "$realname" )
29866@@ -7576,8 +8544,8 @@ EOF 29868@@ -7598,8 +8565,8 @@ EOF
29867 IFS="$save_ifs" 29869 IFS="$save_ifs"
29868 29870
29869 # Restore the uninstalled library and exit 29871 # Restore the uninstalled library and exit
@@ -29874,7 +29876,7 @@ index 70990740b6c..7f7104ffc82 100644
29874 29876
29875 if test -n "$convenience"; then 29877 if test -n "$convenience"; then
29876 if test -z "$whole_archive_flag_spec"; then 29878 if test -z "$whole_archive_flag_spec"; then
29877@@ -7656,17 +8624,20 @@ EOF 29879@@ -7678,17 +8645,20 @@ EOF
29878 29880
29879 if test -n "$convenience"; then 29881 if test -n "$convenience"; then
29880 if test -n "$whole_archive_flag_spec"; then 29882 if test -n "$whole_archive_flag_spec"; then
@@ -29897,7 +29899,7 @@ index 70990740b6c..7f7104ffc82 100644
29897 # Create the old-style object. 29899 # Create the old-style object.
29898 reload_objs="$objs$old_deplibs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; /\.lib$/d; $lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test 29900 reload_objs="$objs$old_deplibs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; /\.lib$/d; $lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test
29899 29901
29900@@ -7690,7 +8661,7 @@ EOF 29902@@ -7712,7 +8682,7 @@ EOF
29901 # Create an invalid libtool object if no PIC, so that we don't 29903 # Create an invalid libtool object if no PIC, so that we don't
29902 # accidentally link it into a program. 29904 # accidentally link it into a program.
29903 # $show "echo timestamp > $libobj" 29905 # $show "echo timestamp > $libobj"
@@ -29906,7 +29908,7 @@ index 70990740b6c..7f7104ffc82 100644
29906 exit $EXIT_SUCCESS 29908 exit $EXIT_SUCCESS
29907 fi 29909 fi
29908 29910
29909@@ -7740,8 +8711,8 @@ EOF 29911@@ -7762,8 +8732,8 @@ EOF
29910 if test "$tagname" = CXX ; then 29912 if test "$tagname" = CXX ; then
29911 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in 29913 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
29912 10.[0123]) 29914 10.[0123])
@@ -29917,7 +29919,7 @@ index 70990740b6c..7f7104ffc82 100644
29917 ;; 29919 ;;
29918 esac 29920 esac
29919 fi 29921 fi
29920@@ -7761,7 +8732,7 @@ EOF 29922@@ -7783,7 +8753,7 @@ EOF
29921 *) 29923 *)
29922 case " $compile_deplibs " in 29924 case " $compile_deplibs " in
29923 *" -L$path/$objdir "*) 29925 *" -L$path/$objdir "*)
@@ -29926,7 +29928,7 @@ index 70990740b6c..7f7104ffc82 100644
29926 esac 29928 esac
29927 ;; 29929 ;;
29928 esac 29930 esac
29929@@ -7771,17 +8742,17 @@ EOF 29931@@ -7793,17 +8763,17 @@ EOF
29930 -L*) 29932 -L*)
29931 case " $new_libs " in 29933 case " $new_libs " in
29932 *" $deplib "*) ;; 29934 *" $deplib "*) ;;
@@ -29948,7 +29950,7 @@ index 70990740b6c..7f7104ffc82 100644
29948 29950
29949 if test -n "$rpath$xrpath"; then 29951 if test -n "$rpath$xrpath"; then
29950 # If the user specified any rpath flags, then add them. 29952 # If the user specified any rpath flags, then add them.
29951@@ -7789,7 +8760,7 @@ EOF 29953@@ -7811,7 +8781,7 @@ EOF
29952 # This is the magic to use -rpath. 29954 # This is the magic to use -rpath.
29953 case "$finalize_rpath " in 29955 case "$finalize_rpath " in
29954 *" $libdir "*) ;; 29956 *" $libdir "*) ;;
@@ -29957,7 +29959,7 @@ index 70990740b6c..7f7104ffc82 100644
29957 esac 29959 esac
29958 done 29960 done
29959 fi 29961 fi
29960@@ -7808,18 +8779,18 @@ EOF 29962@@ -7830,18 +8800,18 @@ EOF
29961 *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) 29963 *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
29962 ;; 29964 ;;
29963 *) 29965 *)
@@ -29980,7 +29982,7 @@ index 70990740b6c..7f7104ffc82 100644
29980 esac 29982 esac
29981 fi 29983 fi
29982 case $host in 29984 case $host in
29983@@ -7828,12 +8799,12 @@ EOF 29985@@ -7850,12 +8820,12 @@ EOF
29984 case :$dllsearchpath: in 29986 case :$dllsearchpath: in
29985 *":$libdir:"*) ;; 29987 *":$libdir:"*) ;;
29986 ::) dllsearchpath=$libdir;; 29988 ::) dllsearchpath=$libdir;;
@@ -29995,7 +29997,7 @@ index 70990740b6c..7f7104ffc82 100644
29995 esac 29997 esac
29996 ;; 29998 ;;
29997 esac 29999 esac
29998@@ -7842,7 +8813,7 @@ EOF 30000@@ -7864,7 +8834,7 @@ EOF
29999 if test -n "$hardcode_libdir_separator" && 30001 if test -n "$hardcode_libdir_separator" &&
30000 test -n "$hardcode_libdirs"; then 30002 test -n "$hardcode_libdirs"; then
30001 libdir="$hardcode_libdirs" 30003 libdir="$hardcode_libdirs"
@@ -30004,7 +30006,7 @@ index 70990740b6c..7f7104ffc82 100644
30004 fi 30006 fi
30005 compile_rpath="$rpath" 30007 compile_rpath="$rpath"
30006 30008
30007@@ -7859,18 +8830,18 @@ EOF 30009@@ -7881,18 +8851,18 @@ EOF
30008 *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) 30010 *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
30009 ;; 30011 ;;
30010 *) 30012 *)
@@ -30027,7 +30029,7 @@ index 70990740b6c..7f7104ffc82 100644
30027 esac 30029 esac
30028 fi 30030 fi
30029 done 30031 done
30030@@ -7878,7 +8849,7 @@ EOF 30032@@ -7900,7 +8870,7 @@ EOF
30031 if test -n "$hardcode_libdir_separator" && 30033 if test -n "$hardcode_libdir_separator" &&
30032 test -n "$hardcode_libdirs"; then 30034 test -n "$hardcode_libdirs"; then
30033 libdir="$hardcode_libdirs" 30035 libdir="$hardcode_libdirs"
@@ -30036,7 +30038,7 @@ index 70990740b6c..7f7104ffc82 100644
30036 fi 30038 fi
30037 finalize_rpath="$rpath" 30039 finalize_rpath="$rpath"
30038 30040
30039@@ -7921,6 +8892,12 @@ EOF 30041@@ -7943,6 +8913,12 @@ EOF
30040 exit_status=0 30042 exit_status=0
30041 func_show_eval "$link_command" 'exit_status=$?' 30043 func_show_eval "$link_command" 'exit_status=$?'
30042 30044
@@ -30049,7 +30051,7 @@ index 70990740b6c..7f7104ffc82 100644
30049 # Delete the generated files. 30051 # Delete the generated files.
30050 if test -f "$output_objdir/${outputname}S.${objext}"; then 30052 if test -f "$output_objdir/${outputname}S.${objext}"; then
30051 func_show_eval '$RM "$output_objdir/${outputname}S.${objext}"' 30053 func_show_eval '$RM "$output_objdir/${outputname}S.${objext}"'
30052@@ -7943,7 +8920,7 @@ EOF 30054@@ -7965,7 +8941,7 @@ EOF
30053 # We should set the runpath_var. 30055 # We should set the runpath_var.
30054 rpath= 30056 rpath=
30055 for dir in $perm_rpath; do 30057 for dir in $perm_rpath; do
@@ -30058,7 +30060,7 @@ index 70990740b6c..7f7104ffc82 100644
30058 done 30060 done
30059 compile_var="$runpath_var=\"$rpath\$$runpath_var\" " 30061 compile_var="$runpath_var=\"$rpath\$$runpath_var\" "
30060 fi 30062 fi
30061@@ -7951,7 +8928,7 @@ EOF 30063@@ -7973,7 +8949,7 @@ EOF
30062 # We should set the runpath_var. 30064 # We should set the runpath_var.
30063 rpath= 30065 rpath=
30064 for dir in $finalize_perm_rpath; do 30066 for dir in $finalize_perm_rpath; do
@@ -30067,7 +30069,7 @@ index 70990740b6c..7f7104ffc82 100644
30067 done 30069 done
30068 finalize_var="$runpath_var=\"$rpath\$$runpath_var\" " 30070 finalize_var="$runpath_var=\"$rpath\$$runpath_var\" "
30069 fi 30071 fi
30070@@ -7966,6 +8943,13 @@ EOF 30072@@ -7988,6 +8964,13 @@ EOF
30071 $opt_dry_run || $RM $output 30073 $opt_dry_run || $RM $output
30072 # Link the executable and exit 30074 # Link the executable and exit
30073 func_show_eval "$link_command" 'exit $?' 30075 func_show_eval "$link_command" 'exit $?'
@@ -30081,7 +30083,7 @@ index 70990740b6c..7f7104ffc82 100644
30081 exit $EXIT_SUCCESS 30083 exit $EXIT_SUCCESS
30082 fi 30084 fi
30083 30085
30084@@ -7999,6 +8983,12 @@ EOF 30086@@ -8021,6 +9004,12 @@ EOF
30085 30087
30086 func_show_eval "$link_command" 'exit $?' 30088 func_show_eval "$link_command" 'exit $?'
30087 30089
@@ -30094,7 +30096,7 @@ index 70990740b6c..7f7104ffc82 100644
30094 # Now create the wrapper script. 30096 # Now create the wrapper script.
30095 func_verbose "creating $output" 30097 func_verbose "creating $output"
30096 30098
30097@@ -8096,7 +9086,7 @@ EOF 30099@@ -8118,7 +9107,7 @@ EOF
30098 else 30100 else
30099 oldobjs="$old_deplibs $non_pic_objects" 30101 oldobjs="$old_deplibs $non_pic_objects"
30100 if test "$preload" = yes && test -f "$symfileobj"; then 30102 if test "$preload" = yes && test -f "$symfileobj"; then
@@ -30103,7 +30105,7 @@ index 70990740b6c..7f7104ffc82 100644
30103 fi 30105 fi
30104 fi 30106 fi
30105 addlibs="$old_convenience" 30107 addlibs="$old_convenience"
30106@@ -8104,10 +9094,10 @@ EOF 30108@@ -8126,10 +9115,10 @@ EOF
30107 30109
30108 if test -n "$addlibs"; then 30110 if test -n "$addlibs"; then
30109 gentop="$output_objdir/${outputname}x" 30111 gentop="$output_objdir/${outputname}x"
@@ -30116,7 +30118,7 @@ index 70990740b6c..7f7104ffc82 100644
30116 fi 30118 fi
30117 30119
30118 # Do each command in the archive commands. 30120 # Do each command in the archive commands.
30119@@ -8118,10 +9108,10 @@ EOF 30121@@ -8140,10 +9129,10 @@ EOF
30120 # Add any objects from preloaded convenience libraries 30122 # Add any objects from preloaded convenience libraries
30121 if test -n "$dlprefiles"; then 30123 if test -n "$dlprefiles"; then
30122 gentop="$output_objdir/${outputname}x" 30124 gentop="$output_objdir/${outputname}x"
@@ -30129,7 +30131,7 @@ index 70990740b6c..7f7104ffc82 100644
30129 fi 30131 fi
30130 30132
30131 # POSIX demands no paths to be encoded in archives. We have 30133 # POSIX demands no paths to be encoded in archives. We have
30132@@ -8139,7 +9129,7 @@ EOF 30134@@ -8161,7 +9150,7 @@ EOF
30133 else 30135 else
30134 echo "copying selected object files to avoid basename conflicts..." 30136 echo "copying selected object files to avoid basename conflicts..."
30135 gentop="$output_objdir/${outputname}x" 30137 gentop="$output_objdir/${outputname}x"
@@ -30138,7 +30140,7 @@ index 70990740b6c..7f7104ffc82 100644
30138 func_mkdir_p "$gentop" 30140 func_mkdir_p "$gentop"
30139 save_oldobjs=$oldobjs 30141 save_oldobjs=$oldobjs
30140 oldobjs= 30142 oldobjs=
30141@@ -8163,18 +9153,28 @@ EOF 30143@@ -8185,18 +9174,28 @@ EOF
30142 esac 30144 esac
30143 done 30145 done
30144 func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj" 30146 func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
@@ -30170,7 +30172,7 @@ index 70990740b6c..7f7104ffc82 100644
30170 else 30172 else
30171 # the command line is too long to link in one step, link in parts 30173 # the command line is too long to link in one step, link in parts
30172 func_verbose "using piecewise archive linking..." 30174 func_verbose "using piecewise archive linking..."
30173@@ -8189,7 +9189,7 @@ EOF 30175@@ -8211,7 +9210,7 @@ EOF
30174 do 30176 do
30175 last_oldobj=$obj 30177 last_oldobj=$obj
30176 done 30178 done
@@ -30179,7 +30181,7 @@ index 70990740b6c..7f7104ffc82 100644
30179 func_len " $test_cmds" 30181 func_len " $test_cmds"
30180 len0=$func_len_result 30182 len0=$func_len_result
30181 len=$len0 30183 len=$len0
30182@@ -8208,7 +9208,7 @@ EOF 30184@@ -8230,7 +9229,7 @@ EOF
30183 RANLIB=$save_RANLIB 30185 RANLIB=$save_RANLIB
30184 fi 30186 fi
30185 test -z "$concat_cmds" || concat_cmds=$concat_cmds~ 30187 test -z "$concat_cmds" || concat_cmds=$concat_cmds~
@@ -30188,7 +30190,7 @@ index 70990740b6c..7f7104ffc82 100644
30188 objlist= 30190 objlist=
30189 len=$len0 30191 len=$len0
30190 fi 30192 fi
30191@@ -8216,9 +9216,9 @@ EOF 30193@@ -8238,9 +9237,9 @@ EOF
30192 RANLIB=$save_RANLIB 30194 RANLIB=$save_RANLIB
30193 oldobjs=$objlist 30195 oldobjs=$objlist
30194 if test "X$oldobjs" = "X" ; then 30196 if test "X$oldobjs" = "X" ; then
@@ -30200,7 +30202,7 @@ index 70990740b6c..7f7104ffc82 100644
30200 fi 30202 fi
30201 fi 30203 fi
30202 fi 30204 fi
30203@@ -8268,12 +9268,23 @@ EOF 30205@@ -8290,12 +9289,23 @@ EOF
30204 *.la) 30206 *.la)
30205 func_basename "$deplib" 30207 func_basename "$deplib"
30206 name="$func_basename_result" 30208 name="$func_basename_result"
@@ -30227,7 +30229,7 @@ index 70990740b6c..7f7104ffc82 100644
30227 esac 30229 esac
30228 done 30230 done
30229 dependency_libs="$newdependency_libs" 30231 dependency_libs="$newdependency_libs"
30230@@ -8284,12 +9295,14 @@ EOF 30232@@ -8306,12 +9316,14 @@ EOF
30231 *.la) 30233 *.la)
30232 func_basename "$lib" 30234 func_basename "$lib"
30233 name="$func_basename_result" 30235 name="$func_basename_result"
@@ -30245,7 +30247,7 @@ index 70990740b6c..7f7104ffc82 100644
30245 esac 30247 esac
30246 done 30248 done
30247 dlfiles="$newdlfiles" 30249 dlfiles="$newdlfiles"
30248@@ -8303,10 +9316,11 @@ EOF 30250@@ -8325,10 +9337,11 @@ EOF
30249 # the library: 30251 # the library:
30250 func_basename "$lib" 30252 func_basename "$lib"
30251 name="$func_basename_result" 30253 name="$func_basename_result"
@@ -30259,7 +30261,7 @@ index 70990740b6c..7f7104ffc82 100644
30259 ;; 30261 ;;
30260 esac 30262 esac
30261 done 30263 done
30262@@ -8318,7 +9332,7 @@ EOF 30264@@ -8340,7 +9353,7 @@ EOF
30263 [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; 30265 [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
30264 *) abs=`pwd`"/$lib" ;; 30266 *) abs=`pwd`"/$lib" ;;
30265 esac 30267 esac
@@ -30268,7 +30270,7 @@ index 70990740b6c..7f7104ffc82 100644
30268 done 30270 done
30269 dlfiles="$newdlfiles" 30271 dlfiles="$newdlfiles"
30270 newdlprefiles= 30272 newdlprefiles=
30271@@ -8327,7 +9341,7 @@ EOF 30273@@ -8349,7 +9362,7 @@ EOF
30272 [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; 30274 [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
30273 *) abs=`pwd`"/$lib" ;; 30275 *) abs=`pwd`"/$lib" ;;
30274 esac 30276 esac
@@ -30277,7 +30279,7 @@ index 70990740b6c..7f7104ffc82 100644
30277 done 30279 done
30278 dlprefiles="$newdlprefiles" 30280 dlprefiles="$newdlprefiles"
30279 fi 30281 fi
30280@@ -8412,7 +9426,7 @@ relink_command=\"$relink_command\"" 30282@@ -8434,7 +9447,7 @@ relink_command=\"$relink_command\""
30281 exit $EXIT_SUCCESS 30283 exit $EXIT_SUCCESS
30282 } 30284 }
30283 30285
@@ -30286,7 +30288,7 @@ index 70990740b6c..7f7104ffc82 100644
30286 func_mode_link ${1+"$@"} 30288 func_mode_link ${1+"$@"}
30287 30289
30288 30290
30289@@ -8432,9 +9446,9 @@ func_mode_uninstall () 30291@@ -8454,9 +9467,9 @@ func_mode_uninstall ()
30290 for arg 30292 for arg
30291 do 30293 do
30292 case $arg in 30294 case $arg in
@@ -30299,7 +30301,7 @@ index 70990740b6c..7f7104ffc82 100644
30299 esac 30301 esac
30300 done 30302 done
30301 30303
30302@@ -8443,24 +9457,23 @@ func_mode_uninstall () 30304@@ -8465,24 +9478,23 @@ func_mode_uninstall ()
30303 30305
30304 rmdirs= 30306 rmdirs=
30305 30307
@@ -30331,7 +30333,7 @@ index 70990740b6c..7f7104ffc82 100644
30331 esac 30333 esac
30332 fi 30334 fi
30333 30335
30334@@ -8486,18 +9499,17 @@ func_mode_uninstall () 30336@@ -8508,18 +9520,17 @@ func_mode_uninstall ()
30335 30337
30336 # Delete the libtool libraries and symlinks. 30338 # Delete the libtool libraries and symlinks.
30337 for n in $library_names; do 30339 for n in $library_names; do
@@ -30356,7 +30358,7 @@ index 70990740b6c..7f7104ffc82 100644
30356 ;; 30358 ;;
30357 uninstall) 30359 uninstall)
30358 if test -n "$library_names"; then 30360 if test -n "$library_names"; then
30359@@ -8525,19 +9537,19 @@ func_mode_uninstall () 30361@@ -8547,19 +9558,19 @@ func_mode_uninstall ()
30360 # Add PIC object to the list of files to remove. 30362 # Add PIC object to the list of files to remove.
30361 if test -n "$pic_object" && 30363 if test -n "$pic_object" &&
30362 test "$pic_object" != none; then 30364 test "$pic_object" != none; then
@@ -30379,7 +30381,7 @@ index 70990740b6c..7f7104ffc82 100644
30379 noexename=$name 30381 noexename=$name
30380 case $file in 30382 case $file in
30381 *.exe) 30383 *.exe)
30382@@ -8547,7 +9559,7 @@ func_mode_uninstall () 30384@@ -8569,7 +9580,7 @@ func_mode_uninstall ()
30383 noexename=$func_stripname_result 30385 noexename=$func_stripname_result
30384 # $file with .exe has already been added to rmfiles, 30386 # $file with .exe has already been added to rmfiles,
30385 # add $file without .exe 30387 # add $file without .exe
@@ -30388,7 +30390,7 @@ index 70990740b6c..7f7104ffc82 100644
30388 ;; 30390 ;;
30389 esac 30391 esac
30390 # Do a test to see if this is a libtool program. 30392 # Do a test to see if this is a libtool program.
30391@@ -8556,7 +9568,7 @@ func_mode_uninstall () 30393@@ -8578,7 +9589,7 @@ func_mode_uninstall ()
30392 func_ltwrapper_scriptname "$file" 30394 func_ltwrapper_scriptname "$file"
30393 relink_command= 30395 relink_command=
30394 func_source $func_ltwrapper_scriptname_result 30396 func_source $func_ltwrapper_scriptname_result
@@ -30397,7 +30399,7 @@ index 70990740b6c..7f7104ffc82 100644
30397 else 30399 else
30398 relink_command= 30400 relink_command=
30399 func_source $dir/$noexename 30401 func_source $dir/$noexename
30400@@ -8564,12 +9576,12 @@ func_mode_uninstall () 30402@@ -8586,12 +9597,12 @@ func_mode_uninstall ()
30401 30403
30402 # note $name still contains .exe if it was in $file originally 30404 # note $name still contains .exe if it was in $file originally
30403 # as does the version of $file that was added into $rmfiles 30405 # as does the version of $file that was added into $rmfiles
@@ -30413,7 +30415,7 @@ index 70990740b6c..7f7104ffc82 100644
30413 fi 30415 fi
30414 fi 30416 fi
30415 fi 30417 fi
30416@@ -8577,7 +9589,6 @@ func_mode_uninstall () 30418@@ -8599,7 +9610,6 @@ func_mode_uninstall ()
30417 esac 30419 esac
30418 func_show_eval "$RM $rmfiles" 'exit_status=1' 30420 func_show_eval "$RM $rmfiles" 'exit_status=1'
30419 done 30421 done
@@ -30421,7 +30423,7 @@ index 70990740b6c..7f7104ffc82 100644
30421 30423
30422 # Try to remove the ${objdir}s in the directories where we deleted files 30424 # Try to remove the ${objdir}s in the directories where we deleted files
30423 for dir in $rmdirs; do 30425 for dir in $rmdirs; do
30424@@ -8589,16 +9600,16 @@ func_mode_uninstall () 30426@@ -8611,16 +9621,16 @@ func_mode_uninstall ()
30425 exit $exit_status 30427 exit $exit_status
30426 } 30428 }
30427 30429
@@ -30496,7 +30498,7 @@ index bf92b5e0790..c573da90c5c 100644
30496 # These exist entirely to fool aclocal when bootstrapping libtool. 30498 # These exist entirely to fool aclocal when bootstrapping libtool.
30497 # 30499 #
30498diff --git a/opcodes/Makefile.in b/opcodes/Makefile.in 30500diff --git a/opcodes/Makefile.in b/opcodes/Makefile.in
30499index 245479140c9..bfed90449bf 100644 30501index 4399354e5a9..4b1625febf3 100644
30500--- a/opcodes/Makefile.in 30502--- a/opcodes/Makefile.in
30501+++ b/opcodes/Makefile.in 30503+++ b/opcodes/Makefile.in
30502@@ -298,6 +298,7 @@ CYGPATH_W = @CYGPATH_W@ 30504@@ -298,6 +298,7 @@ CYGPATH_W = @CYGPATH_W@
@@ -30524,7 +30526,7 @@ index 245479140c9..bfed90449bf 100644
30524 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ 30526 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
30525 am__include = @am__include@ 30527 am__include = @am__include@
30526diff --git a/opcodes/configure b/opcodes/configure 30528diff --git a/opcodes/configure b/opcodes/configure
30527index 1660c3266a3..a1b84ed81f9 100755 30529index b326512ce3c..03f2b1bd64b 100755
30528--- a/opcodes/configure 30530--- a/opcodes/configure
30529+++ b/opcodes/configure 30531+++ b/opcodes/configure
30530@@ -688,6 +688,9 @@ OTOOL 30532@@ -688,6 +688,9 @@ OTOOL
@@ -30554,7 +30556,7 @@ index 1660c3266a3..a1b84ed81f9 100755
30554 30556
30555 Some influential environment variables: 30557 Some influential environment variables:
30556 CC C compiler command 30558 CC C compiler command
30557@@ -4997,8 +5003,8 @@ esac 30559@@ -4995,8 +5001,8 @@ esac
30558 30560
30559 30561
30560 30562
@@ -30565,7 +30567,7 @@ index 1660c3266a3..a1b84ed81f9 100755
30565 30567
30566 30568
30567 30569
30568@@ -5038,7 +5044,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 30570@@ -5036,7 +5042,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
30569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 30571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
30570 $as_echo_n "checking how to print strings... " >&6; } 30572 $as_echo_n "checking how to print strings... " >&6; }
30571 # Test print first, because it will be a builtin if present. 30573 # Test print first, because it will be a builtin if present.
@@ -30574,7 +30576,7 @@ index 1660c3266a3..a1b84ed81f9 100755
30574 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 30576 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
30575 ECHO='print -r --' 30577 ECHO='print -r --'
30576 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 30578 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
30577@@ -5731,8 +5737,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; 30579@@ -5729,8 +5735,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
30578 # Try some XSI features 30580 # Try some XSI features
30579 xsi_shell=no 30581 xsi_shell=no
30580 ( _lt_dummy="a/b/c" 30582 ( _lt_dummy="a/b/c"
@@ -30585,7 +30587,7 @@ index 1660c3266a3..a1b84ed81f9 100755
30585 && eval 'test $(( 1 + 1 )) -eq 2 \ 30587 && eval 'test $(( 1 + 1 )) -eq 2 \
30586 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 30588 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
30587 && xsi_shell=yes 30589 && xsi_shell=yes
30588@@ -5781,6 +5787,80 @@ esac 30590@@ -5779,6 +5785,80 @@ esac
30589 30591
30590 30592
30591 30593
@@ -30666,7 +30668,7 @@ index 1660c3266a3..a1b84ed81f9 100755
30666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 30668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
30667 $as_echo_n "checking for $LD option to reload object files... " >&6; } 30669 $as_echo_n "checking for $LD option to reload object files... " >&6; }
30668 if ${lt_cv_ld_reload_flag+:} false; then : 30670 if ${lt_cv_ld_reload_flag+:} false; then :
30669@@ -5797,6 +5877,11 @@ case $reload_flag in 30671@@ -5795,6 +5875,11 @@ case $reload_flag in
30670 esac 30672 esac
30671 reload_cmds='$LD$reload_flag -o $output$reload_objs' 30673 reload_cmds='$LD$reload_flag -o $output$reload_objs'
30672 case $host_os in 30674 case $host_os in
@@ -30678,7 +30680,7 @@ index 1660c3266a3..a1b84ed81f9 100755
30678 darwin*) 30680 darwin*)
30679 if test "$GCC" = yes; then 30681 if test "$GCC" = yes; then
30680 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 30682 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
30681@@ -5965,7 +6050,8 @@ mingw* | pw32*) 30683@@ -5963,7 +6048,8 @@ mingw* | pw32*)
30682 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 30684 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
30683 lt_cv_file_magic_cmd='func_win32_libid' 30685 lt_cv_file_magic_cmd='func_win32_libid'
30684 else 30686 else
@@ -30688,7 +30690,7 @@ index 1660c3266a3..a1b84ed81f9 100755
30688 lt_cv_file_magic_cmd='$OBJDUMP -f' 30690 lt_cv_file_magic_cmd='$OBJDUMP -f'
30689 fi 30691 fi
30690 ;; 30692 ;;
30691@@ -6124,6 +6210,21 @@ esac 30693@@ -6122,6 +6208,21 @@ esac
30692 fi 30694 fi
30693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 30695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
30694 $as_echo "$lt_cv_deplibs_check_method" >&6; } 30696 $as_echo "$lt_cv_deplibs_check_method" >&6; }
@@ -30710,7 +30712,7 @@ index 1660c3266a3..a1b84ed81f9 100755
30710 file_magic_cmd=$lt_cv_file_magic_cmd 30712 file_magic_cmd=$lt_cv_file_magic_cmd
30711 deplibs_check_method=$lt_cv_deplibs_check_method 30713 deplibs_check_method=$lt_cv_deplibs_check_method
30712 test -z "$deplibs_check_method" && deplibs_check_method=unknown 30714 test -z "$deplibs_check_method" && deplibs_check_method=unknown
30713@@ -6139,6 +6240,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown 30715@@ -6137,6 +6238,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
30714 30716
30715 30717
30716 30718
@@ -30868,7 +30870,7 @@ index 1660c3266a3..a1b84ed81f9 100755
30868 plugin_option= 30870 plugin_option=
30869 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll" 30871 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
30870 for plugin in $plugin_names; do 30872 for plugin in $plugin_names; do
30871@@ -6153,8 +6405,10 @@ for plugin in $plugin_names; do 30873@@ -6151,8 +6403,10 @@ for plugin in $plugin_names; do
30872 done 30874 done
30873 30875
30874 if test -n "$ac_tool_prefix"; then 30876 if test -n "$ac_tool_prefix"; then
@@ -30881,7 +30883,7 @@ index 1660c3266a3..a1b84ed81f9 100755
30881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 30883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30882 $as_echo_n "checking for $ac_word... " >&6; } 30884 $as_echo_n "checking for $ac_word... " >&6; }
30883 if ${ac_cv_prog_AR+:} false; then : 30885 if ${ac_cv_prog_AR+:} false; then :
30884@@ -6170,7 +6424,7 @@ do 30886@@ -6168,7 +6422,7 @@ do
30885 test -z "$as_dir" && as_dir=. 30887 test -z "$as_dir" && as_dir=.
30886 for ac_exec_ext in '' $ac_executable_extensions; do 30888 for ac_exec_ext in '' $ac_executable_extensions; do
30887 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 30889 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -30890,7 +30892,7 @@ index 1660c3266a3..a1b84ed81f9 100755
30890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 30892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
30891 break 2 30893 break 2
30892 fi 30894 fi
30893@@ -6190,11 +6444,15 @@ $as_echo "no" >&6; } 30895@@ -6188,11 +6442,15 @@ $as_echo "no" >&6; }
30894 fi 30896 fi
30895 30897
30896 30898
@@ -30909,7 +30911,7 @@ index 1660c3266a3..a1b84ed81f9 100755
30909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 30911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30910 $as_echo_n "checking for $ac_word... " >&6; } 30912 $as_echo_n "checking for $ac_word... " >&6; }
30911 if ${ac_cv_prog_ac_ct_AR+:} false; then : 30913 if ${ac_cv_prog_ac_ct_AR+:} false; then :
30912@@ -6210,7 +6468,7 @@ do 30914@@ -6208,7 +6466,7 @@ do
30913 test -z "$as_dir" && as_dir=. 30915 test -z "$as_dir" && as_dir=.
30914 for ac_exec_ext in '' $ac_executable_extensions; do 30916 for ac_exec_ext in '' $ac_executable_extensions; do
30915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 30917 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -30918,7 +30920,7 @@ index 1660c3266a3..a1b84ed81f9 100755
30918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 30920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
30919 break 2 30921 break 2
30920 fi 30922 fi
30921@@ -6229,6 +6487,10 @@ else 30923@@ -6227,6 +6485,10 @@ else
30922 $as_echo "no" >&6; } 30924 $as_echo "no" >&6; }
30923 fi 30925 fi
30924 30926
@@ -30929,7 +30931,7 @@ index 1660c3266a3..a1b84ed81f9 100755
30929 if test "x$ac_ct_AR" = x; then 30931 if test "x$ac_ct_AR" = x; then
30930 AR="false" 30932 AR="false"
30931 else 30933 else
30932@@ -6240,25 +6502,20 @@ ac_tool_warned=yes ;; 30934@@ -6238,25 +6500,20 @@ ac_tool_warned=yes ;;
30933 esac 30935 esac
30934 AR=$ac_ct_AR 30936 AR=$ac_ct_AR
30935 fi 30937 fi
@@ -30965,7 +30967,7 @@ index 1660c3266a3..a1b84ed81f9 100755
30965 30967
30966 30968
30967 30969
30968@@ -6269,6 +6526,63 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru 30970@@ -6267,6 +6524,63 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
30969 30971
30970 30972
30971 30973
@@ -31029,7 +31031,7 @@ index 1660c3266a3..a1b84ed81f9 100755
31029 31031
31030 if test -n "$ac_tool_prefix"; then 31032 if test -n "$ac_tool_prefix"; then
31031 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 31033 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
31032@@ -6609,8 +6923,8 @@ esac 31034@@ -6607,8 +6921,8 @@ esac
31033 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 31035 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
31034 31036
31035 # Transform an extracted symbol line into symbol name and symbol address 31037 # Transform an extracted symbol line into symbol name and symbol address
@@ -31040,7 +31042,7 @@ index 1660c3266a3..a1b84ed81f9 100755
31040 31042
31041 # Handle CRLF in mingw tool chain 31043 # Handle CRLF in mingw tool chain
31042 opt_cr= 31044 opt_cr=
31043@@ -6646,6 +6960,7 @@ for ac_symprfx in "" "_"; do 31045@@ -6644,6 +6958,7 @@ for ac_symprfx in "" "_"; do
31044 else 31046 else
31045 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 31047 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
31046 fi 31048 fi
@@ -31048,7 +31050,7 @@ index 1660c3266a3..a1b84ed81f9 100755
31048 31050
31049 # Check to see that the pipe works correctly. 31051 # Check to see that the pipe works correctly.
31050 pipe_works=no 31052 pipe_works=no
31051@@ -6687,6 +7002,18 @@ _LT_EOF 31053@@ -6685,6 +7000,18 @@ _LT_EOF
31052 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 31054 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
31053 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 31055 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
31054 cat <<_LT_EOF > conftest.$ac_ext 31056 cat <<_LT_EOF > conftest.$ac_ext
@@ -31067,7 +31069,7 @@ index 1660c3266a3..a1b84ed81f9 100755
31067 #ifdef __cplusplus 31069 #ifdef __cplusplus
31068 extern "C" { 31070 extern "C" {
31069 #endif 31071 #endif
31070@@ -6698,7 +7025,7 @@ _LT_EOF 31072@@ -6696,7 +7023,7 @@ _LT_EOF
31071 cat <<_LT_EOF >> conftest.$ac_ext 31073 cat <<_LT_EOF >> conftest.$ac_ext
31072 31074
31073 /* The mapping between symbol names and symbols. */ 31075 /* The mapping between symbol names and symbols. */
@@ -31076,7 +31078,7 @@ index 1660c3266a3..a1b84ed81f9 100755
31076 const char *name; 31078 const char *name;
31077 void *address; 31079 void *address;
31078 } 31080 }
31079@@ -6724,8 +7051,8 @@ static const void *lt_preloaded_setup() { 31081@@ -6722,8 +7049,8 @@ static const void *lt_preloaded_setup() {
31080 _LT_EOF 31082 _LT_EOF
31081 # Now try linking the two files. 31083 # Now try linking the two files.
31082 mv conftest.$ac_objext conftstm.$ac_objext 31084 mv conftest.$ac_objext conftstm.$ac_objext
@@ -31087,7 +31089,7 @@ index 1660c3266a3..a1b84ed81f9 100755
31087 LIBS="conftstm.$ac_objext" 31089 LIBS="conftstm.$ac_objext"
31088 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 31090 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
31089 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 31091 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
31090@@ -6735,8 +7062,8 @@ _LT_EOF 31092@@ -6733,8 +7060,8 @@ _LT_EOF
31091 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 31093 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
31092 pipe_works=yes 31094 pipe_works=yes
31093 fi 31095 fi
@@ -31098,7 +31100,7 @@ index 1660c3266a3..a1b84ed81f9 100755
31098 else 31100 else
31099 echo "cannot find nm_test_func in $nlist" >&5 31101 echo "cannot find nm_test_func in $nlist" >&5
31100 fi 31102 fi
31101@@ -6773,6 +7100,14 @@ else 31103@@ -6771,6 +7098,14 @@ else
31102 $as_echo "ok" >&6; } 31104 $as_echo "ok" >&6; }
31103 fi 31105 fi
31104 31106
@@ -31113,7 +31115,7 @@ index 1660c3266a3..a1b84ed81f9 100755
31113 31115
31114 31116
31115 31117
31116@@ -6791,6 +7126,47 @@ fi 31118@@ -6789,6 +7124,47 @@ fi
31117 31119
31118 31120
31119 31121
@@ -31161,7 +31163,7 @@ index 1660c3266a3..a1b84ed81f9 100755
31161 31163
31162 31164
31163 31165
31164@@ -7000,6 +7376,123 @@ esac 31166@@ -6998,6 +7374,123 @@ esac
31165 31167
31166 need_locks="$enable_libtool_lock" 31168 need_locks="$enable_libtool_lock"
31167 31169
@@ -31285,7 +31287,7 @@ index 1660c3266a3..a1b84ed81f9 100755
31285 31287
31286 case $host_os in 31288 case $host_os in
31287 rhapsody* | darwin*) 31289 rhapsody* | darwin*)
31288@@ -7563,6 +8056,8 @@ _LT_EOF 31290@@ -7561,6 +8054,8 @@ _LT_EOF
31289 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 31291 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
31290 echo "$AR cru libconftest.a conftest.o" >&5 31292 echo "$AR cru libconftest.a conftest.o" >&5
31291 $AR cru libconftest.a conftest.o 2>&5 31293 $AR cru libconftest.a conftest.o 2>&5
@@ -31294,7 +31296,7 @@ index 1660c3266a3..a1b84ed81f9 100755
31294 cat > conftest.c << _LT_EOF 31296 cat > conftest.c << _LT_EOF
31295 int main() { return 0;} 31297 int main() { return 0;}
31296 _LT_EOF 31298 _LT_EOF
31297@@ -8117,8 +8612,6 @@ fi 31299@@ -8115,8 +8610,6 @@ fi
31298 lt_prog_compiler_pic= 31300 lt_prog_compiler_pic=
31299 lt_prog_compiler_static= 31301 lt_prog_compiler_static=
31300 31302
@@ -31303,7 +31305,7 @@ index 1660c3266a3..a1b84ed81f9 100755
31303 31305
31304 if test "$GCC" = yes; then 31306 if test "$GCC" = yes; then
31305 lt_prog_compiler_wl='-Wl,' 31307 lt_prog_compiler_wl='-Wl,'
31306@@ -8284,6 +8777,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } 31308@@ -8282,6 +8775,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
31307 lt_prog_compiler_pic='--shared' 31309 lt_prog_compiler_pic='--shared'
31308 lt_prog_compiler_static='--static' 31310 lt_prog_compiler_static='--static'
31309 ;; 31311 ;;
@@ -31316,7 +31318,7 @@ index 1660c3266a3..a1b84ed81f9 100755
31316 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 31318 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
31317 # Portland Group compilers (*not* the Pentium gcc compiler, 31319 # Portland Group compilers (*not* the Pentium gcc compiler,
31318 # which looks to be a dead project) 31320 # which looks to be a dead project)
31319@@ -8346,7 +8845,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } 31321@@ -8344,7 +8843,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
31320 lt_prog_compiler_pic='-KPIC' 31322 lt_prog_compiler_pic='-KPIC'
31321 lt_prog_compiler_static='-Bstatic' 31323 lt_prog_compiler_static='-Bstatic'
31322 case $cc_basename in 31324 case $cc_basename in
@@ -31325,7 +31327,7 @@ index 1660c3266a3..a1b84ed81f9 100755
31325 lt_prog_compiler_wl='-Qoption ld ';; 31327 lt_prog_compiler_wl='-Qoption ld ';;
31326 *) 31328 *)
31327 lt_prog_compiler_wl='-Wl,';; 31329 lt_prog_compiler_wl='-Wl,';;
31328@@ -8403,13 +8902,17 @@ case $host_os in 31330@@ -8401,13 +8900,17 @@ case $host_os in
31329 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 31331 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
31330 ;; 31332 ;;
31331 esac 31333 esac
@@ -31349,7 +31351,7 @@ index 1660c3266a3..a1b84ed81f9 100755
31349 31351
31350 # 31352 #
31351 # Check to make sure the PIC flag actually works. 31353 # Check to make sure the PIC flag actually works.
31352@@ -8470,6 +8973,11 @@ fi 31354@@ -8468,6 +8971,11 @@ fi
31353 31355
31354 31356
31355 31357
@@ -31361,7 +31363,7 @@ index 1660c3266a3..a1b84ed81f9 100755
31361 # 31363 #
31362 # Check to make sure the static flag actually works. 31364 # Check to make sure the static flag actually works.
31363 # 31365 #
31364@@ -8820,7 +9328,8 @@ _LT_EOF 31366@@ -8818,7 +9326,8 @@ _LT_EOF
31365 allow_undefined_flag=unsupported 31367 allow_undefined_flag=unsupported
31366 always_export_symbols=no 31368 always_export_symbols=no
31367 enable_shared_with_static_runtimes=yes 31369 enable_shared_with_static_runtimes=yes
@@ -31371,7 +31373,7 @@ index 1660c3266a3..a1b84ed81f9 100755
31371 31373
31372 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 31374 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
31373 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 31375 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
31374@@ -8919,12 +9428,12 @@ _LT_EOF 31376@@ -8917,12 +9426,12 @@ _LT_EOF
31375 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 31377 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
31376 hardcode_libdir_flag_spec= 31378 hardcode_libdir_flag_spec=
31377 hardcode_libdir_flag_spec_ld='-rpath $libdir' 31379 hardcode_libdir_flag_spec_ld='-rpath $libdir'
@@ -31386,7 +31388,7 @@ index 1660c3266a3..a1b84ed81f9 100755
31386 fi 31388 fi
31387 ;; 31389 ;;
31388 esac 31390 esac
31389@@ -8938,8 +9447,8 @@ _LT_EOF 31391@@ -8936,8 +9445,8 @@ _LT_EOF
31390 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 31392 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
31391 wlarc= 31393 wlarc=
31392 else 31394 else
@@ -31397,7 +31399,7 @@ index 1660c3266a3..a1b84ed81f9 100755
31397 fi 31399 fi
31398 ;; 31400 ;;
31399 31401
31400@@ -8957,8 +9466,8 @@ _LT_EOF 31402@@ -8955,8 +9464,8 @@ _LT_EOF
31401 31403
31402 _LT_EOF 31404 _LT_EOF
31403 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 31405 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -31408,7 +31410,7 @@ index 1660c3266a3..a1b84ed81f9 100755
31408 else 31410 else
31409 ld_shlibs=no 31411 ld_shlibs=no
31410 fi 31412 fi
31411@@ -9004,8 +9513,8 @@ _LT_EOF 31413@@ -9002,8 +9511,8 @@ _LT_EOF
31412 31414
31413 *) 31415 *)
31414 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 31416 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -31419,7 +31421,7 @@ index 1660c3266a3..a1b84ed81f9 100755
31419 else 31421 else
31420 ld_shlibs=no 31422 ld_shlibs=no
31421 fi 31423 fi
31422@@ -9135,7 +9644,13 @@ _LT_EOF 31424@@ -9133,7 +9642,13 @@ _LT_EOF
31423 allow_undefined_flag='-berok' 31425 allow_undefined_flag='-berok'
31424 # Determine the default libpath from the value encoded in an 31426 # Determine the default libpath from the value encoded in an
31425 # empty executable. 31427 # empty executable.
@@ -31434,7 +31436,7 @@ index 1660c3266a3..a1b84ed81f9 100755
31434 /* end confdefs.h. */ 31436 /* end confdefs.h. */
31435 31437
31436 int 31438 int
31437@@ -9148,22 +9663,29 @@ main () 31439@@ -9146,22 +9661,29 @@ main ()
31438 _ACEOF 31440 _ACEOF
31439 if ac_fn_c_try_link "$LINENO"; then : 31441 if ac_fn_c_try_link "$LINENO"; then :
31440 31442
@@ -31477,7 +31479,7 @@ index 1660c3266a3..a1b84ed81f9 100755
31477 31479
31478 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 31480 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
31479 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 31481 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
31480@@ -9175,7 +9697,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 31482@@ -9173,7 +9695,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
31481 else 31483 else
31482 # Determine the default libpath from the value encoded in an 31484 # Determine the default libpath from the value encoded in an
31483 # empty executable. 31485 # empty executable.
@@ -31492,7 +31494,7 @@ index 1660c3266a3..a1b84ed81f9 100755
31492 /* end confdefs.h. */ 31494 /* end confdefs.h. */
31493 31495
31494 int 31496 int
31495@@ -9188,22 +9716,29 @@ main () 31497@@ -9186,22 +9714,29 @@ main ()
31496 _ACEOF 31498 _ACEOF
31497 if ac_fn_c_try_link "$LINENO"; then : 31499 if ac_fn_c_try_link "$LINENO"; then :
31498 31500
@@ -31535,7 +31537,7 @@ index 1660c3266a3..a1b84ed81f9 100755
31535 31537
31536 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 31538 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
31537 # Warning - without using the other run time loading flags, 31539 # Warning - without using the other run time loading flags,
31538@@ -9248,20 +9783,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 31540@@ -9246,20 +9781,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
31539 # Microsoft Visual C++. 31541 # Microsoft Visual C++.
31540 # hardcode_libdir_flag_spec is actually meaningless, as there is 31542 # hardcode_libdir_flag_spec is actually meaningless, as there is
31541 # no search path for DLLs. 31543 # no search path for DLLs.
@@ -31613,7 +31615,7 @@ index 1660c3266a3..a1b84ed81f9 100755
31613 ;; 31615 ;;
31614 31616
31615 darwin* | rhapsody*) 31617 darwin* | rhapsody*)
31616@@ -9322,7 +9900,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 31618@@ -9320,7 +9898,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
31617 31619
31618 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 31620 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
31619 freebsd* | dragonfly*) 31621 freebsd* | dragonfly*)
@@ -31622,7 +31624,7 @@ index 1660c3266a3..a1b84ed81f9 100755
31622 hardcode_libdir_flag_spec='-R$libdir' 31624 hardcode_libdir_flag_spec='-R$libdir'
31623 hardcode_direct=yes 31625 hardcode_direct=yes
31624 hardcode_shlibpath_var=no 31626 hardcode_shlibpath_var=no
31625@@ -9330,7 +9908,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 31627@@ -9328,7 +9906,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
31626 31628
31627 hpux9*) 31629 hpux9*)
31628 if test "$GCC" = yes; then 31630 if test "$GCC" = yes; then
@@ -31631,7 +31633,7 @@ index 1660c3266a3..a1b84ed81f9 100755
31631 else 31633 else
31632 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 31634 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
31633 fi 31635 fi
31634@@ -9346,7 +9924,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 31636@@ -9344,7 +9922,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
31635 31637
31636 hpux10*) 31638 hpux10*)
31637 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 31639 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -31640,7 +31642,7 @@ index 1660c3266a3..a1b84ed81f9 100755
31640 else 31642 else
31641 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 31643 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
31642 fi 31644 fi
31643@@ -9370,10 +9948,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 31645@@ -9368,10 +9946,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
31644 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 31646 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
31645 ;; 31647 ;;
31646 ia64*) 31648 ia64*)
@@ -31653,7 +31655,7 @@ index 1660c3266a3..a1b84ed81f9 100755
31653 ;; 31655 ;;
31654 esac 31656 esac
31655 else 31657 else
31656@@ -9452,23 +10030,36 @@ fi 31658@@ -9450,23 +10028,36 @@ fi
31657 31659
31658 irix5* | irix6* | nonstopux*) 31660 irix5* | irix6* | nonstopux*)
31659 if test "$GCC" = yes; then 31661 if test "$GCC" = yes; then
@@ -31698,7 +31700,7 @@ index 1660c3266a3..a1b84ed81f9 100755
31698 else 31700 else
31699 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 31701 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
31700 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' 31702 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
31701@@ -9553,7 +10144,7 @@ rm -f core conftest.err conftest.$ac_objext \ 31703@@ -9551,7 +10142,7 @@ rm -f core conftest.err conftest.$ac_objext \
31702 osf4* | osf5*) # as osf3* with the addition of -msym flag 31704 osf4* | osf5*) # as osf3* with the addition of -msym flag
31703 if test "$GCC" = yes; then 31705 if test "$GCC" = yes; then
31704 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 31706 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
@@ -31707,7 +31709,7 @@ index 1660c3266a3..a1b84ed81f9 100755
31707 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 31709 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
31708 else 31710 else
31709 allow_undefined_flag=' -expect_unresolved \*' 31711 allow_undefined_flag=' -expect_unresolved \*'
31710@@ -9572,9 +10163,9 @@ rm -f core conftest.err conftest.$ac_objext \ 31712@@ -9570,9 +10161,9 @@ rm -f core conftest.err conftest.$ac_objext \
31711 no_undefined_flag=' -z defs' 31713 no_undefined_flag=' -z defs'
31712 if test "$GCC" = yes; then 31714 if test "$GCC" = yes; then
31713 wlarc='${wl}' 31715 wlarc='${wl}'
@@ -31719,7 +31721,7 @@ index 1660c3266a3..a1b84ed81f9 100755
31719 else 31721 else
31720 case `$CC -V 2>&1` in 31722 case `$CC -V 2>&1` in
31721 *"Compilers 5.0"*) 31723 *"Compilers 5.0"*)
31722@@ -10150,8 +10741,9 @@ cygwin* | mingw* | pw32* | cegcc*) 31724@@ -10148,8 +10739,9 @@ cygwin* | mingw* | pw32* | cegcc*)
31723 need_version=no 31725 need_version=no
31724 need_lib_prefix=no 31726 need_lib_prefix=no
31725 31727
@@ -31731,7 +31733,7 @@ index 1660c3266a3..a1b84ed81f9 100755
31731 library_names_spec='$libname.dll.a' 31733 library_names_spec='$libname.dll.a'
31732 # DLL is installed to $(libdir)/../bin by postinstall_cmds 31734 # DLL is installed to $(libdir)/../bin by postinstall_cmds
31733 postinstall_cmds='base_file=`basename \${file}`~ 31735 postinstall_cmds='base_file=`basename \${file}`~
31734@@ -10184,13 +10776,71 @@ cygwin* | mingw* | pw32* | cegcc*) 31736@@ -10182,13 +10774,71 @@ cygwin* | mingw* | pw32* | cegcc*)
31735 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 31737 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
31736 ;; 31738 ;;
31737 esac 31739 esac
@@ -31804,16 +31806,16 @@ index 1660c3266a3..a1b84ed81f9 100755
31804 # FIXME: first we should search . and the directory the executable is in 31806 # FIXME: first we should search . and the directory the executable is in
31805 shlibpath_var=PATH 31807 shlibpath_var=PATH
31806 ;; 31808 ;;
31807@@ -11092,7 +11742,7 @@ else 31809@@ -11090,7 +11740,7 @@ else
31808 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 31810 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
31809 lt_status=$lt_dlunknown 31811 lt_status=$lt_dlunknown
31810 cat > conftest.$ac_ext <<_LT_EOF 31812 cat > conftest.$ac_ext <<_LT_EOF
31811-#line 11095 "configure" 31813-#line 11093 "configure"
31812+#line $LINENO "configure" 31814+#line $LINENO "configure"
31813 #include "confdefs.h" 31815 #include "confdefs.h"
31814 31816
31815 #if HAVE_DLFCN_H 31817 #if HAVE_DLFCN_H
31816@@ -11136,10 +11786,10 @@ else 31818@@ -11134,10 +11784,10 @@ else
31817 /* When -fvisbility=hidden is used, assume the code has been annotated 31819 /* When -fvisbility=hidden is used, assume the code has been annotated
31818 correspondingly for the symbols needed. */ 31820 correspondingly for the symbols needed. */
31819 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 31821 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -31826,16 +31828,16 @@ index 1660c3266a3..a1b84ed81f9 100755
31826 int main () 31828 int main ()
31827 { 31829 {
31828 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 31830 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
31829@@ -11198,7 +11848,7 @@ else 31831@@ -11196,7 +11846,7 @@ else
31830 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 31832 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
31831 lt_status=$lt_dlunknown 31833 lt_status=$lt_dlunknown
31832 cat > conftest.$ac_ext <<_LT_EOF 31834 cat > conftest.$ac_ext <<_LT_EOF
31833-#line 11201 "configure" 31835-#line 11199 "configure"
31834+#line $LINENO "configure" 31836+#line $LINENO "configure"
31835 #include "confdefs.h" 31837 #include "confdefs.h"
31836 31838
31837 #if HAVE_DLFCN_H 31839 #if HAVE_DLFCN_H
31838@@ -11242,10 +11892,10 @@ else 31840@@ -11240,10 +11890,10 @@ else
31839 /* When -fvisbility=hidden is used, assume the code has been annotated 31841 /* When -fvisbility=hidden is used, assume the code has been annotated
31840 correspondingly for the symbols needed. */ 31842 correspondingly for the symbols needed. */
31841 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 31843 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -31848,7 +31850,7 @@ index 1660c3266a3..a1b84ed81f9 100755
31848 int main () 31850 int main ()
31849 { 31851 {
31850 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 31852 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
31851@@ -15351,13 +16001,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 31853@@ -15348,13 +15998,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
31852 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 31854 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
31853 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 31855 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
31854 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 31856 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -31869,7 +31871,7 @@ index 1660c3266a3..a1b84ed81f9 100755
31869 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 31871 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
31870 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 31872 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
31871 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 31873 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
31872@@ -15372,14 +16029,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de 31874@@ -15369,14 +16026,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
31873 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 31875 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
31874 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 31876 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
31875 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' 31877 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
@@ -31888,7 +31890,7 @@ index 1660c3266a3..a1b84ed81f9 100755
31888 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 31890 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
31889 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 31891 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
31890 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 31892 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
31891@@ -15412,12 +16072,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q 31893@@ -15409,12 +16069,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q
31892 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 31894 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
31893 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 31895 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
31894 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 31896 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -31902,7 +31904,7 @@ index 1660c3266a3..a1b84ed81f9 100755
31902 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 31904 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
31903 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 31905 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
31904 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 31906 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
31905@@ -15472,8 +16132,13 @@ reload_flag \ 31907@@ -15469,8 +16129,13 @@ reload_flag \
31906 OBJDUMP \ 31908 OBJDUMP \
31907 deplibs_check_method \ 31909 deplibs_check_method \
31908 file_magic_cmd \ 31910 file_magic_cmd \
@@ -31916,7 +31918,7 @@ index 1660c3266a3..a1b84ed81f9 100755
31916 STRIP \ 31918 STRIP \
31917 RANLIB \ 31919 RANLIB \
31918 CC \ 31920 CC \
31919@@ -15483,12 +16148,14 @@ lt_cv_sys_global_symbol_pipe \ 31921@@ -15480,12 +16145,14 @@ lt_cv_sys_global_symbol_pipe \
31920 lt_cv_sys_global_symbol_to_cdecl \ 31922 lt_cv_sys_global_symbol_to_cdecl \
31921 lt_cv_sys_global_symbol_to_c_name_address \ 31923 lt_cv_sys_global_symbol_to_c_name_address \
31922 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 31924 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -31932,7 +31934,7 @@ index 1660c3266a3..a1b84ed81f9 100755
31932 DSYMUTIL \ 31934 DSYMUTIL \
31933 NMEDIT \ 31935 NMEDIT \
31934 LIPO \ 31936 LIPO \
31935@@ -15504,7 +16171,6 @@ no_undefined_flag \ 31937@@ -15501,7 +16168,6 @@ no_undefined_flag \
31936 hardcode_libdir_flag_spec \ 31938 hardcode_libdir_flag_spec \
31937 hardcode_libdir_flag_spec_ld \ 31939 hardcode_libdir_flag_spec_ld \
31938 hardcode_libdir_separator \ 31940 hardcode_libdir_separator \
@@ -31940,7 +31942,7 @@ index 1660c3266a3..a1b84ed81f9 100755
31940 exclude_expsyms \ 31942 exclude_expsyms \
31941 include_expsyms \ 31943 include_expsyms \
31942 file_list_spec \ 31944 file_list_spec \
31943@@ -15540,6 +16206,7 @@ module_cmds \ 31945@@ -15537,6 +16203,7 @@ module_cmds \
31944 module_expsym_cmds \ 31946 module_expsym_cmds \
31945 export_symbols_cmds \ 31947 export_symbols_cmds \
31946 prelink_cmds \ 31948 prelink_cmds \
@@ -31948,7 +31950,7 @@ index 1660c3266a3..a1b84ed81f9 100755
31948 postinstall_cmds \ 31950 postinstall_cmds \
31949 postuninstall_cmds \ 31951 postuninstall_cmds \
31950 finish_cmds \ 31952 finish_cmds \
31951@@ -16313,7 +16980,8 @@ $as_echo X"$file" | 31953@@ -16310,7 +16977,8 @@ $as_echo X"$file" |
31952 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 31954 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
31953 # 31955 #
31954 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 31956 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -31958,7 +31960,7 @@ index 1660c3266a3..a1b84ed81f9 100755
31958 # Written by Gordon Matzigkeit, 1996 31960 # Written by Gordon Matzigkeit, 1996
31959 # 31961 #
31960 # This file is part of GNU Libtool. 31962 # This file is part of GNU Libtool.
31961@@ -16416,19 +17084,42 @@ SP2NL=$lt_lt_SP2NL 31963@@ -16413,19 +17081,42 @@ SP2NL=$lt_lt_SP2NL
31962 # turn newlines into spaces. 31964 # turn newlines into spaces.
31963 NL2SP=$lt_lt_NL2SP 31965 NL2SP=$lt_lt_NL2SP
31964 31966
@@ -32002,7 +32004,7 @@ index 1660c3266a3..a1b84ed81f9 100755
32002 # A symbol stripping program. 32004 # A symbol stripping program.
32003 STRIP=$lt_STRIP 32005 STRIP=$lt_STRIP
32004 32006
32005@@ -16458,6 +17149,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 32007@@ -16455,6 +17146,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
32006 # Transform the output of nm in a C name address pair when lib prefix is needed. 32008 # Transform the output of nm in a C name address pair when lib prefix is needed.
32007 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 32009 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
32008 32010
@@ -32015,7 +32017,7 @@ index 1660c3266a3..a1b84ed81f9 100755
32015 # The name of the directory that contains temporary libtool files. 32017 # The name of the directory that contains temporary libtool files.
32016 objdir=$objdir 32018 objdir=$objdir
32017 32019
32018@@ -16467,6 +17164,9 @@ MAGIC_CMD=$MAGIC_CMD 32020@@ -16464,6 +17161,9 @@ MAGIC_CMD=$MAGIC_CMD
32019 # Must we lock files when doing compilation? 32021 # Must we lock files when doing compilation?
32020 need_locks=$lt_need_locks 32022 need_locks=$lt_need_locks
32021 32023
@@ -32025,7 +32027,7 @@ index 1660c3266a3..a1b84ed81f9 100755
32025 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. 32027 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
32026 DSYMUTIL=$lt_DSYMUTIL 32028 DSYMUTIL=$lt_DSYMUTIL
32027 32029
32028@@ -16581,12 +17281,12 @@ with_gcc=$GCC 32030@@ -16578,12 +17278,12 @@ with_gcc=$GCC
32029 # Compiler flag to turn off builtin functions. 32031 # Compiler flag to turn off builtin functions.
32030 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 32032 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
32031 32033
@@ -32041,7 +32043,7 @@ index 1660c3266a3..a1b84ed81f9 100755
32041 # Compiler flag to prevent dynamic linking. 32043 # Compiler flag to prevent dynamic linking.
32042 link_static_flag=$lt_lt_prog_compiler_static 32044 link_static_flag=$lt_lt_prog_compiler_static
32043 32045
32044@@ -16673,9 +17373,6 @@ inherit_rpath=$inherit_rpath 32046@@ -16670,9 +17370,6 @@ inherit_rpath=$inherit_rpath
32045 # Whether libtool must link a program against all its dependency libraries. 32047 # Whether libtool must link a program against all its dependency libraries.
32046 link_all_deplibs=$link_all_deplibs 32048 link_all_deplibs=$link_all_deplibs
32047 32049
@@ -32051,7 +32053,7 @@ index 1660c3266a3..a1b84ed81f9 100755
32051 # Set to "yes" if exported symbols are required. 32053 # Set to "yes" if exported symbols are required.
32052 always_export_symbols=$always_export_symbols 32054 always_export_symbols=$always_export_symbols
32053 32055
32054@@ -16691,6 +17388,9 @@ include_expsyms=$lt_include_expsyms 32056@@ -16688,6 +17385,9 @@ include_expsyms=$lt_include_expsyms
32055 # Commands necessary for linking programs (against libraries) with templates. 32057 # Commands necessary for linking programs (against libraries) with templates.
32056 prelink_cmds=$lt_prelink_cmds 32058 prelink_cmds=$lt_prelink_cmds
32057 32059
@@ -32061,7 +32063,7 @@ index 1660c3266a3..a1b84ed81f9 100755
32061 # Specify filename containing input files. 32063 # Specify filename containing input files.
32062 file_list_spec=$lt_file_list_spec 32064 file_list_spec=$lt_file_list_spec
32063 32065
32064@@ -16723,210 +17423,169 @@ ltmain="$ac_aux_dir/ltmain.sh" 32066@@ -16720,210 +17420,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
32065 # if finds mixed CR/LF and LF-only lines. Since sed operates in 32067 # if finds mixed CR/LF and LF-only lines. Since sed operates in
32066 # text mode, it properly converts lines to CR/LF. This bash problem 32068 # text mode, it properly converts lines to CR/LF. This bash problem
32067 # is reportedly fixed, but why not run on old versions too? 32069 # is reportedly fixed, but why not run on old versions too?
@@ -32436,7 +32438,7 @@ index 1660c3266a3..a1b84ed81f9 100755
32436 chmod +x "$ofile" 32438 chmod +x "$ofile"
32437 32439
32438diff --git a/zlib/Makefile.in b/zlib/Makefile.in 32440diff --git a/zlib/Makefile.in b/zlib/Makefile.in
32439index dd8a21deba1..28628282c56 100644 32441index 951260ac4c5..9398823cc09 100644
32440--- a/zlib/Makefile.in 32442--- a/zlib/Makefile.in
32441+++ b/zlib/Makefile.in 32443+++ b/zlib/Makefile.in
32442@@ -281,6 +281,7 @@ CPPFLAGS = @CPPFLAGS@ 32444@@ -281,6 +281,7 @@ CPPFLAGS = @CPPFLAGS@
@@ -32464,7 +32466,7 @@ index dd8a21deba1..28628282c56 100644
32464 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ 32466 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
32465 am__include = @am__include@ 32467 am__include = @am__include@
32466diff --git a/zlib/configure b/zlib/configure 32468diff --git a/zlib/configure b/zlib/configure
32467index 2d551360683..e01d0a70438 100755 32469index cae55c5ca49..24193ee5db7 100755
32468--- a/zlib/configure 32470--- a/zlib/configure
32469+++ b/zlib/configure 32471+++ b/zlib/configure
32470@@ -648,8 +648,11 @@ OTOOL 32472@@ -648,8 +648,11 @@ OTOOL
@@ -32496,7 +32498,7 @@ index 2d551360683..e01d0a70438 100755
32496 32498
32497 Some influential environment variables: 32499 Some influential environment variables:
32498 CC C compiler command 32500 CC C compiler command
32499@@ -4190,8 +4196,8 @@ esac 32501@@ -4189,8 +4195,8 @@ esac
32500 32502
32501 32503
32502 32504
@@ -32507,7 +32509,7 @@ index 2d551360683..e01d0a70438 100755
32507 32509
32508 32510
32509 32511
32510@@ -4231,7 +4237,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 32512@@ -4230,7 +4236,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
32511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 32513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
32512 $as_echo_n "checking how to print strings... " >&6; } 32514 $as_echo_n "checking how to print strings... " >&6; }
32513 # Test print first, because it will be a builtin if present. 32515 # Test print first, because it will be a builtin if present.
@@ -32516,7 +32518,7 @@ index 2d551360683..e01d0a70438 100755
32516 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 32518 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
32517 ECHO='print -r --' 32519 ECHO='print -r --'
32518 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 32520 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
32519@@ -5054,8 +5060,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; 32521@@ -5053,8 +5059,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
32520 # Try some XSI features 32522 # Try some XSI features
32521 xsi_shell=no 32523 xsi_shell=no
32522 ( _lt_dummy="a/b/c" 32524 ( _lt_dummy="a/b/c"
@@ -32527,7 +32529,7 @@ index 2d551360683..e01d0a70438 100755
32527 && eval 'test $(( 1 + 1 )) -eq 2 \ 32529 && eval 'test $(( 1 + 1 )) -eq 2 \
32528 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 32530 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
32529 && xsi_shell=yes 32531 && xsi_shell=yes
32530@@ -5104,6 +5110,80 @@ esac 32532@@ -5103,6 +5109,80 @@ esac
32531 32533
32532 32534
32533 32535
@@ -32608,7 +32610,7 @@ index 2d551360683..e01d0a70438 100755
32608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 32610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
32609 $as_echo_n "checking for $LD option to reload object files... " >&6; } 32611 $as_echo_n "checking for $LD option to reload object files... " >&6; }
32610 if ${lt_cv_ld_reload_flag+:} false; then : 32612 if ${lt_cv_ld_reload_flag+:} false; then :
32611@@ -5120,6 +5200,11 @@ case $reload_flag in 32613@@ -5119,6 +5199,11 @@ case $reload_flag in
32612 esac 32614 esac
32613 reload_cmds='$LD$reload_flag -o $output$reload_objs' 32615 reload_cmds='$LD$reload_flag -o $output$reload_objs'
32614 case $host_os in 32616 case $host_os in
@@ -32620,7 +32622,7 @@ index 2d551360683..e01d0a70438 100755
32620 darwin*) 32622 darwin*)
32621 if test "$GCC" = yes; then 32623 if test "$GCC" = yes; then
32622 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 32624 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
32623@@ -5288,7 +5373,8 @@ mingw* | pw32*) 32625@@ -5287,7 +5372,8 @@ mingw* | pw32*)
32624 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 32626 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
32625 lt_cv_file_magic_cmd='func_win32_libid' 32627 lt_cv_file_magic_cmd='func_win32_libid'
32626 else 32628 else
@@ -32630,7 +32632,7 @@ index 2d551360683..e01d0a70438 100755
32630 lt_cv_file_magic_cmd='$OBJDUMP -f' 32632 lt_cv_file_magic_cmd='$OBJDUMP -f'
32631 fi 32633 fi
32632 ;; 32634 ;;
32633@@ -5447,6 +5533,21 @@ esac 32635@@ -5446,6 +5532,21 @@ esac
32634 fi 32636 fi
32635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 32637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
32636 $as_echo "$lt_cv_deplibs_check_method" >&6; } 32638 $as_echo "$lt_cv_deplibs_check_method" >&6; }
@@ -32652,7 +32654,7 @@ index 2d551360683..e01d0a70438 100755
32652 file_magic_cmd=$lt_cv_file_magic_cmd 32654 file_magic_cmd=$lt_cv_file_magic_cmd
32653 deplibs_check_method=$lt_cv_deplibs_check_method 32655 deplibs_check_method=$lt_cv_deplibs_check_method
32654 test -z "$deplibs_check_method" && deplibs_check_method=unknown 32656 test -z "$deplibs_check_method" && deplibs_check_method=unknown
32655@@ -5462,6 +5563,158 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown 32657@@ -5461,6 +5562,158 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown
32656 32658
32657 32659
32658 32660
@@ -32811,7 +32813,7 @@ index 2d551360683..e01d0a70438 100755
32811 plugin_option= 32813 plugin_option=
32812 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll" 32814 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
32813 for plugin in $plugin_names; do 32815 for plugin in $plugin_names; do
32814@@ -5476,8 +5729,10 @@ for plugin in $plugin_names; do 32816@@ -5475,8 +5728,10 @@ for plugin in $plugin_names; do
32815 done 32817 done
32816 32818
32817 if test -n "$ac_tool_prefix"; then 32819 if test -n "$ac_tool_prefix"; then
@@ -32824,7 +32826,7 @@ index 2d551360683..e01d0a70438 100755
32824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 32826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32825 $as_echo_n "checking for $ac_word... " >&6; } 32827 $as_echo_n "checking for $ac_word... " >&6; }
32826 if ${ac_cv_prog_AR+:} false; then : 32828 if ${ac_cv_prog_AR+:} false; then :
32827@@ -5493,7 +5748,7 @@ do 32829@@ -5492,7 +5747,7 @@ do
32828 test -z "$as_dir" && as_dir=. 32830 test -z "$as_dir" && as_dir=.
32829 for ac_exec_ext in '' $ac_executable_extensions; do 32831 for ac_exec_ext in '' $ac_executable_extensions; do
32830 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 32832 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -32833,7 +32835,7 @@ index 2d551360683..e01d0a70438 100755
32833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 32835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
32834 break 2 32836 break 2
32835 fi 32837 fi
32836@@ -5513,11 +5768,15 @@ $as_echo "no" >&6; } 32838@@ -5512,11 +5767,15 @@ $as_echo "no" >&6; }
32837 fi 32839 fi
32838 32840
32839 32841
@@ -32852,7 +32854,7 @@ index 2d551360683..e01d0a70438 100755
32852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 32854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32853 $as_echo_n "checking for $ac_word... " >&6; } 32855 $as_echo_n "checking for $ac_word... " >&6; }
32854 if ${ac_cv_prog_ac_ct_AR+:} false; then : 32856 if ${ac_cv_prog_ac_ct_AR+:} false; then :
32855@@ -5533,7 +5792,7 @@ do 32857@@ -5532,7 +5791,7 @@ do
32856 test -z "$as_dir" && as_dir=. 32858 test -z "$as_dir" && as_dir=.
32857 for ac_exec_ext in '' $ac_executable_extensions; do 32859 for ac_exec_ext in '' $ac_executable_extensions; do
32858 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 32860 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
@@ -32861,7 +32863,7 @@ index 2d551360683..e01d0a70438 100755
32861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 32863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
32862 break 2 32864 break 2
32863 fi 32865 fi
32864@@ -5552,6 +5811,10 @@ else 32866@@ -5551,6 +5810,10 @@ else
32865 $as_echo "no" >&6; } 32867 $as_echo "no" >&6; }
32866 fi 32868 fi
32867 32869
@@ -32872,7 +32874,7 @@ index 2d551360683..e01d0a70438 100755
32872 if test "x$ac_ct_AR" = x; then 32874 if test "x$ac_ct_AR" = x; then
32873 AR="false" 32875 AR="false"
32874 else 32876 else
32875@@ -5563,25 +5826,19 @@ ac_tool_warned=yes ;; 32877@@ -5562,25 +5825,19 @@ ac_tool_warned=yes ;;
32876 esac 32878 esac
32877 AR=$ac_ct_AR 32879 AR=$ac_ct_AR
32878 fi 32880 fi
@@ -32907,7 +32909,7 @@ index 2d551360683..e01d0a70438 100755
32907 32909
32908 32910
32909 32911
32910@@ -5593,6 +5850,64 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru 32912@@ -5592,6 +5849,64 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
32911 32913
32912 32914
32913 32915
@@ -32972,7 +32974,7 @@ index 2d551360683..e01d0a70438 100755
32972 if test -n "$ac_tool_prefix"; then 32974 if test -n "$ac_tool_prefix"; then
32973 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 32975 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
32974 set dummy ${ac_tool_prefix}strip; ac_word=$2 32976 set dummy ${ac_tool_prefix}strip; ac_word=$2
32975@@ -5932,8 +6247,8 @@ esac 32977@@ -5931,8 +6246,8 @@ esac
32976 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 32978 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
32977 32979
32978 # Transform an extracted symbol line into symbol name and symbol address 32980 # Transform an extracted symbol line into symbol name and symbol address
@@ -32983,7 +32985,7 @@ index 2d551360683..e01d0a70438 100755
32983 32985
32984 # Handle CRLF in mingw tool chain 32986 # Handle CRLF in mingw tool chain
32985 opt_cr= 32987 opt_cr=
32986@@ -5969,6 +6284,7 @@ for ac_symprfx in "" "_"; do 32988@@ -5968,6 +6283,7 @@ for ac_symprfx in "" "_"; do
32987 else 32989 else
32988 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 32990 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
32989 fi 32991 fi
@@ -32991,7 +32993,7 @@ index 2d551360683..e01d0a70438 100755
32991 32993
32992 # Check to see that the pipe works correctly. 32994 # Check to see that the pipe works correctly.
32993 pipe_works=no 32995 pipe_works=no
32994@@ -6010,6 +6326,18 @@ _LT_EOF 32996@@ -6009,6 +6325,18 @@ _LT_EOF
32995 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 32997 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
32996 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 32998 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
32997 cat <<_LT_EOF > conftest.$ac_ext 32999 cat <<_LT_EOF > conftest.$ac_ext
@@ -33010,7 +33012,7 @@ index 2d551360683..e01d0a70438 100755
33010 #ifdef __cplusplus 33012 #ifdef __cplusplus
33011 extern "C" { 33013 extern "C" {
33012 #endif 33014 #endif
33013@@ -6021,7 +6349,7 @@ _LT_EOF 33015@@ -6020,7 +6348,7 @@ _LT_EOF
33014 cat <<_LT_EOF >> conftest.$ac_ext 33016 cat <<_LT_EOF >> conftest.$ac_ext
33015 33017
33016 /* The mapping between symbol names and symbols. */ 33018 /* The mapping between symbol names and symbols. */
@@ -33019,7 +33021,7 @@ index 2d551360683..e01d0a70438 100755
33019 const char *name; 33021 const char *name;
33020 void *address; 33022 void *address;
33021 } 33023 }
33022@@ -6047,8 +6375,8 @@ static const void *lt_preloaded_setup() { 33024@@ -6046,8 +6374,8 @@ static const void *lt_preloaded_setup() {
33023 _LT_EOF 33025 _LT_EOF
33024 # Now try linking the two files. 33026 # Now try linking the two files.
33025 mv conftest.$ac_objext conftstm.$ac_objext 33027 mv conftest.$ac_objext conftstm.$ac_objext
@@ -33030,7 +33032,7 @@ index 2d551360683..e01d0a70438 100755
33030 LIBS="conftstm.$ac_objext" 33032 LIBS="conftstm.$ac_objext"
33031 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 33033 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
33032 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 33034 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
33033@@ -6058,8 +6386,8 @@ _LT_EOF 33035@@ -6057,8 +6385,8 @@ _LT_EOF
33034 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 33036 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
33035 pipe_works=yes 33037 pipe_works=yes
33036 fi 33038 fi
@@ -33041,7 +33043,7 @@ index 2d551360683..e01d0a70438 100755
33041 else 33043 else
33042 echo "cannot find nm_test_func in $nlist" >&5 33044 echo "cannot find nm_test_func in $nlist" >&5
33043 fi 33045 fi
33044@@ -6096,6 +6424,17 @@ else 33046@@ -6095,6 +6423,17 @@ else
33045 $as_echo "ok" >&6; } 33047 $as_echo "ok" >&6; }
33046 fi 33048 fi
33047 33049
@@ -33059,7 +33061,7 @@ index 2d551360683..e01d0a70438 100755
33059 33061
33060 33062
33061 33063
33062@@ -6113,6 +6452,43 @@ fi 33064@@ -6112,6 +6451,43 @@ fi
33063 33065
33064 33066
33065 33067
@@ -33103,7 +33105,7 @@ index 2d551360683..e01d0a70438 100755
33103 33105
33104 33106
33105 33107
33106@@ -6327,6 +6703,123 @@ esac 33108@@ -6326,6 +6702,123 @@ esac
33107 33109
33108 need_locks="$enable_libtool_lock" 33110 need_locks="$enable_libtool_lock"
33109 33111
@@ -33227,7 +33229,7 @@ index 2d551360683..e01d0a70438 100755
33227 33229
33228 case $host_os in 33230 case $host_os in
33229 rhapsody* | darwin*) 33231 rhapsody* | darwin*)
33230@@ -6893,6 +7386,8 @@ _LT_EOF 33232@@ -6892,6 +7385,8 @@ _LT_EOF
33231 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 33233 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
33232 echo "$AR cru libconftest.a conftest.o" >&5 33234 echo "$AR cru libconftest.a conftest.o" >&5
33233 $AR cru libconftest.a conftest.o 2>&5 33235 $AR cru libconftest.a conftest.o 2>&5
@@ -33236,7 +33238,7 @@ index 2d551360683..e01d0a70438 100755
33236 cat > conftest.c << _LT_EOF 33238 cat > conftest.c << _LT_EOF
33237 int main() { return 0;} 33239 int main() { return 0;}
33238 _LT_EOF 33240 _LT_EOF
33239@@ -7744,8 +8239,6 @@ fi 33241@@ -7743,8 +8238,6 @@ fi
33240 lt_prog_compiler_pic= 33242 lt_prog_compiler_pic=
33241 lt_prog_compiler_static= 33243 lt_prog_compiler_static=
33242 33244
@@ -33245,7 +33247,7 @@ index 2d551360683..e01d0a70438 100755
33245 33247
33246 if test "$GCC" = yes; then 33248 if test "$GCC" = yes; then
33247 lt_prog_compiler_wl='-Wl,' 33249 lt_prog_compiler_wl='-Wl,'
33248@@ -7911,6 +8404,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } 33250@@ -7910,6 +8403,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
33249 lt_prog_compiler_pic='--shared' 33251 lt_prog_compiler_pic='--shared'
33250 lt_prog_compiler_static='--static' 33252 lt_prog_compiler_static='--static'
33251 ;; 33253 ;;
@@ -33258,7 +33260,7 @@ index 2d551360683..e01d0a70438 100755
33258 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 33260 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
33259 # Portland Group compilers (*not* the Pentium gcc compiler, 33261 # Portland Group compilers (*not* the Pentium gcc compiler,
33260 # which looks to be a dead project) 33262 # which looks to be a dead project)
33261@@ -7973,7 +8472,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } 33263@@ -7972,7 +8471,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
33262 lt_prog_compiler_pic='-KPIC' 33264 lt_prog_compiler_pic='-KPIC'
33263 lt_prog_compiler_static='-Bstatic' 33265 lt_prog_compiler_static='-Bstatic'
33264 case $cc_basename in 33266 case $cc_basename in
@@ -33267,7 +33269,7 @@ index 2d551360683..e01d0a70438 100755
33267 lt_prog_compiler_wl='-Qoption ld ';; 33269 lt_prog_compiler_wl='-Qoption ld ';;
33268 *) 33270 *)
33269 lt_prog_compiler_wl='-Wl,';; 33271 lt_prog_compiler_wl='-Wl,';;
33270@@ -8030,13 +8529,17 @@ case $host_os in 33272@@ -8029,13 +8528,17 @@ case $host_os in
33271 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 33273 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
33272 ;; 33274 ;;
33273 esac 33275 esac
@@ -33291,7 +33293,7 @@ index 2d551360683..e01d0a70438 100755
33291 33293
33292 # 33294 #
33293 # Check to make sure the PIC flag actually works. 33295 # Check to make sure the PIC flag actually works.
33294@@ -8097,6 +8600,11 @@ fi 33296@@ -8096,6 +8599,11 @@ fi
33295 33297
33296 33298
33297 33299
@@ -33303,7 +33305,7 @@ index 2d551360683..e01d0a70438 100755
33303 # 33305 #
33304 # Check to make sure the static flag actually works. 33306 # Check to make sure the static flag actually works.
33305 # 33307 #
33306@@ -8447,7 +8955,8 @@ _LT_EOF 33308@@ -8446,7 +8954,8 @@ _LT_EOF
33307 allow_undefined_flag=unsupported 33309 allow_undefined_flag=unsupported
33308 always_export_symbols=no 33310 always_export_symbols=no
33309 enable_shared_with_static_runtimes=yes 33311 enable_shared_with_static_runtimes=yes
@@ -33313,7 +33315,7 @@ index 2d551360683..e01d0a70438 100755
33313 33315
33314 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 33316 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
33315 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 33317 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
33316@@ -8546,12 +9055,12 @@ _LT_EOF 33318@@ -8545,12 +9054,12 @@ _LT_EOF
33317 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 33319 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
33318 hardcode_libdir_flag_spec= 33320 hardcode_libdir_flag_spec=
33319 hardcode_libdir_flag_spec_ld='-rpath $libdir' 33321 hardcode_libdir_flag_spec_ld='-rpath $libdir'
@@ -33328,7 +33330,7 @@ index 2d551360683..e01d0a70438 100755
33328 fi 33330 fi
33329 ;; 33331 ;;
33330 esac 33332 esac
33331@@ -8565,8 +9074,8 @@ _LT_EOF 33333@@ -8564,8 +9073,8 @@ _LT_EOF
33332 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 33334 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
33333 wlarc= 33335 wlarc=
33334 else 33336 else
@@ -33339,7 +33341,7 @@ index 2d551360683..e01d0a70438 100755
33339 fi 33341 fi
33340 ;; 33342 ;;
33341 33343
33342@@ -8584,8 +9093,8 @@ _LT_EOF 33344@@ -8583,8 +9092,8 @@ _LT_EOF
33343 33345
33344 _LT_EOF 33346 _LT_EOF
33345 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 33347 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -33350,7 +33352,7 @@ index 2d551360683..e01d0a70438 100755
33350 else 33352 else
33351 ld_shlibs=no 33353 ld_shlibs=no
33352 fi 33354 fi
33353@@ -8631,8 +9140,8 @@ _LT_EOF 33355@@ -8630,8 +9139,8 @@ _LT_EOF
33354 33356
33355 *) 33357 *)
33356 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 33358 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -33361,7 +33363,7 @@ index 2d551360683..e01d0a70438 100755
33361 else 33363 else
33362 ld_shlibs=no 33364 ld_shlibs=no
33363 fi 33365 fi
33364@@ -8762,7 +9271,13 @@ _LT_EOF 33366@@ -8761,7 +9270,13 @@ _LT_EOF
33365 allow_undefined_flag='-berok' 33367 allow_undefined_flag='-berok'
33366 # Determine the default libpath from the value encoded in an 33368 # Determine the default libpath from the value encoded in an
33367 # empty executable. 33369 # empty executable.
@@ -33376,7 +33378,7 @@ index 2d551360683..e01d0a70438 100755
33376 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 33378 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33377 fi 33379 fi
33378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33379@@ -8778,22 +9293,29 @@ main () 33381@@ -8777,22 +9292,29 @@ main ()
33380 _ACEOF 33382 _ACEOF
33381 if ac_fn_c_try_link "$LINENO"; then : 33383 if ac_fn_c_try_link "$LINENO"; then :
33382 33384
@@ -33419,7 +33421,7 @@ index 2d551360683..e01d0a70438 100755
33419 33421
33420 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 33422 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
33421 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 33423 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
33422@@ -8805,7 +9327,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 33424@@ -8804,7 +9326,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
33423 else 33425 else
33424 # Determine the default libpath from the value encoded in an 33426 # Determine the default libpath from the value encoded in an
33425 # empty executable. 33427 # empty executable.
@@ -33434,7 +33436,7 @@ index 2d551360683..e01d0a70438 100755
33434 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 33436 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33435 fi 33437 fi
33436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33437@@ -8821,22 +9349,29 @@ main () 33439@@ -8820,22 +9348,29 @@ main ()
33438 _ACEOF 33440 _ACEOF
33439 if ac_fn_c_try_link "$LINENO"; then : 33441 if ac_fn_c_try_link "$LINENO"; then :
33440 33442
@@ -33477,7 +33479,7 @@ index 2d551360683..e01d0a70438 100755
33477 33479
33478 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 33480 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
33479 # Warning - without using the other run time loading flags, 33481 # Warning - without using the other run time loading flags,
33480@@ -8881,20 +9416,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 33482@@ -8880,20 +9415,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
33481 # Microsoft Visual C++. 33483 # Microsoft Visual C++.
33482 # hardcode_libdir_flag_spec is actually meaningless, as there is 33484 # hardcode_libdir_flag_spec is actually meaningless, as there is
33483 # no search path for DLLs. 33485 # no search path for DLLs.
@@ -33555,7 +33557,7 @@ index 2d551360683..e01d0a70438 100755
33555 ;; 33557 ;;
33556 33558
33557 darwin* | rhapsody*) 33559 darwin* | rhapsody*)
33558@@ -8955,7 +9533,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 33560@@ -8954,7 +9532,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
33559 33561
33560 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 33562 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
33561 freebsd* | dragonfly*) 33563 freebsd* | dragonfly*)
@@ -33564,7 +33566,7 @@ index 2d551360683..e01d0a70438 100755
33564 hardcode_libdir_flag_spec='-R$libdir' 33566 hardcode_libdir_flag_spec='-R$libdir'
33565 hardcode_direct=yes 33567 hardcode_direct=yes
33566 hardcode_shlibpath_var=no 33568 hardcode_shlibpath_var=no
33567@@ -8963,7 +9541,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 33569@@ -8962,7 +9540,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
33568 33570
33569 hpux9*) 33571 hpux9*)
33570 if test "$GCC" = yes; then 33572 if test "$GCC" = yes; then
@@ -33573,7 +33575,7 @@ index 2d551360683..e01d0a70438 100755
33573 else 33575 else
33574 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 33576 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
33575 fi 33577 fi
33576@@ -8979,7 +9557,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 33578@@ -8978,7 +9556,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
33577 33579
33578 hpux10*) 33580 hpux10*)
33579 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 33581 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -33582,7 +33584,7 @@ index 2d551360683..e01d0a70438 100755
33582 else 33584 else
33583 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 33585 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
33584 fi 33586 fi
33585@@ -9003,10 +9581,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 33587@@ -9002,10 +9580,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
33586 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 33588 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
33587 ;; 33589 ;;
33588 ia64*) 33590 ia64*)
@@ -33595,7 +33597,7 @@ index 2d551360683..e01d0a70438 100755
33595 ;; 33597 ;;
33596 esac 33598 esac
33597 else 33599 else
33598@@ -9085,26 +9663,39 @@ fi 33600@@ -9084,26 +9662,39 @@ fi
33599 33601
33600 irix5* | irix6* | nonstopux*) 33602 irix5* | irix6* | nonstopux*)
33601 if test "$GCC" = yes; then 33603 if test "$GCC" = yes; then
@@ -33643,7 +33645,7 @@ index 2d551360683..e01d0a70438 100755
33643 else 33645 else
33644 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 33646 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
33645 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' 33647 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
33646@@ -9189,7 +9780,7 @@ rm -f core conftest.err conftest.$ac_objext \ 33648@@ -9188,7 +9779,7 @@ rm -f core conftest.err conftest.$ac_objext \
33647 osf4* | osf5*) # as osf3* with the addition of -msym flag 33649 osf4* | osf5*) # as osf3* with the addition of -msym flag
33648 if test "$GCC" = yes; then 33650 if test "$GCC" = yes; then
33649 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 33651 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
@@ -33652,7 +33654,7 @@ index 2d551360683..e01d0a70438 100755
33652 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 33654 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
33653 else 33655 else
33654 allow_undefined_flag=' -expect_unresolved \*' 33656 allow_undefined_flag=' -expect_unresolved \*'
33655@@ -9208,9 +9799,9 @@ rm -f core conftest.err conftest.$ac_objext \ 33657@@ -9207,9 +9798,9 @@ rm -f core conftest.err conftest.$ac_objext \
33656 no_undefined_flag=' -z defs' 33658 no_undefined_flag=' -z defs'
33657 if test "$GCC" = yes; then 33659 if test "$GCC" = yes; then
33658 wlarc='${wl}' 33660 wlarc='${wl}'
@@ -33664,7 +33666,7 @@ index 2d551360683..e01d0a70438 100755
33664 else 33666 else
33665 case `$CC -V 2>&1` in 33667 case `$CC -V 2>&1` in
33666 *"Compilers 5.0"*) 33668 *"Compilers 5.0"*)
33667@@ -9786,8 +10377,9 @@ cygwin* | mingw* | pw32* | cegcc*) 33669@@ -9785,8 +10376,9 @@ cygwin* | mingw* | pw32* | cegcc*)
33668 need_version=no 33670 need_version=no
33669 need_lib_prefix=no 33671 need_lib_prefix=no
33670 33672
@@ -33676,7 +33678,7 @@ index 2d551360683..e01d0a70438 100755
33676 library_names_spec='$libname.dll.a' 33678 library_names_spec='$libname.dll.a'
33677 # DLL is installed to $(libdir)/../bin by postinstall_cmds 33679 # DLL is installed to $(libdir)/../bin by postinstall_cmds
33678 postinstall_cmds='base_file=`basename \${file}`~ 33680 postinstall_cmds='base_file=`basename \${file}`~
33679@@ -9820,13 +10412,71 @@ cygwin* | mingw* | pw32* | cegcc*) 33681@@ -9819,13 +10411,71 @@ cygwin* | mingw* | pw32* | cegcc*)
33680 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 33682 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
33681 ;; 33683 ;;
33682 esac 33684 esac
@@ -33749,16 +33751,16 @@ index 2d551360683..e01d0a70438 100755
33749 # FIXME: first we should search . and the directory the executable is in 33751 # FIXME: first we should search . and the directory the executable is in
33750 shlibpath_var=PATH 33752 shlibpath_var=PATH
33751 ;; 33753 ;;
33752@@ -10746,7 +11396,7 @@ else 33754@@ -10745,7 +11395,7 @@ else
33753 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 33755 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
33754 lt_status=$lt_dlunknown 33756 lt_status=$lt_dlunknown
33755 cat > conftest.$ac_ext <<_LT_EOF 33757 cat > conftest.$ac_ext <<_LT_EOF
33756-#line 10749 "configure" 33758-#line 10748 "configure"
33757+#line $LINENO "configure" 33759+#line $LINENO "configure"
33758 #include "confdefs.h" 33760 #include "confdefs.h"
33759 33761
33760 #if HAVE_DLFCN_H 33762 #if HAVE_DLFCN_H
33761@@ -10790,10 +11440,10 @@ else 33763@@ -10789,10 +11439,10 @@ else
33762 /* When -fvisbility=hidden is used, assume the code has been annotated 33764 /* When -fvisbility=hidden is used, assume the code has been annotated
33763 correspondingly for the symbols needed. */ 33765 correspondingly for the symbols needed. */
33764 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 33766 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -33771,16 +33773,16 @@ index 2d551360683..e01d0a70438 100755
33771 int main () 33773 int main ()
33772 { 33774 {
33773 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 33775 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
33774@@ -10852,7 +11502,7 @@ else 33776@@ -10851,7 +11501,7 @@ else
33775 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 33777 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
33776 lt_status=$lt_dlunknown 33778 lt_status=$lt_dlunknown
33777 cat > conftest.$ac_ext <<_LT_EOF 33779 cat > conftest.$ac_ext <<_LT_EOF
33778-#line 10855 "configure" 33780-#line 10854 "configure"
33779+#line $LINENO "configure" 33781+#line $LINENO "configure"
33780 #include "confdefs.h" 33782 #include "confdefs.h"
33781 33783
33782 #if HAVE_DLFCN_H 33784 #if HAVE_DLFCN_H
33783@@ -10896,10 +11546,10 @@ else 33785@@ -10895,10 +11545,10 @@ else
33784 /* When -fvisbility=hidden is used, assume the code has been annotated 33786 /* When -fvisbility=hidden is used, assume the code has been annotated
33785 correspondingly for the symbols needed. */ 33787 correspondingly for the symbols needed. */
33786 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 33788 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -33793,7 +33795,7 @@ index 2d551360683..e01d0a70438 100755
33793 int main () 33795 int main ()
33794 { 33796 {
33795 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 33797 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
33796@@ -12385,13 +13035,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 33798@@ -12377,13 +13027,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
33797 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 33799 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
33798 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 33800 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
33799 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 33801 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -33814,7 +33816,7 @@ index 2d551360683..e01d0a70438 100755
33814 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 33816 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
33815 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 33817 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
33816 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 33818 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
33817@@ -12406,14 +13063,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de 33819@@ -12398,14 +13055,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
33818 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 33820 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
33819 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 33821 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
33820 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' 33822 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
@@ -33833,7 +33835,7 @@ index 2d551360683..e01d0a70438 100755
33833 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 33835 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
33834 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 33836 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
33835 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 33837 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
33836@@ -12446,12 +13106,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q 33838@@ -12438,12 +13098,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q
33837 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 33839 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
33838 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 33840 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
33839 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 33841 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -33847,7 +33849,7 @@ index 2d551360683..e01d0a70438 100755
33847 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 33849 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
33848 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 33850 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
33849 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 33851 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
33850@@ -12506,8 +13166,13 @@ reload_flag \ 33852@@ -12498,8 +13158,13 @@ reload_flag \
33851 OBJDUMP \ 33853 OBJDUMP \
33852 deplibs_check_method \ 33854 deplibs_check_method \
33853 file_magic_cmd \ 33855 file_magic_cmd \
@@ -33861,7 +33863,7 @@ index 2d551360683..e01d0a70438 100755
33861 STRIP \ 33863 STRIP \
33862 RANLIB \ 33864 RANLIB \
33863 CC \ 33865 CC \
33864@@ -12517,12 +13182,14 @@ lt_cv_sys_global_symbol_pipe \ 33866@@ -12509,12 +13174,14 @@ lt_cv_sys_global_symbol_pipe \
33865 lt_cv_sys_global_symbol_to_cdecl \ 33867 lt_cv_sys_global_symbol_to_cdecl \
33866 lt_cv_sys_global_symbol_to_c_name_address \ 33868 lt_cv_sys_global_symbol_to_c_name_address \
33867 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 33869 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -33877,7 +33879,7 @@ index 2d551360683..e01d0a70438 100755
33877 DSYMUTIL \ 33879 DSYMUTIL \
33878 NMEDIT \ 33880 NMEDIT \
33879 LIPO \ 33881 LIPO \
33880@@ -12538,7 +13205,6 @@ no_undefined_flag \ 33882@@ -12530,7 +13197,6 @@ no_undefined_flag \
33881 hardcode_libdir_flag_spec \ 33883 hardcode_libdir_flag_spec \
33882 hardcode_libdir_flag_spec_ld \ 33884 hardcode_libdir_flag_spec_ld \
33883 hardcode_libdir_separator \ 33885 hardcode_libdir_separator \
@@ -33885,7 +33887,7 @@ index 2d551360683..e01d0a70438 100755
33885 exclude_expsyms \ 33887 exclude_expsyms \
33886 include_expsyms \ 33888 include_expsyms \
33887 file_list_spec \ 33889 file_list_spec \
33888@@ -12574,6 +13240,7 @@ module_cmds \ 33890@@ -12566,6 +13232,7 @@ module_cmds \
33889 module_expsym_cmds \ 33891 module_expsym_cmds \
33890 export_symbols_cmds \ 33892 export_symbols_cmds \
33891 prelink_cmds \ 33893 prelink_cmds \
@@ -33893,7 +33895,7 @@ index 2d551360683..e01d0a70438 100755
33893 postinstall_cmds \ 33895 postinstall_cmds \
33894 postuninstall_cmds \ 33896 postuninstall_cmds \
33895 finish_cmds \ 33897 finish_cmds \
33896@@ -13172,7 +13839,8 @@ $as_echo X"$file" | 33898@@ -13164,7 +13831,8 @@ $as_echo X"$file" |
33897 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 33899 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
33898 # 33900 #
33899 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 33901 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -33903,7 +33905,7 @@ index 2d551360683..e01d0a70438 100755
33903 # Written by Gordon Matzigkeit, 1996 33905 # Written by Gordon Matzigkeit, 1996
33904 # 33906 #
33905 # This file is part of GNU Libtool. 33907 # This file is part of GNU Libtool.
33906@@ -13275,19 +13943,42 @@ SP2NL=$lt_lt_SP2NL 33908@@ -13267,19 +13935,42 @@ SP2NL=$lt_lt_SP2NL
33907 # turn newlines into spaces. 33909 # turn newlines into spaces.
33908 NL2SP=$lt_lt_NL2SP 33910 NL2SP=$lt_lt_NL2SP
33909 33911
@@ -33947,7 +33949,7 @@ index 2d551360683..e01d0a70438 100755
33947 # A symbol stripping program. 33949 # A symbol stripping program.
33948 STRIP=$lt_STRIP 33950 STRIP=$lt_STRIP
33949 33951
33950@@ -13317,6 +14008,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 33952@@ -13309,6 +14000,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
33951 # Transform the output of nm in a C name address pair when lib prefix is needed. 33953 # Transform the output of nm in a C name address pair when lib prefix is needed.
33952 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 33954 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
33953 33955
@@ -33960,7 +33962,7 @@ index 2d551360683..e01d0a70438 100755
33960 # The name of the directory that contains temporary libtool files. 33962 # The name of the directory that contains temporary libtool files.
33961 objdir=$objdir 33963 objdir=$objdir
33962 33964
33963@@ -13326,6 +14023,9 @@ MAGIC_CMD=$MAGIC_CMD 33965@@ -13318,6 +14015,9 @@ MAGIC_CMD=$MAGIC_CMD
33964 # Must we lock files when doing compilation? 33966 # Must we lock files when doing compilation?
33965 need_locks=$lt_need_locks 33967 need_locks=$lt_need_locks
33966 33968
@@ -33970,7 +33972,7 @@ index 2d551360683..e01d0a70438 100755
33970 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. 33972 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
33971 DSYMUTIL=$lt_DSYMUTIL 33973 DSYMUTIL=$lt_DSYMUTIL
33972 33974
33973@@ -13440,12 +14140,12 @@ with_gcc=$GCC 33975@@ -13432,12 +14132,12 @@ with_gcc=$GCC
33974 # Compiler flag to turn off builtin functions. 33976 # Compiler flag to turn off builtin functions.
33975 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 33977 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
33976 33978
@@ -33986,7 +33988,7 @@ index 2d551360683..e01d0a70438 100755
33986 # Compiler flag to prevent dynamic linking. 33988 # Compiler flag to prevent dynamic linking.
33987 link_static_flag=$lt_lt_prog_compiler_static 33989 link_static_flag=$lt_lt_prog_compiler_static
33988 33990
33989@@ -13532,9 +14232,6 @@ inherit_rpath=$inherit_rpath 33991@@ -13524,9 +14224,6 @@ inherit_rpath=$inherit_rpath
33990 # Whether libtool must link a program against all its dependency libraries. 33992 # Whether libtool must link a program against all its dependency libraries.
33991 link_all_deplibs=$link_all_deplibs 33993 link_all_deplibs=$link_all_deplibs
33992 33994
@@ -33996,7 +33998,7 @@ index 2d551360683..e01d0a70438 100755
33996 # Set to "yes" if exported symbols are required. 33998 # Set to "yes" if exported symbols are required.
33997 always_export_symbols=$always_export_symbols 33999 always_export_symbols=$always_export_symbols
33998 34000
33999@@ -13550,6 +14247,9 @@ include_expsyms=$lt_include_expsyms 34001@@ -13542,6 +14239,9 @@ include_expsyms=$lt_include_expsyms
34000 # Commands necessary for linking programs (against libraries) with templates. 34002 # Commands necessary for linking programs (against libraries) with templates.
34001 prelink_cmds=$lt_prelink_cmds 34003 prelink_cmds=$lt_prelink_cmds
34002 34004
@@ -34006,7 +34008,7 @@ index 2d551360683..e01d0a70438 100755
34006 # Specify filename containing input files. 34008 # Specify filename containing input files.
34007 file_list_spec=$lt_file_list_spec 34009 file_list_spec=$lt_file_list_spec
34008 34010
34009@@ -13582,210 +14282,169 @@ ltmain="$ac_aux_dir/ltmain.sh" 34011@@ -13574,210 +14274,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
34010 # if finds mixed CR/LF and LF-only lines. Since sed operates in 34012 # if finds mixed CR/LF and LF-only lines. Since sed operates in
34011 # text mode, it properly converts lines to CR/LF. This bash problem 34013 # text mode, it properly converts lines to CR/LF. This bash problem
34012 # is reportedly fixed, but why not run on old versions too? 34014 # is reportedly fixed, but why not run on old versions too?
diff --git a/meta/recipes-devtools/binutils/binutils/0009-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch b/meta/recipes-devtools/binutils/binutils/0009-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch
index 50201fb6b6..18f1e90aad 100644
--- a/meta/recipes-devtools/binutils/binutils/0009-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch
+++ b/meta/recipes-devtools/binutils/binutils/0009-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch
@@ -1,4 +1,4 @@
1From c9e810840d95554046b7132e3e2c98bf99cb2d89 Mon Sep 17 00:00:00 2001 1From 1967fbe2cbbb039e3b54666b55f6456325c58e91 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 2 Mar 2015 01:42:38 +0000 3Date: Mon, 2 Mar 2015 01:42:38 +0000
4Subject: [PATCH] Fix rpath in libtool when sysroot is enabled 4Subject: [PATCH] Fix rpath in libtool when sysroot is enabled
@@ -19,10 +19,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
19 1 file changed, 8 insertions(+), 2 deletions(-) 19 1 file changed, 8 insertions(+), 2 deletions(-)
20 20
21diff --git a/ltmain.sh b/ltmain.sh 21diff --git a/ltmain.sh b/ltmain.sh
22index 7f7104ffc82..f59eb4aa631 100644 22index 09693d7b99b..39f0a5bde46 100644
23--- a/ltmain.sh 23--- a/ltmain.sh
24+++ b/ltmain.sh 24+++ b/ltmain.sh
25@@ -8035,9 +8035,11 @@ EOF 25@@ -8056,9 +8056,11 @@ EOF
26 test "$opt_mode" != relink && rpath="$compile_rpath$rpath" 26 test "$opt_mode" != relink && rpath="$compile_rpath$rpath"
27 for libdir in $rpath; do 27 for libdir in $rpath; do
28 if test -n "$hardcode_libdir_flag_spec"; then 28 if test -n "$hardcode_libdir_flag_spec"; then
@@ -36,7 +36,7 @@ index 7f7104ffc82..f59eb4aa631 100644
36 if test -z "$hardcode_libdirs"; then 36 if test -z "$hardcode_libdirs"; then
37 hardcode_libdirs="$libdir" 37 hardcode_libdirs="$libdir"
38 else 38 else
39@@ -8770,6 +8772,10 @@ EOF 39@@ -8791,6 +8793,10 @@ EOF
40 hardcode_libdirs= 40 hardcode_libdirs=
41 for libdir in $compile_rpath $finalize_rpath; do 41 for libdir in $compile_rpath $finalize_rpath; do
42 if test -n "$hardcode_libdir_flag_spec"; then 42 if test -n "$hardcode_libdir_flag_spec"; then
diff --git a/meta/recipes-devtools/binutils/binutils/0010-sync-with-OE-libtool-changes.patch b/meta/recipes-devtools/binutils/binutils/0010-sync-with-OE-libtool-changes.patch
index 57d9ac5f27..fb1463c4e2 100644
--- a/meta/recipes-devtools/binutils/binutils/0010-sync-with-OE-libtool-changes.patch
+++ b/meta/recipes-devtools/binutils/binutils/0010-sync-with-OE-libtool-changes.patch
@@ -1,4 +1,4 @@
1From befc176c209bbb4c32b57c2068e813c88b1ab6b1 Mon Sep 17 00:00:00 2001 1From 6b37e476ee9f7feac837063cd0ca8e634fb76f90 Mon Sep 17 00:00:00 2001
2From: Ross Burton <ross.burton@intel.com> 2From: Ross Burton <ross.burton@intel.com>
3Date: Mon, 6 Mar 2017 23:33:27 -0800 3Date: Mon, 6 Mar 2017 23:33:27 -0800
4Subject: [PATCH] sync with OE libtool changes 4Subject: [PATCH] sync with OE libtool changes
@@ -26,10 +26,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
26 1 file changed, 28 insertions(+), 6 deletions(-) 26 1 file changed, 28 insertions(+), 6 deletions(-)
27 27
28diff --git a/ltmain.sh b/ltmain.sh 28diff --git a/ltmain.sh b/ltmain.sh
29index f59eb4aa631..ce97db42ce7 100644 29index 39f0a5bde46..890719f2de0 100644
30--- a/ltmain.sh 30--- a/ltmain.sh
31+++ b/ltmain.sh 31+++ b/ltmain.sh
32@@ -8053,8 +8053,16 @@ EOF 32@@ -8074,8 +8074,16 @@ EOF
33 esac 33 esac
34 fi 34 fi
35 else 35 else
@@ -48,7 +48,7 @@ index f59eb4aa631..ce97db42ce7 100644
48 fi 48 fi
49 elif test -n "$runpath_var"; then 49 elif test -n "$runpath_var"; then
50 case "$perm_rpath " in 50 case "$perm_rpath " in
51@@ -8790,8 +8798,16 @@ EOF 51@@ -8811,8 +8819,16 @@ EOF
52 esac 52 esac
53 fi 53 fi
54 else 54 else
@@ -67,7 +67,7 @@ index f59eb4aa631..ce97db42ce7 100644
67 fi 67 fi
68 elif test -n "$runpath_var"; then 68 elif test -n "$runpath_var"; then
69 case "$perm_rpath " in 69 case "$perm_rpath " in
70@@ -8841,8 +8857,14 @@ EOF 70@@ -8862,8 +8878,14 @@ EOF
71 esac 71 esac
72 fi 72 fi
73 else 73 else
diff --git a/meta/recipes-devtools/binutils/binutils/0011-Check-for-clang-before-checking-gcc-version.patch b/meta/recipes-devtools/binutils/binutils/0011-Check-for-clang-before-checking-gcc-version.patch
index c47f41f5ca..ddba0c33b6 100644
--- a/meta/recipes-devtools/binutils/binutils/0011-Check-for-clang-before-checking-gcc-version.patch
+++ b/meta/recipes-devtools/binutils/binutils/0011-Check-for-clang-before-checking-gcc-version.patch
@@ -1,4 +1,4 @@
1From cad852e0ed46a1c26607f9e7d17cc5974b05e38a Mon Sep 17 00:00:00 2001 1From 8942cfa25f5822d88f990c3a939c0a4f7832a0e2 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 15 Apr 2020 14:17:20 -0700 3Date: Wed, 15 Apr 2020 14:17:20 -0700
4Subject: [PATCH] Check for clang before checking gcc version 4Subject: [PATCH] Check for clang before checking gcc version
@@ -18,10 +18,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
18 2 files changed, 2 insertions(+), 2 deletions(-) 18 2 files changed, 2 insertions(+), 2 deletions(-)
19 19
20diff --git a/configure b/configure 20diff --git a/configure b/configure
21index 670684d83d1..f9ba1c0a4f7 100755 21index bbfb5979546..fef4bd65124 100755
22--- a/configure 22--- a/configure
23+++ b/configure 23+++ b/configure
24@@ -5432,7 +5432,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 24@@ -5446,7 +5446,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26 /* end confdefs.h. */ 26 /* end confdefs.h. */
27 27
@@ -31,10 +31,10 @@ index 670684d83d1..f9ba1c0a4f7 100755
31 #endif 31 #endif
32 int main() {} 32 int main() {}
33diff --git a/configure.ac b/configure.ac 33diff --git a/configure.ac b/configure.ac
34index 88b4800e298..6cd4530db56 100644 34index f9694cdf901..54a3a968307 100644
35--- a/configure.ac 35--- a/configure.ac
36+++ b/configure.ac 36+++ b/configure.ac
37@@ -1410,7 +1410,7 @@ if test "$GCC" = yes; then 37@@ -1419,7 +1419,7 @@ if test "$GCC" = yes; then
38 AC_MSG_CHECKING([whether g++ accepts -static-libstdc++ -static-libgcc]) 38 AC_MSG_CHECKING([whether g++ accepts -static-libstdc++ -static-libgcc])
39 AC_LANG_PUSH(C++) 39 AC_LANG_PUSH(C++)
40 AC_LINK_IFELSE([AC_LANG_SOURCE([ 40 AC_LINK_IFELSE([AC_LANG_SOURCE([
diff --git a/meta/recipes-devtools/binutils/binutils/0012-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch b/meta/recipes-devtools/binutils/binutils/0012-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch
index 985911aab1..9abd85538f 100644
--- a/meta/recipes-devtools/binutils/binutils/0012-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch
+++ b/meta/recipes-devtools/binutils/binutils/0012-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch
@@ -1,4 +1,4 @@
1From 47e53916e3112391d8bff2b2257dcec0a2426d66 Mon Sep 17 00:00:00 2001 1From fecc7af84b2735fad82da304fce37f373d2c0f53 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 10 Mar 2022 21:21:33 -0800 3Date: Thu, 10 Mar 2022 21:21:33 -0800
4Subject: [PATCH] Only generate an RPATH entry if LD_RUN_PATH is not empty 4Subject: [PATCH] Only generate an RPATH entry if LD_RUN_PATH is not empty
@@ -14,10 +14,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 1 file changed, 5 insertions(+) 14 1 file changed, 5 insertions(+)
15 15
16diff --git a/ld/ldelf.c b/ld/ldelf.c 16diff --git a/ld/ldelf.c b/ld/ldelf.c
17index 187b359af86..ad792f02d63 100644 17index f6f3ac11a76..77442fdc964 100644
18--- a/ld/ldelf.c 18--- a/ld/ldelf.c
19+++ b/ld/ldelf.c 19+++ b/ld/ldelf.c
20@@ -1130,6 +1130,9 @@ ldelf_handle_dt_needed (struct elf_link_hash_table *htab, 20@@ -1134,6 +1134,9 @@ ldelf_handle_dt_needed (struct elf_link_hash_table *htab,
21 && command_line.rpath == NULL) 21 && command_line.rpath == NULL)
22 { 22 {
23 path = (const char *) getenv ("LD_RUN_PATH"); 23 path = (const char *) getenv ("LD_RUN_PATH");
@@ -27,7 +27,7 @@ index 187b359af86..ad792f02d63 100644
27 if (path 27 if (path
28 && ldelf_search_needed (path, &n, force, 28 && ldelf_search_needed (path, &n, force,
29 is_linux, elfsize)) 29 is_linux, elfsize))
30@@ -1805,6 +1808,8 @@ ldelf_before_allocation (char *audit, char *depaudit, 30@@ -1811,6 +1814,8 @@ ldelf_before_allocation (char *audit, char *depaudit,
31 rpath = command_line.rpath; 31 rpath = command_line.rpath;
32 if (rpath == NULL) 32 if (rpath == NULL)
33 rpath = (const char *) getenv ("LD_RUN_PATH"); 33 rpath = (const char *) getenv ("LD_RUN_PATH");
diff --git a/meta/recipes-devtools/binutils/binutils/0013-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch b/meta/recipes-devtools/binutils/binutils/0013-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch
index 0cb2f46a07..b075d9c58b 100644
--- a/meta/recipes-devtools/binutils/binutils/0013-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch
+++ b/meta/recipes-devtools/binutils/binutils/0013-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch
@@ -1,4 +1,4 @@
1From d479020609329cdc7fa3675bc3daf072401fefae Mon Sep 17 00:00:00 2001 1From ea68b64a00dd236c6e062a9403bf8a4b2234aaa5 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 15 Jan 2023 00:16:25 -0800 3Date: Sun, 15 Jan 2023 00:16:25 -0800
4Subject: [PATCH] Define alignof using _Alignof when using C11 or newer 4Subject: [PATCH] Define alignof using _Alignof when using C11 or newer
@@ -25,7 +25,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
25 1 file changed, 10 insertions(+) 25 1 file changed, 10 insertions(+)
26 26
27diff --git a/libiberty/sha1.c b/libiberty/sha1.c 27diff --git a/libiberty/sha1.c b/libiberty/sha1.c
28index 49e8e0b6c2b..72de5cc8ad6 100644 28index 27ceccc027b..a81332972d1 100644
29--- a/libiberty/sha1.c 29--- a/libiberty/sha1.c
30+++ b/libiberty/sha1.c 30+++ b/libiberty/sha1.c
31@@ -234,7 +234,17 @@ sha1_process_bytes (const void *buffer, size_t len, struct sha1_ctx *ctx) 31@@ -234,7 +234,17 @@ sha1_process_bytes (const void *buffer, size_t len, struct sha1_ctx *ctx)
diff --git a/meta/recipes-devtools/binutils/binutils/0014-Remove-duplicate-pe-dll.o-entry-deom-targ_extra_ofil.patch b/meta/recipes-devtools/binutils/binutils/0014-Remove-duplicate-pe-dll.o-entry-deom-targ_extra_ofil.patch
index 8aef2cc710..411994b342 100644
--- a/meta/recipes-devtools/binutils/binutils/0014-Remove-duplicate-pe-dll.o-entry-deom-targ_extra_ofil.patch
+++ b/meta/recipes-devtools/binutils/binutils/0014-Remove-duplicate-pe-dll.o-entry-deom-targ_extra_ofil.patch
@@ -1,4 +1,4 @@
1From ddd941856582a82171626cbe609325b11e223704 Mon Sep 17 00:00:00 2001 1From f40157cc203a8c8348fb9a39d9fd830d6b4b23f7 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Jan 2023 19:35:07 -0800 3Date: Wed, 18 Jan 2023 19:35:07 -0800
4Subject: [PATCH] Remove duplicate pe-dll.o entry deom targ_extra_ofiles 4Subject: [PATCH] Remove duplicate pe-dll.o entry deom targ_extra_ofiles
@@ -18,10 +18,10 @@ Cc: Zac Walker <zac.walker@linaro.org>
18 1 file changed, 1 insertion(+), 1 deletion(-) 18 1 file changed, 1 insertion(+), 1 deletion(-)
19 19
20diff --git a/ld/configure.tgt b/ld/configure.tgt 20diff --git a/ld/configure.tgt b/ld/configure.tgt
21index f937f78b876..830613744c2 100644 21index ea01ccf9a1b..923d6009f9a 100644
22--- a/ld/configure.tgt 22--- a/ld/configure.tgt
23+++ b/ld/configure.tgt 23+++ b/ld/configure.tgt
24@@ -1067,7 +1067,7 @@ x86_64-*-cygwin) targ_emul=i386pep ; 24@@ -1063,7 +1063,7 @@ x86_64-*-cygwin) targ_emul=i386pep ;
25 ;; 25 ;;
26 x86_64-*-mingw*) targ_emul=i386pep ; 26 x86_64-*-mingw*) targ_emul=i386pep ;
27 targ_extra_emuls=i386pe 27 targ_extra_emuls=i386pe
diff --git a/meta/recipes-devtools/binutils/binutils/0015-CVE-2025-1178.patch b/meta/recipes-devtools/binutils/binutils/0015-CVE-2025-1178.patch
new file mode 100644
index 0000000000..c39f43fba4
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils/0015-CVE-2025-1178.patch
@@ -0,0 +1,33 @@
1From 75086e9de1707281172cc77f178e7949a4414ed0 Mon Sep 17 00:00:00 2001
2From: Nick Clifton <nickc@redhat.com>
3Date: Wed, 5 Feb 2025 13:26:51 +0000
4Subject: [PATCH] Prevent an abort in the bfd linker when attempting to
5 generate dynamic relocs for a corrupt input file.
6
7PR 32638
8
9Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=patch;h=75086e9de1707281172cc77f178e7949a4414ed0]
10CVE: CVE-2025-1178
11
12Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
13
14diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
15index cb32732e..a08e9c97 100644
16--- a/bfd/elf64-x86-64.c
17+++ b/bfd/elf64-x86-64.c
18@@ -5031,6 +5031,15 @@ elf_x86_64_finish_dynamic_symbol (bfd *output_bfd,
19
20 if (generate_dynamic_reloc)
21 {
22+ /* If the relgot section has not been created, then
23+ generate an error instead of a reloc. cf PR 32638. */
24+ if (relgot == NULL || relgot->size == 0)
25+ {
26+ info->callbacks->einfo (_("%F%pB: Unable to generate dynamic relocs because a suitable section does not exist\n"),
27+ output_bfd);
28+ return false;
29+ }
30+
31 if (relative_reloc_name != NULL
32 && htab->params->report_relative_reloc)
33 _bfd_x86_elf_link_report_relative_reloc
diff --git a/meta/recipes-devtools/binutils/binutils/0015-gprofng-change-use-of-bignum-to-bigint.patch b/meta/recipes-devtools/binutils/binutils/0015-gprofng-change-use-of-bignum-to-bigint.patch
deleted file mode 100644
index 0d3d289eba..0000000000
--- a/meta/recipes-devtools/binutils/binutils/0015-gprofng-change-use-of-bignum-to-bigint.patch
+++ /dev/null
@@ -1,17 +0,0 @@
1Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=3243d790ee32aa8eda69226d81b1e79dbd1dcd87]
2
3Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
4
5diff --git a/gprofng/gp-display-html/gp-display-html.in b/gprofng/gp-display-html/gp-display-html.in
6index 6f37ca282e7..306c99a0ec3 100644
7--- a/gprofng/gp-display-html/gp-display-html.in
8+++ b/gprofng/gp-display-html/gp-display-html.in
9@@ -25,7 +25,7 @@ use warnings;
10 # Disable before release
11 # use Perl::Critic;
12
13-use bignum;
14+use bigint;
15 use List::Util qw (max);
16 use Cwd qw (abs_path cwd);
17 use File::Basename;
diff --git a/meta/recipes-devtools/binutils/binutils/0016-CVE-2025-1181-1.patch b/meta/recipes-devtools/binutils/binutils/0016-CVE-2025-1181-1.patch
new file mode 100644
index 0000000000..d3709c7a4f
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils/0016-CVE-2025-1181-1.patch
@@ -0,0 +1,141 @@
1From: Nick Clifton <nickc@redhat.com>
2Date: Wed, 5 Feb 2025 14:31:10 +0000
3
4Prevent illegal memory access when checking relocs in a corrupt ELF binary.
5
6PR 32641
7
8Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=18cc11a2771d9e40180485da9a4fb660c03efac3]
9CVE: CVE-2025-1181
10
11Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
12
13diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
14index 785a37dd7fd..d2bf8e5cbae 100644
15--- a/bfd/elf-bfd.h
16+++ b/bfd/elf-bfd.h
17@@ -3150,6 +3150,9 @@ extern bool _bfd_elf_link_mmap_section_contents
18 extern void _bfd_elf_link_munmap_section_contents
19 (asection *);
20
21+extern struct elf_link_hash_entry * _bfd_elf_get_link_hash_entry
22+ (struct elf_link_hash_entry **, unsigned int, Elf_Internal_Shdr *);
23+
24 /* Large common section. */
25 extern asection _bfd_elf_large_com_section;
26
27diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
28index 32db254ba6c..2d82c6583c3 100644
29--- a/bfd/elf64-x86-64.c
30+++ b/bfd/elf64-x86-64.c
31@@ -1744,7 +1744,7 @@ elf_x86_64_convert_load_reloc (bfd *abfd,
32 bool to_reloc_pc32;
33 bool abs_symbol;
34 bool local_ref;
35- asection *tsec;
36+ asection *tsec = NULL;
37 bfd_signed_vma raddend;
38 unsigned int opcode;
39 unsigned int modrm;
40@@ -1910,6 +1910,9 @@ elf_x86_64_convert_load_reloc (bfd *abfd,
41 return true;
42 }
43
44+ if (tsec == NULL)
45+ return false;
46+
47 /* Don't convert GOTPCREL relocation against large section. */
48 if (elf_section_data (tsec) != NULL
49 && (elf_section_flags (tsec) & SHF_X86_64_LARGE) != 0)
50@@ -2206,10 +2209,7 @@ elf_x86_64_scan_relocs (bfd *abfd, struct bfd_link_info *info,
51 else
52 {
53 isym = NULL;
54- h = sym_hashes[r_symndx - symtab_hdr->sh_info];
55- while (h->root.type == bfd_link_hash_indirect
56- || h->root.type == bfd_link_hash_warning)
57- h = (struct elf_link_hash_entry *) h->root.u.i.link;
58+ h = _bfd_elf_get_link_hash_entry (sym_hashes, r_symndx, symtab_hdr);
59 }
60
61 /* Check invalid x32 relocations. */
62diff --git a/bfd/elflink.c b/bfd/elflink.c
63index 1f1263007c0..eafbd133ff5 100644
64--- a/bfd/elflink.c
65+++ b/bfd/elflink.c
66@@ -96,6 +96,27 @@ _bfd_elf_link_keep_memory (struct bfd_link_info *info)
67 return true;
68 }
69
70+struct elf_link_hash_entry *
71+_bfd_elf_get_link_hash_entry (struct elf_link_hash_entry ** sym_hashes,
72+ unsigned int symndx,
73+ Elf_Internal_Shdr * symtab_hdr)
74+{
75+ if (symndx < symtab_hdr->sh_info)
76+ return NULL;
77+
78+ struct elf_link_hash_entry *h = sym_hashes[symndx - symtab_hdr->sh_info];
79+
80+ /* The hash might be empty. See PR 32641 for an example of this. */
81+ if (h == NULL)
82+ return NULL;
83+
84+ while (h->root.type == bfd_link_hash_indirect
85+ || h->root.type == bfd_link_hash_warning)
86+ h = (struct elf_link_hash_entry *) h->root.u.i.link;
87+
88+ return h;
89+}
90+
91 static struct elf_link_hash_entry *
92 get_ext_sym_hash (struct elf_reloc_cookie *cookie, unsigned long r_symndx)
93 {
94@@ -108,6 +129,9 @@ get_ext_sym_hash (struct elf_reloc_cookie *cookie, unsigned long r_symndx)
95 {
96 h = cookie->sym_hashes[r_symndx - cookie->extsymoff];
97
98+ if (h == NULL)
99+ return NULL;
100+
101 while (h->root.type == bfd_link_hash_indirect
102 || h->root.type == bfd_link_hash_warning)
103 h = (struct elf_link_hash_entry *) h->root.u.i.link;
104diff --git a/bfd/elfxx-x86.c b/bfd/elfxx-x86.c
105index 8e5a005fd36..832a5495eb1 100644
106--- a/bfd/elfxx-x86.c
107+++ b/bfd/elfxx-x86.c
108@@ -973,15 +973,7 @@ _bfd_x86_elf_check_relocs (bfd *abfd,
109 goto error_return;
110 }
111
112- if (r_symndx < symtab_hdr->sh_info)
113- h = NULL;
114- else
115- {
116- h = sym_hashes[r_symndx - symtab_hdr->sh_info];
117- while (h->root.type == bfd_link_hash_indirect
118- || h->root.type == bfd_link_hash_warning)
119- h = (struct elf_link_hash_entry *) h->root.u.i.link;
120- }
121+ h = _bfd_elf_get_link_hash_entry (sym_hashes, r_symndx, symtab_hdr);
122
123 if (X86_NEED_DYNAMIC_RELOC_TYPE_P (is_x86_64, r_type)
124 && NEED_DYNAMIC_RELOCATION_P (is_x86_64, info, true, h, sec,
125@@ -1209,10 +1201,12 @@ _bfd_x86_elf_link_relax_section (bfd *abfd ATTRIBUTE_UNUSED,
126 else
127 {
128 /* Get H and SEC for GENERATE_DYNAMIC_RELOCATION_P below. */
129- h = sym_hashes[r_symndx - symtab_hdr->sh_info];
130- while (h->root.type == bfd_link_hash_indirect
131- || h->root.type == bfd_link_hash_warning)
132- h = (struct elf_link_hash_entry *) h->root.u.i.link;
133+ h = _bfd_elf_get_link_hash_entry (sym_hashes, r_symndx, symtab_hdr);
134+ if (h == NULL)
135+ {
136+ /* FIXMEL: Issue an error message ? */
137+ continue;
138+ }
139
140 if (h->root.type == bfd_link_hash_defined
141 || h->root.type == bfd_link_hash_defweak)
diff --git a/meta/recipes-devtools/binutils/binutils/0017-CVE-2025-1181-2.patch b/meta/recipes-devtools/binutils/binutils/0017-CVE-2025-1181-2.patch
new file mode 100644
index 0000000000..5af743582f
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils/0017-CVE-2025-1181-2.patch
@@ -0,0 +1,337 @@
1From: Nick Clifton <nickc@redhat.com>
2Date: Wed, 5 Feb 2025 15:43:04 +0000
3
4Add even more checks for corrupt input when processing
5relocations for ELF files.
6
7PR 32643
8
9Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=931494c9a89558acb36a03a340c01726545eef24]
10CVE: CVE-2025-1181
11
12Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
13
14diff --git a/bfd/elflink.c b/bfd/elflink.c
15index fd423d61..91cd7c28 100644
16--- a/bfd/elflink.c
17+++ b/bfd/elflink.c
18@@ -96,15 +96,17 @@
19 return true;
20 }
21
22-struct elf_link_hash_entry *
23-_bfd_elf_get_link_hash_entry (struct elf_link_hash_entry ** sym_hashes,
24- unsigned int symndx,
25- Elf_Internal_Shdr * symtab_hdr)
26+static struct elf_link_hash_entry *
27+get_link_hash_entry (struct elf_link_hash_entry ** sym_hashes,
28+ unsigned int symndx,
29+ unsigned int ext_sym_start)
30 {
31- if (symndx < symtab_hdr->sh_info)
32+ if (sym_hashes == NULL
33+ /* Guard against corrupt input. See PR 32636 for an example. */
34+ || symndx < ext_sym_start)
35 return NULL;
36
37- struct elf_link_hash_entry *h = sym_hashes[symndx - symtab_hdr->sh_info];
38+ struct elf_link_hash_entry *h = sym_hashes[symndx - ext_sym_start];
39
40 /* The hash might be empty. See PR 32641 for an example of this. */
41 if (h == NULL)
42@@ -117,27 +119,28 @@
43 return h;
44 }
45
46-static struct elf_link_hash_entry *
47-get_ext_sym_hash (struct elf_reloc_cookie *cookie, unsigned long r_symndx)
48+struct elf_link_hash_entry *
49+_bfd_elf_get_link_hash_entry (struct elf_link_hash_entry ** sym_hashes,
50+ unsigned int symndx,
51+ Elf_Internal_Shdr * symtab_hdr)
52 {
53- struct elf_link_hash_entry *h = NULL;
54-
55- if ((r_symndx >= cookie->locsymcount
56- || ELF_ST_BIND (cookie->locsyms[r_symndx].st_info) != STB_LOCAL)
57- /* Guard against corrupt input. See PR 32636 for an example. */
58- && r_symndx >= cookie->extsymoff)
59- {
60- h = cookie->sym_hashes[r_symndx - cookie->extsymoff];
61+ if (symtab_hdr == NULL)
62+ return NULL;
63
64- if (h == NULL)
65- return NULL;
66+ return get_link_hash_entry (sym_hashes, symndx, symtab_hdr->sh_info);
67+}
68
69- while (h->root.type == bfd_link_hash_indirect
70- || h->root.type == bfd_link_hash_warning)
71- h = (struct elf_link_hash_entry *) h->root.u.i.link;
72- }
73+static struct elf_link_hash_entry *
74+get_ext_sym_hash_from_cookie (struct elf_reloc_cookie *cookie, unsigned long r_symndx)
75+{
76+ if (cookie == NULL || cookie->sym_hashes == NULL)
77+ return NULL;
78+
79+ if (r_symndx >= cookie->locsymcount
80+ || ELF_ST_BIND (cookie->locsyms[r_symndx].st_info) != STB_LOCAL)
81+ return get_link_hash_entry (cookie->sym_hashes, r_symndx, cookie->extsymoff);
82
83- return h;
84+ return NULL;
85 }
86
87 asection *
88@@ -147,7 +150,7 @@
89 {
90 struct elf_link_hash_entry *h;
91
92- h = get_ext_sym_hash (cookie, r_symndx);
93+ h = get_ext_sym_hash_from_cookie (cookie, r_symndx);
94
95 if (h != NULL)
96 {
97@@ -9105,7 +9108,6 @@
98 size_t symidx,
99 bfd_vma val)
100 {
101- struct elf_link_hash_entry **sym_hashes;
102 struct elf_link_hash_entry *h;
103 size_t extsymoff = locsymcount;
104
105@@ -9128,12 +9130,12 @@
106
107 /* It is a global symbol: set its link type
108 to "defined" and give it a value. */
109-
110- sym_hashes = elf_sym_hashes (bfd_with_globals);
111- h = sym_hashes [symidx - extsymoff];
112- while (h->root.type == bfd_link_hash_indirect
113- || h->root.type == bfd_link_hash_warning)
114- h = (struct elf_link_hash_entry *) h->root.u.i.link;
115+ h = get_link_hash_entry (elf_sym_hashes (bfd_with_globals), symidx, extsymoff);
116+ if (h == NULL)
117+ {
118+ /* FIXMEL What should we do ? */
119+ return;
120+ }
121 h->root.type = bfd_link_hash_defined;
122 h->root.u.def.value = val;
123 h->root.u.def.section = bfd_abs_section_ptr;
124@@ -11611,10 +11613,19 @@
125 || (elf_bad_symtab (input_bfd)
126 && flinfo->sections[symndx] == NULL))
127 {
128- struct elf_link_hash_entry *h = sym_hashes[symndx - extsymoff];
129- while (h->root.type == bfd_link_hash_indirect
130- || h->root.type == bfd_link_hash_warning)
131- h = (struct elf_link_hash_entry *) h->root.u.i.link;
132+ struct elf_link_hash_entry *h;
133+
134+ h = get_link_hash_entry (sym_hashes, symndx, extsymoff);
135+ if (h == NULL)
136+ {
137+ _bfd_error_handler
138+ /* xgettext:c-format */
139+ (_("error: %pB: unable to create group section symbol"),
140+ input_bfd);
141+ bfd_set_error (bfd_error_bad_value);
142+ return false;
143+ }
144+
145 /* Arrange for symbol to be output. */
146 h->indx = -2;
147 elf_section_data (osec)->this_hdr.sh_info = -2;
148@@ -11749,7 +11760,7 @@
149 || (elf_bad_symtab (input_bfd)
150 && flinfo->sections[r_symndx] == NULL))
151 {
152- h = sym_hashes[r_symndx - extsymoff];
153+ h = get_link_hash_entry (sym_hashes, r_symndx, extsymoff);
154
155 /* Badly formatted input files can contain relocs that
156 reference non-existant symbols. Check here so that
157@@ -11758,17 +11769,13 @@
158 {
159 _bfd_error_handler
160 /* xgettext:c-format */
161- (_("error: %pB contains a reloc (%#" PRIx64 ") for section %pA "
162+ (_("error: %pB contains a reloc (%#" PRIx64 ") for section '%pA' "
163 "that references a non-existent global symbol"),
164 input_bfd, (uint64_t) rel->r_info, o);
165 bfd_set_error (bfd_error_bad_value);
166 return false;
167 }
168
169- while (h->root.type == bfd_link_hash_indirect
170- || h->root.type == bfd_link_hash_warning)
171- h = (struct elf_link_hash_entry *) h->root.u.i.link;
172-
173 s_type = h->type;
174
175 /* If a plugin symbol is referenced from a non-IR file,
176@@ -11984,7 +11991,6 @@
177 && flinfo->sections[r_symndx] == NULL))
178 {
179 struct elf_link_hash_entry *rh;
180- unsigned long indx;
181
182 /* This is a reloc against a global symbol. We
183 have not yet output all the local symbols, so
184@@ -11993,15 +11999,16 @@
185 reloc to point to the global hash table entry
186 for this symbol. The symbol index is then
187 set at the end of bfd_elf_final_link. */
188- indx = r_symndx - extsymoff;
189- rh = elf_sym_hashes (input_bfd)[indx];
190- while (rh->root.type == bfd_link_hash_indirect
191- || rh->root.type == bfd_link_hash_warning)
192- rh = (struct elf_link_hash_entry *) rh->root.u.i.link;
193-
194- /* Setting the index to -2 tells
195- elf_link_output_extsym that this symbol is
196- used by a reloc. */
197+ rh = get_link_hash_entry (elf_sym_hashes (input_bfd),
198+ r_symndx, extsymoff);
199+ if (rh == NULL)
200+ {
201+ /* FIXME: Generate an error ? */
202+ continue;
203+ }
204+
205+ /* Setting the index to -2 tells elf_link_output_extsym
206+ that this symbol is used by a reloc. */
207 BFD_ASSERT (rh->indx < 0);
208 rh->indx = -2;
209 *rel_hash = rh;
210@@ -13965,25 +13972,21 @@
211 struct elf_link_hash_entry *h,
212 Elf_Internal_Sym *sym)
213 {
214- if (h != NULL)
215+ if (h == NULL)
216+ return bfd_section_from_elf_index (sec->owner, sym->st_shndx);
217+
218+ switch (h->root.type)
219 {
220- switch (h->root.type)
221- {
222- case bfd_link_hash_defined:
223- case bfd_link_hash_defweak:
224- return h->root.u.def.section;
225+ case bfd_link_hash_defined:
226+ case bfd_link_hash_defweak:
227+ return h->root.u.def.section;
228
229- case bfd_link_hash_common:
230- return h->root.u.c.p->section;
231+ case bfd_link_hash_common:
232+ return h->root.u.c.p->section;
233
234- default:
235- break;
236- }
237+ default:
238+ return NULL;
239 }
240- else
241- return bfd_section_from_elf_index (sec->owner, sym->st_shndx);
242-
243- return NULL;
244 }
245
246 /* Return the debug definition section. */
247@@ -14032,46 +14035,49 @@
248 if (r_symndx == STN_UNDEF)
249 return NULL;
250
251- h = get_ext_sym_hash (cookie, r_symndx);
252+ h = get_ext_sym_hash_from_cookie (cookie, r_symndx);
253+ if (h == NULL)
254+ {
255+ /* A corrup tinput file can lead to a situation where the index
256+ does not reference either a local or an external symbol. */
257+ if (r_symndx >= cookie->locsymcount)
258+ return NULL;
259
260- if (h != NULL)
261+ return (*gc_mark_hook) (sec, info, cookie->rel, NULL,
262+ &cookie->locsyms[r_symndx]);
263+ }
264+
265+ bool was_marked = h->mark;
266+
267+ h->mark = 1;
268+ /* Keep all aliases of the symbol too. If an object symbol
269+ needs to be copied into .dynbss then all of its aliases
270+ should be present as dynamic symbols, not just the one used
271+ on the copy relocation. */
272+ hw = h;
273+ while (hw->is_weakalias)
274 {
275- bool was_marked;
276+ hw = hw->u.alias;
277+ hw->mark = 1;
278+ }
279
280- was_marked = h->mark;
281- h->mark = 1;
282- /* Keep all aliases of the symbol too. If an object symbol
283- needs to be copied into .dynbss then all of its aliases
284- should be present as dynamic symbols, not just the one used
285- on the copy relocation. */
286- hw = h;
287- while (hw->is_weakalias)
288- {
289- hw = hw->u.alias;
290- hw->mark = 1;
291- }
292+ if (!was_marked && h->start_stop && !h->root.ldscript_def)
293+ {
294+ if (info->start_stop_gc)
295+ return NULL;
296
297- if (!was_marked && h->start_stop && !h->root.ldscript_def)
298+ /* To work around a glibc bug, mark XXX input sections
299+ when there is a reference to __start_XXX or __stop_XXX
300+ symbols. */
301+ else if (start_stop != NULL)
302 {
303- if (info->start_stop_gc)
304- return NULL;
305-
306- /* To work around a glibc bug, mark XXX input sections
307- when there is a reference to __start_XXX or __stop_XXX
308- symbols. */
309- else if (start_stop != NULL)
310- {
311- asection *s = h->u2.start_stop_section;
312- *start_stop = true;
313- return s;
314- }
315+ asection *s = h->u2.start_stop_section;
316+ *start_stop = true;
317+ return s;
318 }
319-
320- return (*gc_mark_hook) (sec, info, cookie->rel, h, NULL);
321 }
322
323- return (*gc_mark_hook) (sec, info, cookie->rel, NULL,
324- &cookie->locsyms[r_symndx]);
325+ return (*gc_mark_hook) (sec, info, cookie->rel, h, NULL);
326 }
327
328 /* COOKIE->rel describes a relocation against section SEC, which is
329@@ -15094,7 +15100,7 @@
330
331 struct elf_link_hash_entry *h;
332
333- h = get_ext_sym_hash (rcookie, r_symndx);
334+ h = get_ext_sym_hash_from_cookie (rcookie, r_symndx);
335
336 if (h != NULL)
337 {
diff --git a/meta/recipes-devtools/binutils/binutils/0018-CVE-2025-5245.patch b/meta/recipes-devtools/binutils/binutils/0018-CVE-2025-5245.patch
new file mode 100644
index 0000000000..d4b7d55966
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils/0018-CVE-2025-5245.patch
@@ -0,0 +1,38 @@
1From: Alan Modra <amodra@gmail.com>
2Date: Tue, 1 Apr 2025 22:36:54 +1030
3
4PR32829, SEGV on objdump function debug_type_samep
5u.kenum is always non-NULL, see debug_make_enum_type.
6
7Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=6c3458a8b7ee7d39f070c7b2350851cb2110c65a]
8CVE: CVE-2025-5245
9
10Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
11
12diff --git a/binutils/debug.c b/binutils/debug.c
13index dcc8ccde..465b18e7 100644
14--- a/binutils/debug.c
15+++ b/binutils/debug.c
16@@ -2554,9 +2554,6 @@ debug_write_type (struct debug_handle *info,
17 case DEBUG_KIND_UNION_CLASS:
18 return debug_write_class_type (info, fns, fhandle, type, tag);
19 case DEBUG_KIND_ENUM:
20- if (type->u.kenum == NULL)
21- return (*fns->enum_type) (fhandle, tag, (const char **) NULL,
22- (bfd_signed_vma *) NULL);
23 return (*fns->enum_type) (fhandle, tag, type->u.kenum->names,
24 type->u.kenum->values);
25 case DEBUG_KIND_POINTER:
26@@ -3097,9 +3094,9 @@ debug_type_samep (struct debug_handle *info, struct debug_type_s *t1,
27 break;
28
29 case DEBUG_KIND_ENUM:
30- if (t1->u.kenum == NULL)
31- ret = t2->u.kenum == NULL;
32- else if (t2->u.kenum == NULL)
33+ if (t1->u.kenum->names == NULL)
34+ ret = t2->u.kenum->names == NULL;
35+ else if (t2->u.kenum->names == NULL)
36 ret = false;
37 else
38 {
diff --git a/meta/recipes-devtools/binutils/binutils/0019-CVE-2025-3198.patch b/meta/recipes-devtools/binutils/binutils/0019-CVE-2025-3198.patch
new file mode 100644
index 0000000000..49d7c94b9f
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils/0019-CVE-2025-3198.patch
@@ -0,0 +1,28 @@
1From ba6ad3a18cb26b79e0e3b84c39f707535bbc344d Mon Sep 17 00:00:00 2001
2From: Alan Modra <amodra@gmail.com>
3Date: Wed, 19 Feb 2025 07:58:54 +1030
4Subject: [PATCH] PR32716, objdump -i memory leak
5
6 PR binutils/32716
7 * bucomm.c (display_info): Free arg.info.
8
9Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=patch;h=ba6ad3a18cb26b79e0e3b84c39f707535bbc344d]
10CVE: CVE-2025-3198
11
12Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
13---
14 binutils/bucomm.c | 1 +
15 1 file changed, 1 insertion(+)
16
17diff --git a/binutils/bucomm.c b/binutils/bucomm.c
18index ccf54099154..d4554737db1 100644
19--- a/binutils/bucomm.c
20+++ b/binutils/bucomm.c
21@@ -435,6 +435,7 @@ display_info (void)
22 if (!arg.error)
23 display_target_tables (&arg);
24
25+ free (arg.info);
26 return arg.error;
27 }
28
diff --git a/meta/recipes-devtools/binutils/binutils/0019-CVE-2025-5244.patch b/meta/recipes-devtools/binutils/binutils/0019-CVE-2025-5244.patch
new file mode 100644
index 0000000000..e8855a4b4b
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils/0019-CVE-2025-5244.patch
@@ -0,0 +1,25 @@
1From: Alan Modra <amodra@gmail.com>
2Date: Thu, 10 Apr 2025 19:41:49 +0930
3
4Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=patch;h=d1458933830456e54223d9fc61f0d9b3a19256f5]
5CVE: CVE-2025-5244
6
7PR32858 ld segfault on fuzzed object
8We missed one place where it is necessary to check for empty groups.
9
10Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
11
12diff --git a/bfd/elflink.c b/bfd/elflink.c
13index a76e8e38da7..549b7b7dd92 100644
14--- a/bfd/elflink.c
15+++ b/bfd/elflink.c
16@@ -14408,7 +14408,8 @@ elf_gc_sweep (bfd *abfd, struct bfd_link_info *info)
17 if (o->flags & SEC_GROUP)
18 {
19 asection *first = elf_next_in_group (o);
20- o->gc_mark = first->gc_mark;
21+ if (first != NULL)
22+ o->gc_mark = first->gc_mark;
23 }
24
25 if (o->gc_mark)
diff --git a/meta/recipes-devtools/binutils/binutils/CVE-2025-1180.patch b/meta/recipes-devtools/binutils/binutils/CVE-2025-1180.patch
new file mode 100644
index 0000000000..073361cf19
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils/CVE-2025-1180.patch
@@ -0,0 +1,165 @@
1From 509c5afcd71afd36cd6496f8c84733b11bd5e9e5 Mon Sep 17 00:00:00 2001
2From: Nick Clifton <nickc@redhat.com>
3Date: Thu, 22 May 2025 01:56:17 -0700
4Subject: [PATCH] Backport fix for PR 32642(CVE-2025-1180)
5
6Backporting the fix from PR 32636 to fix PR 32642 (ld SEGV (illegal read access)
7in _bfd_elf_write_section_eh_frame (bfd/elf-eh-frame.c:2234:29) with
8 --gc-sections --gc-keep-exported option)
9
10https://nvd.nist.gov/vuln/detail/CVE-2025-1180 is associated with
11PR32642 which will get fixed with commit from PR 32636.
12
13(cherry picked from commit: f9978defb6fab0bd8583942d97c112b0932ac814)
14Upstream-Status: Submitted [https://sourceware.org/pipermail/binutils/2025-May/141351.html]
15CVE: CVE-2025-1180
16
17Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
18---
19 bfd/elflink.c | 88 +++++++++++++++++++++++++--------------------------
20 1 file changed, 44 insertions(+), 44 deletions(-)
21
22diff --git a/bfd/elflink.c b/bfd/elflink.c
23index 6346d7e2b4b..d765b688801 100644
24--- a/bfd/elflink.c
25+++ b/bfd/elflink.c
26@@ -96,22 +96,37 @@ _bfd_elf_link_keep_memory (struct bfd_link_info *info)
27 return true;
28 }
29
30-asection *
31-_bfd_elf_section_for_symbol (struct elf_reloc_cookie *cookie,
32- unsigned long r_symndx,
33- bool discard)
34+static struct elf_link_hash_entry *
35+get_ext_sym_hash (struct elf_reloc_cookie *cookie, unsigned long r_symndx)
36 {
37- if (r_symndx >= cookie->locsymcount
38- || ELF_ST_BIND (cookie->locsyms[r_symndx].st_info) != STB_LOCAL)
39- {
40- struct elf_link_hash_entry *h;
41+ struct elf_link_hash_entry *h = NULL;
42
43+ if ((r_symndx >= cookie->locsymcount
44+ || ELF_ST_BIND (cookie->locsyms[r_symndx].st_info) != STB_LOCAL)
45+ /* Guard against corrupt input. See PR 32636 for an example. */
46+ && r_symndx >= cookie->extsymoff)
47+ {
48 h = cookie->sym_hashes[r_symndx - cookie->extsymoff];
49
50 while (h->root.type == bfd_link_hash_indirect
51 || h->root.type == bfd_link_hash_warning)
52 h = (struct elf_link_hash_entry *) h->root.u.i.link;
53+ }
54+
55+ return h;
56+}
57
58+asection *
59+_bfd_elf_section_for_symbol (struct elf_reloc_cookie *cookie,
60+ unsigned long r_symndx,
61+ bool discard)
62+{
63+ struct elf_link_hash_entry *h;
64+
65+ h = get_ext_sym_hash (cookie, r_symndx);
66+
67+ if (h != NULL)
68+ {
69 if ((h->root.type == bfd_link_hash_defined
70 || h->root.type == bfd_link_hash_defweak)
71 && discarded_section (h->root.u.def.section))
72@@ -119,21 +134,20 @@ _bfd_elf_section_for_symbol (struct elf_reloc_cookie *cookie,
73 else
74 return NULL;
75 }
76- else
77- {
78- /* It's not a relocation against a global symbol,
79- but it could be a relocation against a local
80- symbol for a discarded section. */
81- asection *isec;
82- Elf_Internal_Sym *isym;
83
84- /* Need to: get the symbol; get the section. */
85- isym = &cookie->locsyms[r_symndx];
86- isec = bfd_section_from_elf_index (cookie->abfd, isym->st_shndx);
87- if (isec != NULL
88- && discard ? discarded_section (isec) : 1)
89- return isec;
90- }
91+ /* It's not a relocation against a global symbol,
92+ but it could be a relocation against a local
93+ symbol for a discarded section. */
94+ asection *isec;
95+ Elf_Internal_Sym *isym;
96+
97+ /* Need to: get the symbol; get the section. */
98+ isym = &cookie->locsyms[r_symndx];
99+ isec = bfd_section_from_elf_index (cookie->abfd, isym->st_shndx);
100+ if (isec != NULL
101+ && discard ? discarded_section (isec) : 1)
102+ return isec;
103+
104 return NULL;
105 }
106
107@@ -13994,22 +14008,12 @@ _bfd_elf_gc_mark_rsec (struct bfd_link_info *info, asection *sec,
108 if (r_symndx == STN_UNDEF)
109 return NULL;
110
111- if (r_symndx >= cookie->locsymcount
112- || ELF_ST_BIND (cookie->locsyms[r_symndx].st_info) != STB_LOCAL)
113+ h = get_ext_sym_hash (cookie, r_symndx);
114+
115+ if (h != NULL)
116 {
117 bool was_marked;
118
119- h = cookie->sym_hashes[r_symndx - cookie->extsymoff];
120- if (h == NULL)
121- {
122- info->callbacks->fatal (_("%F%P: corrupt input: %pB\n"),
123- sec->owner);
124- return NULL;
125- }
126- while (h->root.type == bfd_link_hash_indirect
127- || h->root.type == bfd_link_hash_warning)
128- h = (struct elf_link_hash_entry *) h->root.u.i.link;
129-
130 was_marked = h->mark;
131 h->mark = 1;
132 /* Keep all aliases of the symbol too. If an object symbol
133@@ -15064,17 +15068,12 @@ bfd_elf_reloc_symbol_deleted_p (bfd_vma offset, void *cookie)
134 if (r_symndx == STN_UNDEF)
135 return true;
136
137- if (r_symndx >= rcookie->locsymcount
138- || ELF_ST_BIND (rcookie->locsyms[r_symndx].st_info) != STB_LOCAL)
139- {
140- struct elf_link_hash_entry *h;
141-
142- h = rcookie->sym_hashes[r_symndx - rcookie->extsymoff];
143+ struct elf_link_hash_entry *h;
144
145- while (h->root.type == bfd_link_hash_indirect
146- || h->root.type == bfd_link_hash_warning)
147- h = (struct elf_link_hash_entry *) h->root.u.i.link;
148+ h = get_ext_sym_hash (rcookie, r_symndx);
149
150+ if (h != NULL)
151+ {
152 if ((h->root.type == bfd_link_hash_defined
153 || h->root.type == bfd_link_hash_defweak)
154 && (h->root.u.def.section->owner != rcookie->abfd
155@@ -15098,6 +15097,7 @@ bfd_elf_reloc_symbol_deleted_p (bfd_vma offset, void *cookie)
156 || discarded_section (isec)))
157 return true;
158 }
159+
160 return false;
161 }
162 return false;
163--
1642.49.0
165
diff --git a/meta/recipes-devtools/binutils/binutils/CVE-2025-1182.patch b/meta/recipes-devtools/binutils/binutils/CVE-2025-1182.patch
new file mode 100644
index 0000000000..4a3b6f072b
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils/CVE-2025-1182.patch
@@ -0,0 +1,36 @@
1From 92bcd04fcd97f261ff40e9248e00a1dbebf3a536 Mon Sep 17 00:00:00 2001
2From: Nick Clifton <nickc@redhat.com>
3Date: Tue, 27 May 2025 03:37:50 -0700
4Subject: [PATCH] Backport fix for PR 32644(CVE-2025-1182)
5
6Fix another illegal memory access triggered by corrupt ELF input files.
7
8PR 32644
9
10(cherry picked from commit:b425859021d17adf62f06fb904797cf8642986ad)
11Upstream-Status: Submitted [https://sourceware.org/pipermail/binutils/2025-May/141415.html]
12CVE: CVE-2025-1182
13
14Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
15---
16 bfd/elflink.c | 4 ++++
17 1 file changed, 4 insertions(+)
18
19diff --git a/bfd/elflink.c b/bfd/elflink.c
20index 6346d7e2b4b..a0b237b2224 100644
21--- a/bfd/elflink.c
22+++ b/bfd/elflink.c
23@@ -15084,6 +15084,10 @@ bfd_elf_reloc_symbol_deleted_p (bfd_vma offset, void *cookie)
24 }
25 else
26 {
27+ if (r_symndx >= rcookie->locsymcount)
28+ /* This can happen with corrupt input. */
29+ return false;
30+
31 /* It's not a relocation against a global symbol,
32 but it could be a relocation against a local
33 symbol for a discarded section. */
34--
352.49.0
36
diff --git a/meta/recipes-devtools/binutils/binutils_2.42.bb b/meta/recipes-devtools/binutils/binutils_2.44.bb
index 2cce40f1ef..79bcac2025 100644
--- a/meta/recipes-devtools/binutils/binutils_2.42.bb
+++ b/meta/recipes-devtools/binutils/binutils_2.44.bb
@@ -5,6 +5,7 @@ require binutils-${PV}.inc
5DEPENDS += "zlib perl-native" 5DEPENDS += "zlib perl-native"
6 6
7EXTRA_OECONF += "--with-sysroot=/ \ 7EXTRA_OECONF += "--with-sysroot=/ \
8 --with-libtool-sysroot=${STAGING_DIR_HOST} \
8 --enable-install-libbfd \ 9 --enable-install-libbfd \
9 --enable-install-libiberty \ 10 --enable-install-libiberty \
10 --enable-shared \ 11 --enable-shared \
@@ -66,11 +67,15 @@ PARALLEL_MAKEINST:class-nativesdk = ""
66PACKAGE_BEFORE_PN += "libbfd libopcodes gprofng" 67PACKAGE_BEFORE_PN += "libbfd libopcodes gprofng"
67FILES:libbfd = "${libdir}/libbfd-*.so.* ${libdir}/libbfd-*.so" 68FILES:libbfd = "${libdir}/libbfd-*.so.* ${libdir}/libbfd-*.so"
68FILES:libopcodes = "${libdir}/libopcodes-*.so.* ${libdir}/libopcodes-*.so" 69FILES:libopcodes = "${libdir}/libopcodes-*.so.* ${libdir}/libopcodes-*.so"
69FILES:gprofng = "${sysconfdir}/gprofng.rc ${libdir}/gprofng/libgp-*.so ${libdir}/gprofng/libgprofng.so.* ${bindir}/gp-* ${bindir}/gprofng" 70FILES:gprofng = "${sysconfdir}/gprofng.rc ${libdir}/gprofng/libgp-*.so ${libdir}/gprofng/libgprofng.so.* ${bindir}/gprofng-* ${bindir}/gprofng"
70FILES:${PN}-dev += "${libdir}/libgprofng.so ${libdir}/libsframe.so" 71FILES:${PN}-dev += "${libdir}/libgprofng.so ${libdir}/libsframe.so"
71SRC_URI:append:class-nativesdk = " file://0003-binutils-nativesdk-Search-for-alternative-ld.so.conf.patch " 72SRC_URI:append:class-nativesdk = " file://0003-binutils-nativesdk-Search-for-alternative-ld.so.conf.patch "
72 73
73USE_ALTERNATIVES_FOR:class-nativesdk = "" 74USE_ALTERNATIVES_FOR:class-nativesdk = ""
74FILES:${PN}:append:class-nativesdk = " ${bindir}" 75FILES:${PN}:append:class-nativesdk = " ${bindir}"
76RDEPENDS:gprofng:class-nativesdk = " nativesdk-perl-module-bignum \
77 nativesdk-perl-module-bigint \
78 nativesdk-perl-module-math-bigint \
79"
75 80
76BBCLASSEXTEND = "native nativesdk" 81BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/bison/bison_3.8.2.bb b/meta/recipes-devtools/bison/bison_3.8.2.bb
index da138e3587..513d7ec287 100644
--- a/meta/recipes-devtools/bison/bison_3.8.2.bb
+++ b/meta/recipes-devtools/bison/bison_3.8.2.bb
@@ -37,9 +37,6 @@ CACHED_CONFIGUREVARS += "${@bb.utils.contains('PACKAGECONFIG', 'readline', '', '
37 ${@bb.utils.contains('PACKAGECONFIG', 'textstyle', '', ' \ 37 ${@bb.utils.contains('PACKAGECONFIG', 'textstyle', '', ' \
38 ac_cv_libtextstyle=no', d)}" 38 ac_cv_libtextstyle=no', d)}"
39 39
40# The automatic m4 path detection gets confused, so force the right value
41acpaths = "-I ./m4"
42
43do_compile:prepend() { 40do_compile:prepend() {
44 for i in mfcalc calc++ rpcalc; do mkdir -p ${B}/examples/$i; done 41 for i in mfcalc calc++ rpcalc; do mkdir -p ${B}/examples/$i; done
45} 42}
diff --git a/meta/recipes-devtools/bootchart2/bootchart2/0001-Makefile-Let-bootchartd.conf-use-EARLY_.patch b/meta/recipes-devtools/bootchart2/bootchart2/0001-Makefile-Let-bootchartd.conf-use-EARLY_.patch
new file mode 100644
index 0000000000..8209a776ba
--- /dev/null
+++ b/meta/recipes-devtools/bootchart2/bootchart2/0001-Makefile-Let-bootchartd.conf-use-EARLY_.patch
@@ -0,0 +1,30 @@
1From 0ba0986f1ebc5ac1ad0a3d51e8039dbdccb31c25 Mon Sep 17 00:00:00 2001
2From: Robert Yang <liezhi.yang@windriver.com>
3Date: Thu, 14 Nov 2024 07:33:56 +0000
4Subject: [PATCH 1/2] Makefile: Let bootchartd.conf use EARLY_PREFIX
5
6So that bootchartd.conf can install to correct location when cross build.
7
8Upstream-Status: Submitted [https://github.com/xrmx/bootchart/pull/105]
9
10Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
11---
12 Makefile | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/Makefile b/Makefile
16index b99b141..99a3ec7 100644
17--- a/Makefile
18+++ b/Makefile
19@@ -100,7 +100,7 @@ install-chroot:
20
21 install-collector: all install-chroot
22 install -m 755 -D bootchartd $(DESTDIR)$(EARLY_PREFIX)/sbin/$(PROGRAM_PREFIX)bootchartd$(PROGRAM_SUFFIX)
23- install -m 644 -D bootchartd.conf $(DESTDIR)/etc/$(PROGRAM_PREFIX)bootchartd$(PROGRAM_SUFFIX).conf
24+ install -m 644 -D bootchartd.conf $(DESTDIR)$(EARLY_PREFIX)/etc/$(PROGRAM_PREFIX)bootchartd$(PROGRAM_SUFFIX).conf
25 install -m 755 -D bootchart-collector $(DESTDIR)$(PKGLIBDIR)/$(PROGRAM_PREFIX)bootchart$(PROGRAM_SUFFIX)-collector
26
27 install-docs:
28--
292.44.1
30
diff --git a/meta/recipes-devtools/bootchart2/bootchart2/0002-Makefile-Add-n-to-gzip.patch b/meta/recipes-devtools/bootchart2/bootchart2/0002-Makefile-Add-n-to-gzip.patch
new file mode 100644
index 0000000000..baa338759b
--- /dev/null
+++ b/meta/recipes-devtools/bootchart2/bootchart2/0002-Makefile-Add-n-to-gzip.patch
@@ -0,0 +1,37 @@
1From aec8c971e09a28a5f8cd655ccd2f0cf1b057d756 Mon Sep 17 00:00:00 2001
2From: Robert Yang <liezhi.yang@windriver.com>
3Date: Thu, 14 Nov 2024 07:35:11 +0000
4Subject: [PATCH 2/2] Makefile: Add -n to gzip
5
6To make the resulting files reproducible.
7
8-n --no-name
9 When compressing, do not save the original file name and timestamp by default.
10
11Upstream-Status: Submitted [https://github.com/xrmx/bootchart/pull/106]
12
13Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
14---
15 Makefile | 6 +++---
16 1 file changed, 3 insertions(+), 3 deletions(-)
17
18diff --git a/Makefile b/Makefile
19index 99a3ec7..87de486 100644
20--- a/Makefile
21+++ b/Makefile
22@@ -107,9 +107,9 @@ install-docs:
23 install -m 644 -D README $(DESTDIR)$(DOCDIR)/README
24 install -m 644 -D README.pybootchart $(DESTDIR)$(DOCDIR)/README.pybootchart
25 mkdir -p $(DESTDIR)$(MANDIR)
26- gzip -c bootchart2.1 > $(DESTDIR)$(MANDIR)/bootchart2.1.gz
27- gzip -c bootchartd.1 > $(DESTDIR)$(MANDIR)/$(PROGRAM_PREFIX)bootchartd$(PROGRAM_SUFFIX).1.gz
28- gzip -c pybootchartgui.1 > $(DESTDIR)$(MANDIR)/pybootchartgui.1.gz
29+ gzip -n -c bootchart2.1 > $(DESTDIR)$(MANDIR)/bootchart2.1.gz
30+ gzip -n -c bootchartd.1 > $(DESTDIR)$(MANDIR)/$(PROGRAM_PREFIX)bootchartd$(PROGRAM_SUFFIX).1.gz
31+ gzip -n -c pybootchartgui.1 > $(DESTDIR)$(MANDIR)/pybootchartgui.1.gz
32
33 install-service:
34 mkdir -p $(DESTDIR)$(SYSTEMD_UNIT_DIR)
35--
362.44.1
37
diff --git a/meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb b/meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb
index 8a211366bf..922e665028 100644
--- a/meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb
+++ b/meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb
@@ -94,12 +94,12 @@ SRC_URI = "git://github.com/xrmx/bootchart.git;branch=master;protocol=https \
94 file://0001-collector-Allocate-space-on-heap-for-chunks.patch \ 94 file://0001-collector-Allocate-space-on-heap-for-chunks.patch \
95 file://0001-bootchartd.in-make-sure-only-one-bootchartd-process.patch \ 95 file://0001-bootchartd.in-make-sure-only-one-bootchartd-process.patch \
96 file://0001-Do-not-include-linux-fs.h.patch \ 96 file://0001-Do-not-include-linux-fs.h.patch \
97 file://0001-Makefile-Let-bootchartd.conf-use-EARLY_.patch \
98 file://0002-Makefile-Add-n-to-gzip.patch \
97 " 99 "
98 100
99S = "${WORKDIR}/git"
100SRCREV = "868a2afab9da34f32c007d773b77253c93104636" 101SRCREV = "868a2afab9da34f32c007d773b77253c93104636"
101 102
102
103inherit systemd update-rc.d python3native update-alternatives 103inherit systemd update-rc.d python3native update-alternatives
104 104
105ALTERNATIVE:${PN} = "bootchartd" 105ALTERNATIVE:${PN} = "bootchartd"
@@ -129,18 +129,22 @@ do_install () {
129 export DESTDIR="${D}" 129 export DESTDIR="${D}"
130 export LIBDIR="/${baselib}" 130 export LIBDIR="/${baselib}"
131 export EARLY_PREFIX="${root_prefix}" 131 export EARLY_PREFIX="${root_prefix}"
132 export MANDIR="${mandir}/man1"
133 export DOCDIR="${docdir}"
132 134
133 oe_runmake install NO_PYTHON_COMPILE=1 135 oe_runmake install NO_PYTHON_COMPILE=1
134 install -d ${D}${sysconfdir}/init.d 136 install -d ${D}${sysconfdir}/init.d
135 install -m 0755 ${UNPACKDIR}/bootchartd_stop.sh ${D}${sysconfdir}/init.d 137 install -m 0755 ${UNPACKDIR}/bootchartd_stop.sh ${D}${sysconfdir}/init.d
136 138
139 if ${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', 'true', 'false', d)}; then
140 mv ${D}${EARLY_PREFIX}${sysconfdir}/bootchartd.conf ${D}${sysconfdir}/bootchartd.conf
141 rmdir ${D}${EARLY_PREFIX}${sysconfdir}
142 fi
143
137 echo 'EXIT_PROC="$EXIT_PROC matchbox-window-manager"' >> ${D}${sysconfdir}/bootchartd.conf 144 echo 'EXIT_PROC="$EXIT_PROC matchbox-window-manager"' >> ${D}${sysconfdir}/bootchartd.conf
138 145
139 # Use python 3 instead of python 2 146 # Use python 3 instead of python 2
140 sed -i -e '1s,#!.*python.*,#!${USRBINPATH}/env python3,' ${D}${bindir}/pybootchartgui 147 sed -i -e '1s,#!.*python.*,#!${USRBINPATH}/env python3,' ${D}${bindir}/pybootchartgui
141
142 # The timestamps embedded in compressed man pages is not reproducible
143 gzip -d ${D}${mandir}/man1/*.gz
144} 148}
145 149
146PACKAGES =+ "pybootchartgui" 150PACKAGES =+ "pybootchartgui"
diff --git a/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Add-a-possibility-to-specify-where-python-modules-ar.patch b/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Add-a-possibility-to-specify-where-python-modules-ar.patch
index 4b1797b65f..2cd66d2722 100644
--- a/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Add-a-possibility-to-specify-where-python-modules-ar.patch
+++ b/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Add-a-possibility-to-specify-where-python-modules-ar.patch
@@ -1,4 +1,4 @@
1From 980f6edc269fa3ef8d4d4b9cd1aada2328131c19 Mon Sep 17 00:00:00 2001 1From 030ec81c0dac1e067faf49924d5631bb22ccc90d Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Wed, 23 May 2018 21:20:35 +0300 3Date: Wed, 23 May 2018 21:20:35 +0300
4Subject: [PATCH] Add a possibility to specify where python modules are 4Subject: [PATCH] Add a possibility to specify where python modules are
@@ -11,10 +11,10 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
11 1 file changed, 1 insertion(+), 1 deletion(-) 11 1 file changed, 1 insertion(+), 1 deletion(-)
12 12
13diff --git a/Makefile b/Makefile 13diff --git a/Makefile b/Makefile
14index 374f59b9..ed083f6b 100644 14index 7e36aa42..edff7d5b 100644
15--- a/Makefile 15--- a/Makefile
16+++ b/Makefile 16+++ b/Makefile
17@@ -959,7 +959,7 @@ endif 17@@ -996,7 +996,7 @@ endif
18 ifeq ($(PYTHON_BINDINGS),1) 18 ifeq ($(PYTHON_BINDINGS),1)
19 install_python: libbtrfsutil_python 19 install_python: libbtrfsutil_python
20 $(Q)cd libbtrfsutil/python; \ 20 $(Q)cd libbtrfsutil/python; \
diff --git a/meta/recipes-devtools/btrfs-tools/btrfs-tools_6.8.bb b/meta/recipes-devtools/btrfs-tools/btrfs-tools_6.14.bb
index 15cc7ac244..982d4830b5 100644
--- a/meta/recipes-devtools/btrfs-tools/btrfs-tools_6.8.bb
+++ b/meta/recipes-devtools/btrfs-tools/btrfs-tools_6.14.bb
@@ -15,11 +15,10 @@ LIC_FILES_CHKSUM = " \
15SECTION = "base" 15SECTION = "base"
16DEPENDS = "util-linux zlib" 16DEPENDS = "util-linux zlib"
17 17
18SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git;branch=master;protocol=https \ 18SRC_URI = "git://github.com/kdave/btrfs-progs.git;branch=master;protocol=https;tag=v${PV} \
19 file://0001-Add-a-possibility-to-specify-where-python-modules-ar.patch \ 19 file://0001-Add-a-possibility-to-specify-where-python-modules-ar.patch \
20 " 20 "
21SRCREV = "3793e987d2b4e878410da16f33d963043d137d48" 21SRCREV = "5ad147c9ec00e657393c85b195c9bcc0f4c35a54"
22S = "${WORKDIR}/git"
23 22
24PACKAGECONFIG ??= " \ 23PACKAGECONFIG ??= " \
25 programs \ 24 programs \
@@ -60,7 +59,6 @@ do_configure:prepend() {
60 cp -f $(automake --print-libdir)/install-sh ${S}/config/ 59 cp -f $(automake --print-libdir)/install-sh ${S}/config/
61} 60}
62 61
63
64do_install:append() { 62do_install:append() {
65 if [ "${@bb.utils.filter('PACKAGECONFIG', 'python', d)}" ]; then 63 if [ "${@bb.utils.filter('PACKAGECONFIG', 'python', d)}" ]; then
66 oe_runmake 'DESTDIR=${D}' 'PYTHON_SITEPACKAGES_DIR=${PYTHON_SITEPACKAGES_DIR}' install_python 64 oe_runmake 'DESTDIR=${D}' 'PYTHON_SITEPACKAGES_DIR=${PYTHON_SITEPACKAGES_DIR}' install_python
diff --git a/meta/recipes-devtools/ccache/ccache_4.11.3.bb b/meta/recipes-devtools/ccache/ccache_4.11.3.bb
new file mode 100644
index 0000000000..83374fa44c
--- /dev/null
+++ b/meta/recipes-devtools/ccache/ccache_4.11.3.bb
@@ -0,0 +1,32 @@
1SUMMARY = "a fast C/C++ compiler cache"
2DESCRIPTION = "ccache is a compiler cache. It speeds up recompilation \
3by caching the result of previous compilations and detecting when the \
4same compilation is being done again. Supported languages are C, C\+\+, \
5Objective-C and Objective-C++."
6HOMEPAGE = "http://ccache.samba.org"
7SECTION = "devel"
8
9LICENSE = "GPL-3.0-or-later & MIT & BSL-1.0 & ISC"
10LIC_FILES_CHKSUM = "file://LICENSE.adoc;md5=b98c3470e22877fefa43a01a2dd0669c \
11 file://src/third_party/cpp-httplib/httplib.h;endline=6;md5=663aca6f84e7d67ade228aad32afc0ea \
12 file://src/third_party/nonstd-span/nonstd/span.hpp;endline=9;md5=b4af92a7f068b38c5b3410dceb30c186 \
13 file://src/third_party/win32-compat/win32/mktemp.c;endline=17;md5=d287e9c1f1cd2bb2bd164490e1cf449a \
14 "
15
16DEPENDS = "zstd fmt xxhash"
17
18SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${BP}.tar.gz"
19
20SRC_URI[sha256sum] = "28a407314f03a7bd7a008038dbaffa83448bc670e2fc119609b1d99fb33bb600"
21
22inherit cmake github-releases
23
24PATCHTOOL = "patch"
25
26BBCLASSEXTEND = "native nativesdk"
27
28PACKAGECONFIG[docs] = "-DENABLE_DOCUMENTATION=ON,-DENABLE_DOCUMENTATION=OFF,asciidoc"
29PACKAGECONFIG[redis] = "-DREDIS_STORAGE_BACKEND=ON,-DREDIS_STORAGE_BACKEND=OFF,hiredis"
30
31# ENABLE_TESTING requires doctest which is not present in oe
32EXTRA_OECMAKE += "-DENABLE_TESTING=OFF"
diff --git a/meta/recipes-devtools/ccache/ccache_4.9.1.bb b/meta/recipes-devtools/ccache/ccache_4.9.1.bb
deleted file mode 100644
index 0d447c4915..0000000000
--- a/meta/recipes-devtools/ccache/ccache_4.9.1.bb
+++ /dev/null
@@ -1,26 +0,0 @@
1SUMMARY = "a fast C/C++ compiler cache"
2DESCRIPTION = "ccache is a compiler cache. It speeds up recompilation \
3by caching the result of previous compilations and detecting when the \
4same compilation is being done again. Supported languages are C, C\+\+, \
5Objective-C and Objective-C++."
6HOMEPAGE = "http://ccache.samba.org"
7SECTION = "devel"
8
9LICENSE = "GPL-3.0-or-later"
10LIC_FILES_CHKSUM = "file://LICENSE.adoc;md5=9896d6f0aee4d89b9e5ff0afaae0af06"
11
12DEPENDS = "zstd"
13
14SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${BP}.tar.gz \
15 file://0001-xxhash.h-Fix-build-with-gcc-12.patch \
16 "
17SRC_URI[sha256sum] = "12834ecaaaf2db069dda1d1d991f91c19e3274cc04a471af5b64195def17e90f"
18
19inherit cmake github-releases
20
21PATCHTOOL = "patch"
22
23BBCLASSEXTEND = "native nativesdk"
24
25PACKAGECONFIG[docs] = "-DENABLE_DOCUMENTATION=ON,-DENABLE_DOCUMENTATION=OFF,asciidoc"
26PACKAGECONFIG[redis] = "-DREDIS_STORAGE_BACKEND=ON,-DREDIS_STORAGE_BACKEND=OFF,hiredis"
diff --git a/meta/recipes-devtools/ccache/files/0001-xxhash.h-Fix-build-with-gcc-12.patch b/meta/recipes-devtools/ccache/files/0001-xxhash.h-Fix-build-with-gcc-12.patch
deleted file mode 100644
index e65b830257..0000000000
--- a/meta/recipes-devtools/ccache/files/0001-xxhash.h-Fix-build-with-gcc-12.patch
+++ /dev/null
@@ -1,37 +0,0 @@
1From d17fdacf4892a15fafb56b0890ece05b485e89fb Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Mon, 6 Jun 2022 17:53:20 +0800
4Subject: [PATCH] xxhash.h: Fix build with gcc-12
5
6Remove inline attribute to fix below build failure:
7 | /buildarea/tmp/work/core2-64-poky-linux/ccache/4.6.1-r0/ccache-4.6.1/src/third_party/xxhash.h:3932:1: error: inlining failed in call to 'always_inline' 'XXH3_accumulate_512_sse2': function not considered for inlining
8 3932 | XXH3_accumulate_512_sse2( void* XXH_RESTRICT acc,
9 | ^~~~~~~~~~~~~~~~~~~~~~~~
10 /buildarea/tmp/work/core2-64-poky-linux/ccache/4.6.1-r0/ccache-4.6.1/src/third_party/xxhash.h:4369:9: note: called from here
11 4369 | f_acc512(acc,
12 | ^~~~~~~~~~~~~
13 4370 | in,
14 | ~~~
15 4371 | secret + n*XXH_SECRET_CONSUME_RATE);
16
17Upstream-Status: Submitted [https://github.com/Cyan4973/xxHash/pull/720]
18
19Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
20
21---
22 src/third_party/xxhash.h | 2 +-
23 1 file changed, 1 insertion(+), 1 deletion(-)
24
25diff --git a/src/third_party/xxhash.h b/src/third_party/xxhash.h
26index a18e8c7..1b72307 100644
27--- a/src/third_party/xxhash.h
28+++ b/src/third_party/xxhash.h
29@@ -2107,7 +2107,7 @@ static void* XXH_memcpy(void* dest, const void* src, size_t size)
30 # define XXH_NO_INLINE static
31 /* enable inlining hints */
32 #elif defined(__GNUC__) || defined(__clang__)
33-# define XXH_FORCE_INLINE static __inline__ __attribute__((always_inline, unused))
34+# define XXH_FORCE_INLINE static
35 # define XXH_NO_INLINE static __attribute__((noinline))
36 #elif defined(_MSC_VER) /* Visual Studio */
37 # define XXH_FORCE_INLINE static __forceinline
diff --git a/meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb b/meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb
index bf8be1ad0c..fb7c29e242 100644
--- a/meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb
+++ b/meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb
@@ -13,23 +13,31 @@ DEPENDS += "gnu-config-native"
13SRC_URI = " \ 13SRC_URI = " \
14 ${SOURCEFORGE_MIRROR}/project/cdrtools/cdrtools-${PV}.tar.bz2 \ 14 ${SOURCEFORGE_MIRROR}/project/cdrtools/cdrtools-${PV}.tar.bz2 \
15 file://0001-Don-t-set-uid-gid-during-install.patch \ 15 file://0001-Don-t-set-uid-gid-during-install.patch \
16 file://riscv64-linux-gcc.rul \ 16 file://riscv64-linux-gcc.rul \
17 file://gcc14-fix.patch \
18 file://0001-fix-nsectors-exceeds-0xffff-situation.patch \
17 " 19 "
18 20
19SRC_URI[md5sum] = "7d45c5b7e1f78d85d1583b361aee6e8b"
20SRC_URI[sha256sum] = "ed282eb6276c4154ce6a0b5dee0bdb81940d0cbbfc7d03f769c4735ef5f5860f" 21SRC_URI[sha256sum] = "ed282eb6276c4154ce6a0b5dee0bdb81940d0cbbfc7d03f769c4735ef5f5860f"
21 22
22EXTRA_OEMAKE = "-e MAKEFLAGS=" 23EXTRA_OEMAKE = "-e MAKEFLAGS= CPPOPTX='${CPPFLAGS}' COPTX='${CFLAGS}' C++OPTX='${CXXFLAGS}' LDOPTX='${LDFLAGS}' GMAKE_NOWARN='true'"
23 24
24# Stop failures when 'cc' can't be found 25# Stop failures when 'cc' can't be found
25export ac_cv_prog_CC = "${CC}" 26export ac_cv_prog_CC = "${CC}"
26 27
27inherit native 28inherit sourceforge-releases native
29
30# Use -std=gnu89 to build with gcc-14 (https://bugs.gentoo.org/903876)
31# this needs to be after native inherit (which sets CFLAGS to BUILD_CFLAGS)
32CFLAGS += "-std=gnu89"
28 33
29do_configure() { 34do_configure() {
35 # cdda2wav does not build with GCC 14
36 rm -f ${S}/TARGETS/55cdda2wav
37
30 install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}/autoconf 38 install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}/autoconf
31 install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/autoconf 39 install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/autoconf
32 install -m 0644 ${WORKDIR}/riscv64-linux-gcc.rul ${S}/RULES/ 40 install -m 0644 ${UNPACKDIR}/riscv64-linux-gcc.rul ${S}/RULES/
33} 41}
34 42
35do_install() { 43do_install() {
diff --git a/meta/recipes-devtools/cdrtools/cdrtools/0001-fix-nsectors-exceeds-0xffff-situation.patch b/meta/recipes-devtools/cdrtools/cdrtools/0001-fix-nsectors-exceeds-0xffff-situation.patch
new file mode 100644
index 0000000000..8b0fbb3fe6
--- /dev/null
+++ b/meta/recipes-devtools/cdrtools/cdrtools/0001-fix-nsectors-exceeds-0xffff-situation.patch
@@ -0,0 +1,69 @@
1From ab6b5ee4c23099bf15ddd145fdf1ff4f5e34e802 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Sat, 26 Apr 2025 03:38:32 +0000
4Subject: [PATCH] fix nsectors exceeds 0xffff situation
5
6According to page 11: `Figure 5 - Section Entry' in El Torito Bootable
7CD-ROM Format Specification [1]. The sector count takes 2 byte which
8means max sector count is 0xffff (65535), for 512-byte sector, the
9size of bootable image is no more than 32MB (65536 * 512 / 1024 / 1024)
10
11If the size of efi.img > 32MB, the partition table will be truncated
12in ISO, which caused UEFI system or grub-efi read efi.img broken
13occasionally.
14
15In this patch, nsectors means sector count, if it exceeds 0xffff,
16truncate to 0xffff and set selection criteria type = 2, then save
17extra nsectors to vendor unique selection criteria
18
19[1]https://pdos.csail.mit.edu/6.828/2017/readings/boot-cdrom.pdf
20
21Upstream-Status: Inappropriate [upstream https://sourceforge.net/projects/cdrtools/ is not alive since 2019]
22
23Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
24---
25 mkisofs/eltorito.c | 28 ++++++++++++++++++++++++++++
26 1 file changed, 28 insertions(+)
27
28diff --git a/mkisofs/eltorito.c b/mkisofs/eltorito.c
29index 5dd04bc..a391003 100644
30--- a/mkisofs/eltorito.c
31+++ b/mkisofs/eltorito.c
32@@ -568,6 +568,34 @@ fill_boot_desc(boot_desc_entry, boot_entry)
33 fprintf(stderr, "Extent of boot images is %d\n",
34 get_733(de->isorec.extent));
35 #endif
36+
37+ // Boot sectors exceeds 0xffff
38+ if (nsectors > 0xffff) {
39+ unsigned int extra_nsectors = nsectors - 0xffff;
40+
41+ fprintf(stderr, "Warning: Boot sectors 0x%x(%u) exceeds 0xffff(65535), save extra %u to pad2\n",
42+ nsectors, nsectors, extra_nsectors);
43+
44+ // Set nsectors to maximum 0xffff(65535)
45+ nsectors = 0xffff;
46+
47+ // Offset : 0C byte
48+ // Type : Byte
49+ // Description: Selection criteria type. This defines a vendor unique format
50+ // for bytes 0D-1F.
51+ // The following formats is reserved by Yocto:
52+ // 2 - Save extra sector count to vendor unique selection criteria
53+ boot_desc_entry->pad2[0] = 2;
54+
55+
56+ // Offset : 0D-0E-0F-10 byte
57+ // Type : D Word
58+ // Description: Save extra sector count to vendor unique selection criteria.
59+ // It takes 4 bytes in pad2, starting at pad2[1]
60+ set_731(&boot_desc_entry->pad2[1], extra_nsectors);
61+
62+ }
63+
64 set_721(boot_desc_entry->nsect, (unsigned int) nsectors);
65 set_731(boot_desc_entry->bootoff,
66 (unsigned int) get_733(de->isorec.extent));
67--
682.44.1
69
diff --git a/meta/recipes-devtools/cdrtools/cdrtools/gcc14-fix.patch b/meta/recipes-devtools/cdrtools/cdrtools/gcc14-fix.patch
new file mode 100644
index 0000000000..ce02bb8bcf
--- /dev/null
+++ b/meta/recipes-devtools/cdrtools/cdrtools/gcc14-fix.patch
@@ -0,0 +1,13 @@
1Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
2Upstream-Status: Inappropriate [native]
3--- cdrtools-3.01/autoconf/configure~ 2015-07-06 23:41:27.000000000 +0200
4+++ cdrtools-3.01/autoconf/configure 2024-05-01 09:37:40.897253690 +0200
5@@ -1205,7 +1205,7 @@
6 #line 1206 "configure"
7 #include "confdefs.h"
8
9-main(){return(0);}
10+int main(){return(0);}
11 EOF
12 if { (eval echo configure:1211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13 ac_cv_prog_cc_works=yes
diff --git a/meta/recipes-devtools/chrpath/chrpath/standarddoc.patch b/meta/recipes-devtools/chrpath/chrpath/standarddoc.patch
index 3d303fbc6f..b22e1f5f9b 100644
--- a/meta/recipes-devtools/chrpath/chrpath/standarddoc.patch
+++ b/meta/recipes-devtools/chrpath/chrpath/standarddoc.patch
@@ -1,4 +1,4 @@
1From 285b5fbf1d6b25ff55d305c17edf4d327bf19dd3 Mon Sep 17 00:00:00 2001 1From cc3219f01501904daec28d48e450f628f644bc3c Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org> 2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Tue, 5 Jul 2011 23:42:29 +0100 3Date: Tue, 5 Jul 2011 23:42:29 +0100
4Subject: [PATCH] chrpath: Ensure the package respects the docdir variable 4Subject: [PATCH] chrpath: Ensure the package respects the docdir variable
@@ -27,6 +27,3 @@ index b50ad21..5f7e861 100644
27 doc_DATA = AUTHORS COPYING ChangeLog INSTALL NEWS README 27 doc_DATA = AUTHORS COPYING ChangeLog INSTALL NEWS README
28 28
29 bin_PROGRAMS = chrpath 29 bin_PROGRAMS = chrpath
30--
312.8.1
32
diff --git a/meta/recipes-devtools/chrpath/chrpath_0.16.bb b/meta/recipes-devtools/chrpath/chrpath_0.18.bb
index d33c7837a1..3d89fd2c92 100644
--- a/meta/recipes-devtools/chrpath/chrpath_0.16.bb
+++ b/meta/recipes-devtools/chrpath/chrpath_0.18.bb
@@ -9,10 +9,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
9SRC_URI = "${DEBIAN_MIRROR}/main/c/${BPN}/${BPN}_${PV}.orig.tar.gz \ 9SRC_URI = "${DEBIAN_MIRROR}/main/c/${BPN}/${BPN}_${PV}.orig.tar.gz \
10 file://standarddoc.patch" 10 file://standarddoc.patch"
11 11
12SRC_URI[md5sum] = "2bf8d1d1ee345fc8a7915576f5649982" 12SRC_URI[sha256sum] = "f09c49f0618660ca11fc6d9580ddde904c7224d4c6d0f6f2d1f9bcdc9102c9aa"
13SRC_URI[sha256sum] = "bb0d4c54bac2990e1bdf8132f2c9477ae752859d523e141e72b3b11a12c26e7b"
14 13
15inherit autotools 14inherit autotools
15S = "${UNPACKDIR}/chrpath"
16 16
17# We don't have a staged chrpath-native for ensuring our binary is 17# We don't have a staged chrpath-native for ensuring our binary is
18# relocatable, so use the one we've just built 18# relocatable, so use the one we've just built
diff --git a/meta/recipes-devtools/clang/clang-cross-canadian_git.bb b/meta/recipes-devtools/clang/clang-cross-canadian_git.bb
new file mode 100644
index 0000000000..456c0d61bc
--- /dev/null
+++ b/meta/recipes-devtools/clang/clang-cross-canadian_git.bb
@@ -0,0 +1,36 @@
1# Copyright (C) 2014 Khem Raj <raj.khem@gmail.com>
2# Released under the MIT license (see COPYING.MIT for the terms)
3
4SUMMARY = "Clang/LLVM based C/C++ compiler (cross-canadian for ${TARGET_ARCH} target)"
5HOMEPAGE = "http://clang.llvm.org/"
6LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0-with-LLVM-exception;md5=0bcd48c3bdfef0c9d9fd17726e4b7dab"
7SECTION = "devel"
8
9PN = "clang-cross-canadian-${TRANSLATED_TARGET_ARCH}"
10
11require common-clang.inc
12require common-source.inc
13inherit cross-canadian
14
15DEPENDS += "nativesdk-clang binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} virtual/nativesdk-cross-binutils virtual/nativesdk-libc"
16# We have to point gcc at a sysroot but we don't need to rebuild if this changes
17# e.g. we switch between different machines with different tunes.
18EXTRA_OECONF_PATHS[vardepsexclude] = "TUNE_PKGARCH"
19TARGET_ARCH[vardepsexclude] = "TUNE_ARCH"
20
21do_install() {
22 install -d ${D}${bindir}
23 for tool in clang clang++ clang-tidy lld ld.lld llvm-profdata \
24 llvm-nm llvm-ar llvm-as llvm-ranlib llvm-strip llvm-objcopy llvm-objdump llvm-readelf \
25 llvm-addr2line llvm-dwp llvm-size llvm-strings llvm-cov
26 do
27 ln -sf ../$tool ${D}${bindir}/${TARGET_PREFIX}$tool
28 done
29}
30SSTATE_SCAN_FILES += "*-clang *-clang++ *-llvm-profdata *-llvm-ar \
31 *-llvm-ranlib *-llvm-nm *-lld *-ld.lld *-llvm-as *-llvm-strip \
32 *-llvm-objcopy *-llvm-objdump *-llvm-readelf *-llvm-addr2line \
33 *-llvm-dwp *-llvm-size *-llvm-strings *-llvm-cov"
34do_install:append() {
35 cross_canadian_bindirlinks
36}
diff --git a/meta/recipes-devtools/clang/clang-cross_git.bb b/meta/recipes-devtools/clang/clang-cross_git.bb
new file mode 100644
index 0000000000..323cc0d880
--- /dev/null
+++ b/meta/recipes-devtools/clang/clang-cross_git.bb
@@ -0,0 +1,40 @@
1# Copyright (C) 2014 Khem Raj <raj.khem@gmail.com>
2# Released under the MIT license (see COPYING.MIT for the terms)
3
4SUMMARY = "Cross compiler wrappers for LLVM based C/C++ compiler"
5HOMEPAGE = "http://clang.llvm.org/"
6LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0-with-LLVM-exception;md5=0bcd48c3bdfef0c9d9fd17726e4b7dab"
7SECTION = "devel"
8
9PN = "clang-cross-${TARGET_ARCH}"
10
11require common-clang.inc
12require common-source.inc
13inherit cross
14TOOLCHAIN = "clang"
15DEPENDS += "clang-native virtual/cross-binutils"
16
17#INHIBIT_PACKAGE_STRIP = "1"
18INHIBIT_SYSROOT_STRIP = "1"
19do_install() {
20 install -d ${D}${bindir}
21 for tool in clang-tidy lld ld.lld llvm-profdata \
22 llvm-nm llvm-ar llvm-as llvm-ranlib llvm-strip llvm-objcopy llvm-objdump llvm-readelf \
23 llvm-addr2line llvm-dwp llvm-size llvm-strings llvm-cov
24 do
25 ln -sf ../$tool ${D}${bindir}/${TARGET_PREFIX}$tool
26 done
27 install -m 0755 ${STAGING_BINDIR_NATIVE}/clang ${D}${bindir}/${TARGET_PREFIX}clang
28 install -m 0755 ${STAGING_BINDIR_NATIVE}/clang ${D}${bindir}/${TARGET_PREFIX}clang++
29}
30SSTATE_SCAN_FILES += "*-clang *-clang++ *-llvm-profdata *-lld *-ld.lld \
31 *-llvm-nm *-llvm-ar *-llvm-as *-llvm-ranlib *-llvm-strip \
32 *-llvm-objcopy *-llvm-objdump *-llvm-readelf *-llvm-addr2line \
33 *-llvm-dwp *-llvm-size *-llvm-strings *-llvm-cov"
34
35SYSROOT_PREPROCESS_FUNCS += "clangcross_sysroot_preprocess"
36
37clangcross_sysroot_preprocess () {
38 sysroot_stage_dir ${D}${bindir} ${SYSROOT_DESTDIR}${bindir}
39}
40PACKAGES = ""
diff --git a/meta/recipes-devtools/clang/clang-crosssdk_git.bb b/meta/recipes-devtools/clang/clang-crosssdk_git.bb
new file mode 100644
index 0000000000..ef162ef153
--- /dev/null
+++ b/meta/recipes-devtools/clang/clang-crosssdk_git.bb
@@ -0,0 +1,34 @@
1# Copyright (C) 2014 Khem Raj <raj.khem@gmail.com>
2# Released under the MIT license (see COPYING.MIT for the terms)
3
4SUMMARY = "SDK Cross compiler wrappers for LLVM based C/C++ compiler"
5HOMEPAGE = "http://clang.llvm.org/"
6LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0-with-LLVM-exception;md5=0bcd48c3bdfef0c9d9fd17726e4b7dab"
7SECTION = "devel"
8
9PN = "clang-crosssdk-${SDK_SYS}"
10
11require common-clang.inc
12require common-source.inc
13inherit crosssdk
14TOOLCHAIN = "clang"
15DEPENDS += "clang-native nativesdk-clang-glue virtual/nativesdk-cross-binutils virtual/nativesdk-libc"
16
17do_install() {
18 install -d ${D}${bindir}
19 for tool in clang clang++ clang-tidy lld ld.lld llvm-profdata \
20 llvm-nm llvm-ar llvm-as llvm-ranlib llvm-strip llvm-objcopy llvm-objdump llvm-readelf \
21 llvm-addr2line llvm-dwp llvm-size llvm-strings llvm-cov
22 do
23 ln -sf ../$tool ${D}${bindir}/${TARGET_PREFIX}$tool
24 done
25}
26SSTATE_SCAN_FILES += "*-clang *-clang++ *-llvm-profdata *-lld *-ld.lld \
27 *-llvm-nm *-llvm-ar *-llvm-as *-llvm-ranlib *-llvm-strip \
28 *-llvm-objcopy *-llvm-objdump *-llvm-readelf *-llvm-addr2line \
29 *-llvm-dwp *-llvm-size *-llvm-strings *-llvm-cov"
30sysroot_stage_all () {
31 sysroot_stage_dir ${D}${bindir} ${SYSROOT_DESTDIR}${bindir}
32}
33
34PACKAGES = ""
diff --git a/meta/recipes-devtools/clang/clang/0001-libcxxabi-Find-libunwind-headers-when-LIBCXXABI_LIBU.patch b/meta/recipes-devtools/clang/clang/0001-libcxxabi-Find-libunwind-headers-when-LIBCXXABI_LIBU.patch
new file mode 100644
index 0000000000..3853d7648b
--- /dev/null
+++ b/meta/recipes-devtools/clang/clang/0001-libcxxabi-Find-libunwind-headers-when-LIBCXXABI_LIBU.patch
@@ -0,0 +1,60 @@
1From 1fa8ec110c67714cff009b481c430e3d004bfaad Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 27 Aug 2017 10:37:49 -0700
4Subject: [PATCH] libcxxabi: Find libunwind headers when
5 LIBCXXABI_LIBUNWIND_INCLUDES is set
6
7Currently, when LIBCXXABI_LIBUNWIND_INCLUDES is set via CMake arguments
8then it ends up not searching the specified dir and unwind.h is not found
9especially for ARM targets
10
11This patch makes the searching synthesized directories and then set
12LIBCXXABI_LIBUNWIND_INCLUDES if its there in environment
13
14Upstream-Status: Pending
15Signed-off-by: Khem Raj <raj.khem@gmail.com>
16---
17 libcxxabi/CMakeLists.txt | 15 ++++++++++-----
18 1 file changed, 10 insertions(+), 5 deletions(-)
19
20diff --git a/libcxxabi/CMakeLists.txt b/libcxxabi/CMakeLists.txt
21index 6dcfc51e5532..32478a62a058 100644
22--- a/libcxxabi/CMakeLists.txt
23+++ b/libcxxabi/CMakeLists.txt
24@@ -465,7 +465,7 @@ set(LIBCXXABI_LIBUNWIND_PATH "${LIBCXXABI_LIBUNWIND_PATH}" CACHE PATH
25 "Specify path to libunwind source." FORCE)
26
27 if (LIBCXXABI_USE_LLVM_UNWINDER OR LLVM_NATIVE_ARCH MATCHES ARM)
28- find_path(LIBCXXABI_LIBUNWIND_INCLUDES_INTERNAL libunwind.h
29+ find_path(LIBCXXABI_LIBUNWIND_INCLUDES libunwind.h
30 PATHS ${LIBCXXABI_LIBUNWIND_INCLUDES}
31 ${LIBCXXABI_LIBUNWIND_PATH}/include
32 ${CMAKE_BINARY_DIR}/${LIBCXXABI_LIBUNWIND_INCLUDES}
33@@ -476,18 +476,23 @@ if (LIBCXXABI_USE_LLVM_UNWINDER OR LLVM_NATIVE_ARCH MATCHES ARM)
34 NO_CMAKE_FIND_ROOT_PATH
35 )
36
37- if (LIBCXXABI_LIBUNWIND_INCLUDES_INTERNAL STREQUAL "LIBCXXABI_LIBUNWIND_INCLUDES_INTERNAL-NOTFOUND")
38- set(LIBCXXABI_LIBUNWIND_INCLUDES_INTERNAL "")
39+ if (LIBCXXABI_LIBUNWIND_INCLUDES STREQUAL "LIBCXXABI_LIBUNWIND_INCLUDES-NOTFOUND")
40+ set(LIBCXXABI_LIBUNWIND_INCLUDES "")
41 endif()
42 endif()
43
44-if (NOT "${LIBCXXABI_LIBUNWIND_INCLUDES_INTERNAL}" STREQUAL "")
45- include_directories("${LIBCXXABI_LIBUNWIND_INCLUDES_INTERNAL}")
46+if (NOT "${LIBCXXABI_LIBUNWIND_INCLUDES}" STREQUAL "")
47+ include_directories("${LIBCXXABI_LIBUNWIND_INCLUDES}")
48 endif()
49
50 add_custom_target(cxxabi-test-depends
51 COMMENT "Build dependencies required to run the libc++abi test suite.")
52
53+set(LIBCXXABI_LIBUNWIND_INCLUDES "${LIBCXXABI_LIBUNWIND_INCLUDES}" CACHE PATH
54+ "Specify path to libunwind includes." FORCE)
55+set(LIBCXXABI_LIBUNWIND_PATH "${LIBCXXABI_LIBUNWIND_PATH}" CACHE PATH
56+ "Specify path to libunwind source." FORCE)
57+
58 # Add source code. This also contains all of the logic for deciding linker flags
59 # soname, etc...
60 add_subdirectory(include)
diff --git a/meta/recipes-devtools/clang/clang/0002-compiler-rt-support-a-new-embedded-linux-target.patch b/meta/recipes-devtools/clang/clang/0002-compiler-rt-support-a-new-embedded-linux-target.patch
new file mode 100644
index 0000000000..d5d6a2c6d7
--- /dev/null
+++ b/meta/recipes-devtools/clang/clang/0002-compiler-rt-support-a-new-embedded-linux-target.patch
@@ -0,0 +1,309 @@
1From 6e8c6c53281fdd3b11d29d706905a3fe959afd11 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 19 Apr 2015 15:16:23 -0700
4Subject: [PATCH] compiler-rt: support a new embedded linux target
5
6Upstream-Status: Pending
7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8---
9 .../make/platform/clang_linux_embedded.mk | 286 ++++++++++++++++++
10 .../clang_linux_embedded_test_input.c | 0
11 2 files changed, 286 insertions(+)
12 create mode 100644 compiler-rt/make/platform/clang_linux_embedded.mk
13 create mode 100644 compiler-rt/make/platform/clang_linux_embedded_test_input.c
14
15diff --git a/compiler-rt/make/platform/clang_linux_embedded.mk b/compiler-rt/make/platform/clang_linux_embedded.mk
16new file mode 100644
17index 000000000000..d0a890075a1c
18--- /dev/null
19+++ b/compiler-rt/make/platform/clang_linux_embedded.mk
20@@ -0,0 +1,286 @@
21+# These are the functions which clang needs when it is targeting a previous
22+# version of the OS. The issue is that the backend may use functions which were
23+# not present in the libgcc that shipped on the platform. In such cases, we link
24+# with a version of the library which contains private_extern definitions of all
25+# the extra functions which might be referenced.
26+
27+Description := Static runtime libraries for embedded clang/Linux
28+
29+# A function that ensures we don't try to build for architectures that we
30+# don't have working toolchains for.
31+CheckArches = \
32+ $(shell \
33+ result=""; \
34+ for arch in $(1); do \
35+ if $(CC) -arch $$arch -c \
36+ -integrated-as \
37+ $(ProjSrcRoot)/make/platform/clang_linux_embedded_test_input.c \
38+ -o /dev/null > /dev/null 2> /dev/null; then \
39+ result="$$result$$arch "; \
40+ else \
41+ printf 1>&2 \
42+ "warning: clang_linux_embedded.mk: dropping arch '$$arch' from lib '$(2)'\n"; \
43+ fi; \
44+ done; \
45+ echo $$result)
46+
47+XCRun = \
48+ $(shell \
49+ result=`xcrun -find $(1) 2> /dev/null`; \
50+ if [ "$$?" != "0" ]; then result=$(1); fi; \
51+ echo $$result)
52+
53+###
54+
55+CC := $(call XCRun,clang)
56+AR := $(call XCRun,ar)
57+RANLIB := $(call XCRun,ranlib)
58+STRIP := $(call XCRun,strip)
59+LIPO := $(call XCRun,lipo)
60+DSYMUTIL := $(call XCRun,dsymutil)
61+Configs :=
62+UniversalArchs :=
63+
64+# Soft-float version of the runtime. No floating-point instructions will be used
65+# and the ABI (out of necessity) passes floating values in normal registers:
66+# non-VFP variant of the AAPCS.
67+UniversalArchs.soft_static := $(call CheckArches,arm armv7m armv7em armv7,soft_static)
68+Configs += $(if $(UniversalArchs.soft_static),soft_static)
69+
70+# Hard-float version of the runtime. On ARM VFP instructions and registers are
71+# allowed, and floating point values get passed in them. VFP variant of the
72+# AAPCS.
73+UniversalArchs.hard_static := $(call CheckArches,armv7em armv7 i386 x86_64,hard_static)
74+Configs += $(if $(UniversalArchs.hard_static),hard_static)
75+
76+UniversalArchs.soft_pic := $(call CheckArches,armv6m armv7m armv7em armv7,soft_pic)
77+Configs += $(if $(UniversalArchs.soft_pic),soft_pic)
78+
79+UniversalArchs.hard_pic := $(call CheckArches,armv7em armv7 i386 x86_64,hard_pic)
80+Configs += $(if $(UniversalArchs.hard_pic),hard_pic)
81+
82+CFLAGS := -Wall -Werror -Oz -fomit-frame-pointer -ffreestanding
83+
84+PIC_CFLAGS := -fPIC
85+STATIC_CFLAGS := -static
86+
87+CFLAGS_SOFT := -mfloat-abi=soft
88+CFLAGS_HARD := -mfloat-abi=hard
89+
90+CFLAGS_I386 := -march=pentium
91+
92+CFLAGS.soft_static := $(CFLAGS) $(STATIC_CFLAGS) $(CFLAGS_SOFT)
93+CFLAGS.hard_static := $(CFLAGS) $(STATIC_CFLAGS) $(CFLAGS_HARD)
94+CFLAGS.soft_pic := $(CFLAGS) $(PIC_CFLAGS) $(CFLAGS_SOFT)
95+CFLAGS.hard_pic := $(CFLAGS) $(PIC_CFLAGS) $(CFLAGS_HARD)
96+
97+CFLAGS.soft_static.armv7 := $(CFLAGS.soft_static) $(CFLAGS_ARMV7)
98+CFLAGS.hard_static.armv7 := $(CFLAGS.hard_static) $(CFLAGS_ARMV7)
99+CFLAGS.soft_pic.armv7 := $(CFLAGS.soft_pic) $(CFLAGS_ARMV7)
100+CFLAGS.hard_pic.armv7 := $(CFLAGS.hard_pic) $(CFLAGS_ARMV7)
101+
102+# x86 platforms ignore -mfloat-abi options and complain about doing so. Despite
103+# this they're hard-float.
104+CFLAGS.hard_static.i386 := $(CFLAGS) $(STATIC_CFLAGS) $(CFLAGS_I386)
105+CFLAGS.hard_pic.i386 := $(CFLAGS) $(PIC_CFLAGS) $(CFLAGS_I386)
106+CFLAGS.hard_static.x86_64 := $(CFLAGS) $(STATIC_CFLAGS)
107+CFLAGS.hard_pic.x86_64 := $(CFLAGS) $(PIC_CFLAGS)
108+
109+# Functions not wanted:
110+# + eprintf is obsolete anyway
111+# + *vfp: designed for Thumb1 CPUs with VFPv2
112+
113+COMMON_FUNCTIONS := \
114+ absvdi2 \
115+ absvsi2 \
116+ addvdi3 \
117+ addvsi3 \
118+ ashldi3 \
119+ ashrdi3 \
120+ bswapdi2 \
121+ bswapsi2 \
122+ clzdi2 \
123+ clzsi2 \
124+ cmpdi2 \
125+ ctzdi2 \
126+ ctzsi2 \
127+ divdc3 \
128+ divdi3 \
129+ divsc3 \
130+ divmodsi4 \
131+ udivmodsi4 \
132+ do_global_dtors \
133+ ffsdi2 \
134+ fixdfdi \
135+ fixsfdi \
136+ fixunsdfdi \
137+ fixunsdfsi \
138+ fixunssfdi \
139+ fixunssfsi \
140+ floatdidf \
141+ floatdisf \
142+ floatundidf \
143+ floatundisf \
144+ gcc_bcmp \
145+ lshrdi3 \
146+ moddi3 \
147+ muldc3 \
148+ muldi3 \
149+ mulsc3 \
150+ mulvdi3 \
151+ mulvsi3 \
152+ negdi2 \
153+ negvdi2 \
154+ negvsi2 \
155+ paritydi2 \
156+ paritysi2 \
157+ popcountdi2 \
158+ popcountsi2 \
159+ powidf2 \
160+ powisf2 \
161+ subvdi3 \
162+ subvsi3 \
163+ ucmpdi2 \
164+ udiv_w_sdiv \
165+ udivdi3 \
166+ udivmoddi4 \
167+ umoddi3 \
168+ adddf3 \
169+ addsf3 \
170+ cmpdf2 \
171+ cmpsf2 \
172+ div0 \
173+ divdf3 \
174+ divsf3 \
175+ divsi3 \
176+ extendsfdf2 \
177+ ffssi2 \
178+ fixdfsi \
179+ fixsfsi \
180+ floatsidf \
181+ floatsisf \
182+ floatunsidf \
183+ floatunsisf \
184+ comparedf2 \
185+ comparesf2 \
186+ modsi3 \
187+ muldf3 \
188+ mulsf3 \
189+ negdf2 \
190+ negsf2 \
191+ subdf3 \
192+ subsf3 \
193+ truncdfsf2 \
194+ udivsi3 \
195+ umodsi3 \
196+ unorddf2 \
197+ unordsf2
198+
199+ARM_FUNCTIONS := \
200+ aeabi_cdcmpeq \
201+ aeabi_cdrcmple \
202+ aeabi_cfcmpeq \
203+ aeabi_cfrcmple \
204+ aeabi_dcmpeq \
205+ aeabi_dcmpge \
206+ aeabi_dcmpgt \
207+ aeabi_dcmple \
208+ aeabi_dcmplt \
209+ aeabi_drsub \
210+ aeabi_fcmpeq \
211+ aeabi_fcmpge \
212+ aeabi_fcmpgt \
213+ aeabi_fcmple \
214+ aeabi_fcmplt \
215+ aeabi_frsub \
216+ aeabi_idivmod \
217+ aeabi_uidivmod \
218+
219+# ARM Assembly implementation which requires Thumb2 (i.e. won't work on v6M).
220+THUMB2_FUNCTIONS := \
221+ switch16 \
222+ switch32 \
223+ switch8 \
224+ switchu8 \
225+ sync_fetch_and_add_4 \
226+ sync_fetch_and_sub_4 \
227+ sync_fetch_and_and_4 \
228+ sync_fetch_and_or_4 \
229+ sync_fetch_and_xor_4 \
230+ sync_fetch_and_nand_4 \
231+ sync_fetch_and_max_4 \
232+ sync_fetch_and_umax_4 \
233+ sync_fetch_and_min_4 \
234+ sync_fetch_and_umin_4 \
235+ sync_fetch_and_add_8 \
236+ sync_fetch_and_sub_8 \
237+ sync_fetch_and_and_8 \
238+ sync_fetch_and_or_8 \
239+ sync_fetch_and_xor_8 \
240+ sync_fetch_and_nand_8 \
241+ sync_fetch_and_max_8 \
242+ sync_fetch_and_umax_8 \
243+ sync_fetch_and_min_8 \
244+ sync_fetch_and_umin_8
245+
246+I386_FUNCTIONS := \
247+ i686.get_pc_thunk.eax \
248+ i686.get_pc_thunk.ebp \
249+ i686.get_pc_thunk.ebx \
250+ i686.get_pc_thunk.ecx \
251+ i686.get_pc_thunk.edi \
252+ i686.get_pc_thunk.edx \
253+ i686.get_pc_thunk.esi
254+
255+# FIXME: Currently, compiler-rt is missing implementations for a number of the
256+# functions. Filter them out for now.
257+MISSING_FUNCTIONS := \
258+ cmpdf2 cmpsf2 div0 \
259+ ffssi2 \
260+ udiv_w_sdiv unorddf2 unordsf2 bswapdi2 \
261+ bswapsi2 \
262+ gcc_bcmp \
263+ do_global_dtors \
264+ i686.get_pc_thunk.eax i686.get_pc_thunk.ebp i686.get_pc_thunk.ebx \
265+ i686.get_pc_thunk.ecx i686.get_pc_thunk.edi i686.get_pc_thunk.edx \
266+ i686.get_pc_thunk.esi \
267+ aeabi_cdcmpeq aeabi_cdrcmple aeabi_cfcmpeq aeabi_cfrcmple aeabi_dcmpeq \
268+ aeabi_dcmpge aeabi_dcmpgt aeabi_dcmple aeabi_dcmplt aeabi_drsub \
269+ aeabi_fcmpeq \ aeabi_fcmpge aeabi_fcmpgt aeabi_fcmple aeabi_fcmplt \
270+ aeabi_frsub aeabi_idivmod aeabi_uidivmod
271+
272+FUNCTIONS_ARMV6M := $(COMMON_FUNCTIONS) $(ARM_FUNCTIONS)
273+FUNCTIONS_ARM_ALL := $(COMMON_FUNCTIONS) $(ARM_FUNCTIONS) $(THUMB2_FUNCTIONS)
274+FUNCTIONS_I386 := $(COMMON_FUNCTIONS) $(I386_FUNCTIONS)
275+FUNCTIONS_X86_64 := $(COMMON_FUNCTIONS)
276+
277+FUNCTIONS_ARMV6M := \
278+ $(filter-out $(MISSING_FUNCTIONS),$(FUNCTIONS_ARMV6M))
279+FUNCTIONS_ARM_ALL := \
280+ $(filter-out $(MISSING_FUNCTIONS),$(FUNCTIONS_ARM_ALL))
281+FUNCTIONS_I386 := \
282+ $(filter-out $(MISSING_FUNCTIONS),$(FUNCTIONS_I386))
283+FUNCTIONS_X86_64 := \
284+ $(filter-out $(MISSING_FUNCTIONS),$(FUNCTIONS_X86_64))
285+
286+FUNCTIONS.soft_static.armv6m := $(FUNCTIONS_ARMV6M)
287+FUNCTIONS.soft_pic.armv6m := $(FUNCTIONS_ARMV6M)
288+
289+FUNCTIONS.soft_static.armv7m := $(FUNCTIONS_ARM_ALL)
290+FUNCTIONS.soft_pic.armv7m := $(FUNCTIONS_ARM_ALL)
291+
292+FUNCTIONS.soft_static.armv7em := $(FUNCTIONS_ARM_ALL)
293+FUNCTIONS.hard_static.armv7em := $(FUNCTIONS_ARM_ALL)
294+FUNCTIONS.soft_pic.armv7em := $(FUNCTIONS_ARM_ALL)
295+FUNCTIONS.hard_pic.armv7em := $(FUNCTIONS_ARM_ALL)
296+
297+FUNCTIONS.soft_static.armv7 := $(FUNCTIONS_ARM_ALL)
298+FUNCTIONS.hard_static.armv7 := $(FUNCTIONS_ARM_ALL)
299+FUNCTIONS.soft_pic.armv7 := $(FUNCTIONS_ARM_ALL)
300+FUNCTIONS.hard_pic.armv7 := $(FUNCTIONS_ARM_ALL)
301+
302+FUNCTIONS.hard_static.i386 := $(FUNCTIONS_I386)
303+FUNCTIONS.hard_pic.i386 := $(FUNCTIONS_I386)
304+
305+FUNCTIONS.hard_static.x86_64 := $(FUNCTIONS_X86_64)
306+FUNCTIONS.hard_pic.x86_64 := $(FUNCTIONS_X86_64)
307diff --git a/compiler-rt/make/platform/clang_linux_embedded_test_input.c b/compiler-rt/make/platform/clang_linux_embedded_test_input.c
308new file mode 100644
309index 000000000000..e69de29bb2d1
diff --git a/meta/recipes-devtools/clang/clang/0003-compiler-rt-Simplify-cross-compilation.-Don-t-use-na.patch b/meta/recipes-devtools/clang/clang/0003-compiler-rt-Simplify-cross-compilation.-Don-t-use-na.patch
new file mode 100644
index 0000000000..0ee7090290
--- /dev/null
+++ b/meta/recipes-devtools/clang/clang/0003-compiler-rt-Simplify-cross-compilation.-Don-t-use-na.patch
@@ -0,0 +1,44 @@
1From 419855642e4a48d09e7b3b1e02593b6d9a506089 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 19 May 2016 23:11:45 -0700
4Subject: [PATCH] compiler-rt: Simplify cross-compilation. Don't use
5 native-compiled llvm-config.
6
7 Note: AddLLVM.cmake does not expose the LLVM source directory.
8 So if you want to run the test suite, you need to either:
9
10 1) set LLVM_MAIN_SRC_DIR explicitly (to find lit.py)
11 2) change AddLLVM.cmake to point to an installed 'lit'.
12 3) add_subdirectory(compiler-rt/test) from clang instead of compiler-rt.
13
14https://us.codeaurora.org/patches/quic/llvm/50683/compiler-rt-cross-compilation.patch
15
16Upstream-Status: Pending
17Signed-off-by: Greg Fitzgerald <gregf@codeaurora.org>
18Signed-off-by: Khem Raj <raj.khem@gmail.com>
19---
20 compiler-rt/CMakeLists.txt | 11 ++++++++++-
21 1 file changed, 10 insertions(+), 1 deletion(-)
22
23diff --git a/compiler-rt/CMakeLists.txt b/compiler-rt/CMakeLists.txt
24index 2c52788de56a..fe409704acc3 100644
25--- a/compiler-rt/CMakeLists.txt
26+++ b/compiler-rt/CMakeLists.txt
27@@ -107,7 +107,16 @@ if (COMPILER_RT_STANDALONE_BUILD)
28 set(CMAKE_CXX_EXTENSIONS NO)
29
30 if (NOT LLVM_RUNTIMES_BUILD)
31- load_llvm_config()
32+ find_package(LLVM REQUIRED)
33+ list(APPEND CMAKE_MODULE_PATH "${LLVM_CMAKE_DIR}")
34+
35+ # Variables that AddLLVM.cmake depends on (included by AddCompilerRT)
36+ set(LLVM_TOOLS_BINARY_DIR "${LLVM_INSTALL_PREFIX}/bin")
37+ set(LLVM_LIBRARY_DIR "${LLVM_INSTALL_PREFIX}/lib")
38+
39+ set(LLVM_LIBRARY_OUTPUT_INTDIR
40+ ${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lib${LLVM_LIBDIR_SUFFIX})
41+
42 endif()
43 if (TARGET intrinsics_gen)
44 # Loading the llvm config causes this target to be imported so place it
diff --git a/meta/recipes-devtools/clang/clang/0004-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch b/meta/recipes-devtools/clang/clang/0004-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch
new file mode 100644
index 0000000000..60b5360057
--- /dev/null
+++ b/meta/recipes-devtools/clang/clang/0004-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch
@@ -0,0 +1,90 @@
1From 2603da5f1fce88f6c7f6134faf7757f17b7e14f5 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 21 May 2016 00:33:20 +0000
4Subject: [PATCH] llvm: TargetLibraryInfo: Undefine libc functions if they are
5 macros
6
7musl defines some functions as macros and not inline functions
8if this is the case then make sure to undefine them
9
10Upstream-Status: Pending
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 .../llvm/Analysis/TargetLibraryInfo.def | 22 ++++++++++++++++++-
14 1 file changed, 21 insertions(+), 1 deletion(-)
15
16diff --git a/llvm/include/llvm/Analysis/TargetLibraryInfo.def b/llvm/include/llvm/Analysis/TargetLibraryInfo.def
17index db566b8ee610..578161f9c978 100644
18--- a/llvm/include/llvm/Analysis/TargetLibraryInfo.def
19+++ b/llvm/include/llvm/Analysis/TargetLibraryInfo.def
20@@ -1467,6 +1467,9 @@ TLI_DEFINE_STRING_INTERNAL("fopen")
21 TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, Ptr)
22
23 /// FILE *fopen64(const char *filename, const char *opentype)
24+#ifdef fopen64
25+#undef fopen64
26+#endif
27 TLI_DEFINE_ENUM_INTERNAL(fopen64)
28 TLI_DEFINE_STRING_INTERNAL("fopen64")
29 TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, Ptr)
30@@ -1545,7 +1548,9 @@ TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Long, Int)
31 TLI_DEFINE_ENUM_INTERNAL(fseeko)
32 TLI_DEFINE_STRING_INTERNAL("fseeko")
33 TLI_DEFINE_SIG_INTERNAL(Int, Ptr, IntX, Int)
34-
35+#ifdef fseeko64
36+#undef fseeko64
37+#endif
38 /// int fseeko64(FILE *stream, off64_t offset, int whence)
39 TLI_DEFINE_ENUM_INTERNAL(fseeko64)
40 TLI_DEFINE_STRING_INTERNAL("fseeko64")
41@@ -1562,6 +1567,9 @@ TLI_DEFINE_STRING_INTERNAL("fstat")
42 TLI_DEFINE_SIG_INTERNAL(Int, Int, Ptr)
43
44 /// int fstat64(int filedes, struct stat64 *buf)
45+#ifdef fstat64
46+#undef fstat64
47+#endif
48 TLI_DEFINE_ENUM_INTERNAL(fstat64)
49 TLI_DEFINE_STRING_INTERNAL("fstat64")
50 TLI_DEFINE_SIG_INTERNAL(Int, Int, Ptr)
51@@ -1587,6 +1595,9 @@ TLI_DEFINE_STRING_INTERNAL("ftello")
52 TLI_DEFINE_SIG_INTERNAL(IntPlus, Ptr)
53
54 /// off64_t ftello64(FILE *stream)
55+#ifdef ftello64
56+#undef ftello64
57+#endif
58 TLI_DEFINE_ENUM_INTERNAL(ftello64)
59 TLI_DEFINE_STRING_INTERNAL("ftello64")
60 TLI_DEFINE_SIG_INTERNAL(Int64, Ptr)
61@@ -1827,6 +1838,9 @@ TLI_DEFINE_STRING_INTERNAL("lstat")
62 TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr)
63
64 /// int lstat64(const char *path, struct stat64 *buf);
65+#ifdef lstat64
66+#undef lstat64
67+#endif
68 TLI_DEFINE_ENUM_INTERNAL(lstat64)
69 TLI_DEFINE_STRING_INTERNAL("lstat64")
70 TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr)
71@@ -2334,6 +2348,9 @@ TLI_DEFINE_STRING_INTERNAL("stat")
72 TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr)
73
74 /// int stat64(const char *path, struct stat64 *buf);
75+#ifdef stat64
76+#undef stat64
77+#endif
78 TLI_DEFINE_ENUM_INTERNAL(stat64)
79 TLI_DEFINE_STRING_INTERNAL("stat64")
80 TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr)
81@@ -2559,6 +2576,9 @@ TLI_DEFINE_STRING_INTERNAL("tmpfile")
82 TLI_DEFINE_SIG_INTERNAL(Ptr)
83
84 /// FILE *tmpfile64(void)
85+#ifdef tmpfile64
86+#undef tmpfile64
87+#endif
88 TLI_DEFINE_ENUM_INTERNAL(tmpfile64)
89 TLI_DEFINE_STRING_INTERNAL("tmpfile64")
90 TLI_DEFINE_SIG_INTERNAL(Ptr)
diff --git a/meta/recipes-devtools/clang/clang/0005-llvm-allow-env-override-of-exe-and-libdir-path.patch b/meta/recipes-devtools/clang/clang/0005-llvm-allow-env-override-of-exe-and-libdir-path.patch
new file mode 100644
index 0000000000..7aea73e611
--- /dev/null
+++ b/meta/recipes-devtools/clang/clang/0005-llvm-allow-env-override-of-exe-and-libdir-path.patch
@@ -0,0 +1,71 @@
1From 13a9ce5a34060abaa6d5da5176eb1dab271dac4e Mon Sep 17 00:00:00 2001
2From: Martin Kelly <mkelly@xevo.com>
3Date: Fri, 19 May 2017 00:22:57 -0700
4Subject: [PATCH] llvm: allow env override of exe and libdir path
5
6When using a native llvm-config from inside a sysroot, we need llvm-config to
7return the libraries, include directories, etc. from inside the sysroot rather
8than from the native sysroot. Thus provide an env override for calling
9llvm-config from a target sysroot.
10
11Add YOCTO_ALTERNATE_LIBDIR and YOCTO_ALTERNATE_EXE_PATH env variables
12
13Upstream-Status: Inappropriate [OE-specific]
14
15Signed-off-by: Martin Kelly <mkelly@xevo.com>
16Signed-off-by: Khem Raj <raj.khem@gmail.com>
17---
18 llvm/tools/llvm-config/llvm-config.cpp | 25 +++++++++++++++++++------
19 1 file changed, 19 insertions(+), 6 deletions(-)
20
21diff --git a/llvm/tools/llvm-config/llvm-config.cpp b/llvm/tools/llvm-config/llvm-config.cpp
22index d5b76b1bb6c1..a739f0d8dbea 100644
23--- a/llvm/tools/llvm-config/llvm-config.cpp
24+++ b/llvm/tools/llvm-config/llvm-config.cpp
25@@ -246,6 +246,13 @@ Typical components:\n\
26
27 /// Compute the path to the main executable.
28 std::string GetExecutablePath(const char *Argv0) {
29+ // Hack for Yocto: we need to override the root path when we are using
30+ // llvm-config from within a target sysroot.
31+ const char *Sysroot = std::getenv("YOCTO_ALTERNATE_EXE_PATH");
32+ if (Sysroot != nullptr) {
33+ return Sysroot;
34+ }
35+
36 // This just needs to be some symbol in the binary; C++ doesn't
37 // allow taking the address of ::main however.
38 void *P = (void *)(intptr_t)GetExecutablePath;
39@@ -325,7 +332,7 @@ int main(int argc, char **argv) {
40 // Compute various directory locations based on the derived location
41 // information.
42 std::string ActivePrefix, ActiveBinDir, ActiveIncludeDir, ActiveLibDir,
43- ActiveCMakeDir;
44+ ActiveCMakeDir, BaseLibDir;
45 std::string ActiveIncludeOption;
46 if (IsInDevelopmentTree) {
47 ActiveIncludeDir = std::string(LLVM_SRC_ROOT) + "/include";
48@@ -366,12 +373,18 @@ int main(int argc, char **argv) {
49 sys::fs::make_absolute(ActivePrefix, Path);
50 ActiveBinDir = std::string(Path);
51 }
52- ActiveLibDir = ActivePrefix + "/lib" + LLVM_LIBDIR_SUFFIX;
53- {
54- SmallString<256> Path(LLVM_INSTALL_PACKAGE_DIR);
55- sys::fs::make_absolute(ActivePrefix, Path);
56- ActiveCMakeDir = std::string(Path);
57+ // Hack for Yocto: we need to override the lib path when we are using
58+ // llvm-config from within a target sysroot since LLVM_LIBDIR_SUFFIX
59+ // maybe different for host llvm vs target e.g. ppc64 Libdir=lib64 but
60+ // x86_64 Libdir = lib
61+ const char *YoctoLibDir = std::getenv("YOCTO_ALTERNATE_LIBDIR");
62+ if (YoctoLibDir != nullptr) {
63+ BaseLibDir = std::string(YoctoLibDir);
64+ } else {
65+ BaseLibDir = std::string("/lib") + LLVM_LIBDIR_SUFFIX;
66 }
67+ ActiveLibDir = ActivePrefix + BaseLibDir;
68+ ActiveCMakeDir = ActiveLibDir + "/cmake/llvm";
69 ActiveIncludeOption = "-I" + ActiveIncludeDir;
70 }
71
diff --git a/meta/recipes-devtools/clang/clang/0006-clang-driver-Check-sysroot-for-ldso-path.patch b/meta/recipes-devtools/clang/clang/0006-clang-driver-Check-sysroot-for-ldso-path.patch
new file mode 100644
index 0000000000..44fa980ab8
--- /dev/null
+++ b/meta/recipes-devtools/clang/clang/0006-clang-driver-Check-sysroot-for-ldso-path.patch
@@ -0,0 +1,78 @@
1From a804903ed85707d9a06c7e01aef536b3042790d0 Mon Sep 17 00:00:00 2001
2From: Dan McGregor <dan.mcgregor@usask.ca>
3Date: Wed, 26 Apr 2017 20:29:41 -0600
4Subject: [PATCH] clang: driver: Check sysroot for ldso path
5
6when we build multilib the ldso has different paths than clangs defaults,
7every distro kind of does that so OE is not the only one,
8it happens especially on ppc64, where OE does not necessarily follow the
9default path for the dynamic linker, therefore adjust it for OE. Check
10for the default path, and if it isn't there, check /lib.
11
12Upstream-Status: Pending
13Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
14Signed-off-by: Khem Raj <raj.khem@gmail.com>
15---
16 clang/lib/Driver/ToolChains/Linux.cpp | 22 +++++++++++++++++++++-
17 1 file changed, 21 insertions(+), 1 deletion(-)
18
19diff --git a/clang/lib/Driver/ToolChains/Linux.cpp b/clang/lib/Driver/ToolChains/Linux.cpp
20index 0767fe6c5879..e5a696f63fd0 100644
21--- a/clang/lib/Driver/ToolChains/Linux.cpp
22+++ b/clang/lib/Driver/ToolChains/Linux.cpp
23@@ -523,8 +523,12 @@ std::string Linux::getDynamicLinker(const ArgList &Args) const {
24 Triple.getEnvironment() == llvm::Triple::GNUEABIHFT64 ||
25 tools::arm::getARMFloatABI(*this, Args) == tools::arm::FloatABI::Hard;
26
27- LibDir = "lib";
28 Loader = HF ? "ld-linux-armhf.so.3" : "ld-linux.so.3";
29+ LibDir = "lib32";
30+ if (!getVFS().exists(getDriver().SysRoot + "/" + LibDir + "/" + Loader) &&
31+ getVFS().exists(getDriver().SysRoot + "/lib/" + Loader)) {
32+ LibDir = "lib";
33+ }
34 break;
35 }
36 case llvm::Triple::loongarch32: {
37@@ -578,11 +582,19 @@ std::string Linux::getDynamicLinker(const ArgList &Args) const {
38 LibDir = "lib64";
39 Loader =
40 (tools::ppc::hasPPCAbiArg(Args, "elfv2")) ? "ld64.so.2" : "ld64.so.1";
41+ if (!getVFS().exists(getDriver().SysRoot + "/" + LibDir + "/" + Loader) &&
42+ getVFS().exists(getDriver().SysRoot + "/lib/" + Loader)) {
43+ LibDir = "lib";
44+ }
45 break;
46 case llvm::Triple::ppc64le:
47 LibDir = "lib64";
48 Loader =
49 (tools::ppc::hasPPCAbiArg(Args, "elfv1")) ? "ld64.so.1" : "ld64.so.2";
50+ if (!getVFS().exists(getDriver().SysRoot + "/" + LibDir + "/" + Loader) &&
51+ getVFS().exists(getDriver().SysRoot + "/lib/" + Loader)) {
52+ LibDir = "lib";
53+ }
54 break;
55 case llvm::Triple::riscv32:
56 case llvm::Triple::riscv64: {
57@@ -600,6 +612,10 @@ std::string Linux::getDynamicLinker(const ArgList &Args) const {
58 case llvm::Triple::sparcv9:
59 LibDir = "lib64";
60 Loader = "ld-linux.so.2";
61+ if (!getVFS().exists(getDriver().SysRoot + "/" + LibDir + "/" + Loader) &&
62+ getVFS().exists(getDriver().SysRoot + "/lib/" + Loader)) {
63+ LibDir = "lib";
64+ }
65 break;
66 case llvm::Triple::systemz:
67 LibDir = "lib";
68@@ -614,6 +630,10 @@ std::string Linux::getDynamicLinker(const ArgList &Args) const {
69
70 LibDir = X32 ? "libx32" : "lib64";
71 Loader = X32 ? "ld-linux-x32.so.2" : "ld-linux-x86-64.so.2";
72+ if (!getVFS().exists(getDriver().SysRoot + "/" + LibDir + "/" + Loader) &&
73+ getVFS().exists(getDriver().SysRoot + "/lib/" + Loader)) {
74+ LibDir = "lib";
75+ }
76 break;
77 }
78 case llvm::Triple::ve:
diff --git a/meta/recipes-devtools/clang/clang/0007-clang-Driver-tools.cpp-Add-lssp_nonshared-on-musl.patch b/meta/recipes-devtools/clang/clang/0007-clang-Driver-tools.cpp-Add-lssp_nonshared-on-musl.patch
new file mode 100644
index 0000000000..6374ec7bf5
--- /dev/null
+++ b/meta/recipes-devtools/clang/clang/0007-clang-Driver-tools.cpp-Add-lssp_nonshared-on-musl.patch
@@ -0,0 +1,32 @@
1From 703e5acbeaad6eeb316740dd8b92b34db99bb1b3 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 19 May 2016 21:11:06 -0700
4Subject: [PATCH] clang: Driver/tools.cpp: Add -lssp_nonshared on musl
5
6musl driver will need to add ssp_nonshared for stack_check_local
7on the linker cmdline when using stack protector commands on
8compiler cmdline
9
10Upstream-Status: Pending
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 clang/lib/Driver/ToolChains/Gnu.cpp | 6 ++++++
14 1 file changed, 6 insertions(+)
15
16diff --git a/clang/lib/Driver/ToolChains/Gnu.cpp b/clang/lib/Driver/ToolChains/Gnu.cpp
17index f56eeda3cb5f..9f7b9e8d42a8 100644
18--- a/clang/lib/Driver/ToolChains/Gnu.cpp
19+++ b/clang/lib/Driver/ToolChains/Gnu.cpp
20@@ -631,6 +631,12 @@ void tools::gnutools::Linker::ConstructJob(Compilation &C, const JobAction &JA,
21 if (IsIAMCU)
22 CmdArgs.push_back("-lgloss");
23
24+ if (ToolChain.getTriple().isMusl() &&
25+ (Args.hasArg(options::OPT_fstack_protector) ||
26+ Args.hasArg(options::OPT_fstack_protector_strong) ||
27+ Args.hasArg(options::OPT_fstack_protector_all))) {
28+ CmdArgs.push_back("-lssp_nonshared");
29+ }
30 if (IsStatic || IsStaticPIE)
31 CmdArgs.push_back("--end-group");
32 else
diff --git a/meta/recipes-devtools/clang/clang/0008-clang-Prepend-trailing-to-sysroot.patch b/meta/recipes-devtools/clang/clang/0008-clang-Prepend-trailing-to-sysroot.patch
new file mode 100644
index 0000000000..16d8c9bae5
--- /dev/null
+++ b/meta/recipes-devtools/clang/clang/0008-clang-Prepend-trailing-to-sysroot.patch
@@ -0,0 +1,39 @@
1From b1d4a42b6078502530924cd0d15052671c760eb6 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 16 Mar 2017 09:02:13 -0700
4Subject: [PATCH] clang: Prepend trailing '/' to sysroot
5
6This is needed to handle a case where clang
7isntall and target sysroot are perilously same
8
9e.g.
10
11sysroot = /mnt/clang/recipe-sysroot
12clang install = /mnt/clang/recipe-sysroot-native
13
14in this case it will mistakenly assume that
15clang is installed under the same sysroot dir
16and it will try to add relative ../lib paths
17to linker steps which would then be wrong
18since they will become relative to clang
19installation and not sysroot
20
21Upstream-Status: Pending
22Signed-off-by: Khem Raj <raj.khem@gmail.com>
23---
24 clang/lib/Driver/ToolChains/Linux.cpp | 2 +-
25 1 file changed, 1 insertion(+), 1 deletion(-)
26
27diff --git a/clang/lib/Driver/ToolChains/Linux.cpp b/clang/lib/Driver/ToolChains/Linux.cpp
28index e5a696f63fd0..621fa17e0603 100644
29--- a/clang/lib/Driver/ToolChains/Linux.cpp
30+++ b/clang/lib/Driver/ToolChains/Linux.cpp
31@@ -216,7 +216,7 @@ Linux::Linux(const Driver &D, const llvm::Triple &Triple, const ArgList &Args)
32 Multilibs = GCCInstallation.getMultilibs();
33 SelectedMultilibs.assign({GCCInstallation.getMultilib()});
34 llvm::Triple::ArchType Arch = Triple.getArch();
35- std::string SysRoot = computeSysRoot();
36+ std::string SysRoot = computeSysRoot() + "/";
37 ToolChain::path_list &PPaths = getProgramPaths();
38
39 Generic_GCC::PushPPaths(PPaths);
diff --git a/meta/recipes-devtools/clang/clang/0009-clang-Look-inside-the-target-sysroot-for-compiler-ru.patch b/meta/recipes-devtools/clang/clang/0009-clang-Look-inside-the-target-sysroot-for-compiler-ru.patch
new file mode 100644
index 0000000000..2ad1130355
--- /dev/null
+++ b/meta/recipes-devtools/clang/clang/0009-clang-Look-inside-the-target-sysroot-for-compiler-ru.patch
@@ -0,0 +1,41 @@
1From 3edfe16c0d8bb3d135465038cb07c8122baac698 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 16 Mar 2017 19:06:26 -0700
4Subject: [PATCH] clang: Look inside the target sysroot for compiler runtime
5
6In OE compiler-rt and libc++ are built and staged into target
7sysroot and not into resourcedir which is relative to clang
8driver installation where the libraries are not instlled
9
10Specific to cross compiling the way yocto/OE works
11
12Upstream-Status: Pending
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14---
15 clang/lib/Driver/ToolChain.cpp | 6 +++++-
16 1 file changed, 5 insertions(+), 1 deletion(-)
17
18diff --git a/clang/lib/Driver/ToolChain.cpp b/clang/lib/Driver/ToolChain.cpp
19index acf9d264d631..3e46c88e95cb 100644
20--- a/clang/lib/Driver/ToolChain.cpp
21+++ b/clang/lib/Driver/ToolChain.cpp
22@@ -16,6 +16,7 @@
23 #include "ToolChains/InterfaceStubs.h"
24 #include "clang/Basic/ObjCRuntime.h"
25 #include "clang/Basic/Sanitizers.h"
26+#include "clang/Basic/Version.h"
27 #include "clang/Config/config.h"
28 #include "clang/Driver/Action.h"
29 #include "clang/Driver/Driver.h"
30@@ -708,7 +709,10 @@ StringRef ToolChain::getOSLibName() const {
31 }
32
33 std::string ToolChain::getCompilerRTPath() const {
34- SmallString<128> Path(getDriver().ResourceDir);
35+ SmallString<128> Path(getDriver().SysRoot);
36+ StringRef ClangLibdirBasename(CLANG_INSTALL_LIBDIR_BASENAME);
37+ llvm::sys::path::append(Path, "/usr/", ClangLibdirBasename, "clang",
38+ CLANG_VERSION_STRING);
39 if (isBareMetal()) {
40 llvm::sys::path::append(Path, "lib", getOSLibName());
41 if (!SelectedMultilibs.empty()) {
diff --git a/meta/recipes-devtools/clang/clang/0010-clang-Define-releative-gcc-installation-dir.patch b/meta/recipes-devtools/clang/clang/0010-clang-Define-releative-gcc-installation-dir.patch
new file mode 100644
index 0000000000..346a4fcbb0
--- /dev/null
+++ b/meta/recipes-devtools/clang/clang/0010-clang-Define-releative-gcc-installation-dir.patch
@@ -0,0 +1,123 @@
1From dc2de98d70a763f30347df2d76df1c70cc464b87 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 20 Mar 2021 16:09:16 -0700
4Subject: [PATCH] clang: Define / releative gcc installation dir
5
6This is required for OE gcc installation to work.
7Without this its not able to find the paths for libgcc
8and other standard headers and libraries from gcc
9installation in OE
10
11* Do not use install relative libc++ headers
12In OE we use same clang for native and cross builds, therefore we need
13to ensure that native sysroot install of libc++ is not searched for
14headers when doing cross compile instead it searches the target sysroot
15this is especially troublesome when libcxx-native is staged along with
16libcxx e.g. chromium
17
18 * Fix lib paths for OpenEmbedded Host
19
20Under OpenEmbedded Host, while building with clang-native, it cannot find
21the GCCInstallPath, which causing following error:
22[snip]
23compiler-rt-native/13.0.1-r0/recipe-sysroot-native/usr/bin/clang
24-target x86_64-linux
25-isystem/path/to/x86_64-linux/compiler-rt-native/13.0.1-r0/recipe-sysroot-native/usr/include
26-O2 -pipe
27/path/to/compiler-rt-native/13.0.1-r0/recipe-sysroot-native/usr/share/cmake-3.21/Modules/CMakeCCompilerABI.c`
28hosttools/ld: cannot find crtbeginS.o: No such file or directory
29[snip]
30
31Before this patch:
32compiler-rt-native/13.0.1-r0/recipe-sysroot-native/usr/bin/clang
33clang version 13.0.1 (https://github.com/llvm/llvm-project 08e3a5ccd952edee36b3c002e3a29c6b1b5153de)
34Target: x86_64-unknown-linux-gnu
35Thread model: posix
36InstalledDir: /build/tmp-glibc/work/x86_64-linux/compiler-rt-native/13.0.1-r0/recipe-sysroot-native/usr/bin
37Found candidate GCC installation: /usr/lib/gcc/x86_64-wrs-linux/10.2.0
38
39After this patch:
40compiler-rt-native/13.0.1-r0/recipe-sysroot-native/usr/bin/clang
41clang version 13.0.1 (https://github.com/llvm/llvm-project 08e3a5ccd952edee36b3c002e3a29c6b1b5153de)
42Thread model: posix
43InstalledDir: /build/tmp-glibc/work/x86_64-linux/compiler-rt-native/13.0.1-r0/recipe-sysroot-native/usr/bin
44Found candidate GCC installation: /usr/lib/gcc/x86_64-wrs-linux/10.2.0
45Found candidate GCC installation: /usr/lib/x86_64-wrs-linux/10.2.0
46Selected GCC installation: /usr/lib/x86_64-wrs-linux/10.2.0
47Candidate multilib: .;@m64
48Selected multilib: .;@m64
49
50For OpenEmbedded Host, sysroots are of the form<sysroot>/usr/lib/<triple>/x.y.z.
51Take x86-64 as example, the default triple is x86_64-unknown-linux-gnu.
52For clang-native, the target vendor is '-unknown', need to test current distro
53to follow above form.
54
55Upstream-Status: Inappropriate [oe specific]
56
57Signed-off-by: Changqing Li <changqing.li@windriver.com>
58Signed-off-by: Khem Raj <raj.khem@gmail.com>
59---
60 clang/lib/Driver/ToolChains/Gnu.cpp | 22 ++++++++++++++--------
61 1 file changed, 14 insertions(+), 8 deletions(-)
62
63diff --git a/clang/lib/Driver/ToolChains/Gnu.cpp b/clang/lib/Driver/ToolChains/Gnu.cpp
64index 9f7b9e8d42a8..268fb7bf7167 100644
65--- a/clang/lib/Driver/ToolChains/Gnu.cpp
66+++ b/clang/lib/Driver/ToolChains/Gnu.cpp
67@@ -19,6 +19,7 @@
68 #include "Linux.h"
69 #include "clang/Config/config.h" // for GCC_INSTALL_PREFIX
70 #include "clang/Driver/Compilation.h"
71+#include "clang/Driver/Distro.h"
72 #include "clang/Driver/Driver.h"
73 #include "clang/Driver/DriverDiagnostic.h"
74 #include "clang/Driver/MultilibBuilder.h"
75@@ -2860,6 +2861,7 @@ void Generic_GCC::GCCInstallationDetector::ScanLibDirForGCCTriple(
76 const llvm::Triple &TargetTriple, const ArgList &Args,
77 const std::string &LibDir, StringRef CandidateTriple,
78 bool NeedsBiarchSuffix, bool GCCDirExists, bool GCCCrossDirExists) {
79+ Distro Distro(D.getVFS(), TargetTriple);
80 // Locations relative to the system lib directory where GCC's triple-specific
81 // directories might reside.
82 struct GCCLibSuffix {
83@@ -2871,19 +2873,20 @@ void Generic_GCC::GCCInstallationDetector::ScanLibDirForGCCTriple(
84 // Whether this library suffix is relevant for the triple.
85 bool Active;
86 } Suffixes[] = {
87- // This is the normal place.
88- {"gcc/" + CandidateTriple.str(), "../..", GCCDirExists},
89-
90- // Debian puts cross-compilers in gcc-cross.
91- {"gcc-cross/" + CandidateTriple.str(), "../..", GCCCrossDirExists},
92-
93 // The Freescale PPC SDK has the gcc libraries in
94 // <sysroot>/usr/lib/<triple>/x.y.z so have a look there as well. Only do
95 // this on Freescale triples, though, since some systems put a *lot* of
96 // files in that location, not just GCC installation data.
97 {CandidateTriple.str(), "..",
98 TargetTriple.getVendor() == llvm::Triple::Freescale ||
99- TargetTriple.getVendor() == llvm::Triple::OpenEmbedded}};
100+ TargetTriple.getVendor() == llvm::Triple::OpenEmbedded ||
101+ Distro.IsOpenEmbedded()},
102+
103+ // This is the normal place.
104+ {"gcc/" + CandidateTriple.str(), "../..", GCCDirExists},
105+
106+ // Debian puts cross-compilers in gcc-cross.
107+ {"gcc-cross/" + CandidateTriple.str(), "../..", GCCCrossDirExists}};
108
109 for (auto &Suffix : Suffixes) {
110 if (!Suffix.Active)
111@@ -3274,8 +3277,11 @@ Generic_GCC::addLibCxxIncludePaths(const llvm::opt::ArgList &DriverArgs,
112 // incompatible with the NDK libraries.
113 SmallString<128> DriverIncludeDir(getDriver().Dir);
114 llvm::sys::path::append(DriverIncludeDir, "..", "include");
115+
116+ // do not add it when --sysroot is specified, since it would expect
117+ // libc++ headers from sysroot and not relative to compiler install location
118 if (AddIncludePath(DriverIncludeDir,
119- /*TargetDirRequired=*/getTriple().isAndroid()))
120+ /*TargetDirRequired=*/getTriple().isAndroid() | !computeSysRoot().empty()))
121 return;
122 // If this is a development, non-installed, clang, libcxx will
123 // not be found at ../include/c++ but it likely to be found at
diff --git a/meta/recipes-devtools/clang/clang/0011-clang-Add-lpthread-and-ldl-along-with-lunwind-for-st.patch b/meta/recipes-devtools/clang/clang/0011-clang-Add-lpthread-and-ldl-along-with-lunwind-for-st.patch
new file mode 100644
index 0000000000..25dade4389
--- /dev/null
+++ b/meta/recipes-devtools/clang/clang/0011-clang-Add-lpthread-and-ldl-along-with-lunwind-for-st.patch
@@ -0,0 +1,35 @@
1From 0712b0f0fa8c9cf27016e8b1ef8391f6c9cfa4ff Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 31 Jul 2019 22:51:39 -0700
4Subject: [PATCH] clang: Add -lpthread and -ldl along with -lunwind for static
5 linking
6
7When doing static liking with --unwindlib=libunwind -static we encounter
8undefined symbols
9libunwind/src/RWMutex.hpp:68: undefined reference to `pthread_rwlock_wrlock'
10
11and
12
13libunwind/src/AddressSpace.hpp:597: undefined reference to `dladdr'
14
15therefore we need to link in libpthread and libdl to fill these symbols
16
17Upstream-Status: Pending
18Signed-off-by: Khem Raj <raj.khem@gmail.com>
19---
20 clang/lib/Driver/ToolChains/CommonArgs.cpp | 2 ++
21 1 file changed, 2 insertions(+)
22
23diff --git a/clang/lib/Driver/ToolChains/CommonArgs.cpp b/clang/lib/Driver/ToolChains/CommonArgs.cpp
24index ae635fb6a180..255e7e0b7150 100644
25--- a/clang/lib/Driver/ToolChains/CommonArgs.cpp
26+++ b/clang/lib/Driver/ToolChains/CommonArgs.cpp
27@@ -2254,6 +2254,8 @@ static void AddUnwindLibrary(const ToolChain &TC, const Driver &D,
28 CmdArgs.push_back("-lunwind");
29 } else if (LGT == LibGccType::StaticLibGcc) {
30 CmdArgs.push_back("-l:libunwind.a");
31+ CmdArgs.push_back("-lpthread");
32+ CmdArgs.push_back("-ldl");
33 } else if (LGT == LibGccType::SharedLibGcc) {
34 if (TC.getTriple().isOSCygMing())
35 CmdArgs.push_back("-l:libunwind.dll.a");
diff --git a/meta/recipes-devtools/clang/clang/0012-Pass-PYTHON_EXECUTABLE-when-cross-compiling-for-nati.patch b/meta/recipes-devtools/clang/clang/0012-Pass-PYTHON_EXECUTABLE-when-cross-compiling-for-nati.patch
new file mode 100644
index 0000000000..b55740e0d6
--- /dev/null
+++ b/meta/recipes-devtools/clang/clang/0012-Pass-PYTHON_EXECUTABLE-when-cross-compiling-for-nati.patch
@@ -0,0 +1,24 @@
1From a6055a858f6e54cac2b427101fb43c83599b9072 Mon Sep 17 00:00:00 2001
2From: Anuj Mittal <anuj.mittal@intel.com>
3Date: Thu, 26 Dec 2019 12:56:16 -0800
4Subject: [PATCH] Pass PYTHON_EXECUTABLE when cross compiling for native build
5
6Upstream-Status: Pending
7Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
10 llvm/cmake/modules/CrossCompile.cmake | 1 +
11 1 file changed, 1 insertion(+)
12
13diff --git a/llvm/cmake/modules/CrossCompile.cmake b/llvm/cmake/modules/CrossCompile.cmake
14index 3b31d3e218a3..a07ab45878fd 100644
15--- a/llvm/cmake/modules/CrossCompile.cmake
16+++ b/llvm/cmake/modules/CrossCompile.cmake
17@@ -100,6 +100,7 @@ function(llvm_create_cross_target project_name target_name toolchain buildtype)
18 -DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN="${LLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN}"
19 -DLLVM_INCLUDE_BENCHMARKS=OFF
20 -DLLVM_INCLUDE_TESTS=OFF
21+ -DPYTHON_EXECUTABLE="${PYTHON_EXECUTABLE}"
22 ${build_type_flags} ${linker_flag} ${external_clang_dir} ${libc_flags}
23 ${ARGN}
24 WORKING_DIRECTORY ${${project_name}_${target_name}_BUILD}
diff --git a/meta/recipes-devtools/clang/clang/0013-Check-for-atomic-double-intrinsics.patch b/meta/recipes-devtools/clang/clang/0013-Check-for-atomic-double-intrinsics.patch
new file mode 100644
index 0000000000..99952fe182
--- /dev/null
+++ b/meta/recipes-devtools/clang/clang/0013-Check-for-atomic-double-intrinsics.patch
@@ -0,0 +1,34 @@
1From c9e8942cace57d9d222e8f005408631e1cd06c5c Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 18 Nov 2019 17:00:29 -0800
4Subject: [PATCH] Check for atomic<double> intrinsics
5
6On some architectures e.g. x86/32bit gcc decides to inline calls to
7double atomic variables but clang does not and defers it to libatomic
8therefore detect if clang can use built-ins for atomic<double> if not
9then link libatomic, this helps building clangd for x86 on linux systems
10with gcc runtime
11
12Upstream-Status: Pending
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14---
15 llvm/cmake/modules/CheckAtomic.cmake | 3 ++-
16 1 file changed, 2 insertions(+), 1 deletion(-)
17
18diff --git a/llvm/cmake/modules/CheckAtomic.cmake b/llvm/cmake/modules/CheckAtomic.cmake
19index f11cadf39ff6..80a18a92956a 100644
20--- a/llvm/cmake/modules/CheckAtomic.cmake
21+++ b/llvm/cmake/modules/CheckAtomic.cmake
22@@ -30,10 +30,11 @@ function(check_working_cxx_atomics64 varname)
23 #include <atomic>
24 #include <cstdint>
25 std::atomic<uint64_t> x (0);
26+std::atomic<double> y (0);
27 int main() {
28 uint64_t i = x.load(std::memory_order_relaxed);
29 (void)i;
30- return 0;
31+ return int(y);
32 }
33 " ${varname})
34 set(CMAKE_REQUIRED_FLAGS ${OLD_CMAKE_REQUIRED_FLAGS})
diff --git a/meta/recipes-devtools/clang/clang/0014-cmake-Fix-configure-for-packages-using-find_package.patch b/meta/recipes-devtools/clang/clang/0014-cmake-Fix-configure-for-packages-using-find_package.patch
new file mode 100644
index 0000000000..f6df85538d
--- /dev/null
+++ b/meta/recipes-devtools/clang/clang/0014-cmake-Fix-configure-for-packages-using-find_package.patch
@@ -0,0 +1,117 @@
1From a6bf17d7eb64bd7beabc73b5fe319b7a375bbcce Mon Sep 17 00:00:00 2001
2From: Ovidiu Panait <ovidiu.panait@windriver.com>
3Date: Fri, 31 Jan 2020 10:56:11 +0200
4Subject: [PATCH] cmake: Fix configure for packages using find_package()
5
6Currently, when a package (i.e. bcc [https://github.com/iovisor/bcc.git])
7that depends on LLVM/Clang tries to run cmake find_package() during
8do_configure, it will fail with a similar error:
9
10| The imported target "llvm-tblgen" references the file
11| ".../recipe-sysroot/usr/bin/llvm-tblgen"
12|
13| but this file does not exist. Possible reasons include:
14| * The file was deleted, renamed, or moved to another location.
15| * An install or uninstall procedure did not complete successfully.
16| * The installation package was faulty and contained
17| ".../recipe-sysroot/usr/lib/cmake/LLVMExports.cmake"
18| but not all the files it references.
19
20This is due to the fact that currently the cmake scripts look for target
21binaries in sysroot. Work around this by not exporting the target binaries in
22Exports-* cmake files.
23
24Upstream-Status: Inappropriate [oe-specific]
25
26Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
27---
28 clang/cmake/modules/AddClang.cmake | 2 --
29 llvm/cmake/modules/AddLLVM.cmake | 9 ++-------
30 llvm/cmake/modules/TableGen.cmake | 6 ------
31 3 files changed, 2 insertions(+), 15 deletions(-)
32
33diff --git a/clang/cmake/modules/AddClang.cmake b/clang/cmake/modules/AddClang.cmake
34index cdc8bd5cd503..5faa9117a30f 100644
35--- a/clang/cmake/modules/AddClang.cmake
36+++ b/clang/cmake/modules/AddClang.cmake
37@@ -182,7 +182,6 @@ macro(add_clang_tool name)
38 if (CLANG_BUILD_TOOLS)
39 get_target_export_arg(${name} Clang export_to_clangtargets)
40 install(TARGETS ${name}
41- ${export_to_clangtargets}
42 RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
43 COMPONENT ${name})
44
45@@ -191,7 +190,6 @@ macro(add_clang_tool name)
46 DEPENDS ${name}
47 COMPONENT ${name})
48 endif()
49- set_property(GLOBAL APPEND PROPERTY CLANG_EXPORTS ${name})
50 endif()
51 endif()
52 set_target_properties(${name} PROPERTIES XCODE_GENERATE_SCHEME ON)
53diff --git a/llvm/cmake/modules/AddLLVM.cmake b/llvm/cmake/modules/AddLLVM.cmake
54index d3e9377c8d2f..fe22d6f2b35a 100644
55--- a/llvm/cmake/modules/AddLLVM.cmake
56+++ b/llvm/cmake/modules/AddLLVM.cmake
57@@ -1492,7 +1492,6 @@ macro(llvm_add_tool project name)
58 if( LLVM_BUILD_TOOLS )
59 get_target_export_arg(${name} ${project} export_to_llvmexports)
60 install(TARGETS ${name}
61- ${export_to_llvmexports}
62 RUNTIME DESTINATION ${${project}_TOOLS_INSTALL_DIR}
63 COMPONENT ${name})
64
65@@ -1503,10 +1502,8 @@ macro(llvm_add_tool project name)
66 endif()
67 endif()
68 endif()
69- if( LLVM_BUILD_TOOLS )
70- string(TOUPPER "${project}" project_upper)
71- set_property(GLOBAL APPEND PROPERTY ${project_upper}_EXPORTS ${name})
72- endif()
73+ string(TOUPPER "${project}" project_upper)
74+ set_target_properties(${name} PROPERTIES FOLDER "Tools")
75 endif()
76 get_subproject_title(subproject_title)
77 set_target_properties(${name} PROPERTIES FOLDER "${subproject_title}/Tools")
78@@ -1556,7 +1553,6 @@ macro(add_llvm_utility name)
79 if (LLVM_INSTALL_UTILS AND LLVM_BUILD_UTILS)
80 get_target_export_arg(${name} LLVM export_to_llvmexports)
81 install(TARGETS ${name}
82- ${export_to_llvmexports}
83 RUNTIME DESTINATION ${LLVM_UTILS_INSTALL_DIR}
84 COMPONENT ${name})
85
86@@ -1565,7 +1561,6 @@ macro(add_llvm_utility name)
87 DEPENDS ${name}
88 COMPONENT ${name})
89 endif()
90- set_property(GLOBAL APPEND PROPERTY LLVM_EXPORTS ${name})
91 elseif(LLVM_BUILD_UTILS)
92 set_property(GLOBAL APPEND PROPERTY LLVM_EXPORTS_BUILDTREE_ONLY ${name})
93 endif()
94diff --git a/llvm/cmake/modules/TableGen.cmake b/llvm/cmake/modules/TableGen.cmake
95index ffcc718b4777..a76f28e74b86 100644
96--- a/llvm/cmake/modules/TableGen.cmake
97+++ b/llvm/cmake/modules/TableGen.cmake
98@@ -232,12 +232,7 @@ macro(add_tablegen target project)
99
100 if (ADD_TABLEGEN_DESTINATION AND NOT LLVM_INSTALL_TOOLCHAIN_ONLY AND
101 (LLVM_BUILD_UTILS OR ${target} IN_LIST LLVM_DISTRIBUTION_COMPONENTS))
102- set(export_arg)
103- if(ADD_TABLEGEN_EXPORT)
104- get_target_export_arg(${target} ${ADD_TABLEGEN_EXPORT} export_arg)
105- endif()
106 install(TARGETS ${target}
107- ${export_arg}
108 COMPONENT ${target}
109 RUNTIME DESTINATION "${ADD_TABLEGEN_DESTINATION}")
110 if(NOT LLVM_ENABLE_IDE)
111@@ -248,6 +243,5 @@ macro(add_tablegen target project)
112 endif()
113 if(ADD_TABLEGEN_EXPORT)
114 string(TOUPPER ${ADD_TABLEGEN_EXPORT} export_upper)
115- set_property(GLOBAL APPEND PROPERTY ${export_upper}_EXPORTS ${target})
116 endif()
117 endmacro()
diff --git a/meta/recipes-devtools/clang/clang/0015-clang-Fix-resource-dir-location-for-cross-toolchains.patch b/meta/recipes-devtools/clang/clang/0015-clang-Fix-resource-dir-location-for-cross-toolchains.patch
new file mode 100644
index 0000000000..4841d6c1bc
--- /dev/null
+++ b/meta/recipes-devtools/clang/clang/0015-clang-Fix-resource-dir-location-for-cross-toolchains.patch
@@ -0,0 +1,50 @@
1From f3c6f924525179ca190fecce2889997250ca8705 Mon Sep 17 00:00:00 2001
2From: Jim Broadus <jbroadus@xevo.com>
3Date: Thu, 26 Mar 2020 16:05:53 -0700
4Subject: [PATCH] clang: Fix resource dir location for cross toolchains
5
6When clang looks for the resources directory, it does so based on the binary
7location and assumes that the containing directory is a sibling to lib. The
8Yocto cross.bbclass defines the default bindir as
9${exec_prefix}/bin/${CROSS_TARGET_SYS_DIR}. ex: /usr/bin/aarch64-poky-linux/.
10This causes clang to form a path that looks like /usr/bin/lib/clang/...
11
12As a fix for this, check the parent directory name. If that is "bin", then
13use that directory's parent.
14
15Upstream-Status: Pending
16Signed-off-by: Jim Broadus <jbroadus@xevo.com>
17Signed-off-by: Khem Raj <raj.khem@gmail.com>
18---
19 clang/lib/Driver/Driver.cpp | 9 ++++++++-
20 1 file changed, 8 insertions(+), 1 deletion(-)
21
22diff --git a/clang/lib/Driver/Driver.cpp b/clang/lib/Driver/Driver.cpp
23index 87855fdb7997..036c9d09df26 100644
24--- a/clang/lib/Driver/Driver.cpp
25+++ b/clang/lib/Driver/Driver.cpp
26@@ -176,6 +176,7 @@ std::string Driver::GetResourcesPath(StringRef BinaryPath) {
27
28 // Dir is bin/ or lib/, depending on where BinaryPath is.
29 StringRef Dir = llvm::sys::path::parent_path(BinaryPath);
30+ StringRef LastDirName = llvm::sys::path::filename(Dir);
31 SmallString<128> P(Dir);
32
33 StringRef ConfiguredResourceDir(CLANG_RESOURCE_DIR);
34@@ -187,9 +188,15 @@ std::string Driver::GetResourcesPath(StringRef BinaryPath) {
35 // With a static-library build of libclang, LibClangPath will contain the
36 // path of the embedding binary, which for LLVM binaries will be in bin/.
37 // ../lib gets us to lib/ in both cases.
38- P = llvm::sys::path::parent_path(Dir);
39 // This search path is also created in the COFF driver of lld, so any
40 // changes here also needs to happen in lld/COFF/Driver.cpp
41+
42+ // OE cross toolchains are installed, by default, in a subdir of bin.
43+ if (LastDirName == "bin") {
44+ P = llvm::sys::path::parent_path(Dir);
45+ } else {
46+ P = llvm::sys::path::parent_path(llvm::sys::path::parent_path(Dir));
47+ }
48 llvm::sys::path::append(P, CLANG_INSTALL_LIBDIR_BASENAME, "clang",
49 CLANG_VERSION_MAJOR_STRING);
50 }
diff --git a/meta/recipes-devtools/clang/clang/0016-clang-driver-Add-dyld-prefix-when-checking-sysroot-f.patch b/meta/recipes-devtools/clang/clang/0016-clang-driver-Add-dyld-prefix-when-checking-sysroot-f.patch
new file mode 100644
index 0000000000..6bbbb5a259
--- /dev/null
+++ b/meta/recipes-devtools/clang/clang/0016-clang-driver-Add-dyld-prefix-when-checking-sysroot-f.patch
@@ -0,0 +1,79 @@
1From 7c70f891fb94f2d8c88bc6af4514d8dcd6488658 Mon Sep 17 00:00:00 2001
2From: Oleksandr Ocheretnyi <oocheret@cisco.com>
3Date: Wed, 15 Apr 2020 00:08:39 +0300
4Subject: [PATCH] clang: driver: Add dyld-prefix when checking sysroot for ldso
5 path
6
7 * the dyld-prefix shall be taken into account when the default
8 path for the dynamic linker has to be checked.
9
10 * this patch shall be used as annex to the next patch:
11 'clang: driver: Check sysroot for ldso path' which includes
12 the usrmerge scenario.
13
14Upstream-Status: Pending
15Signed-off-by: Oleksandr Ocheretnyi <oocheret@cisco.com>
16Signed-off-by: Khem Raj <raj.khem@gmail.com>
17---
18 clang/lib/Driver/ToolChains/Linux.cpp | 20 ++++++++++----------
19 1 file changed, 10 insertions(+), 10 deletions(-)
20
21diff --git a/clang/lib/Driver/ToolChains/Linux.cpp b/clang/lib/Driver/ToolChains/Linux.cpp
22index 621fa17e0603..8fd454d4eff4 100644
23--- a/clang/lib/Driver/ToolChains/Linux.cpp
24+++ b/clang/lib/Driver/ToolChains/Linux.cpp
25@@ -525,8 +525,8 @@ std::string Linux::getDynamicLinker(const ArgList &Args) const {
26
27 Loader = HF ? "ld-linux-armhf.so.3" : "ld-linux.so.3";
28 LibDir = "lib32";
29- if (!getVFS().exists(getDriver().SysRoot + "/" + LibDir + "/" + Loader) &&
30- getVFS().exists(getDriver().SysRoot + "/lib/" + Loader)) {
31+ if (!getVFS().exists(getDriver().SysRoot + getDriver().DyldPrefix + "/" + LibDir + "/" + Loader) &&
32+ getVFS().exists(getDriver().SysRoot + getDriver().DyldPrefix + "/lib/" + Loader)) {
33 LibDir = "lib";
34 }
35 break;
36@@ -582,8 +582,8 @@ std::string Linux::getDynamicLinker(const ArgList &Args) const {
37 LibDir = "lib64";
38 Loader =
39 (tools::ppc::hasPPCAbiArg(Args, "elfv2")) ? "ld64.so.2" : "ld64.so.1";
40- if (!getVFS().exists(getDriver().SysRoot + "/" + LibDir + "/" + Loader) &&
41- getVFS().exists(getDriver().SysRoot + "/lib/" + Loader)) {
42+ if (!getVFS().exists(getDriver().SysRoot + getDriver().DyldPrefix + "/" + LibDir + "/" + Loader) &&
43+ getVFS().exists(getDriver().SysRoot + getDriver().DyldPrefix + "/lib/" + Loader)) {
44 LibDir = "lib";
45 }
46 break;
47@@ -591,8 +591,8 @@ std::string Linux::getDynamicLinker(const ArgList &Args) const {
48 LibDir = "lib64";
49 Loader =
50 (tools::ppc::hasPPCAbiArg(Args, "elfv1")) ? "ld64.so.1" : "ld64.so.2";
51- if (!getVFS().exists(getDriver().SysRoot + "/" + LibDir + "/" + Loader) &&
52- getVFS().exists(getDriver().SysRoot + "/lib/" + Loader)) {
53+ if (!getVFS().exists(getDriver().SysRoot + getDriver().DyldPrefix + "/" + LibDir + "/" + Loader) &&
54+ getVFS().exists(getDriver().SysRoot + getDriver().DyldPrefix + "/lib/" + Loader)) {
55 LibDir = "lib";
56 }
57 break;
58@@ -612,8 +612,8 @@ std::string Linux::getDynamicLinker(const ArgList &Args) const {
59 case llvm::Triple::sparcv9:
60 LibDir = "lib64";
61 Loader = "ld-linux.so.2";
62- if (!getVFS().exists(getDriver().SysRoot + "/" + LibDir + "/" + Loader) &&
63- getVFS().exists(getDriver().SysRoot + "/lib/" + Loader)) {
64+ if (!getVFS().exists(getDriver().SysRoot + getDriver().DyldPrefix + "/" + LibDir + "/" + Loader) &&
65+ getVFS().exists(getDriver().SysRoot + getDriver().DyldPrefix + "/lib/" + Loader)) {
66 LibDir = "lib";
67 }
68 break;
69@@ -630,8 +630,8 @@ std::string Linux::getDynamicLinker(const ArgList &Args) const {
70
71 LibDir = X32 ? "libx32" : "lib64";
72 Loader = X32 ? "ld-linux-x32.so.2" : "ld-linux-x86-64.so.2";
73- if (!getVFS().exists(getDriver().SysRoot + "/" + LibDir + "/" + Loader) &&
74- getVFS().exists(getDriver().SysRoot + "/lib/" + Loader)) {
75+ if (!getVFS().exists(getDriver().SysRoot + getDriver().DyldPrefix + "/" + LibDir + "/" + Loader) &&
76+ getVFS().exists(getDriver().SysRoot + getDriver().DyldPrefix + "/lib/" + Loader)) {
77 LibDir = "lib";
78 }
79 break;
diff --git a/meta/recipes-devtools/clang/clang/0017-clang-Use-python3-in-python-scripts.patch b/meta/recipes-devtools/clang/clang/0017-clang-Use-python3-in-python-scripts.patch
new file mode 100644
index 0000000000..8677c5ca13
--- /dev/null
+++ b/meta/recipes-devtools/clang/clang/0017-clang-Use-python3-in-python-scripts.patch
@@ -0,0 +1,35 @@
1From f06bb3e20e47ab5a76efa76f50f0bbef682cd263 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 14 Oct 2020 22:19:57 -0700
4Subject: [PATCH] clang: Use python3 in python scripts
5
6Some scripts ask for python, but they work fine with python3
7and in OE python symlink is not exposed to build, only python3 is
8
9Upstream-Status: Pending
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 .../find-all-symbols/tool/run-find-all-symbols.py | 2 +-
13 clang/tools/scan-view/bin/scan-view | 2 +-
14 2 files changed, 2 insertions(+), 2 deletions(-)
15
16diff --git a/clang-tools-extra/clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py b/clang-tools-extra/clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py
17index 471dbf8c110b..f98385dc6651 100755
18--- a/clang-tools-extra/clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py
19+++ b/clang-tools-extra/clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py
20@@ -1,4 +1,4 @@
21-#!/usr/bin/env python
22+#!/usr/bin/env python3
23 #
24 # =- run-find-all-symbols.py - Parallel find-all-symbols runner -*- python -*-=#
25 #
26diff --git a/clang/tools/scan-view/bin/scan-view b/clang/tools/scan-view/bin/scan-view
27index d01aebb4029a..f3375804654d 100755
28--- a/clang/tools/scan-view/bin/scan-view
29+++ b/clang/tools/scan-view/bin/scan-view
30@@ -1,4 +1,4 @@
31-#!/usr/bin/env python
32+#!/usr/bin/env python3
33
34 from __future__ import print_function
35
diff --git a/meta/recipes-devtools/clang/clang/0018-llvm-clang-Insert-anchor-for-adding-OE-distro-vendor.patch b/meta/recipes-devtools/clang/clang/0018-llvm-clang-Insert-anchor-for-adding-OE-distro-vendor.patch
new file mode 100644
index 0000000000..7ae88b870d
--- /dev/null
+++ b/meta/recipes-devtools/clang/clang/0018-llvm-clang-Insert-anchor-for-adding-OE-distro-vendor.patch
@@ -0,0 +1,167 @@
1From cfe5ec616f1bbbe7d20409b552428e43e282f115 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Mon, 25 Jan 2021 16:14:35 +0800
4Subject: [PATCH] llvm/clang: Insert anchor for adding OE distro vendor names
5
6This helps in making right detection for OE built gcc toolchains
7
8The //CLANG_EXTRA_OE_VENDORS_CASES string is replaced with list of
9additional Ceses based on CLANG_EXTRA_OE_VENDORS variable in
10recipes-devtools/clang/llvm-project-source.inc:add_distro_vendor()
11
12* For x86_64, set Yocto based GCC install search path
13
14Under Yocto host, while using clang-native to build, it searches
15install host gcc failed which causing the include file not found
16[snip]
17|clang++ -target x86_64-linux -MMD -MF src/base/files/file_path_constants.o.d -I../../../tools/gn/src -I. \
18-isystem/tmp-glibc/work/x86_64-linux/gn-native/87.0.4280.141-r0/recipe-sysroot-native/usr/include -O2 -pipe \
19-std=c++17 -c ../../../tools/gn/src/base/files/file_path_constants.cc -o src/base/files/file_path_constants.o
20|../../../tools/gn/src/base/files/file_path_constants.cc:7:10: fatal error: 'iterator' file not found
21|#include <iterator>
22| ^~~~~~~~
23[snip]
24
25* Set three Yocto based GCC triple: poky, oe-core and wind river
26
27Before aplly the patch
28[snip]
29$ ../recipe-sysroot-native/usr/bin/clang++ -v
30clang version 11.0.1 (https://github.com/llvm/llvm-project 43ff75f2c3feef64f9d73328230d34dac8832a91)
31Target: x86_64-unknown-linux-gnu
32Thread model: posix
33InstalledDir:tmp-glibc/work/x86_64-linux/gn-native/87.0.4280.141-r0/chromium-87.0.4280.141/../recipe-sysroot-native/usr/bin
34[snip]
35
36After this patch:
37[snip]
38$ ../recipe-sysroot-native/usr/bin/clang++ -v
39clang version 11.0.1 (https://github.com/llvm/llvm-project 22c3241ff9a6224261df48d0258957fd8acc3d64)
40Target: x86_64-unknown-linux-gnu
41Thread model: posix
42InstalledDir:tmp-glibc/work/x86_64-linux/gn-native/87.0.4280.141-r0/chromium-87.0.4280.141/../recipe-sysroot-native/usr/bin
43Found candidate GCC installation: /usr/lib//x86_64-wrs-linux/10.1.0
44Found candidate GCC installation: /usr/lib/gcc/x86_64-wrs-linux/10.1.0
45Selected GCC installation: /usr/lib//x86_64-wrs-linux/10.1.0
46Candidate multilib: .;@m64
47Selected multilib: .;@m64
48[snip]
49
50BTW, it is hardly to insert a triple by the replacement of TARGET_SYS
51(=${TARGET_ARCH}${TARGET_VENDOR}-${TARGET_OS}), since TARGET_VENDOR
52is different between clang and clang-native
53
54* The //CLANG_EXTRA_OE_VENDORS_TRIPLES string is replaced with list of
55additional triples based on CLANG_EXTRA_OE_VENDORS variable in
56recipes-devtools/clang/llvm-project-source.inc:add_distro_vendor()
57
58* Correct library search path for OpenEmbedded Host
59
60For OpenEmbedded Host, the gcc install path is
61/usr/lib/x86_64-[distroname]-linux/[gcc-version].
62So the library search path is not found with default triple
63'x86_64-linux-gnu' for x86_64. Causing following error:
64[snip]
65compiler-rt-native/13.0.1-r0/recipe-sysroot-native/usr/bin/clang
66-target x86_64-linux
67-isystem/path/to/x86_64-linux/compiler-rt-native/13.0.1-r0/recipe-sysroot-native/usr/include
68-O2 -pipe
69/path/to/compiler-rt-native/13.0.1-r0/recipe-sysroot-native/usr/share/cmake-3.21/Modules/CMakeCCompilerABI.c`
70| /build/tmp-glibc/hosttools/ld: cannot find -lgcc
71| /build/tmp-glibc/hosttools/ld: cannot find -lgcc
72| clang-13: error: linker command failed with exit code 1 (use -v to see invocation)
73[snip]
74
75before this patch:
76b59da142f2b0:$ /path/to/x86_64-linux/compiler-rt-native/13.0.1-r0/recipe-sysroot-native/usr/bin/clang --print-search-dirs
77programs: =/build/tmp-glibc/work/x86_64-linux/compiler-rt-native/13.0.1-r0/recipe-sysroot-native/usr/bin
78libraries: =/build/tmp-glibc/work/x86_64-linux/compiler-rt-native/13.0.1-r0/recipe-sysroot-native/usr/lib/clang/13.0.1:/build/tmp-glibc/work/x86_64-linux/compiler-rt-native/13.0.1-r0/recipe-sysroot-native/usr/bin/../lib://lib://usr/lib
79
80after this patch:
81b59da142f2b0:$ /path/to/x86_64-linux/compiler-rt-native/13.0.1-r0/recipe-sysroot-native/usr/bin/clang --print-search-dirs
82programs: =/build/tmp-glibc/work/x86_64-linux/compiler-rt-native/13.0.1-r0/recipe-sysroot-native/usr/bin
83libraries: =/build/tmp-glibc/work/x84_64-linux/compiler-rt-native/13.0.1-r0/recipe-sysroot-native/usr/lib/clang/13.0.1:/usr/lib/x86_64-wrs-linux/10.2.0://lib/x86_64-wrs-linux://usr/lib/x86_64-wrs-linux:/build/tmp-glibc/work/x86_64-linux/compiler-rt-native/13.0.1-r0/recipe-sysroot-native/usr/bin/../lib://lib://usr/lib
84
85Upstream-Status: Inappropriate [oe specific]
86
87Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
88Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
89Signed-off-by: Changqing Li <changqing.li@windriver.com>
90Signed-off-by: Khem Raj <raj.khem@gmail.com>
91---
92 clang/include/clang/Driver/Distro.h | 2 ++
93 clang/lib/Driver/Distro.cpp | 1 +
94 clang/lib/Driver/ToolChains/Gnu.cpp | 1 +
95 clang/lib/Driver/ToolChains/Linux.cpp | 1 +
96 llvm/lib/TargetParser/Triple.cpp | 2 +-
97 5 files changed, 6 insertions(+), 1 deletion(-)
98
99diff --git a/clang/include/clang/Driver/Distro.h b/clang/include/clang/Driver/Distro.h
100index c544a8c00219..3cd687ede458 100644
101--- a/clang/include/clang/Driver/Distro.h
102+++ b/clang/include/clang/Driver/Distro.h
103@@ -47,6 +47,7 @@ public:
104 RHEL7,
105 Fedora,
106 Gentoo,
107+ //CLANG_EXTRA_OE_DISTRO_NAME
108 OpenSUSE,
109 UbuntuHardy,
110 UbuntuIntrepid,
111@@ -141,6 +142,7 @@ public:
112
113 bool IsGentoo() const { return DistroVal == Gentoo; }
114
115+ //CLANG_EXTRA_OE_DISTRO_CHECK
116 /// @}
117 };
118
119diff --git a/clang/lib/Driver/Distro.cpp b/clang/lib/Driver/Distro.cpp
120index 71ba71fa1837..f64d0abddf6d 100644
121--- a/clang/lib/Driver/Distro.cpp
122+++ b/clang/lib/Driver/Distro.cpp
123@@ -43,6 +43,7 @@ static Distro::DistroType DetectOsRelease(llvm::vfs::FileSystem &VFS) {
124 .Case("sles", Distro::OpenSUSE)
125 .Case("opensuse", Distro::OpenSUSE)
126 .Case("exherbo", Distro::Exherbo)
127+ //CLANG_EXTRA_OE_DISTRO_CASE
128 .Default(Distro::UnknownDistro);
129 return Version;
130 }
131diff --git a/clang/lib/Driver/ToolChains/Gnu.cpp b/clang/lib/Driver/ToolChains/Gnu.cpp
132index 268fb7bf7167..868d32f501e8 100644
133--- a/clang/lib/Driver/ToolChains/Gnu.cpp
134+++ b/clang/lib/Driver/ToolChains/Gnu.cpp
135@@ -2452,6 +2452,7 @@ void Generic_GCC::GCCInstallationDetector::AddDefaultGCCPrefixes(
136 "x86_64-pc-linux-gnu", "x86_64-redhat-linux6E",
137 "x86_64-redhat-linux", "x86_64-suse-linux",
138 "x86_64-manbo-linux-gnu", "x86_64-slackware-linux",
139+ "x86_64-oe-linux",//CLANG_EXTRA_OE_VENDORS_TRIPLES
140 "x86_64-unknown-linux", "x86_64-amazon-linux"};
141 static const char *const X32Triples[] = {"x86_64-linux-gnux32",
142 "x86_64-pc-linux-gnux32"};
143diff --git a/clang/lib/Driver/ToolChains/Linux.cpp b/clang/lib/Driver/ToolChains/Linux.cpp
144index 8fd454d4eff4..fb9d433a80be 100644
145--- a/clang/lib/Driver/ToolChains/Linux.cpp
146+++ b/clang/lib/Driver/ToolChains/Linux.cpp
147@@ -82,6 +82,7 @@ std::string Linux::getMultiarchTriple(const Driver &D,
148 return "x86_64-linux-android";
149 if (TargetEnvironment == llvm::Triple::GNUX32)
150 return "x86_64-linux-gnux32";
151+ //CLANG_EXTRA_OE_DISTRO_TRIPLE
152 return "x86_64-linux-gnu";
153 case llvm::Triple::aarch64:
154 if (IsAndroid)
155diff --git a/llvm/lib/TargetParser/Triple.cpp b/llvm/lib/TargetParser/Triple.cpp
156index e9e6f130f757..97f426dd863b 100644
157--- a/llvm/lib/TargetParser/Triple.cpp
158+++ b/llvm/lib/TargetParser/Triple.cpp
159@@ -663,7 +663,7 @@ static Triple::VendorType parseVendor(StringRef VendorName) {
160 .Case("mesa", Triple::Mesa)
161 .Case("suse", Triple::SUSE)
162 .Case("oe", Triple::OpenEmbedded)
163- .Case("intel", Triple::Intel)
164+ .Case("intel", Triple::Intel) //CLANG_EXTRA_OE_VENDORS_CASES
165 .Default(Triple::UnknownVendor);
166 }
167
diff --git a/meta/recipes-devtools/clang/clang/0019-compiler-rt-Do-not-use-backtrace-APIs-on-non-glibc-l.patch b/meta/recipes-devtools/clang/clang/0019-compiler-rt-Do-not-use-backtrace-APIs-on-non-glibc-l.patch
new file mode 100644
index 0000000000..05937b06c1
--- /dev/null
+++ b/meta/recipes-devtools/clang/clang/0019-compiler-rt-Do-not-use-backtrace-APIs-on-non-glibc-l.patch
@@ -0,0 +1,68 @@
1From 4a23e833e66896f40bb36c3c13b4a4bb1b79162f Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 19 May 2021 17:32:13 -0700
4Subject: [PATCH] compiler-rt: Do not use backtrace APIs on non-glibc linux
5
6musl e.g. does not provide backtrace APIs
7
8Upstream-Status: Pending
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 .../lib/gwp_asan/optional/backtrace_linux_libc.cpp | 13 ++++++++++++-
12 1 file changed, 12 insertions(+), 1 deletion(-)
13
14diff --git a/compiler-rt/lib/gwp_asan/optional/backtrace_linux_libc.cpp b/compiler-rt/lib/gwp_asan/optional/backtrace_linux_libc.cpp
15index ea8e72be287d..0344074dd254 100644
16--- a/compiler-rt/lib/gwp_asan/optional/backtrace_linux_libc.cpp
17+++ b/compiler-rt/lib/gwp_asan/optional/backtrace_linux_libc.cpp
18@@ -7,7 +7,9 @@
19 //===----------------------------------------------------------------------===//
20
21 #include <assert.h>
22+#ifdef __GLIBC__
23 #include <execinfo.h>
24+#endif
25 #include <stddef.h>
26 #include <stdint.h>
27 #include <stdlib.h>
28@@ -21,8 +23,11 @@
29 namespace {
30 size_t Backtrace(uintptr_t *TraceBuffer, size_t Size) {
31 static_assert(sizeof(uintptr_t) == sizeof(void *), "uintptr_t is not void*");
32-
33+#ifdef __GLIBC__
34 return backtrace(reinterpret_cast<void **>(TraceBuffer), Size);
35+#else
36+ return -1;
37+#endif
38 }
39
40 // We don't need any custom handling for the Segv backtrace - the libc unwinder
41@@ -30,7 +35,11 @@ size_t Backtrace(uintptr_t *TraceBuffer, size_t Size) {
42 // to avoid the additional frame.
43 GWP_ASAN_ALWAYS_INLINE size_t SegvBacktrace(uintptr_t *TraceBuffer, size_t Size,
44 void * /*Context*/) {
45+#ifdef __GLIBC__
46 return Backtrace(TraceBuffer, Size);
47+#else
48+ return -1;
49+#endif
50 }
51
52 static void PrintBacktrace(uintptr_t *Trace, size_t TraceLength,
53@@ -40,6 +49,7 @@ static void PrintBacktrace(uintptr_t *Trace, size_t TraceLength,
54 return;
55 }
56
57+#ifdef __GLIBC__
58 char **BacktraceSymbols =
59 backtrace_symbols(reinterpret_cast<void **>(Trace), TraceLength);
60
61@@ -53,6 +63,7 @@ static void PrintBacktrace(uintptr_t *Trace, size_t TraceLength,
62 Printf("\n");
63 if (BacktraceSymbols)
64 free(BacktraceSymbols);
65+#endif
66 }
67 } // anonymous namespace
68
diff --git a/meta/recipes-devtools/clang/clang/0020-clang-Fix-x86-triple-for-non-debian-multiarch-linux-.patch b/meta/recipes-devtools/clang/clang/0020-clang-Fix-x86-triple-for-non-debian-multiarch-linux-.patch
new file mode 100644
index 0000000000..7ce60e0efd
--- /dev/null
+++ b/meta/recipes-devtools/clang/clang/0020-clang-Fix-x86-triple-for-non-debian-multiarch-linux-.patch
@@ -0,0 +1,28 @@
1From 739e65a126178e4c4d8452297ac13c119ae79403 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 19 May 2021 17:56:03 -0700
4Subject: [PATCH] clang: Fix x86 triple for non-debian multiarch linux distros
5
6OpenEmbedded does not hardcode mutli-arch like debian therefore ensure
7that it still uses the proper tuple
8
9Upstream-Status: Pending
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 clang/lib/Driver/ToolChains/Linux.cpp | 3 +++
13 1 file changed, 3 insertions(+)
14
15diff --git a/clang/lib/Driver/ToolChains/Linux.cpp b/clang/lib/Driver/ToolChains/Linux.cpp
16index fb9d433a80be..ee0b4acbcef0 100644
17--- a/clang/lib/Driver/ToolChains/Linux.cpp
18+++ b/clang/lib/Driver/ToolChains/Linux.cpp
19@@ -728,6 +728,9 @@ void Linux::addLibStdCxxIncludePaths(const llvm::opt::ArgList &DriverArgs,
20 GCCInstallation.getTriple().getArch() == llvm::Triple::x86
21 ? "i386-linux-gnu"
22 : TripleStr;
23+ // OpenEmbedded does not hardcode the triple to i386-linux-gnu like debian
24+ if (GCCInstallation.getTriple().getVendor() == llvm::Triple::OpenEmbedded)
25+ DebianMultiarch = TripleStr;
26
27 // Try generic GCC detection first.
28 if (Generic_GCC::addGCCLibStdCxxIncludePaths(DriverArgs, CC1Args,
diff --git a/meta/recipes-devtools/clang/clang/0021-libunwind-Added-unw_backtrace-method.patch b/meta/recipes-devtools/clang/clang/0021-libunwind-Added-unw_backtrace-method.patch
new file mode 100644
index 0000000000..fe7157df47
--- /dev/null
+++ b/meta/recipes-devtools/clang/clang/0021-libunwind-Added-unw_backtrace-method.patch
@@ -0,0 +1,56 @@
1From f60c6ade92826cea1c3d63d70f1168f4048a624b Mon Sep 17 00:00:00 2001
2From: Maksim Kita <maksim-kita@yandex-team.ru>
3Date: Sun, 23 May 2021 10:27:29 +0000
4Subject: [PATCH] libunwind: Added unw_backtrace method
5
6Source: https://github.com/ClickHouse-Extras/libunwind/commit/52f0f7861926cbfaef7e6c97d8a6d7ba2a1f6747#diff-a82fc885e2e4facf4b92d26171c13aa4aa5db296f77e1158ba2f8664e3bd1f5c
7Upstream-Status: Pending
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
10 libunwind/include/libunwind.h | 1 +
11 libunwind/src/libunwind.cpp | 20 ++++++++++++++++++++
12 2 files changed, 21 insertions(+)
13
14diff --git a/libunwind/include/libunwind.h b/libunwind/include/libunwind.h
15index b2dae8feed9a..0ab974c9bfa4 100644
16--- a/libunwind/include/libunwind.h
17+++ b/libunwind/include/libunwind.h
18@@ -130,6 +130,7 @@ extern int unw_is_fpreg(unw_cursor_t *, unw_regnum_t) LIBUNWIND_AVAIL;
19 extern int unw_is_signal_frame(unw_cursor_t *) LIBUNWIND_AVAIL;
20 extern int unw_get_proc_name(unw_cursor_t *, char *, size_t, unw_word_t *) LIBUNWIND_AVAIL;
21 //extern int unw_get_save_loc(unw_cursor_t*, int, unw_save_loc_t*);
22+extern int unw_backtrace(void **, int) LIBUNWIND_AVAIL;
23
24 extern unw_addr_space_t unw_local_addr_space;
25
26diff --git a/libunwind/src/libunwind.cpp b/libunwind/src/libunwind.cpp
27index cf39ec5f7dbd..1896f20d57f8 100644
28--- a/libunwind/src/libunwind.cpp
29+++ b/libunwind/src/libunwind.cpp
30@@ -431,6 +431,26 @@ int __unw_remove_find_dynamic_unwind_sections(
31
32 #endif // __APPLE__
33
34+int unw_backtrace(void **buffer, int size) {
35+ unw_context_t context;
36+ unw_cursor_t cursor;
37+ if (unw_getcontext(&context) || unw_init_local(&cursor, &context)) {
38+ return 0;
39+ }
40+
41+ unw_word_t ip;
42+ int current = 0;
43+ while (unw_step(&cursor) > 0) {
44+ if (current >= size || unw_get_reg(&cursor, UNW_REG_IP, &ip)) {
45+ break;
46+ }
47+
48+ buffer[current++] = reinterpret_cast<void *>(static_cast<uintptr_t>(ip));
49+ }
50+
51+ return current;
52+}
53+
54 // Add logging hooks in Debug builds only
55 #ifndef NDEBUG
56 #include <stdlib.h>
diff --git a/meta/recipes-devtools/clang/clang/0022-lldb-Link-with-libatomic-on-x86.patch b/meta/recipes-devtools/clang/clang/0022-lldb-Link-with-libatomic-on-x86.patch
new file mode 100644
index 0000000000..128666b8fb
--- /dev/null
+++ b/meta/recipes-devtools/clang/clang/0022-lldb-Link-with-libatomic-on-x86.patch
@@ -0,0 +1,33 @@
1From 45d44576a0dbaf843a9795519cafa944801c4679 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 8 Feb 2022 01:31:26 -0800
4Subject: [PATCH] lldb: Link with libatomic on x86
5
6cmake atomic check is not sufficient for i686 target where clang14 still
7generates __atomic_store calls but the check does not entail this
8function and happily thinks that compiler can resolve all atomic via intrinsics
9on i686, but thats not the case, ideally the check for determining
10atomic operation should be make more robust but until then lets ask to
11link with libatomic on i686/linux
12
13Upstream-Status: Inappropriate [OE-Specific]
14Signed-off-by: Khem Raj <raj.khem@gmail.com>
15---
16 lldb/source/Utility/CMakeLists.txt | 4 ++++
17 1 file changed, 4 insertions(+)
18
19diff --git a/lldb/source/Utility/CMakeLists.txt b/lldb/source/Utility/CMakeLists.txt
20index 6954a2508ffe..b8bf8c07fefb 100644
21--- a/lldb/source/Utility/CMakeLists.txt
22+++ b/lldb/source/Utility/CMakeLists.txt
23@@ -19,6 +19,10 @@ if (CMAKE_SYSTEM_NAME MATCHES "Windows")
24 list(APPEND LLDB_SYSTEM_LIBS ws2_32 rpcrt4)
25 endif ()
26
27+if (CMAKE_SYSTEM_PROCESSOR MATCHES "i686" AND CMAKE_SYSTEM_NAME MATCHES "Linux")
28+ list(APPEND LLDB_SYSTEM_LIBS atomic)
29+endif()
30+
31 if (NOT HAVE_CXX_ATOMICS64_WITHOUT_LIB )
32 list(APPEND LLDB_SYSTEM_LIBS atomic)
33 endif()
diff --git a/meta/recipes-devtools/clang/clang/0023-compiler-rt-Enable-__int128-for-ppc32.patch b/meta/recipes-devtools/clang/clang/0023-compiler-rt-Enable-__int128-for-ppc32.patch
new file mode 100644
index 0000000000..861064f4f4
--- /dev/null
+++ b/meta/recipes-devtools/clang/clang/0023-compiler-rt-Enable-__int128-for-ppc32.patch
@@ -0,0 +1,73 @@
1From b676d7d93fa35e095595fc1f967e4c6a3b58414b Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 9 Mar 2022 16:28:16 -0800
4Subject: [PATCH] compiler-rt: Enable __int128 for ppc32
5
6Upstream-Status: Pending
7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8---
9 compiler-rt/lib/builtins/CMakeLists.txt | 15 +++++++--------
10 compiler-rt/lib/builtins/int_types.h | 2 +-
11 2 files changed, 8 insertions(+), 9 deletions(-)
12
13diff --git a/compiler-rt/lib/builtins/CMakeLists.txt b/compiler-rt/lib/builtins/CMakeLists.txt
14index 19316c52d12c..cb276311b290 100644
15--- a/compiler-rt/lib/builtins/CMakeLists.txt
16+++ b/compiler-rt/lib/builtins/CMakeLists.txt
17@@ -720,11 +720,9 @@ set(mips64el_SOURCES ${GENERIC_TF_SOURCES}
18
19 set(nvptx64_SOURCES ${GENERIC_SOURCES})
20
21-set(powerpc_SOURCES ${GENERIC_SOURCES})
22-
23 set(powerpcspe_SOURCES ${GENERIC_SOURCES})
24
25-set(powerpc64_SOURCES
26+set(powerpc_SOURCES
27 ppc/divtc3.c
28 ppc/fixtfdi.c
29 ppc/fixunstfdi.c
30@@ -739,14 +737,15 @@ set(powerpc64_SOURCES
31 )
32 # These routines require __int128, which isn't supported on AIX.
33 if (NOT OS_NAME MATCHES "AIX")
34- set(powerpc64_SOURCES
35+ set(powerpc_SOURCES
36 ppc/floattitf.c
37 ppc/fixtfti.c
38 ppc/fixunstfti.c
39- ${powerpc64_SOURCES}
40+ ${powerpc_SOURCES}
41 )
42 endif()
43-set(powerpc64le_SOURCES ${powerpc64_SOURCES})
44+set(powerpc64le_SOURCES ${powerpc_SOURCES})
45+set(powerpc64_SOURCES ${powerpc_SOURCES})
46
47 set(riscv_SOURCES
48 cpu_model/riscv.c
49@@ -904,9 +903,9 @@ else ()
50 list(APPEND BUILTIN_CFLAGS_${arch} -fomit-frame-pointer -DCOMPILER_RT_ARMHF_TARGET)
51 endif()
52
53- # For RISCV32, we must force enable int128 for compiling long
54+ # For RISCV32/PPC32, we must force enable int128 for compiling long
55 # double routines.
56- if(COMPILER_RT_ENABLE_SOFTWARE_INT128 OR "${arch}" STREQUAL "riscv32")
57+ if(COMPILER_RT_ENABLE_SOFTWARE_INT128 OR "${arch}" STREQUAL "riscv32" OR "${arch}" STREQUAL "powerpc")
58 list(APPEND BUILTIN_CFLAGS_${arch} -fforce-enable-int128)
59 endif()
60
61diff --git a/compiler-rt/lib/builtins/int_types.h b/compiler-rt/lib/builtins/int_types.h
62index 48862f364217..cc47d3e33f67 100644
63--- a/compiler-rt/lib/builtins/int_types.h
64+++ b/compiler-rt/lib/builtins/int_types.h
65@@ -64,7 +64,7 @@ typedef union {
66 } udwords;
67
68 #if defined(__LP64__) || defined(__wasm__) || defined(__mips64) || \
69- defined(__SIZEOF_INT128__) || defined(_WIN64)
70+ defined(__SIZEOF_INT128__) || defined(_WIN64) || defined(__powerpc__)
71 #define CRT_HAS_128BIT
72 #endif
73
diff --git a/meta/recipes-devtools/clang/clang/0024-llvm-Do-not-use-cmake-infra-to-detect-libzstd.patch b/meta/recipes-devtools/clang/clang/0024-llvm-Do-not-use-cmake-infra-to-detect-libzstd.patch
new file mode 100644
index 0000000000..d49af8aeb9
--- /dev/null
+++ b/meta/recipes-devtools/clang/clang/0024-llvm-Do-not-use-cmake-infra-to-detect-libzstd.patch
@@ -0,0 +1,62 @@
1From 9cf5cc6d4378ad7918f338aa65ce79178d8a84f2 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 12 Aug 2022 11:50:57 -0700
4Subject: [PATCH] llvm: Do not use cmake infra to detect libzstd
5
6OE's version is build using plain make not cmake as a result we do not
7have the cmake support files and this probing method can get this info
8from build host and force linking with libzstd from /usr/lib which is
9not what we want when cross building.
10
11Fixes errors building llvm-config like
12/usr/lib/libzstd.so.1.5.2: error adding symbols: file in wrong
13format
14| clang-15: error: linker command failed with exit code 1 (use -v to see invocation)
15| ninja: build stopped: subcommand failed.
16
17Upstream-Status: Inappropriate [OE-Specific]
18Signed-off-by: Khem Raj <raj.khem@gmail.com>
19---
20 llvm/lib/Support/CMakeLists.txt | 8 ++++----
21 1 file changed, 4 insertions(+), 4 deletions(-)
22
23diff --git a/llvm/lib/Support/CMakeLists.txt b/llvm/lib/Support/CMakeLists.txt
24index a6d8a2581886..5b461547bdde 100644
25--- a/llvm/lib/Support/CMakeLists.txt
26+++ b/llvm/lib/Support/CMakeLists.txt
27@@ -22,7 +22,7 @@ if (HAS_WERROR_GLOBAL_CTORS)
28 endif()
29
30 if(LLVM_ENABLE_ZLIB)
31- list(APPEND imported_libs ZLIB::ZLIB)
32+ list(APPEND imported_libs z)
33 endif()
34
35 if(LLVM_ENABLE_ZSTD)
36@@ -34,7 +34,7 @@ if(LLVM_ENABLE_ZSTD)
37 endif()
38
39 if(LLVM_ENABLE_ZSTD)
40- list(APPEND imported_libs ${zstd_target})
41+ list(APPEND imported_libs zstd)
42 endif()
43
44 if( WIN32 )
45@@ -325,7 +325,7 @@ if(LLVM_ENABLE_ZLIB)
46 get_property(zlib_library TARGET ZLIB::ZLIB PROPERTY LOCATION)
47 endif()
48 get_library_name(${zlib_library} zlib_library)
49- set(llvm_system_libs ${llvm_system_libs} "${zlib_library}")
50+ set(llvm_system_libs ${llvm_system_libs} z)
51 endif()
52
53 if(LLVM_ENABLE_ZSTD)
54@@ -339,7 +339,7 @@ if(LLVM_ENABLE_ZSTD)
55 endif()
56 if (zstd_target STREQUAL zstd::libzstd_shared)
57 get_library_name(${zstd_library} zstd_library)
58- set(llvm_system_libs ${llvm_system_libs} "${zstd_library}")
59+ set(llvm_system_libs ${llvm_system_libs} zstd)
60 else()
61 set(llvm_system_libs ${llvm_system_libs} "${zstd_STATIC_LIBRARY}")
62 endif()
diff --git a/meta/recipes-devtools/clang/clang/0025-compiler-rt-Fix-stat-struct-s-size-for-O32-ABI.patch b/meta/recipes-devtools/clang/clang/0025-compiler-rt-Fix-stat-struct-s-size-for-O32-ABI.patch
new file mode 100644
index 0000000000..bca28cd7db
--- /dev/null
+++ b/meta/recipes-devtools/clang/clang/0025-compiler-rt-Fix-stat-struct-s-size-for-O32-ABI.patch
@@ -0,0 +1,46 @@
1From 744dbb6cf6925796e2bc5c028af08c40445bbb1c Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 3 Jan 2023 18:44:34 -0800
4Subject: [PATCH] compiler-rt: Fix stat struct's size for O32 ABI
5
6stat struct size differs on glibc based on ABI choices e.g. 64bit off_t
7and/or 64bit time_t will make this size different. Therefore separate
8out the O32 case out, makes it more readable.
9
10Upstream-Status: Pending
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 .../sanitizer_platform_limits_posix.h | 13 +++++++++++++
14 1 file changed, 13 insertions(+)
15
16diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h b/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h
17index 1a7d9e64048e..854a87e17236 100644
18--- a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h
19+++ b/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h
20@@ -98,6 +98,18 @@ const unsigned struct_kernel_stat64_sz = 104;
21 const unsigned struct_kernel_stat_sz = 144;
22 const unsigned struct_kernel_stat64_sz = 104;
23 #elif defined(__mips__)
24+#if defined(__mips_o32) // O32 ABI
25+#if _TIME_BITS == 64
26+const unsigned struct_kernel_stat_sz = 112;
27+const unsigned struct_kernel_stat64_sz = 112;
28+#elif _FILE_OFFSET_BITS == 64
29+const unsigned struct_kernel_stat_sz = 160;
30+const unsigned struct_kernel_stat64_sz = 160;
31+#else
32+const unsigned struct_kernel_stat_sz = 144;
33+const unsigned struct_kernel_stat64_sz = 160;
34+#endif
35+#else // __mips_o32
36 const unsigned struct_kernel_stat_sz = SANITIZER_ANDROID
37 ? FIRST_32_SECOND_64(104, 128)
38 # if defined(_ABIN32) && _MIPS_SIM == _ABIN32
39@@ -106,6 +118,7 @@ const unsigned struct_kernel_stat_sz = SANITIZER_ANDROID
40 : FIRST_32_SECOND_64(160, 216);
41 # endif
42 const unsigned struct_kernel_stat64_sz = 104;
43+#endif
44 #elif defined(__s390__) && !defined(__s390x__)
45 const unsigned struct_kernel_stat_sz = 64;
46 const unsigned struct_kernel_stat64_sz = 104;
diff --git a/meta/recipes-devtools/clang/clang/0026-compiler-rt-Undef-_TIME_BITS-along-with-_FILE_OFFSET.patch b/meta/recipes-devtools/clang/clang/0026-compiler-rt-Undef-_TIME_BITS-along-with-_FILE_OFFSET.patch
new file mode 100644
index 0000000000..e129aa245d
--- /dev/null
+++ b/meta/recipes-devtools/clang/clang/0026-compiler-rt-Undef-_TIME_BITS-along-with-_FILE_OFFSET.patch
@@ -0,0 +1,43 @@
1From 6b6a518bc7686af7680f45fcdea7c414a22a2f53 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 21 Feb 2023 12:46:10 -0800
4Subject: [PATCH] compiler-rt: Undef _TIME_BITS along with _FILE_OFFSET_BITS in
5 sanitizers
6
7On 32bit systems using 64bit time_t build fails because
8_FILE_OFFSET_BITS is undefined here but _TIME_BITS is still set to 64
9
10Fixes
11In file included from compiler-rt/lib/sanitizer_common/sanitizer_procmaps_solaris.cpp:17:
12In file included from compiler-rt/lib/sanitizer_common/sanitizer_platform.h:25:
13In file included from /usr/include/features.h:393:
14/usr/include/features-time64.h:26:5: error: "_TIME_BITS=64 is allowed only with _FILE_OFFSET_BITS=64"
15 ^
161 error generated.
17
18Upstream-Status: Submitted [https://reviews.llvm.org/D144514]
19Signed-off-by: Khem Raj <raj.khem@gmail.com>
20---
21 compiler-rt/lib/sanitizer_common/sanitizer_platform.h | 9 +++++++++
22 1 file changed, 9 insertions(+)
23
24diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_platform.h b/compiler-rt/lib/sanitizer_common/sanitizer_platform.h
25index 57966403c92a..efa83f30eca0 100644
26--- a/compiler-rt/lib/sanitizer_common/sanitizer_platform.h
27+++ b/compiler-rt/lib/sanitizer_common/sanitizer_platform.h
28@@ -22,6 +22,15 @@
29 // function declarations into a .S file which doesn't compile.
30 // https://crbug.com/1162741
31 #if __has_include(<features.h>) && !defined(__ANDROID__)
32+// Some sources undefine _FILE_OFFSET_BITS deliberately e.g.
33+// sanitizer_procmaps_solaris.cpp. This is problematic on glibc systems with
34+// 32-bit architectures using 64-bit time_t and users passing _TIME_BITS=64
35+// from build environment, therefore both _FILE_OFFSET_BITS and _TIME_BITS
36+// need to be undefined together since features.h will check for both being 64
37+// if one is set to 64.
38+# if !defined(_FILE_OFFSET_BITS)
39+# undef _TIME_BITS
40+# endif
41 # include <features.h>
42 #endif
43
diff --git a/meta/recipes-devtools/clang/clang/0027-ToolChains-Gnu.cpp-ARMLibDirs-search-also-in-lib32.patch b/meta/recipes-devtools/clang/clang/0027-ToolChains-Gnu.cpp-ARMLibDirs-search-also-in-lib32.patch
new file mode 100644
index 0000000000..b6852a124d
--- /dev/null
+++ b/meta/recipes-devtools/clang/clang/0027-ToolChains-Gnu.cpp-ARMLibDirs-search-also-in-lib32.patch
@@ -0,0 +1,81 @@
1From a83b407a9c1b04d95e6cda74059744fe815fde17 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Thu, 31 Aug 2023 18:14:47 +0200
4Subject: [PATCH] ToolChains/Gnu.cpp: ARMLibDirs search also in lib32
5
6* in some strange multilib configs we build lib32-image where
7 32bit libs are in /usr/lib32 and 64bit in /usr/lib64 but in such
8 setup the clang search for GCC candidate installation doesn't
9 check lib32 directory in sysroot and fails to find the installation
10
11 X86LibDirs was already searching in lib32 for very long time:
12 https://github.com/llvm/llvm-project/commit/621fed5f5a051a0333415aaed75b8f2ed2350dbd
13 but ARMLibDirs didn't include it for some reason.
14
15* if we don't add lib32 for arm in getOSLibDir(), then it will
16 find -lgcc, crtbeginS.o, crtendS.o, but still fail to find
17 -lgcc_s, -lc, Scrt1.o, crti.o, crtn.o
18
19* fixes lib32-compiler-rt build failure:
20
21-- Configuring incomplete, errors occurred!
22CMake Error at TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/recipe-sysroot-native/usr/share/cmake-3.26/Modules/CMakeTestCCompiler.cmake:67 (message):
23 The C compiler
24
25 "TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/recipe-sysroot-native/usr/bin/arm-oemllib32-linux-gnueabi/arm-oemllib32-linux-gnueabi-clang"
26
27 is not able to compile a simple test program.
28
29 It fails with the following output:
30
31 Change Dir: TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/build/CMakeFiles/CMakeScratch/TryCompile-rWXyQZ
32
33 Run Build Command(s):ninja -v cmTC_84d18 && [1/2] TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/recipe-sysroot-native/usr/bin/arm-oemllib32-linux-gnueabi/arm-oemllib32-linux-gnueabi-clang --target=arm-oemllib32-linux-gnueabi --sysroot=TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/lib32-recipe-sysroot -target arm-oemllib32-linux-gnueabi -march=armv7ve -mthumb -mfpu=neon-vfpv4 -mfloat-abi=softfp -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -funwind-tables -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -Werror=return-type -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 --sysroot=TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/lib32-recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/BUILD/work-shared/llvm-project-source-16.0.6-r0/git=/usr/src/debug/lib32-compiler-rt/16.0.6-r0 -fdebug-prefix-map=TOPDIR/BUILD/work-shared/llvm-project-source-16.0.6-r0/git=/usr/src/debug/lib32-compiler-rt/16.0.6-r0 -fmacro-prefix-map=TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/build=/usr/src/debug/lib32-compiler-rt/16.0.6-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/build=/usr/src/debug/lib32-compiler-rt/16.0.6-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/lib32-recipe-sysroot= -fmacro-prefix-map=TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/lib32-recipe-sysroot= -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/recipe-sysroot-native= -fPIE -MD -MT CMakeFiles/cmTC_84d18.dir/testCCompiler.c.o -MF CMakeFiles/cmTC_84d18.dir/testCCompiler.c.o.d -o CMakeFiles/cmTC_84d18.dir/testCCompiler.c.o -c TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/build/CMakeFiles/CMakeScratch/TryCompile-rWXyQZ/testCCompiler.c
34 [2/2] : && TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/recipe-sysroot-native/usr/bin/arm-oemllib32-linux-gnueabi/arm-oemllib32-linux-gnueabi-clang --target=arm-oemllib32-linux-gnueabi --sysroot=TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/lib32-recipe-sysroot -target arm-oemllib32-linux-gnueabi -march=armv7ve -mthumb -mfpu=neon-vfpv4 -mfloat-abi=softfp -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -funwind-tables -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -Werror=return-type -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 --sysroot=TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/lib32-recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/BUILD/work-shared/llvm-project-source-16.0.6-r0/git=/usr/src/debug/lib32-compiler-rt/16.0.6-r0 -fdebug-prefix-map=TOPDIR/BUILD/work-shared/llvm-project-source-16.0.6-r0/git=/usr/src/debug/lib32-compiler-rt/16.0.6-r0 -fmacro-prefix-map=TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/build=/usr/src/debug/lib32-compiler-rt/16.0.6-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/build=/usr/src/debug/lib32-compiler-rt/16.0.6-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/lib32-recipe-sysroot= -fmacro-prefix-map=TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/lib32-recipe-sysroot= -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/recipe-sysroot-native= -target arm-oemllib32-linux-gnueabi -march=armv7ve -mthumb -mfpu=neon-vfpv4 -mfloat-abi=softfp -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -funwind-tables -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -Werror=return-type -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 --sysroot=TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/lib32-recipe-sysroot -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/BUILD/work-shared/llvm-project-source-16.0.6-r0/git=/usr/src/debug/lib32-compiler-rt/16.0.6-r0 -fdebug-prefix-map=TOPDIR/BUILD/work-shared/llvm-project-source-16.0.6-r0/git=/usr/src/debug/lib32-compiler-rt/16.0.6-r0 -fmacro-prefix-map=TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/build=/usr/src/debug/lib32-compiler-rt/16.0.6-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/build=/usr/src/debug/lib32-compiler-rt/16.0.6-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/lib32-recipe-sysroot= -fmacro-prefix-map=TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/lib32-recipe-sysroot= -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/recipe-sysroot-native= -Wl,-z,relro,-z,now -unwindlib=libgcc -rtlib=libgcc -stdlib=libstdc++ -fuse-ld=lld -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/BUILD/work-shared/llvm-project-source-16.0.6-r0/git=/usr/src/debug/lib32-compiler-rt/16.0.6-r0 -fdebug-prefix-map=TOPDIR/BUILD/work-shared/llvm-project-source-16.0.6-r0/git=/usr/src/debug/lib32-compiler-rt/16.0.6-r0 -fmacro-prefix-map=TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/build=/usr/src/debug/lib32-compiler-rt/16.0.6-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/build=/usr/src/debug/lib32-compiler-rt/16.0.6-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/lib32-recipe-sysroot= -fmacro-prefix-map=TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/lib32-recipe-sysroot= -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/recipe-sysroot-native= -Wl,-z,relro,-z,now -unwindlib=libgcc -rtlib=libgcc -stdlib=libstdc++ -fuse-ld=lld CMakeFiles/cmTC_84d18.dir/testCCompiler.c.o -o cmTC_84d18 && :
35 FAILED: cmTC_84d18
36 : && TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/recipe-sysroot-native/usr/bin/arm-oemllib32-linux-gnueabi/arm-oemllib32-linux-gnueabi-clang --target=arm-oemllib32-linux-gnueabi --sysroot=TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/lib32-recipe-sysroot -target arm-oemllib32-linux-gnueabi -march=armv7ve -mthumb -mfpu=neon-vfpv4 -mfloat-abi=softfp -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -funwind-tables -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -Werror=return-type -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 --sysroot=TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/lib32-recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/BUILD/work-shared/llvm-project-source-16.0.6-r0/git=/usr/src/debug/lib32-compiler-rt/16.0.6-r0 -fdebug-prefix-map=TOPDIR/BUILD/work-shared/llvm-project-source-16.0.6-r0/git=/usr/src/debug/lib32-compiler-rt/16.0.6-r0 -fmacro-prefix-map=TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/build=/usr/src/debug/lib32-compiler-rt/16.0.6-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/build=/usr/src/debug/lib32-compiler-rt/16.0.6-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/lib32-recipe-sysroot= -fmacro-prefix-map=TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/lib32-recipe-sysroot= -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/recipe-sysroot-native= -target arm-oemllib32-linux-gnueabi -march=armv7ve -mthumb -mfpu=neon-vfpv4 -mfloat-abi=softfp -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -funwind-tables -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -Werror=return-type -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 --sysroot=TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/lib32-recipe-sysroot -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/BUILD/work-shared/llvm-project-source-16.0.6-r0/git=/usr/src/debug/lib32-compiler-rt/16.0.6-r0 -fdebug-prefix-map=TOPDIR/BUILD/work-shared/llvm-project-source-16.0.6-r0/git=/usr/src/debug/lib32-compiler-rt/16.0.6-r0 -fmacro-prefix-map=TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/build=/usr/src/debug/lib32-compiler-rt/16.0.6-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/build=/usr/src/debug/lib32-compiler-rt/16.0.6-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/lib32-recipe-sysroot= -fmacro-prefix-map=TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/lib32-recipe-sysroot= -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/recipe-sysroot-native= -Wl,-z,relro,-z,now -unwindlib=libgcc -rtlib=libgcc -stdlib=libstdc++ -fuse-ld=lld -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/BUILD/work-shared/llvm-project-source-16.0.6-r0/git=/usr/src/debug/lib32-compiler-rt/16.0.6-r0 -fdebug-prefix-map=TOPDIR/BUILD/work-shared/llvm-project-source-16.0.6-r0/git=/usr/src/debug/lib32-compiler-rt/16.0.6-r0 -fmacro-prefix-map=TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/build=/usr/src/debug/lib32-compiler-rt/16.0.6-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/build=/usr/src/debug/lib32-compiler-rt/16.0.6-r0 -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/lib32-recipe-sysroot= -fmacro-prefix-map=TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/lib32-recipe-sysroot= -fdebug-prefix-map=TOPDIR/BUILD/work/raspberrypi4_64-oemllib32-linux-gnueabi/lib32-compiler-rt/16.0.6/recipe-sysroot-native= -Wl,-z,relro,-z,now -unwindlib=libgcc -rtlib=libgcc -stdlib=libstdc++ -fuse-ld=lld CMakeFiles/cmTC_84d18.dir/testCCompiler.c.o -o cmTC_84d18 && :
37 arm-oemllib32-linux-gnueabi-ld.lld: error: cannot open Scrt1.o: No such file or directory
38 arm-oemllib32-linux-gnueabi-ld.lld: error: cannot open crti.o: No such file or directory
39 arm-oemllib32-linux-gnueabi-ld.lld: error: cannot open crtbeginS.o: No such file or directory
40 arm-oemllib32-linux-gnueabi-ld.lld: error: unable to find library -lgcc
41 arm-oemllib32-linux-gnueabi-ld.lld: error: unable to find library -lgcc_s
42 arm-oemllib32-linux-gnueabi-ld.lld: error: unable to find library -lc
43 arm-oemllib32-linux-gnueabi-ld.lld: error: unable to find library -lgcc
44 arm-oemllib32-linux-gnueabi-ld.lld: error: unable to find library -lgcc_s
45 arm-oemllib32-linux-gnueabi-ld.lld: error: cannot open crtendS.o: No such file or directory
46 arm-oemllib32-linux-gnueabi-ld.lld: error: cannot open crtn.o: No such file or directory
47 clang-16: error: linker command failed with exit code 1 (use -v to see invocation)
48 ninja: build stopped: subcommand failed.
49
50Upstream-Status: Pending
51Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
52---
53 clang/lib/Driver/ToolChains/Gnu.cpp | 2 +-
54 clang/lib/Driver/ToolChains/Linux.cpp | 1 +
55 2 files changed, 2 insertions(+), 1 deletion(-)
56
57diff --git a/clang/lib/Driver/ToolChains/Gnu.cpp b/clang/lib/Driver/ToolChains/Gnu.cpp
58index 868d32f501e8..beed8d34a127 100644
59--- a/clang/lib/Driver/ToolChains/Gnu.cpp
60+++ b/clang/lib/Driver/ToolChains/Gnu.cpp
61@@ -2428,7 +2428,7 @@ void Generic_GCC::GCCInstallationDetector::AddDefaultGCCPrefixes(
62 static const char *const AArch64beLibDirs[] = {"/lib"};
63 static const char *const AArch64beTriples[] = {"aarch64_be-none-linux-gnu"};
64
65- static const char *const ARMLibDirs[] = {"/lib"};
66+ static const char *const ARMLibDirs[] = {"/lib", "/lib32"};
67 static const char *const ARMTriples[] = {"arm-linux-gnueabi"};
68 static const char *const ARMHFTriples[] = {"arm-linux-gnueabihf",
69 "armv7hl-redhat-linux-gnueabi",
70diff --git a/clang/lib/Driver/ToolChains/Linux.cpp b/clang/lib/Driver/ToolChains/Linux.cpp
71index ee0b4acbcef0..b02409fd72ee 100644
72--- a/clang/lib/Driver/ToolChains/Linux.cpp
73+++ b/clang/lib/Driver/ToolChains/Linux.cpp
74@@ -199,6 +199,7 @@ static StringRef getOSLibDir(const llvm::Triple &Triple, const ArgList &Args) {
75 // reasoning about oslibdir spellings with the lib dir spellings in the
76 // GCCInstallationDetector, but that is a more significant refactoring.
77 if (Triple.getArch() == llvm::Triple::x86 || Triple.isPPC32() ||
78+ Triple.getArch() == llvm::Triple::arm || Triple.getArch() == llvm::Triple::thumb ||
79 Triple.getArch() == llvm::Triple::sparc)
80 return "lib32";
81
diff --git a/meta/recipes-devtools/clang/clang/0028-clang-llvm-Add-OE-specific-ABI-triple-for-N32-ABI.patch b/meta/recipes-devtools/clang/clang/0028-clang-llvm-Add-OE-specific-ABI-triple-for-N32-ABI.patch
new file mode 100644
index 0000000000..0136039358
--- /dev/null
+++ b/meta/recipes-devtools/clang/clang/0028-clang-llvm-Add-OE-specific-ABI-triple-for-N32-ABI.patch
@@ -0,0 +1,78 @@
1From 3572a4425844ef77131fd2635ea570eafc1df958 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 3 Feb 2024 16:47:10 -0800
4Subject: [PATCH] clang/llvm: Add OE specific ABI triple for N32 ABI
5
6Its gnun32 when using OE
7
8Upstream-Status: Inappropriate [OE-Specific]
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 clang/lib/Driver/ToolChains/Gnu.cpp | 1 +
12 clang/lib/Driver/ToolChains/Linux.cpp | 4 ++--
13 llvm/lib/TargetParser/Triple.cpp | 4 +++-
14 3 files changed, 6 insertions(+), 3 deletions(-)
15
16diff --git a/clang/lib/Driver/ToolChains/Gnu.cpp b/clang/lib/Driver/ToolChains/Gnu.cpp
17index beed8d34a127..c47b93a4e142 100644
18--- a/clang/lib/Driver/ToolChains/Gnu.cpp
19+++ b/clang/lib/Driver/ToolChains/Gnu.cpp
20@@ -2491,6 +2491,7 @@ void Generic_GCC::GCCInstallationDetector::AddDefaultGCCPrefixes(
21
22 static const char *const MIPSN32LibDirs[] = {"/lib32"};
23 static const char *const MIPSN32Triples[] = {"mips64-linux-gnuabin32",
24+ "mips64-linux-gnun32",
25 "mipsisa64r6-linux-gnuabin32"};
26 static const char *const MIPSN32ELLibDirs[] = {"/lib32"};
27 static const char *const MIPSN32ELTriples[] = {
28diff --git a/clang/lib/Driver/ToolChains/Linux.cpp b/clang/lib/Driver/ToolChains/Linux.cpp
29index b02409fd72ee..4999b0fc17a6 100644
30--- a/clang/lib/Driver/ToolChains/Linux.cpp
31+++ b/clang/lib/Driver/ToolChains/Linux.cpp
32@@ -139,7 +139,7 @@ std::string Linux::getMultiarchTriple(const Driver &D,
33 return IsMipsR6 ? "mipsisa32r6el-linux-gnu" : "mipsel-linux-gnu";
34 case llvm::Triple::mips64: {
35 std::string MT = std::string(IsMipsR6 ? "mipsisa64r6" : "mips64") +
36- "-linux-" + (IsMipsN32Abi ? "gnuabin32" : "gnuabi64");
37+ "-linux-" + (IsMipsN32Abi ? "gnun32" : "gnu");
38 if (D.getVFS().exists(concat(SysRoot, "/lib", MT)))
39 return MT;
40 if (D.getVFS().exists(concat(SysRoot, "/lib/mips64-linux-gnu")))
41@@ -148,7 +148,7 @@ std::string Linux::getMultiarchTriple(const Driver &D,
42 }
43 case llvm::Triple::mips64el: {
44 std::string MT = std::string(IsMipsR6 ? "mipsisa64r6el" : "mips64el") +
45- "-linux-" + (IsMipsN32Abi ? "gnuabin32" : "gnuabi64");
46+ "-linux-" + (IsMipsN32Abi ? "gnun32" : "gnu");
47 if (D.getVFS().exists(concat(SysRoot, "/lib", MT)))
48 return MT;
49 if (D.getVFS().exists(concat(SysRoot, "/lib/mips64el-linux-gnu")))
50diff --git a/llvm/lib/TargetParser/Triple.cpp b/llvm/lib/TargetParser/Triple.cpp
51index 97f426dd863b..dc57d5ff2d4a 100644
52--- a/llvm/lib/TargetParser/Triple.cpp
53+++ b/llvm/lib/TargetParser/Triple.cpp
54@@ -336,7 +336,7 @@ StringRef Triple::getEnvironmentTypeName(EnvironmentType Kind) {
55 case GNU: return "gnu";
56 case GNUT64: return "gnut64";
57 case GNUABI64: return "gnuabi64";
58- case GNUABIN32: return "gnuabin32";
59+ case GNUABIN32: return "gnun32";
60 case GNUEABI: return "gnueabi";
61 case GNUEABIT64: return "gnueabit64";
62 case GNUEABIHF: return "gnueabihf";
63@@ -719,6 +719,7 @@ static Triple::EnvironmentType parseEnvironment(StringRef EnvironmentName) {
64 .StartsWith("eabihf", Triple::EABIHF)
65 .StartsWith("eabi", Triple::EABI)
66 .StartsWith("gnuabin32", Triple::GNUABIN32)
67+ .StartsWith("gnun32", Triple::GNUABIN32)
68 .StartsWith("gnuabi64", Triple::GNUABI64)
69 .StartsWith("gnueabihft64", Triple::GNUEABIHFT64)
70 .StartsWith("gnueabihf", Triple::GNUEABIHF)
71@@ -1035,6 +1036,7 @@ Triple::Triple(const Twine &Str)
72 Environment =
73 StringSwitch<Triple::EnvironmentType>(Components[0])
74 .StartsWith("mipsn32", Triple::GNUABIN32)
75+ .StartsWith("mips64-n32", Triple::GNUABIN32)
76 .StartsWith("mips64", Triple::GNUABI64)
77 .StartsWith("mipsisa64", Triple::GNUABI64)
78 .StartsWith("mipsisa32", Triple::GNU)
diff --git a/meta/recipes-devtools/clang/clang/0029-llvm-Add-libunwind.pc.in-and-llvm-config-scripts.patch b/meta/recipes-devtools/clang/clang/0029-llvm-Add-libunwind.pc.in-and-llvm-config-scripts.patch
new file mode 100644
index 0000000000..a42ac2484d
--- /dev/null
+++ b/meta/recipes-devtools/clang/clang/0029-llvm-Add-libunwind.pc.in-and-llvm-config-scripts.patch
@@ -0,0 +1,90 @@
1From e5223f6013c7c70a7f6e35ecec046cfdc0c15c2a Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 14 May 2024 22:04:43 -0700
4Subject: [PATCH] llvm: Add libunwind.pc.in and llvm-config scripts
5
6These are added by OE project
7
8Upstream-Status: Inappropriate [ OE-Specific ]
9
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 libunwind/libunwind.pc.in | 9 ++++++
13 llvm/tools/llvm-config/llvm-config | 52 ++++++++++++++++++++++++++++++
14 2 files changed, 61 insertions(+)
15 create mode 100644 libunwind/libunwind.pc.in
16 create mode 100644 llvm/tools/llvm-config/llvm-config
17
18diff --git a/libunwind/libunwind.pc.in b/libunwind/libunwind.pc.in
19new file mode 100644
20index 000000000000..a93d676604f9
21--- /dev/null
22+++ b/libunwind/libunwind.pc.in
23@@ -0,0 +1,9 @@
24+prefix=/usr
25+exec_prefix=/usr
26+libdir=@LIBDIR@
27+includedir=/usr/include
28+
29+Name: libunwind
30+Description: libunwind base library
31+Version: @VERSION@
32+Libs: -lunwind
33diff --git a/llvm/tools/llvm-config/llvm-config b/llvm/tools/llvm-config/llvm-config
34new file mode 100644
35index 000000000000..6a0dd54b8eab
36--- /dev/null
37+++ b/llvm/tools/llvm-config/llvm-config
38@@ -0,0 +1,52 @@
39+#!/bin/bash
40+#
41+# Wrapper script for llvm-config. Supplies the right environment variables
42+# for the target and delegates to the native llvm-config for anything else. This
43+# is needed because arguments like --ldflags, --cxxflags, etc. are set by the
44+# native compile rather than the target compile.
45+#
46+SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
47+NEXT_LLVM_CONFIG="$(which -a llvm-config | sed -n 2p)"
48+export YOCTO_ALTERNATE_EXE_PATH="${YOCTO_ALTERNATE_EXE_PATH:="$(readlink -f "$SCRIPT_DIR/../llvm-config")"}"
49+if [ -n "$( echo $base_libdir | sed -n '/lib64/p')" ]; then
50+ export YOCTO_ALTERNATE_LIBDIR="${YOCTO_ALTERNATE_LIBDIR:="/lib64"}"
51+else
52+ export YOCTO_ALTERNATE_LIBDIR="${YOCTO_ALTERNATE_LIBDIR:="/lib"}"
53+fi
54+if [[ $# == 0 ]]; then
55+ exec "$NEXT_LLVM_CONFIG"
56+fi
57+
58+remain=""
59+output=""
60+for arg in "$@"; do
61+ case "$arg" in
62+ --cppflags)
63+ output="${output} ${CPPFLAGS}"
64+ ;;
65+ --cflags)
66+ output="${output} ${CFLAGS}"
67+ ;;
68+ --cxxflags)
69+ output="${output} ${CXXFLAGS}"
70+ ;;
71+ --ldflags)
72+ output="${output} ${LDFLAGS}"
73+ ;;
74+ --shared-mode)
75+ output="${output} shared"
76+ ;;
77+ --link-shared)
78+ break
79+ ;;
80+ *)
81+ remain="${remain} ${arg}"
82+ ;;
83+ esac
84+done
85+
86+if [ "${remain}" != "" ]; then
87+ output="${output} "$("$NEXT_LLVM_CONFIG" ${remain})
88+fi
89+
90+echo "${output}"
diff --git a/meta/recipes-devtools/clang/clang/0030-scan-build-py-respect-LLVM_LIBDIR_SUFFIX-like-other-.patch b/meta/recipes-devtools/clang/clang/0030-scan-build-py-respect-LLVM_LIBDIR_SUFFIX-like-other-.patch
new file mode 100644
index 0000000000..85d3ce9ed3
--- /dev/null
+++ b/meta/recipes-devtools/clang/clang/0030-scan-build-py-respect-LLVM_LIBDIR_SUFFIX-like-other-.patch
@@ -0,0 +1,92 @@
1From 3f03bd4a5a16f2b5525f4dc32c7b196840b96856 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <martin.jansa@gmail.com>
3Date: Fri, 13 Sep 2024 13:38:08 +0200
4Subject: [PATCH] scan-build-py: respect LLVM_LIBDIR_SUFFIX like other tools do
5
6* other libraries are installed in 'lib64' or 'lib32' based on
7 LLVM_LIBDIR_SUFFIX value, but libscanbuild files were always
8 installed in 'lib'
9
10Upstream-Status: Submitted [https://github.com/llvm/llvm-project/pull/108549]
11
12Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
13---
14 clang/tools/scan-build-py/CMakeLists.txt | 38 ++++++++++++------------
15 1 file changed, 19 insertions(+), 19 deletions(-)
16
17diff --git a/clang/tools/scan-build-py/CMakeLists.txt b/clang/tools/scan-build-py/CMakeLists.txt
18index 9273eb5ed977..9033786d2da5 100644
19--- a/clang/tools/scan-build-py/CMakeLists.txt
20+++ b/clang/tools/scan-build-py/CMakeLists.txt
21@@ -77,52 +77,52 @@ foreach(lib ${LibExecs})
22 endforeach()
23
24 foreach(lib ${LibScanbuild})
25- add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/lib/libscanbuild/${lib}
26+ add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX}/libscanbuild/${lib}
27 COMMAND ${CMAKE_COMMAND} -E make_directory
28- ${CMAKE_BINARY_DIR}/lib
29+ ${CMAKE_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX}
30 COMMAND ${CMAKE_COMMAND} -E make_directory
31- ${CMAKE_BINARY_DIR}/lib/libscanbuild
32+ ${CMAKE_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX}/libscanbuild
33 COMMAND ${CMAKE_COMMAND} -E copy
34 ${CMAKE_CURRENT_SOURCE_DIR}/lib/libscanbuild/${lib}
35- ${CMAKE_BINARY_DIR}/lib/libscanbuild/
36+ ${CMAKE_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX}/libscanbuild/
37 DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/lib/libscanbuild/${lib})
38- list(APPEND Depends ${CMAKE_BINARY_DIR}/lib/libscanbuild/${lib})
39+ list(APPEND Depends ${CMAKE_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX}/libscanbuild/${lib})
40 install(FILES lib/libscanbuild/${lib}
41- DESTINATION lib/libscanbuild
42+ DESTINATION lib${LLVM_LIBDIR_SUFFIX}/libscanbuild
43 COMPONENT scan-build-py)
44 endforeach()
45
46 foreach(resource ${LibScanbuildResources})
47- add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/lib/libscanbuild/resources/${resource}
48+ add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX}/libscanbuild/resources/${resource}
49 COMMAND ${CMAKE_COMMAND} -E make_directory
50- ${CMAKE_BINARY_DIR}/lib
51+ ${CMAKE_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX}
52 COMMAND ${CMAKE_COMMAND} -E make_directory
53- ${CMAKE_BINARY_DIR}/lib/libscanbuild
54+ ${CMAKE_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX}/libscanbuild
55 COMMAND ${CMAKE_COMMAND} -E make_directory
56- ${CMAKE_BINARY_DIR}/lib/libscanbuild/resources
57+ ${CMAKE_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX}/libscanbuild/resources
58 COMMAND ${CMAKE_COMMAND} -E copy
59 ${CMAKE_CURRENT_SOURCE_DIR}/lib/libscanbuild/resources/${resource}
60- ${CMAKE_BINARY_DIR}/lib/libscanbuild/resources
61+ ${CMAKE_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX}/libscanbuild/resources
62 DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/lib/libscanbuild/resources/${resource})
63- list(APPEND Depends ${CMAKE_BINARY_DIR}/lib/libscanbuild/resources/${resource})
64+ list(APPEND Depends ${CMAKE_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX}/libscanbuild/resources/${resource})
65 install(FILES lib/libscanbuild/resources/${resource}
66- DESTINATION lib/libscanbuild/resources
67+ DESTINATION lib${LLVM_LIBDIR_SUFFIX}/libscanbuild/resources
68 COMPONENT scan-build-py)
69 endforeach()
70
71 foreach(lib ${LibEar})
72- add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/lib/libear/${lib}
73+ add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX}/libear/${lib}
74 COMMAND ${CMAKE_COMMAND} -E make_directory
75- ${CMAKE_BINARY_DIR}/lib
76+ ${CMAKE_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX}
77 COMMAND ${CMAKE_COMMAND} -E make_directory
78- ${CMAKE_BINARY_DIR}/lib/libear
79+ ${CMAKE_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX}/libear
80 COMMAND ${CMAKE_COMMAND} -E copy
81 ${CMAKE_CURRENT_SOURCE_DIR}/lib/libear/${lib}
82- ${CMAKE_BINARY_DIR}/lib/libear/
83+ ${CMAKE_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX}/libear/
84 DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/lib/libear/${lib})
85- list(APPEND Depends ${CMAKE_BINARY_DIR}/lib/libear/${lib})
86+ list(APPEND Depends ${CMAKE_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX}/libear/${lib})
87 install(FILES lib/libear/${lib}
88- DESTINATION lib/libear
89+ DESTINATION lib${LLVM_LIBDIR_SUFFIX}/libear
90 COMPONENT scan-build-py)
91 endforeach()
92
diff --git a/meta/recipes-devtools/clang/clang/0031-compiler-rt-Do-not-pass-target-to-clang-compiler.patch b/meta/recipes-devtools/clang/clang/0031-compiler-rt-Do-not-pass-target-to-clang-compiler.patch
new file mode 100644
index 0000000000..621c3653f0
--- /dev/null
+++ b/meta/recipes-devtools/clang/clang/0031-compiler-rt-Do-not-pass-target-to-clang-compiler.patch
@@ -0,0 +1,29 @@
1From 518c0025921b0bd21e69bf4c38f369778032f4e0 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 13 Mar 2025 00:30:38 -0700
4Subject: [PATCH] compiler-rt: Do not pass --target to clang compiler
5
6In OE we use <tuple>-clang and <tuple>-clang++ which
7should resolve the --target correctly.
8
9Upstream-Status: Inappropriate [ OE-Specific ]
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 compiler-rt/lib/fuzzer/CMakeLists.txt | 4 ----
13 1 file changed, 4 deletions(-)
14
15diff --git a/compiler-rt/lib/fuzzer/CMakeLists.txt b/compiler-rt/lib/fuzzer/CMakeLists.txt
16index 6db24610df1f..692e194c2a98 100644
17--- a/compiler-rt/lib/fuzzer/CMakeLists.txt
18+++ b/compiler-rt/lib/fuzzer/CMakeLists.txt
19@@ -140,10 +140,6 @@ if(OS_NAME MATCHES "Android|Linux|Fuchsia" AND
20 COMPILER_RT_LIBCXXABI_PATH)
21 macro(partially_link_libcxx name dir arch)
22 get_target_flags_for_arch(${arch} target_cflags)
23- if(CMAKE_CXX_COMPILER_ID MATCHES Clang)
24- get_compiler_rt_target(${arch} target)
25- set(target_cflags --target=${target} ${target_cflags})
26- endif()
27 set(cxx_${arch}_merge_dir "${CMAKE_CURRENT_BINARY_DIR}/cxx_${arch}_merge.dir")
28 file(MAKE_DIRECTORY ${cxx_${arch}_merge_dir})
29 add_custom_command(TARGET clang_rt.${name}-${arch} POST_BUILD
diff --git a/meta/recipes-devtools/clang/clang/0032-clangd-Add-a-build-option-to-disable-building-dexp.patch b/meta/recipes-devtools/clang/clang/0032-clangd-Add-a-build-option-to-disable-building-dexp.patch
new file mode 100644
index 0000000000..3e0603477e
--- /dev/null
+++ b/meta/recipes-devtools/clang/clang/0032-clangd-Add-a-build-option-to-disable-building-dexp.patch
@@ -0,0 +1,85 @@
1From 12abcd058e2aa468054708b0ca7a06f2638eabab Mon Sep 17 00:00:00 2001
2From: Yoann Congal <yoann.congal@smile.fr>
3Date: Tue, 25 Mar 2025 22:25:55 +0100
4Subject: [PATCH] clangd: Add a build option to disable building dexp
5
6Building dexp on Debian 11 currently causes intermittent failure[0][1].
7
8Adding the CLANGD_BUILD_DEXP option to disable dexp from the build
9allows Debian 11 users to build clang (albeit without the dexp tool).
10
11This option is set to "Build Dexp" by default so, no change is expected
12without manual setting.
13
14[0]: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15803
15[1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1101322
16
17Upstream-Status: Submitted [https://github.com/llvm/llvm-project/pull/133124]
18Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
19Signed-off-by: Khem Raj <raj.khem@gmail.com>
20---
21 clang-tools-extra/clangd/CMakeLists.txt | 8 +++++++-
22 clang-tools-extra/clangd/test/CMakeLists.txt | 7 +++++--
23 clang-tools-extra/clangd/test/lit.site.cfg.py.in | 1 +
24 3 files changed, 13 insertions(+), 3 deletions(-)
25
26diff --git a/clang-tools-extra/clangd/CMakeLists.txt b/clang-tools-extra/clangd/CMakeLists.txt
27index 6f10afe4a562..a1e9da41b4b3 100644
28--- a/clang-tools-extra/clangd/CMakeLists.txt
29+++ b/clang-tools-extra/clangd/CMakeLists.txt
30@@ -210,6 +210,9 @@ if (CLANGD_ENABLE_REMOTE)
31 include(AddGRPC)
32 endif()
33
34+option(CLANGD_BUILD_DEXP "Build the dexp tool as part of Clangd" ON)
35+llvm_canonicalize_cmake_booleans(CLANGD_BUILD_DEXP)
36+
37 if(CLANG_INCLUDE_TESTS)
38 add_subdirectory(test)
39 add_subdirectory(unittests)
40@@ -220,4 +223,7 @@ option(CLANGD_ENABLE_REMOTE "Use gRPC library to enable remote index support for
41 set(GRPC_INSTALL_PATH "" CACHE PATH "Path to gRPC library manual installation.")
42
43 add_subdirectory(index/remote)
44-add_subdirectory(index/dex/dexp)
45+
46+if(CLANGD_BUILD_DEXP)
47+ add_subdirectory(index/dex/dexp)
48+endif()
49diff --git a/clang-tools-extra/clangd/test/CMakeLists.txt b/clang-tools-extra/clangd/test/CMakeLists.txt
50index b51f461a4986..42fc3506641f 100644
51--- a/clang-tools-extra/clangd/test/CMakeLists.txt
52+++ b/clang-tools-extra/clangd/test/CMakeLists.txt
53@@ -3,8 +3,6 @@ set(CLANGD_TEST_DEPS
54 ClangdTests
55 clangd-indexer
56 split-file
57- # No tests for it, but we should still make sure they build.
58- dexp
59 )
60
61 if(CLANGD_BUILD_XPC)
62@@ -12,6 +10,11 @@ if(CLANGD_BUILD_XPC)
63 list(APPEND CLANGD_TEST_DEPS ClangdXpcUnitTests)
64 endif()
65
66+if(CLANGD_BUILD_DEXP)
67+ # No tests for it, but we should still make sure they build.
68+ list(APPEND CLANGD_TEST_DEPS dexp)
69+endif()
70+
71 if(CLANGD_ENABLE_REMOTE)
72 list(APPEND CLANGD_TEST_DEPS clangd-index-server clangd-index-server-monitor)
73 endif()
74diff --git a/clang-tools-extra/clangd/test/lit.site.cfg.py.in b/clang-tools-extra/clangd/test/lit.site.cfg.py.in
75index 1fe7c8d0f324..a0bb3561e19e 100644
76--- a/clang-tools-extra/clangd/test/lit.site.cfg.py.in
77+++ b/clang-tools-extra/clangd/test/lit.site.cfg.py.in
78@@ -15,6 +15,7 @@ config.llvm_shlib_dir = "@SHLIBDIR@"
79 config.clangd_source_dir = "@CMAKE_CURRENT_SOURCE_DIR@/.."
80 config.clangd_binary_dir = "@CMAKE_CURRENT_BINARY_DIR@/.."
81 config.clangd_build_xpc = @CLANGD_BUILD_XPC@
82+config.clangd_build_dexp = @CLANGD_BUILD_DEXP@
83 config.clangd_enable_remote = @CLANGD_ENABLE_REMOTE@
84 config.clangd_tidy_checks = @CLANGD_TIDY_CHECKS@
85 config.have_zlib = @LLVM_ENABLE_ZLIB@
diff --git a/meta/recipes-devtools/llvm/llvm/0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch b/meta/recipes-devtools/clang/clang/0033-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch
index a5c53b6657..1901efeae4 100644
--- a/meta/recipes-devtools/llvm/llvm/0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch
+++ b/meta/recipes-devtools/clang/clang/0033-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch
@@ -1,4 +1,4 @@
1From 3b30a9bda88374e8f03bf96e972aee5bd214b98b Mon Sep 17 00:00:00 2001 1From 9e389e1dc73a2f5601cfbab34249aedffd053235 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Fri, 27 Nov 2020 10:11:08 +0000 3Date: Fri, 27 Nov 2020 10:11:08 +0000
4Subject: [PATCH] AsmMatcherEmitter: sort ClassInfo lists by name as well 4Subject: [PATCH] AsmMatcherEmitter: sort ClassInfo lists by name as well
@@ -14,7 +14,7 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
14 1 file changed, 4 insertions(+), 1 deletion(-) 14 1 file changed, 4 insertions(+), 1 deletion(-)
15 15
16diff --git a/llvm/utils/TableGen/AsmMatcherEmitter.cpp b/llvm/utils/TableGen/AsmMatcherEmitter.cpp 16diff --git a/llvm/utils/TableGen/AsmMatcherEmitter.cpp b/llvm/utils/TableGen/AsmMatcherEmitter.cpp
17index 73724e662f9e..1ca9c73415db 100644 17index 7684387d80fe..d225a3b6dfa9 100644
18--- a/llvm/utils/TableGen/AsmMatcherEmitter.cpp 18--- a/llvm/utils/TableGen/AsmMatcherEmitter.cpp
19+++ b/llvm/utils/TableGen/AsmMatcherEmitter.cpp 19+++ b/llvm/utils/TableGen/AsmMatcherEmitter.cpp
20@@ -361,7 +361,10 @@ public: 20@@ -361,7 +361,10 @@ public:
diff --git a/meta/recipes-devtools/clang/clang/0034-llvm-config-remove-LLVM_LDFLAGS-from-ldflags-output.patch b/meta/recipes-devtools/clang/clang/0034-llvm-config-remove-LLVM_LDFLAGS-from-ldflags-output.patch
new file mode 100644
index 0000000000..2618f5ac40
--- /dev/null
+++ b/meta/recipes-devtools/clang/clang/0034-llvm-config-remove-LLVM_LDFLAGS-from-ldflags-output.patch
@@ -0,0 +1,32 @@
1From 81db296472e146995c3c5728981cdc0cc065ab9c Mon Sep 17 00:00:00 2001
2From: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
3Date: Wed, 2 Apr 2025 17:05:17 +0300
4Subject: [PATCH] llvm-config: remove LLVM_LDFLAGS from --ldflags output
5
6On native OE builds the LLVM_LDFLAGS gets a lot of extra flags which may
7depend on exact build dir and as such be inappropriate to binaries
8shared through sstate-cache. It is not possible to override this
9behaviour in llvm-config since crossscripts are not being used for
10native builds. As a OE-specific modification ignore LLVM_LDFLAGS for
11native builds.
12
13Upstream-Status: Inappropriate [OE-Specific]
14Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
15Signed-off-by: Khem Raj <raj.khem@gmail.com>
16---
17 llvm/tools/llvm-config/llvm-config.cpp | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
19
20diff --git a/llvm/tools/llvm-config/llvm-config.cpp b/llvm/tools/llvm-config/llvm-config.cpp
21index a739f0d8dbea..3120f95fba9d 100644
22--- a/llvm/tools/llvm-config/llvm-config.cpp
23+++ b/llvm/tools/llvm-config/llvm-config.cpp
24@@ -542,7 +542,7 @@ int main(int argc, char **argv) {
25 OS << ActiveIncludeOption << ' ' << LLVM_CXXFLAGS << '\n';
26 } else if (Arg == "--ldflags") {
27 OS << ((HostTriple.isWindowsMSVCEnvironment()) ? "-LIBPATH:" : "-L")
28- << ActiveLibDir << ' ' << LLVM_LDFLAGS << '\n';
29+ << ActiveLibDir << '\n';
30 } else if (Arg == "--system-libs") {
31 PrintSystemLibs = true;
32 } else if (Arg == "--libs") {
diff --git a/meta/recipes-devtools/clang/clang/0035-openmp-Do-not-emit-date-and-time-into-generate-files.patch b/meta/recipes-devtools/clang/clang/0035-openmp-Do-not-emit-date-and-time-into-generate-files.patch
new file mode 100644
index 0000000000..f33d8851ea
--- /dev/null
+++ b/meta/recipes-devtools/clang/clang/0035-openmp-Do-not-emit-date-and-time-into-generate-files.patch
@@ -0,0 +1,37 @@
1From c439de272b3f983c6d97b8f6fec0135323e3363c Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 23 Apr 2025 11:52:48 -0700
4Subject: [PATCH] openmp: Do not emit date and time into generate files
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9This improves reproducibility where the generated files do not
10contain time stamps e.g.
11
12//·The·file·was·generated·from·en_US.txt·by·message-converter.py·on·Wed·Apr·23·16:00:53·2025.·//
13./usr/src/debug/openmp/20.1.2/runtime/src/kmp_i18n_id.inc
14
15Upstream-Status: Pending
16Signed-off-by: Khem Raj <raj.khem@gmail.com>
17---
18 openmp/runtime/tools/message-converter.py | 3 +--
19 1 file changed, 1 insertion(+), 2 deletions(-)
20
21diff --git a/openmp/runtime/tools/message-converter.py b/openmp/runtime/tools/message-converter.py
22index a493d64c1692..0bd5f929fab6 100644
23--- a/openmp/runtime/tools/message-converter.py
24+++ b/openmp/runtime/tools/message-converter.py
25@@ -188,11 +188,10 @@ def insert_header(f, data, commentChar="//"):
26 f.write(
27 "{0} Do not edit this file! {0}\n"
28 "{0} The file was generated from"
29- " {1} by {2} on {3}. {0}\n\n".format(
30+ " {1} by {2} {0}\n\n".format(
31 commentChar,
32 os.path.basename(data.filename),
33 os.path.basename(__file__),
34- datetime.datetime.now().ctime(),
35 )
36 )
37
diff --git a/meta/recipes-devtools/clang/clang/0036-libunwind-Use-gcs-instead-of-gcs-target-attribute.patch b/meta/recipes-devtools/clang/clang/0036-libunwind-Use-gcs-instead-of-gcs-target-attribute.patch
new file mode 100644
index 0000000000..fe2bd77b33
--- /dev/null
+++ b/meta/recipes-devtools/clang/clang/0036-libunwind-Use-gcs-instead-of-gcs-target-attribute.patch
@@ -0,0 +1,56 @@
1From 8c839483915183a9c1ca4f74646ca4f478900e77 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 30 Apr 2025 19:51:19 -0700
4Subject: [PATCH] libunwind: Use +gcs instead of gcs target attribute
5
6__attribute__((target("gcs"))) does not work with gcc
7
8GCC-15 has added gcs intrinsics [1] but the syntax for enabling it is
9slightly different. This syntax works with clang too.
10
11With gcc15 compiler libunwind's check for this macros is succeeding and it
12ends up enabling 'gcs' by using function attribute, this works with clang
13but not with gcc but '+gcs' works with both
14
15We can see this in rust compiler bootstrap for aarch64/musl when system
16uses gcc15, it ends up with these errors
17
18Building libunwind.a for aarch64-poky-linux-musl
19cargo:warning=/mnt/b/yoe/master/sources/poky/build/tmp/work/cortexa57-poky-linux-musl/rust/1.85.1/rustc-1.85.1-src/src/llvm-project/libunwind/src/UnwindLevel1.c:191:1: error: arch extension 'gcs' should be prefixed by '+'
20cargo:warning= 191 | unwind_phase2(unw_context_t *uc, unw_cursor_t *cursor, _Unwind_Exception *exception_object) {
21cargo:warning= | ^~~~~~~~~~~~~
22cargo:warning=/mnt/b/yoe/master/sources/poky/build/tmp/work/cortexa57-poky-linux-musl/rust/1.85.1/rustc-1.85.1-src/src/llvm-project/libunwind/src/UnwindLevel1.c:337:22: error: arch extension 'gcs' should be prefixed by '+'
23cargo:warning= 337 | _Unwind_Stop_Fn stop, void *stop_parameter) {
24cargo:warning= | ^~~~~~~~~~~~~~~
25
26[1] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=5a6af707f0af
27
28Upstream-Status: Submitted [https://github.com/llvm/llvm-project/pull/138077]
29
30Signed-off-by: Khem Raj <raj.khem@gmail.com>
31---
32 libunwind/src/UnwindLevel1.c | 4 ++--
33 1 file changed, 2 insertions(+), 2 deletions(-)
34
35diff --git a/libunwind/src/UnwindLevel1.c b/libunwind/src/UnwindLevel1.c
36index 7e785f4d31e7..ed2c8239824c 100644
37--- a/libunwind/src/UnwindLevel1.c
38+++ b/libunwind/src/UnwindLevel1.c
39@@ -185,7 +185,7 @@ extern int __unw_step_stage2(unw_cursor_t *);
40
41 #if defined(_LIBUNWIND_USE_GCS)
42 // Enable the GCS target feature to permit gcspop instructions to be used.
43-__attribute__((target("gcs")))
44+__attribute__((target("+gcs")))
45 #endif
46 static _Unwind_Reason_Code
47 unwind_phase2(unw_context_t *uc, unw_cursor_t *cursor, _Unwind_Exception *exception_object) {
48@@ -329,7 +329,7 @@ unwind_phase2(unw_context_t *uc, unw_cursor_t *cursor, _Unwind_Exception *except
49
50 #if defined(_LIBUNWIND_USE_GCS)
51 // Enable the GCS target feature to permit gcspop instructions to be used.
52-__attribute__((target("gcs")))
53+__attribute__((target("+gcs")))
54 #endif
55 static _Unwind_Reason_Code
56 unwind_phase2_forced(unw_context_t *uc, unw_cursor_t *cursor,
diff --git a/meta/recipes-devtools/clang/clang/0037-compiler-rt-Exclude-sync_fetch_and_-for-any-pre-ARMv.patch b/meta/recipes-devtools/clang/clang/0037-compiler-rt-Exclude-sync_fetch_and_-for-any-pre-ARMv.patch
new file mode 100644
index 0000000000..a7e5c5a859
--- /dev/null
+++ b/meta/recipes-devtools/clang/clang/0037-compiler-rt-Exclude-sync_fetch_and_-for-any-pre-ARMv.patch
@@ -0,0 +1,63 @@
1From d2360096db2da00121f4e653b39ca1f7eb2801eb Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 10 May 2025 14:03:12 -0700
4Subject: [PATCH] compiler-rt: Exclude sync_fetch_and_* for any pre-ARMv6 targets
5
6Sometimes builds may happen where ABI is not indidated by host_triple
7e.g. on Yocto the compiler used is called arm-poky-linux-gnueabi-clang
8for all arm32 cross compilers, it passed the ABI flags on cmdline in
9addition. e.g.
10
11-march=armv5te -mfloat-abi=soft
12or
13-march=armv7-a -mfloat-abi=hard
14
15compiler-rt's makery tries to add arm to COMPILER_RT_SUPPORTED_ARCH
16deducing it from triple name.
17
18which ends up choosing `arm` as one of compiler-rt arch to build for.
19This arch is however using armv7+ defaults and then tried to build sync
20builtins using
21
22arm-poky-linux-gnueabi-clang -march=armv5te -mfloat-abi=soft ...
23
24Which does not compile correctly, in such cases it should simply
25remove the sync builtins from list of things to build similar to what
26is done when we use armv4t or armv5t
27
28set(armv4t_SOURCES ${arm_min_SOURCES})
29set(armv5te_SOURCES ${arm_min_SOURCES})
30
31This lets compiler-rt build for arm architectures without depending
32upong compiler triple, but instead of poking the compiler for what
33it is building for
34
35Upstream-Status: Submitted [https://github.com/llvm/llvm-project/pull/139411]
36Signed-off-by: Khem Raj <raj.khem@gmail.com>
37---
38 compiler-rt/lib/builtins/CMakeLists.txt | 12 ++++++++++++
39 1 file changed, 12 insertions(+)
40
41diff --git a/compiler-rt/lib/builtins/CMakeLists.txt b/compiler-rt/lib/builtins/CMakeLists.txt
42index cb276311b290..53a3cd1dc81f 100644
43--- a/compiler-rt/lib/builtins/CMakeLists.txt
44+++ b/compiler-rt/lib/builtins/CMakeLists.txt
45@@ -864,6 +864,18 @@ else ()
46 list(JOIN BUILTIN_CFLAGS " " CMAKE_REQUIRED_FLAGS)
47 set(CMAKE_REQUIRED_FLAGS "${TARGET_${arch}_CFLAGS} ${BUILTIN_CFLAGS_${arch}}")
48 message(STATUS "Performing additional configure checks with target flags: ${CMAKE_REQUIRED_FLAGS}")
49+ # For ARM archs, exclude any sync builtins if dmb or mcr p15, #0, r0, c7, c10, #5
50+ # is not supported
51+ if (${arch} MATCHES "^(arm|armhf)$")
52+ try_compile_only(COMPILER_RT_HAS_${arch}_SYNC
53+ SOURCE "#if __ARM_ARCH < 6
54+ #error DMB is only supported on ARMv6+ !
55+ #endif
56+ int main(void) { return 0; }")
57+ if(NOT COMPILER_RT_HAS_${arch}_SYNC)
58+ list(REMOVE_ITEM ${arch}_SOURCES ${arm_sync_SOURCES})
59+ endif()
60+ endif()
61 # For ARM archs, exclude any VFP builtins if VFP is not supported
62 if (${arch} MATCHES "^(arm|armhf|armv7|armv7s|armv7k|armv7m|armv7em|armv8m.main|armv8.1m.main)$")
63 string(REPLACE ";" " " _TARGET_${arch}_CFLAGS "${TARGET_${arch}_CFLAGS}")
diff --git a/meta/recipes-devtools/clang/clang/0038-compiler-rt-Hardcode-uptr-sptr-typedefs-on-Mips-Linu.patch b/meta/recipes-devtools/clang/clang/0038-compiler-rt-Hardcode-uptr-sptr-typedefs-on-Mips-Linu.patch
new file mode 100644
index 0000000000..b54c163857
--- /dev/null
+++ b/meta/recipes-devtools/clang/clang/0038-compiler-rt-Hardcode-uptr-sptr-typedefs-on-Mips-Linu.patch
@@ -0,0 +1,35 @@
1From 9f88f2e4efa56e53c78f9b67775c71afa711a69c Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 22 May 2025 21:50:45 -0700
4Subject: [PATCH] [compiler-rt] Hardcode uptr/sptr typedefs on Mips/Linux
5
6Sanitizer build on Mips/Linux faills to build due to assertion errors
7mismatched definitions. This is due to inconsistent definitions of
8`uptr` of either `unsigned long` or `unsigned int` in compiler-rt. This
9is caused by clang defining
10
11__UINTPTR_TYPE__ long unsigned int where as gcc defines it as
12unsigned int
13
14As a workaround, this hardcodes `uptr`/`sptr` in compiler-rt to
15`unsigned int`/`int` on Linux Mips, matching gcc.
16
17Upstream-Status: Submitted [https://github.com/llvm/llvm-project/pull/141201]
18Signed-off-by: Khem Raj <raj.khem@gmail.com>
19---
20 compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h | 2 +-
21 1 file changed, 1 insertion(+), 1 deletion(-)
22
23diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h b/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h
24index fff60c96f632..511ee8fe49cc 100644
25--- a/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h
26+++ b/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h
27@@ -139,7 +139,7 @@
28 namespace __sanitizer {
29
30 #if defined(__UINTPTR_TYPE__)
31-# if defined(__arm__) && defined(__linux__)
32+# if (defined(__arm__) || _ABIO32 == 1) && defined(__linux__)
33 // Linux Arm headers redefine __UINTPTR_TYPE__ and disagree with clang/gcc.
34 typedef unsigned int uptr;
35 typedef int sptr;
diff --git a/meta/recipes-devtools/clang/clang_git.bb b/meta/recipes-devtools/clang/clang_git.bb
new file mode 100644
index 0000000000..23dfbb5deb
--- /dev/null
+++ b/meta/recipes-devtools/clang/clang_git.bb
@@ -0,0 +1,488 @@
1# Copyright (C) 2014 Khem Raj <raj.khem@gmail.com>
2# Released under the MIT license (see COPYING.MIT for the terms)
3
4SUMMARY = "LLVM based C/C++ compiler"
5DESCRIPTION = "Clang is an LLVM based C/C++/Objective-C compiler, \
6 which aims to deliver amazingly fast compiles, \
7 extremely useful error and warning messages and \
8 to provide a platform for building great source \
9 level tools. The Clang Static Analyzer and \
10 clang-tidy are tools that automatically find bugs \
11 in your code, and are great examples of the sort \
12 of tools that can be built using the Clang frontend \
13 as a library to parse C/C++ code"
14HOMEPAGE = "http://clang.llvm.org/"
15SECTION = "devel"
16
17require common-clang.inc
18require common-source.inc
19
20INHIBIT_DEFAULT_DEPS:class-native = "1"
21
22LDFLAGS:append:class-target:riscv32 = " -Wl,--no-as-needed -latomic -Wl,--as-needed"
23LDFLAGS:append:class-target:mips = " -Wl,--no-as-needed -latomic -Wl,--as-needed"
24
25inherit cmake pkgconfig python3native python3targetconfig multilib_header
26
27OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "BOTH"
28
29def get_clang_arch(bb, d, arch_var):
30 import re
31 a = d.getVar(arch_var)
32 if re.match('(i.86|athlon|x86.64)$', a): return 'X86'
33 elif re.match('arm$', a): return 'ARM'
34 elif re.match('armeb$', a): return 'ARM'
35 elif re.match('aarch64$', a): return 'AArch64'
36 elif re.match('aarch64_be$', a): return 'AArch64'
37 elif re.match('mips(isa|)(32|64|)(r6|)(el|)$', a): return 'Mips'
38 elif re.match('riscv32$', a): return 'RISCV'
39 elif re.match('riscv64$', a): return 'RISCV'
40 elif re.match('p(pc|owerpc)(|64)', a): return 'PowerPC'
41 elif re.match('loongarch64$', a): return 'LoongArch'
42 else:
43 bb.note("'%s' is not a primary llvm architecture" % a)
44 return ""
45
46def get_clang_host_arch(bb, d):
47 return get_clang_arch(bb, d, 'HOST_ARCH')
48
49def get_clang_target_arch(bb, d):
50 return get_clang_arch(bb, d, 'TARGET_ARCH')
51
52PACKAGECONFIG_CLANG_COMMON = "build-id eh libedit rtti shared-libs libclang-python \
53 ${@bb.utils.contains('TC_CXX_RUNTIME', 'llvm', 'compiler-rt libcplusplus libomp unwindlib', '', d)} \
54 "
55
56PACKAGECONFIG ??= "lldb-wchar terminfo \
57 ${PACKAGECONFIG_CLANG_COMMON} \
58 ${@bb.utils.filter('DISTRO_FEATURES', 'lto thin-lto', d)} \
59 "
60PACKAGECONFIG:class-native = "clangd \
61 ${PACKAGECONFIG_CLANG_COMMON} \
62 "
63PACKAGECONFIG:class-nativesdk = "clangd \
64 ${PACKAGECONFIG_CLANG_COMMON} \
65 ${@bb.utils.filter('DISTRO_FEATURES', 'lto thin-lto', d)} \
66 "
67
68PACKAGECONFIG[bootstrap] = "-DCLANG_ENABLE_BOOTSTRAP=On -DCLANG_BOOTSTRAP_PASSTHROUGH='${PASSTHROUGH}' -DBOOTSTRAP_LLVM_ENABLE_LTO=Thin -DBOOTSTRAP_LLVM_ENABLE_LLD=ON,,,"
69PACKAGECONFIG[build-id] = "-DENABLE_LINKER_BUILD_ID=ON,-DENABLE_LINKER_BUILD_ID=OFF,,"
70PACKAGECONFIG[clangd] = "-DCLANG_ENABLE_CLANGD=ON,-DCLANG_ENABLE_CLANGD=OFF,,"
71
72# Activate to build the dexp tool in clangd
73# Disabled by default for -native since it is known to trigger compiler failure on Debian 11
74# See: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15803
75PACKAGECONFIG[clangd-dexp] = "-DCLANGD_BUILD_DEXP=ON,-DCLANGD_BUILD_DEXP=OFF,,"
76
77PACKAGECONFIG[compiler-rt] = "-DCLANG_DEFAULT_RTLIB=compiler-rt,,"
78PACKAGECONFIG[eh] = "-DLLVM_ENABLE_EH=ON,-DLLVM_ENABLE_EH=OFF,,"
79PACKAGECONFIG[libcplusplus] = "-DCLANG_DEFAULT_CXX_STDLIB=libc++,,"
80PACKAGECONFIG[libedit] = "-DLLVM_ENABLE_LIBEDIT=ON -DLLDB_ENABLE_LIBEDIT=ON,-DLLVM_ENABLE_LIBEDIT=OFF -DLLDB_ENABLE_LIBEDIT=OFF,libedit libedit-native"
81PACKAGECONFIG[libomp] = "-DCLANG_DEFAULT_OPENMP_RUNTIME=libomp,,"
82PACKAGECONFIG[lld] = "-DCLANG_DEFAULT_LINKER=lld,,"
83PACKAGECONFIG[lldb-lua] = "-DLLDB_ENABLE_LUA=ON,-DLLDB_ENABLE_LUA=OFF,lua"
84PACKAGECONFIG[lldb-wchar] = "-DLLDB_EDITLINE_USE_WCHAR=1,-DLLDB_EDITLINE_USE_WCHAR=0,"
85PACKAGECONFIG[lto] = "-DLLVM_ENABLE_LTO=Full -DLLVM_BINUTILS_INCDIR=${STAGING_INCDIR},,binutils,"
86PACKAGECONFIG[pfm] = "-DLLVM_ENABLE_LIBPFM=ON,-DLLVM_ENABLE_LIBPFM=OFF,libpfm,"
87PACKAGECONFIG[rtti] = "-DLLVM_ENABLE_RTTI=ON,-DLLVM_ENABLE_RTTI=OFF,,"
88PACKAGECONFIG[shared-libs] = "-DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON,,,"
89PACKAGECONFIG[split-dwarf] = "-DLLVM_USE_SPLIT_DWARF=ON,-DLLVM_USE_SPLIT_DWARF=OFF,,"
90PACKAGECONFIG[terminfo] = "-DLLVM_ENABLE_TERMINFO=ON -DCOMPILER_RT_TERMINFO_LIB=ON,-DLLVM_ENABLE_TERMINFO=OFF -DCOMPILER_RT_TERMINFO_LIB=OFF,ncurses,"
91PACKAGECONFIG[thin-lto] = "-DLLVM_ENABLE_LTO=Thin -DLLVM_BINUTILS_INCDIR=${STAGING_INCDIR},,binutils,"
92PACKAGECONFIG[unwindlib] = "-DCLANG_DEFAULT_UNWINDLIB=libunwind,-DCLANG_DEFAULT_UNWINDLIB=libgcc,,"
93PACKAGECONFIG[libclang-python] = "-DCLANG_PYTHON_BINDINGS_VERSIONS=${PYTHON_BASEVERSION},,"
94
95OECMAKE_SOURCEPATH = "${S}/llvm"
96
97OECMAKE_TARGET_COMPILE = "${@bb.utils.contains('PACKAGECONFIG', 'bootstrap', 'stage2', 'all', d)}"
98OECMAKE_TARGET_INSTALL = "${@bb.utils.contains('PACKAGECONFIG', 'bootstrap', 'stage2-install', 'install', d)}"
99BINPATHPREFIX = "${@bb.utils.contains('PACKAGECONFIG', 'bootstrap', '/tools/clang/stage2-bins/NATIVE', '', d)}"
100
101PASSTHROUGH = "\
102CLANG_DEFAULT_RTLIB;CLANG_DEFAULT_CXX_STDLIB;LLVM_BUILD_LLVM_DYLIB;LLVM_LINK_LLVM_DYLIB;\
103LLVM_ENABLE_ASSERTIONS;LLVM_ENABLE_EXPENSIVE_CHECKS;LLVM_ENABLE_PIC;\
104LLVM_BINDINGS_LIST;LLVM_ENABLE_FFI;FFI_INCLUDE_DIR;LLVM_OPTIMIZED_TABLEGEN;\
105LLVM_ENABLE_RTTI;LLVM_ENABLE_EH;LLVM_BUILD_EXTERNAL_COMPILER_RT;CMAKE_SYSTEM_NAME;\
106CMAKE_BUILD_TYPE;BUILD_SHARED_LIBS;LLVM_ENABLE_PROJECTS;LLVM_ENABLE_RUNTIMES;LLVM_BINUTILS_INCDIR;\
107LLVM_TARGETS_TO_BUILD;LLVM_EXPERIMENTAL_TARGETS_TO_BUILD;PYTHON_EXECUTABLE;\
108PYTHON_LIBRARY;PYTHON_INCLUDE_DIR;LLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN;LLDB_EDITLINE_USE_WCHAR;\
109LLVM_ENABLE_LIBEDIT;LLDB_ENABLE_LIBEDIT;LLDB_PYTHON_RELATIVE_PATH;LLDB_PYTHON_EXE_RELATIVE_PATH;\
110LLDB_PYTHON_EXT_SUFFIX;CMAKE_C_FLAGS_RELEASE;CMAKE_CXX_FLAGS_RELEASE;CMAKE_ASM_FLAGS_RELEASE;\
111CLANG_DEFAULT_CXX_STDLIB;CLANG_DEFAULT_RTLIB;CLANG_DEFAULT_UNWINDLIB;\
112CLANG_DEFAULT_OPENMP_RUNTIME;LLVM_ENABLE_PER_TARGET_RUNTIME_DIR;\
113LLVM_BUILD_TOOLS;LLVM_USE_HOST_TOOLS;LLVM_CONFIG_PATH;LLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR;\
114"
115#
116# Default to build all OE-Core supported target arches (user overridable).
117# Gennerally setting LLVM_TARGETS_TO_BUILD = "" in local.conf is ok in most simple situations
118# where only one target architecture is needed along with just one build arch (usually X86)
119# Core tier targets:
120# AArch64;AMDGPU;ARM;AVR;BPF;Hexagon;Lanai;LoongArch;Mips;MSP430;NVPTX;PowerPC;RISCV;Sparc;SPIRV;SystemZ;VE;WebAssembly;X86;XCore
121# Known experimental targets: ARC;CSKY;DirectX;M68k;Xtensa
122
123LLVM_TARGETS_TO_BUILD ?= "AMDGPU;AArch64;ARM;BPF;Mips;PowerPC;RISCV;X86;LoongArch;NVPTX;SPIRV"
124LLVM_TARGETS_TO_BUILD:class-target ?= "${@get_clang_host_arch(bb, d)};AMDGPU;BPF;NVPTX;SPIRV"
125
126LLVM_EXPERIMENTAL_TARGETS_TO_BUILD ?= ""
127
128HF = ""
129HF:class-target = "${@ bb.utils.contains('TUNE_CCARGS_MFLOAT', 'hard', 'hf', '', d)}"
130HF[vardepvalue] = "${HF}"
131
132# Ensure that LLVM_PROJECTS does not contain compiler runtime components e.g. libcxx etc
133# they are enabled via LLVM_ENABLE_RUNTIMES
134LLVM_PROJECTS ?= "clang;clang-tools-extra;libclc;lld${LLDB}"
135LLDB ?= ";lldb"
136# LLDB support for RISCV32/Mips32 does not work yet
137LLDB:riscv32 = ""
138LLDB:mips = ""
139LLDB:mipsel = ""
140LLDB:powerpc = ""
141
142# linux hosts (.so) on Windows .pyd
143SOLIBSDEV:mingw32 = ".pyd"
144
145#CMAKE_VERBOSE = "VERBOSE=1"
146
147EXTRA_OECMAKE += "-DLLVM_ENABLE_ASSERTIONS=OFF \
148 -DLLVM_APPEND_VC_REV=OFF \
149 -DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=OFF \
150 -DLLVM_ENABLE_EXPENSIVE_CHECKS=OFF \
151 -DLLVM_ENABLE_PIC=ON \
152 -DCLANG_DEFAULT_PIE_ON_LINUX=ON \
153 -DLLVM_BINDINGS_LIST='' \
154 -DLLVM_ENABLE_FFI=ON \
155 -DLLVM_ENABLE_ZSTD=ON \
156 -DFFI_INCLUDE_DIR=$(pkg-config --variable=includedir libffi) \
157 -DLLVM_OPTIMIZED_TABLEGEN=ON \
158 -DLLVM_BUILD_EXTERNAL_COMPILER_RT=ON \
159 -DCMAKE_SYSTEM_NAME=Linux \
160 -DCMAKE_BUILD_TYPE=Release \
161 -DLLVM_ENABLE_PROJECTS='${LLVM_PROJECTS}' \
162 -DLLVM_BINUTILS_INCDIR=${STAGING_INCDIR} \
163 -DLLVM_VERSION_SUFFIX='${VER_SUFFIX}' \
164 -DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN=ON \
165 -DLLVM_TARGETS_TO_BUILD='${LLVM_TARGETS_TO_BUILD}' \
166 -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD='${LLVM_EXPERIMENTAL_TARGETS_TO_BUILD}' \
167"
168
169EXTRA_OECMAKE:append:class-native = "\
170 -DPYTHON_EXECUTABLE='${PYTHON}' \
171"
172EXTRA_OECMAKE:append:class-nativesdk = "\
173 -DCROSS_TOOLCHAIN_FLAGS_NATIVE='-DLLDB_PYTHON_RELATIVE_PATH=${PYTHON_SITEPACKAGES_DIR} \
174 -DLLDB_PYTHON_EXE_RELATIVE_PATH=${PYTHON_PN} \
175 -DLLDB_PYTHON_EXT_SUFFIX=${SOLIBSDEV} \
176 -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain-native.cmake' \
177 -DCMAKE_RANLIB=${STAGING_BINDIR_TOOLCHAIN}/${TARGET_PREFIX}llvm-ranlib \
178 -DCMAKE_AR=${STAGING_BINDIR_TOOLCHAIN}/${TARGET_PREFIX}llvm-ar \
179 -DCMAKE_NM=${STAGING_BINDIR_TOOLCHAIN}/${TARGET_PREFIX}llvm-nm \
180 -DCMAKE_STRIP=${STAGING_BINDIR_TOOLCHAIN}/${TARGET_PREFIX}llvm-strip \
181 -DLLVM_NATIVE_TOOL_DIR=${STAGING_BINDIR_NATIVE} \
182 -DLLVM_HEADERS_TABLEGEN=${STAGING_BINDIR_NATIVE}/llvm-min-tblgen \
183 -DPYTHON_LIBRARY=${STAGING_LIBDIR}/lib${PYTHON_DIR}${PYTHON_ABI}.so \
184 -DLLDB_PYTHON_RELATIVE_PATH=${PYTHON_SITEPACKAGES_DIR} \
185 -DLLDB_PYTHON_EXE_RELATIVE_PATH=${PYTHON_PN} \
186 -DLLDB_PYTHON_EXT_SUFFIX=${SOLIBSDEV} \
187 -DPYTHON_INCLUDE_DIR=${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI} \
188 -DPYTHON_EXECUTABLE='${PYTHON}' \
189"
190EXTRA_OECMAKE:append:class-target = "\
191 -DLLVM_NATIVE_TOOL_DIR=${STAGING_BINDIR_NATIVE} \
192 -DLLVM_HEADERS_TABLEGEN=${STAGING_BINDIR_NATIVE}/llvm-min-tblgen \
193 -DCMAKE_RANLIB=${STAGING_BINDIR_TOOLCHAIN}/${TARGET_PREFIX}llvm-ranlib \
194 -DCMAKE_AR=${STAGING_BINDIR_TOOLCHAIN}/${TARGET_PREFIX}llvm-ar \
195 -DCMAKE_NM=${STAGING_BINDIR_TOOLCHAIN}/${TARGET_PREFIX}llvm-nm \
196 -DCMAKE_STRIP=${STAGING_BINDIR_TOOLCHAIN}/${TARGET_PREFIX}llvm-strip \
197 -DLLVM_TARGET_ARCH=${HOST_ARCH} \
198 -DLLVM_DEFAULT_TARGET_TRIPLE=${TARGET_SYS}${HF} \
199 -DLLVM_HOST_TRIPLE=${TARGET_SYS}${HF} \
200 -DPYTHON_LIBRARY=${STAGING_LIBDIR}/lib${PYTHON_DIR}${PYTHON_ABI}.so \
201 -DPYTHON_INCLUDE_DIR=${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI} \
202 -DLLVM_LIBDIR_SUFFIX=${LLVM_LIBDIR_SUFFIX} \
203 -DLLDB_PYTHON_RELATIVE_PATH=${PYTHON_SITEPACKAGES_DIR} \
204 -DLLDB_PYTHON_EXE_RELATIVE_PATH=${bindir} \
205 -DLLDB_PYTHON_EXT_SUFFIX=${SOLIBSDEV} \
206"
207
208DEPENDS = "binutils zlib zstd libffi libxml2 libxml2-native ninja-native swig-native spirv-tools-native"
209DEPENDS:append:class-nativesdk = " clang-crosssdk-${SDK_SYS} virtual/nativesdk-cross-binutils nativesdk-python3"
210DEPENDS:append:class-target = " clang-cross-${TARGET_ARCH} python3 ${@bb.utils.contains('TC_CXX_RUNTIME', 'llvm', 'compiler-rt libcxx', '', d)} spirv-llvm-translator-native"
211
212RRECOMMENDS:${PN} = "binutils"
213RRECOMMENDS:${PN}:append:class-target = "${@bb.utils.contains('TC_CXX_RUNTIME', 'llvm', ' libcxx-dev', '', d)}"
214
215# patch out build host paths for reproducibility
216reproducible_build_variables() {
217 sed -i -e "s,${DEBUG_PREFIX_MAP},,g" \
218 -e "s,--sysroot=${RECIPE_SYSROOT},,g" \
219 -e "s,${STAGING_DIR_HOST},,g" \
220 -e "s,${S}/llvm,,g" \
221 -e "s,${B},,g" \
222 ${B}/tools/llvm-config/BuildVariables.inc
223}
224
225do_configure:append:class-target() {
226 reproducible_build_variables
227}
228
229do_configure:append:class-nativesdk() {
230 reproducible_build_variables
231}
232
233do_install:append() {
234 rm -rf ${D}${libdir}/python*/site-packages/six.py
235 for t in clang-pseudo clang-pseudo-gen clang-rename; do
236 if [ -e ${B}${BINPATHPREFIX}/bin/$t ]; then
237 install -Dm 0755 ${B}${BINPATHPREFIX}/bin/$t ${D}${bindir}/$t
238 fi
239 done
240
241 oe_multilib_header llvm/Config/llvm-config.h
242 oe_multilib_header clang/Config/config.h
243}
244
245do_install:append:class-target () {
246 # Allow bin path to change based on YOCTO_ALTERNATE_EXE_PATH
247 sed -i 's;${_IMPORT_PREFIX}/bin;${_IMPORT_PREFIX_BIN};g' ${D}${libdir}/cmake/llvm/LLVMExports-release.cmake
248
249 # Insert function to populate Import Variables
250 sed -i "4i\
251if(DEFINED ENV{YOCTO_ALTERNATE_EXE_PATH})\n\
252 execute_process(COMMAND \"llvm-config\" \"--bindir\" OUTPUT_VARIABLE _IMPORT_PREFIX_BIN OUTPUT_STRIP_TRAILING_WHITESPACE)\n\
253else()\n\
254 set(_IMPORT_PREFIX_BIN \"\${_IMPORT_PREFIX}/bin\")\n\
255endif()\n" ${D}${libdir}/cmake/llvm/LLVMExports-release.cmake
256
257 if [ -n "${LLVM_LIBDIR_SUFFIX}" ]; then
258 mkdir -p ${D}${nonarch_libdir}
259 mv ${D}${libdir}/clang ${D}${nonarch_libdir}/clang
260 ln -rs ${D}${nonarch_libdir}/clang ${D}${libdir}/clang
261 rmdir --ignore-fail-on-non-empty ${D}${libdir}
262 fi
263 for t in clang clang++ llvm-nm llvm-ar llvm-as llvm-ranlib llvm-strip llvm-objcopy llvm-objdump llvm-readelf \
264 llvm-addr2line llvm-dwp llvm-size llvm-strings llvm-cov; do
265 ln -sf $t ${D}${bindir}/${TARGET_PREFIX}$t
266 done
267
268 # reproducibility
269 sed -i -e 's,${B},,g' ${D}${libdir}/cmake/llvm/LLVMConfig.cmake
270}
271
272do_install:append:class-native () {
273 if ${@bb.utils.contains('PACKAGECONFIG', 'clangd', 'true', 'false', d)}; then
274 install -Dm 0755 ${B}${BINPATHPREFIX}/bin/clangd-indexer ${D}${bindir}/clangd-indexer
275 fi
276 install -Dm 0755 ${B}${BINPATHPREFIX}/bin/clang-tidy-confusable-chars-gen ${D}${bindir}/clang-tidy-confusable-chars-gen
277 install -Dm 0755 ${B}${BINPATHPREFIX}/bin/clang-tblgen ${D}${bindir}/clang-tblgen
278 install -Dm 0755 ${B}${BINPATHPREFIX}/bin/lldb-tblgen ${D}${bindir}/lldb-tblgen
279 install -Dm 0755 ${B}${BINPATHPREFIX}/bin/llvm-min-tblgen ${D}${bindir}/llvm-min-tblgen
280 install -Dm 0755 ${B}${BINPATHPREFIX}/bin/prepare_builtins ${D}${bindir}/prepare_builtins
281
282 for f in `find ${D}${bindir} -executable -type f -not -type l`; do
283 test -n "`file -b $f|grep -i ELF`" && ${STRIP} $f
284 echo "stripped $f"
285 done
286 ln -sf clang-tblgen ${D}${bindir}/clang-tblgen${PV}
287 ln -sf llvm-tblgen ${D}${bindir}/llvm-tblgen${PV}
288 ln -sf llvm-config ${D}${bindir}/llvm-config${PV}
289}
290
291do_install:append:class-nativesdk () {
292 if [ -e ${D}${libdir}/cmake/llvm/LLVMConfig.cmake ] ; then
293 sed -i -e "s|${B}/./bin/||g" ${D}${libdir}/cmake/llvm/LLVMConfig.cmake
294 fi
295 if ${@bb.utils.contains('PACKAGECONFIG', 'clangd', 'true', 'false', d)}; then
296 install -Dm 0755 ${B}${BINPATHPREFIX}/bin/clangd-indexer ${D}${bindir}/clangd-indexer
297 fi
298 install -Dm 0755 ${B}${BINPATHPREFIX}/bin/clang-tblgen ${D}${bindir}/clang-tblgen
299 install -Dm 0755 ${B}${BINPATHPREFIX}/bin/clang-tidy-confusable-chars-gen ${D}${bindir}/clang-tidy-confusable-chars-gen
300 for f in `find ${D}${bindir} -executable -type f -not -type l`; do
301 test -n "`file -b $f|grep -i ELF`" && ${STRIP} $f
302 done
303 ln -sf clang-tblgen ${D}${bindir}/clang-tblgen${PV}
304 ln -sf llvm-tblgen ${D}${bindir}/llvm-tblgen${PV}
305 ln -sf llvm-config ${D}${bindir}/llvm-config${PV}
306 rm -rf ${D}${datadir}/llvm/cmake
307 rm -rf ${D}${datadir}/llvm
308
309 #reproducibility
310 if [ -e ${D}${libdir}/cmake/llvm/LLVMConfig.cmake ] ; then
311 sed -i -e 's,${B},,g' ${D}${libdir}/cmake/llvm/LLVMConfig.cmake
312 fi
313}
314
315PROVIDES:append:class-native = " llvm-native libclc-native"
316PROVIDES:append:class-target = " llvm libclc"
317PROVIDES:append:class-nativesdk = " nativesdk-llvm nativesdk-libclc"
318
319PACKAGES =+ "${PN}-libllvm ${PN}-lldb-python ${PN}-libclang-python ${PN}-libclang-cpp ${PN}-tidy ${PN}-format ${PN}-tools ${PN}-clc \
320 libclang lldb lldb-server liblldb llvm-linker-tools"
321
322BBCLASSEXTEND = "native nativesdk"
323
324RDEPENDS:lldb += "${PN}-lldb-python lldb-server"
325
326RDEPENDS:${PN}-tools += "\
327 perl-module-digest-md5 \
328 perl-module-file-basename \
329 perl-module-file-copy \
330 perl-module-file-find \
331 perl-module-file-path \
332 perl-module-findbin \
333 perl-module-hash-util \
334 perl-module-sys-hostname \
335 perl-module-term-ansicolor \
336"
337
338RPROVIDES:${PN}-clc = "${MLPREFIX}libclc"
339
340RRECOMMENDS:${PN}-tidy += "${PN}-tools"
341
342FILES:llvm-linker-tools = "${libdir}/LLVMgold* ${libdir}/libLTO.so.* ${libdir}/LLVMPolly*"
343
344FILES:${PN}-libclang-cpp = "${libdir}/libclang-cpp.so.*"
345
346FILES:${PN}-lldb-python = "${libdir}/python*/site-packages/lldb/*"
347
348FILES:${PN}-libclang-python = "${PYTHON_SITEPACKAGES_DIR}/clang/*"
349
350FILES:${PN}-tidy = "${bindir}/*clang-tidy*"
351FILES:${PN}-format = "${bindir}/*clang-format*"
352
353FILES:${PN}-tools = "${bindir}/analyze-build \
354 ${bindir}/c-index-test \
355 ${bindir}/clang-apply-replacements \
356 ${bindir}/clang-change-namespace \
357 ${bindir}/clang-check \
358 ${bindir}/clang-doc \
359 ${bindir}/clang-extdef-mapping \
360 ${bindir}/clang-include-fixer \
361 ${bindir}/clang-linker-wrapper \
362 ${bindir}/clang-move \
363 ${bindir}/clang-nvlink-wrapper \
364 ${bindir}/clang-offload-bundler \
365 ${bindir}/clang-offload-packager \
366 ${bindir}/clang-pseudo* \
367 ${bindir}/clang-query \
368 ${bindir}/clang-refactor \
369 ${bindir}/clang-rename* \
370 ${bindir}/clang-reorder-fields \
371 ${bindir}/clang-repl \
372 ${bindir}/clang-scan-deps \
373 ${bindir}/diagtool \
374 ${bindir}/find-all-symbols \
375 ${bindir}/hmaptool \
376 ${bindir}/hwasan_symbolize \
377 ${bindir}/intercept-build \
378 ${bindir}/modularize \
379 ${bindir}/pp-trace \
380 ${bindir}/sancov \
381 ${bindir}/scan-build \
382 ${bindir}/scan-build-py \
383 ${bindir}/scan-view \
384 ${bindir}/split-file \
385 ${libdir}/libscanbuild/* \
386 ${libdir}/libear/* \
387 ${libexecdir}/analyze-c++ \
388 ${libexecdir}/analyze-cc \
389 ${libexecdir}/c++-analyzer \
390 ${libexecdir}/ccc-analyzer \
391 ${libexecdir}/intercept-c++ \
392 ${libexecdir}/intercept-cc \
393 ${datadir}/scan-build/* \
394 ${datadir}/scan-view/* \
395 ${datadir}/opt-viewer/* \
396 ${datadir}/clang/* \
397"
398
399FILES:${PN} += "\
400 ${bindir}/clang-cl \
401 ${libdir}/BugpointPasses.so \
402 ${libdir}/LLVMHello.so \
403 ${libdir}/*Plugin.so \
404 ${libdir}/${BPN} \
405 ${nonarch_libdir}/${BPN}/*/include/ \
406"
407
408FILES:${PN}-clc += "${datadir}/clc"
409
410FILES:lldb = "\
411 ${bindir}/lldb \
412 ${bindir}/lldb-argdumper \
413 ${bindir}/lldb-instr \
414 ${bindir}/lldb-vscode \
415"
416
417FILES:lldb-server = "\
418 ${bindir}/lldb-server \
419"
420
421FILES:liblldb = "\
422 ${libdir}/liblldbIntelFeatures.so.* \
423 ${libdir}/liblldb.so.* \
424"
425
426FILES:${PN}-libllvm =+ "\
427 ${libdir}/libLLVM.so.${MAJOR_VER}.${MINOR_VER} \
428 ${libdir}/libLLVM-${MAJOR_VER}.so \
429 ${libdir}/libRemarks.so.* \
430"
431
432FILES:libclang = "\
433 ${libdir}/libclang.so.* \
434"
435
436FILES:${PN}-dev += "\
437 ${datadir}/llvm/cmake \
438 ${libdir}/cmake \
439 ${nonarch_libdir}/libear \
440 ${nonarch_libdir}/${BPN}/*.la \
441"
442FILES:${PN}-doc += "${datadir}/clang-doc"
443
444FILES:${PN}-staticdev += "${nonarch_libdir}/${BPN}/*.a"
445
446FILES:${PN}-staticdev:remove = "${libdir}/${BPN}/*.a"
447FILES:${PN}-dev:remove = "${libdir}/${BPN}/*.la"
448FILES:${PN}:remove = "${libdir}/${BPN}/*"
449
450INSANE_SKIP:${PN} += "already-stripped"
451#INSANE_SKIP:${PN}-dev += "dev-elf"
452INSANE_SKIP:${PN}-lldb-python += "dev-so dev-deps"
453INSANE_SKIP:${MLPREFIX}liblldb = "dev-so"
454INSANE_SKIP:${PN}-libllvm = "dev-so"
455
456#Avoid SSTATE_SCAN_COMMAND running sed over llvm-config.
457SSTATE_SCAN_FILES:remove = "*-config"
458
459COMPILER_RT:class-nativesdk:toolchain-clang:runtime-llvm = "-rtlib=libgcc --unwindlib=libgcc"
460LIBCPLUSPLUS:class-nativesdk:toolchain-clang:runtime-llvm = "-stdlib=libstdc++"
461
462SYSROOT_DIRS:append:class-target = " ${nonarch_libdir}"
463
464SYSROOT_PREPROCESS_FUNCS:append:class-target = " clang_sysroot_preprocess"
465SYSROOT_PREPROCESS_FUNCS:append:class-nativesdk = " clang_sysroot_preprocess"
466
467clang_sysroot_preprocess() {
468 install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}/
469 install -m 0755 ${S}/llvm/tools/llvm-config/llvm-config ${SYSROOT_DESTDIR}${bindir_crossscripts}/
470 ln -sf llvm-config ${SYSROOT_DESTDIR}${bindir_crossscripts}/llvm-config${PV}
471 # LLDTargets.cmake references the lld executable(!) that some modules/plugins link to
472 install -d ${SYSROOT_DESTDIR}${bindir}
473
474 binaries="lld diagtool clang-${MAJOR_VER} clang-format clang-offload-packager
475 clang-offload-bundler clang-scan-deps clang-repl
476 clang-refactor clang-check clang-extdef-mapping clang-apply-replacements
477 clang-reorder-fields clang-tidy clang-change-namespace clang-doc clang-include-fixer
478 find-all-symbols clang-move clang-query pp-trace modularize"
479
480 if ${@bb.utils.contains('PACKAGECONFIG', 'clangd', 'true', 'false', d)}; then
481 binaries="${binaries} clangd"
482 fi
483
484 for f in ${binaries}
485 do
486 install -m 755 ${D}${bindir}/$f ${SYSROOT_DESTDIR}${bindir}/
487 done
488}
diff --git a/meta/recipes-devtools/clang/common-clang.inc b/meta/recipes-devtools/clang/common-clang.inc
new file mode 100644
index 0000000000..15e6610b9b
--- /dev/null
+++ b/meta/recipes-devtools/clang/common-clang.inc
@@ -0,0 +1,24 @@
1LLVM_RELEASE = ""
2LLVM_DIR = "llvm${LLVM_RELEASE}"
3
4LLVM_HTTP ?= "https://github.com/llvm"
5
6MAJOR_VER = "20"
7MINOR_VER = "1"
8PATCH_VER = "6"
9# could be 'rcX' or 'git' or empty ( for release )
10VER_SUFFIX = ""
11
12PV = "${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}${VER_SUFFIX}"
13
14LLVMMD5SUM = "8a15a0759ef07f2682d2ba4b893c9afe"
15CLANGMD5SUM = "ff42885ed2ab98f1ecb8c1fc41205343"
16LLDMD5SUM = "ae7dc7c027b1fa89b5b013d391d3ee2b"
17LLDBMD5SUM = "2e0d44968471fcde980034dbb826bea9"
18
19LLVM_LIBDIR_SUFFIX = "${@d.getVar('baselib').replace('lib', '')}"
20
21# set the default pigz thread
22export PIGZ = "-p ${@oe.utils.cpu_count(at_least=2)}"
23
24require common.inc
diff --git a/meta/recipes-devtools/clang/common-source.inc b/meta/recipes-devtools/clang/common-source.inc
new file mode 100644
index 0000000000..d8a0f68175
--- /dev/null
+++ b/meta/recipes-devtools/clang/common-source.inc
@@ -0,0 +1,17 @@
1do_fetch() {
2 :
3}
4do_fetch[noexec] = "1"
5deltask do_unpack
6deltask do_patch
7
8SRC_URI = ""
9
10do_configure[depends] += "llvm-project-source-${PV}:do_preconfigure"
11do_populate_lic[depends] += "llvm-project-source-${PV}:do_unpack"
12do_create_spdx[depends] += "llvm-project-source-${PV}:do_preconfigure"
13
14# spdx shared workdir detection fails as not WORKDIR is altered but S and B
15# return always true to fix that
16def is_work_shared_spdx(d):
17 return True
diff --git a/meta/recipes-devtools/clang/common.inc b/meta/recipes-devtools/clang/common.inc
new file mode 100644
index 0000000000..0684e648cc
--- /dev/null
+++ b/meta/recipes-devtools/clang/common.inc
@@ -0,0 +1,75 @@
1FILESEXTRAPATHS =. "${FILE_DIRNAME}/clang:"
2
3LIC_FILES_CHKSUM = "file://llvm/LICENSE.TXT;md5=${LLVMMD5SUM} \
4 file://clang/LICENSE.TXT;md5=${CLANGMD5SUM} \
5"
6LICENSE = "Apache-2.0-with-LLVM-exception"
7
8# Snapshot
9#RELEASE ?= "a69568efe6c4972e71af295c6577b3412dd57c22"
10#BASEURI ?= "https://api.github.com/repos/llvm/llvm-project/tarball/${RELEASE};downloadfilename=llvm-${PV}-${RELEASE}.tar.gz"
11#SOURCEDIR ?= "llvm-llvm-project-${@'${RELEASE}'[0:7]}"
12#SRC_URI[sha256sum] = "aed4f66cd72867b36cc55a0588436933c3d58d3e61ca782b6bf57605d3fdcb09"
13
14# GA Release
15RELEASE ?= "${PV}"
16BASEURI ?= "${LLVM_HTTP}/llvm-project/releases/download/llvmorg-${PV}/llvm-project-${PV}.src.tar.xz"
17UPSTREAM_CHECK_URI = "${LLVM_HTTP}/llvm-project/releases/"
18UPSTREAM_CHECK_REGEX = "releases/tag/llvmorg-?(?P<pver>\d+(\.\d+)+)"
19SOURCEDIR ?= "llvm-project-${PV}.src"
20SRC_URI[sha256sum] = "5c70549d524284c184fe9fbff862c3d2d7a61b787570611b5a30e5cc345f145e"
21
22SRC_URI = "\
23 ${BASEURI} \
24 file://0001-libcxxabi-Find-libunwind-headers-when-LIBCXXABI_LIBU.patch \
25 file://0002-compiler-rt-support-a-new-embedded-linux-target.patch \
26 file://0003-compiler-rt-Simplify-cross-compilation.-Don-t-use-na.patch \
27 file://0004-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch \
28 file://0005-llvm-allow-env-override-of-exe-and-libdir-path.patch \
29 file://0006-clang-driver-Check-sysroot-for-ldso-path.patch \
30 file://0007-clang-Driver-tools.cpp-Add-lssp_nonshared-on-musl.patch \
31 file://0008-clang-Prepend-trailing-to-sysroot.patch \
32 file://0009-clang-Look-inside-the-target-sysroot-for-compiler-ru.patch \
33 file://0010-clang-Define-releative-gcc-installation-dir.patch \
34 file://0011-clang-Add-lpthread-and-ldl-along-with-lunwind-for-st.patch \
35 file://0012-Pass-PYTHON_EXECUTABLE-when-cross-compiling-for-nati.patch \
36 file://0013-Check-for-atomic-double-intrinsics.patch \
37 file://0014-cmake-Fix-configure-for-packages-using-find_package.patch \
38 file://0015-clang-Fix-resource-dir-location-for-cross-toolchains.patch \
39 file://0016-clang-driver-Add-dyld-prefix-when-checking-sysroot-f.patch \
40 file://0017-clang-Use-python3-in-python-scripts.patch \
41 file://0018-llvm-clang-Insert-anchor-for-adding-OE-distro-vendor.patch \
42 file://0019-compiler-rt-Do-not-use-backtrace-APIs-on-non-glibc-l.patch \
43 file://0020-clang-Fix-x86-triple-for-non-debian-multiarch-linux-.patch \
44 file://0021-libunwind-Added-unw_backtrace-method.patch \
45 file://0022-lldb-Link-with-libatomic-on-x86.patch \
46 file://0023-compiler-rt-Enable-__int128-for-ppc32.patch \
47 file://0024-llvm-Do-not-use-cmake-infra-to-detect-libzstd.patch \
48 file://0025-compiler-rt-Fix-stat-struct-s-size-for-O32-ABI.patch \
49 file://0026-compiler-rt-Undef-_TIME_BITS-along-with-_FILE_OFFSET.patch \
50 file://0027-ToolChains-Gnu.cpp-ARMLibDirs-search-also-in-lib32.patch \
51 file://0028-clang-llvm-Add-OE-specific-ABI-triple-for-N32-ABI.patch \
52 file://0029-llvm-Add-libunwind.pc.in-and-llvm-config-scripts.patch \
53 file://0030-scan-build-py-respect-LLVM_LIBDIR_SUFFIX-like-other-.patch \
54 file://0031-compiler-rt-Do-not-pass-target-to-clang-compiler.patch \
55 file://0032-clangd-Add-a-build-option-to-disable-building-dexp.patch \
56 file://0033-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch \
57 file://0034-llvm-config-remove-LLVM_LDFLAGS-from-ldflags-output.patch \
58 file://0035-openmp-Do-not-emit-date-and-time-into-generate-files.patch \
59 file://0036-libunwind-Use-gcs-instead-of-gcs-target-attribute.patch \
60 file://0037-compiler-rt-Exclude-sync_fetch_and_-for-any-pre-ARMv.patch \
61 file://0038-compiler-rt-Hardcode-uptr-sptr-typedefs-on-Mips-Linu.patch \
62"
63# Fallback to no-PIE if not set
64GCCPIE ??= ""
65
66UNPACKDIR = "${TMPDIR}/work-shared/llvm-project-source-${PV}-${PR}/sources"
67S = "${UNPACKDIR}/${SOURCEDIR}"
68B ?= "${WORKDIR}/llvm-project-source-${PV}/build.${HOST_SYS}.${TARGET_SYS}"
69
70# We need to ensure that for the shared work directory, the do_patch signatures match
71# The real WORKDIR location isn't a dependency for the shared workdir.
72src_patches[vardepsexclude] = "WORKDIR"
73should_apply[vardepsexclude] += "PN"
74
75BPN = "clang"
diff --git a/meta/recipes-devtools/clang/compiler-rt-sanitizers_git.bb b/meta/recipes-devtools/clang/compiler-rt-sanitizers_git.bb
new file mode 100644
index 0000000000..47438014b2
--- /dev/null
+++ b/meta/recipes-devtools/clang/compiler-rt-sanitizers_git.bb
@@ -0,0 +1,138 @@
1# Copyright (C) 2021 Khem Raj <raj.khem@gmail.com>
2# Released under the MIT license (see COPYING.MIT for the terms)
3
4SUMMARY = "LLVM based C/C++ compiler Sanitizers Runtime"
5DESCRIPTION = "Runtime libraries that are required \
6 to run the code with sanitizer instrumentation"
7HOMEPAGE = "http://compiler-rt.llvm.org/"
8SECTION = "base"
9
10require common-clang.inc
11require common-source.inc
12
13BPN = "compiler-rt-sanitizers"
14
15inherit cmake pkgconfig python3native
16
17def get_compiler_rt_arch(bb, d):
18 if bb.utils.contains('TUNE_FEATURES', 'armv5 thumb dsp', True, False, d):
19 return 'armv5te'
20 elif bb.utils.contains('TUNE_FEATURES', 'armv4 thumb', True, False, d):
21 return 'armv4t'
22 elif bb.utils.contains('TUNE_FEATURES', 'arm vfp callconvention-hard', True, False, d):
23 return 'armhf'
24 return d.getVar('HOST_ARCH')
25
26LIC_FILES_CHKSUM = "file://compiler-rt/LICENSE.TXT;md5=d846d1d65baf322d4c485d6ee54e877a"
27
28TUNE_CCARGS:remove = "-no-integrated-as"
29COMPILER_RT ??= "-rtlib=libgcc -unwindlib=libgcc"
30LIBCPLUSPLUS ??= "-stdlib=libstdc++"
31
32CC = "${CCACHE}${HOST_PREFIX}clang ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}"
33CXX = "${CCACHE}${HOST_PREFIX}clang++ ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}"
34BUILD_CC = "${CCACHE}${HOST_PREFIX}clang ${BUILD_CC_ARCH}"
35BUILD_CXX = "${CCACHE}${HOST_PREFIX}clang++ ${BUILD_CC_ARCH}$"
36CFLAGS += "${COMPILER_RT}"
37CXXFLAGS += "${COMPILER_RT} ${LIBCPLUSPLUS}"
38
39TOOLCHAIN = "clang"
40
41DEPENDS += "ninja-native virtual/crypt compiler-rt"
42DEPENDS:append:class-native = " clang-native libxcrypt-native libcxx-native"
43DEPENDS:append:class-nativesdk = " virtual/cross-c++ clang-native clang-crosssdk-${SDK_SYS} nativesdk-libxcrypt nativesdk-gcc-runtime"
44DEPENDS:append:class-target = " virtual/cross-c++ clang-cross-${TARGET_ARCH} virtual/${MLPREFIX}libc gcc-runtime"
45
46PACKAGECONFIG ??= ""
47PACKAGECONFIG[crt] = "-DCOMPILER_RT_BUILD_CRT:BOOL=ON,-DCOMPILER_RT_BUILD_CRT:BOOL=OFF"
48PACKAGECONFIG[static-libcxx] = "-DSANITIZER_USE_STATIC_CXX_ABI=ON -DSANITIZER_USE_STATIC_LLVM_UNWINDER=ON -DCOMPILER_RT_ENABLE_STATIC_UNWINDER=ON,,"
49# Context Profiling
50PACKAGECONFIG[ctx-profile] = "-DCOMPILER_RT_BUILD_CTX_PROFILE=ON,-DCOMPILER_RT_BUILD_CTX_PROFILE=OFF"
51
52CXXFLAGS:append:libc-musl = " -D_LARGEFILE64_SOURCE"
53
54OECMAKE_TARGET_COMPILE = "compiler-rt"
55OECMAKE_TARGET_INSTALL = "install-compiler-rt install-compiler-rt-headers"
56OECMAKE_SOURCEPATH = "${S}/llvm"
57EXTRA_OECMAKE += "-DCMAKE_BUILD_TYPE=RelWithDebInfo \
58 -DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=OFF \
59 -DCOMPILER_RT_STANDALONE_BUILD=ON \
60 -DCOMPILER_RT_USE_BUILTINS_LIBRARY=ON \
61 -DCOMPILER_RT_BUILD_BUILTINS=OFF \
62 -DCOMPILER_RT_INCLUDE_TESTS=OFF \
63 -DSANITIZER_CXX_ABI_LIBNAME=${@bb.utils.contains("TC_CXX_RUNTIME", "llvm", "libc++", "libstdc++", d)} \
64 -DCOMPILER_RT_BUILD_XRAY=ON \
65 -DCOMPILER_RT_BUILD_SANITIZERS=ON \
66 -DCOMPILER_RT_BUILD_LIBFUZZER=ON \
67 -DCOMPILER_RT_BUILD_PROFILE=ON \
68 -DCOMPILER_RT_BUILD_MEMPROF=ON \
69 -DCOMPILER_RT_DEFAULT_TARGET_ARCH=${@get_compiler_rt_arch(bb, d)} \
70 -DLLVM_ENABLE_RUNTIMES='compiler-rt' \
71 -DLLVM_LIBDIR_SUFFIX=${LLVM_LIBDIR_SUFFIX} \
72 -DLLVM_APPEND_VC_REV=OFF \
73 -S ${S}/runtimes \
74"
75
76EXTRA_OECMAKE:append:class-native = "\
77 -DCOMPILER_RT_USE_BUILTINS_LIBRARY=OFF \
78"
79
80EXTRA_OECMAKE:append:class-target = "\
81 -DCMAKE_RANLIB=${STAGING_BINDIR_TOOLCHAIN}/${TARGET_PREFIX}llvm-ranlib \
82 -DCMAKE_AR=${STAGING_BINDIR_TOOLCHAIN}/${TARGET_PREFIX}llvm-ar \
83 -DCMAKE_NM=${STAGING_BINDIR_TOOLCHAIN}/${TARGET_PREFIX}llvm-nm \
84 -DCMAKE_C_COMPILER_TARGET=${HOST_SYS} \
85 -DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON \
86 -DCMAKE_POSITION_INDEPENDENT_CODE=ON \
87"
88
89EXTRA_OECMAKE:append:class-nativesdk = "\
90 -DCMAKE_RANLIB=${STAGING_BINDIR_TOOLCHAIN}/${TARGET_PREFIX}llvm-ranlib \
91 -DCMAKE_AR=${STAGING_BINDIR_TOOLCHAIN}/${TARGET_PREFIX}llvm-ar \
92 -DCMAKE_NM=${STAGING_BINDIR_TOOLCHAIN}/${TARGET_PREFIX}llvm-nm \
93 -DLLVM_TABLEGEN=${STAGING_BINDIR_NATIVE}/llvm-tblgen \
94 -DCLANG_TABLEGEN=${STAGING_BINDIR_NATIVE}/clang-tblgen \
95 -DCMAKE_C_COMPILER_TARGET=${HOST_SYS} \
96 -DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON \
97"
98
99EXTRA_OECMAKE:append:libc-musl = " -DLIBCXX_HAS_MUSL_LIBC=ON "
100
101do_install:append () {
102 mkdir -p ${D}${nonarch_libdir}/clang/${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}/lib
103 mv ${D}${nonarch_libdir}/linux ${D}${nonarch_libdir}/clang/${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}/lib
104 # Already shipped with compile-rt Orc support
105 rm -rf ${D}${nonarch_libdir}/clang/${MAJOR_VER}/lib/linux/liborc_rt-*.a
106 rm -rf ${D}${nonarch_libdir}/clang/${MAJOR_VER}/include/orc/
107}
108
109FILES_SOLIBSDEV = ""
110FILES:${PN} += "${nonarch_libdir}/clang/${MAJOR_VER}.${MINOR_VER}.${PATCH_VER} \
111 ${nonarch_libdir}/clang/${MAJOR_VER}/lib/linux/lib*${SOLIBSDEV} \
112 ${nonarch_libdir}/clang/${MAJOR_VER}/*.txt \
113 ${nonarch_libdir}/clang/${MAJOR_VER}/share/*.txt"
114FILES:${PN}-staticdev += "${nonarch_libdir}/clang/${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}/lib/linux/*.a"
115FILES:${PN}-dev += "${datadir} ${nonarch_libdir}/clang/${MAJOR_VER}/lib/linux/*.syms \
116 ${nonarch_libdir}/clang/${MAJOR_VER}/include \
117 ${nonarch_libdir}/clang/${MAJOR_VER}/lib/linux/clang_rt.crt*.o \
118 ${nonarch_libdir}/clang/${MAJOR_VER}/lib/linux/libclang_rt.asan-preinit*.a"
119INSANE_SKIP:${PN} = "dev-so libdir"
120INSANE_SKIP:${PN}-dbg = "libdir"
121
122#PROVIDES:append:class-target = "\
123# virtual/${MLPREFIX}compilerlibs \
124# libgcc \
125# libgcc-initial \
126# libgcc-dev \
127# libgcc-initial-dev \
128# "
129#
130
131RDEPENDS:${PN}-dev += "${PN}-staticdev"
132
133BBCLASSEXTEND = "native nativesdk"
134
135ALLOW_EMPTY:${PN} = "1"
136ALLOW_EMPTY:${PN}-dev = "1"
137
138SYSROOT_DIRS:append:class-target = " ${nonarch_libdir}"
diff --git a/meta/recipes-devtools/clang/compiler-rt_git.bb b/meta/recipes-devtools/clang/compiler-rt_git.bb
new file mode 100644
index 0000000000..ff6cc29bf3
--- /dev/null
+++ b/meta/recipes-devtools/clang/compiler-rt_git.bb
@@ -0,0 +1,139 @@
1# Copyright (C) 2015 Khem Raj <raj.khem@gmail.com>
2# Released under the MIT license (see COPYING.MIT for the terms)
3
4SUMMARY = "LLVM based C/C++ compiler Runtime"
5DESCRIPTIOM = "Simple builtin library that provides an \
6 implementation of the low-level target-specific \
7 hooks required by code generation and other runtime \
8 components"
9HOMEPAGE = "http://compiler-rt.llvm.org/"
10SECTION = "base"
11
12require common-clang.inc
13require common-source.inc
14
15BPN = "compiler-rt"
16
17inherit cmake pkgconfig python3native
18
19LIC_FILES_CHKSUM = "file://compiler-rt/LICENSE.TXT;md5=d846d1d65baf322d4c485d6ee54e877a"
20
21LIBCPLUSPLUS = ""
22COMPILER_RT = ""
23
24TUNE_CCARGS:remove = "-no-integrated-as"
25
26INHIBIT_DEFAULT_DEPS = "1"
27
28DEPENDS += "ninja-native libgcc"
29DEPENDS:append:class-target = " virtual/cross-c++ clang-cross-${TARGET_ARCH} virtual/${MLPREFIX}libc gcc-runtime"
30DEPENDS:append:class-nativesdk = " virtual/cross-c++ clang-native clang-crosssdk-${SDK_SYS} nativesdk-gcc-runtime"
31DEPENDS:append:class-native = " clang-native"
32
33# Trick clang.bbclass into not creating circular dependencies
34UNWINDLIB:class-nativesdk = "--unwindlib=libgcc"
35COMPILER_RT:class-nativesdk = "-rtlib=libgcc"
36LIBCPLUSPLUS:class-nativesdk = "-stdlib=libstdc++"
37UNWINDLIB:class-native = "--unwindlib=libgcc"
38COMPILER_RT:class-native = "-rtlib=libgcc"
39LIBCPLUSPLUS:class-native = "-stdlib=libstdc++"
40UNWINDLIB:class-target = "--unwindlib=libgcc"
41COMPILER_RT:class-target = "-rtlib=libgcc"
42LIBCPLUSPLUS:class-target = "-stdlib=libstdc++"
43
44PACKAGECONFIG ??= ""
45PACKAGECONFIG[crt] = "-DCOMPILER_RT_BUILD_CRT:BOOL=ON,-DCOMPILER_RT_BUILD_CRT:BOOL=OFF"
46PACKAGECONFIG[profile] = "-DCOMPILER_RT_BUILD_PROFILE=ON,-DCOMPILER_RT_BUILD_PROFILE=OFF"
47# Context Profiling, might need to enable 'profile' too
48PACKAGECONFIG[ctx-profile] = "-DCOMPILER_RT_BUILD_CTX_PROFILE=ON,-DCOMPILER_RT_BUILD_CTX_PROFILE=OFF"
49
50HF = ""
51HF:class-target = "${@ bb.utils.contains('TUNE_CCARGS_MFLOAT', 'hard', 'hf', '', d)}"
52
53CC = "${CCACHE}${HOST_PREFIX}clang ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}"
54CXX = "${CCACHE}${HOST_PREFIX}clang++ ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}"
55BUILD_CC = "${CCACHE}clang ${BUILD_CC_ARCH}"
56BUILD_CXX = "${CCACHE}clang++ ${BUILD_CC_ARCH}"
57LDFLAGS += "${COMPILER_RT} ${UNWINDLIB}"
58CXXFLAGS += "${LIBCPLUSPLUS}"
59
60TOOLCHAIN = "clang"
61
62def get_compiler_rt_arch(bb, d):
63 if bb.utils.contains('TUNE_FEATURES', 'armv5 thumb dsp', True, False, d):
64 return 'armv5te'
65 elif bb.utils.contains('TUNE_FEATURES', 'armv4 thumb', True, False, d):
66 return 'armv4t'
67 elif bb.utils.contains('TUNE_FEATURES', 'arm vfp callconvention-hard', True, False, d):
68 return 'armhf'
69 return d.getVar('HOST_ARCH')
70
71OECMAKE_TARGET_COMPILE = "compiler-rt"
72OECMAKE_TARGET_INSTALL = "install-compiler-rt install-compiler-rt-headers"
73OECMAKE_SOURCEPATH = "${S}/llvm"
74EXTRA_OECMAKE += "-DCMAKE_BUILD_TYPE=RelWithDebInfo \
75 -DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=OFF \
76 -DCOMPILER_RT_STANDALONE_BUILD=ON \
77 -DCOMPILER_RT_INCLUDE_TESTS=OFF \
78 -DCOMPILER_RT_BUILD_XRAY=OFF \
79 -DCOMPILER_RT_BUILD_SANITIZERS=OFF \
80 -DCOMPILER_RT_BUILD_MEMPROF=OFF \
81 -DCOMPILER_RT_BUILD_LIBFUZZER=OFF \
82 -DCOMPILER_RT_DEFAULT_TARGET_ARCH=${@get_compiler_rt_arch(bb, d)} \
83 -DLLVM_ENABLE_RUNTIMES='compiler-rt' \
84 -DLLVM_LIBDIR_SUFFIX=${LLVM_LIBDIR_SUFFIX} \
85 -DLLVM_APPEND_VC_REV=OFF \
86 -S ${S}/runtimes \
87"
88
89EXTRA_OECMAKE:append:class-target = "\
90 -DCMAKE_RANLIB=${STAGING_BINDIR_TOOLCHAIN}/${TARGET_PREFIX}llvm-ranlib \
91 -DCMAKE_AR=${STAGING_BINDIR_TOOLCHAIN}/${TARGET_PREFIX}llvm-ar \
92 -DCMAKE_NM=${STAGING_BINDIR_TOOLCHAIN}/${TARGET_PREFIX}llvm-nm \
93 -DCMAKE_C_COMPILER_TARGET=${HOST_SYS} \
94 -DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON \
95 -DCMAKE_POSITION_INDEPENDENT_CODE=ON \
96"
97
98EXTRA_OECMAKE:append:class-nativesdk = "\
99 -DCMAKE_RANLIB=${STAGING_BINDIR_TOOLCHAIN}/${TARGET_PREFIX}llvm-ranlib \
100 -DCMAKE_AR=${STAGING_BINDIR_TOOLCHAIN}/${TARGET_PREFIX}llvm-ar \
101 -DCMAKE_NM=${STAGING_BINDIR_TOOLCHAIN}/${TARGET_PREFIX}llvm-nm \
102 -DLLVM_TABLEGEN=${STAGING_BINDIR_NATIVE}/llvm-tblgen \
103 -DCLANG_TABLEGEN=${STAGING_BINDIR_NATIVE}/clang-tblgen \
104 -DCMAKE_C_COMPILER_TARGET=${HOST_SYS} \
105 -DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON \
106"
107
108do_install:append () {
109 mkdir -p ${D}${nonarch_libdir}/clang/${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}/lib
110 mv ${D}${nonarch_libdir}/linux ${D}${nonarch_libdir}/clang/${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}/lib
111 if [ "${HF}" = "hf" ]; then
112 mv -f ${D}${nonarch_libdir}/clang/${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}/lib/linux/libclang_rt.builtins-arm.a \
113 ${D}${nonarch_libdir}/clang/${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}/lib/linux/libclang_rt.builtins-armhf.a
114 mv -f ${D}${nonarch_libdir}/clang/${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}/lib/linux/liborc_rt-arm.a \
115 ${D}${nonarch_libdir}/clang/${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}/lib/linux/liborc_rt-armhf.a
116 fi
117}
118
119FILES_SOLIBSDEV = ""
120
121FILES:${PN} += "${nonarch_libdir}/clang/${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}/lib/linux/lib*${SOLIBSDEV} \
122 ${nonarch_libdir}/clang/${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}/*.txt \
123 ${nonarch_libdir}/clang/${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}/share/*.txt"
124FILES:${PN}-staticdev += "${nonarch_libdir}/clang/${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}/lib/linux/*.a"
125FILES:${PN}-dev += "${datadir} ${nonarch_libdir}/clang/${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}/lib/linux/*.syms \
126 ${nonarch_libdir}/clang/${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}/include \
127 ${nonarch_libdir}/clang/${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}/lib/linux/clang_rt.crt*.o \
128 ${nonarch_libdir}/clang/${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}/lib/linux/libclang_rt.asan-preinit*.a"
129
130INSANE_SKIP:${PN} = "dev-so libdir"
131INSANE_SKIP:${PN}-dbg = "libdir"
132
133RDEPENDS:${PN}-dev += "${PN}-staticdev"
134
135BBCLASSEXTEND = "native nativesdk"
136
137ALLOW_EMPTY:${PN} = "1"
138
139SYSROOT_DIRS:append:class-target = " ${nonarch_libdir}"
diff --git a/meta/recipes-devtools/clang/libcxx_git.bb b/meta/recipes-devtools/clang/libcxx_git.bb
new file mode 100644
index 0000000000..f5bf17f30a
--- /dev/null
+++ b/meta/recipes-devtools/clang/libcxx_git.bb
@@ -0,0 +1,122 @@
1# Copyright (C) 2015 Khem Raj <raj.khem@gmail.com>
2# Released under the MIT license (see COPYING.MIT for the terms)
3
4SUMMARY = "libc++ is a new implementation of the C++ standard library, targeting C++11 and above"
5HOMEPAGE = "http://libcxx.llvm.org/"
6SECTION = "base"
7
8require common-clang.inc
9require common-source.inc
10
11inherit cmake python3native
12
13BPN = "libcxx"
14
15PACKAGECONFIG ??= "compiler-rt exceptions ${@bb.utils.contains("TC_CXX_RUNTIME", "llvm", "unwind unwind-shared", "", d)}"
16PACKAGECONFIG:append:armv5 = " no-atomics"
17PACKAGECONFIG:remove:class-native = "compiler-rt"
18PACKAGECONFIG[unwind] = "-DLIBCXXABI_USE_LLVM_UNWINDER=ON -DLIBCXXABI_ENABLE_STATIC_UNWINDER=ON,-DLIBCXXABI_USE_LLVM_UNWINDER=OFF,,"
19PACKAGECONFIG[exceptions] = "-DLIBCXXABI_ENABLE_EXCEPTIONS=ON -DLIBCXX_ENABLE_EXCEPTIONS=ON,-DLIBCXXABI_ENABLE_EXCEPTIONS=OFF -DLIBCXX_ENABLE_EXCEPTIONS=OFF -DCMAKE_REQUIRED_FLAGS='-fno-exceptions',"
20PACKAGECONFIG[no-atomics] = "-D_LIBCXXABI_HAS_ATOMIC_BUILTINS=OFF -DCMAKE_SHARED_LINKER_FLAGS='-latomic',,"
21PACKAGECONFIG[compiler-rt] = "-DLIBCXX_USE_COMPILER_RT=ON -DLIBCXXABI_USE_COMPILER_RT=ON -DLIBUNWIND_USE_COMPILER_RT=ON,,compiler-rt"
22PACKAGECONFIG[unwind-shared] = "-DLIBUNWIND_ENABLE_SHARED=ON,-DLIBUNWIND_ENABLE_SHARED=OFF,,"
23
24DEPENDS += "ninja-native"
25DEPENDS:append:class-target = " virtual/cross-c++ clang-cross-${TARGET_ARCH} virtual/${MLPREFIX}libc virtual/${MLPREFIX}compilerlibs"
26DEPENDS:append:class-nativesdk = " virtual/cross-c++ clang-crosssdk-${SDK_SYS} nativesdk-compiler-rt"
27DEPENDS:append:class-native = " clang-native compiler-rt-native"
28
29COMPILER_RT ?= "${@bb.utils.contains("PACKAGECONFIG", "compiler-rt", "-rtlib=compiler-rt", "-rtlib=libgcc", d)}"
30UNWINDLIB ?= "${@bb.utils.contains("PACKAGECONFIG", "unwind", "-unwindlib=none", "-unwindlib=libgcc", d)}"
31LIBCPLUSPLUS ?= "-stdlib=libstdc++"
32# Trick clang.bbclass into not creating circular dependencies
33UNWINDLIB:class-nativesdk = "-unwindlib=libgcc"
34LIBCPLUSPLUS:class-nativesdk = "-stdlib=libstdc++"
35UNWINDLIB:class-native = "-unwindlib=libgcc"
36LIBCPLUSPLUS:class-native = "-stdlib=libstdc++"
37
38LDFLAGS:append = " ${UNWINDLIB}"
39
40INHIBIT_DEFAULT_DEPS = "1"
41
42LIC_FILES_CHKSUM = "file://libcxx/LICENSE.TXT;md5=55d89dd7eec8d3b4204b680e27da3953 \
43 file://libcxxabi/LICENSE.TXT;md5=7b9334635b542c56868400a46b272b1e \
44 file://libunwind/LICENSE.TXT;md5=f66970035d12f196030658b11725e1a1 \
45"
46
47OECMAKE_TARGET_COMPILE = "${@bb.utils.contains("TC_CXX_RUNTIME", "llvm", "unwind", "", d)} cxxabi cxx"
48OECMAKE_TARGET_INSTALL = "${@bb.utils.contains("TC_CXX_RUNTIME", "llvm", "install-unwind", "", d)} install-cxxabi install-cxx"
49
50CC = "${CCACHE}${HOST_PREFIX}clang ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}"
51CXX = "${CCACHE}${HOST_PREFIX}clang++ ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}"
52BUILD_CC = "${CCACHE}clang ${BUILD_CC_ARCH}"
53BUILD_CXX = "${CCACHE}clang++ ${BUILD_CC_ARCH}"
54LDFLAGS += "${COMPILER_RT} ${UNWINDLIB} ${LIBCPLUSPLUS}"
55CXXFLAGS += "${LIBCPLUSPLUS}"
56
57TOOLCHAIN = "clang"
58
59OECMAKE_SOURCEPATH = "${S}/llvm"
60EXTRA_OECMAKE += "\
61 -DCMAKE_BUILD_TYPE=RelWithDebInfo \
62 -DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=OFF \
63 -DCMAKE_CROSSCOMPILING=ON \
64 -DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN=ON \
65 -DLLVM_ENABLE_RTTI=ON \
66 -DLIBUNWIND_ENABLE_CROSS_UNWINDING=ON \
67 -DLIBCXX_ENABLE_STATIC_ABI_LIBRARY=ON \
68 -DLIBCXXABI_INCLUDE_TESTS=OFF \
69 -DLIBCXXABI_ENABLE_SHARED=ON \
70 -DLIBCXXABI_LIBCXX_INCLUDES=${S}/libcxx/include \
71 -DLIBCXX_CXX_ABI=libcxxabi \
72 -DLIBCXX_CXX_ABI_INCLUDE_PATHS=${S}/libcxxabi/include \
73 -DLIBCXX_CXX_ABI_LIBRARY_PATH=${B}/lib${LLVM_LIBDIR_SUFFIX} \
74 -S ${S}/runtimes \
75 -DLLVM_ENABLE_RUNTIMES='libcxx;libcxxabi;libunwind' \
76 -DLLVM_RUNTIME_TARGETS=${HOST_ARCH} \
77 -DLLVM_LIBDIR_SUFFIX=${LLVM_LIBDIR_SUFFIX} \
78 -DLLVM_APPEND_VC_REV=OFF \
79 -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \
80"
81
82EXTRA_OECMAKE:append:class-target = " \
83 -DCMAKE_AR=${STAGING_BINDIR_TOOLCHAIN}/${AR} \
84 -DCMAKE_NM=${STAGING_BINDIR_TOOLCHAIN}/${NM} \
85 -DCMAKE_RANLIB=${STAGING_BINDIR_TOOLCHAIN}/${RANLIB} \
86 -DLLVM_HOST_TRIPLE=${TARGET_SYS} \
87 -DCMAKE_POSITION_INDEPENDENT_CODE=ON \
88"
89
90EXTRA_OECMAKE:append:class-nativesdk = " \
91 -DCMAKE_AR=${STAGING_BINDIR_TOOLCHAIN}/${AR} \
92 -DCMAKE_NM=${STAGING_BINDIR_TOOLCHAIN}/${NM} \
93 -DCMAKE_RANLIB=${STAGING_BINDIR_TOOLCHAIN}/${RANLIB} \
94 -DLLVM_DEFAULT_TARGET_TRIPLE=${HOST_SYS} \
95"
96
97EXTRA_OECMAKE:append:libc-musl = " -DLIBCXX_HAS_MUSL_LIBC=ON "
98
99CXXFLAGS:append:armv5 = " -mfpu=vfp2"
100
101ALLOW_EMPTY:${PN} = "1"
102
103PROVIDES:append:runtime-llvm = " libunwind"
104
105do_install:append() {
106 if ${@bb.utils.contains("TC_CXX_RUNTIME", "llvm", "true", "false", d)}
107 then
108 for f in libunwind.h __libunwind_config.h unwind.h unwind_itanium.h unwind_arm_ehabi.h
109 do
110 install -Dm 0644 ${S}/libunwind/include/$f ${D}${includedir}/$f
111 done
112 install -d ${D}${libdir}/pkgconfig
113 sed -e 's,@LIBDIR@,${libdir},g;s,@VERSION@,${PV},g' ${S}/libunwind/libunwind.pc.in > ${D}${libdir}/pkgconfig/libunwind.pc
114 fi
115}
116
117PACKAGES:append:runtime-llvm = " libunwind"
118FILES:libunwind:runtime-llvm = "${libdir}/libunwind.so.*"
119# Package library module manifest path
120FILES:${PN}-dev += "${datadir}/libc++/v1/ ${libdir}/libc++.modules.json"
121
122BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/clang/llvm-project-source.bb b/meta/recipes-devtools/clang/llvm-project-source.bb
new file mode 100644
index 0000000000..ba945fb591
--- /dev/null
+++ b/meta/recipes-devtools/clang/llvm-project-source.bb
@@ -0,0 +1,12 @@
1# Copyright (C) 2018 Khem Raj <raj.khem@gmail.com>
2# Released under the MIT license (see COPYING.MIT for the terms)
3
4SUMMARY = "This is the canonical git mirror of the LLVM subversion repository."
5HOMEPAGE = "https://github.com/llvm/llvm-project"
6
7require llvm-project-source.inc
8require common-clang.inc
9
10BPN = "llvm-project-source"
11
12EXCLUDE_FROM_WORLD = "1"
diff --git a/meta/recipes-devtools/clang/llvm-project-source.inc b/meta/recipes-devtools/clang/llvm-project-source.inc
new file mode 100644
index 0000000000..13e54efbc2
--- /dev/null
+++ b/meta/recipes-devtools/clang/llvm-project-source.inc
@@ -0,0 +1,98 @@
1deltask do_configure
2deltask do_compile
3deltask do_install
4deltask do_populate_sysroot
5deltask do_populate_lic
6RM_WORK_EXCLUDE += "${PN}"
7
8inherit nopackages
9
10PN = "llvm-project-source-${PV}"
11WORKDIR = "${TMPDIR}/work-shared/llvm-project-source-${PV}-${PR}"
12SSTATE_SWSPEC = "sstate:llvm-project-source::${PV}:${PR}::${SSTATE_VERSION}:"
13
14STAMP = "${STAMPS_DIR}/work-shared/llvm-project-source-${PV}-${PR}"
15STAMPCLEAN = "${STAMPS_DIR}/work-shared/llvm-project-source-${PV}-*"
16
17INHIBIT_DEFAULT_DEPS = "1"
18DEPENDS = ""
19PACKAGES = ""
20TARGET_ARCH = "allarch"
21TARGET_AS_ARCH = "none"
22TARGET_CC_ARCH = "none"
23TARGET_LD_ARCH = "none"
24TARGET_OS = "linux"
25baselib = "lib"
26PACKAGE_ARCH = "all"
27
28B = "${WORKDIR}/build"
29
30# space separated list of additional distro vendor values we want to support e.g.
31# "yoe webos" or "-yoe -webos" '-' is optional
32CLANG_EXTRA_OE_VENDORS ?= "${TARGET_VENDOR} ${SDK_VENDOR}"
33# Extra OE DISTRO that want to support as build host. space separated list of additional distro.
34# ":" separated the ID in "/etc/os-release" and the triple for finding gcc on this OE DISTRO.
35# eg: "poky:poky wrlinux:wrs"
36CLANG_EXTRA_OE_DISTRO ?= "poky:poky"
37# Match with MULTILIB_GLOBAL_VARIANTS
38ML_VARIANTS = "lib32 lib64 libx32"
39
40python do_preconfigure() {
41 import subprocess
42 case = ""
43 triple = ""
44 vendors = d.getVar('CLANG_EXTRA_OE_VENDORS')
45 multilib_variants = (d.getVar("ML_VARIANTS") or "").split()
46 vendors_to_add = []
47 for vendor in vendors.split():
48 # convert -yoe into yoe
49 vendor = vendor.lstrip('-')
50 # generate possible multilib vendor names for yoe
51 # such as yoemllib32
52 vendors_to_add.extend([vendor + 'ml' + variant for variant in multilib_variants])
53 # skip oe since already part of the cpp file
54 if vendor != "oe":
55 vendors_to_add.append(vendor)
56
57 for vendor_to_add in vendors_to_add:
58 case += '\\n .Case("' + vendor_to_add + '", Triple::OpenEmbedded)'
59 triple += ' "x86_64-' + vendor_to_add + '-linux",'
60
61 bb.note("Adding support following TARGET_VENDOR values")
62 bb.note(str(vendors_to_add))
63 bb.note("in llvm/lib/TargetParser/Triple.cpp and ${S}/clang/lib/Driver/ToolChains/Gnu.cpp")
64 cmd = d.expand("sed -i 's#//CLANG_EXTRA_OE_VENDORS_TRIPLES#%s#g' ${S}/clang/lib/Driver/ToolChains/Gnu.cpp" % (triple))
65 subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True)
66 cmd = d.expand("sed -i 's#//CLANG_EXTRA_OE_VENDORS_CASES#%s#g' -i ${S}/llvm/lib/TargetParser/Triple.cpp" % (case))
67 subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True)
68
69 case = ""
70 triple = ""
71 name = ""
72 check = ""
73 oe_names = ""
74 distros = d.getVar('CLANG_EXTRA_OE_DISTRO')
75 for distro in distros.split():
76 distro_id = distro.split(":")[0].replace('-','_')
77 distro_triple = distro.split(":")[1]
78 case += '\\n .Case("' + distro_id + '", Distro::' + distro_id.upper() + ')'
79 triple += '\\n if (Distro.Is' + distro_id.upper() + '())\\n return "x86_64-' + distro_triple + '-linux",'
80 name += '\\n '+ distro_id.upper() + ','
81 check += '\\nbool Is' + distro_id.upper() + '() const { return DistroVal == ' + distro_id.upper() + '; }'
82 oe_names += distro_id.upper() + ' ||'
83
84 check += '\\nbool IsOpenEmbedded() const { return DistroVal == ' + oe_names[0:-3] + '; }'
85
86 cmd = d.expand("sed -i 's#//CLANG_EXTRA_OE_DISTRO_NAME#%s#g' ${S}/clang/include/clang/Driver/Distro.h" % (name))
87 subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True)
88 cmd = d.expand("sed -i 's#//CLANG_EXTRA_OE_DISTRO_CHECK#%s#g' ${S}/clang/include/clang/Driver/Distro.h" % (check))
89 subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True)
90 cmd = d.expand("sed -i 's#//CLANG_EXTRA_OE_DISTRO_TRIPLES#%s#g' ${S}/clang/lib/Driver/ToolChains/Linux.cpp" % (triple))
91 subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True)
92 cmd = d.expand("sed -i 's#//CLANG_EXTRA_OE_DISTRO_CASES#%s#g' -i ${S}/clang/lib/Driver/Distro.cpp" % (case))
93 subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True)
94}
95
96do_patch[vardepsexclude] += "MULTILIBS MULTILIB_VARIANTS"
97addtask do_preconfigure after do_patch
98do_create_spdx[depends] += "${PN}:do_preconfigure"
diff --git a/meta/recipes-devtools/clang/nativesdk-clang-glue.bb b/meta/recipes-devtools/clang/nativesdk-clang-glue.bb
new file mode 100644
index 0000000000..8e5622f6c1
--- /dev/null
+++ b/meta/recipes-devtools/clang/nativesdk-clang-glue.bb
@@ -0,0 +1,36 @@
1# Copyright (C) 2014 Khem Raj <raj.khem@gmail.com>
2# Released under the MIT license (see COPYING.MIT for the terms)
3
4SUMMARY = "SDK Cross compiler wrappers for LLVM based C/C++ compiler"
5HOMEPAGE = "http://clang.llvm.org/"
6LICENSE = "Apache-2.0-with-LLVM-exception"
7LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0-with-LLVM-exception;md5=0bcd48c3bdfef0c9d9fd17726e4b7dab"
8SECTION = "devel"
9
10inherit_defer nativesdk
11DEPENDS += "nativesdk-clang"
12
13do_install() {
14 install -d ${D}${prefix_nativesdk}
15 cd ${D}${prefix_nativesdk}
16 ln -s ..${libdir} .
17 ln -s ..${includedir} .
18 cd ..
19 ln -s .${base_libdir} .
20}
21
22sysroot_stage_all () {
23 sysroot_stage_dir ${D} ${SYSROOT_DESTDIR}
24}
25
26FILES:${PN} += "${prefix_nativesdk} ${base_libdir_nativesdk}"
27FILES:${PN}-dbg = ""
28
29deltask do_configure
30deltask do_compile
31deltask do_patch
32deltask do_fetch
33deltask do_unpack
34deltask do_create_spdx
35deltask do_create_package_spdx
36deltask do_create_runtime_spdx
diff --git a/meta/recipes-devtools/clang/openmp_git.bb b/meta/recipes-devtools/clang/openmp_git.bb
new file mode 100644
index 0000000000..cc0c7fbcd4
--- /dev/null
+++ b/meta/recipes-devtools/clang/openmp_git.bb
@@ -0,0 +1,65 @@
1# Copyright (C) 2017 Khem Raj <raj.khem@gmail.com>
2# Released under the MIT license (see COPYING.MIT for the terms)
3
4SUMMARY = "LLVM OpenMP compiler Runtime"
5HOMEPAGE = "https://openmp.llvm.org/"
6SECTION = "libs"
7
8require common-clang.inc
9require common-source.inc
10
11BPN = "openmp"
12
13LIC_FILES_CHKSUM = "file://openmp/LICENSE.TXT;md5=d75288d1ce0450b28b8d58a284c09c79"
14
15inherit cmake pkgconfig perlnative python3native python3targetconfig
16
17DEPENDS += "elfutils libffi clang"
18
19EXTRA_OECMAKE += "-DCMAKE_BUILD_TYPE=RelWithDebInfo \
20 -DLLVM_APPEND_VC_REV=OFF \
21 -DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=OFF \
22 -DOPENMP_LIBDIR_SUFFIX=${@d.getVar('baselib').replace('lib', '')} \
23 -DOPENMP_STANDALONE_BUILD=ON \
24 -DCLANG_TOOL=${STAGING_BINDIR_NATIVE}/clang \
25 -DLINK_TOOL=${STAGING_BINDIR_NATIVE}/llvm-link \
26 -DOPT_TOOL=${STAGING_BINDIR_NATIVE}/opt \
27 -DOPENMP_LLVM_LIT_EXECUTABLE=${STAGING_BINDIR_NATIVE}/llvm-lit \
28 -DEXTRACT_TOOL=${STAGING_BINDIR_NATIVE}/llvm-extract \
29 -DPACKAGER_TOOL=${STAGING_BINDIR_NATIVE}/clang-offload-packager \
30 -DCMAKE_POSITION_INDEPENDENT_CODE=ON \
31 "
32
33OECMAKE_SOURCEPATH = "${S}/openmp"
34
35PACKAGECONFIG ?= "ompt-tools offloading-plugin"
36
37PACKAGECONFIG:remove:arm = "ompt-tools offloading-plugin"
38PACKAGECONFIG:remove:powerpc = "ompt-tools offloading-plugin"
39
40PACKAGECONFIG:append:mipsarcho32 = " no-atomics"
41
42PACKAGECONFIG[ompt-tools] = "-DOPENMP_ENABLE_OMPT_TOOLS=ON,-DOPENMP_ENABLE_OMPT_TOOLS=OFF,"
43PACKAGECONFIG[aliases] = "-DLIBOMP_INSTALL_ALIASES=ON,-DLIBOMP_INSTALL_ALIASES=OFF,"
44PACKAGECONFIG[offloading-plugin] = ",,elfutils libffi,libelf libffi"
45PACKAGECONFIG[no-atomics] = "-DLIBOMP_HAVE_BUILTIN_ATOMIC=OFF -DLIBOMP_LIBFLAGS='-latomic',,"
46
47PACKAGES += "${PN}-libomptarget ${PN}-gdb-plugin"
48FILES_SOLIBSDEV = ""
49FILES:${PN} += "${libdir}/lib*${SOLIBSDEV}"
50FILES:${PN}-libomptarget = "${libdir}/libomptarget-*.bc"
51FILES:${PN}-gdb-plugin = "${datadir}/gdb/python/ompd"
52
53RDEPENDS:${PN}-gdb-plugin += "python3-core"
54
55INSANE_SKIP:${PN} = "dev-so"
56# Currently the static libraries contain buildpaths
57INSANE_SKIP:${PN}-staticdev += "buildpaths"
58
59COMPATIBLE_HOST:mips64 = "null"
60COMPATIBLE_HOST:riscv32 = "null"
61COMPATIBLE_HOST:powerpc = "null"
62
63BBCLASSEXTEND = "native nativesdk"
64
65CVE_STATUS[CVE-2022-26345] = "cpe-incorrect: specific to the Intel distribution before 2022.1"
diff --git a/meta/recipes-devtools/cmake/cmake-native_3.28.3.bb b/meta/recipes-devtools/cmake/cmake-native_3.31.6.bb
index 7f89441fb4..b940abb3fd 100644
--- a/meta/recipes-devtools/cmake/cmake-native_3.28.3.bb
+++ b/meta/recipes-devtools/cmake/cmake-native_3.31.6.bb
@@ -13,10 +13,10 @@ LICENSE:append = " & BSD-1-Clause & MIT & BSD-2-Clause & curl"
13LIC_FILES_CHKSUM:append = " \ 13LIC_FILES_CHKSUM:append = " \
14 file://Utilities/cmjsoncpp/LICENSE;md5=5d73c165a0f9e86a1342f32d19ec5926 \ 14 file://Utilities/cmjsoncpp/LICENSE;md5=5d73c165a0f9e86a1342f32d19ec5926 \
15 file://Utilities/cmlibarchive/COPYING;md5=d499814247adaee08d88080841cb5665 \ 15 file://Utilities/cmlibarchive/COPYING;md5=d499814247adaee08d88080841cb5665 \
16 file://Utilities/cmexpat/COPYING;md5=9e2ce3b3c4c0f2670883a23bbd7c37a9 \ 16 file://Utilities/cmexpat/COPYING;md5=7b3b078238d0901d3b339289117cb7fb \
17 file://Utilities/cmlibrhash/COPYING;md5=a8c2a557a5c53b1c12cddbee98c099af \ 17 file://Utilities/cmlibrhash/COPYING;md5=a8c2a557a5c53b1c12cddbee98c099af \
18 file://Utilities/cmlibuv/LICENSE;md5=ad93ca1fffe931537fcf64f6fcce084d \ 18 file://Utilities/cmlibuv/LICENSE;md5=ad93ca1fffe931537fcf64f6fcce084d \
19 file://Utilities/cmcurl/COPYING;md5=db8448a1e43eb2125f7740fc397db1f6 \ 19 file://Utilities/cmcurl/COPYING;md5=eed2e5088e1ac619c9a1c747da291d75 \
20" 20"
21 21
22B = "${WORKDIR}/build" 22B = "${WORKDIR}/build"
@@ -51,7 +51,7 @@ do_compile() {
51do_install() { 51do_install() {
52 oe_runmake 'DESTDIR=${D}' install 52 oe_runmake 'DESTDIR=${D}' install
53 53
54 # The following codes are here because eSDK needs to provide compatibilty 54 # The following codes are here because eSDK needs to provide compatibility
55 # for SDK. That is, eSDK could also be used like traditional SDK. 55 # for SDK. That is, eSDK could also be used like traditional SDK.
56 mkdir -p ${D}${datadir}/cmake 56 mkdir -p ${D}${datadir}/cmake
57 install -m 644 ${UNPACKDIR}/OEToolchainConfig.cmake ${D}${datadir}/cmake/ 57 install -m 644 ${UNPACKDIR}/OEToolchainConfig.cmake ${D}${datadir}/cmake/
diff --git a/meta/recipes-devtools/cmake/cmake.inc b/meta/recipes-devtools/cmake/cmake.inc
index ab9f459c05..9b1898f22f 100644
--- a/meta/recipes-devtools/cmake/cmake.inc
+++ b/meta/recipes-devtools/cmake/cmake.inc
@@ -10,16 +10,18 @@ HOMEPAGE = "http://www.cmake.org/"
10BUGTRACKER = "http://public.kitware.com/Bug/my_view_page.php" 10BUGTRACKER = "http://public.kitware.com/Bug/my_view_page.php"
11SECTION = "console/utils" 11SECTION = "console/utils"
12LICENSE = "BSD-3-Clause" 12LICENSE = "BSD-3-Clause"
13LIC_FILES_CHKSUM = "file://Copyright.txt;md5=9d3d12c5f3b4c1f83650adcc65b59c06 \ 13LIC_FILES_CHKSUM = "file://Copyright.txt;md5=718f05155941b33862726348d3cd46ce \
14 file://Source/cmake.h;beginline=1;endline=2;md5=a5f70e1fef8614734eae0d62b4f5891b \ 14 file://Source/cmake.h;beginline=1;endline=2;md5=a5f70e1fef8614734eae0d62b4f5891b \
15 " 15 "
16 16
17CMAKE_MAJOR_VERSION = "${@'.'.join(d.getVar('PV').split('.')[0:2])}" 17CMAKE_MAJOR_VERSION = "${@'.'.join(d.getVar('PV').split('.')[0:2])}"
18 18
19SRC_URI = "https://cmake.org/files/v${CMAKE_MAJOR_VERSION}/cmake-${PV}.tar.gz \ 19SRC_URI = "https://cmake.org/files/v${CMAKE_MAJOR_VERSION}/cmake-${PV}.tar.gz \
20" 20 file://0001-CMakeDetermineCompilerABI-Strip-pipe-from-compile-fl.patch \
21 file://0001-cmCurl-Avoid-using-undocumented-type-for-CURLOPT_NET.patch \
22 "
21 23
22SRC_URI[sha256sum] = "72b7570e5c8593de6ac4ab433b73eab18c5fb328880460c86ce32608141ad5c1" 24SRC_URI[sha256sum] = "653427f0f5014750aafff22727fb2aa60c6c732ca91808cfb78ce22ddd9e55f0"
23 25
24UPSTREAM_CHECK_REGEX = "cmake-(?P<pver>\d+(\.\d+)+)\.tar" 26UPSTREAM_CHECK_REGEX = "cmake-(?P<pver>\d+(\.\d+)+)\.tar"
25 27
diff --git a/meta/recipes-devtools/cmake/cmake/0001-CMakeDetermineCompilerABI-Strip-pipe-from-compile-fl.patch b/meta/recipes-devtools/cmake/cmake/0001-CMakeDetermineCompilerABI-Strip-pipe-from-compile-fl.patch
new file mode 100644
index 0000000000..3895c7e03b
--- /dev/null
+++ b/meta/recipes-devtools/cmake/cmake/0001-CMakeDetermineCompilerABI-Strip-pipe-from-compile-fl.patch
@@ -0,0 +1,63 @@
1From e4061151ac13bc727512d961a80faca3ceb22b5a Mon Sep 17 00:00:00 2001
2From: Philip Lorenz <philip.lorenz@bmw.de>
3Date: Mon, 3 Jun 2024 13:19:24 +0200
4Subject: [PATCH] CMakeDetermineCompilerABI: Strip -pipe from compile flags
5
6When `-pipe` is enabled, GCC passes data between its different
7executables using pipes instead of temporary files. This leads to issues
8when cmake attempts to infer compiler internals via the `-v` parameter
9as each executable will print to `stderr` in parallel.
10
11For example we have observed the following outputs in our builds which
12sporadically lead to build failures as system include directories were
13not detected reliably:
14
15Parsed CXX implicit include dir info from above output: rv=done
16 found start of include info
17 found start of implicit include info
18 add: [.../usr/bin/x86_64-poky-linux/../../lib/x86_64-poky-linux/gcc/x86_64-poky-linux/11.4.0/include]
19 add: [.../usr/bin/x86_64-poky-linux/../../lib/x86_64-poky-linux/gcc/x86_64-poky-linux/11.4.0/include-fixed]
20 add: [.../usr/include/c++/11.4.0]
21 add: [.../usr/include/c++/11.4.0/x86_64-poky-linux]
22 add: [.../usr/include/c++/11.4.0/backward]
23 add: [.../usr/lib/x86_64-poky-linux/11.4.0/include]
24 add: [...GNU assembler version 2.38 (x86_64-poky-linux) using BFD version (GNU Binutils) 2.38.20220708]
25 add: [/usr/include]
26 end of search list found
27
28Fix this issue by stripping the `-pipe` parameter from the compilation
29flag when determining the toolchain configuration.
30
31Upstream-Status: Backport [3.32.0, 71be059f3f32b6791427893a48ba4815a19e2e78]
32Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
33---
34 Modules/CMakeDetermineCompilerABI.cmake | 9 ++++++++-
35 1 file changed, 8 insertions(+), 1 deletion(-)
36
37diff --git a/Modules/CMakeDetermineCompilerABI.cmake b/Modules/CMakeDetermineCompilerABI.cmake
38index 4a75e25a..806f0b71 100644
39--- a/Modules/CMakeDetermineCompilerABI.cmake
40+++ b/Modules/CMakeDetermineCompilerABI.cmake
41@@ -52,14 +52,21 @@ function(CMAKE_DETERMINE_COMPILER_ABI lang src)
42
43 __TestCompiler_setTryCompileTargetType()
44
45- # Avoid failing ABI detection on warnings.
46+ # Avoid failing ABI detection caused by non-functionally relevant
47+ # compiler arguments
48 if(CMAKE_TRY_COMPILE_CONFIGURATION)
49 string(TOUPPER "${CMAKE_TRY_COMPILE_CONFIGURATION}" _tc_config)
50 else()
51 set(_tc_config "DEBUG")
52 endif()
53 foreach(v CMAKE_${lang}_FLAGS CMAKE_${lang}_FLAGS_${_tc_config})
54+ # Avoid failing ABI detection on warnings.
55 string(REGEX REPLACE "(^| )-Werror([= ][^-][^ ]*)?( |$)" " " ${v} "${${v}}")
56+ # Avoid passing of "-pipe" when determining the compiler internals. With
57+ # "-pipe" GCC will use pipes to pass data between the involved
58+ # executables. This may lead to issues when their stderr output (which
59+ # contains the relevant compiler internals) becomes interweaved.
60+ string(REGEX REPLACE "(^| )-pipe( |$)" " " ${v} "${${v}}")
61 endforeach()
62
63 # Save the current LC_ALL, LC_MESSAGES, and LANG environment variables
diff --git a/meta/recipes-devtools/cmake/cmake/0001-CMakeLists.txt-disable-USE_NGHTTP2.patch b/meta/recipes-devtools/cmake/cmake/0001-CMakeLists.txt-disable-USE_NGHTTP2.patch
index b2933d88be..ab78fa26ba 100644
--- a/meta/recipes-devtools/cmake/cmake/0001-CMakeLists.txt-disable-USE_NGHTTP2.patch
+++ b/meta/recipes-devtools/cmake/cmake/0001-CMakeLists.txt-disable-USE_NGHTTP2.patch
@@ -1,4 +1,4 @@
1From d33d8a5e9f3b25a80d47b72b1a8a6624a85563c1 Mon Sep 17 00:00:00 2001 1From 061253f390ada0661b30cf8856fa8d8d40a7355d Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com> 2From: Changqing Li <changqing.li@windriver.com>
3Date: Wed, 28 Dec 2022 17:51:27 +0800 3Date: Wed, 28 Dec 2022 17:51:27 +0800
4Subject: [PATCH] CMakeLists.txt: disable USE_NGHTTP2 4Subject: [PATCH] CMakeLists.txt: disable USE_NGHTTP2
@@ -13,23 +13,24 @@ Signed-off-by: Changqing Li <changqing.li@windriver.com>
13Adjust the patch to apply on top of v3.28.3. 13Adjust the patch to apply on top of v3.28.3.
14 14
15Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> 15Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
16
17Adjust the patch to apply on top of v3.30.1.
18
19Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
16--- 20---
17 Utilities/cmcurl/CMakeLists.txt | 2 +- 21 Utilities/cmcurl/CMakeLists.txt | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-) 22 1 file changed, 1 insertion(+), 1 deletion(-)
19 23
20diff --git a/Utilities/cmcurl/CMakeLists.txt b/Utilities/cmcurl/CMakeLists.txt 24diff --git a/Utilities/cmcurl/CMakeLists.txt b/Utilities/cmcurl/CMakeLists.txt
21index 9387247366..d3de01f4e8 100644 25index ef6c269e..ecaac497 100644
22--- a/Utilities/cmcurl/CMakeLists.txt 26--- a/Utilities/cmcurl/CMakeLists.txt
23+++ b/Utilities/cmcurl/CMakeLists.txt 27+++ b/Utilities/cmcurl/CMakeLists.txt
24@@ -88,7 +88,7 @@ set(HTTP_ONLY OFF CACHE INTERNAL "Curl is not http-only") 28@@ -99,7 +99,7 @@ set(USE_ECH OFF)
25 set(PICKY_COMPILER OFF CACHE INTERNAL "Enable picky compiler options") 29 set(USE_HTTPSRR OFF)
26 set(SHARE_LIB_OBJECT OFF)
27 set(USE_LIBIDN2 ON) 30 set(USE_LIBIDN2 ON)
31 set(USE_LIBRTMP OFF)
28-set(USE_NGHTTP2 ON) 32-set(USE_NGHTTP2 ON)
29+set(USE_NGHTTP2 OFF) 33+set(USE_NGHTTP2 OFF)
30 set(USE_NGTCP2 OFF) 34 set(USE_NGTCP2 OFF)
35 set(USE_OPENSSL_QUIC OFF)
31 set(USE_QUICHE OFF) 36 set(USE_QUICHE OFF)
32 set(USE_WIN32_IDN OFF)
33--
342.43.0
35
diff --git a/meta/recipes-devtools/cmake/cmake/0001-cmCurl-Avoid-using-undocumented-type-for-CURLOPT_NET.patch b/meta/recipes-devtools/cmake/cmake/0001-cmCurl-Avoid-using-undocumented-type-for-CURLOPT_NET.patch
new file mode 100644
index 0000000000..c719c1fdfb
--- /dev/null
+++ b/meta/recipes-devtools/cmake/cmake/0001-cmCurl-Avoid-using-undocumented-type-for-CURLOPT_NET.patch
@@ -0,0 +1,30 @@
1From c608975f4490f67872926f2601e5c37f2e570307 Mon Sep 17 00:00:00 2001
2From: Wang Mingyu <wangmy@fujitsu.com>
3Date: Wed, 9 Apr 2025 01:40:46 +0000
4Subject: [PATCH] cmCurl: Avoid using undocumented type for CURLOPT_NETRC
5 values
6
7Fix: nativesdk-cmake/3.31.6/cmake-3.31.6/Source/cmCurl.cxx:178:26: error: invalid conversion from 'long int' to 'CURL_NETRC_OPTION' [-fpermissive]
8Upstream-Status: Backport [https://gitlab.kitware.com/cmake/cmake/-/merge_requests/10449/diffs?commit_id=1b0c92a3a1b782ff3e1c4499b6ab8db614d45bcd]
9
10Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
11---
12 Source/cmCurl.cxx | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/Source/cmCurl.cxx b/Source/cmCurl.cxx
16index b9133ed7..0cf8a71a 100644
17--- a/Source/cmCurl.cxx
18+++ b/Source/cmCurl.cxx
19@@ -170,7 +170,7 @@ std::string cmCurlSetNETRCOption(::CURL* curl, const std::string& netrc_level,
20 const std::string& netrc_file)
21 {
22 std::string e;
23- CURL_NETRC_OPTION curl_netrc_level = CURL_NETRC_LAST;
24+ long curl_netrc_level = CURL_NETRC_LAST;
25 ::CURLcode res;
26
27 if (!netrc_level.empty()) {
28--
292.43.0
30
diff --git a/meta/recipes-devtools/cmake/cmake/0001-ctest-Allow-arbitrary-characters-in-test-names-of-CT.patch b/meta/recipes-devtools/cmake/cmake/0001-ctest-Allow-arbitrary-characters-in-test-names-of-CT.patch
new file mode 100644
index 0000000000..31f6148cac
--- /dev/null
+++ b/meta/recipes-devtools/cmake/cmake/0001-ctest-Allow-arbitrary-characters-in-test-names-of-CT.patch
@@ -0,0 +1,202 @@
1From c7e8b03324883760a2d6fab86ae034beb82af651 Mon Sep 17 00:00:00 2001
2From: John Drouhard <john@drouhard.dev>
3Date: Thu, 9 Jan 2025 20:34:42 -0600
4Subject: [PATCH] ctest: Allow arbitrary characters in test names of
5 CTestCostData.txt
6
7This changes the way lines in CTestCostData.txt are parsed to allow for
8spaces in the test name.
9
10It does so by looking for space characters from the end; and once two
11have been found, assumes everything from the beginning up to that
12second-to-last-space is the test name.
13
14Additionally, parsing the file should be much more efficient since there
15is no string or vector heap allocation per line. The std::string used by
16the parse function to convert the int and float should be within most
17standard libraries' small string optimization.
18
19Fixes: #26594
20
21Upstream-Status: Backport [4.0.0, 040da7d83216ace59710407e8ce35d5fd38e1340]
22Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
23---
24 Source/CTest/cmCTestMultiProcessHandler.cxx | 77 +++++++++++++++------
25 Source/CTest/cmCTestMultiProcessHandler.h | 3 +-
26 Tests/CTestTestScheduler/CMakeLists.txt | 4 +-
27 3 files changed, 61 insertions(+), 23 deletions(-)
28
29diff --git a/Source/CTest/cmCTestMultiProcessHandler.cxx b/Source/CTest/cmCTestMultiProcessHandler.cxx
30index 84ea32b84d40025ec333a90d30c42eeaf7adc9ef..231e7b5f39b1d8aa75f4e59a890a099b53fcdaac 100644
31--- a/Source/CTest/cmCTestMultiProcessHandler.cxx
32+++ b/Source/CTest/cmCTestMultiProcessHandler.cxx
33@@ -20,6 +20,7 @@
34
35 #include <cm/memory>
36 #include <cm/optional>
37+#include <cm/string_view>
38 #include <cmext/algorithm>
39
40 #include <cm3p/json/value.h>
41@@ -52,6 +53,48 @@ constexpr unsigned long kParallelLevelMinimum = 2u;
42 // Under a job server, parallelism is effectively limited
43 // only by available job server tokens.
44 constexpr unsigned long kParallelLevelUnbounded = 0x10000u;
45+
46+struct CostEntry
47+{
48+ cm::string_view name;
49+ int prevRuns;
50+ float cost;
51+};
52+
53+cm::optional<CostEntry> splitCostLine(cm::string_view line)
54+{
55+ std::string part;
56+ cm::string_view::size_type pos1 = line.size();
57+ cm::string_view::size_type pos2 = line.find_last_of(' ', pos1);
58+ auto findNext = [line, &part, &pos1, &pos2]() -> bool {
59+ if (pos2 != cm::string_view::npos) {
60+ cm::string_view sub = line.substr(pos2 + 1, pos1 - pos2 - 1);
61+ part.assign(sub.begin(), sub.end());
62+ pos1 = pos2;
63+ if (pos1 > 0) {
64+ pos2 = line.find_last_of(' ', pos1 - 1);
65+ }
66+ return true;
67+ }
68+ return false;
69+ };
70+
71+ // parse the cost
72+ if (!findNext()) {
73+ return cm::nullopt;
74+ }
75+ float cost = static_cast<float>(atof(part.c_str()));
76+
77+ // parse the previous runs
78+ if (!findNext()) {
79+ return cm::nullopt;
80+ }
81+ int prev = atoi(part.c_str());
82+
83+ // from start to the last found space is the name
84+ return CostEntry{ line.substr(0, pos1), prev, cost };
85+}
86+
87 }
88
89 namespace cmsys {
90@@ -797,24 +840,21 @@ void cmCTestMultiProcessHandler::UpdateCostData()
91 if (line == "---") {
92 break;
93 }
94- std::vector<std::string> parts = cmSystemTools::SplitString(line, ' ');
95 // Format: <name> <previous_runs> <avg_cost>
96- if (parts.size() < 3) {
97+ cm::optional<CostEntry> entry = splitCostLine(line);
98+ if (!entry) {
99 break;
100 }
101
102- std::string name = parts[0];
103- int prev = atoi(parts[1].c_str());
104- float cost = static_cast<float>(atof(parts[2].c_str()));
105-
106- int index = this->SearchByName(name);
107+ int index = this->SearchByName(entry->name);
108 if (index == -1) {
109 // This test is not in memory. We just rewrite the entry
110- fout << name << " " << prev << " " << cost << "\n";
111+ fout << entry->name << " " << entry->prevRuns << " " << entry->cost
112+ << "\n";
113 } else {
114 // Update with our new average cost
115- fout << name << " " << this->Properties[index]->PreviousRuns << " "
116- << this->Properties[index]->Cost << "\n";
117+ fout << entry->name << " " << this->Properties[index]->PreviousRuns
118+ << " " << this->Properties[index]->Cost << "\n";
119 temp.erase(index);
120 }
121 }
122@@ -850,28 +890,25 @@ void cmCTestMultiProcessHandler::ReadCostData()
123 break;
124 }
125
126- std::vector<std::string> parts = cmSystemTools::SplitString(line, ' ');
127+ // Format: <name> <previous_runs> <avg_cost>
128+ cm::optional<CostEntry> entry = splitCostLine(line);
129
130 // Probably an older version of the file, will be fixed next run
131- if (parts.size() < 3) {
132+ if (!entry) {
133 fin.close();
134 return;
135 }
136
137- std::string name = parts[0];
138- int prev = atoi(parts[1].c_str());
139- float cost = static_cast<float>(atof(parts[2].c_str()));
140-
141- int index = this->SearchByName(name);
142+ int index = this->SearchByName(entry->name);
143 if (index == -1) {
144 continue;
145 }
146
147- this->Properties[index]->PreviousRuns = prev;
148+ this->Properties[index]->PreviousRuns = entry->prevRuns;
149 // When not running in parallel mode, don't use cost data
150 if (this->GetParallelLevel() > 1 && this->Properties[index] &&
151 this->Properties[index]->Cost == 0) {
152- this->Properties[index]->Cost = cost;
153+ this->Properties[index]->Cost = entry->cost;
154 }
155 }
156 // Next part of the file is the failed tests
157@@ -884,7 +921,7 @@ void cmCTestMultiProcessHandler::ReadCostData()
158 }
159 }
160
161-int cmCTestMultiProcessHandler::SearchByName(std::string const& name)
162+int cmCTestMultiProcessHandler::SearchByName(cm::string_view name)
163 {
164 int index = -1;
165
166diff --git a/Source/CTest/cmCTestMultiProcessHandler.h b/Source/CTest/cmCTestMultiProcessHandler.h
167index fd6c17f2fac06949c20f3792dd3eae442b15850b..811be613c3387240c0181f8372b24cf09219621f 100644
168--- a/Source/CTest/cmCTestMultiProcessHandler.h
169+++ b/Source/CTest/cmCTestMultiProcessHandler.h
170@@ -13,6 +13,7 @@
171 #include <vector>
172
173 #include <cm/optional>
174+#include <cm/string_view>
175
176 #include "cmCTest.h"
177 #include "cmCTestResourceAllocator.h"
178@@ -110,7 +111,7 @@ protected:
179 void UpdateCostData();
180 void ReadCostData();
181 // Return index of a test based on its name
182- int SearchByName(std::string const& name);
183+ int SearchByName(cm::string_view name);
184
185 void CreateTestCostList();
186
187diff --git a/Tests/CTestTestScheduler/CMakeLists.txt b/Tests/CTestTestScheduler/CMakeLists.txt
188index 6f8cb4dbc0de35984540e1868788e0a02124e819..daf6ce2b23d8c048334ae1047759130b246dccef 100644
189--- a/Tests/CTestTestScheduler/CMakeLists.txt
190+++ b/Tests/CTestTestScheduler/CMakeLists.txt
191@@ -1,9 +1,9 @@
192-cmake_minimum_required(VERSION 3.10)
193+cmake_minimum_required(VERSION 3.19)
194 project (CTestTestScheduler)
195 include (CTest)
196
197 add_executable (Sleep sleep.c)
198
199 foreach (time RANGE 1 4)
200- add_test (TestSleep${time} Sleep ${time})
201+ add_test ("TestSleep ${time}" Sleep ${time})
202 endforeach ()
diff --git a/meta/recipes-devtools/cmake/cmake/0005-Disable-use-of-ext2fs-ext2_fs.h-by-cmake-s-internal-.patch b/meta/recipes-devtools/cmake/cmake/0005-Disable-use-of-ext2fs-ext2_fs.h-by-cmake-s-internal-.patch
index d6f7308fe0..7559c52932 100644
--- a/meta/recipes-devtools/cmake/cmake/0005-Disable-use-of-ext2fs-ext2_fs.h-by-cmake-s-internal-.patch
+++ b/meta/recipes-devtools/cmake/cmake/0005-Disable-use-of-ext2fs-ext2_fs.h-by-cmake-s-internal-.patch
@@ -1,4 +1,4 @@
1From fd9a04c1434e12f21c043385e306e0b52d38d749 Mon Sep 17 00:00:00 2001 1From 8effa783e47e2b574be90733c38b27701e06e929 Mon Sep 17 00:00:00 2001
2From: Otavio Salvador <otavio@ossystems.com.br> 2From: Otavio Salvador <otavio@ossystems.com.br>
3Date: Thu, 5 Jul 2018 10:28:04 -0300 3Date: Thu, 5 Jul 2018 10:28:04 -0300
4Subject: [PATCH] Disable use of ext2fs/ext2_fs.h by cmake's internal 4Subject: [PATCH] Disable use of ext2fs/ext2_fs.h by cmake's internal
@@ -13,16 +13,15 @@ Upstream-Status: Inappropriate [config]
13 13
14Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> 14Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
15Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> 15Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
16
17--- 16---
18 Utilities/cmlibarchive/CMakeLists.txt | 8 ++------ 17 Utilities/cmlibarchive/CMakeLists.txt | 8 ++------
19 1 file changed, 2 insertions(+), 6 deletions(-) 18 1 file changed, 2 insertions(+), 6 deletions(-)
20 19
21diff --git a/Utilities/cmlibarchive/CMakeLists.txt b/Utilities/cmlibarchive/CMakeLists.txt 20diff --git a/Utilities/cmlibarchive/CMakeLists.txt b/Utilities/cmlibarchive/CMakeLists.txt
22index bfcaf30..2960683 100644 21index 4e4b49c1..50e9a733 100644
23--- a/Utilities/cmlibarchive/CMakeLists.txt 22--- a/Utilities/cmlibarchive/CMakeLists.txt
24+++ b/Utilities/cmlibarchive/CMakeLists.txt 23+++ b/Utilities/cmlibarchive/CMakeLists.txt
25@@ -682,12 +682,8 @@ LA_CHECK_INCLUDE_FILE("copyfile.h" HAVE_COPYFILE_H) 24@@ -745,12 +745,8 @@ LA_CHECK_INCLUDE_FILE("copyfile.h" HAVE_COPYFILE_H)
26 LA_CHECK_INCLUDE_FILE("direct.h" HAVE_DIRECT_H) 25 LA_CHECK_INCLUDE_FILE("direct.h" HAVE_DIRECT_H)
27 LA_CHECK_INCLUDE_FILE("dlfcn.h" HAVE_DLFCN_H) 26 LA_CHECK_INCLUDE_FILE("dlfcn.h" HAVE_DLFCN_H)
28 LA_CHECK_INCLUDE_FILE("errno.h" HAVE_ERRNO_H) 27 LA_CHECK_INCLUDE_FILE("errno.h" HAVE_ERRNO_H)
@@ -35,5 +34,5 @@ index bfcaf30..2960683 100644
35+SET(HAVE_EXT2FS_EXT2_FS_H 0) 34+SET(HAVE_EXT2FS_EXT2_FS_H 0)
36+SET(HAVE_WORKING_EXT2_IOC_GETFLAGS 0) 35+SET(HAVE_WORKING_EXT2_IOC_GETFLAGS 0)
37 LA_CHECK_INCLUDE_FILE("fcntl.h" HAVE_FCNTL_H) 36 LA_CHECK_INCLUDE_FILE("fcntl.h" HAVE_FCNTL_H)
37 LA_CHECK_INCLUDE_FILE("fnmatch.h" HAVE_FNMATCH_H)
38 LA_CHECK_INCLUDE_FILE("grp.h" HAVE_GRP_H) 38 LA_CHECK_INCLUDE_FILE("grp.h" HAVE_GRP_H)
39 LA_CHECK_INCLUDE_FILE("io.h" HAVE_IO_H)
diff --git a/meta/recipes-devtools/cmake/cmake_3.28.3.bb b/meta/recipes-devtools/cmake/cmake_3.31.6.bb
index 9146fa8c0f..2d343d6f52 100644
--- a/meta/recipes-devtools/cmake/cmake_3.28.3.bb
+++ b/meta/recipes-devtools/cmake/cmake_3.31.6.bb
@@ -5,6 +5,7 @@ inherit cmake bash-completion
5DEPENDS += "curl expat zlib libarchive xz ncurses bzip2" 5DEPENDS += "curl expat zlib libarchive xz ncurses bzip2"
6 6
7SRC_URI:append:class-nativesdk = " \ 7SRC_URI:append:class-nativesdk = " \
8 file://0001-ctest-Allow-arbitrary-characters-in-test-names-of-CT.patch \
8 file://OEToolchainConfig.cmake \ 9 file://OEToolchainConfig.cmake \
9 file://SDKToolchainConfig.cmake.template \ 10 file://SDKToolchainConfig.cmake.template \
10 file://cmake-setup.py \ 11 file://cmake-setup.py \
@@ -33,7 +34,7 @@ python () {
33 d.setVar("docdir_stripped", docdir_stripped) 34 d.setVar("docdir_stripped", docdir_stripped)
34} 35}
35 36
36EXTRA_OECMAKE=" \ 37EXTRA_OECMAKE = " \
37 -DCMAKE_DOC_DIR=${docdir_stripped}/cmake-${CMAKE_MAJOR_VERSION} \ 38 -DCMAKE_DOC_DIR=${docdir_stripped}/cmake-${CMAKE_MAJOR_VERSION} \
38 -DCMAKE_USE_SYSTEM_LIBRARIES=1 \ 39 -DCMAKE_USE_SYSTEM_LIBRARIES=1 \
39 -DCMAKE_USE_SYSTEM_LIBRARY_JSONCPP=0 \ 40 -DCMAKE_USE_SYSTEM_LIBRARY_JSONCPP=0 \
diff --git a/meta/recipes-devtools/createrepo-c/createrepo-c/0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch b/meta/recipes-devtools/createrepo-c/createrepo-c/0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch
index b63fe53944..ca3f0782a8 100644
--- a/meta/recipes-devtools/createrepo-c/createrepo-c/0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch
+++ b/meta/recipes-devtools/createrepo-c/createrepo-c/0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch
@@ -1,4 +1,4 @@
1From 6f8f6d151b831b60f6e7892aa9294a6361353c72 Mon Sep 17 00:00:00 2001 1From 20aec3f83a7ab6ebb89f40ee8c5df1af65eba32b Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Fri, 30 Dec 2016 18:31:02 +0200 3Date: Fri, 30 Dec 2016 18:31:02 +0200
4Subject: [PATCH] Do not set PYTHON_INSTALL_DIR by running python 4Subject: [PATCH] Do not set PYTHON_INSTALL_DIR by running python
@@ -23,6 +23,3 @@ index a31b14d..01fd8ca 100644
23 INCLUDE_DIRECTORIES (${PYTHON_INCLUDE_PATH}) 23 INCLUDE_DIRECTORIES (${PYTHON_INCLUDE_PATH})
24 24
25 MESSAGE(STATUS "Python install dir is ${PYTHON_INSTALL_DIR}") 25 MESSAGE(STATUS "Python install dir is ${PYTHON_INSTALL_DIR}")
26--
272.25.1
28
diff --git a/meta/recipes-devtools/createrepo-c/createrepo-c/0001-include-rpm-rpmstring.h.patch b/meta/recipes-devtools/createrepo-c/createrepo-c/0001-include-rpm-rpmstring.h.patch
index b7e5710b39..4f2f780a64 100644
--- a/meta/recipes-devtools/createrepo-c/createrepo-c/0001-include-rpm-rpmstring.h.patch
+++ b/meta/recipes-devtools/createrepo-c/createrepo-c/0001-include-rpm-rpmstring.h.patch
@@ -1,4 +1,4 @@
1From eb66326c3fc6e942282d01ddd56659c78ed7400b Mon Sep 17 00:00:00 2001 1From aa508662cfa48f706bf68ace55ed311a9e820d3f Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 13 Jan 2023 13:21:51 -0800 3Date: Fri, 13 Jan 2023 13:21:51 -0800
4Subject: [PATCH] include rpm/rpmstring.h 4Subject: [PATCH] include rpm/rpmstring.h
@@ -11,13 +11,12 @@ on 'rasprintf'; ISO C99 and later do not support implicit function declarations
11 11
12Upstream-Status: Submitted [https://github.com/rpm-software-management/createrepo_c/pull/340] 12Upstream-Status: Submitted [https://github.com/rpm-software-management/createrepo_c/pull/340]
13Signed-off-by: Khem Raj <raj.khem@gmail.com> 13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14
15--- 14---
16 src/xml_file.c | 1 + 15 src/xml_file.c | 1 +
17 1 file changed, 1 insertion(+) 16 1 file changed, 1 insertion(+)
18 17
19diff --git a/src/xml_file.c b/src/xml_file.c 18diff --git a/src/xml_file.c b/src/xml_file.c
20index d2400b8..871109c 100644 19index 44b38f9..de5176b 100644
21--- a/src/xml_file.c 20--- a/src/xml_file.c
22+++ b/src/xml_file.c 21+++ b/src/xml_file.c
23@@ -19,6 +19,7 @@ 22@@ -19,6 +19,7 @@
diff --git a/meta/recipes-devtools/createrepo-c/createrepo-c_1.1.0.bb b/meta/recipes-devtools/createrepo-c/createrepo-c_1.2.1.bb
index 1f97c99bde..63a717726c 100644
--- a/meta/recipes-devtools/createrepo-c/createrepo-c_1.1.0.bb
+++ b/meta/recipes-devtools/createrepo-c/createrepo-c_1.2.1.bb
@@ -4,14 +4,12 @@ HOMEPAGE = "https://github.com/rpm-software-management/createrepo_c/wiki"
4LICENSE = "GPL-2.0-only" 4LICENSE = "GPL-2.0-only"
5LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" 5LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
6 6
7SRC_URI = "git://github.com/rpm-software-management/createrepo_c;branch=master;protocol=https \ 7SRC_URI = "git://github.com/rpm-software-management/createrepo_c;branch=master;protocol=https;tag=${PV} \
8 file://0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch \ 8 file://0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch \
9 file://0001-include-rpm-rpmstring.h.patch \ 9 file://0001-include-rpm-rpmstring.h.patch \
10 " 10 "
11 11
12SRCREV = "10a8a7af4f1de3f98a21a7d08fe3a46ef306d197" 12SRCREV = "8c6e6f88df86d1e34ca26d3835d77a2816326414"
13
14S = "${WORKDIR}/git"
15 13
16DEPENDS = "expat curl glib-2.0 libxml2 openssl bzip2 zlib file sqlite3 xz rpm" 14DEPENDS = "expat curl glib-2.0 libxml2 openssl bzip2 zlib file sqlite3 xz rpm"
17DEPENDS:append:class-native = " file-replacement-native" 15DEPENDS:append:class-native = " file-replacement-native"
diff --git a/meta/recipes-devtools/debugedit/debugedit_5.0.bb b/meta/recipes-devtools/debugedit/debugedit_5.1.bb
index 63ad7babd9..384909a36f 100644
--- a/meta/recipes-devtools/debugedit/debugedit_5.0.bb
+++ b/meta/recipes-devtools/debugedit/debugedit_5.1.bb
@@ -9,20 +9,23 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
9 file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \ 9 file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \
10 file://COPYING3;md5=d32239bcb673463ab874e80d47fae504" 10 file://COPYING3;md5=d32239bcb673463ab874e80d47fae504"
11 11
12SRC_URI = "https://sourceware.org/ftp/debugedit/${PV}/debugedit-${PV}.tar.xz" 12SRC_URI = "https://sourceware.org/ftp/debugedit/${PV}/debugedit-${PV}.tar.xz \
13 13 file://0001-Add-option-to-allow-disabling-inlined-xxhash.patch \
14SRC_URI:append:libc-musl = "\
15 file://0002-sepdebugcrcfix.c-do-not-use-64bit-variants.patch \
16 file://0003-Makefile.am-do-not-update-manual.patch \ 14 file://0003-Makefile.am-do-not-update-manual.patch \
17 " 15 "
18 16
19SRC_URI[sha256sum] = "e9ecd7d350bebae1f178ce6776ca19a648b6fe8fa22f5b3044b38d7899aa553e" 17SRC_URI[sha256sum] = "ee9b688b2ed8fa62551c54cb5dc31aaa05853e7dedbd9e1237c77894ea5e3626"
20 18
21DEPENDS = "elfutils" 19DEPENDS = "elfutils xxhash"
22DEPENDS:append:libc-musl = " musl-legacy-error" 20DEPENDS:append:libc-musl = " musl-legacy-error"
23 21
24inherit pkgconfig autotools 22inherit pkgconfig autotools multilib_script
25 23
26RDEPENDS:${PN} += "bash elfutils-binutils" 24RDEPENDS:${PN} += "bash elfutils-binutils"
27 25
26EXTRA_OECONF = "${@oe.utils.vartrue('DEBUG_BUILD', '--disable-inlined-xxhash', '', d)}"
27
28BBCLASSEXTEND = "native nativesdk" 28BBCLASSEXTEND = "native nativesdk"
29
30MULTILIB_SCRIPTS = "${PN}:${bindir}/find-debuginfo"
31
diff --git a/meta/recipes-devtools/debugedit/files/0001-Add-option-to-allow-disabling-inlined-xxhash.patch b/meta/recipes-devtools/debugedit/files/0001-Add-option-to-allow-disabling-inlined-xxhash.patch
new file mode 100644
index 0000000000..3aac43628b
--- /dev/null
+++ b/meta/recipes-devtools/debugedit/files/0001-Add-option-to-allow-disabling-inlined-xxhash.patch
@@ -0,0 +1,81 @@
1From 820498e881401a6f4b1715dc6831da965f6e1d69 Mon Sep 17 00:00:00 2001
2From: Chen Qi <Qi.Chen@windriver.com>
3Date: Tue, 18 Feb 2025 18:50:46 -0800
4Subject: [PATCH] Add option to allow disabling inlined xxhash
5
6xxhash cannot always inline. For example, when using gcc14 and
7'-Og' option, xxhash cannot inline. See links below:
8https://github.com/Cyan4973/xxHash/commit/574aabad87b2ab9440403e92e1075ef48554eb87
9https://github.com/Cyan4973/xxHash/issues/943#issuecomment-2563205130
10
11To allow users successfully build debugedit with gcc14 and "-Og" option,
12add an option to allow disabling inlined xxhash.
13
14This patch refers to a similar patch for libabigail:
15https://sourceware.org/cgit/libabigail/commit/?id=50497911e2590c21270e0763d277457cf7752c3f
16
17Note that the default remains using inlined xxhash.
18
19Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
20
21Upstream-Status: Backport [https://sourceware.org/cgit/debugedit/commit/?id=820498e881401a6f4b1715dc6831da965f6e1d69]
22
23Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
24---
25 Makefile.am | 4 ++--
26 configure.ac | 11 +++++++++++
27 tools/debugedit.c | 1 -
28 3 files changed, 13 insertions(+), 3 deletions(-)
29
30diff --git a/Makefile.am b/Makefile.am
31index c590edf..35fd947 100644
32--- a/Makefile.am
33+++ b/Makefile.am
34@@ -42,8 +42,8 @@ find-debuginfo: $(top_srcdir)/scripts/find-debuginfo.in Makefile
35
36 debugedit_SOURCES = tools/debugedit.c \
37 tools/hashtab.c
38-debugedit_CFLAGS = @LIBELF_CFLAGS@ @LIBDW_CFLAGS@ $(AM_CFLAGS)
39-debugedit_LDADD = @LIBELF_LIBS@ @LIBDW_LIBS@
40+debugedit_CFLAGS = @LIBELF_CFLAGS@ @LIBDW_CFLAGS@ @XXHASH_CFLAGS@ $(AM_CFLAGS)
41+debugedit_LDADD = @LIBELF_LIBS@ @LIBDW_LIBS@ @XXHASH_LIBS@
42
43 sepdebugcrcfix_SOURCES = tools/sepdebugcrcfix.c
44 sepdebugcrcfix_CFLAGS = @LIBELF_CFLAGS@ $(AM_CFLAGS)
45diff --git a/configure.ac b/configure.ac
46index a5a6e28..32dd27d 100644
47--- a/configure.ac
48+++ b/configure.ac
49@@ -181,6 +181,17 @@ else
50 fi
51 AC_SUBST([READELF_VERSION_OK])
52
53+ENABLE_INLINED_XXHASH=yes
54+AC_ARG_ENABLE(inlined-xxhash,
55+ AS_HELP_STRING([--disable-inlined-xxhash], [disable the inlined-only version of xxhash library]),
56+ ENABLE_INLINED_XXHASH=$enableval,
57+ ENABLE_INLINED_XXHASH=yes)
58+
59+if test x$ENABLE_INLINED_XXHASH = xyes; then
60+ XXHASH_CFLAGS="$XXHASH_CFLAGS -DXXH_INLINE_ALL"
61+ XXHASH_LIBS=""
62+fi
63+
64 # And generate the output files.
65 AC_CONFIG_FILES([Makefile])
66 AC_OUTPUT
67diff --git a/tools/debugedit.c b/tools/debugedit.c
68index beefd65..43f9cee 100644
69--- a/tools/debugedit.c
70+++ b/tools/debugedit.c
71@@ -82,7 +82,6 @@ typedef struct Ebl_Strtab Strtab;
72
73 #include "tools/hashtab.h"
74
75-#define XXH_INLINE_ALL
76 #include "xxhash.h"
77
78 #define DW_TAG_partial_unit 0x3c
79--
802.25.1
81
diff --git a/meta/recipes-devtools/debugedit/files/0002-sepdebugcrcfix.c-do-not-use-64bit-variants.patch b/meta/recipes-devtools/debugedit/files/0002-sepdebugcrcfix.c-do-not-use-64bit-variants.patch
deleted file mode 100644
index 4463bd2324..0000000000
--- a/meta/recipes-devtools/debugedit/files/0002-sepdebugcrcfix.c-do-not-use-64bit-variants.patch
+++ /dev/null
@@ -1,56 +0,0 @@
1From 3e05bbc1f7909ab6f529e66f0d0f70fb1e60583a Mon Sep 17 00:00:00 2001
2From: Chen Qi <Qi.Chen@windriver.com>
3Date: Thu, 23 Mar 2023 11:55:53 +0800
4Subject: [PATCH 2/2] sepdebugcrcfix.c: do not use 64bit variants
5
6configure.ac checks for largefile support via AC_SYS_LARGEFILE
7already, therefore use off_t, open and lseek instead of 64bit
8variants. Musl e.g. does not define them without _LARGEFILE64_SOURCE
9and error is not seen on glibc because _GNU_SOURCE defines
10_LARGEFILE64_SOURCE.
11
12This patch is marked as inappropriate as debugedit obviously only
13wants to support glibc or some glibc compatible libcs. We can see
14this from the error() usage. And this patch is only for musl.
15
16Upstream-Status: Inappropriate [OE Specific]
17
18Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
19---
20 tools/sepdebugcrcfix.c | 6 +++---
21 1 file changed, 3 insertions(+), 3 deletions(-)
22
23diff --git a/tools/sepdebugcrcfix.c b/tools/sepdebugcrcfix.c
24index c4a9d56..882e5f5 100644
25--- a/tools/sepdebugcrcfix.c
26+++ b/tools/sepdebugcrcfix.c
27@@ -144,7 +144,7 @@ crc32 (const char *fname, const char *base_fname, uint32_t *crcp)
28 error (0, errno, _("cannot open \"%s\""), debugname);
29 return false;
30 }
31- off64_t size = lseek64 (fd, 0, SEEK_END);
32+ off_t size = lseek (fd, 0, SEEK_END);
33 if (size == -1)
34 {
35 error (0, errno, _("cannot get size of \"%s\""), debugname);
36@@ -289,7 +289,7 @@ process (Elf *elf, int fd, const char *fname)
37 return true;
38 }
39 updated_count++;
40- off64_t seekto = (shdr->sh_offset + data->d_off
41+ off_t seekto = (shdr->sh_offset + data->d_off
42 + (crcp - (const uint8_t *) data->d_buf));
43 uint32_t crc_targetendian = (ehdr->e_ident[EI_DATA] == ELFDATA2LSB
44 ? htole32 (crc) : htobe32 (crc));
45@@ -361,7 +361,7 @@ main (int argc, char **argv)
46 error (0, errno, _("cannot chmod \"%s\" to make sure we can read and write"), fname);
47
48 bool failed = false;
49- int fd = open64 (fname, O_RDWR);
50+ int fd = open (fname, O_RDWR);
51 if (fd == -1)
52 {
53 error (0, errno, _("cannot open \"%s\""), fname);
54--
552.17.1
56
diff --git a/meta/recipes-devtools/debugedit/files/0003-Makefile.am-do-not-update-manual.patch b/meta/recipes-devtools/debugedit/files/0003-Makefile.am-do-not-update-manual.patch
index de467f5365..d0414f739a 100644
--- a/meta/recipes-devtools/debugedit/files/0003-Makefile.am-do-not-update-manual.patch
+++ b/meta/recipes-devtools/debugedit/files/0003-Makefile.am-do-not-update-manual.patch
@@ -1,7 +1,7 @@
1From 4f0d7d2f4900ce8555e09854dc681278b7a3d9a9 Mon Sep 17 00:00:00 2001 1From b2715c3f4d28fab1c238086d9b5435e269b06301 Mon Sep 17 00:00:00 2001
2From: Chen Qi <Qi.Chen@windriver.com> 2From: Chen Qi <Qi.Chen@windriver.com>
3Date: Thu, 23 Mar 2023 13:09:23 +0800 3Date: Thu, 23 Mar 2023 13:09:23 +0800
4Subject: [PATCH 3/3] Makefile.am: do not update manual 4Subject: [PATCH] Makefile.am: do not update manual
5 5
6The tarball ships these manuals, no need to re-generate them. 6The tarball ships these manuals, no need to re-generate them.
7We have local patches for debugedit.c and sepdebugcrcfix.c, 7We have local patches for debugedit.c and sepdebugcrcfix.c,
@@ -20,7 +20,7 @@ Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
20 1 file changed, 30 deletions(-) 20 1 file changed, 30 deletions(-)
21 21
22diff --git a/Makefile.am b/Makefile.am 22diff --git a/Makefile.am b/Makefile.am
23index 98b2f20..f91deea 100644 23index c590edf..692e016 100644
24--- a/Makefile.am 24--- a/Makefile.am
25+++ b/Makefile.am 25+++ b/Makefile.am
26@@ -52,36 +52,6 @@ sepdebugcrcfix_LDADD = @LIBELF_LIBS@ 26@@ -52,36 +52,6 @@ sepdebugcrcfix_LDADD = @LIBELF_LIBS@
@@ -58,8 +58,5 @@ index 98b2f20..f91deea 100644
58- esac 58- esac
59- 59-
60 noinst_HEADERS= tools/ansidecl.h \ 60 noinst_HEADERS= tools/ansidecl.h \
61 tools/hashtab.h \ 61 tools/hashtab.h
62 tools/md5.h \ 62
63--
642.17.1
65
diff --git a/meta/recipes-devtools/dejagnu/dejagnu_1.6.3.bb b/meta/recipes-devtools/dejagnu/dejagnu_1.6.3.bb
index 895f6d3b36..c6002d5e45 100644
--- a/meta/recipes-devtools/dejagnu/dejagnu_1.6.3.bb
+++ b/meta/recipes-devtools/dejagnu/dejagnu_1.6.3.bb
@@ -2,7 +2,7 @@ SUMMARY = "GNU unit testing framework, written in Expect and Tcl"
2DESCRIPTION = "DejaGnu is a framework for testing other programs. Its purpose \ 2DESCRIPTION = "DejaGnu is a framework for testing other programs. Its purpose \
3is to provide a single front end for all tests." 3is to provide a single front end for all tests."
4HOMEPAGE = "https://www.gnu.org/software/dejagnu/" 4HOMEPAGE = "https://www.gnu.org/software/dejagnu/"
5LICENSE = "GPL-2.0-only" 5LICENSE = "GPL-3.0-only"
6LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" 6LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
7SECTION = "devel" 7SECTION = "devel"
8 8
diff --git a/meta/recipes-devtools/desktop-file-utils/desktop-file-utils_0.27.bb b/meta/recipes-devtools/desktop-file-utils/desktop-file-utils_0.28.bb
index 55c88afcc9..35537572fe 100644
--- a/meta/recipes-devtools/desktop-file-utils/desktop-file-utils_0.27.bb
+++ b/meta/recipes-devtools/desktop-file-utils/desktop-file-utils_0.28.bb
@@ -7,8 +7,8 @@ LICENSE = "GPL-2.0-or-later"
7LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ 7LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
8 file://src/validator.c;beginline=4;endline=27;md5=281e1114ee6c486a1a0a4295986b9416" 8 file://src/validator.c;beginline=4;endline=27;md5=281e1114ee6c486a1a0a4295986b9416"
9 9
10SRC_URI = "http://freedesktop.org/software/${BPN}/releases/${BP}.tar.xz" 10SRC_URI = "http://www.freedesktop.org/software/${BPN}/releases/${BP}.tar.xz"
11SRC_URI[sha256sum] = "a0817df39ce385b6621880407c56f1f298168c040c2032cedf88d5b76affe836" 11SRC_URI[sha256sum] = "4401d4e231d842c2de8242395a74a395ca468cd96f5f610d822df33594898a70"
12 12
13DEPENDS = "glib-2.0" 13DEPENDS = "glib-2.0"
14 14
diff --git a/meta/recipes-devtools/devel-config/distcc-config.bb b/meta/recipes-devtools/devel-config/distcc-config.bb
index 698fd3585a..f5b2f0f246 100644
--- a/meta/recipes-devtools/devel-config/distcc-config.bb
+++ b/meta/recipes-devtools/devel-config/distcc-config.bb
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384
6 6
7SRC_URI = "file://distcc.sh" 7SRC_URI = "file://distcc.sh"
8 8
9S = "${WORKDIR}" 9S = "${UNPACKDIR}"
10 10
11# Default to the host machine for a running qemu session 11# Default to the host machine for a running qemu session
12DISTCC_HOSTS ?= "192.168.7.1" 12DISTCC_HOSTS ?= "192.168.7.1"
diff --git a/meta/recipes-devtools/devel-config/nfs-export-root.bb b/meta/recipes-devtools/devel-config/nfs-export-root.bb
index 5e69962d7c..a827bb58ee 100644
--- a/meta/recipes-devtools/devel-config/nfs-export-root.bb
+++ b/meta/recipes-devtools/devel-config/nfs-export-root.bb
@@ -3,10 +3,9 @@ DESCRIPTION = "Enables NFS access from any host to the entire filesystem (for de
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" 4LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
5 5
6
7SRC_URI = "file://exports" 6SRC_URI = "file://exports"
8 7
9S = "${WORKDIR}" 8S = "${UNPACKDIR}"
10 9
11do_install() { 10do_install() {
12 install -d ${D}${sysconfdir} 11 install -d ${D}${sysconfdir}
diff --git a/meta/recipes-devtools/diffstat/diffstat/avoid-check-user-break-cc.patch b/meta/recipes-devtools/diffstat/diffstat/avoid-check-user-break-cc.patch
index 46f1cfabcf..fc42c8cba7 100644
--- a/meta/recipes-devtools/diffstat/diffstat/avoid-check-user-break-cc.patch
+++ b/meta/recipes-devtools/diffstat/diffstat/avoid-check-user-break-cc.patch
@@ -1,4 +1,4 @@
1From 708c765ffb41ecc734316f69043583312fe444bd Mon Sep 17 00:00:00 2001 1From 04fd678939ad0c21f57222c48305bfa29c8f6cf3 Mon Sep 17 00:00:00 2001
2From: Kai Kang <kai.kang@windriver.com> 2From: Kai Kang <kai.kang@windriver.com>
3Date: Tue, 15 May 2018 17:17:01 +0800 3Date: Tue, 15 May 2018 17:17:01 +0800
4Subject: [PATCH] diffstat: fix wrong evaluation of CC 4Subject: [PATCH] diffstat: fix wrong evaluation of CC
@@ -12,16 +12,15 @@ be included in CC. And then CC will be wrongly filtered.
12So comment out CF_CC_ENV_FLAGS from function CF_PROG_CC. 12So comment out CF_CC_ENV_FLAGS from function CF_PROG_CC.
13 13
14Signed-off-by: Kai Kang <kai.kang@windriver.com> 14Signed-off-by: Kai Kang <kai.kang@windriver.com>
15
16--- 15---
17 aclocal.m4 | 2 +- 16 aclocal.m4 | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-) 17 1 file changed, 1 insertion(+), 1 deletion(-)
19 18
20diff --git a/aclocal.m4 b/aclocal.m4 19diff --git a/aclocal.m4 b/aclocal.m4
21index d4bd283..1b653c4 100644 20index 1c653ea..8f0540d 100644
22--- a/aclocal.m4 21--- a/aclocal.m4
23+++ b/aclocal.m4 22+++ b/aclocal.m4
24@@ -1522,7 +1522,7 @@ CF_GCC_VERSION 23@@ -1584,7 +1584,7 @@ CF_GCC_VERSION
25 CF_ACVERSION_CHECK(2.52, 24 CF_ACVERSION_CHECK(2.52,
26 [AC_PROG_CC_STDC], 25 [AC_PROG_CC_STDC],
27 [CF_ANSI_CC_REQD]) 26 [CF_ANSI_CC_REQD])
diff --git a/meta/recipes-devtools/diffstat/diffstat_1.66.bb b/meta/recipes-devtools/diffstat/diffstat_1.68.bb
index d59379fd2b..488f0834d6 100644
--- a/meta/recipes-devtools/diffstat/diffstat_1.66.bb
+++ b/meta/recipes-devtools/diffstat/diffstat_1.68.bb
@@ -4,15 +4,15 @@ the insertions, deletions, and modifications per-file. It is useful for \
4reviewing large, complex patch files." 4reviewing large, complex patch files."
5HOMEPAGE = "http://invisible-island.net/diffstat/" 5HOMEPAGE = "http://invisible-island.net/diffstat/"
6SECTION = "devel" 6SECTION = "devel"
7LICENSE = "MIT" 7LICENSE = "X11"
8LIC_FILES_CHKSUM = "file://COPYING;md5=5713b4719a66a6527e6301e8f8745877" 8LIC_FILES_CHKSUM = "file://COPYING;md5=0c432d3aeb935855b2ca1ad2a0542ce4"
9 9
10SRC_URI = "http://invisible-mirror.net/archives/${BPN}/${BP}.tgz \ 10SRC_URI = "http://invisible-mirror.net/archives/${BPN}/${BP}.tgz \
11 file://run-ptest \ 11 file://run-ptest \
12 file://avoid-check-user-break-cc.patch \ 12 file://avoid-check-user-break-cc.patch \
13 " 13 "
14 14
15SRC_URI[sha256sum] = "f54531bbe32e8e0fa461f018b41e3af516b632080172f361f05e50367ecbb69e" 15SRC_URI[sha256sum] = "89f9294a8ac74fcef6f1b9ac408f43ebedf8d208e3efe0b99b4acc16dc6582c7"
16 16
17inherit autotools gettext ptest 17inherit autotools gettext ptest
18 18
diff --git a/meta/recipes-devtools/distcc/distcc_3.4.bb b/meta/recipes-devtools/distcc/distcc_3.4.bb
index ab138b3ab6..392f4ae272 100644
--- a/meta/recipes-devtools/distcc/distcc_3.4.bb
+++ b/meta/recipes-devtools/distcc/distcc_3.4.bb
@@ -21,7 +21,6 @@ SRC_URI = "git://github.com/distcc/distcc.git;branch=master;protocol=https \
21 file://distcc.service \ 21 file://distcc.service \
22 " 22 "
23SRCREV = "50d821efe99cae82c05be0a4ab3b4035ef0d3883" 23SRCREV = "50d821efe99cae82c05be0a4ab3b4035ef0d3883"
24S = "${WORKDIR}/git"
25UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)" 24UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
26 25
27inherit autotools pkgconfig update-rc.d useradd systemd 26inherit autotools pkgconfig update-rc.d useradd systemd
diff --git a/meta/recipes-devtools/dmidecode/dmidecode_3.5.bb b/meta/recipes-devtools/dmidecode/dmidecode_3.6.bb
index 3e2bb6e30b..e5b4e27687 100644
--- a/meta/recipes-devtools/dmidecode/dmidecode_3.5.bb
+++ b/meta/recipes-devtools/dmidecode/dmidecode_3.6.bb
@@ -18,4 +18,4 @@ do_install() {
18 install 18 install
19} 19}
20 20
21SRC_URI[sha256sum] = "79d76735ee8e25196e2a722964cf9683f5a09581503537884b256b01389cc073" 21SRC_URI[sha256sum] = "e40c65f3ec3dafe31ad8349a4ef1a97122d38f65004ed66575e1a8d575dd8bae"
diff --git a/meta/recipes-devtools/dnf/dnf/0005-Do-not-prepend-installroot-to-logdir.patch b/meta/recipes-devtools/dnf/dnf/0005-Do-not-prepend-installroot-to-logdir.patch
index cfbda11f77..a1c58d6563 100644
--- a/meta/recipes-devtools/dnf/dnf/0005-Do-not-prepend-installroot-to-logdir.patch
+++ b/meta/recipes-devtools/dnf/dnf/0005-Do-not-prepend-installroot-to-logdir.patch
@@ -1,4 +1,4 @@
1From c6d03b51e2098fc681e6811790bd5dc6597091eb Mon Sep 17 00:00:00 2001 1From 0e7fc4a8523aad616493e6ad33c509e1e530d852 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Wed, 11 Jan 2017 15:10:13 +0200 3Date: Wed, 11 Jan 2017 15:10:13 +0200
4Subject: [PATCH] Do not prepend installroot to logdir. 4Subject: [PATCH] Do not prepend installroot to logdir.
@@ -14,10 +14,10 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
14 1 file changed, 1 insertion(+), 1 deletion(-) 14 1 file changed, 1 insertion(+), 1 deletion(-)
15 15
16diff --git a/dnf/cli/cli.py b/dnf/cli/cli.py 16diff --git a/dnf/cli/cli.py b/dnf/cli/cli.py
17index 1824bd00..4dcb1c1c 100644 17index d3844df3..ac080f79 100644
18--- a/dnf/cli/cli.py 18--- a/dnf/cli/cli.py
19+++ b/dnf/cli/cli.py 19+++ b/dnf/cli/cli.py
20@@ -944,7 +944,7 @@ class Cli(object): 20@@ -954,7 +954,7 @@ class Cli(object):
21 logger.warning(_("Unable to detect release version (use '--releasever' to specify " 21 logger.warning(_("Unable to detect release version (use '--releasever' to specify "
22 "release version)")) 22 "release version)"))
23 23
diff --git a/meta/recipes-devtools/dnf/dnf_4.19.2.bb b/meta/recipes-devtools/dnf/dnf_4.23.0.bb
index cc91dbe400..927a8d8930 100644
--- a/meta/recipes-devtools/dnf/dnf_4.19.2.bb
+++ b/meta/recipes-devtools/dnf/dnf_4.23.0.bb
@@ -18,16 +18,14 @@ SRC_URI = "git://github.com/rpm-software-management/dnf.git;branch=master;protoc
18 file://0001-lock.py-fix-Exception-handling.patch \ 18 file://0001-lock.py-fix-Exception-handling.patch \
19 " 19 "
20 20
21SRC_URI:append:class-native = "file://0001-dnf-write-the-log-lock-to-root.patch" 21SRC_URI:append:class-native = " file://0001-dnf-write-the-log-lock-to-root.patch"
22 22
23SRCREV = "9b2b2e8ddab99caba4bc8059cab4263163172e81" 23SRCREV = "8fa4bb94a99eadaed91ad2ee51f27a4baafcebed"
24UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)" 24UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
25 25
26S = "${WORKDIR}/git"
27
28inherit cmake gettext bash-completion setuptools3-base systemd 26inherit cmake gettext bash-completion setuptools3-base systemd
29 27
30DEPENDS += "libdnf librepo libcomps python3-iniparse" 28DEPENDS += "libdnf librepo libcomps"
31 29
32# manpages generation requires http://www.sphinx-doc.org/ 30# manpages generation requires http://www.sphinx-doc.org/
33EXTRA_OECMAKE = " -DWITH_MAN=0 -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} -DPYTHON_DESIRED=3" 31EXTRA_OECMAKE = " -DWITH_MAN=0 -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} -DPYTHON_DESIRED=3"
@@ -37,6 +35,7 @@ BBCLASSEXTEND = "native nativesdk"
37RDEPENDS:${PN} += " \ 35RDEPENDS:${PN} += " \
38 python3-core \ 36 python3-core \
39 python3-codecs \ 37 python3-codecs \
38 python3-ctypes \
40 python3-netclient \ 39 python3-netclient \
41 python3-email \ 40 python3-email \
42 python3-threading \ 41 python3-threading \
@@ -49,7 +48,6 @@ RDEPENDS:${PN} += " \
49 python3-sqlite3 \ 48 python3-sqlite3 \
50 python3-compression \ 49 python3-compression \
51 python3-rpm \ 50 python3-rpm \
52 python3-iniparse \
53 python3-json \ 51 python3-json \
54 python3-curses \ 52 python3-curses \
55 python3-misc \ 53 python3-misc \
@@ -70,6 +68,7 @@ do_install:append() {
70# Direct dnf-native to read rpm configuration from our sysroot, not the one it was compiled in 68# Direct dnf-native to read rpm configuration from our sysroot, not the one it was compiled in
71do_install:append:class-native() { 69do_install:append:class-native() {
72 create_wrapper ${D}/${bindir}/dnf \ 70 create_wrapper ${D}/${bindir}/dnf \
71 SEQUOIA_CRYPTO_POLICY=${STAGING_DATADIR_NATIVE}/crypto-policies/back-ends/rpm-sequoia.config \
73 RPM_CONFIGDIR=${STAGING_LIBDIR_NATIVE}/rpm \ 72 RPM_CONFIGDIR=${STAGING_LIBDIR_NATIVE}/rpm \
74 RPM_NO_CHROOT_FOR_SCRIPTS=1 73 RPM_NO_CHROOT_FOR_SCRIPTS=1
75} 74}
diff --git a/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4/LICENSE-OASIS b/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4/LICENSE-OASIS
index 6da7f5b8c7..13f303dc6a 100644
--- a/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4/LICENSE-OASIS
+++ b/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4/LICENSE-OASIS
@@ -10,7 +10,3 @@ If you modify the DocBook DTD in any way, except for declaring and
10referencing additional sets of general entities and declaring 10referencing additional sets of general entities and declaring
11additional notations, label your DTD as a variant of DocBook. See 11additional notations, label your DTD as a variant of DocBook. See
12the maintenance documentation for more information. 12the maintenance documentation for more information.
13
14Please direct all questions, bug reports, or suggestions for
15changes to the docbook@lists.oasis-open.org mailing list. For more
16information, see http://www.oasis-open.org/docbook/.
diff --git a/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4_4.5.bb b/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4_4.5.bb
index bbd574e287..1148d53694 100644
--- a/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4_4.5.bb
+++ b/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4_4.5.bb
@@ -3,28 +3,13 @@ DESCRIPTION = "Document type definitions for verification of XML data \
3files against the DocBook rule set." 3files against the DocBook rule set."
4HOMEPAGE = "https://docbook.org" 4HOMEPAGE = "https://docbook.org"
5 5
6# The upstream sources are not distributed with a license file. 6LICENSE = "DocBook"
7# LICENSE-OASIS is included as a "patch" to workaround this. When 7NO_GENERIC_LICENSE[DocBook] = "LICENSE-OASIS"
8# upgrading this recipe, please verify whether this is still needed.
9 8
10LICENSE = "OASIS" 9LIC_FILES_CHKSUM = "file://docbook-4.5/docbookx.dtd;beginline=15;endline=30;md5=ab12da76ad94a41d04e1587693ebd9b6 \
11LIC_FILES_CHKSUM = "file://${S}/LICENSE-OASIS;md5=c608985dd5f7f215e669e7639a0b1d2e" 10 file://LICENSE-OASIS;md5=b9ee6208caa6e66c68dfad6f31d73f92"
12
13# To support apps with xml schema backward compatibility, we must
14# install a set of schemas. Install the latest based on PV and then
15# name any specific versions as required. TODO: Figure out a mechanism
16# to filter exactly which versions are necessary, if that's even
17# possible.
18#
19# DocBook.org lists available release packages at https://docbook.org/xml/.
20#
21# The release packages relate docbook source at
22# https://github.com/docbook/docbook but building them requires the
23# Gradle build system. In future, it might be safer to use the source
24# tree which would also enable proper SBOM generation through the
25# bitbake build system.
26#
27 11
12# Install the latest 4.5 DTDs, and the previous releases for backward compatibility.
28SRC_URI = "https://docbook.org/xml/4.1.2/docbkx412.zip;name=payload412;subdir=docbook-4.1.2 \ 13SRC_URI = "https://docbook.org/xml/4.1.2/docbkx412.zip;name=payload412;subdir=docbook-4.1.2 \
29 https://docbook.org/xml/4.2/docbook-xml-4.2.zip;name=payload42;subdir=docbook-4.2 \ 14 https://docbook.org/xml/4.2/docbook-xml-4.2.zip;name=payload42;subdir=docbook-4.2 \
30 https://docbook.org/xml/4.3/docbook-xml-4.3.zip;name=payload43;subdir=docbook-4.3 \ 15 https://docbook.org/xml/4.3/docbook-xml-4.3.zip;name=payload43;subdir=docbook-4.3 \
@@ -41,7 +26,7 @@ SRC_URI[payloadPV.sha256sum] = "4e4e037a2b83c98c6c94818390d4bdd3f6e10f6ec62dd791
41 26
42UPSTREAM_CHECK_REGEX = "docbook-xml-(?P<pver>4(\.\d+)).zip" 27UPSTREAM_CHECK_REGEX = "docbook-xml-(?P<pver>4(\.\d+)).zip"
43 28
44S = "${WORKDIR}" 29S = "${UNPACKDIR}"
45 30
46do_configure (){ 31do_configure (){
47 : 32 :
diff --git a/meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets_1.79.1.bb b/meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets_1.79.1.bb
index beda0abe95..7e4730b5e9 100644
--- a/meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets_1.79.1.bb
+++ b/meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets_1.79.1.bb
@@ -1,20 +1,19 @@
1SUMMARY = "XSL stylesheets for processing DocBook XML to various output formats" 1SUMMARY = "XSL stylesheets for processing DocBook XML to various output formats"
2HOMEPAGE = "http://docbook.sourceforge.net" 2HOMEPAGE = "http://docbook.sourceforge.net"
3LICENSE = "XSL" 3LICENSE = "DocBook-XML"
4LIC_FILES_CHKSUM = "file://COPYING;md5=6beadd98f9c54ab0c387e14211ee4d0e" 4LIC_FILES_CHKSUM = "file://COPYING;md5=6beadd98f9c54ab0c387e14211ee4d0e"
5 5
6SRC_URI = "${SOURCEFORGE_MIRROR}/docbook/docbook-xsl-${PV}.tar.bz2 \ 6SRC_URI = "${SOURCEFORGE_MIRROR}/docbook/docbook-xsl-${PV}.tar.bz2 \
7 file://docbook-xsl-stylesheets-no-bashism-in-docbook-xsl-up.patch \ 7 file://docbook-xsl-stylesheets-no-bashism-in-docbook-xsl-up.patch \
8" 8"
9 9
10SRC_URI[md5sum] = "b48cbf929a2ad85e6672f710777ca7bc"
11SRC_URI[sha256sum] = "725f452e12b296956e8bfb876ccece71eeecdd14b94f667f3ed9091761a4a968" 10SRC_URI[sha256sum] = "725f452e12b296956e8bfb876ccece71eeecdd14b94f667f3ed9091761a4a968"
12 11
13UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/docbook/files/docbook-xsl/" 12UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/docbook/files/docbook-xsl/"
14# Reject versions ending in .0 as those are release candidates 13# Reject versions ending in .0 as those are release candidates
15UPSTREAM_CHECK_REGEX = "/docbook-xsl/(?P<pver>(\d+[\.\-_]*)+(?!\.0)\.\d+)/" 14UPSTREAM_CHECK_REGEX = "/docbook-xsl/(?P<pver>(\d+[\.\-_]*)+(?!\.0)\.\d+)/"
16 15
17S = "${WORKDIR}/docbook-xsl-${PV}" 16S = "${UNPACKDIR}/docbook-xsl-${PV}"
18 17
19inherit allarch xmlcatalog 18inherit allarch xmlcatalog
20 19
diff --git a/meta/recipes-devtools/dosfstools/dosfstools/0001-fsck.fat-Adhere-to-the-fsck-exit-codes.patch b/meta/recipes-devtools/dosfstools/dosfstools/0001-fsck.fat-Adhere-to-the-fsck-exit-codes.patch
new file mode 100644
index 0000000000..3d2ce48723
--- /dev/null
+++ b/meta/recipes-devtools/dosfstools/dosfstools/0001-fsck.fat-Adhere-to-the-fsck-exit-codes.patch
@@ -0,0 +1,214 @@
1From 9d165145b9f9c20a56e111360fbc2003c2b28cba Mon Sep 17 00:00:00 2001
2From: Ricardo Simoes <ricardo.simoes@pt.bosch.com>
3Date: Thu, 26 Jun 2025 08:14:29 +0100
4Subject: [PATCH] fsck.fat: Adhere to the fsck exit codes
5
6fsck.fat is used as a filesystem-specific checker for the `fsck`. This
7also causes `fsck` to return the same exit-codes given by `fsck.fat`.
8
9In most cases this is already the case. One exception to that comes when
10checking a read-only filesystem. In that case `fsck.fat` will return 6,
11which for `fsck` means "Fiesystem errors left uncorrected" and "System
12should reboot". When a more proper response would be to return 8,
13"Operational Error".
14
15This commit solves that problem by introducing a new header file which
16standardizes the exit codes used by `fsck.fat`.
17
18Signed-off-by: Ricardo Ungerer <ungerer.ricardo@gmail.com>
19
20Upstream-Status: Inactive-Upstream [lastcommit: 2023, lastrelease: 2021]
21Upstream-Status: Submitted [https://github.com/dosfstools/dosfstools/pull/217]
22---
23 src/Makefile.am | 4 ++--
24 src/common.c | 8 ++++----
25 src/exit_codes.h | 15 +++++++++++++++
26 src/fsck.fat.c | 23 ++++++++++++-----------
27 src/io.c | 3 ++-
28 5 files changed, 35 insertions(+), 18 deletions(-)
29 create mode 100644 src/exit_codes.h
30
31diff --git a/src/Makefile.am b/src/Makefile.am
32index a389046..48f00dd 100644
33--- a/src/Makefile.am
34+++ b/src/Makefile.am
35@@ -23,7 +23,7 @@ EXTRA_DIST = blkdev/README
36
37 charconv_common_sources = charconv.c charconv.h
38 charconv_common_ldadd = $(LIBICONV)
39-fscklabel_common_sources = boot.c boot.h common.c common.h \
40+fscklabel_common_sources = boot.c boot.h common.c common.h exit_codes.h \
41 fat.c fat.h io.c io.h msdos_fs.h \
42 $(charconv_common_sources) \
43 fsck.fat.h endian_compat.h
44@@ -38,7 +38,7 @@ devinfo_common_sources = device_info.c device_info.h \
45 blkdev/blkdev.c blkdev/blkdev.h \
46 blkdev/linux_version.c blkdev/linux_version.h
47 mkfs_fat_SOURCES = mkfs.fat.c msdos_fs.h common.c common.h endian_compat.h \
48- $(charconv_common_sources) $(devinfo_common_sources)
49+ exit_codes.h $(charconv_common_sources) $(devinfo_common_sources)
50 mkfs_fat_CPPFLAGS = -I$(srcdir)/blkdev
51 mkfs_fat_CFLAGS = $(AM_CFLAGS)
52 mkfs_fat_LDADD = $(charconv_common_ldadd)
53diff --git a/src/common.c b/src/common.c
54index 4f1afcb..089d4b3 100644
55--- a/src/common.c
56+++ b/src/common.c
57@@ -38,7 +38,7 @@
58
59 #include "common.h"
60 #include "charconv.h"
61-
62+#include "exit_codes.h"
63
64 int interactive;
65 int write_immed;
66@@ -62,7 +62,7 @@ void die(const char *msg, ...)
67 vfprintf(stderr, msg, args);
68 va_end(args);
69 fprintf(stderr, "\n");
70- exit(1);
71+ exit(OPERATIONAL_ERROR);
72 }
73
74 void pdie(const char *msg, ...)
75@@ -205,7 +205,7 @@ int get_choice(int noninteractive_result, const char *noninteractive_msg,
76 } while (choice == '\n'); /* filter out enter presses */
77
78 if (choice == EOF)
79- exit(1);
80+ exit(USAGE_OR_SYNTAX_ERROR);
81
82 printf("%c\n", choice);
83
84@@ -235,7 +235,7 @@ int get_choice(int noninteractive_result, const char *noninteractive_msg,
85 inhibit_quit_choice = 0;
86
87 if (quit_choice == 1)
88- exit(0);
89+ exit(NO_ERRORS);
90 }
91 }
92
93diff --git a/src/exit_codes.h b/src/exit_codes.h
94new file mode 100644
95index 0000000..f67d22e
96--- /dev/null
97+++ b/src/exit_codes.h
98@@ -0,0 +1,15 @@
99+#ifndef _EXIT_CODES_H
100+#define _EXIT_CODES_H
101+
102+/* Codes as defined by fsck.
103+ For more information, see fsck manpage. */
104+#define NO_ERRORS 0
105+#define FS_ERRORS_CORRECTED 1
106+#define SYSTEM_SHOULD_BE_REBOOTED 2
107+#define FS_ERRORS_LEFT_UNCORRECTED 4
108+#define OPERATIONAL_ERROR 8
109+#define USAGE_OR_SYNTAX_ERROR 16
110+#define CHECKING_CANCELED_BY_USER 32
111+#define SHARED_LIB_ERROR 128
112+
113+#endif
114diff --git a/src/fsck.fat.c b/src/fsck.fat.c
115index 8b02b57..42e3ab4 100644
116--- a/src/fsck.fat.c
117+++ b/src/fsck.fat.c
118@@ -46,6 +46,7 @@
119 #include "file.h"
120 #include "check.h"
121 #include "charconv.h"
122+#include "exit_codes.h"
123
124 int rw = 0, list = 0, test = 0, verbose = 0;
125 long fat_table = 0;
126@@ -147,10 +148,10 @@ int main(int argc, char **argv)
127 codepage = strtol(optarg, &tmp, 10);
128 if (!*optarg || isspace(*optarg) || *tmp || errno || codepage < 0 || codepage > INT_MAX) {
129 fprintf(stderr, "Invalid codepage : %s\n", optarg);
130- usage(argv[0], 2);
131+ usage(argv[0], USAGE_OR_SYNTAX_ERROR);
132 }
133 if (!set_dos_codepage(codepage))
134- usage(argv[0], 2);
135+ usage(argv[0], USAGE_OR_SYNTAX_ERROR);
136 break;
137 case 'd':
138 file_add(optarg, fdt_drop);
139@@ -163,7 +164,7 @@ int main(int argc, char **argv)
140 fat_table = strtol(optarg, &tmp, 10);
141 if (!*optarg || isspace(*optarg) || *tmp || errno || fat_table < 0 || fat_table > 255) {
142 fprintf(stderr, "Invalid FAT table : %s\n", optarg);
143- usage(argv[0], 2);
144+ usage(argv[0], USAGE_OR_SYNTAX_ERROR);
145 }
146 break;
147 case 'l':
148@@ -202,31 +203,31 @@ int main(int argc, char **argv)
149 atari_format = 1;
150 } else {
151 fprintf(stderr, "Unknown variant: %s\n", optarg);
152- usage(argv[0], 2);
153+ usage(argv[0], USAGE_OR_SYNTAX_ERROR);
154 }
155 break;
156 case 'w':
157 write_immed = 1;
158 break;
159 case OPT_HELP:
160- usage(argv[0], 0);
161+ usage(argv[0], EXIT_SUCCESS);
162 break;
163 case '?':
164- usage(argv[0], 2);
165+ usage(argv[0], USAGE_OR_SYNTAX_ERROR);
166 break;
167 default:
168 fprintf(stderr,
169 "Internal error: getopt_long() returned unexpected value %d\n", c);
170- exit(3);
171+ exit(OPERATIONAL_ERROR);
172 }
173 if (!set_dos_codepage(-1)) /* set default codepage if none was given in command line */
174- exit(2);
175+ exit(OPERATIONAL_ERROR);
176 if ((test || write_immed) && !rw) {
177 fprintf(stderr, "-t and -w can not be used in read only mode\n");
178- exit(2);
179+ exit(USAGE_OR_SYNTAX_ERROR);
180 }
181 if (optind != argc - 1)
182- usage(argv[0], 2);
183+ usage(argv[0], USAGE_OR_SYNTAX_ERROR);
184
185 printf("fsck.fat " VERSION " (" VERSION_DATE ")\n");
186 fs_open(argv[optind], rw);
187@@ -285,5 +286,5 @@ exit:
188 n_files, (unsigned long)fs.data_clusters - free_clusters,
189 (unsigned long)fs.data_clusters);
190
191- return fs_close(rw) ? 1 : 0;
192+ return fs_close(rw) ? FS_ERRORS_CORRECTED : NO_ERRORS;
193 }
194diff --git a/src/io.c b/src/io.c
195index 8c0c3b2..8bd1ae5 100644
196--- a/src/io.c
197+++ b/src/io.c
198@@ -44,6 +44,7 @@
199 #include "fsck.fat.h"
200 #include "common.h"
201 #include "io.h"
202+#include "exit_codes.h"
203
204 typedef struct _change {
205 void *data;
206@@ -60,7 +61,7 @@ void fs_open(const char *path, int rw)
207 {
208 if ((fd = open(path, rw ? O_RDWR : O_RDONLY)) < 0) {
209 perror("open");
210- exit(6);
211+ exit(OPERATIONAL_ERROR);
212 }
213 changes = last = NULL;
214 did_change = 0;
diff --git a/meta/recipes-devtools/dosfstools/dosfstools/0002-manpages-Document-fsck.fat-new-exit-codes.patch b/meta/recipes-devtools/dosfstools/dosfstools/0002-manpages-Document-fsck.fat-new-exit-codes.patch
new file mode 100644
index 0000000000..29bba7b093
--- /dev/null
+++ b/meta/recipes-devtools/dosfstools/dosfstools/0002-manpages-Document-fsck.fat-new-exit-codes.patch
@@ -0,0 +1,46 @@
1From 8d703216d2ea3247092a08adb0c37b38eb77ccc7 Mon Sep 17 00:00:00 2001
2From: Ricardo Ungerer <ungerer.ricardo@gmail.com>
3Date: Wed, 21 May 2025 07:18:15 +0100
4Subject: [PATCH 2/3] manpages: Document fsck.fat new exit codes
5
6Signed-off-by: Ricardo Ungerer <ungerer.ricardo@gmail.com>
7
8Upstream-Status: Inactive-Upstream [lastcommit: 2023, lastrelease: 2021]
9Upstream-Status: Submitted [https://github.com/dosfstools/dosfstools/pull/217]
10---
11 manpages/fsck.fat.8.in | 18 +++++++++++++-----
12 1 file changed, 13 insertions(+), 5 deletions(-)
13
14diff --git a/manpages/fsck.fat.8.in b/manpages/fsck.fat.8.in
15index 824a83d..557aa4c 100644
16--- a/manpages/fsck.fat.8.in
17+++ b/manpages/fsck.fat.8.in
18@@ -222,13 +222,21 @@ Display help message describing usage and options then exit.
19 .\" ----------------------------------------------------------------------------
20 .SH "EXIT STATUS"
21 .IP "0" 4
22-No recoverable errors have been detected.
23+No errors
24 .IP "1" 4
25-Recoverable errors have been detected or \fBfsck.fat\fP has discovered an
26-internal inconsistency.
27+Filesystem errors corrected
28 .IP "2" 4
29-Usage error.
30-\fBfsck.fat\fP did not access the filesystem.
31+System should be rebooted
32+.IP "4" 4
33+Filesystem errors left uncorrected
34+.IP "8" 4
35+Operational error
36+.IP "16" 4
37+Usage or syntax error
38+.IP "32" 4
39+Checking canceled by user request
40+.IP "128" 4
41+Shared-library error
42 .\" ----------------------------------------------------------------------------
43 .SH FILES
44 .IP "\fIfsck0000.rec\fP, \fIfsck0001.rec\fP, ..." 4
45--
462.25.1
diff --git a/meta/recipes-devtools/dosfstools/dosfstools/source-date-epoch.patch b/meta/recipes-devtools/dosfstools/dosfstools/source-date-epoch.patch
new file mode 100644
index 0000000000..e3a649e55a
--- /dev/null
+++ b/meta/recipes-devtools/dosfstools/dosfstools/source-date-epoch.patch
@@ -0,0 +1,158 @@
1From 8da7bc93315cb0c32ad868f17808468b81fa76ec Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= <bjorn.forsman@gmail.com>
3Date: Wed, 5 Dec 2018 19:52:51 +0100
4Subject: [PATCH] Honor the SOURCE_DATE_EPOCH variable
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Implement the SOURCE_DATE_EPOCH specification[1] for reproducible
10builds. If SOURCE_DATE_EPOCH is set, use it as timestamp instead of the
11current time.
12
13[1] https://reproducible-builds.org/specs/source-date-epoch/
14
15Upstream-Status: Backport [https://github.com/dosfstools/dosfstools/commit/8da7bc93315cb0c32ad868f17808468b81fa76ec]
16Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com>
17---
18 src/boot.c | 23 +++++++++++++++++++++--
19 src/common.c | 18 ++++++++++++++++--
20 src/mkfs.fat.c | 19 ++++++++++++++++---
21 3 files changed, 53 insertions(+), 7 deletions(-)
22
23diff --git a/src/boot.c b/src/boot.c
24index 4de450d..8f78e1c 100644
25--- a/src/boot.c
26+++ b/src/boot.c
27@@ -33,6 +33,8 @@
28 #include <stdlib.h>
29 #include <sys/types.h>
30 #include <time.h>
31+#include <errno.h>
32+#include <ctype.h>
33
34 #include "common.h"
35 #include "fsck.fat.h"
36@@ -672,6 +674,7 @@ void write_volume_label(DOS_FS * fs, char *label)
37 {
38 time_t now;
39 struct tm *mtime;
40+ char *source_date_epoch = NULL;
41 off_t offset;
42 int created;
43 DIR_ENT de;
44@@ -687,8 +690,24 @@ void write_volume_label(DOS_FS * fs, char *label)
45 if (de.name[0] == 0xe5)
46 de.name[0] = 0x05;
47
48- now = time(NULL);
49- mtime = (now != (time_t)-1) ? localtime(&now) : NULL;
50+ source_date_epoch = getenv("SOURCE_DATE_EPOCH");
51+ if (source_date_epoch) {
52+ char *tmp = NULL;
53+ long long conversion = 0;
54+ errno = 0;
55+ conversion = strtoll(source_date_epoch, &tmp, 10);
56+ now = conversion;
57+ if (!isdigit((unsigned char)*source_date_epoch) || *tmp != '\0'
58+ || errno != 0 || (long long)now != conversion) {
59+ die("SOURCE_DATE_EPOCH is too big or contains non-digits: \"%s\"",
60+ source_date_epoch);
61+ }
62+ mtime = gmtime(&now);
63+ } else {
64+ now = time(NULL);
65+ mtime = (now != (time_t)-1) ? localtime(&now) : NULL;
66+ }
67+
68 if (mtime && mtime->tm_year >= 80 && mtime->tm_year <= 207) {
69 de.time = htole16((unsigned short)((mtime->tm_sec >> 1) +
70 (mtime->tm_min << 5) +
71diff --git a/src/common.c b/src/common.c
72index 6a2e396..4f1afcb 100644
73--- a/src/common.c
74+++ b/src/common.c
75@@ -30,6 +30,7 @@
76 #include <string.h>
77 #include <stdarg.h>
78 #include <errno.h>
79+#include <ctype.h>
80 #include <wctype.h>
81 #include <termios.h>
82 #include <sys/time.h>
83@@ -298,8 +299,21 @@ void check_atari(void)
84 uint32_t generate_volume_id(void)
85 {
86 struct timeval now;
87-
88- if (gettimeofday(&now, NULL) != 0 || now.tv_sec == (time_t)-1 || now.tv_sec < 0) {
89+ char *source_date_epoch = NULL;
90+
91+ source_date_epoch = getenv("SOURCE_DATE_EPOCH");
92+ if (source_date_epoch) {
93+ char *tmp = NULL;
94+ long long conversion = 0;
95+ errno = 0;
96+ conversion = strtoll(source_date_epoch, &tmp, 10);
97+ if (!isdigit((unsigned char)*source_date_epoch) || *tmp != '\0'
98+ || errno != 0) {
99+ die("SOURCE_DATE_EPOCH is too big or contains non-digits: \"%s\"",
100+ source_date_epoch);
101+ }
102+ return (uint32_t)conversion;
103+ } else if (gettimeofday(&now, NULL) != 0 || now.tv_sec == (time_t)-1 || now.tv_sec < 0) {
104 srand(getpid());
105 /* rand() returns int from [0,RAND_MAX], therefore only 31 bits */
106 return (((uint32_t)(rand() & 0xFFFF)) << 16) | ((uint32_t)(rand() & 0xFFFF));
107diff --git a/src/mkfs.fat.c b/src/mkfs.fat.c
108index 37fc8ff..1948635 100644
109--- a/src/mkfs.fat.c
110+++ b/src/mkfs.fat.c
111@@ -1074,7 +1074,7 @@ static void setup_tables(void)
112 }
113
114 /* If is not available then generate random 32 bit disk signature */
115- if (invariant)
116+ if (invariant || getenv("SOURCE_DATE_EPOCH"))
117 disk_sig = volume_id;
118 else if (!disk_sig)
119 disk_sig = generate_volume_id();
120@@ -1287,7 +1287,7 @@ static void setup_tables(void)
121 de->name[0] = 0x05;
122 de->attr = ATTR_VOLUME;
123 if (create_time != (time_t)-1) {
124- if (!invariant)
125+ if (!invariant && !getenv("SOURCE_DATE_EPOCH"))
126 ctime = localtime(&create_time);
127 else
128 ctime = gmtime(&create_time);
129@@ -1477,6 +1477,7 @@ int main(int argc, char **argv)
130 int blocks_specified = 0;
131 struct timeval create_timeval;
132 long long conversion;
133+ char *source_date_epoch = NULL;
134
135 enum {OPT_HELP=1000, OPT_INVARIANT, OPT_MBR, OPT_VARIANT, OPT_CODEPAGE, OPT_OFFSET};
136 const struct option long_options[] = {
137@@ -1497,8 +1498,20 @@ int main(int argc, char **argv)
138 program_name = p + 1;
139 }
140
141- if (gettimeofday(&create_timeval, NULL) == 0 && create_timeval.tv_sec != (time_t)-1)
142+ source_date_epoch = getenv("SOURCE_DATE_EPOCH");
143+ if (source_date_epoch) {
144+ errno = 0;
145+ conversion = strtoll(source_date_epoch, &tmp, 10);
146+ create_time = conversion;
147+ if (!isdigit((unsigned char)*source_date_epoch) || *tmp != '\0'
148+ || errno != 0 || (long long)create_time != conversion) {
149+ die("SOURCE_DATE_EPOCH is too big or contains non-digits: \"%s\"",
150+ source_date_epoch);
151+ }
152+ } else if (gettimeofday(&create_timeval, NULL) == 0 && create_timeval.tv_sec != (time_t)-1) {
153 create_time = create_timeval.tv_sec;
154+ }
155+
156 volume_id = generate_volume_id();
157 check_atari();
158
diff --git a/meta/recipes-devtools/dosfstools/dosfstools_4.2.bb b/meta/recipes-devtools/dosfstools/dosfstools_4.2.bb
index 47d81dac8d..86fb68f664 100644
--- a/meta/recipes-devtools/dosfstools/dosfstools_4.2.bb
+++ b/meta/recipes-devtools/dosfstools/dosfstools_4.2.bb
@@ -10,7 +10,10 @@ LICENSE = "GPL-3.0-only"
10LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" 10LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
11 11
12SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${BP}.tar.gz \ 12SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${BP}.tar.gz \
13 " 13 file://source-date-epoch.patch \
14 file://0001-fsck.fat-Adhere-to-the-fsck-exit-codes.patch \
15 file://0002-manpages-Document-fsck.fat-new-exit-codes.patch \
16 "
14SRC_URI[sha256sum] = "64926eebf90092dca21b14259a5301b7b98e7b1943e8a201c7d726084809b527" 17SRC_URI[sha256sum] = "64926eebf90092dca21b14259a5301b7b98e7b1943e8a201c7d726084809b527"
15 18
16inherit autotools gettext pkgconfig update-alternatives github-releases 19inherit autotools gettext pkgconfig update-alternatives github-releases
diff --git a/meta/recipes-devtools/dpkg/dpkg.inc b/meta/recipes-devtools/dpkg/dpkg.inc
index 4c1d42e0af..f87d0739ad 100644
--- a/meta/recipes-devtools/dpkg/dpkg.inc
+++ b/meta/recipes-devtools/dpkg/dpkg.inc
@@ -33,7 +33,6 @@ EXTRA_OECONF:append:class-nativesdk = " --disable-update-alternatives DEB_HOST_A
33PACKAGECONFIG = "liblzma" 33PACKAGECONFIG = "liblzma"
34PACKAGECONFIG[liblzma] = "--with-liblzma,--without-liblzma, xz" 34PACKAGECONFIG[liblzma] = "--with-liblzma,--without-liblzma, xz"
35 35
36
37#autotools.bbclass default AUTOTOOLS_AUXDIR is ${S}, we need to under ${S}/build-aux 36#autotools.bbclass default AUTOTOOLS_AUXDIR is ${S}, we need to under ${S}/build-aux
38AUTOTOOLS_AUXDIR = "${S}/build-aux" 37AUTOTOOLS_AUXDIR = "${S}/build-aux"
39 38
@@ -43,6 +42,8 @@ do_configure:prepend () {
43 # update dselect/po and scripts/po 42 # update dselect/po and scripts/po
44 cp -f ${STAGING_DATADIR_NATIVE}/gettext/po/Makefile.in.in ${S}/dselect/po/ 43 cp -f ${STAGING_DATADIR_NATIVE}/gettext/po/Makefile.in.in ${S}/dselect/po/
45 cp -f ${STAGING_DATADIR_NATIVE}/gettext/po/Makefile.in.in ${S}/scripts/po/ 44 cp -f ${STAGING_DATADIR_NATIVE}/gettext/po/Makefile.in.in ${S}/scripts/po/
45
46 [ ! -e ${S}/.dist-version ] && echo ${PV} > ${S}/.dist-version
46} 47}
47 48
48do_install:append () { 49do_install:append () {
diff --git a/meta/recipes-devtools/dpkg/dpkg/0001-Add-support-for-riscv32-CPU.patch b/meta/recipes-devtools/dpkg/dpkg/0001-Add-support-for-riscv32-CPU.patch
index b8a8697585..8943f6c2f0 100644
--- a/meta/recipes-devtools/dpkg/dpkg/0001-Add-support-for-riscv32-CPU.patch
+++ b/meta/recipes-devtools/dpkg/dpkg/0001-Add-support-for-riscv32-CPU.patch
@@ -1,9 +1,9 @@
1From 21459bb8d9a997e6a92885a4ef337ede9cc5aba7 Mon Sep 17 00:00:00 2001 1From 5c332c2a4625519a2b6065b9d9fc724e84c9b6d6 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 29 Apr 2020 22:02:23 -0700 3Date: Wed, 29 Apr 2020 22:02:23 -0700
4Subject: [PATCH] Add support for riscv32 CPU 4Subject: [PATCH] Add support for riscv32 CPU
5 5
6Upstream-Status: Pending 6Upstream-Status: Inappropriate [not a debian architecture]
7Signed-off-by: Khem Raj <raj.khem@gmail.com> 7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8--- 8---
9 data/cputable | 1 + 9 data/cputable | 1 +
@@ -23,10 +23,10 @@ index 575c008e3..7a801a03a 100644
23 s390 s390 s390 32 big 23 s390 s390 s390 32 big
24 s390x s390x s390x 64 big 24 s390x s390x s390x 64 big
25diff --git a/scripts/Dpkg/Vendor/Debian.pm b/scripts/Dpkg/Vendor/Debian.pm 25diff --git a/scripts/Dpkg/Vendor/Debian.pm b/scripts/Dpkg/Vendor/Debian.pm
26index fcf5b1e2a..175c9f436 100644 26index edf94bc19..d76f97494 100644
27--- a/scripts/Dpkg/Vendor/Debian.pm 27--- a/scripts/Dpkg/Vendor/Debian.pm
28+++ b/scripts/Dpkg/Vendor/Debian.pm 28+++ b/scripts/Dpkg/Vendor/Debian.pm
29@@ -202,6 +202,7 @@ sub set_build_features { 29@@ -216,6 +216,7 @@ sub set_build_features {
30 powerpc 30 powerpc
31 ppc64 31 ppc64
32 ppc64el 32 ppc64el
diff --git a/meta/recipes-devtools/dpkg/dpkg/0001-build.c-ignore-return-of-1-from-tar-cf.patch b/meta/recipes-devtools/dpkg/dpkg/0001-build.c-ignore-return-of-1-from-tar-cf.patch
index 95a49053e8..185bbb90f1 100644
--- a/meta/recipes-devtools/dpkg/dpkg/0001-build.c-ignore-return-of-1-from-tar-cf.patch
+++ b/meta/recipes-devtools/dpkg/dpkg/0001-build.c-ignore-return-of-1-from-tar-cf.patch
@@ -1,4 +1,4 @@
1From 4c5e6c280a2ab4d2009d3264e94286f5fe244d0b Mon Sep 17 00:00:00 2001 1From 067992f2d0b0ff6ca114031636eb0e1eac791892 Mon Sep 17 00:00:00 2001
2From: Paul Eggleton <paul.eggleton@linux.microsoft.com> 2From: Paul Eggleton <paul.eggleton@linux.microsoft.com>
3Date: Tue, 16 Jun 2020 03:57:25 +0000 3Date: Tue, 16 Jun 2020 03:57:25 +0000
4Subject: [PATCH] build.c: ignore return of 1 from tar -cf 4Subject: [PATCH] build.c: ignore return of 1 from tar -cf
@@ -28,7 +28,7 @@ Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
28 1 file changed, 4 insertions(+), 1 deletion(-) 28 1 file changed, 4 insertions(+), 1 deletion(-)
29 29
30diff --git a/src/deb/build.c b/src/deb/build.c 30diff --git a/src/deb/build.c b/src/deb/build.c
31index 92aba9553..6436b33da 100644 31index 87bd4142e..e85fd7d0f 100644
32--- a/src/deb/build.c 32--- a/src/deb/build.c
33+++ b/src/deb/build.c 33+++ b/src/deb/build.c
34@@ -481,6 +481,7 @@ tarball_pack(const char *dir, filenames_feed_func *tar_filenames_feeder, 34@@ -481,6 +481,7 @@ tarball_pack(const char *dir, filenames_feed_func *tar_filenames_feeder,
diff --git a/meta/recipes-devtools/dpkg/dpkg/0001-dpkg-Support-muslx32-build.patch b/meta/recipes-devtools/dpkg/dpkg/0001-dpkg-Support-muslx32-build.patch
index e8d8576f85..67fce89d80 100644
--- a/meta/recipes-devtools/dpkg/dpkg/0001-dpkg-Support-muslx32-build.patch
+++ b/meta/recipes-devtools/dpkg/dpkg/0001-dpkg-Support-muslx32-build.patch
@@ -1,9 +1,9 @@
1From 1d192b60fc43e24e1c2d6ff452dabeee7a227cc0 Mon Sep 17 00:00:00 2001 1From df6c641e3fc248d0c864e4e752c4609412067df7 Mon Sep 17 00:00:00 2001
2From: sweeaun <swee.aun.khor@intel.com> 2From: sweeaun <swee.aun.khor@intel.com>
3Date: Sun, 10 Sep 2017 00:14:15 -0700 3Date: Sun, 10 Sep 2017 00:14:15 -0700
4Subject: [PATCH] dpkg: Support muslx32 build 4Subject: [PATCH] dpkg: Support muslx32 build
5 5
6Upstream-Status: Pending 6Upstream-Status: Inappropriate [not a debian architecture]
7Changes made on ostable and tupletable to enable muslx32 build. 7Changes made on ostable and tupletable to enable muslx32 build.
8 8
9Signed-off-by: sweeaun <swee.aun.khor@intel.com> 9Signed-off-by: sweeaun <swee.aun.khor@intel.com>
diff --git a/meta/recipes-devtools/dpkg/dpkg/0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch b/meta/recipes-devtools/dpkg/dpkg/0001-script.c-avoid-use-of-chroot.patch
index 916c7dfb00..d0459cd017 100644
--- a/meta/recipes-devtools/dpkg/dpkg/0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch
+++ b/meta/recipes-devtools/dpkg/dpkg/0001-script.c-avoid-use-of-chroot.patch
@@ -1,9 +1,11 @@
1From b6c28222276704a1e1a544983e38dfa2f3fb481a Mon Sep 17 00:00:00 2001 1From 5e5f06d396fe631990474ba6df83428987855365 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Wed, 26 Aug 2015 16:25:45 +0300 3Date: Wed, 26 Aug 2015 16:25:45 +0300
4Subject: [PATCH] Our pre/postinsts expect $D to be set when running in a 4Subject: [PATCH] script.c: avoid use of chroot
5 sysroot and don't expect a chroot. This matches up our system expectations 5
6 with what dpkg does. 6Our pre/postinsts expect $D to be set when running in a sysroot and
7don't expect a chroot. This matches up our system expectations with what
8dpkg does.
7 9
8Upstream-Status: Inappropriate [OE Specific] 10Upstream-Status: Inappropriate [OE Specific]
9 11
@@ -11,15 +13,19 @@ RP 2011/12/07
11ALIMON 2016/05/26 13ALIMON 2016/05/26
12ALIMON 2017/02/21 14ALIMON 2017/02/21
13KKang 2019/02/20 15KKang 2019/02/20
16
17Refresh to apply on top of v1.22.10.
18
19Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
14--- 20---
15 src/main/script.c | 53 +++-------------------------------------------- 21 src/main/script.c | 52 +++--------------------------------------------
16 1 file changed, 3 insertions(+), 50 deletions(-) 22 1 file changed, 3 insertions(+), 49 deletions(-)
17 23
18diff --git a/src/main/script.c b/src/main/script.c 24diff --git a/src/main/script.c b/src/main/script.c
19index 017d92efe..181e7c710 100644 25index e9aee0bf9..181e7c710 100644
20--- a/src/main/script.c 26--- a/src/main/script.c
21+++ b/src/main/script.c 27+++ b/src/main/script.c
22@@ -97,58 +97,11 @@ static const char * 28@@ -97,57 +97,11 @@ static const char *
23 maintscript_pre_exec(struct command *cmd) 29 maintscript_pre_exec(struct command *cmd)
24 { 30 {
25 const char *instdir = dpkg_fsys_get_dir(); 31 const char *instdir = dpkg_fsys_get_dir();
@@ -62,9 +68,8 @@ index 017d92efe..181e7c710 100644
62- varbuf_add_char(&args, ' '); 68- varbuf_add_char(&args, ' ');
63- varbuf_add_str(&args, *argv); 69- varbuf_add_str(&args, *argv);
64- } 70- }
65- varbuf_end_str(&args);
66- debug(dbg_scripts, "fork/exec %s (%s )", cmd->filename, 71- debug(dbg_scripts, "fork/exec %s (%s )", cmd->filename,
67- args.buf); 72- varbuf_str(&args));
68- varbuf_destroy(&args); 73- varbuf_destroy(&args);
69+ if (*instdir) { 74+ if (*instdir) {
70+ setenv("D", instdir, 1); 75+ setenv("D", instdir, 1);
diff --git a/meta/recipes-devtools/dpkg/dpkg/0002-Adapt-to-linux-wrs-kernel-version-which-has-characte.patch b/meta/recipes-devtools/dpkg/dpkg/0002-Adapt-to-linux-wrs-kernel-version-which-has-characte.patch
index fc097e5a66..a5c80773a5 100644
--- a/meta/recipes-devtools/dpkg/dpkg/0002-Adapt-to-linux-wrs-kernel-version-which-has-characte.patch
+++ b/meta/recipes-devtools/dpkg/dpkg/0002-Adapt-to-linux-wrs-kernel-version-which-has-characte.patch
@@ -1,4 +1,4 @@
1From 0cac67ce5920d6d0c9df4278bfa77da878a8a37a Mon Sep 17 00:00:00 2001 1From 6e88e8b7b6924751112966f329525956735de9b4 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Wed, 26 Aug 2015 16:16:16 +0300 3Date: Wed, 26 Aug 2015 16:16:16 +0300
4Subject: [PATCH] Adapt to linux-wrs kernel version, which has character '_' 4Subject: [PATCH] Adapt to linux-wrs kernel version, which has character '_'
@@ -13,10 +13,10 @@ Upstream-Status: Inappropriate [embedded specific]
13 1 file changed, 2 insertions(+), 4 deletions(-) 13 1 file changed, 2 insertions(+), 4 deletions(-)
14 14
15diff --git a/lib/dpkg/parsehelp.c b/lib/dpkg/parsehelp.c 15diff --git a/lib/dpkg/parsehelp.c b/lib/dpkg/parsehelp.c
16index 63a36f55c..81901bd5a 100644 16index a999b5e78..7be0378ab 100644
17--- a/lib/dpkg/parsehelp.c 17--- a/lib/dpkg/parsehelp.c
18+++ b/lib/dpkg/parsehelp.c 18+++ b/lib/dpkg/parsehelp.c
19@@ -275,14 +275,12 @@ parseversion(struct dpkg_version *rversion, const char *string, 19@@ -291,14 +291,12 @@ parseversion(struct dpkg_version *rversion, const char *string,
20 ptr = rversion->version; 20 ptr = rversion->version;
21 if (!*ptr) 21 if (!*ptr)
22 return dpkg_put_error(err, _("version number is empty")); 22 return dpkg_put_error(err, _("version number is empty"));
diff --git a/meta/recipes-devtools/dpkg/dpkg/0004-The-lutimes-function-doesn-t-work-properly-for-all-s.patch b/meta/recipes-devtools/dpkg/dpkg/0004-The-lutimes-function-doesn-t-work-properly-for-all-s.patch
index 35c0c246f6..e49d54152c 100644
--- a/meta/recipes-devtools/dpkg/dpkg/0004-The-lutimes-function-doesn-t-work-properly-for-all-s.patch
+++ b/meta/recipes-devtools/dpkg/dpkg/0004-The-lutimes-function-doesn-t-work-properly-for-all-s.patch
@@ -1,4 +1,4 @@
1From 80ad29d22f8ca4033a6a79a726580fee17bdade9 Mon Sep 17 00:00:00 2001 1From 0fc90a3ed01a7fce34de925979460638b8a57402 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Wed, 26 Aug 2015 16:27:45 +0300 3Date: Wed, 26 Aug 2015 16:27:45 +0300
4Subject: [PATCH] The lutimes function doesn't work properly for all systems. 4Subject: [PATCH] The lutimes function doesn't work properly for all systems.
@@ -11,10 +11,10 @@ Upstream-Status: Inappropriate [embedded specific]
11 1 file changed, 2 insertions(+), 1 deletion(-) 11 1 file changed, 2 insertions(+), 1 deletion(-)
12 12
13diff --git a/src/main/archives.c b/src/main/archives.c 13diff --git a/src/main/archives.c b/src/main/archives.c
14index 7e399f922..ec3b6878f 100644 14index d7279e1f5..f9c6facc9 100644
15--- a/src/main/archives.c 15--- a/src/main/archives.c
16+++ b/src/main/archives.c 16+++ b/src/main/archives.c
17@@ -491,8 +491,9 @@ tarobject_set_mtime(struct tar_entry *te, const char *path) 17@@ -490,8 +490,9 @@ tarobject_set_mtime(struct tar_entry *te, const char *path)
18 18
19 if (te->type == TAR_FILETYPE_SYMLINK) { 19 if (te->type == TAR_FILETYPE_SYMLINK) {
20 #ifdef HAVE_LUTIMES 20 #ifdef HAVE_LUTIMES
diff --git a/meta/recipes-devtools/dpkg/dpkg/0006-add-musleabi-to-known-target-tripets.patch b/meta/recipes-devtools/dpkg/dpkg/0006-add-musleabi-to-known-target-tripets.patch
index 8ac646b1a1..4f60a89a56 100644
--- a/meta/recipes-devtools/dpkg/dpkg/0006-add-musleabi-to-known-target-tripets.patch
+++ b/meta/recipes-devtools/dpkg/dpkg/0006-add-musleabi-to-known-target-tripets.patch
@@ -1,4 +1,4 @@
1From 1c9e78dda91ba66fbd8fe02b66b6c603d08d3343 Mon Sep 17 00:00:00 2001 1From e3dc69aa987b379e247dde3fce479e43be6c81aa Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 30 Dec 2015 23:05:41 +0000 3Date: Wed, 30 Dec 2015 23:05:41 +0000
4Subject: [PATCH] add musleabi to known target tripets 4Subject: [PATCH] add musleabi to known target tripets
@@ -8,7 +8,7 @@ Content-Transfer-Encoding: 8bit
8 8
9helps compiling dpkg for musl/arm-softfloat 9helps compiling dpkg for musl/arm-softfloat
10 10
11Upstream-Status: Pending 11Upstream-Status: Inappropriate [not a debian architecture]
12Signed-off-by: Khem Raj <raj.khem@gmail.com> 12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> 13Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
14--- 14---
diff --git a/meta/recipes-devtools/dpkg/dpkg/0007-dpkg-deb-build.c-Remove-usage-of-clamp-mtime-in-tar.patch b/meta/recipes-devtools/dpkg/dpkg/0007-dpkg-deb-build.c-Remove-usage-of-clamp-mtime-in-tar.patch
index 3d3a4f0bb9..ded1707dfd 100644
--- a/meta/recipes-devtools/dpkg/dpkg/0007-dpkg-deb-build.c-Remove-usage-of-clamp-mtime-in-tar.patch
+++ b/meta/recipes-devtools/dpkg/dpkg/0007-dpkg-deb-build.c-Remove-usage-of-clamp-mtime-in-tar.patch
@@ -1,4 +1,4 @@
1From 6dd80236a91a505b5753bb74e5f1b47330d8b16b Mon Sep 17 00:00:00 2001 1From 20ba7fd8939e97bec3d70a67c0aac76ddc67898d Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?An=C3=ADbal=20Lim=C3=B3n?= <anibal.limon@linux.intel.com> 2From: =?UTF-8?q?An=C3=ADbal=20Lim=C3=B3n?= <anibal.limon@linux.intel.com>
3Date: Tue, 21 Feb 2017 11:23:27 -0600 3Date: Tue, 21 Feb 2017 11:23:27 -0600
4Subject: [PATCH] dpkg-deb/build.c: Remove usage of --clamp-mtime in tar 4Subject: [PATCH] dpkg-deb/build.c: Remove usage of --clamp-mtime in tar
@@ -27,7 +27,7 @@ Signed-off-by: Kai Kang <kai.kang@windriver.com>
27 1 file changed, 1 insertion(+), 1 deletion(-) 27 1 file changed, 1 insertion(+), 1 deletion(-)
28 28
29diff --git a/src/deb/build.c b/src/deb/build.c 29diff --git a/src/deb/build.c b/src/deb/build.c
30index 1f0c050ee..92aba9553 100644 30index a418dd122..87bd4142e 100644
31--- a/src/deb/build.c 31--- a/src/deb/build.c
32+++ b/src/deb/build.c 32+++ b/src/deb/build.c
33@@ -504,7 +504,7 @@ tarball_pack(const char *dir, filenames_feed_func *tar_filenames_feeder, 33@@ -504,7 +504,7 @@ tarball_pack(const char *dir, filenames_feed_func *tar_filenames_feeder,
diff --git a/meta/recipes-devtools/dpkg/dpkg/add_armeb_triplet_entry.patch b/meta/recipes-devtools/dpkg/dpkg/add_armeb_triplet_entry.patch
index cbdf01dbd9..d1fac2168a 100644
--- a/meta/recipes-devtools/dpkg/dpkg/add_armeb_triplet_entry.patch
+++ b/meta/recipes-devtools/dpkg/dpkg/add_armeb_triplet_entry.patch
@@ -1,14 +1,12 @@
1From 1c3a109df54b6092fa85a1fe2b7771e3b959655f Mon Sep 17 00:00:00 2001 1From 8ded32a35287a840de7e505c66e76cccd9edbac6 Mon Sep 17 00:00:00 2001
2From: "Krishnanjanappa, Jagadeesh" 2From: "Krishnanjanappa, Jagadeesh"
3 <jagadeesh.krishnanjanappa@caviumnetworks.com> 3 <jagadeesh.krishnanjanappa@caviumnetworks.com>
4Date: Wed, 8 Apr 2015 18:08:14 +0530 4Date: Wed, 8 Apr 2015 18:08:14 +0530
5Subject: [PATCH] dpkg: add triplet entry to fix build error for armeb 5Subject: [PATCH] add armeb triplet entry into triplettable.
6MIME-Version: 1.0 6MIME-Version: 1.0
7Content-Type: text/plain; charset=UTF-8 7Content-Type: text/plain; charset=UTF-8
8Content-Transfer-Encoding: 8bit 8Content-Transfer-Encoding: 8bit
9 9
10[PATCH] add armeb triplet entry into triplettable.
11
12Cross-compling dpkg application for armeb fails with below error 10Cross-compling dpkg application for armeb fails with below error
13during configure task, 11during configure task,
14 12
@@ -27,7 +25,7 @@ the required combination of "gnueabi-linux-armeb" was not found in
27the triplettable file thereby returning dpkg_arch as 25the triplettable file thereby returning dpkg_arch as
28empty in configure script. 26empty in configure script.
29 27
30Upstream-Status: Pending 28Upstream-Status: Inappropriate [not a debian architecture]
31 29
32Signed-off-by: Krishnanjanappa, Jagadeesh <jagadeesh.krishnanjanappa@caviumnetworks.com> 30Signed-off-by: Krishnanjanappa, Jagadeesh <jagadeesh.krishnanjanappa@caviumnetworks.com>
33Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> 31Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
diff --git a/meta/recipes-devtools/dpkg/dpkg/arch_pm.patch b/meta/recipes-devtools/dpkg/dpkg/arch_pm.patch
index df2cd88ca4..b5a29231dd 100644
--- a/meta/recipes-devtools/dpkg/dpkg/arch_pm.patch
+++ b/meta/recipes-devtools/dpkg/dpkg/arch_pm.patch
@@ -1,4 +1,4 @@
1From bdf60ebbeb433a80e6cfcbde9d83d89564e79e20 Mon Sep 17 00:00:00 2001 1From 812dbb64f2805a3257ef9c9a61abbd10e0b3a08c Mon Sep 17 00:00:00 2001
2From: Joe Slater <jslater@windriver.com> 2From: Joe Slater <jslater@windriver.com>
3Date: Mon, 26 Aug 2013 23:38:45 +0000 3Date: Mon, 26 Aug 2013 23:38:45 +0000
4Subject: [PATCH] dpkg: fix configuration issue for mips64 4Subject: [PATCH] dpkg: fix configuration issue for mips64
@@ -8,7 +8,7 @@ architecture for mips64, and possibly other arch's
8because of faulty code added to Arch.pm in the latest 8because of faulty code added to Arch.pm in the latest
9release from upstream. We remove that code. 9release from upstream. We remove that code.
10 10
11Upstream-Status: Pending 11Upstream-Status: Inappropriate [not a debian architecture]
12 12
13Signed-off-by: Joe Slater <jslater@windriver.com> 13Signed-off-by: Joe Slater <jslater@windriver.com>
14--- 14---
diff --git a/meta/recipes-devtools/dpkg/dpkg/noman.patch b/meta/recipes-devtools/dpkg/dpkg/noman.patch
index e80549d740..3f3e08351c 100644
--- a/meta/recipes-devtools/dpkg/dpkg/noman.patch
+++ b/meta/recipes-devtools/dpkg/dpkg/noman.patch
@@ -1,4 +1,4 @@
1From 008ec5150dd086ffa3940cb520f1ca91939f138d Mon Sep 17 00:00:00 2001 1From e671b43a52bf5785fe4aad84712dbabc6c86b39e Mon Sep 17 00:00:00 2001
2From: Chris Larson <kergoth@openedhand.com> 2From: Chris Larson <kergoth@openedhand.com>
3Date: Tue, 5 Sep 2006 07:24:58 +0000 3Date: Tue, 5 Sep 2006 07:24:58 +0000
4Subject: [PATCH] Add dpkg, modified from upstream oe. 4Subject: [PATCH] Add dpkg, modified from upstream oe.
@@ -9,7 +9,7 @@ Upstream-Status: Inappropriate [disable feature]
9 1 file changed, 1 deletion(-) 9 1 file changed, 1 deletion(-)
10 10
11diff --git a/Makefile.am b/Makefile.am 11diff --git a/Makefile.am b/Makefile.am
12index 7186045d4..daca9faf2 100644 12index 74f8df197..35e5eee39 100644
13--- a/Makefile.am 13--- a/Makefile.am
14+++ b/Makefile.am 14+++ b/Makefile.am
15@@ -11,7 +11,6 @@ SUBDIRS = \ 15@@ -11,7 +11,6 @@ SUBDIRS = \
diff --git a/meta/recipes-devtools/dpkg/dpkg/remove-tar-no-timestamp.patch b/meta/recipes-devtools/dpkg/dpkg/remove-tar-no-timestamp.patch
index 9307725e8b..d3a1a13098 100644
--- a/meta/recipes-devtools/dpkg/dpkg/remove-tar-no-timestamp.patch
+++ b/meta/recipes-devtools/dpkg/dpkg/remove-tar-no-timestamp.patch
@@ -1,4 +1,4 @@
1From add92699ca1397205e1d7b46c3ab43de06b9a6c7 Mon Sep 17 00:00:00 2001 1From 7d69de114aa696cfb5e31b491a657ca6b6cbbbd5 Mon Sep 17 00:00:00 2001
2From: Constantin Musca <constantinx.musca@intel.com> 2From: Constantin Musca <constantinx.musca@intel.com>
3Date: Tue, 28 Aug 2012 17:02:40 +0300 3Date: Tue, 28 Aug 2012 17:02:40 +0300
4Subject: [PATCH] busybox-1.19.4 tar utility doesn't support 4Subject: [PATCH] busybox-1.19.4 tar utility doesn't support
@@ -12,7 +12,7 @@ Upstream-Status: Inappropriate [configuration]
12 1 file changed, 1 deletion(-) 12 1 file changed, 1 deletion(-)
13 13
14diff --git a/src/deb/extract.c b/src/deb/extract.c 14diff --git a/src/deb/extract.c b/src/deb/extract.c
15index 8b78a7eab..fd7595808 100644 15index 08b281564..c35a182ee 100644
16--- a/src/deb/extract.c 16--- a/src/deb/extract.c
17+++ b/src/deb/extract.c 17+++ b/src/deb/extract.c
18@@ -338,7 +338,6 @@ extracthalf(const char *debar, const char *dir, 18@@ -338,7 +338,6 @@ extracthalf(const char *debar, const char *dir,
diff --git a/meta/recipes-devtools/dpkg/dpkg_1.22.6.bb b/meta/recipes-devtools/dpkg/dpkg_1.22.11.bb
index 3f5f7395e0..adceebf8e6 100644
--- a/meta/recipes-devtools/dpkg/dpkg_1.22.6.bb
+++ b/meta/recipes-devtools/dpkg/dpkg_1.22.11.bb
@@ -7,7 +7,7 @@ SRC_URI = "git://salsa.debian.org/dpkg-team/dpkg.git;protocol=https;branch=main
7 file://arch_pm.patch \ 7 file://arch_pm.patch \
8 file://add_armeb_triplet_entry.patch \ 8 file://add_armeb_triplet_entry.patch \
9 file://0002-Adapt-to-linux-wrs-kernel-version-which-has-characte.patch \ 9 file://0002-Adapt-to-linux-wrs-kernel-version-which-has-characte.patch \
10 file://0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch \ 10 file://0001-script.c-avoid-use-of-chroot.patch \
11 file://0004-The-lutimes-function-doesn-t-work-properly-for-all-s.patch \ 11 file://0004-The-lutimes-function-doesn-t-work-properly-for-all-s.patch \
12 file://0006-add-musleabi-to-known-target-tripets.patch \ 12 file://0006-add-musleabi-to-known-target-tripets.patch \
13 file://0007-dpkg-deb-build.c-Remove-usage-of-clamp-mtime-in-tar.patch \ 13 file://0007-dpkg-deb-build.c-Remove-usage-of-clamp-mtime-in-tar.patch \
@@ -17,6 +17,5 @@ SRC_URI = "git://salsa.debian.org/dpkg-team/dpkg.git;protocol=https;branch=main
17 17
18SRC_URI:append:class-native = " file://0001-build.c-ignore-return-of-1-from-tar-cf.patch" 18SRC_URI:append:class-native = " file://0001-build.c-ignore-return-of-1-from-tar-cf.patch"
19 19
20SRCREV = "b2f9600ead232a2dd3c27f8b52807a9ca5854d17" 20SRCREV = "ee7e9118d0a9581cb00c5ce02dccd561b3096387"
21 21
22S = "${WORKDIR}/git"
diff --git a/meta/recipes-devtools/dwarfsrcfiles/dwarfsrcfiles.bb b/meta/recipes-devtools/dwarfsrcfiles/dwarfsrcfiles.bb
index c596497b8e..c1eca13107 100644
--- a/meta/recipes-devtools/dwarfsrcfiles/dwarfsrcfiles.bb
+++ b/meta/recipes-devtools/dwarfsrcfiles/dwarfsrcfiles.bb
@@ -1,19 +1,21 @@
1SUMMARY = "A small utility for printing debug source file locations embedded in binaries" 1SUMMARY = "A small utility for printing debug source file locations embedded in binaries"
2DESCRIPTION = "${SUMMARY}" 2DESCRIPTION = "${SUMMARY}"
3LICENSE = "GPL-2.0-or-later" 3LICENSE = "GPL-2.0-or-later"
4LIC_FILES_CHKSUM = "file://../dwarfsrcfiles.c;md5=31483894e453a77acbb67847565f1b5c;beginline=1;endline=8" 4LIC_FILES_CHKSUM = "file://dwarfsrcfiles.c;md5=31483894e453a77acbb67847565f1b5c;beginline=1;endline=8"
5 5
6SRC_URI = "file://dwarfsrcfiles.c" 6SRC_URI = "file://dwarfsrcfiles.c"
7BBCLASSEXTEND = "native" 7BBCLASSEXTEND = "native"
8DEPENDS = "elfutils" 8DEPENDS = "elfutils"
9DEPENDS:append:libc-musl = " argp-standalone" 9DEPENDS:append:libc-musl = " argp-standalone"
10 10
11S = "${UNPACKDIR}"
12
11do_compile () { 13do_compile () {
12 ${CC} ${CFLAGS} ${LDFLAGS} -o dwarfsrcfiles ../dwarfsrcfiles.c -lelf -ldw 14 ${CC} ${CFLAGS} ${LDFLAGS} -o dwarfsrcfiles ${S}/dwarfsrcfiles.c -lelf -ldw
13} 15}
14 16
15do_compile:libc-musl () { 17do_compile:libc-musl () {
16 ${CC} ${CFLAGS} ${LDFLAGS} -o dwarfsrcfiles ../dwarfsrcfiles.c -lelf -ldw -largp 18 ${CC} ${CFLAGS} ${LDFLAGS} -o dwarfsrcfiles ${S}/dwarfsrcfiles.c -lelf -ldw -largp
17} 19}
18 20
19do_install () { 21do_install () {
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs.inc b/meta/recipes-devtools/e2fsprogs/e2fsprogs.inc
index 0cb3f0e6a6..cce6e5f1ac 100644
--- a/meta/recipes-devtools/e2fsprogs/e2fsprogs.inc
+++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs.inc
@@ -20,7 +20,6 @@ SECTION = "base"
20DEPENDS = "util-linux attr autoconf-archive-native" 20DEPENDS = "util-linux attr autoconf-archive-native"
21 21
22SRC_URI = "git://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git;branch=master;protocol=https" 22SRC_URI = "git://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git;branch=master;protocol=https"
23S = "${WORKDIR}/git"
24 23
25inherit autotools gettext texinfo pkgconfig multilib_header update-alternatives ptest 24inherit autotools gettext texinfo pkgconfig multilib_header update-alternatives ptest
26 25
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-libext2fs-fix-std-c23-build-failure.patch b/meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-libext2fs-fix-std-c23-build-failure.patch
new file mode 100644
index 0000000000..01ab9d5afb
--- /dev/null
+++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-libext2fs-fix-std-c23-build-failure.patch
@@ -0,0 +1,42 @@
1From 72dcef02bee9924c4d5b3dc6e7ef4d07becebcc6 Mon Sep 17 00:00:00 2001
2From: Rudi Heitbaum <rudi@heitbaum.com>
3Date: Fri, 22 Nov 2024 12:36:32 +0000
4Subject: [PATCH] libext2fs: fix -std=c23 build failure
5
6gcc-15 switched to -std=c23 by default:
7
8 https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=55e3bd376b2214e200fa76d12b67ff259b06c212
9
10As a result `e2fsprogs` fails the build so only typedef int bool
11for __STDC_VERSION__ <= 201710L (C17)
12
13 ../../../lib/ext2fs/tdb.c:113:13: error: two or more data types in declaration specifiers
14 ../../../lib/ext2fs/tdb.c:113:1: warning: useless type name in empty declaration
15 113 | typedef int bool;
16 | ^~~~~~~
17
18https://github.com/tytso/e2fsprogs/issues/202
19
20Upstream-Status: Backport [https://github.com/tytso/e2fsprogs/commit/49fd04d77b3244c6c6990be41142168eef373aef]
21Signed-off-by: Rudi Heitbaum <rudi@heitbaum.com>
22Link: https://lore.kernel.org/r/Z0B60JhdvT9bpSQ6@6f91903e89da
23Signed-off-by: Theodore Ts'o <tytso@mit.edu>
24Signed-off-by: Khem Raj <raj.khem@gmail.com>
25---
26 lib/ext2fs/tdb.c | 2 ++
27 1 file changed, 2 insertions(+)
28
29diff --git a/lib/ext2fs/tdb.c b/lib/ext2fs/tdb.c
30index b07b2917..98dc95d8 100644
31--- a/lib/ext2fs/tdb.c
32+++ b/lib/ext2fs/tdb.c
33@@ -110,7 +110,9 @@ static char *rep_strdup(const char *s)
34 #endif
35 #endif
36
37+#if defined __STDC__ && defined __STDC_VERSION__ && __STDC_VERSION__ <= 201710L
38 typedef int bool;
39+#endif
40
41 #include "tdb.h"
42
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs/e2fsprogs-fix-missing-check-for-permission-denied.patch b/meta/recipes-devtools/e2fsprogs/e2fsprogs/e2fsprogs-fix-missing-check-for-permission-denied.patch
index b038e61eb7..4cd1098597 100644
--- a/meta/recipes-devtools/e2fsprogs/e2fsprogs/e2fsprogs-fix-missing-check-for-permission-denied.patch
+++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs/e2fsprogs-fix-missing-check-for-permission-denied.patch
@@ -1,4 +1,4 @@
1From 5bc75654690a2d916190168b865770a7c93e65dd Mon Sep 17 00:00:00 2001 1From 1c7078fda6d23f1d80b0d95ac3e908364749e188 Mon Sep 17 00:00:00 2001
2From: Jackie Huang <jackie.huang@windriver.com> 2From: Jackie Huang <jackie.huang@windriver.com>
3Date: Wed, 10 Aug 2016 11:19:44 +0800 3Date: Wed, 10 Aug 2016 11:19:44 +0800
4Subject: [PATCH] Fix missing check for permission denied. 4Subject: [PATCH] Fix missing check for permission denied.
@@ -13,7 +13,6 @@ Upstream-Status: Pending
13Written-by: Henrik Wallin <henrik.b.wallin@ericsson.com> 13Written-by: Henrik Wallin <henrik.b.wallin@ericsson.com>
14 14
15Signed-off-by: Jackie Huang <jackie.huang@windriver.com> 15Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
16
17--- 16---
18 lib/support/profile.c | 2 +- 17 lib/support/profile.c | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-) 18 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs/mkdir_p.patch b/meta/recipes-devtools/e2fsprogs/e2fsprogs/mkdir_p.patch
index f6916a1112..2dbeba1095 100644
--- a/meta/recipes-devtools/e2fsprogs/e2fsprogs/mkdir_p.patch
+++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs/mkdir_p.patch
@@ -1,4 +1,4 @@
1From e3a30baa5c1e2f0ac7e246539db1c7db5a2fe302 Mon Sep 17 00:00:00 2001 1From e143a900199c5bb10b28f3fc8f4d36bbb6ffdd5f Mon Sep 17 00:00:00 2001
2From: Joe Slater <jslater@windriver.com> 2From: Joe Slater <jslater@windriver.com>
3Date: Tue, 7 Mar 2017 14:53:19 -0800 3Date: Tue, 7 Mar 2017 14:53:19 -0800
4Subject: [PATCH] e2fsprogs: expand @mkdir_p@ 4Subject: [PATCH] e2fsprogs: expand @mkdir_p@
@@ -9,16 +9,15 @@ not expanded so no locale data is written into usr/share/locale.
9Upstream-Status: Pending 9Upstream-Status: Pending
10 10
11Signed-off-by: Joe Slater <jslater@windriver.com> 11Signed-off-by: Joe Slater <jslater@windriver.com>
12
13--- 12---
14 configure.ac | 2 ++ 13 configure.ac | 2 ++
15 1 file changed, 2 insertions(+) 14 1 file changed, 2 insertions(+)
16 15
17diff --git a/configure.ac b/configure.ac 16diff --git a/configure.ac b/configure.ac
18index 4c4b5523..3475c707 100644 17index 131caef3..ca448d97 100644
19--- a/configure.ac 18--- a/configure.ac
20+++ b/configure.ac 19+++ b/configure.ac
21@@ -919,6 +919,8 @@ AC_SUBST(PACKAGE) 20@@ -938,6 +938,8 @@ AC_SUBST(PACKAGE)
22 AC_SUBST(VERSION) 21 AC_SUBST(VERSION)
23 22
24 AM_GNU_GETTEXT([external]) 23 AM_GNU_GETTEXT([external])
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs/ptest.patch b/meta/recipes-devtools/e2fsprogs/e2fsprogs/ptest.patch
index 20839b7286..f4e1057a36 100644
--- a/meta/recipes-devtools/e2fsprogs/e2fsprogs/ptest.patch
+++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs/ptest.patch
@@ -1,4 +1,4 @@
1From b8842065ad621a03a971dfd50db862c5bffdeb49 Mon Sep 17 00:00:00 2001 1From 25db5ac7469cedd043a04bcf49ce7553979fbb32 Mon Sep 17 00:00:00 2001
2From: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com> 2From: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
3Date: Sat, 18 Apr 2015 17:58:17 +0300 3Date: Sat, 18 Apr 2015 17:58:17 +0300
4Subject: [PATCH] e2fsprogs: add ptest 4Subject: [PATCH] e2fsprogs: add ptest
@@ -14,10 +14,10 @@ Signed-off-by: Kai Kang <kai.kang@windriver.com>
14 2 files changed, 18 insertions(+), 18 deletions(-) 14 2 files changed, 18 insertions(+), 18 deletions(-)
15 15
16diff --git a/tests/Makefile.in b/tests/Makefile.in 16diff --git a/tests/Makefile.in b/tests/Makefile.in
17index 8c4d2048..e021af32 100644 17index ba06b3b6..5a3e48f4 100644
18--- a/tests/Makefile.in 18--- a/tests/Makefile.in
19+++ b/tests/Makefile.in 19+++ b/tests/Makefile.in
20@@ -19,7 +19,7 @@ test_one: $(srcdir)/test_one.in Makefile mke2fs.conf 20@@ -20,7 +20,7 @@ test_one: $(srcdir)/test_one.in Makefile mke2fs.conf test_data.tmp
21 @echo "#!/bin/sh" > test_one 21 @echo "#!/bin/sh" > test_one
22 @echo "HTREE=y" >> test_one 22 @echo "HTREE=y" >> test_one
23 @echo "QUOTA=y" >> test_one 23 @echo "QUOTA=y" >> test_one
@@ -26,7 +26,7 @@ index 8c4d2048..e021af32 100644
26 @echo "DIFF_OPTS=@UNI_DIFF_OPTS@" >> test_one 26 @echo "DIFF_OPTS=@UNI_DIFF_OPTS@" >> test_one
27 @echo "SIZEOF_TIME_T=@SIZEOF_TIME_T@" >> test_one 27 @echo "SIZEOF_TIME_T=@SIZEOF_TIME_T@" >> test_one
28 @echo "DD=@DD@" >>test_one 28 @echo "DD=@DD@" >>test_one
29@@ -30,7 +30,7 @@ test_script: test_one test_script.in Makefile mke2fs.conf 29@@ -31,7 +31,7 @@ test_script: test_one test_script.in Makefile mke2fs.conf test_data.tmp
30 @echo "Creating test_script..." 30 @echo "Creating test_script..."
31 @[ -f test_script ] && chmod u+w test_script || true 31 @[ -f test_script ] && chmod u+w test_script || true
32 @echo "#!/bin/sh" > test_script 32 @echo "#!/bin/sh" > test_script
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs/quiet-debugfs.patch b/meta/recipes-devtools/e2fsprogs/e2fsprogs/quiet-debugfs.patch
index 0a6904208d..4ba150e27d 100644
--- a/meta/recipes-devtools/e2fsprogs/e2fsprogs/quiet-debugfs.patch
+++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs/quiet-debugfs.patch
@@ -1,4 +1,4 @@
1From 580ef6cae2d353f3aa5d5c52d6614bdc1df50f08 Mon Sep 17 00:00:00 2001 1From b66c973e004e0c458ef275b41ac2d8d9ff33d29f Mon Sep 17 00:00:00 2001
2From: Ross Burton <ross.burton@intel.com> 2From: Ross Burton <ross.burton@intel.com>
3Date: Mon, 23 Dec 2013 13:38:34 +0000 3Date: Mon, 23 Dec 2013 13:38:34 +0000
4Subject: [PATCH] e2fsprogs: silence debugfs 4Subject: [PATCH] e2fsprogs: silence debugfs
@@ -8,16 +8,15 @@ filesystems at rootfs time.
8 8
9Upstream-Status: Inappropriate 9Upstream-Status: Inappropriate
10Signed-off-by: Ross Burton <ross.burton@intel.com> 10Signed-off-by: Ross Burton <ross.burton@intel.com>
11
12--- 11---
13 debugfs/debugfs.c | 2 +- 12 debugfs/debugfs.c | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-) 13 1 file changed, 1 insertion(+), 1 deletion(-)
15 14
16diff --git a/debugfs/debugfs.c b/debugfs/debugfs.c 15diff --git a/debugfs/debugfs.c b/debugfs/debugfs.c
17index 9b6321dc..8ebf3ddb 100644 16index 909c1df3..0842369e 100644
18--- a/debugfs/debugfs.c 17--- a/debugfs/debugfs.c
19+++ b/debugfs/debugfs.c 18+++ b/debugfs/debugfs.c
20@@ -2516,7 +2516,7 @@ static int source_file(const char *cmd_file, int ss_idx) 19@@ -2529,7 +2529,7 @@ static int source_file(const char *cmd_file, int ss_idx)
21 cp = strchr(buf, '\r'); 20 cp = strchr(buf, '\r');
22 if (cp) 21 if (cp)
23 *cp = 0; 22 *cp = 0;
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs/remove.ldconfig.call.patch b/meta/recipes-devtools/e2fsprogs/e2fsprogs/remove.ldconfig.call.patch
index f3e6eb778f..307088d42b 100644
--- a/meta/recipes-devtools/e2fsprogs/e2fsprogs/remove.ldconfig.call.patch
+++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs/remove.ldconfig.call.patch
@@ -1,10 +1,10 @@
1From b139e03ac2f72e644e547c7ee9b1514383af4d97 Mon Sep 17 00:00:00 2001 1From 972086935d6c7f6e603004fd7f94bd13a65f470c Mon Sep 17 00:00:00 2001
2From: Andrei Dinu <andrei.adrianx.dinu@intel.com> 2From: Andrei Dinu <andrei.adrianx.dinu@intel.com>
3Date: Wed, 30 Jan 2013 15:22:04 +0200 3Date: Wed, 30 Jan 2013 15:22:04 +0200
4Subject: [PATCH] When /etc/ld.so.cache is writeable by user running bitbake 4Subject: [PATCH] When /etc/ld.so.cache is writeable by user running bitbake
5 then it creates invalid cache (in my case libstdc++.so 5 then it creates invalid cache (in my case libstdc++.so cannot be found after
6 cannot be found after building zlib(-native) and I have to 6 building zlib(-native) and I have to call touch */libstdc++.so &&
7 call touch */libstdc++.so && /sbin/ldconfig to fix it. 7 /sbin/ldconfig to fix it.
8 8
9So remove ldconfig call from make install-libs 9So remove ldconfig call from make install-libs
10 10
@@ -15,11 +15,11 @@ Upstream-Status: Inappropriate [disable feature]
15Signed-off-by: Scott Garman <scott.a.garman@intel.com> 15Signed-off-by: Scott Garman <scott.a.garman@intel.com>
16Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> 16Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
17--- 17---
18 lib/Makefile.elf-lib | 3 --- 18 lib/Makefile.elf-lib | 3 ---
19 1 file changed, 3 deletions(-) 19 1 file changed, 3 deletions(-)
20 20
21diff --git a/lib/Makefile.elf-lib b/lib/Makefile.elf-lib 21diff --git a/lib/Makefile.elf-lib b/lib/Makefile.elf-lib
22index 78479d3..4a4a5ac 100644 22index f850f3dd..cc1e6a70 100644
23--- a/lib/Makefile.elf-lib 23--- a/lib/Makefile.elf-lib
24+++ b/lib/Makefile.elf-lib 24+++ b/lib/Makefile.elf-lib
25@@ -50,8 +50,6 @@ install-shlibs install:: $(ELF_LIB) installdirs-elf-lib $(DEP_INSTALL_SYMLINK) 25@@ -50,8 +50,6 @@ install-shlibs install:: $(ELF_LIB) installdirs-elf-lib $(DEP_INSTALL_SYMLINK)
@@ -39,6 +39,3 @@ index 78479d3..4a4a5ac 100644
39 39
40 clean:: 40 clean::
41 $(RM) -rf elfshared 41 $(RM) -rf elfshared
42--
431.7.9.5
44
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs/run-ptest b/meta/recipes-devtools/e2fsprogs/e2fsprogs/run-ptest
index 279923db8e..1857a17189 100644
--- a/meta/recipes-devtools/e2fsprogs/e2fsprogs/run-ptest
+++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs/run-ptest
@@ -1,7 +1,8 @@
1#!/bin/sh 1#!/bin/sh
2 2
3set -eux
3cd ./test 4cd ./test
4SKIP_SLOW_TESTS=yes ./test_script | sed -u -e '/:[[:space:]]ok/s/^/PASS: /' -e '/:[[:space:]]failed/s/^/FAIL: /' -e '/:[[:space:]]skipped/s/^/SKIP: /' 5SKIP_SLOW_TESTS=yes ./test_script | sed -e '/:[[:space:]]ok/s/^/PASS: /' -e '/:[[:space:]]failed/s/^/FAIL: /' -e '/:[[:space:]]skipped/s/^/SKIP: /'
5rm -rf /var/volatile/tmp/*e2fsprogs* 6rm -rf /var/volatile/tmp/*e2fsprogs*
6rm -f tmp-* 7rm -f tmp-*
7rm -f *.tmp 8rm -f *.tmp
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.0.bb b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.1.bb
index 940b47c155..022b016f12 100644
--- a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.0.bb
+++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.1.bb
@@ -4,13 +4,14 @@ SRC_URI += "file://remove.ldconfig.call.patch \
4 file://run-ptest \ 4 file://run-ptest \
5 file://ptest.patch \ 5 file://ptest.patch \
6 file://mkdir_p.patch \ 6 file://mkdir_p.patch \
7 file://0001-libext2fs-fix-std-c23-build-failure.patch \
7 " 8 "
8SRC_URI:append:class-native = " \ 9SRC_URI:append:class-native = " \
9 file://e2fsprogs-fix-missing-check-for-permission-denied.patch \ 10 file://e2fsprogs-fix-missing-check-for-permission-denied.patch \
10 file://quiet-debugfs.patch \ 11 file://quiet-debugfs.patch \
11 " 12 "
12 13
13SRCREV = "f4c9cc4bedacde8408edda3520a32d3842290112" 14SRCREV = "b571b9b4240739a982e8bca62cfc914a3b50190a"
14UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+\.\d+(\.\d+)*)$" 15UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+\.\d+(\.\d+)*)$"
15 16
16EXTRA_OECONF += "--libdir=${base_libdir} --sbindir=${base_sbindir} \ 17EXTRA_OECONF += "--libdir=${base_libdir} --sbindir=${base_sbindir} \
diff --git a/meta/recipes-devtools/elfutils/elfutils_0.191.bb b/meta/recipes-devtools/elfutils/elfutils_0.193.bb
index c4d872430b..4ccea2bea3 100644
--- a/meta/recipes-devtools/elfutils/elfutils_0.191.bb
+++ b/meta/recipes-devtools/elfutils/elfutils_0.193.bb
@@ -4,7 +4,7 @@ DESCRIPTION = "elfutils is a collection of utilities and libraries to read, crea
4SECTION = "base" 4SECTION = "base"
5LICENSE = "( GPL-2.0-or-later | LGPL-3.0-or-later ) & GPL-3.0-or-later" 5LICENSE = "( GPL-2.0-or-later | LGPL-3.0-or-later ) & GPL-3.0-or-later"
6LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ 6LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
7 file://debuginfod/debuginfod-client.c;endline=28;md5=f0a7c3170776866ee94e8f9225a6ad79 \ 7 file://debuginfod/debuginfod-client.c;endline=28;md5=6b7b0a4b25197d7f2e12b2f4aa1c86b8 \
8 " 8 "
9DEPENDS = "zlib virtual/libintl" 9DEPENDS = "zlib virtual/libintl"
10DEPENDS:append:libc-musl = " argp-standalone fts musl-legacy-error musl-obstack" 10DEPENDS:append:libc-musl = " argp-standalone fts musl-legacy-error musl-obstack"
@@ -12,22 +12,19 @@ DEPENDS:append:libc-musl = " argp-standalone fts musl-legacy-error musl-obstack"
12# http://ftp.de.debian.org/debian/pool/main/e/elfutils/elfutils_0.176-1.debian.tar.xz 12# http://ftp.de.debian.org/debian/pool/main/e/elfutils/elfutils_0.176-1.debian.tar.xz
13SRC_URI = "https://sourceware.org/elfutils/ftp/${PV}/${BP}.tar.bz2 \ 13SRC_URI = "https://sourceware.org/elfutils/ftp/${PV}/${BP}.tar.bz2 \
14 file://run-ptest \ 14 file://run-ptest \
15 file://0001-dso-link-change.patch \
16 file://0002-Fix-elf_cvt_gunhash-if-dest-and-src-are-same.patch \ 15 file://0002-Fix-elf_cvt_gunhash-if-dest-and-src-are-same.patch \
17 file://0003-fixheadercheck.patch \ 16 file://0003-fixheadercheck.patch \
18 file://0006-Fix-build-on-aarch64-musl.patch \
19 file://0001-libasm-may-link-with-libbz2-if-found.patch \
20 file://0001-libelf-elf_end.c-check-data_list.data.d.d_buf-before.patch \ 17 file://0001-libelf-elf_end.c-check-data_list.data.d.d_buf-before.patch \
21 file://0001-skip-the-test-when-gcc-not-deployed.patch \ 18 file://0001-skip-the-test-when-gcc-not-deployed.patch \
22 file://ptest.patch \ 19 file://ptest.patch \
23 file://0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch \ 20 file://0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch \
24 file://0001-debuginfod-Remove-unused-variable.patch \ 21 file://0001-config-eu.am-do-not-force-Werror.patch \
25 file://0001-srcfiles-fix-unused-variable-BUFFER_SIZE.patch \ 22 file://0001-libelf-Add-libeu-objects-to-libelf.a-static-archive.patch \
26 " 23 "
27SRC_URI:append:libc-musl = " \ 24SRC_URI:append:libc-musl = " \
28 file://0003-musl-utils.patch \ 25 file://0003-musl-utils.patch \
29 " 26 "
30SRC_URI[sha256sum] = "df76db71366d1d708365fc7a6c60ca48398f14367eb2b8954efc8897147ad871" 27SRC_URI[sha256sum] = "7857f44b624f4d8d421df851aaae7b1402cfe6bcdd2d8049f15fc07d3dde7635"
31 28
32inherit autotools gettext ptest pkgconfig 29inherit autotools gettext ptest pkgconfig
33 30
@@ -47,7 +44,7 @@ PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'debuginfod', 'debugi
47PACKAGECONFIG[bzip2] = "--with-bzlib,--without-bzlib,${DEPENDS_BZIP2}" 44PACKAGECONFIG[bzip2] = "--with-bzlib,--without-bzlib,${DEPENDS_BZIP2}"
48PACKAGECONFIG[xz] = "--with-lzma,--without-lzma,xz" 45PACKAGECONFIG[xz] = "--with-lzma,--without-lzma,xz"
49PACKAGECONFIG[zstd] = "--with-zstd,--without-zstd,zstd" 46PACKAGECONFIG[zstd] = "--with-zstd,--without-zstd,zstd"
50PACKAGECONFIG[libdebuginfod] = "--enable-libdebuginfod,--disable-libdebuginfod,curl" 47PACKAGECONFIG[libdebuginfod] = "--enable-libdebuginfod,--disable-libdebuginfod,curl json-c"
51PACKAGECONFIG[debuginfod] = "--enable-debuginfod,--disable-debuginfod,libarchive sqlite3 libmicrohttpd" 48PACKAGECONFIG[debuginfod] = "--enable-debuginfod,--disable-debuginfod,libarchive sqlite3 libmicrohttpd"
52 49
53RDEPENDS:${PN}-ptest += "libasm libelf bash make coreutils ${PN}-binutils iproute2-ss bsdtar gcc-symlinks binutils-symlinks libgcc-dev" 50RDEPENDS:${PN}-ptest += "libasm libelf bash make coreutils ${PN}-binutils iproute2-ss bsdtar gcc-symlinks binutils-symlinks libgcc-dev"
@@ -67,42 +64,42 @@ do_compile_ptest() {
67PTEST_PARALLEL_MAKE = "" 64PTEST_PARALLEL_MAKE = ""
68 65
69do_install_ptest() { 66do_install_ptest() {
70 if [ ${PTEST_ENABLED} = "1" ]; then 67 # copy the files which needed by the cases
71 # copy the files which needed by the cases 68 TEST_FILES="strip strip.o addr2line elfcmp objdump readelf size.o nm.o nm elflint elfcompress elfclassify stack unstrip srcfiles"
72 TEST_FILES="strip strip.o addr2line elfcmp objdump readelf size.o nm.o nm elflint elfcompress elfclassify stack unstrip srcfiles" 69 install -d -m 755 ${D}${PTEST_PATH}/src
73 install -d -m 755 ${D}${PTEST_PATH}/src 70 install -d -m 755 ${D}${PTEST_PATH}/config
74 install -d -m 755 ${D}${PTEST_PATH}/lib 71 install -d -m 755 ${D}${PTEST_PATH}/lib
75 install -d -m 755 ${D}${PTEST_PATH}/libelf 72 install -d -m 755 ${D}${PTEST_PATH}/libelf
76 install -d -m 755 ${D}${PTEST_PATH}/libdw 73 install -d -m 755 ${D}${PTEST_PATH}/libdw
77 install -d -m 755 ${D}${PTEST_PATH}/libdwfl 74 install -d -m 755 ${D}${PTEST_PATH}/libdwfl
78 install -d -m 755 ${D}${PTEST_PATH}/libdwelf 75 install -d -m 755 ${D}${PTEST_PATH}/libdwelf
79 install -d -m 755 ${D}${PTEST_PATH}/libasm 76 install -d -m 755 ${D}${PTEST_PATH}/libasm
80 install -d -m 755 ${D}${PTEST_PATH}/libcpu 77 install -d -m 755 ${D}${PTEST_PATH}/libcpu
81 install -d -m 755 ${D}${PTEST_PATH}/libebl 78 install -d -m 755 ${D}${PTEST_PATH}/libebl
82 for test_file in ${TEST_FILES}; do 79 for test_file in ${TEST_FILES}; do
83 if [ -f ${B}/src/${test_file} ]; then 80 if [ -f ${B}/src/${test_file} ]; then
84 cp -r ${B}/src/${test_file} ${D}${PTEST_PATH}/src 81 cp -r ${B}/src/${test_file} ${D}${PTEST_PATH}/src
85 fi 82 fi
86 done 83 done
87 cp ${D}${libdir}/libelf-${PV}.so ${D}${PTEST_PATH}/libelf/libelf.so 84 cp ${D}${libdir}/libelf-${PV}.so ${D}${PTEST_PATH}/libelf/libelf.so
88 cp ${D}${libdir}/libdw-${PV}.so ${D}${PTEST_PATH}/libdw/libdw.so 85 cp ${D}${libdir}/libdw-${PV}.so ${D}${PTEST_PATH}/libdw/libdw.so
89 cp ${D}${libdir}/libasm-${PV}.so ${D}${PTEST_PATH}/libasm/libasm.so 86 cp ${D}${libdir}/libasm-${PV}.so ${D}${PTEST_PATH}/libasm/libasm.so
90 cp ${B}/libcpu/libcpu.a ${D}${PTEST_PATH}/libcpu/ 87 cp ${B}/libcpu/libcpu.a ${D}${PTEST_PATH}/libcpu/
91 cp ${B}/libebl/libebl.a ${D}${PTEST_PATH}/libebl/ 88 cp ${B}/libebl/libebl.a ${D}${PTEST_PATH}/libebl/
92 cp ${B}/lib/libeu.a ${D}${PTEST_PATH}/lib/ 89 cp ${B}/lib/libeu.a ${D}${PTEST_PATH}/lib/
93 cp ${S}/libelf/*.h ${D}${PTEST_PATH}/libelf/ 90 cp ${S}/libelf/*.h ${D}${PTEST_PATH}/libelf/
94 cp ${S}/libdw/*.h ${D}${PTEST_PATH}/libdw/ 91 cp ${S}/libdw/*.h ${D}${PTEST_PATH}/libdw/
95 cp ${S}/libdwfl/*.h ${D}${PTEST_PATH}/libdwfl/ 92 cp ${S}/libdwfl/*.h ${D}${PTEST_PATH}/libdwfl/
96 cp ${S}/libdwelf/*.h ${D}${PTEST_PATH}/libdwelf/ 93 cp ${S}/libdwelf/*.h ${D}${PTEST_PATH}/libdwelf/
97 cp ${S}/libasm/*.h ${D}${PTEST_PATH}/libasm/ 94 cp ${S}/libasm/*.h ${D}${PTEST_PATH}/libasm/
98 cp -r ${S}/tests/ ${D}${PTEST_PATH} 95 cp -r ${S}/tests/ ${D}${PTEST_PATH}
99 cp -r ${B}/tests/* ${D}${PTEST_PATH}/tests 96 cp -r ${B}/tests/* ${D}${PTEST_PATH}/tests
100 cp -r ${B}/config.h ${D}${PTEST_PATH} 97 cp -r ${B}/config.h ${D}${PTEST_PATH}
101 cp -r ${B}/backends ${D}${PTEST_PATH} 98 cp -r ${B}/config/profile.sh ${D}${PTEST_PATH}/config
102 cp -r ${B}/debuginfod ${D}${PTEST_PATH} 99 cp -r ${B}/backends ${D}${PTEST_PATH}
103 sed -i '/^Makefile:/c Makefile:' ${D}${PTEST_PATH}/tests/Makefile 100 cp -r ${B}/debuginfod ${D}${PTEST_PATH}
104 find ${D}${PTEST_PATH} -type f -name *.[hoc] | xargs -i rm {} 101 sed -i '/^Makefile:/c Makefile:' ${D}${PTEST_PATH}/tests/Makefile
105 fi 102 find ${D}${PTEST_PATH} -type f -name *.[hoc] | xargs -i rm {}
106} 103}
107 104
108EXTRA_OEMAKE:class-native = "" 105EXTRA_OEMAKE:class-native = ""
@@ -124,6 +121,7 @@ LICENSE:libasm = "GPL-2.0-or-later | LGPL-3.0-or-later"
124LICENSE:libdw = "GPL-2.0-or-later | LGPL-3.0-or-later" 121LICENSE:libdw = "GPL-2.0-or-later | LGPL-3.0-or-later"
125LICENSE:libdebuginfod = "GPL-2.0-or-later | LGPL-3.0-or-later" 122LICENSE:libdebuginfod = "GPL-2.0-or-later | LGPL-3.0-or-later"
126 123
124FILES:${PN} += "${datadir}/fish"
127FILES:${PN}-binutils = "\ 125FILES:${PN}-binutils = "\
128 ${bindir}/eu-addr2line \ 126 ${bindir}/eu-addr2line \
129 ${bindir}/eu-ld \ 127 ${bindir}/eu-ld \
diff --git a/meta/recipes-devtools/elfutils/files/0001-config-eu.am-do-not-force-Werror.patch b/meta/recipes-devtools/elfutils/files/0001-config-eu.am-do-not-force-Werror.patch
new file mode 100644
index 0000000000..d4e141927f
--- /dev/null
+++ b/meta/recipes-devtools/elfutils/files/0001-config-eu.am-do-not-force-Werror.patch
@@ -0,0 +1,34 @@
1From e169c3fc734be1783b3e1a4768dbec05fb64cb4f Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de>
3Date: Fri, 22 Nov 2024 12:50:48 +0100
4Subject: [PATCH] config/eu.am: do not force -Werror
5
6This is undesirable when compiler versions may not be the same
7as what upstream is using for their own testing.
8
9Upstream-Status: Inappropriate [oe-core specific]
10Signed-off-by: Alexander Kanavin <alex@linutronix.de>
11---
12 config/eu.am | 2 --
13 1 file changed, 2 deletions(-)
14
15diff --git a/config/eu.am b/config/eu.am
16index 0b7dab5..5e7a03f 100644
17--- a/config/eu.am
18+++ b/config/eu.am
19@@ -99,7 +99,6 @@ AM_CFLAGS = -std=gnu99 -Wall -Wshadow -Wformat=2 \
20 $(LOGICAL_OP_WARNING) $(DUPLICATED_COND_WARNING) \
21 $(NULL_DEREFERENCE_WARNING) $(IMPLICIT_FALLTHROUGH_WARNING) \
22 $(USE_AFTER_FREE3_WARNING) \
23- $(if $($(*F)_no_Werror),,-Werror) \
24 $(if $($(*F)_no_Wunused),,-Wunused -Wextra) \
25 $(if $($(*F)_no_Wstack_usage),,$(STACK_USAGE_WARNING)) \
26 $(if $($(*F)_no_Wpacked_not_aligned),$(NO_PACKED_NOT_ALIGNED_WARNING),) \
27@@ -109,7 +108,6 @@ AM_CXXFLAGS = -std=c++11 -Wall -Wshadow \
28 $(TRAMPOLINES_WARNING) \
29 $(LOGICAL_OP_WARNING) $(DUPLICATED_COND_WARNING) \
30 $(NULL_DEREFERENCE_WARNING) $(IMPLICIT_FALLTHROUGH_WARNING) \
31- $(if $($(*F)_no_Werror),,-Werror) \
32 $(if $($(*F)_no_Wunused),,-Wunused -Wextra) \
33 $(if $($(*F)_no_Wstack_usage),,$(STACK_USAGE_WARNING)) \
34 $(if $($(*F)_no_Wpacked_not_aligned),$(NO_PACKED_NOT_ALIGNED_WARNING),) \
diff --git a/meta/recipes-devtools/elfutils/files/0001-debuginfod-Remove-unused-variable.patch b/meta/recipes-devtools/elfutils/files/0001-debuginfod-Remove-unused-variable.patch
deleted file mode 100644
index 81f49dbf21..0000000000
--- a/meta/recipes-devtools/elfutils/files/0001-debuginfod-Remove-unused-variable.patch
+++ /dev/null
@@ -1,34 +0,0 @@
1From c3502140e51886bffc6ae5cd256308e40e0cbb78 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 9 Mar 2024 15:52:32 -0800
4Subject: [PATCH] debuginfod: Remove unused variable
5
6Recent commit acd9525e9 has removed all references to max_fds
7therefore remove it, moreover clang18 is happier
8
9| ../../elfutils-0.191/debuginfod/debuginfod.cxx:1448:8: error: private field 'max_fds' is not used [-Werror,-Wunused-private-field]
10| 1448 | long max_fds;
11| | ^
12| 1 error generated.
13
14Upstream-Status: Submitted [https://sourceware.org/pipermail/elfutils-devel/2024q1/006900.html]
15Signed-off-by: Khem Raj <raj.khem@gmail.com>
16---
17 debuginfod/debuginfod.cxx | 1 -
18 1 file changed, 1 deletion(-)
19
20diff --git a/debuginfod/debuginfod.cxx b/debuginfod/debuginfod.cxx
21index 560880f2..72617848 100644
22--- a/debuginfod/debuginfod.cxx
23+++ b/debuginfod/debuginfod.cxx
24@@ -1445,7 +1445,6 @@ private:
25
26 map<key,fdcache_entry> entries; // optimized for lookup
27 time_t last_cleaning;
28- long max_fds;
29 long max_mbs;
30
31 public:
32--
332.44.0
34
diff --git a/meta/recipes-devtools/elfutils/files/0001-dso-link-change.patch b/meta/recipes-devtools/elfutils/files/0001-dso-link-change.patch
deleted file mode 100644
index 4f7539bef2..0000000000
--- a/meta/recipes-devtools/elfutils/files/0001-dso-link-change.patch
+++ /dev/null
@@ -1,49 +0,0 @@
1From 63070df4b0dc7af37a720915b5e6494204463c9a Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Tue, 15 Aug 2017 17:10:57 +0800
4Subject: [PATCH] dso link change
5
6Upstream-Status: Pending
7
8This patch makes the link to the dependencies of libdw explicit, as
9recent ld no longer implicitly links them. See
10http://lists.fedoraproject.org/pipermail/devel/2010-March/133601.html
11as a similar example of the error message you can encounter without this
12patch, and https://fedoraproject.org/wiki/UnderstandingDSOLinkChange and
13https://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking for
14more details.
15
16Rebase to 0.170
17
18Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
19---
20 src/Makefile.am | 2 +-
21 tests/Makefile.am | 2 +-
22 2 files changed, 2 insertions(+), 2 deletions(-)
23
24diff --git a/src/Makefile.am b/src/Makefile.am
25index 1d592d4..853eda4 100644
26--- a/src/Makefile.am
27+++ b/src/Makefile.am
28@@ -50,7 +50,7 @@ libdebuginfod =
29 endif
30 else
31 libasm = ../libasm/libasm.so
32-libdw = ../libdw/libdw.so
33+libdw = ../libdw/libdw.so $(zip_LIBS) $(libelf) $(libebl) -ldl
34 libelf = ../libelf/libelf.so
35 if LIBDEBUGINFOD
36 libdebuginfod = ../debuginfod/libdebuginfod.so
37diff --git a/tests/Makefile.am b/tests/Makefile.am
38index 9141074..ee49d07 100644
39--- a/tests/Makefile.am
40+++ b/tests/Makefile.am
41@@ -694,7 +694,7 @@ libdw = ../libdw/libdw.a -lz $(zip_LIBS) $(libelf) $(libebl) -ldl -lpthread
42 libelf = ../libelf/libelf.a -lz $(zstd_LIBS)
43 libasm = ../libasm/libasm.a
44 else
45-libdw = ../libdw/libdw.so
46+libdw = ../libdw/libdw.so $(zip_LIBS) $(libelf) $(libebl) -ldl
47 libelf = ../libelf/libelf.so
48 libasm = ../libasm/libasm.so
49 endif
diff --git a/meta/recipes-devtools/elfutils/files/0001-libasm-may-link-with-libbz2-if-found.patch b/meta/recipes-devtools/elfutils/files/0001-libasm-may-link-with-libbz2-if-found.patch
deleted file mode 100644
index a9f5e030fc..0000000000
--- a/meta/recipes-devtools/elfutils/files/0001-libasm-may-link-with-libbz2-if-found.patch
+++ /dev/null
@@ -1,39 +0,0 @@
1From 46d9d889a07fc9f9f089f800e5c0e895889c44ae Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 4 Oct 2017 22:30:46 -0700
4Subject: [PATCH] libasm may link with libbz2 if found
5
6This can fail to link binaries like objdump
7where indirect libraries may be not found by linker
8
9| /mnt/a/oe/build/tmp/work/riscv64-bec-linux/elfutils/0.170-r0/recipe-sysroot/usr/lib/libbz2.so.1: error adding symbols: DSO missing from command line
10| collect2: error: ld returned 1 exit status
11
12Upstream-Status: Pending
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14---
15 src/Makefile.am | 4 ++--
16 1 file changed, 2 insertions(+), 2 deletions(-)
17
18diff --git a/src/Makefile.am b/src/Makefile.am
19index 853eda4..da7f3b4 100644
20--- a/src/Makefile.am
21+++ b/src/Makefile.am
22@@ -40,7 +40,7 @@ EXTRA_DIST += make-debug-archive.in
23 CLEANFILES += make-debug-archive
24
25 if BUILD_STATIC
26-libasm = ../libasm/libasm.a
27+libasm = ../libasm/libasm.a $(zip_LIBS)
28 libdw = ../libdw/libdw.a -lz $(zip_LIBS) $(libelf) -ldl -lpthread
29 libelf = ../libelf/libelf.a -lz $(zstd_LIBS)
30 if LIBDEBUGINFOD
31@@ -49,7 +49,7 @@ else
32 libdebuginfod =
33 endif
34 else
35-libasm = ../libasm/libasm.so
36+libasm = ../libasm/libasm.so $(zip_LIBS)
37 libdw = ../libdw/libdw.so $(zip_LIBS) $(libelf) $(libebl) -ldl
38 libelf = ../libelf/libelf.so
39 if LIBDEBUGINFOD
diff --git a/meta/recipes-devtools/elfutils/files/0001-libelf-Add-libeu-objects-to-libelf.a-static-archive.patch b/meta/recipes-devtools/elfutils/files/0001-libelf-Add-libeu-objects-to-libelf.a-static-archive.patch
new file mode 100644
index 0000000000..81c5255447
--- /dev/null
+++ b/meta/recipes-devtools/elfutils/files/0001-libelf-Add-libeu-objects-to-libelf.a-static-archive.patch
@@ -0,0 +1,35 @@
1From f5d6e088f84dd05278c4698a21cbf1ff4569978d Mon Sep 17 00:00:00 2001
2From: Mark Wielaard <mark@klomp.org>
3Date: Tue, 22 Oct 2024 15:03:42 +0200
4Subject: [PATCH] libelf: Add libeu objects to libelf.a static archive
5
6libelf might use some symbols from libeu.a, specifically the eu-search
7wrappers. But we don't ship libeu.a separately. So include the libeu
8objects in the libelf.a archive to facilitate static linking.
9
10 * libelf/Makefile.am (libeu_objects): New variable.
11 (libelf_a_LIBADD): New, add libeu_objects.
12
13https://sourceware.org/bugzilla/show_bug.cgi?id=32293
14
15Signed-off-by: Mark Wielaard <mark@klomp.org>
16Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
17Upstream-Status: Backport [https://sourceware.org/git/?p=elfutils.git;a=commit;h=f5d6e088f84dd05278c4698a21cbf1ff4569978d]
18---
19 libelf/Makefile.am | 3 +++
20 1 file changed, 3 insertions(+)
21
22diff --git a/libelf/Makefile.am b/libelf/Makefile.am
23index 05484c1..72f1e22 100644
24--- a/libelf/Makefile.am
25+++ b/libelf/Makefile.am
26@@ -125,6 +125,9 @@ libelf.so: $(srcdir)/libelf.map $(libelf_so_LIBS) $(libelf_so_DEPS)
27 libeu_objects = $(shell cat ../lib/libeu.manifest)
28 libelf_a_LIBADD = $(addprefix ../lib/,$(libeu_objects))
29
30+libeu_objects = $(shell $(AR) t ../lib/libeu.a)
31+libelf_a_LIBADD = $(addprefix ../lib/,$(libeu_objects))
32+
33 install: install-am libelf.so
34 $(mkinstalldirs) $(DESTDIR)$(libdir)
35 $(INSTALL_PROGRAM) libelf.so $(DESTDIR)$(libdir)/libelf-$(PACKAGE_VERSION).so
diff --git a/meta/recipes-devtools/elfutils/files/0001-libelf-elf_end.c-check-data_list.data.d.d_buf-before.patch b/meta/recipes-devtools/elfutils/files/0001-libelf-elf_end.c-check-data_list.data.d.d_buf-before.patch
index 57e4b3890a..1ee50588dc 100644
--- a/meta/recipes-devtools/elfutils/files/0001-libelf-elf_end.c-check-data_list.data.d.d_buf-before.patch
+++ b/meta/recipes-devtools/elfutils/files/0001-libelf-elf_end.c-check-data_list.data.d.d_buf-before.patch
@@ -1,4 +1,4 @@
1From 19d9e9d838e74e4a0a22f08ae03167380f8aa490 Mon Sep 17 00:00:00 2001 1From c4a26ff38182b289a1076bbef263e808b5e3aa97 Mon Sep 17 00:00:00 2001
2From: Robert Yang <liezhi.yang@windriver.com> 2From: Robert Yang <liezhi.yang@windriver.com>
3Date: Thu, 16 Aug 2018 09:58:26 +0800 3Date: Thu, 16 Aug 2018 09:58:26 +0800
4Subject: [PATCH] libelf/elf_end.c: check data_list.data.d.d_buf before free it 4Subject: [PATCH] libelf/elf_end.c: check data_list.data.d.d_buf before free it
@@ -19,10 +19,10 @@ Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
19 1 file changed, 4 insertions(+), 2 deletions(-) 19 1 file changed, 4 insertions(+), 2 deletions(-)
20 20
21diff --git a/libelf/elf_end.c b/libelf/elf_end.c 21diff --git a/libelf/elf_end.c b/libelf/elf_end.c
22index 80f4d13..b103959 100644 22index da8f3a2..8557658 100644
23--- a/libelf/elf_end.c 23--- a/libelf/elf_end.c
24+++ b/libelf/elf_end.c 24+++ b/libelf/elf_end.c
25@@ -169,14 +169,16 @@ elf_end (Elf *elf) 25@@ -170,14 +170,16 @@ elf_end (Elf *elf)
26 architecture doesn't require overly stringent 26 architecture doesn't require overly stringent
27 alignment the raw data buffer is the same as the 27 alignment the raw data buffer is the same as the
28 one used for presenting to the caller. */ 28 one used for presenting to the caller. */
diff --git a/meta/recipes-devtools/elfutils/files/0001-skip-the-test-when-gcc-not-deployed.patch b/meta/recipes-devtools/elfutils/files/0001-skip-the-test-when-gcc-not-deployed.patch
index 096361e215..2fc526372d 100644
--- a/meta/recipes-devtools/elfutils/files/0001-skip-the-test-when-gcc-not-deployed.patch
+++ b/meta/recipes-devtools/elfutils/files/0001-skip-the-test-when-gcc-not-deployed.patch
@@ -1,4 +1,4 @@
1From f9ab54454000fd210dbaa92cf516084d05060f9d Mon Sep 17 00:00:00 2001 1From d59d6fd13e4a7fe3fdca2a4ce1cd2def36356bb4 Mon Sep 17 00:00:00 2001
2From: Mingli Yu <Mingli.Yu@windriver.com> 2From: Mingli Yu <Mingli.Yu@windriver.com>
3Date: Tue, 21 May 2019 15:20:34 +0800 3Date: Tue, 21 May 2019 15:20:34 +0800
4Subject: [PATCH] skip the test when gcc not deployed 4Subject: [PATCH] skip the test when gcc not deployed
diff --git a/meta/recipes-devtools/elfutils/files/0001-srcfiles-fix-unused-variable-BUFFER_SIZE.patch b/meta/recipes-devtools/elfutils/files/0001-srcfiles-fix-unused-variable-BUFFER_SIZE.patch
deleted file mode 100644
index b3032327a2..0000000000
--- a/meta/recipes-devtools/elfutils/files/0001-srcfiles-fix-unused-variable-BUFFER_SIZE.patch
+++ /dev/null
@@ -1,36 +0,0 @@
1From db51a55a8e3811d19265bf12d2ff715c6cf558b4 Mon Sep 17 00:00:00 2001
2From: Jose Quaresma <jose.quaresma@foundries.io>
3Date: Tue, 19 Mar 2024 10:17:59 +0000
4Subject: [PATCH] srcfiles: fix unused variable BUFFER_SIZE
5
6The const variable BUFFER_SIZE is used only on the zip_files
7function witch is only available with LIBARCHIVE.
8
9| ../../elfutils-0.191/src/srcfiles.cxx:81:18: error: unused variable 'BUFFER_SIZE' [-Werror,-Wunused-const-variable]
10| 81 | constexpr size_t BUFFER_SIZE = 8192;
11| | ^~~~~~~~~~~
12
13Upstream-Status: Backport [https://sourceware.org/git/?p=elfutils.git;a=commitdiff;h=ef8a4b841aaf26326b8961a651dbe915d54d23e7]
14
15Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
16---
17 src/srcfiles.cxx | 2 ++
18 1 file changed, 2 insertions(+)
19
20diff --git a/src/srcfiles.cxx b/src/srcfiles.cxx
21index 892737cc..09d50f8d 100644
22--- a/src/srcfiles.cxx
23+++ b/src/srcfiles.cxx
24@@ -78,7 +78,9 @@ ARGP_PROGRAM_VERSION_HOOK_DEF = print_version;
25 /* Bug report address. */
26 ARGP_PROGRAM_BUG_ADDRESS_DEF = PACKAGE_BUGREPORT;
27
28+#ifdef HAVE_LIBARCHIVE
29 constexpr size_t BUFFER_SIZE = 8192;
30+#endif
31
32 /* Definitions of arguments for argp functions. */
33 static const struct argp_option options[] =
34--
352.44.0
36
diff --git a/meta/recipes-devtools/elfutils/files/0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch b/meta/recipes-devtools/elfutils/files/0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch
index d410eb13d8..f3790a6d25 100644
--- a/meta/recipes-devtools/elfutils/files/0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch
+++ b/meta/recipes-devtools/elfutils/files/0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch
@@ -1,4 +1,4 @@
1From 2d4dfb814dda02193e49c9203147cf73e6d3f8b7 Mon Sep 17 00:00:00 2001 1From 34ae914b362c84ff0a96b8936beedb44a2e3f451 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Tue, 23 Jun 2020 07:49:35 +0000 3Date: Tue, 23 Jun 2020 07:49:35 +0000
4Subject: [PATCH] tests/Makefile.am: compile test_nlist with standard CFLAGS 4Subject: [PATCH] tests/Makefile.am: compile test_nlist with standard CFLAGS
@@ -13,10 +13,10 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
13 1 file changed, 1 insertion(+), 1 deletion(-) 13 1 file changed, 1 insertion(+), 1 deletion(-)
14 14
15diff --git a/tests/Makefile.am b/tests/Makefile.am 15diff --git a/tests/Makefile.am b/tests/Makefile.am
16index 3bd8e58..370c6a8 100644 16index eed9bd4..5dd6e05 100644
17--- a/tests/Makefile.am 17--- a/tests/Makefile.am
18+++ b/tests/Makefile.am 18+++ b/tests/Makefile.am
19@@ -103,7 +103,7 @@ endif 19@@ -104,7 +104,7 @@ endif
20 test-nlist$(EXEEXT): test-nlist.c 20 test-nlist$(EXEEXT): test-nlist.c
21 $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ 21 $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
22 $(AM_CPPFLAGS) $(CPPFLAGS) \ 22 $(AM_CPPFLAGS) $(CPPFLAGS) \
diff --git a/meta/recipes-devtools/elfutils/files/0002-Fix-elf_cvt_gunhash-if-dest-and-src-are-same.patch b/meta/recipes-devtools/elfutils/files/0002-Fix-elf_cvt_gunhash-if-dest-and-src-are-same.patch
index fa2282b8dd..bf177cce4a 100644
--- a/meta/recipes-devtools/elfutils/files/0002-Fix-elf_cvt_gunhash-if-dest-and-src-are-same.patch
+++ b/meta/recipes-devtools/elfutils/files/0002-Fix-elf_cvt_gunhash-if-dest-and-src-are-same.patch
@@ -1,4 +1,4 @@
1From d8f07a23d608b744dcc0592f9f32f258b186a77c Mon Sep 17 00:00:00 2001 1From bd78783254a7126d82eab26a2069b3a457b98e2e Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com> 2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Tue, 15 Aug 2017 17:13:59 +0800 3Date: Tue, 15 Aug 2017 17:13:59 +0800
4Subject: [PATCH] Fix elf_cvt_gunhash if dest and src are same. 4Subject: [PATCH] Fix elf_cvt_gunhash if dest and src are same.
diff --git a/meta/recipes-devtools/elfutils/files/0003-fixheadercheck.patch b/meta/recipes-devtools/elfutils/files/0003-fixheadercheck.patch
index e8b986e4ba..a539396fd8 100644
--- a/meta/recipes-devtools/elfutils/files/0003-fixheadercheck.patch
+++ b/meta/recipes-devtools/elfutils/files/0003-fixheadercheck.patch
@@ -1,4 +1,4 @@
1From 614f062b22e6da108643f8644a3e92a1108f2b9b Mon Sep 17 00:00:00 2001 1From da61b483072b7b0bfac1f034ad03972f5104a410 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com> 2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Tue, 15 Aug 2017 17:17:20 +0800 3Date: Tue, 15 Aug 2017 17:17:20 +0800
4Subject: [PATCH] fixheadercheck 4Subject: [PATCH] fixheadercheck
diff --git a/meta/recipes-devtools/elfutils/files/0003-musl-utils.patch b/meta/recipes-devtools/elfutils/files/0003-musl-utils.patch
index 230ea88f41..d8961f6293 100644
--- a/meta/recipes-devtools/elfutils/files/0003-musl-utils.patch
+++ b/meta/recipes-devtools/elfutils/files/0003-musl-utils.patch
@@ -1,4 +1,4 @@
1From aab5985a29bd7ab6e0b06eaab190b42a04e10f70 Mon Sep 17 00:00:00 2001 1From b1c956cd739f364c4a80381578ddaba43e36903b Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com> 2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Fri, 23 Aug 2019 10:19:48 +0800 3Date: Fri, 23 Aug 2019 10:19:48 +0800
4Subject: [PATCH] musl-utils 4Subject: [PATCH] musl-utils
@@ -56,7 +56,7 @@ index f771b92..263de62 100644
56 ARGP_PROGRAM_VERSION_HOOK_DEF = print_version; 56 ARGP_PROGRAM_VERSION_HOOK_DEF = print_version;
57 57
58diff --git a/src/strip.c b/src/strip.c 58diff --git a/src/strip.c b/src/strip.c
59index 6436443..1608496 100644 59index 403e0f6..738e948 100644
60--- a/src/strip.c 60--- a/src/strip.c
61+++ b/src/strip.c 61+++ b/src/strip.c
62@@ -45,6 +45,13 @@ 62@@ -45,6 +45,13 @@
diff --git a/meta/recipes-devtools/elfutils/files/0006-Fix-build-on-aarch64-musl.patch b/meta/recipes-devtools/elfutils/files/0006-Fix-build-on-aarch64-musl.patch
deleted file mode 100644
index 149e0e6a7b..0000000000
--- a/meta/recipes-devtools/elfutils/files/0006-Fix-build-on-aarch64-musl.patch
+++ /dev/null
@@ -1,58 +0,0 @@
1From 4409f128c81a9d76b9360b002a1d76043c77b53e Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Tue, 15 Aug 2017 17:27:30 +0800
4Subject: [PATCH] Fix build on aarch64/musl
5
6Errors
7
8invalid operands to binary & (have 'long double' and 'unsigned int')
9
10error: redefinition
11 of 'struct iovec'
12 struct iovec { void *iov_base; size_t iov_len; };
13 ^
14Upstream-Status: Pending
15Signed-off-by: Khem Raj <raj.khem@gmail.com>
16
17Rebase to 0.170
18Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
19---
20 backends/aarch64_initreg.c | 4 ++--
21 backends/arm_initreg.c | 2 +-
22 2 files changed, 3 insertions(+), 3 deletions(-)
23
24diff --git a/backends/aarch64_initreg.c b/backends/aarch64_initreg.c
25index daf6f37..6445276 100644
26--- a/backends/aarch64_initreg.c
27+++ b/backends/aarch64_initreg.c
28@@ -33,7 +33,7 @@
29 #include "system.h"
30 #include <assert.h>
31 #if defined(__aarch64__) && defined(__linux__)
32-# include <linux/uio.h>
33+# include <sys/uio.h>
34 # include <sys/user.h>
35 # include <sys/ptrace.h>
36 /* Deal with old glibc defining user_pt_regs instead of user_regs_struct. */
37@@ -82,7 +82,7 @@ aarch64_set_initial_registers_tid (pid_t tid __attribute__ ((unused)),
38
39 Dwarf_Word dwarf_fregs[32];
40 for (int r = 0; r < 32; r++)
41- dwarf_fregs[r] = fregs.vregs[r] & 0xFFFFFFFF;
42+ dwarf_fregs[r] = (unsigned int)fregs.vregs[r] & 0xFFFFFFFF;
43
44 if (! setfunc (64, 32, dwarf_fregs, arg))
45 return false;
46diff --git a/backends/arm_initreg.c b/backends/arm_initreg.c
47index efcabaf..062bb9e 100644
48--- a/backends/arm_initreg.c
49+++ b/backends/arm_initreg.c
50@@ -38,7 +38,7 @@
51 #endif
52
53 #ifdef __aarch64__
54-# include <linux/uio.h>
55+# include <sys/uio.h>
56 # include <sys/user.h>
57 # include <sys/ptrace.h>
58 /* Deal with old glibc defining user_pt_regs instead of user_regs_struct. */
diff --git a/meta/recipes-devtools/elfutils/files/ptest.patch b/meta/recipes-devtools/elfutils/files/ptest.patch
index 2152875d63..6b83fa4662 100644
--- a/meta/recipes-devtools/elfutils/files/ptest.patch
+++ b/meta/recipes-devtools/elfutils/files/ptest.patch
@@ -1,4 +1,4 @@
1From d49f6a135762ec1f1831d0e80b8df2a4269b0a66 Mon Sep 17 00:00:00 2001 1From 74dad3295f2b8dc06b7e6bb876bc4541e927ef47 Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org> 2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Wed, 1 May 2019 16:37:48 +0100 3Date: Wed, 1 May 2019 16:37:48 +0100
4Subject: [PATCH] Changes to allow ptest to run standalone on target: 4Subject: [PATCH] Changes to allow ptest to run standalone on target:
@@ -21,11 +21,11 @@ Upstream-Status: Inappropriate [oe specific]
21 3 files changed, 3 insertions(+), 7 deletions(-) 21 3 files changed, 3 insertions(+), 7 deletions(-)
22 22
23diff --git a/configure.ac b/configure.ac 23diff --git a/configure.ac b/configure.ac
24index bbe8673..488712b 100644 24index 0670e01..14f3e36 100644
25--- a/configure.ac 25--- a/configure.ac
26+++ b/configure.ac 26+++ b/configure.ac
27@@ -49,7 +49,7 @@ AC_COPYRIGHT([Copyright (C) 1996-2024 The elfutils developers.]) 27@@ -43,7 +43,7 @@ AC_COPYRIGHT([Copyright (C) 1996-2025 The elfutils developers.])
28 AC_PREREQ(2.63) dnl Minimum Autoconf version required. 28 AC_PREREQ(2.69) dnl Minimum Autoconf version required.
29 29
30 dnl We use GNU make extensions; automake 1.10 defaults to -Wportability. 30 dnl We use GNU make extensions; automake 1.10 defaults to -Wportability.
31-AM_INIT_AUTOMAKE([gnits 1.11 -Wno-portability dist-bzip2 no-dist-gzip parallel-tests]) 31-AM_INIT_AUTOMAKE([gnits 1.11 -Wno-portability dist-bzip2 no-dist-gzip parallel-tests])
@@ -34,20 +34,20 @@ index bbe8673..488712b 100644
34 34
35 AM_SILENT_RULES([yes]) 35 AM_SILENT_RULES([yes])
36diff --git a/tests/Makefile.am b/tests/Makefile.am 36diff --git a/tests/Makefile.am b/tests/Makefile.am
37index ee49d07..3bd8e58 100644 37index 00ba754..6be7dd6 100644
38--- a/tests/Makefile.am 38--- a/tests/Makefile.am
39+++ b/tests/Makefile.am 39+++ b/tests/Makefile.am
40@@ -852,3 +852,5 @@ check: check-am coverage 40@@ -937,3 +937,5 @@ check: check-am coverage
41 coverage: 41 coverage:
42 -$(srcdir)/coverage.sh 42 -$(srcdir)/coverage.sh
43 endif 43 endif
44+oecheck: 44+oecheck:
45+ $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) 45+ $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
46diff --git a/tests/test-subr.sh b/tests/test-subr.sh 46diff --git a/tests/test-subr.sh b/tests/test-subr.sh
47index 411e5f2..a638ff9 100644 47index ea80cbe..7632d20 100644
48--- a/tests/test-subr.sh 48--- a/tests/test-subr.sh
49+++ b/tests/test-subr.sh 49+++ b/tests/test-subr.sh
50@@ -91,12 +91,6 @@ installed_testrun() 50@@ -92,12 +92,6 @@ installed_testrun()
51 program="$1" 51 program="$1"
52 shift 52 shift
53 case "$program" in 53 case "$program" in
diff --git a/meta/recipes-devtools/erofs-utils/erofs-utils_1.7.1.bb b/meta/recipes-devtools/erofs-utils/erofs-utils_1.8.5.bb
index a23cb330ea..2bedd6e16b 100644
--- a/meta/recipes-devtools/erofs-utils/erofs-utils_1.7.1.bb
+++ b/meta/recipes-devtools/erofs-utils/erofs-utils_1.8.5.bb
@@ -5,13 +5,11 @@ SECTION = "base"
5LIC_FILES_CHKSUM = "file://COPYING;md5=73001d804ea1e3d84365f652242cca20" 5LIC_FILES_CHKSUM = "file://COPYING;md5=73001d804ea1e3d84365f652242cca20"
6HOMEPAGE = "https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/tree/README" 6HOMEPAGE = "https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/tree/README"
7 7
8SRCREV = "83d94dc619075e71ca4d0f42941cfc18d269a2af" 8SRCREV = "7bc147fafd53a2a9ff7c22399491079e5bfffafc"
9SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git;branch=master;protocol=https" 9SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git;branch=master;protocol=https"
10 10
11UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>(\d+(\.\d+)+))" 11UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>(\d+(\.\d+)+))"
12 12
13S = "${WORKDIR}/git"
14
15DEPENDS = "util-linux-libuuid" 13DEPENDS = "util-linux-libuuid"
16 14
17inherit pkgconfig autotools 15inherit pkgconfig autotools
diff --git a/meta/recipes-devtools/expect/expect/0001-Replace-tclsh-with-tclsh8-in-the-scripts-used-in-the.patch b/meta/recipes-devtools/expect/expect/0001-Replace-tclsh-with-tclsh8-in-the-scripts-used-in-the.patch
new file mode 100644
index 0000000000..edc511d159
--- /dev/null
+++ b/meta/recipes-devtools/expect/expect/0001-Replace-tclsh-with-tclsh8-in-the-scripts-used-in-the.patch
@@ -0,0 +1,474 @@
1From d6118fde9c8a7c49f042bc9dc434f56910c23d9c Mon Sep 17 00:00:00 2001
2From: Jiaying Song <jiaying.song.cn@windriver.com>
3Date: Wed, 25 Dec 2024 13:35:59 +0800
4Subject: [PATCH] Replace tclsh with tclsh8 in the scripts used in the Expect
5 package
6MIME-Version: 1.0
7Content-Type: text/plain; charset=UTF-8
8Content-Transfer-Encoding: 8bit
9
10As can be seen from the following, since Expect uses tcl8, it is necessary to
11change tclsh to tclsh8 in the related scripts, otherwise they will not execute.
12
13pkgIndex.tcl :
14if {![package vsatisfies [package provide Tcl] 8.6]} {return}
15package ifneeded Expect 5.45.4 \
16 [list load [file join /usr/lib64 libexpect5.45.4.so]]
17
18Upstream-Status: Inactive-Upstream
19
20Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com>
21---
22 example/archie | 2 +-
23 example/autoexpect | 2 +-
24 example/autopasswd | 2 +-
25 example/chess.exp | 2 +-
26 example/cryptdir | 2 +-
27 example/decryptdir | 2 +-
28 example/dislocate | 2 +-
29 example/dvorak | 2 +-
30 example/ftp-inband | 2 +-
31 example/ftp-rfc | 2 +-
32 example/gethostbyaddr | 2 +-
33 example/kibitz | 2 +-
34 example/lpunlock | 2 +-
35 example/mkpasswd | 2 +-
36 example/multixterm | 2 +-
37 example/passmass | 2 +-
38 example/read1char | 2 +-
39 example/rftp | 2 +-
40 example/rlogin-cwd | 2 +-
41 example/robohunt | 2 +-
42 example/rogue.exp | 2 +-
43 example/telnet-cwd | 2 +-
44 example/timed-read | 2 +-
45 example/timed-run | 2 +-
46 example/tknewsbiff | 2 +-
47 example/tkpasswd | 2 +-
48 example/tkterm | 2 +-
49 example/unbuffer | 2 +-
50 example/virterm | 2 +-
51 example/weather | 2 +-
52 example/xkibitz | 2 +-
53 example/xpstat | 2 +-
54 32 files changed, 32 insertions(+), 32 deletions(-)
55
56diff --git a/example/archie b/example/archie
57index 0d5f43f..0e8d11e 100755
58--- a/example/archie
59+++ b/example/archie
60@@ -1,7 +1,7 @@
61 #!/bin/sh
62 # -*- tcl -*-
63 # The next line is executed by /bin/sh, but not tcl \
64-exec tclsh "$0" ${1+"$@"}
65+exec tclsh8 "$0" ${1+"$@"}
66
67 package require Expect
68
69diff --git a/example/autoexpect b/example/autoexpect
70index 35e57ce..e5ea626 100755
71--- a/example/autoexpect
72+++ b/example/autoexpect
73@@ -1,7 +1,7 @@
74 #!/bin/sh
75 # -*- tcl -*-
76 # The next line is executed by /bin/sh, but not tcl \
77-exec tclsh "$0" ${1+"$@"}
78+exec tclsh8 "$0" ${1+"$@"}
79
80 package require Expect
81
82diff --git a/example/autopasswd b/example/autopasswd
83index 1d095e2..b87dcd4 100755
84--- a/example/autopasswd
85+++ b/example/autopasswd
86@@ -1,7 +1,7 @@
87 #!/bin/sh
88 # -*- tcl -*-
89 # The next line is executed by /bin/sh, but not tcl \
90-exec tclsh "$0" ${1+"$@"}
91+exec tclsh8 "$0" ${1+"$@"}
92
93 package require Expect
94
95diff --git a/example/chess.exp b/example/chess.exp
96index 7cbd8ff..450dd20 100755
97--- a/example/chess.exp
98+++ b/example/chess.exp
99@@ -1,7 +1,7 @@
100 #!/bin/sh
101 # -*- tcl -*-
102 # The next line is executed by /bin/sh, but not tcl \
103-exec tclsh "$0" ${1+"$@"}
104+exec tclsh8 "$0" ${1+"$@"}
105
106 package require Expect
107
108diff --git a/example/cryptdir b/example/cryptdir
109index 84a155b..c7bfc02 100755
110--- a/example/cryptdir
111+++ b/example/cryptdir
112@@ -1,7 +1,7 @@
113 #!/bin/sh
114 # -*- tcl -*-
115 # The next line is executed by /bin/sh, but not tcl \
116-exec tclsh "$0" ${1+"$@"}
117+exec tclsh8 "$0" ${1+"$@"}
118
119 package require Expect
120
121diff --git a/example/decryptdir b/example/decryptdir
122index 84a155b..c7bfc02 100755
123--- a/example/decryptdir
124+++ b/example/decryptdir
125@@ -1,7 +1,7 @@
126 #!/bin/sh
127 # -*- tcl -*-
128 # The next line is executed by /bin/sh, but not tcl \
129-exec tclsh "$0" ${1+"$@"}
130+exec tclsh8 "$0" ${1+"$@"}
131
132 package require Expect
133
134diff --git a/example/dislocate b/example/dislocate
135index 9d34180..b366933 100755
136--- a/example/dislocate
137+++ b/example/dislocate
138@@ -1,7 +1,7 @@
139 #!/bin/sh
140 # -*- tcl -*-
141 # The next line is executed by /bin/sh, but not tcl \
142-exec tclsh "$0" ${1+"$@"}
143+exec tclsh8 "$0" ${1+"$@"}
144
145 package require Expect
146
147diff --git a/example/dvorak b/example/dvorak
148index b5debc3..3789938 100755
149--- a/example/dvorak
150+++ b/example/dvorak
151@@ -1,7 +1,7 @@
152 #!/bin/sh
153 # -*- tcl -*-
154 # The next line is executed by /bin/sh, but not tcl \
155-exec tclsh "$0" ${1+"$@"}
156+exec tclsh8 "$0" ${1+"$@"}
157
158 package require Expect
159
160diff --git a/example/ftp-inband b/example/ftp-inband
161index 5a28302..d3392f4 100755
162--- a/example/ftp-inband
163+++ b/example/ftp-inband
164@@ -1,7 +1,7 @@
165 #!/bin/sh
166 # -*- tcl -*-
167 # The next line is executed by /bin/sh, but not tcl \
168-exec tclsh "$0" ${1+"$@"}
169+exec tclsh8 "$0" ${1+"$@"}
170
171 package require Expect
172
173diff --git a/example/ftp-rfc b/example/ftp-rfc
174index 4153b24..f02b3dc 100755
175--- a/example/ftp-rfc
176+++ b/example/ftp-rfc
177@@ -1,7 +1,7 @@
178 #!/bin/sh
179 # -*- tcl -*-
180 # The next line is executed by /bin/sh, but not tcl \
181-exec tclsh "$0" ${1+"$@"}
182+exec tclsh8 "$0" ${1+"$@"}
183
184 package require Expect
185
186diff --git a/example/gethostbyaddr b/example/gethostbyaddr
187index 513a330..803b667 100755
188--- a/example/gethostbyaddr
189+++ b/example/gethostbyaddr
190@@ -1,7 +1,7 @@
191 #!/bin/sh
192 # -*- tcl -*-
193 # The next line is executed by /bin/sh, but not tcl \
194-exec tclsh "$0" ${1+"$@"}
195+exec tclsh8 "$0" ${1+"$@"}
196
197 package require Expect
198
199diff --git a/example/kibitz b/example/kibitz
200index eacb139..7c73bf9 100755
201--- a/example/kibitz
202+++ b/example/kibitz
203@@ -1,7 +1,7 @@
204 #!/bin/sh
205 # -*- tcl -*-
206 # The next line is executed by /bin/sh, but not tcl \
207-exec tclsh "$0" ${1+"$@"}
208+exec tclsh8 "$0" ${1+"$@"}
209
210 package require Expect
211
212diff --git a/example/lpunlock b/example/lpunlock
213index 2b7ea24..e42224b 100755
214--- a/example/lpunlock
215+++ b/example/lpunlock
216@@ -1,7 +1,7 @@
217 #!/bin/sh
218 # -*- tcl -*-
219 # The next line is executed by /bin/sh, but not tcl \
220-exec tclsh "$0" ${1+"$@"}
221+exec tclsh8 "$0" ${1+"$@"}
222
223 package require Expect
224
225diff --git a/example/mkpasswd b/example/mkpasswd
226index 6016b56..c3e97f4 100755
227--- a/example/mkpasswd
228+++ b/example/mkpasswd
229@@ -1,7 +1,7 @@
230 #!/bin/sh
231 # -*- tcl -*-
232 # The next line is executed by /bin/sh, but not tcl \
233-exec tclsh "$0" ${1+"$@"}
234+exec tclsh8 "$0" ${1+"$@"}
235
236 package require Expect
237
238diff --git a/example/multixterm b/example/multixterm
239index d0abfe7..82d6651 100755
240--- a/example/multixterm
241+++ b/example/multixterm
242@@ -1,7 +1,7 @@
243 #!/bin/sh
244 # -*- tcl -*-
245 # The next line is executed by /bin/sh, but not tcl \
246-exec tclsh "$0" ${1+"$@"}
247+exec tclsh8 "$0" ${1+"$@"}
248
249 package require Expect
250
251diff --git a/example/passmass b/example/passmass
252index e3c18e6..8f396d3 100755
253--- a/example/passmass
254+++ b/example/passmass
255@@ -1,7 +1,7 @@
256 #!/bin/sh
257 # -*- tcl -*-
258 # The next line is executed by /bin/sh, but not tcl \
259-exec tclsh "$0" ${1+"$@"}
260+exec tclsh8 "$0" ${1+"$@"}
261
262 package require Expect
263
264diff --git a/example/read1char b/example/read1char
265index 43a3df8..5f947fd 100644
266--- a/example/read1char
267+++ b/example/read1char
268@@ -1,7 +1,7 @@
269 #!/bin/sh
270 # -*- tcl -*-
271 # The next line is executed by /bin/sh, but not tcl \
272-exec tclsh "$0" ${1+"$@"}
273+exec tclsh8 "$0" ${1+"$@"}
274
275 package require Expect
276
277diff --git a/example/rftp b/example/rftp
278index c5db679..ebbf4c5 100755
279--- a/example/rftp
280+++ b/example/rftp
281@@ -1,7 +1,7 @@
282 #!/bin/sh
283 # -*- tcl -*-
284 # The next line is executed by /bin/sh, but not tcl \
285-exec tclsh "$0" ${1+"$@"}
286+exec tclsh8 "$0" ${1+"$@"}
287
288 package require Expect
289
290diff --git a/example/rlogin-cwd b/example/rlogin-cwd
291index b217373..80863e7 100755
292--- a/example/rlogin-cwd
293+++ b/example/rlogin-cwd
294@@ -1,7 +1,7 @@
295 #!/bin/sh
296 # -*- tcl -*-
297 # The next line is executed by /bin/sh, but not tcl \
298-exec tclsh "$0" ${1+"$@"}
299+exec tclsh8 "$0" ${1+"$@"}
300
301 package require Expect
302
303diff --git a/example/robohunt b/example/robohunt
304index 853ce1e..0d70c87 100755
305--- a/example/robohunt
306+++ b/example/robohunt
307@@ -1,7 +1,7 @@
308 #!/bin/sh
309 # -*- tcl -*-
310 # The next line is executed by /bin/sh, but not tcl \
311-exec tclsh "$0" ${1+"$@"}
312+exec tclsh8 "$0" ${1+"$@"}
313
314 package require Expect
315
316diff --git a/example/rogue.exp b/example/rogue.exp
317index 083acdf..fb6f9ca 100755
318--- a/example/rogue.exp
319+++ b/example/rogue.exp
320@@ -1,7 +1,7 @@
321 #!/bin/sh
322 # -*- tcl -*-
323 # The next line is executed by /bin/sh, but not tcl \
324-exec tclsh "$0" ${1+"$@"}
325+exec tclsh8 "$0" ${1+"$@"}
326
327 package require Expect
328
329diff --git a/example/telnet-cwd b/example/telnet-cwd
330index bd16048..fa520f1 100755
331--- a/example/telnet-cwd
332+++ b/example/telnet-cwd
333@@ -1,7 +1,7 @@
334 #!/bin/sh
335 # -*- tcl -*-
336 # The next line is executed by /bin/sh, but not tcl \
337-exec tclsh "$0" ${1+"$@"}
338+exec tclsh8 "$0" ${1+"$@"}
339
340 package require Expect
341
342diff --git a/example/timed-read b/example/timed-read
343index 8e63f0f..0a4ee7d 100755
344--- a/example/timed-read
345+++ b/example/timed-read
346@@ -1,7 +1,7 @@
347 #!/bin/sh
348 # -*- tcl -*-
349 # The next line is executed by /bin/sh, but not tcl \
350-exec tclsh "$0" ${1+"$@"}
351+exec tclsh8 "$0" ${1+"$@"}
352
353 package require Expect
354
355diff --git a/example/timed-run b/example/timed-run
356index 80def48..a0a36ba 100755
357--- a/example/timed-run
358+++ b/example/timed-run
359@@ -1,7 +1,7 @@
360 #!/bin/sh
361 # -*- tcl -*-
362 # The next line is executed by /bin/sh, but not tcl \
363-exec tclsh "$0" ${1+"$@"}
364+exec tclsh8 "$0" ${1+"$@"}
365
366 package require Expect
367
368diff --git a/example/tknewsbiff b/example/tknewsbiff
369index 9a2da4b..8d9db19 100755
370--- a/example/tknewsbiff
371+++ b/example/tknewsbiff
372@@ -1,7 +1,7 @@
373 #!/bin/sh
374 # -*- tcl -*-
375 # The next line is executed by /bin/sh, but not tcl \
376-exec tclsh "$0" ${1+"$@"}
377+exec tclsh8 "$0" ${1+"$@"}
378
379 package require Expect
380 package require Tk
381diff --git a/example/tkpasswd b/example/tkpasswd
382index 376c56a..cc4d816 100755
383--- a/example/tkpasswd
384+++ b/example/tkpasswd
385@@ -1,7 +1,7 @@
386 #!/bin/sh
387 # -*- tcl -*-
388 # The next line is executed by /bin/sh, but not tcl \
389-exec tclsh "$0" ${1+"$@"}
390+exec tclsh8 "$0" ${1+"$@"}
391
392 package require Expect
393 package require Tk
394diff --git a/example/tkterm b/example/tkterm
395index 16ee972..6c85c63 100755
396--- a/example/tkterm
397+++ b/example/tkterm
398@@ -1,7 +1,7 @@
399 #!/bin/sh
400 # -*- tcl -*-
401 # The next line is executed by /bin/sh, but not tcl \
402-exec tclsh "$0" ${1+"$@"}
403+exec tclsh8 "$0" ${1+"$@"}
404
405 package require Expect
406 package require Tk
407diff --git a/example/unbuffer b/example/unbuffer
408index ad5db7b..f6e42fd 100755
409--- a/example/unbuffer
410+++ b/example/unbuffer
411@@ -1,7 +1,7 @@
412 #!/bin/sh
413 # -*- tcl -*-
414 # The next line is executed by /bin/sh, but not tcl \
415-exec tclsh "$0" ${1+"$@"}
416+exec tclsh8 "$0" ${1+"$@"}
417
418 package require Expect
419
420diff --git a/example/virterm b/example/virterm
421index bab254b..911c5bc 100755
422--- a/example/virterm
423+++ b/example/virterm
424@@ -1,7 +1,7 @@
425 #!/bin/sh
426 # -*- tcl -*-
427 # The next line is executed by /bin/sh, but not tcl \
428-exec tclsh "$0" ${1+"$@"}
429+exec tclsh8 "$0" ${1+"$@"}
430
431 package require Expect
432
433diff --git a/example/weather b/example/weather
434index 4bd0e1b..8146359 100755
435--- a/example/weather
436+++ b/example/weather
437@@ -1,7 +1,7 @@
438 #!/bin/sh
439 # -*- tcl -*-
440 # The next line is executed by /bin/sh, but not tcl \
441-exec tclsh "$0" ${1+"$@"}
442+exec tclsh8 "$0" ${1+"$@"}
443
444 package require Expect
445
446diff --git a/example/xkibitz b/example/xkibitz
447index b61a22f..5718976 100755
448--- a/example/xkibitz
449+++ b/example/xkibitz
450@@ -1,7 +1,7 @@
451 #!/bin/sh
452 # -*- tcl -*-
453 # The next line is executed by /bin/sh, but not tcl \
454-exec tclsh "$0" ${1+"$@"}
455+exec tclsh8 "$0" ${1+"$@"}
456
457 package require Expect
458
459diff --git a/example/xpstat b/example/xpstat
460index ebbfbcf..067d57e 100755
461--- a/example/xpstat
462+++ b/example/xpstat
463@@ -1,7 +1,7 @@
464 #!/bin/sh
465 # -*- tcl -*-
466 # The next line is executed by /bin/sh, but not tcl \
467-exec tclsh "$0" ${1+"$@"}
468+exec tclsh8 "$0" ${1+"$@"}
469
470 package require Expect
471
472--
4732.25.1
474
diff --git a/meta/recipes-devtools/expect/expect/expect-configure-c99.patch b/meta/recipes-devtools/expect/expect/expect-configure-c99.patch
new file mode 100644
index 0000000000..09bf180df7
--- /dev/null
+++ b/meta/recipes-devtools/expect/expect/expect-configure-c99.patch
@@ -0,0 +1,201 @@
1Avoid calling exit without declaring the function.
2
3Add missing <string.h> include for memcpy.
4
5Use AC_TYPE_SIGNAL to fix REARM_SIG check. Add missing includes.
6
7Fix various implicit int return types of main.
8
9Upstream-Status: Submitted [https://sourceforge.net/p/expect/patches/24/]
10Signed-off-by: Ross Burton <ross.burton@arm.com>
11
12diff --git a/configure.in b/configure.in
13index 51558fa14d2bcf7e..055c88fbd8797eaa 100755
14--- a/configure.in
15+++ b/configure.in
16@@ -452,7 +452,11 @@ AC_CHECK_FUNC(siglongjmp, AC_DEFINE(HAVE_SIGLONGJMP))
17 # because Unixware 2.0 handles it specially and refuses to compile
18 # autoconf's automatic test that is a call with no arguments
19 AC_MSG_CHECKING([for memcpy])
20-AC_TRY_LINK(,[
21+AC_TRY_LINK([
22+#ifdef HAVE_STRING_H
23+#include <string.h>
24+#endif
25+],[
26 char *s1, *s2;
27 memcpy(s1,s2,0);
28 ],
29@@ -469,6 +473,7 @@ memcpy(s1,s2,0);
30 AC_MSG_CHECKING([if WNOHANG requires _POSIX_SOURCE])
31 AC_TRY_RUN([
32 #include <sys/wait.h>
33+int
34 main() {
35 #ifndef WNOHANG
36 return 0;
37@@ -489,6 +494,7 @@ rm -rf wnohang
38 AC_TRY_RUN([
39 #include <stdio.h>
40 #include <sys/wait.h>
41+int
42 main() {
43 #ifdef WNOHANG
44 FILE *fp = fopen("wnohang","w");
45@@ -527,16 +533,21 @@ else
46 AC_DEFINE(SELECT_MASK_TYPE, fd_set)
47 fi
48
49-dnl # Check for the data type of the function used in signal(). This
50-dnl # must be before the test for rearming.
51-dnl # echo checking return type of signal handlers
52-dnl AC_HEADER_EGREP([(void|sighandler_t).*signal], signal.h, retsigtype=void,AC_DEFINE(RETSIGTYPE, int) retsigtype=int)
53+AC_TYPE_SIGNAL
54
55 # FIXME: check if alarm exists
56 AC_MSG_CHECKING([if signals need to be re-armed])
57 AC_TRY_RUN([
58 #include <signal.h>
59-#define RETSIGTYPE $retsigtype
60+#ifdef HAVE_STDLIB_H
61+# include <stdlib.h>
62+#endif
63+#ifdef HAVE_UNISTD_H
64+# include <unistd.h>
65+#endif
66+#ifndef NO_SYS_WAIT_H
67+# include <sys/wait.h>
68+#endif
69
70 int signal_rearms = 0;
71
72@@ -553,6 +564,7 @@ int n;
73 signal_rearms++;
74 }
75
76+int
77 main()
78 {
79 signal(SIGINT,parent_sigint_handler);
80@@ -714,10 +726,11 @@ fi
81 AC_MSG_CHECKING([for struct sgttyb])
82 AC_TRY_RUN([
83 #include <sgtty.h>
84+int
85 main()
86 {
87 struct sgttyb tmp;
88- exit(0);
89+ return 0;
90 }],
91 AC_MSG_RESULT(yes)
92 AC_DEFINE(HAVE_SGTTYB)
93@@ -738,10 +751,11 @@ if test $mach -eq 0 ; then
94 # pty_termios.c is set up to handle pty_termio.
95 AC_MSG_CHECKING([for struct termio])
96 AC_TRY_RUN([#include <termio.h>
97+ int
98 main()
99 {
100 struct termio tmp;
101- exit(0);
102+ return 0;
103 }],
104 AC_DEFINE(HAVE_TERMIO)
105 PTY_TYPE=termios
106@@ -760,10 +774,11 @@ if test $mach -eq 0 ; then
107 # include <inttypes.h>
108 # endif
109 # include <termios.h>
110+ int
111 main()
112 {
113 struct termios tmp;
114- exit(0);
115+ return 0;
116 }],
117 AC_DEFINE(HAVE_TERMIOS)
118 PTY_TYPE=termios
119@@ -782,6 +797,7 @@ AC_TRY_RUN([
120 #include <inttypes.h>
121 #endif
122 #include <termios.h>
123+int
124 main() {
125 #if defined(TCGETS) || defined(TCGETA)
126 return 0;
127@@ -804,6 +820,7 @@ AC_TRY_RUN([
128 #include <inttypes.h>
129 #endif
130 #include <termios.h>
131+int
132 main() {
133 #ifdef TIOCGWINSZ
134 return 0;
135@@ -823,6 +840,7 @@ main() {
136 AC_MSG_CHECKING([for Cray-style ptys])
137 SETUID=":"
138 AC_TRY_RUN([
139+int
140 main(){
141 #ifdef CRAY
142 return 0;
143@@ -878,12 +896,13 @@ AC_MSG_CHECKING([for SV-style timezone])
144 AC_TRY_RUN([
145 extern char *tzname[2];
146 extern int daylight;
147+int
148 main()
149 {
150 int *x = &daylight;
151 char **y = tzname;
152
153- exit(0);
154+ return 0;
155 }],
156 AC_DEFINE(HAVE_SV_TIMEZONE)
157 AC_MSG_RESULT(yes),
158diff --git a/tclconfig/tcl.m4 b/tclconfig/tcl.m4
159index 0689cab3da994068..ebe839e5553ba520 100644
160--- a/tclconfig/tcl.m4
161+++ b/tclconfig/tcl.m4
162@@ -2400,7 +2400,7 @@ AC_DEFUN([TEA_TIME_HANDLER], [
163 AC_TRY_COMPILE([#include <time.h>],
164 [extern long timezone;
165 timezone += 1;
166- exit (0);],
167+ return 0;],
168 tcl_cv_timezone_long=yes, tcl_cv_timezone_long=no)])
169 if test $tcl_cv_timezone_long = yes ; then
170 AC_DEFINE(HAVE_TIMEZONE_VAR, 1, [Should we use the global timezone variable?])
171@@ -2412,7 +2412,7 @@ AC_DEFUN([TEA_TIME_HANDLER], [
172 AC_TRY_COMPILE([#include <time.h>],
173 [extern time_t timezone;
174 timezone += 1;
175- exit (0);],
176+ return 0;],
177 tcl_cv_timezone_time=yes, tcl_cv_timezone_time=no)])
178 if test $tcl_cv_timezone_time = yes ; then
179 AC_DEFINE(HAVE_TIMEZONE_VAR, 1, [Should we use the global timezone variable?])
180@@ -2452,17 +2452,17 @@ AC_DEFUN([TEA_BUGGY_STRTOD], [
181 double value;
182 value = strtod(infString, &term);
183 if ((term != infString) && (term[-1] == 0)) {
184- exit(1);
185+ return 1;
186 }
187 value = strtod(nanString, &term);
188 if ((term != nanString) && (term[-1] == 0)) {
189- exit(1);
190+ return 1;
191 }
192 value = strtod(spaceString, &term);
193 if (term == (spaceString+1)) {
194- exit(1);
195+ return 1;
196 }
197- exit(0);
198+ return 0;
199 }], tcl_cv_strtod_buggy=ok, tcl_cv_strtod_buggy=buggy,
200 tcl_cv_strtod_buggy=buggy)])
201 if test "$tcl_cv_strtod_buggy" = buggy; then
diff --git a/meta/recipes-devtools/expect/expect/run-ptest b/meta/recipes-devtools/expect/expect/run-ptest
index 856c314eaf..1d35ba79d3 100755
--- a/meta/recipes-devtools/expect/expect/run-ptest
+++ b/meta/recipes-devtools/expect/expect/run-ptest
@@ -1,6 +1,6 @@
1#!/bin/sh 1#!/bin/sh
2 2
3out_put=`tclsh tests/all.tcl -verbose bpse` 3out_put=`tclsh8 tests/all.tcl -verbose bpse`
4echo 4echo
5echo "${out_put}" | awk '/PASSED|FAILED|SKIPPED/{gsub(/PASSED/,"PASS"); gsub(/FAILED/,"FAIL"); gsub(/SKIPPED/,"SKIP"); if ($NF=="PASS"){print $NF": "$(NF-1)}else{print $NF": "$2}}' | uniq 5echo "${out_put}" | awk '/PASSED|FAILED|SKIPPED/{gsub(/PASSED/,"PASS"); gsub(/FAILED/,"FAIL"); gsub(/SKIPPED/,"SKIP"); if ($NF=="PASS"){print $NF": "$(NF-1)}else{print $NF": "$2}}' | uniq
6 6
diff --git a/meta/recipes-devtools/expect/expect/tcl840.patch b/meta/recipes-devtools/expect/expect/tcl840.patch
new file mode 100644
index 0000000000..8c7b0e7a7f
--- /dev/null
+++ b/meta/recipes-devtools/expect/expect/tcl840.patch
@@ -0,0 +1,27 @@
1Adjustments for compatibility with the currrent (Tcl 8.4.0+) channel
2implementation.
3
4Upstream-Status: Submitted [https://sourceforge.net/p/expect/patches/24/]
5Signed-off-by: Ross Burton <ross.burton@arm.com>
6
7diff --git a/exp_chan.c b/exp_chan.c
8index c92e26b6fbd02305..944200a63b102672 100644
9--- a/exp_chan.c
10+++ b/exp_chan.c
11@@ -60,7 +60,7 @@ void exp_background_channelhandler _ANSI_ARGS_((ClientData,
12
13 Tcl_ChannelType expChannelType = {
14 "exp", /* Type name. */
15- ExpBlockModeProc, /* Set blocking/nonblocking mode.*/
16+ TCL_CHANNEL_VERSION_2,
17 ExpCloseProc, /* Close proc. */
18 ExpInputProc, /* Input proc. */
19 ExpOutputProc, /* Output proc. */
20@@ -70,6 +70,7 @@ Tcl_ChannelType expChannelType = {
21 ExpWatchProc, /* Initialize notifier. */
22 ExpGetHandleProc, /* Get OS handles out of channel. */
23 NULL, /* Close2 proc */
24+ ExpBlockModeProc, /* Set blocking/nonblocking mode.*/
25 };
26
27 typedef struct ThreadSpecificData {
diff --git a/meta/recipes-devtools/expect/expect_5.45.4.bb b/meta/recipes-devtools/expect/expect_5.45.4.bb
index 18904ebc10..48b5b0d934 100644
--- a/meta/recipes-devtools/expect/expect_5.45.4.bb
+++ b/meta/recipes-devtools/expect/expect_5.45.4.bb
@@ -13,8 +13,8 @@ SECTION = "devel"
13 13
14LIC_FILES_CHKSUM = "file://license.terms;md5=fbf2de7e9102505b1439db06fc36ce5c" 14LIC_FILES_CHKSUM = "file://license.terms;md5=fbf2de7e9102505b1439db06fc36ce5c"
15 15
16DEPENDS += "tcl" 16DEPENDS += "tcl8"
17RDEPENDS:${PN} = "tcl" 17RDEPENDS:${PN} = "tcl8"
18 18
19inherit autotools update-alternatives ptest 19inherit autotools update-alternatives ptest
20 20
@@ -27,22 +27,26 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/expect/Expect/${PV}/${BPN}${PV}.tar.gz \
27 file://0001-exp_main_sub.c-Use-PATH_MAX-for-path.patch \ 27 file://0001-exp_main_sub.c-Use-PATH_MAX-for-path.patch \
28 file://0001-fixline1-fix-line-1.patch \ 28 file://0001-fixline1-fix-line-1.patch \
29 file://0001-Add-prototype-to-function-definitions.patch \ 29 file://0001-Add-prototype-to-function-definitions.patch \
30 file://expect-configure-c99.patch \
31 file://tcl840.patch \
30 file://run-ptest \ 32 file://run-ptest \
33 file://0001-Replace-tclsh-with-tclsh8-in-the-scripts-used-in-the.patch \
31 " 34 "
32SRC_URI[md5sum] = "00fce8de158422f5ccd2666512329bd2"
33SRC_URI[sha256sum] = "49a7da83b0bdd9f46d04a04deec19c7767bb9a323e40c4781f89caf760b92c34" 35SRC_URI[sha256sum] = "49a7da83b0bdd9f46d04a04deec19c7767bb9a323e40c4781f89caf760b92c34"
34 36
35UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/expect/files/Expect/" 37UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/expect/files/Expect/"
36UPSTREAM_CHECK_REGEX = "/Expect/(?P<pver>(\d+[\.\-_]*)+)/" 38UPSTREAM_CHECK_REGEX = "/Expect/(?P<pver>(\d+[\.\-_]*)+)/"
37 39
38S = "${WORKDIR}/${BPN}${PV}" 40S = "${UNPACKDIR}/${BPN}${PV}"
41
42EXTRA_AUTORECONF += "--exclude=aclocal"
43
44CFLAGS += "-std=gnu17"
39 45
40do_install:append() { 46do_install:append() {
41 install -d ${D}${libdir} 47 mv ${D}${libdir}/expect${PV}/libexpect*.so ${D}${libdir}/
42 install -m 0755 ${D}${libdir}/expect${PV}/libexpect*.so ${D}${libdir}/ 48 install -m 0755 ${S}/fixline1 ${D}${libdir}/expect${PV}/
43 install -m 0755 ${S}/fixline1 ${D}${libdir}/expect${PV}/ 49 sed -e 's|$dir|${libdir}|' -i ${D}${libdir}/expect${PV}/pkgIndex.tcl
44 rm ${D}${libdir}/expect${PV}/libexpect*.so
45 sed -e 's|$dir|${libdir}|' -i ${D}${libdir}/expect${PV}/pkgIndex.tcl
46} 50}
47 51
48do_install_ptest() { 52do_install_ptest() {
@@ -61,7 +65,6 @@ EXTRA_OECONF += "--with-tcl=${STAGING_LIBDIR} \
61 --disable-rpath \ 65 --disable-rpath \
62 ${TCL_INCLUDE_PATH} \ 66 ${TCL_INCLUDE_PATH} \
63 " 67 "
64EXTRA_OEMAKE_install = " 'SCRIPTS=' "
65 68
66ALTERNATIVE:${PN} = "mkpasswd" 69ALTERNATIVE:${PN} = "mkpasswd"
67ALTERNATIVE_LINK_NAME[mkpasswd] = "${bindir}/mkpasswd" 70ALTERNATIVE_LINK_NAME[mkpasswd] = "${bindir}/mkpasswd"
@@ -81,7 +84,3 @@ FILES:${PN} += "${libdir}/libexpect${PV}.so \
81 " 84 "
82 85
83BBCLASSEXTEND = "native nativesdk" 86BBCLASSEXTEND = "native nativesdk"
84
85# http://errors.yoctoproject.org/Errors/Details/766950/
86# expect5.45.4/exp_chan.c:62:5: error: initialization of 'struct Tcl_ChannelTypeVersion_ *' from incompatible pointer type 'int (*)(void *, int)' [-Wincompatible-pointer-types]
87CFLAGS += "-Wno-error=incompatible-pointer-types"
diff --git a/meta/recipes-devtools/fastfloat/fastfloat_8.0.2.bb b/meta/recipes-devtools/fastfloat/fastfloat_8.0.2.bb
new file mode 100644
index 0000000000..ca69a4238f
--- /dev/null
+++ b/meta/recipes-devtools/fastfloat/fastfloat_8.0.2.bb
@@ -0,0 +1,14 @@
1SUMMARY = "fast_float number parsing library: 4x faster than strtod"
2HOMEPAGE = "https://github.com/fastfloat/fast_float"
3LICENSE = "Apache-2.0 & BSL-1.0 & MIT"
4LIC_FILES_CHKSUM = " \
5 file://LICENSE-MIT;md5=32b11d50c7d9788d4270f6a83f3e68eb \
6 file://LICENSE-APACHE;md5=81db248e90379bcfc0582b578b009bc3 \
7 file://LICENSE-BOOST;md5=2c7a3fa82e66676005cd4ee2608fd7d2 \
8"
9
10SRC_URI = "git://github.com/fastfloat/fast_float.git;protocol=https;branch=main"
11
12SRCREV = "50a80a73ab2ab256ba1c3bf86923ddd8b4202bc7"
13
14inherit cmake
diff --git a/meta/recipes-devtools/file/file_5.45.bb b/meta/recipes-devtools/file/file_5.46.bb
index fa8dc576dc..c035e0b11d 100644
--- a/meta/recipes-devtools/file/file_5.45.bb
+++ b/meta/recipes-devtools/file/file_5.46.bb
@@ -12,11 +12,11 @@ DEPENDS = "file-replacement-native"
12DEPENDS:class-native = "bzip2-replacement-native" 12DEPENDS:class-native = "bzip2-replacement-native"
13 13
14SRC_URI = "git://github.com/file/file.git;branch=master;protocol=https \ 14SRC_URI = "git://github.com/file/file.git;branch=master;protocol=https \
15 file://print_c.patch \ 15 file://0001-Use-4-in-default-reset-previous-negative-offset-in-m.patch \
16 " 16 file://0001-PR-579-net147-Fix-stack-overrun.patch \
17 "
17 18
18SRCREV = "4cbd5c8f0851201d203755b76cb66ba991ffd8be" 19SRCREV = "c5aa4f7f8d5063fb3c37ad57bf54bb67ec641a09"
19S = "${WORKDIR}/git"
20 20
21inherit autotools update-alternatives 21inherit autotools update-alternatives
22 22
diff --git a/meta/recipes-devtools/file/files/0001-PR-579-net147-Fix-stack-overrun.patch b/meta/recipes-devtools/file/files/0001-PR-579-net147-Fix-stack-overrun.patch
new file mode 100644
index 0000000000..57725b1c5f
--- /dev/null
+++ b/meta/recipes-devtools/file/files/0001-PR-579-net147-Fix-stack-overrun.patch
@@ -0,0 +1,33 @@
1From fc6b51aa67a11806c95363e1bec925d15b3a98a5 Mon Sep 17 00:00:00 2001
2From: Christos Zoulas <christos@zoulas.com>
3Date: Thu, 5 Dec 2024 18:35:40 +0000
4Subject: [PATCH] PR/579: net147: Fix stack overrun.
5
6Upstream-Status: Backport [https://github.com/file/file/commit/b3384a1fbfa1fee99986e5750ab8e700de4f24ad]
7Signed-off-by: Alexander Kanavin <alex@linutronix.de>
8---
9 src/readelf.c | 4 ++--
10 1 file changed, 2 insertions(+), 2 deletions(-)
11
12diff --git a/src/readelf.c b/src/readelf.c
13index fe4cf541..d209d86d 100644
14--- a/src/readelf.c
15+++ b/src/readelf.c
16@@ -27,7 +27,7 @@
17 #include "file.h"
18
19 #ifndef lint
20-FILE_RCSID("@(#)$File: readelf.c,v 1.196 2024/11/11 15:49:11 christos Exp $")
21+FILE_RCSID("@(#)$File: readelf.c,v 1.197 2024/12/05 18:35:40 christos Exp $")
22 #endif
23
24 #ifdef BUILTIN_ELF
25@@ -1726,7 +1726,7 @@ dophn_exec(struct magic_set *ms, int clazz, int swap, int fd, off_t off,
26 Elf64_Phdr ph64;
27 const char *linking_style;
28 unsigned char nbuf[NBUFSIZE];
29- char interp[128];
30+ char interp[NBUFSIZE];
31 ssize_t bufsize;
32 size_t offset, align, need = 0;
33 int pie = 0, dynamic = 0;
diff --git a/meta/recipes-devtools/file/files/0001-Use-4-in-default-reset-previous-negative-offset-in-m.patch b/meta/recipes-devtools/file/files/0001-Use-4-in-default-reset-previous-negative-offset-in-m.patch
new file mode 100644
index 0000000000..7601e6dead
--- /dev/null
+++ b/meta/recipes-devtools/file/files/0001-Use-4-in-default-reset-previous-negative-offset-in-m.patch
@@ -0,0 +1,93 @@
1From b310a0c2d3e4a1c12d579ad5c0266f1092a91340 Mon Sep 17 00:00:00 2001
2From: Christos Zoulas <christos@zoulas.com>
3Date: Wed, 27 Nov 2024 15:37:46 +0000
4Subject: [PATCH] Use +4 in default reset previous negative offset in magic in
5 zip entry
6
7Upstream-Status: Backport [https://github.com/file/file/commit/b310a0c2d3e4a1c12d579ad5c0266f1092a91340]
8Signed-off-by: Alexander Kanavin <alex@linutronix.de>
9---
10 magic/Magdir/archive | 50 +++++++++++++++++++++++---------------------
11 1 file changed, 26 insertions(+), 24 deletions(-)
12
13diff --git a/magic/Magdir/archive b/magic/Magdir/archive
14index c8f440dc..b920f993 100644
15--- a/magic/Magdir/archive
16+++ b/magic/Magdir/archive
17@@ -1,5 +1,5 @@
18 #------------------------------------------------------------------------------
19-# $File: archive,v 1.206 2024/11/26 19:39:14 christos Exp $
20+# $File: archive,v 1.207 2024/11/27 15:37:46 christos Exp $
21 # archive: file(1) magic for archive formats (see also "msdos" for self-
22 # extracting compressed archives)
23 #
24@@ -1875,15 +1875,6 @@
25 >>>>>-22 string PK\005\006
26 >>>>>>(-6.l-16) string APK\x20Sig\x20Block\x2042 \b, with APK Signing Block
27
28-# Keyman Compiled Package File (keyman.com)
29-# https://help.keyman.com/developer/current-version/reference/file-types/kmp
30-# Find start of central directory
31->>>(-6.l) string PK\001\002
32-# Scan central directory for string 'kmp.json', will suffice for a
33-# package containing about 150 files
34->>>>(-6.l) search/9000 kmp.json Keyman Compiled Package File
35-!:mime application/vnd.keyman.kmp+zip
36-!:ext kmp
37
38 # Specialised zip formats which start with a member named 'mimetype'
39 # (stored uncompressed, with no 'extra field') containing the file's MIME type.
40@@ -2123,25 +2114,36 @@
41 #>30 search/100/b application/epub+zip EPUB document
42 #!:mime application/epub+zip
43
44-# Generic zip archives (Greg Roelofs, c/o zip-bugs@wkuvx1.wku.edu)
45-# Next line excludes specialized formats:
46+# APK Signing Block
47 >(26.s+30) leshort !0xcafe
48 >>30 search/100/b !application/epub+zip
49->>>26 string !\x8\0\0\0mimetype Zip archive data
50-!:mime application/zip
51->>>>4 beshort x \b, at least
52->>>>4 use zipversion
53->>>>4 beshort x to extract
54->>>>8 beshort x \b, compression method=
55->>>>8 use zipcompression
56->>>>0x161 string WINZIP \b, WinZIP self-extracting
57-# APK Signing Block
58->0 default x
59->>-22 string PK\005\006
60->>>(-6.l-16) string APK\x20Sig\x20Block\x2042 Android package (APK), with APK Signing Block
61+>>>26 string !\x8\0\0\0mimetype
62+>>>>-22 string PK\005\006
63+>>>>>(-6.l-16) string APK\x20Sig\x20Block\x2042 Android package (APK), with APK Signing Block
64 !:mime application/vnd.android.package-archive
65 !:ext apk
66
67+# Keyman Compiled Package File (keyman.com)
68+# https://help.keyman.com/developer/current-version/reference/file-types/kmp
69+# Find start of central directory
70+>>>>>(-6.l) string PK\001\002
71+# Scan central directory for string 'kmp.json', will suffice for a
72+# package containing about 150 files
73+>>>>>>(-6.l) search/9000 kmp.json Keyman Compiled Package File
74+!:mime application/vnd.keyman.kmp+zip
75+!:ext kmp
76+
77+# Generic zip archives (Greg Roelofs, c/o zip-bugs@wkuvx1.wku.edu)
78+# Next line excludes specialized formats:
79+>>>>+4 default x
80+>>>>>4 beshort x Zip archive data, at least
81+!:mime application/zip
82+>>>>>4 use zipversion
83+>>>>>4 beshort x to extract
84+>>>>>8 beshort x \b, compression method=
85+>>>>>8 use zipcompression
86+>>>>>0x161 string WINZIP \b, WinZIP self-extracting
87+
88 # Zip archives (Greg Roelofs, c/o zip-bugs@wkuvx1.wku.edu)
89 0 string PK\005\006 Zip archive data (empty)
90 !:mime application/zip
91--
922.39.5
93
diff --git a/meta/recipes-devtools/file/files/print_c.patch b/meta/recipes-devtools/file/files/print_c.patch
deleted file mode 100644
index 760813f9c2..0000000000
--- a/meta/recipes-devtools/file/files/print_c.patch
+++ /dev/null
@@ -1,27 +0,0 @@
1From e329257b8e22362b62e6c930447ef6feadd63f32 Mon Sep 17 00:00:00 2001
2From: Joe Slater <joe.slater@windriver.com>
3Date: Mon, 7 Aug 2023 22:37:19 +0000
4Subject: [PATCH] print.c: initialize timezone data for localtime_r()
5
6The man page for localtime() points out that while it acts
7like tzset() has been called, localtime_r() might not. We
8have a local version of localtime_r() that avoids this, but
9we do not compile it.
10
11Upstream-Status: Submitted [file@astron.com]
12
13Signed-off-by: Joe Slater <joe.slater@windriver.com>
14---
15 src/print.c | 1 +
16 1 file changed, 1 insertion(+)
17
18--- git.orig/src/print.c
19+++ git/src/print.c
20@@ -289,6 +289,7 @@ file_fmtdatetime(char *buf, size_t bsize
21 goto out;
22
23 if (flags & FILE_T_LOCAL) {
24+ tzset();
25 tm = localtime_r(&t, &tmz);
26 } else {
27 tm = gmtime_r(&t, &tmz);
diff --git a/meta/recipes-devtools/flex/flex/0001-Match-malloc-signature-to-its-use.patch b/meta/recipes-devtools/flex/flex/0001-Match-malloc-signature-to-its-use.patch
new file mode 100644
index 0000000000..fc3b8c563d
--- /dev/null
+++ b/meta/recipes-devtools/flex/flex/0001-Match-malloc-signature-to-its-use.patch
@@ -0,0 +1,25 @@
1From cec508013706ef06dbac036905a90cbe075fa03d Mon Sep 17 00:00:00 2001
2From: Richard Barnes <rbarnes@umn.edu>
3Date: Wed, 2 Oct 2024 10:35:09 -0700
4Subject: [PATCH] Match `malloc` signature to its use
5
6Upstream-Status: Submitted [https://github.com/westes/flex/pull/674]
7
8Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
9---
10 lib/malloc.c | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/lib/malloc.c b/lib/malloc.c
14index 75e8ef9..701b9b3 100755
15--- a/lib/malloc.c
16+++ b/lib/malloc.c
17@@ -3,7 +3,7 @@
18
19 #include <sys/types.h>
20
21- void *malloc ();
22+ void *malloc (size_t n);
23
24 /* Allocate an N-byte block of memory from the heap.
25 If N is zero, allocate a 1-byte block. */
diff --git a/meta/recipes-devtools/flex/flex/0001-build-tests-add-missing-parser-scanner-dependencies.patch b/meta/recipes-devtools/flex/flex/0001-build-tests-add-missing-parser-scanner-dependencies.patch
new file mode 100644
index 0000000000..130eccc9b4
--- /dev/null
+++ b/meta/recipes-devtools/flex/flex/0001-build-tests-add-missing-parser-scanner-dependencies.patch
@@ -0,0 +1,51 @@
1From 47e3916842ffefd7def84ae85758fdcceeb77839 Mon Sep 17 00:00:00 2001
2From: Ross Burton <ross.burton@arm.com>
3Date: Thu, 20 Mar 2025 12:16:50 +0000
4Subject: [PATCH] build(tests): add missing parser->scanner dependencies
5
6With sufficient parallelism and `make --shuffle` to reorder builds the
7test suite occasionally fails to build with errors like this:
8
9 tests/bison_yylval_parser.y:36:10: fatal error: bison_yylval_scanner.h: No such file or directory
10 36 | #include "bison_yylval_scanner.h"
11
12Solve this by adding the missing dependencies to the *_parser.o targets
13on the _scanner.h files.
14
15Upstream-Status: Submitted [https://github.com/westes/flex/pull/702]
16Signed-off-by: Ross Burton <ross.burton@arm.com>
17---
18 tests/Makefile.am | 3 +++
19 1 file changed, 3 insertions(+)
20
21diff --git a/tests/Makefile.am b/tests/Makefile.am
22index 2cb51df..d0c199d 100644
23--- a/tests/Makefile.am
24+++ b/tests/Makefile.am
25@@ -343,6 +343,7 @@ FLEX = $(top_builddir)/src/flex
26
27 bison_nr_main.$(OBJEXT): bison_nr_parser.h bison_nr_scanner.h
28 bison_nr_scanner.$(OBJEXT): bison_nr_parser.h
29+bison_nr_parser.$(OBJEXT): bison_nr_scanner.h
30
31 bison_nr_scanner.h: bison_nr_scanner.c
32 @if test ! -f $@; then rm -f $<; else :; fi
33@@ -350,6 +351,7 @@ bison_nr_scanner.h: bison_nr_scanner.c
34
35 bison_yylloc_main.$(OBJEXT): bison_yylloc_parser.h bison_yylloc_scanner.h
36 bison_yylloc_scanner.$(OBJEXT): bison_yylloc_parser.h
37+bison_yylloc_parser.$(OBJEXT): bison_yylloc_scanner.h
38
39 bison_yylloc_scanner.h: bison_yylloc_scanner.c
40 @if test ! -f $@; then rm -f $<; else :; fi
41@@ -357,6 +359,7 @@ bison_yylloc_scanner.h: bison_yylloc_scanner.c
42
43 bison_yylval_main.$(OBJEXT): bison_yylval_parser.h bison_yylval_scanner.h
44 bison_yylval_scanner.$(OBJEXT): bison_yylval_parser.h
45+bison_yylval_parser.$(OBJEXT): bison_yylval_scanner.h
46
47 bison_yylval_scanner.h: bison_yylval_scanner.c
48 @if test ! -f $@; then rm -f $<; else :; fi
49--
502.43.0
51
diff --git a/meta/recipes-devtools/flex/flex/disable-tests.patch b/meta/recipes-devtools/flex/flex/disable-tests.patch
deleted file mode 100644
index 4dc801d72c..0000000000
--- a/meta/recipes-devtools/flex/flex/disable-tests.patch
+++ /dev/null
@@ -1,19 +0,0 @@
1Due to automake stupidity the Makefile in tests/ has an 'all' target that
2depends on $(BUILD_SOURCES), which means when building flex parts of the test
3suite are built even if they're not needed, resulting in flex needing
4flex-native and bison-native to build.
5
6This patch removes the tests directory from SUBDIRS and will be conditionally
7applied by the recipe.
8
9Upstream-Status: Inappropriate
10Signed-off-by: Ross Burton <ross.burton@intel.com>
11
12diff --git a/Makefile.am b/Makefile.am
13index 076ccad..0574d7b 100644
14--- a/Makefile.am
15+++ b/Makefile.am
16@@ -55,3 +55,2 @@ SUBDIRS = \
17 po \
18- tests \
19 tools
diff --git a/meta/recipes-devtools/flex/flex_2.6.4.bb b/meta/recipes-devtools/flex/flex_2.6.4.bb
index f7d4ef1f08..fa8c0fb6fd 100644
--- a/meta/recipes-devtools/flex/flex_2.6.4.bb
+++ b/meta/recipes-devtools/flex/flex_2.6.4.bb
@@ -15,13 +15,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=e4742cf92e89040b39486a6219b68067 \
15SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/flex-${PV}.tar.gz \ 15SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/flex-${PV}.tar.gz \
16 file://run-ptest \ 16 file://run-ptest \
17 file://0001-tests-add-a-target-for-building-tests-without-runnin.patch \ 17 file://0001-tests-add-a-target-for-building-tests-without-runnin.patch \
18 ${@bb.utils.contains('PTEST_ENABLED', '1', '', 'file://disable-tests.patch', d)} \
19 file://0001-build-AC_USE_SYSTEM_EXTENSIONS-in-configure.ac.patch \ 18 file://0001-build-AC_USE_SYSTEM_EXTENSIONS-in-configure.ac.patch \
20 file://check-funcs.patch \ 19 file://check-funcs.patch \
21 file://0001-Emit-no-line-directives-if-gen_line_dirs-is-false.patch \ 20 file://0001-Emit-no-line-directives-if-gen_line_dirs-is-false.patch \
21 file://0001-build-tests-add-missing-parser-scanner-dependencies.patch \
22 file://0001-Match-malloc-signature-to-its-use.patch \
22 " 23 "
23 24
24SRC_URI[md5sum] = "2882e3179748cc9f9c23ec593d6adc8d"
25SRC_URI[sha256sum] = "e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995" 25SRC_URI[sha256sum] = "e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995"
26 26
27GITHUB_BASE_URI = "https://github.com/westes/flex/releases" 27GITHUB_BASE_URI = "https://github.com/westes/flex/releases"
@@ -56,9 +56,8 @@ RDEPENDS:${PN} += "m4"
56RDEPENDS:${PN}-ptest += "bash gawk make" 56RDEPENDS:${PN}-ptest += "bash gawk make"
57 57
58do_compile_ptest() { 58do_compile_ptest() {
59 oe_runmake -C ${B}/tests -f ${B}/tests/Makefile top_builddir=${B} INCLUDES=-I${S}/src buildtests 59 oe_runmake -C ${B}/tests buildtests
60} 60}
61PTEST_PARALLEL_MAKE = ""
62 61
63do_install_ptest() { 62do_install_ptest() {
64 mkdir -p ${D}${PTEST_PATH}/build-aux/ 63 mkdir -p ${D}${PTEST_PATH}/build-aux/
@@ -82,4 +81,4 @@ do_install_ptest() {
82do_install_ptest[vardepsexclude] += "UNINATIVE_LOADER" 81do_install_ptest[vardepsexclude] += "UNINATIVE_LOADER"
83 82
84# Not Apache Flex, or Adobe Flex, or IBM Flex. 83# Not Apache Flex, or Adobe Flex, or IBM Flex.
85CVE_PRODUCT = "flex_project:flex" 84CVE_PRODUCT = "flex_project:flex westes:flex"
diff --git a/meta/recipes-devtools/fmt/fmt/0001-Workaround-an-ABI-issue-in-spdlog.patch b/meta/recipes-devtools/fmt/fmt/0001-Workaround-an-ABI-issue-in-spdlog.patch
new file mode 100644
index 0000000000..3fe85d51ee
--- /dev/null
+++ b/meta/recipes-devtools/fmt/fmt/0001-Workaround-an-ABI-issue-in-spdlog.patch
@@ -0,0 +1,35 @@
1From 5a5637c306c617ddb3726c76d3f7490a2dc0a5cd Mon Sep 17 00:00:00 2001
2From: Victor Zverovich <viz@meta.com>
3Date: Sat, 22 Mar 2025 06:57:04 -0700
4Subject: [PATCH] Workaround an ABI issue in spdlog
5
6Upstream-Status: Backport [https://github.com/fmtlib/fmt/commit/784eac839df77df1852dc1c50b17b76c3aec8f4a]
7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8---
9 include/fmt/format.h | 6 ++++--
10 1 file changed, 4 insertions(+), 2 deletions(-)
11
12diff --git a/include/fmt/format.h b/include/fmt/format.h
13index 287e7163..61cb2825 100644
14--- a/include/fmt/format.h
15+++ b/include/fmt/format.h
16@@ -774,7 +774,9 @@ enum { inline_buffer_size = 500 };
17 * converted to `std::string` with `to_string(out)`.
18 */
19 template <typename T, size_t SIZE = inline_buffer_size,
20- typename Allocator = detail::allocator<T>>
21+ // DEPRECATED! std::allocator should be replaced with
22+ // detail::allocator
23+ typename Allocator = std::allocator<T>>
24 class basic_memory_buffer : public detail::buffer<T> {
25 private:
26 T store_[SIZE];
27@@ -2594,7 +2596,7 @@ class bigint {
28 }
29
30 public:
31- FMT_CONSTEXPR bigint() : exp_(0) {}
32+ FMT_CONSTEXPR20 bigint() : exp_(0) {}
33 explicit bigint(uint64_t n) { assign(n); }
34
35 bigint(const bigint&) = delete;
diff --git a/meta/recipes-devtools/fmt/fmt_11.2.0.bb b/meta/recipes-devtools/fmt/fmt_11.2.0.bb
new file mode 100644
index 0000000000..d0d4cea23e
--- /dev/null
+++ b/meta/recipes-devtools/fmt/fmt_11.2.0.bb
@@ -0,0 +1,15 @@
1SUMMARY = "open-source formatting library for C++"
2DESCRIPTION = "{fmt} is an open-source formatting library for C++. It can be used as a safe and fast alternative to (s)printf and iostreams."
3HOMEPAGE = "https://fmt.dev"
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=b9257785fc4f3803a4b71b76c1412729"
6
7SRC_URI = "git://github.com/fmtlib/fmt;branch=master;protocol=https;tag=${PV}\
8 file://0001-Workaround-an-ABI-issue-in-spdlog.patch"
9SRCREV = "40626af88bd7df9a5fb80be7b25ac85b122d6c21"
10
11inherit cmake
12
13EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON"
14
15BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/gcc/gcc-13.2.inc b/meta/recipes-devtools/gcc/gcc-15.1.inc
index 603377a49a..af29db8e5b 100644
--- a/meta/recipes-devtools/gcc/gcc-13.2.inc
+++ b/meta/recipes-devtools/gcc/gcc-15.1.inc
@@ -2,14 +2,16 @@ require gcc-common.inc
2 2
3# Third digit in PV should be incremented after a minor release 3# Third digit in PV should be incremented after a minor release
4 4
5PV = "13.2.0" 5PV = "15.1.0"
6 6
7# BINV should be incremented to a revision after a minor gcc release 7# BINV should be incremented to a revision after a minor gcc release
8 8
9BINV = "13.2.0" 9BINV = "15.1.0"
10 10
11FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc:${FILE_DIRNAME}/gcc/backport:" 11FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc:${FILE_DIRNAME}/gcc/backport:"
12 12
13TOOLCHAIN = "gcc"
14
13DEPENDS =+ "mpfr gmp libmpc zlib zstd flex-native" 15DEPENDS =+ "mpfr gmp libmpc zlib zstd flex-native"
14NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native flex-native zstd-native" 16NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native flex-native zstd-native"
15 17
@@ -28,16 +30,20 @@ LIC_FILES_CHKSUM = "\
28#SOURCEDIR = "gcc-${RELEASE}" 30#SOURCEDIR = "gcc-${RELEASE}"
29#BASEURI ?= "https://repo.or.cz/official-gcc.git/snapshot/${RELEASE}.tar.gz;downloadfilename=gcc-${PV}-${RELEASE}.tar.gz" 31#BASEURI ?= "https://repo.or.cz/official-gcc.git/snapshot/${RELEASE}.tar.gz;downloadfilename=gcc-${PV}-${RELEASE}.tar.gz"
30#SOURCEDIR ?= "official-gcc-${@'${RELEASE}'[0:7]}" 32#SOURCEDIR ?= "official-gcc-${@'${RELEASE}'[0:7]}"
33#SRC_URI[sha256sum] = "41bf7be5dc029112a9df625266e7de030ffc36ff3638f270b180ae8c91fe6449"
31 34
32# from snapshot 35# from snapshot
33#RELEASE ?= "13-20230520" 36#RELEASE ?= "15-20250420"
34#SOURCEDIR ?= "gcc-${RELEASE}" 37#RELEASE ?= "15.1.0-RC-20250418"
35#BASEURI ?= "https://gcc.gnu.org/pub/gcc/snapshots/${RELEASE}/gcc-${RELEASE}.tar.xz" 38#BASEURI ?= "https://gcc.gnu.org/pub/gcc/snapshots/${RELEASE}/gcc-${RELEASE}.tar.xz"
39#SOURCEDIR ?= "gcc-${RELEASE}"
40#SRC_URI[sha256sum] = "fe18624317c6c662977eea8b5a506ec6c132fc11c7a8d53e2f6d21b139b0af3c"
36 41
37# official release 42# official release
38RELEASE ?= "${PV}" 43RELEASE ?= "${PV}"
39BASEURI ?= "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.xz" 44BASEURI ?= "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.xz"
40SOURCEDIR ?= "gcc-${PV}" 45SOURCEDIR ?= "gcc-${PV}"
46SRC_URI[sha256sum] = "e2b09ec21660f01fecffb715e0120265216943f038d0e48a9868713e54f06cea"
41 47
42SRC_URI = "${BASEURI} \ 48SRC_URI = "${BASEURI} \
43 file://0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch \ 49 file://0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch \
@@ -65,18 +71,16 @@ SRC_URI = "${BASEURI} \
65 file://0023-Fix-install-path-of-linux64.h.patch \ 71 file://0023-Fix-install-path-of-linux64.h.patch \
66 file://0024-Avoid-hardcoded-build-paths-into-ppc-libgcc.patch \ 72 file://0024-Avoid-hardcoded-build-paths-into-ppc-libgcc.patch \
67 file://0025-gcc-testsuite-tweaks-for-mips-OE.patch \ 73 file://0025-gcc-testsuite-tweaks-for-mips-OE.patch \
68 file://CVE-2023-4039.patch \ 74 file://0026-arm-fully-validate-mem_noofs_operand-PR120351.patch \
69 file://0026-aarch64-Fix-loose-ldpstp-check-PR111411.patch \ 75 file://0026-fix-incorrect-preprocessor-line-numbers.patch \
70 file://0027-Fix-gcc-vect-module-testcases.patch \
71" 76"
72SRC_URI[sha256sum] = "e275e76442a6067341a27f04c5c6b83d8613144004c0413528863dc6b5c743da"
73 77
74S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/${SOURCEDIR}" 78UNPACKDIR = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/sources"
79S = "${UNPACKDIR}/${SOURCEDIR}"
75B = "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}" 80B = "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}"
76 81
77# Language Overrides 82# Language Overrides
78FORTRAN = "" 83FORTRAN ?= ""
79JAVA = ""
80 84
81SSP ?= "--disable-libssp" 85SSP ?= "--disable-libssp"
82SSP:mingw32 = "--enable-libssp" 86SSP:mingw32 = "--enable-libssp"
@@ -109,11 +113,5 @@ EXTRA_OECONF_INITIAL = "\
109 --disable-libssp \ 113 --disable-libssp \
110" 114"
111 115
112EXTRA_OECONF_PATHS = "\
113 --with-gxx-include-dir=/not/exist{target_includedir}/c++/${BINV} \
114 --with-sysroot=/not/exist \
115 --with-build-sysroot=${STAGING_DIR_TARGET} \
116"
117
118CVE_STATUS[CVE-2021-37322] = "cpe-incorrect: Is a binutils 2.26 issue, not gcc" 116CVE_STATUS[CVE-2021-37322] = "cpe-incorrect: Is a binutils 2.26 issue, not gcc"
119CVE_STATUS[CVE-2023-4039] = "fixed-version: Fixed via CVE-2023-4039.patch included here. Set the status explictly to deal with all recipes that share the gcc-source" 117CVE_STATUS[CVE-2023-4039] = "fixed-version: Fixed from version 14.0+"
diff --git a/meta/recipes-devtools/gcc/gcc-common.inc b/meta/recipes-devtools/gcc/gcc-common.inc
index 5ac82b1b57..8d95698743 100644
--- a/meta/recipes-devtools/gcc/gcc-common.inc
+++ b/meta/recipes-devtools/gcc/gcc-common.inc
@@ -11,7 +11,8 @@ CVE_PRODUCT = "gcc"
11inherit autotools gettext texinfo 11inherit autotools gettext texinfo
12 12
13BPN = "gcc" 13BPN = "gcc"
14COMPILERDEP = "virtual/${TARGET_PREFIX}gcc:do_gcc_stash_builddir" 14COMPILERDEP = "${MLPREFIX}gcc-cross-${TARGET_ARCH}:do_gcc_stash_builddir"
15COMPILERDEP:class-nativesdk = "gcc-crosssdk-${SDK_SYS}:do_gcc_stash_builddir"
15 16
16python extract_stashed_builddir () { 17python extract_stashed_builddir () {
17 src = d.expand("${COMPONENTS_DIR}/${BUILD_ARCH}/gcc-stashed-builddir-${TARGET_SYS}") 18 src = d.expand("${COMPONENTS_DIR}/${BUILD_ARCH}/gcc-stashed-builddir-${TARGET_SYS}")
@@ -103,7 +104,8 @@ MIRRORS =+ "\
103gcclibdir = "${libdir}/gcc" 104gcclibdir = "${libdir}/gcc"
104BINV = "${PV}" 105BINV = "${PV}"
105#S = "${WORKDIR}/gcc-${PV}" 106#S = "${WORKDIR}/gcc-${PV}"
106S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}" 107UNPACKDIR = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/sources"
108S = "${UNPACKDIR}/gcc-${PV}"
107 109
108B ?= "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}" 110B ?= "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}"
109 111
@@ -116,3 +118,29 @@ target_prefix ?= "${prefix}"
116# The real WORKDIR location isn't a dependency for the shared workdir. 118# The real WORKDIR location isn't a dependency for the shared workdir.
117src_patches[vardepsexclude] = "WORKDIR" 119src_patches[vardepsexclude] = "WORKDIR"
118should_apply[vardepsexclude] += "PN" 120should_apply[vardepsexclude] += "PN"
121
122remove_sysroot_paths_from_configargs () {
123 replacement=${1}
124 # Prevent sysroot path from being used in configargs.h header, as it will
125 # be rewritten when used by other sysroots preventing support for gcc
126 # plugins. Additionally the path is embeddeded into the output binary, this
127 # prevents building a reproducible binary.
128 oe_runmake configure-gcc
129 sed -i "s@${STAGING_DIR_TARGET}@$replacement@g" ${B}/gcc/configargs.h
130 sed -i "s@${STAGING_DIR_HOST}@/$replacement@g" ${B}/gcc/configargs.h
131}
132
133remove_sysroot_paths_from_checksum_options () {
134 stagingdir=${1}
135 replacement=${2}
136 # Prevent sysroot/workdir paths from being used in checksum-options.
137 # checksum-options is used to generate a checksum which is embedded into
138 # the output binary.
139 oe_runmake TARGET-gcc=checksum-options all-gcc
140 sed -i "s@${DEBUG_PREFIX_MAP}@@g" ${B}/gcc/checksum-options
141 sed -i "s@$stagingdir@$replacement@g" ${B}/gcc/checksum-options
142}
143
144cleanup_installed_include_fixed () {
145 find ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/include-fixed -type f -not -name "README" -not -name limits.h -not -name syslimits.h | xargs rm -f
146}
diff --git a/meta/recipes-devtools/gcc/gcc-configure-common.inc b/meta/recipes-devtools/gcc/gcc-configure-common.inc
index dba25eb754..50ff0d2e82 100644
--- a/meta/recipes-devtools/gcc/gcc-configure-common.inc
+++ b/meta/recipes-devtools/gcc/gcc-configure-common.inc
@@ -6,7 +6,7 @@ require gcc-shared-source.inc
6# These can be overridden by the version specific .inc file. 6# These can be overridden by the version specific .inc file.
7 7
8# gcc 3.x expects 'f77', 4.0 expects 'f95', 4.1 and 4.2 expect 'fortran' 8# gcc 3.x expects 'f77', 4.0 expects 'f95', 4.1 and 4.2 expect 'fortran'
9FORTRAN ?= ",f77" 9FORTRAN ??= ",fortran"
10LANGUAGES ?= "c,c++${FORTRAN}" 10LANGUAGES ?= "c,c++${FORTRAN}"
11 11
12EXTRA_OECONF_BASE ?= "" 12EXTRA_OECONF_BASE ?= ""
@@ -116,7 +116,5 @@ do_configure () {
116 export CXXFLAGS_FOR_TARGET="${TARGET_CXXFLAGS}" 116 export CXXFLAGS_FOR_TARGET="${TARGET_CXXFLAGS}"
117 export LDFLAGS_FOR_TARGET="${TARGET_LDFLAGS}" 117 export LDFLAGS_FOR_TARGET="${TARGET_LDFLAGS}"
118 118
119
120 oe_runconf 119 oe_runconf
121} 120}
122
diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
index ec87b46219..20dbec7248 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
@@ -3,7 +3,7 @@ inherit cross-canadian
3SUMMARY = "GNU cc and gcc C compilers (cross-canadian for ${TARGET_ARCH} target)" 3SUMMARY = "GNU cc and gcc C compilers (cross-canadian for ${TARGET_ARCH} target)"
4PN = "gcc-cross-canadian-${TRANSLATED_TARGET_ARCH}" 4PN = "gcc-cross-canadian-${TRANSLATED_TARGET_ARCH}"
5 5
6DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${HOST_PREFIX}gcc virtual/${HOST_PREFIX}binutils virtual/nativesdk-libc nativesdk-gettext flex-native virtual/libc" 6DEPENDS = "virtual/nativesdk-cross-cc virtual/cross-cc virtual/nativesdk-cross-binutils virtual/nativesdk-libc nativesdk-gettext flex-native virtual/libc"
7 7
8GCCMULTILIB = "--enable-multilib" 8GCCMULTILIB = "--enable-multilib"
9 9
@@ -12,6 +12,7 @@ require gcc-configure-common.inc
12EXTRA_OECONF += "--with-plugin-ld=ld" 12EXTRA_OECONF += "--with-plugin-ld=ld"
13EXTRA_OECONF_PATHS = "\ 13EXTRA_OECONF_PATHS = "\
14 --with-gxx-include-dir=/not/exist${target_includedir}/c++/${BINV} \ 14 --with-gxx-include-dir=/not/exist${target_includedir}/c++/${BINV} \
15 --with-gxx-libcxx-include-dir=/not/exist${target_includedir}/c++/v1 \
15 --with-build-time-tools=${STAGING_DIR_NATIVE}${prefix_native}/${TARGET_SYS}/bin \ 16 --with-build-time-tools=${STAGING_DIR_NATIVE}${prefix_native}/${TARGET_SYS}/bin \
16 --with-sysroot=/not/exist \ 17 --with-sysroot=/not/exist \
17 --with-build-sysroot=${STAGING_DIR_TARGET} \ 18 --with-build-sysroot=${STAGING_DIR_TARGET} \
@@ -63,6 +64,9 @@ do_configure () {
63} 64}
64 65
65do_compile () { 66do_compile () {
67 remove_sysroot_paths_from_configargs '/host'
68 remove_sysroot_paths_from_checksum_options '${STAGING_DIR_HOST}' '/host'
69
66 oe_runmake all-host configure-target-libgcc 70 oe_runmake all-host configure-target-libgcc
67 (cd ${B}/${TARGET_SYS}/libgcc; oe_runmake enable-execute-stack.c unwind.h md-unwind-support.h sfp-machine.h gthr-default.h) 71 (cd ${B}/${TARGET_SYS}/libgcc; oe_runmake enable-execute-stack.c unwind.h md-unwind-support.h sfp-machine.h gthr-default.h)
68} 72}
@@ -128,7 +132,7 @@ do_install () {
128 dest=${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/ 132 dest=${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/
129 install -d $dest 133 install -d $dest
130 suffix=${EXEEXT} 134 suffix=${EXEEXT}
131 for t in ar as ld ld.bfd ld.gold nm objcopy objdump ranlib strip g77 gcc cpp gfortran; do 135 for t in ar as ld ld.bfd nm objcopy objdump ranlib strip g77 gcc cpp gfortran; do
132 if [ "$t" = "g77" -o "$t" = "gfortran" ] && [ ! -e ${D}${bindir}/${TARGET_PREFIX}$t$suffix ]; then 136 if [ "$t" = "g77" -o "$t" = "gfortran" ] && [ ! -e ${D}${bindir}/${TARGET_PREFIX}$t$suffix ]; then
133 continue 137 continue
134 fi 138 fi
@@ -171,6 +175,8 @@ do_install () {
171 done 175 done
172 done 176 done
173 done 177 done
178
179 cleanup_installed_include_fixed
174} 180}
175 181
176ELFUTILS = "nativesdk-elfutils" 182ELFUTILS = "nativesdk-elfutils"
diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian_13.2.bb b/meta/recipes-devtools/gcc/gcc-cross-canadian_15.1.bb
index bf53c5cd78..355757c656 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-canadian_13.2.bb
+++ b/meta/recipes-devtools/gcc/gcc-cross-canadian_15.1.bb
@@ -1,5 +1,3 @@
1require recipes-devtools/gcc/gcc-${PV}.inc 1require recipes-devtools/gcc/gcc-${PV}.inc
2require gcc-cross-canadian.inc 2require gcc-cross-canadian.inc
3 3
4
5
diff --git a/meta/recipes-devtools/gcc/gcc-cross.inc b/meta/recipes-devtools/gcc/gcc-cross.inc
index a540fb2434..80b85fb054 100644
--- a/meta/recipes-devtools/gcc/gcc-cross.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross.inc
@@ -2,8 +2,7 @@ inherit cross
2 2
3INHIBIT_DEFAULT_DEPS = "1" 3INHIBIT_DEFAULT_DEPS = "1"
4EXTRADEPENDS = "" 4EXTRADEPENDS = ""
5DEPENDS = "virtual/${TARGET_PREFIX}binutils ${EXTRADEPENDS} ${NATIVEDEPS}" 5DEPENDS = "virtual/cross-binutils ${EXTRADEPENDS} ${NATIVEDEPS}"
6PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++"
7python () { 6python () {
8 if d.getVar("TARGET_OS").startswith("linux"): 7 if d.getVar("TARGET_OS").startswith("linux"):
9 d.setVar("EXTRADEPENDS", "linux-libc-headers") 8 d.setVar("EXTRADEPENDS", "linux-libc-headers")
@@ -34,16 +33,17 @@ EXTRA_OECONF += "\
34EXTRA_OECONF:append:libc-baremetal = " --without-headers" 33EXTRA_OECONF:append:libc-baremetal = " --without-headers"
35EXTRA_OECONF:remove:libc-baremetal = "--enable-threads=posix" 34EXTRA_OECONF:remove:libc-baremetal = "--enable-threads=posix"
36EXTRA_OECONF:remove:libc-newlib = "--enable-threads=posix" 35EXTRA_OECONF:remove:libc-newlib = "--enable-threads=posix"
36EXTRA_OECONF:remove:libc-picolibc = "--enable-threads=posix"
37 37
38EXTRA_OECONF_PATHS = "\ 38EXTRA_OECONF_PATHS = "\
39 --with-gxx-include-dir=/not/exist${target_includedir}/c++/${BINV} \ 39 --with-gxx-include-dir=/not/exist${target_includedir}/c++/${BINV} \
40 --with-gxx-libcxx-include-dir=/not/exist${target_includedir}/c++/v1 \
40 --with-sysroot=/not/exist \ 41 --with-sysroot=/not/exist \
41 --with-build-sysroot=${STAGING_DIR_TARGET} \ 42 --with-build-sysroot=${STAGING_DIR_TARGET} \
42" 43"
43 44
44ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${target_includedir}" 45ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${target_includedir}"
45 46
46
47do_configure:prepend () { 47do_configure:prepend () {
48 install -d ${RECIPE_SYSROOT}${target_includedir} 48 install -d ${RECIPE_SYSROOT}${target_includedir}
49 touch ${RECIPE_SYSROOT}${target_includedir}/limits.h 49 touch ${RECIPE_SYSROOT}${target_includedir}/limits.h
@@ -61,19 +61,8 @@ do_compile () {
61 export CXXFLAGS_FOR_TARGET="${TARGET_CXXFLAGS}" 61 export CXXFLAGS_FOR_TARGET="${TARGET_CXXFLAGS}"
62 export LDFLAGS_FOR_TARGET="${TARGET_LDFLAGS}" 62 export LDFLAGS_FOR_TARGET="${TARGET_LDFLAGS}"
63 63
64 # Prevent native/host sysroot path from being used in configargs.h header, 64 remove_sysroot_paths_from_configargs '/host'
65 # as it will be rewritten when used by other sysroots preventing support 65 remove_sysroot_paths_from_checksum_options '${STAGING_DIR_HOST}' '/host'
66 # for gcc plugins
67 oe_runmake configure-gcc
68 sed -i 's@${STAGING_DIR_TARGET}@/host@g' ${B}/gcc/configargs.h
69 sed -i 's@${STAGING_DIR_HOST}@/host@g' ${B}/gcc/configargs.h
70
71 # Prevent sysroot/workdir paths from being used in checksum-options.
72 # checksum-options is used to generate a checksum which is embedded into
73 # the output binary.
74 oe_runmake TARGET-gcc=checksum-options all-gcc
75 sed -i 's@${DEBUG_PREFIX_MAP}@@g' ${B}/gcc/checksum-options
76 sed -i 's@${STAGING_DIR_HOST}@/host@g' ${B}/gcc/checksum-options
77 66
78 oe_runmake all-host configure-target-libgcc 67 oe_runmake all-host configure-target-libgcc
79 (cd ${B}/${TARGET_SYS}/libgcc; oe_runmake enable-execute-stack.c unwind.h md-unwind-support.h sfp-machine.h gthr-default.h) 68 (cd ${B}/${TARGET_SYS}/libgcc; oe_runmake enable-execute-stack.c unwind.h md-unwind-support.h sfp-machine.h gthr-default.h)
@@ -104,7 +93,7 @@ do_install () {
104 # found. These need to be relative paths so they work in different locations. 93 # found. These need to be relative paths so they work in different locations.
105 dest=${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/ 94 dest=${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/
106 install -d $dest 95 install -d $dest
107 for t in ar as ld ld.bfd ld.gold nm objcopy objdump ranlib strip gcc cpp $fortsymlinks; do 96 for t in ar as ld ld.bfd nm objcopy objdump ranlib strip gcc cpp $fortsymlinks; do
108 ln -sf ${BINRELPATH}/${TARGET_PREFIX}$t $dest$t 97 ln -sf ${BINRELPATH}/${TARGET_PREFIX}$t $dest$t
109 ln -sf ${BINRELPATH}/${TARGET_PREFIX}$t ${dest}${TARGET_PREFIX}$t 98 ln -sf ${BINRELPATH}/${TARGET_PREFIX}$t ${dest}${TARGET_PREFIX}$t
110 done 99 done
@@ -119,7 +108,7 @@ do_install () {
119 cp ${S}/libquadmath/quadmath.h ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/include/ 108 cp ${S}/libquadmath/quadmath.h ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/include/
120 cp ${S}/libquadmath/quadmath_weak.h ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/include/ 109 cp ${S}/libquadmath/quadmath_weak.h ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/include/
121 110
122 find ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/include-fixed -type f -not -name "README" -not -name limits.h -not -name syslimits.h | xargs rm -f 111 cleanup_installed_include_fixed
123 112
124 # install LTO linker plugins where binutils tools can find it 113 # install LTO linker plugins where binutils tools can find it
125 install -d ${D}${libdir}/bfd-plugins 114 install -d ${D}${libdir}/bfd-plugins
diff --git a/meta/recipes-devtools/gcc/gcc-cross_13.2.bb b/meta/recipes-devtools/gcc/gcc-cross_15.1.bb
index b43cca0c52..b43cca0c52 100644
--- a/meta/recipes-devtools/gcc/gcc-cross_13.2.bb
+++ b/meta/recipes-devtools/gcc/gcc-cross_15.1.bb
diff --git a/meta/recipes-devtools/gcc/gcc-crosssdk.inc b/meta/recipes-devtools/gcc/gcc-crosssdk.inc
index 7eaad2314c..4397dd898d 100644
--- a/meta/recipes-devtools/gcc/gcc-crosssdk.inc
+++ b/meta/recipes-devtools/gcc/gcc-crosssdk.inc
@@ -8,7 +8,7 @@ SYSTEMLIBS1 = "${SDKPATHNATIVE}${libdir_nativesdk}/"
8 8
9GCCMULTILIB = "--disable-multilib" 9GCCMULTILIB = "--disable-multilib"
10 10
11DEPENDS = "virtual/${TARGET_PREFIX}binutils gettext-native ${NATIVEDEPS}" 11DEPENDS = "virtual/nativesdk-cross-binutils gettext-native ${NATIVEDEPS}"
12PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++" 12PROVIDES = "virtual/nativesdk-cross-cc virtual/nativesdk-cross-c++"
13 13
14gcc_multilib_setup[vardepsexclude] = "MULTILIB_VARIANTS" 14gcc_multilib_setup[vardepsexclude] = "MULTILIB_VARIANTS"
diff --git a/meta/recipes-devtools/gcc/gcc-crosssdk_13.2.bb b/meta/recipes-devtools/gcc/gcc-crosssdk_15.1.bb
index 40a6c4feff..40a6c4feff 100644
--- a/meta/recipes-devtools/gcc/gcc-crosssdk_13.2.bb
+++ b/meta/recipes-devtools/gcc/gcc-crosssdk_15.1.bb
diff --git a/meta/recipes-devtools/gcc/gcc-multilib-config.inc b/meta/recipes-devtools/gcc/gcc-multilib-config.inc
index 2dbbc23c94..2afd8f6f2a 100644
--- a/meta/recipes-devtools/gcc/gcc-multilib-config.inc
+++ b/meta/recipes-devtools/gcc/gcc-multilib-config.inc
@@ -34,6 +34,7 @@ python gcc_multilib_setup() {
34 '%s/aarch64/aarch64-linux.h' % src_conf_dir, 34 '%s/aarch64/aarch64-linux.h' % src_conf_dir,
35 '%s/aarch64/aarch64-cores.def' % src_conf_dir, 35 '%s/aarch64/aarch64-cores.def' % src_conf_dir,
36 '%s/arm/linux-eabi.h' % src_conf_dir, 36 '%s/arm/linux-eabi.h' % src_conf_dir,
37 '%s/riscv/t-linux*' % src_conf_dir,
37 '%s/*/linux.h' % src_conf_dir, 38 '%s/*/linux.h' % src_conf_dir,
38 '%s/linux.h' % src_conf_dir) 39 '%s/linux.h' % src_conf_dir)
39 40
@@ -45,6 +46,9 @@ python gcc_multilib_setup() {
45 bb.utils.mkdirhier('%s/%s' % (build_conf_dir, parent_dir)) 46 bb.utils.mkdirhier('%s/%s' % (build_conf_dir, parent_dir))
46 bb.utils.copyfile(fn, '%s/%s' % (build_conf_dir, rel_path)) 47 bb.utils.copyfile(fn, '%s/%s' % (build_conf_dir, rel_path))
47 48
49 # For now, force the riscv multilib view to our own meaning we can always enable multilib
50 bb.utils.copyfile('%s/riscv/t-linux' % src_conf_dir, '%s/riscv/t-linux-multilib' % build_conf_dir)
51
48 pn = d.getVar('PN') 52 pn = d.getVar('PN')
49 multilibs = (d.getVar('MULTILIB_VARIANTS') or '').split() 53 multilibs = (d.getVar('MULTILIB_VARIANTS') or '').split()
50 if not multilibs and pn != "nativesdk-gcc": 54 if not multilibs and pn != "nativesdk-gcc":
@@ -55,7 +59,6 @@ python gcc_multilib_setup() {
55 if ('%sgcc' % mlprefix) != pn and (not pn.startswith('gcc-cross-canadian')) and pn != "nativesdk-gcc": 59 if ('%sgcc' % mlprefix) != pn and (not pn.startswith('gcc-cross-canadian')) and pn != "nativesdk-gcc":
56 return 60 return
57 61
58
59 def write_config(root, files, options, dirnames, osdirnames): 62 def write_config(root, files, options, dirnames, osdirnames):
60 for ml_conf_file in files: 63 for ml_conf_file in files:
61 with open(root + '/' + ml_conf_file, 'r') as f: 64 with open(root + '/' + ml_conf_file, 'r') as f:
@@ -138,13 +141,14 @@ python gcc_multilib_setup() {
138 with open(root + '/' + ml_conf_file, 'w') as f: 141 with open(root + '/' + ml_conf_file, 'w') as f:
139 f.write(''.join(filelines)) 142 f.write(''.join(filelines))
140 143
141
142 gcc_target_config_files = { 144 gcc_target_config_files = {
143 'x86_64' : ['gcc/config/i386/t-linux64'], 145 'x86_64' : ['gcc/config/i386/t-linux64'],
144 'i586' : ['gcc/config/i386/t-linux64'], 146 'i586' : ['gcc/config/i386/t-linux64'],
145 'i686' : ['gcc/config/i386/t-linux64'], 147 'i686' : ['gcc/config/i386/t-linux64'],
146 'mips' : ['gcc/config/mips/t-linux64'], 148 'mips' : ['gcc/config/mips/t-linux64'],
147 'mips64' : ['gcc/config/mips/t-linux64'], 149 'mips64' : ['gcc/config/mips/t-linux64'],
150 'riscv32' : ['gcc/config/riscv/t-linux-multilib'],
151 'riscv64' : ['gcc/config/riscv/t-linux-multilib'],
148 'powerpc' : ['gcc/config/rs6000/t-linux64'], 152 'powerpc' : ['gcc/config/rs6000/t-linux64'],
149 'powerpc64' : ['gcc/config/rs6000/t-linux64'], 153 'powerpc64' : ['gcc/config/rs6000/t-linux64'],
150 'aarch64' : ['gcc/config/aarch64/t-aarch64'], 154 'aarch64' : ['gcc/config/aarch64/t-aarch64'],
@@ -161,6 +165,8 @@ python gcc_multilib_setup() {
161 'powerpc64' : ['gcc/config/linux.h', 'gcc/config/rs6000/linux64.h'], 165 'powerpc64' : ['gcc/config/linux.h', 'gcc/config/rs6000/linux64.h'],
162 'aarch64' : ['gcc/config/linux.h', 'gcc/config/aarch64/aarch64-linux.h', 'gcc/config/arm/linux-eabi.h'], 166 'aarch64' : ['gcc/config/linux.h', 'gcc/config/aarch64/aarch64-linux.h', 'gcc/config/arm/linux-eabi.h'],
163 'arm' : ['gcc/config/linux.h', 'gcc/config/aarch64/aarch64-linux.h', 'gcc/config/arm/linux-eabi.h'], 167 'arm' : ['gcc/config/linux.h', 'gcc/config/aarch64/aarch64-linux.h', 'gcc/config/arm/linux-eabi.h'],
168 'riscv32' : ['gcc/config/linux.h'],
169 'riscv64' : ['gcc/config/linux.h'],
164 } 170 }
165 171
166 libdir32 = 'SYSTEMLIBS_DIR' 172 libdir32 = 'SYSTEMLIBS_DIR'
@@ -168,7 +174,6 @@ python gcc_multilib_setup() {
168 libdirx32 = 'SYSTEMLIBS_DIR' 174 libdirx32 = 'SYSTEMLIBS_DIR'
169 libdirn32 = 'SYSTEMLIBS_DIR' 175 libdirn32 = 'SYSTEMLIBS_DIR'
170 176
171
172 target_arch = (d.getVar('TARGET_ARCH_MULTILIB_ORIGINAL') if mlprefix 177 target_arch = (d.getVar('TARGET_ARCH_MULTILIB_ORIGINAL') if mlprefix
173 else d.getVar('TARGET_ARCH')) 178 else d.getVar('TARGET_ARCH'))
174 if pn == "nativesdk-gcc": 179 if pn == "nativesdk-gcc":
diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc
index dbc9141000..c4e1c5b9a5 100644
--- a/meta/recipes-devtools/gcc/gcc-runtime.inc
+++ b/meta/recipes-devtools/gcc/gcc-runtime.inc
@@ -17,6 +17,7 @@ EXTRA_OECONF_PATHS = "\
17EXTRA_OECONF:append:linuxstdbase = " --enable-clocale=gnu" 17EXTRA_OECONF:append:linuxstdbase = " --enable-clocale=gnu"
18EXTRA_OECONF:append = " --cache-file=${B}/config.cache" 18EXTRA_OECONF:append = " --cache-file=${B}/config.cache"
19EXTRA_OECONF:append:libc-newlib = " --with-newlib --with-target-subdir" 19EXTRA_OECONF:append:libc-newlib = " --with-newlib --with-target-subdir"
20EXTRA_OECONF:append:libc-picolibc = " --with-newlib --with-target-subdir"
20EXTRA_OECONF:append:libc-baremetal = " --with-target-subdir" 21EXTRA_OECONF:append:libc-baremetal = " --with-target-subdir"
21 22
22# Disable ifuncs for libatomic on arm conflicts -march/-mcpu 23# Disable ifuncs for libatomic on arm conflicts -march/-mcpu
@@ -27,6 +28,7 @@ DISABLE_STATIC:class-nativesdk ?= ""
27 28
28# Newlib does not support symbol versioning on libsdtcc++ 29# Newlib does not support symbol versioning on libsdtcc++
29SYMVERS_CONF:libc-newlib = "" 30SYMVERS_CONF:libc-newlib = ""
31SYMVERS_CONF:libc-picolibc = ""
30 32
31# Building with thumb enabled on armv6t fails 33# Building with thumb enabled on armv6t fails
32ARM_INSTRUCTION_SET:armv6 = "arm" 34ARM_INSTRUCTION_SET:armv6 = "arm"
@@ -43,10 +45,11 @@ RUNTIMELIBSSP ?= ""
43RUNTIMELIBSSP:mingw32 ?= "libssp" 45RUNTIMELIBSSP:mingw32 ?= "libssp"
44 46
45RUNTIMETARGET = "${RUNTIMELIBSSP} libstdc++-v3 libgomp libatomic ${RUNTIMELIBITM} \ 47RUNTIMETARGET = "${RUNTIMELIBSSP} libstdc++-v3 libgomp libatomic ${RUNTIMELIBITM} \
46 ${@bb.utils.contains_any('FORTRAN', [',fortran',',f77'], 'libquadmath', '', d)} \ 48 ${@bb.utils.contains('FORTRAN', ',fortran', 'libquadmath', '', d)} \
47" 49"
48# Only build libstdc++ for newlib 50# Only build libstdc++ for newlib
49RUNTIMETARGET:libc-newlib = "libstdc++-v3" 51RUNTIMETARGET:libc-newlib = "libstdc++-v3"
52RUNTIMETARGET:libc-picolibc = "libstdc++-v3"
50 53
51# libiberty 54# libiberty
52# libgfortran needs separate recipe due to libquadmath dependency 55# libgfortran needs separate recipe due to libquadmath dependency
@@ -92,7 +95,7 @@ do_install () {
92 mv ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/include/* ${D}${libdir}/${TARGET_SYS}/${BINV}/include 95 mv ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/include/* ${D}${libdir}/${TARGET_SYS}/${BINV}/include
93 rmdir --ignore-fail-on-non-empty -p ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/include 96 rmdir --ignore-fail-on-non-empty -p ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/include
94 fi 97 fi
95 rm -rf ${D}${infodir}/libgomp.info ${D}${infodir}/dir 98 rm -rf ${D}${infodir}/libgomp.info* ${D}${infodir}/dir
96 rm -rf ${D}${infodir}/libitm.info ${D}${infodir}/dir 99 rm -rf ${D}${infodir}/libitm.info ${D}${infodir}/dir
97 rm -rf ${D}${infodir}/libquadmath.info ${D}${infodir}/dir 100 rm -rf ${D}${infodir}/libquadmath.info ${D}${infodir}/dir
98 if [ -d ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/finclude ]; then 101 if [ -d ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/finclude ]; then
@@ -141,6 +144,11 @@ do_install:append:class-target () {
141 ln -sf ../${X86ARCH32}${TARGET_VENDOR}-${TARGET_OS} ${D}${includedir}/c++/${BINV}/${TARGET_ARCH}${TARGET_VENDOR}-${TARGET_OS}/32 144 ln -sf ../${X86ARCH32}${TARGET_VENDOR}-${TARGET_OS} ${D}${includedir}/c++/${BINV}/${TARGET_ARCH}${TARGET_VENDOR}-${TARGET_OS}/32
142 fi 145 fi
143 146
147 if [ "${TARGET_ARCH}" = "riscv32" -o "${TARGET_ARCH}" = "riscv64" ] && [ -z "${MULTILIB_VARIANTS}" ]; then
148 mv ${D}${includedir}/c++/${BINV}/${TARGET_SYS}/bits/* ${D}${includedir}/c++/${BINV}/bits
149 mv ${D}${includedir}/c++/${BINV}/${TARGET_SYS}/ext/* ${D}${includedir}/c++/${BINV}/ext
150 fi
151
144 if [ "${TCLIBC}" != "glibc" ]; then 152 if [ "${TCLIBC}" != "glibc" ]; then
145 case "${TARGET_OS}" in 153 case "${TARGET_OS}" in
146 "linux-musl" | "linux-*spe") extra_target_os="linux";; 154 "linux-musl" | "linux-*spe") extra_target_os="linux";;
@@ -153,8 +161,9 @@ do_install:append:class-target () {
153} 161}
154 162
155INHIBIT_DEFAULT_DEPS = "1" 163INHIBIT_DEFAULT_DEPS = "1"
156DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++ libgcc virtual/${MLPREFIX}libc" 164DEPENDS = "virtual/cross-cc virtual/cross-c++ ${MLPREFIX}libgcc virtual/${MLPREFIX}libc"
157PROVIDES = "virtual/${TARGET_PREFIX}compilerlibs" 165DEPENDS:class-nativesdk = "virtual/nativesdk-cross-cc virtual/nativesdk-cross-c++ ${MLPREFIX}libgcc virtual/${MLPREFIX}libc"
166PROVIDES = "virtual/${MLPREFIX}compilerlibs"
158 167
159BBCLASSEXTEND = "nativesdk" 168BBCLASSEXTEND = "nativesdk"
160 169
@@ -164,8 +173,6 @@ PACKAGES = "\
164 libstdc++-precompile-dev \ 173 libstdc++-precompile-dev \
165 libstdc++-dev \ 174 libstdc++-dev \
166 libstdc++-staticdev \ 175 libstdc++-staticdev \
167 libg2c \
168 libg2c-dev \
169 libssp \ 176 libssp \
170 libssp-dev \ 177 libssp-dev \
171 libssp-staticdev \ 178 libssp-staticdev \
@@ -196,15 +203,6 @@ FILES:${PN}-dbg += "\
196# So it needs to be added manually to images sadly. 203# So it needs to be added manually to images sadly.
197# RDEPENDS:${PN}-dbg += "python3-datetime" 204# RDEPENDS:${PN}-dbg += "python3-datetime"
198 205
199FILES:libg2c = "${target_libdir}/libg2c.so.*"
200SUMMARY:libg2c = "Companion runtime library for g77"
201FILES:libg2c-dev = "\
202 ${libdir}/libg2c.so \
203 ${libdir}/libg2c.a \
204 ${libdir}/libfrtbegin.a \
205"
206SUMMARY:libg2c-dev = "Companion runtime library for g77 - development files"
207
208FILES:libstdc++ = "${libdir}/libstdc++.so.*" 206FILES:libstdc++ = "${libdir}/libstdc++.so.*"
209SUMMARY:libstdc++ = "GNU standard C++ library" 207SUMMARY:libstdc++ = "GNU standard C++ library"
210FILES:libstdc++-dev = "\ 208FILES:libstdc++-dev = "\
@@ -212,6 +210,7 @@ FILES:libstdc++-dev = "\
212 ${libdir}/libstdc++.so \ 210 ${libdir}/libstdc++.so \
213 ${libdir}/libstdc++*.la \ 211 ${libdir}/libstdc++*.la \
214 ${libdir}/libsupc++.la \ 212 ${libdir}/libsupc++.la \
213 ${libdir}/libstdc++.modules.json \
215" 214"
216SUMMARY:libstdc++-dev = "GNU standard C++ library - development files" 215SUMMARY:libstdc++-dev = "GNU standard C++ library - development files"
217FILES:libstdc++-staticdev = "\ 216FILES:libstdc++-staticdev = "\
@@ -300,6 +299,7 @@ do_check[prefuncs] += "extend_recipe_sysroot"
300do_check[prefuncs] += "check_prepare" 299do_check[prefuncs] += "check_prepare"
301do_check[dirs] = "${WORKDIR}/dejagnu ${B}" 300do_check[dirs] = "${WORKDIR}/dejagnu ${B}"
302do_check[nostamp] = "1" 301do_check[nostamp] = "1"
302do_check[network] = "1"
303do_check() { 303do_check() {
304 export DEJAGNU="${WORKDIR}/dejagnu/site.exp" 304 export DEJAGNU="${WORKDIR}/dejagnu/site.exp"
305 305
diff --git a/meta/recipes-devtools/gcc/gcc-runtime_13.2.bb b/meta/recipes-devtools/gcc/gcc-runtime_15.1.bb
index dd430b57eb..dd430b57eb 100644
--- a/meta/recipes-devtools/gcc/gcc-runtime_13.2.bb
+++ b/meta/recipes-devtools/gcc/gcc-runtime_15.1.bb
diff --git a/meta/recipes-devtools/gcc/gcc-sanitizers.inc b/meta/recipes-devtools/gcc/gcc-sanitizers.inc
index 524ebd4ba4..6c81d30243 100644
--- a/meta/recipes-devtools/gcc/gcc-sanitizers.inc
+++ b/meta/recipes-devtools/gcc/gcc-sanitizers.inc
@@ -11,6 +11,10 @@ EXTRA_OECONF_PATHS = "\
11 --with-build-sysroot=${STAGING_DIR_TARGET} \ 11 --with-build-sysroot=${STAGING_DIR_TARGET} \
12" 12"
13 13
14# Workaround for this issue: https://github.com/llvm/llvm-project/issues/65144 on aarch64
15# compiler-rt/sanitizers/aarch64: CHECK failed: sanitizer_allocator_primary64.h:133
16CXXFLAGS:append:aarch64 = " -DSANITIZER_CAN_USE_ALLOCATOR64=0"
17
14do_configure () { 18do_configure () {
15 rm -rf ${B}/${TARGET_SYS}/libsanitizer/ 19 rm -rf ${B}/${TARGET_SYS}/libsanitizer/
16 mkdir -p ${B}/${TARGET_SYS}/libsanitizer/ 20 mkdir -p ${B}/${TARGET_SYS}/libsanitizer/
@@ -48,7 +52,7 @@ do_install () {
48 52
49INHIBIT_DEFAULT_DEPS = "1" 53INHIBIT_DEFAULT_DEPS = "1"
50ALLOW_EMPTY:${PN} = "1" 54ALLOW_EMPTY:${PN} = "1"
51DEPENDS = "virtual/crypt gcc-runtime virtual/${TARGET_PREFIX}gcc" 55DEPENDS = "virtual/crypt gcc-runtime virtual/cross-cc"
52 56
53# used to fix ../../../../../../../../../work-shared/gcc-8.3.0-r0/gcc-8.3.0/libsanitizer/libbacktrace/../../libbacktrace/elf.c:772:21: error: 'st.st_mode' may be used uninitialized in this function [-Werror=maybe-uninitialized] 57# used to fix ../../../../../../../../../work-shared/gcc-8.3.0-r0/gcc-8.3.0/libsanitizer/libbacktrace/../../libbacktrace/elf.c:772:21: error: 'st.st_mode' may be used uninitialized in this function [-Werror=maybe-uninitialized]
54DEBUG_OPTIMIZATION:append = " -Wno-error" 58DEBUG_OPTIMIZATION:append = " -Wno-error"
@@ -73,13 +77,14 @@ RRECOMMENDS:${PN}:append:x86 = " liblsan"
73RRECOMMENDS:${PN}:append:x86-64 = " liblsan libtsan" 77RRECOMMENDS:${PN}:append:x86-64 = " liblsan libtsan"
74RRECOMMENDS:${PN}:append:powerpc64 = " liblsan libtsan" 78RRECOMMENDS:${PN}:append:powerpc64 = " liblsan libtsan"
75RRECOMMENDS:${PN}:append:aarch64 = " liblsan libtsan" 79RRECOMMENDS:${PN}:append:aarch64 = " liblsan libtsan"
80RRECOMMENDS:${PN}:append:riscv64 = " liblsan libtsan"
76 81
77do_package_write_ipk[depends] += "virtual/${MLPREFIX}${TARGET_PREFIX}compilerlibs:do_packagedata" 82do_package_write_ipk[depends] += "virtual/${MLPREFIX}compilerlibs:do_packagedata"
78do_package_write_deb[depends] += "virtual/${MLPREFIX}${TARGET_PREFIX}compilerlibs:do_packagedata" 83do_package_write_deb[depends] += "virtual/${MLPREFIX}compilerlibs:do_packagedata"
79do_package_write_rpm[depends] += "virtual/${MLPREFIX}${TARGET_PREFIX}compilerlibs:do_packagedata" 84do_package_write_rpm[depends] += "virtual/${MLPREFIX}compilerlibs:do_packagedata"
80 85
81# Only x86, powerpc, sparc, s390, arm, aarch64 and loongarch64 are supported 86# Only x86, powerpc, sparc, s390, arm, aarch64 and loongarch64 are supported
82COMPATIBLE_HOST = '(x86_64|i.86|powerpc|sparc|s390|arm|aarch64|loongarch64).*-linux' 87COMPATIBLE_HOST = '(x86_64|i.86|powerpc|sparc|s390|arm|aarch64|loongarch64|riscv64).*-linux'
83# musl is currently broken entirely 88# musl is currently broken entirely
84COMPATIBLE_HOST:libc-musl = 'null' 89COMPATIBLE_HOST:libc-musl = 'null'
85 90
diff --git a/meta/recipes-devtools/gcc/gcc-sanitizers_13.2.bb b/meta/recipes-devtools/gcc/gcc-sanitizers_15.1.bb
index 8bda2ccad6..8bda2ccad6 100644
--- a/meta/recipes-devtools/gcc/gcc-sanitizers_13.2.bb
+++ b/meta/recipes-devtools/gcc/gcc-sanitizers_15.1.bb
diff --git a/meta/recipes-devtools/gcc/gcc-shared-source.inc b/meta/recipes-devtools/gcc/gcc-shared-source.inc
index 03f520b093..c01410b47a 100644
--- a/meta/recipes-devtools/gcc/gcc-shared-source.inc
+++ b/meta/recipes-devtools/gcc/gcc-shared-source.inc
@@ -16,6 +16,6 @@ do_deploy_source_date_epoch () {
16 sde_file=${SDE_FILE} 16 sde_file=${SDE_FILE}
17 sde_file=${sde_file#${WORKDIR}/} 17 sde_file=${sde_file#${WORKDIR}/}
18 mkdir -p ${SDE_DEPLOYDIR} $(dirname ${SDE_FILE}) 18 mkdir -p ${SDE_DEPLOYDIR} $(dirname ${SDE_FILE})
19 cp -p $(dirname ${S})/$sde_file ${SDE_DEPLOYDIR} 19 cp -p $(dirname ${UNPACKDIR})/$sde_file ${SDE_DEPLOYDIR}
20 cp -p $(dirname ${S})/$sde_file ${SDE_FILE} 20 cp -p $(dirname ${UNPACKDIR})/$sde_file ${SDE_FILE}
21} 21}
diff --git a/meta/recipes-devtools/gcc/gcc-source_13.2.bb b/meta/recipes-devtools/gcc/gcc-source_15.1.bb
index b890fa33ea..be11fa2fcc 100644
--- a/meta/recipes-devtools/gcc/gcc-source_13.2.bb
+++ b/meta/recipes-devtools/gcc/gcc-source_15.1.bb
@@ -1,4 +1,5 @@
1require recipes-devtools/gcc/gcc-${PV}.inc 1require recipes-devtools/gcc/gcc-${PV}.inc
2require recipes-devtools/gcc/gcc-source.inc 2require recipes-devtools/gcc/gcc-source.inc
3 3
4BPN = "gcc-source"
4EXCLUDE_FROM_WORLD = "1" 5EXCLUDE_FROM_WORLD = "1"
diff --git a/meta/recipes-devtools/gcc/gcc-target.inc b/meta/recipes-devtools/gcc/gcc-target.inc
index 7dac3ef422..6b47c10413 100644
--- a/meta/recipes-devtools/gcc/gcc-target.inc
+++ b/meta/recipes-devtools/gcc/gcc-target.inc
@@ -2,6 +2,7 @@ GCCMULTILIB = "--enable-multilib"
2require gcc-configure-common.inc 2require gcc-configure-common.inc
3 3
4EXTRA_OECONF_PATHS = "\ 4EXTRA_OECONF_PATHS = "\
5 --with-gxx-libcxx-include-dir=${target_includedir}/c++/v1 \
5 --with-build-sysroot=${STAGING_DIR_TARGET} \ 6 --with-build-sysroot=${STAGING_DIR_TARGET} \
6" 7"
7 8
@@ -32,8 +33,7 @@ PACKAGES = "\
32 ${PN} ${PN}-plugins ${PN}-symlinks \ 33 ${PN} ${PN}-plugins ${PN}-symlinks \
33 g++ g++-symlinks \ 34 g++ g++-symlinks \
34 cpp cpp-symlinks \ 35 cpp cpp-symlinks \
35 g77 g77-symlinks \ 36 ${@bb.utils.contains('FORTRAN', ',fortran', 'gfortran gfortran-symlinks', '', d)} \
36 gfortran gfortran-symlinks \
37 gcov gcov-symlinks \ 37 gcov gcov-symlinks \
38 ${PN}-doc \ 38 ${PN}-doc \
39 ${PN}-dev \ 39 ${PN}-dev \
@@ -60,7 +60,7 @@ RRECOMMENDS:${PN} += "\
60 libssp \ 60 libssp \
61 libssp-dev \ 61 libssp-dev \
62" 62"
63RDEPENDS:${PN} += "cpp" 63RDEPENDS:${PN} += "binutils cpp"
64 64
65FILES:${PN}-dev = "\ 65FILES:${PN}-dev = "\
66 ${gcclibdir}/${TARGET_SYS}/${BINV}/lib*${SOLIBSDEV} \ 66 ${gcclibdir}/${TARGET_SYS}/${BINV}/lib*${SOLIBSDEV} \
@@ -80,23 +80,15 @@ FILES:${PN}-plugins = "\
80" 80"
81ALLOW_EMPTY:${PN}-plugins = "1" 81ALLOW_EMPTY:${PN}-plugins = "1"
82 82
83FILES:g77 = "\ 83INSANE_SKIP:${MLPREFIX}gfortran += "dev-deps"
84 ${bindir}/${TARGET_PREFIX}g77 \
85 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/f771 \
86"
87FILES:g77-symlinks = "\
88 ${bindir}/g77 \
89 ${bindir}/f77 \
90"
91RRECOMMENDS:g77 = "\
92 libg2c \
93 libg2c-dev \
94"
95
96FILES:gfortran = "\ 84FILES:gfortran = "\
97 ${bindir}/${TARGET_PREFIX}gfortran \ 85 ${bindir}/${TARGET_PREFIX}gfortran \
98 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/f951 \ 86 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/f951 \
99" 87"
88RDEPENDS:gfortran = "\
89 gcc \
90 libgfortran-dev \
91"
100RRECOMMENDS:gfortran = "\ 92RRECOMMENDS:gfortran = "\
101 libquadmath \ 93 libquadmath \
102 libquadmath-dev \ 94 libquadmath-dev \
@@ -140,20 +132,8 @@ FILES:${PN}-doc = "\
140" 132"
141 133
142do_compile () { 134do_compile () {
143 # Prevent full target sysroot path from being used in configargs.h header, 135 remove_sysroot_paths_from_configargs '/'
144 # as it will be rewritten when used by other sysroots preventing support 136 remove_sysroot_paths_from_checksum_options '${STAGING_DIR_TARGET}' '/'
145 # for gcc plugins. Additionally the path is embeddeded into the output
146 # binary, this prevents building a reproducible binary.
147 oe_runmake configure-gcc
148 sed -i 's@${STAGING_DIR_TARGET}@/@g' ${B}/gcc/configargs.h
149 sed -i 's@${STAGING_DIR_HOST}@/@g' ${B}/gcc/configargs.h
150
151 # Prevent sysroot/workdir paths from being used in checksum-options.
152 # checksum-options is used to generate a checksum which is embedded into
153 # the output binary.
154 oe_runmake TARGET-gcc=checksum-options all-gcc
155 sed -i 's@${DEBUG_PREFIX_MAP}@@g' ${B}/gcc/checksum-options
156 sed -i 's@${STAGING_DIR_TARGET}@/@g' ${B}/gcc/checksum-options
157 137
158 oe_runmake all-host 138 oe_runmake all-host
159} 139}
@@ -197,11 +177,6 @@ do_install () {
197 # Not sure why we end up with these but we don't want them... 177 # Not sure why we end up with these but we don't want them...
198 rm -f ${TARGET_PREFIX}${TARGET_PREFIX}* 178 rm -f ${TARGET_PREFIX}${TARGET_PREFIX}*
199 179
200 # Symlinks so we can use these trivially on the target
201 if [ -e ${TARGET_PREFIX}g77 ]; then
202 ln -sf ${TARGET_PREFIX}g77 g77 || true
203 ln -sf g77 f77 || true
204 fi
205 if [ -e ${TARGET_PREFIX}gfortran ]; then 180 if [ -e ${TARGET_PREFIX}gfortran ]; then
206 ln -sf ${TARGET_PREFIX}gfortran gfortran || true 181 ln -sf ${TARGET_PREFIX}gfortran gfortran || true
207 ln -sf gfortran f95 || true 182 ln -sf gfortran f95 || true
@@ -218,37 +193,8 @@ do_install () {
218 install -d ${D}${libdir}/bfd-plugins 193 install -d ${D}${libdir}/bfd-plugins
219 ln -sf ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/liblto_plugin.so ${D}${libdir}/bfd-plugins/liblto_plugin.so 194 ln -sf ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/liblto_plugin.so ${D}${libdir}/bfd-plugins/liblto_plugin.so
220 chown -R root:root ${D} 195 chown -R root:root ${D}
221}
222 196
223do_install:append () { 197 cleanup_installed_include_fixed
224 #
225 # Thefixinc.sh script, run on the gcc's compile phase, looks into sysroot header
226 # files and places the modified files into
227 # {D}${libdir}/gcc/${TARGET_SYS}/${BINV}/include-fixed folder. This makes the
228 # build not deterministic. The following code prunes all those headers
229 # except those under include-fixed/linux, *limits.h and README, yielding
230 # the same include-fixed folders no matter what sysroot
231
232 include_fixed="${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/include-fixed"
233 for f in $(find ${include_fixed} -type f); do
234 case $f in
235 */include-fixed/linux/*)
236 continue
237 ;;
238 */include-fixed/*limits.h)
239 continue
240 ;;
241 */include-fixed/README)
242 continue
243 ;;
244 *)
245 # remove file and directory if empty
246 bbdebug 2 "Pruning $f"
247 rm $f
248 find $(dirname $f) -maxdepth 0 -empty -exec rmdir {} \;
249 ;;
250 esac
251 done
252} 198}
253 199
254# Installing /usr/lib/gcc/* means we'd have two copies, one from gcc-cross 200# Installing /usr/lib/gcc/* means we'd have two copies, one from gcc-cross
diff --git a/meta/recipes-devtools/gcc/gcc-testsuite.inc b/meta/recipes-devtools/gcc/gcc-testsuite.inc
index f16d471478..3257f86907 100644
--- a/meta/recipes-devtools/gcc/gcc-testsuite.inc
+++ b/meta/recipes-devtools/gcc/gcc-testsuite.inc
@@ -53,8 +53,8 @@ python check_prepare() {
53 # - valid for x86*, powerpc, arm, arm64 53 # - valid for x86*, powerpc, arm, arm64
54 if qemu_binary.endswith(("x86_64", "i386", "arm", "aarch64")): 54 if qemu_binary.endswith(("x86_64", "i386", "arm", "aarch64")):
55 args += ["-cpu", "max"] 55 args += ["-cpu", "max"]
56 elif qemu_binary.endswith(("ppc", "mips", "mips64")): 56 else:
57 extra = d.getVar("QEMU_EXTRAOPTIONS_%s" % d.getVar('PACKAGE_ARCH')) 57 extra = d.getVar("QEMU_EXTRAOPTIONS:tune-%s" % d.getVar('TUNE_PKGARCH'))
58 if extra: 58 if extra:
59 args += extra.split() 59 args += extra.split()
60 # For mips64 we could set a maximal CPU (e.g. Loongson-3A4000) however they either have MSA 60 # For mips64 we could set a maximal CPU (e.g. Loongson-3A4000) however they either have MSA
@@ -101,7 +101,7 @@ python check_prepare() {
101 f.write(generate_qemu_linux_user_config(d)) 101 f.write(generate_qemu_linux_user_config(d))
102 102
103 # write out target ssh board config 103 # write out target ssh board config
104 with open(os.path.join(dejagnudir, "ssh.exp"), "w") as f: 104 with open(os.path.join(dejagnudir, "linux-ssh.exp"), "w") as f:
105 f.write(generate_remote_ssh_linux_config(d)) 105 f.write(generate_remote_ssh_linux_config(d))
106 106
107 # generate site.exp to provide boards 107 # generate site.exp to provide boards
diff --git a/meta/recipes-devtools/gcc/gcc/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch b/meta/recipes-devtools/gcc/gcc/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch
index 5c75698eda..e36b7f7b17 100644
--- a/meta/recipes-devtools/gcc/gcc/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch
+++ b/meta/recipes-devtools/gcc/gcc/0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch
@@ -1,4 +1,4 @@
1From 553564bdcabdcc5d4cc4de73c7eb94c505ef51f5 Mon Sep 17 00:00:00 2001 1From 7e8c2b6bd87d221158f43bc1d770e04ddeed4176 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 29 Mar 2013 08:37:11 +0400 3Date: Fri, 29 Mar 2013 08:37:11 +0400
4Subject: [PATCH] gcc-4.3.1: ARCH_FLAGS_FOR_TARGET 4Subject: [PATCH] gcc-4.3.1: ARCH_FLAGS_FOR_TARGET
@@ -12,10 +12,10 @@ Upstream-Status: Inappropriate [embedded specific]
12 2 files changed, 2 insertions(+), 2 deletions(-) 12 2 files changed, 2 insertions(+), 2 deletions(-)
13 13
14diff --git a/configure b/configure 14diff --git a/configure b/configure
15index 117a7ef23f2..535265253fd 100755 15index ebc44416b6c..af1d1e24b3d 100755
16--- a/configure 16--- a/configure
17+++ b/configure 17+++ b/configure
18@@ -10195,7 +10195,7 @@ fi 18@@ -11509,7 +11509,7 @@ fi
19 # for target_alias and gcc doesn't manage it consistently. 19 # for target_alias and gcc doesn't manage it consistently.
20 target_configargs="--cache-file=./config.cache ${target_configargs}" 20 target_configargs="--cache-file=./config.cache ${target_configargs}"
21 21
@@ -25,10 +25,10 @@ index 117a7ef23f2..535265253fd 100755
25 *" newlib "*) 25 *" newlib "*)
26 case " $target_configargs " in 26 case " $target_configargs " in
27diff --git a/configure.ac b/configure.ac 27diff --git a/configure.ac b/configure.ac
28index b3e9bbd2aa5..5ac8d6490f6 100644 28index 730db3c1402..6de64a4777c 100644
29--- a/configure.ac 29--- a/configure.ac
30+++ b/configure.ac 30+++ b/configure.ac
31@@ -3351,7 +3351,7 @@ fi 31@@ -3736,7 +3736,7 @@ fi
32 # for target_alias and gcc doesn't manage it consistently. 32 # for target_alias and gcc doesn't manage it consistently.
33 target_configargs="--cache-file=./config.cache ${target_configargs}" 33 target_configargs="--cache-file=./config.cache ${target_configargs}"
34 34
diff --git a/meta/recipes-devtools/gcc/gcc/0002-gcc-poison-system-directories.patch b/meta/recipes-devtools/gcc/gcc/0002-gcc-poison-system-directories.patch
index 492300047d..53d2dc63da 100644
--- a/meta/recipes-devtools/gcc/gcc/0002-gcc-poison-system-directories.patch
+++ b/meta/recipes-devtools/gcc/gcc/0002-gcc-poison-system-directories.patch
@@ -1,6 +1,6 @@
1From 52676b5934ba127c3af39fc484c8236c8fa60b96 Mon Sep 17 00:00:00 2001 1From f7c26bbbf0496d179f5e71107fe6cf1320b25901 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 8 Mar 2021 16:04:20 -0800 3Date: Thu, 23 Jan 2025 17:12:51 -0800
4Subject: [PATCH] gcc: poison-system-directories 4Subject: [PATCH] gcc: poison-system-directories
5 5
6Add /sw/include and /opt/include based on the original 6Add /sw/include and /opt/include based on the original
@@ -13,6 +13,7 @@ wants this to be a failure, they can add "-Werror=poison-system-directories".
13 13
14Upstream-Status: Inappropriate [OE configuration] 14Upstream-Status: Inappropriate [OE configuration]
15Signed-off-by: Mark Hatle <mark.hatle@windriver.com> 15Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
16Signed-off-by: sunil dora <sunilkumar.dora@windriver.com>
16Signed-off-by: Khem Raj <raj.khem@gmail.com> 17Signed-off-by: Khem Raj <raj.khem@gmail.com>
17--- 18---
18 gcc/common.opt | 4 ++++ 19 gcc/common.opt | 4 ++++
@@ -20,15 +21,15 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
20 gcc/configure | 19 +++++++++++++++++++ 21 gcc/configure | 19 +++++++++++++++++++
21 gcc/configure.ac | 16 ++++++++++++++++ 22 gcc/configure.ac | 16 ++++++++++++++++
22 gcc/doc/invoke.texi | 9 +++++++++ 23 gcc/doc/invoke.texi | 9 +++++++++
23 gcc/gcc.cc | 9 +++++++-- 24 gcc/gcc.cc | 12 ++++++++++--
24 gcc/incpath.cc | 21 +++++++++++++++++++++ 25 gcc/incpath.cc | 25 +++++++++++++++++++++++++
25 7 files changed, 86 insertions(+), 2 deletions(-) 26 7 files changed, 93 insertions(+), 2 deletions(-)
26 27
27diff --git a/gcc/common.opt b/gcc/common.opt 28diff --git a/gcc/common.opt b/gcc/common.opt
28index 862c474d3c8..64c4277c991 100644 29index e3fa0dacec4..bea1adc0940 100644
29--- a/gcc/common.opt 30--- a/gcc/common.opt
30+++ b/gcc/common.opt 31+++ b/gcc/common.opt
31@@ -711,6 +711,10 @@ Wreturn-local-addr 32@@ -729,6 +729,10 @@ Wreturn-local-addr
32 Common Var(warn_return_local_addr) Init(1) Warning 33 Common Var(warn_return_local_addr) Init(1) Warning
33 Warn about returning a pointer/reference to a local or temporary variable. 34 Warn about returning a pointer/reference to a local or temporary variable.
34 35
@@ -40,10 +41,10 @@ index 862c474d3c8..64c4277c991 100644
40 Common Var(warn_shadow) Warning 41 Common Var(warn_shadow) Warning
41 Warn when one variable shadows another. Same as -Wshadow=global. 42 Warn when one variable shadows another. Same as -Wshadow=global.
42diff --git a/gcc/config.in b/gcc/config.in 43diff --git a/gcc/config.in b/gcc/config.in
43index 4cad077bfbe..80e832fdb84 100644 44index a79c51adb2b..8a531ed591c 100644
44--- a/gcc/config.in 45--- a/gcc/config.in
45+++ b/gcc/config.in 46+++ b/gcc/config.in
46@@ -236,6 +236,16 @@ 47@@ -249,6 +249,16 @@
47 #endif 48 #endif
48 49
49 50
@@ -61,18 +62,18 @@ index 4cad077bfbe..80e832fdb84 100644
61 optimizer and back end) to be checked for dynamic type safety at runtime. 62 optimizer and back end) to be checked for dynamic type safety at runtime.
62 This is quite expensive. */ 63 This is quite expensive. */
63diff --git a/gcc/configure b/gcc/configure 64diff --git a/gcc/configure b/gcc/configure
64index c7b26d1927d..3508be7b439 100755 65index 16965953f05..0f4a5d52c30 100755
65--- a/gcc/configure 66--- a/gcc/configure
66+++ b/gcc/configure 67+++ b/gcc/configure
67@@ -1026,6 +1026,7 @@ enable_maintainer_mode 68@@ -1051,6 +1051,7 @@ enable_maintainer_mode
68 enable_link_mutex 69 enable_link_mutex
69 enable_link_serialization 70 enable_link_serialization
70 enable_version_specific_runtime_libs 71 enable_version_specific_runtime_libs
71+enable_poison_system_directories 72+enable_poison_system_directories
72 enable_plugin 73 enable_plugin
73 enable_host_shared 74 enable_host_shared
74 enable_libquadmath_support 75 enable_host_pie
75@@ -1788,6 +1789,8 @@ Optional Features: 76@@ -1828,6 +1829,8 @@ Optional Features:
76 --enable-version-specific-runtime-libs 77 --enable-version-specific-runtime-libs
77 specify that runtime libraries should be installed 78 specify that runtime libraries should be installed
78 in a compiler-specific directory 79 in a compiler-specific directory
@@ -80,8 +81,8 @@ index c7b26d1927d..3508be7b439 100755
80+ warn for use of native system header directories 81+ warn for use of native system header directories
81 --enable-plugin enable plugin support 82 --enable-plugin enable plugin support
82 --enable-host-shared build host code as shared libraries 83 --enable-host-shared build host code as shared libraries
83 --disable-libquadmath-support 84 --enable-host-pie build host code as PIE
84@@ -31753,6 +31756,22 @@ if test "${enable_version_specific_runtime_libs+set}" = set; then : 85@@ -34027,6 +34030,22 @@ if test "${enable_version_specific_runtime_libs+set}" = set; then :
85 fi 86 fi
86 87
87 88
@@ -105,10 +106,10 @@ index c7b26d1927d..3508be7b439 100755
105 106
106 107
107diff --git a/gcc/configure.ac b/gcc/configure.ac 108diff --git a/gcc/configure.ac b/gcc/configure.ac
108index 09082e8ccae..6cd01a8966b 100644 109index 9f67e62950a..b0e3615e5aa 100644
109--- a/gcc/configure.ac 110--- a/gcc/configure.ac
110+++ b/gcc/configure.ac 111+++ b/gcc/configure.ac
111@@ -7292,6 +7292,22 @@ AC_ARG_ENABLE(version-specific-runtime-libs, 112@@ -7502,6 +7502,22 @@ AC_ARG_ENABLE(version-specific-runtime-libs,
112 [specify that runtime libraries should be 113 [specify that runtime libraries should be
113 installed in a compiler-specific directory])]) 114 installed in a compiler-specific directory])])
114 115
@@ -132,20 +133,20 @@ index 09082e8ccae..6cd01a8966b 100644
132 AC_SUBST(subdirs) 133 AC_SUBST(subdirs)
133 AC_SUBST(srcdir) 134 AC_SUBST(srcdir)
134diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi 135diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
135index de40f62e219..d6f203c8b71 100644 136index c2e1bf8031b..d33e2042f38 100644
136--- a/gcc/doc/invoke.texi 137--- a/gcc/doc/invoke.texi
137+++ b/gcc/doc/invoke.texi 138+++ b/gcc/doc/invoke.texi
138@@ -384,6 +384,7 @@ Objective-C and Objective-C++ Dialects}. 139@@ -405,6 +405,7 @@ Objective-C and Objective-C++ Dialects}.
139 -Wpacked -Wno-packed-bitfield-compat -Wpacked-not-aligned -Wpadded 140 -Wpacked -Wno-packed-bitfield-compat -Wpacked-not-aligned -Wpadded
140 -Wparentheses -Wno-pedantic-ms-format 141 -Wparentheses -Wno-pedantic-ms-format
141 -Wpointer-arith -Wno-pointer-compare -Wno-pointer-to-int-cast 142 -Wpointer-arith -Wno-pointer-compare -Wno-pointer-to-int-cast
142+-Wno-poison-system-directories 143+-Wno-poison-system-directories
143 -Wno-pragmas -Wno-prio-ctor-dtor -Wredundant-decls 144 -Wno-pragmas -Wno-pragma-once-outside-header -Wno-prio-ctor-dtor
144 -Wrestrict -Wno-return-local-addr -Wreturn-type 145 -Wno-psabi
145 -Wno-scalar-storage-order -Wsequence-point 146 -Wredundant-decls -Wrestrict
146@@ -8426,6 +8427,14 @@ made up of data only and thus requires no special treatment. But, for 147@@ -10727,6 +10728,14 @@ an error. @option{Wint-to-pointer-cast} is enabled by default.
147 most targets, it is made up of code and thus requires the stack to be 148 Suppress warnings from casts from a pointer to an integer type of a
148 made executable in order for the program to work properly. 149 different size.
149 150
150+@opindex Wno-poison-system-directories 151+@opindex Wno-poison-system-directories
151+@item -Wno-poison-system-directories 152+@item -Wno-poison-system-directories
@@ -155,38 +156,55 @@ index de40f62e219..d6f203c8b71 100644
155+directories contain the correct headers and libraries for the target 156+directories contain the correct headers and libraries for the target
156+system rather than the host. 157+system rather than the host.
157+ 158+
158 @opindex Wfloat-equal 159 @opindex Winvalid-pch
159 @opindex Wno-float-equal 160 @opindex Wno-invalid-pch
160 @item -Wfloat-equal 161 @item -Winvalid-pch
161diff --git a/gcc/gcc.cc b/gcc/gcc.cc 162diff --git a/gcc/gcc.cc b/gcc/gcc.cc
162index 16bb07f2cdc..5feae021545 100644 163index 4fd87f2c4a1..79d4920a047 100644
163--- a/gcc/gcc.cc 164--- a/gcc/gcc.cc
164+++ b/gcc/gcc.cc 165+++ b/gcc/gcc.cc
165@@ -1146,6 +1146,8 @@ proper position among the other output files. */ 166@@ -909,6 +909,12 @@ proper position among the other output files. */
167 #define ASM_MAP ""
168 #endif
169
170+#ifdef POISON_BY_DEFAULT
171+#define POISON_IS_ERROR " -Werror=poison-system-directories"
172+#else
173+#define POISON_IS_ERROR
174+#endif
175+
176 /* Assembler options for compressed debug sections. */
177 #if HAVE_LD_COMPRESS_DEBUG == 0
178 /* Reject if the linker cannot write compressed debug sections. */
179@@ -1166,6 +1172,8 @@ proper position among the other output files. */
166 "%{fuse-ld=*:-fuse-ld=%*} " LINK_COMPRESS_DEBUG_SPEC \ 180 "%{fuse-ld=*:-fuse-ld=%*} " LINK_COMPRESS_DEBUG_SPEC \
167 "%X %{o*} %{e*} %{N} %{n} %{r}\ 181 "%X %{o*} %{e*} %{N} %{n} %{r}\
168 %{s} %{t} %{u*} %{z} %{Z} %{!nostdlib:%{!r:%{!nostartfiles:%S}}} \ 182 %{s} %{t} %{u*} %{z} %{Z} %{!nostdlib:%{!r:%{!nostartfiles:%S}}} \
169+ %{Wno-poison-system-directories:--no-poison-system-directories} \ 183+ %{Wno-poison-system-directories:--no-poison-system-directories} \
170+ %{Werror=poison-system-directories:--error-poison-system-directories} \ 184+ %{Werror=poison-system-directories:--error-poison-system-directories} \
171 %{static|no-pie|static-pie:} %@{L*} %(mfwrap) %(link_libgcc) " \ 185 %{static|no-pie|static-pie:} %@{L*} %(link_libgcc) " \
172 VTABLE_VERIFICATION_SPEC " " SANITIZER_EARLY_SPEC " %o "" \ 186 VTABLE_VERIFICATION_SPEC " " SANITIZER_EARLY_SPEC " %o "" \
173 %{fopenacc|fopenmp|%:gt(%{ftree-parallelize-loops=*:%*} 1):\ 187 %{fopenacc|fopenmp|%:gt(%{ftree-parallelize-loops=*:%*} 1):\
174@@ -1241,8 +1243,11 @@ static const char *cpp_unique_options = 188@@ -1268,7 +1276,7 @@ static const char *cpp_options =
175 static const char *cpp_options =
176 "%(cpp_unique_options) %1 %{m*} %{std*&ansi&trigraphs} %{W*&pedantic*} %{w}\ 189 "%(cpp_unique_options) %1 %{m*} %{std*&ansi&trigraphs} %{W*&pedantic*} %{w}\
177 %{f*} %{g*:%{%:debug-level-gt(0):%{g*}\ 190 %{f*} %{g*:%{%:debug-level-gt(0):%{g*}\
178- %{!fno-working-directory:-fworking-directory}}} %{O*}\ 191 %{!fno-working-directory:-fworking-directory}}} %{O*}\
179- %{undef} %{save-temps*:-fpch-preprocess}"; 192- %{undef} %{save-temps*:-fpch-preprocess}";
180+ %{!fno-working-directory:-fworking-directory}}} %{O*}" 193+ %{undef} %{save-temps*:-fpch-preprocess}" POISON_IS_ERROR;
181+#ifdef POISON_BY_DEFAULT
182+ " -Werror=poison-system-directories"
183+#endif
184+ " %{undef} %{save-temps*:-fpch-preprocess}";
185 194
186 /* Pass -d* flags, possibly modifying -dumpdir, -dumpbase et al. 195 /* Pass -d* flags, possibly modifying -dumpdir, -dumpbase et al.
187 196
197@@ -1297,7 +1305,7 @@ static const char *cc1_options =
198 %{coverage:-fprofile-arcs -ftest-coverage}\
199 %{fprofile-arcs|fcondition-coverage|fpath-coverage|fprofile-generate*|coverage:\
200 %{!fprofile-update=single:\
201- %{pthread:-fprofile-update=prefer-atomic}}}";
202+ %{pthread:-fprofile-update=prefer-atomic}}}" POISON_IS_ERROR;
203
204 static const char *asm_options =
205 "%{-target-help:%:print-asm-header()} "
188diff --git a/gcc/incpath.cc b/gcc/incpath.cc 206diff --git a/gcc/incpath.cc b/gcc/incpath.cc
189index 4d44321183f..46c0d543205 100644 207index c1bbfd3872a..2cdbebc4c50 100644
190--- a/gcc/incpath.cc 208--- a/gcc/incpath.cc
191+++ b/gcc/incpath.cc 209+++ b/gcc/incpath.cc
192@@ -26,6 +26,7 @@ 210@@ -26,6 +26,7 @@
@@ -197,9 +215,20 @@ index 4d44321183f..46c0d543205 100644
197 215
198 /* Microsoft Windows does not natively support inodes. 216 /* Microsoft Windows does not natively support inodes.
199 VMS has non-numeric inodes. */ 217 VMS has non-numeric inodes. */
200@@ -399,6 +400,26 @@ merge_include_chains (const char *sysroot, cpp_reader *pfile, int verbose) 218@@ -273,6 +274,10 @@ remove_duplicates (cpp_reader *pfile, struct cpp_dir *head,
219 cur->name, xstrerror (errno));
220 reason = REASON_NOENT;
221 }
222+#ifdef ENABLE_POISON_SYSTEM_DIRECTORIES
223+ pcur = &cur->next;
224+ continue;
225+#endif
226 }
227 else if (!S_ISDIR (st.st_mode))
228 cpp_error_with_line (pfile, CPP_DL_WARNING, 0, 0,
229@@ -411,6 +416,26 @@ merge_include_chains (const char *sysroot, cpp_reader *pfile, int verbose)
230 fprintf (stderr, _("End of #embed search list.\n"));
201 } 231 }
202 fprintf (stderr, _("End of search list.\n"));
203 } 232 }
204+ 233+
205+#ifdef ENABLE_POISON_SYSTEM_DIRECTORIES 234+#ifdef ENABLE_POISON_SYSTEM_DIRECTORIES
diff --git a/meta/recipes-devtools/gcc/gcc/0003-64-bit-multilib-hack.patch b/meta/recipes-devtools/gcc/gcc/0003-64-bit-multilib-hack.patch
index 69e7fa0ba9..0c9edf189e 100644
--- a/meta/recipes-devtools/gcc/gcc/0003-64-bit-multilib-hack.patch
+++ b/meta/recipes-devtools/gcc/gcc/0003-64-bit-multilib-hack.patch
@@ -1,4 +1,4 @@
1From febfac59d0e8a864370d0b4018b4e497ceec156d Mon Sep 17 00:00:00 2001 1From a4f799209882107726f547a4637659068ae07476 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 29 Mar 2013 09:10:06 +0400 3Date: Fri, 29 Mar 2013 09:10:06 +0400
4Subject: [PATCH] 64-bit multilib hack 4Subject: [PATCH] 64-bit multilib hack
@@ -28,19 +28,17 @@ Upstream-Status: Inappropriate [OE-Specific]
28Signed-off-by: Khem Raj <raj.khem@gmail.com> 28Signed-off-by: Khem Raj <raj.khem@gmail.com>
29Signed-off-by: Elvis Dowson <elvis.dowson@gmail.com> 29Signed-off-by: Elvis Dowson <elvis.dowson@gmail.com>
30Signed-off-by: Mark Hatle <mark.hatle@windriver.com> 30Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
31Signed-off-by: Zang Ruochen <zangruochen@loongson.cn>
32--- 31---
33 gcc/config/aarch64/t-aarch64-linux | 8 ++++---- 32 gcc/config/aarch64/t-aarch64-linux | 8 ++++----
34 gcc/config/arc/t-multilib-linux | 4 ++-- 33 gcc/config/arc/t-multilib-linux | 4 ++--
35 gcc/config/i386/t-linux64 | 6 ++---- 34 gcc/config/i386/t-linux64 | 6 ++----
36 gcc/config/mips/t-linux64 | 28 ++-------------------------- 35 gcc/config/mips/t-linux64 | 28 ++--------------------------
37 gcc/config/riscv/t-linux | 4 ++-- 36 gcc/config/riscv/t-linux | 6 +++---
38 gcc/config/rs6000/t-linux64 | 5 ++--- 37 gcc/config/rs6000/t-linux64 | 5 ++---
39 gcc/config/loongarch/t-linux | 34 ++++++++++++++++++---------------- 38 6 files changed, 15 insertions(+), 42 deletions(-)
40 7 files changed, 32 insertions(+), 57 deletions(-)
41 39
42diff --git a/gcc/config/aarch64/t-aarch64-linux b/gcc/config/aarch64/t-aarch64-linux 40diff --git a/gcc/config/aarch64/t-aarch64-linux b/gcc/config/aarch64/t-aarch64-linux
43index 57bf4100fcd..aaef5da8059 100644 41index 70e36b3299e..4267c32763c 100644
44--- a/gcc/config/aarch64/t-aarch64-linux 42--- a/gcc/config/aarch64/t-aarch64-linux
45+++ b/gcc/config/aarch64/t-aarch64-linux 43+++ b/gcc/config/aarch64/t-aarch64-linux
46@@ -21,8 +21,8 @@ 44@@ -21,8 +21,8 @@
@@ -57,7 +55,7 @@ index 57bf4100fcd..aaef5da8059 100644
57-MULTILIB_OSDIRNAMES += mabi.ilp32=../libilp32$(call if_multiarch,:aarch64$(AARCH_BE)-linux-gnu_ilp32) 55-MULTILIB_OSDIRNAMES += mabi.ilp32=../libilp32$(call if_multiarch,:aarch64$(AARCH_BE)-linux-gnu_ilp32)
58+#MULTILIB_OSDIRNAMES += mabi.ilp32=../libilp32$(call if_multiarch,:aarch64$(AARCH_BE)-linux-gnu_ilp32) 56+#MULTILIB_OSDIRNAMES += mabi.ilp32=../libilp32$(call if_multiarch,:aarch64$(AARCH_BE)-linux-gnu_ilp32)
59diff --git a/gcc/config/arc/t-multilib-linux b/gcc/config/arc/t-multilib-linux 57diff --git a/gcc/config/arc/t-multilib-linux b/gcc/config/arc/t-multilib-linux
60index a839e4ea67c..f92664573a9 100644 58index e72687260eb..f701fa9e201 100644
61--- a/gcc/config/arc/t-multilib-linux 59--- a/gcc/config/arc/t-multilib-linux
62+++ b/gcc/config/arc/t-multilib-linux 60+++ b/gcc/config/arc/t-multilib-linux
63@@ -16,9 +16,9 @@ 61@@ -16,9 +16,9 @@
@@ -73,7 +71,7 @@ index a839e4ea67c..f92664573a9 100644
73 # Aliases: 71 # Aliases:
74 MULTILIB_MATCHES += mcpu?arc700=mA7 72 MULTILIB_MATCHES += mcpu?arc700=mA7
75diff --git a/gcc/config/i386/t-linux64 b/gcc/config/i386/t-linux64 73diff --git a/gcc/config/i386/t-linux64 b/gcc/config/i386/t-linux64
76index 138956b0962..d6e0cdc4342 100644 74index 64a4a20e64f..2666e731dd6 100644
77--- a/gcc/config/i386/t-linux64 75--- a/gcc/config/i386/t-linux64
78+++ b/gcc/config/i386/t-linux64 76+++ b/gcc/config/i386/t-linux64
79@@ -32,7 +32,5 @@ 77@@ -32,7 +32,5 @@
@@ -87,7 +85,7 @@ index 138956b0962..d6e0cdc4342 100644
87+MULTILIB_DIRNAMES = . . 85+MULTILIB_DIRNAMES = . .
88+MULTILIB_OSDIRNAMES = ../$(shell basename $(base_libdir)) ../$(shell basename $(base_libdir)) 86+MULTILIB_OSDIRNAMES = ../$(shell basename $(base_libdir)) ../$(shell basename $(base_libdir))
89diff --git a/gcc/config/mips/t-linux64 b/gcc/config/mips/t-linux64 87diff --git a/gcc/config/mips/t-linux64 b/gcc/config/mips/t-linux64
90index 176091cabb6..8258ef40559 100644 88index 34a84461ebb..431a6b5183f 100644
91--- a/gcc/config/mips/t-linux64 89--- a/gcc/config/mips/t-linux64
92+++ b/gcc/config/mips/t-linux64 90+++ b/gcc/config/mips/t-linux64
93@@ -17,29 +17,5 @@ 91@@ -17,29 +17,5 @@
@@ -123,17 +121,20 @@ index 176091cabb6..8258ef40559 100644
123+MULTILIB_DIRNAMES = . . . 121+MULTILIB_DIRNAMES = . . .
124+MULTILIB_OSDIRNAMES = ../$(shell basename $(base_libdir)) ../$(shell basename $(base_libdir)) ../$(shell basename $(base_libdir)) 122+MULTILIB_OSDIRNAMES = ../$(shell basename $(base_libdir)) ../$(shell basename $(base_libdir)) ../$(shell basename $(base_libdir))
125diff --git a/gcc/config/riscv/t-linux b/gcc/config/riscv/t-linux 123diff --git a/gcc/config/riscv/t-linux b/gcc/config/riscv/t-linux
126index 216d2776a18..e3c520f4bf6 100644 124index a6f64f88d25..0e21db58f7d 100644
127--- a/gcc/config/riscv/t-linux 125--- a/gcc/config/riscv/t-linux
128+++ b/gcc/config/riscv/t-linux 126+++ b/gcc/config/riscv/t-linux
129@@ -1,3 +1,3 @@ 127@@ -1,5 +1,5 @@
130 # Only XLEN and ABI affect Linux multilib dir names, e.g. /lib32/ilp32d/ 128 # Only XLEN and ABI affect Linux multilib dir names, e.g. /lib32/ilp32d/
131-MULTILIB_DIRNAMES := $(patsubst rv32%,lib32,$(patsubst rv64%,lib64,$(MULTILIB_DIRNAMES))) 129-MULTILIB_DIRNAMES := $(patsubst rv32%,lib32,$(patsubst rv64%,lib64,$(MULTILIB_DIRNAMES)))
132-MULTILIB_OSDIRNAMES := $(patsubst lib%,../lib%,$(MULTILIB_DIRNAMES)) 130-MULTILIB_OSDIRNAMES := $(patsubst lib%,../lib%,$(MULTILIB_DIRNAMES))
133+#MULTILIB_DIRNAMES := $(patsubst rv32%,lib32,$(patsubst rv64%,lib64,$(MULTILIB_DIRNAMES))) 131+#MULTILIB_DIRNAMES := $(patsubst rv32%,lib32,$(patsubst rv64%,lib64,$(MULTILIB_DIRNAMES)))
134+#MULTILIB_OSDIRNAMES := $(patsubst lib%,../lib%,$(MULTILIB_DIRNAMES)) 132+#MULTILIB_OSDIRNAMES := $(patsubst lib%,../lib%,$(MULTILIB_DIRNAMES))
133
134-MULTIARCH_DIRNAME := $(call if_multiarch,$(firstword $(subst -, ,$(target)))-linux-gnu)
135+#MULTIARCH_DIRNAME := $(call if_multiarch,$(firstword $(subst -, ,$(target)))-linux-gnu)
135diff --git a/gcc/config/rs6000/t-linux64 b/gcc/config/rs6000/t-linux64 136diff --git a/gcc/config/rs6000/t-linux64 b/gcc/config/rs6000/t-linux64
136index 01a94242308..1429eceaebf 100644 137index f56b47c268e..c408c32d8f4 100644
137--- a/gcc/config/rs6000/t-linux64 138--- a/gcc/config/rs6000/t-linux64
138+++ b/gcc/config/rs6000/t-linux64 139+++ b/gcc/config/rs6000/t-linux64
139@@ -26,10 +26,9 @@ 140@@ -26,10 +26,9 @@
@@ -149,53 +150,3 @@ index 01a94242308..1429eceaebf 100644
149 150
150 rs6000-linux.o: $(srcdir)/config/rs6000/rs6000-linux.cc 151 rs6000-linux.o: $(srcdir)/config/rs6000/rs6000-linux.cc
151 $(COMPILE) $< 152 $(COMPILE) $<
152diff --git a/gcc/config/loongarch/t-linux b/gcc/config/loongarch/t-linux
153index e40da1792..0c7ec9f8a 100644
154--- a/gcc/config/loongarch/t-linux
155+++ b/gcc/config/loongarch/t-linux
156@@ -18,7 +18,9 @@
157
158 # Multilib
159 MULTILIB_OPTIONS = mabi=lp64d/mabi=lp64f/mabi=lp64s
160-MULTILIB_DIRNAMES = base/lp64d base/lp64f base/lp64s
161+#MULTILIB_DIRNAMES = base/lp64d base/lp64f base/lp64s
162+MULTILIB_DIRNAMES = . . .
163+MULTILIB_OSDIRNAMES = ../$(shell basename $(base_libdir)) ../$(shell basename $(base_libdir)) ../$(shell basename $(base_libdir))
164
165 # The GCC driver always gets all abi-related options on the command line.
166 # (see loongarch-driver.c:driver_get_normalized_m_opts)
167@@ -36,18 +38,18 @@ else
168 endif
169
170 # Don't define MULTILIB_OSDIRNAMES if multilib is disabled.
171-ifeq ($(filter LA_DISABLE_MULTILIB,$(tm_defines)),)
172-
173- MULTILIB_OSDIRNAMES = \
174- mabi.lp64d=../lib64$\
175- $(call if_multiarch,:loongarch64-linux-gnu)
176-
177- MULTILIB_OSDIRNAMES += \
178- mabi.lp64f=../lib64/f32$\
179- $(call if_multiarch,:loongarch64-linux-gnuf32)
180-
181- MULTILIB_OSDIRNAMES += \
182- mabi.lp64s=../lib64/sf$\
183- $(call if_multiarch,:loongarch64-linux-gnusf)
184-
185-endif
186+#ifeq ($(filter LA_DISABLE_MULTILIB,$(tm_defines)),)
187+#
188+# MULTILIB_OSDIRNAMES = \
189+# mabi.lp64d=../lib64$\
190+# $(call if_multiarch,:loongarch64-linux-gnu)
191+#
192+# MULTILIB_OSDIRNAMES += \
193+# mabi.lp64f=../lib64/f32$\
194+# $(call if_multiarch,:loongarch64-linux-gnuf32)
195+#
196+# MULTILIB_OSDIRNAMES += \
197+# mabi.lp64s=../lib64/sf$\
198+# $(call if_multiarch,:loongarch64-linux-gnusf)
199+#
200+#endif
201
diff --git a/meta/recipes-devtools/gcc/gcc/0004-Pass-CXXFLAGS_FOR_BUILD-in-a-couple-of-places-to-avo.patch b/meta/recipes-devtools/gcc/gcc/0004-Pass-CXXFLAGS_FOR_BUILD-in-a-couple-of-places-to-avo.patch
index 7e33bf17b0..03139326c9 100644
--- a/meta/recipes-devtools/gcc/gcc/0004-Pass-CXXFLAGS_FOR_BUILD-in-a-couple-of-places-to-avo.patch
+++ b/meta/recipes-devtools/gcc/gcc/0004-Pass-CXXFLAGS_FOR_BUILD-in-a-couple-of-places-to-avo.patch
@@ -1,4 +1,4 @@
1From 6fbf920ccde6efc2d0caafde996d9e5738a1ba37 Mon Sep 17 00:00:00 2001 1From bcc97c2c8558cd5d3879a907a216eb0e2008c976 Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org> 2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Thu, 28 Oct 2021 11:33:40 +0100 3Date: Thu, 28 Oct 2021 11:33:40 +0100
4Subject: [PATCH] Pass CXXFLAGS_FOR_BUILD in a couple of places to avoid these 4Subject: [PATCH] Pass CXXFLAGS_FOR_BUILD in a couple of places to avoid these
@@ -23,10 +23,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
23 2 files changed, 4 insertions(+) 23 2 files changed, 4 insertions(+)
24 24
25diff --git a/Makefile.in b/Makefile.in 25diff --git a/Makefile.in b/Makefile.in
26index 06a9398e172..4b0069b257c 100644 26index b1ed67d3d4f..4d7f45455a3 100644
27--- a/Makefile.in 27--- a/Makefile.in
28+++ b/Makefile.in 28+++ b/Makefile.in
29@@ -178,6 +178,7 @@ BUILD_EXPORTS = \ 29@@ -179,6 +179,7 @@ BUILD_EXPORTS = \
30 # built for the build system to override those in BASE_FLAGS_TO_PASS. 30 # built for the build system to override those in BASE_FLAGS_TO_PASS.
31 EXTRA_BUILD_FLAGS = \ 31 EXTRA_BUILD_FLAGS = \
32 CFLAGS="$(CFLAGS_FOR_BUILD)" \ 32 CFLAGS="$(CFLAGS_FOR_BUILD)" \
@@ -34,7 +34,7 @@ index 06a9398e172..4b0069b257c 100644
34 LDFLAGS="$(LDFLAGS_FOR_BUILD)" 34 LDFLAGS="$(LDFLAGS_FOR_BUILD)"
35 35
36 # This is the list of directories to built for the host system. 36 # This is the list of directories to built for the host system.
37@@ -210,6 +211,7 @@ HOST_EXPORTS = \ 37@@ -212,6 +213,7 @@ HOST_EXPORTS = \
38 CPP_FOR_BUILD="$(CPP_FOR_BUILD)"; export CPP_FOR_BUILD; \ 38 CPP_FOR_BUILD="$(CPP_FOR_BUILD)"; export CPP_FOR_BUILD; \
39 CPPFLAGS_FOR_BUILD="$(CPPFLAGS_FOR_BUILD)"; export CPPFLAGS_FOR_BUILD; \ 39 CPPFLAGS_FOR_BUILD="$(CPPFLAGS_FOR_BUILD)"; export CPPFLAGS_FOR_BUILD; \
40 CXX_FOR_BUILD="$(CXX_FOR_BUILD)"; export CXX_FOR_BUILD; \ 40 CXX_FOR_BUILD="$(CXX_FOR_BUILD)"; export CXX_FOR_BUILD; \
@@ -43,10 +43,10 @@ index 06a9398e172..4b0069b257c 100644
43 DSYMUTIL="$(DSYMUTIL)"; export DSYMUTIL; \ 43 DSYMUTIL="$(DSYMUTIL)"; export DSYMUTIL; \
44 LD="$(LD)"; export LD; \ 44 LD="$(LD)"; export LD; \
45diff --git a/Makefile.tpl b/Makefile.tpl 45diff --git a/Makefile.tpl b/Makefile.tpl
46index dfbd74b68f8..419b332953b 100644 46index 7dccf91ed8e..7cb61bf63ea 100644
47--- a/Makefile.tpl 47--- a/Makefile.tpl
48+++ b/Makefile.tpl 48+++ b/Makefile.tpl
49@@ -181,6 +181,7 @@ BUILD_EXPORTS = \ 49@@ -182,6 +182,7 @@ BUILD_EXPORTS = \
50 # built for the build system to override those in BASE_FLAGS_TO_PASS. 50 # built for the build system to override those in BASE_FLAGS_TO_PASS.
51 EXTRA_BUILD_FLAGS = \ 51 EXTRA_BUILD_FLAGS = \
52 CFLAGS="$(CFLAGS_FOR_BUILD)" \ 52 CFLAGS="$(CFLAGS_FOR_BUILD)" \
@@ -54,7 +54,7 @@ index dfbd74b68f8..419b332953b 100644
54 LDFLAGS="$(LDFLAGS_FOR_BUILD)" 54 LDFLAGS="$(LDFLAGS_FOR_BUILD)"
55 55
56 # This is the list of directories to built for the host system. 56 # This is the list of directories to built for the host system.
57@@ -213,6 +214,7 @@ HOST_EXPORTS = \ 57@@ -215,6 +216,7 @@ HOST_EXPORTS = \
58 CPP_FOR_BUILD="$(CPP_FOR_BUILD)"; export CPP_FOR_BUILD; \ 58 CPP_FOR_BUILD="$(CPP_FOR_BUILD)"; export CPP_FOR_BUILD; \
59 CPPFLAGS_FOR_BUILD="$(CPPFLAGS_FOR_BUILD)"; export CPPFLAGS_FOR_BUILD; \ 59 CPPFLAGS_FOR_BUILD="$(CPPFLAGS_FOR_BUILD)"; export CPPFLAGS_FOR_BUILD; \
60 CXX_FOR_BUILD="$(CXX_FOR_BUILD)"; export CXX_FOR_BUILD; \ 60 CXX_FOR_BUILD="$(CXX_FOR_BUILD)"; export CXX_FOR_BUILD; \
diff --git a/meta/recipes-devtools/gcc/gcc/0005-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch b/meta/recipes-devtools/gcc/gcc/0005-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch
index db2fea3d16..e8e829d9f5 100644
--- a/meta/recipes-devtools/gcc/gcc/0005-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch
+++ b/meta/recipes-devtools/gcc/gcc/0005-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch
@@ -1,4 +1,4 @@
1From 2cedf13819c0cc929660072d8a972f5e422f9701 Mon Sep 17 00:00:00 2001 1From fd6aa3c3ff5361a738b31d6127cb05910cd6b8c0 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 29 Mar 2013 09:17:25 +0400 3Date: Fri, 29 Mar 2013 09:17:25 +0400
4Subject: [PATCH] Use the defaults.h in ${B} instead of ${S}, and t-oe in ${B} 4Subject: [PATCH] Use the defaults.h in ${B} instead of ${S}, and t-oe in ${B}
@@ -26,10 +26,10 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
26 4 files changed, 7 insertions(+), 7 deletions(-) 26 4 files changed, 7 insertions(+), 7 deletions(-)
27 27
28diff --git a/gcc/Makefile.in b/gcc/Makefile.in 28diff --git a/gcc/Makefile.in b/gcc/Makefile.in
29index 775aaa1b3c4..04f28984b34 100644 29index 55b4cd7dbed..5546e259a20 100644
30--- a/gcc/Makefile.in 30--- a/gcc/Makefile.in
31+++ b/gcc/Makefile.in 31+++ b/gcc/Makefile.in
32@@ -561,7 +561,7 @@ TARGET_SYSTEM_ROOT = @TARGET_SYSTEM_ROOT@ 32@@ -596,7 +596,7 @@ TARGET_SYSTEM_ROOT = @TARGET_SYSTEM_ROOT@
33 TARGET_SYSTEM_ROOT_DEFINE = @TARGET_SYSTEM_ROOT_DEFINE@ 33 TARGET_SYSTEM_ROOT_DEFINE = @TARGET_SYSTEM_ROOT_DEFINE@
34 34
35 xmake_file=@xmake_file@ 35 xmake_file=@xmake_file@
@@ -39,10 +39,10 @@ index 775aaa1b3c4..04f28984b34 100644
39 TM_MULTILIB_CONFIG=@TM_MULTILIB_CONFIG@ 39 TM_MULTILIB_CONFIG=@TM_MULTILIB_CONFIG@
40 TM_MULTILIB_EXCEPTIONS_CONFIG=@TM_MULTILIB_EXCEPTIONS_CONFIG@ 40 TM_MULTILIB_EXCEPTIONS_CONFIG=@TM_MULTILIB_EXCEPTIONS_CONFIG@
41diff --git a/gcc/configure b/gcc/configure 41diff --git a/gcc/configure b/gcc/configure
42index 3508be7b439..cf773a8b854 100755 42index 0f4a5d52c30..a2a8761055c 100755
43--- a/gcc/configure 43--- a/gcc/configure
44+++ b/gcc/configure 44+++ b/gcc/configure
45@@ -13507,8 +13507,8 @@ for f in $tm_file; do 45@@ -15106,8 +15106,8 @@ for f in $tm_file; do
46 tm_include_list="${tm_include_list} $f" 46 tm_include_list="${tm_include_list} $f"
47 ;; 47 ;;
48 defaults.h ) 48 defaults.h )
@@ -54,10 +54,10 @@ index 3508be7b439..cf773a8b854 100755
54 * ) 54 * )
55 tm_file_list="${tm_file_list} \$(srcdir)/config/$f" 55 tm_file_list="${tm_file_list} \$(srcdir)/config/$f"
56diff --git a/gcc/configure.ac b/gcc/configure.ac 56diff --git a/gcc/configure.ac b/gcc/configure.ac
57index 6cd01a8966b..22591478b72 100644 57index b0e3615e5aa..58ad9dc01fe 100644
58--- a/gcc/configure.ac 58--- a/gcc/configure.ac
59+++ b/gcc/configure.ac 59+++ b/gcc/configure.ac
60@@ -2357,8 +2357,8 @@ for f in $tm_file; do 60@@ -2426,8 +2426,8 @@ for f in $tm_file; do
61 tm_include_list="${tm_include_list} $f" 61 tm_include_list="${tm_include_list} $f"
62 ;; 62 ;;
63 defaults.h ) 63 defaults.h )
@@ -69,7 +69,7 @@ index 6cd01a8966b..22591478b72 100644
69 * ) 69 * )
70 tm_file_list="${tm_file_list} \$(srcdir)/config/$f" 70 tm_file_list="${tm_file_list} \$(srcdir)/config/$f"
71diff --git a/gcc/mkconfig.sh b/gcc/mkconfig.sh 71diff --git a/gcc/mkconfig.sh b/gcc/mkconfig.sh
72index 054ede89647..3b2c2b9df37 100644 72index e02466b4416..0ea1a0c9ca6 100644
73--- a/gcc/mkconfig.sh 73--- a/gcc/mkconfig.sh
74+++ b/gcc/mkconfig.sh 74+++ b/gcc/mkconfig.sh
75@@ -77,7 +77,7 @@ if [ -n "$HEADERS" ]; then 75@@ -77,7 +77,7 @@ if [ -n "$HEADERS" ]; then
diff --git a/meta/recipes-devtools/gcc/gcc/0006-cpp-honor-sysroot.patch b/meta/recipes-devtools/gcc/gcc/0006-cpp-honor-sysroot.patch
index 704c44cb72..26476de33f 100644
--- a/meta/recipes-devtools/gcc/gcc/0006-cpp-honor-sysroot.patch
+++ b/meta/recipes-devtools/gcc/gcc/0006-cpp-honor-sysroot.patch
@@ -1,4 +1,4 @@
1From f0b4d02a3a3dca1d67fd7add15ed63c2cd572bb9 Mon Sep 17 00:00:00 2001 1From b931ab5282cc11627b6f68a6477b79f41ae80b3a Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 29 Mar 2013 09:22:00 +0400 3Date: Fri, 29 Mar 2013 09:22:00 +0400
4Subject: [PATCH] cpp: honor sysroot. 4Subject: [PATCH] cpp: honor sysroot.
@@ -26,10 +26,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
26 2 files changed, 2 insertions(+), 2 deletions(-) 26 2 files changed, 2 insertions(+), 2 deletions(-)
27 27
28diff --git a/gcc/cp/lang-specs.h b/gcc/cp/lang-specs.h 28diff --git a/gcc/cp/lang-specs.h b/gcc/cp/lang-specs.h
29index c591d155cc1..61927869fe1 100644 29index a67ce4c22a5..ce07a1c4b1d 100644
30--- a/gcc/cp/lang-specs.h 30--- a/gcc/cp/lang-specs.h
31+++ b/gcc/cp/lang-specs.h 31+++ b/gcc/cp/lang-specs.h
32@@ -116,7 +116,7 @@ along with GCC; see the file COPYING3. If not see 32@@ -122,7 +122,7 @@ along with GCC; see the file COPYING3. If not see
33 {".ii", "@c++-cpp-output", 0, 0, 0}, 33 {".ii", "@c++-cpp-output", 0, 0, 0},
34 {"@c++-cpp-output", 34 {"@c++-cpp-output",
35 "%{!E:%{!M:%{!MM:" 35 "%{!E:%{!M:%{!MM:"
@@ -39,11 +39,11 @@ index c591d155cc1..61927869fe1 100644
39 " %{fmodule-only:%{!S:-o %g.s%V}}" 39 " %{fmodule-only:%{!S:-o %g.s%V}}"
40 " %{!fmodule-only:%{!fmodule-header*:%(invoke_as)}}}" 40 " %{!fmodule-only:%{!fmodule-header*:%(invoke_as)}}}"
41diff --git a/gcc/gcc.cc b/gcc/gcc.cc 41diff --git a/gcc/gcc.cc b/gcc/gcc.cc
42index 5feae021545..8af0c814c33 100644 42index 79d4920a047..c1488865b8b 100644
43--- a/gcc/gcc.cc 43--- a/gcc/gcc.cc
44+++ b/gcc/gcc.cc 44+++ b/gcc/gcc.cc
45@@ -1468,7 +1468,7 @@ static const struct compiler default_compilers[] = 45@@ -1497,7 +1497,7 @@ static const struct compiler default_compilers[] =
46 %W{o*:--output-pch %*}}%V}}}}}}}", 0, 0, 0}, 46 %W{o*:--output-pch %w%*}}%{!S:%V}}}}}}}}", 0, 0, 0},
47 {".i", "@cpp-output", 0, 0, 0}, 47 {".i", "@cpp-output", 0, 0, 0},
48 {"@cpp-output", 48 {"@cpp-output",
49- "%{!M:%{!MM:%{!E:cc1 -fpreprocessed %i %(cc1_options) %{!fsyntax-only:%(invoke_as)}}}}", 0, 0, 0}, 49- "%{!M:%{!MM:%{!E:cc1 -fpreprocessed %i %(cc1_options) %{!fsyntax-only:%(invoke_as)}}}}", 0, 0, 0},
diff --git a/meta/recipes-devtools/gcc/gcc/0007-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch b/meta/recipes-devtools/gcc/gcc/0007-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch
index 079142c540..2b727b09af 100644
--- a/meta/recipes-devtools/gcc/gcc/0007-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch
+++ b/meta/recipes-devtools/gcc/gcc/0007-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch
@@ -1,4 +1,4 @@
1From aacfd6e14dd583b1fdc65691def61c5e1bc89708 Mon Sep 17 00:00:00 2001 1From d9513f8c3fa3f228358fd4d0716941e84bda413e Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 29 Mar 2013 09:24:50 +0400 3Date: Fri, 29 Mar 2013 09:24:50 +0400
4Subject: [PATCH] Define GLIBC_DYNAMIC_LINKER and UCLIBC_DYNAMIC_LINKER 4Subject: [PATCH] Define GLIBC_DYNAMIC_LINKER and UCLIBC_DYNAMIC_LINKER
@@ -25,7 +25,6 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
25 gcc/config/loongarch/gnu-user.h | 4 ++-- 25 gcc/config/loongarch/gnu-user.h | 4 ++--
26 gcc/config/microblaze/linux.h | 4 ++-- 26 gcc/config/microblaze/linux.h | 4 ++--
27 gcc/config/mips/linux.h | 18 +++++++++--------- 27 gcc/config/mips/linux.h | 18 +++++++++---------
28 gcc/config/nios2/linux.h | 4 ++--
29 gcc/config/riscv/linux.h | 4 ++-- 28 gcc/config/riscv/linux.h | 4 ++--
30 gcc/config/rs6000/linux64.h | 15 +++++---------- 29 gcc/config/rs6000/linux64.h | 15 +++++----------
31 gcc/config/rs6000/sysv4.h | 4 ++-- 30 gcc/config/rs6000/sysv4.h | 4 ++--
@@ -33,10 +32,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
33 gcc/config/sh/linux.h | 4 ++-- 32 gcc/config/sh/linux.h | 4 ++--
34 gcc/config/sparc/linux.h | 2 +- 33 gcc/config/sparc/linux.h | 2 +-
35 gcc/config/sparc/linux64.h | 4 ++-- 34 gcc/config/sparc/linux64.h | 4 ++--
36 18 files changed, 53 insertions(+), 58 deletions(-) 35 17 files changed, 51 insertions(+), 56 deletions(-)
37 36
38diff --git a/gcc/config/aarch64/aarch64-linux.h b/gcc/config/aarch64/aarch64-linux.h 37diff --git a/gcc/config/aarch64/aarch64-linux.h b/gcc/config/aarch64/aarch64-linux.h
39index 4277f03da2a..e4c92c03291 100644 38index 116bb4e69f3..c0de4900dc2 100644
40--- a/gcc/config/aarch64/aarch64-linux.h 39--- a/gcc/config/aarch64/aarch64-linux.h
41+++ b/gcc/config/aarch64/aarch64-linux.h 40+++ b/gcc/config/aarch64/aarch64-linux.h
42@@ -21,10 +21,10 @@ 41@@ -21,10 +21,10 @@
@@ -53,7 +52,7 @@ index 4277f03da2a..e4c92c03291 100644
53 #undef ASAN_CC1_SPEC 52 #undef ASAN_CC1_SPEC
54 #define ASAN_CC1_SPEC "%{%:sanitize(address):-funwind-tables}" 53 #define ASAN_CC1_SPEC "%{%:sanitize(address):-funwind-tables}"
55diff --git a/gcc/config/alpha/linux-elf.h b/gcc/config/alpha/linux-elf.h 54diff --git a/gcc/config/alpha/linux-elf.h b/gcc/config/alpha/linux-elf.h
56index 03f783f2ad1..4fa02668aa7 100644 55index 3fd3b831166..6471fa32b0b 100644
57--- a/gcc/config/alpha/linux-elf.h 56--- a/gcc/config/alpha/linux-elf.h
58+++ b/gcc/config/alpha/linux-elf.h 57+++ b/gcc/config/alpha/linux-elf.h
59@@ -23,8 +23,8 @@ along with GCC; see the file COPYING3. If not see 58@@ -23,8 +23,8 @@ along with GCC; see the file COPYING3. If not see
@@ -68,10 +67,10 @@ index 03f783f2ad1..4fa02668aa7 100644
68 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:" G ";:" U "}" 67 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:" G ";:" U "}"
69 #elif DEFAULT_LIBC == LIBC_GLIBC 68 #elif DEFAULT_LIBC == LIBC_GLIBC
70diff --git a/gcc/config/arm/linux-eabi.h b/gcc/config/arm/linux-eabi.h 69diff --git a/gcc/config/arm/linux-eabi.h b/gcc/config/arm/linux-eabi.h
71index a119875599d..dce7f59eeea 100644 70index 8ef5643b5d6..76893197773 100644
72--- a/gcc/config/arm/linux-eabi.h 71--- a/gcc/config/arm/linux-eabi.h
73+++ b/gcc/config/arm/linux-eabi.h 72+++ b/gcc/config/arm/linux-eabi.h
74@@ -62,8 +62,8 @@ 73@@ -65,8 +65,8 @@
75 GLIBC_DYNAMIC_LINKER_DEFAULT and TARGET_DEFAULT_FLOAT_ABI. */ 74 GLIBC_DYNAMIC_LINKER_DEFAULT and TARGET_DEFAULT_FLOAT_ABI. */
76 75
77 #undef GLIBC_DYNAMIC_LINKER 76 #undef GLIBC_DYNAMIC_LINKER
@@ -82,7 +81,7 @@ index a119875599d..dce7f59eeea 100644
82 #define GLIBC_DYNAMIC_LINKER_DEFAULT GLIBC_DYNAMIC_LINKER_SOFT_FLOAT 81 #define GLIBC_DYNAMIC_LINKER_DEFAULT GLIBC_DYNAMIC_LINKER_SOFT_FLOAT
83 82
84 #define GLIBC_DYNAMIC_LINKER \ 83 #define GLIBC_DYNAMIC_LINKER \
85@@ -86,7 +86,7 @@ 84@@ -89,7 +89,7 @@
86 #define MUSL_DYNAMIC_LINKER_E "%{mbig-endian:eb}" 85 #define MUSL_DYNAMIC_LINKER_E "%{mbig-endian:eb}"
87 #endif 86 #endif
88 #define MUSL_DYNAMIC_LINKER \ 87 #define MUSL_DYNAMIC_LINKER \
@@ -92,7 +91,7 @@ index a119875599d..dce7f59eeea 100644
92 /* At this point, bpabi.h will have clobbered LINK_SPEC. We want to 91 /* At this point, bpabi.h will have clobbered LINK_SPEC. We want to
93 use the GNU/Linux version, not the generic BPABI version. */ 92 use the GNU/Linux version, not the generic BPABI version. */
94diff --git a/gcc/config/arm/linux-elf.h b/gcc/config/arm/linux-elf.h 93diff --git a/gcc/config/arm/linux-elf.h b/gcc/config/arm/linux-elf.h
95index 7b7b7cbbe14..98ef2267117 100644 94index d4d389e2aa8..6c4b1e13463 100644
96--- a/gcc/config/arm/linux-elf.h 95--- a/gcc/config/arm/linux-elf.h
97+++ b/gcc/config/arm/linux-elf.h 96+++ b/gcc/config/arm/linux-elf.h
98@@ -60,7 +60,7 @@ 97@@ -60,7 +60,7 @@
@@ -105,7 +104,7 @@ index 7b7b7cbbe14..98ef2267117 100644
105 #define LINUX_TARGET_LINK_SPEC "%{h*} \ 104 #define LINUX_TARGET_LINK_SPEC "%{h*} \
106 %{static:-Bstatic} \ 105 %{static:-Bstatic} \
107diff --git a/gcc/config/i386/linux.h b/gcc/config/i386/linux.h 106diff --git a/gcc/config/i386/linux.h b/gcc/config/i386/linux.h
108index bbb7cc7115e..7d9272040ee 100644 107index efbd978c610..9ea0261b0fc 100644
109--- a/gcc/config/i386/linux.h 108--- a/gcc/config/i386/linux.h
110+++ b/gcc/config/i386/linux.h 109+++ b/gcc/config/i386/linux.h
111@@ -20,7 +20,7 @@ along with GCC; see the file COPYING3. If not see 110@@ -20,7 +20,7 @@ along with GCC; see the file COPYING3. If not see
@@ -119,7 +118,7 @@ index bbb7cc7115e..7d9272040ee 100644
119-#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-i386.so.1" 118-#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-i386.so.1"
120+#define MUSL_DYNAMIC_LINKER SYSTEMLIBS_DIR "ld-musl-i386.so.1" 119+#define MUSL_DYNAMIC_LINKER SYSTEMLIBS_DIR "ld-musl-i386.so.1"
121diff --git a/gcc/config/i386/linux64.h b/gcc/config/i386/linux64.h 120diff --git a/gcc/config/i386/linux64.h b/gcc/config/i386/linux64.h
122index 2bd9f48e271..dbbe7ca5440 100644 121index 24170ee2845..733e3e4945a 100644
123--- a/gcc/config/i386/linux64.h 122--- a/gcc/config/i386/linux64.h
124+++ b/gcc/config/i386/linux64.h 123+++ b/gcc/config/i386/linux64.h
125@@ -27,13 +27,13 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see 124@@ -27,13 +27,13 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
@@ -143,7 +142,7 @@ index 2bd9f48e271..dbbe7ca5440 100644
143-#define MUSL_DYNAMIC_LINKERX32 "/lib/ld-musl-x32.so.1" 142-#define MUSL_DYNAMIC_LINKERX32 "/lib/ld-musl-x32.so.1"
144+#define MUSL_DYNAMIC_LINKERX32 SYSTEMLIBS_DIR "ld-musl-x32.so.1" 143+#define MUSL_DYNAMIC_LINKERX32 SYSTEMLIBS_DIR "ld-musl-x32.so.1"
145diff --git a/gcc/config/linux.h b/gcc/config/linux.h 144diff --git a/gcc/config/linux.h b/gcc/config/linux.h
146index e3aca79cccc..6491c6b84f5 100644 145index d6280a4d4dd..c79d4902f85 100644
147--- a/gcc/config/linux.h 146--- a/gcc/config/linux.h
148+++ b/gcc/config/linux.h 147+++ b/gcc/config/linux.h
149@@ -86,10 +86,10 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see 148@@ -86,10 +86,10 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
@@ -162,25 +161,29 @@ index e3aca79cccc..6491c6b84f5 100644
162 #define BIONIC_DYNAMIC_LINKER32 "/system/bin/linker" 161 #define BIONIC_DYNAMIC_LINKER32 "/system/bin/linker"
163 #define BIONIC_DYNAMIC_LINKER64 "/system/bin/linker64" 162 #define BIONIC_DYNAMIC_LINKER64 "/system/bin/linker64"
164diff --git a/gcc/config/loongarch/gnu-user.h b/gcc/config/loongarch/gnu-user.h 163diff --git a/gcc/config/loongarch/gnu-user.h b/gcc/config/loongarch/gnu-user.h
165index aecaa02a199..62f88f7f9a2 100644 164index fbc75a90ad5..38c239940bd 100644
166--- a/gcc/config/loongarch/gnu-user.h 165--- a/gcc/config/loongarch/gnu-user.h
167+++ b/gcc/config/loongarch/gnu-user.h 166+++ b/gcc/config/loongarch/gnu-user.h
168@@ -31,11 +31,11 @@ along with GCC; see the file COPYING3. If not see 167@@ -31,7 +31,7 @@ along with GCC; see the file COPYING3. If not see
169 168
170 #undef GLIBC_DYNAMIC_LINKER 169 #undef GLIBC_DYNAMIC_LINKER
171 #define GLIBC_DYNAMIC_LINKER \ 170 #define GLIBC_DYNAMIC_LINKER \
172- "/lib" ABI_GRLEN_SPEC "/ld-linux-loongarch-" ABI_SPEC ".so.1" 171- "/lib" ABI_GRLEN_SPEC "/ld-linux-loongarch-" ABI_SPEC ".so.1"
173+ SYSTEMLIBS_DIR "ld-linux-loongarch-" ABI_SPEC ".so.1" 172+ SYSTEMLIBS_DIR "ld-linux-loongarch-" ABI_SPEC ".so.1"
174 173
174 #define MUSL_ABI_SPEC \
175 "%{mabi=lp64d:}" \
176@@ -40,7 +40,7 @@ along with GCC; see the file COPYING3. If not see
177
175 #undef MUSL_DYNAMIC_LINKER 178 #undef MUSL_DYNAMIC_LINKER
176 #define MUSL_DYNAMIC_LINKER \ 179 #define MUSL_DYNAMIC_LINKER \
177- "/lib" ABI_GRLEN_SPEC "/ld-musl-loongarch-" ABI_SPEC ".so.1" 180- "/lib/ld-musl-loongarch" ABI_GRLEN_SPEC MUSL_ABI_SPEC ".so.1"
178+ SYSTEMLIBS_DIR "ld-musl-loongarch-" ABI_SPEC ".so.1" 181+ SYSTEMLIBS_DIR "ld-musl-loongarch" ABI_GRLEN_SPEC MUSL_ABI_SPEC ".so.1"
179 182
180 #undef GNU_USER_TARGET_LINK_SPEC 183 #undef GNU_USER_TARGET_LINK_SPEC
181 #define GNU_USER_TARGET_LINK_SPEC \ 184 #define GNU_USER_TARGET_LINK_SPEC \
182diff --git a/gcc/config/microblaze/linux.h b/gcc/config/microblaze/linux.h 185diff --git a/gcc/config/microblaze/linux.h b/gcc/config/microblaze/linux.h
183index e2e2c421c52..6f26480e3b5 100644 186index 7b09cde7693..8bfafaf87f7 100644
184--- a/gcc/config/microblaze/linux.h 187--- a/gcc/config/microblaze/linux.h
185+++ b/gcc/config/microblaze/linux.h 188+++ b/gcc/config/microblaze/linux.h
186@@ -28,7 +28,7 @@ 189@@ -28,7 +28,7 @@
@@ -188,7 +191,7 @@ index e2e2c421c52..6f26480e3b5 100644
188 #define TLS_NEEDS_GOT 1 191 #define TLS_NEEDS_GOT 1
189 192
190-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" 193-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
191+#define GLIBC_DYNAMIC_LINKER SYSTEMLIBS_DIR "/ld.so.1" 194+#define GLIBC_DYNAMIC_LINKER SYSTEMLIBS_DIR "ld.so.1"
192 #define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0" 195 #define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0"
193 196
194 #if TARGET_BIG_ENDIAN_DEFAULT == 0 /* LE */ 197 #if TARGET_BIG_ENDIAN_DEFAULT == 0 /* LE */
@@ -202,7 +205,7 @@ index e2e2c421c52..6f26480e3b5 100644
202 #undef SUBTARGET_EXTRA_SPECS 205 #undef SUBTARGET_EXTRA_SPECS
203 #define SUBTARGET_EXTRA_SPECS \ 206 #define SUBTARGET_EXTRA_SPECS \
204diff --git a/gcc/config/mips/linux.h b/gcc/config/mips/linux.h 207diff --git a/gcc/config/mips/linux.h b/gcc/config/mips/linux.h
205index 5add34ea134..34692b433b8 100644 208index ae15d490108..0281650009d 100644
206--- a/gcc/config/mips/linux.h 209--- a/gcc/config/mips/linux.h
207+++ b/gcc/config/mips/linux.h 210+++ b/gcc/config/mips/linux.h
208@@ -22,29 +22,29 @@ along with GCC; see the file COPYING3. If not see 211@@ -22,29 +22,29 @@ along with GCC; see the file COPYING3. If not see
@@ -244,25 +247,8 @@ index 5add34ea134..34692b433b8 100644
244 247
245 #define BIONIC_DYNAMIC_LINKERN32 "/system/bin/linker32" 248 #define BIONIC_DYNAMIC_LINKERN32 "/system/bin/linker32"
246 #define GNU_USER_DYNAMIC_LINKERN32 \ 249 #define GNU_USER_DYNAMIC_LINKERN32 \
247diff --git a/gcc/config/nios2/linux.h b/gcc/config/nios2/linux.h
248index 2ce097ebbce..1d45d7b4962 100644
249--- a/gcc/config/nios2/linux.h
250+++ b/gcc/config/nios2/linux.h
251@@ -29,10 +29,10 @@
252 #undef CPP_SPEC
253 #define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}"
254
255-#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-nios2.so.1"
256+#define GLIBC_DYNAMIC_LINKER SYSTEMLIBS_DIR "ld-linux-nios2.so.1"
257
258 #undef MUSL_DYNAMIC_LINKER
259-#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-nios2.so.1"
260+#define MUSL_DYNAMIC_LINKER SYSTEMLIBS_DIR "ld-musl-nios2.so.1"
261
262 #undef LINK_SPEC
263 #define LINK_SPEC LINK_SPEC_ENDIAN \
264diff --git a/gcc/config/riscv/linux.h b/gcc/config/riscv/linux.h 250diff --git a/gcc/config/riscv/linux.h b/gcc/config/riscv/linux.h
265index 3e625e0f867..dc3afc97e27 100644 251index 9060c940a44..c7712db194a 100644
266--- a/gcc/config/riscv/linux.h 252--- a/gcc/config/riscv/linux.h
267+++ b/gcc/config/riscv/linux.h 253+++ b/gcc/config/riscv/linux.h
268@@ -22,7 +22,7 @@ along with GCC; see the file COPYING3. If not see 254@@ -22,7 +22,7 @@ along with GCC; see the file COPYING3. If not see
@@ -284,10 +270,10 @@ index 3e625e0f867..dc3afc97e27 100644
284 #define ICACHE_FLUSH_FUNC "__riscv_flush_icache" 270 #define ICACHE_FLUSH_FUNC "__riscv_flush_icache"
285 271
286diff --git a/gcc/config/rs6000/linux64.h b/gcc/config/rs6000/linux64.h 272diff --git a/gcc/config/rs6000/linux64.h b/gcc/config/rs6000/linux64.h
287index 9e457033d11..2ddab7c99c1 100644 273index 0316d8cb65d..8de5eb8bb49 100644
288--- a/gcc/config/rs6000/linux64.h 274--- a/gcc/config/rs6000/linux64.h
289+++ b/gcc/config/rs6000/linux64.h 275+++ b/gcc/config/rs6000/linux64.h
290@@ -339,24 +339,19 @@ extern int dot_symbols; 276@@ -340,24 +340,19 @@ extern int dot_symbols;
291 #undef LINK_OS_DEFAULT_SPEC 277 #undef LINK_OS_DEFAULT_SPEC
292 #define LINK_OS_DEFAULT_SPEC "%(link_os_linux)" 278 #define LINK_OS_DEFAULT_SPEC "%(link_os_linux)"
293 279
@@ -318,10 +304,10 @@ index 9e457033d11..2ddab7c99c1 100644
318 #undef DEFAULT_ASM_ENDIAN 304 #undef DEFAULT_ASM_ENDIAN
319 #if (TARGET_DEFAULT & MASK_LITTLE_ENDIAN) 305 #if (TARGET_DEFAULT & MASK_LITTLE_ENDIAN)
320diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h 306diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h
321index ae932fc22f0..26db003cb3a 100644 307index afb5c6ad867..3eb6c814ced 100644
322--- a/gcc/config/rs6000/sysv4.h 308--- a/gcc/config/rs6000/sysv4.h
323+++ b/gcc/config/rs6000/sysv4.h 309+++ b/gcc/config/rs6000/sysv4.h
324@@ -771,10 +771,10 @@ GNU_USER_TARGET_CC1_SPEC 310@@ -772,10 +772,10 @@ GNU_USER_TARGET_CC1_SPEC
325 311
326 #define MUSL_DYNAMIC_LINKER_E ENDIAN_SELECT("","le","") 312 #define MUSL_DYNAMIC_LINKER_E ENDIAN_SELECT("","le","")
327 313
@@ -335,7 +321,7 @@ index ae932fc22f0..26db003cb3a 100644
335 #ifndef GNU_USER_DYNAMIC_LINKER 321 #ifndef GNU_USER_DYNAMIC_LINKER
336 #define GNU_USER_DYNAMIC_LINKER GLIBC_DYNAMIC_LINKER 322 #define GNU_USER_DYNAMIC_LINKER GLIBC_DYNAMIC_LINKER
337diff --git a/gcc/config/s390/linux.h b/gcc/config/s390/linux.h 323diff --git a/gcc/config/s390/linux.h b/gcc/config/s390/linux.h
338index 02aa1edaff8..fab268d61f4 100644 324index 2c3bca5dfcb..1332624abad 100644
339--- a/gcc/config/s390/linux.h 325--- a/gcc/config/s390/linux.h
340+++ b/gcc/config/s390/linux.h 326+++ b/gcc/config/s390/linux.h
341@@ -72,13 +72,13 @@ along with GCC; see the file COPYING3. If not see 327@@ -72,13 +72,13 @@ along with GCC; see the file COPYING3. If not see
@@ -357,7 +343,7 @@ index 02aa1edaff8..fab268d61f4 100644
357 #undef LINK_SPEC 343 #undef LINK_SPEC
358 #define LINK_SPEC \ 344 #define LINK_SPEC \
359diff --git a/gcc/config/sh/linux.h b/gcc/config/sh/linux.h 345diff --git a/gcc/config/sh/linux.h b/gcc/config/sh/linux.h
360index 29f5902b98b..83d1e53e6e2 100644 346index 78a7905a919..28493851982 100644
361--- a/gcc/config/sh/linux.h 347--- a/gcc/config/sh/linux.h
362+++ b/gcc/config/sh/linux.h 348+++ b/gcc/config/sh/linux.h
363@@ -61,10 +61,10 @@ along with GCC; see the file COPYING3. If not see 349@@ -61,10 +61,10 @@ along with GCC; see the file COPYING3. If not see
@@ -374,7 +360,7 @@ index 29f5902b98b..83d1e53e6e2 100644
374 #undef SUBTARGET_LINK_EMUL_SUFFIX 360 #undef SUBTARGET_LINK_EMUL_SUFFIX
375 #define SUBTARGET_LINK_EMUL_SUFFIX "%{mfdpic:_fd;:_linux}" 361 #define SUBTARGET_LINK_EMUL_SUFFIX "%{mfdpic:_fd;:_linux}"
376diff --git a/gcc/config/sparc/linux.h b/gcc/config/sparc/linux.h 362diff --git a/gcc/config/sparc/linux.h b/gcc/config/sparc/linux.h
377index 0e33b3cac2c..84f29adbb35 100644 363index 6d928846895..cd35dc8fa30 100644
378--- a/gcc/config/sparc/linux.h 364--- a/gcc/config/sparc/linux.h
379+++ b/gcc/config/sparc/linux.h 365+++ b/gcc/config/sparc/linux.h
380@@ -78,7 +78,7 @@ extern const char *host_detect_local_cpu (int argc, const char **argv); 366@@ -78,7 +78,7 @@ extern const char *host_detect_local_cpu (int argc, const char **argv);
@@ -387,7 +373,7 @@ index 0e33b3cac2c..84f29adbb35 100644
387 #undef LINK_SPEC 373 #undef LINK_SPEC
388 #define LINK_SPEC "-m elf32_sparc %{shared:-shared} \ 374 #define LINK_SPEC "-m elf32_sparc %{shared:-shared} \
389diff --git a/gcc/config/sparc/linux64.h b/gcc/config/sparc/linux64.h 375diff --git a/gcc/config/sparc/linux64.h b/gcc/config/sparc/linux64.h
390index f1cc0a19e49..94bc2032803 100644 376index 97d5012f43f..65162c7c300 100644
391--- a/gcc/config/sparc/linux64.h 377--- a/gcc/config/sparc/linux64.h
392+++ b/gcc/config/sparc/linux64.h 378+++ b/gcc/config/sparc/linux64.h
393@@ -78,8 +78,8 @@ along with GCC; see the file COPYING3. If not see 379@@ -78,8 +78,8 @@ along with GCC; see the file COPYING3. If not see
diff --git a/meta/recipes-devtools/gcc/gcc/0008-libtool.patch b/meta/recipes-devtools/gcc/gcc/0008-libtool.patch
index 5b44dc809e..f24bb2acf0 100644
--- a/meta/recipes-devtools/gcc/gcc/0008-libtool.patch
+++ b/meta/recipes-devtools/gcc/gcc/0008-libtool.patch
@@ -1,4 +1,4 @@
1From 7608e93ab97e8c33e3b14323d0cabc651926e403 Mon Sep 17 00:00:00 2001 1From 7108016f82a3ce9d275b5d0f37dbde422de6ab15 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 29 Mar 2013 09:29:11 +0400 3Date: Fri, 29 Mar 2013 09:29:11 +0400
4Subject: [PATCH] libtool 4Subject: [PATCH] libtool
@@ -22,10 +22,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
22 1 file changed, 4 insertions(+) 22 1 file changed, 4 insertions(+)
23 23
24diff --git a/ltmain.sh b/ltmain.sh 24diff --git a/ltmain.sh b/ltmain.sh
25index 70990740b6c..ee938056bef 100644 25index 1a710177fb2..e8474602b0b 100644
26--- a/ltmain.sh 26--- a/ltmain.sh
27+++ b/ltmain.sh 27+++ b/ltmain.sh
28@@ -6359,6 +6359,10 @@ func_mode_link () 28@@ -6381,6 +6381,10 @@ func_mode_link ()
29 func_warning "ignoring multiple \`-rpath's for a libtool library" 29 func_warning "ignoring multiple \`-rpath's for a libtool library"
30 30
31 install_libdir="$1" 31 install_libdir="$1"
diff --git a/meta/recipes-devtools/gcc/gcc/0009-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch b/meta/recipes-devtools/gcc/gcc/0009-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch
index 86542bd146..215a599cb8 100644
--- a/meta/recipes-devtools/gcc/gcc/0009-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch
+++ b/meta/recipes-devtools/gcc/gcc/0009-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch
@@ -1,4 +1,4 @@
1From 4b0efc18e0d91967a3db11d9ef0595a5a76ad67a Mon Sep 17 00:00:00 2001 1From 135523bfabbd37cc6326da1a7ec3cd8bc7387439 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 29 Mar 2013 09:30:32 +0400 3Date: Fri, 29 Mar 2013 09:30:32 +0400
4Subject: [PATCH] gcc: armv4: pass fix-v4bx to linker to support EABI. 4Subject: [PATCH] gcc: armv4: pass fix-v4bx to linker to support EABI.
@@ -18,10 +18,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
18 1 file changed, 5 insertions(+), 1 deletion(-) 18 1 file changed, 5 insertions(+), 1 deletion(-)
19 19
20diff --git a/gcc/config/arm/linux-eabi.h b/gcc/config/arm/linux-eabi.h 20diff --git a/gcc/config/arm/linux-eabi.h b/gcc/config/arm/linux-eabi.h
21index dce7f59eeea..27402c629c6 100644 21index 76893197773..12c334463c6 100644
22--- a/gcc/config/arm/linux-eabi.h 22--- a/gcc/config/arm/linux-eabi.h
23+++ b/gcc/config/arm/linux-eabi.h 23+++ b/gcc/config/arm/linux-eabi.h
24@@ -88,10 +88,14 @@ 24@@ -91,10 +91,14 @@
25 #define MUSL_DYNAMIC_LINKER \ 25 #define MUSL_DYNAMIC_LINKER \
26 SYSTEMLIBS_DIR "ld-musl-arm" MUSL_DYNAMIC_LINKER_E "%{mfloat-abi=hard:hf}%{mfdpic:-fdpic}.so.1" 26 SYSTEMLIBS_DIR "ld-musl-arm" MUSL_DYNAMIC_LINKER_E "%{mfloat-abi=hard:hf}%{mfdpic:-fdpic}.so.1"
27 27
diff --git a/meta/recipes-devtools/gcc/gcc/0010-Use-the-multilib-config-files-from-B-instead-of-usin.patch b/meta/recipes-devtools/gcc/gcc/0010-Use-the-multilib-config-files-from-B-instead-of-usin.patch
index bc3943087c..c3c4212115 100644
--- a/meta/recipes-devtools/gcc/gcc/0010-Use-the-multilib-config-files-from-B-instead-of-usin.patch
+++ b/meta/recipes-devtools/gcc/gcc/0010-Use-the-multilib-config-files-from-B-instead-of-usin.patch
@@ -1,4 +1,4 @@
1From b015460586e2ea8a35a11d1a607728707bdf6509 Mon Sep 17 00:00:00 2001 1From 2ede6edb029ef3d98f3ead90f7be54b71cb42ae2 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 29 Mar 2013 09:33:04 +0400 3Date: Fri, 29 Mar 2013 09:33:04 +0400
4Subject: [PATCH] Use the multilib config files from ${B} instead of using the 4Subject: [PATCH] Use the multilib config files from ${B} instead of using the
@@ -18,10 +18,10 @@ Upstream-Status: Inappropriate [configuration]
18 2 files changed, 36 insertions(+), 8 deletions(-) 18 2 files changed, 36 insertions(+), 8 deletions(-)
19 19
20diff --git a/gcc/configure b/gcc/configure 20diff --git a/gcc/configure b/gcc/configure
21index cf773a8b854..448a1ec093e 100755 21index a2a8761055c..a5a028f39c3 100755
22--- a/gcc/configure 22--- a/gcc/configure
23+++ b/gcc/configure 23+++ b/gcc/configure
24@@ -13487,10 +13487,20 @@ done 24@@ -15086,10 +15086,20 @@ done
25 tmake_file_= 25 tmake_file_=
26 for f in ${tmake_file} 26 for f in ${tmake_file}
27 do 27 do
@@ -46,7 +46,7 @@ index cf773a8b854..448a1ec093e 100755
46 done 46 done
47 tmake_file="${tmake_file_}${omp_device_property_tmake_file}" 47 tmake_file="${tmake_file_}${omp_device_property_tmake_file}"
48 48
49@@ -13501,6 +13511,10 @@ tm_file_list="options.h" 49@@ -15100,6 +15110,10 @@ tm_file_list="options.h"
50 tm_include_list="options.h insn-constants.h" 50 tm_include_list="options.h insn-constants.h"
51 for f in $tm_file; do 51 for f in $tm_file; do
52 case $f in 52 case $f in
@@ -58,10 +58,10 @@ index cf773a8b854..448a1ec093e 100755
58 f=`echo $f | sed 's/^..//'` 58 f=`echo $f | sed 's/^..//'`
59 tm_file_list="${tm_file_list} $f" 59 tm_file_list="${tm_file_list} $f"
60diff --git a/gcc/configure.ac b/gcc/configure.ac 60diff --git a/gcc/configure.ac b/gcc/configure.ac
61index 22591478b72..b6e7f5149a7 100644 61index 58ad9dc01fe..36ed7153398 100644
62--- a/gcc/configure.ac 62--- a/gcc/configure.ac
63+++ b/gcc/configure.ac 63+++ b/gcc/configure.ac
64@@ -2337,10 +2337,20 @@ done 64@@ -2406,10 +2406,20 @@ done
65 tmake_file_= 65 tmake_file_=
66 for f in ${tmake_file} 66 for f in ${tmake_file}
67 do 67 do
@@ -86,7 +86,7 @@ index 22591478b72..b6e7f5149a7 100644
86 done 86 done
87 tmake_file="${tmake_file_}${omp_device_property_tmake_file}" 87 tmake_file="${tmake_file_}${omp_device_property_tmake_file}"
88 88
89@@ -2351,6 +2361,10 @@ tm_file_list="options.h" 89@@ -2420,6 +2430,10 @@ tm_file_list="options.h"
90 tm_include_list="options.h insn-constants.h" 90 tm_include_list="options.h insn-constants.h"
91 for f in $tm_file; do 91 for f in $tm_file; do
92 case $f in 92 case $f in
diff --git a/meta/recipes-devtools/gcc/gcc/0011-aarch64-Fix-include-paths-when-S-B.patch b/meta/recipes-devtools/gcc/gcc/0011-aarch64-Fix-include-paths-when-S-B.patch
index 974aca5ee4..9e05277515 100644
--- a/meta/recipes-devtools/gcc/gcc/0011-aarch64-Fix-include-paths-when-S-B.patch
+++ b/meta/recipes-devtools/gcc/gcc/0011-aarch64-Fix-include-paths-when-S-B.patch
@@ -1,4 +1,4 @@
1From b7ce05b2d969b311c6061bda32c3117c76bf7e0c Mon Sep 17 00:00:00 2001 1From a60798dd091f46dbb5f2fa9cf7655b41e9431a73 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 31 Jan 2023 22:03:38 -0800 3Date: Tue, 31 Jan 2023 22:03:38 -0800
4Subject: [PATCH] aarch64: Fix include paths when S != B 4Subject: [PATCH] aarch64: Fix include paths when S != B
@@ -24,32 +24,44 @@ Upstream-Status: Pending
24 24
25Signed-off-by: Khem Raj <raj.khem@gmail.com> 25Signed-off-by: Khem Raj <raj.khem@gmail.com>
26--- 26---
27 gcc/config/aarch64/aarch64.h | 8 ++++---- 27 gcc/config/aarch64/aarch64.h | 14 +++++++-------
28 1 file changed, 4 insertions(+), 4 deletions(-) 28 1 file changed, 7 insertions(+), 7 deletions(-)
29 29
30diff --git a/gcc/config/aarch64/aarch64.h b/gcc/config/aarch64/aarch64.h 30diff --git a/gcc/config/aarch64/aarch64.h b/gcc/config/aarch64/aarch64.h
31index 73b09e20508..10ea3672f20 100644 31index e8bd8c73c12..6ea05b64601 100644
32--- a/gcc/config/aarch64/aarch64.h 32--- a/gcc/config/aarch64/aarch64.h
33+++ b/gcc/config/aarch64/aarch64.h 33+++ b/gcc/config/aarch64/aarch64.h
34@@ -161,8 +161,8 @@ 34@@ -163,9 +163,9 @@ enum class aarch64_feature : unsigned char {
35 enum class aarch64_feature : unsigned char { 35 #define DEF_AARCH64_ISA_MODE(IDENT) IDENT,
36 #define AARCH64_OPT_EXTENSION(A, IDENT, C, D, E, F) IDENT, 36 #define AARCH64_OPT_EXTENSION(A, IDENT, C, D, E, F) IDENT,
37 #define AARCH64_ARCH(A, B, IDENT, D, E) IDENT, 37 #define AARCH64_ARCH(A, B, IDENT, D, E) IDENT,
38-#include "aarch64-isa-modes.def"
38-#include "aarch64-option-extensions.def" 39-#include "aarch64-option-extensions.def"
39-#include "aarch64-arches.def" 40-#include "aarch64-arches.def"
41+#include "config/aarch64/aarch64-isa-modes.def"
40+#include "config/aarch64/aarch64-option-extensions.def" 42+#include "config/aarch64/aarch64-option-extensions.def"
41+#include "config/aarch64/aarch64-arches.def" 43+#include "config/aarch64/aarch64-arches.def"
42 }; 44 };
43 45
44 /* Define unique flags for each of the above. */ 46 /* Define unique flags for each of the above. */
45@@ -171,8 +171,8 @@ enum class aarch64_feature : unsigned char { 47@@ -175,16 +175,16 @@ enum class aarch64_feature : unsigned char {
46 = aarch64_feature_flags (1) << int (aarch64_feature::IDENT); 48 #define DEF_AARCH64_ISA_MODE(IDENT) HANDLE (IDENT)
47 #define AARCH64_OPT_EXTENSION(A, IDENT, C, D, E, F) HANDLE (IDENT) 49 #define AARCH64_OPT_EXTENSION(A, IDENT, C, D, E, F) HANDLE (IDENT)
48 #define AARCH64_ARCH(A, B, IDENT, D, E) HANDLE (IDENT) 50 #define AARCH64_ARCH(A, B, IDENT, D, E) HANDLE (IDENT)
51-#include "aarch64-isa-modes.def"
49-#include "aarch64-option-extensions.def" 52-#include "aarch64-option-extensions.def"
50-#include "aarch64-arches.def" 53-#include "aarch64-arches.def"
54+#include "config/aarch64/aarch64-isa-modes.def"
51+#include "config/aarch64/aarch64-option-extensions.def" 55+#include "config/aarch64/aarch64-option-extensions.def"
52+#include "config/aarch64/aarch64-arches.def" 56+#include "config/aarch64/aarch64-arches.def"
53 #undef HANDLE 57 #undef HANDLE
54 58
55 #endif 59 /* Define aarch64_isa_mode masks. */
60 #define DEF_AARCH64_ISA_MODE(IDENT) \
61 constexpr auto AARCH64_ISA_MODE_##IDENT ATTRIBUTE_UNUSED \
62 = aarch64_isa_mode (1) << int (aarch64_feature::IDENT);
63-#include "aarch64-isa-modes.def"
64+#include "config/aarch64/aarch64-isa-modes.def"
65 #undef HANDLE
66
67 constexpr auto AARCH64_FL_SM_STATE ATTRIBUTE_UNUSED
diff --git a/meta/recipes-devtools/gcc/gcc/0012-Avoid-using-libdir-from-.la-which-usually-points-to-.patch b/meta/recipes-devtools/gcc/gcc/0012-Avoid-using-libdir-from-.la-which-usually-points-to-.patch
index cf5efcd32d..8d0c39f9ce 100644
--- a/meta/recipes-devtools/gcc/gcc/0012-Avoid-using-libdir-from-.la-which-usually-points-to-.patch
+++ b/meta/recipes-devtools/gcc/gcc/0012-Avoid-using-libdir-from-.la-which-usually-points-to-.patch
@@ -1,4 +1,4 @@
1From 39ab6fe76f2788b2c989d29c9016f1fe53cb736e Mon Sep 17 00:00:00 2001 1From 3745be5dece41bc2c633e1702980965e28888f62 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 20 Feb 2015 09:39:38 +0000 3Date: Fri, 20 Feb 2015 09:39:38 +0000
4Subject: [PATCH] Avoid using libdir from .la which usually points to a host 4Subject: [PATCH] Avoid using libdir from .la which usually points to a host
@@ -13,10 +13,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 1 file changed, 3 insertions(+) 13 1 file changed, 3 insertions(+)
14 14
15diff --git a/ltmain.sh b/ltmain.sh 15diff --git a/ltmain.sh b/ltmain.sh
16index ee938056bef..9ebc7e3d1e0 100644 16index e8474602b0b..ef93f977a52 100644
17--- a/ltmain.sh 17--- a/ltmain.sh
18+++ b/ltmain.sh 18+++ b/ltmain.sh
19@@ -5628,6 +5628,9 @@ func_mode_link () 19@@ -5650,6 +5650,9 @@ func_mode_link ()
20 absdir="$abs_ladir" 20 absdir="$abs_ladir"
21 libdir="$abs_ladir" 21 libdir="$abs_ladir"
22 else 22 else
diff --git a/meta/recipes-devtools/gcc/gcc/0013-Ensure-target-gcc-headers-can-be-included.patch b/meta/recipes-devtools/gcc/gcc/0013-Ensure-target-gcc-headers-can-be-included.patch
index e2343a3c17..906ef3f74b 100644
--- a/meta/recipes-devtools/gcc/gcc/0013-Ensure-target-gcc-headers-can-be-included.patch
+++ b/meta/recipes-devtools/gcc/gcc/0013-Ensure-target-gcc-headers-can-be-included.patch
@@ -1,4 +1,4 @@
1From 531b9df680c4380797e8e7705a8e7f8ed17ebe68 Mon Sep 17 00:00:00 2001 1From 860aae0d1f5dce7a879690d53a6ab54c6a32107e Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 20 Feb 2015 10:25:11 +0000 3Date: Fri, 20 Feb 2015 10:25:11 +0000
4Subject: [PATCH] Ensure target gcc headers can be included 4Subject: [PATCH] Ensure target gcc headers can be included
@@ -25,10 +25,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
25 4 files changed, 22 insertions(+) 25 4 files changed, 22 insertions(+)
26 26
27diff --git a/gcc/Makefile.in b/gcc/Makefile.in 27diff --git a/gcc/Makefile.in b/gcc/Makefile.in
28index 04f28984b34..8ef996c0f4d 100644 28index 5546e259a20..944d0a6680a 100644
29--- a/gcc/Makefile.in 29--- a/gcc/Makefile.in
30+++ b/gcc/Makefile.in 30+++ b/gcc/Makefile.in
31@@ -640,6 +640,7 @@ libexecdir = @libexecdir@ 31@@ -680,6 +680,7 @@ libexecdir = @libexecdir@
32 32
33 # Directory in which the compiler finds libraries etc. 33 # Directory in which the compiler finds libraries etc.
34 libsubdir = $(libdir)/gcc/$(real_target_noncanonical)/$(version)$(accel_dir_suffix) 34 libsubdir = $(libdir)/gcc/$(real_target_noncanonical)/$(version)$(accel_dir_suffix)
@@ -36,7 +36,7 @@ index 04f28984b34..8ef996c0f4d 100644
36 # Directory in which the compiler finds executables 36 # Directory in which the compiler finds executables
37 libexecsubdir = $(libexecdir)/gcc/$(real_target_noncanonical)/$(version)$(accel_dir_suffix) 37 libexecsubdir = $(libexecdir)/gcc/$(real_target_noncanonical)/$(version)$(accel_dir_suffix)
38 # Directory in which all plugin resources are installed 38 # Directory in which all plugin resources are installed
39@@ -3059,6 +3060,7 @@ CFLAGS-intl.o += -DLOCALEDIR=\"$(localedir)\" 39@@ -3397,6 +3398,7 @@ CFLAGS-intl.o += -DLOCALEDIR=\"$(localedir)\"
40 40
41 PREPROCESSOR_DEFINES = \ 41 PREPROCESSOR_DEFINES = \
42 -DGCC_INCLUDE_DIR=\"$(libsubdir)/include\" \ 42 -DGCC_INCLUDE_DIR=\"$(libsubdir)/include\" \
@@ -45,7 +45,7 @@ index 04f28984b34..8ef996c0f4d 100644
45 -DGPLUSPLUS_INCLUDE_DIR=\"$(gcc_gxx_include_dir)\" \ 45 -DGPLUSPLUS_INCLUDE_DIR=\"$(gcc_gxx_include_dir)\" \
46 -DGPLUSPLUS_INCLUDE_DIR_ADD_SYSROOT=$(gcc_gxx_include_dir_add_sysroot) \ 46 -DGPLUSPLUS_INCLUDE_DIR_ADD_SYSROOT=$(gcc_gxx_include_dir_add_sysroot) \
47diff --git a/gcc/config/linux.h b/gcc/config/linux.h 47diff --git a/gcc/config/linux.h b/gcc/config/linux.h
48index 6491c6b84f5..57496ff1f2f 100644 48index c79d4902f85..640def63c27 100644
49--- a/gcc/config/linux.h 49--- a/gcc/config/linux.h
50+++ b/gcc/config/linux.h 50+++ b/gcc/config/linux.h
51@@ -157,6 +157,13 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see 51@@ -157,6 +157,13 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
@@ -71,10 +71,10 @@ index 6491c6b84f5..57496ff1f2f 100644
71 { GCC_INCLUDE_DIR, "GCC", 0, 1, 0, 0 }, \ 71 { GCC_INCLUDE_DIR, "GCC", 0, 1, 0, 0 }, \
72 { 0, 0, 0, 0, 0, 0 } \ 72 { 0, 0, 0, 0, 0, 0 } \
73diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h 73diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h
74index 26db003cb3a..3a443abcf6b 100644 74index 3eb6c814ced..d534b9d2295 100644
75--- a/gcc/config/rs6000/sysv4.h 75--- a/gcc/config/rs6000/sysv4.h
76+++ b/gcc/config/rs6000/sysv4.h 76+++ b/gcc/config/rs6000/sysv4.h
77@@ -986,6 +986,13 @@ ncrtn.o%s" 77@@ -987,6 +987,13 @@ ncrtn.o%s"
78 #define INCLUDE_DEFAULTS_MUSL_TOOL 78 #define INCLUDE_DEFAULTS_MUSL_TOOL
79 #endif 79 #endif
80 80
@@ -88,7 +88,7 @@ index 26db003cb3a..3a443abcf6b 100644
88 #ifdef NATIVE_SYSTEM_HEADER_DIR 88 #ifdef NATIVE_SYSTEM_HEADER_DIR
89 #define INCLUDE_DEFAULTS_MUSL_NATIVE \ 89 #define INCLUDE_DEFAULTS_MUSL_NATIVE \
90 { NATIVE_SYSTEM_HEADER_DIR, 0, 0, 0, 1, 2 }, \ 90 { NATIVE_SYSTEM_HEADER_DIR, 0, 0, 0, 1, 2 }, \
91@@ -1012,6 +1019,7 @@ ncrtn.o%s" 91@@ -1013,6 +1020,7 @@ ncrtn.o%s"
92 INCLUDE_DEFAULTS_MUSL_PREFIX \ 92 INCLUDE_DEFAULTS_MUSL_PREFIX \
93 INCLUDE_DEFAULTS_MUSL_CROSS \ 93 INCLUDE_DEFAULTS_MUSL_CROSS \
94 INCLUDE_DEFAULTS_MUSL_TOOL \ 94 INCLUDE_DEFAULTS_MUSL_TOOL \
@@ -97,7 +97,7 @@ index 26db003cb3a..3a443abcf6b 100644
97 { GCC_INCLUDE_DIR, "GCC", 0, 1, 0, 0 }, \ 97 { GCC_INCLUDE_DIR, "GCC", 0, 1, 0, 0 }, \
98 { 0, 0, 0, 0, 0, 0 } \ 98 { 0, 0, 0, 0, 0, 0 } \
99diff --git a/gcc/cppdefault.cc b/gcc/cppdefault.cc 99diff --git a/gcc/cppdefault.cc b/gcc/cppdefault.cc
100index 141bb4d25f6..734590a7059 100644 100index f98c39c53ec..db1e517fadc 100644
101--- a/gcc/cppdefault.cc 101--- a/gcc/cppdefault.cc
102+++ b/gcc/cppdefault.cc 102+++ b/gcc/cppdefault.cc
103@@ -64,6 +64,10 @@ const struct default_include cpp_include_defaults[] 103@@ -64,6 +64,10 @@ const struct default_include cpp_include_defaults[]
diff --git a/meta/recipes-devtools/gcc/gcc/0014-Don-t-search-host-directory-during-relink-if-inst_pr.patch b/meta/recipes-devtools/gcc/gcc/0014-Don-t-search-host-directory-during-relink-if-inst_pr.patch
index 30224d7485..c7bf8d1c8e 100644
--- a/meta/recipes-devtools/gcc/gcc/0014-Don-t-search-host-directory-during-relink-if-inst_pr.patch
+++ b/meta/recipes-devtools/gcc/gcc/0014-Don-t-search-host-directory-during-relink-if-inst_pr.patch
@@ -1,4 +1,4 @@
1From 793201cebfeb129f6f263e64310b30a0ffa48895 Mon Sep 17 00:00:00 2001 1From f28f581fbafa76a48cc7e88ab9c6eb63db6342c4 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 3 Mar 2015 08:21:19 +0000 3Date: Tue, 3 Mar 2015 08:21:19 +0000
4Subject: [PATCH] Don't search host directory during "relink" if $inst_prefix 4Subject: [PATCH] Don't search host directory during "relink" if $inst_prefix
@@ -14,10 +14,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 1 file changed, 3 insertions(+), 2 deletions(-) 14 1 file changed, 3 insertions(+), 2 deletions(-)
15 15
16diff --git a/ltmain.sh b/ltmain.sh 16diff --git a/ltmain.sh b/ltmain.sh
17index 9ebc7e3d1e0..7ea79fa8be6 100644 17index ef93f977a52..2ae16bf5d63 100644
18--- a/ltmain.sh 18--- a/ltmain.sh
19+++ b/ltmain.sh 19+++ b/ltmain.sh
20@@ -6004,12 +6004,13 @@ func_mode_link () 20@@ -6026,12 +6026,13 @@ func_mode_link ()
21 fi 21 fi
22 else 22 else
23 # We cannot seem to hardcode it, guess we'll fake it. 23 # We cannot seem to hardcode it, guess we'll fake it.
diff --git a/meta/recipes-devtools/gcc/gcc/0015-libcc1-fix-libcc1-s-install-path-and-rpath.patch b/meta/recipes-devtools/gcc/gcc/0015-libcc1-fix-libcc1-s-install-path-and-rpath.patch
index 33c601ac97..9abf72b8e8 100644
--- a/meta/recipes-devtools/gcc/gcc/0015-libcc1-fix-libcc1-s-install-path-and-rpath.patch
+++ b/meta/recipes-devtools/gcc/gcc/0015-libcc1-fix-libcc1-s-install-path-and-rpath.patch
@@ -1,4 +1,4 @@
1From 5de63874335c1c673dd132f6aca00dc13f1eac51 Mon Sep 17 00:00:00 2001 1From b54d51c58012f9eac31cf83a8e02c7069bf80a74 Mon Sep 17 00:00:00 2001
2From: Robert Yang <liezhi.yang@windriver.com> 2From: Robert Yang <liezhi.yang@windriver.com>
3Date: Sun, 5 Jul 2015 20:25:18 -0700 3Date: Sun, 5 Jul 2015 20:25:18 -0700
4Subject: [PATCH] libcc1: fix libcc1's install path and rpath 4Subject: [PATCH] libcc1: fix libcc1's install path and rpath
@@ -20,7 +20,7 @@ Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
20 2 files changed, 4 insertions(+), 4 deletions(-) 20 2 files changed, 4 insertions(+), 4 deletions(-)
21 21
22diff --git a/libcc1/Makefile.am b/libcc1/Makefile.am 22diff --git a/libcc1/Makefile.am b/libcc1/Makefile.am
23index 921a33fe236..938e6f964cd 100644 23index f79e48a9aa2..bd8390946a2 100644
24--- a/libcc1/Makefile.am 24--- a/libcc1/Makefile.am
25+++ b/libcc1/Makefile.am 25+++ b/libcc1/Makefile.am
26@@ -40,8 +40,8 @@ libiberty = $(if $(wildcard $(libiberty_noasan)),$(Wc)$(libiberty_noasan), \ 26@@ -40,8 +40,8 @@ libiberty = $(if $(wildcard $(libiberty_noasan)),$(Wc)$(libiberty_noasan), \
@@ -35,7 +35,7 @@ index 921a33fe236..938e6f964cd 100644
35 if ENABLE_PLUGIN 35 if ENABLE_PLUGIN
36 plugin_LTLIBRARIES = libcc1plugin.la libcp1plugin.la 36 plugin_LTLIBRARIES = libcc1plugin.la libcp1plugin.la
37diff --git a/libcc1/Makefile.in b/libcc1/Makefile.in 37diff --git a/libcc1/Makefile.in b/libcc1/Makefile.in
38index f8f590d71e9..56462492045 100644 38index 9d56a8323b0..4deb08d8b34 100644
39--- a/libcc1/Makefile.in 39--- a/libcc1/Makefile.in
40+++ b/libcc1/Makefile.in 40+++ b/libcc1/Makefile.in
41@@ -396,8 +396,8 @@ libiberty = $(if $(wildcard $(libiberty_noasan)),$(Wc)$(libiberty_noasan), \ 41@@ -396,8 +396,8 @@ libiberty = $(if $(wildcard $(libiberty_noasan)),$(Wc)$(libiberty_noasan), \
diff --git a/meta/recipes-devtools/gcc/gcc/0016-handle-sysroot-support-for-nativesdk-gcc.patch b/meta/recipes-devtools/gcc/gcc/0016-handle-sysroot-support-for-nativesdk-gcc.patch
index bdffcae7dc..682317fee8 100644
--- a/meta/recipes-devtools/gcc/gcc/0016-handle-sysroot-support-for-nativesdk-gcc.patch
+++ b/meta/recipes-devtools/gcc/gcc/0016-handle-sysroot-support-for-nativesdk-gcc.patch
@@ -1,4 +1,4 @@
1From bbc75b93bff66891fa7ffb3af5c6ad53df1fff68 Mon Sep 17 00:00:00 2001 1From ccfe6d014e8cc04b0d3420f82dca8920fb659a07 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 7 Dec 2015 23:39:54 +0000 3Date: Mon, 7 Dec 2015 23:39:54 +0000
4Subject: [PATCH] handle sysroot support for nativesdk-gcc 4Subject: [PATCH] handle sysroot support for nativesdk-gcc
@@ -46,10 +46,10 @@ Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
46 8 files changed, 95 insertions(+), 73 deletions(-) 46 8 files changed, 95 insertions(+), 73 deletions(-)
47 47
48diff --git a/gcc/c-family/c-opts.cc b/gcc/c-family/c-opts.cc 48diff --git a/gcc/c-family/c-opts.cc b/gcc/c-family/c-opts.cc
49index c68a2a27469..77e9b5eceaa 100644 49index d43b3aef102..b157ad37483 100644
50--- a/gcc/c-family/c-opts.cc 50--- a/gcc/c-family/c-opts.cc
51+++ b/gcc/c-family/c-opts.cc 51+++ b/gcc/c-family/c-opts.cc
52@@ -1458,8 +1458,8 @@ add_prefixed_path (const char *suffix, incpath_kind chain) 52@@ -1610,8 +1610,8 @@ add_prefixed_path (const char *suffix, incpath_kind chain)
53 size_t prefix_len, suffix_len; 53 size_t prefix_len, suffix_len;
54 54
55 suffix_len = strlen (suffix); 55 suffix_len = strlen (suffix);
@@ -61,7 +61,7 @@ index c68a2a27469..77e9b5eceaa 100644
61 path = (char *) xmalloc (prefix_len + suffix_len + 1); 61 path = (char *) xmalloc (prefix_len + suffix_len + 1);
62 memcpy (path, prefix, prefix_len); 62 memcpy (path, prefix, prefix_len);
63diff --git a/gcc/config/linux.h b/gcc/config/linux.h 63diff --git a/gcc/config/linux.h b/gcc/config/linux.h
64index 57496ff1f2f..c921cf6ef63 100644 64index 640def63c27..0f937abe729 100644
65--- a/gcc/config/linux.h 65--- a/gcc/config/linux.h
66+++ b/gcc/config/linux.h 66+++ b/gcc/config/linux.h
67@@ -121,53 +121,53 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see 67@@ -121,53 +121,53 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
@@ -139,10 +139,10 @@ index 57496ff1f2f..c921cf6ef63 100644
139 } 139 }
140 #endif 140 #endif
141diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h 141diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h
142index 3a443abcf6b..ef83a5a432e 100644 142index d534b9d2295..c5257425705 100644
143--- a/gcc/config/rs6000/sysv4.h 143--- a/gcc/config/rs6000/sysv4.h
144+++ b/gcc/config/rs6000/sysv4.h 144+++ b/gcc/config/rs6000/sysv4.h
145@@ -950,53 +950,53 @@ ncrtn.o%s" 145@@ -951,53 +951,53 @@ ncrtn.o%s"
146 /* Include order changes for musl, same as in generic linux.h. */ 146 /* Include order changes for musl, same as in generic linux.h. */
147 #if DEFAULT_LIBC == LIBC_MUSL 147 #if DEFAULT_LIBC == LIBC_MUSL
148 #define INCLUDE_DEFAULTS_MUSL_GPP \ 148 #define INCLUDE_DEFAULTS_MUSL_GPP \
@@ -207,7 +207,7 @@ index 3a443abcf6b..ef83a5a432e 100644
207 #else 207 #else
208 #define INCLUDE_DEFAULTS_MUSL_NATIVE 208 #define INCLUDE_DEFAULTS_MUSL_NATIVE
209 #endif 209 #endif
210@@ -1021,7 +1021,7 @@ ncrtn.o%s" 210@@ -1022,7 +1022,7 @@ ncrtn.o%s"
211 INCLUDE_DEFAULTS_MUSL_TOOL \ 211 INCLUDE_DEFAULTS_MUSL_TOOL \
212 INCLUDE_DEFAULTS_MUSL_SUBDIR_TARGET \ 212 INCLUDE_DEFAULTS_MUSL_SUBDIR_TARGET \
213 INCLUDE_DEFAULTS_MUSL_NATIVE \ 213 INCLUDE_DEFAULTS_MUSL_NATIVE \
@@ -217,7 +217,7 @@ index 3a443abcf6b..ef83a5a432e 100644
217 } 217 }
218 #endif 218 #endif
219diff --git a/gcc/cppdefault.cc b/gcc/cppdefault.cc 219diff --git a/gcc/cppdefault.cc b/gcc/cppdefault.cc
220index 734590a7059..b4a8fc29e4a 100644 220index db1e517fadc..8867e8bb341 100644
221--- a/gcc/cppdefault.cc 221--- a/gcc/cppdefault.cc
222+++ b/gcc/cppdefault.cc 222+++ b/gcc/cppdefault.cc
223@@ -35,6 +35,30 @@ 223@@ -35,6 +35,30 @@
@@ -347,7 +347,7 @@ index 734590a7059..b4a8fc29e4a 100644
347 /* This value is set by cpp_relocated at runtime */ 347 /* This value is set by cpp_relocated at runtime */
348 const char *gcc_exec_prefix; 348 const char *gcc_exec_prefix;
349diff --git a/gcc/cppdefault.h b/gcc/cppdefault.h 349diff --git a/gcc/cppdefault.h b/gcc/cppdefault.h
350index e26b424e99c..c9abb090dcd 100644 350index e033af78280..0af197df7b2 100644
351--- a/gcc/cppdefault.h 351--- a/gcc/cppdefault.h
352+++ b/gcc/cppdefault.h 352+++ b/gcc/cppdefault.h
353@@ -33,7 +33,8 @@ 353@@ -33,7 +33,8 @@
@@ -382,10 +382,10 @@ index e26b424e99c..c9abb090dcd 100644
382 subdirectory of the actual installation. */ 382 subdirectory of the actual installation. */
383 extern const char *gcc_exec_prefix; 383 extern const char *gcc_exec_prefix;
384diff --git a/gcc/gcc.cc b/gcc/gcc.cc 384diff --git a/gcc/gcc.cc b/gcc/gcc.cc
385index 8af0c814c33..605fe3b8c0d 100644 385index c1488865b8b..007c91780f6 100644
386--- a/gcc/gcc.cc 386--- a/gcc/gcc.cc
387+++ b/gcc/gcc.cc 387+++ b/gcc/gcc.cc
388@@ -255,6 +255,8 @@ FILE *report_times_to_file = NULL; 388@@ -265,6 +265,8 @@ FILE *report_times_to_file = NULL;
389 #endif 389 #endif
390 static const char *target_system_root = DEFAULT_TARGET_SYSTEM_ROOT; 390 static const char *target_system_root = DEFAULT_TARGET_SYSTEM_ROOT;
391 391
@@ -394,7 +394,7 @@ index 8af0c814c33..605fe3b8c0d 100644
394 /* Nonzero means pass the updated target_system_root to the compiler. */ 394 /* Nonzero means pass the updated target_system_root to the compiler. */
395 395
396 static int target_system_root_changed; 396 static int target_system_root_changed;
397@@ -578,6 +580,7 @@ or with constant text in a single argument. 397@@ -598,6 +600,7 @@ or with constant text in a single argument.
398 %G process LIBGCC_SPEC as a spec. 398 %G process LIBGCC_SPEC as a spec.
399 %R Output the concatenation of target_system_root and 399 %R Output the concatenation of target_system_root and
400 target_sysroot_suffix. 400 target_sysroot_suffix.
@@ -402,7 +402,7 @@ index 8af0c814c33..605fe3b8c0d 100644
402 %S process STARTFILE_SPEC as a spec. A capital S is actually used here. 402 %S process STARTFILE_SPEC as a spec. A capital S is actually used here.
403 %E process ENDFILE_SPEC as a spec. A capital E is actually used here. 403 %E process ENDFILE_SPEC as a spec. A capital E is actually used here.
404 %C process CPP_SPEC as a spec. 404 %C process CPP_SPEC as a spec.
405@@ -1619,10 +1622,10 @@ static const char *gcc_libexec_prefix; 405@@ -1648,10 +1651,10 @@ static const char *gcc_libexec_prefix;
406 gcc_exec_prefix is set because, in that case, we know where the 406 gcc_exec_prefix is set because, in that case, we know where the
407 compiler has been installed, and use paths relative to that 407 compiler has been installed, and use paths relative to that
408 location instead. */ 408 location instead. */
@@ -417,7 +417,7 @@ index 8af0c814c33..605fe3b8c0d 100644
417 417
418 /* For native compilers, these are well-known paths containing 418 /* For native compilers, these are well-known paths containing
419 components that may be provided by the system. For cross 419 components that may be provided by the system. For cross
420@@ -1630,9 +1633,9 @@ static const char *const standard_startfile_prefix = STANDARD_STARTFILE_PREFIX; 420@@ -1659,9 +1662,9 @@ static const char *const standard_startfile_prefix = STANDARD_STARTFILE_PREFIX;
421 static const char *md_exec_prefix = MD_EXEC_PREFIX; 421 static const char *md_exec_prefix = MD_EXEC_PREFIX;
422 static const char *md_startfile_prefix = MD_STARTFILE_PREFIX; 422 static const char *md_startfile_prefix = MD_STARTFILE_PREFIX;
423 static const char *md_startfile_prefix_1 = MD_STARTFILE_PREFIX_1; 423 static const char *md_startfile_prefix_1 = MD_STARTFILE_PREFIX_1;
@@ -429,7 +429,7 @@ index 8af0c814c33..605fe3b8c0d 100644
429 = STANDARD_STARTFILE_PREFIX_2; 429 = STANDARD_STARTFILE_PREFIX_2;
430 430
431 /* A relative path to be used in finding the location of tools 431 /* A relative path to be used in finding the location of tools
432@@ -6652,6 +6655,11 @@ do_spec_1 (const char *spec, int inswitch, const char *soft_matched_part) 432@@ -6837,6 +6840,11 @@ do_spec_1 (const char *spec, int inswitch, const char *soft_matched_part)
433 } 433 }
434 break; 434 break;
435 435
@@ -442,7 +442,7 @@ index 8af0c814c33..605fe3b8c0d 100644
442 value = do_spec_1 (startfile_spec, 0, NULL); 442 value = do_spec_1 (startfile_spec, 0, NULL);
443 if (value != 0) 443 if (value != 0)
444diff --git a/gcc/incpath.cc b/gcc/incpath.cc 444diff --git a/gcc/incpath.cc b/gcc/incpath.cc
445index 46c0d543205..d088dae7b04 100644 445index 2cdbebc4c50..b61a9d1b2fc 100644
446--- a/gcc/incpath.cc 446--- a/gcc/incpath.cc
447+++ b/gcc/incpath.cc 447+++ b/gcc/incpath.cc
448@@ -135,7 +135,7 @@ add_standard_paths (const char *sysroot, const char *iprefix, 448@@ -135,7 +135,7 @@ add_standard_paths (const char *sysroot, const char *iprefix,
@@ -489,7 +489,7 @@ index 46c0d543205..d088dae7b04 100644
489 str = update_path (ostr, p->component); 489 str = update_path (ostr, p->component);
490 free (ostr); 490 free (ostr);
491diff --git a/gcc/prefix.cc b/gcc/prefix.cc 491diff --git a/gcc/prefix.cc b/gcc/prefix.cc
492index c2a37bde5ea..33944701ced 100644 492index 0c79d60a6c8..27c79f09be4 100644
493--- a/gcc/prefix.cc 493--- a/gcc/prefix.cc
494+++ b/gcc/prefix.cc 494+++ b/gcc/prefix.cc
495@@ -73,7 +73,9 @@ License along with GCC; see the file COPYING3. If not see 495@@ -73,7 +73,9 @@ License along with GCC; see the file COPYING3. If not see
diff --git a/meta/recipes-devtools/gcc/gcc/0017-Search-target-sysroot-gcc-version-specific-dirs-with.patch b/meta/recipes-devtools/gcc/gcc/0017-Search-target-sysroot-gcc-version-specific-dirs-with.patch
index 8a11049ca3..b3ab4996c3 100644
--- a/meta/recipes-devtools/gcc/gcc/0017-Search-target-sysroot-gcc-version-specific-dirs-with.patch
+++ b/meta/recipes-devtools/gcc/gcc/0017-Search-target-sysroot-gcc-version-specific-dirs-with.patch
@@ -1,4 +1,4 @@
1From 7e095089452b6e895ec40981752e9f902f0ad889 Mon Sep 17 00:00:00 2001 1From 1756ca43dc85ee9d367350d68b908e6681ddd986 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 7 Dec 2015 23:41:45 +0000 3Date: Mon, 7 Dec 2015 23:41:45 +0000
4Subject: [PATCH] Search target sysroot gcc version specific dirs with 4Subject: [PATCH] Search target sysroot gcc version specific dirs with
@@ -52,10 +52,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
52 1 file changed, 28 insertions(+), 1 deletion(-) 52 1 file changed, 28 insertions(+), 1 deletion(-)
53 53
54diff --git a/gcc/gcc.cc b/gcc/gcc.cc 54diff --git a/gcc/gcc.cc b/gcc/gcc.cc
55index 605fe3b8c0d..c3a1dab38c4 100644 55index 007c91780f6..22eb17bc099 100644
56--- a/gcc/gcc.cc 56--- a/gcc/gcc.cc
57+++ b/gcc/gcc.cc 57+++ b/gcc/gcc.cc
58@@ -2809,7 +2809,7 @@ for_each_path (const struct path_prefix *paths, 58@@ -2837,7 +2837,7 @@ for_each_path (const struct path_prefix *paths,
59 if (path == NULL) 59 if (path == NULL)
60 { 60 {
61 len = paths->max_len + extra_space + 1; 61 len = paths->max_len + extra_space + 1;
@@ -64,7 +64,7 @@ index 605fe3b8c0d..c3a1dab38c4 100644
64 path = XNEWVEC (char, len); 64 path = XNEWVEC (char, len);
65 } 65 }
66 66
67@@ -2821,6 +2821,33 @@ for_each_path (const struct path_prefix *paths, 67@@ -2849,6 +2849,33 @@ for_each_path (const struct path_prefix *paths,
68 /* Look first in MACHINE/VERSION subdirectory. */ 68 /* Look first in MACHINE/VERSION subdirectory. */
69 if (!skip_multi_dir) 69 if (!skip_multi_dir)
70 { 70 {
diff --git a/meta/recipes-devtools/gcc/gcc/0018-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch b/meta/recipes-devtools/gcc/gcc/0018-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch
index 9bc77b485f..1b2da32a42 100644
--- a/meta/recipes-devtools/gcc/gcc/0018-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch
+++ b/meta/recipes-devtools/gcc/gcc/0018-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch
@@ -1,4 +1,4 @@
1From bf92b290556b7050df0a001cc7ae43cf79990456 Mon Sep 17 00:00:00 2001 1From 777963807e14a091c263d603cebfd7bb02f63b24 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 27 Jun 2017 18:10:54 -0700 3Date: Tue, 27 Jun 2017 18:10:54 -0700
4Subject: [PATCH] Add ssp_nonshared to link commandline for musl targets 4Subject: [PATCH] Add ssp_nonshared to link commandline for musl targets
@@ -23,7 +23,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
23 3 files changed, 27 insertions(+) 23 3 files changed, 27 insertions(+)
24 24
25diff --git a/gcc/config/linux.h b/gcc/config/linux.h 25diff --git a/gcc/config/linux.h b/gcc/config/linux.h
26index c921cf6ef63..32e1bc1ae2d 100644 26index 0f937abe729..88e59d1f78c 100644
27--- a/gcc/config/linux.h 27--- a/gcc/config/linux.h
28+++ b/gcc/config/linux.h 28+++ b/gcc/config/linux.h
29@@ -195,6 +195,13 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see 29@@ -195,6 +195,13 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
@@ -41,10 +41,10 @@ index c921cf6ef63..32e1bc1ae2d 100644
41 41
42 #if (DEFAULT_LIBC == LIBC_UCLIBC) && defined (SINGLE_LIBC) /* uClinux */ 42 #if (DEFAULT_LIBC == LIBC_UCLIBC) && defined (SINGLE_LIBC) /* uClinux */
43diff --git a/gcc/config/rs6000/linux.h b/gcc/config/rs6000/linux.h 43diff --git a/gcc/config/rs6000/linux.h b/gcc/config/rs6000/linux.h
44index 5d21befe8e4..1248a68e4ca 100644 44index 6c4480b70c4..89ae8267482 100644
45--- a/gcc/config/rs6000/linux.h 45--- a/gcc/config/rs6000/linux.h
46+++ b/gcc/config/rs6000/linux.h 46+++ b/gcc/config/rs6000/linux.h
47@@ -99,6 +99,16 @@ 47@@ -102,6 +102,16 @@
48 " -m elf32ppclinux") 48 " -m elf32ppclinux")
49 #endif 49 #endif
50 50
@@ -62,10 +62,10 @@ index 5d21befe8e4..1248a68e4ca 100644
62 #define LINK_OS_LINUX_SPEC LINK_OS_LINUX_EMUL " %{!shared: %{!static: \ 62 #define LINK_OS_LINUX_SPEC LINK_OS_LINUX_EMUL " %{!shared: %{!static: \
63 %{!static-pie: \ 63 %{!static-pie: \
64diff --git a/gcc/config/rs6000/linux64.h b/gcc/config/rs6000/linux64.h 64diff --git a/gcc/config/rs6000/linux64.h b/gcc/config/rs6000/linux64.h
65index 2ddab7c99c1..9641580fc83 100644 65index 8de5eb8bb49..4eb5cc2c7cf 100644
66--- a/gcc/config/rs6000/linux64.h 66--- a/gcc/config/rs6000/linux64.h
67+++ b/gcc/config/rs6000/linux64.h 67+++ b/gcc/config/rs6000/linux64.h
68@@ -372,6 +372,16 @@ extern int dot_symbols; 68@@ -373,6 +373,16 @@ extern int dot_symbols;
69 " -m elf64ppc") 69 " -m elf64ppc")
70 #endif 70 #endif
71 71
diff --git a/meta/recipes-devtools/gcc/gcc/0019-Re-introduce-spe-commandline-options.patch b/meta/recipes-devtools/gcc/gcc/0019-Re-introduce-spe-commandline-options.patch
index f785688661..f23876b10a 100644
--- a/meta/recipes-devtools/gcc/gcc/0019-Re-introduce-spe-commandline-options.patch
+++ b/meta/recipes-devtools/gcc/gcc/0019-Re-introduce-spe-commandline-options.patch
@@ -1,4 +1,4 @@
1From 587ac4a59ea56da18a9989c31a75124e974cb37c Mon Sep 17 00:00:00 2001 1From f2649410d2eb1c3983054020c9238887bd31273f Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 6 Jun 2018 12:10:22 -0700 3Date: Wed, 6 Jun 2018 12:10:22 -0700
4Subject: [PATCH] Re-introduce spe commandline options 4Subject: [PATCH] Re-introduce spe commandline options
@@ -14,10 +14,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 1 file changed, 13 insertions(+) 14 1 file changed, 13 insertions(+)
15 15
16diff --git a/gcc/config/rs6000/rs6000.opt b/gcc/config/rs6000/rs6000.opt 16diff --git a/gcc/config/rs6000/rs6000.opt b/gcc/config/rs6000/rs6000.opt
17index bde6d3ff664..5af9640825c 100644 17index 88cf16ca581..fc283ccc934 100644
18--- a/gcc/config/rs6000/rs6000.opt 18--- a/gcc/config/rs6000/rs6000.opt
19+++ b/gcc/config/rs6000/rs6000.opt 19+++ b/gcc/config/rs6000/rs6000.opt
20@@ -344,6 +344,19 @@ mdebug= 20@@ -348,6 +348,19 @@ mdebug=
21 Target RejectNegative Joined 21 Target RejectNegative Joined
22 -mdebug= Enable debug output. 22 -mdebug= Enable debug output.
23 23
diff --git a/meta/recipes-devtools/gcc/gcc/0020-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch b/meta/recipes-devtools/gcc/gcc/0020-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch
index b86edab5d5..cd22dba878 100644
--- a/meta/recipes-devtools/gcc/gcc/0020-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch
+++ b/meta/recipes-devtools/gcc/gcc/0020-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch
@@ -1,4 +1,4 @@
1From 8c4c59521720f8c1b1e38e38896b47fcb1bf00ac Mon Sep 17 00:00:00 2001 1From be81ee850cdf720f87733046cfa8f3fa43704a7d Mon Sep 17 00:00:00 2001
2From: Szabolcs Nagy <nsz@port70.net> 2From: Szabolcs Nagy <nsz@port70.net>
3Date: Sat, 24 Oct 2015 20:09:53 +0000 3Date: Sat, 24 Oct 2015 20:09:53 +0000
4Subject: [PATCH] libgcc_s: Use alias for __cpu_indicator_init instead of 4Subject: [PATCH] libgcc_s: Use alias for __cpu_indicator_init instead of
@@ -39,10 +39,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
39 3 files changed, 6 insertions(+), 6 deletions(-) 39 3 files changed, 6 insertions(+), 6 deletions(-)
40 40
41diff --git a/gcc/config/i386/i386-expand.cc b/gcc/config/i386/i386-expand.cc 41diff --git a/gcc/config/i386/i386-expand.cc b/gcc/config/i386/i386-expand.cc
42index 0d817fc3f3b..8d34d19d3f9 100644 42index cdfd94d3c73..de6fa7cc5ce 100644
43--- a/gcc/config/i386/i386-expand.cc 43--- a/gcc/config/i386/i386-expand.cc
44+++ b/gcc/config/i386/i386-expand.cc 44+++ b/gcc/config/i386/i386-expand.cc
45@@ -12691,10 +12691,10 @@ ix86_expand_builtin (tree exp, rtx target, rtx subtarget, 45@@ -13643,10 +13643,10 @@ ix86_expand_builtin (tree exp, rtx target, rtx subtarget,
46 { 46 {
47 case IX86_BUILTIN_CPU_INIT: 47 case IX86_BUILTIN_CPU_INIT:
48 { 48 {
@@ -56,7 +56,7 @@ index 0d817fc3f3b..8d34d19d3f9 100644
56 return expand_expr (call_expr, target, mode, EXPAND_NORMAL); 56 return expand_expr (call_expr, target, mode, EXPAND_NORMAL);
57 } 57 }
58diff --git a/libgcc/config/i386/cpuinfo.c b/libgcc/config/i386/cpuinfo.c 58diff --git a/libgcc/config/i386/cpuinfo.c b/libgcc/config/i386/cpuinfo.c
59index 50b6d8248a2..724ced402a1 100644 59index 2484dc839bf..e980030ef23 100644
60--- a/libgcc/config/i386/cpuinfo.c 60--- a/libgcc/config/i386/cpuinfo.c
61+++ b/libgcc/config/i386/cpuinfo.c 61+++ b/libgcc/config/i386/cpuinfo.c
62@@ -63,7 +63,7 @@ __cpu_indicator_init (void) 62@@ -63,7 +63,7 @@ __cpu_indicator_init (void)
diff --git a/meta/recipes-devtools/gcc/gcc/0021-gentypes-genmodes-Do-not-use-__LINE__-for-maintainin.patch b/meta/recipes-devtools/gcc/gcc/0021-gentypes-genmodes-Do-not-use-__LINE__-for-maintainin.patch
index b6707592dc..5b67c194df 100644
--- a/meta/recipes-devtools/gcc/gcc/0021-gentypes-genmodes-Do-not-use-__LINE__-for-maintainin.patch
+++ b/meta/recipes-devtools/gcc/gcc/0021-gentypes-genmodes-Do-not-use-__LINE__-for-maintainin.patch
@@ -1,4 +1,4 @@
1From f15b19d8e058c983c49c4566c1879fdaf5b1ab54 Mon Sep 17 00:00:00 2001 1From 734760138d07236289c5e548efc6083ddcfda650 Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org> 2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Tue, 10 Mar 2020 08:26:53 -0700 3Date: Tue, 10 Mar 2020 08:26:53 -0700
4Subject: [PATCH] gentypes/genmodes: Do not use __LINE__ for maintaining 4Subject: [PATCH] gentypes/genmodes: Do not use __LINE__ for maintaining
@@ -17,7 +17,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
17 2 files changed, 19 insertions(+), 19 deletions(-) 17 2 files changed, 19 insertions(+), 19 deletions(-)
18 18
19diff --git a/gcc/gengtype.cc b/gcc/gengtype.cc 19diff --git a/gcc/gengtype.cc b/gcc/gengtype.cc
20index 7763f40e9ab..4f0c1eb1508 100644 20index 6a3621c96cd..3f6c36dcff5 100644
21--- a/gcc/gengtype.cc 21--- a/gcc/gengtype.cc
22+++ b/gcc/gengtype.cc 22+++ b/gcc/gengtype.cc
23@@ -1005,7 +1005,7 @@ create_field_at (pair_p next, type_p type, const char *name, options_p opt, 23@@ -1005,7 +1005,7 @@ create_field_at (pair_p next, type_p type, const char *name, options_p opt,
@@ -38,7 +38,7 @@ index 7763f40e9ab..4f0c1eb1508 100644
38 38
39 /* Reverse a linked list of 'struct pair's in place. */ 39 /* Reverse a linked list of 'struct pair's in place. */
40 pair_p 40 pair_p
41@@ -5223,7 +5223,7 @@ main (int argc, char **argv) 41@@ -5238,7 +5238,7 @@ main (int argc, char **argv)
42 /* These types are set up with #define or else outside of where 42 /* These types are set up with #define or else outside of where
43 we can see them. We should initialize them before calling 43 we can see them. We should initialize them before calling
44 read_input_list. */ 44 read_input_list. */
@@ -48,7 +48,7 @@ index 7763f40e9ab..4f0c1eb1508 100644
48 POS_HERE (do_scalar_typedef ("CUMULATIVE_ARGS", &pos)); 48 POS_HERE (do_scalar_typedef ("CUMULATIVE_ARGS", &pos));
49 POS_HERE (do_scalar_typedef ("REAL_VALUE_TYPE", &pos)); 49 POS_HERE (do_scalar_typedef ("REAL_VALUE_TYPE", &pos));
50diff --git a/gcc/genmodes.cc b/gcc/genmodes.cc 50diff --git a/gcc/genmodes.cc b/gcc/genmodes.cc
51index 715787b8f48..302adff28d5 100644 51index 7af79720189..3bdb82ef8bf 100644
52--- a/gcc/genmodes.cc 52--- a/gcc/genmodes.cc
53+++ b/gcc/genmodes.cc 53+++ b/gcc/genmodes.cc
54@@ -441,7 +441,7 @@ complete_all_modes (void) 54@@ -441,7 +441,7 @@ complete_all_modes (void)
diff --git a/meta/recipes-devtools/gcc/gcc/0022-libatomic-Do-not-enforce-march-on-aarch64.patch b/meta/recipes-devtools/gcc/gcc/0022-libatomic-Do-not-enforce-march-on-aarch64.patch
index 0ea8aac543..9292767037 100644
--- a/meta/recipes-devtools/gcc/gcc/0022-libatomic-Do-not-enforce-march-on-aarch64.patch
+++ b/meta/recipes-devtools/gcc/gcc/0022-libatomic-Do-not-enforce-march-on-aarch64.patch
@@ -1,4 +1,4 @@
1From 939a899b862f7a25e52b74d1587fc75fc65779c0 Mon Sep 17 00:00:00 2001 1From 95ee2cf97c5c2a4bd66c54d078b960a1d541d35e Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 13 May 2020 15:10:38 -0700 3Date: Wed, 13 May 2020 15:10:38 -0700
4Subject: [PATCH] libatomic: Do not enforce march on aarch64 4Subject: [PATCH] libatomic: Do not enforce march on aarch64
@@ -17,25 +17,25 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
17 2 files changed, 2 deletions(-) 17 2 files changed, 2 deletions(-)
18 18
19diff --git a/libatomic/Makefile.am b/libatomic/Makefile.am 19diff --git a/libatomic/Makefile.am b/libatomic/Makefile.am
20index c6c8d81c56a..d959a5d040e 100644 20index 0f1a7156084..255fe448e63 100644
21--- a/libatomic/Makefile.am 21--- a/libatomic/Makefile.am
22+++ b/libatomic/Makefile.am 22+++ b/libatomic/Makefile.am
23@@ -125,7 +125,6 @@ libatomic_la_LIBADD = $(foreach s,$(SIZES),$(addsuffix _$(s)_.lo,$(SIZEOBJS))) 23@@ -128,7 +128,6 @@ libatomic_la_LIBADD = $(foreach s,$(SIZES),$(addsuffix _$(s)_.lo,$(SIZEOBJS)))
24 ## On a target-specific basis, include alternates to be selected by IFUNC. 24 ## On a target-specific basis, include alternates to be selected by IFUNC.
25 if HAVE_IFUNC 25 if HAVE_IFUNC
26 if ARCH_AARCH64_LINUX 26 if ARCH_AARCH64_LINUX
27-IFUNC_OPTIONS = -march=armv8-a+lse 27-IFUNC_OPTIONS = -march=armv8-a+lse
28 libatomic_la_LIBADD += $(foreach s,$(SIZES),$(addsuffix _$(s)_1_.lo,$(SIZEOBJS))) 28 libatomic_la_LIBADD += $(foreach s,$(SIZES),$(addsuffix _$(s)_1_.lo,$(SIZEOBJS)))
29 libatomic_la_SOURCES += atomic_16.S
30 29
30 endif
31diff --git a/libatomic/Makefile.in b/libatomic/Makefile.in 31diff --git a/libatomic/Makefile.in b/libatomic/Makefile.in
32index a0fa3dfc8cc..e70d389874a 100644 32index 9798e7c09e9..3b3027eb77d 100644
33--- a/libatomic/Makefile.in 33--- a/libatomic/Makefile.in
34+++ b/libatomic/Makefile.in 34+++ b/libatomic/Makefile.in
35@@ -447,7 +447,6 @@ M_SRC = $(firstword $(filter %/$(M_FILE), $(all_c_files))) 35@@ -452,7 +452,6 @@ M_SRC = $(firstword $(filter %/$(M_FILE), $(all_c_files)))
36 libatomic_la_LIBADD = $(foreach s,$(SIZES),$(addsuffix \ 36 libatomic_la_LIBADD = $(foreach s,$(SIZES),$(addsuffix \
37 _$(s)_.lo,$(SIZEOBJS))) $(am__append_1) $(am__append_3) \ 37 _$(s)_.lo,$(SIZEOBJS))) $(am__append_1) $(am__append_2) \
38 $(am__append_4) $(am__append_5) 38 $(am__append_3) $(am__append_4)
39-@ARCH_AARCH64_LINUX_TRUE@@HAVE_IFUNC_TRUE@IFUNC_OPTIONS = -march=armv8-a+lse 39-@ARCH_AARCH64_LINUX_TRUE@@HAVE_IFUNC_TRUE@IFUNC_OPTIONS = -march=armv8-a+lse
40 @ARCH_ARM_LINUX_TRUE@@HAVE_IFUNC_TRUE@IFUNC_OPTIONS = -march=armv7-a+fp -DHAVE_KERNEL64 40 @ARCH_ARM_LINUX_TRUE@@HAVE_IFUNC_TRUE@IFUNC_OPTIONS = -march=armv7-a+fp -DHAVE_KERNEL64
41 @ARCH_I386_TRUE@@HAVE_IFUNC_TRUE@IFUNC_OPTIONS = -march=i586 41 @ARCH_I386_TRUE@@HAVE_IFUNC_TRUE@IFUNC_OPTIONS = -march=i586
diff --git a/meta/recipes-devtools/gcc/gcc/0023-Fix-install-path-of-linux64.h.patch b/meta/recipes-devtools/gcc/gcc/0023-Fix-install-path-of-linux64.h.patch
index cd962d82bd..da91d85eb9 100644
--- a/meta/recipes-devtools/gcc/gcc/0023-Fix-install-path-of-linux64.h.patch
+++ b/meta/recipes-devtools/gcc/gcc/0023-Fix-install-path-of-linux64.h.patch
@@ -1,4 +1,4 @@
1From 696d696381dd99ec2bddb1170f96f98da36eb418 Mon Sep 17 00:00:00 2001 1From cd7353f45bc2af9a9ea9694544d40ea03a1310d1 Mon Sep 17 00:00:00 2001
2From: Andrei Gherzan <andrei.gherzan@huawei.com> 2From: Andrei Gherzan <andrei.gherzan@huawei.com>
3Date: Wed, 22 Dec 2021 12:49:25 +0100 3Date: Wed, 22 Dec 2021 12:49:25 +0100
4Subject: [PATCH] Fix install path of linux64.h 4Subject: [PATCH] Fix install path of linux64.h
@@ -17,11 +17,11 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
17 1 file changed, 2 insertions(+) 17 1 file changed, 2 insertions(+)
18 18
19diff --git a/gcc/Makefile.in b/gcc/Makefile.in 19diff --git a/gcc/Makefile.in b/gcc/Makefile.in
20index 8ef996c0f4d..21daf380e34 100644 20index 944d0a6680a..4cea9b20af5 100644
21--- a/gcc/Makefile.in 21--- a/gcc/Makefile.in
22+++ b/gcc/Makefile.in 22+++ b/gcc/Makefile.in
23@@ -3731,6 +3731,8 @@ install-plugin: installdirs lang.install-plugin s-header-vars install-gengtype 23@@ -4115,6 +4115,8 @@ install-plugin: installdirs lang.install-plugin s-header-vars install-gengtype
24 "$(srcdir)"/config/* | "$(srcdir)"/common/config/* \ 24 | "$(srcdir)"/config/* | "$(srcdir)"/common/config/* \
25 | "$(srcdir)"/c-family/* | "$(srcdir)"/*.def ) \ 25 | "$(srcdir)"/c-family/* | "$(srcdir)"/*.def ) \
26 base=`echo "$$path" | sed -e "s|$$srcdirstrip/||"`;; \ 26 base=`echo "$$path" | sed -e "s|$$srcdirstrip/||"`;; \
27+ */linux64.h ) \ 27+ */linux64.h ) \
diff --git a/meta/recipes-devtools/gcc/gcc/0024-Avoid-hardcoded-build-paths-into-ppc-libgcc.patch b/meta/recipes-devtools/gcc/gcc/0024-Avoid-hardcoded-build-paths-into-ppc-libgcc.patch
index 04d940ae0b..b7edeef6eb 100644
--- a/meta/recipes-devtools/gcc/gcc/0024-Avoid-hardcoded-build-paths-into-ppc-libgcc.patch
+++ b/meta/recipes-devtools/gcc/gcc/0024-Avoid-hardcoded-build-paths-into-ppc-libgcc.patch
@@ -1,4 +1,4 @@
1From 9487b1d6136ea09cce4792d59d0170c712575550 Mon Sep 17 00:00:00 2001 1From 159545123cfe05136037e302409cf82ec5c0263c Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org> 2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Sat, 20 Aug 2022 09:04:14 -0700 3Date: Sat, 20 Aug 2022 09:04:14 -0700
4Subject: [PATCH] Avoid hardcoded build paths into ppc libgcc 4Subject: [PATCH] Avoid hardcoded build paths into ppc libgcc
diff --git a/meta/recipes-devtools/gcc/gcc/0025-gcc-testsuite-tweaks-for-mips-OE.patch b/meta/recipes-devtools/gcc/gcc/0025-gcc-testsuite-tweaks-for-mips-OE.patch
index e4d57c27ef..0a61862332 100644
--- a/meta/recipes-devtools/gcc/gcc/0025-gcc-testsuite-tweaks-for-mips-OE.patch
+++ b/meta/recipes-devtools/gcc/gcc/0025-gcc-testsuite-tweaks-for-mips-OE.patch
@@ -1,6 +1,6 @@
1From f12acc6a383546d48da3bdfb2f25ca2adb7976d7 Mon Sep 17 00:00:00 2001 1From 62e25edd60d45eaec331a3273880f6ff3248ef62 Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org> 2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Sun, 13 Aug 2023 10:24:05 +0100 3Date: Thu, 17 Aug 2023 09:01:40 -0700
4Subject: [PATCH] gcc testsuite tweaks for mips/OE 4Subject: [PATCH] gcc testsuite tweaks for mips/OE
5 5
6Disable loongson-mmi runtine, qemu doesn't appear to fully support them even if some 6Disable loongson-mmi runtine, qemu doesn't appear to fully support them even if some
@@ -26,21 +26,23 @@ Also, for gcc.target tests, add checks on wheter loongson or msa code can
26be run before trying that, allowing downgrading of tests there to work too. 26be run before trying that, allowing downgrading of tests there to work too.
27 27
28Upstream-Status: Pending 28Upstream-Status: Pending
29
29[Parts of the patch may be able to be split off and acceptable to upstream with 30[Parts of the patch may be able to be split off and acceptable to upstream with
30discussion. Need to investigate why qemu-user passes the 'bad' instructions'] 31discussion. Need to investigate why qemu-user passes the 'bad' instructions']
31 32
32Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> 33Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
34Signed-off-by: Khem Raj <raj.khem@gmail.com>
33--- 35---
34 gcc/testsuite/gcc.target/mips/mips.exp | 16 +++++++++ 36 gcc/testsuite/gcc.target/mips/mips.exp | 16 ++++++++++
35 gcc/testsuite/lib/gcc-dg.exp | 11 +++++++ 37 gcc/testsuite/lib/gcc-dg.exp | 11 +++++++
36 gcc/testsuite/lib/target-supports.exp | 45 ++++++++------------------ 38 gcc/testsuite/lib/target-supports.exp | 44 ++++++++------------------
37 3 files changed, 41 insertions(+), 31 deletions(-) 39 3 files changed, 40 insertions(+), 31 deletions(-)
38 40
39diff --git a/gcc/testsuite/gcc.target/mips/mips.exp b/gcc/testsuite/gcc.target/mips/mips.exp 41diff --git a/gcc/testsuite/gcc.target/mips/mips.exp b/gcc/testsuite/gcc.target/mips/mips.exp
40index 15d574202d3..2cef9709774 100644 42index 82d418a7cd4..46f7bf4ef92 100644
41--- a/gcc/testsuite/gcc.target/mips/mips.exp 43--- a/gcc/testsuite/gcc.target/mips/mips.exp
42+++ b/gcc/testsuite/gcc.target/mips/mips.exp 44+++ b/gcc/testsuite/gcc.target/mips/mips.exp
43@@ -709,7 +709,23 @@ proc mips_first_unsupported_option { upstatus } { 45@@ -711,7 +711,23 @@ proc mips_first_unsupported_option { upstatus } {
44 global mips_option_tests 46 global mips_option_tests
45 upvar $upstatus status 47 upvar $upstatus status
46 48
@@ -65,10 +67,10 @@ index 15d574202d3..2cef9709774 100644
65 regsub -all "\n" $code "\\n\\\n" asm 67 regsub -all "\n" $code "\\n\\\n" asm
66 # Use check_runtime from target-supports.exp, which caches 68 # Use check_runtime from target-supports.exp, which caches
67diff --git a/gcc/testsuite/lib/gcc-dg.exp b/gcc/testsuite/lib/gcc-dg.exp 69diff --git a/gcc/testsuite/lib/gcc-dg.exp b/gcc/testsuite/lib/gcc-dg.exp
68index 9d79b9402e9..e0e5cbb1af8 100644 70index 6dd8fa3fce9..95672008219 100644
69--- a/gcc/testsuite/lib/gcc-dg.exp 71--- a/gcc/testsuite/lib/gcc-dg.exp
70+++ b/gcc/testsuite/lib/gcc-dg.exp 72+++ b/gcc/testsuite/lib/gcc-dg.exp
71@@ -240,9 +240,20 @@ proc schedule-cleanups { opts } { 73@@ -233,9 +233,20 @@ proc schedule-cleanups { opts } {
72 74
73 proc gcc-dg-test-1 { target_compile prog do_what extra_tool_flags } { 75 proc gcc-dg-test-1 { target_compile prog do_what extra_tool_flags } {
74 # Set up the compiler flags, based on what we're going to do. 76 # Set up the compiler flags, based on what we're going to do.
@@ -77,23 +79,23 @@ index 9d79b9402e9..e0e5cbb1af8 100644
77 set options [list] 79 set options [list]
78 80
79+ if [info exists do-what-limit] then { 81+ if [info exists do-what-limit] then {
80+ # Demote run tests to $do-what-limit if set 82+ # Demote run tests to $do-what-limit if set
81+ switch $do_what { 83+ switch $do_what {
82+ run { 84+ run {
83+ set do_what ${do-what-limit} 85+ set do_what ${do-what-limit}
84+ set dg-do-what ${do-what-limit} 86+ set dg-do-what ${do-what-limit}
85+ } 87+ }
86+ } 88+ }
87+ } 89+ }
88+ 90+
89 switch $do_what { 91 switch $do_what {
90 "preprocess" { 92 "preprocess" {
91 set compile_type "preprocess" 93 set compile_type "preprocess"
92diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp 94diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp
93index 40f71e9ed8b..10e267fa16d 100644 95index a62f459ad7e..6886cfeee49 100644
94--- a/gcc/testsuite/lib/target-supports.exp 96--- a/gcc/testsuite/lib/target-supports.exp
95+++ b/gcc/testsuite/lib/target-supports.exp 97+++ b/gcc/testsuite/lib/target-supports.exp
96@@ -2155,14 +2155,7 @@ proc check_mips_loongson_mmi_hw_available { } { 98@@ -2949,14 +2949,7 @@ proc check_mips_loongson_mmi_hw_available { } {
97 if { !([istarget mips*-*-*]) } { 99 if { !([istarget mips*-*-*]) } {
98 expr 0 100 expr 0
99 } else { 101 } else {
@@ -109,7 +111,7 @@ index 40f71e9ed8b..10e267fa16d 100644
109 } 111 }
110 }] 112 }]
111 } 113 }
112@@ -2176,29 +2169,7 @@ proc check_mips_msa_hw_available { } { 114@@ -2970,29 +2963,7 @@ proc check_mips_msa_hw_available { } {
113 if { !([istarget mips*-*-*]) } { 115 if { !([istarget mips*-*-*]) } {
114 expr 0 116 expr 0
115 } else { 117 } else {
@@ -140,7 +142,7 @@ index 40f71e9ed8b..10e267fa16d 100644
140 } 142 }
141 }] 143 }]
142 } 144 }
143@@ -9187,6 +9158,7 @@ proc is-effective-target-keyword { arg } { 145@@ -10354,6 +10325,7 @@ proc is-effective-target-keyword { arg } {
144 146
145 proc et-dg-runtest { runtest testcases flags default-extra-flags } { 147 proc et-dg-runtest { runtest testcases flags default-extra-flags } {
146 global dg-do-what-default 148 global dg-do-what-default
@@ -148,7 +150,7 @@ index 40f71e9ed8b..10e267fa16d 100644
148 global EFFECTIVE_TARGETS 150 global EFFECTIVE_TARGETS
149 global et_index 151 global et_index
150 152
151@@ -9194,6 +9166,7 @@ proc et-dg-runtest { runtest testcases flags default-extra-flags } { 153@@ -10361,6 +10333,7 @@ proc et-dg-runtest { runtest testcases flags default-extra-flags } {
152 foreach target $EFFECTIVE_TARGETS { 154 foreach target $EFFECTIVE_TARGETS {
153 set target_flags $flags 155 set target_flags $flags
154 set dg-do-what-default compile 156 set dg-do-what-default compile
@@ -156,7 +158,7 @@ index 40f71e9ed8b..10e267fa16d 100644
156 set et_index [lsearch -exact $EFFECTIVE_TARGETS $target] 158 set et_index [lsearch -exact $EFFECTIVE_TARGETS $target]
157 if { [info procs add_options_for_${target}] != [list] } { 159 if { [info procs add_options_for_${target}] != [list] } {
158 set target_flags [add_options_for_${target} "$flags"] 160 set target_flags [add_options_for_${target} "$flags"]
159@@ -9201,8 +9174,10 @@ proc et-dg-runtest { runtest testcases flags default-extra-flags } { 161@@ -10368,8 +10341,10 @@ proc et-dg-runtest { runtest testcases flags default-extra-flags } {
160 if { [info procs check_effective_target_${target}_runtime] 162 if { [info procs check_effective_target_${target}_runtime]
161 != [list] && [check_effective_target_${target}_runtime] } { 163 != [list] && [check_effective_target_${target}_runtime] } {
162 set dg-do-what-default run 164 set dg-do-what-default run
@@ -167,67 +169,59 @@ index 40f71e9ed8b..10e267fa16d 100644
167 } 169 }
168 } else { 170 } else {
169 set et_index 0 171 set et_index 0
170@@ -10789,6 +10764,7 @@ proc check_effective_target_sigsetjmp {} { 172@@ -12155,6 +12130,7 @@ proc check_effective_target_sigsetjmp {} {
171 proc check_vect_support_and_set_flags { } { 173 proc check_vect_support_and_set_flags { } {
172 global DEFAULT_VECTCFLAGS 174 global DEFAULT_VECTCFLAGS
173 global dg-do-what-default 175 global dg-do-what-default
174+ global do-what-limit 176+ global do-what-limit
175 global EFFECTIVE_TARGETS 177 global EFFECTIVE_TARGETS
176 178
177 if [istarget powerpc-*paired*] { 179 if [istarget powerpc*-*-*] {
178@@ -10797,6 +10773,7 @@ proc check_vect_support_and_set_flags { } { 180@@ -12186,6 +12162,7 @@ proc check_vect_support_and_set_flags { } {
179 set dg-do-what-default run 181 set DEFAULT_VECTCFLAGS [linsert $DEFAULT_VECTCFLAGS 0 "-mcpu=970"]
180 } else { 182 }
181 set dg-do-what-default compile 183 set dg-do-what-default compile
182+ set do-what-limit link 184+ set do-what-limit link
183 } 185 }
184 } elseif [istarget powerpc*-*-*] { 186 } elseif { [check_effective_target_x86] } {
185 # Skip targets not supporting -maltivec. 187 lappend DEFAULT_VECTCFLAGS "-msse2"
186@@ -10821,6 +10798,7 @@ proc check_vect_support_and_set_flags { } { 188@@ -12193,6 +12170,7 @@ proc check_vect_support_and_set_flags { } {
187 lappend DEFAULT_VECTCFLAGS "-mcpu=970" 189 set dg-do-what-default run
188 } 190 } else {
189 set dg-do-what-default compile 191 set dg-do-what-default compile
190+ set do-what-limit link 192+ set do-what-limit link
191 } 193 }
192 } elseif { [istarget i?86-*-*] || [istarget x86_64-*-*] } {
193 lappend DEFAULT_VECTCFLAGS "-msse2"
194@@ -10828,6 +10806,7 @@ proc check_vect_support_and_set_flags { } {
195 set dg-do-what-default run
196 } else {
197 set dg-do-what-default compile
198+ set do-what-limit link
199 }
200 } elseif { [istarget mips*-*-*] 194 } elseif { [istarget mips*-*-*]
201 && [check_effective_target_nomips16] } { 195 && [check_effective_target_nomips16] } {
202@@ -10847,6 +10826,7 @@ proc check_vect_support_and_set_flags { } { 196@@ -12212,6 +12190,7 @@ proc check_vect_support_and_set_flags { } {
203 set dg-do-what-default run 197 set dg-do-what-default run
204 } else { 198 } else {
205 set dg-do-what-default compile 199 set dg-do-what-default compile
206+ set do-what-limit link 200+ set do-what-limit link
207 } 201 }
208 } elseif [istarget alpha*-*-*] { 202 } elseif [istarget alpha*-*-*] {
209 # Alpha's vectorization capabilities are extremely limited. 203 # Alpha's vectorization capabilities are extremely limited.
210@@ -10860,6 +10840,7 @@ proc check_vect_support_and_set_flags { } { 204@@ -12225,6 +12204,7 @@ proc check_vect_support_and_set_flags { } {
211 set dg-do-what-default run 205 set dg-do-what-default run
212 } else { 206 } else {
213 set dg-do-what-default compile 207 set dg-do-what-default compile
214+ set do-what-limit link 208+ set do-what-limit link
215 } 209 }
216 } elseif [istarget ia64-*-*] { 210 } elseif [istarget ia64-*-*] {
217 set dg-do-what-default run 211 set dg-do-what-default run
218@@ -10873,6 +10854,7 @@ proc check_vect_support_and_set_flags { } { 212@@ -12238,6 +12218,7 @@ proc check_vect_support_and_set_flags { } {
219 set dg-do-what-default run 213 set dg-do-what-default run
220 } else { 214 } else {
221 set dg-do-what-default compile 215 set dg-do-what-default compile
222+ set do-what-limit link 216+ set do-what-limit link
223 } 217 }
224 } elseif [istarget aarch64*-*-*] { 218 } elseif [istarget aarch64*-*-*] {
225 set dg-do-what-default run 219 set dg-do-what-default run
226@@ -10897,6 +10879,7 @@ proc check_vect_support_and_set_flags { } { 220@@ -12262,6 +12243,7 @@ proc check_vect_support_and_set_flags { } {
227 } else { 221 } else {
228 lappend DEFAULT_VECTCFLAGS "-march=z14" "-mzarch" 222 lappend DEFAULT_VECTCFLAGS "-march=z14" "-mzarch"
229 set dg-do-what-default compile 223 set dg-do-what-default compile
230+ set do-what-limit link 224+ set do-what-limit link
231 } 225 }
232 } elseif [istarget amdgcn-*-*] { 226 } elseif [istarget amdgcn-*-*] {
233 set dg-do-what-default run 227 set dg-do-what-default run
diff --git a/meta/recipes-devtools/gcc/gcc/0026-aarch64-Fix-loose-ldpstp-check-PR111411.patch b/meta/recipes-devtools/gcc/gcc/0026-aarch64-Fix-loose-ldpstp-check-PR111411.patch
deleted file mode 100644
index a408a98698..0000000000
--- a/meta/recipes-devtools/gcc/gcc/0026-aarch64-Fix-loose-ldpstp-check-PR111411.patch
+++ /dev/null
@@ -1,117 +0,0 @@
1From adb60dc78e0da4877747f32347cee339364775be Mon Sep 17 00:00:00 2001
2From: Richard Sandiford <richard.sandiford@arm.com>
3Date: Fri, 15 Sep 2023 09:19:14 +0100
4Subject: [PATCH] aarch64: Fix loose ldpstp check [PR111411]
5
6aarch64_operands_ok_for_ldpstp contained the code:
7
8 /* One of the memory accesses must be a mempair operand.
9 If it is not the first one, they need to be swapped by the
10 peephole. */
11 if (!aarch64_mem_pair_operand (mem_1, GET_MODE (mem_1))
12 && !aarch64_mem_pair_operand (mem_2, GET_MODE (mem_2)))
13 return false;
14
15But the requirement isn't just that one of the accesses must be a
16valid mempair operand. It's that the lower access must be, since
17that's the access that will be used for the instruction operand.
18
19gcc/
20 PR target/111411
21 * config/aarch64/aarch64.cc (aarch64_operands_ok_for_ldpstp): Require
22 the lower memory access to a mem-pair operand.
23
24gcc/testsuite/
25 PR target/111411
26 * gcc.dg/rtl/aarch64/pr111411.c: New test.
27
28Upstream-Status: Backport [https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=2d38f45bcca62ca0c7afef4b579f82c5c2a01610]
29Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
30---
31 gcc/config/aarch64/aarch64.cc | 8 ++-
32 gcc/testsuite/gcc.dg/rtl/aarch64/pr111411.c | 57 +++++++++++++++++++++
33 2 files changed, 60 insertions(+), 5 deletions(-)
34 create mode 100644 gcc/testsuite/gcc.dg/rtl/aarch64/pr111411.c
35
36diff --git a/gcc/config/aarch64/aarch64.cc b/gcc/config/aarch64/aarch64.cc
37index 6118a3354ac..9b1f791ca8b 100644
38--- a/gcc/config/aarch64/aarch64.cc
39+++ b/gcc/config/aarch64/aarch64.cc
40@@ -26154,11 +26154,9 @@ aarch64_operands_ok_for_ldpstp (rtx *operands, bool load,
41 gcc_assert (known_eq (GET_MODE_SIZE (GET_MODE (mem_1)),
42 GET_MODE_SIZE (GET_MODE (mem_2))));
43
44- /* One of the memory accesses must be a mempair operand.
45- If it is not the first one, they need to be swapped by the
46- peephole. */
47- if (!aarch64_mem_pair_operand (mem_1, GET_MODE (mem_1))
48- && !aarch64_mem_pair_operand (mem_2, GET_MODE (mem_2)))
49+ /* The lower memory access must be a mem-pair operand. */
50+ rtx lower_mem = reversed ? mem_2 : mem_1;
51+ if (!aarch64_mem_pair_operand (lower_mem, GET_MODE (lower_mem)))
52 return false;
53
54 if (REG_P (reg_1) && FP_REGNUM_P (REGNO (reg_1)))
55diff --git a/gcc/testsuite/gcc.dg/rtl/aarch64/pr111411.c b/gcc/testsuite/gcc.dg/rtl/aarch64/pr111411.c
56new file mode 100644
57index 00000000000..ad07e9c6c89
58--- /dev/null
59+++ b/gcc/testsuite/gcc.dg/rtl/aarch64/pr111411.c
60@@ -0,0 +1,57 @@
61+/* { dg-do compile { target aarch64*-*-* } } */
62+/* { dg-require-effective-target lp64 } */
63+/* { dg-options "-O -fdisable-rtl-postreload -fpeephole2 -fno-schedule-fusion" } */
64+
65+extern int data[];
66+
67+void __RTL (startwith ("ira")) foo (void *ptr)
68+{
69+ (function "foo"
70+ (param "ptr"
71+ (DECL_RTL (reg/v:DI <0> [ ptr ]))
72+ (DECL_RTL_INCOMING (reg/v:DI x0 [ ptr ]))
73+ ) ;; param "ptr"
74+ (insn-chain
75+ (block 2
76+ (edge-from entry (flags "FALLTHRU"))
77+ (cnote 3 [bb 2] NOTE_INSN_BASIC_BLOCK)
78+ (insn 4 (set (reg:DI <0>) (reg:DI x0)))
79+ (insn 5 (set (reg:DI <1>)
80+ (plus:DI (reg:DI <0>) (const_int 768))))
81+ (insn 6 (set (mem:SI (plus:DI (reg:DI <0>)
82+ (const_int 508)) [1 &data+508 S4 A4])
83+ (const_int 0)))
84+ (insn 7 (set (mem:SI (plus:DI (reg:DI <1>)
85+ (const_int -256)) [1 &data+512 S4 A4])
86+ (const_int 0)))
87+ (edge-to exit (flags "FALLTHRU"))
88+ ) ;; block 2
89+ ) ;; insn-chain
90+ ) ;; function
91+}
92+
93+void __RTL (startwith ("ira")) bar (void *ptr)
94+{
95+ (function "bar"
96+ (param "ptr"
97+ (DECL_RTL (reg/v:DI <0> [ ptr ]))
98+ (DECL_RTL_INCOMING (reg/v:DI x0 [ ptr ]))
99+ ) ;; param "ptr"
100+ (insn-chain
101+ (block 2
102+ (edge-from entry (flags "FALLTHRU"))
103+ (cnote 3 [bb 2] NOTE_INSN_BASIC_BLOCK)
104+ (insn 4 (set (reg:DI <0>) (reg:DI x0)))
105+ (insn 5 (set (reg:DI <1>)
106+ (plus:DI (reg:DI <0>) (const_int 768))))
107+ (insn 6 (set (mem:SI (plus:DI (reg:DI <1>)
108+ (const_int -256)) [1 &data+512 S4 A4])
109+ (const_int 0)))
110+ (insn 7 (set (mem:SI (plus:DI (reg:DI <0>)
111+ (const_int 508)) [1 &data+508 S4 A4])
112+ (const_int 0)))
113+ (edge-to exit (flags "FALLTHRU"))
114+ ) ;; block 2
115+ ) ;; insn-chain
116+ ) ;; function
117+}
diff --git a/meta/recipes-devtools/gcc/gcc/0026-arm-fully-validate-mem_noofs_operand-PR120351.patch b/meta/recipes-devtools/gcc/gcc/0026-arm-fully-validate-mem_noofs_operand-PR120351.patch
new file mode 100644
index 0000000000..3f324fdc22
--- /dev/null
+++ b/meta/recipes-devtools/gcc/gcc/0026-arm-fully-validate-mem_noofs_operand-PR120351.patch
@@ -0,0 +1,95 @@
1From bb7adc5dab8bcee2ef1c0d2af370ea77c49bb5c5 Mon Sep 17 00:00:00 2001
2From: Richard Earnshaw <rearnsha@arm.com>
3Date: Mon, 19 May 2025 16:19:39 +0100
4Subject: [PATCH] arm: fully validate mem_noofs_operand [PR120351]
5
6It's not enough to just check that a memory operand is of the form
7mem(reg); after RA we also need to validate the register being used.
8The safest way to do this is to call memory_operand.
9
10 PR target/120351
11
12gcc/ChangeLog:
13
14 * config/arm/predicates.md (mem_noofs_operand): Also check the op
15 is a valid memory_operand.
16
17gcc/testsuite/ChangeLog:
18
19 * gcc.target/arm/pr120351.c: New test.
20
21Upstream-Status: Backport [https://gcc.gnu.org/cgit/gcc/commit/?id=e5bb7a328eb71daa02d15b48d3a6c6b8cd24abc5]
22Signed-off-by: Khem Raj <raj.khem@gmail.com>
23---
24 gcc/config/arm/predicates.md | 3 +-
25 gcc/testsuite/gcc.target/arm/pr120351.c | 47 +++++++++++++++++++++++++
26 2 files changed, 49 insertions(+), 1 deletion(-)
27 create mode 100644 gcc/testsuite/gcc.target/arm/pr120351.c
28
29diff --git a/gcc/config/arm/predicates.md b/gcc/config/arm/predicates.md
30index 75c06d9be25..655f60312de 100644
31--- a/gcc/config/arm/predicates.md
32+++ b/gcc/config/arm/predicates.md
33@@ -907,7 +907,8 @@
34
35 (define_predicate "mem_noofs_operand"
36 (and (match_code "mem")
37- (match_code "reg" "0")))
38+ (match_code "reg" "0")
39+ (match_operand 0 "memory_operand")))
40
41 (define_predicate "call_insn_operand"
42 (ior (and (match_code "symbol_ref")
43diff --git a/gcc/testsuite/gcc.target/arm/pr120351.c b/gcc/testsuite/gcc.target/arm/pr120351.c
44new file mode 100644
45index 00000000000..d8e9d73275c
46--- /dev/null
47+++ b/gcc/testsuite/gcc.target/arm/pr120351.c
48@@ -0,0 +1,47 @@
49+/* { dg-do assemble } */
50+/* { dg-require-effective-target arm_neon_ok } */
51+/* { dg-add-options arm_neon } */
52+/* { dg-additional-options "-O2" } */
53+
54+
55+typedef struct A
56+{
57+ int f1;
58+} A;
59+
60+__inline void ref (A* x)
61+{
62+ __atomic_fetch_add(&x->f1, 1, 0);
63+}
64+
65+typedef struct B
66+{
67+ A *d;
68+ int *ptr;
69+} B;
70+
71+void insertOne (B*, B*);
72+
73+void init (B *);
74+__inline void copy (B *p, B *q)
75+{
76+ p->d = q->d;
77+ p->ptr = q->ptr;
78+ ref (p->d);
79+}
80+
81+__inline void emplace(B* x)
82+{
83+ B dummy;
84+ B _tmp;
85+ init (&dummy);
86+ copy (&_tmp, &dummy);
87+ insertOne(x, &_tmp);
88+}
89+
90+void testing ()
91+{
92+ B test;
93+ init (&test);
94+ emplace(&test);
95+}
diff --git a/meta/recipes-devtools/gcc/gcc/0026-fix-incorrect-preprocessor-line-numbers.patch b/meta/recipes-devtools/gcc/gcc/0026-fix-incorrect-preprocessor-line-numbers.patch
new file mode 100644
index 0000000000..f799085662
--- /dev/null
+++ b/meta/recipes-devtools/gcc/gcc/0026-fix-incorrect-preprocessor-line-numbers.patch
@@ -0,0 +1,475 @@
1From edf745dc519ddbfef127e2789bf11bfbacd300b7 Mon Sep 17 00:00:00 2001
2From: Jakub Jelinek <jakub@redhat.com>
3Date: Wed, 7 May 2025 17:25:42 +0200
4Subject: libcpp: Further fixes for incorrect line numbers in large files
5 [PR120061]
6MIME-Version: 1.0
7Content-Type: text/plain; charset=UTF-8
8Content-Transfer-Encoding: 8bit
9
10The backport of the PR108900 fix to 14 branch broke building chromium
11because static_assert (__LINE__ == expected_line_number, ""); now triggers
12as the __LINE__ values are off by one.
13This isn't the case on the trunk and 15 branch because we've switched
14to 64-bit location_t and so one actually needs far longer header files
15to trigger it.
16https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120061#c11
17https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120061#c12
18contain (large) testcases in patch form which show on the 14 branch
19that the first one used to fail before the PR108900 backport and now
20works correctly, while the second one attempts to match the chromium
21behavior and it used to pass before the PR108900 backport and now it
22FAILs.
23The two testcases show rare problematic cases, because
24do_include_common -> parse_include -> check_eol -> check_eol_1 ->
25cpp_get_token_1 -> _cpp_lex_token -> _cpp_lex_direct -> linemap_line_start
26triggers there
27 /* Allocate the new line_map. However, if the current map only has a
28 single line we can sometimes just increase its column_bits instead. */
29 if (line_delta < 0
30 || last_line != ORDINARY_MAP_STARTING_LINE_NUMBER (map)
31 || SOURCE_COLUMN (map, highest) >= (1U << (column_bits - range_bits))
32 || ( /* We can't reuse the map if the line offset is sufficiently
33 large to cause overflow when computing location_t values. */
34 (to_line - ORDINARY_MAP_STARTING_LINE_NUMBER (map))
35 >= (((uint64_t) 1)
36 << (CHAR_BIT * sizeof (linenum_type) - column_bits)))
37 || range_bits < map->m_range_bits)
38 map = linemap_check_ordinary
39 (const_cast <line_map *>
40 (linemap_add (set, LC_RENAME,
41 ORDINARY_MAP_IN_SYSTEM_HEADER_P (map),
42 ORDINARY_MAP_FILE_NAME (map),
43 to_line)));
44and so creates a new ordinary map on the line right after the
45(problematic) #include line.
46Now, in the spot that r14-11679-g8a884140c2bcb7 patched,
47pfile->line_table->highest_location in all 3 tests (also
48https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120061#c13
49) is before the decrement the start of the line after the #include line and so
50the decrement is really desirable in that case to put highest_location
51somewhere on the line where the #include actually is.
52But at the same time it is also undesirable, because if we do decrement it,
53then linemap_add LC_ENTER called from _cpp_do_file_change will then
54 /* Generate a start_location above the current highest_location.
55 If possible, make the low range bits be zero. */
56 location_t start_location = set->highest_location + 1;
57 unsigned range_bits = 0;
58 if (start_location < LINE_MAP_MAX_LOCATION_WITH_COLS)
59 range_bits = set->default_range_bits;
60 start_location += (1 << range_bits) - 1;
61 start_location &= ~((1 << range_bits) - 1);
62
63 linemap_assert (!LINEMAPS_ORDINARY_USED (set)
64 || (start_location
65 >= MAP_START_LOCATION (LINEMAPS_LAST_ORDINARY_MAP (set))));
66and we can end up with the new LC_ENTER ordinary map having the same
67start_location as the preceding LC_RENAME one.
68Next thing that happens is computation of included_from:
69 if (reason == LC_ENTER)
70 {
71 if (set->depth == 0)
72 map->included_from = 0;
73 else
74 /* The location of the end of the just-closed map. */
75 map->included_from
76 = (((map[0].start_location - 1 - map[-1].start_location)
77 & ~((1 << map[-1].m_column_and_range_bits) - 1))
78 + map[-1].start_location);
79The normal case (e.g. with the testcase included at the start of this comment) is
80that map[-1] starts somewhere earlier and so map->included_from computation above
81nicely computes location_t which expands to the start of the #include line.
82With r14-11679 reverted, for #c11 as well as #c12
83map[0].start_location == map[-1].start_location above, and so it is
84((location_t) -1 & ~((1 << map[-1].m_column_and_range_bits) - 1)))
85+ map[-1].start_location,
86which happens to be start of the #include line.
87For #c11 map[0].start_location is 0x500003a0 and map[-1] has
88m_column_and_range_bits 7 and map[-2] has m_column_and_range_bits 12 and
89map[0].included_from is set to 0x50000320.
90For #c12 map[0].start_location is 0x606c0402 and map[-2].start_location is
910x606c0400 and m_column_and_range_bits is 0 for all 3 maps.
92map[0].included_from is set to 0x606c0401.
93The last important part is again in linemap_add when doing LC_LEAVE:
94 /* (MAP - 1) points to the map we are leaving. The
95 map from which (MAP - 1) got included should be the map
96 that comes right before MAP in the same file. */
97 from = linemap_included_from_linemap (set, map - 1);
98
99 /* A TO_FILE of NULL is special - we use the natural values. */
100 if (to_file == NULL)
101 {
102 to_file = ORDINARY_MAP_FILE_NAME (from);
103 to_line = SOURCE_LINE (from, from[1].start_location);
104 sysp = ORDINARY_MAP_IN_SYSTEM_HEADER_P (from);
105 }
106Here it wants to compute the right to_line which ought to be the line after
107the #include directive.
108On the #c11 testcase that doesn't work correctly though, because
109map[-1].included_from is 0x50000320, from[0] for that is LC_ENTER with
110start_location 0x4080 and m_column_and_range_bits 12 but note that we've
111earlier computed map[-1].start_location + (-1 & 0xffffff80) and so only
112decreased by 7 bits, so to_line is still on the line with #include and not
113after it. In the #c12 that doesn't happen, all the ordinary maps involved
114there had 0 m_column_and_range_bits and so this computes correct line.
115
116Below is a fix for the trunk including testcases using the
117location_overflow_plugin hack to simulate the bugs without needing huge
118files (in the 14 case it is just 330KB and almost 10MB, but in the 15
119case it would need to be far bigger).
120The pre- r15-9018 trunk has
121FAIL: gcc.dg/plugin/location-overflow-test-pr116047.c -fplugin=./location_overflow_plugin.so scan-file static_assert[^\n\r]*6[^\n\r]*== 6
122and current trunk
123FAIL: gcc.dg/plugin/location-overflow-test-pr116047.c -fplugin=./location_overflow_plugin.so scan-file static_assert[^\n\r]*6[^\n\r]*== 6
124FAIL: gcc.dg/plugin/location-overflow-test-pr120061.c -fplugin=./location_overflow_plugin.so scan-file static_assert[^\n\r]*5[^\n\r]*== 5
125and with the patch everything PASSes.
126I'll post afterwards a 14 version of the patch.
127
128The patch reverts the r15-9018 change, because it is incorrect,
129we really need to decrement it even when crossing ordinary map
130boundaries, so that the location is not on the line after the #include
131line but somewhere on the #include line. It also patches two spots
132in linemap_add mentioned above to make sure we get correct locations
133both in the included_from location_t when doing LC_ENTER (second
134line-map.cc hunk) and when doing LC_LEAVE to compute the right to_line
135(first line-map.cc hunk), both in presence of an added LC_RENAME
136with the same start_location as the following LC_ENTER (i.e. the
137problematic cases).
138The LC_ENTER hunk is mostly to ensure included_form location_t is
139at the start of the #include line (column 0), without it we can
140decrease include_from not enough and end up at some random column
141in the middle of the line, because it is masking away
142map[-1].m_column_and_range_bits bits even when in the end the resulting
143include_from location_t will be found in map[-2] map with perhaps
144different m_column_and_range_bits. That alone doesn't fix the bug
145though.
146The more important is the LC_LEAVE hunk and the problem there is
147caused by linemap_line_start not actually doing
148 r = set->highest_line + (line_delta << map->m_column_and_range_bits);
149when adding a new map (the LC_RENAME one because we need to switch to
150different number of directly encoded ranges, or columns, etc.).
151So, in the original PR108900 case that
152 to_line = SOURCE_LINE (from, from[1].start_location);
153doesn't do the right thing, from there is the last < 0x50000000 map
154with m_column_and_range_bits 12, from[1] is the first one above it
155and map[-1].included_from is the correct location of column 0 on
156the #include line, but as the new LC_RENAME map has been created without
157actually increasing highest_location to be on the new line (we've just
158set to_line of the new LC_RENAME map to the correct line),
159 to_line = SOURCE_LINE (from, from[1].start_location);
160stays on the same source line. I've tried to just replace that with
161 to_line = SOURCE_LINE (from, linemap_included_from (map - 1)) + 1;
162i.e. just find out the #include line from map[-1].included_from and
163add 1 to it, unfortunately that breaks the
164c-c++-common/cpp/line-4.c
165test where we expect to stay on the same 0 line for LC_LEAVE from
166<command line> and gcc.dg/cpp/trad/Wunused.c, gcc.dg/cpp/trad/builtins.c
167and c-c++-common/analyzer/named-constants-via-macros-traditional.c tests
168all with -traditional-cpp preprocessing where to_line is also off-by-one
169from the expected one.
170So, this patch instead conditionalizes it, uses the
171 to_line = SOURCE_LINE (from, linemap_included_from (map - 1)) + 1;
172way only if from[1] is a LC_RENAME map (rather than the usual
173LC_ENTER one), that should limit it to the problematic cases of when
174parse_include peeked after EOL and had to create LC_RENAME map with
175the same start_location as the LC_ENTER after it.
176
177Some further justification for the LC_ENTER hunk, using the
178https://gcc.gnu.org/pipermail/gcc-patches/2025-May/682774.html testcase
179(old is 14 before r14-11679, vanilla current 14 and new with the 14 patch)
180I get
181$ /usr/src/gcc-14/obj/gcc/cc1.old -quiet -std=c23 pr116047.c -nostdinc
182In file included from pr116047-1.h:327677:21,
183 from pr116047.c:4:
184pr116047-2.h:1:1: error: unknown type name ‘a’
185 1 | a b c;
186 | ^
187pr116047-2.h:1:5: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘c’
188 1 | a b c;
189 | ^
190pr116047-1.h:327677:1: error: static assertion failed: ""
191327677 | #include "pr116047-2.h"
192 | ^~~~~~~~~~~~~
193$ /usr/src/gcc-14/obj/gcc/cc1.vanilla -quiet -std=c23 pr116047.c -nostdinc
194In file included from pr116047-1.h:327678,
195 from pr116047.c:4:
196pr116047-2.h:1:1: error: unknown type name ‘a’
197 1 | a b c;
198 | ^
199pr116047-2.h:1:5: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘c’
200 1 | a b c;
201 | ^
202$ /usr/src/gcc-14/obj/gcc/cc1.new -quiet -std=c23 pr116047.c -nostdinc
203In file included from pr116047-1.h:327677,
204 from pr116047.c:4:
205pr116047-2.h:1:1: error: unknown type name ‘a’
206 1 | a b c;
207 | ^
208pr116047-2.h:1:5: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘c’
209 1 | a b c;
210 | ^
211
212pr116047-1.h has on lines 327677+327678:
213 #include "pr116047-2.h"
214 static_assert (__LINE__ == 327678, "");
215so the static_assert failure is something that was dealt mainly in the
216LC_LEAVE hunk and files.cc reversion, but please have a look at the
217In file included from lines.
21814.2 emits correct line (#include "pr116047-2.h" is indeed on line
219327677) but some random column in there (which is not normally printed
220for smaller headers; 21 is the . before extension in the filename).
221Current trunk emits incorrect line (327678 instead of 327677, clearly
222it didn't decrement).
223And the patched compiler emits the right line with no column, as would
224be printed if I remove e.g. 300000 newlines from the file.
225
2262025-05-07 Jakub Jelinek <jakub@redhat.com>
227
228 PR preprocessor/108900
229 PR preprocessor/116047
230 PR preprocessor/120061
231 * files.cc (_cpp_stack_file): Revert 2025-03-28 change.
232 * line-map.cc (linemap_add): Use
233 SOURCE_LINE (from, linemap_included_from (map - 1)) + 1; instead of
234 SOURCE_LINE (from, from[1].start_location); to compute to_line
235 for LC_LEAVE. For LC_ENTER included_from computation, look at
236 map[-2] or even lower if map[-1] has the same start_location as
237 map[0].
238
239 * gcc.dg/plugin/plugin.exp: Add location-overflow-test-pr116047.c
240 and location-overflow-test-pr120061.c.
241 * gcc.dg/plugin/location_overflow_plugin.cc (plugin_init): Don't error
242 on unknown values, instead just break. Handle 0x4fHHHHHH arguments
243 differently.
244 * gcc.dg/plugin/location-overflow-test-pr116047.c: New test.
245 * gcc.dg/plugin/location-overflow-test-pr116047-1.h: New test.
246 * gcc.dg/plugin/location-overflow-test-pr116047-2.h: New test.
247 * gcc.dg/plugin/location-overflow-test-pr120061.c: New test.
248 * gcc.dg/plugin/location-overflow-test-pr120061-1.h: New test.
249 * gcc.dg/plugin/location-overflow-test-pr120061-2.h: New test.
250
251Upstream-Status: Backport [https://gcc.gnu.org/cgit/gcc/commit/?id=edf745dc519ddbfef127e2789bf11bfbacd300b7]
252Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
253---
254 .../plugin/location-overflow-test-pr116047-1.h | 6 +++
255 .../plugin/location-overflow-test-pr116047-2.h | 1 +
256 .../plugin/location-overflow-test-pr116047.c | 5 +++
257 .../plugin/location-overflow-test-pr120061-1.h | 6 +++
258 .../plugin/location-overflow-test-pr120061-2.h | 1 +
259 .../plugin/location-overflow-test-pr120061.c | 6 +++
260 .../gcc.dg/plugin/location_overflow_plugin.cc | 15 +++++--
261 gcc/testsuite/gcc.dg/plugin/plugin.exp | 4 +-
262 libcpp/files.cc | 8 ----
263 libcpp/line-map.cc | 48 ++++++++++++++++++----
264 10 files changed, 80 insertions(+), 20 deletions(-)
265 create mode 100644 gcc/testsuite/gcc.dg/plugin/location-overflow-test-pr116047-1.h
266 create mode 100644 gcc/testsuite/gcc.dg/plugin/location-overflow-test-pr116047-2.h
267 create mode 100644 gcc/testsuite/gcc.dg/plugin/location-overflow-test-pr116047.c
268 create mode 100644 gcc/testsuite/gcc.dg/plugin/location-overflow-test-pr120061-1.h
269 create mode 100644 gcc/testsuite/gcc.dg/plugin/location-overflow-test-pr120061-2.h
270 create mode 100644 gcc/testsuite/gcc.dg/plugin/location-overflow-test-pr120061.c
271
272diff --git a/gcc/testsuite/gcc.dg/plugin/location-overflow-test-pr116047-1.h b/gcc/testsuite/gcc.dg/plugin/location-overflow-test-pr116047-1.h
273new file mode 100644
274index 000000000000..3dd6434a938b
275--- /dev/null
276+++ b/gcc/testsuite/gcc.dg/plugin/location-overflow-test-pr116047-1.h
277@@ -0,0 +1,6 @@
278+
279+
280+
281+
282+#include "location-overflow-test-pr116047-2.h"
283+static_assert (__LINE__ == 6, "");
284diff --git a/gcc/testsuite/gcc.dg/plugin/location-overflow-test-pr116047-2.h b/gcc/testsuite/gcc.dg/plugin/location-overflow-test-pr116047-2.h
285new file mode 100644
286index 000000000000..048f715b4656
287--- /dev/null
288+++ b/gcc/testsuite/gcc.dg/plugin/location-overflow-test-pr116047-2.h
289@@ -0,0 +1 @@
290+int i;
291diff --git a/gcc/testsuite/gcc.dg/plugin/location-overflow-test-pr116047.c b/gcc/testsuite/gcc.dg/plugin/location-overflow-test-pr116047.c
292new file mode 100644
293index 000000000000..75161fa5f055
294--- /dev/null
295+++ b/gcc/testsuite/gcc.dg/plugin/location-overflow-test-pr116047.c
296@@ -0,0 +1,5 @@
297+/* PR preprocessor/116047 */
298+/* { dg-do preprocess } */
299+/* { dg-options "-nostdinc -std=c23 -fplugin-arg-location_overflow_plugin-value=0x4ffe0180" } */
300+#include "location-overflow-test-pr116047-1.h"
301+/* { dg-final { scan-file location-overflow-test-pr116047.i "static_assert\[^\n\r]\*6\[^\n\r]\*== 6" } } */
302diff --git a/gcc/testsuite/gcc.dg/plugin/location-overflow-test-pr120061-1.h b/gcc/testsuite/gcc.dg/plugin/location-overflow-test-pr120061-1.h
303new file mode 100644
304index 000000000000..ebf7704f568e
305--- /dev/null
306+++ b/gcc/testsuite/gcc.dg/plugin/location-overflow-test-pr120061-1.h
307@@ -0,0 +1,6 @@
308+
309+
310+
311+
312+#include "location-overflow-test-pr120061-2.h"
313+
314diff --git a/gcc/testsuite/gcc.dg/plugin/location-overflow-test-pr120061-2.h b/gcc/testsuite/gcc.dg/plugin/location-overflow-test-pr120061-2.h
315new file mode 100644
316index 000000000000..048f715b4656
317--- /dev/null
318+++ b/gcc/testsuite/gcc.dg/plugin/location-overflow-test-pr120061-2.h
319@@ -0,0 +1 @@
320+int i;
321diff --git a/gcc/testsuite/gcc.dg/plugin/location-overflow-test-pr120061.c b/gcc/testsuite/gcc.dg/plugin/location-overflow-test-pr120061.c
322new file mode 100644
323index 000000000000..e8e803898da3
324--- /dev/null
325+++ b/gcc/testsuite/gcc.dg/plugin/location-overflow-test-pr120061.c
326@@ -0,0 +1,6 @@
327+/* PR preprocessor/120061 */
328+/* { dg-do preprocess } */
329+/* { dg-options "-nostdinc -std=c23 -fplugin-arg-location_overflow_plugin-value=0x61000000" } */
330+#include "location-overflow-test-pr120061-1.h"
331+static_assert (__LINE__ == 5, "");
332+/* { dg-final { scan-file location-overflow-test-pr120061.i "static_assert\[^\n\r]\*5\[^\n\r]\*== 5" } } */
333diff --git a/gcc/testsuite/gcc.dg/plugin/location_overflow_plugin.cc b/gcc/testsuite/gcc.dg/plugin/location_overflow_plugin.cc
334index f731b1421b0f..f770d35ea518 100644
335--- a/gcc/testsuite/gcc.dg/plugin/location_overflow_plugin.cc
336+++ b/gcc/testsuite/gcc.dg/plugin/location_overflow_plugin.cc
337@@ -85,9 +85,18 @@ plugin_init (struct plugin_name_args *plugin_info,
338 error_at (UNKNOWN_LOCATION, "missing plugin argument");
339
340 /* With 64-bit locations, the thresholds are larger, so shift the base
341- location argument accordingly. */
342+ location argument accordingly, basically remap the GCC 14 32-bit
343+ location_t argument values to 64-bit location_t counterparts. There
344+ is one exception for values slightly before the 32-bit location_t
345+ LINE_MAP_MAX_LOCATION_WITH_PACKED_RANGES (0x50000000). In that case
346+ remap them to the same amount before the 64-bit location_t
347+ LINE_MAP_MAX_LOCATION_WITH_PACKED_RANGES -
348+ ((location_t) 0x50000000) << 31. */
349 gcc_assert (sizeof (location_t) == sizeof (uint64_t));
350- base_location = 1 + ((base_location - 1) << 31);
351+ if (base_location >= 0x4f000000 && base_location <= 0x4fffffff)
352+ base_location += (((location_t) 0x50000000) << 31) - 0x50000000;
353+ else
354+ base_location = 1 + ((base_location - 1) << 31);
355
356 register_callback (plugin_info->base_name,
357 PLUGIN_PRAGMAS,
358@@ -107,7 +116,7 @@ plugin_init (struct plugin_name_args *plugin_info,
359 break;
360
361 default:
362- error_at (UNKNOWN_LOCATION, "unrecognized value for plugin argument");
363+ break;
364 }
365
366 return 0;
367diff --git a/gcc/testsuite/gcc.dg/plugin/plugin.exp b/gcc/testsuite/gcc.dg/plugin/plugin.exp
368index 90c91621d0aa..96e76d2e0c36 100644
369--- a/gcc/testsuite/gcc.dg/plugin/plugin.exp
370+++ b/gcc/testsuite/gcc.dg/plugin/plugin.exp
371@@ -138,7 +138,9 @@ set plugin_test_list [list \
372 { location_overflow_plugin.cc \
373 location-overflow-test-1.c \
374 location-overflow-test-2.c \
375- location-overflow-test-pr83173.c } \
376+ location-overflow-test-pr83173.c \
377+ location-overflow-test-pr116047.c \
378+ location-overflow-test-pr120061.c } \
379 { must_tail_call_plugin.cc \
380 must-tail-call-1.c \
381 must-tail-call-2.c } \
382diff --git a/libcpp/files.cc b/libcpp/files.cc
383index c1abde6639fe..d80c4bfd9077 100644
384--- a/libcpp/files.cc
385+++ b/libcpp/files.cc
386@@ -1047,14 +1047,6 @@ _cpp_stack_file (cpp_reader *pfile, _cpp_file *file, include_type type,
387 && (pfile->line_table->highest_location
388 != LINE_MAP_MAX_LOCATION - 1));
389
390- if (decrement && LINEMAPS_ORDINARY_USED (pfile->line_table))
391- {
392- const line_map_ordinary *map
393- = LINEMAPS_LAST_ORDINARY_MAP (pfile->line_table);
394- if (map && map->start_location == pfile->line_table->highest_location)
395- decrement = false;
396- }
397-
398 if (decrement)
399 pfile->line_table->highest_location--;
400
401diff --git a/libcpp/line-map.cc b/libcpp/line-map.cc
402index 17e7f12551c0..cf6557117c81 100644
403--- a/libcpp/line-map.cc
404+++ b/libcpp/line-map.cc
405@@ -621,8 +621,8 @@ linemap_add (line_maps *set, enum lc_reason reason,
406 #include "included", inside the same "includer" file. */
407
408 linemap_assert (!MAIN_FILE_P (map - 1));
409- /* (MAP - 1) points to the map we are leaving. The
410- map from which (MAP - 1) got included should be the map
411+ /* (MAP - 1) points to the map we are leaving. The
412+ map from which (MAP - 1) got included should be usually the map
413 that comes right before MAP in the same file. */
414 from = linemap_included_from_linemap (set, map - 1);
415
416@@ -630,7 +630,24 @@ linemap_add (line_maps *set, enum lc_reason reason,
417 if (to_file == NULL)
418 {
419 to_file = ORDINARY_MAP_FILE_NAME (from);
420- to_line = SOURCE_LINE (from, from[1].start_location);
421+ /* Compute the line on which the map resumes, for #include this
422+ should be the line after the #include line. Usually FROM is
423+ the map right before LC_ENTER map - the first map of the included
424+ file, and in that case SOURCE_LINE (from, from[1].start_location);
425+ computes the right line (and does handle even some special cases
426+ (e.g. where for returning from <command line> we still want to
427+ be at line 0 or some -traditional-cpp cases). In rare cases
428+ FROM can be followed by LC_RENAME created by linemap_line_start
429+ for line right after #include line. If that happens,
430+ start_location of the FROM[1] map will be the same as
431+ start_location of FROM[2] LC_ENTER, but FROM[1] start_location
432+ might not have advance enough for moving to a full next line.
433+ In that case compute the line of #include line and add 1 to it
434+ to advance to the next line. See PR120061. */
435+ if (from[1].reason == LC_RENAME)
436+ to_line = SOURCE_LINE (from, linemap_included_from (map - 1)) + 1;
437+ else
438+ to_line = SOURCE_LINE (from, from[1].start_location);
439 sysp = ORDINARY_MAP_IN_SYSTEM_HEADER_P (from);
440 }
441 else
442@@ -660,11 +677,26 @@ linemap_add (line_maps *set, enum lc_reason reason,
443 if (set->depth == 0)
444 map->included_from = 0;
445 else
446- /* The location of the end of the just-closed map. */
447- map->included_from
448- = (((map[0].start_location - 1 - map[-1].start_location)
449- & ~((loc_one << map[-1].m_column_and_range_bits) - 1))
450- + map[-1].start_location);
451+ {
452+ /* Compute location from whence this line map was included.
453+ For #include this should be preferrably column 0 of the
454+ line on which #include directive appears.
455+ map[-1] is the just closed map and usually included_from
456+ falls within that map. In rare cases linemap_line_start
457+ can insert a new LC_RENAME map for the line immediately
458+ after #include line, in that case map[-1] will have the
459+ same start_location as the new one and so included_from
460+ would not be from map[-1] but likely map[-2]. If that
461+ happens, mask off map[-2] m_column_and_range_bits bits
462+ instead of map[-1]. See PR120061. */
463+ int i = -1;
464+ while (map[i].start_location == map[0].start_location)
465+ --i;
466+ map->included_from
467+ = (((map[0].start_location - 1 - map[i].start_location)
468+ & ~((loc_one << map[i].m_column_and_range_bits) - 1))
469+ + map[i].start_location);
470+ }
471 set->depth++;
472 if (set->trace_includes)
473 trace_include (set, map);
474--
475
diff --git a/meta/recipes-devtools/gcc/gcc/0027-Fix-gcc-vect-module-testcases.patch b/meta/recipes-devtools/gcc/gcc/0027-Fix-gcc-vect-module-testcases.patch
deleted file mode 100644
index 4b89036814..0000000000
--- a/meta/recipes-devtools/gcc/gcc/0027-Fix-gcc-vect-module-testcases.patch
+++ /dev/null
@@ -1,26 +0,0 @@
1Upstream-Status: Backport [https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=948dbc5ee45f9ffd5f41fd6782704081cc7c8c27]
2
3Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
4
5diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-10.c b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-10.c
6index ed63ff59cc0..009c849b7e7 100644
7--- a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-10.c
8+++ b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-10.c
9@@ -1,3 +1,5 @@
10+/* Since this uses dg-additional-sources, need to specify `dg-do run` instead of the default. */
11+/* { dg-do run } */
12 /* { dg-require-effective-target vect_simd_clones } */
13 /* { dg-additional-options "-fopenmp-simd" } */
14 /* { dg-additional-options "-mavx" { target avx_runtime } } */
15diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-12.c b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-12.c
16index c44471e35bc..4699a3f3c80 100644
17--- a/gcc/testsuite/gcc.dg/vect/vect-simd-clone-12.c
18+++ b/gcc/testsuite/gcc.dg/vect/vect-simd-clone-12.c
19@@ -1,3 +1,5 @@
20+/* Since this uses dg-additional-sources, need to specify `dg-do run` instead of the default. */
21+/* { dg-do run } */
22 /* { dg-require-effective-target vect_simd_clones } */
23 /* { dg-additional-options "-fopenmp-simd" } */
24 /* { dg-additional-options "-mavx" { target avx_runtime } } */
25--
262.43.0
diff --git a/meta/recipes-devtools/gcc/gcc/CVE-2023-4039.patch b/meta/recipes-devtools/gcc/gcc/CVE-2023-4039.patch
deleted file mode 100644
index 81b5067c33..0000000000
--- a/meta/recipes-devtools/gcc/gcc/CVE-2023-4039.patch
+++ /dev/null
@@ -1,3093 +0,0 @@
1From: Richard Sandiford <richard.sandiford@arm.com>
2Subject: [PATCH 00/19] aarch64: Fix -fstack-protector issue
3Date: Tue, 12 Sep 2023 16:25:10 +0100
4
5This series of patches fixes deficiencies in GCC's -fstack-protector
6implementation for AArch64 when using dynamically allocated stack space.
7This is CVE-2023-4039. See:
8
9https://developer.arm.com/Arm%20Security%20Center/GCC%20Stack%20Protector%20Vulnerability%20AArch64
10https://github.com/metaredteam/external-disclosures/security/advisories/GHSA-x7ch-h5rf-w2mf
11
12for more details.
13
14The fix is to put the saved registers above the locals area when
15-fstack-protector is used.
16
17The series also fixes a stack-clash problem that I found while working
18on the CVE. In unpatched sources, the stack-clash problem would only
19trigger for unrealistic numbers of arguments (8K 64-bit arguments, or an
20equivalent). But it would be a more significant issue with the new
21-fstack-protector frame layout. It's therefore important that both
22problems are fixed together.
23
24Some reorganisation of the code seemed necessary to fix the problems in a
25cleanish way. The series is therefore quite long, but only a handful of
26patches should have any effect on code generation.
27
28See the individual patches for a detailed description.
29
30Tested on aarch64-linux-gnu. Pushed to trunk and to all active branches.
31I've also pushed backports to GCC 7+ to vendors/ARM/heads/CVE-2023-4039.
32
33CVE: CVE-2023-4039
34Upstream-Status: Backport
35Signed-off-by: Ross Burton <ross.burton@arm.com>
36
37
38From 71a2aa2127283f450c623d3604dbcabe0e14a8d4 Mon Sep 17 00:00:00 2001
39From: Richard Sandiford <richard.sandiford@arm.com>
40Date: Tue, 12 Sep 2023 16:07:12 +0100
41Subject: [PATCH 01/19] aarch64: Use local frame vars in shrink-wrapping code
42
43aarch64_layout_frame uses a shorthand for referring to
44cfun->machine->frame:
45
46 aarch64_frame &frame = cfun->machine->frame;
47
48This patch does the same for some other heavy users of the structure.
49No functional change intended.
50
51gcc/
52 * config/aarch64/aarch64.cc (aarch64_save_callee_saves): Use
53 a local shorthand for cfun->machine->frame.
54 (aarch64_restore_callee_saves, aarch64_get_separate_components):
55 (aarch64_process_components): Likewise.
56 (aarch64_allocate_and_probe_stack_space): Likewise.
57 (aarch64_expand_prologue, aarch64_expand_epilogue): Likewise.
58 (aarch64_layout_frame): Use existing shorthand for one more case.
59---
60 gcc/config/aarch64/aarch64.cc | 123 ++++++++++++++++++----------------
61 1 file changed, 64 insertions(+), 59 deletions(-)
62
63diff --git a/gcc/config/aarch64/aarch64.cc b/gcc/config/aarch64/aarch64.cc
64index 822a2b49a46..5d473d161d9 100644
65--- a/gcc/config/aarch64/aarch64.cc
66+++ b/gcc/config/aarch64/aarch64.cc
67@@ -8612,7 +8612,7 @@ aarch64_layout_frame (void)
68 frame.is_scs_enabled
69 = (!crtl->calls_eh_return
70 && sanitize_flags_p (SANITIZE_SHADOW_CALL_STACK)
71- && known_ge (cfun->machine->frame.reg_offset[LR_REGNUM], 0));
72+ && known_ge (frame.reg_offset[LR_REGNUM], 0));
73
74 /* When shadow call stack is enabled, the scs_pop in the epilogue will
75 restore x30, and we don't need to pop x30 again in the traditional
76@@ -9078,6 +9078,7 @@ aarch64_save_callee_saves (poly_int64 start_offset,
77 unsigned start, unsigned limit, bool skip_wb,
78 bool hard_fp_valid_p)
79 {
80+ aarch64_frame &frame = cfun->machine->frame;
81 rtx_insn *insn;
82 unsigned regno;
83 unsigned regno2;
84@@ -9092,8 +9093,8 @@ aarch64_save_callee_saves (poly_int64 start_offset,
85 bool frame_related_p = aarch64_emit_cfi_for_reg_p (regno);
86
87 if (skip_wb
88- && (regno == cfun->machine->frame.wb_push_candidate1
89- || regno == cfun->machine->frame.wb_push_candidate2))
90+ && (regno == frame.wb_push_candidate1
91+ || regno == frame.wb_push_candidate2))
92 continue;
93
94 if (cfun->machine->reg_is_wrapped_separately[regno])
95@@ -9101,7 +9102,7 @@ aarch64_save_callee_saves (poly_int64 start_offset,
96
97 machine_mode mode = aarch64_reg_save_mode (regno);
98 reg = gen_rtx_REG (mode, regno);
99- offset = start_offset + cfun->machine->frame.reg_offset[regno];
100+ offset = start_offset + frame.reg_offset[regno];
101 rtx base_rtx = stack_pointer_rtx;
102 poly_int64 sp_offset = offset;
103
104@@ -9114,7 +9115,7 @@ aarch64_save_callee_saves (poly_int64 start_offset,
105 {
106 gcc_assert (known_eq (start_offset, 0));
107 poly_int64 fp_offset
108- = cfun->machine->frame.below_hard_fp_saved_regs_size;
109+ = frame.below_hard_fp_saved_regs_size;
110 if (hard_fp_valid_p)
111 base_rtx = hard_frame_pointer_rtx;
112 else
113@@ -9136,8 +9137,7 @@ aarch64_save_callee_saves (poly_int64 start_offset,
114 && (regno2 = aarch64_next_callee_save (regno + 1, limit)) <= limit
115 && !cfun->machine->reg_is_wrapped_separately[regno2]
116 && known_eq (GET_MODE_SIZE (mode),
117- cfun->machine->frame.reg_offset[regno2]
118- - cfun->machine->frame.reg_offset[regno]))
119+ frame.reg_offset[regno2] - frame.reg_offset[regno]))
120 {
121 rtx reg2 = gen_rtx_REG (mode, regno2);
122 rtx mem2;
123@@ -9187,6 +9187,7 @@ static void
124 aarch64_restore_callee_saves (poly_int64 start_offset, unsigned start,
125 unsigned limit, bool skip_wb, rtx *cfi_ops)
126 {
127+ aarch64_frame &frame = cfun->machine->frame;
128 unsigned regno;
129 unsigned regno2;
130 poly_int64 offset;
131@@ -9203,13 +9204,13 @@ aarch64_restore_callee_saves (poly_int64 start_offset, unsigned start,
132 rtx reg, mem;
133
134 if (skip_wb
135- && (regno == cfun->machine->frame.wb_pop_candidate1
136- || regno == cfun->machine->frame.wb_pop_candidate2))
137+ && (regno == frame.wb_pop_candidate1
138+ || regno == frame.wb_pop_candidate2))
139 continue;
140
141 machine_mode mode = aarch64_reg_save_mode (regno);
142 reg = gen_rtx_REG (mode, regno);
143- offset = start_offset + cfun->machine->frame.reg_offset[regno];
144+ offset = start_offset + frame.reg_offset[regno];
145 rtx base_rtx = stack_pointer_rtx;
146 if (mode == VNx2DImode && BYTES_BIG_ENDIAN)
147 aarch64_adjust_sve_callee_save_base (mode, base_rtx, anchor_reg,
148@@ -9220,8 +9221,7 @@ aarch64_restore_callee_saves (poly_int64 start_offset, unsigned start,
149 && (regno2 = aarch64_next_callee_save (regno + 1, limit)) <= limit
150 && !cfun->machine->reg_is_wrapped_separately[regno2]
151 && known_eq (GET_MODE_SIZE (mode),
152- cfun->machine->frame.reg_offset[regno2]
153- - cfun->machine->frame.reg_offset[regno]))
154+ frame.reg_offset[regno2] - frame.reg_offset[regno]))
155 {
156 rtx reg2 = gen_rtx_REG (mode, regno2);
157 rtx mem2;
158@@ -9326,6 +9326,7 @@ offset_12bit_unsigned_scaled_p (machine_mode mode, poly_int64 offset)
159 static sbitmap
160 aarch64_get_separate_components (void)
161 {
162+ aarch64_frame &frame = cfun->machine->frame;
163 sbitmap components = sbitmap_alloc (LAST_SAVED_REGNUM + 1);
164 bitmap_clear (components);
165
166@@ -9342,18 +9343,18 @@ aarch64_get_separate_components (void)
167 if (mode == VNx2DImode && BYTES_BIG_ENDIAN)
168 continue;
169
170- poly_int64 offset = cfun->machine->frame.reg_offset[regno];
171+ poly_int64 offset = frame.reg_offset[regno];
172
173 /* If the register is saved in the first SVE save slot, we use
174 it as a stack probe for -fstack-clash-protection. */
175 if (flag_stack_clash_protection
176- && maybe_ne (cfun->machine->frame.below_hard_fp_saved_regs_size, 0)
177+ && maybe_ne (frame.below_hard_fp_saved_regs_size, 0)
178 && known_eq (offset, 0))
179 continue;
180
181 /* Get the offset relative to the register we'll use. */
182 if (frame_pointer_needed)
183- offset -= cfun->machine->frame.below_hard_fp_saved_regs_size;
184+ offset -= frame.below_hard_fp_saved_regs_size;
185 else
186 offset += crtl->outgoing_args_size;
187
188@@ -9372,11 +9373,11 @@ aarch64_get_separate_components (void)
189 /* If the spare predicate register used by big-endian SVE code
190 is call-preserved, it must be saved in the main prologue
191 before any saves that use it. */
192- if (cfun->machine->frame.spare_pred_reg != INVALID_REGNUM)
193- bitmap_clear_bit (components, cfun->machine->frame.spare_pred_reg);
194+ if (frame.spare_pred_reg != INVALID_REGNUM)
195+ bitmap_clear_bit (components, frame.spare_pred_reg);
196
197- unsigned reg1 = cfun->machine->frame.wb_push_candidate1;
198- unsigned reg2 = cfun->machine->frame.wb_push_candidate2;
199+ unsigned reg1 = frame.wb_push_candidate1;
200+ unsigned reg2 = frame.wb_push_candidate2;
201 /* If registers have been chosen to be stored/restored with
202 writeback don't interfere with them to avoid having to output explicit
203 stack adjustment instructions. */
204@@ -9485,6 +9486,7 @@ aarch64_get_next_set_bit (sbitmap bmp, unsigned int start)
205 static void
206 aarch64_process_components (sbitmap components, bool prologue_p)
207 {
208+ aarch64_frame &frame = cfun->machine->frame;
209 rtx ptr_reg = gen_rtx_REG (Pmode, frame_pointer_needed
210 ? HARD_FRAME_POINTER_REGNUM
211 : STACK_POINTER_REGNUM);
212@@ -9499,9 +9501,9 @@ aarch64_process_components (sbitmap components, bool prologue_p)
213 machine_mode mode = aarch64_reg_save_mode (regno);
214
215 rtx reg = gen_rtx_REG (mode, regno);
216- poly_int64 offset = cfun->machine->frame.reg_offset[regno];
217+ poly_int64 offset = frame.reg_offset[regno];
218 if (frame_pointer_needed)
219- offset -= cfun->machine->frame.below_hard_fp_saved_regs_size;
220+ offset -= frame.below_hard_fp_saved_regs_size;
221 else
222 offset += crtl->outgoing_args_size;
223
224@@ -9526,14 +9528,14 @@ aarch64_process_components (sbitmap components, bool prologue_p)
225 break;
226 }
227
228- poly_int64 offset2 = cfun->machine->frame.reg_offset[regno2];
229+ poly_int64 offset2 = frame.reg_offset[regno2];
230 /* The next register is not of the same class or its offset is not
231 mergeable with the current one into a pair. */
232 if (aarch64_sve_mode_p (mode)
233 || !satisfies_constraint_Ump (mem)
234 || GP_REGNUM_P (regno) != GP_REGNUM_P (regno2)
235 || (crtl->abi->id () == ARM_PCS_SIMD && FP_REGNUM_P (regno))
236- || maybe_ne ((offset2 - cfun->machine->frame.reg_offset[regno]),
237+ || maybe_ne ((offset2 - frame.reg_offset[regno]),
238 GET_MODE_SIZE (mode)))
239 {
240 insn = emit_insn (set);
241@@ -9555,7 +9557,7 @@ aarch64_process_components (sbitmap components, bool prologue_p)
242 /* REGNO2 can be saved/restored in a pair with REGNO. */
243 rtx reg2 = gen_rtx_REG (mode, regno2);
244 if (frame_pointer_needed)
245- offset2 -= cfun->machine->frame.below_hard_fp_saved_regs_size;
246+ offset2 -= frame.below_hard_fp_saved_regs_size;
247 else
248 offset2 += crtl->outgoing_args_size;
249 rtx addr2 = plus_constant (Pmode, ptr_reg, offset2);
250@@ -9650,6 +9652,7 @@ aarch64_allocate_and_probe_stack_space (rtx temp1, rtx temp2,
251 bool frame_related_p,
252 bool final_adjustment_p)
253 {
254+ aarch64_frame &frame = cfun->machine->frame;
255 HOST_WIDE_INT guard_size
256 = 1 << param_stack_clash_protection_guard_size;
257 HOST_WIDE_INT guard_used_by_caller = STACK_CLASH_CALLER_GUARD;
258@@ -9670,25 +9673,25 @@ aarch64_allocate_and_probe_stack_space (rtx temp1, rtx temp2,
259 register as a probe. We can't assume that LR was saved at position 0
260 though, so treat any space below it as unprobed. */
261 if (final_adjustment_p
262- && known_eq (cfun->machine->frame.below_hard_fp_saved_regs_size, 0))
263+ && known_eq (frame.below_hard_fp_saved_regs_size, 0))
264 {
265- poly_int64 lr_offset = cfun->machine->frame.reg_offset[LR_REGNUM];
266+ poly_int64 lr_offset = frame.reg_offset[LR_REGNUM];
267 if (known_ge (lr_offset, 0))
268 min_probe_threshold -= lr_offset.to_constant ();
269 else
270 gcc_assert (!flag_stack_clash_protection || known_eq (poly_size, 0));
271 }
272
273- poly_int64 frame_size = cfun->machine->frame.frame_size;
274+ poly_int64 frame_size = frame.frame_size;
275
276 /* We should always have a positive probe threshold. */
277 gcc_assert (min_probe_threshold > 0);
278
279 if (flag_stack_clash_protection && !final_adjustment_p)
280 {
281- poly_int64 initial_adjust = cfun->machine->frame.initial_adjust;
282- poly_int64 sve_callee_adjust = cfun->machine->frame.sve_callee_adjust;
283- poly_int64 final_adjust = cfun->machine->frame.final_adjust;
284+ poly_int64 initial_adjust = frame.initial_adjust;
285+ poly_int64 sve_callee_adjust = frame.sve_callee_adjust;
286+ poly_int64 final_adjust = frame.final_adjust;
287
288 if (known_eq (frame_size, 0))
289 {
290@@ -9977,17 +9980,18 @@ aarch64_epilogue_uses (int regno)
291 void
292 aarch64_expand_prologue (void)
293 {
294- poly_int64 frame_size = cfun->machine->frame.frame_size;
295- poly_int64 initial_adjust = cfun->machine->frame.initial_adjust;
296- HOST_WIDE_INT callee_adjust = cfun->machine->frame.callee_adjust;
297- poly_int64 final_adjust = cfun->machine->frame.final_adjust;
298- poly_int64 callee_offset = cfun->machine->frame.callee_offset;
299- poly_int64 sve_callee_adjust = cfun->machine->frame.sve_callee_adjust;
300+ aarch64_frame &frame = cfun->machine->frame;
301+ poly_int64 frame_size = frame.frame_size;
302+ poly_int64 initial_adjust = frame.initial_adjust;
303+ HOST_WIDE_INT callee_adjust = frame.callee_adjust;
304+ poly_int64 final_adjust = frame.final_adjust;
305+ poly_int64 callee_offset = frame.callee_offset;
306+ poly_int64 sve_callee_adjust = frame.sve_callee_adjust;
307 poly_int64 below_hard_fp_saved_regs_size
308- = cfun->machine->frame.below_hard_fp_saved_regs_size;
309- unsigned reg1 = cfun->machine->frame.wb_push_candidate1;
310- unsigned reg2 = cfun->machine->frame.wb_push_candidate2;
311- bool emit_frame_chain = cfun->machine->frame.emit_frame_chain;
312+ = frame.below_hard_fp_saved_regs_size;
313+ unsigned reg1 = frame.wb_push_candidate1;
314+ unsigned reg2 = frame.wb_push_candidate2;
315+ bool emit_frame_chain = frame.emit_frame_chain;
316 rtx_insn *insn;
317
318 if (flag_stack_clash_protection && known_eq (callee_adjust, 0))
319@@ -10018,7 +10022,7 @@ aarch64_expand_prologue (void)
320 }
321
322 /* Push return address to shadow call stack. */
323- if (cfun->machine->frame.is_scs_enabled)
324+ if (frame.is_scs_enabled)
325 emit_insn (gen_scs_push ());
326
327 if (flag_stack_usage_info)
328@@ -10057,7 +10061,7 @@ aarch64_expand_prologue (void)
329
330 /* The offset of the frame chain record (if any) from the current SP. */
331 poly_int64 chain_offset = (initial_adjust + callee_adjust
332- - cfun->machine->frame.hard_fp_offset);
333+ - frame.hard_fp_offset);
334 gcc_assert (known_ge (chain_offset, 0));
335
336 /* The offset of the bottom of the save area from the current SP. */
337@@ -10160,16 +10164,17 @@ aarch64_use_return_insn_p (void)
338 void
339 aarch64_expand_epilogue (bool for_sibcall)
340 {
341- poly_int64 initial_adjust = cfun->machine->frame.initial_adjust;
342- HOST_WIDE_INT callee_adjust = cfun->machine->frame.callee_adjust;
343- poly_int64 final_adjust = cfun->machine->frame.final_adjust;
344- poly_int64 callee_offset = cfun->machine->frame.callee_offset;
345- poly_int64 sve_callee_adjust = cfun->machine->frame.sve_callee_adjust;
346+ aarch64_frame &frame = cfun->machine->frame;
347+ poly_int64 initial_adjust = frame.initial_adjust;
348+ HOST_WIDE_INT callee_adjust = frame.callee_adjust;
349+ poly_int64 final_adjust = frame.final_adjust;
350+ poly_int64 callee_offset = frame.callee_offset;
351+ poly_int64 sve_callee_adjust = frame.sve_callee_adjust;
352 poly_int64 below_hard_fp_saved_regs_size
353- = cfun->machine->frame.below_hard_fp_saved_regs_size;
354- unsigned reg1 = cfun->machine->frame.wb_pop_candidate1;
355- unsigned reg2 = cfun->machine->frame.wb_pop_candidate2;
356- unsigned int last_gpr = (cfun->machine->frame.is_scs_enabled
357+ = frame.below_hard_fp_saved_regs_size;
358+ unsigned reg1 = frame.wb_pop_candidate1;
359+ unsigned reg2 = frame.wb_pop_candidate2;
360+ unsigned int last_gpr = (frame.is_scs_enabled
361 ? R29_REGNUM : R30_REGNUM);
362 rtx cfi_ops = NULL;
363 rtx_insn *insn;
364@@ -10203,7 +10208,7 @@ aarch64_expand_epilogue (bool for_sibcall)
365 /* We need to add memory barrier to prevent read from deallocated stack. */
366 bool need_barrier_p
367 = maybe_ne (get_frame_size ()
368- + cfun->machine->frame.saved_varargs_size, 0);
369+ + frame.saved_varargs_size, 0);
370
371 /* Emit a barrier to prevent loads from a deallocated stack. */
372 if (maybe_gt (final_adjust, crtl->outgoing_args_size)
373@@ -10284,7 +10289,7 @@ aarch64_expand_epilogue (bool for_sibcall)
374 }
375
376 /* Pop return address from shadow call stack. */
377- if (cfun->machine->frame.is_scs_enabled)
378+ if (frame.is_scs_enabled)
379 {
380 machine_mode mode = aarch64_reg_save_mode (R30_REGNUM);
381 rtx reg = gen_rtx_REG (mode, R30_REGNUM);
382@@ -12740,24 +12745,24 @@ aarch64_can_eliminate (const int from ATTRIBUTE_UNUSED, const int to)
383 poly_int64
384 aarch64_initial_elimination_offset (unsigned from, unsigned to)
385 {
386+ aarch64_frame &frame = cfun->machine->frame;
387+
388 if (to == HARD_FRAME_POINTER_REGNUM)
389 {
390 if (from == ARG_POINTER_REGNUM)
391- return cfun->machine->frame.hard_fp_offset;
392+ return frame.hard_fp_offset;
393
394 if (from == FRAME_POINTER_REGNUM)
395- return cfun->machine->frame.hard_fp_offset
396- - cfun->machine->frame.locals_offset;
397+ return frame.hard_fp_offset - frame.locals_offset;
398 }
399
400 if (to == STACK_POINTER_REGNUM)
401 {
402 if (from == FRAME_POINTER_REGNUM)
403- return cfun->machine->frame.frame_size
404- - cfun->machine->frame.locals_offset;
405+ return frame.frame_size - frame.locals_offset;
406 }
407
408- return cfun->machine->frame.frame_size;
409+ return frame.frame_size;
410 }
411
412
413--
4142.34.1
415
416
417From 89a9fa287706c5011f61926eaf65e7b996b963a3 Mon Sep 17 00:00:00 2001
418From: Richard Sandiford <richard.sandiford@arm.com>
419Date: Tue, 12 Sep 2023 16:07:12 +0100
420Subject: [PATCH 02/19] aarch64: Avoid a use of callee_offset
421
422When we emit the frame chain, i.e. when we reach Here in this statement
423of aarch64_expand_prologue:
424
425 if (emit_frame_chain)
426 {
427 // Here
428 ...
429 }
430
431the stack is in one of two states:
432
433- We've allocated up to the frame chain, but no more.
434
435- We've allocated the whole frame, and the frame chain is within easy
436 reach of the new SP.
437
438The offset of the frame chain from the current SP is available
439in aarch64_frame as callee_offset. It is also available as the
440chain_offset local variable, where the latter is calculated from other
441data. (However, chain_offset is not always equal to callee_offset when
442!emit_frame_chain, so chain_offset isn't redundant.)
443
444In c600df9a4060da3c6121ff4d0b93f179eafd69d1 I switched to using
445chain_offset for the initialisation of the hard frame pointer:
446
447 aarch64_add_offset (Pmode, hard_frame_pointer_rtx,
448- stack_pointer_rtx, callee_offset,
449+ stack_pointer_rtx, chain_offset,
450 tmp1_rtx, tmp0_rtx, frame_pointer_needed);
451
452But the later REG_CFA_ADJUST_CFA handling still used callee_offset.
453
454I think the difference is harmless, but it's more logical for the
455CFA note to be in sync, and it's more convenient for later patches
456if it uses chain_offset.
457
458gcc/
459 * config/aarch64/aarch64.cc (aarch64_expand_prologue): Use
460 chain_offset rather than callee_offset.
461---
462 gcc/config/aarch64/aarch64.cc | 4 +---
463 1 file changed, 1 insertion(+), 3 deletions(-)
464
465diff --git a/gcc/config/aarch64/aarch64.cc b/gcc/config/aarch64/aarch64.cc
466index 5d473d161d9..4f233c95140 100644
467--- a/gcc/config/aarch64/aarch64.cc
468+++ b/gcc/config/aarch64/aarch64.cc
469@@ -9985,7 +9985,6 @@ aarch64_expand_prologue (void)
470 poly_int64 initial_adjust = frame.initial_adjust;
471 HOST_WIDE_INT callee_adjust = frame.callee_adjust;
472 poly_int64 final_adjust = frame.final_adjust;
473- poly_int64 callee_offset = frame.callee_offset;
474 poly_int64 sve_callee_adjust = frame.sve_callee_adjust;
475 poly_int64 below_hard_fp_saved_regs_size
476 = frame.below_hard_fp_saved_regs_size;
477@@ -10098,8 +10097,7 @@ aarch64_expand_prologue (void)
478 implicit. */
479 if (!find_reg_note (insn, REG_CFA_ADJUST_CFA, NULL_RTX))
480 {
481- rtx src = plus_constant (Pmode, stack_pointer_rtx,
482- callee_offset);
483+ rtx src = plus_constant (Pmode, stack_pointer_rtx, chain_offset);
484 add_reg_note (insn, REG_CFA_ADJUST_CFA,
485 gen_rtx_SET (hard_frame_pointer_rtx, src));
486 }
487--
4882.34.1
489
490
491From b36a2a78040722dab6124366c5d6baf8eaf80aef Mon Sep 17 00:00:00 2001
492From: Richard Sandiford <richard.sandiford@arm.com>
493Date: Tue, 12 Sep 2023 16:07:13 +0100
494Subject: [PATCH 03/19] aarch64: Explicitly handle frames with no saved
495 registers
496
497If a frame has no saved registers, it can be allocated in one go.
498There is no need to treat the areas below and above the saved
499registers as separate.
500
501And if we allocate the frame in one go, it should be allocated
502as the initial_adjust rather than the final_adjust. This allows the
503frame size to grow to guard_size - guard_used_by_caller before a stack
504probe is needed. (A frame with no register saves is necessarily a
505leaf frame.)
506
507This is a no-op as thing stand, since a leaf function will have
508no outgoing arguments, and so all the frame will be above where
509the saved registers normally go.
510
511gcc/
512 * config/aarch64/aarch64.cc (aarch64_layout_frame): Explicitly
513 allocate the frame in one go if there are no saved registers.
514---
515 gcc/config/aarch64/aarch64.cc | 8 +++++---
516 1 file changed, 5 insertions(+), 3 deletions(-)
517
518diff --git a/gcc/config/aarch64/aarch64.cc b/gcc/config/aarch64/aarch64.cc
519index 4f233c95140..37643041ffb 100644
520--- a/gcc/config/aarch64/aarch64.cc
521+++ b/gcc/config/aarch64/aarch64.cc
522@@ -8639,9 +8639,11 @@ aarch64_layout_frame (void)
523
524 HOST_WIDE_INT const_size, const_outgoing_args_size, const_fp_offset;
525 HOST_WIDE_INT const_saved_regs_size;
526- if (frame.frame_size.is_constant (&const_size)
527- && const_size < max_push_offset
528- && known_eq (frame.hard_fp_offset, const_size))
529+ if (known_eq (frame.saved_regs_size, 0))
530+ frame.initial_adjust = frame.frame_size;
531+ else if (frame.frame_size.is_constant (&const_size)
532+ && const_size < max_push_offset
533+ && known_eq (frame.hard_fp_offset, const_size))
534 {
535 /* Simple, small frame with no outgoing arguments:
536
537--
5382.34.1
539
540
541From ada2ab0093596be707f23a3466ac82cff59fcffe Mon Sep 17 00:00:00 2001
542From: Richard Sandiford <richard.sandiford@arm.com>
543Date: Tue, 12 Sep 2023 16:07:13 +0100
544Subject: [PATCH 04/19] aarch64: Add bytes_below_saved_regs to frame info
545
546The frame layout code currently hard-codes the assumption that
547the number of bytes below the saved registers is equal to the
548size of the outgoing arguments. This patch abstracts that
549value into a new field of aarch64_frame.
550
551gcc/
552 * config/aarch64/aarch64.h (aarch64_frame::bytes_below_saved_regs): New
553 field.
554 * config/aarch64/aarch64.cc (aarch64_layout_frame): Initialize it,
555 and use it instead of crtl->outgoing_args_size.
556 (aarch64_get_separate_components): Use bytes_below_saved_regs instead
557 of outgoing_args_size.
558 (aarch64_process_components): Likewise.
559---
560 gcc/config/aarch64/aarch64.cc | 71 ++++++++++++++++++-----------------
561 gcc/config/aarch64/aarch64.h | 5 +++
562 2 files changed, 41 insertions(+), 35 deletions(-)
563
564diff --git a/gcc/config/aarch64/aarch64.cc b/gcc/config/aarch64/aarch64.cc
565index 37643041ffb..dacc2b0e4dd 100644
566--- a/gcc/config/aarch64/aarch64.cc
567+++ b/gcc/config/aarch64/aarch64.cc
568@@ -8478,6 +8478,8 @@ aarch64_layout_frame (void)
569 gcc_assert (crtl->is_leaf
570 || maybe_ne (frame.reg_offset[R30_REGNUM], SLOT_NOT_REQUIRED));
571
572+ frame.bytes_below_saved_regs = crtl->outgoing_args_size;
573+
574 /* Now assign stack slots for the registers. Start with the predicate
575 registers, since predicate LDR and STR have a relatively small
576 offset range. These saves happen below the hard frame pointer. */
577@@ -8582,18 +8584,18 @@ aarch64_layout_frame (void)
578
579 poly_int64 varargs_and_saved_regs_size = offset + frame.saved_varargs_size;
580
581- poly_int64 above_outgoing_args
582+ poly_int64 saved_regs_and_above
583 = aligned_upper_bound (varargs_and_saved_regs_size
584 + get_frame_size (),
585 STACK_BOUNDARY / BITS_PER_UNIT);
586
587 frame.hard_fp_offset
588- = above_outgoing_args - frame.below_hard_fp_saved_regs_size;
589+ = saved_regs_and_above - frame.below_hard_fp_saved_regs_size;
590
591 /* Both these values are already aligned. */
592- gcc_assert (multiple_p (crtl->outgoing_args_size,
593+ gcc_assert (multiple_p (frame.bytes_below_saved_regs,
594 STACK_BOUNDARY / BITS_PER_UNIT));
595- frame.frame_size = above_outgoing_args + crtl->outgoing_args_size;
596+ frame.frame_size = saved_regs_and_above + frame.bytes_below_saved_regs;
597
598 frame.locals_offset = frame.saved_varargs_size;
599
600@@ -8637,7 +8639,7 @@ aarch64_layout_frame (void)
601 else if (frame.wb_pop_candidate1 != INVALID_REGNUM)
602 max_push_offset = 256;
603
604- HOST_WIDE_INT const_size, const_outgoing_args_size, const_fp_offset;
605+ HOST_WIDE_INT const_size, const_below_saved_regs, const_fp_offset;
606 HOST_WIDE_INT const_saved_regs_size;
607 if (known_eq (frame.saved_regs_size, 0))
608 frame.initial_adjust = frame.frame_size;
609@@ -8645,31 +8647,31 @@ aarch64_layout_frame (void)
610 && const_size < max_push_offset
611 && known_eq (frame.hard_fp_offset, const_size))
612 {
613- /* Simple, small frame with no outgoing arguments:
614+ /* Simple, small frame with no data below the saved registers.
615
616 stp reg1, reg2, [sp, -frame_size]!
617 stp reg3, reg4, [sp, 16] */
618 frame.callee_adjust = const_size;
619 }
620- else if (crtl->outgoing_args_size.is_constant (&const_outgoing_args_size)
621+ else if (frame.bytes_below_saved_regs.is_constant (&const_below_saved_regs)
622 && frame.saved_regs_size.is_constant (&const_saved_regs_size)
623- && const_outgoing_args_size + const_saved_regs_size < 512
624- /* We could handle this case even with outgoing args, provided
625- that the number of args left us with valid offsets for all
626- predicate and vector save slots. It's such a rare case that
627- it hardly seems worth the effort though. */
628- && (!saves_below_hard_fp_p || const_outgoing_args_size == 0)
629+ && const_below_saved_regs + const_saved_regs_size < 512
630+ /* We could handle this case even with data below the saved
631+ registers, provided that that data left us with valid offsets
632+ for all predicate and vector save slots. It's such a rare
633+ case that it hardly seems worth the effort though. */
634+ && (!saves_below_hard_fp_p || const_below_saved_regs == 0)
635 && !(cfun->calls_alloca
636 && frame.hard_fp_offset.is_constant (&const_fp_offset)
637 && const_fp_offset < max_push_offset))
638 {
639- /* Frame with small outgoing arguments:
640+ /* Frame with small area below the saved registers:
641
642 sub sp, sp, frame_size
643- stp reg1, reg2, [sp, outgoing_args_size]
644- stp reg3, reg4, [sp, outgoing_args_size + 16] */
645+ stp reg1, reg2, [sp, bytes_below_saved_regs]
646+ stp reg3, reg4, [sp, bytes_below_saved_regs + 16] */
647 frame.initial_adjust = frame.frame_size;
648- frame.callee_offset = const_outgoing_args_size;
649+ frame.callee_offset = const_below_saved_regs;
650 }
651 else if (saves_below_hard_fp_p
652 && known_eq (frame.saved_regs_size,
653@@ -8679,30 +8681,29 @@ aarch64_layout_frame (void)
654
655 sub sp, sp, hard_fp_offset + below_hard_fp_saved_regs_size
656 save SVE registers relative to SP
657- sub sp, sp, outgoing_args_size */
658+ sub sp, sp, bytes_below_saved_regs */
659 frame.initial_adjust = (frame.hard_fp_offset
660 + frame.below_hard_fp_saved_regs_size);
661- frame.final_adjust = crtl->outgoing_args_size;
662+ frame.final_adjust = frame.bytes_below_saved_regs;
663 }
664 else if (frame.hard_fp_offset.is_constant (&const_fp_offset)
665 && const_fp_offset < max_push_offset)
666 {
667- /* Frame with large outgoing arguments or SVE saves, but with
668- a small local area:
669+ /* Frame with large area below the saved registers, or with SVE saves,
670+ but with a small area above:
671
672 stp reg1, reg2, [sp, -hard_fp_offset]!
673 stp reg3, reg4, [sp, 16]
674 [sub sp, sp, below_hard_fp_saved_regs_size]
675 [save SVE registers relative to SP]
676- sub sp, sp, outgoing_args_size */
677+ sub sp, sp, bytes_below_saved_regs */
678 frame.callee_adjust = const_fp_offset;
679 frame.sve_callee_adjust = frame.below_hard_fp_saved_regs_size;
680- frame.final_adjust = crtl->outgoing_args_size;
681+ frame.final_adjust = frame.bytes_below_saved_regs;
682 }
683 else
684 {
685- /* Frame with large local area and outgoing arguments or SVE saves,
686- using frame pointer:
687+ /* General case:
688
689 sub sp, sp, hard_fp_offset
690 stp x29, x30, [sp, 0]
691@@ -8710,10 +8711,10 @@ aarch64_layout_frame (void)
692 stp reg3, reg4, [sp, 16]
693 [sub sp, sp, below_hard_fp_saved_regs_size]
694 [save SVE registers relative to SP]
695- sub sp, sp, outgoing_args_size */
696+ sub sp, sp, bytes_below_saved_regs */
697 frame.initial_adjust = frame.hard_fp_offset;
698 frame.sve_callee_adjust = frame.below_hard_fp_saved_regs_size;
699- frame.final_adjust = crtl->outgoing_args_size;
700+ frame.final_adjust = frame.bytes_below_saved_regs;
701 }
702
703 /* Make sure the individual adjustments add up to the full frame size. */
704@@ -9358,7 +9359,7 @@ aarch64_get_separate_components (void)
705 if (frame_pointer_needed)
706 offset -= frame.below_hard_fp_saved_regs_size;
707 else
708- offset += crtl->outgoing_args_size;
709+ offset += frame.bytes_below_saved_regs;
710
711 /* Check that we can access the stack slot of the register with one
712 direct load with no adjustments needed. */
713@@ -9507,7 +9508,7 @@ aarch64_process_components (sbitmap components, bool prologue_p)
714 if (frame_pointer_needed)
715 offset -= frame.below_hard_fp_saved_regs_size;
716 else
717- offset += crtl->outgoing_args_size;
718+ offset += frame.bytes_below_saved_regs;
719
720 rtx addr = plus_constant (Pmode, ptr_reg, offset);
721 rtx mem = gen_frame_mem (mode, addr);
722@@ -9561,7 +9562,7 @@ aarch64_process_components (sbitmap components, bool prologue_p)
723 if (frame_pointer_needed)
724 offset2 -= frame.below_hard_fp_saved_regs_size;
725 else
726- offset2 += crtl->outgoing_args_size;
727+ offset2 += frame.bytes_below_saved_regs;
728 rtx addr2 = plus_constant (Pmode, ptr_reg, offset2);
729 rtx mem2 = gen_frame_mem (mode, addr2);
730 rtx set2 = prologue_p ? gen_rtx_SET (mem2, reg2)
731@@ -9635,10 +9636,10 @@ aarch64_stack_clash_protection_alloca_probe_range (void)
732 registers. If POLY_SIZE is not large enough to require a probe this function
733 will only adjust the stack. When allocating the stack space
734 FRAME_RELATED_P is then used to indicate if the allocation is frame related.
735- FINAL_ADJUSTMENT_P indicates whether we are allocating the outgoing
736- arguments. If we are then we ensure that any allocation larger than the ABI
737- defined buffer needs a probe so that the invariant of having a 1KB buffer is
738- maintained.
739+ FINAL_ADJUSTMENT_P indicates whether we are allocating the area below
740+ the saved registers. If we are then we ensure that any allocation
741+ larger than the ABI defined buffer needs a probe so that the
742+ invariant of having a 1KB buffer is maintained.
743
744 We emit barriers after each stack adjustment to prevent optimizations from
745 breaking the invariant that we never drop the stack more than a page. This
746@@ -9847,7 +9848,7 @@ aarch64_allocate_and_probe_stack_space (rtx temp1, rtx temp2,
747 /* Handle any residuals. Residuals of at least MIN_PROBE_THRESHOLD have to
748 be probed. This maintains the requirement that each page is probed at
749 least once. For initial probing we probe only if the allocation is
750- more than GUARD_SIZE - buffer, and for the outgoing arguments we probe
751+ more than GUARD_SIZE - buffer, and below the saved registers we probe
752 if the amount is larger than buffer. GUARD_SIZE - buffer + buffer ==
753 GUARD_SIZE. This works that for any allocation that is large enough to
754 trigger a probe here, we'll have at least one, and if they're not large
755diff --git a/gcc/config/aarch64/aarch64.h b/gcc/config/aarch64/aarch64.h
756index 73b09e20508..0b6faa3ddf1 100644
757--- a/gcc/config/aarch64/aarch64.h
758+++ b/gcc/config/aarch64/aarch64.h
759@@ -777,6 +777,11 @@ struct GTY (()) aarch64_frame
760 /* The size of the callee-save registers with a slot in REG_OFFSET. */
761 poly_int64 saved_regs_size;
762
763+ /* The number of bytes between the bottom of the static frame (the bottom
764+ of the outgoing arguments) and the bottom of the register save area.
765+ This value is always a multiple of STACK_BOUNDARY. */
766+ poly_int64 bytes_below_saved_regs;
767+
768 /* The size of the callee-save registers with a slot in REG_OFFSET that
769 are saved below the hard frame pointer. */
770 poly_int64 below_hard_fp_saved_regs_size;
771--
7722.34.1
773
774
775From 82f6b3e1b596ef0f4e3ac3bb9c6e88fb4458f402 Mon Sep 17 00:00:00 2001
776From: Richard Sandiford <richard.sandiford@arm.com>
777Date: Tue, 12 Sep 2023 16:07:14 +0100
778Subject: [PATCH 05/19] aarch64: Add bytes_below_hard_fp to frame info
779
780Following on from the previous bytes_below_saved_regs patch, this one
781records the number of bytes that are below the hard frame pointer.
782This eventually replaces below_hard_fp_saved_regs_size.
783
784If a frame pointer is not needed, the epilogue adds final_adjust
785to the stack pointer before restoring registers:
786
787 aarch64_add_sp (tmp1_rtx, tmp0_rtx, final_adjust, true);
788
789Therefore, if the epilogue needs to restore the stack pointer from
790the hard frame pointer, the directly corresponding offset is:
791
792 -bytes_below_hard_fp + final_adjust
793
794i.e. go from the hard frame pointer to the bottom of the frame,
795then add the same amount as if we were using the stack pointer
796from the outset.
797
798gcc/
799 * config/aarch64/aarch64.h (aarch64_frame::bytes_below_hard_fp): New
800 field.
801 * config/aarch64/aarch64.cc (aarch64_layout_frame): Initialize it.
802 (aarch64_expand_epilogue): Use it instead of
803 below_hard_fp_saved_regs_size.
804---
805 gcc/config/aarch64/aarch64.cc | 6 +++---
806 gcc/config/aarch64/aarch64.h | 5 +++++
807 2 files changed, 8 insertions(+), 3 deletions(-)
808
809diff --git a/gcc/config/aarch64/aarch64.cc b/gcc/config/aarch64/aarch64.cc
810index dacc2b0e4dd..a3f7aabcc59 100644
811--- a/gcc/config/aarch64/aarch64.cc
812+++ b/gcc/config/aarch64/aarch64.cc
813@@ -8530,6 +8530,7 @@ aarch64_layout_frame (void)
814 of the callee save area. */
815 bool saves_below_hard_fp_p = maybe_ne (offset, 0);
816 frame.below_hard_fp_saved_regs_size = offset;
817+ frame.bytes_below_hard_fp = offset + frame.bytes_below_saved_regs;
818 if (frame.emit_frame_chain)
819 {
820 /* FP and LR are placed in the linkage record. */
821@@ -10171,8 +10172,7 @@ aarch64_expand_epilogue (bool for_sibcall)
822 poly_int64 final_adjust = frame.final_adjust;
823 poly_int64 callee_offset = frame.callee_offset;
824 poly_int64 sve_callee_adjust = frame.sve_callee_adjust;
825- poly_int64 below_hard_fp_saved_regs_size
826- = frame.below_hard_fp_saved_regs_size;
827+ poly_int64 bytes_below_hard_fp = frame.bytes_below_hard_fp;
828 unsigned reg1 = frame.wb_pop_candidate1;
829 unsigned reg2 = frame.wb_pop_candidate2;
830 unsigned int last_gpr = (frame.is_scs_enabled
831@@ -10230,7 +10230,7 @@ aarch64_expand_epilogue (bool for_sibcall)
832 is restored on the instruction doing the writeback. */
833 aarch64_add_offset (Pmode, stack_pointer_rtx,
834 hard_frame_pointer_rtx,
835- -callee_offset - below_hard_fp_saved_regs_size,
836+ -bytes_below_hard_fp + final_adjust,
837 tmp1_rtx, tmp0_rtx, callee_adjust == 0);
838 else
839 /* The case where we need to re-use the register here is very rare, so
840diff --git a/gcc/config/aarch64/aarch64.h b/gcc/config/aarch64/aarch64.h
841index 0b6faa3ddf1..4263d29d29d 100644
842--- a/gcc/config/aarch64/aarch64.h
843+++ b/gcc/config/aarch64/aarch64.h
844@@ -786,6 +786,11 @@ struct GTY (()) aarch64_frame
845 are saved below the hard frame pointer. */
846 poly_int64 below_hard_fp_saved_regs_size;
847
848+ /* The number of bytes between the bottom of the static frame (the bottom
849+ of the outgoing arguments) and the hard frame pointer. This value is
850+ always a multiple of STACK_BOUNDARY. */
851+ poly_int64 bytes_below_hard_fp;
852+
853 /* Offset from the base of the frame (incomming SP) to the
854 top of the locals area. This value is always a multiple of
855 STACK_BOUNDARY. */
856--
8572.34.1
858
859
860From 86fa43e9fe4a8bf954f2919f07cbe3646d1d1df3 Mon Sep 17 00:00:00 2001
861From: Richard Sandiford <richard.sandiford@arm.com>
862Date: Tue, 12 Sep 2023 16:07:14 +0100
863Subject: [PATCH 06/19] aarch64: Tweak aarch64_save/restore_callee_saves
864
865aarch64_save_callee_saves and aarch64_restore_callee_saves took
866a parameter called start_offset that gives the offset of the
867bottom of the saved register area from the current stack pointer.
868However, it's more convenient for later patches if we use the
869bottom of the entire frame as the reference point, rather than
870the bottom of the saved registers.
871
872Doing that removes the need for the callee_offset field.
873Other than that, this is not a win on its own. It only really
874makes sense in combination with the follow-on patches.
875
876gcc/
877 * config/aarch64/aarch64.h (aarch64_frame::callee_offset): Delete.
878 * config/aarch64/aarch64.cc (aarch64_layout_frame): Remove
879 callee_offset handling.
880 (aarch64_save_callee_saves): Replace the start_offset parameter
881 with a bytes_below_sp parameter.
882 (aarch64_restore_callee_saves): Likewise.
883 (aarch64_expand_prologue): Update accordingly.
884 (aarch64_expand_epilogue): Likewise.
885---
886 gcc/config/aarch64/aarch64.cc | 56 +++++++++++++++++------------------
887 gcc/config/aarch64/aarch64.h | 4 ---
888 2 files changed, 28 insertions(+), 32 deletions(-)
889
890diff --git a/gcc/config/aarch64/aarch64.cc b/gcc/config/aarch64/aarch64.cc
891index a3f7aabcc59..46ae5cf7673 100644
892--- a/gcc/config/aarch64/aarch64.cc
893+++ b/gcc/config/aarch64/aarch64.cc
894@@ -8604,7 +8604,6 @@ aarch64_layout_frame (void)
895 frame.final_adjust = 0;
896 frame.callee_adjust = 0;
897 frame.sve_callee_adjust = 0;
898- frame.callee_offset = 0;
899
900 frame.wb_pop_candidate1 = frame.wb_push_candidate1;
901 frame.wb_pop_candidate2 = frame.wb_push_candidate2;
902@@ -8672,7 +8671,6 @@ aarch64_layout_frame (void)
903 stp reg1, reg2, [sp, bytes_below_saved_regs]
904 stp reg3, reg4, [sp, bytes_below_saved_regs + 16] */
905 frame.initial_adjust = frame.frame_size;
906- frame.callee_offset = const_below_saved_regs;
907 }
908 else if (saves_below_hard_fp_p
909 && known_eq (frame.saved_regs_size,
910@@ -9073,12 +9071,13 @@ aarch64_add_cfa_expression (rtx_insn *insn, rtx reg,
911 }
912
913 /* Emit code to save the callee-saved registers from register number START
914- to LIMIT to the stack at the location starting at offset START_OFFSET,
915- skipping any write-back candidates if SKIP_WB is true. HARD_FP_VALID_P
916- is true if the hard frame pointer has been set up. */
917+ to LIMIT to the stack. The stack pointer is currently BYTES_BELOW_SP
918+ bytes above the bottom of the static frame. Skip any write-back
919+ candidates if SKIP_WB is true. HARD_FP_VALID_P is true if the hard
920+ frame pointer has been set up. */
921
922 static void
923-aarch64_save_callee_saves (poly_int64 start_offset,
924+aarch64_save_callee_saves (poly_int64 bytes_below_sp,
925 unsigned start, unsigned limit, bool skip_wb,
926 bool hard_fp_valid_p)
927 {
928@@ -9106,7 +9105,9 @@ aarch64_save_callee_saves (poly_int64 start_offset,
929
930 machine_mode mode = aarch64_reg_save_mode (regno);
931 reg = gen_rtx_REG (mode, regno);
932- offset = start_offset + frame.reg_offset[regno];
933+ offset = (frame.reg_offset[regno]
934+ + frame.bytes_below_saved_regs
935+ - bytes_below_sp);
936 rtx base_rtx = stack_pointer_rtx;
937 poly_int64 sp_offset = offset;
938
939@@ -9117,9 +9118,7 @@ aarch64_save_callee_saves (poly_int64 start_offset,
940 else if (GP_REGNUM_P (regno)
941 && (!offset.is_constant (&const_offset) || const_offset >= 512))
942 {
943- gcc_assert (known_eq (start_offset, 0));
944- poly_int64 fp_offset
945- = frame.below_hard_fp_saved_regs_size;
946+ poly_int64 fp_offset = frame.bytes_below_hard_fp - bytes_below_sp;
947 if (hard_fp_valid_p)
948 base_rtx = hard_frame_pointer_rtx;
949 else
950@@ -9183,12 +9182,13 @@ aarch64_save_callee_saves (poly_int64 start_offset,
951 }
952
953 /* Emit code to restore the callee registers from register number START
954- up to and including LIMIT. Restore from the stack offset START_OFFSET,
955- skipping any write-back candidates if SKIP_WB is true. Write the
956- appropriate REG_CFA_RESTORE notes into CFI_OPS. */
957+ up to and including LIMIT. The stack pointer is currently BYTES_BELOW_SP
958+ bytes above the bottom of the static frame. Skip any write-back
959+ candidates if SKIP_WB is true. Write the appropriate REG_CFA_RESTORE
960+ notes into CFI_OPS. */
961
962 static void
963-aarch64_restore_callee_saves (poly_int64 start_offset, unsigned start,
964+aarch64_restore_callee_saves (poly_int64 bytes_below_sp, unsigned start,
965 unsigned limit, bool skip_wb, rtx *cfi_ops)
966 {
967 aarch64_frame &frame = cfun->machine->frame;
968@@ -9214,7 +9214,9 @@ aarch64_restore_callee_saves (poly_int64 start_offset, unsigned start,
969
970 machine_mode mode = aarch64_reg_save_mode (regno);
971 reg = gen_rtx_REG (mode, regno);
972- offset = start_offset + frame.reg_offset[regno];
973+ offset = (frame.reg_offset[regno]
974+ + frame.bytes_below_saved_regs
975+ - bytes_below_sp);
976 rtx base_rtx = stack_pointer_rtx;
977 if (mode == VNx2DImode && BYTES_BIG_ENDIAN)
978 aarch64_adjust_sve_callee_save_base (mode, base_rtx, anchor_reg,
979@@ -9990,8 +9992,6 @@ aarch64_expand_prologue (void)
980 HOST_WIDE_INT callee_adjust = frame.callee_adjust;
981 poly_int64 final_adjust = frame.final_adjust;
982 poly_int64 sve_callee_adjust = frame.sve_callee_adjust;
983- poly_int64 below_hard_fp_saved_regs_size
984- = frame.below_hard_fp_saved_regs_size;
985 unsigned reg1 = frame.wb_push_candidate1;
986 unsigned reg2 = frame.wb_push_candidate2;
987 bool emit_frame_chain = frame.emit_frame_chain;
988@@ -10067,8 +10067,8 @@ aarch64_expand_prologue (void)
989 - frame.hard_fp_offset);
990 gcc_assert (known_ge (chain_offset, 0));
991
992- /* The offset of the bottom of the save area from the current SP. */
993- poly_int64 saved_regs_offset = chain_offset - below_hard_fp_saved_regs_size;
994+ /* The offset of the current SP from the bottom of the static frame. */
995+ poly_int64 bytes_below_sp = frame_size - initial_adjust - callee_adjust;
996
997 if (emit_frame_chain)
998 {
999@@ -10076,7 +10076,7 @@ aarch64_expand_prologue (void)
1000 {
1001 reg1 = R29_REGNUM;
1002 reg2 = R30_REGNUM;
1003- aarch64_save_callee_saves (saved_regs_offset, reg1, reg2,
1004+ aarch64_save_callee_saves (bytes_below_sp, reg1, reg2,
1005 false, false);
1006 }
1007 else
1008@@ -10116,7 +10116,7 @@ aarch64_expand_prologue (void)
1009 emit_insn (gen_stack_tie (stack_pointer_rtx, hard_frame_pointer_rtx));
1010 }
1011
1012- aarch64_save_callee_saves (saved_regs_offset, R0_REGNUM, R30_REGNUM,
1013+ aarch64_save_callee_saves (bytes_below_sp, R0_REGNUM, R30_REGNUM,
1014 callee_adjust != 0 || emit_frame_chain,
1015 emit_frame_chain);
1016 if (maybe_ne (sve_callee_adjust, 0))
1017@@ -10126,16 +10126,17 @@ aarch64_expand_prologue (void)
1018 aarch64_allocate_and_probe_stack_space (tmp1_rtx, tmp0_rtx,
1019 sve_callee_adjust,
1020 !frame_pointer_needed, false);
1021- saved_regs_offset += sve_callee_adjust;
1022+ bytes_below_sp -= sve_callee_adjust;
1023 }
1024- aarch64_save_callee_saves (saved_regs_offset, P0_REGNUM, P15_REGNUM,
1025+ aarch64_save_callee_saves (bytes_below_sp, P0_REGNUM, P15_REGNUM,
1026 false, emit_frame_chain);
1027- aarch64_save_callee_saves (saved_regs_offset, V0_REGNUM, V31_REGNUM,
1028+ aarch64_save_callee_saves (bytes_below_sp, V0_REGNUM, V31_REGNUM,
1029 callee_adjust != 0 || emit_frame_chain,
1030 emit_frame_chain);
1031
1032 /* We may need to probe the final adjustment if it is larger than the guard
1033 that is assumed by the called. */
1034+ gcc_assert (known_eq (bytes_below_sp, final_adjust));
1035 aarch64_allocate_and_probe_stack_space (tmp1_rtx, tmp0_rtx, final_adjust,
1036 !frame_pointer_needed, true);
1037 }
1038@@ -10170,7 +10171,6 @@ aarch64_expand_epilogue (bool for_sibcall)
1039 poly_int64 initial_adjust = frame.initial_adjust;
1040 HOST_WIDE_INT callee_adjust = frame.callee_adjust;
1041 poly_int64 final_adjust = frame.final_adjust;
1042- poly_int64 callee_offset = frame.callee_offset;
1043 poly_int64 sve_callee_adjust = frame.sve_callee_adjust;
1044 poly_int64 bytes_below_hard_fp = frame.bytes_below_hard_fp;
1045 unsigned reg1 = frame.wb_pop_candidate1;
1046@@ -10240,9 +10240,9 @@ aarch64_expand_epilogue (bool for_sibcall)
1047
1048 /* Restore the vector registers before the predicate registers,
1049 so that we can use P4 as a temporary for big-endian SVE frames. */
1050- aarch64_restore_callee_saves (callee_offset, V0_REGNUM, V31_REGNUM,
1051+ aarch64_restore_callee_saves (final_adjust, V0_REGNUM, V31_REGNUM,
1052 callee_adjust != 0, &cfi_ops);
1053- aarch64_restore_callee_saves (callee_offset, P0_REGNUM, P15_REGNUM,
1054+ aarch64_restore_callee_saves (final_adjust, P0_REGNUM, P15_REGNUM,
1055 false, &cfi_ops);
1056 if (maybe_ne (sve_callee_adjust, 0))
1057 aarch64_add_sp (NULL_RTX, NULL_RTX, sve_callee_adjust, true);
1058@@ -10250,7 +10250,7 @@ aarch64_expand_epilogue (bool for_sibcall)
1059 /* When shadow call stack is enabled, the scs_pop in the epilogue will
1060 restore x30, we don't need to restore x30 again in the traditional
1061 way. */
1062- aarch64_restore_callee_saves (callee_offset - sve_callee_adjust,
1063+ aarch64_restore_callee_saves (final_adjust + sve_callee_adjust,
1064 R0_REGNUM, last_gpr,
1065 callee_adjust != 0, &cfi_ops);
1066
1067diff --git a/gcc/config/aarch64/aarch64.h b/gcc/config/aarch64/aarch64.h
1068index 4263d29d29d..fd820b1be4e 100644
1069--- a/gcc/config/aarch64/aarch64.h
1070+++ b/gcc/config/aarch64/aarch64.h
1071@@ -813,10 +813,6 @@ struct GTY (()) aarch64_frame
1072 It is zero when no push is used. */
1073 HOST_WIDE_INT callee_adjust;
1074
1075- /* The offset from SP to the callee-save registers after initial_adjust.
1076- It may be non-zero if no push is used (ie. callee_adjust == 0). */
1077- poly_int64 callee_offset;
1078-
1079 /* The size of the stack adjustment before saving or after restoring
1080 SVE registers. */
1081 poly_int64 sve_callee_adjust;
1082--
10832.34.1
1084
1085
1086From 8ae9181426f2700c2e5a2909487fa630e6fa406b Mon Sep 17 00:00:00 2001
1087From: Richard Sandiford <richard.sandiford@arm.com>
1088Date: Tue, 12 Sep 2023 16:07:15 +0100
1089Subject: [PATCH 07/19] aarch64: Only calculate chain_offset if there is a
1090 chain
1091
1092After previous patches, it is no longer necessary to calculate
1093a chain_offset in cases where there is no chain record.
1094
1095gcc/
1096 * config/aarch64/aarch64.cc (aarch64_expand_prologue): Move the
1097 calculation of chain_offset into the emit_frame_chain block.
1098---
1099 gcc/config/aarch64/aarch64.cc | 10 +++++-----
1100 1 file changed, 5 insertions(+), 5 deletions(-)
1101
1102diff --git a/gcc/config/aarch64/aarch64.cc b/gcc/config/aarch64/aarch64.cc
1103index 46ae5cf7673..0e9b9717c08 100644
1104--- a/gcc/config/aarch64/aarch64.cc
1105+++ b/gcc/config/aarch64/aarch64.cc
1106@@ -10062,16 +10062,16 @@ aarch64_expand_prologue (void)
1107 if (callee_adjust != 0)
1108 aarch64_push_regs (reg1, reg2, callee_adjust);
1109
1110- /* The offset of the frame chain record (if any) from the current SP. */
1111- poly_int64 chain_offset = (initial_adjust + callee_adjust
1112- - frame.hard_fp_offset);
1113- gcc_assert (known_ge (chain_offset, 0));
1114-
1115 /* The offset of the current SP from the bottom of the static frame. */
1116 poly_int64 bytes_below_sp = frame_size - initial_adjust - callee_adjust;
1117
1118 if (emit_frame_chain)
1119 {
1120+ /* The offset of the frame chain record (if any) from the current SP. */
1121+ poly_int64 chain_offset = (initial_adjust + callee_adjust
1122+ - frame.hard_fp_offset);
1123+ gcc_assert (known_ge (chain_offset, 0));
1124+
1125 if (callee_adjust == 0)
1126 {
1127 reg1 = R29_REGNUM;
1128--
11292.34.1
1130
1131
1132From 375794feb614cee1f41b710b9cc1b6f25da6c1cb Mon Sep 17 00:00:00 2001
1133From: Richard Sandiford <richard.sandiford@arm.com>
1134Date: Tue, 12 Sep 2023 16:07:15 +0100
1135Subject: [PATCH 08/19] aarch64: Rename locals_offset to bytes_above_locals
1136MIME-Version: 1.0
1137Content-Type: text/plain; charset=UTF-8
1138Content-Transfer-Encoding: 8bit
1139
1140locals_offset was described as:
1141
1142 /* Offset from the base of the frame (incomming SP) to the
1143 top of the locals area. This value is always a multiple of
1144 STACK_BOUNDARY. */
1145
1146This is implicitly an “upside down” view of the frame: the incoming
1147SP is at offset 0, and anything N bytes below the incoming SP is at
1148offset N (rather than -N).
1149
1150However, reg_offset instead uses a “right way up” view; that is,
1151it views offsets in address terms. Something above X is at a
1152positive offset from X and something below X is at a negative
1153offset from X.
1154
1155Also, even on FRAME_GROWS_DOWNWARD targets like AArch64,
1156target-independent code views offsets in address terms too:
1157locals are allocated at negative offsets to virtual_stack_vars.
1158
1159It seems confusing to have *_offset fields of the same structure
1160using different polarities like this. This patch tries to avoid
1161that by renaming locals_offset to bytes_above_locals.
1162
1163gcc/
1164 * config/aarch64/aarch64.h (aarch64_frame::locals_offset): Rename to...
1165 (aarch64_frame::bytes_above_locals): ...this.
1166 * config/aarch64/aarch64.cc (aarch64_layout_frame)
1167 (aarch64_initial_elimination_offset): Update accordingly.
1168---
1169 gcc/config/aarch64/aarch64.cc | 6 +++---
1170 gcc/config/aarch64/aarch64.h | 6 +++---
1171 2 files changed, 6 insertions(+), 6 deletions(-)
1172
1173diff --git a/gcc/config/aarch64/aarch64.cc b/gcc/config/aarch64/aarch64.cc
1174index 0e9b9717c08..0a22f91520e 100644
1175--- a/gcc/config/aarch64/aarch64.cc
1176+++ b/gcc/config/aarch64/aarch64.cc
1177@@ -8598,7 +8598,7 @@ aarch64_layout_frame (void)
1178 STACK_BOUNDARY / BITS_PER_UNIT));
1179 frame.frame_size = saved_regs_and_above + frame.bytes_below_saved_regs;
1180
1181- frame.locals_offset = frame.saved_varargs_size;
1182+ frame.bytes_above_locals = frame.saved_varargs_size;
1183
1184 frame.initial_adjust = 0;
1185 frame.final_adjust = 0;
1186@@ -12754,13 +12754,13 @@ aarch64_initial_elimination_offset (unsigned from, unsigned to)
1187 return frame.hard_fp_offset;
1188
1189 if (from == FRAME_POINTER_REGNUM)
1190- return frame.hard_fp_offset - frame.locals_offset;
1191+ return frame.hard_fp_offset - frame.bytes_above_locals;
1192 }
1193
1194 if (to == STACK_POINTER_REGNUM)
1195 {
1196 if (from == FRAME_POINTER_REGNUM)
1197- return frame.frame_size - frame.locals_offset;
1198+ return frame.frame_size - frame.bytes_above_locals;
1199 }
1200
1201 return frame.frame_size;
1202diff --git a/gcc/config/aarch64/aarch64.h b/gcc/config/aarch64/aarch64.h
1203index fd820b1be4e..7ae12d13e2b 100644
1204--- a/gcc/config/aarch64/aarch64.h
1205+++ b/gcc/config/aarch64/aarch64.h
1206@@ -791,10 +791,10 @@ struct GTY (()) aarch64_frame
1207 always a multiple of STACK_BOUNDARY. */
1208 poly_int64 bytes_below_hard_fp;
1209
1210- /* Offset from the base of the frame (incomming SP) to the
1211- top of the locals area. This value is always a multiple of
1212+ /* The number of bytes between the top of the locals area and the top
1213+ of the frame (the incomming SP). This value is always a multiple of
1214 STACK_BOUNDARY. */
1215- poly_int64 locals_offset;
1216+ poly_int64 bytes_above_locals;
1217
1218 /* Offset from the base of the frame (incomming SP) to the
1219 hard_frame_pointer. This value is always a multiple of
1220--
12212.34.1
1222
1223
1224From 1a9ea1c45c75615ffbfabe652b3598a1d7be2168 Mon Sep 17 00:00:00 2001
1225From: Richard Sandiford <richard.sandiford@arm.com>
1226Date: Tue, 12 Sep 2023 16:07:16 +0100
1227Subject: [PATCH 09/19] aarch64: Rename hard_fp_offset to bytes_above_hard_fp
1228MIME-Version: 1.0
1229Content-Type: text/plain; charset=UTF-8
1230Content-Transfer-Encoding: 8bit
1231
1232Similarly to the previous locals_offset patch, hard_fp_offset
1233was described as:
1234
1235 /* Offset from the base of the frame (incomming SP) to the
1236 hard_frame_pointer. This value is always a multiple of
1237 STACK_BOUNDARY. */
1238 poly_int64 hard_fp_offset;
1239
1240which again took an “upside-down” view: higher offsets meant lower
1241addresses. This patch renames the field to bytes_above_hard_fp instead.
1242
1243gcc/
1244 * config/aarch64/aarch64.h (aarch64_frame::hard_fp_offset): Rename
1245 to...
1246 (aarch64_frame::bytes_above_hard_fp): ...this.
1247 * config/aarch64/aarch64.cc (aarch64_layout_frame)
1248 (aarch64_expand_prologue): Update accordingly.
1249 (aarch64_initial_elimination_offset): Likewise.
1250---
1251 gcc/config/aarch64/aarch64.cc | 26 +++++++++++++-------------
1252 gcc/config/aarch64/aarch64.h | 6 +++---
1253 2 files changed, 16 insertions(+), 16 deletions(-)
1254
1255diff --git a/gcc/config/aarch64/aarch64.cc b/gcc/config/aarch64/aarch64.cc
1256index 0a22f91520e..95499ae49ba 100644
1257--- a/gcc/config/aarch64/aarch64.cc
1258+++ b/gcc/config/aarch64/aarch64.cc
1259@@ -8590,7 +8590,7 @@ aarch64_layout_frame (void)
1260 + get_frame_size (),
1261 STACK_BOUNDARY / BITS_PER_UNIT);
1262
1263- frame.hard_fp_offset
1264+ frame.bytes_above_hard_fp
1265 = saved_regs_and_above - frame.below_hard_fp_saved_regs_size;
1266
1267 /* Both these values are already aligned. */
1268@@ -8639,13 +8639,13 @@ aarch64_layout_frame (void)
1269 else if (frame.wb_pop_candidate1 != INVALID_REGNUM)
1270 max_push_offset = 256;
1271
1272- HOST_WIDE_INT const_size, const_below_saved_regs, const_fp_offset;
1273+ HOST_WIDE_INT const_size, const_below_saved_regs, const_above_fp;
1274 HOST_WIDE_INT const_saved_regs_size;
1275 if (known_eq (frame.saved_regs_size, 0))
1276 frame.initial_adjust = frame.frame_size;
1277 else if (frame.frame_size.is_constant (&const_size)
1278 && const_size < max_push_offset
1279- && known_eq (frame.hard_fp_offset, const_size))
1280+ && known_eq (frame.bytes_above_hard_fp, const_size))
1281 {
1282 /* Simple, small frame with no data below the saved registers.
1283
1284@@ -8662,8 +8662,8 @@ aarch64_layout_frame (void)
1285 case that it hardly seems worth the effort though. */
1286 && (!saves_below_hard_fp_p || const_below_saved_regs == 0)
1287 && !(cfun->calls_alloca
1288- && frame.hard_fp_offset.is_constant (&const_fp_offset)
1289- && const_fp_offset < max_push_offset))
1290+ && frame.bytes_above_hard_fp.is_constant (&const_above_fp)
1291+ && const_above_fp < max_push_offset))
1292 {
1293 /* Frame with small area below the saved registers:
1294
1295@@ -8681,12 +8681,12 @@ aarch64_layout_frame (void)
1296 sub sp, sp, hard_fp_offset + below_hard_fp_saved_regs_size
1297 save SVE registers relative to SP
1298 sub sp, sp, bytes_below_saved_regs */
1299- frame.initial_adjust = (frame.hard_fp_offset
1300+ frame.initial_adjust = (frame.bytes_above_hard_fp
1301 + frame.below_hard_fp_saved_regs_size);
1302 frame.final_adjust = frame.bytes_below_saved_regs;
1303 }
1304- else if (frame.hard_fp_offset.is_constant (&const_fp_offset)
1305- && const_fp_offset < max_push_offset)
1306+ else if (frame.bytes_above_hard_fp.is_constant (&const_above_fp)
1307+ && const_above_fp < max_push_offset)
1308 {
1309 /* Frame with large area below the saved registers, or with SVE saves,
1310 but with a small area above:
1311@@ -8696,7 +8696,7 @@ aarch64_layout_frame (void)
1312 [sub sp, sp, below_hard_fp_saved_regs_size]
1313 [save SVE registers relative to SP]
1314 sub sp, sp, bytes_below_saved_regs */
1315- frame.callee_adjust = const_fp_offset;
1316+ frame.callee_adjust = const_above_fp;
1317 frame.sve_callee_adjust = frame.below_hard_fp_saved_regs_size;
1318 frame.final_adjust = frame.bytes_below_saved_regs;
1319 }
1320@@ -8711,7 +8711,7 @@ aarch64_layout_frame (void)
1321 [sub sp, sp, below_hard_fp_saved_regs_size]
1322 [save SVE registers relative to SP]
1323 sub sp, sp, bytes_below_saved_regs */
1324- frame.initial_adjust = frame.hard_fp_offset;
1325+ frame.initial_adjust = frame.bytes_above_hard_fp;
1326 frame.sve_callee_adjust = frame.below_hard_fp_saved_regs_size;
1327 frame.final_adjust = frame.bytes_below_saved_regs;
1328 }
1329@@ -10069,7 +10069,7 @@ aarch64_expand_prologue (void)
1330 {
1331 /* The offset of the frame chain record (if any) from the current SP. */
1332 poly_int64 chain_offset = (initial_adjust + callee_adjust
1333- - frame.hard_fp_offset);
1334+ - frame.bytes_above_hard_fp);
1335 gcc_assert (known_ge (chain_offset, 0));
1336
1337 if (callee_adjust == 0)
1338@@ -12751,10 +12751,10 @@ aarch64_initial_elimination_offset (unsigned from, unsigned to)
1339 if (to == HARD_FRAME_POINTER_REGNUM)
1340 {
1341 if (from == ARG_POINTER_REGNUM)
1342- return frame.hard_fp_offset;
1343+ return frame.bytes_above_hard_fp;
1344
1345 if (from == FRAME_POINTER_REGNUM)
1346- return frame.hard_fp_offset - frame.bytes_above_locals;
1347+ return frame.bytes_above_hard_fp - frame.bytes_above_locals;
1348 }
1349
1350 if (to == STACK_POINTER_REGNUM)
1351diff --git a/gcc/config/aarch64/aarch64.h b/gcc/config/aarch64/aarch64.h
1352index 7ae12d13e2b..3808f49e9ca 100644
1353--- a/gcc/config/aarch64/aarch64.h
1354+++ b/gcc/config/aarch64/aarch64.h
1355@@ -796,10 +796,10 @@ struct GTY (()) aarch64_frame
1356 STACK_BOUNDARY. */
1357 poly_int64 bytes_above_locals;
1358
1359- /* Offset from the base of the frame (incomming SP) to the
1360- hard_frame_pointer. This value is always a multiple of
1361+ /* The number of bytes between the hard_frame_pointer and the top of
1362+ the frame (the incomming SP). This value is always a multiple of
1363 STACK_BOUNDARY. */
1364- poly_int64 hard_fp_offset;
1365+ poly_int64 bytes_above_hard_fp;
1366
1367 /* The size of the frame. This value is the offset from base of the
1368 frame (incomming SP) to the stack_pointer. This value is always
1369--
13702.34.1
1371
1372
1373From d202ce1ecf60a36a3e1009917dd76109248ce9be Mon Sep 17 00:00:00 2001
1374From: Richard Sandiford <richard.sandiford@arm.com>
1375Date: Tue, 12 Sep 2023 16:07:16 +0100
1376Subject: [PATCH 10/19] aarch64: Tweak frame_size comment
1377MIME-Version: 1.0
1378Content-Type: text/plain; charset=UTF-8
1379Content-Transfer-Encoding: 8bit
1380
1381This patch fixes another case in which a value was described with
1382an “upside-down” view.
1383
1384gcc/
1385 * config/aarch64/aarch64.h (aarch64_frame::frame_size): Tweak comment.
1386---
1387 gcc/config/aarch64/aarch64.h | 4 ++--
1388 1 file changed, 2 insertions(+), 2 deletions(-)
1389
1390diff --git a/gcc/config/aarch64/aarch64.h b/gcc/config/aarch64/aarch64.h
1391index 3808f49e9ca..108a5731b0d 100644
1392--- a/gcc/config/aarch64/aarch64.h
1393+++ b/gcc/config/aarch64/aarch64.h
1394@@ -801,8 +801,8 @@ struct GTY (()) aarch64_frame
1395 STACK_BOUNDARY. */
1396 poly_int64 bytes_above_hard_fp;
1397
1398- /* The size of the frame. This value is the offset from base of the
1399- frame (incomming SP) to the stack_pointer. This value is always
1400+ /* The size of the frame, i.e. the number of bytes between the bottom
1401+ of the outgoing arguments and the incoming SP. This value is always
1402 a multiple of STACK_BOUNDARY. */
1403 poly_int64 frame_size;
1404
1405--
14062.34.1
1407
1408
1409From f2b585375205b0a1802d79c682ba33766ecd1f0f Mon Sep 17 00:00:00 2001
1410From: Richard Sandiford <richard.sandiford@arm.com>
1411Date: Tue, 12 Sep 2023 16:07:17 +0100
1412Subject: [PATCH 11/19] aarch64: Measure reg_offset from the bottom of the
1413 frame
1414
1415reg_offset was measured from the bottom of the saved register area.
1416This made perfect sense with the original layout, since the bottom
1417of the saved register area was also the hard frame pointer address.
1418It became slightly less obvious with SVE, since we save SVE
1419registers below the hard frame pointer, but it still made sense.
1420
1421However, if we want to allow different frame layouts, it's more
1422convenient and obvious to measure reg_offset from the bottom of
1423the frame. After previous patches, it's also a slight simplification
1424in its own right.
1425
1426gcc/
1427 * config/aarch64/aarch64.h (aarch64_frame): Add comment above
1428 reg_offset.
1429 * config/aarch64/aarch64.cc (aarch64_layout_frame): Walk offsets
1430 from the bottom of the frame, rather than the bottom of the saved
1431 register area. Measure reg_offset from the bottom of the frame
1432 rather than the bottom of the saved register area.
1433 (aarch64_save_callee_saves): Update accordingly.
1434 (aarch64_restore_callee_saves): Likewise.
1435 (aarch64_get_separate_components): Likewise.
1436 (aarch64_process_components): Likewise.
1437---
1438 gcc/config/aarch64/aarch64.cc | 53 ++++++++++++++++-------------------
1439 gcc/config/aarch64/aarch64.h | 3 ++
1440 2 files changed, 27 insertions(+), 29 deletions(-)
1441
1442diff --git a/gcc/config/aarch64/aarch64.cc b/gcc/config/aarch64/aarch64.cc
1443index 95499ae49ba..af99807ef8a 100644
1444--- a/gcc/config/aarch64/aarch64.cc
1445+++ b/gcc/config/aarch64/aarch64.cc
1446@@ -8400,7 +8400,6 @@ aarch64_needs_frame_chain (void)
1447 static void
1448 aarch64_layout_frame (void)
1449 {
1450- poly_int64 offset = 0;
1451 int regno, last_fp_reg = INVALID_REGNUM;
1452 machine_mode vector_save_mode = aarch64_reg_save_mode (V8_REGNUM);
1453 poly_int64 vector_save_size = GET_MODE_SIZE (vector_save_mode);
1454@@ -8478,7 +8477,9 @@ aarch64_layout_frame (void)
1455 gcc_assert (crtl->is_leaf
1456 || maybe_ne (frame.reg_offset[R30_REGNUM], SLOT_NOT_REQUIRED));
1457
1458- frame.bytes_below_saved_regs = crtl->outgoing_args_size;
1459+ poly_int64 offset = crtl->outgoing_args_size;
1460+ gcc_assert (multiple_p (offset, STACK_BOUNDARY / BITS_PER_UNIT));
1461+ frame.bytes_below_saved_regs = offset;
1462
1463 /* Now assign stack slots for the registers. Start with the predicate
1464 registers, since predicate LDR and STR have a relatively small
1465@@ -8490,7 +8491,8 @@ aarch64_layout_frame (void)
1466 offset += BYTES_PER_SVE_PRED;
1467 }
1468
1469- if (maybe_ne (offset, 0))
1470+ poly_int64 saved_prs_size = offset - frame.bytes_below_saved_regs;
1471+ if (maybe_ne (saved_prs_size, 0))
1472 {
1473 /* If we have any vector registers to save above the predicate registers,
1474 the offset of the vector register save slots need to be a multiple
1475@@ -8508,10 +8510,10 @@ aarch64_layout_frame (void)
1476 offset = aligned_upper_bound (offset, STACK_BOUNDARY / BITS_PER_UNIT);
1477 else
1478 {
1479- if (known_le (offset, vector_save_size))
1480- offset = vector_save_size;
1481- else if (known_le (offset, vector_save_size * 2))
1482- offset = vector_save_size * 2;
1483+ if (known_le (saved_prs_size, vector_save_size))
1484+ offset = frame.bytes_below_saved_regs + vector_save_size;
1485+ else if (known_le (saved_prs_size, vector_save_size * 2))
1486+ offset = frame.bytes_below_saved_regs + vector_save_size * 2;
1487 else
1488 gcc_unreachable ();
1489 }
1490@@ -8528,9 +8530,10 @@ aarch64_layout_frame (void)
1491
1492 /* OFFSET is now the offset of the hard frame pointer from the bottom
1493 of the callee save area. */
1494- bool saves_below_hard_fp_p = maybe_ne (offset, 0);
1495- frame.below_hard_fp_saved_regs_size = offset;
1496- frame.bytes_below_hard_fp = offset + frame.bytes_below_saved_regs;
1497+ frame.below_hard_fp_saved_regs_size = offset - frame.bytes_below_saved_regs;
1498+ bool saves_below_hard_fp_p
1499+ = maybe_ne (frame.below_hard_fp_saved_regs_size, 0);
1500+ frame.bytes_below_hard_fp = offset;
1501 if (frame.emit_frame_chain)
1502 {
1503 /* FP and LR are placed in the linkage record. */
1504@@ -8581,9 +8584,10 @@ aarch64_layout_frame (void)
1505
1506 offset = aligned_upper_bound (offset, STACK_BOUNDARY / BITS_PER_UNIT);
1507
1508- frame.saved_regs_size = offset;
1509+ frame.saved_regs_size = offset - frame.bytes_below_saved_regs;
1510
1511- poly_int64 varargs_and_saved_regs_size = offset + frame.saved_varargs_size;
1512+ poly_int64 varargs_and_saved_regs_size
1513+ = frame.saved_regs_size + frame.saved_varargs_size;
1514
1515 poly_int64 saved_regs_and_above
1516 = aligned_upper_bound (varargs_and_saved_regs_size
1517@@ -9105,9 +9109,7 @@ aarch64_save_callee_saves (poly_int64 bytes_below_sp,
1518
1519 machine_mode mode = aarch64_reg_save_mode (regno);
1520 reg = gen_rtx_REG (mode, regno);
1521- offset = (frame.reg_offset[regno]
1522- + frame.bytes_below_saved_regs
1523- - bytes_below_sp);
1524+ offset = frame.reg_offset[regno] - bytes_below_sp;
1525 rtx base_rtx = stack_pointer_rtx;
1526 poly_int64 sp_offset = offset;
1527
1528@@ -9214,9 +9216,7 @@ aarch64_restore_callee_saves (poly_int64 bytes_below_sp, unsigned start,
1529
1530 machine_mode mode = aarch64_reg_save_mode (regno);
1531 reg = gen_rtx_REG (mode, regno);
1532- offset = (frame.reg_offset[regno]
1533- + frame.bytes_below_saved_regs
1534- - bytes_below_sp);
1535+ offset = frame.reg_offset[regno] - bytes_below_sp;
1536 rtx base_rtx = stack_pointer_rtx;
1537 if (mode == VNx2DImode && BYTES_BIG_ENDIAN)
1538 aarch64_adjust_sve_callee_save_base (mode, base_rtx, anchor_reg,
1539@@ -9355,14 +9355,12 @@ aarch64_get_separate_components (void)
1540 it as a stack probe for -fstack-clash-protection. */
1541 if (flag_stack_clash_protection
1542 && maybe_ne (frame.below_hard_fp_saved_regs_size, 0)
1543- && known_eq (offset, 0))
1544+ && known_eq (offset, frame.bytes_below_saved_regs))
1545 continue;
1546
1547 /* Get the offset relative to the register we'll use. */
1548 if (frame_pointer_needed)
1549- offset -= frame.below_hard_fp_saved_regs_size;
1550- else
1551- offset += frame.bytes_below_saved_regs;
1552+ offset -= frame.bytes_below_hard_fp;
1553
1554 /* Check that we can access the stack slot of the register with one
1555 direct load with no adjustments needed. */
1556@@ -9509,9 +9507,7 @@ aarch64_process_components (sbitmap components, bool prologue_p)
1557 rtx reg = gen_rtx_REG (mode, regno);
1558 poly_int64 offset = frame.reg_offset[regno];
1559 if (frame_pointer_needed)
1560- offset -= frame.below_hard_fp_saved_regs_size;
1561- else
1562- offset += frame.bytes_below_saved_regs;
1563+ offset -= frame.bytes_below_hard_fp;
1564
1565 rtx addr = plus_constant (Pmode, ptr_reg, offset);
1566 rtx mem = gen_frame_mem (mode, addr);
1567@@ -9563,9 +9559,7 @@ aarch64_process_components (sbitmap components, bool prologue_p)
1568 /* REGNO2 can be saved/restored in a pair with REGNO. */
1569 rtx reg2 = gen_rtx_REG (mode, regno2);
1570 if (frame_pointer_needed)
1571- offset2 -= frame.below_hard_fp_saved_regs_size;
1572- else
1573- offset2 += frame.bytes_below_saved_regs;
1574+ offset2 -= frame.bytes_below_hard_fp;
1575 rtx addr2 = plus_constant (Pmode, ptr_reg, offset2);
1576 rtx mem2 = gen_frame_mem (mode, addr2);
1577 rtx set2 = prologue_p ? gen_rtx_SET (mem2, reg2)
1578@@ -9681,7 +9675,8 @@ aarch64_allocate_and_probe_stack_space (rtx temp1, rtx temp2,
1579 if (final_adjustment_p
1580 && known_eq (frame.below_hard_fp_saved_regs_size, 0))
1581 {
1582- poly_int64 lr_offset = frame.reg_offset[LR_REGNUM];
1583+ poly_int64 lr_offset = (frame.reg_offset[LR_REGNUM]
1584+ - frame.bytes_below_saved_regs);
1585 if (known_ge (lr_offset, 0))
1586 min_probe_threshold -= lr_offset.to_constant ();
1587 else
1588diff --git a/gcc/config/aarch64/aarch64.h b/gcc/config/aarch64/aarch64.h
1589index 108a5731b0d..c8becb098c8 100644
1590--- a/gcc/config/aarch64/aarch64.h
1591+++ b/gcc/config/aarch64/aarch64.h
1592@@ -766,6 +766,9 @@ extern enum aarch64_processor aarch64_tune;
1593 #ifdef HAVE_POLY_INT_H
1594 struct GTY (()) aarch64_frame
1595 {
1596+ /* The offset from the bottom of the static frame (the bottom of the
1597+ outgoing arguments) of each register save slot, or -2 if no save is
1598+ needed. */
1599 poly_int64 reg_offset[LAST_SAVED_REGNUM + 1];
1600
1601 /* The number of extra stack bytes taken up by register varargs.
1602--
16032.34.1
1604
1605
1606From 79faabda181d0d9fd29a3cf5726ba65bdee945b5 Mon Sep 17 00:00:00 2001
1607From: Richard Sandiford <richard.sandiford@arm.com>
1608Date: Tue, 12 Sep 2023 16:07:17 +0100
1609Subject: [PATCH 12/19] aarch64: Simplify top of frame allocation
1610
1611After previous patches, it no longer really makes sense to allocate
1612the top of the frame in terms of varargs_and_saved_regs_size and
1613saved_regs_and_above.
1614
1615gcc/
1616 * config/aarch64/aarch64.cc (aarch64_layout_frame): Simplify
1617 the allocation of the top of the frame.
1618---
1619 gcc/config/aarch64/aarch64.cc | 23 ++++++++---------------
1620 1 file changed, 8 insertions(+), 15 deletions(-)
1621
1622diff --git a/gcc/config/aarch64/aarch64.cc b/gcc/config/aarch64/aarch64.cc
1623index af99807ef8a..31b00094c2a 100644
1624--- a/gcc/config/aarch64/aarch64.cc
1625+++ b/gcc/config/aarch64/aarch64.cc
1626@@ -8586,23 +8586,16 @@ aarch64_layout_frame (void)
1627
1628 frame.saved_regs_size = offset - frame.bytes_below_saved_regs;
1629
1630- poly_int64 varargs_and_saved_regs_size
1631- = frame.saved_regs_size + frame.saved_varargs_size;
1632-
1633- poly_int64 saved_regs_and_above
1634- = aligned_upper_bound (varargs_and_saved_regs_size
1635- + get_frame_size (),
1636- STACK_BOUNDARY / BITS_PER_UNIT);
1637-
1638- frame.bytes_above_hard_fp
1639- = saved_regs_and_above - frame.below_hard_fp_saved_regs_size;
1640+ offset += get_frame_size ();
1641+ offset = aligned_upper_bound (offset, STACK_BOUNDARY / BITS_PER_UNIT);
1642+ auto top_of_locals = offset;
1643
1644- /* Both these values are already aligned. */
1645- gcc_assert (multiple_p (frame.bytes_below_saved_regs,
1646- STACK_BOUNDARY / BITS_PER_UNIT));
1647- frame.frame_size = saved_regs_and_above + frame.bytes_below_saved_regs;
1648+ offset += frame.saved_varargs_size;
1649+ gcc_assert (multiple_p (offset, STACK_BOUNDARY / BITS_PER_UNIT));
1650+ frame.frame_size = offset;
1651
1652- frame.bytes_above_locals = frame.saved_varargs_size;
1653+ frame.bytes_above_hard_fp = frame.frame_size - frame.bytes_below_hard_fp;
1654+ frame.bytes_above_locals = frame.frame_size - top_of_locals;
1655
1656 frame.initial_adjust = 0;
1657 frame.final_adjust = 0;
1658--
16592.34.1
1660
1661
1662From 4e62049e403b141e6f916176160dac8cbd65fe47 Mon Sep 17 00:00:00 2001
1663From: Richard Sandiford <richard.sandiford@arm.com>
1664Date: Tue, 12 Sep 2023 16:07:18 +0100
1665Subject: [PATCH 13/19] aarch64: Minor initial adjustment tweak
1666
1667This patch just changes a calculation of initial_adjust
1668to one that makes it slightly more obvious that the total
1669adjustment is frame.frame_size.
1670
1671gcc/
1672 * config/aarch64/aarch64.cc (aarch64_layout_frame): Tweak
1673 calculation of initial_adjust for frames in which all saves
1674 are SVE saves.
1675---
1676 gcc/config/aarch64/aarch64.cc | 5 ++---
1677 1 file changed, 2 insertions(+), 3 deletions(-)
1678
1679diff --git a/gcc/config/aarch64/aarch64.cc b/gcc/config/aarch64/aarch64.cc
1680index 31b00094c2a..1aa79da0673 100644
1681--- a/gcc/config/aarch64/aarch64.cc
1682+++ b/gcc/config/aarch64/aarch64.cc
1683@@ -8675,11 +8675,10 @@ aarch64_layout_frame (void)
1684 {
1685 /* Frame in which all saves are SVE saves:
1686
1687- sub sp, sp, hard_fp_offset + below_hard_fp_saved_regs_size
1688+ sub sp, sp, frame_size - bytes_below_saved_regs
1689 save SVE registers relative to SP
1690 sub sp, sp, bytes_below_saved_regs */
1691- frame.initial_adjust = (frame.bytes_above_hard_fp
1692- + frame.below_hard_fp_saved_regs_size);
1693+ frame.initial_adjust = frame.frame_size - frame.bytes_below_saved_regs;
1694 frame.final_adjust = frame.bytes_below_saved_regs;
1695 }
1696 else if (frame.bytes_above_hard_fp.is_constant (&const_above_fp)
1697--
16982.34.1
1699
1700
1701From aaa1a0a5912d9e5d571e5f1c6f09ceac99544ab5 Mon Sep 17 00:00:00 2001
1702From: Richard Sandiford <richard.sandiford@arm.com>
1703Date: Tue, 12 Sep 2023 16:07:18 +0100
1704Subject: [PATCH 14/19] aarch64: Tweak stack clash boundary condition
1705
1706The AArch64 ABI says that, when stack clash protection is used,
1707there can be a maximum of 1KiB of unprobed space at sp on entry
1708to a function. Therefore, we need to probe when allocating
1709>= guard_size - 1KiB of data (>= rather than >). This is what
1710GCC does.
1711
1712If an allocation is exactly guard_size bytes, it is enough to allocate
1713those bytes and probe once at offset 1024. It isn't possible to use a
1714single probe at any other offset: higher would conmplicate later code,
1715by leaving more unprobed space than usual, while lower would risk
1716leaving an entire page unprobed. For simplicity, the code probes all
1717allocations at offset 1024.
1718
1719Some register saves also act as probes. If we need to allocate
1720more space below the last such register save probe, we need to
1721probe the allocation if it is > 1KiB. Again, this allocation is
1722then sometimes (but not always) probed at offset 1024. This sort of
1723allocation is currently only used for outgoing arguments, which are
1724rarely this big.
1725
1726However, the code also probed if this final outgoing-arguments
1727allocation was == 1KiB, rather than just > 1KiB. This isn't
1728necessary, since the register save then probes at offset 1024
1729as required. Continuing to probe allocations of exactly 1KiB
1730would complicate later patches.
1731
1732gcc/
1733 * config/aarch64/aarch64.cc (aarch64_allocate_and_probe_stack_space):
1734 Don't probe final allocations that are exactly 1KiB in size (after
1735 unprobed space above the final allocation has been deducted).
1736
1737gcc/testsuite/
1738 * gcc.target/aarch64/stack-check-prologue-17.c: New test.
1739---
1740 gcc/config/aarch64/aarch64.cc | 4 +-
1741 .../aarch64/stack-check-prologue-17.c | 55 +++++++++++++++++++
1742 2 files changed, 58 insertions(+), 1 deletion(-)
1743 create mode 100644 gcc/testsuite/gcc.target/aarch64/stack-check-prologue-17.c
1744
1745diff --git a/gcc/config/aarch64/aarch64.cc b/gcc/config/aarch64/aarch64.cc
1746index 1aa79da0673..5cad847977a 100644
1747--- a/gcc/config/aarch64/aarch64.cc
1748+++ b/gcc/config/aarch64/aarch64.cc
1749@@ -9648,9 +9648,11 @@ aarch64_allocate_and_probe_stack_space (rtx temp1, rtx temp2,
1750 HOST_WIDE_INT guard_size
1751 = 1 << param_stack_clash_protection_guard_size;
1752 HOST_WIDE_INT guard_used_by_caller = STACK_CLASH_CALLER_GUARD;
1753+ HOST_WIDE_INT byte_sp_alignment = STACK_BOUNDARY / BITS_PER_UNIT;
1754+ gcc_assert (multiple_p (poly_size, byte_sp_alignment));
1755 HOST_WIDE_INT min_probe_threshold
1756 = (final_adjustment_p
1757- ? guard_used_by_caller
1758+ ? guard_used_by_caller + byte_sp_alignment
1759 : guard_size - guard_used_by_caller);
1760 /* When doing the final adjustment for the outgoing arguments, take into
1761 account any unprobed space there is above the current SP. There are
1762diff --git a/gcc/testsuite/gcc.target/aarch64/stack-check-prologue-17.c b/gcc/testsuite/gcc.target/aarch64/stack-check-prologue-17.c
1763new file mode 100644
1764index 00000000000..0d8a25d73a2
1765--- /dev/null
1766+++ b/gcc/testsuite/gcc.target/aarch64/stack-check-prologue-17.c
1767@@ -0,0 +1,55 @@
1768+/* { dg-options "-O2 -fstack-clash-protection -fomit-frame-pointer --param stack-clash-protection-guard-size=12" } */
1769+/* { dg-final { check-function-bodies "**" "" } } */
1770+
1771+void f(int, ...);
1772+void g();
1773+
1774+/*
1775+** test1:
1776+** ...
1777+** str x30, \[sp\]
1778+** sub sp, sp, #1024
1779+** cbnz w0, .*
1780+** bl g
1781+** ...
1782+*/
1783+int test1(int z) {
1784+ __uint128_t x = 0;
1785+ int y[0x400];
1786+ if (z)
1787+ {
1788+ f(0, 0, 0, 0, 0, 0, 0, &y,
1789+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
1790+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
1791+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
1792+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x);
1793+ }
1794+ g();
1795+ return 1;
1796+}
1797+
1798+/*
1799+** test2:
1800+** ...
1801+** str x30, \[sp\]
1802+** sub sp, sp, #1040
1803+** str xzr, \[sp\]
1804+** cbnz w0, .*
1805+** bl g
1806+** ...
1807+*/
1808+int test2(int z) {
1809+ __uint128_t x = 0;
1810+ int y[0x400];
1811+ if (z)
1812+ {
1813+ f(0, 0, 0, 0, 0, 0, 0, &y,
1814+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
1815+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
1816+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
1817+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
1818+ x);
1819+ }
1820+ g();
1821+ return 1;
1822+}
1823--
18242.34.1
1825
1826
1827From 8433953434a7b58c0923140d39eb3c5988c1d097 Mon Sep 17 00:00:00 2001
1828From: Richard Sandiford <richard.sandiford@arm.com>
1829Date: Tue, 12 Sep 2023 16:07:19 +0100
1830Subject: [PATCH 15/19] aarch64: Put LR save probe in first 16 bytes
1831
1832-fstack-clash-protection uses the save of LR as a probe for the next
1833allocation. The next allocation could be:
1834
1835* another part of the static frame, e.g. when allocating SVE save slots
1836 or outgoing arguments
1837
1838* an alloca in the same function
1839
1840* an allocation made by a callee function
1841
1842However, when -fomit-frame-pointer is used, the LR save slot is placed
1843above the other GPR save slots. It could therefore be up to 80 bytes
1844above the base of the GPR save area (which is also the hard fp address).
1845
1846aarch64_allocate_and_probe_stack_space took this into account when
1847deciding how much subsequent space could be allocated without needing
1848a probe. However, it interacted badly with:
1849
1850 /* If doing a small final adjustment, we always probe at offset 0.
1851 This is done to avoid issues when LR is not at position 0 or when
1852 the final adjustment is smaller than the probing offset. */
1853 else if (final_adjustment_p && rounded_size == 0)
1854 residual_probe_offset = 0;
1855
1856which forces any allocation that is smaller than the guard page size
1857to be probed at offset 0 rather than the usual offset 1024. It was
1858therefore possible to construct cases in which we had:
1859
1860* a probe using LR at SP + 80 bytes (or some other value >= 16)
1861* an allocation of the guard page size - 16 bytes
1862* a probe at SP + 0
1863
1864which allocates guard page size + 64 consecutive unprobed bytes.
1865
1866This patch requires the LR probe to be in the first 16 bytes of the
1867save area when stack clash protection is active. Doing it
1868unconditionally would cause code-quality regressions.
1869
1870Putting LR before other registers prevents push/pop allocation
1871when shadow call stacks are enabled, since LR is restored
1872separately from the other callee-saved registers.
1873
1874The new comment doesn't say that the probe register is required
1875to be LR, since a later patch removes that restriction.
1876
1877gcc/
1878 * config/aarch64/aarch64.cc (aarch64_layout_frame): Ensure that
1879 the LR save slot is in the first 16 bytes of the register save area.
1880 Only form STP/LDP push/pop candidates if both registers are valid.
1881 (aarch64_allocate_and_probe_stack_space): Remove workaround for
1882 when LR was not in the first 16 bytes.
1883
1884gcc/testsuite/
1885 * gcc.target/aarch64/stack-check-prologue-18.c: New test.
1886 * gcc.target/aarch64/stack-check-prologue-19.c: Likewise.
1887 * gcc.target/aarch64/stack-check-prologue-20.c: Likewise.
1888---
1889 gcc/config/aarch64/aarch64.cc | 72 ++++++-------
1890 .../aarch64/stack-check-prologue-18.c | 100 ++++++++++++++++++
1891 .../aarch64/stack-check-prologue-19.c | 100 ++++++++++++++++++
1892 .../aarch64/stack-check-prologue-20.c | 3 +
1893 4 files changed, 233 insertions(+), 42 deletions(-)
1894 create mode 100644 gcc/testsuite/gcc.target/aarch64/stack-check-prologue-18.c
1895 create mode 100644 gcc/testsuite/gcc.target/aarch64/stack-check-prologue-19.c
1896 create mode 100644 gcc/testsuite/gcc.target/aarch64/stack-check-prologue-20.c
1897
1898diff --git a/gcc/config/aarch64/aarch64.cc b/gcc/config/aarch64/aarch64.cc
1899index 5cad847977a..a765f92329d 100644
1900--- a/gcc/config/aarch64/aarch64.cc
1901+++ b/gcc/config/aarch64/aarch64.cc
1902@@ -8534,26 +8534,34 @@ aarch64_layout_frame (void)
1903 bool saves_below_hard_fp_p
1904 = maybe_ne (frame.below_hard_fp_saved_regs_size, 0);
1905 frame.bytes_below_hard_fp = offset;
1906+
1907+ auto allocate_gpr_slot = [&](unsigned int regno)
1908+ {
1909+ frame.reg_offset[regno] = offset;
1910+ if (frame.wb_push_candidate1 == INVALID_REGNUM)
1911+ frame.wb_push_candidate1 = regno;
1912+ else if (frame.wb_push_candidate2 == INVALID_REGNUM)
1913+ frame.wb_push_candidate2 = regno;
1914+ offset += UNITS_PER_WORD;
1915+ };
1916+
1917 if (frame.emit_frame_chain)
1918 {
1919 /* FP and LR are placed in the linkage record. */
1920- frame.reg_offset[R29_REGNUM] = offset;
1921- frame.wb_push_candidate1 = R29_REGNUM;
1922- frame.reg_offset[R30_REGNUM] = offset + UNITS_PER_WORD;
1923- frame.wb_push_candidate2 = R30_REGNUM;
1924- offset += 2 * UNITS_PER_WORD;
1925+ allocate_gpr_slot (R29_REGNUM);
1926+ allocate_gpr_slot (R30_REGNUM);
1927 }
1928+ else if (flag_stack_clash_protection
1929+ && known_eq (frame.reg_offset[R30_REGNUM], SLOT_REQUIRED))
1930+ /* Put the LR save slot first, since it makes a good choice of probe
1931+ for stack clash purposes. The idea is that the link register usually
1932+ has to be saved before a call anyway, and so we lose little by
1933+ stopping it from being individually shrink-wrapped. */
1934+ allocate_gpr_slot (R30_REGNUM);
1935
1936 for (regno = R0_REGNUM; regno <= R30_REGNUM; regno++)
1937 if (known_eq (frame.reg_offset[regno], SLOT_REQUIRED))
1938- {
1939- frame.reg_offset[regno] = offset;
1940- if (frame.wb_push_candidate1 == INVALID_REGNUM)
1941- frame.wb_push_candidate1 = regno;
1942- else if (frame.wb_push_candidate2 == INVALID_REGNUM)
1943- frame.wb_push_candidate2 = regno;
1944- offset += UNITS_PER_WORD;
1945- }
1946+ allocate_gpr_slot (regno);
1947
1948 poly_int64 max_int_offset = offset;
1949 offset = aligned_upper_bound (offset, STACK_BOUNDARY / BITS_PER_UNIT);
1950@@ -8631,10 +8639,13 @@ aarch64_layout_frame (void)
1951 max_push_offset to 0, because no registers are popped at this time,
1952 so callee_adjust cannot be adjusted. */
1953 HOST_WIDE_INT max_push_offset = 0;
1954- if (frame.wb_pop_candidate2 != INVALID_REGNUM)
1955- max_push_offset = 512;
1956- else if (frame.wb_pop_candidate1 != INVALID_REGNUM)
1957- max_push_offset = 256;
1958+ if (frame.wb_pop_candidate1 != INVALID_REGNUM)
1959+ {
1960+ if (frame.wb_pop_candidate2 != INVALID_REGNUM)
1961+ max_push_offset = 512;
1962+ else
1963+ max_push_offset = 256;
1964+ }
1965
1966 HOST_WIDE_INT const_size, const_below_saved_regs, const_above_fp;
1967 HOST_WIDE_INT const_saved_regs_size;
1968@@ -9654,29 +9665,6 @@ aarch64_allocate_and_probe_stack_space (rtx temp1, rtx temp2,
1969 = (final_adjustment_p
1970 ? guard_used_by_caller + byte_sp_alignment
1971 : guard_size - guard_used_by_caller);
1972- /* When doing the final adjustment for the outgoing arguments, take into
1973- account any unprobed space there is above the current SP. There are
1974- two cases:
1975-
1976- - When saving SVE registers below the hard frame pointer, we force
1977- the lowest save to take place in the prologue before doing the final
1978- adjustment (i.e. we don't allow the save to be shrink-wrapped).
1979- This acts as a probe at SP, so there is no unprobed space.
1980-
1981- - When there are no SVE register saves, we use the store of the link
1982- register as a probe. We can't assume that LR was saved at position 0
1983- though, so treat any space below it as unprobed. */
1984- if (final_adjustment_p
1985- && known_eq (frame.below_hard_fp_saved_regs_size, 0))
1986- {
1987- poly_int64 lr_offset = (frame.reg_offset[LR_REGNUM]
1988- - frame.bytes_below_saved_regs);
1989- if (known_ge (lr_offset, 0))
1990- min_probe_threshold -= lr_offset.to_constant ();
1991- else
1992- gcc_assert (!flag_stack_clash_protection || known_eq (poly_size, 0));
1993- }
1994-
1995 poly_int64 frame_size = frame.frame_size;
1996
1997 /* We should always have a positive probe threshold. */
1998@@ -9856,8 +9844,8 @@ aarch64_allocate_and_probe_stack_space (rtx temp1, rtx temp2,
1999 if (final_adjustment_p && rounded_size != 0)
2000 min_probe_threshold = 0;
2001 /* If doing a small final adjustment, we always probe at offset 0.
2002- This is done to avoid issues when LR is not at position 0 or when
2003- the final adjustment is smaller than the probing offset. */
2004+ This is done to avoid issues when the final adjustment is smaller
2005+ than the probing offset. */
2006 else if (final_adjustment_p && rounded_size == 0)
2007 residual_probe_offset = 0;
2008
2009diff --git a/gcc/testsuite/gcc.target/aarch64/stack-check-prologue-18.c b/gcc/testsuite/gcc.target/aarch64/stack-check-prologue-18.c
2010new file mode 100644
2011index 00000000000..82447d20fff
2012--- /dev/null
2013+++ b/gcc/testsuite/gcc.target/aarch64/stack-check-prologue-18.c
2014@@ -0,0 +1,100 @@
2015+/* { dg-options "-O2 -fstack-clash-protection -fomit-frame-pointer --param stack-clash-protection-guard-size=12" } */
2016+/* { dg-final { check-function-bodies "**" "" } } */
2017+
2018+void f(int, ...);
2019+void g();
2020+
2021+/*
2022+** test1:
2023+** ...
2024+** str x30, \[sp\]
2025+** sub sp, sp, #4064
2026+** str xzr, \[sp\]
2027+** cbnz w0, .*
2028+** bl g
2029+** ...
2030+** str x26, \[sp, #?4128\]
2031+** ...
2032+*/
2033+int test1(int z) {
2034+ __uint128_t x = 0;
2035+ int y[0x400];
2036+ if (z)
2037+ {
2038+ asm volatile ("" :::
2039+ "x19", "x20", "x21", "x22", "x23", "x24", "x25", "x26");
2040+ f(0, 0, 0, 0, 0, 0, 0, &y,
2041+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
2042+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
2043+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
2044+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
2045+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
2046+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
2047+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
2048+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
2049+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
2050+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
2051+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
2052+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
2053+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
2054+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
2055+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
2056+ x, x, x, x, x, x, x, x, x, x, x, x, x, x);
2057+ }
2058+ g();
2059+ return 1;
2060+}
2061+
2062+/*
2063+** test2:
2064+** ...
2065+** str x30, \[sp\]
2066+** sub sp, sp, #1040
2067+** str xzr, \[sp\]
2068+** cbnz w0, .*
2069+** bl g
2070+** ...
2071+*/
2072+int test2(int z) {
2073+ __uint128_t x = 0;
2074+ int y[0x400];
2075+ if (z)
2076+ {
2077+ asm volatile ("" :::
2078+ "x19", "x20", "x21", "x22", "x23", "x24", "x25", "x26");
2079+ f(0, 0, 0, 0, 0, 0, 0, &y,
2080+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
2081+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
2082+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
2083+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
2084+ x);
2085+ }
2086+ g();
2087+ return 1;
2088+}
2089+
2090+/*
2091+** test3:
2092+** ...
2093+** str x30, \[sp\]
2094+** sub sp, sp, #1024
2095+** cbnz w0, .*
2096+** bl g
2097+** ...
2098+*/
2099+int test3(int z) {
2100+ __uint128_t x = 0;
2101+ int y[0x400];
2102+ if (z)
2103+ {
2104+ asm volatile ("" :::
2105+ "x19", "x20", "x21", "x22", "x23", "x24", "x25", "x26");
2106+ f(0, 0, 0, 0, 0, 0, 0, &y,
2107+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
2108+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
2109+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
2110+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x);
2111+ }
2112+ g();
2113+ return 1;
2114+}
2115diff --git a/gcc/testsuite/gcc.target/aarch64/stack-check-prologue-19.c b/gcc/testsuite/gcc.target/aarch64/stack-check-prologue-19.c
2116new file mode 100644
2117index 00000000000..73ac3e4e4eb
2118--- /dev/null
2119+++ b/gcc/testsuite/gcc.target/aarch64/stack-check-prologue-19.c
2120@@ -0,0 +1,100 @@
2121+/* { dg-options "-O2 -fstack-clash-protection -fomit-frame-pointer --param stack-clash-protection-guard-size=12 -fsanitize=shadow-call-stack -ffixed-x18" } */
2122+/* { dg-final { check-function-bodies "**" "" } } */
2123+
2124+void f(int, ...);
2125+void g();
2126+
2127+/*
2128+** test1:
2129+** ...
2130+** str x30, \[sp\]
2131+** sub sp, sp, #4064
2132+** str xzr, \[sp\]
2133+** cbnz w0, .*
2134+** bl g
2135+** ...
2136+** str x26, \[sp, #?4128\]
2137+** ...
2138+*/
2139+int test1(int z) {
2140+ __uint128_t x = 0;
2141+ int y[0x400];
2142+ if (z)
2143+ {
2144+ asm volatile ("" :::
2145+ "x19", "x20", "x21", "x22", "x23", "x24", "x25", "x26");
2146+ f(0, 0, 0, 0, 0, 0, 0, &y,
2147+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
2148+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
2149+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
2150+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
2151+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
2152+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
2153+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
2154+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
2155+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
2156+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
2157+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
2158+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
2159+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
2160+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
2161+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
2162+ x, x, x, x, x, x, x, x, x, x, x, x, x, x);
2163+ }
2164+ g();
2165+ return 1;
2166+}
2167+
2168+/*
2169+** test2:
2170+** ...
2171+** str x30, \[sp\]
2172+** sub sp, sp, #1040
2173+** str xzr, \[sp\]
2174+** cbnz w0, .*
2175+** bl g
2176+** ...
2177+*/
2178+int test2(int z) {
2179+ __uint128_t x = 0;
2180+ int y[0x400];
2181+ if (z)
2182+ {
2183+ asm volatile ("" :::
2184+ "x19", "x20", "x21", "x22", "x23", "x24", "x25", "x26");
2185+ f(0, 0, 0, 0, 0, 0, 0, &y,
2186+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
2187+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
2188+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
2189+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
2190+ x);
2191+ }
2192+ g();
2193+ return 1;
2194+}
2195+
2196+/*
2197+** test3:
2198+** ...
2199+** str x30, \[sp\]
2200+** sub sp, sp, #1024
2201+** cbnz w0, .*
2202+** bl g
2203+** ...
2204+*/
2205+int test3(int z) {
2206+ __uint128_t x = 0;
2207+ int y[0x400];
2208+ if (z)
2209+ {
2210+ asm volatile ("" :::
2211+ "x19", "x20", "x21", "x22", "x23", "x24", "x25", "x26");
2212+ f(0, 0, 0, 0, 0, 0, 0, &y,
2213+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
2214+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
2215+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x,
2216+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x);
2217+ }
2218+ g();
2219+ return 1;
2220+}
2221diff --git a/gcc/testsuite/gcc.target/aarch64/stack-check-prologue-20.c b/gcc/testsuite/gcc.target/aarch64/stack-check-prologue-20.c
2222new file mode 100644
2223index 00000000000..690aae8dfd5
2224--- /dev/null
2225+++ b/gcc/testsuite/gcc.target/aarch64/stack-check-prologue-20.c
2226@@ -0,0 +1,3 @@
2227+/* { dg-options "-O2 -fstack-protector-all -fstack-clash-protection -fomit-frame-pointer --param stack-clash-protection-guard-size=12 -fsanitize=shadow-call-stack -ffixed-x18" } */
2228+
2229+#include "stack-check-prologue-19.c"
2230--
22312.34.1
2232
2233
2234From eea1759073e09dd1aefbc9a881601ab1eebfdd18 Mon Sep 17 00:00:00 2001
2235From: Richard Sandiford <richard.sandiford@arm.com>
2236Date: Tue, 12 Sep 2023 16:07:19 +0100
2237Subject: [PATCH 16/19] aarch64: Simplify probe of final frame allocation
2238
2239Previous patches ensured that the final frame allocation only needs
2240a probe when the size is strictly greater than 1KiB. It's therefore
2241safe to use the normal 1024 probe offset in all cases.
2242
2243The main motivation for doing this is to simplify the code and
2244remove the number of special cases.
2245
2246gcc/
2247 * config/aarch64/aarch64.cc (aarch64_allocate_and_probe_stack_space):
2248 Always probe the residual allocation at offset 1024, asserting
2249 that that is in range.
2250
2251gcc/testsuite/
2252 * gcc.target/aarch64/stack-check-prologue-17.c: Expect the probe
2253 to be at offset 1024 rather than offset 0.
2254 * gcc.target/aarch64/stack-check-prologue-18.c: Likewise.
2255 * gcc.target/aarch64/stack-check-prologue-19.c: Likewise.
2256---
2257 gcc/config/aarch64/aarch64.cc | 12 ++++--------
2258 .../gcc.target/aarch64/stack-check-prologue-17.c | 2 +-
2259 .../gcc.target/aarch64/stack-check-prologue-18.c | 4 ++--
2260 .../gcc.target/aarch64/stack-check-prologue-19.c | 4 ++--
2261 4 files changed, 9 insertions(+), 13 deletions(-)
2262
2263diff --git a/gcc/config/aarch64/aarch64.cc b/gcc/config/aarch64/aarch64.cc
2264index a765f92329d..37809a306f7 100644
2265--- a/gcc/config/aarch64/aarch64.cc
2266+++ b/gcc/config/aarch64/aarch64.cc
2267@@ -9838,16 +9838,12 @@ aarch64_allocate_and_probe_stack_space (rtx temp1, rtx temp2,
2268 are still safe. */
2269 if (residual)
2270 {
2271- HOST_WIDE_INT residual_probe_offset = guard_used_by_caller;
2272+ gcc_assert (guard_used_by_caller + byte_sp_alignment <= size);
2273+
2274 /* If we're doing final adjustments, and we've done any full page
2275 allocations then any residual needs to be probed. */
2276 if (final_adjustment_p && rounded_size != 0)
2277 min_probe_threshold = 0;
2278- /* If doing a small final adjustment, we always probe at offset 0.
2279- This is done to avoid issues when the final adjustment is smaller
2280- than the probing offset. */
2281- else if (final_adjustment_p && rounded_size == 0)
2282- residual_probe_offset = 0;
2283
2284 aarch64_sub_sp (temp1, temp2, residual, frame_related_p);
2285 if (residual >= min_probe_threshold)
2286@@ -9858,8 +9854,8 @@ aarch64_allocate_and_probe_stack_space (rtx temp1, rtx temp2,
2287 HOST_WIDE_INT_PRINT_DEC " bytes, probing will be required."
2288 "\n", residual);
2289
2290- emit_stack_probe (plus_constant (Pmode, stack_pointer_rtx,
2291- residual_probe_offset));
2292+ emit_stack_probe (plus_constant (Pmode, stack_pointer_rtx,
2293+ guard_used_by_caller));
2294 emit_insn (gen_blockage ());
2295 }
2296 }
2297diff --git a/gcc/testsuite/gcc.target/aarch64/stack-check-prologue-17.c b/gcc/testsuite/gcc.target/aarch64/stack-check-prologue-17.c
2298index 0d8a25d73a2..f0ec1389771 100644
2299--- a/gcc/testsuite/gcc.target/aarch64/stack-check-prologue-17.c
2300+++ b/gcc/testsuite/gcc.target/aarch64/stack-check-prologue-17.c
2301@@ -33,7 +33,7 @@ int test1(int z) {
2302 ** ...
2303 ** str x30, \[sp\]
2304 ** sub sp, sp, #1040
2305-** str xzr, \[sp\]
2306+** str xzr, \[sp, #?1024\]
2307 ** cbnz w0, .*
2308 ** bl g
2309 ** ...
2310diff --git a/gcc/testsuite/gcc.target/aarch64/stack-check-prologue-18.c b/gcc/testsuite/gcc.target/aarch64/stack-check-prologue-18.c
2311index 82447d20fff..6383bec5ebc 100644
2312--- a/gcc/testsuite/gcc.target/aarch64/stack-check-prologue-18.c
2313+++ b/gcc/testsuite/gcc.target/aarch64/stack-check-prologue-18.c
2314@@ -9,7 +9,7 @@ void g();
2315 ** ...
2316 ** str x30, \[sp\]
2317 ** sub sp, sp, #4064
2318-** str xzr, \[sp\]
2319+** str xzr, \[sp, #?1024\]
2320 ** cbnz w0, .*
2321 ** bl g
2322 ** ...
2323@@ -50,7 +50,7 @@ int test1(int z) {
2324 ** ...
2325 ** str x30, \[sp\]
2326 ** sub sp, sp, #1040
2327-** str xzr, \[sp\]
2328+** str xzr, \[sp, #?1024\]
2329 ** cbnz w0, .*
2330 ** bl g
2331 ** ...
2332diff --git a/gcc/testsuite/gcc.target/aarch64/stack-check-prologue-19.c b/gcc/testsuite/gcc.target/aarch64/stack-check-prologue-19.c
2333index 73ac3e4e4eb..562039b5e9b 100644
2334--- a/gcc/testsuite/gcc.target/aarch64/stack-check-prologue-19.c
2335+++ b/gcc/testsuite/gcc.target/aarch64/stack-check-prologue-19.c
2336@@ -9,7 +9,7 @@ void g();
2337 ** ...
2338 ** str x30, \[sp\]
2339 ** sub sp, sp, #4064
2340-** str xzr, \[sp\]
2341+** str xzr, \[sp, #?1024\]
2342 ** cbnz w0, .*
2343 ** bl g
2344 ** ...
2345@@ -50,7 +50,7 @@ int test1(int z) {
2346 ** ...
2347 ** str x30, \[sp\]
2348 ** sub sp, sp, #1040
2349-** str xzr, \[sp\]
2350+** str xzr, \[sp, #?1024\]
2351 ** cbnz w0, .*
2352 ** bl g
2353 ** ...
2354--
23552.34.1
2356
2357
2358From 96d85187c3b9c9a7efc2fd698c3d452e80d8aa47 Mon Sep 17 00:00:00 2001
2359From: Richard Sandiford <richard.sandiford@arm.com>
2360Date: Tue, 12 Sep 2023 16:07:20 +0100
2361Subject: [PATCH 17/19] aarch64: Explicitly record probe registers in frame
2362 info
2363
2364The stack frame is currently divided into three areas:
2365
2366A: the area above the hard frame pointer
2367B: the SVE saves below the hard frame pointer
2368C: the outgoing arguments
2369
2370If the stack frame is allocated in one chunk, the allocation needs a
2371probe if the frame size is >= guard_size - 1KiB. In addition, if the
2372function is not a leaf function, it must probe an address no more than
23731KiB above the outgoing SP. We ensured the second condition by
2374
2375(1) using single-chunk allocations for non-leaf functions only if
2376 the link register save slot is within 512 bytes of the bottom
2377 of the frame; and
2378
2379(2) using the link register save as a probe (meaning, for instance,
2380 that it can't be individually shrink wrapped)
2381
2382If instead the stack is allocated in multiple chunks, then:
2383
2384* an allocation involving only the outgoing arguments (C above) requires
2385 a probe if the allocation size is > 1KiB
2386
2387* any other allocation requires a probe if the allocation size
2388 is >= guard_size - 1KiB
2389
2390* second and subsequent allocations require the previous allocation
2391 to probe at the bottom of the allocated area, regardless of the size
2392 of that previous allocation
2393
2394The final point means that, unlike for single allocations,
2395it can be necessary to have both a non-SVE register probe and
2396an SVE register probe. For example:
2397
2398* allocate A, probe using a non-SVE register save
2399* allocate B, probe using an SVE register save
2400* allocate C
2401
2402The non-SVE register used in this case was again the link register.
2403It was previously used even if the link register save slot was some
2404bytes above the bottom of the non-SVE register saves, but an earlier
2405patch avoided that by putting the link register save slot first.
2406
2407As a belt-and-braces fix, this patch explicitly records which
2408probe registers we're using and allows the non-SVE probe to be
2409whichever register comes first (as for SVE).
2410
2411The patch also avoids unnecessary probes in sve/pcs/stack_clash_3.c.
2412
2413gcc/
2414 * config/aarch64/aarch64.h (aarch64_frame::sve_save_and_probe)
2415 (aarch64_frame::hard_fp_save_and_probe): New fields.
2416 * config/aarch64/aarch64.cc (aarch64_layout_frame): Initialize them.
2417 Rather than asserting that a leaf function saves LR, instead assert
2418 that a leaf function saves something.
2419 (aarch64_get_separate_components): Prevent the chosen probe
2420 registers from being individually shrink-wrapped.
2421 (aarch64_allocate_and_probe_stack_space): Remove workaround for
2422 probe registers that aren't at the bottom of the previous allocation.
2423
2424gcc/testsuite/
2425 * gcc.target/aarch64/sve/pcs/stack_clash_3.c: Avoid redundant probes.
2426---
2427 gcc/config/aarch64/aarch64.cc | 68 +++++++++++++++----
2428 gcc/config/aarch64/aarch64.h | 8 +++
2429 .../aarch64/sve/pcs/stack_clash_3.c | 6 +-
2430 3 files changed, 64 insertions(+), 18 deletions(-)
2431
2432diff --git a/gcc/config/aarch64/aarch64.cc b/gcc/config/aarch64/aarch64.cc
2433index 37809a306f7..6c59c39a639 100644
2434--- a/gcc/config/aarch64/aarch64.cc
2435+++ b/gcc/config/aarch64/aarch64.cc
2436@@ -8471,15 +8471,11 @@ aarch64_layout_frame (void)
2437 && !crtl->abi->clobbers_full_reg_p (regno))
2438 frame.reg_offset[regno] = SLOT_REQUIRED;
2439
2440- /* With stack-clash, LR must be saved in non-leaf functions. The saving of
2441- LR counts as an implicit probe which allows us to maintain the invariant
2442- described in the comment at expand_prologue. */
2443- gcc_assert (crtl->is_leaf
2444- || maybe_ne (frame.reg_offset[R30_REGNUM], SLOT_NOT_REQUIRED));
2445
2446 poly_int64 offset = crtl->outgoing_args_size;
2447 gcc_assert (multiple_p (offset, STACK_BOUNDARY / BITS_PER_UNIT));
2448 frame.bytes_below_saved_regs = offset;
2449+ frame.sve_save_and_probe = INVALID_REGNUM;
2450
2451 /* Now assign stack slots for the registers. Start with the predicate
2452 registers, since predicate LDR and STR have a relatively small
2453@@ -8487,6 +8483,8 @@ aarch64_layout_frame (void)
2454 for (regno = P0_REGNUM; regno <= P15_REGNUM; regno++)
2455 if (known_eq (frame.reg_offset[regno], SLOT_REQUIRED))
2456 {
2457+ if (frame.sve_save_and_probe == INVALID_REGNUM)
2458+ frame.sve_save_and_probe = regno;
2459 frame.reg_offset[regno] = offset;
2460 offset += BYTES_PER_SVE_PRED;
2461 }
2462@@ -8524,6 +8522,8 @@ aarch64_layout_frame (void)
2463 for (regno = V0_REGNUM; regno <= V31_REGNUM; regno++)
2464 if (known_eq (frame.reg_offset[regno], SLOT_REQUIRED))
2465 {
2466+ if (frame.sve_save_and_probe == INVALID_REGNUM)
2467+ frame.sve_save_and_probe = regno;
2468 frame.reg_offset[regno] = offset;
2469 offset += vector_save_size;
2470 }
2471@@ -8533,10 +8533,18 @@ aarch64_layout_frame (void)
2472 frame.below_hard_fp_saved_regs_size = offset - frame.bytes_below_saved_regs;
2473 bool saves_below_hard_fp_p
2474 = maybe_ne (frame.below_hard_fp_saved_regs_size, 0);
2475+ gcc_assert (!saves_below_hard_fp_p
2476+ || (frame.sve_save_and_probe != INVALID_REGNUM
2477+ && known_eq (frame.reg_offset[frame.sve_save_and_probe],
2478+ frame.bytes_below_saved_regs)));
2479+
2480 frame.bytes_below_hard_fp = offset;
2481+ frame.hard_fp_save_and_probe = INVALID_REGNUM;
2482
2483 auto allocate_gpr_slot = [&](unsigned int regno)
2484 {
2485+ if (frame.hard_fp_save_and_probe == INVALID_REGNUM)
2486+ frame.hard_fp_save_and_probe = regno;
2487 frame.reg_offset[regno] = offset;
2488 if (frame.wb_push_candidate1 == INVALID_REGNUM)
2489 frame.wb_push_candidate1 = regno;
2490@@ -8570,6 +8578,8 @@ aarch64_layout_frame (void)
2491 for (regno = V0_REGNUM; regno <= V31_REGNUM; regno++)
2492 if (known_eq (frame.reg_offset[regno], SLOT_REQUIRED))
2493 {
2494+ if (frame.hard_fp_save_and_probe == INVALID_REGNUM)
2495+ frame.hard_fp_save_and_probe = regno;
2496 /* If there is an alignment gap between integer and fp callee-saves,
2497 allocate the last fp register to it if possible. */
2498 if (regno == last_fp_reg
2499@@ -8593,6 +8603,17 @@ aarch64_layout_frame (void)
2500 offset = aligned_upper_bound (offset, STACK_BOUNDARY / BITS_PER_UNIT);
2501
2502 frame.saved_regs_size = offset - frame.bytes_below_saved_regs;
2503+ gcc_assert (known_eq (frame.saved_regs_size,
2504+ frame.below_hard_fp_saved_regs_size)
2505+ || (frame.hard_fp_save_and_probe != INVALID_REGNUM
2506+ && known_eq (frame.reg_offset[frame.hard_fp_save_and_probe],
2507+ frame.bytes_below_hard_fp)));
2508+
2509+ /* With stack-clash, a register must be saved in non-leaf functions.
2510+ The saving of the bottommost register counts as an implicit probe,
2511+ which allows us to maintain the invariant described in the comment
2512+ at expand_prologue. */
2513+ gcc_assert (crtl->is_leaf || maybe_ne (frame.saved_regs_size, 0));
2514
2515 offset += get_frame_size ();
2516 offset = aligned_upper_bound (offset, STACK_BOUNDARY / BITS_PER_UNIT);
2517@@ -8723,6 +8744,25 @@ aarch64_layout_frame (void)
2518 frame.final_adjust = frame.bytes_below_saved_regs;
2519 }
2520
2521+ /* The frame is allocated in pieces, with each non-final piece
2522+ including a register save at offset 0 that acts as a probe for
2523+ the following piece. In addition, the save of the bottommost register
2524+ acts as a probe for callees and allocas. Roll back any probes that
2525+ aren't needed.
2526+
2527+ A probe isn't needed if it is associated with the final allocation
2528+ (including callees and allocas) that happens before the epilogue is
2529+ executed. */
2530+ if (crtl->is_leaf
2531+ && !cfun->calls_alloca
2532+ && known_eq (frame.final_adjust, 0))
2533+ {
2534+ if (maybe_ne (frame.sve_callee_adjust, 0))
2535+ frame.sve_save_and_probe = INVALID_REGNUM;
2536+ else
2537+ frame.hard_fp_save_and_probe = INVALID_REGNUM;
2538+ }
2539+
2540 /* Make sure the individual adjustments add up to the full frame size. */
2541 gcc_assert (known_eq (frame.initial_adjust
2542 + frame.callee_adjust
2543@@ -9354,13 +9394,6 @@ aarch64_get_separate_components (void)
2544
2545 poly_int64 offset = frame.reg_offset[regno];
2546
2547- /* If the register is saved in the first SVE save slot, we use
2548- it as a stack probe for -fstack-clash-protection. */
2549- if (flag_stack_clash_protection
2550- && maybe_ne (frame.below_hard_fp_saved_regs_size, 0)
2551- && known_eq (offset, frame.bytes_below_saved_regs))
2552- continue;
2553-
2554 /* Get the offset relative to the register we'll use. */
2555 if (frame_pointer_needed)
2556 offset -= frame.bytes_below_hard_fp;
2557@@ -9395,6 +9428,13 @@ aarch64_get_separate_components (void)
2558
2559 bitmap_clear_bit (components, LR_REGNUM);
2560 bitmap_clear_bit (components, SP_REGNUM);
2561+ if (flag_stack_clash_protection)
2562+ {
2563+ if (frame.sve_save_and_probe != INVALID_REGNUM)
2564+ bitmap_clear_bit (components, frame.sve_save_and_probe);
2565+ if (frame.hard_fp_save_and_probe != INVALID_REGNUM)
2566+ bitmap_clear_bit (components, frame.hard_fp_save_and_probe);
2567+ }
2568
2569 return components;
2570 }
2571@@ -9931,8 +9971,8 @@ aarch64_epilogue_uses (int regno)
2572 When probing is needed, we emit a probe at the start of the prologue
2573 and every PARAM_STACK_CLASH_PROTECTION_GUARD_SIZE bytes thereafter.
2574
2575- We have to track how much space has been allocated and the only stores
2576- to the stack we track as implicit probes are the FP/LR stores.
2577+ We can also use register saves as probes. These are stored in
2578+ sve_save_and_probe and hard_fp_save_and_probe.
2579
2580 For outgoing arguments we probe if the size is larger than 1KB, such that
2581 the ABI specified buffer is maintained for the next callee.
2582diff --git a/gcc/config/aarch64/aarch64.h b/gcc/config/aarch64/aarch64.h
2583index c8becb098c8..fbfb73545ba 100644
2584--- a/gcc/config/aarch64/aarch64.h
2585+++ b/gcc/config/aarch64/aarch64.h
2586@@ -863,6 +863,14 @@ struct GTY (()) aarch64_frame
2587 This is the register they should use. */
2588 unsigned spare_pred_reg;
2589
2590+ /* An SVE register that is saved below the hard frame pointer and that acts
2591+ as a probe for later allocations, or INVALID_REGNUM if none. */
2592+ unsigned sve_save_and_probe;
2593+
2594+ /* A register that is saved at the hard frame pointer and that acts
2595+ as a probe for later allocations, or INVALID_REGNUM if none. */
2596+ unsigned hard_fp_save_and_probe;
2597+
2598 bool laid_out;
2599
2600 /* True if shadow call stack should be enabled for the current function. */
2601diff --git a/gcc/testsuite/gcc.target/aarch64/sve/pcs/stack_clash_3.c b/gcc/testsuite/gcc.target/aarch64/sve/pcs/stack_clash_3.c
2602index 3e01ec36c3a..3530a0d504b 100644
2603--- a/gcc/testsuite/gcc.target/aarch64/sve/pcs/stack_clash_3.c
2604+++ b/gcc/testsuite/gcc.target/aarch64/sve/pcs/stack_clash_3.c
2605@@ -11,11 +11,10 @@
2606 ** mov x11, sp
2607 ** ...
2608 ** sub sp, sp, x13
2609-** str p4, \[sp\]
2610 ** cbz w0, [^\n]*
2611+** str p4, \[sp\]
2612 ** ...
2613 ** ptrue p0\.b, all
2614-** ldr p4, \[sp\]
2615 ** addvl sp, sp, #1
2616 ** ldr x24, \[sp\], 32
2617 ** ret
2618@@ -39,13 +38,12 @@ test_1 (int n)
2619 ** mov x11, sp
2620 ** ...
2621 ** sub sp, sp, x13
2622-** str p4, \[sp\]
2623 ** cbz w0, [^\n]*
2624+** str p4, \[sp\]
2625 ** str p5, \[sp, #1, mul vl\]
2626 ** str p6, \[sp, #2, mul vl\]
2627 ** ...
2628 ** ptrue p0\.b, all
2629-** ldr p4, \[sp\]
2630 ** addvl sp, sp, #1
2631 ** ldr x24, \[sp\], 32
2632 ** ret
2633--
26342.34.1
2635
2636
2637From 56df065080950bb30dda9c260f71be54269bdda5 Mon Sep 17 00:00:00 2001
2638From: Richard Sandiford <richard.sandiford@arm.com>
2639Date: Tue, 12 Sep 2023 16:07:20 +0100
2640Subject: [PATCH 18/19] aarch64: Remove below_hard_fp_saved_regs_size
2641
2642After previous patches, it's no longer necessary to store
2643saved_regs_size and below_hard_fp_saved_regs_size in the frame info.
2644All measurements instead use the top or bottom of the frame as
2645reference points.
2646
2647gcc/
2648 * config/aarch64/aarch64.h (aarch64_frame::saved_regs_size)
2649 (aarch64_frame::below_hard_fp_saved_regs_size): Delete.
2650 * config/aarch64/aarch64.cc (aarch64_layout_frame): Update accordingly.
2651---
2652 gcc/config/aarch64/aarch64.cc | 45 ++++++++++++++++-------------------
2653 gcc/config/aarch64/aarch64.h | 7 ------
2654 2 files changed, 21 insertions(+), 31 deletions(-)
2655
2656diff --git a/gcc/config/aarch64/aarch64.cc b/gcc/config/aarch64/aarch64.cc
2657index 6c59c39a639..b95e805a8cc 100644
2658--- a/gcc/config/aarch64/aarch64.cc
2659+++ b/gcc/config/aarch64/aarch64.cc
2660@@ -8530,9 +8530,8 @@ aarch64_layout_frame (void)
2661
2662 /* OFFSET is now the offset of the hard frame pointer from the bottom
2663 of the callee save area. */
2664- frame.below_hard_fp_saved_regs_size = offset - frame.bytes_below_saved_regs;
2665- bool saves_below_hard_fp_p
2666- = maybe_ne (frame.below_hard_fp_saved_regs_size, 0);
2667+ auto below_hard_fp_saved_regs_size = offset - frame.bytes_below_saved_regs;
2668+ bool saves_below_hard_fp_p = maybe_ne (below_hard_fp_saved_regs_size, 0);
2669 gcc_assert (!saves_below_hard_fp_p
2670 || (frame.sve_save_and_probe != INVALID_REGNUM
2671 && known_eq (frame.reg_offset[frame.sve_save_and_probe],
2672@@ -8602,9 +8601,8 @@ aarch64_layout_frame (void)
2673
2674 offset = aligned_upper_bound (offset, STACK_BOUNDARY / BITS_PER_UNIT);
2675
2676- frame.saved_regs_size = offset - frame.bytes_below_saved_regs;
2677- gcc_assert (known_eq (frame.saved_regs_size,
2678- frame.below_hard_fp_saved_regs_size)
2679+ auto saved_regs_size = offset - frame.bytes_below_saved_regs;
2680+ gcc_assert (known_eq (saved_regs_size, below_hard_fp_saved_regs_size)
2681 || (frame.hard_fp_save_and_probe != INVALID_REGNUM
2682 && known_eq (frame.reg_offset[frame.hard_fp_save_and_probe],
2683 frame.bytes_below_hard_fp)));
2684@@ -8613,7 +8611,7 @@ aarch64_layout_frame (void)
2685 The saving of the bottommost register counts as an implicit probe,
2686 which allows us to maintain the invariant described in the comment
2687 at expand_prologue. */
2688- gcc_assert (crtl->is_leaf || maybe_ne (frame.saved_regs_size, 0));
2689+ gcc_assert (crtl->is_leaf || maybe_ne (saved_regs_size, 0));
2690
2691 offset += get_frame_size ();
2692 offset = aligned_upper_bound (offset, STACK_BOUNDARY / BITS_PER_UNIT);
2693@@ -8670,7 +8668,7 @@ aarch64_layout_frame (void)
2694
2695 HOST_WIDE_INT const_size, const_below_saved_regs, const_above_fp;
2696 HOST_WIDE_INT const_saved_regs_size;
2697- if (known_eq (frame.saved_regs_size, 0))
2698+ if (known_eq (saved_regs_size, 0))
2699 frame.initial_adjust = frame.frame_size;
2700 else if (frame.frame_size.is_constant (&const_size)
2701 && const_size < max_push_offset
2702@@ -8683,7 +8681,7 @@ aarch64_layout_frame (void)
2703 frame.callee_adjust = const_size;
2704 }
2705 else if (frame.bytes_below_saved_regs.is_constant (&const_below_saved_regs)
2706- && frame.saved_regs_size.is_constant (&const_saved_regs_size)
2707+ && saved_regs_size.is_constant (&const_saved_regs_size)
2708 && const_below_saved_regs + const_saved_regs_size < 512
2709 /* We could handle this case even with data below the saved
2710 registers, provided that that data left us with valid offsets
2711@@ -8702,8 +8700,7 @@ aarch64_layout_frame (void)
2712 frame.initial_adjust = frame.frame_size;
2713 }
2714 else if (saves_below_hard_fp_p
2715- && known_eq (frame.saved_regs_size,
2716- frame.below_hard_fp_saved_regs_size))
2717+ && known_eq (saved_regs_size, below_hard_fp_saved_regs_size))
2718 {
2719 /* Frame in which all saves are SVE saves:
2720
2721@@ -8725,7 +8722,7 @@ aarch64_layout_frame (void)
2722 [save SVE registers relative to SP]
2723 sub sp, sp, bytes_below_saved_regs */
2724 frame.callee_adjust = const_above_fp;
2725- frame.sve_callee_adjust = frame.below_hard_fp_saved_regs_size;
2726+ frame.sve_callee_adjust = below_hard_fp_saved_regs_size;
2727 frame.final_adjust = frame.bytes_below_saved_regs;
2728 }
2729 else
2730@@ -8740,7 +8737,7 @@ aarch64_layout_frame (void)
2731 [save SVE registers relative to SP]
2732 sub sp, sp, bytes_below_saved_regs */
2733 frame.initial_adjust = frame.bytes_above_hard_fp;
2734- frame.sve_callee_adjust = frame.below_hard_fp_saved_regs_size;
2735+ frame.sve_callee_adjust = below_hard_fp_saved_regs_size;
2736 frame.final_adjust = frame.bytes_below_saved_regs;
2737 }
2738
2739@@ -9936,17 +9933,17 @@ aarch64_epilogue_uses (int regno)
2740 | local variables | <-- frame_pointer_rtx
2741 | |
2742 +-------------------------------+
2743- | padding | \
2744- +-------------------------------+ |
2745- | callee-saved registers | | frame.saved_regs_size
2746- +-------------------------------+ |
2747- | LR' | |
2748- +-------------------------------+ |
2749- | FP' | |
2750- +-------------------------------+ |<- hard_frame_pointer_rtx (aligned)
2751- | SVE vector registers | | \
2752- +-------------------------------+ | | below_hard_fp_saved_regs_size
2753- | SVE predicate registers | / /
2754+ | padding |
2755+ +-------------------------------+
2756+ | callee-saved registers |
2757+ +-------------------------------+
2758+ | LR' |
2759+ +-------------------------------+
2760+ | FP' |
2761+ +-------------------------------+ <-- hard_frame_pointer_rtx (aligned)
2762+ | SVE vector registers |
2763+ +-------------------------------+
2764+ | SVE predicate registers |
2765 +-------------------------------+
2766 | dynamic allocation |
2767 +-------------------------------+
2768diff --git a/gcc/config/aarch64/aarch64.h b/gcc/config/aarch64/aarch64.h
2769index fbfb73545ba..cfeaf4657ab 100644
2770--- a/gcc/config/aarch64/aarch64.h
2771+++ b/gcc/config/aarch64/aarch64.h
2772@@ -777,18 +777,11 @@ struct GTY (()) aarch64_frame
2773 STACK_BOUNDARY. */
2774 HOST_WIDE_INT saved_varargs_size;
2775
2776- /* The size of the callee-save registers with a slot in REG_OFFSET. */
2777- poly_int64 saved_regs_size;
2778-
2779 /* The number of bytes between the bottom of the static frame (the bottom
2780 of the outgoing arguments) and the bottom of the register save area.
2781 This value is always a multiple of STACK_BOUNDARY. */
2782 poly_int64 bytes_below_saved_regs;
2783
2784- /* The size of the callee-save registers with a slot in REG_OFFSET that
2785- are saved below the hard frame pointer. */
2786- poly_int64 below_hard_fp_saved_regs_size;
2787-
2788 /* The number of bytes between the bottom of the static frame (the bottom
2789 of the outgoing arguments) and the hard frame pointer. This value is
2790 always a multiple of STACK_BOUNDARY. */
2791--
27922.34.1
2793
2794
2795From b96e66fd4ef3e36983969fb8cdd1956f551a074b Mon Sep 17 00:00:00 2001
2796From: Richard Sandiford <richard.sandiford@arm.com>
2797Date: Tue, 12 Sep 2023 16:07:21 +0100
2798Subject: [PATCH 19/19] aarch64: Make stack smash canary protect saved
2799 registers
2800
2801AArch64 normally puts the saved registers near the bottom of the frame,
2802immediately above any dynamic allocations. But this means that a
2803stack-smash attack on those dynamic allocations could overwrite the
2804saved registers without needing to reach as far as the stack smash
2805canary.
2806
2807The same thing could also happen for variable-sized arguments that are
2808passed by value, since those are allocated before a call and popped on
2809return.
2810
2811This patch avoids that by putting the locals (and thus the canary) below
2812the saved registers when stack smash protection is active.
2813
2814The patch fixes CVE-2023-4039.
2815
2816gcc/
2817 * config/aarch64/aarch64.cc (aarch64_save_regs_above_locals_p):
2818 New function.
2819 (aarch64_layout_frame): Use it to decide whether locals should
2820 go above or below the saved registers.
2821 (aarch64_expand_prologue): Update stack layout comment.
2822 Emit a stack tie after the final adjustment.
2823
2824gcc/testsuite/
2825 * gcc.target/aarch64/stack-protector-8.c: New test.
2826 * gcc.target/aarch64/stack-protector-9.c: Likewise.
2827---
2828 gcc/config/aarch64/aarch64.cc | 46 +++++++--
2829 .../gcc.target/aarch64/stack-protector-8.c | 95 +++++++++++++++++++
2830 .../gcc.target/aarch64/stack-protector-9.c | 33 +++++++
2831 3 files changed, 168 insertions(+), 6 deletions(-)
2832 create mode 100644 gcc/testsuite/gcc.target/aarch64/stack-protector-8.c
2833 create mode 100644 gcc/testsuite/gcc.target/aarch64/stack-protector-9.c
2834
2835diff --git a/gcc/config/aarch64/aarch64.cc b/gcc/config/aarch64/aarch64.cc
2836index b95e805a8cc..389c0e29353 100644
2837--- a/gcc/config/aarch64/aarch64.cc
2838+++ b/gcc/config/aarch64/aarch64.cc
2839@@ -8394,6 +8394,20 @@ aarch64_needs_frame_chain (void)
2840 return aarch64_use_frame_pointer;
2841 }
2842
2843+/* Return true if the current function should save registers above
2844+ the locals area, rather than below it. */
2845+
2846+static bool
2847+aarch64_save_regs_above_locals_p ()
2848+{
2849+ /* When using stack smash protection, make sure that the canary slot
2850+ comes between the locals and the saved registers. Otherwise,
2851+ it would be possible for a carefully sized smash attack to change
2852+ the saved registers (particularly LR and FP) without reaching the
2853+ canary. */
2854+ return crtl->stack_protect_guard;
2855+}
2856+
2857 /* Mark the registers that need to be saved by the callee and calculate
2858 the size of the callee-saved registers area and frame record (both FP
2859 and LR may be omitted). */
2860@@ -8405,6 +8419,7 @@ aarch64_layout_frame (void)
2861 poly_int64 vector_save_size = GET_MODE_SIZE (vector_save_mode);
2862 bool frame_related_fp_reg_p = false;
2863 aarch64_frame &frame = cfun->machine->frame;
2864+ poly_int64 top_of_locals = -1;
2865
2866 frame.emit_frame_chain = aarch64_needs_frame_chain ();
2867
2868@@ -8471,9 +8486,16 @@ aarch64_layout_frame (void)
2869 && !crtl->abi->clobbers_full_reg_p (regno))
2870 frame.reg_offset[regno] = SLOT_REQUIRED;
2871
2872+ bool regs_at_top_p = aarch64_save_regs_above_locals_p ();
2873
2874 poly_int64 offset = crtl->outgoing_args_size;
2875 gcc_assert (multiple_p (offset, STACK_BOUNDARY / BITS_PER_UNIT));
2876+ if (regs_at_top_p)
2877+ {
2878+ offset += get_frame_size ();
2879+ offset = aligned_upper_bound (offset, STACK_BOUNDARY / BITS_PER_UNIT);
2880+ top_of_locals = offset;
2881+ }
2882 frame.bytes_below_saved_regs = offset;
2883 frame.sve_save_and_probe = INVALID_REGNUM;
2884
2885@@ -8613,15 +8635,18 @@ aarch64_layout_frame (void)
2886 at expand_prologue. */
2887 gcc_assert (crtl->is_leaf || maybe_ne (saved_regs_size, 0));
2888
2889- offset += get_frame_size ();
2890- offset = aligned_upper_bound (offset, STACK_BOUNDARY / BITS_PER_UNIT);
2891- auto top_of_locals = offset;
2892-
2893+ if (!regs_at_top_p)
2894+ {
2895+ offset += get_frame_size ();
2896+ offset = aligned_upper_bound (offset, STACK_BOUNDARY / BITS_PER_UNIT);
2897+ top_of_locals = offset;
2898+ }
2899 offset += frame.saved_varargs_size;
2900 gcc_assert (multiple_p (offset, STACK_BOUNDARY / BITS_PER_UNIT));
2901 frame.frame_size = offset;
2902
2903 frame.bytes_above_hard_fp = frame.frame_size - frame.bytes_below_hard_fp;
2904+ gcc_assert (known_ge (top_of_locals, 0));
2905 frame.bytes_above_locals = frame.frame_size - top_of_locals;
2906
2907 frame.initial_adjust = 0;
2908@@ -9930,10 +9955,10 @@ aarch64_epilogue_uses (int regno)
2909 | for register varargs |
2910 | |
2911 +-------------------------------+
2912- | local variables | <-- frame_pointer_rtx
2913+ | local variables (1) | <-- frame_pointer_rtx
2914 | |
2915 +-------------------------------+
2916- | padding |
2917+ | padding (1) |
2918 +-------------------------------+
2919 | callee-saved registers |
2920 +-------------------------------+
2921@@ -9945,6 +9970,10 @@ aarch64_epilogue_uses (int regno)
2922 +-------------------------------+
2923 | SVE predicate registers |
2924 +-------------------------------+
2925+ | local variables (2) |
2926+ +-------------------------------+
2927+ | padding (2) |
2928+ +-------------------------------+
2929 | dynamic allocation |
2930 +-------------------------------+
2931 | padding |
2932@@ -9954,6 +9983,9 @@ aarch64_epilogue_uses (int regno)
2933 +-------------------------------+
2934 | | <-- stack_pointer_rtx (aligned)
2935
2936+ The regions marked (1) and (2) are mutually exclusive. (2) is used
2937+ when aarch64_save_regs_above_locals_p is true.
2938+
2939 Dynamic stack allocations via alloca() decrease stack_pointer_rtx
2940 but leave frame_pointer_rtx and hard_frame_pointer_rtx
2941 unchanged.
2942@@ -10149,6 +10181,8 @@ aarch64_expand_prologue (void)
2943 gcc_assert (known_eq (bytes_below_sp, final_adjust));
2944 aarch64_allocate_and_probe_stack_space (tmp1_rtx, tmp0_rtx, final_adjust,
2945 !frame_pointer_needed, true);
2946+ if (emit_frame_chain && maybe_ne (final_adjust, 0))
2947+ emit_insn (gen_stack_tie (stack_pointer_rtx, hard_frame_pointer_rtx));
2948 }
2949
2950 /* Return TRUE if we can use a simple_return insn.
2951diff --git a/gcc/testsuite/gcc.target/aarch64/stack-protector-8.c b/gcc/testsuite/gcc.target/aarch64/stack-protector-8.c
2952new file mode 100644
2953index 00000000000..e71d820e365
2954--- /dev/null
2955+++ b/gcc/testsuite/gcc.target/aarch64/stack-protector-8.c
2956@@ -0,0 +1,95 @@
2957+/* { dg-options " -O -fstack-protector-strong -mstack-protector-guard=sysreg -mstack-protector-guard-reg=tpidr2_el0 -mstack-protector-guard-offset=16" } */
2958+/* { dg-final { check-function-bodies "**" "" } } */
2959+
2960+void g(void *);
2961+__SVBool_t *h(void *);
2962+
2963+/*
2964+** test1:
2965+** sub sp, sp, #288
2966+** stp x29, x30, \[sp, #?272\]
2967+** add x29, sp, #?272
2968+** mrs (x[0-9]+), tpidr2_el0
2969+** ldr (x[0-9]+), \[\1, #?16\]
2970+** str \2, \[sp, #?264\]
2971+** mov \2, #?0
2972+** add x0, sp, #?8
2973+** bl g
2974+** ...
2975+** mrs .*
2976+** ...
2977+** bne .*
2978+** ...
2979+** ldp x29, x30, \[sp, #?272\]
2980+** add sp, sp, #?288
2981+** ret
2982+** bl __stack_chk_fail
2983+*/
2984+int test1() {
2985+ int y[0x40];
2986+ g(y);
2987+ return 1;
2988+}
2989+
2990+/*
2991+** test2:
2992+** stp x29, x30, \[sp, #?-16\]!
2993+** mov x29, sp
2994+** sub sp, sp, #1040
2995+** mrs (x[0-9]+), tpidr2_el0
2996+** ldr (x[0-9]+), \[\1, #?16\]
2997+** str \2, \[sp, #?1032\]
2998+** mov \2, #?0
2999+** add x0, sp, #?8
3000+** bl g
3001+** ...
3002+** mrs .*
3003+** ...
3004+** bne .*
3005+** ...
3006+** add sp, sp, #?1040
3007+** ldp x29, x30, \[sp\], #?16
3008+** ret
3009+** bl __stack_chk_fail
3010+*/
3011+int test2() {
3012+ int y[0x100];
3013+ g(y);
3014+ return 1;
3015+}
3016+
3017+#pragma GCC target "+sve"
3018+
3019+/*
3020+** test3:
3021+** stp x29, x30, \[sp, #?-16\]!
3022+** mov x29, sp
3023+** addvl sp, sp, #-18
3024+** ...
3025+** str p4, \[sp\]
3026+** ...
3027+** sub sp, sp, #272
3028+** mrs (x[0-9]+), tpidr2_el0
3029+** ldr (x[0-9]+), \[\1, #?16\]
3030+** str \2, \[sp, #?264\]
3031+** mov \2, #?0
3032+** add x0, sp, #?8
3033+** bl h
3034+** ...
3035+** mrs .*
3036+** ...
3037+** bne .*
3038+** ...
3039+** add sp, sp, #?272
3040+** ...
3041+** ldr p4, \[sp\]
3042+** ...
3043+** addvl sp, sp, #18
3044+** ldp x29, x30, \[sp\], #?16
3045+** ret
3046+** bl __stack_chk_fail
3047+*/
3048+__SVBool_t test3() {
3049+ int y[0x40];
3050+ return *h(y);
3051+}
3052diff --git a/gcc/testsuite/gcc.target/aarch64/stack-protector-9.c b/gcc/testsuite/gcc.target/aarch64/stack-protector-9.c
3053new file mode 100644
3054index 00000000000..58f322aa480
3055--- /dev/null
3056+++ b/gcc/testsuite/gcc.target/aarch64/stack-protector-9.c
3057@@ -0,0 +1,33 @@
3058+/* { dg-options "-O2 -mcpu=neoverse-v1 -fstack-protector-all" } */
3059+/* { dg-final { check-function-bodies "**" "" } } */
3060+
3061+/*
3062+** main:
3063+** ...
3064+** stp x29, x30, \[sp, #?-[0-9]+\]!
3065+** ...
3066+** sub sp, sp, #[0-9]+
3067+** ...
3068+** str x[0-9]+, \[x29, #?-8\]
3069+** ...
3070+*/
3071+int f(const char *);
3072+void g(void *);
3073+int main(int argc, char* argv[])
3074+{
3075+ int a;
3076+ int b;
3077+ char c[2+f(argv[1])];
3078+ int d[0x100];
3079+ char y;
3080+
3081+ y=42; a=4; b=10;
3082+ c[0] = 'h'; c[1] = '\0';
3083+
3084+ c[f(argv[2])] = '\0';
3085+
3086+ __builtin_printf("%d %d\n%s\n", a, b, c);
3087+ g(d);
3088+
3089+ return 0;
3090+}
3091--
30922.34.1
3093
diff --git a/meta/recipes-devtools/gcc/gcc_13.2.bb b/meta/recipes-devtools/gcc/gcc_15.1.bb
index 255fe552bd..255fe552bd 100644
--- a/meta/recipes-devtools/gcc/gcc_13.2.bb
+++ b/meta/recipes-devtools/gcc/gcc_15.1.bb
diff --git a/meta/recipes-devtools/gcc/libgcc-common.inc b/meta/recipes-devtools/gcc/libgcc-common.inc
index d9084af51a..65bcd24bc7 100644
--- a/meta/recipes-devtools/gcc/libgcc-common.inc
+++ b/meta/recipes-devtools/gcc/libgcc-common.inc
@@ -53,6 +53,11 @@ do_install:append:libc-newlib () {
53 rmdir ${D}${base_libdir} 53 rmdir ${D}${base_libdir}
54 fi 54 fi
55} 55}
56do_install:append:libc-picolibc () {
57 if [ "${base_libdir}" != "${libdir}" ]; then
58 rmdir ${D}${base_libdir}
59 fi
60}
56 61
57# No rpm package is actually created but -dev depends on it, avoid dnf error 62# No rpm package is actually created but -dev depends on it, avoid dnf error
58DEV_PKG_DEPENDENCY:libc-baremetal = "" 63DEV_PKG_DEPENDENCY:libc-baremetal = ""
@@ -99,7 +104,6 @@ fakeroot python do_multilib_install() {
99 os.symlink(src, dest) 104 os.symlink(src, dest)
100 return 105 return
101 106
102
103 for ml in multilibs.split(): 107 for ml in multilibs.split():
104 tune = d.getVar('DEFAULTTUNE:virtclass-multilib-' + ml) 108 tune = d.getVar('DEFAULTTUNE:virtclass-multilib-' + ml)
105 if not tune: 109 if not tune:
diff --git a/meta/recipes-devtools/gcc/libgcc-initial.inc b/meta/recipes-devtools/gcc/libgcc-initial.inc
index 8251e3c286..ce100d7ddc 100644
--- a/meta/recipes-devtools/gcc/libgcc-initial.inc
+++ b/meta/recipes-devtools/gcc/libgcc-initial.inc
@@ -29,7 +29,7 @@
29 29
30require libgcc-common.inc 30require libgcc-common.inc
31 31
32DEPENDS = "virtual/${TARGET_PREFIX}gcc" 32DEPENDS = "virtual/cross-cc"
33 33
34LICENSE = "GPL-3.0-with-GCC-exception" 34LICENSE = "GPL-3.0-with-GCC-exception"
35 35
diff --git a/meta/recipes-devtools/gcc/libgcc-initial_13.2.bb b/meta/recipes-devtools/gcc/libgcc-initial_15.1.bb
index a259082b47..a259082b47 100644
--- a/meta/recipes-devtools/gcc/libgcc-initial_13.2.bb
+++ b/meta/recipes-devtools/gcc/libgcc-initial_15.1.bb
diff --git a/meta/recipes-devtools/gcc/libgcc.inc b/meta/recipes-devtools/gcc/libgcc.inc
index 84a2d930df..a3f0f947f7 100644
--- a/meta/recipes-devtools/gcc/libgcc.inc
+++ b/meta/recipes-devtools/gcc/libgcc.inc
@@ -1,6 +1,6 @@
1require libgcc-common.inc 1require libgcc-common.inc
2 2
3DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++ virtual/${MLPREFIX}libc" 3DEPENDS = "virtual/cross-cc virtual/cross-c++ virtual/${MLPREFIX}libc"
4 4
5do_install:append:class-target () { 5do_install:append:class-target () {
6 if [ "${TCLIBC}" != "glibc" ]; then 6 if [ "${TCLIBC}" != "glibc" ]; then
@@ -36,7 +36,6 @@ LICENSE:${PN} = "GPL-3.0-with-GCC-exception"
36LICENSE:${PN}-dev = "GPL-3.0-with-GCC-exception" 36LICENSE:${PN}-dev = "GPL-3.0-with-GCC-exception"
37LICENSE:${PN}-dbg = "GPL-3.0-with-GCC-exception" 37LICENSE:${PN}-dbg = "GPL-3.0-with-GCC-exception"
38 38
39
40FILES:${PN}-dev = "\ 39FILES:${PN}-dev = "\
41 ${base_libdir}/libgcc*.so \ 40 ${base_libdir}/libgcc*.so \
42 ${@oe.utils.conditional('BASETARGET_SYS', '${TARGET_SYS}', '', '${libdir}/${BASETARGET_SYS}', d)} \ 41 ${@oe.utils.conditional('BASETARGET_SYS', '${TARGET_SYS}', '', '${libdir}/${BASETARGET_SYS}', d)} \
diff --git a/meta/recipes-devtools/gcc/libgcc_13.2.bb b/meta/recipes-devtools/gcc/libgcc_15.1.bb
index fdcd6cc0da..fdcd6cc0da 100644
--- a/meta/recipes-devtools/gcc/libgcc_13.2.bb
+++ b/meta/recipes-devtools/gcc/libgcc_15.1.bb
diff --git a/meta/recipes-devtools/gcc/libgfortran.inc b/meta/recipes-devtools/gcc/libgfortran.inc
index e810146d4d..fa6aecaaa3 100644
--- a/meta/recipes-devtools/gcc/libgfortran.inc
+++ b/meta/recipes-devtools/gcc/libgfortran.inc
@@ -8,7 +8,7 @@ EXTRA_OECONF_PATHS = "\
8# An arm hard float target like raspberrypi4 won't build 8# An arm hard float target like raspberrypi4 won't build
9# as CFLAGS don't make it to the fortran compiler otherwise 9# as CFLAGS don't make it to the fortran compiler otherwise
10# (the configure script sets FC to $GFORTRAN unconditionally) 10# (the configure script sets FC to $GFORTRAN unconditionally)
11export GFORTRAN = "${FC}" 11export GFORTRAN = "${FC} -ffile-prefix-map=${S}=${TARGET_DBGSRC_DIR} -ffile-prefix-map=${B}=${TARGET_DBGSRC_DIR} -gno-record-gcc-switches"
12 12
13do_configure () { 13do_configure () {
14 for target in libbacktrace libgfortran 14 for target in libbacktrace libgfortran
@@ -47,8 +47,9 @@ do_install () {
47 chown -R root:root ${D} 47 chown -R root:root ${D}
48} 48}
49 49
50# avoid virtual/libc
50INHIBIT_DEFAULT_DEPS = "1" 51INHIBIT_DEFAULT_DEPS = "1"
51DEPENDS = "gcc-runtime gcc-cross-${TARGET_ARCH}" 52DEPENDS = "virtual/cross-cc virtual/compilerlibs"
52 53
53BBCLASSEXTEND = "nativesdk" 54BBCLASSEXTEND = "nativesdk"
54 55
diff --git a/meta/recipes-devtools/gcc/libgfortran_13.2.bb b/meta/recipes-devtools/gcc/libgfortran_15.1.bb
index 71dd8b4bdc..71dd8b4bdc 100644
--- a/meta/recipes-devtools/gcc/libgfortran_13.2.bb
+++ b/meta/recipes-devtools/gcc/libgfortran_15.1.bb
diff --git a/meta/recipes-devtools/gdb/gdb-common.inc b/meta/recipes-devtools/gdb/gdb-common.inc
index ea1fc27a61..474cdf6514 100644
--- a/meta/recipes-devtools/gdb/gdb-common.inc
+++ b/meta/recipes-devtools/gdb/gdb-common.inc
@@ -30,9 +30,7 @@ EXTRA_OECONF = "--disable-gdbtk --disable-x --disable-werror \
30 --with-libgmp-prefix=${STAGING_EXECPREFIXDIR} \ 30 --with-libgmp-prefix=${STAGING_EXECPREFIXDIR} \
31" 31"
32 32
33PACKAGECONFIG ??= "readline ${@bb.utils.filter('DISTRO_FEATURES', 'debuginfod', d)} python \ 33PACKAGECONFIG ??= "readline ${@bb.utils.filter('DISTRO_FEATURES', 'debuginfod', d)} python xz"
34 ${@bb.utils.contains('DISTRO_FEATURES', 'minidebuginfo', 'xz', '', d)} \
35 "
36# Use --without-system-readline to compile with readline 5. 34# Use --without-system-readline to compile with readline 5.
37PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,readline" 35PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,readline"
38PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,python3,python3-codecs" 36PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,python3,python3-codecs"
@@ -40,6 +38,7 @@ PACKAGECONFIG[babeltrace] = "--with-babeltrace,--without-babeltrace,babeltrace"
40PACKAGECONFIG[tui] = "--enable-tui,--disable-tui,,ncurses-terminfo-base" 38PACKAGECONFIG[tui] = "--enable-tui,--disable-tui,,ncurses-terminfo-base"
41PACKAGECONFIG[xz] = "--with-lzma --with-liblzma-prefix=${STAGING_DIR_HOST},--without-lzma,xz" 39PACKAGECONFIG[xz] = "--with-lzma --with-liblzma-prefix=${STAGING_DIR_HOST},--without-lzma,xz"
42PACKAGECONFIG[debuginfod] = "--with-debuginfod, --without-debuginfod, elfutils" 40PACKAGECONFIG[debuginfod] = "--with-debuginfod, --without-debuginfod, elfutils"
41PACKAGECONFIG[source-highlight] = "--enable-source-highlight,--disable-source-highlight,source-highlight"
43 42
44GDBPROPREFIX = "--program-prefix=''" 43GDBPROPREFIX = "--program-prefix=''"
45 44
diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian.inc b/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
index 058ffbc9c5..7b4a7719e4 100644
--- a/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
+++ b/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
@@ -7,18 +7,14 @@ PN = "gdb-cross-canadian-${TRANSLATED_TARGET_ARCH}"
7BPN = "gdb" 7BPN = "gdb"
8 8
9DEPENDS = "nativesdk-ncurses nativesdk-expat nativesdk-gettext nativesdk-gmp nativesdk-mpfr \ 9DEPENDS = "nativesdk-ncurses nativesdk-expat nativesdk-gettext nativesdk-gmp nativesdk-mpfr \
10 virtual/${HOST_PREFIX}gcc virtual/${HOST_PREFIX}binutils virtual/nativesdk-libc" 10 virtual/nativesdk-cross-cc virtual/nativesdk-cross-binutils virtual/nativesdk-libc"
11 11
12GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'" 12GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'"
13 13
14# Overrides PACKAGECONFIG variables in gdb-common.inc 14# Overrides PACKAGECONFIG variables in gdb-common.inc
15PACKAGECONFIG ??= "python readline ${@bb.utils.filter('DISTRO_FEATURES', 'debuginfod', d)}"
16PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,nativesdk-python3, \ 15PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,nativesdk-python3, \
17 nativesdk-python3-core \ 16 nativesdk-python3-core \
18 nativesdk-python3-codecs nativesdk-python3-netclient \ 17 nativesdk-python3-codecs nativesdk-python3-netclient"
19 "
20PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,nativesdk-readline"
21PACKAGECONFIG[debuginfod] = "--with-debuginfod, --without-debuginfod, nativesdk-elfutils"
22 18
23SSTATE_ALLOW_OVERLAP_FILES += "${STAGING_DATADIR}/gdb" 19SSTATE_ALLOW_OVERLAP_FILES += "${STAGING_DATADIR}/gdb"
24 20
diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian_14.2.bb b/meta/recipes-devtools/gdb/gdb-cross-canadian_16.3.bb
index 4ab2b7156d..4ab2b7156d 100644
--- a/meta/recipes-devtools/gdb/gdb-cross-canadian_14.2.bb
+++ b/meta/recipes-devtools/gdb/gdb-cross-canadian_16.3.bb
diff --git a/meta/recipes-devtools/gdb/gdb-cross.inc b/meta/recipes-devtools/gdb/gdb-cross.inc
index 399f4bba97..110a536db7 100644
--- a/meta/recipes-devtools/gdb/gdb-cross.inc
+++ b/meta/recipes-devtools/gdb/gdb-cross.inc
@@ -4,11 +4,7 @@ DEPENDS = "expat-native gmp-native mpfr-native ncurses-native flex-native bison-
4 4
5inherit python3native pkgconfig 5inherit python3native pkgconfig
6 6
7# Overrides PACKAGECONFIG variables in gdb-common.inc
8PACKAGECONFIG ??= "python readline ${@bb.utils.filter('DISTRO_FEATURES', 'debuginfod', d)}"
9PACKAGECONFIG[python] = "--with-python=${PYTHON},--without-python,python3-native" 7PACKAGECONFIG[python] = "--with-python=${PYTHON},--without-python,python3-native"
10PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,readline-native"
11PACKAGECONFIG[debuginfod] = "--with-debuginfod, --without-debuginfod, elfutils-native"
12 8
13do_compile:prepend() { 9do_compile:prepend() {
14 export STAGING_LIBDIR="${STAGING_LIBDIR_NATIVE}" 10 export STAGING_LIBDIR="${STAGING_LIBDIR_NATIVE}"
diff --git a/meta/recipes-devtools/gdb/gdb-cross_14.2.bb b/meta/recipes-devtools/gdb/gdb-cross_16.3.bb
index 3b654a2f0d..3b654a2f0d 100644
--- a/meta/recipes-devtools/gdb/gdb-cross_14.2.bb
+++ b/meta/recipes-devtools/gdb/gdb-cross_16.3.bb
diff --git a/meta/recipes-devtools/gdb/gdb.inc b/meta/recipes-devtools/gdb/gdb.inc
index 81ac441462..a36f78fe67 100644
--- a/meta/recipes-devtools/gdb/gdb.inc
+++ b/meta/recipes-devtools/gdb/gdb.inc
@@ -10,8 +10,9 @@ SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.xz \
10 file://0003-Dont-disable-libreadline.a-when-using-disable-static.patch \ 10 file://0003-Dont-disable-libreadline.a-when-using-disable-static.patch \
11 file://0004-use-asm-sgidefs.h.patch \ 11 file://0004-use-asm-sgidefs.h.patch \
12 file://0005-Change-order-of-CFLAGS.patch \ 12 file://0005-Change-order-of-CFLAGS.patch \
13 file://0006-resolve-restrict-keyword-conflict.patch \ 13 file://0006-Fix-invalid-sigprocmask-call.patch \
14 file://0007-Fix-invalid-sigprocmask-call.patch \ 14 file://0007-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch \
15 file://0008-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch \ 15 file://0008-Add-fix-for-packages-that-are-not-compatible-with-C2.patch \
16 file://0009-Readline-8.3-alpha-release.patch \
16 " 17 "
17SRC_URI[sha256sum] = "2d4dd8061d8ded12b6c63f55e45344881e8226105f4d2a9b234040efa5ce7772" 18SRC_URI[sha256sum] = "bcfcd095528a987917acf9fff3f1672181694926cc18d609c99d0042c00224c5"
diff --git a/meta/recipes-devtools/gdb/gdb/0001-mips-linux-nat-Define-_ABIO32-if-not-defined.patch b/meta/recipes-devtools/gdb/gdb/0001-mips-linux-nat-Define-_ABIO32-if-not-defined.patch
index 86f6e2642d..7a3064a14b 100644
--- a/meta/recipes-devtools/gdb/gdb/0001-mips-linux-nat-Define-_ABIO32-if-not-defined.patch
+++ b/meta/recipes-devtools/gdb/gdb/0001-mips-linux-nat-Define-_ABIO32-if-not-defined.patch
@@ -1,4 +1,4 @@
1From ff77aebf533758f0b6f7d22b272d32e08ed06e45 Mon Sep 17 00:00:00 2001 1From 8448967d9cfb09eb11fd3573a72a35ae94a89ba1 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 23 Mar 2016 06:30:09 +0000 3Date: Wed, 23 Mar 2016 06:30:09 +0000
4Subject: [PATCH] mips-linux-nat: Define _ABIO32 if not defined 4Subject: [PATCH] mips-linux-nat: Define _ABIO32 if not defined
@@ -16,10 +16,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
16 1 file changed, 4 insertions(+) 16 1 file changed, 4 insertions(+)
17 17
18diff --git a/gdb/mips-linux-nat.c b/gdb/mips-linux-nat.c 18diff --git a/gdb/mips-linux-nat.c b/gdb/mips-linux-nat.c
19index 8a7cc95f2a4..bfd1c72cba6 100644 19index 3d072ea935c..ca38caeacc2 100644
20--- a/gdb/mips-linux-nat.c 20--- a/gdb/mips-linux-nat.c
21+++ b/gdb/mips-linux-nat.c 21+++ b/gdb/mips-linux-nat.c
22@@ -41,6 +41,10 @@ 22@@ -40,6 +40,10 @@
23 #ifndef PTRACE_GET_THREAD_AREA 23 #ifndef PTRACE_GET_THREAD_AREA
24 #define PTRACE_GET_THREAD_AREA 25 24 #define PTRACE_GET_THREAD_AREA 25
25 #endif 25 #endif
diff --git a/meta/recipes-devtools/gdb/gdb/0002-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch b/meta/recipes-devtools/gdb/gdb/0002-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch
index 897cfd0df9..56cbacf384 100644
--- a/meta/recipes-devtools/gdb/gdb/0002-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch
+++ b/meta/recipes-devtools/gdb/gdb/0002-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch
@@ -1,4 +1,4 @@
1From 78748dc55b1ceafe9a64beb9628f1d51b215482f Mon Sep 17 00:00:00 2001 1From ec49e6283bc6a4a99596410db9509bee6cd941ce Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 30 Apr 2016 18:32:14 -0700 3Date: Sat, 30 Apr 2016 18:32:14 -0700
4Subject: [PATCH] ppc/ptrace: Define pt_regs uapi_pt_regs on !GLIBC systems 4Subject: [PATCH] ppc/ptrace: Define pt_regs uapi_pt_regs on !GLIBC systems
@@ -12,12 +12,12 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
12 2 files changed, 12 insertions(+) 12 2 files changed, 12 insertions(+)
13 13
14diff --git a/gdb/nat/ppc-linux.h b/gdb/nat/ppc-linux.h 14diff --git a/gdb/nat/ppc-linux.h b/gdb/nat/ppc-linux.h
15index c84f9146bbd..8c8580c95e1 100644 15index 3efc1b9a9bf..635d07486de 100644
16--- a/gdb/nat/ppc-linux.h 16--- a/gdb/nat/ppc-linux.h
17+++ b/gdb/nat/ppc-linux.h 17+++ b/gdb/nat/ppc-linux.h
18@@ -18,7 +18,13 @@ 18@@ -18,7 +18,13 @@
19 #ifndef NAT_PPC_LINUX_H 19 #ifndef GDB_NAT_PPC_LINUX_H
20 #define NAT_PPC_LINUX_H 20 #define GDB_NAT_PPC_LINUX_H
21 21
22+#if !defined(__GLIBC__) 22+#if !defined(__GLIBC__)
23+# define pt_regs uapi_pt_regs 23+# define pt_regs uapi_pt_regs
@@ -30,10 +30,10 @@ index c84f9146bbd..8c8580c95e1 100644
30 30
31 /* This sometimes isn't defined. */ 31 /* This sometimes isn't defined. */
32diff --git a/gdbserver/linux-ppc-low.cc b/gdbserver/linux-ppc-low.cc 32diff --git a/gdbserver/linux-ppc-low.cc b/gdbserver/linux-ppc-low.cc
33index 86fbc8f5d96..8a1a39bc750 100644 33index 3ce978f4c7c..38534297cdf 100644
34--- a/gdbserver/linux-ppc-low.cc 34--- a/gdbserver/linux-ppc-low.cc
35+++ b/gdbserver/linux-ppc-low.cc 35+++ b/gdbserver/linux-ppc-low.cc
36@@ -23,7 +23,13 @@ 36@@ -22,7 +22,13 @@
37 #include "elf/common.h" 37 #include "elf/common.h"
38 #include <sys/uio.h> 38 #include <sys/uio.h>
39 #include <elf.h> 39 #include <elf.h>
diff --git a/meta/recipes-devtools/gdb/gdb/0003-Dont-disable-libreadline.a-when-using-disable-static.patch b/meta/recipes-devtools/gdb/gdb/0003-Dont-disable-libreadline.a-when-using-disable-static.patch
index e41be8209e..024cf34427 100644
--- a/meta/recipes-devtools/gdb/gdb/0003-Dont-disable-libreadline.a-when-using-disable-static.patch
+++ b/meta/recipes-devtools/gdb/gdb/0003-Dont-disable-libreadline.a-when-using-disable-static.patch
@@ -1,4 +1,4 @@
1From 683650564cd231bbf09c7cbc35543b77ca0b10d0 Mon Sep 17 00:00:00 2001 1From 2fa91dec5f0ec5663861ca53bde8951e48557bb3 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 30 Apr 2016 15:25:03 -0700 3Date: Sat, 30 Apr 2016 15:25:03 -0700
4Subject: [PATCH] Dont disable libreadline.a when using --disable-static 4Subject: [PATCH] Dont disable libreadline.a when using --disable-static
@@ -19,10 +19,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
19 2 files changed, 3 insertions(+), 2 deletions(-) 19 2 files changed, 3 insertions(+), 2 deletions(-)
20 20
21diff --git a/Makefile.def b/Makefile.def 21diff --git a/Makefile.def b/Makefile.def
22index 870150183b9..eb3788da0d2 100644 22index 4896c5c692c..17e3256be7d 100644
23--- a/Makefile.def 23--- a/Makefile.def
24+++ b/Makefile.def 24+++ b/Makefile.def
25@@ -119,7 +119,8 @@ host_modules= { module= libiconv; 25@@ -134,7 +134,8 @@ host_modules= { module= libiconv;
26 missing= install-html; 26 missing= install-html;
27 missing= install-info; }; 27 missing= install-info; };
28 host_modules= { module= m4; }; 28 host_modules= { module= m4; };
@@ -33,10 +33,10 @@ index 870150183b9..eb3788da0d2 100644
33 host_modules= { module= sim; }; 33 host_modules= { module= sim; };
34 host_modules= { module= texinfo; no_install= true; }; 34 host_modules= { module= texinfo; no_install= true; };
35diff --git a/Makefile.in b/Makefile.in 35diff --git a/Makefile.in b/Makefile.in
36index c97130a2338..a83f98e4778 100644 36index f12c251f9c8..17ea24e8012 100644
37--- a/Makefile.in 37--- a/Makefile.in
38+++ b/Makefile.in 38+++ b/Makefile.in
39@@ -31691,7 +31691,7 @@ configure-readline: 39@@ -31593,7 +31593,7 @@ configure-readline:
40 $$s/$$module_srcdir/configure \ 40 $$s/$$module_srcdir/configure \
41 --srcdir=$${topdir}/$$module_srcdir \ 41 --srcdir=$${topdir}/$$module_srcdir \
42 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 42 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
diff --git a/meta/recipes-devtools/gdb/gdb/0004-use-asm-sgidefs.h.patch b/meta/recipes-devtools/gdb/gdb/0004-use-asm-sgidefs.h.patch
index 413610d71f..556f371fee 100644
--- a/meta/recipes-devtools/gdb/gdb/0004-use-asm-sgidefs.h.patch
+++ b/meta/recipes-devtools/gdb/gdb/0004-use-asm-sgidefs.h.patch
@@ -1,4 +1,4 @@
1From 04eba78ea6bd167b7eeef3af668c8f49888dc688 Mon Sep 17 00:00:00 2001 1From 6d37100388d45185a6e88ea7099a698c2c76b084 Mon Sep 17 00:00:00 2001
2From: Andre McCurdy <amccurdy@gmail.com> 2From: Andre McCurdy <amccurdy@gmail.com>
3Date: Sat, 30 Apr 2016 15:29:06 -0700 3Date: Sat, 30 Apr 2016 15:29:06 -0700
4Subject: [PATCH] use <asm/sgidefs.h> 4Subject: [PATCH] use <asm/sgidefs.h>
@@ -19,10 +19,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
19 1 file changed, 1 insertion(+), 1 deletion(-) 19 1 file changed, 1 insertion(+), 1 deletion(-)
20 20
21diff --git a/gdb/mips-linux-nat.c b/gdb/mips-linux-nat.c 21diff --git a/gdb/mips-linux-nat.c b/gdb/mips-linux-nat.c
22index bfd1c72cba6..13dc9cdb703 100644 22index ca38caeacc2..2f044ca508a 100644
23--- a/gdb/mips-linux-nat.c 23--- a/gdb/mips-linux-nat.c
24+++ b/gdb/mips-linux-nat.c 24+++ b/gdb/mips-linux-nat.c
25@@ -31,7 +31,7 @@ 25@@ -30,7 +30,7 @@
26 #include "gdb_proc_service.h" 26 #include "gdb_proc_service.h"
27 #include "gregset.h" 27 #include "gregset.h"
28 28
diff --git a/meta/recipes-devtools/gdb/gdb/0005-Change-order-of-CFLAGS.patch b/meta/recipes-devtools/gdb/gdb/0005-Change-order-of-CFLAGS.patch
index 7631e75048..809cd232aa 100644
--- a/meta/recipes-devtools/gdb/gdb/0005-Change-order-of-CFLAGS.patch
+++ b/meta/recipes-devtools/gdb/gdb/0005-Change-order-of-CFLAGS.patch
@@ -1,4 +1,4 @@
1From e7041e9346aa0c3aee0b76315559e3ab2ef8977e Mon Sep 17 00:00:00 2001 1From e7cab417080f3454ea984e19384d9f1bf9e48fba Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 30 Apr 2016 15:35:39 -0700 3Date: Sat, 30 Apr 2016 15:35:39 -0700
4Subject: [PATCH] Change order of CFLAGS 4Subject: [PATCH] Change order of CFLAGS
@@ -9,19 +9,18 @@ Upstream-Status: Inappropriate
9 9
10Signed-off-by: Khem Raj <raj.khem@gmail.com> 10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11--- 11---
12 gdbserver/Makefile.in | 2 +- 12 gdbserver/Makefile.in | 1 +
13 1 file changed, 1 insertion(+), 1 deletion(-) 13 1 file changed, 1 insertion(+)
14 14
15diff --git a/gdbserver/Makefile.in b/gdbserver/Makefile.in 15diff --git a/gdbserver/Makefile.in b/gdbserver/Makefile.in
16index b597515d428..9e615e2842d 100644 16index 365dcf23650..fc16218334f 100644
17--- a/gdbserver/Makefile.in 17--- a/gdbserver/Makefile.in
18+++ b/gdbserver/Makefile.in 18+++ b/gdbserver/Makefile.in
19@@ -156,7 +156,7 @@ WIN32APILIBS = @WIN32APILIBS@ 19@@ -174,6 +174,7 @@ INTERNAL_CFLAGS = \
20 INTERNAL_CFLAGS_BASE = ${GLOBAL_CFLAGS} \ 20 $(PTHREAD_CFLAGS) \
21 ${PROFILE_CFLAGS} ${INCLUDE_CFLAGS} ${CPPFLAGS} $(PTHREAD_CFLAGS) 21 $(WARN_CFLAGS) \
22 INTERNAL_WARN_CFLAGS = ${INTERNAL_CFLAGS_BASE} $(WARN_CFLAGS) 22 $(WERROR_CFLAGS) \
23-INTERNAL_CFLAGS = ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) -DGDBSERVER 23+ ${COMPILER_CFLAGS} \
24+INTERNAL_CFLAGS = ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) ${COMPILER_CFLAGS} -DGDBSERVER 24 -DGDBSERVER
25 25
26 # LDFLAGS is specifically reserved for setting from the command line 26 # LDFLAGS is specifically reserved for setting from the command line
27 # when running make.
diff --git a/meta/recipes-devtools/gdb/gdb/0007-Fix-invalid-sigprocmask-call.patch b/meta/recipes-devtools/gdb/gdb/0006-Fix-invalid-sigprocmask-call.patch
index 26e3ad9098..7c9129b9f5 100644
--- a/meta/recipes-devtools/gdb/gdb/0007-Fix-invalid-sigprocmask-call.patch
+++ b/meta/recipes-devtools/gdb/gdb/0006-Fix-invalid-sigprocmask-call.patch
@@ -1,4 +1,4 @@
1From ebeb6125acf6b4e4a8a4eaa59e2830b9ca02d683 Mon Sep 17 00:00:00 2001 1From 13e61d515b74389e61fa52ca43656f9d1c294683 Mon Sep 17 00:00:00 2001
2From: Yousong Zhou <yszhou4tech@gmail.com> 2From: Yousong Zhou <yszhou4tech@gmail.com>
3Date: Fri, 24 Mar 2017 10:36:03 +0800 3Date: Fri, 24 Mar 2017 10:36:03 +0800
4Subject: [PATCH] Fix invalid sigprocmask call 4Subject: [PATCH] Fix invalid sigprocmask call
@@ -32,10 +32,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
32 1 file changed, 1 insertion(+), 1 deletion(-) 32 1 file changed, 1 insertion(+), 1 deletion(-)
33 33
34diff --git a/gdbsupport/signals-state-save-restore.cc b/gdbsupport/signals-state-save-restore.cc 34diff --git a/gdbsupport/signals-state-save-restore.cc b/gdbsupport/signals-state-save-restore.cc
35index 3ec7a259c9c..0702eca7725 100644 35index 60724f95c87..8b493271aa6 100644
36--- a/gdbsupport/signals-state-save-restore.cc 36--- a/gdbsupport/signals-state-save-restore.cc
37+++ b/gdbsupport/signals-state-save-restore.cc 37+++ b/gdbsupport/signals-state-save-restore.cc
38@@ -38,7 +38,7 @@ save_original_signals_state (bool quiet) 38@@ -37,7 +37,7 @@ save_original_signals_state (bool quiet)
39 int i; 39 int i;
40 int res; 40 int res;
41 41
diff --git a/meta/recipes-devtools/gdb/gdb/0006-resolve-restrict-keyword-conflict.patch b/meta/recipes-devtools/gdb/gdb/0006-resolve-restrict-keyword-conflict.patch
deleted file mode 100644
index 45388c5ac5..0000000000
--- a/meta/recipes-devtools/gdb/gdb/0006-resolve-restrict-keyword-conflict.patch
+++ /dev/null
@@ -1,45 +0,0 @@
1From 477f1b2049c7f940b8e8fda4ac396cfe322b269f Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 10 May 2016 08:47:05 -0700
4Subject: [PATCH] resolve restrict keyword conflict
5
6GCC detects that we call 'restrict' as param name in function
7signatures and complains since both params are called 'restrict'
8therefore we use __restrict to denote the C99 keywork
9
10Upstream-Status: Pending
11
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13---
14 gnulib/import/sys_time.in.h | 8 ++++----
15 1 file changed, 4 insertions(+), 4 deletions(-)
16
17diff --git a/gnulib/import/sys_time.in.h b/gnulib/import/sys_time.in.h
18index 87db1a88745..e6b98c7e467 100644
19--- a/gnulib/import/sys_time.in.h
20+++ b/gnulib/import/sys_time.in.h
21@@ -93,20 +93,20 @@ struct timeval
22 # define gettimeofday rpl_gettimeofday
23 # endif
24 _GL_FUNCDECL_RPL (gettimeofday, int,
25- (struct timeval *restrict, void *restrict)
26+ (struct timeval *__restrict, void *__restrict)
27 _GL_ARG_NONNULL ((1)));
28 _GL_CXXALIAS_RPL (gettimeofday, int,
29- (struct timeval *restrict, void *restrict));
30+ (struct timeval *__restrict, void *__restrict));
31 # else
32 # if !@HAVE_GETTIMEOFDAY@
33 _GL_FUNCDECL_SYS (gettimeofday, int,
34- (struct timeval *restrict, void *restrict)
35+ (struct timeval *__restrict, void *__restrict)
36 _GL_ARG_NONNULL ((1)));
37 # endif
38 /* Need to cast, because on glibc systems, by default, the second argument is
39 struct timezone *. */
40 _GL_CXXALIAS_SYS_CAST (gettimeofday, int,
41- (struct timeval *restrict, void *restrict));
42+ (struct timeval *__restrict, void *__restrict));
43 # endif
44 _GL_CXXALIASWARN (gettimeofday);
45 # if defined __cplusplus && defined GNULIB_NAMESPACE
diff --git a/meta/recipes-devtools/gdb/gdb/0008-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch b/meta/recipes-devtools/gdb/gdb/0007-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch
index 819f1c9f17..d8816e3bef 100644
--- a/meta/recipes-devtools/gdb/gdb/0008-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch
+++ b/meta/recipes-devtools/gdb/gdb/0007-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch
@@ -1,4 +1,4 @@
1From cb7c8df338184d2d2f31ee1fd238653e3162da44 Mon Sep 17 00:00:00 2001 1From 3d3d91ac1db8ee7f624d225734cb5b57b752e00b Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 15 Jan 2023 00:16:25 -0800 3Date: Sun, 15 Jan 2023 00:16:25 -0800
4Subject: [PATCH] Define alignof using _Alignof when using C11 or newer 4Subject: [PATCH] Define alignof using _Alignof when using C11 or newer
@@ -25,10 +25,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
25 1 file changed, 10 insertions(+) 25 1 file changed, 10 insertions(+)
26 26
27diff --git a/libiberty/sha1.c b/libiberty/sha1.c 27diff --git a/libiberty/sha1.c b/libiberty/sha1.c
28index 6c71e3ebb41..a2caf947d31 100644 28index 49e8e0b6c2b..72de5cc8ad6 100644
29--- a/libiberty/sha1.c 29--- a/libiberty/sha1.c
30+++ b/libiberty/sha1.c 30+++ b/libiberty/sha1.c
31@@ -229,7 +229,17 @@ sha1_process_bytes (const void *buffer, size_t len, struct sha1_ctx *ctx) 31@@ -234,7 +234,17 @@ sha1_process_bytes (const void *buffer, size_t len, struct sha1_ctx *ctx)
32 if (len >= 64) 32 if (len >= 64)
33 { 33 {
34 #if !_STRING_ARCH_unaligned 34 #if !_STRING_ARCH_unaligned
diff --git a/meta/recipes-devtools/gdb/gdb/0008-Add-fix-for-packages-that-are-not-compatible-with-C2.patch b/meta/recipes-devtools/gdb/gdb/0008-Add-fix-for-packages-that-are-not-compatible-with-C2.patch
new file mode 100644
index 0000000000..661eb261c2
--- /dev/null
+++ b/meta/recipes-devtools/gdb/gdb/0008-Add-fix-for-packages-that-are-not-compatible-with-C2.patch
@@ -0,0 +1,29 @@
1From f71cfa9db1a196f0fadb2090ac04ce3164e171d3 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 16 Mar 2025 12:48:46 -0700
4Subject: [PATCH] Add fix for packages that are not compatible with C23
5
6Fixes builds with GCC-15
7Sourced from Fedora: https://src.fedoraproject.org/rpms/readline/c/c47eb813afb942128253213ad5b8221770557e48?branch=rawhide
8
9Help getting packages like bluez5 building
10
11Upstream-Status: Submitted [https://lists.gnu.org/archive/html/bug-readline/2025-03/msg00001.html]
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13---
14 readline/readline/rlstdc.h | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17diff --git a/readline/readline/rlstdc.h b/readline/readline/rlstdc.h
18index 2aaa30babfb..a7a0ef30428 100644
19--- a/readline/readline/rlstdc.h
20+++ b/readline/readline/rlstdc.h
21@@ -44,7 +44,7 @@
22
23 /* Moved from config.h.in because readline.h:rl_message depends on these
24 defines. */
25-#if defined (__STDC__) && defined (HAVE_STDARG_H)
26+#if defined (__STDC__)
27 # define PREFER_STDARG
28 # define USE_VARARGS
29 #else
diff --git a/meta/recipes-devtools/gdb/gdb/0009-Readline-8.3-alpha-release.patch b/meta/recipes-devtools/gdb/gdb/0009-Readline-8.3-alpha-release.patch
new file mode 100644
index 0000000000..206b4baaf0
--- /dev/null
+++ b/meta/recipes-devtools/gdb/gdb/0009-Readline-8.3-alpha-release.patch
@@ -0,0 +1,164 @@
1From 8807681557d9f30aac819186369ee62f4f8d1d96 Mon Sep 17 00:00:00 2001
2From: Chet Ramey <chet.ramey@case.edu>
3Date: Mon, 22 Apr 2024 10:41:37 -0400
4Subject: [PATCH] Readline-8.3-alpha release
5
6Upstream-Status: Backport [https://git.savannah.gnu.org/cgit/readline.git/commit/tcap.h?h=readline-8.3-testing&id=69e5c5e4c9778bf86c3d1c6b058ddece70854de8]
7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8---
9 ...ap-Add-function-parameter-prototypes.patch | 37 ++++++++++
10 ...d=cef614441f99b7b6e444ba601d8465a6e88f5a98 | 67 +++++++++++++++++++
11 readline/readline/tcap.h | 14 ++--
12 3 files changed, 111 insertions(+), 7 deletions(-)
13 create mode 100644 readline/readline/0001-tcap-Add-function-parameter-prototypes.patch
14 create mode 100644 readline/readline/index.html?id=cef614441f99b7b6e444ba601d8465a6e88f5a98
15
16diff --git a/readline/readline/0001-tcap-Add-function-parameter-prototypes.patch b/readline/readline/0001-tcap-Add-function-parameter-prototypes.patch
17new file mode 100644
18index 00000000000..f28e31fd0e0
19--- /dev/null
20+++ b/readline/readline/0001-tcap-Add-function-parameter-prototypes.patch
21@@ -0,0 +1,37 @@
22+From 0c16af6ebf0bf81138c973e5e6a7c4ebf71f2489 Mon Sep 17 00:00:00 2001
23+From: Khem Raj <raj.khem@gmail.com>
24+Date: Wed, 30 Apr 2025 10:41:12 -0700
25+Subject: [PATCH] tcap: Add function parameter prototypes
26+
27+GCC-15 with C23 dilect defaults expects full function signature
28+
29+Signed-off-by: Khem Raj <raj.khem@gmail.com>
30+---
31+ readline/readline/tcap.h | 14 ++++++--------
32+ 1 file changed, 6 insertions(+), 8 deletions(-)
33+
34+diff --git a/readline/readline/tcap.h b/readline/readline/tcap.h
35+index 859e6ee..2b22ff7 100644
36+--- a/readline/readline/tcap.h
37++++ b/readline/readline/tcap.h
38+@@ -46,14 +46,12 @@ extern char *UP, *BC;
39+
40+ extern short ospeed;
41+
42+-extern int tgetent ();
43+-extern int tgetflag ();
44+-extern int tgetnum ();
45+-extern char *tgetstr ();
46+-
47+-extern int tputs ();
48+-
49+-extern char *tgoto ();
50++extern int tgetent(char*, const char*);
51++extern int tgetflag(const char*);
52++extern int tgetnum(const char*);
53++extern char *tgetstr(const char*, char**);
54++extern char *tgoto(const char*, int, int);
55++extern int tputs(const char*, int, int (*)(int));
56+
57+ #endif /* HAVE_TERMCAP_H */
58+
59diff --git a/readline/readline/index.html?id=cef614441f99b7b6e444ba601d8465a6e88f5a98 b/readline/readline/index.html?id=cef614441f99b7b6e444ba601d8465a6e88f5a98
60new file mode 100644
61index 00000000000..02e665b143b
62--- /dev/null
63+++ b/readline/readline/index.html?id=cef614441f99b7b6e444ba601d8465a6e88f5a98
64@@ -0,0 +1,67 @@
65+From cef614441f99b7b6e444ba601d8465a6e88f5a98 Mon Sep 17 00:00:00 2001
66+From: Chet Ramey <chet.ramey@case.edu>
67+Date: Sun, 14 Jan 2024 15:19:37 -0500
68+Subject: Readline-8.2 patch 8: add missing function prototypes
69+
70+---
71+ bind.c | 4 +---
72+ patchlevel | 2 +-
73+ rltty.c | 3 +--
74+ text.c | 3 +--
75+ 4 files changed, 4 insertions(+), 8 deletions(-)
76+
77+diff --git a/bind.c b/bind.c
78+index 971116a..2596006 100644
79+--- a/bind.c
80++++ b/bind.c
81+@@ -1167,9 +1167,7 @@ _rl_init_file_error (va_alist)
82+ /* **************************************************************** */
83+
84+ static int
85+-parse_comparison_op (s, indp)
86+- const char *s;
87+- int *indp;
88++parse_comparison_op (const char *s, int *indp)
89+ {
90+ int i, peekc, op;
91+
92+diff --git a/patchlevel b/patchlevel
93+index e340b58..6c10f12 100644
94+--- a/patchlevel
95++++ b/patchlevel
96+@@ -1,3 +1,3 @@
97+ # Do not edit -- exists only for use by patch
98+
99+-7
100++8
101+diff --git a/rltty.c b/rltty.c
102+index 882a3d4..a4863ac 100644
103+--- a/rltty.c
104++++ b/rltty.c
105+@@ -80,8 +80,7 @@ static int ksrflow;
106+ /* Dummy call to force a backgrounded readline to stop before it tries
107+ to get the tty settings. */
108+ static void
109+-set_winsize (tty)
110+- int tty;
111++set_winsize (int tty)
112+ {
113+ #if defined (TIOCGWINSZ)
114+ struct winsize w;
115+diff --git a/text.c b/text.c
116+index 91c3f33..30fdaa1 100644
117+--- a/text.c
118++++ b/text.c
119+@@ -1764,8 +1764,7 @@ _rl_char_search (int count, int fdir, int bdir)
120+
121+ #if defined (READLINE_CALLBACKS)
122+ static int
123+-_rl_char_search_callback (data)
124+- _rl_callback_generic_arg *data;
125++_rl_char_search_callback (_rl_callback_generic_arg *data)
126+ {
127+ _rl_callback_func = 0;
128+ _rl_want_redisplay = 1;
129+--
130+cgit v1.1
131+
132diff --git a/readline/readline/tcap.h b/readline/readline/tcap.h
133index 859e6eed5aa..467ea60e903 100644
134--- a/readline/readline/tcap.h
135+++ b/readline/readline/tcap.h
136@@ -1,6 +1,6 @@
137 /* tcap.h -- termcap library functions and variables. */
138
139-/* Copyright (C) 1996-2015 Free Software Foundation, Inc.
140+/* Copyright (C) 1996-2015,2023 Free Software Foundation, Inc.
141
142 This file is part of the GNU Readline Library (Readline), a library
143 for reading lines of text with interactive input and history editing.
144@@ -46,14 +46,14 @@ extern char *UP, *BC;
145
146 extern short ospeed;
147
148-extern int tgetent ();
149-extern int tgetflag ();
150-extern int tgetnum ();
151-extern char *tgetstr ();
152+extern int tgetent (char *, const char *);
153+extern int tgetflag (const char *);
154+extern int tgetnum (const char *);
155+extern char *tgetstr (const char *, char **);
156
157-extern int tputs ();
158+extern int tputs (const char *, int, int (*)(int));
159
160-extern char *tgoto ();
161+extern char *tgoto (const char *, int, int);
162
163 #endif /* HAVE_TERMCAP_H */
164
diff --git a/meta/recipes-devtools/gdb/gdb_14.2.bb b/meta/recipes-devtools/gdb/gdb_16.3.bb
index 9c6db4ca2c..9c6db4ca2c 100644
--- a/meta/recipes-devtools/gdb/gdb_14.2.bb
+++ b/meta/recipes-devtools/gdb/gdb_16.3.bb
diff --git a/meta/recipes-devtools/git/git/0001-config.mak.uname-do-not-force-RHEL-7-specific-build-.patch b/meta/recipes-devtools/git/git/0001-config.mak.uname-do-not-force-RHEL-7-specific-build-.patch
index d80d082ba3..61bf0e12dc 100644
--- a/meta/recipes-devtools/git/git/0001-config.mak.uname-do-not-force-RHEL-7-specific-build-.patch
+++ b/meta/recipes-devtools/git/git/0001-config.mak.uname-do-not-force-RHEL-7-specific-build-.patch
@@ -1,4 +1,4 @@
1From c0c5241abdc113acbe6bcd960686cea414bce357 Mon Sep 17 00:00:00 2001 1From 325c30dac4eafdd463c8ffcfe1215858d642ab91 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de> 2From: Alexander Kanavin <alex@linutronix.de>
3Date: Mon, 7 Feb 2022 10:13:15 +0100 3Date: Mon, 7 Feb 2022 10:13:15 +0100
4Subject: [PATCH] config.mak.uname: do not force RHEL-7 specific build settings 4Subject: [PATCH] config.mak.uname: do not force RHEL-7 specific build settings
@@ -9,22 +9,25 @@ different flags than git builds on other host distros.
9Upstream-Status: Inappropriate [upstream needs to check compiler and component versions properly] 9Upstream-Status: Inappropriate [upstream needs to check compiler and component versions properly]
10Signed-off-by: Alexander Kanavin <alex@linutronix.de> 10Signed-off-by: Alexander Kanavin <alex@linutronix.de>
11 11
12Rebased for 2.45.1.
13
14Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
12--- 15---
13 config.mak.uname | 4 ---- 16 config.mak.uname | 4 ----
14 1 file changed, 4 deletions(-) 17 1 file changed, 4 deletions(-)
15 18
16diff --git a/config.mak.uname b/config.mak.uname 19diff --git a/config.mak.uname b/config.mak.uname
17index 259d151..136ae3b 100644 20index b12d4e1..b5b8d82 100644
18--- a/config.mak.uname 21--- a/config.mak.uname
19+++ b/config.mak.uname 22+++ b/config.mak.uname
20@@ -64,10 +64,6 @@ ifeq ($(uname_S),Linux) 23@@ -63,10 +63,6 @@ ifeq ($(uname_S),Linux)
21 PROCFS_EXECUTABLE_PATH = /proc/self/exe 24 PROCFS_EXECUTABLE_PATH = /proc/self/exe
22 HAVE_PLATFORM_PROCINFO = YesPlease 25 HAVE_PLATFORM_PROCINFO = YesPlease
23 COMPAT_OBJS += compat/linux/procinfo.o 26 COMPAT_OBJS += compat/linux/procinfo.o
24- # centos7/rhel7 provides gcc 4.8.5 and zlib 1.2.7. 27- # centos7/rhel7 provides gcc 4.8.5 and zlib 1.2.7.
25- ifneq ($(findstring .el7.,$(uname_R)),) 28- ifneq ($(findstring .el7.,$(uname_R)),)
26- BASIC_CFLAGS += -std=c99 29- BASIC_CFLAGS += -std=c99
27- endif 30- endif
31 LINK_FUZZ_PROGRAMS = YesPlease
28 endif 32 endif
29 ifeq ($(uname_S),GNU/kFreeBSD) 33 ifeq ($(uname_S),GNU/kFreeBSD)
30 HAVE_ALLOCA_H = YesPlease
diff --git a/meta/recipes-devtools/git/git/environment.d-git.sh b/meta/recipes-devtools/git/git/environment.d-git.sh
new file mode 100644
index 0000000000..9c7b5a9251
--- /dev/null
+++ b/meta/recipes-devtools/git/git/environment.d-git.sh
@@ -0,0 +1,19 @@
1# Respect host env GIT_SSL_CAINFO/GIT_SSL_CAPATH first, then auto-detected host cert, then cert in buildtools
2# CAFILE/CAPATH is auto-deteced when source buildtools
3if [ -z "$GIT_SSL_CAINFO" ]; then
4 if [ -n "$CAFILE" ];then
5 export GIT_SSL_CAINFO="$CAFILE"
6 elif [ -e "${OECORE_NATIVE_SYSROOT}/etc/ssl/certs/ca-certificates.crt" ];then
7 export GIT_SSL_CAINFO="${OECORE_NATIVE_SYSROOT}/etc/ssl/certs/ca-certificates.crt"
8 fi
9fi
10
11if [ -z "$GIT_SSL_CAPATH" ]; then
12 if [ -n "$CAPATH" ];then
13 export GIT_SSL_CAPATH="$CAPATH"
14 elif [ -e "${OECORE_NATIVE_SYSROOT}/etc/ssl/certs/ca-certificates.crt" ];then
15 export GIT_SSL_CAPATH="${OECORE_NATIVE_SYSROOT}/etc/ssl/certs"
16 fi
17fi
18
19export BB_ENV_PASSTHROUGH_ADDITIONS="${BB_ENV_PASSTHROUGH_ADDITIONS:-} GIT_SSL_CAINFO GIT_SSL_CAPATH"
diff --git a/meta/recipes-devtools/git/git/fixsort.patch b/meta/recipes-devtools/git/git/fixsort.patch
index 07a487e8ca..e077eba8ff 100644
--- a/meta/recipes-devtools/git/git/fixsort.patch
+++ b/meta/recipes-devtools/git/git/fixsort.patch
@@ -1,13 +1,16 @@
1[PATCH] generate-configlist.sh: Fix determinism issue 1From 65fa5c0f849fe4a1e3cb8e6af0086ef0748c28de Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Wed, 17 Feb 2021 17:57:13 +0000
4Subject: [PATCH] generate-configlist.sh: Fix determinism issue
2 5
3Currently git binaries are not entirely reproducible, at least partly 6Currently git binaries are not entirely reproducible, at least partly
4due to config-list.h differing in order depending on the system's 7due to config-list.h differing in order depending on the system's
5locale settings. Under different locales, the entries: 8locale settings. Under different locales, the entries:
6 9
7"sendemail.identity", 10"sendemail.identity",
8"sendemail.<identity>.*", 11"sendemail.<identity>.*",
9 12
10would differ in order for example and this leads to differences in 13would differ in order for example and this leads to differences in
11the debug symbols for the binaries. 14the debug symbols for the binaries.
12 15
13This can be fixed by specifying the C locale for the sort in the 16This can be fixed by specifying the C locale for the sort in the
@@ -15,14 +18,17 @@ shell script generating the header.
15 18
16Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> 19Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17Upstream-Status: Submitted [https://public-inbox.org/git/f029a942dd3d50d85e60bd37d8e454524987842f.camel@linuxfoundation.org/T/#u] 20Upstream-Status: Submitted [https://public-inbox.org/git/f029a942dd3d50d85e60bd37d8e454524987842f.camel@linuxfoundation.org/T/#u]
21---
22 generate-configlist.sh | 2 +-
23 1 file changed, 1 insertion(+), 1 deletion(-)
18 24
19Index: git-2.30.0/generate-configlist.sh 25diff --git a/generate-configlist.sh b/generate-configlist.sh
20=================================================================== 26index dffdaad..cc35a21 100755
21--- git-2.30.0.orig/generate-configlist.sh 27--- a/generate-configlist.sh
22+++ git-2.30.0/generate-configlist.sh 28+++ b/generate-configlist.sh
23@@ -9,7 +9,7 @@ static const char *config_name_list[] = 29@@ -15,7 +15,7 @@ static const char *config_name_list[] = {
24 EOF 30 EOF
25 grep -h '^[a-zA-Z].*\..*::$' Documentation/*config.txt Documentation/config/*.txt | 31 grep -h '^[a-zA-Z].*\..*::$' "$SOURCE_DIR"/Documentation/*config.adoc "$SOURCE_DIR"/Documentation/config/*.adoc |
26 sed '/deprecated/d; s/::$//; s/, */\n/g' | 32 sed '/deprecated/d; s/::$//; s/, */\n/g' |
27- sort | 33- sort |
28+ LC_ALL=C sort | 34+ LC_ALL=C sort |
diff --git a/meta/recipes-devtools/git/git_2.44.0.bb b/meta/recipes-devtools/git/git_2.49.0.bb
index 90e555eba7..e1b501d62b 100644
--- a/meta/recipes-devtools/git/git_2.44.0.bb
+++ b/meta/recipes-devtools/git/git_2.49.0.bb
@@ -4,7 +4,6 @@ DESCRIPTION = "Git is a free and open source distributed version control system
4SECTION = "console/utils" 4SECTION = "console/utils"
5LICENSE = "GPL-2.0-only & GPL-2.0-or-later & BSD-3-Clause & MIT & BSL-1.0 & LGPL-2.1-or-later" 5LICENSE = "GPL-2.0-only & GPL-2.0-or-later & BSD-3-Clause & MIT & BSL-1.0 & LGPL-2.1-or-later"
6DEPENDS = "openssl zlib" 6DEPENDS = "openssl zlib"
7DEPENDS:class-native += "ca-certificates"
8 7
9PROVIDES:append:class-native = " git-replacement-native" 8PROVIDES:append:class-native = " git-replacement-native"
10 9
@@ -13,7 +12,11 @@ SRC_URI = "${KERNELORG_MIRROR}/software/scm/git/git-${PV}.tar.gz;name=tarball \
13 file://0001-config.mak.uname-do-not-force-RHEL-7-specific-build-.patch \ 12 file://0001-config.mak.uname-do-not-force-RHEL-7-specific-build-.patch \
14 " 13 "
15 14
16S = "${WORKDIR}/git-${PV}" 15SRC_URI:append:class-nativesdk = " \
16 file://environment.d-git.sh \
17 "
18
19S = "${UNPACKDIR}/git-${PV}"
17 20
18LIC_FILES_CHKSUM = "\ 21LIC_FILES_CHKSUM = "\
19 file://COPYING;md5=7c0d7ef03a7eb04ce795b0f60e68e7e1 \ 22 file://COPYING;md5=7c0d7ef03a7eb04ce795b0f60e68e7e1 \
@@ -40,6 +43,7 @@ EXTRA_OECONF = "--with-perl=${STAGING_BINDIR_NATIVE}/perl-native/perl \
40 --without-iconv \ 43 --without-iconv \
41" 44"
42EXTRA_OECONF:append:class-nativesdk = " --with-gitconfig=/etc/gitconfig " 45EXTRA_OECONF:append:class-nativesdk = " --with-gitconfig=/etc/gitconfig "
46EXTRA_OECONF:append:class-native = " --with-gitconfig=/etc/gitconfig "
43 47
44# Needs brokensep as this doesn't use automake 48# Needs brokensep as this doesn't use automake
45inherit autotools-brokensep perlnative bash-completion manpages 49inherit autotools-brokensep perlnative bash-completion manpages
@@ -96,7 +100,6 @@ perl_native_fixup () {
96 100
97REL_GIT_EXEC_PATH = "${@os.path.relpath(libexecdir, bindir)}/git-core" 101REL_GIT_EXEC_PATH = "${@os.path.relpath(libexecdir, bindir)}/git-core"
98REL_GIT_TEMPLATE_DIR = "${@os.path.relpath(datadir, bindir)}/git-core/templates" 102REL_GIT_TEMPLATE_DIR = "${@os.path.relpath(datadir, bindir)}/git-core/templates"
99REL_GIT_SSL_CAINFO = "${@os.path.relpath(sysconfdir, bindir)}/ssl/certs/ca-certificates.crt"
100 103
101do_install:append:class-target () { 104do_install:append:class-target () {
102 perl_native_fixup 105 perl_native_fixup
@@ -105,7 +108,6 @@ do_install:append:class-target () {
105do_install:append:class-native() { 108do_install:append:class-native() {
106 create_wrapper ${D}${bindir}/git \ 109 create_wrapper ${D}${bindir}/git \
107 GIT_EXEC_PATH='`dirname $''realpath`'/${REL_GIT_EXEC_PATH} \ 110 GIT_EXEC_PATH='`dirname $''realpath`'/${REL_GIT_EXEC_PATH} \
108 GIT_SSL_CAINFO='`dirname $''realpath`'/${REL_GIT_SSL_CAINFO} \
109 GIT_TEMPLATE_DIR='`dirname $''realpath`'/${REL_GIT_TEMPLATE_DIR} 111 GIT_TEMPLATE_DIR='`dirname $''realpath`'/${REL_GIT_TEMPLATE_DIR}
110} 112}
111 113
@@ -114,6 +116,9 @@ do_install:append:class-nativesdk() {
114 GIT_EXEC_PATH='`dirname $''realpath`'/${REL_GIT_EXEC_PATH} \ 116 GIT_EXEC_PATH='`dirname $''realpath`'/${REL_GIT_EXEC_PATH} \
115 GIT_TEMPLATE_DIR='`dirname $''realpath`'/${REL_GIT_TEMPLATE_DIR} 117 GIT_TEMPLATE_DIR='`dirname $''realpath`'/${REL_GIT_TEMPLATE_DIR}
116 perl_native_fixup 118 perl_native_fixup
119
120 mkdir -p ${D}${SDKPATHNATIVE}/environment-setup.d
121 install -m 644 ${UNPACKDIR}/environment.d-git.sh ${D}${SDKPATHNATIVE}/environment-setup.d/git.sh
117} 122}
118 123
119FILES:${PN} += "${datadir}/git-core ${libexecdir}/git-core/" 124FILES:${PN} += "${datadir}/git-core ${libexecdir}/git-core/"
@@ -154,6 +159,8 @@ FILES:${PN}-tk = " \
154 159
155PACKAGES =+ "gitweb" 160PACKAGES =+ "gitweb"
156FILES:gitweb = "${datadir}/gitweb/" 161FILES:gitweb = "${datadir}/gitweb/"
162
163FILES:${PN}:append:class-nativesdk = " ${SDKPATHNATIVE}/environment-setup.d/git.sh"
157RDEPENDS:gitweb = "perl" 164RDEPENDS:gitweb = "perl"
158 165
159BBCLASSEXTEND = "native nativesdk" 166BBCLASSEXTEND = "native nativesdk"
@@ -163,4 +170,4 @@ EXTRA_OECONF += "ac_cv_snprintf_returns_bogus=no \
163 " 170 "
164EXTRA_OEMAKE += "NO_GETTEXT=1" 171EXTRA_OEMAKE += "NO_GETTEXT=1"
165 172
166SRC_URI[tarball.sha256sum] = "f9e36f085458fe9688fbbe7846b8c4770b13d161fcd8953655f36b2b85f06b76" 173SRC_URI[tarball.sha256sum] = "f8047f572f665bebeb637fd5f14678f31b3ca5d2ff9a18f20bd925bd48f75d3c"
diff --git a/meta/recipes-devtools/gnu-config/gnu-config_git.bb b/meta/recipes-devtools/gnu-config/gnu-config_git.bb
index 95a7d5485b..515777caf4 100644
--- a/meta/recipes-devtools/gnu-config/gnu-config_git.bb
+++ b/meta/recipes-devtools/gnu-config/gnu-config_git.bb
@@ -9,12 +9,11 @@ DEPENDS:class-native = "hostperl-runtime-native"
9 9
10INHIBIT_DEFAULT_DEPS = "1" 10INHIBIT_DEFAULT_DEPS = "1"
11 11
12SRCREV = "948ae97ca5703224bd3eada06b7a69f40dd15a02" 12SRCREV = "00b15927496058d23e6258a28d8996f87cf1f191"
13PV = "20240101+git" 13PV = "20240823+git"
14 14
15SRC_URI = "git://git.savannah.gnu.org/git/config.git;protocol=https;branch=master \ 15SRC_URI = "git://git.savannah.gnu.org/git/config.git;protocol=https;branch=master \
16 file://gnu-configize.in" 16 file://gnu-configize.in"
17S = "${WORKDIR}/git"
18UPSTREAM_CHECK_COMMITS = "1" 17UPSTREAM_CHECK_COMMITS = "1"
19 18
20CLEANBROKEN = "1" 19CLEANBROKEN = "1"
diff --git a/meta/recipes-devtools/go/go-1.22.2.inc b/meta/recipes-devtools/go/go-1.24.4.inc
index b399207311..eff3f2f605 100644
--- a/meta/recipes-devtools/go/go-1.22.2.inc
+++ b/meta/recipes-devtools/go/go-1.24.4.inc
@@ -2,7 +2,7 @@ require go-common.inc
2 2
3FILESEXTRAPATHS:prepend := "${FILE_DIRNAME}/go:" 3FILESEXTRAPATHS:prepend := "${FILE_DIRNAME}/go:"
4 4
5LIC_FILES_CHKSUM = "file://LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=7998cb338f82d15c0eff93b7004d272a"
6 6
7SRC_URI += "\ 7SRC_URI += "\
8 file://0001-cmd-go-make-content-based-hash-generation-less-pedan.patch \ 8 file://0001-cmd-go-make-content-based-hash-generation-less-pedan.patch \
@@ -14,5 +14,7 @@ SRC_URI += "\
14 file://0007-exec.go-filter-out-build-specific-paths-from-linker-.patch \ 14 file://0007-exec.go-filter-out-build-specific-paths-from-linker-.patch \
15 file://0008-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch \ 15 file://0008-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch \
16 file://0009-go-Filter-build-paths-on-staticly-linked-arches.patch \ 16 file://0009-go-Filter-build-paths-on-staticly-linked-arches.patch \
17 file://0010-cmd-go-clear-GOROOT-for-func-ldShared-when-trimpath-.patch \
18 file://6d265b008e3d106b2706645e5a88cd8e2fb98953.patch \
17" 19"
18SRC_URI[main.sha256sum] = "374ea82b289ec738e968267cac59c7d5ff180f9492250254784b2044e90df5a9" 20SRC_URI[main.sha256sum] = "5a86a83a31f9fa81490b8c5420ac384fd3d95a3e71fba665c7b3f95d1dfef2b4"
diff --git a/meta/recipes-devtools/go/go-binary-native_1.22.2.bb b/meta/recipes-devtools/go/go-binary-native_1.24.4.bb
index 0f00509f03..ae85d3e266 100644
--- a/meta/recipes-devtools/go/go-binary-native_1.22.2.bb
+++ b/meta/recipes-devtools/go/go-binary-native_1.24.4.bb
@@ -3,22 +3,23 @@
3SUMMARY = "Go programming language compiler (upstream binary for bootstrap)" 3SUMMARY = "Go programming language compiler (upstream binary for bootstrap)"
4HOMEPAGE = " http://golang.org/" 4HOMEPAGE = " http://golang.org/"
5LICENSE = "BSD-3-Clause" 5LICENSE = "BSD-3-Clause"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707" 6LIC_FILES_CHKSUM = "file://LICENSE;md5=7998cb338f82d15c0eff93b7004d272a"
7 7
8PROVIDES = "go-native" 8PROVIDES = "go-native"
9 9
10# Checksums available at https://go.dev/dl/ 10# Checksums available at https://go.dev/dl/
11SRC_URI = "https://dl.google.com/go/go${PV}.${BUILD_GOOS}-${BUILD_GOARCH}.tar.gz;name=go_${BUILD_GOTUPLE}" 11SRC_URI = "https://dl.google.com/go/go${PV}.${BUILD_GOOS}-${BUILD_GOARCH}.tar.gz;name=go_${BUILD_GOTUPLE}"
12SRC_URI[go_linux_amd64.sha256sum] = "5901c52b7a78002aeff14a21f93e0f064f74ce1360fce51c6ee68cd471216a17" 12SRC_URI[go_linux_amd64.sha256sum] = "77e5da33bb72aeaef1ba4418b6fe511bc4d041873cbf82e5aa6318740df98717"
13SRC_URI[go_linux_arm64.sha256sum] = "36e720b2d564980c162a48c7e97da2e407dfcc4239e1e58d98082dfa2486a0c1" 13SRC_URI[go_linux_arm64.sha256sum] = "d5501ee5aca0f258d5fe9bfaed401958445014495dc115f202d43d5210b45241"
14SRC_URI[go_linux_ppc64le.sha256sum] = "251a8886c5113be6490bdbb955ddee98763b49c9b1bf4c8364c02d3b482dab00" 14SRC_URI[go_linux_ppc64le.sha256sum] = "9ca4afef813a2578c23843b640ae0290aa54b2e3c950a6cc4c99e16a57dec2ec"
15 15
16UPSTREAM_CHECK_URI = "https://golang.org/dl/" 16UPSTREAM_CHECK_URI = "https://golang.org/dl/"
17UPSTREAM_CHECK_REGEX = "go(?P<pver>\d+(\.\d+)+)\.linux" 17UPSTREAM_CHECK_REGEX = "go(?P<pver>\d+(\.\d+)+)\.linux"
18 18
19CVE_PRODUCT = "golang:go" 19CVE_PRODUCT = "golang:go"
20CVE_STATUS[CVE-2024-3566] = "not-applicable-platform: Issue only applies on Windows"
20 21
21S = "${WORKDIR}/go" 22S = "${UNPACKDIR}/go"
22 23
23inherit goarch native 24inherit goarch native
24 25
diff --git a/meta/recipes-devtools/go/go-common.inc b/meta/recipes-devtools/go/go-common.inc
index db165792dc..061db4296c 100644
--- a/meta/recipes-devtools/go/go-common.inc
+++ b/meta/recipes-devtools/go/go-common.inc
@@ -15,12 +15,13 @@ LICENSE = "BSD-3-Clause"
15inherit goarch 15inherit goarch
16 16
17SRC_URI = "https://golang.org/dl/go${PV}.src.tar.gz;name=main" 17SRC_URI = "https://golang.org/dl/go${PV}.src.tar.gz;name=main"
18S = "${WORKDIR}/go" 18S = "${UNPACKDIR}/go"
19B = "${S}" 19B = "${S}"
20UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)\.src\.tar" 20UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)\.src\.tar"
21 21
22# all recipe variants are created from the same product 22# all recipe variants are created from the same product
23CVE_PRODUCT = "golang:go" 23CVE_PRODUCT = "golang:go"
24CVE_STATUS[CVE-2024-3566] = "not-applicable-platform: Issue only applies on Windows"
24 25
25INHIBIT_PACKAGE_DEBUG_SPLIT = "1" 26INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
26SSTATE_SCAN_CMD = "true" 27SSTATE_SCAN_CMD = "true"
@@ -38,7 +39,6 @@ export GOARCH ?= "${TARGET_GOARCH}"
38export GOARM ?= "${TARGET_GOARM}" 39export GOARM ?= "${TARGET_GOARM}"
39export GO386 ?= "${TARGET_GO386}" 40export GO386 ?= "${TARGET_GO386}"
40export GOMIPS ?= "${TARGET_GOMIPS}" 41export GOMIPS ?= "${TARGET_GOMIPS}"
41export GOROOT_FINAL ?= "${libdir}/go"
42 42
43export GODEBUG = "gocachehash=1" 43export GODEBUG = "gocachehash=1"
44 44
diff --git a/meta/recipes-devtools/go/go-cross-canadian.inc b/meta/recipes-devtools/go/go-cross-canadian.inc
index dd485b6799..39330fc98b 100644
--- a/meta/recipes-devtools/go/go-cross-canadian.inc
+++ b/meta/recipes-devtools/go/go-cross-canadian.inc
@@ -1,8 +1,8 @@
1inherit cross-canadian 1inherit cross-canadian
2 2
3DEPENDS = "go-native virtual/${HOST_PREFIX}go virtual/nativesdk-${HOST_PREFIX}go-runtime \ 3DEPENDS = "go-native virtual/${HOST_PREFIX}go virtual/nativesdk-${HOST_PREFIX}go-runtime \
4 virtual/${HOST_PREFIX}gcc virtual/nativesdk-libc \ 4 virtual/nativesdk-cross-cc virtual/nativesdk-libc \
5 virtual/nativesdk-${HOST_PREFIX}compilerlibs" 5 virtual/nativesdk-compilerlibs"
6PN = "go-cross-canadian-${TRANSLATED_TARGET_ARCH}" 6PN = "go-cross-canadian-${TRANSLATED_TARGET_ARCH}"
7 7
8# it uses gcc on build machine during go-cross-canadian bootstrap, but 8# it uses gcc on build machine during go-cross-canadian bootstrap, but
@@ -29,7 +29,6 @@ do_compile() {
29} 29}
30do_compile[cleandirs] += "${GOTMPDIR} ${B}/bin ${B}/pkg" 30do_compile[cleandirs] += "${GOTMPDIR} ${B}/bin ${B}/pkg"
31 31
32
33make_wrapper() { 32make_wrapper() {
34 rm -f ${D}${bindir}/$2 33 rm -f ${D}${bindir}/$2
35 cat <<END >${D}${bindir}/$2 34 cat <<END >${D}${bindir}/$2
diff --git a/meta/recipes-devtools/go/go-cross-canadian_1.22.2.bb b/meta/recipes-devtools/go/go-cross-canadian_1.24.4.bb
index 7ac9449e47..7ac9449e47 100644
--- a/meta/recipes-devtools/go/go-cross-canadian_1.22.2.bb
+++ b/meta/recipes-devtools/go/go-cross-canadian_1.24.4.bb
diff --git a/meta/recipes-devtools/go/go-cross_1.22.2.bb b/meta/recipes-devtools/go/go-cross_1.24.4.bb
index 80b5a03f6c..80b5a03f6c 100644
--- a/meta/recipes-devtools/go/go-cross_1.22.2.bb
+++ b/meta/recipes-devtools/go/go-cross_1.24.4.bb
diff --git a/meta/recipes-devtools/go/go-crosssdk.inc b/meta/recipes-devtools/go/go-crosssdk.inc
index 12939005c0..4f19025ba7 100644
--- a/meta/recipes-devtools/go/go-crosssdk.inc
+++ b/meta/recipes-devtools/go/go-crosssdk.inc
@@ -1,6 +1,6 @@
1inherit crosssdk 1inherit crosssdk
2 2
3DEPENDS = "go-native virtual/${TARGET_PREFIX}gcc virtual/nativesdk-${TARGET_PREFIX}compilerlibs virtual/${TARGET_PREFIX}binutils" 3DEPENDS = "go-native virtual/nativesdk-cross-cc virtual/nativesdk-compilerlibs virtual/nativesdk-cross-binutils"
4PN = "go-crosssdk-${SDK_SYS}" 4PN = "go-crosssdk-${SDK_SYS}"
5PROVIDES = "virtual/${TARGET_PREFIX}go" 5PROVIDES = "virtual/${TARGET_PREFIX}go"
6 6
diff --git a/meta/recipes-devtools/go/go-crosssdk_1.22.2.bb b/meta/recipes-devtools/go/go-crosssdk_1.24.4.bb
index 1857c8a577..1857c8a577 100644
--- a/meta/recipes-devtools/go/go-crosssdk_1.22.2.bb
+++ b/meta/recipes-devtools/go/go-crosssdk_1.24.4.bb
diff --git a/meta/recipes-devtools/go/go-native_1.22.2.bb b/meta/recipes-devtools/go/go-native_1.22.2.bb
deleted file mode 100644
index ddf25b2c9b..0000000000
--- a/meta/recipes-devtools/go/go-native_1.22.2.bb
+++ /dev/null
@@ -1,58 +0,0 @@
1# This recipe builds a native Go (written in Go) by first building an old Go 1.4
2# (written in C). However this old Go does not support all hosts platforms.
3
4require go-${PV}.inc
5
6inherit native
7
8SRC_URI += "https://dl.google.com/go/go1.4-bootstrap-20171003.tar.gz;name=bootstrap;subdir=go1.4"
9SRC_URI[bootstrap.sha256sum] = "f4ff5b5eb3a3cae1c993723f3eab519c5bae18866b5e5f96fe1102f0cb5c3e52"
10
11export GOOS = "${BUILD_GOOS}"
12export GOARCH = "${BUILD_GOARCH}"
13CC = "${@d.getVar('BUILD_CC').strip()}"
14
15GOMAKEARGS ?= "--no-banner"
16
17do_configure() {
18 cd ${WORKDIR}/go1.4/go/src
19 CGO_ENABLED=0 GOROOT=${WORKDIR}/go1.4/go ./make.bash
20}
21
22do_compile() {
23 export GOROOT_FINAL="${libdir_native}/go"
24 export GOROOT_BOOTSTRAP="${WORKDIR}/go1.4/go"
25
26 cd src
27 ./make.bash ${GOMAKEARGS}
28 cd ${B}
29}
30do_compile[cleandirs] += "${GOTMPDIR} ${B}/bin"
31
32make_wrapper() {
33 rm -f ${D}${bindir}/$2$3
34 cat <<END >${D}${bindir}/$2$3
35#!/bin/bash
36here=\`dirname \$0\`
37export GOROOT="${GOROOT:-\`readlink -f \$here/../lib/go\`}"
38\$here/../lib/go/bin/$1 "\$@"
39END
40 chmod +x ${D}${bindir}/$2
41}
42
43do_install() {
44 install -d ${D}${libdir}/go
45 cp --preserve=mode,timestamps -R ${B}/pkg ${D}${libdir}/go/
46 install -d ${D}${libdir}/go/src
47 (cd ${S}/src; for d in *; do \
48 [ -d $d ] && cp -a ${S}/src/$d ${D}${libdir}/go/src/; \
49 done)
50 find ${D}${libdir}/go/src -depth -type d -name testdata -exec rm -rf {} \;
51 install -d ${D}${bindir} ${D}${libdir}/go/bin
52 for f in ${B}/bin/*
53 do
54 base=`basename $f`
55 install -m755 $f ${D}${libdir}/go/bin
56 make_wrapper $base $base
57 done
58}
diff --git a/meta/recipes-devtools/go/go-runtime.inc b/meta/recipes-devtools/go/go-runtime.inc
index 413cf6d33f..e5f17337bc 100644
--- a/meta/recipes-devtools/go/go-runtime.inc
+++ b/meta/recipes-devtools/go/go-runtime.inc
@@ -34,7 +34,7 @@ do_compile() {
34 if [ -n "${GO_DYNLINK}" ]; then 34 if [ -n "${GO_DYNLINK}" ]; then
35 export GOTOOLDIR="${B}/pkg/tool/native_native" 35 export GOTOOLDIR="${B}/pkg/tool/native_native"
36 CC="$CC_FOR_${TARGET_GOTUPLE}" GOARCH="${TARGET_GOARCH}" GOOS="${TARGET_GOOS}" GOROOT=${B} \ 36 CC="$CC_FOR_${TARGET_GOTUPLE}" GOARCH="${TARGET_GOARCH}" GOOS="${TARGET_GOOS}" GOROOT=${B} \
37 $GOTOOLDIR/go_bootstrap install -linkshared -buildmode=shared ${GO_SHLIB_LDFLAGS} std 37 $GOTOOLDIR/go_bootstrap install -linkshared -trimpath -buildmode=shared ${GO_SHLIB_LDFLAGS} std
38 fi 38 fi
39 cd ${B} 39 cd ${B}
40} 40}
diff --git a/meta/recipes-devtools/go/go-runtime_1.22.2.bb b/meta/recipes-devtools/go/go-runtime_1.24.4.bb
index 63464a1501..63464a1501 100644
--- a/meta/recipes-devtools/go/go-runtime_1.22.2.bb
+++ b/meta/recipes-devtools/go/go-runtime_1.24.4.bb
diff --git a/meta/recipes-devtools/go/go/0001-cmd-go-make-content-based-hash-generation-less-pedan.patch b/meta/recipes-devtools/go/go/0001-cmd-go-make-content-based-hash-generation-less-pedan.patch
index 564837c7cd..86e941b970 100644
--- a/meta/recipes-devtools/go/go/0001-cmd-go-make-content-based-hash-generation-less-pedan.patch
+++ b/meta/recipes-devtools/go/go/0001-cmd-go-make-content-based-hash-generation-less-pedan.patch
@@ -1,7 +1,8 @@
1From 9a6c5040cbcd88b10ceb8ceaebc8d6158c086670 Mon Sep 17 00:00:00 2001 1From 51c04a9a19dec5a48fa0f38324dc2480b7a859e4 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 28 Mar 2022 10:59:03 -0700 3Date: Sat, 22 Feb 2025 03:24:48 -0800
4Subject: [PATCH 1/9] cmd/go: make content-based hash generation less pedantic 4Subject: [PATCH 01/11] cmd/go: make content-based hash generation less
5 pedantic
5 6
6Go 1.10's build tool now uses content-based hashes to 7Go 1.10's build tool now uses content-based hashes to
7determine when something should be built or re-built. 8determine when something should be built or re-built.
@@ -26,16 +27,19 @@ Signed-off-by: Alex Kube <alexander.j.kube@gmail.com>
26Signed-off-by: Matt Madison <matt@madison.systems> 27Signed-off-by: Matt Madison <matt@madison.systems>
27Signed-off-by: Khem Raj <raj.khem@gmail.com> 28Signed-off-by: Khem Raj <raj.khem@gmail.com>
28Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> 29Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
30
31Rebase to 1.23.4
32Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
29--- 33---
30 src/cmd/go/internal/envcmd/env.go | 2 +- 34 src/cmd/go/internal/envcmd/env.go | 2 +-
31 src/cmd/go/internal/work/exec.go | 44 ++++++++++++++++++++++++------- 35 src/cmd/go/internal/work/exec.go | 44 ++++++++++++++++++++++++-------
32 2 files changed, 36 insertions(+), 10 deletions(-) 36 2 files changed, 36 insertions(+), 10 deletions(-)
33 37
34diff --git a/src/cmd/go/internal/envcmd/env.go b/src/cmd/go/internal/envcmd/env.go 38diff --git a/src/cmd/go/internal/envcmd/env.go b/src/cmd/go/internal/envcmd/env.go
35index c7c2e83e0f..4a90d9da5c 100644 39index 7c370d427f..c2441f7695 100644
36--- a/src/cmd/go/internal/envcmd/env.go 40--- a/src/cmd/go/internal/envcmd/env.go
37+++ b/src/cmd/go/internal/envcmd/env.go 41+++ b/src/cmd/go/internal/envcmd/env.go
38@@ -189,7 +189,7 @@ func ExtraEnvVarsCostly() []cfg.EnvVar { 42@@ -219,7 +219,7 @@ func ExtraEnvVarsCostly() []cfg.EnvVar {
39 } 43 }
40 }() 44 }()
41 45
@@ -45,10 +49,10 @@ index c7c2e83e0f..4a90d9da5c 100644
45 // Should not happen - b.CFlags was given an empty package. 49 // Should not happen - b.CFlags was given an empty package.
46 fmt.Fprintf(os.Stderr, "go: invalid cflags: %v\n", err) 50 fmt.Fprintf(os.Stderr, "go: invalid cflags: %v\n", err)
47diff --git a/src/cmd/go/internal/work/exec.go b/src/cmd/go/internal/work/exec.go 51diff --git a/src/cmd/go/internal/work/exec.go b/src/cmd/go/internal/work/exec.go
48index e05471b06c..9724cd07d0 100644 52index 7b073165d5..1f618be0bb 100644
49--- a/src/cmd/go/internal/work/exec.go 53--- a/src/cmd/go/internal/work/exec.go
50+++ b/src/cmd/go/internal/work/exec.go 54+++ b/src/cmd/go/internal/work/exec.go
51@@ -232,6 +232,8 @@ func (b *Builder) Do(ctx context.Context, root *Action) { 55@@ -237,6 +237,8 @@ func (b *Builder) Do(ctx context.Context, root *Action) {
52 writeActionGraph() 56 writeActionGraph()
53 } 57 }
54 58
@@ -57,7 +61,7 @@ index e05471b06c..9724cd07d0 100644
57 // buildActionID computes the action ID for a build action. 61 // buildActionID computes the action ID for a build action.
58 func (b *Builder) buildActionID(a *Action) cache.ActionID { 62 func (b *Builder) buildActionID(a *Action) cache.ActionID {
59 p := a.Package 63 p := a.Package
60@@ -253,7 +255,7 @@ func (b *Builder) buildActionID(a *Action) cache.ActionID { 64@@ -258,7 +260,7 @@ func (b *Builder) buildActionID(a *Action) cache.ActionID {
61 if p.Module != nil { 65 if p.Module != nil {
62 fmt.Fprintf(h, "module %s@%s\n", p.Module.Path, p.Module.Version) 66 fmt.Fprintf(h, "module %s@%s\n", p.Module.Path, p.Module.Version)
63 } 67 }
@@ -66,7 +70,7 @@ index e05471b06c..9724cd07d0 100644
66 // The Go compiler always hides the exact value of $GOROOT 70 // The Go compiler always hides the exact value of $GOROOT
67 // when building things in GOROOT. 71 // when building things in GOROOT.
68 // 72 //
69@@ -285,9 +287,9 @@ func (b *Builder) buildActionID(a *Action) cache.ActionID { 73@@ -293,9 +295,9 @@ func (b *Builder) buildActionID(a *Action) cache.ActionID {
70 } 74 }
71 if len(p.CgoFiles)+len(p.SwigFiles)+len(p.SwigCXXFiles) > 0 { 75 if len(p.CgoFiles)+len(p.SwigFiles)+len(p.SwigCXXFiles) > 0 {
72 fmt.Fprintf(h, "cgo %q\n", b.toolID("cgo")) 76 fmt.Fprintf(h, "cgo %q\n", b.toolID("cgo"))
@@ -78,7 +82,7 @@ index e05471b06c..9724cd07d0 100644
78 fmt.Fprintf(h, "CC=%q %q %q %q\n", ccExe, cppflags, cflags, ldflags) 82 fmt.Fprintf(h, "CC=%q %q %q %q\n", ccExe, cppflags, cflags, ldflags)
79 // Include the C compiler tool ID so that if the C 83 // Include the C compiler tool ID so that if the C
80 // compiler changes we rebuild the package. 84 // compiler changes we rebuild the package.
81@@ -295,14 +297,14 @@ func (b *Builder) buildActionID(a *Action) cache.ActionID { 85@@ -303,14 +305,14 @@ func (b *Builder) buildActionID(a *Action) cache.ActionID {
82 fmt.Fprintf(h, "CC ID=%q\n", ccID) 86 fmt.Fprintf(h, "CC ID=%q\n", ccID)
83 } 87 }
84 if len(p.CXXFiles)+len(p.SwigCXXFiles) > 0 { 88 if len(p.CXXFiles)+len(p.SwigCXXFiles) > 0 {
@@ -95,7 +99,7 @@ index e05471b06c..9724cd07d0 100644
95 fmt.Fprintf(h, "FC=%q %q\n", fcExe, fflags) 99 fmt.Fprintf(h, "FC=%q %q\n", fcExe, fflags)
96 if fcID, _, err := b.gccToolID(fcExe[0], "f95"); err == nil { 100 if fcID, _, err := b.gccToolID(fcExe[0], "f95"); err == nil {
97 fmt.Fprintf(h, "FC ID=%q\n", fcID) 101 fmt.Fprintf(h, "FC ID=%q\n", fcID)
98@@ -319,7 +321,7 @@ func (b *Builder) buildActionID(a *Action) cache.ActionID { 102@@ -327,7 +329,7 @@ func (b *Builder) buildActionID(a *Action) cache.ActionID {
99 } 103 }
100 } 104 }
101 if p.Internal.BuildInfo != nil { 105 if p.Internal.BuildInfo != nil {
@@ -104,7 +108,7 @@ index e05471b06c..9724cd07d0 100644
104 } 108 }
105 109
106 // Configuration specific to compiler toolchain. 110 // Configuration specific to compiler toolchain.
107@@ -2679,8 +2681,25 @@ func envList(key, def string) []string { 111@@ -2659,8 +2661,25 @@ func envList(key, def string) []string {
108 return args 112 return args
109 } 113 }
110 114
@@ -131,8 +135,8 @@ index e05471b06c..9724cd07d0 100644
131 if cppflags, err = buildFlags("CPPFLAGS", "", p.CgoCPPFLAGS, checkCompilerFlags); err != nil { 135 if cppflags, err = buildFlags("CPPFLAGS", "", p.CgoCPPFLAGS, checkCompilerFlags); err != nil {
132 return 136 return
133 } 137 }
134@@ -2696,6 +2715,13 @@ func (b *Builder) CFlags(p *load.Package) (cppflags, cflags, cxxflags, fflags, l 138@@ -2676,6 +2695,13 @@ func (b *Builder) CFlags(p *load.Package) (cppflags, cflags, cxxflags, fflags, l
135 if ldflags, err = buildFlags("LDFLAGS", defaultCFlags, p.CgoLDFLAGS, checkLinkerFlags); err != nil { 139 if ldflags, err = buildFlags("LDFLAGS", DefaultCFlags, p.CgoLDFLAGS, checkLinkerFlags); err != nil {
136 return 140 return
137 } 141 }
138+ if filtered { 142+ if filtered {
@@ -145,7 +149,7 @@ index e05471b06c..9724cd07d0 100644
145 149
146 return 150 return
147 } 151 }
148@@ -2713,7 +2739,7 @@ func (b *Builder) cgo(a *Action, cgoExe, objdir string, pcCFLAGS, pcLDFLAGS, cgo 152@@ -2693,7 +2719,7 @@ func (b *Builder) cgo(a *Action, cgoExe, objdir string, pcCFLAGS, pcLDFLAGS, cgo
149 p := a.Package 153 p := a.Package
150 sh := b.Shell(a) 154 sh := b.Shell(a)
151 155
@@ -154,7 +158,7 @@ index e05471b06c..9724cd07d0 100644
154 if err != nil { 158 if err != nil {
155 return nil, nil, err 159 return nil, nil, err
156 } 160 }
157@@ -3268,7 +3294,7 @@ func (b *Builder) swigOne(a *Action, file, objdir string, pcCFLAGS []string, cxx 161@@ -3256,7 +3282,7 @@ func (b *Builder) swigOne(a *Action, file, objdir string, pcCFLAGS []string, cxx
158 p := a.Package 162 p := a.Package
159 sh := b.Shell(a) 163 sh := b.Shell(a)
160 164
@@ -164,5 +168,5 @@ index e05471b06c..9724cd07d0 100644
164 return "", "", err 168 return "", "", err
165 } 169 }
166-- 170--
1672.44.0 1712.25.1
168 172
diff --git a/meta/recipes-devtools/go/go/0002-cmd-go-Allow-GOTOOLDIR-to-be-overridden-in-the-envir.patch b/meta/recipes-devtools/go/go/0002-cmd-go-Allow-GOTOOLDIR-to-be-overridden-in-the-envir.patch
index 001c94a4e7..7e86d8cd6b 100644
--- a/meta/recipes-devtools/go/go/0002-cmd-go-Allow-GOTOOLDIR-to-be-overridden-in-the-envir.patch
+++ b/meta/recipes-devtools/go/go/0002-cmd-go-Allow-GOTOOLDIR-to-be-overridden-in-the-envir.patch
@@ -1,7 +1,7 @@
1From e3f9a8a69d3a340c1a1d0bba566e71f20f635a43 Mon Sep 17 00:00:00 2001 1From fdad9a0ea659cf2281a0df16b0f69f179605ec9a Mon Sep 17 00:00:00 2001
2From: Alex Kube <alexander.j.kube@gmail.com> 2From: Alex Kube <alexander.j.kube@gmail.com>
3Date: Wed, 23 Oct 2019 21:15:37 +0430 3Date: Wed, 23 Oct 2019 21:15:37 +0430
4Subject: [PATCH 2/9] cmd/go: Allow GOTOOLDIR to be overridden in the 4Subject: [PATCH 02/11] cmd/go: Allow GOTOOLDIR to be overridden in the
5 environment 5 environment
6 6
7to allow for split host/target build roots 7to allow for split host/target build roots
@@ -20,10 +20,10 @@ Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
20 2 files changed, 8 insertions(+), 2 deletions(-) 20 2 files changed, 8 insertions(+), 2 deletions(-)
21 21
22diff --git a/src/cmd/dist/build.go b/src/cmd/dist/build.go 22diff --git a/src/cmd/dist/build.go b/src/cmd/dist/build.go
23index 32e59b446a..06ee4de8a9 100644 23index 1f467647f5..b62e518030 100644
24--- a/src/cmd/dist/build.go 24--- a/src/cmd/dist/build.go
25+++ b/src/cmd/dist/build.go 25+++ b/src/cmd/dist/build.go
26@@ -259,7 +259,9 @@ func xinit() { 26@@ -280,7 +280,9 @@ func xinit() {
27 } 27 }
28 xatexit(rmworkdir) 28 xatexit(rmworkdir)
29 29
@@ -35,10 +35,10 @@ index 32e59b446a..06ee4de8a9 100644
35 goversion := findgoversion() 35 goversion := findgoversion()
36 isRelease = strings.HasPrefix(goversion, "release.") || strings.HasPrefix(goversion, "go") 36 isRelease = strings.HasPrefix(goversion, "release.") || strings.HasPrefix(goversion, "go")
37diff --git a/src/cmd/go/internal/cfg/cfg.go b/src/cmd/go/internal/cfg/cfg.go 37diff --git a/src/cmd/go/internal/cfg/cfg.go b/src/cmd/go/internal/cfg/cfg.go
38index a8daa2dfc3..393ada39c9 100644 38index 3b9f27e91d..ec043c1530 100644
39--- a/src/cmd/go/internal/cfg/cfg.go 39--- a/src/cmd/go/internal/cfg/cfg.go
40+++ b/src/cmd/go/internal/cfg/cfg.go 40+++ b/src/cmd/go/internal/cfg/cfg.go
41@@ -230,7 +230,11 @@ func SetGOROOT(goroot string, isTestGo bool) { 41@@ -248,7 +248,11 @@ func SetGOROOT(goroot string, isTestGo bool) {
42 // This matches the initialization of ToolDir in go/build, except for 42 // This matches the initialization of ToolDir in go/build, except for
43 // using ctxt.GOROOT and the installed GOOS and GOARCH rather than the 43 // using ctxt.GOROOT and the installed GOOS and GOARCH rather than the
44 // GOROOT, GOOS, and GOARCH reported by the runtime package. 44 // GOROOT, GOOS, and GOARCH reported by the runtime package.
@@ -52,5 +52,5 @@ index a8daa2dfc3..393ada39c9 100644
52 } 52 }
53 } 53 }
54-- 54--
552.44.0 552.25.1
56 56
diff --git a/meta/recipes-devtools/go/go/0003-ld-add-soname-to-shareable-objects.patch b/meta/recipes-devtools/go/go/0003-ld-add-soname-to-shareable-objects.patch
index 9cab2969c8..86a4bb1ea5 100644
--- a/meta/recipes-devtools/go/go/0003-ld-add-soname-to-shareable-objects.patch
+++ b/meta/recipes-devtools/go/go/0003-ld-add-soname-to-shareable-objects.patch
@@ -1,7 +1,7 @@
1From 7dde77b3ce8138314dd2736604b1b110dbcc0ac1 Mon Sep 17 00:00:00 2001 1From 1546d837c69b654754ee137af1fa1c2f7500cfa2 Mon Sep 17 00:00:00 2001
2From: Alex Kube <alexander.j.kube@gmail.com> 2From: Alex Kube <alexander.j.kube@gmail.com>
3Date: Wed, 23 Oct 2019 21:16:32 +0430 3Date: Wed, 23 Oct 2019 21:16:32 +0430
4Subject: [PATCH 3/9] ld: add soname to shareable objects 4Subject: [PATCH 03/11] ld: add soname to shareable objects
5 5
6so that OE's shared library dependency handling 6so that OE's shared library dependency handling
7can find them. 7can find them.
@@ -19,10 +19,10 @@ Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
19 1 file changed, 3 insertions(+) 19 1 file changed, 3 insertions(+)
20 20
21diff --git a/src/cmd/link/internal/ld/lib.go b/src/cmd/link/internal/ld/lib.go 21diff --git a/src/cmd/link/internal/ld/lib.go b/src/cmd/link/internal/ld/lib.go
22index eab74dc328..ae9bbc9093 100644 22index 2d8f964f35..dfc72e02c0 100644
23--- a/src/cmd/link/internal/ld/lib.go 23--- a/src/cmd/link/internal/ld/lib.go
24+++ b/src/cmd/link/internal/ld/lib.go 24+++ b/src/cmd/link/internal/ld/lib.go
25@@ -1576,6 +1576,7 @@ func (ctxt *Link) hostlink() { 25@@ -1624,6 +1624,7 @@ func (ctxt *Link) hostlink() {
26 argv = append(argv, "-Wl,-z,relro") 26 argv = append(argv, "-Wl,-z,relro")
27 } 27 }
28 argv = append(argv, "-shared") 28 argv = append(argv, "-shared")
@@ -30,7 +30,7 @@ index eab74dc328..ae9bbc9093 100644
30 if ctxt.HeadType == objabi.Hwindows { 30 if ctxt.HeadType == objabi.Hwindows {
31 argv = addASLRargs(argv, *flagAslr) 31 argv = addASLRargs(argv, *flagAslr)
32 } else { 32 } else {
33@@ -1591,6 +1592,7 @@ func (ctxt *Link) hostlink() { 33@@ -1639,6 +1640,7 @@ func (ctxt *Link) hostlink() {
34 argv = append(argv, "-Wl,-z,relro") 34 argv = append(argv, "-Wl,-z,relro")
35 } 35 }
36 argv = append(argv, "-shared") 36 argv = append(argv, "-shared")
@@ -38,7 +38,7 @@ index eab74dc328..ae9bbc9093 100644
38 case BuildModePlugin: 38 case BuildModePlugin:
39 if ctxt.HeadType == objabi.Hdarwin { 39 if ctxt.HeadType == objabi.Hdarwin {
40 argv = append(argv, "-dynamiclib") 40 argv = append(argv, "-dynamiclib")
41@@ -1599,6 +1601,7 @@ func (ctxt *Link) hostlink() { 41@@ -1647,6 +1649,7 @@ func (ctxt *Link) hostlink() {
42 argv = append(argv, "-Wl,-z,relro") 42 argv = append(argv, "-Wl,-z,relro")
43 } 43 }
44 argv = append(argv, "-shared") 44 argv = append(argv, "-shared")
@@ -47,5 +47,5 @@ index eab74dc328..ae9bbc9093 100644
47 } 47 }
48 48
49-- 49--
502.44.0 502.25.1
51 51
diff --git a/meta/recipes-devtools/go/go/0004-make.bash-override-CC-when-building-dist-and-go_boot.patch b/meta/recipes-devtools/go/go/0004-make.bash-override-CC-when-building-dist-and-go_boot.patch
index 8889aef1cf..abbb7bda2b 100644
--- a/meta/recipes-devtools/go/go/0004-make.bash-override-CC-when-building-dist-and-go_boot.patch
+++ b/meta/recipes-devtools/go/go/0004-make.bash-override-CC-when-building-dist-and-go_boot.patch
@@ -1,7 +1,7 @@
1From 9f59e46991074d3e3c4d00f3971e62bfcd707167 Mon Sep 17 00:00:00 2001 1From b41aaa851f0074682fcd4bf07c891fbdf0fdf70c Mon Sep 17 00:00:00 2001
2From: Alex Kube <alexander.j.kube@gmail.com> 2From: Alex Kube <alexander.j.kube@gmail.com>
3Date: Wed, 23 Oct 2019 21:17:16 +0430 3Date: Sat, 22 Feb 2025 03:14:37 -0800
4Subject: [PATCH 4/9] make.bash: override CC when building dist and 4Subject: [PATCH 04/11] make.bash: override CC when building dist and
5 go_bootstrap 5 go_bootstrap
6 6
7for handling OE cross-canadian builds. 7for handling OE cross-canadian builds.
@@ -14,24 +14,27 @@ Upstream-Status: Inappropriate [OE specific]
14 14
15Signed-off-by: Alexander J Kube <alexander.j.kube@gmail.com> 15Signed-off-by: Alexander J Kube <alexander.j.kube@gmail.com>
16Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> 16Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
17
18Rebase to 1.23.4
19Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
17--- 20---
18 src/make.bash | 4 ++-- 21 src/make.bash | 4 ++--
19 1 file changed, 2 insertions(+), 2 deletions(-) 22 1 file changed, 2 insertions(+), 2 deletions(-)
20 23
21diff --git a/src/make.bash b/src/make.bash 24diff --git a/src/make.bash b/src/make.bash
22index 76ad51624a..074e129a24 100755 25index b67ae1529f..b59cdabd09 100755
23--- a/src/make.bash 26--- a/src/make.bash
24+++ b/src/make.bash 27+++ b/src/make.bash
25@@ -198,7 +198,7 @@ if [[ "$GOROOT_BOOTSTRAP" == "$GOROOT" ]]; then 28@@ -153,7 +153,7 @@ fi
26 exit 1 29 export GOROOT_BOOTSTRAP
27 fi 30
28 rm -f cmd/dist/dist 31 bootstrapenv() {
29-GOROOT="$GOROOT_BOOTSTRAP" nogoenv "$GOROOT_BOOTSTRAP/bin/go" build -o cmd/dist/dist ./cmd/dist 32- GOROOT="$GOROOT_BOOTSTRAP" GO111MODULE=off GOENV=off GOOS= GOARCH= GOEXPERIMENT= GOFLAGS= "$@"
30+CC="${BUILD_CC:-${CC}}" GOROOT="$GOROOT_BOOTSTRAP" nogoenv "$GOROOT_BOOTSTRAP/bin/go" build -o cmd/dist/dist ./cmd/dist 33+ CC="${BUILD_CC:-${CC}}" GOROOT="$GOROOT_BOOTSTRAP" GO111MODULE=off GOENV=off GOOS= GOARCH= GOEXPERIMENT= GOFLAGS= "$@"
34 }
31 35
32 # -e doesn't propagate out of eval, so check success by hand. 36 export GOROOT="$(cd .. && pwd)"
33 eval $(./cmd/dist/dist env -p || echo FAIL=true) 37@@ -216,7 +216,7 @@ fi
34@@ -223,7 +223,7 @@ fi
35 # Run dist bootstrap to complete make.bash. 38 # Run dist bootstrap to complete make.bash.
36 # Bootstrap installs a proper cmd/dist, built with the new toolchain. 39 # Bootstrap installs a proper cmd/dist, built with the new toolchain.
37 # Throw ours, built with the bootstrap toolchain, away after bootstrap. 40 # Throw ours, built with the bootstrap toolchain, away after bootstrap.
@@ -41,5 +44,5 @@ index 76ad51624a..074e129a24 100755
41 44
42 # DO NOT ADD ANY NEW CODE HERE. 45 # DO NOT ADD ANY NEW CODE HERE.
43-- 46--
442.44.0 472.25.1
45 48
diff --git a/meta/recipes-devtools/go/go/0005-cmd-dist-separate-host-and-target-builds.patch b/meta/recipes-devtools/go/go/0005-cmd-dist-separate-host-and-target-builds.patch
index 364fce907a..f7c3108a98 100644
--- a/meta/recipes-devtools/go/go/0005-cmd-dist-separate-host-and-target-builds.patch
+++ b/meta/recipes-devtools/go/go/0005-cmd-dist-separate-host-and-target-builds.patch
@@ -1,7 +1,7 @@
1From 6dda78d528e60993a4688cd9d49440a726378ac8 Mon Sep 17 00:00:00 2001 1From 12bf824f8b7e85f05434aa00e866e883a551aaeb Mon Sep 17 00:00:00 2001
2From: Alex Kube <alexander.j.kube@gmail.com> 2From: Alex Kube <alexander.j.kube@gmail.com>
3Date: Wed, 23 Oct 2019 21:18:12 +0430 3Date: Fri, 28 Feb 2025 19:09:17 -0800
4Subject: [PATCH 5/9] cmd/dist: separate host and target builds 4Subject: [PATCH 05/11] cmd/dist: separate host and target builds
5 5
6Change the dist tool to allow for OE-style cross- 6Change the dist tool to allow for OE-style cross-
7and cross-canadian builds: 7and cross-canadian builds:
@@ -40,23 +40,26 @@ Upstream-Status: Inappropriate [OE specific]
40 40
41Signed-off-by: Alexander J Kube <alexander.j.kube@gmail.com> 41Signed-off-by: Alexander J Kube <alexander.j.kube@gmail.com>
42Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> 42Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
43
44Rebase to 1.24.0
45Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
43--- 46---
44 src/cmd/dist/build.go | 76 ++++++++++++++++++++++++++++++++++++++++++- 47 src/cmd/dist/build.go | 76 ++++++++++++++++++++++++++++++++++++++++++-
45 1 file changed, 75 insertions(+), 1 deletion(-) 48 1 file changed, 75 insertions(+), 1 deletion(-)
46 49
47diff --git a/src/cmd/dist/build.go b/src/cmd/dist/build.go 50diff --git a/src/cmd/dist/build.go b/src/cmd/dist/build.go
48index 06ee4de8a9..74b7c7098f 100644 51index b62e518030..0c54d82300 100644
49--- a/src/cmd/dist/build.go 52--- a/src/cmd/dist/build.go
50+++ b/src/cmd/dist/build.go 53+++ b/src/cmd/dist/build.go
51@@ -46,6 +46,7 @@ var ( 54@@ -49,6 +49,7 @@ var (
52 goexperiment string 55 gofips140 string
53 workdir string 56 workdir string
54 tooldir string 57 tooldir string
55+ build_tooldir string 58+ build_tooldir string
56 oldgoos string 59 oldgoos string
57 oldgoarch string 60 oldgoarch string
58 oldgocache string 61 oldgocache string
59@@ -58,6 +59,7 @@ var ( 62@@ -61,6 +62,7 @@ var (
60 rebuildall bool 63 rebuildall bool
61 noOpt bool 64 noOpt bool
62 isRelease bool 65 isRelease bool
@@ -64,7 +67,7 @@ index 06ee4de8a9..74b7c7098f 100644
64 67
65 vflag int // verbosity 68 vflag int // verbosity
66 ) 69 )
67@@ -265,6 +267,8 @@ func xinit() { 70@@ -286,6 +288,8 @@ func xinit() {
68 71
69 goversion := findgoversion() 72 goversion := findgoversion()
70 isRelease = strings.HasPrefix(goversion, "release.") || strings.HasPrefix(goversion, "go") 73 isRelease = strings.HasPrefix(goversion, "release.") || strings.HasPrefix(goversion, "go")
@@ -73,7 +76,7 @@ index 06ee4de8a9..74b7c7098f 100644
73 } 76 }
74 77
75 // compilerEnv returns a map from "goos/goarch" to the 78 // compilerEnv returns a map from "goos/goarch" to the
76@@ -499,8 +503,10 @@ func setup() { 79@@ -547,8 +551,10 @@ func setup() {
77 goosGoarch := pathf("%s/pkg/%s_%s", goroot, gohostos, gohostarch) 80 goosGoarch := pathf("%s/pkg/%s_%s", goroot, gohostos, gohostarch)
78 if rebuildall { 81 if rebuildall {
79 xremoveall(goosGoarch) 82 xremoveall(goosGoarch)
@@ -84,7 +87,7 @@ index 06ee4de8a9..74b7c7098f 100644
84 xatexit(func() { 87 xatexit(func() {
85 if files := xreaddir(goosGoarch); len(files) == 0 { 88 if files := xreaddir(goosGoarch); len(files) == 0 {
86 xremove(goosGoarch) 89 xremove(goosGoarch)
87@@ -1338,14 +1344,20 @@ func cmdbootstrap() { 90@@ -1411,14 +1417,20 @@ func cmdbootstrap() {
88 defer timelog("end", "dist bootstrap") 91 defer timelog("end", "dist bootstrap")
89 92
90 var debug, distpack, force, noBanner, noClean bool 93 var debug, distpack, force, noBanner, noClean bool
@@ -106,7 +109,7 @@ index 06ee4de8a9..74b7c7098f 100644
106 109
107 if noClean { 110 if noClean {
108 xprintf("warning: --no-clean is deprecated and has no effect; use 'go install std cmd' instead\n") 111 xprintf("warning: --no-clean is deprecated and has no effect; use 'go install std cmd' instead\n")
109@@ -1357,6 +1369,18 @@ func cmdbootstrap() { 112@@ -1430,6 +1442,18 @@ func cmdbootstrap() {
110 "Use the -force flag to build anyway.\n", goos, goarch) 113 "Use the -force flag to build anyway.\n", goos, goarch)
111 } 114 }
112 115
@@ -125,7 +128,7 @@ index 06ee4de8a9..74b7c7098f 100644
125 // Set GOPATH to an internal directory. We shouldn't actually 128 // Set GOPATH to an internal directory. We shouldn't actually
126 // need to store files here, since the toolchain won't 129 // need to store files here, since the toolchain won't
127 // depend on modules outside of vendor directories, but if 130 // depend on modules outside of vendor directories, but if
128@@ -1434,9 +1458,14 @@ func cmdbootstrap() { 131@@ -1513,9 +1537,14 @@ func cmdbootstrap() {
129 xprintf("\n") 132 xprintf("\n")
130 } 133 }
131 134
@@ -140,7 +143,7 @@ index 06ee4de8a9..74b7c7098f 100644
140 goBootstrap := pathf("%s/go_bootstrap", tooldir) 143 goBootstrap := pathf("%s/go_bootstrap", tooldir)
141 if debug { 144 if debug {
142 run("", ShowOutput|CheckExit, pathf("%s/compile", tooldir), "-V=full") 145 run("", ShowOutput|CheckExit, pathf("%s/compile", tooldir), "-V=full")
143@@ -1464,7 +1493,11 @@ func cmdbootstrap() { 146@@ -1543,7 +1572,11 @@ func cmdbootstrap() {
144 xprintf("\n") 147 xprintf("\n")
145 } 148 }
146 xprintf("Building Go toolchain2 using go_bootstrap and Go toolchain1.\n") 149 xprintf("Building Go toolchain2 using go_bootstrap and Go toolchain1.\n")
@@ -152,7 +155,7 @@ index 06ee4de8a9..74b7c7098f 100644
152 // Now that cmd/go is in charge of the build process, enable GOEXPERIMENT. 155 // Now that cmd/go is in charge of the build process, enable GOEXPERIMENT.
153 os.Setenv("GOEXPERIMENT", goexperiment) 156 os.Setenv("GOEXPERIMENT", goexperiment)
154 // No need to enable PGO for toolchain2. 157 // No need to enable PGO for toolchain2.
155@@ -1517,6 +1550,7 @@ func cmdbootstrap() { 158@@ -1596,6 +1629,7 @@ func cmdbootstrap() {
156 os.Setenv("GOCACHE", oldgocache) 159 os.Setenv("GOCACHE", oldgocache)
157 } 160 }
158 161
@@ -160,7 +163,7 @@ index 06ee4de8a9..74b7c7098f 100644
160 if goos == oldgoos && goarch == oldgoarch { 163 if goos == oldgoos && goarch == oldgoarch {
161 // Common case - not setting up for cross-compilation. 164 // Common case - not setting up for cross-compilation.
162 timelog("build", "toolchain") 165 timelog("build", "toolchain")
163@@ -1560,6 +1594,42 @@ func cmdbootstrap() { 166@@ -1639,6 +1673,42 @@ func cmdbootstrap() {
164 checkNotStale(toolenv(), goBootstrap, toolchain...) 167 checkNotStale(toolenv(), goBootstrap, toolchain...)
165 copyfile(pathf("%s/compile4", tooldir), pathf("%s/compile", tooldir), writeExec) 168 copyfile(pathf("%s/compile4", tooldir), pathf("%s/compile", tooldir), writeExec)
166 } 169 }
@@ -203,7 +206,7 @@ index 06ee4de8a9..74b7c7098f 100644
203 206
204 // Check that there are no new files in $GOROOT/bin other than 207 // Check that there are no new files in $GOROOT/bin other than
205 // go and gofmt and $GOOS_$GOARCH (target bin when cross-compiling). 208 // go and gofmt and $GOOS_$GOARCH (target bin when cross-compiling).
206@@ -1582,8 +1652,12 @@ func cmdbootstrap() { 209@@ -1661,8 +1731,12 @@ func cmdbootstrap() {
207 } 210 }
208 } 211 }
209 212
@@ -217,5 +220,5 @@ index 06ee4de8a9..74b7c7098f 100644
217 if goos == "android" { 220 if goos == "android" {
218 // Make sure the exec wrapper will sync a fresh $GOROOT to the device. 221 // Make sure the exec wrapper will sync a fresh $GOROOT to the device.
219-- 222--
2202.44.0 2232.25.1
221 224
diff --git a/meta/recipes-devtools/go/go/0006-cmd-go-make-GOROOT-precious-by-default.patch b/meta/recipes-devtools/go/go/0006-cmd-go-make-GOROOT-precious-by-default.patch
index 262f1e96b8..b29da334ec 100644
--- a/meta/recipes-devtools/go/go/0006-cmd-go-make-GOROOT-precious-by-default.patch
+++ b/meta/recipes-devtools/go/go/0006-cmd-go-make-GOROOT-precious-by-default.patch
@@ -1,7 +1,7 @@
1From aff5a740d6286c04beb0593fc68b0aea5a95ad39 Mon Sep 17 00:00:00 2001 1From ba3caa9f969bac2b937f8f1ffed4a3679cd16ec7 Mon Sep 17 00:00:00 2001
2From: Alex Kube <alexander.j.kube@gmail.com> 2From: Alex Kube <alexander.j.kube@gmail.com>
3Date: Wed, 23 Oct 2019 21:18:56 +0430 3Date: Wed, 23 Oct 2019 21:18:56 +0430
4Subject: [PATCH 6/9] cmd/go: make GOROOT precious by default 4Subject: [PATCH 06/11] cmd/go: make GOROOT precious by default
5 5
6The go build tool normally rebuilds whatever it detects is 6The go build tool normally rebuilds whatever it detects is
7stale. This can be a problem when GOROOT is intended to 7stale. This can be a problem when GOROOT is intended to
@@ -29,10 +29,10 @@ Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
29 3 files changed, 34 insertions(+) 29 3 files changed, 34 insertions(+)
30 30
31diff --git a/src/cmd/go/internal/work/action.go b/src/cmd/go/internal/work/action.go 31diff --git a/src/cmd/go/internal/work/action.go b/src/cmd/go/internal/work/action.go
32index a59072e591..9e35ebde0c 100644 32index 44bb9f8c1e..87ac4e30e5 100644
33--- a/src/cmd/go/internal/work/action.go 33--- a/src/cmd/go/internal/work/action.go
34+++ b/src/cmd/go/internal/work/action.go 34+++ b/src/cmd/go/internal/work/action.go
35@@ -754,6 +754,9 @@ func (b *Builder) addTransitiveLinkDeps(a, a1 *Action, shlib string) { 35@@ -837,6 +837,9 @@ func (b *Builder) addTransitiveLinkDeps(a, a1 *Action, shlib string) {
36 if p1 == nil || p1.Shlib == "" || haveShlib[filepath.Base(p1.Shlib)] { 36 if p1 == nil || p1.Shlib == "" || haveShlib[filepath.Base(p1.Shlib)] {
37 continue 37 continue
38 } 38 }
@@ -43,10 +43,10 @@ index a59072e591..9e35ebde0c 100644
43 // TODO(rsc): The use of ModeInstall here is suspect, but if we only do ModeBuild, 43 // TODO(rsc): The use of ModeInstall here is suspect, but if we only do ModeBuild,
44 // we'll end up building an overall library or executable that depends at runtime 44 // we'll end up building an overall library or executable that depends at runtime
45diff --git a/src/cmd/go/internal/work/build.go b/src/cmd/go/internal/work/build.go 45diff --git a/src/cmd/go/internal/work/build.go b/src/cmd/go/internal/work/build.go
46index 408edb5119..3d60252127 100644 46index 3508d51fbb..77f5e7241a 100644
47--- a/src/cmd/go/internal/work/build.go 47--- a/src/cmd/go/internal/work/build.go
48+++ b/src/cmd/go/internal/work/build.go 48+++ b/src/cmd/go/internal/work/build.go
49@@ -233,6 +233,8 @@ See also: go install, go get, go clean. 49@@ -238,6 +238,8 @@ See also: go install, go get, go clean.
50 50
51 const concurrentGCBackendCompilationEnabledByDefault = true 51 const concurrentGCBackendCompilationEnabledByDefault = true
52 52
@@ -55,7 +55,7 @@ index 408edb5119..3d60252127 100644
55 func init() { 55 func init() {
56 // break init cycle 56 // break init cycle
57 CmdBuild.Run = runBuild 57 CmdBuild.Run = runBuild
58@@ -246,6 +248,10 @@ func init() { 58@@ -251,6 +253,10 @@ func init() {
59 AddCoverFlags(CmdBuild, nil) 59 AddCoverFlags(CmdBuild, nil)
60 AddCoverFlags(CmdInstall, nil) 60 AddCoverFlags(CmdInstall, nil)
61 } 61 }
@@ -67,10 +67,10 @@ index 408edb5119..3d60252127 100644
67 67
68 // Note that flags consulted by other parts of the code 68 // Note that flags consulted by other parts of the code
69diff --git a/src/cmd/go/internal/work/exec.go b/src/cmd/go/internal/work/exec.go 69diff --git a/src/cmd/go/internal/work/exec.go b/src/cmd/go/internal/work/exec.go
70index 9724cd07d0..544df461a2 100644 70index 1f618be0bb..651fa64582 100644
71--- a/src/cmd/go/internal/work/exec.go 71--- a/src/cmd/go/internal/work/exec.go
72+++ b/src/cmd/go/internal/work/exec.go 72+++ b/src/cmd/go/internal/work/exec.go
73@@ -544,6 +544,23 @@ func (b *Builder) build(ctx context.Context, a *Action) (err error) { 73@@ -552,6 +552,23 @@ func (b *Builder) build(ctx context.Context, a *Action) (err error) {
74 return err 74 return err
75 } 75 }
76 76
@@ -94,7 +94,7 @@ index 9724cd07d0..544df461a2 100644
94 if err := sh.Mkdir(a.Objdir); err != nil { 94 if err := sh.Mkdir(a.Objdir); err != nil {
95 return err 95 return err
96 } 96 }
97@@ -1737,6 +1754,14 @@ func (b *Builder) linkShared(ctx context.Context, a *Action) (err error) { 97@@ -1747,6 +1764,14 @@ func (b *Builder) linkShared(ctx context.Context, a *Action) (err error) {
98 return err 98 return err
99 } 99 }
100 100
@@ -110,5 +110,5 @@ index 9724cd07d0..544df461a2 100644
110 return err 110 return err
111 } 111 }
112-- 112--
1132.44.0 1132.25.1
114 114
diff --git a/meta/recipes-devtools/go/go/0007-exec.go-filter-out-build-specific-paths-from-linker-.patch b/meta/recipes-devtools/go/go/0007-exec.go-filter-out-build-specific-paths-from-linker-.patch
index c5bf28f54a..9a701c7a6b 100644
--- a/meta/recipes-devtools/go/go/0007-exec.go-filter-out-build-specific-paths-from-linker-.patch
+++ b/meta/recipes-devtools/go/go/0007-exec.go-filter-out-build-specific-paths-from-linker-.patch
@@ -1,7 +1,8 @@
1From 083b5c74b12a1abeb11dd7f58a1cb1593d0000c0 Mon Sep 17 00:00:00 2001 1From 2197f813c9cff65eedef44473872ec5ea9ced227 Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com> 2From: Changqing Li <changqing.li@windriver.com>
3Date: Tue, 27 Feb 2024 18:06:51 +0800 3Date: Tue, 27 Feb 2024 18:06:51 +0800
4Subject: [PATCH] exec.go: filter out build-specific paths from linker flags 4Subject: [PATCH 07/11] exec.go: filter out build-specific paths from linker
5 flags
5 6
6The flags can contain build-specific paths, breaking reproducibility. 7The flags can contain build-specific paths, breaking reproducibility.
7Filter out options that have build-specific paths. 8Filter out options that have build-specific paths.
@@ -9,15 +10,16 @@ Filter out options that have build-specific paths.
9Upstream-Status: Inappropriate [ Not perfect for upstream ] 10Upstream-Status: Inappropriate [ Not perfect for upstream ]
10 11
11Signed-off-by: Changqing Li <changqing.li@windriver.com> 12Signed-off-by: Changqing Li <changqing.li@windriver.com>
13Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
12--- 14---
13 src/cmd/go/internal/work/exec.go | 25 ++++++++++++++++++++++++- 15 src/cmd/go/internal/work/exec.go | 25 ++++++++++++++++++++++++-
14 1 file changed, 24 insertions(+), 1 deletion(-) 16 1 file changed, 24 insertions(+), 1 deletion(-)
15 17
16diff --git a/src/cmd/go/internal/work/exec.go b/src/cmd/go/internal/work/exec.go 18diff --git a/src/cmd/go/internal/work/exec.go b/src/cmd/go/internal/work/exec.go
17index cde867b..e3ce17d 100644 19index 651fa64582..586079afb4 100644
18--- a/src/cmd/go/internal/work/exec.go 20--- a/src/cmd/go/internal/work/exec.go
19+++ b/src/cmd/go/internal/work/exec.go 21+++ b/src/cmd/go/internal/work/exec.go
20@@ -1358,6 +1358,29 @@ func (b *Builder) linkActionID(a *Action) cache.ActionID { 22@@ -1426,6 +1426,29 @@ func (b *Builder) linkActionID(a *Action) cache.ActionID {
21 return h.Sum() 23 return h.Sum()
22 } 24 }
23 25
@@ -47,7 +49,7 @@ index cde867b..e3ce17d 100644
47 // printLinkerConfig prints the linker config into the hash h, 49 // printLinkerConfig prints the linker config into the hash h,
48 // as part of the computation of a linker-related action ID. 50 // as part of the computation of a linker-related action ID.
49 func (b *Builder) printLinkerConfig(h io.Writer, p *load.Package) { 51 func (b *Builder) printLinkerConfig(h io.Writer, p *load.Package) {
50@@ -1368,7 +1391,7 @@ func (b *Builder) printLinkerConfig(h io.Writer, p *load.Package) { 52@@ -1436,7 +1459,7 @@ func (b *Builder) printLinkerConfig(h io.Writer, p *load.Package) {
51 case "gc": 53 case "gc":
52 fmt.Fprintf(h, "link %s %q %s\n", b.toolID("link"), forcedLdflags, ldBuildmode) 54 fmt.Fprintf(h, "link %s %q %s\n", b.toolID("link"), forcedLdflags, ldBuildmode)
53 if p != nil { 55 if p != nil {
diff --git a/meta/recipes-devtools/go/go/0008-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch b/meta/recipes-devtools/go/go/0008-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch
index 0662f66af5..a9cb2a4b84 100644
--- a/meta/recipes-devtools/go/go/0008-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch
+++ b/meta/recipes-devtools/go/go/0008-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch
@@ -1,7 +1,7 @@
1From e0999902687e2e394499f7153db8d62440c4dab0 Mon Sep 17 00:00:00 2001 1From e5752b239707df8ad7a72dc60420e01c5912d606 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Tue, 10 Nov 2020 16:33:27 +0000 3Date: Tue, 10 Nov 2020 16:33:27 +0000
4Subject: [PATCH 8/9] src/cmd/dist/buildgo.go: do not hardcode host compilers 4Subject: [PATCH 08/11] src/cmd/dist/buildgo.go: do not hardcode host compilers
5 into target binaries 5 into target binaries
6 6
7These come from $CC/$CXX on the build host and are not useful on targets; 7These come from $CC/$CXX on the build host and are not useful on targets;
@@ -42,5 +42,5 @@ index 884e9d729a..2f52edacfe 100644
42 } 42 }
43 43
44-- 44--
452.44.0 452.25.1
46 46
diff --git a/meta/recipes-devtools/go/go/0009-go-Filter-build-paths-on-staticly-linked-arches.patch b/meta/recipes-devtools/go/go/0009-go-Filter-build-paths-on-staticly-linked-arches.patch
index cc45496e9c..d47c4b1d31 100644
--- a/meta/recipes-devtools/go/go/0009-go-Filter-build-paths-on-staticly-linked-arches.patch
+++ b/meta/recipes-devtools/go/go/0009-go-Filter-build-paths-on-staticly-linked-arches.patch
@@ -1,7 +1,7 @@
1From 6c2438f187ca912c54a71b4ac65ab98999a019d2 Mon Sep 17 00:00:00 2001 1From 79a1c80ed43f2a541bcab665656a4e2bb87baab3 Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org> 2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Sat, 2 Jul 2022 23:08:13 +0100 3Date: Sat, 2 Jul 2022 23:08:13 +0100
4Subject: [PATCH 9/9] go: Filter build paths on staticly linked arches 4Subject: [PATCH 09/11] go: Filter build paths on staticly linked arches
5 5
6Filter out build time paths from ldflags and other flags variables when they're 6Filter out build time paths from ldflags and other flags variables when they're
7embedded in the go binary so that builds are reproducible regardless of build 7embedded in the go binary so that builds are reproducible regardless of build
@@ -17,10 +17,10 @@ Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
17 1 file changed, 13 insertions(+), 2 deletions(-) 17 1 file changed, 13 insertions(+), 2 deletions(-)
18 18
19diff --git a/src/cmd/go/internal/load/pkg.go b/src/cmd/go/internal/load/pkg.go 19diff --git a/src/cmd/go/internal/load/pkg.go b/src/cmd/go/internal/load/pkg.go
20index 1549800afb..f41fb2c4ef 100644 20index 15f6b2e87b..47c5b865a1 100644
21--- a/src/cmd/go/internal/load/pkg.go 21--- a/src/cmd/go/internal/load/pkg.go
22+++ b/src/cmd/go/internal/load/pkg.go 22+++ b/src/cmd/go/internal/load/pkg.go
23@@ -2277,6 +2277,17 @@ func appendBuildSetting(info *debug.BuildInfo, key, value string) { 23@@ -2291,6 +2291,17 @@ func appendBuildSetting(info *debug.BuildInfo, key, value string) {
24 info.Settings = append(info.Settings, debug.BuildSetting{Key: key, Value: value}) 24 info.Settings = append(info.Settings, debug.BuildSetting{Key: key, Value: value})
25 } 25 }
26 26
@@ -38,7 +38,7 @@ index 1549800afb..f41fb2c4ef 100644
38 // setBuildInfo gathers build information and sets it into 38 // setBuildInfo gathers build information and sets it into
39 // p.Internal.BuildInfo, which will later be formatted as a string and embedded 39 // p.Internal.BuildInfo, which will later be formatted as a string and embedded
40 // in the binary. setBuildInfo should only be called on a main package with no 40 // in the binary. setBuildInfo should only be called on a main package with no
41@@ -2384,7 +2395,7 @@ func (p *Package) setBuildInfo(ctx context.Context, autoVCS bool) { 41@@ -2398,7 +2409,7 @@ func (p *Package) setBuildInfo(ctx context.Context, autoVCS bool) {
42 if gcflags := BuildGcflags.String(); gcflags != "" && cfg.BuildContext.Compiler == "gc" { 42 if gcflags := BuildGcflags.String(); gcflags != "" && cfg.BuildContext.Compiler == "gc" {
43 appendSetting("-gcflags", gcflags) 43 appendSetting("-gcflags", gcflags)
44 } 44 }
@@ -47,7 +47,7 @@ index 1549800afb..f41fb2c4ef 100644
47 // https://go.dev/issue/52372: only include ldflags if -trimpath is not set, 47 // https://go.dev/issue/52372: only include ldflags if -trimpath is not set,
48 // since it can include system paths through various linker flags (notably 48 // since it can include system paths through various linker flags (notably
49 // -extar, -extld, and -extldflags). 49 // -extar, -extld, and -extldflags).
50@@ -2427,7 +2438,7 @@ func (p *Package) setBuildInfo(ctx context.Context, autoVCS bool) { 50@@ -2444,7 +2455,7 @@ func (p *Package) setBuildInfo(ctx context.Context, autoVCS bool) {
51 // subset of flags that are known not to be paths? 51 // subset of flags that are known not to be paths?
52 if cfg.BuildContext.CgoEnabled && !cfg.BuildTrimpath { 52 if cfg.BuildContext.CgoEnabled && !cfg.BuildTrimpath {
53 for _, name := range []string{"CGO_CFLAGS", "CGO_CPPFLAGS", "CGO_CXXFLAGS", "CGO_LDFLAGS"} { 53 for _, name := range []string{"CGO_CFLAGS", "CGO_CPPFLAGS", "CGO_CXXFLAGS", "CGO_LDFLAGS"} {
@@ -57,5 +57,5 @@ index 1549800afb..f41fb2c4ef 100644
57 } 57 }
58 appendSetting("GOARCH", cfg.BuildContext.GOARCH) 58 appendSetting("GOARCH", cfg.BuildContext.GOARCH)
59-- 59--
602.44.0 602.25.1
61 61
diff --git a/meta/recipes-devtools/go/go/0010-cmd-go-clear-GOROOT-for-func-ldShared-when-trimpath-.patch b/meta/recipes-devtools/go/go/0010-cmd-go-clear-GOROOT-for-func-ldShared-when-trimpath-.patch
new file mode 100644
index 0000000000..2c2f0cbfb5
--- /dev/null
+++ b/meta/recipes-devtools/go/go/0010-cmd-go-clear-GOROOT-for-func-ldShared-when-trimpath-.patch
@@ -0,0 +1,51 @@
1From c4215b5ca69a7626d97cf9b7ebc460c2b5b9148b Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Fri, 28 Feb 2025 19:13:18 -0800
4Subject: [PATCH 10/11] cmd/go: clear GOROOT for func ldShared when -trimpath
5 is used
6
7In commit [cmd: remove support for GOROOT_FINAL][1], it clear GOROOT
8for func ld when -trimpath is used. [2]
9
10This commit do the same thing for func ldShared, otherwise run go_bootstrap
11with -trimpath does not remove build path directory from the generated share
12libarary
13
14 $ ./make.bash --target-only --no-banner std
15 $ go_bootstrap install -linkshared -buildmode=shared -trimpath std
16 $ grep "$(pwd)" ./pkg/linux_amd64_dynlink/libstd.so
17 Binary file ./pkg/linux_amd64_dynlink/libstd.so matches
18
19[1] https://github.com/golang/go/commit/507d1b22f4b58ac68841582d0c2c0ab6b20e5a98
20[2] https://github.com/golang/go/commit/507d1b22f4b58ac68841582d0c2c0ab6b20e5a98#diff-cab5921f94f2667bb0bc1b935d2d46b4c03541b4351b33438ab7290b94dea212R669
21
22Upstream-Status: Submitted [https://go-review.googlesource.com/c/go/+/653895]
23
24Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
25---
26 src/cmd/go/internal/work/gc.go | 9 ++++++++-
27 1 file changed, 8 insertions(+), 1 deletion(-)
28
29diff --git a/src/cmd/go/internal/work/gc.go b/src/cmd/go/internal/work/gc.go
30index 3a173efee8..8b7a44e031 100644
31--- a/src/cmd/go/internal/work/gc.go
32+++ b/src/cmd/go/internal/work/gc.go
33@@ -728,7 +728,14 @@ func (gcToolchain) ldShared(b *Builder, root *Action, toplevelactions []*Action,
34 // the output file path is recorded in the .gnu.version_d section.
35 dir, targetPath := filepath.Split(targetPath)
36
37- return b.Shell(root).run(dir, targetPath, nil, cfg.BuildToolexec, base.Tool("link"), "-o", targetPath, "-importcfg", importcfg, ldflags)
38+ env := []string{}
39+ // When -trimpath is used, GOROOT is cleared
40+ if cfg.BuildTrimpath {
41+ env = append(env, "GOROOT=")
42+ } else {
43+ env = append(env, "GOROOT="+cfg.GOROOT)
44+ }
45+ return b.Shell(root).run(dir, targetPath, env, cfg.BuildToolexec, base.Tool("link"), "-o", targetPath, "-importcfg", importcfg, ldflags)
46 }
47
48 func (gcToolchain) cc(b *Builder, a *Action, ofile, cfile string) error {
49--
502.25.1
51
diff --git a/meta/recipes-devtools/go/go/6d265b008e3d106b2706645e5a88cd8e2fb98953.patch b/meta/recipes-devtools/go/go/6d265b008e3d106b2706645e5a88cd8e2fb98953.patch
new file mode 100644
index 0000000000..58bd00fc73
--- /dev/null
+++ b/meta/recipes-devtools/go/go/6d265b008e3d106b2706645e5a88cd8e2fb98953.patch
@@ -0,0 +1,54 @@
1From 6d265b008e3d106b2706645e5a88cd8e2fb98953 Mon Sep 17 00:00:00 2001
2From: Dirk Müller <dirk@dmllr.de>
3Date: Wed, 09 Mar 2022 17:47:23 +0100
4Subject: [PATCH] cmd/link: stop forcing binutils-gold dependency on aarch64
5
6The bfd linker appears to be working just fine at least in version
72.41 or above. Reject the known broken one instead, which
8avoids an architecture specific linker dependency that
9is cumbersome for distributions.
10
11Fixes #22040.
12
13Change-Id: I9f377e47c22ef20497479c0978c053ed5de46a38
14
15Upstream-Status: Submitted [https://go-review.googlesource.com/c/go/+/391115]
16---
17 src/cmd/link/internal/ld/lib.go | 21 ---------------------
18 1 file changed, 21 deletions(-)
19
20diff --git a/src/cmd/link/internal/ld/lib.go b/src/cmd/link/internal/ld/lib.go
21index dfc72e02c0..2a2a304113 100644
22--- a/src/cmd/link/internal/ld/lib.go
23+++ b/src/cmd/link/internal/ld/lib.go
24@@ -1673,27 +1673,6 @@ func (ctxt *Link) hostlink() {
25 // Use lld to avoid errors from default linker (issue #38838)
26 altLinker = "lld"
27 }
28-
29- if ctxt.Arch.InFamily(sys.ARM64) && buildcfg.GOOS == "linux" {
30- // On ARM64, the GNU linker will fail with
31- // -znocopyreloc if it thinks a COPY relocation is
32- // required. Switch to gold.
33- // https://sourceware.org/bugzilla/show_bug.cgi?id=19962
34- // https://go.dev/issue/22040
35- altLinker = "gold"
36-
37- // If gold is not installed, gcc will silently switch
38- // back to ld.bfd. So we parse the version information
39- // and provide a useful error if gold is missing.
40- name, args := flagExtld[0], flagExtld[1:]
41- args = append(args, "-fuse-ld=gold", "-Wl,--version")
42- cmd := exec.Command(name, args...)
43- if out, err := cmd.CombinedOutput(); err == nil {
44- if !bytes.Contains(out, []byte("GNU gold")) {
45- log.Fatalf("ARM64 external linker must be gold (issue #15696, 22040), but is not: %s", out)
46- }
47- }
48- }
49 }
50 if ctxt.Arch.Family == sys.ARM64 && buildcfg.GOOS == "freebsd" {
51 // Switch to ld.bfd on freebsd/arm64.
52--
532.25.1
54
diff --git a/meta/recipes-devtools/go/go_1.22.2.bb b/meta/recipes-devtools/go/go_1.24.4.bb
index 46f5fbc6be..46f5fbc6be 100644
--- a/meta/recipes-devtools/go/go_1.22.2.bb
+++ b/meta/recipes-devtools/go/go_1.24.4.bb
diff --git a/meta/recipes-devtools/i2c-tools/i2c-tools_4.3.bb b/meta/recipes-devtools/i2c-tools/i2c-tools_4.4.bb
index 4e43c51496..f4881f3c2f 100644
--- a/meta/recipes-devtools/i2c-tools/i2c-tools_4.3.bb
+++ b/meta/recipes-devtools/i2c-tools/i2c-tools_4.4.bb
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
8SRC_URI = "${KERNELORG_MIRROR}/software/utils/i2c-tools/${BP}.tar.gz \ 8SRC_URI = "${KERNELORG_MIRROR}/software/utils/i2c-tools/${BP}.tar.gz \
9" 9"
10 10
11SRC_URI[sha256sum] = "eec464e42301d93586cbeca3845ed61bff40f560670e5b35baec57301d438148" 11SRC_URI[sha256sum] = "04d1e3b0cd88df8fb96e7709f374dd0b3561191b4c0363eaf873a074b8b7cb22"
12 12
13inherit update-alternatives 13inherit update-alternatives
14 14
diff --git a/meta/recipes-devtools/icecc-create-env/icecc-create-env/icecc-create-env b/meta/recipes-devtools/icecc-create-env/icecc-create-env/icecc-create-env
deleted file mode 100755
index 64b5e20785..0000000000
--- a/meta/recipes-devtools/icecc-create-env/icecc-create-env/icecc-create-env
+++ /dev/null
@@ -1,382 +0,0 @@
1#! /usr/bin/env bash
2# icecc -- A simple distributed compiler system
3#
4# Copyright (C) 2004 by the Icecream Authors
5# GPL
6
7target_paths=
8target_aliases=
9
10# Always prints, optionally to a log file
11print_output ()
12{
13 if test -n "$log_path"; then
14 echo "$@" | tee -a "$log_path"
15 else
16 echo "$@"
17 fi
18}
19
20# Only prints if the debug flag is specified
21print_debug ()
22{
23 if test -n "$debug"; then
24 print_output "$@"
25 fi
26}
27
28is_dynamic_elf ()
29{
30 # Is the file an dynamically linked ELF executable?
31 (file -L "$1" | grep 'ELF' > /dev/null 2>&1) && (! file -L "$1" | grep 'static' > /dev/null 2>&1)
32}
33
34fix_rpath ()
35{
36 # Patches the RPATH for a file. When the program is executed in the chroot
37 # be iceccd, /proc is not mounted. As such, $ORIGIN can't be resolved. To
38 # work around this, replace all instances of $ORIGIN in RPATH with the
39 # known chroot path to the executables directory
40 local path="$1"
41 local origin="$2"
42 if ! is_dynamic_elf "$path"; then
43 return
44 fi
45 local old_rpath="`$PATCHELF --print-rpath "$path"`"
46 local new_rpath="`echo "$old_rpath" | \
47 sed 's/.*\[\(.*\)\]/\1/g' | \
48 sed "s,\\\$ORIGIN,/$origin,g"`"
49
50 if test -n "$new_rpath"; then
51 print_debug "Converting RPATH '$old_rpath' -> '$new_rpath'"
52 $PATCHELF --set-rpath "$new_rpath" "$path"
53 fi
54}
55
56add_path ()
57{
58 case " $target_paths " in
59 *" $1 "*)
60 return 1
61 ;;
62 *)
63 target_paths="$target_paths $1"
64 return 0
65 ;;
66 esac
67}
68
69add_alias ()
70{
71 if test "$1" != "$2"; then
72 local alias="$1=$2"
73 case " $target_aliases " in
74 *" $alias "*)
75 ;;
76 *)
77 print_debug "Adding alias '$2' -> '$1'"
78 target_aliases="$target_aliases $alias"
79 ;;
80 esac
81 fi
82}
83
84normalize_path ()
85{
86 # Normalizes the path to a file or directory, removing all "." and ".."
87 # entries. Use pwd -L to explicitly prevent symlink expansion
88 local path=$1
89 if test -f "$path"; then
90 pushd $(dirname $path) > /dev/null 2>&1
91 dir_path=$(pwd -L)
92 path=$dir_path/$(basename $path)
93 popd > /dev/null 2>&1
94 elif test -d "$path"; then
95 pushd $path > /dev/null 2>&1
96 path=$(pwd -L)
97 popd > /dev/null 2>&1
98 fi
99 echo $path
100}
101
102add_file_common()
103{
104 local p="$1"
105 local path="$2"
106 local alias="$3"
107
108 add_alias "$path" "$p"
109 if test -n "$alias"; then
110 add_alias "$path" "$alias"
111 fi
112
113 add_path "$path" || return 1
114 print_debug "Adding file '$path'"
115
116 return 0
117}
118
119add_deps()
120{
121 local path="$1"
122 local interp="$2"
123
124 if test -n "$interp" && test -x "$interp"; then
125 # Use the dynamic loaders --list argument to list the
126 # dependencies. The program may have a different program
127 # interpreter (typical when using uninative tarballs), which is
128 # why we can't just call ldd.
129 deps="`$interp --list "$path"`"
130 else
131 deps="`ldd "$path"`"
132 fi
133
134 print_debug "Dependencies are:"
135 print_debug "$deps"
136 if test -n "$deps"; then
137 for lib in $deps; do
138 # ldd now outputs ld as /lib/ld-linux.so.xx on current nptl
139 # based glibc this regexp parse the outputs like:
140 # ldd /usr/bin/gcc
141 # linux-gate.so.1 => (0xffffe000)
142 # libc.so.6 => /lib/tls/libc.so.6 (0xb7e81000)
143 # /lib/ld-linux.so.2 (0xb7fe8000)
144 # covering both situations ( with => and without )
145 lib="`echo "$lib" | sed -n 's,^[^/]*\(/[^ ]*\).*,\1,p'`"
146
147 test -f "$lib" || continue
148 # Check whether the same library also exists in the parent
149 # directory, and prefer that on the assumption that it is a
150 # more generic one.
151 local baselib=`echo "$lib" | sed 's,\(/[^/]*\)/.*\(/[^/]*\)$,\1\2,'`
152 test -f "$baselib" && lib=$baselib
153 add_dependency "$lib" "$interp"
154 done
155 fi
156}
157
158add_dependency()
159{
160 local p=`normalize_path $1`
161 # readlink is required for Yocto, so we can use it
162 local path=`readlink -f "$p"`
163 local interp="$2"
164
165 add_file_common "$p" "$path" || return
166
167 if test -x "$path" && is_dynamic_elf "$path"; then
168 add_deps "$path" "$interp"
169 fi
170}
171
172add_file ()
173{
174 local p=`normalize_path $1`
175 # readlink is required for Yocto, so we can use it
176 local path=`readlink -f "$p"`
177
178 add_file_common "$p" "$path" "$2" || return
179
180 if test -x "$path" && is_dynamic_elf "$path"; then
181 # Request the program interpeter (dynamic loader)
182 interp=`readelf -W -l "$path" | grep "Requesting program interpreter:" | sed "s/\s*\[Requesting program interpreter:\s*\(.*\)\]/\1/g"`
183 print_debug "Interpreter is '$interp'"
184
185 add_deps "$path" "$interp"
186 fi
187}
188
189while test -n "$1"; do
190 case "$1" in
191 --respect-path)
192 # Ignore for backward compatability
193 ;;
194 --debug)
195 debug=1
196 ;;
197 --log)
198 do_log=1
199 ;;
200 --extra=*)
201 extra_tools="$extra_tools ${1#--extra=}"
202 ;;
203 *)
204 break
205 ;;
206 esac
207 shift
208done
209
210added_gcc=$1
211shift
212added_gxx=$1
213shift
214added_as=$1
215shift
216archive_name=$1
217
218if test -n "$do_log"; then
219 log_path="$archive_name.log"
220 rm -f "$log_path"
221fi
222
223if test -z "$PATCHELF"; then
224 PATCHELF=`which patchelf 2> /dev/null`
225fi
226if test -z "$PATCHELF"; then
227 PATCHELF=`which patchelf-uninative 2> /dev/null`
228fi
229if test -z "$PATCHELF"; then
230 print_output "patchelf is required"
231 exit 1
232fi
233
234if test -z "$added_gcc" || test -z "$added_gxx" ; then
235 print_output "usage: $0 <gcc_path> <g++_path>"
236 exit 1
237fi
238
239if ! test -x "$added_gcc" ; then
240 print_output "'$added_gcc' is not executable."
241 exit 1
242fi
243
244if ! test -x "$added_gxx" ; then
245 print_output "'$added_gcc' is not executable."
246 exit 1
247fi
248
249
250
251add_file $added_gcc /usr/bin/gcc
252add_file $added_gxx /usr/bin/g++
253
254if test -z "$added_as" ; then
255 add_file /usr/bin/as /usr/bin/as
256else
257 if ! test -x "$added_as" ; then
258 print_output "'$added_as' is not executable."
259 exit 1
260 fi
261
262 add_file $added_as /usr/bin/as
263fi
264
265add_file `$added_gcc -print-prog-name=cc1` /usr/bin/cc1
266add_file `$added_gxx -print-prog-name=cc1plus` /usr/bin/cc1plus
267specfile=`$added_gcc -print-file-name=specs`
268if test -n "$specfile" && test -e "$specfile"; then
269 add_file "$specfile"
270fi
271
272ltofile=`$added_gcc -print-prog-name=lto1`
273pluginfile=`normalize_path "${ltofile%lto1}liblto_plugin.so"`
274if test -r "$pluginfile"
275then
276 add_file $pluginfile ${pluginfile#*usr}
277 add_file $pluginfile /usr${pluginfile#*usr}
278fi
279
280# for testing the environment is usable at all
281if test -x /bin/true; then
282 add_file /bin/true
283elif test -x /usr/bin/true; then
284 add_file /usr/bin/true /bin/true
285else
286 print_output "'true' not found"
287 exit 1
288fi
289
290for extra in $extra_tools; do
291 if test -x "$extra"; then
292 add_file "$extra"
293 else
294 print_output "'$extra' not found"
295 exit 1
296 fi
297done
298
299link_rel ()
300{
301 local target="$1"
302 local name="$2"
303 local base="$3"
304
305 local prefix=`dirname $name`
306
307 prefix=`echo $prefix | sed 's,[^/]\+,..,g' | sed 's,^/*,,g'`
308
309 ln -s $prefix/$target $base/$name
310}
311
312tempdir=`mktemp -d /tmp/iceccenvXXXXXX`
313target_files=
314for path in $target_paths; do
315 mkdir -p $tempdir/`dirname $path`
316 cp -pH $path $tempdir/$path
317
318 if test -f $tempdir/$path -a -x $tempdir/$path; then
319 strip -s $tempdir/$path 2>/dev/null
320 fi
321
322 fix_rpath $tempdir/$path `dirname $path`
323 target_files="$target_files $path"
324done
325
326for i in $target_aliases; do
327 target=`echo $i | cut -d= -f1`
328 link_name=`echo $i | cut -d= -f2`
329
330 mkdir -p $tempdir/`dirname $link_name`
331 # Relative links are used because the files are checked for being
332 # executable outside the chroot
333 link_rel $target $link_name $tempdir
334
335 link_name=`echo $link_name | cut -b2-`
336 target_files="$target_files $link_name"
337done
338
339#sort the files
340target_files=`for i in $target_files; do echo $i; done | sort`
341
342#test if an archive name was supplied
343#if not use the md5 of all files as the archive name
344if test -z "$archive_name"; then
345 md5sum=NONE
346 for file in /usr/bin/md5sum /bin/md5 /usr/bin/md5; do
347 if test -x $file; then
348 md5sum=$file
349 break
350 fi
351 done
352
353 #calculate md5 and use it as the archive name
354 archive_name=`for i in $target_files; do test -f $tempdir/$i && $md5sum $tempdir/$i; done | sed -e 's/ .*$//' | $md5sum | sed -e 's/ .*$//'`.tar.gz || {
355 print_output "Couldn't compute MD5 sum."
356 exit 2
357 }
358 mydir=`pwd`
359else
360 mydir="`dirname "$archive_name"`"
361
362 #check if we have a full path or only a filename
363 if test "$mydir" = "." ; then
364 mydir=`pwd`
365 else
366 mydir=""
367 fi
368fi
369
370print_output "creating $archive_name"
371
372cd $tempdir
373# Add everything in the temp directory. Tar doesn't like to be given files with
374# ".." in them, which frequently happens in $target_files, and will strip off
375# the path prefix past the offending "..". This makes the archive generate
376# incorrectly
377tar -czf "$mydir/$archive_name" . || {
378 print_output "Couldn't create archive"
379 exit 3
380}
381cd ..
382rm -rf $tempdir
diff --git a/meta/recipes-devtools/icecc-create-env/icecc-create-env_0.1.bb b/meta/recipes-devtools/icecc-create-env/icecc-create-env_0.1.bb
deleted file mode 100644
index 56a9321fb9..0000000000
--- a/meta/recipes-devtools/icecc-create-env/icecc-create-env_0.1.bb
+++ /dev/null
@@ -1,38 +0,0 @@
1SUMMARY = "icecc environment setup script"
2DESCRIPTION = "This is a version of the icecc-create-env script that has \
3been modified in order to make it work with OE."
4SECTION = "base"
5# source file has just a "GPL" word, but upstream is GPL-2.0-or-later.
6# most probably just GPL would be a mistake
7LICENSE = "GPL-2.0-or-later"
8LIC_FILES_CHKSUM = "file://icecc-create-env;beginline=2;endline=5;md5=ae1df3d6a058bfda40b66094c5f6065f"
9
10
11DEPENDS = ""
12INHIBIT_DEFAULT_DEPS = "1"
13ICECC_DISABLED = "1"
14
15# This is needed, because otherwise there is dependency loop from quilt-native
16# Dependency loop #1 found:
17# Task 10907 (meta/recipes-devtools/quilt/quilt-native_0.60.bb, do_install) (dependent Tasks ['quilt-native, do_compile'])
18# Task 10908 (meta/recipes-devtools/quilt/quilt-native_0.60.bb, do_populate_sysroot) (dependent Tasks ['quilt-native, do_install'])
19# Task 10997 (meta/recipes-devtools/icecc-create-env/icecc-create-env-native_0.1.bb, do_patch) (dependent Tasks ['icecc-create-env-native, do_unpack', 'quilt-native, do_populate_sysroot'])
20# Task 11001 (meta/recipes-devtools/icecc-create-env/icecc-create-env-native_0.1.bb, do_configure) (dependent Tasks ['icecc-create-env-native, do_patch'])
21# Task 11002 (meta/recipes-devtools/icecc-create-env/icecc-create-env-native_0.1.bb, do_compile) (dependent Tasks ['icecc-create-env-native, do_configure'])
22# Task 10998 (meta/recipes-devtools/icecc-create-env/icecc-create-env-native_0.1.bb, do_install) (dependent Tasks ['icecc-create-env-native, do_compile'])
23# Task 10999 (meta/recipes-devtools/icecc-create-env/icecc-create-env-native_0.1.bb, do_populate_sysroot) (dependent Tasks ['icecc-create-env-native, do_install'])
24# Task 10910 (meta/recipes-devtools/quilt/quilt-native_0.60.bb, do_configure) (dependent Tasks ['quilt-native, do_patch', 'icecc-create-env-native, do_populate_sysroot'])
25# Task 10911 (meta/recipes-devtools/quilt/quilt-native_0.60.bb, do_compile) (dependent Tasks ['quilt-native, do_configure'])
26PATCHTOOL = "patch"
27SRC_URI = "file://icecc-create-env"
28
29S = "${WORKDIR}"
30
31do_install() {
32 install -d ${D}/${bindir}
33 install -m 0755 ${S}/icecc-create-env ${D}/${bindir}
34}
35
36BBCLASSEXTEND = "native nativesdk"
37
38RDEPENDS:${PN}:class-nativesdk = "patchelf"
diff --git a/meta/recipes-devtools/icecc-toolchain/icecc-toolchain/icecc-env.sh b/meta/recipes-devtools/icecc-toolchain/icecc-toolchain/icecc-env.sh
deleted file mode 100644
index 0dccc41c8a..0000000000
--- a/meta/recipes-devtools/icecc-toolchain/icecc-toolchain/icecc-env.sh
+++ /dev/null
@@ -1,49 +0,0 @@
1#! /bin/sh
2# Copyright (c) 2018 Joshua Watt, Garmin International,Inc.
3#
4# Permission is hereby granted, free of charge, to any person obtaining a copy
5# of this software and associated documentation files (the "Software"), to deal
6# in the Software without restriction, including without limitation the rights
7# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8# copies of the Software, and to permit persons to whom the Software is
9# furnished to do so, subject to the following conditions:
10#
11# The above copyright notice and this permission notice shall be included in
12# all copies or substantial portions of the Software.
13#
14# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20# SOFTWARE.
21#
22
23if [ -z "$ICECC_PATH" ]; then
24 ICECC_PATH=$(which icecc 2> /dev/null || true)
25fi
26
27if [ -n "$ICECC_PATH" ]; then
28 # Default to disabling the caret workaround. If set to "1", icecc will
29 # locally recompile any files that have warnings, which can adversely
30 # affect performance.
31 #
32 # See: https://github.com/icecc/icecream/issues/190
33 if [ -z "$ICECC_CARET_WORKAROUND" ]; then
34 ICECC_CARET_WORKAROUND="0"
35 fi
36 if [ "$ICECC_CARET_WORKAROUND" != "1" ]; then
37 CFLAGS="$CFLAGS -fno-diagnostics-show-caret"
38 CXXFLAGS="$CXXFLAGS -fno-diagnostics-show-caret"
39 fi
40 export ICECC_PATH ICECC_CARET_WORKAROUND
41 export ICECC_VERSION="$(echo "$OECORE_NATIVE_SYSROOT/usr/share/${TARGET_PREFIX}icecream/@TOOLCHAIN_ENV@" | sed "s,@TARGET_PREFIX@,$TARGET_PREFIX,g")"
42 export ICECC="$(which ${CROSS_COMPILE}gcc)"
43 export ICECXX="$(which ${CROSS_COMPILE}g++)"
44 export ICEAS="$(which ${CROSS_COMPILE}as)"
45 export PATH="$OECORE_NATIVE_SYSROOT/usr/share/${TARGET_PREFIX}icecream/bin:$PATH"
46else
47 echo "Icecc not found. Disabling distributed compiling"
48fi
49
diff --git a/meta/recipes-devtools/icecc-toolchain/icecc-toolchain/icecc-setup.sh b/meta/recipes-devtools/icecc-toolchain/icecc-toolchain/icecc-setup.sh
deleted file mode 100644
index fbd9f038b8..0000000000
--- a/meta/recipes-devtools/icecc-toolchain/icecc-toolchain/icecc-setup.sh
+++ /dev/null
@@ -1,38 +0,0 @@
1#! /bin/sh
2# Copyright (c) 2018 Joshua Watt, Garmin International,Inc.
3#
4# Permission is hereby granted, free of charge, to any person obtaining a copy
5# of this software and associated documentation files (the "Software"), to deal
6# in the Software without restriction, including without limitation the rights
7# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8# copies of the Software, and to permit persons to whom the Software is
9# furnished to do so, subject to the following conditions:
10#
11# The above copyright notice and this permission notice shall be included in
12# all copies or substantial portions of the Software.
13#
14# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20# SOFTWARE.
21#
22
23# ICECC_PATH will have been found icecc-env.sh
24if [ -z "$ICECC_PATH" ]; then
25 exit 0
26fi
27
28echo "Setting up IceCream distributed compiling..."
29
30# Create the environment
31mkdir -p "`dirname $ICECC_VERSION`"
32icecc-create-env $ICECC $ICECXX $ICEAS $ICECC_VERSION || exit $?
33
34# Create symbolic links
35d="$OECORE_NATIVE_SYSROOT/usr/share/${TARGET_PREFIX}icecream/bin"
36mkdir -p "$d"
37ln -sf "$ICECC_PATH" "$d/${CROSS_COMPILE}gcc"
38ln -sf "$ICECC_PATH" "$d/${CROSS_COMPILE}g++"
diff --git a/meta/recipes-devtools/icecc-toolchain/nativesdk-icecc-toolchain_0.1.bb b/meta/recipes-devtools/icecc-toolchain/nativesdk-icecc-toolchain_0.1.bb
deleted file mode 100644
index d03d8adcb0..0000000000
--- a/meta/recipes-devtools/icecc-toolchain/nativesdk-icecc-toolchain_0.1.bb
+++ /dev/null
@@ -1,39 +0,0 @@
1# Copyright (c) 2018 Joshua Watt, Garmin International,Inc.
2# Released under the MIT license (see COPYING.MIT for the terms)
3SUMMARY = "Generates Icecream toolchain for SDK"
4DESCRIPTION = "${SUMMARY}"
5LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://${UNPACKDIR}/icecc-env.sh;beginline=2;endline=20;md5=dd6b68c1efed8a9fb04e409b3b287d47"
7
8INHIBIT_DEFAULT_DEPS = "1"
9
10SRC_URI = "\
11 file://icecc-env.sh \
12 file://icecc-setup.sh \
13 "
14
15inherit nativesdk
16
17ENV_NAME="${DISTRO}-${TCLIBC}-${SDK_ARCH}-@TARGET_PREFIX@${DISTRO_VERSION}.tar.gz"
18
19do_compile() {
20}
21
22do_install() {
23 install -d ${D}${SDKPATHNATIVE}${datadir}/icecream/bin
24
25 install -d ${D}${SDKPATHNATIVE}/environment-setup.d/
26 install -m 0644 ${UNPACKDIR}/icecc-env.sh ${D}${SDKPATHNATIVE}/environment-setup.d/
27 sed -i ${D}${SDKPATHNATIVE}/environment-setup.d/icecc-env.sh \
28 -e 's,@TOOLCHAIN_ENV@,${ENV_NAME},g'
29
30 install -d ${D}${SDKPATHNATIVE}/post-relocate-setup.d/
31 install -m 0755 ${UNPACKDIR}/icecc-setup.sh ${D}${SDKPATHNATIVE}/post-relocate-setup.d/
32 sed -i ${D}${SDKPATHNATIVE}/post-relocate-setup.d/icecc-setup.sh \
33 -e 's,@TOOLCHAIN_ENV@,${ENV_NAME},g'
34}
35
36PACKAGES = "${PN}"
37FILES:${PN} = "${SDKPATHNATIVE}"
38RDEPENDS:${PN} += "nativesdk-icecc-create-env"
39
diff --git a/meta/recipes-devtools/intltool/intltool_0.51.0.bb b/meta/recipes-devtools/intltool/intltool_0.51.0.bb
index 0f90ab4f1c..d582c87fdc 100644
--- a/meta/recipes-devtools/intltool/intltool_0.51.0.bb
+++ b/meta/recipes-devtools/intltool/intltool_0.51.0.bb
@@ -11,7 +11,6 @@ SRC_URI = "http://launchpad.net/${BPN}/trunk/${PV}/+download/${BP}.tar.gz \
11 file://remove-perl-check.patch \ 11 file://remove-perl-check.patch \
12 file://noperlcheck.patch \ 12 file://noperlcheck.patch \
13 " 13 "
14SRC_URI[md5sum] = "12e517cac2b57a0121cda351570f1e63"
15SRC_URI[sha256sum] = "67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd" 14SRC_URI[sha256sum] = "67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd"
16 15
17UPSTREAM_CHECK_URI = "https://launchpad.net/intltool/trunk/" 16UPSTREAM_CHECK_URI = "https://launchpad.net/intltool/trunk/"
diff --git a/meta/recipes-devtools/json-c/json-c/run-ptest b/meta/recipes-devtools/json-c/json-c/run-ptest
index 2d0e94cd3a..acdce54f3e 100644
--- a/meta/recipes-devtools/json-c/json-c/run-ptest
+++ b/meta/recipes-devtools/json-c/json-c/run-ptest
@@ -3,6 +3,8 @@
3# This script is used to run json-c test suites 3# This script is used to run json-c test suites
4cd tests 4cd tests
5 5
6export USE_VALGRIND=0
7
6ret_val=0 8ret_val=0
7for i in test*.test; do 9for i in test*.test; do
8 # test_basic is not an own testcase, just 10 # test_basic is not an own testcase, just
diff --git a/meta/recipes-devtools/json-c/json-c_0.17.bb b/meta/recipes-devtools/json-c/json-c_0.18.bb
index 20bcece768..c112aacf4b 100644
--- a/meta/recipes-devtools/json-c/json-c_0.17.bb
+++ b/meta/recipes-devtools/json-c/json-c_0.18.bb
@@ -1,5 +1,7 @@
1SUMMARY = "C bindings for apps which will manipulate JSON data" 1SUMMARY = "A JSON implementation in C"
2DESCRIPTION = "JSON-C implements a reference counting object model that allows you to easily construct JSON objects in C." 2DESCRIPTION = "JSON-C implements a reference counting object model that allows \
3you to easily construct JSON objects in C, output them as JSON formatted strings \
4and parse JSON formatted strings back into the C representation of JSON objects."
3HOMEPAGE = "https://github.com/json-c/json-c/wiki" 5HOMEPAGE = "https://github.com/json-c/json-c/wiki"
4LICENSE = "MIT" 6LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://COPYING;md5=de54b60fbbc35123ba193fea8ee216f2" 7LIC_FILES_CHKSUM = "file://COPYING;md5=de54b60fbbc35123ba193fea8ee216f2"
@@ -7,18 +9,20 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=de54b60fbbc35123ba193fea8ee216f2"
7SRC_URI = "https://s3.amazonaws.com/json-c_releases/releases/${BP}.tar.gz \ 9SRC_URI = "https://s3.amazonaws.com/json-c_releases/releases/${BP}.tar.gz \
8 file://run-ptest \ 10 file://run-ptest \
9 " 11 "
10SRC_URI[sha256sum] = "7550914d58fb63b2c3546f3ccfbe11f1c094147bd31a69dcd23714d7956159e6" 12SRC_URI[sha256sum] = "876ab046479166b869afc6896d288183bbc0e5843f141200c677b3e8dfb11724"
11 13
12# NVD uses full tag name including date 14# NVD uses full tag name including date
13CVE_VERSION = "0.17-20230812" 15CVE_VERSION = "0.18-20240915"
14 16
15UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/tags" 17UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/tags"
16UPSTREAM_CHECK_REGEX = "json-c-(?P<pver>\d+(\.\d+)+)-\d+" 18UPSTREAM_CHECK_REGEX = "json-c-(?P<pver>\d+(\.\d+)+)-\d+"
17 19
18RPROVIDES:${PN} = "libjson" 20RPROVIDES:${PN} = "libjson"
19 21
20# Required for ICECC builds 22# Apps aren't needed/packaged and their CMakeLists.txt is incompatible with CMake 4+.
21EXTRA_OECMAKE = "-DDISABLE_WERROR=ON" 23EXTRA_OECMAKE = "-DDISABLE_WERROR=ON \
24 -DBUILD_APPS=OFF \
25"
22 26
23inherit cmake ptest 27inherit cmake ptest
24 28
diff --git a/meta/recipes-devtools/libcomps/libcomps_0.1.21.bb b/meta/recipes-devtools/libcomps/libcomps_0.1.21.bb
index 91170dfbed..5709f3e69f 100644
--- a/meta/recipes-devtools/libcomps/libcomps_0.1.21.bb
+++ b/meta/recipes-devtools/libcomps/libcomps_0.1.21.bb
@@ -10,8 +10,6 @@ SRC_URI = "git://github.com/rpm-software-management/libcomps.git;branch=master;p
10 10
11SRCREV = "2e973ce22698dd64f472180e3a689755268fb06b" 11SRCREV = "2e973ce22698dd64f472180e3a689755268fb06b"
12 12
13S = "${WORKDIR}/git"
14
15inherit cmake setuptools3-base 13inherit cmake setuptools3-base
16 14
17DEPENDS = "expat libxml2 zlib" 15DEPENDS = "expat libxml2 zlib"
diff --git a/meta/recipes-devtools/libdnf/libdnf/0001-FindGtkDoc.cmake-drop-the-requirement-for-GTKDOC_SCA.patch b/meta/recipes-devtools/libdnf/libdnf/0001-FindGtkDoc.cmake-drop-the-requirement-for-GTKDOC_SCA.patch
index 046e09eab2..0bd5eeb1da 100644
--- a/meta/recipes-devtools/libdnf/libdnf/0001-FindGtkDoc.cmake-drop-the-requirement-for-GTKDOC_SCA.patch
+++ b/meta/recipes-devtools/libdnf/libdnf/0001-FindGtkDoc.cmake-drop-the-requirement-for-GTKDOC_SCA.patch
@@ -1,4 +1,4 @@
1From 5d6db56791d326e6b486dca54fe2335af0225229 Mon Sep 17 00:00:00 2001 1From 45d06c71976823c610a4719731b68dcd6096888e Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Thu, 24 Nov 2016 14:33:07 +0200 3Date: Thu, 24 Nov 2016 14:33:07 +0200
4Subject: [PATCH] FindGtkDoc.cmake: drop the requirement for 4Subject: [PATCH] FindGtkDoc.cmake: drop the requirement for
diff --git a/meta/recipes-devtools/libdnf/libdnf/0001-Get-parameters-for-both-libsolv-and-libsolvext-libdn.patch b/meta/recipes-devtools/libdnf/libdnf/0001-Get-parameters-for-both-libsolv-and-libsolvext-libdn.patch
index 223c1be218..54b1262672 100644
--- a/meta/recipes-devtools/libdnf/libdnf/0001-Get-parameters-for-both-libsolv-and-libsolvext-libdn.patch
+++ b/meta/recipes-devtools/libdnf/libdnf/0001-Get-parameters-for-both-libsolv-and-libsolvext-libdn.patch
@@ -1,4 +1,4 @@
1From bf9bde4af952b67cc357d25b9863889099ea9665 Mon Sep 17 00:00:00 2001 1From cd8a24156cefab80b673af233f66ff44c1b7c458 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Tue, 7 Feb 2017 12:16:03 +0200 3Date: Tue, 7 Feb 2017 12:16:03 +0200
4Subject: [PATCH] Get parameters for both libsolv and libsolvext (libdnf is 4Subject: [PATCH] Get parameters for both libsolv and libsolvext (libdnf is
@@ -12,7 +12,7 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
12 1 file changed, 1 insertion(+), 1 deletion(-) 12 1 file changed, 1 insertion(+), 1 deletion(-)
13 13
14diff --git a/CMakeLists.txt b/CMakeLists.txt 14diff --git a/CMakeLists.txt b/CMakeLists.txt
15index e99b28d0..548a9137 100644 15index a6f14318..60c66e94 100644
16--- a/CMakeLists.txt 16--- a/CMakeLists.txt
17+++ b/CMakeLists.txt 17+++ b/CMakeLists.txt
18@@ -51,7 +51,7 @@ endif() 18@@ -51,7 +51,7 @@ endif()
diff --git a/meta/recipes-devtools/libdnf/libdnf/0001-drop-FindPythonInstDir.cmake.patch b/meta/recipes-devtools/libdnf/libdnf/0001-drop-FindPythonInstDir.cmake.patch
index 27f76077d7..850a862979 100644
--- a/meta/recipes-devtools/libdnf/libdnf/0001-drop-FindPythonInstDir.cmake.patch
+++ b/meta/recipes-devtools/libdnf/libdnf/0001-drop-FindPythonInstDir.cmake.patch
@@ -1,4 +1,4 @@
1From a6b3bc4fb3db996cd6c5616a99c16d085704dae0 Mon Sep 17 00:00:00 2001 1From 5150fd9be924d2e9e74b2db664229423a4a00238 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com> 2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Tue, 1 Jun 2021 10:23:59 +0800 3Date: Tue, 1 Jun 2021 10:23:59 +0800
4Subject: [PATCH] drop FindPythonInstDir.cmake 4Subject: [PATCH] drop FindPythonInstDir.cmake
diff --git a/meta/recipes-devtools/libdnf/libdnf/0004-Set-libsolv-variables-with-pkg-config-cmake-s-own-mo.patch b/meta/recipes-devtools/libdnf/libdnf/0004-Set-libsolv-variables-with-pkg-config-cmake-s-own-mo.patch
index ecab47e5af..f55870802f 100644
--- a/meta/recipes-devtools/libdnf/libdnf/0004-Set-libsolv-variables-with-pkg-config-cmake-s-own-mo.patch
+++ b/meta/recipes-devtools/libdnf/libdnf/0004-Set-libsolv-variables-with-pkg-config-cmake-s-own-mo.patch
@@ -1,4 +1,4 @@
1From e40def862bdeb10da295b15c5904fe2829d391c7 Mon Sep 17 00:00:00 2001 1From a921a92f334a2a30741b906c206e041cef2d904d Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Fri, 30 Dec 2016 18:24:50 +0200 3Date: Fri, 30 Dec 2016 18:24:50 +0200
4Subject: [PATCH] Set libsolv variables with pkg-config (cmake's own module 4Subject: [PATCH] Set libsolv variables with pkg-config (cmake's own module
@@ -12,7 +12,7 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
12 1 file changed, 2 insertions(+), 1 deletion(-) 12 1 file changed, 2 insertions(+), 1 deletion(-)
13 13
14diff --git a/CMakeLists.txt b/CMakeLists.txt 14diff --git a/CMakeLists.txt b/CMakeLists.txt
15index 6444c374..e99b28d0 100644 15index c6bd46a6..a6f14318 100644
16--- a/CMakeLists.txt 16--- a/CMakeLists.txt
17+++ b/CMakeLists.txt 17+++ b/CMakeLists.txt
18@@ -51,7 +51,8 @@ endif() 18@@ -51,7 +51,8 @@ endif()
diff --git a/meta/recipes-devtools/libdnf/libdnf/armarch.patch b/meta/recipes-devtools/libdnf/libdnf/armarch.patch
index 63debdb58f..8a36f87227 100644
--- a/meta/recipes-devtools/libdnf/libdnf/armarch.patch
+++ b/meta/recipes-devtools/libdnf/libdnf/armarch.patch
@@ -1,4 +1,4 @@
1From aa0f8b65feec64420a9b7b61cfcc8bcce161e14b Mon Sep 17 00:00:00 2001 1From baf4fc9f157e4c08c67d1a577b0f1e10f213a642 Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org> 2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Thu, 9 Nov 2023 10:29:31 +0000 3Date: Thu, 9 Nov 2023 10:29:31 +0000
4Subject: [PATCH] libdnf: Fix arm arch mapping issues for qemuarmv5 4Subject: [PATCH] libdnf: Fix arm arch mapping issues for qemuarmv5
diff --git a/meta/recipes-devtools/libdnf/libdnf/enable_test_data_dir_set.patch b/meta/recipes-devtools/libdnf/libdnf/enable_test_data_dir_set.patch
index e4f6d447f1..6fc05d9ff8 100644
--- a/meta/recipes-devtools/libdnf/libdnf/enable_test_data_dir_set.patch
+++ b/meta/recipes-devtools/libdnf/libdnf/enable_test_data_dir_set.patch
@@ -1,4 +1,4 @@
1From 25229773a9d4472235278bb45f75439e56630cee Mon Sep 17 00:00:00 2001 1From 870f50ba4761317f2db018ac130a42087230dded Mon Sep 17 00:00:00 2001
2From: Joe Slater <joe.slater@windriver.com> 2From: Joe Slater <joe.slater@windriver.com>
3Date: Wed, 22 Jul 2020 13:31:11 -0700 3Date: Wed, 22 Jul 2020 13:31:11 -0700
4Subject: [PATCH] libdnf: allow reproducible binary builds 4Subject: [PATCH] libdnf: allow reproducible binary builds
@@ -14,14 +14,14 @@ Signed-off-by: Joe Slater <joe.slater@windriver.com>
14 1 file changed, 6 insertions(+), 1 deletion(-) 14 1 file changed, 6 insertions(+), 1 deletion(-)
15 15
16diff --git a/CMakeLists.txt b/CMakeLists.txt 16diff --git a/CMakeLists.txt b/CMakeLists.txt
17index 548a9137..c378e7d9 100644 17index b1daacb..f461e54 100644
18--- a/CMakeLists.txt 18--- a/CMakeLists.txt
19+++ b/CMakeLists.txt 19+++ b/CMakeLists.txt
20@@ -132,7 +132,12 @@ add_definitions(-DGETTEXT_DOMAIN=\\"libdnf\\") 20@@ -131,7 +131,12 @@ add_definitions(-DGETTEXT_DOMAIN="libdnf")
21 add_definitions(-DG_LOG_DOMAIN=\\"libdnf\\") 21 add_definitions(-DG_LOG_DOMAIN="libdnf")
22 22
23 # tests 23 # tests
24-add_definitions(-DTESTDATADIR=\\"${CMAKE_SOURCE_DIR}/data/tests\\") 24-add_definitions(-DTESTDATADIR="${CMAKE_SOURCE_DIR}/data/tests")
25+if(NOT WITH_TESTS) 25+if(NOT WITH_TESTS)
26+ set(TEST_DATA_DIR "/notests") 26+ set(TEST_DATA_DIR "/notests")
27+elseif(NOT DEFINED TEST_DATA_DIR) 27+elseif(NOT DEFINED TEST_DATA_DIR)
@@ -31,3 +31,6 @@ index 548a9137..c378e7d9 100644
31 31
32 # librhsm 32 # librhsm
33 if(ENABLE_RHSM_SUPPORT) 33 if(ENABLE_RHSM_SUPPORT)
34--
352.43.0
36
diff --git a/meta/recipes-devtools/libdnf/libdnf_0.73.1.bb b/meta/recipes-devtools/libdnf/libdnf_0.74.0.bb
index 3ab840b1b0..6ac518564b 100644
--- a/meta/recipes-devtools/libdnf/libdnf_0.73.1.bb
+++ b/meta/recipes-devtools/libdnf/libdnf_0.74.0.bb
@@ -13,11 +13,9 @@ SRC_URI = "git://github.com/rpm-software-management/libdnf;branch=dnf-4-master;p
13 file://armarch.patch \ 13 file://armarch.patch \
14 " 14 "
15 15
16SRCREV = "0120e70747dcf05e716792e2e846c62eccd44319" 16SRCREV = "91a0bf9aada36a722855051526f012e0b5ab1af9"
17UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(?!4\.90)\d+(\.\d+)+)" 17UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(?!4\.90)\d+(\.\d+)+)"
18 18
19S = "${WORKDIR}/git"
20
21DEPENDS = "glib-2.0 libsolv libcheck librepo rpm gtk-doc libmodulemd json-c swig-native util-linux" 19DEPENDS = "glib-2.0 libsolv libcheck librepo rpm gtk-doc libmodulemd json-c swig-native util-linux"
22 20
23inherit gtk-doc gobject-introspection cmake pkgconfig setuptools3-base 21inherit gtk-doc gobject-introspection cmake pkgconfig setuptools3-base
diff --git a/meta/recipes-devtools/libedit/libedit/stdc-predef.patch b/meta/recipes-devtools/libedit/libedit/stdc-predef.patch
index 75ef308fad..0ce6d127a9 100644
--- a/meta/recipes-devtools/libedit/libedit/stdc-predef.patch
+++ b/meta/recipes-devtools/libedit/libedit/stdc-predef.patch
@@ -1,13 +1,21 @@
1From 32918b3a91d9fe4719bba78a44ec3262a2994e68 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 31 Jul 2019 10:48:19 -0700
4Subject: [PATCH] libedit: Move from meta-oe
5
1__STDC_ISO_10646__ is defined in stdc-predef.h 6__STDC_ISO_10646__ is defined in stdc-predef.h
2therefore include it to see if its there on a platform 7therefore include it to see if its there on a platform
3 8
4Upstream-Status: Pending 9Upstream-Status: Pending
5Signed-off-by: Khem Raj <raj.khem@gmail.com> 10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 src/chartype.h | 1 +
13 1 file changed, 1 insertion(+)
6 14
7Index: libedit-20160903-3.1/src/chartype.h 15diff --git a/src/chartype.h b/src/chartype.h
8=================================================================== 16index bcdb293..92327d3 100644
9--- libedit-20160903-3.1.orig/src/chartype.h 17--- a/src/chartype.h
10+++ libedit-20160903-3.1/src/chartype.h 18+++ b/src/chartype.h
11@@ -29,6 +29,7 @@ 19@@ -29,6 +29,7 @@
12 #ifndef _h_chartype_f 20 #ifndef _h_chartype_f
13 #define _h_chartype_f 21 #define _h_chartype_f
diff --git a/meta/recipes-devtools/libedit/libedit_20230828-3.1.bb b/meta/recipes-devtools/libedit/libedit_20250104-3.1.bb
index 1684b57d31..cad24d8d65 100644
--- a/meta/recipes-devtools/libedit/libedit_20230828-3.1.bb
+++ b/meta/recipes-devtools/libedit/libedit_20250104-3.1.bb
@@ -13,12 +13,13 @@ inherit autotools
13SRC_URI = "http://www.thrysoee.dk/editline/${BP}.tar.gz \ 13SRC_URI = "http://www.thrysoee.dk/editline/${BP}.tar.gz \
14 file://stdc-predef.patch \ 14 file://stdc-predef.patch \
15 " 15 "
16SRC_URI[sha256sum] = "4ee8182b6e569290e7d1f44f0f78dac8716b35f656b76528f699c69c98814dad" 16SRC_URI[sha256sum] = "23792701694550a53720630cd1cd6167101b5773adddcb4104f7345b73a568ac"
17 17
18BBCLASSEXTEND = "native nativesdk" 18# configure hardcodes /usr/bin search path bypassing HOSTTOOLS
19CACHED_CONFIGUREVARS += "ac_cv_path_NROFF=/bin/false"
19 20
20inherit update-alternatives 21# remove at next version upgrade or when output changes
22PR = "r1"
23HASHEQUIV_HASH_VERSION .= ".1"
21 24
22ALTERNATIVE_PRIORITY = "90" 25BBCLASSEXTEND = "native nativesdk"
23ALTERNATIVE:${PN}-doc = "history.3"
24ALTERNATIVE_LINK_NAME[history.3] = "${mandir}/man3/history.3"
diff --git a/meta/recipes-devtools/libmodulemd/libmodulemd_git.bb b/meta/recipes-devtools/libmodulemd/libmodulemd_2.15.1.bb
index d3bef83306..6504414387 100644
--- a/meta/recipes-devtools/libmodulemd/libmodulemd_git.bb
+++ b/meta/recipes-devtools/libmodulemd/libmodulemd_2.15.1.bb
@@ -6,14 +6,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=25a3927bff3ee4f5b21bcb0ed3fcd6bb"
6 6
7SRC_URI = "git://github.com/fedora-modularity/libmodulemd;protocol=https;branch=main" 7SRC_URI = "git://github.com/fedora-modularity/libmodulemd;protocol=https;branch=main"
8 8
9PV = "2.15.0" 9SRCREV = "e7f179eeeb6eee1403f090fc43a3c80bb08b5bfd"
10SRCREV = "bfde7f2d04fbb22e26c9eb843e4ccc478762dd8d"
11 10
12S = "${WORKDIR}/git" 11inherit meson gobject-introspection pkgconfig manpages
13 12
14inherit meson gobject-introspection pkgconfig 13EXTRA_OEMESON = "-Dwith_py3=false -Dwith_docs=false -Drpmio=disabled -Dgobject_overrides_dir_py3=${PYTHON_SITEPACKAGES_DIR}/gi/overrides"
15
16EXTRA_OEMESON = "-Dwith_py3=false -Dwith_docs=false -Drpmio=disabled -Dlibmagic=disabled -Dwith_manpages=disabled -Dgobject_overrides_dir_py3=${PYTHON_SITEPACKAGES_DIR}/gi/overrides"
17 14
18DEPENDS += "glib-2.0 libyaml glib-2.0-native" 15DEPENDS += "glib-2.0 libyaml glib-2.0-native"
19 16
@@ -22,3 +19,6 @@ BBCLASSEXTEND = "native nativesdk"
22GIR_MESON_OPTION = 'skip_introspection' 19GIR_MESON_OPTION = 'skip_introspection'
23GIR_MESON_ENABLE_FLAG = 'false' 20GIR_MESON_ENABLE_FLAG = 'false'
24GIR_MESON_DISABLE_FLAG = 'true' 21GIR_MESON_DISABLE_FLAG = 'true'
22
23PACKAGECONFIG ??= ""
24PACKAGECONFIG[manpages] = "-Dwith_manpages=enabled,-Dwith_manpages=disabled"
diff --git a/meta/recipes-devtools/librepo/librepo/0001-gpg_gpgme.c-fix-build-errors-with-older-gcc.patch b/meta/recipes-devtools/librepo/librepo/0001-gpg_gpgme.c-fix-build-errors-with-older-gcc.patch
deleted file mode 100644
index 8727b181b3..0000000000
--- a/meta/recipes-devtools/librepo/librepo/0001-gpg_gpgme.c-fix-build-errors-with-older-gcc.patch
+++ /dev/null
@@ -1,36 +0,0 @@
1From b525cdec3051d1c6ff0c3cd38bf3070b18d6fb50 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de>
3Date: Wed, 6 Mar 2024 10:13:38 +0100
4Subject: [PATCH] gpg_gpgme.c: fix build errors with older gcc
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9When selinux is not enabled, older gcc versions error out this way:
10
11| /home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-1938845/tmp-mc-tiny/hosttools/gcc -DG_LOG_DOMAIN=\"librepo\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -Dlibrepo_EXPORTS -I/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-1938845/tmp-mc-tiny/work/aarch64-linux/librepo-native/1.17.0/git -I/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-1938845/tmp-mc-tiny/work/aarch64-linux/librepo-native/1.17.0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/libmount -I/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-1938845/tmp-mc-tiny/work/aarch64-linux/librepo-native/1.17.0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/blkid -I/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-1938845/tmp-mc-tiny/work/aarch64-linux/librepo-native/1.17.0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/glib-2.0 -I/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-1938845/tmp-mc-tiny/work/aarch64-linux/librepo-native/1.17.0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/lib/glib-2.0/include -I/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-1938845/tmp-mc-tiny/work/aarch64-linux/librepo-native/1.17.0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/include/libxml2 -isystem/home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-1938845/tmp-mc-tiny/work/aarch64-linux/librepo-native/1.17.0/recipe-sysroot-native/usr/include -O2 -pipe -std=c99 -Wall -fPIC -MD -MT librepo/CMakeFiles/librepo.dir/gpg_gpgme.c.o -MF librepo/CMakeFiles/librepo.dir/gpg_gpgme.c.o.d -o librepo/CMakeFiles/librepo.dir/gpg_gpgme.c.o -c /home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-1938845/tmp-mc-tiny/work/aarch64-linux/librepo-native/1.17.0/git/librepo/gpg_gpgme.c
12| /home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-1938845/tmp-mc-tiny/work/aarch64-linux/librepo-native/1.17.0/git/librepo/gpg_gpgme.c: In function ‘lr_gpg_ensure_socket_dir_exists’:
13| /home/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-1938845/tmp-mc-tiny/work/aarch64-linux/librepo-native/1.17.0/git/librepo/gpg_gpgme.c:135:1: error: label at end of compound statement
14| 135 | exit:
15| | ^~~~
16
17Ensuring the exit: block is not empty fixes the issue.
18
19Upstream-Status: Submitted [https://github.com/rpm-software-management/librepo/pull/300]
20Signed-off-by: Alexander Kanavin <alex@linutronix.de>
21---
22 librepo/gpg_gpgme.c | 1 +
23 1 file changed, 1 insertion(+)
24
25diff --git a/librepo/gpg_gpgme.c b/librepo/gpg_gpgme.c
26index c4addb2..47c3153 100644
27--- a/librepo/gpg_gpgme.c
28+++ b/librepo/gpg_gpgme.c
29@@ -144,6 +144,7 @@ exit:
30 }
31 freecon(old_default_context);
32 #endif
33+ return;
34 }
35
36 static gpgme_ctx_t
diff --git a/meta/recipes-devtools/librepo/librepo/0002-Do-not-try-to-obtain-PYTHON_INSTALL_DIR-by-running-p.patch b/meta/recipes-devtools/librepo/librepo/0002-Do-not-try-to-obtain-PYTHON_INSTALL_DIR-by-running-p.patch
index 4a851ad1e2..1425041dad 100644
--- a/meta/recipes-devtools/librepo/librepo/0002-Do-not-try-to-obtain-PYTHON_INSTALL_DIR-by-running-p.patch
+++ b/meta/recipes-devtools/librepo/librepo/0002-Do-not-try-to-obtain-PYTHON_INSTALL_DIR-by-running-p.patch
@@ -1,4 +1,4 @@
1From 76052aa40c61580869472fd3f009a4ab1620b998 Mon Sep 17 00:00:00 2001 1From e86f562d3cc6cea3e19c4bab77ffa2902f634615 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Fri, 30 Dec 2016 18:05:36 +0200 3Date: Fri, 30 Dec 2016 18:05:36 +0200
4Subject: [PATCH] Do not try to obtain PYTHON_INSTALL_DIR by running python. 4Subject: [PATCH] Do not try to obtain PYTHON_INSTALL_DIR by running python.
diff --git a/meta/recipes-devtools/librepo/librepo/0004-Set-gpgme-variables-with-pkg-config-not-with-cmake-m.patch b/meta/recipes-devtools/librepo/librepo/0004-Set-gpgme-variables-with-pkg-config-not-with-cmake-m.patch
index fd1df95473..edee8698d8 100644
--- a/meta/recipes-devtools/librepo/librepo/0004-Set-gpgme-variables-with-pkg-config-not-with-cmake-m.patch
+++ b/meta/recipes-devtools/librepo/librepo/0004-Set-gpgme-variables-with-pkg-config-not-with-cmake-m.patch
@@ -1,4 +1,4 @@
1From b5918f06d790dc346d41de4b3a3ec01f290c1d25 Mon Sep 17 00:00:00 2001 1From 93d3c49dbdf348eec9900d53a152457f6d1cb816 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Fri, 30 Dec 2016 18:23:27 +0200 3Date: Fri, 30 Dec 2016 18:23:27 +0200
4Subject: [PATCH] Set gpgme variables with pkg-config, not with cmake module 4Subject: [PATCH] Set gpgme variables with pkg-config, not with cmake module
@@ -11,10 +11,10 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
11 1 file changed, 2 insertions(+), 1 deletion(-) 11 1 file changed, 2 insertions(+), 1 deletion(-)
12 12
13diff --git a/CMakeLists.txt b/CMakeLists.txt 13diff --git a/CMakeLists.txt b/CMakeLists.txt
14index 6c00024..a2f57af 100644 14index 68ce953..04f83b9 100644
15--- a/CMakeLists.txt 15--- a/CMakeLists.txt
16+++ b/CMakeLists.txt 16+++ b/CMakeLists.txt
17@@ -37,7 +37,8 @@ PKG_CHECK_MODULES(LIBXML2 libxml-2.0 REQUIRED) 17@@ -39,7 +39,8 @@ PKG_CHECK_MODULES(LIBXML2 libxml-2.0 REQUIRED)
18 FIND_PACKAGE(CURL 7.52.0 REQUIRED) 18 FIND_PACKAGE(CURL 7.52.0 REQUIRED)
19 19
20 IF (USE_GPGME) 20 IF (USE_GPGME)
diff --git a/meta/recipes-devtools/librepo/librepo_1.17.0.bb b/meta/recipes-devtools/librepo/librepo_1.19.0.bb
index 810191459d..ba66c8ef68 100644
--- a/meta/recipes-devtools/librepo/librepo_1.17.0.bb
+++ b/meta/recipes-devtools/librepo/librepo_1.19.0.bb
@@ -8,12 +8,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
8SRC_URI = "git://github.com/rpm-software-management/librepo.git;branch=master;protocol=https \ 8SRC_URI = "git://github.com/rpm-software-management/librepo.git;branch=master;protocol=https \
9 file://0002-Do-not-try-to-obtain-PYTHON_INSTALL_DIR-by-running-p.patch \ 9 file://0002-Do-not-try-to-obtain-PYTHON_INSTALL_DIR-by-running-p.patch \
10 file://0004-Set-gpgme-variables-with-pkg-config-not-with-cmake-m.patch \ 10 file://0004-Set-gpgme-variables-with-pkg-config-not-with-cmake-m.patch \
11 file://0001-gpg_gpgme.c-fix-build-errors-with-older-gcc.patch \
12 " 11 "
13 12
14SRCREV = "ae727d99086f70f39fba5695af5460e1da908c1b" 13SRCREV = "7955987e33ba98dddb3fc2c63bb6dc892e3505fa"
15
16S = "${WORKDIR}/git"
17 14
18DEPENDS = "curl glib-2.0 openssl attr gpgme libxml2" 15DEPENDS = "curl glib-2.0 openssl attr gpgme libxml2"
19 16
diff --git a/meta/recipes-devtools/libtool/libtool-2.4.7.inc b/meta/recipes-devtools/libtool/libtool-2.4.7.inc
deleted file mode 100644
index 16bb10d48f..0000000000
--- a/meta/recipes-devtools/libtool/libtool-2.4.7.inc
+++ /dev/null
@@ -1,52 +0,0 @@
1SUMMARY = "Generic library support script"
2DESCRIPTION = "This is GNU libtool, a generic library support script. \
3Libtool hides the complexity of generating special library types \
4(such as shared libraries) behind a consistent interface."
5HOMEPAGE = "http://www.gnu.org/software/libtool/libtool.html"
6SECTION = "devel"
7LICENSE = "GPL-2.0-only & LGPL-2.1-only"
8LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
9 file://libltdl/COPYING.LIB;md5=4fbd65380cdd255951079008b364516c "
10
11SRC_URI = "${GNU_MIRROR}/libtool/libtool-${PV}.tar.gz \
12 file://0001-ltmain.in-Handle-trailing-slashes-on-install-command.patch \
13 file://0002-libtool.m4-Rename-the-with-sysroot-option-to-avoid-c.patch \
14 file://0003-ltmain.in-Add-missing-sysroot-to-library-path.patch \
15 file://0004-ltmain.sh-Fix-sysroot-paths-being-encoded-into-RPATH.patch \
16 file://0005-ltmain.in-Don-t-encode-RATHS-which-match-default-lin.patch \
17 file://dont-depend-on-help2man.patch \
18 file://0003-libtool.m4-Cleanup-sysroot-trailing.patch \
19 file://0006-libtool.m4-Handle-as-a-sysroot-correctly.patch \
20 file://nohardcodepaths.patch \
21 file://0007-libtool-Fix-support-for-NIOS2-processor.patch \
22 file://0008-libtool-Check-for-static-libs-for-internal-compiler-.patch \
23 file://0009-Makefile.am-make-sure-autoheader-run-before-autoconf.patch \
24 file://0010-Makefile.am-make-sure-autoheader-run-before-automake.patch \
25 file://0011-ltmain.in-Handle-prefix-map-compiler-options-correct.patch \
26 file://0012-libtool.m4-For-reproducibility-stop-encoding-hostnam.patch \
27 file://0001-ltmain.in-Parse-additional-clang-options.patch \
28 "
29
30SRC_URI[sha256sum] = "04e96c2404ea70c590c546eba4202a4e12722c640016c12b9b2f1ce3d481e9a8"
31
32do_compile:prepend () {
33 # Sometimes this file doesn't get rebuilt, force the issue
34 rm -f ${S}/build-aux/ltmain.sh
35 make build-aux/ltmain.sh
36 ./config.status
37}
38
39inherit autotools texinfo
40EXTRA_AUTORECONF = "--exclude=libtoolize"
41
42CACHED_CONFIGUREVARS += "ac_cv_path_GREP=grep"
43
44DEPENDS = "libtool-native"
45
46PACKAGES =+ "libltdl"
47FILES:${PN} += "${datadir}/aclocal"
48
49FILES:${PN}-dev:remove = "${datadir}/aclocal"
50FILES:libltdl = "${libdir}/libltdl${SOLIBS}"
51
52export CONFIG_SHELL="/bin/bash"
diff --git a/meta/recipes-devtools/libtool/libtool-2.5.4.inc b/meta/recipes-devtools/libtool/libtool-2.5.4.inc
new file mode 100644
index 0000000000..4d9a822de2
--- /dev/null
+++ b/meta/recipes-devtools/libtool/libtool-2.5.4.inc
@@ -0,0 +1,36 @@
1SUMMARY = "Generic library support script"
2DESCRIPTION = "This is GNU libtool, a generic library support script. \
3Libtool hides the complexity of generating special library types \
4(such as shared libraries) behind a consistent interface."
5HOMEPAGE = "http://www.gnu.org/software/libtool/libtool.html"
6SECTION = "devel"
7LICENSE = "GPL-2.0-only & LGPL-2.1-only"
8LIC_FILES_CHKSUM = "file://COPYING;md5=570a9b3749dd0463a1778803b12a6dce \
9 file://libltdl/COPYING.LIB;md5=4bf661c1e3793e55c8d1051bc5e0ae21 "
10
11SRC_URI = "${GNU_MIRROR}/libtool/libtool-${PV}.tar.gz \
12 file://0001-ltmain.sh-Fix-sysroot-paths-being-encoded-into-RPATH.patch \
13 file://0002-ltmain.in-Don-t-encode-RATHS-which-match-default-lin.patch \
14 file://0003-libtool-remove-help2man-dependency.patch \
15 file://0004-libtool.m4-Change-libtool-to-handle-sysroots-by-defa.patch \
16 file://0005-libtool-Check-for-static-libs-for-internal-compiler-.patch \
17 file://0006-libtool-Fix-tools-path-issues.patch \
18 file://0007-libtool-Fix-problem-with-libtoolize-in-multilib.patch \
19 "
20
21SRC_URI[sha256sum] = "da8ebb2ce4dcf46b90098daf962cffa68f4b4f62ea60f798d0ef12929ede6adf"
22
23inherit autotools texinfo
24EXTRA_AUTORECONF = "--exclude=libtoolize"
25
26CACHED_CONFIGUREVARS += "ac_cv_path_GREP=grep"
27
28DEPENDS = "libtool-native"
29
30PACKAGES =+ "libltdl"
31FILES:${PN} += "${datadir}/aclocal"
32
33FILES:${PN}-dev:remove = "${datadir}/aclocal"
34FILES:libltdl = "${libdir}/libltdl${SOLIBS}"
35
36export CONFIG_SHELL = "/bin/bash"
diff --git a/meta/recipes-devtools/libtool/libtool-cross_2.4.7.bb b/meta/recipes-devtools/libtool/libtool-cross_2.5.4.bb
index 93f1dd7825..33ea706adb 100644
--- a/meta/recipes-devtools/libtool/libtool-cross_2.4.7.bb
+++ b/meta/recipes-devtools/libtool/libtool-cross_2.5.4.bb
@@ -1,19 +1,12 @@
1require libtool-${PV}.inc 1require libtool-${PV}.inc
2 2
3PACKAGES = "" 3PACKAGES = ""
4SRC_URI += "file://fixinstall.patch" 4SRC_URI += "file://0008-libtool-Avoid-relinking-when-cross-compiling-its-poi.patch"
5 5
6datadir = "${STAGING_DIR_TARGET}${target_datadir}" 6datadir = "${STAGING_DIR_TARGET}${target_datadir}"
7 7
8inherit nopackages 8inherit nopackages
9 9
10do_configure:prepend () {
11 # Remove any existing libtool m4 since old stale versions would break
12 # any upgrade
13 rm -f ${STAGING_DATADIR}/aclocal/libtool.m4
14 rm -f ${STAGING_DATADIR}/aclocal/lt*.m4
15}
16
17# 10#
18# ccache may or may not be INHERITED, we remove references to it so the sstate 11# ccache may or may not be INHERITED, we remove references to it so the sstate
19# artefact works on a machine where its not present. libtool-cross isn't used 12# artefact works on a machine where its not present. libtool-cross isn't used
diff --git a/meta/recipes-devtools/libtool/libtool-native_2.4.7.bb b/meta/recipes-devtools/libtool/libtool-native_2.4.7.bb
deleted file mode 100644
index 19024f7830..0000000000
--- a/meta/recipes-devtools/libtool/libtool-native_2.4.7.bb
+++ /dev/null
@@ -1,20 +0,0 @@
1require libtool-${PV}.inc
2
3DEPENDS = ""
4
5inherit native
6
7EXTRA_OECONF = " --with-libtool-sysroot=${STAGING_DIR_NATIVE}"
8
9do_configure:prepend () {
10 # Remove any existing libtool m4 since old stale versions would break
11 # any upgrade
12 rm -f ${STAGING_DATADIR}/aclocal/libtool.m4
13 rm -f ${STAGING_DATADIR}/aclocal/lt*.m4
14}
15
16do_install () {
17 autotools_do_install
18 install -d ${D}${bindir}/
19 install -m 0755 libtool ${D}${bindir}/libtool
20}
diff --git a/meta/recipes-devtools/libtool/libtool-native_2.5.4.bb b/meta/recipes-devtools/libtool/libtool-native_2.5.4.bb
new file mode 100644
index 0000000000..be96b52dd6
--- /dev/null
+++ b/meta/recipes-devtools/libtool/libtool-native_2.5.4.bb
@@ -0,0 +1,11 @@
1require libtool-${PV}.inc
2
3DEPENDS = ""
4
5inherit native
6
7do_install () {
8 autotools_do_install
9 install -d ${D}${bindir}/
10 install -m 0755 libtool ${D}${bindir}/libtool
11}
diff --git a/meta/recipes-devtools/libtool/libtool/0001-ltmain.in-Handle-trailing-slashes-on-install-command.patch b/meta/recipes-devtools/libtool/libtool/0001-ltmain.in-Handle-trailing-slashes-on-install-command.patch
deleted file mode 100644
index 51c0c52da8..0000000000
--- a/meta/recipes-devtools/libtool/libtool/0001-ltmain.in-Handle-trailing-slashes-on-install-command.patch
+++ /dev/null
@@ -1,39 +0,0 @@
1From: Richard Purdie <richard.purdie@linuxfoundation.org>
2Subject: [PATCH 01/12] ltmain.in: Handle trailing slashes on install commands correctly
3
4A command like:
5
6libtool --mode=install /usr/bin/install -c gck-roots-store-standalone.la '/image/usr/lib/gnome-keyring/standalone/'
7
8where the path ends with a trailing slash currently fails. This occurs in
9software like gnome-keyring or pulseaudio and is because the comparision
10code doesn't see the paths as equal. Strip both paths to ensure this works
11reliably.
12
13Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14
15Upstream-Status: Submitted [https://lists.gnu.org/archive/html/libtool-patches/2021-10/msg00010.html]
16
17diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
18index a5f21a1..f884824 100644
19--- a/build-aux/ltmain.in
20+++ b/build-aux/ltmain.in
21@@ -2381,8 +2381,14 @@ func_mode_install ()
22 func_append dir "$objdir"
23
24 if test -n "$relink_command"; then
25+ # Strip any trailing slash from the destination.
26+ func_stripname '' '/' "$libdir"
27+ destlibdir=$func_stripname_result
28+ func_stripname '' '/' "$destdir"
29+ s_destdir=$func_stripname_result
30+
31 # Determine the prefix the user has applied to our future dir.
32- inst_prefix_dir=`$ECHO "$destdir" | $SED -e "s%$libdir\$%%"`
33+ inst_prefix_dir=`$ECHO "X$s_destdir" | $Xsed -e "s%$destlibdir\$%%"`
34
35 # Don't allow the user to place us outside of our expected
36 # location b/c this prevents finding dependent libraries that
37--
382.25.1
39
diff --git a/meta/recipes-devtools/libtool/libtool/0001-ltmain.in-Parse-additional-clang-options.patch b/meta/recipes-devtools/libtool/libtool/0001-ltmain.in-Parse-additional-clang-options.patch
deleted file mode 100644
index c52083327c..0000000000
--- a/meta/recipes-devtools/libtool/libtool/0001-ltmain.in-Parse-additional-clang-options.patch
+++ /dev/null
@@ -1,33 +0,0 @@
1ltmain.in: Parse additional clang options
2
3clang uses -rtlib and --unwindlib to select proper compiler
4runtime in some cases. Therefore pass these options to linker when found in
5ldflags
6
7* build-aux/ltmain.in: Handle clang linker options
8
9Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10Upstream-Status: Backport [https://git.savannah.gnu.org/cgit/libtool.git/commit/?id=725646bf095bf5c07c49ae38dd060f95bd95ae3c]
11
12---
13 build-aux/ltmain.in | 4 +++-
14 1 file changed, 3 insertions(+), 1 deletion(-)
15
16diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
17index 037f009..ba5c816 100644
18--- a/build-aux/ltmain.in
19+++ b/build-aux/ltmain.in
20@@ -5414,10 +5414,12 @@ func_mode_link ()
21 # -fsanitize=* Clang/GCC memory and address sanitizer
22 # -fuse-ld=* Linker select flags for GCC
23 # -f{file|debug|macro|profile}-prefix-map* needed for lto linking
24+ # -rtlib=* select c runtime lib with clang
25+ # --unwindlib=* select unwinder library with clang
26 # -Wa,* Pass flags directly to the assembler
27 -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
28 -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
29- -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \
30+ -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*|-rtlib=*|--unwindlib=*| \
31 -specs=*|-fsanitize=*|-fuse-ld=*|-ffile-prefix-map=*|-fdebug-prefix-map=*|-fmacro-prefix-map=*|-fprofile-prefix-map=*|-Wa,*)
32 func_quote_arg pretty "$arg"
33 arg=$func_quote_arg_result
diff --git a/meta/recipes-devtools/libtool/libtool/0004-ltmain.sh-Fix-sysroot-paths-being-encoded-into-RPATH.patch b/meta/recipes-devtools/libtool/libtool/0001-ltmain.sh-Fix-sysroot-paths-being-encoded-into-RPATH.patch
index 9203302182..bcffb7d1ae 100644
--- a/meta/recipes-devtools/libtool/libtool/0004-ltmain.sh-Fix-sysroot-paths-being-encoded-into-RPATH.patch
+++ b/meta/recipes-devtools/libtool/libtool/0001-ltmain.sh-Fix-sysroot-paths-being-encoded-into-RPATH.patch
@@ -1,5 +1,7 @@
1From 16354097285634daf0240d428bc49fba95c3a291 Mon Sep 17 00:00:00 2001
1From: Richard Purdie <richard.purdie@linuxfoundation.org> 2From: Richard Purdie <richard.purdie@linuxfoundation.org>
2Subject: [PATCH 04/12] ltmain.sh: Fix sysroot paths being encoded into RPATHs 3Date: Tue, 26 Nov 2024 09:57:35 +0000
4Subject: [PATCH 1/7] ltmain.sh: Fix sysroot paths being encoded into RPATHs
3 5
4There is a bug where RPATHs could end up containing sysroot values when 6There is a bug where RPATHs could end up containing sysroot values when
5cross compiling which is obviously incorrect. Strip out sysroot components 7cross compiling which is obviously incorrect. Strip out sysroot components
@@ -8,12 +10,15 @@ from libdir when building RPATH values to avoid this.
8Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> 10Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 11
10Upstream-Status: Submitted [https://lists.gnu.org/archive/html/libtool-patches/2021-10/msg00009.html] 12Upstream-Status: Submitted [https://lists.gnu.org/archive/html/libtool-patches/2021-10/msg00009.html]
13---
14 build-aux/ltmain.in | 14 ++++++++++++--
15 1 file changed, 12 insertions(+), 2 deletions(-)
11 16
12diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in 17diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
13index 25a91de..40cb94a 100644 18index fa157775..c31faebd 100644
14--- a/build-aux/ltmain.in 19--- a/build-aux/ltmain.in
15+++ b/build-aux/ltmain.in 20+++ b/build-aux/ltmain.in
16@@ -7682,9 +7682,11 @@ EOF 21@@ -7764,9 +7764,11 @@ func_mode_link ()
17 test relink = "$opt_mode" || rpath=$compile_rpath$rpath 22 test relink = "$opt_mode" || rpath=$compile_rpath$rpath
18 for libdir in $rpath; do 23 for libdir in $rpath; do
19 if test -n "$hardcode_libdir_flag_spec"; then 24 if test -n "$hardcode_libdir_flag_spec"; then
@@ -27,7 +32,7 @@ index 25a91de..40cb94a 100644
27 if test -z "$hardcode_libdirs"; then 32 if test -z "$hardcode_libdirs"; then
28 hardcode_libdirs=$libdir 33 hardcode_libdirs=$libdir
29 else 34 else
30@@ -8414,6 +8416,10 @@ EOF 35@@ -8496,6 +8498,10 @@ func_mode_link ()
31 hardcode_libdirs= 36 hardcode_libdirs=
32 for libdir in $compile_rpath $finalize_rpath; do 37 for libdir in $compile_rpath $finalize_rpath; do
33 if test -n "$hardcode_libdir_flag_spec"; then 38 if test -n "$hardcode_libdir_flag_spec"; then
@@ -38,7 +43,7 @@ index 25a91de..40cb94a 100644
38 if test -n "$hardcode_libdir_separator"; then 43 if test -n "$hardcode_libdir_separator"; then
39 if test -z "$hardcode_libdirs"; then 44 if test -z "$hardcode_libdirs"; then
40 hardcode_libdirs=$libdir 45 hardcode_libdirs=$libdir
41@@ -8465,6 +8471,10 @@ EOF 46@@ -8547,6 +8553,10 @@ func_mode_link ()
42 hardcode_libdirs= 47 hardcode_libdirs=
43 for libdir in $finalize_rpath; do 48 for libdir in $finalize_rpath; do
44 if test -n "$hardcode_libdir_flag_spec"; then 49 if test -n "$hardcode_libdir_flag_spec"; then
@@ -50,5 +55,5 @@ index 25a91de..40cb94a 100644
50 if test -z "$hardcode_libdirs"; then 55 if test -z "$hardcode_libdirs"; then
51 hardcode_libdirs=$libdir 56 hardcode_libdirs=$libdir
52-- 57--
532.25.1 582.39.5
54 59
diff --git a/meta/recipes-devtools/libtool/libtool/0002-libtool.m4-Rename-the-with-sysroot-option-to-avoid-c.patch b/meta/recipes-devtools/libtool/libtool/0002-libtool.m4-Rename-the-with-sysroot-option-to-avoid-c.patch
deleted file mode 100644
index 2126f82953..0000000000
--- a/meta/recipes-devtools/libtool/libtool/0002-libtool.m4-Rename-the-with-sysroot-option-to-avoid-c.patch
+++ /dev/null
@@ -1,170 +0,0 @@
1From: Khem Raj <raj.khem@gmail.com>
2Subject: [PATCH 02/12] libtool.m4: Rename the --with-sysroot option to avoid conflict with gcc/binutils
3
4This patch renames the --with-sysroot option to --with-libtool-sysroot
5to avoid namespace conflict with binutils, gcc and other toolchain
6components since these componets also add that option to configure
7and this becomes confusing and conflicting otherwise.
8
9Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10
11Upstream report:
12http://lists.gnu.org/archive/html/libtool/2010-10/msg00048.html
13
14Upstream-Status: Submitted [https://lists.gnu.org/archive/html/libtool-patches/2021-10/msg00014.html]
15
16Index: libtool-2.4.7/m4/libtool.m4
17===================================================================
18--- libtool-2.4.7.orig/m4/libtool.m4
19+++ libtool-2.4.7/m4/libtool.m4
20@@ -1244,28 +1244,28 @@ _LT_DECL([], [ECHO], [1], [An echo progr
21 AC_DEFUN([_LT_WITH_SYSROOT],
22 [m4_require([_LT_DECL_SED])dnl
23 AC_MSG_CHECKING([for sysroot])
24-AC_ARG_WITH([sysroot],
25-[AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@],
26+AC_ARG_WITH([libtool-sysroot],
27+[AS_HELP_STRING([--with-libtool-sysroot@<:@=DIR@:>@],
28 [Search for dependent libraries within DIR (or the compiler's sysroot
29 if not specified).])],
30-[], [with_sysroot=no])
31+[], [with_libtool_sysroot=no])
32
33 dnl lt_sysroot will always be passed unquoted. We quote it here
34 dnl in case the user passed a directory name.
35 lt_sysroot=
36-case $with_sysroot in #(
37+case $with_libtool_sysroot in #(
38 yes)
39 if test yes = "$GCC"; then
40 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
41 fi
42 ;; #(
43 /*)
44- lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
45+ lt_sysroot=`echo "$with_libtool_sysroot" | $SED -e "$sed_quote_subst"`
46 ;; #(
47 no|'')
48 ;; #(
49 *)
50- AC_MSG_RESULT([$with_sysroot])
51+ AC_MSG_RESULT([$with_libtool_sysroot])
52 AC_MSG_ERROR([The sysroot must be an absolute path.])
53 ;;
54 esac
55Index: libtool-2.4.7/tests/sysroot.at
56===================================================================
57--- libtool-2.4.7.orig/tests/sysroot.at
58+++ libtool-2.4.7/tests/sysroot.at
59@@ -65,7 +65,7 @@ while read file; do
60 done])
61
62 LDFLAGS="$LDFLAGS --sysroot=$sysroot -no-undefined"
63-configure_options="$configure_options --with-sysroot=$sysroot --prefix=$prefix"
64+configure_options="$configure_options --with-libtool-sysroot=$sysroot --prefix=$prefix"
65
66 #???
67 if test PATH = "$shlibpath_var"; then
68@@ -115,7 +115,7 @@ AM_INIT_AUTOMAKE([foreign])
69 AC_PROG_CC
70 AC_CONFIG_SRCDIR([lib2.c])
71 LT_INIT
72-sysroot=$with_sysroot
73+sysroot=$with_libtool_sysroot
74 AC_SUBST([sysroot])
75 AC_OUTPUT(Makefile)
76 ]])
77@@ -156,7 +156,7 @@ AM_INIT_AUTOMAKE([foreign])
78 AC_PROG_CC
79 AC_CONFIG_SRCDIR([prog.c])
80 LT_INIT
81-sysroot=$with_sysroot
82+sysroot=$with_libtool_sysroot
83 AC_SUBST([sysroot])
84 AC_OUTPUT(Makefile)
85 ]])
86diff --git a/tests/testsuite b/tests/testsuite
87index 24265e4..d388e3e 100755
88--- a/tests/testsuite
89+++ b/tests/testsuite
90@@ -48997,7 +48997,7 @@ $at_traceon; }
91
92
93 LDFLAGS="$LDFLAGS --sysroot=$sysroot -no-undefined"
94-configure_options="$configure_options --with-sysroot=$sysroot --prefix=$prefix"
95+configure_options="$configure_options --with-libtool-sysroot=$sysroot --prefix=$prefix"
96
97 #???
98 if test PATH = "$shlibpath_var"; then
99@@ -49211,7 +49211,7 @@ AM_INIT_AUTOMAKE([foreign])
100 AC_PROG_CC
101 AC_CONFIG_SRCDIR([lib2.c])
102 LT_INIT
103-sysroot=$with_sysroot
104+sysroot=$with_libtool_sysroot
105 AC_SUBST([sysroot])
106 AC_OUTPUT(Makefile)
107 _ATEOF
108@@ -49404,7 +49404,7 @@ AM_INIT_AUTOMAKE([foreign])
109 AC_PROG_CC
110 AC_CONFIG_SRCDIR([prog.c])
111 LT_INIT
112-sysroot=$with_sysroot
113+sysroot=$with_libtool_sysroot
114 AC_SUBST([sysroot])
115 AC_OUTPUT(Makefile)
116 _ATEOF
117@@ -49761,7 +49761,7 @@ $at_traceon; }
118
119
120 LDFLAGS="$LDFLAGS --sysroot=$sysroot -no-undefined"
121-configure_options="$configure_options --with-sysroot=$sysroot --prefix=$prefix"
122+configure_options="$configure_options --with-libtool-sysroot=$sysroot --prefix=$prefix"
123
124 #???
125 if test PATH = "$shlibpath_var"; then
126@@ -49975,7 +49975,7 @@ AM_INIT_AUTOMAKE([foreign])
127 AC_PROG_CC
128 AC_CONFIG_SRCDIR([lib2.c])
129 LT_INIT
130-sysroot=$with_sysroot
131+sysroot=$with_libtool_sysroot
132 AC_SUBST([sysroot])
133 AC_OUTPUT(Makefile)
134 _ATEOF
135@@ -50168,7 +50168,7 @@ AM_INIT_AUTOMAKE([foreign])
136 AC_PROG_CC
137 AC_CONFIG_SRCDIR([prog.c])
138 LT_INIT
139-sysroot=$with_sysroot
140+sysroot=$with_libtool_sysroot
141 AC_SUBST([sysroot])
142 AC_OUTPUT(Makefile)
143 _ATEOF
144@@ -50525,7 +50525,7 @@ $at_traceon; }
145
146
147 LDFLAGS="$LDFLAGS --sysroot=$sysroot -no-undefined"
148-configure_options="$configure_options --with-sysroot=$sysroot --prefix=$prefix"
149+configure_options="$configure_options --with-libtool-sysroot=$sysroot --prefix=$prefix"
150
151 #???
152 if test PATH = "$shlibpath_var"; then
153@@ -50739,7 +50739,7 @@ AM_INIT_AUTOMAKE([foreign])
154 AC_PROG_CC
155 AC_CONFIG_SRCDIR([lib2.c])
156 LT_INIT
157-sysroot=$with_sysroot
158+sysroot=$with_libtool_sysroot
159 AC_SUBST([sysroot])
160 AC_OUTPUT(Makefile)
161 _ATEOF
162@@ -50932,7 +50932,7 @@ AM_INIT_AUTOMAKE([foreign])
163 AC_PROG_CC
164 AC_CONFIG_SRCDIR([prog.c])
165 LT_INIT
166-sysroot=$with_sysroot
167+sysroot=$with_libtool_sysroot
168 AC_SUBST([sysroot])
169 AC_OUTPUT(Makefile)
170 _ATEOF
diff --git a/meta/recipes-devtools/libtool/libtool/0005-ltmain.in-Don-t-encode-RATHS-which-match-default-lin.patch b/meta/recipes-devtools/libtool/libtool/0002-ltmain.in-Don-t-encode-RATHS-which-match-default-lin.patch
index 8b6352b01b..2ece455969 100644
--- a/meta/recipes-devtools/libtool/libtool/0005-ltmain.in-Don-t-encode-RATHS-which-match-default-lin.patch
+++ b/meta/recipes-devtools/libtool/libtool/0002-ltmain.in-Don-t-encode-RATHS-which-match-default-lin.patch
@@ -1,5 +1,8 @@
1From 59b6032698d10306ffb3be3cbf76690409d7f9a6 Mon Sep 17 00:00:00 2001
1From: Richard Purdie <richard.purdie@linuxfoundation.org> 2From: Richard Purdie <richard.purdie@linuxfoundation.org>
2Subject: [PATCH 05/12] ltmain.in: Don't encode RATHS which match default linker paths 3Date: Tue, 26 Nov 2024 09:57:36 +0000
4Subject: [PATCH 2/7] ltmain.in: Don't encode RATHS which match default linker
5 paths
3 6
4We don't want to add RPATHS which match default linker search paths, they're 7We don't want to add RPATHS which match default linker search paths, they're
5a waste of space. This patch filters libtools list of paths to encoode and 8a waste of space. This patch filters libtools list of paths to encoode and
@@ -11,12 +14,15 @@ the paths before comparision.
11Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> 14Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 15
13Upstream-Status: Submitted [https://lists.gnu.org/archive/html/libtool-patches/2021-10/msg00013.html] 16Upstream-Status: Submitted [https://lists.gnu.org/archive/html/libtool-patches/2021-10/msg00013.html]
17---
18 build-aux/ltmain.in | 34 ++++++++++++++++++++++++++++------
19 1 file changed, 28 insertions(+), 6 deletions(-)
14 20
15diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in 21diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
16index 40cb94a..2fa055e 100644 22index c31faebd..44c7d81e 100644
17--- a/build-aux/ltmain.in 23--- a/build-aux/ltmain.in
18+++ b/build-aux/ltmain.in 24+++ b/build-aux/ltmain.in
19@@ -7700,8 +7700,16 @@ EOF 25@@ -7782,8 +7782,16 @@ func_mode_link ()
20 esac 26 esac
21 fi 27 fi
22 else 28 else
@@ -35,7 +41,7 @@ index 40cb94a..2fa055e 100644
35 fi 41 fi
36 elif test -n "$runpath_var"; then 42 elif test -n "$runpath_var"; then
37 case "$perm_rpath " in 43 case "$perm_rpath " in
38@@ -8434,8 +8442,16 @@ EOF 44@@ -8516,8 +8524,16 @@ func_mode_link ()
39 esac 45 esac
40 fi 46 fi
41 else 47 else
@@ -54,7 +60,7 @@ index 40cb94a..2fa055e 100644
54 fi 60 fi
55 elif test -n "$runpath_var"; then 61 elif test -n "$runpath_var"; then
56 case "$perm_rpath " in 62 case "$perm_rpath " in
57@@ -8489,8 +8505,14 @@ EOF 63@@ -8571,8 +8587,14 @@ func_mode_link ()
58 esac 64 esac
59 fi 65 fi
60 else 66 else
@@ -72,5 +78,5 @@ index 40cb94a..2fa055e 100644
72 elif test -n "$runpath_var"; then 78 elif test -n "$runpath_var"; then
73 case "$finalize_perm_rpath " in 79 case "$finalize_perm_rpath " in
74-- 80--
752.25.1 812.39.5
76 82
diff --git a/meta/recipes-devtools/libtool/libtool/dont-depend-on-help2man.patch b/meta/recipes-devtools/libtool/libtool/0003-libtool-remove-help2man-dependency.patch
index 0013d16544..b174827eef 100644
--- a/meta/recipes-devtools/libtool/libtool/dont-depend-on-help2man.patch
+++ b/meta/recipes-devtools/libtool/libtool/0003-libtool-remove-help2man-dependency.patch
@@ -1,13 +1,21 @@
1From e3e8422333239c47ad613e2f41ee04244556d3be Mon Sep 17 00:00:00 2001
2From: Marko Lindqvist <cazfi74@gmail.com>
3Date: Mon, 7 Jan 2013 01:49:28 +0200
4Subject: [PATCH 3/7] libtool: remove help2man dependency
5
1Upstream-Status: Inappropriate 6Upstream-Status: Inappropriate
2 7
3Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> 8Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
4Updated by: Robert Yang <liezhi.yang@windriver.com> 9Updated by: Robert Yang <liezhi.yang@windriver.com>
10---
11 Makefile.am | 17 -----------------
12 1 file changed, 17 deletions(-)
5 13
6diff --git a/Makefile.am b/Makefile.am 14diff --git a/Makefile.am b/Makefile.am
7index 7bd7f72..c29860e 100644 15index 51c1fbdb..4962c3ad 100644
8--- a/Makefile.am 16--- a/Makefile.am
9+++ b/Makefile.am 17+++ b/Makefile.am
10@@ -411,21 +411,6 @@ $(notes_txt): $(notes_texi) 18@@ -408,23 +408,6 @@ $(notes_txt): $(notes_texi)
11 $(AM_V_GEN)$(MAKEINFO) -P '$(srcdir)/doc' --no-headers \ 19 $(AM_V_GEN)$(MAKEINFO) -P '$(srcdir)/doc' --no-headers \
12 $(MAKEINFOFLAGS) -o '$@' '$(notes_texi)' 20 $(MAKEINFOFLAGS) -o '$@' '$(notes_texi)'
13 21
@@ -22,10 +30,15 @@ index 7bd7f72..c29860e 100644
22-# manual pages if the sources for the build-tree files we want to 30-# manual pages if the sources for the build-tree files we want to
23-# run have changed. 31-# run have changed.
24-$(libtool_1): $(ltmain_sh) 32-$(libtool_1): $(ltmain_sh)
25- $(AM_V_GEN)$(update_mans) --help-option=--help-all libtool 33- $(AM_V_GEN)$(update_mans) -n 'Provide generalized library-building support services' --help-option=--help-all libtool
26-$(libtoolize_1): $(libtoolize_in) 34-$(libtoolize_1): $(libtoolize_in)
27- $(AM_V_GEN)$(update_mans) libtoolize 35- $(AM_V_GEN)$(update_mans) -n 'Prepare a package to use libtool' libtoolize
36-
37-
28- 38-
29
30 ## ------------- ## 39 ## ------------- ##
31 ## Installation. ## 40 ## Installation. ##
41 ## ------------- ##
42--
432.39.5
44
diff --git a/meta/recipes-devtools/libtool/libtool/0003-libtool.m4-Cleanup-sysroot-trailing.patch b/meta/recipes-devtools/libtool/libtool/0003-libtool.m4-Cleanup-sysroot-trailing.patch
deleted file mode 100644
index 6d922382ef..0000000000
--- a/meta/recipes-devtools/libtool/libtool/0003-libtool.m4-Cleanup-sysroot-trailing.patch
+++ /dev/null
@@ -1,37 +0,0 @@
1libtool.m4: Cleanup sysroot trailing "/"
2
3If $CC has --sysroot=/, it is a valid configuration however libtool will
4then set lt_sysroot to "/".
5
6This means references like $lt_sysroot$libdir become //usr/lib instead
7of the more normally expected /usr/lib. This may or may not break something
8but certainly is confusing to the user and gives confusing output. Making
9"/" simply unset lt_sysroot is much cleaner.
10
11Whilst here, trim any trailing '/' from sysroot paths to drop the duplication
12and result in cleaner/consistent output.
13
14* m4/libtool.m4: Cleanup sysroot trailing '/' handling
15
16Upstream-Status: Backport [https://git.savannah.gnu.org/cgit/libtool.git/commit/?id=365805327c7b9bbdb0e622b954b6b0d8eaeb3f99]
17Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18
19---
20 m4/libtool.m4 | 4 +++-
21 1 file changed, 3 insertions(+), 1 deletion(-)
22
23diff --git a/m4/libtool.m4 b/m4/libtool.m4
24index fa1ae91..2f31d24 100644
25--- a/m4/libtool.m4
26+++ b/m4/libtool.m4
27@@ -1256,7 +1256,9 @@ lt_sysroot=
28 case $with_libtool_sysroot in #(
29 yes)
30 if test yes = "$GCC"; then
31- lt_sysroot=`$CC --print-sysroot 2>/dev/null`
32+ # Trim trailing / since we'll always append absolute paths and we want
33+ # to avoid //, if only for less confusing output for the user.
34+ lt_sysroot=`$CC --print-sysroot 2>/dev/null | $SED 's:/\+$::'`
35 fi
36 ;; #(
37 /*)
diff --git a/meta/recipes-devtools/libtool/libtool/0003-ltmain.in-Add-missing-sysroot-to-library-path.patch b/meta/recipes-devtools/libtool/libtool/0003-ltmain.in-Add-missing-sysroot-to-library-path.patch
deleted file mode 100644
index 35f48ef906..0000000000
--- a/meta/recipes-devtools/libtool/libtool/0003-ltmain.in-Add-missing-sysroot-to-library-path.patch
+++ /dev/null
@@ -1,28 +0,0 @@
1From: Khem Raj <raj.khem@gmail.com>
2Subject: [PATCH 03/12] ltmain.in: Add missing sysroot to library path
3
4When using a sysroot we should append it to libdir, which is helpful in
5cross builds as the system is staged in the sysroot. For normal builds,
6i.e. when lt_sysroot is not set, it will still behave the same and add
7-L/usr/lib to the relink command.
8
9Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10
11Upstream-Status: Submitted [https://lists.gnu.org/archive/html/libtool-patches/2021-10/msg00017.html]
12
13diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
14index f884824..25a91de 100644
15--- a/build-aux/ltmain.in
16+++ b/build-aux/ltmain.in
17@@ -6503,7 +6503,7 @@ func_mode_link ()
18 fi
19 else
20 # We cannot seem to hardcode it, guess we'll fake it.
21- add_dir=-L$libdir
22+ add_dir="-L$lt_sysroot$libdir"
23 # Try looking first in the location we're being installed to.
24 if test -n "$inst_prefix_dir"; then
25 case $libdir in
26--
272.25.1
28
diff --git a/meta/recipes-devtools/libtool/libtool/0006-libtool.m4-Handle-as-a-sysroot-correctly.patch b/meta/recipes-devtools/libtool/libtool/0004-libtool.m4-Change-libtool-to-handle-sysroots-by-defa.patch
index c104e904cc..e8fc1bff9c 100644
--- a/meta/recipes-devtools/libtool/libtool/0006-libtool.m4-Handle-as-a-sysroot-correctly.patch
+++ b/meta/recipes-devtools/libtool/libtool/0004-libtool.m4-Change-libtool-to-handle-sysroots-by-defa.patch
@@ -1,23 +1,25 @@
1libtool.m4: Change libtool to handle sysroots by default 1From 3bb376ff4832e2bd1aaee5530b4b926e3f7407c0 Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Sat, 14 Sep 2013 09:01:38 +0000
4Subject: [PATCH 4/7] libtool.m4: Change libtool to handle sysroots by default
2 5
3Rather than using no sysroot by default, always query gcc to obtain the sysroot. 6Rather than using no sysroot by default, always query gcc to obtain the sysroot.
4 7
5Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> 8Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 9
7Upstream-Status: Inappropriate [Upstream are unlikely to accept this change of default] 10Upstream-Status: Inappropriate [Upstream are unlikely to accept this change of default]
8
9--- 11---
10 m4/libtool.m4 | 6 +++--- 12 m4/libtool.m4 | 6 +++---
11 1 file changed, 3 insertions(+), 3 deletions(-) 13 1 file changed, 3 insertions(+), 3 deletions(-)
12 14
13diff --git a/m4/libtool.m4 b/m4/libtool.m4 15diff --git a/m4/libtool.m4 b/m4/libtool.m4
14index 2f31d24..bd90775 100644 16index 8d323b3e..3650c87c 100644
15--- a/m4/libtool.m4 17--- a/m4/libtool.m4
16+++ b/m4/libtool.m4 18+++ b/m4/libtool.m4
17@@ -1254,18 +1254,18 @@ dnl lt_sysroot will always be passed unquoted. We quote it here 19@@ -1288,18 +1288,18 @@ dnl lt_sysroot will always be passed unquoted. We quote it here
18 dnl in case the user passed a directory name. 20 dnl in case the user passed a directory name.
19 lt_sysroot= 21 lt_sysroot=
20 case $with_libtool_sysroot in #( 22 case $with_sysroot in #(
21- yes) 23- yes)
22+ no) 24+ no)
23 if test yes = "$GCC"; then 25 if test yes = "$GCC"; then
@@ -29,10 +31,13 @@ index 2f31d24..bd90775 100644
29+ yes|''|/) 31+ yes|''|/)
30+ ;; #( 32+ ;; #(
31 /*) 33 /*)
32 lt_sysroot=`echo "$with_libtool_sysroot" | $SED -e "$sed_quote_subst"` 34 lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
33 ;; #( 35 ;; #(
34- no|'') 36- no|'')
35- ;; #( 37- ;; #(
36 *) 38 *)
37 AC_MSG_RESULT([$with_libtool_sysroot]) 39 AC_MSG_RESULT([$with_sysroot])
38 AC_MSG_ERROR([The sysroot must be an absolute path.]) 40 AC_MSG_ERROR([The sysroot must be an absolute path.])
41--
422.39.5
43
diff --git a/meta/recipes-devtools/libtool/libtool/0008-libtool-Check-for-static-libs-for-internal-compiler-.patch b/meta/recipes-devtools/libtool/libtool/0005-libtool-Check-for-static-libs-for-internal-compiler-.patch
index c151c3b481..5a4411c8e5 100644
--- a/meta/recipes-devtools/libtool/libtool/0008-libtool-Check-for-static-libs-for-internal-compiler-.patch
+++ b/meta/recipes-devtools/libtool/libtool/0005-libtool-Check-for-static-libs-for-internal-compiler-.patch
@@ -1,5 +1,8 @@
1From 9f16cd0624641e489665415150792d9054af8a7a Mon Sep 17 00:00:00 2001
1From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
2Subject: [PATCH 08/12] libtool: Check for static libs for internal compiler libraries 3Date: Tue, 26 Nov 2024 09:57:39 +0000
4Subject: [PATCH 5/7] libtool: Check for static libs for internal compiler
5 libraries
3 6
4Libtool checks only for libraries linked as -l* when trying to 7Libtool checks only for libraries linked as -l* when trying to
5find internal compiler libraries. Clang, however uses the absolute 8find internal compiler libraries. Clang, however uses the absolute
@@ -14,20 +17,23 @@ https://crbug.com/749263
14https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27866 17https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27866
15 18
16Upstream-Status: Submitted [https://lists.gnu.org/archive/html/libtool-patches/2021-10/msg00016.html] 19Upstream-Status: Submitted [https://lists.gnu.org/archive/html/libtool-patches/2021-10/msg00016.html]
20---
21 m4/libtool.m4 | 2 +-
22 1 file changed, 1 insertion(+), 1 deletion(-)
17 23
18diff --git a/m4/libtool.m4 b/m4/libtool.m4 24diff --git a/m4/libtool.m4 b/m4/libtool.m4
19index bd90775..3794130 100644 25index 3650c87c..51493a10 100644
20--- a/m4/libtool.m4 26--- a/m4/libtool.m4
21+++ b/m4/libtool.m4 27+++ b/m4/libtool.m4
22@@ -7556,7 +7556,7 @@ if AC_TRY_EVAL(ac_compile); then 28@@ -7708,7 +7708,7 @@ if AC_TRY_EVAL(ac_compile); then
23 for p in `eval "$output_verbose_link_cmd"`; do 29 for p in `eval "$output_verbose_link_cmd"`; do
24 case $prev$p in 30 case $prev$p in
25 31
26- -L* | -R* | -l*) 32- -L* | -R* | -l*)
27+ -L* | -R* | -l* | */libclang_rt.*.a) 33+ -L* | -R* | -l* | */libclang_rt.*.a)
28 # Some compilers place space between "-{L,R}" and the path. 34 # Some compilers place space between "-{L,R,l}" and the path.
29 # Remove the space. 35 # Remove the space.
30 if test x-L = "$p" || 36 if test x-L = x"$p" ||
31-- 37--
322.25.1 382.39.5
33 39
diff --git a/meta/recipes-devtools/libtool/libtool/nohardcodepaths.patch b/meta/recipes-devtools/libtool/libtool/0006-libtool-Fix-tools-path-issues.patch
index fcbce7286b..9788433ab8 100644
--- a/meta/recipes-devtools/libtool/libtool/nohardcodepaths.patch
+++ b/meta/recipes-devtools/libtool/libtool/0006-libtool-Fix-tools-path-issues.patch
@@ -1,3 +1,8 @@
1From c04839effba0538c982422275c5cda5947aa0e85 Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Tue, 3 Feb 2015 14:24:58 +0000
4Subject: [PATCH 6/7] libtool: Fix tools path issues
5
1If for example you build on a machine with /bin/grep, then restore that sstate 6If for example you build on a machine with /bin/grep, then restore that sstate
2onto a machine with /usr/bin/grep, things will fail. Simply don't bother 7onto a machine with /usr/bin/grep, things will fail. Simply don't bother
3hardcoding paths. 8hardcoding paths.
@@ -5,11 +10,14 @@ hardcoding paths.
5RP 2015/2/3 10RP 2015/2/3
6 11
7Upstream-Status: Inappropriate 12Upstream-Status: Inappropriate
13---
14 libtoolize.in | 10 +++++-----
15 1 file changed, 5 insertions(+), 5 deletions(-)
8 16
9Index: libtool-2.4.5/libtoolize.in 17diff --git a/libtoolize.in b/libtoolize.in
10=================================================================== 18index 6c15aa57..8beb670e 100644
11--- libtool-2.4.5.orig/libtoolize.in 19--- a/libtoolize.in
12+++ libtool-2.4.5/libtoolize.in 20+++ b/libtoolize.in
13@@ -40,11 +40,11 @@ 21@@ -40,11 +40,11 @@
14 22
15 : ${AUTOCONF="autoconf"} 23 : ${AUTOCONF="autoconf"}
@@ -27,3 +35,6 @@ Index: libtool-2.4.5/libtoolize.in
27 35
28 36
29 ## -------------------------- ## 37 ## -------------------------- ##
38--
392.39.5
40
diff --git a/meta/recipes-devtools/libtool/libtool/multilib.patch b/meta/recipes-devtools/libtool/libtool/0007-libtool-Fix-problem-with-libtoolize-in-multilib.patch
index 018f066652..bcb372bbc1 100644
--- a/meta/recipes-devtools/libtool/libtool/multilib.patch
+++ b/meta/recipes-devtools/libtool/libtool/0007-libtool-Fix-problem-with-libtoolize-in-multilib.patch
@@ -1,3 +1,8 @@
1From 083cf39140cd894ea306b67411d6088c13a9e286 Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Mon, 30 Jul 2018 17:00:01 +0000
4Subject: [PATCH 7/7] libtool: Fix problem with libtoolize in multilib
5
1Without this patch /usr/bin/libtoolize is different for each multilib 6Without this patch /usr/bin/libtoolize is different for each multilib
2since their host-triplets are different, despite there being no difference in 7since their host-triplets are different, despite there being no difference in
3the functionality of libtoolize itself. 8the functionality of libtoolize itself.
@@ -7,17 +12,23 @@ libXX-libtool couldn't be installed into the same system.
7 12
8Upstream-Status: Inappropriate 13Upstream-Status: Inappropriate
9RP 2018/7/30 14RP 2018/7/30
15---
16 libtoolize.in | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
10 18
11Index: libtool-2.4.6/libtoolize.in 19diff --git a/libtoolize.in b/libtoolize.in
12=================================================================== 20index 8beb670e..c89a093c 100644
13--- libtool-2.4.6.orig/libtoolize.in 21--- a/libtoolize.in
14+++ libtool-2.4.6/libtoolize.in 22+++ b/libtoolize.in
15@@ -113,7 +113,7 @@ You must 'cd' to the top directory of yo 23@@ -139,7 +139,7 @@ You must 'cd' to the top directory of your package before you run
16 When reporting a bug, please describe a test case to reproduce it and 24 When reporting a bug, please describe a test case to reproduce it and
17 include the following information: 25 include the following information:
18 26
19- host-triplet: @host_triplet@ 27- host-triplet: @host_triplet@
20+ host-triplet <redacted> 28+ host-triplet <redacted>
21 version: $progname (GNU @PACKAGE@) @VERSION@ 29 version: $progname $scriptversion
22 automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q` 30 automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q`
23 autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q` 31 autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q`
32--
332.39.5
34
diff --git a/meta/recipes-devtools/libtool/libtool/0007-libtool-Fix-support-for-NIOS2-processor.patch b/meta/recipes-devtools/libtool/libtool/0007-libtool-Fix-support-for-NIOS2-processor.patch
deleted file mode 100644
index 676ce7fd1b..0000000000
--- a/meta/recipes-devtools/libtool/libtool/0007-libtool-Fix-support-for-NIOS2-processor.patch
+++ /dev/null
@@ -1,60 +0,0 @@
1libtool: Fix support for NIOS2 processor
2
3The name of the system contains the string "nios2". This string
4is caught by the some of the greedy checks for OS/2 in libtool,
5in particular the *os2* branches of switch statements match for
6the nios2 string, which results in incorrect behavior of libtool.
7
8Switch to use $host_os instead of $host and tweak the patterns to
9match to avoid this problem for nios2.
10
11* build-aux/ltmain.in: Fix NIOS2 support
12---
13 build-aux/ltmain.in | 12 ++++++------
14 1 file changed, 6 insertions(+), 6 deletions(-)
15
16Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17
18Submitted: https://lists.gnu.org/archive/html/libtool-patches/2021-10/msg00021.html
19Reworked and submitted: https://lists.gnu.org/archive/html/libtool-patches/2024-01/msg00068.html
20Upstream-Status: Backport [https://git.savannah.gnu.org/cgit/libtool.git/commit/?id=49e6cb0d4dfdca2a59b909dc4532fe22dbc57ad5]
21
22Index: libtool-2.4.7/build-aux/ltmain.in
23===================================================================
24--- libtool-2.4.7.orig/build-aux/ltmain.in
25+++ libtool-2.4.7/build-aux/ltmain.in
26@@ -518,10 +518,10 @@ libtool_validate_options ()
27 # preserve --debug
28 test : = "$debug_cmd" || func_append preserve_args " --debug"
29
30- case $host in
31+ case $host_os in
32 # Solaris2 added to fix http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16452
33 # see also: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59788
34- *cygwin* | *mingw* | *pw32* | *cegcc* | *solaris2* | *os2*)
35+ cygwin* | mingw* | pw32* | cegcc* | solaris2* | os2*)
36 # don't eliminate duplications in $postdeps and $predeps
37 opt_duplicate_compiler_generated_deps=:
38 ;;
39@@ -6273,8 +6273,8 @@ func_mode_link ()
40 fi
41 if test -n "$library_names" &&
42 { test no = "$use_static_libs" || test -z "$old_library"; }; then
43- case $host in
44- *cygwin* | *mingw* | *cegcc* | *os2*)
45+ case $host_os in
46+ cygwin* | mingw* | cegcc* | os2*)
47 # No point in relinking DLLs because paths are not encoded
48 func_append notinst_deplibs " $lib"
49 need_relink=no
50@@ -6343,8 +6343,8 @@ func_mode_link ()
51 soname=$dlname
52 elif test -n "$soname_spec"; then
53 # bleh windows
54- case $host in
55- *cygwin* | mingw* | *cegcc* | *os2*)
56+ case $host_os in
57+ cygwin* | mingw* | cegcc* | os2*)
58 func_arith $current - $age
59 major=$func_arith_result
60 versuffix=-$major
diff --git a/meta/recipes-devtools/libtool/libtool/fixinstall.patch b/meta/recipes-devtools/libtool/libtool/0008-libtool-Avoid-relinking-when-cross-compiling-its-poi.patch
index 48330d82fb..267c3ab140 100644
--- a/meta/recipes-devtools/libtool/libtool/fixinstall.patch
+++ b/meta/recipes-devtools/libtool/libtool/0008-libtool-Avoid-relinking-when-cross-compiling-its-poi.patch
@@ -1,5 +1,10 @@
1From 78eac8c99451681f4c403b3ea727ee61651a3c1a Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Wed, 16 Nov 2011 16:58:34 +0000
4Subject: [PATCH] libtool: Avoid relinking when cross compiling, its pointless
5
1There is no point in having "executable" binaries in the .libs 6There is no point in having "executable" binaries in the .libs
2directory linked with different rpaths to the target which 7directory linked with different rpaths to the target which
3could concivably be run on the build system when cross compiling. 8could concivably be run on the build system when cross compiling.
4 9
5This patch removes the extra rpaths ($compile_rpath) so that the 10This patch removes the extra rpaths ($compile_rpath) so that the
@@ -17,11 +22,15 @@ Upstream-Status: Inappropriate [upstream are unlikely to take a patch like this]
17RP 2011/11/16 22RP 2011/11/16
18 23
19Updated by: Robert Yang <liezhi.yang@windriver.com> 24Updated by: Robert Yang <liezhi.yang@windriver.com>
25---
26 build-aux/ltmain.in | 56 ++++++++++++++++++++++-----------------------
27 1 file changed, 28 insertions(+), 28 deletions(-)
20 28
21diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in 29diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
30index fa157775..816ea5a0 100644
22--- a/build-aux/ltmain.in 31--- a/build-aux/ltmain.in
23+++ b/build-aux/ltmain.in 32+++ b/build-aux/ltmain.in
24@@ -2355,7 +2355,7 @@ func_mode_install () 33@@ -2513,7 +2513,7 @@ func_mode_install ()
25 dir=$func_dirname_result 34 dir=$func_dirname_result
26 func_append dir "$objdir" 35 func_append dir "$objdir"
27 36
@@ -29,8 +38,8 @@ diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
29+ if test "$fast_install" = no && test -n "$relink_command"; then 38+ if test "$fast_install" = no && test -n "$relink_command"; then
30 # Strip any trailing slash from the destination. 39 # Strip any trailing slash from the destination.
31 func_stripname '' '/' "$libdir" 40 func_stripname '' '/' "$libdir"
32 destlibdir=$func_stripname_result 41 destlibdir=$func_stripname_result
33@@ -2394,7 +2394,7 @@ func_mode_install () 42@@ -2552,7 +2552,7 @@ func_mode_install ()
34 shift 43 shift
35 44
36 srcname=$realname 45 srcname=$realname
@@ -39,57 +48,69 @@ diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
39 48
40 # Install the shared library and build the symlinks. 49 # Install the shared library and build the symlinks.
41 func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \ 50 func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \
42@@ -6162,15 +6162,15 @@ func_mode_link () 51@@ -6411,18 +6411,18 @@ func_mode_link ()
43 # Hardcode the library path. 52 # Hardcode the library path.
44 # Skip directories that are in the system default run-time 53 # Skip directories that are in the system default run-time
45 # search path. 54 # search path.
46- case " $sys_lib_dlsearch_path " in 55- case " $sys_lib_dlsearch_path " in
47- *" $absdir "*) ;; 56- *" $absdir "*) ;;
48- *) 57- *)
49- case "$compile_rpath " in 58- case "$compile_rpath$compile_rpath_tail " in
50- *" $absdir "*) ;; 59- *" $absdir "*) ;;
51- *) func_append compile_rpath " $absdir" ;; 60- *) case $absdir in
61- "$progdir/"*) func_append compile_rpath " $absdir" ;;
62- *) func_append compile_rpath_tail " $absdir" ;;
63- esac
52- esac 64- esac
53- ;; 65- ;;
54- esac 66- esac
55+ #case " $sys_lib_dlsearch_path " in 67+ #case " $sys_lib_dlsearch_path " in
56+ #*" $absdir "*) ;; 68+ #*" $absdir "*) ;;
57+ #*) 69+ #*)
58+ # case "$compile_rpath " in 70+ # case "$compile_rpath$compile_rpath_tail " in
59+ # *" $absdir "*) ;; 71+ # *" $absdir "*) ;;
60+ # *) func_append compile_rpath " $absdir" ;; 72+ # *) case $absdir in
73+ # "$progdir/"*) func_append compile_rpath " $absdir" ;;
74+ # *) func_append compile_rpath_tail " $absdir" ;;
75+ # esac
61+ # esac 76+ # esac
62+ # ;; 77+ # ;;
63+ #esac 78+ #esac
64 case " $sys_lib_dlsearch_path " in 79 case " $sys_lib_dlsearch_path " in
65 *" $libdir "*) ;; 80 *" $libdir "*) ;;
66 *) 81 *)
67@@ -6236,15 +6236,15 @@ func_mode_link () 82@@ -6488,18 +6488,18 @@ func_mode_link ()
68 # Hardcode the library path. 83 # Hardcode the library path.
69 # Skip directories that are in the system default run-time 84 # Skip directories that are in the system default run-time
70 # search path. 85 # search path.
71- case " $sys_lib_dlsearch_path " in 86- case " $sys_lib_dlsearch_path " in
72- *" $absdir "*) ;; 87- *" $absdir "*) ;;
73- *) 88- *)
74- case "$compile_rpath " in 89- case "$compile_rpath$compile_rpath_tail " in
75- *" $absdir "*) ;; 90- *" $absdir "*) ;;
76- *) func_append compile_rpath " $absdir" ;; 91- *) case $absdir in
92- "$progdir/"*) func_append compile_rpath " $absdir" ;;
93- *) func_append compile_rpath_tail " $absdir" ;;
94- esac
77- esac 95- esac
78- ;; 96- ;;
79- esac 97- esac
80+ #case " $sys_lib_dlsearch_path " in 98+ #case " $sys_lib_dlsearch_path " in
81+ #*" $absdir "*) ;; 99+ #*" $absdir "*) ;;
82+ #*) 100+ #*)
83+ # case "$compile_rpath " in 101+ # case "$compile_rpath$compile_rpath_tail " in
84+ # *" $absdir "*) ;; 102+ # *" $absdir "*) ;;
85+ # *) func_append compile_rpath " $absdir" ;; 103+ # *) case $absdir in
104+ # "$progdir/"*) func_append compile_rpath " $absdir" ;;
105+ # *) func_append compile_rpath_tail " $absdir" ;;
106+ # esac
86+ # esac 107+ # esac
87+ # ;; 108+ # ;;
88+ #esac 109+ #esac
89 case " $sys_lib_dlsearch_path " in 110 case " $sys_lib_dlsearch_path " in
90 *" $libdir "*) ;; 111 *" $libdir "*) ;;
91 *) 112 *)
92@@ -6590,8 +6590,8 @@ func_mode_link () 113@@ -6843,8 +6843,8 @@ func_mode_link ()
93 eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` 114 eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
94 test -z "$libdir" && \ 115 test -z "$libdir" && \
95 func_fatal_error "'$deplib' is not a valid libtool archive" 116 func_fatal_error "'$deplib' is not a valid libtool archive"
@@ -100,3 +121,6 @@ diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
100 121
101 path=-L$absdir 122 path=-L$absdir
102 fi 123 fi
124--
1252.39.5
126
diff --git a/meta/recipes-devtools/libtool/libtool/0009-Makefile.am-make-sure-autoheader-run-before-autoconf.patch b/meta/recipes-devtools/libtool/libtool/0009-Makefile.am-make-sure-autoheader-run-before-autoconf.patch
deleted file mode 100644
index f51deecbef..0000000000
--- a/meta/recipes-devtools/libtool/libtool/0009-Makefile.am-make-sure-autoheader-run-before-autoconf.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1From: Mingli Yu <mingli.yu@windriver.com>
2Subject: [PATCH 09/12] Makefile.am: make sure autoheader run before autoconf
3
4autoheader will update ../libtool-2.4.6/libltdl/config-h.in which
5autoconf needs, so there comes a race sometimes as below:
6 | configure.ac:45: error: required file 'config-h.in' not found
7 | touch '../libtool-2.4.6/libltdl/config-h.in'
8
9So make sure autoheader run before autoconf to avoid this race.
10
11Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
12Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13
14Upstream-Status: Backport [https://git.savannah.gnu.org/cgit/libtool.git/commit/?id=e7dc729dd27b367905cd0ce52b5466d91537857a]
15
16diff --git a/Makefile.am b/Makefile.am
17index c29860e..9c34bfd 100644
18--- a/Makefile.am
19+++ b/Makefile.am
20@@ -370,7 +370,7 @@ lt_configure_deps = $(lt_aclocal_m4) $(lt_aclocal_m4_deps)
21 $(lt_aclocal_m4): $(lt_aclocal_m4_deps)
22 $(AM_V_GEN)cd '$(srcdir)/$(ltdl_dir)' && $(ACLOCAL) -I ../m4
23
24-$(lt_configure): $(lt_configure_deps)
25+$(lt_configure): $(lt_configure_deps) $(lt_config_h_in)
26 $(AM_V_GEN)cd '$(srcdir)/$(ltdl_dir)' && $(AUTOCONF)
27
28 $(lt_config_h_in): $(lt_configure_deps)
29--
302.25.1
31
diff --git a/meta/recipes-devtools/libtool/libtool/0010-Makefile.am-make-sure-autoheader-run-before-automake.patch b/meta/recipes-devtools/libtool/libtool/0010-Makefile.am-make-sure-autoheader-run-before-automake.patch
deleted file mode 100644
index e451de59e3..0000000000
--- a/meta/recipes-devtools/libtool/libtool/0010-Makefile.am-make-sure-autoheader-run-before-automake.patch
+++ /dev/null
@@ -1,33 +0,0 @@
1From: Mingli Yu <mingli.yu@windriver.com>
2Subject: [PATCH 10/12] Makefile.am: make sure autoheader run before automake
3
4When use automake to generate Makefile.in from Makefile.am, there
5comes below race:
6 | configure.ac:45: error: required file 'config-h.in' not found
7
8It is because the file config-h.in in updating process by autoheader,
9so make automake run after autoheader to avoid the above race.
10
11Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
12Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13
14Upstream-Status: Backport [https://git.savannah.gnu.org/cgit/libtool.git/commit/?id=e01c0bfe5e041418d84460901a1a5b11b89d596f]
15
16Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
17
18diff --git a/Makefile.am b/Makefile.am
19index 9c34bfd..231ef3f 100644
20--- a/Makefile.am
21+++ b/Makefile.am
22@@ -333,7 +333,7 @@ EXTRA_DIST += $(lt_aclocal_m4) \
23 $(lt_obsolete_m4) \
24 $(stamp_mk)
25
26-$(lt_Makefile_in): $(lt_Makefile_am) $(lt_aclocal_m4)
27+$(lt_Makefile_in): $(lt_Makefile_am) $(lt_aclocal_m4) $(lt_config_h_in)
28 $(AM_V_GEN)cd '$(srcdir)/$(ltdl_dir)' && $(AUTOMAKE) Makefile
29
30 # Don't let unused scripts leak into the libltdl Makefile
31--
322.25.1
33
diff --git a/meta/recipes-devtools/libtool/libtool/0011-ltmain.in-Handle-prefix-map-compiler-options-correct.patch b/meta/recipes-devtools/libtool/libtool/0011-ltmain.in-Handle-prefix-map-compiler-options-correct.patch
deleted file mode 100644
index 4c6b6f05b4..0000000000
--- a/meta/recipes-devtools/libtool/libtool/0011-ltmain.in-Handle-prefix-map-compiler-options-correct.patch
+++ /dev/null
@@ -1,37 +0,0 @@
1ltmain.in: Handle prefix-map compiler options correctly
2
3If lto is enabled, we need the prefix-map variables to be passed to the linker
4to correctly link the objects using correctly mapped paths.
5
6Add these to the list of options libtool passes through.
7
8* build-aux/ltmain.in: Handle prefix-map compiler options
9
10Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11
12https://lists.gnu.org/archive/html/libtool-patches/2021-10/msg00019.html
13https://lists.gnu.org/archive/html/libtool-patches/2024-01/msg00066.html
14Upstream-Status: Backport [https://git.savannah.gnu.org/cgit/libtool.git/commit/?id=cdf4bf702f11d17e06569936e8a433a77f791228]
15
16---
17 build-aux/ltmain.in | 3 ++-
18 1 file changed, 2 insertions(+), 1 deletion(-)
19
20diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
21index 0a50f5b..037f009 100644
22--- a/build-aux/ltmain.in
23+++ b/build-aux/ltmain.in
24@@ -5413,11 +5413,12 @@ func_mode_link ()
25 # -stdlib=* select c++ std lib with clang
26 # -fsanitize=* Clang/GCC memory and address sanitizer
27 # -fuse-ld=* Linker select flags for GCC
28+ # -f{file|debug|macro|profile}-prefix-map* needed for lto linking
29 # -Wa,* Pass flags directly to the assembler
30 -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
31 -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
32 -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \
33- -specs=*|-fsanitize=*|-fuse-ld=*|-Wa,*)
34+ -specs=*|-fsanitize=*|-fuse-ld=*|-ffile-prefix-map=*|-fdebug-prefix-map=*|-fmacro-prefix-map=*|-fprofile-prefix-map=*|-Wa,*)
35 func_quote_arg pretty "$arg"
36 arg=$func_quote_arg_result
37 func_append compile_command " $arg"
diff --git a/meta/recipes-devtools/libtool/libtool/0012-libtool.m4-For-reproducibility-stop-encoding-hostnam.patch b/meta/recipes-devtools/libtool/libtool/0012-libtool.m4-For-reproducibility-stop-encoding-hostnam.patch
deleted file mode 100644
index 8469b8727e..0000000000
--- a/meta/recipes-devtools/libtool/libtool/0012-libtool.m4-For-reproducibility-stop-encoding-hostnam.patch
+++ /dev/null
@@ -1,29 +0,0 @@
1From: Richard Purdie <richard.purdie@linuxfoundation.org>
2Subject: [PATCH 12/12] libtool.m4: For reproducibility stop encoding hostname in libtool script
3
4For reproducibilty, stop encoding the hostname into the libtool script, this isn't
5really adding much to debugging and most distros are carrying such a patch now as
6reproducibility is important.
7
8Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9
10https://sources.debian.org/data/main/libt/libtool/2.4.6-10/debian/patches/
11 no_hostname.patch
12
13Upstream-Status: Backport [https://git.savannah.gnu.org/cgit/libtool.git/commit/?id=bd826173c4c9c3fa8d77d92785754897cb4bfd89]
14
15diff --git a/m4/libtool.m4 b/m4/libtool.m4
16index 3794130..84a550c 100644
17--- a/m4/libtool.m4
18+++ b/m4/libtool.m4
19@@ -730,7 +730,6 @@ _LT_CONFIG_SAVE_COMMANDS([
20 cat <<_LT_EOF >> "$cfgfile"
21 #! $SHELL
22 # Generated automatically by $as_me ($PACKAGE) $VERSION
23-# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
24 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
25
26 # Provide generalized library-building support services.
27--
282.25.1
29
diff --git a/meta/recipes-devtools/libtool/libtool_2.5.4.bb b/meta/recipes-devtools/libtool/libtool_2.5.4.bb
new file mode 100644
index 0000000000..fa16d09d21
--- /dev/null
+++ b/meta/recipes-devtools/libtool/libtool_2.5.4.bb
@@ -0,0 +1,17 @@
1require libtool-${PV}.inc
2require remove-buildpaths.inc
3
4RDEPENDS:${PN} += "bash"
5
6#
7# We want the results of libtool-cross preserved - don't stage anything ourselves.
8#
9SYSROOT_DIRS_IGNORE += " \
10 ${bindir} \
11 ${datadir}/aclocal \
12 ${datadir}/libtool/build-aux \
13"
14
15inherit multilib_script
16
17MULTILIB_SCRIPTS = "${PN}:${bindir}/libtool"
diff --git a/meta/recipes-devtools/libtool/nativesdk-libtool_2.4.7.bb b/meta/recipes-devtools/libtool/nativesdk-libtool_2.5.4.bb
index 86c55ded7b..de556a5d81 100644
--- a/meta/recipes-devtools/libtool/nativesdk-libtool_2.4.7.bb
+++ b/meta/recipes-devtools/libtool/nativesdk-libtool_2.5.4.bb
@@ -1,21 +1,15 @@
1require libtool-${PV}.inc 1require libtool-${PV}.inc
2require remove-buildpaths.inc
2 3
3FILESEXTRAPATHS =. "${FILE_DIRNAME}/libtool:" 4FILESEXTRAPATHS =. "${FILE_DIRNAME}/libtool:"
4 5
5SRC_URI += "file://fixinstall.patch" 6SRC_URI += "file://0008-libtool-Avoid-relinking-when-cross-compiling-its-poi.patch"
6 7
7inherit nativesdk 8inherit nativesdk
8 9
9S = "${WORKDIR}/libtool-${PV}" 10S = "${UNPACKDIR}/libtool-${PV}"
10FILES:${PN} += "${datadir}/libtool/*" 11FILES:${PN} += "${datadir}/libtool/*"
11 12
12do_configure:prepend () {
13 # Remove any existing libtool m4 since old stale versions would break
14 # any upgrade
15 rm -f ${STAGING_DATADIR}/aclocal/libtool.m4
16 rm -f ${STAGING_DATADIR}/aclocal/lt*.m4
17}
18
19do_install () { 13do_install () {
20 autotools_do_install 14 autotools_do_install
21 install -d ${D}${bindir}/ 15 install -d ${D}${bindir}/
diff --git a/meta/recipes-devtools/libtool/libtool_2.4.7.bb b/meta/recipes-devtools/libtool/remove-buildpaths.inc
index 44a4950574..1ca95aeace 100644
--- a/meta/recipes-devtools/libtool/libtool_2.4.7.bb
+++ b/meta/recipes-devtools/libtool/remove-buildpaths.inc
@@ -1,20 +1,3 @@
1require libtool-${PV}.inc
2
3SRC_URI += "file://multilib.patch"
4
5RDEPENDS:${PN} += "bash"
6
7#
8# We want the results of libtool-cross preserved - don't stage anything ourselves.
9#
10SYSROOT_DIRS_IGNORE += " \
11 ${bindir} \
12 ${datadir}/aclocal \
13 ${datadir}/libtool/build-aux \
14"
15
16ACLOCALEXTRAPATH:class-target = ""
17
18do_install:append () { 1do_install:append () {
19 sed -e 's@--sysroot=${STAGING_DIR_HOST}@@g' \ 2 sed -e 's@--sysroot=${STAGING_DIR_HOST}@@g' \
20 -e "s@${DEBUG_PREFIX_MAP}@@g" \ 3 -e "s@${DEBUG_PREFIX_MAP}@@g" \
@@ -28,7 +11,3 @@ do_install:append () {
28 -e "s@${HOSTTOOLS_DIR}/@@g" \ 11 -e "s@${HOSTTOOLS_DIR}/@@g" \
29 -i ${D}${bindir}/libtool 12 -i ${D}${bindir}/libtool
30} 13}
31
32inherit multilib_script
33
34MULTILIB_SCRIPTS = "${PN}:${bindir}/libtool"
diff --git a/meta/recipes-devtools/llvm/llvm/0007-llvm-allow-env-override-of-exe-path.patch b/meta/recipes-devtools/llvm/llvm/0007-llvm-allow-env-override-of-exe-path.patch
deleted file mode 100644
index add38b3bb4..0000000000
--- a/meta/recipes-devtools/llvm/llvm/0007-llvm-allow-env-override-of-exe-path.patch
+++ /dev/null
@@ -1,37 +0,0 @@
1From 588a8694c6540e31140c7e242bfb5e279d6ca08c Mon Sep 17 00:00:00 2001
2From: Martin Kelly <mkelly@xevo.com>
3Date: Fri, 19 May 2017 00:22:57 -0700
4Subject: [PATCH] llvm: allow env override of exe and libdir path
5
6When using a native llvm-config from inside a sysroot, we need llvm-config to
7return the libraries, include directories, etc. from inside the sysroot rather
8than from the native sysroot. Thus provide an env override for calling
9llvm-config from a target sysroot.
10
11Upstream-Status: Inappropriate [OE-specific]
12
13Signed-off-by: Martin Kelly <mkelly@xevo.com>
14Signed-off-by: Khem Raj <raj.khem@gmail.com>
15---
16 llvm/tools/llvm-config/llvm-config.cpp | 25 +++++++++++++++++++------
17 1 file changed, 19 insertions(+), 6 deletions(-)
18
19diff --git a/llvm/tools/llvm-config/llvm-config.cpp b/llvm/tools/llvm-config/llvm-config.cpp
20index e86eb2b44b10..7b2abf318dbe 100644
21--- a/llvm/tools/llvm-config/llvm-config.cpp
22+++ b/llvm/tools/llvm-config/llvm-config.cpp
23@@ -246,6 +246,13 @@ Typical components:\n\
24
25 /// Compute the path to the main executable.
26 std::string GetExecutablePath(const char *Argv0) {
27+ // Hack for Yocto: we need to override the root path when we are using
28+ // llvm-config from within a target sysroot.
29+ const char *Sysroot = std::getenv("YOCTO_ALTERNATE_EXE_PATH");
30+ if (Sysroot != nullptr) {
31+ return Sysroot;
32+ }
33+
34 // This just needs to be some symbol in the binary; C++ doesn't
35 // allow taking the address of ::main however.
36 void *P = (void *)(intptr_t)GetExecutablePath;
37
diff --git a/meta/recipes-devtools/llvm/llvm/llvm-config b/meta/recipes-devtools/llvm/llvm/llvm-config
deleted file mode 100644
index 5e4ded2da5..0000000000
--- a/meta/recipes-devtools/llvm/llvm/llvm-config
+++ /dev/null
@@ -1,51 +0,0 @@
1#!/bin/bash
2#
3# Copyright OpenEmbedded Contributors
4#
5# SPDX-License-Identifier: MIT
6#
7# Wrap llvm-config since the native llvm-config will remap some values correctly
8# if placed in the target sysroot but for flags, it would provide the native ones.
9# Provide ours from the environment instead.
10
11NEXT_LLVM_CONFIG="$(which -a llvm-config | sed -n 2p)"
12if [[ $# == 0 ]]; then
13 exec "$NEXT_LLVM_CONFIG"
14fi
15
16remain=""
17output=""
18for arg in "$@"; do
19 case "$arg" in
20 --cppflags)
21 output="${output} ${CPPFLAGS}"
22 ;;
23 --cflags)
24 output="${output} ${CFLAGS}"
25 ;;
26 --cxxflags)
27 output="${output} ${CXXFLAGS}"
28 ;;
29 --ldflags)
30 output="${output} ${LDFLAGS}"
31 ;;
32 --shared-mode)
33 output="${output} shared"
34 ;;
35 --libs)
36 output="${output} -lLLVM"
37 ;;
38 --link-shared)
39 break
40 ;;
41 *)
42 remain="${remain} ${arg}"
43 ;;
44 esac
45done
46
47if [ "${remain}" != "" ]; then
48 output="${output} "$("$NEXT_LLVM_CONFIG" ${remain})
49fi
50
51echo "${output}"
diff --git a/meta/recipes-devtools/llvm/llvm_18.1.5.bb b/meta/recipes-devtools/llvm/llvm_18.1.5.bb
deleted file mode 100644
index 9c80b46b60..0000000000
--- a/meta/recipes-devtools/llvm/llvm_18.1.5.bb
+++ /dev/null
@@ -1,177 +0,0 @@
1# Copyright (C) 2017 Khem Raj <raj.khem@gmail.com>
2# Released under the MIT license (see COPYING.MIT for the terms)
3
4SUMMARY = "The LLVM Compiler Infrastructure"
5HOMEPAGE = "http://llvm.org"
6LICENSE = "Apache-2.0-with-LLVM-exception"
7SECTION = "devel"
8
9LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=8a15a0759ef07f2682d2ba4b893c9afe"
10
11DEPENDS = "libffi libxml2 zlib zstd libedit ninja-native llvm-native"
12
13RDEPENDS:${PN}:append:class-target = " ncurses-terminfo"
14
15inherit cmake pkgconfig
16# could be 'rcX' or 'git' or empty ( for release )
17VER_SUFFIX = ""
18
19PV .= "${VER_SUFFIX}"
20
21MAJOR_VERSION = "${@oe.utils.trim_version("${PV}", 1)}"
22
23LLVM_RELEASE = "${PV}"
24
25SRC_URI = "https://github.com/llvm/llvm-project/releases/download/llvmorg-${PV}/llvm-project-${PV}.src.tar.xz \
26 file://0007-llvm-allow-env-override-of-exe-path.patch;striplevel=2 \
27 file://0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch;striplevel=2 \
28 file://llvm-config \
29 "
30SRC_URI[sha256sum] = "3591a52761a7d390ede51af01ea73abfecc4b1d16445f9d019b67a57edd7de56"
31
32UPSTREAM_CHECK_URI = "https://github.com/llvm/llvm-project"
33UPSTREAM_CHECK_REGEX = "llvmorg-(?P<pver>\d+(\.\d+)+)"
34
35S = "${WORKDIR}/llvm-project-${PV}.src/llvm"
36
37LLVM_INSTALL_DIR = "${WORKDIR}/llvm-install"
38
39def get_llvm_arch(bb, d, arch_var):
40 import re
41 a = d.getVar(arch_var)
42 if re.match(r'(i.86|athlon|x86.64)$', a): return 'X86'
43 elif re.match(r'arm$', a): return 'ARM'
44 elif re.match(r'armeb$', a): return 'ARM'
45 elif re.match(r'aarch64$', a): return 'AArch64'
46 elif re.match(r'aarch64_be$', a): return 'AArch64'
47 elif re.match(r'mips(isa|)(32|64|)(r6|)(el|)$', a): return 'Mips'
48 elif re.match(r'riscv(32|64)(eb|)$', a): return 'RISCV'
49 elif re.match(r'p(pc|owerpc)(|64)', a): return 'PowerPC'
50 else:
51 raise bb.parse.SkipRecipe("Cannot map '%s' to a supported LLVM architecture" % a)
52
53def get_llvm_host_arch(bb, d):
54 return get_llvm_arch(bb, d, 'HOST_ARCH')
55
56PACKAGECONFIG ??= "libllvm"
57PACKAGECONFIG:class-native = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'libllvm', '', d)}"
58# if optviewer OFF, force the modules to be not found or the ones on the host would be found
59PACKAGECONFIG[optviewer] = ",-DPY_PYGMENTS_FOUND=OFF -DPY_PYGMENTS_LEXERS_C_CPP_FOUND=OFF -DPY_YAML_FOUND=OFF,python3-pygments python3-pyyaml,python3-pygments python3-pyyaml"
60PACKAGECONFIG[libllvm] = ""
61
62#
63# Default to build all OE-Core supported target arches (user overridable).
64#
65LLVM_TARGETS ?= "AMDGPU;${@get_llvm_host_arch(bb, d)}"
66
67ARM_INSTRUCTION_SET:armv5 = "arm"
68ARM_INSTRUCTION_SET:armv4t = "arm"
69
70EXTRA_OECMAKE += "-DLLVM_ENABLE_ASSERTIONS=OFF \
71 -DLLVM_ENABLE_EXPENSIVE_CHECKS=OFF \
72 -DLLVM_ENABLE_PIC=ON \
73 -DLLVM_BINDINGS_LIST='' \
74 -DLLVM_LINK_LLVM_DYLIB=ON \
75 -DLLVM_ENABLE_FFI=ON \
76 -DLLVM_ENABLE_RTTI=ON \
77 -DFFI_INCLUDE_DIR=$(pkg-config --variable=includedir libffi) \
78 -DLLVM_OPTIMIZED_TABLEGEN=ON \
79 -DLLVM_TARGETS_TO_BUILD='${LLVM_TARGETS}' \
80 -DLLVM_VERSION_SUFFIX='${VER_SUFFIX}' \
81 -DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN=ON \
82 -DCMAKE_BUILD_TYPE=Release \
83 "
84
85EXTRA_OECMAKE:append:class-target = "\
86 -DCMAKE_CROSSCOMPILING:BOOL=ON \
87 -DLLVM_TABLEGEN=${STAGING_BINDIR_NATIVE}/llvm-tblgen${PV} \
88 -DLLVM_CONFIG_PATH=${STAGING_BINDIR_NATIVE}/llvm-config${PV} \
89 "
90
91EXTRA_OECMAKE:append:class-nativesdk = "\
92 -DCMAKE_CROSSCOMPILING:BOOL=ON \
93 -DLLVM_TABLEGEN=${STAGING_BINDIR_NATIVE}/llvm-tblgen${PV} \
94 -DLLVM_CONFIG_PATH=${STAGING_BINDIR_NATIVE}/llvm-config${PV} \
95 "
96
97# patch out build host paths for reproducibility
98do_compile:prepend:class-target() {
99 sed -i -e "s,${WORKDIR},,g" ${B}/tools/llvm-config/BuildVariables.inc
100}
101
102do_compile() {
103 if ${@bb.utils.contains('PACKAGECONFIG', 'libllvm', 'true', 'false', d)}; then
104 ninja -v ${PARALLEL_MAKE}
105 else
106 ninja -v ${PARALLEL_MAKE} llvm-config llvm-tblgen
107 fi
108}
109
110do_install() {
111 if ${@bb.utils.contains('PACKAGECONFIG', 'libllvm', 'true', 'false', d)}; then
112 DESTDIR=${D} ninja -v install
113
114 # llvm harcodes usr/lib as install path, so this corrects it to actual libdir
115 mv -T -n ${D}/${prefix}/lib ${D}/${libdir} || true
116
117 # Remove opt-viewer: https://llvm.org/docs/Remarks.html
118 rm -rf ${D}${datadir}/opt-viewer
119 rmdir ${D}${datadir}
120
121 # reproducibility
122 sed -i -e 's,${WORKDIR},,g' ${D}/${libdir}/cmake/llvm/LLVMConfig.cmake
123 fi
124}
125
126do_install:append:class-native() {
127 install -D -m 0755 ${B}/bin/llvm-tblgen ${D}${bindir}/llvm-tblgen${PV}
128 install -D -m 0755 ${B}/bin/llvm-config ${D}${bindir}/llvm-config${PV}
129 ln -sf llvm-config${PV} ${D}${bindir}/llvm-config
130}
131
132SYSROOT_PREPROCESS_FUNCS:append:class-target = " llvm_sysroot_preprocess"
133
134llvm_sysroot_preprocess() {
135 install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}/
136 install -m 0755 ${UNPACKDIR}/llvm-config ${SYSROOT_DESTDIR}${bindir_crossscripts}/
137 ln -sf llvm-config ${SYSROOT_DESTDIR}${bindir_crossscripts}/llvm-config${PV}
138}
139
140PACKAGES =+ "${PN}-bugpointpasses ${PN}-llvmhello ${PN}-libllvm ${PN}-liboptremarks ${PN}-liblto"
141
142RRECOMMENDS:${PN}-dev += "${PN}-bugpointpasses ${PN}-llvmhello ${PN}-liboptremarks"
143
144FILES:${PN}-bugpointpasses = "\
145 ${libdir}/BugpointPasses.so \
146"
147
148FILES:${PN}-libllvm = "\
149 ${libdir}/libLLVM-${MAJOR_VERSION}.so \
150 ${libdir}/libLLVM.so.${MAJOR_VER}.${MINOR_VER} \
151"
152
153FILES:${PN}-liblto += "\
154 ${libdir}/libLTO.so.* \
155"
156
157FILES:${PN}-liboptremarks += "\
158 ${libdir}/libRemarks.so.* \
159"
160
161FILES:${PN}-llvmhello = "\
162 ${libdir}/LLVMHello.so \
163"
164
165FILES:${PN}-dev += " \
166 ${libdir}/llvm-config \
167 ${libdir}/libRemarks.so \
168 ${libdir}/libLLVM-${PV}.so \
169"
170
171FILES:${PN}-staticdev += "\
172 ${libdir}/*.a \
173"
174
175INSANE_SKIP:${PN}-libllvm += "dev-so"
176
177BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/log4cplus/log4cplus_2.1.1.bb b/meta/recipes-devtools/log4cplus/log4cplus_2.1.2.bb
index be3c787ab2..9a3c31e887 100644
--- a/meta/recipes-devtools/log4cplus/log4cplus_2.1.1.bb
+++ b/meta/recipes-devtools/log4cplus/log4cplus_2.1.2.bb
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=41e8e060c26822886b592ab4765c756b"
9 9
10SRC_URI = "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}-stable/${PV}/${BP}.tar.gz \ 10SRC_URI = "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}-stable/${PV}/${BP}.tar.gz \
11 " 11 "
12SRC_URI[sha256sum] = "42dc435928917fd2f847046c4a0c6086b2af23664d198c7fc1b982c0bfe600c1" 12SRC_URI[sha256sum] = "e2673815ea34886f29b2213fff19cc1a6707a7e65099927a19ea49b4eb018822"
13 13
14UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/log4cplus/files/log4cplus-stable/" 14UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/log4cplus/files/log4cplus-stable/"
15UPSTREAM_CHECK_REGEX = "log4cplus-stable/(?P<pver>\d+(\.\d+)+)/" 15UPSTREAM_CHECK_REGEX = "log4cplus-stable/(?P<pver>\d+(\.\d+)+)/"
diff --git a/meta/recipes-devtools/lua/lua_5.4.6.bb b/meta/recipes-devtools/lua/lua_5.4.7.bb
index 65f19ae247..6e414a0805 100644
--- a/meta/recipes-devtools/lua/lua_5.4.6.bb
+++ b/meta/recipes-devtools/lua/lua_5.4.7.bb
@@ -1,7 +1,7 @@
1SUMMARY = "Lua is a powerful light-weight programming language designed \ 1SUMMARY = "Lua is a powerful light-weight programming language designed \
2for extending applications." 2for extending applications."
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://doc/readme.html;beginline=303;endline=324;md5=e05449eb28c092473f854670c6e8375a" 4LIC_FILES_CHKSUM = "file://doc/readme.html;beginline=305;endline=326;md5=344ad98880a7ee9ff6e1498a519a7c76"
5HOMEPAGE = "http://www.lua.org/" 5HOMEPAGE = "http://www.lua.org/"
6 6
7SRC_URI = "http://www.lua.org/ftp/lua-${PV}.tar.gz;name=tarballsrc \ 7SRC_URI = "http://www.lua.org/ftp/lua-${PV}.tar.gz;name=tarballsrc \
@@ -10,10 +10,10 @@ SRC_URI = "http://www.lua.org/ftp/lua-${PV}.tar.gz;name=tarballsrc \
10 " 10 "
11 11
12# if no test suite matches PV release of Lua exactly, download the suite for the closest Lua release. 12# if no test suite matches PV release of Lua exactly, download the suite for the closest Lua release.
13PV_testsuites = "5.4.4" 13PV_testsuites = "${PV}"
14 14
15SRC_URI[tarballsrc.sha256sum] = "7d5ea1b9cb6aa0b59ca3dde1c6adcb57ef83a1ba8e5432c0ecd06bf439b3ad88" 15SRC_URI[tarballsrc.sha256sum] = "9fbf5e28ef86c69858f6d3d34eccc32e911c1a28b4120ff3e84aaa70cfbf1e30"
16SRC_URI[tarballtest.sha256sum] = "04d28355cd67a2299dfe5708b55a0ff221ccb1a3907a3113cc103ccc05ac6aad" 16SRC_URI[tarballtest.sha256sum] = "8a4898ffe4c7613c8009327a0722db7a41ef861d526c77c5b46114e59ebf811e"
17 17
18inherit pkgconfig binconfig ptest 18inherit pkgconfig binconfig ptest
19 19
@@ -51,7 +51,7 @@ do_install () {
51} 51}
52 52
53do_install_ptest () { 53do_install_ptest () {
54 cp -R --no-dereference --preserve=mode,links -v ${WORKDIR}/lua-${PV_testsuites}-tests ${D}${PTEST_PATH}/test 54 cp -R --no-dereference --preserve=mode,links -v ${UNPACKDIR}/lua-${PV_testsuites}-tests ${D}${PTEST_PATH}/test
55} 55}
56 56
57do_install_ptest:append:libc-musl () { 57do_install_ptest:append:libc-musl () {
diff --git a/meta/recipes-devtools/m4/m4-1.4.19.inc b/meta/recipes-devtools/m4/m4-1.4.20.inc
index fcc9e58270..aad57b8b64 100644
--- a/meta/recipes-devtools/m4/m4-1.4.19.inc
+++ b/meta/recipes-devtools/m4/m4-1.4.20.inc
@@ -7,25 +7,19 @@ GNU M4 also has built-in functions for including files, running shell commands,
7inherit autotools texinfo ptest gettext 7inherit autotools texinfo ptest gettext
8 8
9SRC_URI = "${GNU_MIRROR}/m4/m4-${PV}.tar.gz \ 9SRC_URI = "${GNU_MIRROR}/m4/m4-${PV}.tar.gz \
10 file://ac_config_links.patch \ 10 file://0001-gettext-h-Avoid-gcc-Wformat-security-warnings-with-d.patch \
11 file://0001-sigsegv-Fix-build-on-ppc-musl.patch \
12 file://0001-Define-alignof_slot-using-_Alignof-when-using-C11-or.patch \
13 " 11 "
14SRC_URI:append:class-target = " file://run-ptest \ 12SRC_URI:append:class-target = " file://run-ptest \
15 file://serial-tests-config.patch \ 13 file://serial-tests-config.patch \
16 " 14 "
17 15
18SRC_URI[md5sum] = "f4a2b0284d80353b995f8ef2385ed73c" 16SRC_URI[sha256sum] = "6ac4fc31ce440debe63987c2ebbf9d7b6634e67a7c3279257dc7361de8bdb3ef"
19SRC_URI[sha256sum] = "3be4a26d825ffdfda52a56fc43246456989a3630093cced3fbddf4771ee58a70"
20 17
21LICENSE = "GPL-3.0-only" 18LICENSE = "GPL-3.0-only"
22 19
23LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464\ 20LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464\
24 file://examples/COPYING;md5=4031593b2166d6c47cae282d944a7ede" 21 file://examples/COPYING;md5=4031593b2166d6c47cae282d944a7ede"
25 22
26# Fix "Argument list too long" error when len(TMPDIR) = 410
27acpaths = "-I ./m4"
28
29EXTRA_OECONF += "--without-libsigsegv-prefix" 23EXTRA_OECONF += "--without-libsigsegv-prefix"
30 24
31EXTRA_OEMAKE += "'infodir=${infodir}'" 25EXTRA_OEMAKE += "'infodir=${infodir}'"
@@ -33,21 +27,18 @@ EXTRA_OEMAKE += "'infodir=${infodir}'"
33do_compile_ptest() { 27do_compile_ptest() {
34 cd ${B}/tests 28 cd ${B}/tests
35 sed -i '/^buildtest-TESTS: /c buildtest-TESTS: $(TESTS) $(check_LIBRARIES) $(check_PROGRAMS)' Makefile 29 sed -i '/^buildtest-TESTS: /c buildtest-TESTS: $(TESTS) $(check_LIBRARIES) $(check_PROGRAMS)' Makefile
36 oe_runmake buildtest-TESTS 30 oe_runmake CPPFLAGS="-DSRCDIR=\\\"${PTEST_PATH}/tests/\\\"" buildtest-TESTS
37} 31}
38 32
39do_install_ptest() { 33do_install_ptest() {
40 cp -r ${B}/tests ${D}${PTEST_PATH} 34 cp -r ${B}/tests ${D}${PTEST_PATH}
41 cp -r ${S}/tests/* ${D}${PTEST_PATH}/tests/ 35 cp -r ${S}/tests/* ${D}${PTEST_PATH}/tests/
36 cp -r ${S}/build-aux ${D}${PTEST_PATH}/tests/
42 sed -i '/^Makefile:/c Makefile:' ${D}${PTEST_PATH}/tests/Makefile 37 sed -i '/^Makefile:/c Makefile:' ${D}${PTEST_PATH}/tests/Makefile
43 find ${D}${PTEST_PATH} -type f -name *.[hoc] | xargs -i rm {} 38 find ${D}${PTEST_PATH} -type f -name *.[hoc] | xargs -i rm {}
44 cp ${S}/build-aux/update-copyright ${D}${PTEST_PATH}/tests/ 39 chmod 0755 ${D}${PTEST_PATH}/tests/test-spawn-pipe-main \
45 sed -i 's;update-copyright;./update-copyright;g' ${D}${PTEST_PATH}/tests/test-update-copyright.sh
46 chmod 0755 ${D}${PTEST_PATH}/tests/test-mbrtowc-w32-1.sh ${D}${PTEST_PATH}/tests/test-spawn-pipe-main \
47 ${D}${PTEST_PATH}/tests/test-spawn-pipe-child ${D}${PTEST_PATH}/tests/test-version-etc \ 40 ${D}${PTEST_PATH}/tests/test-spawn-pipe-child ${D}${PTEST_PATH}/tests/test-version-etc \
48 ${D}${PTEST_PATH}/tests/test-xalloc-die 41 ${D}${PTEST_PATH}/tests/test-xalloc-die
49
50 ln -s ptest ${D}${libdir}/${BPN}/${BP}
51} 42}
52 43
53do_install_ptest:append:libc-glibc() { 44do_install_ptest:append:libc-glibc() {
@@ -55,13 +46,9 @@ do_install_ptest:append:libc-glibc() {
55 -e "s;LOCALE_FR_UTF8='none';LOCALE_FR_UTF8='fr_FR.utf8';g" ${D}${PTEST_PATH}/tests/Makefile 46 -e "s;LOCALE_FR_UTF8='none';LOCALE_FR_UTF8='fr_FR.utf8';g" ${D}${PTEST_PATH}/tests/Makefile
56} 47}
57 48
58RDEPENDS:${PN}-ptest += "make coreutils diffutils bash" 49RDEPENDS:${PN}-ptest += "make coreutils diffutils bash locale-base-fr-fr"
50
59RDEPENDS:${PN}-ptest:append:libc-glibc = "\ 51RDEPENDS:${PN}-ptest:append:libc-glibc = "\
60 locale-base-fr-fr \
61 locale-base-fr-fr.iso-8859-1 \ 52 locale-base-fr-fr.iso-8859-1 \
62 glibc-gconv-iso8859-1 \ 53 glibc-gconv-iso8859-1 \
63" 54"
64
65INSANE_SKIP:${PN}-ptest += "ldflags"
66INSANE_SKIP:${PN}-ptest += "rpaths"
67
diff --git a/meta/recipes-devtools/m4/m4-native_1.4.19.bb b/meta/recipes-devtools/m4/m4-native_1.4.20.bb
index 407ad89330..407ad89330 100644
--- a/meta/recipes-devtools/m4/m4-native_1.4.19.bb
+++ b/meta/recipes-devtools/m4/m4-native_1.4.20.bb
diff --git a/meta/recipes-devtools/m4/m4/0001-Define-alignof_slot-using-_Alignof-when-using-C11-or.patch b/meta/recipes-devtools/m4/m4/0001-Define-alignof_slot-using-_Alignof-when-using-C11-or.patch
deleted file mode 100644
index 8757abd7a0..0000000000
--- a/meta/recipes-devtools/m4/m4/0001-Define-alignof_slot-using-_Alignof-when-using-C11-or.patch
+++ /dev/null
@@ -1,49 +0,0 @@
1From b0fd3a58354b1f5ead891907979dfd3dd36840d5 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 14 Jan 2023 14:55:03 -0800
4Subject: [PATCH] Define alignof_slot using _Alignof when using C11 or newer
5
6WG14 N2350 made very clear that it is an UB having type definitions
7within "offsetof" [1]. This patch enhances the implementation of macro
8alignof_slot to use builtin "_Alignof" to avoid undefined behavior on
9when using std=c11 or newer
10
11clang 16+ has started to flag this [2]
12
13Fixes build when using -std >= gnu11 and using clang16+ [3]
14
15[1] https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2350.htm
16[2] https://reviews.llvm.org/D133574
17[3] https://public-inbox.org/bug-gnulib/20230114232744.215167-1-raj.khem@gmail.com/T/#u
18
19Upstream-Status: Backport [https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=2d404c7dd974cc65f894526f4a1b76bc1dcd8d82]
20Signed-off-by: Khem Raj <raj.khem@gmail.com>
21---
22 lib/alignof.h | 2 ++
23 1 file changed, 2 insertions(+)
24
25--- a/lib/alignof.h
26+++ b/lib/alignof.h
27@@ -18,19 +18,19 @@
28 #define _ALIGNOF_H
29
30 #include <stddef.h>
31+#include "stdalign.h"
32
33 /* alignof_slot (TYPE)
34 Determine the alignment of a structure slot (field) of a given type,
35 at compile time. Note that the result depends on the ABI.
36- This is the same as alignof (TYPE) and _Alignof (TYPE), defined in
37- <stdalign.h> if __alignof_is_defined is 1.
38+ This is the same as alignof (TYPE).
39 Note: The result cannot be used as a value for an 'enum' constant,
40 due to bugs in HP-UX 10.20 cc and AIX 3.2.5 xlc. */
41 #if defined __cplusplus
42 template <class type> struct alignof_helper { char __slot1; type __slot2; };
43 # define alignof_slot(type) offsetof (alignof_helper<type>, __slot2)
44 #else
45-# define alignof_slot(type) offsetof (struct { char __slot1; type __slot2; }, __slot2)
46+# define alignof_slot(type) alignof (type)
47 #endif
48
49 /* alignof_type (TYPE)
diff --git a/meta/recipes-devtools/m4/m4/0001-gettext-h-Avoid-gcc-Wformat-security-warnings-with-d.patch b/meta/recipes-devtools/m4/m4/0001-gettext-h-Avoid-gcc-Wformat-security-warnings-with-d.patch
new file mode 100644
index 0000000000..6fad05041f
--- /dev/null
+++ b/meta/recipes-devtools/m4/m4/0001-gettext-h-Avoid-gcc-Wformat-security-warnings-with-d.patch
@@ -0,0 +1,133 @@
1From c4dc0ab4424fca31635b7837b1c180f7d3df8ede Mon Sep 17 00:00:00 2001
2From: Bruno Haible <bruno@clisp.org>
3Date: Wed, 28 May 2025 15:14:07 +0200
4Subject: [PATCH] gettext-h: Avoid gcc -Wformat-security warnings with
5 --disable-nls.
6MIME-Version: 1.0
7Content-Type: text/plain; charset=UTF-8
8Content-Transfer-Encoding: 8bit
9
10Reported by Holger Hoffstätte <holger@applied-asynchrony.com> in
11<https://lists.gnu.org/archive/html/bug-gnulib/2025-05/msg00225.html>.
12
13* lib/gettext.h (gettext, dgettext, dcgettext): With gcc in C mode,
14define these as inline functions.
15* lib/sigpipe-die.c (sigpipe_die): Use translated string as a format
16string, relying on the format string checking done by 'msgfmt -c'.
17* lib/xmemcoll.c (collate_error): Revert commit from 2025-01-17.
18* lib/xprintf.c (xvprintf, xvfprintf): Likewise.
19* lib/openat-die.c (openat_save_fail, openat_restore_fail): Revert
20commit from 2024-12-10.
21
22Upstream-Status: Backport [https://cgit.git.savannah.gnu.org/cgit/gnulib.git/commit/?id=6e5015dd557b20ae4a0829c4bf78480ce2f4cb04]
23Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
24---
25 lib/gettext.h | 49 ++++++++++++++++++++++++++++++++++++------------
26 lib/openat-die.c | 4 ++--
27 lib/xprintf.c | 4 ++--
28 3 files changed, 41 insertions(+), 16 deletions(-)
29
30diff --git a/lib/gettext.h b/lib/gettext.h
31index ea0c27e..bb3d975 100644
32--- a/lib/gettext.h
33+++ b/lib/gettext.h
34@@ -59,18 +59,43 @@
35 # endif
36 # endif
37
38-/* Disabled NLS.
39- The casts to 'const char *' serve the purpose of producing warnings
40- for invalid uses of the value returned from these functions.
41- On pre-ANSI systems without 'const', the config.h file is supposed to
42- contain "#define const". */
43-# undef gettext
44-# define gettext(Msgid) ((const char *) (Msgid))
45-# undef dgettext
46-# define dgettext(Domainname, Msgid) ((void) (Domainname), gettext (Msgid))
47-# undef dcgettext
48-# define dcgettext(Domainname, Msgid, Category) \
49- ((void) (Category), dgettext (Domainname, Msgid))
50+/* Disabled NLS. */
51+# if defined __GNUC__ && !defined __clang__ && !defined __cplusplus
52+/* Use inline functions, to avoid warnings
53+ warning: format not a string literal and no format arguments
54+ that don't occur with enabled NLS. */
55+__attribute__ ((__always_inline__, __gnu_inline__)) extern inline
56+const char *
57+gettext (const char *msgid)
58+{
59+ return msgid;
60+}
61+__attribute__ ((__always_inline__, __gnu_inline__)) extern inline
62+const char *
63+dgettext (const char *domain, const char *msgid)
64+{
65+ (void) domain;
66+ return msgid;
67+}
68+__attribute__ ((__always_inline__, __gnu_inline__)) extern inline
69+const char *
70+dcgettext (const char *domain, const char *msgid, int category)
71+{
72+ (void) domain;
73+ (void) category;
74+ return msgid;
75+}
76+# else
77+/* The casts to 'const char *' serve the purpose of producing warnings
78+ for invalid uses of the value returned from these functions. */
79+# undef gettext
80+# define gettext(Msgid) ((const char *) (Msgid))
81+# undef dgettext
82+# define dgettext(Domainname, Msgid) ((void) (Domainname), gettext (Msgid))
83+# undef dcgettext
84+# define dcgettext(Domainname, Msgid, Category) \
85+ ((void) (Category), dgettext (Domainname, Msgid))
86+# endif
87 # undef ngettext
88 # define ngettext(Msgid1, Msgid2, N) \
89 ((N) == 1 \
90diff --git a/lib/openat-die.c b/lib/openat-die.c
91index 3fbb5d8..79a5b23 100644
92--- a/lib/openat-die.c
93+++ b/lib/openat-die.c
94@@ -34,7 +34,7 @@ _Noreturn void
95 openat_save_fail (int errnum)
96 {
97 #ifndef GNULIB_LIBPOSIX
98- error (exit_failure, errnum, "%s",
99+ error (exit_failure, errnum,
100 _("unable to record current working directory"));
101 #endif
102 /* _Noreturn cannot be applied to error, since it returns
103@@ -53,7 +53,7 @@ _Noreturn void
104 openat_restore_fail (int errnum)
105 {
106 #ifndef GNULIB_LIBPOSIX
107- error (exit_failure, errnum, "%s",
108+ error (exit_failure, errnum,
109 _("failed to return to initial working directory"));
110 #endif
111
112diff --git a/lib/xprintf.c b/lib/xprintf.c
113index 4d9a3e5..790af53 100644
114--- a/lib/xprintf.c
115+++ b/lib/xprintf.c
116@@ -45,7 +45,7 @@ xvprintf (char const *restrict format, va_list args)
117 {
118 off64_t retval = vzprintf (format, args);
119 if (retval < 0 && ! ferror (stdout))
120- error (exit_failure, errno, "%s", _("cannot perform formatted output"));
121+ error (exit_failure, errno, _("cannot perform formatted output"));
122
123 return retval;
124 }
125@@ -67,7 +67,7 @@ xvfprintf (FILE *restrict stream, char const *restrict format, va_list args)
126 {
127 off64_t retval = vfzprintf (stream, format, args);
128 if (retval < 0 && ! ferror (stream))
129- error (exit_failure, errno, "%s", _("cannot perform formatted output"));
130+ error (exit_failure, errno, _("cannot perform formatted output"));
131
132 return retval;
133 }
diff --git a/meta/recipes-devtools/m4/m4/0001-sigsegv-Fix-build-on-ppc-musl.patch b/meta/recipes-devtools/m4/m4/0001-sigsegv-Fix-build-on-ppc-musl.patch
deleted file mode 100644
index 04320de63a..0000000000
--- a/meta/recipes-devtools/m4/m4/0001-sigsegv-Fix-build-on-ppc-musl.patch
+++ /dev/null
@@ -1,37 +0,0 @@
1From 36d5e26f606e070553eb0fff1f738e61970be5d7 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 9 Mar 2022 20:22:20 -0800
4Subject: [PATCH] sigsegv: Fix build on ppc/musl
5
6mcontext is not a standard layout so glibc and musl differ sadly.
7
8Fixes
9../../m4-1.4.19/lib/sigsegv.c: In function 'sigsegv_handler': ../../m4-1.4.19/lib/sigsegv.c:223:75: error: 'mcontext_t' has no member named 'uc_regs'; did you mean 'gregs'? 223 | # define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) ucp)->uc_mcontext.uc_regs->gregs[1] | ^~~~~~~
10
11Upstream-Status: Submitted [https://lists.gnu.org/archive/html/m4-patches/2022-03/msg00000.html]
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13---
14 lib/sigsegv.c | 6 +++---
15 1 file changed, 3 insertions(+), 3 deletions(-)
16
17diff --git a/lib/sigsegv.c b/lib/sigsegv.c
18index 696a152..fa0c465 100644
19--- a/lib/sigsegv.c
20+++ b/lib/sigsegv.c
21@@ -217,10 +217,10 @@ int libsigsegv_version = LIBSIGSEGV_VERSION;
22 # define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) ucp)->uc_mcontext.gp_regs[1]
23 # else /* 32-bit */
24 /* both should be equivalent */
25-# if 0
26-# define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) ucp)->uc_mcontext.regs->gpr[1]
27+# if ! defined __GLIBC__
28+# define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) ucp)->uc_regs->gregs[1]
29 # else
30-# define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) ucp)->uc_mcontext.uc_regs->gregs[1]
31+# define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) ucp)->uc_mcontext.uc_regs->gregs[1]
32 # endif
33 # endif
34
35--
362.35.1
37
diff --git a/meta/recipes-devtools/m4/m4/ac_config_links.patch b/meta/recipes-devtools/m4/m4/ac_config_links.patch
deleted file mode 100644
index 39fcd91896..0000000000
--- a/meta/recipes-devtools/m4/m4/ac_config_links.patch
+++ /dev/null
@@ -1,37 +0,0 @@
1Upstream-Status: Inappropriate [configuration]
2
3This patch fixes a build problem for m4-native experienced on Ubuntu 9.10,
4where autoconf/automake (AC_CONFIG_LINKS) ends up making GNUmakefile a
5symlink to itself.
6
7The patch comments out ac_config_links directly in configure,
8as autoreconf is not actually run for m4-native.
9
10I believe it should be safe, as GNUmakefile is actually unpacked from
11source, and what we want is to is to not touch it.
12
13Tested on x86_64_linux (Ubuntu 8.04 and 9.10).
14
152009-11-10 Esben Haabendal <eha@doredevelopment.dk>
16---
17 configure | 4 ++--
18 1 file changed, 2 insertions(+), 2 deletions(-)
19
20diff --git a/configure b/configure
21index 883336a..6343a34 100755
22--- a/configure
23+++ b/configure
24@@ -37061,8 +37061,8 @@ printf "%s\n" "#define GNULIB_TEST_GETRANDOM 1" >>confdefs.h
25 # only, it does not matter if we skip the link with older autoconf.
26 # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH
27 # builds, so use a shell variable to bypass this.
28- GNUmakefile=GNUmakefile
29- ac_config_links="$ac_config_links $GNUmakefile:$GNUmakefile"
30+# GNUmakefile=GNUmakefile
31+# ac_config_links="$ac_config_links $GNUmakefile:$GNUmakefile"
32
33
34 LIB_HARD_LOCALE="$LIB_SETLOCALE_NULL"
35--
362.25.1
37
diff --git a/meta/recipes-devtools/m4/m4/run-ptest b/meta/recipes-devtools/m4/m4/run-ptest
index 5c0fe93357..da786e26f4 100644
--- a/meta/recipes-devtools/m4/m4/run-ptest
+++ b/meta/recipes-devtools/m4/m4/run-ptest
@@ -2,4 +2,4 @@
2# 2#
3#This script is used to run m4 test suites 3#This script is used to run m4 test suites
4cd tests 4cd tests
5make -k runtest-TESTS top_srcdir=.. srcdir=. 5make -k runtest-TESTS abs_aux_dir=./build-aux abs_top_srcdir=. abs_srcdir=. top_srcdir=.. srcdir=.
diff --git a/meta/recipes-devtools/m4/m4/serial-tests-config.patch b/meta/recipes-devtools/m4/m4/serial-tests-config.patch
index 34e6ad801e..c1573b13c0 100644
--- a/meta/recipes-devtools/m4/m4/serial-tests-config.patch
+++ b/meta/recipes-devtools/m4/m4/serial-tests-config.patch
@@ -12,19 +12,14 @@ Signed-off-by: Changqing Li <changqing.li@windriver.com>
12 configure.ac | 2 +- 12 configure.ac | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-) 13 1 file changed, 1 insertion(+), 1 deletion(-)
14 14
15diff --git a/configure.ac b/configure.ac
16index 78b8788..931fa6f 100644
17--- a/configure.ac 15--- a/configure.ac
18+++ b/configure.ac 16+++ b/configure.ac
19@@ -22,7 +22,7 @@ AC_INIT([GNU M4], m4_esyscmd([build-aux/git-version-gen .tarball-version]), 17@@ -22,7 +22,7 @@ AC_INIT([GNU M4], m4_esyscmd([build-aux/
20 [bug-m4@gnu.org]) 18 [bug-m4@gnu.org])
21 AC_CONFIG_AUX_DIR([build-aux]) 19 AC_CONFIG_AUX_DIR([build-aux])
22 20
23-AM_INIT_AUTOMAKE([1.11.6 dist-bzip2 dist-xz color-tests parallel-tests 21-AM_INIT_AUTOMAKE([1.14 dist-bzip2 dist-xz color-tests parallel-tests
24+AM_INIT_AUTOMAKE([1.11.6 dist-bzip2 dist-xz color-tests serial-tests 22+AM_INIT_AUTOMAKE([1.14 dist-bzip2 dist-xz color-tests serial-tests
25 silent-rules subdir-objects gnu]) 23 silent-rules subdir-objects gnu])
26 AM_SILENT_RULES([yes]) # make --enable-silent-rules the default. 24 AM_SILENT_RULES([yes]) # make --enable-silent-rules the default.
27 25
28--
292.7.4
30
diff --git a/meta/recipes-devtools/m4/m4_1.4.19.bb b/meta/recipes-devtools/m4/m4_1.4.20.bb
index b12c0adf3a..b12c0adf3a 100644
--- a/meta/recipes-devtools/m4/m4_1.4.19.bb
+++ b/meta/recipes-devtools/m4/m4_1.4.20.bb
diff --git a/meta/recipes-devtools/make/make/0001-Fix-signatures-for-getenv-getopt.patch b/meta/recipes-devtools/make/make/0001-Fix-signatures-for-getenv-getopt.patch
new file mode 100644
index 0000000000..707de7f2d0
--- /dev/null
+++ b/meta/recipes-devtools/make/make/0001-Fix-signatures-for-getenv-getopt.patch
@@ -0,0 +1,60 @@
1From f844b6588dbdb93d9ff0fe883bd801df62c965b7 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 22 Mar 2025 14:07:56 -0700
4Subject: [PATCH] Fix signatures for getenv/getopt
5
6GCC-15 complains about missing parameters, this gets found
7out when using non-glibc ( e.g. musl ) C library
8
9Fixes
10lib/fnmatch.c:124:14: error: conflicting types for 'getenv'; have 'char *(void)'
11| 124 | extern char *getenv ();
12| | ^~~~~~
13
14Upstream-Status: Submitted [https://lists.gnu.org/archive/html/bug-make/2025-03/msg00032.html]
15Signed-off-by: Khem Raj <raj.khem@gmail.com>
16---
17 lib/fnmatch.c | 2 +-
18 src/getopt.c | 2 +-
19 src/getopt.h | 2 +-
20 3 files changed, 3 insertions(+), 3 deletions(-)
21
22diff --git a/lib/fnmatch.c b/lib/fnmatch.c
23index 01da376..cb1c856 100644
24--- a/lib/fnmatch.c
25+++ b/lib/fnmatch.c
26@@ -121,7 +121,7 @@ USA. */
27 whose names are inconsistent. */
28
29 # if !defined _LIBC && !defined getenv
30-extern char *getenv ();
31+extern char *getenv (const char *);
32 # endif
33
34 # ifndef errno
35diff --git a/src/getopt.c b/src/getopt.c
36index 7a792de..76251cc 100644
37--- a/src/getopt.c
38+++ b/src/getopt.c
39@@ -202,7 +202,7 @@ static char *posixly_correct;
40 whose names are inconsistent. */
41
42 #ifndef getenv
43-extern char *getenv ();
44+extern char *getenv (const char *);
45 #endif
46
47 static char *
48diff --git a/src/getopt.h b/src/getopt.h
49index df18cee..d8bb226 100644
50--- a/src/getopt.h
51+++ b/src/getopt.h
52@@ -102,7 +102,7 @@ struct option
53 errors, only prototype getopt for the GNU C library. */
54 extern int getopt (int argc, char *const *argv, const char *shortopts);
55 #else /* not __GNU_LIBRARY__ */
56-extern int getopt ();
57+extern int getopt (int, char * const*, const char *);
58 #endif /* __GNU_LIBRARY__ */
59 extern int getopt_long (int argc, char *const *argv, const char *shortopts,
60 const struct option *longopts, int *longind);
diff --git a/meta/recipes-devtools/make/make_4.4.1.bb b/meta/recipes-devtools/make/make_4.4.1.bb
index c73751ddcb..0879b3baa9 100644
--- a/meta/recipes-devtools/make/make_4.4.1.bb
+++ b/meta/recipes-devtools/make/make_4.4.1.bb
@@ -4,6 +4,7 @@ require make.inc
4 4
5SRC_URI += " \ 5SRC_URI += " \
6 file://0001-m4-getloadavg.m4-restrict-AIX-specific-test-on-AIX.patch \ 6 file://0001-m4-getloadavg.m4-restrict-AIX-specific-test-on-AIX.patch \
7 file://0001-Fix-signatures-for-getenv-getopt.patch \
7 " 8 "
8 9
9EXTRA_OECONF += "--without-guile" 10EXTRA_OECONF += "--without-guile"
diff --git a/meta/recipes-devtools/makedevs/makedevs/makedevs.c b/meta/recipes-devtools/makedevs/makedevs/makedevs.c
index df2e3cfad5..411a669153 100644
--- a/meta/recipes-devtools/makedevs/makedevs/makedevs.c
+++ b/meta/recipes-devtools/makedevs/makedevs/makedevs.c
@@ -36,6 +36,7 @@ static const char *const app_name = "makedevs";
36static const char *const memory_exhausted = "memory exhausted"; 36static const char *const memory_exhausted = "memory exhausted";
37static char default_rootdir[]="."; 37static char default_rootdir[]=".";
38static char *rootdir = default_rootdir; 38static char *rootdir = default_rootdir;
39static char *rootdir_prepend = default_rootdir;
39static int trace = 0; 40static int trace = 0;
40 41
41struct name_id { 42struct name_id {
@@ -201,7 +202,7 @@ static unsigned long convert2guid(char *id_buf, struct name_id *search_list)
201 // Check for bad user/group name 202 // Check for bad user/group name
202 node = search_list; 203 node = search_list;
203 while (node != NULL) { 204 while (node != NULL) {
204 if (!strncmp(node->name, id_buf, strlen(id_buf))) { 205 if (!strncmp(node->name, id_buf, MAX_ID_LEN)) {
205 fprintf(stderr, "WARNING: Bad user/group name %s detected\n", id_buf); 206 fprintf(stderr, "WARNING: Bad user/group name %s detected\n", id_buf);
206 break; 207 break;
207 } 208 }
@@ -211,12 +212,15 @@ static unsigned long convert2guid(char *id_buf, struct name_id *search_list)
211 } else { 212 } else {
212 node = search_list; 213 node = search_list;
213 while (node != NULL) { 214 while (node != NULL) {
214 if (!strncmp(node->name, id_buf, strlen(id_buf))) 215 if (!strncmp(node->name, id_buf, MAX_ID_LEN))
215 return node->id; 216 return node->id;
216 node = node->next; 217 node = node->next;
217 } 218 }
218 error_msg_and_die("No entry for %s in search list", id_buf); 219 error_msg_and_die("No entry for %s in search list", id_buf);
219 } 220 }
221
222 // Unreachable, but avoid an error with -Werror=return-type
223 return 0;
220} 224}
221 225
222static void free_list(struct name_id *list) 226static void free_list(struct name_id *list)
@@ -358,13 +362,13 @@ static void add_new_fifo(char *name, char *path, unsigned long uid,
358static int interpret_table_entry(char *line) 362static int interpret_table_entry(char *line)
359{ 363{
360 char *name; 364 char *name;
361 char usr_buf[MAX_ID_LEN]; 365 char usr_buf[MAX_ID_LEN+1];
362 char grp_buf[MAX_ID_LEN]; 366 char grp_buf[MAX_ID_LEN+1];
363 char path[4096], type; 367 char path[PATH_MAX], type;
364 unsigned long mode = 0755, uid = 0, gid = 0, major = 0, minor = 0; 368 unsigned long mode = 0755, uid = 0, gid = 0, major = 0, minor = 0;
365 unsigned long start = 0, increment = 1, count = 0; 369 unsigned long start = 0, increment = 1, count = 0;
366 370
367 if (0 > sscanf(line, "%4095s %c %lo %39s %39s %lu %lu %lu %lu %lu", path, 371 if (0 > sscanf(line, "%4095s %c %lo %40s %40s %lu %lu %lu %lu %lu", path,
368 &type, &mode, usr_buf, grp_buf, &major, &minor, &start, 372 &type, &mode, usr_buf, grp_buf, &major, &minor, &start,
369 &increment, &count)) 373 &increment, &count))
370 { 374 {
@@ -379,8 +383,8 @@ static int interpret_table_entry(char *line)
379 error_msg_and_die("Device table entries require absolute paths"); 383 error_msg_and_die("Device table entries require absolute paths");
380 } 384 }
381 name = xstrdup(path + 1); 385 name = xstrdup(path + 1);
382 /* prefix path with rootdir */ 386 /* prefix path with rootdir_prepend */
383 sprintf(path, "%s/%s", rootdir, name); 387 sprintf(path, "%s/%s", rootdir_prepend, name);
384 388
385 /* XXX Why is name passed into all of the add_new_*() routines? */ 389 /* XXX Why is name passed into all of the add_new_*() routines? */
386 switch (type) { 390 switch (type) {
@@ -406,11 +410,11 @@ static int interpret_table_entry(char *line)
406 410
407 for (i = start; i < start + count; i++) { 411 for (i = start; i < start + count; i++) {
408 sprintf(buf, "%s%d", name, i); 412 sprintf(buf, "%s%d", name, i);
409 sprintf(path, "%s/%s%d", rootdir, name, i); 413 sprintf(path, "%s/%s%d", rootdir_prepend, name, i);
410 /* FIXME: MKDEV uses illicit insider knowledge of kernel 414 /* FIXME: MKDEV uses illicit insider knowledge of kernel
411 * major/minor representation... */ 415 * major/minor representation... */
412 rdev = MKDEV(major, minor + (i - start) * increment); 416 rdev = MKDEV(major, minor + (i - start) * increment);
413 sprintf(path, "%s/%s\0", rootdir, buf); 417 sprintf(path, "%s/%s\0", rootdir_prepend, buf);
414 add_new_device(buf, path, uid, gid, mode, rdev); 418 add_new_device(buf, path, uid, gid, mode, rdev);
415 } 419 }
416 } else { 420 } else {
@@ -541,12 +545,11 @@ int main(int argc, char **argv)
541 } else { 545 } else {
542 closedir(dir); 546 closedir(dir);
543 } 547 }
544 /* If "/" is specified, use "" because rootdir is always prepended to a 548 rootdir = xstrdup(optarg);
545 * string that starts with "/" */ 549 if (0 == strcmp(rootdir, "/"))
546 if (0 == strcmp(optarg, "/")) 550 rootdir_prepend = xstrdup("");
547 rootdir = xstrdup("");
548 else 551 else
549 rootdir = xstrdup(optarg); 552 rootdir_prepend = xstrdup(rootdir);
550 break; 553 break;
551 554
552 case 't': 555 case 't':
diff --git a/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb b/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb
index 0d6c7a01eb..deed684537 100644
--- a/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb
+++ b/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://makedevs.c;beginline=2;endline=2;md5=c3817b10013a3007
5SECTION = "base" 5SECTION = "base"
6SRC_URI = "file://makedevs.c" 6SRC_URI = "file://makedevs.c"
7 7
8S = "${WORKDIR}" 8S = "${UNPACKDIR}"
9 9
10FILES:${PN}:append:class-nativesdk = " ${datadir}" 10FILES:${PN}:append:class-nativesdk = " ${datadir}"
11 11
diff --git a/meta/recipes-devtools/meson/meson/0001-Make-CPU-family-warnings-fatal.patch b/meta/recipes-devtools/meson/meson/0001-Make-CPU-family-warnings-fatal.patch
index 8ea7c35950..98ca08c2ca 100644
--- a/meta/recipes-devtools/meson/meson/0001-Make-CPU-family-warnings-fatal.patch
+++ b/meta/recipes-devtools/meson/meson/0001-Make-CPU-family-warnings-fatal.patch
@@ -1,21 +1,20 @@
1From b77cbe67df5fa0998946503f207c256ee740bb5f Mon Sep 17 00:00:00 2001 1From c01e5e29953e0302988f2d60adc50ebfa0e5d670 Mon Sep 17 00:00:00 2001
2From: Ross Burton <ross.burton@intel.com> 2From: Ross Burton <ross.burton@intel.com>
3Date: Tue, 3 Jul 2018 13:59:09 +0100 3Date: Tue, 3 Jul 2018 13:59:09 +0100
4Subject: [PATCH] Make CPU family warnings fatal 4Subject: [PATCH] Make CPU family warnings fatal
5 5
6Upstream-Status: Inappropriate [OE specific] 6Upstream-Status: Inappropriate [OE specific]
7Signed-off-by: Ross Burton <ross.burton@intel.com> 7Signed-off-by: Ross Burton <ross.burton@intel.com>
8
9--- 8---
10 mesonbuild/envconfig.py | 4 ++-- 9 mesonbuild/envconfig.py | 4 ++--
11 mesonbuild/environment.py | 6 ++---- 10 mesonbuild/environment.py | 6 ++----
12 2 files changed, 4 insertions(+), 6 deletions(-) 11 2 files changed, 4 insertions(+), 6 deletions(-)
13 12
14diff --git a/mesonbuild/envconfig.py b/mesonbuild/envconfig.py 13diff --git a/mesonbuild/envconfig.py b/mesonbuild/envconfig.py
15index 07f1229..a35c356 100644 14index 43fad0c..27be871 100644
16--- a/mesonbuild/envconfig.py 15--- a/mesonbuild/envconfig.py
17+++ b/mesonbuild/envconfig.py 16+++ b/mesonbuild/envconfig.py
18@@ -285,8 +285,8 @@ class MachineInfo(HoldableObject): 17@@ -287,8 +287,8 @@ class MachineInfo(HoldableObject):
19 'but is missing {}.'.format(minimum_literal - set(literal))) 18 'but is missing {}.'.format(minimum_literal - set(literal)))
20 19
21 cpu_family = literal['cpu_family'] 20 cpu_family = literal['cpu_family']
@@ -27,10 +26,10 @@ index 07f1229..a35c356 100644
27 endian = literal['endian'] 26 endian = literal['endian']
28 if endian not in ('little', 'big'): 27 if endian not in ('little', 'big'):
29diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py 28diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py
30index 2ba2054..d798e3b 100644 29index 2a9cf16..6b2bd6b 100644
31--- a/mesonbuild/environment.py 30--- a/mesonbuild/environment.py
32+++ b/mesonbuild/environment.py 31+++ b/mesonbuild/environment.py
33@@ -359,10 +359,8 @@ def detect_cpu_family(compilers: CompilersDict) -> str: 32@@ -436,10 +436,8 @@ def detect_cpu_family(compilers: CompilersDict) -> str:
34 if compilers and not any_compiler_has_define(compilers, '__mips64'): 33 if compilers and not any_compiler_has_define(compilers, '__mips64'):
35 trial = 'mips' 34 trial = 'mips'
36 35
diff --git a/meta/recipes-devtools/meson/meson/0001-python-module-do-not-manipulate-the-environment-when.patch b/meta/recipes-devtools/meson/meson/0001-python-module-do-not-manipulate-the-environment-when.patch
index 2e0a4b1bbe..f654447013 100644
--- a/meta/recipes-devtools/meson/meson/0001-python-module-do-not-manipulate-the-environment-when.patch
+++ b/meta/recipes-devtools/meson/meson/0001-python-module-do-not-manipulate-the-environment-when.patch
@@ -1,21 +1,21 @@
1From e85683698aa3556bf14fc6d35f2c067f16af520b Mon Sep 17 00:00:00 2001 1From 6c3734f533ee7ad493188c8fc17bb1c65b65f0bd Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Mon, 19 Nov 2018 14:24:26 +0100 3Date: Mon, 19 Nov 2018 14:24:26 +0100
4Subject: [PATCH] python module: do not manipulate the environment when calling 4Subject: [PATCH] python module: do not manipulate the environment when calling
5
5 pkg-config 6 pkg-config
6 7
7Upstream-Status: Inappropriate [oe-core specific] 8Upstream-Status: Inappropriate [oe-core specific]
8Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 9Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
9
10--- 10---
11 mesonbuild/dependencies/python.py | 6 +----- 11 mesonbuild/dependencies/python.py | 6 +-----
12 1 file changed, 1 insertion(+), 5 deletions(-) 12 1 file changed, 1 insertion(+), 5 deletions(-)
13 13
14diff --git a/mesonbuild/dependencies/python.py b/mesonbuild/dependencies/python.py 14diff --git a/mesonbuild/dependencies/python.py b/mesonbuild/dependencies/python.py
15index 9aea6bd..8c13ede 100644 15index ab040b5..a34b271 100644
16--- a/mesonbuild/dependencies/python.py 16--- a/mesonbuild/dependencies/python.py
17+++ b/mesonbuild/dependencies/python.py 17+++ b/mesonbuild/dependencies/python.py
18@@ -380,9 +380,6 @@ def python_factory(env: 'Environment', for_machine: 'MachineChoice', 18@@ -412,9 +412,6 @@ def python_factory(env: 'Environment', for_machine: 'MachineChoice',
19 empty.name = 'python' 19 empty.name = 'python'
20 return empty 20 return empty
21 21
@@ -25,7 +25,7 @@ index 9aea6bd..8c13ede 100644
25 try: 25 try:
26 return PythonPkgConfigDependency(name, env, kwargs, installation, True) 26 return PythonPkgConfigDependency(name, env, kwargs, installation, True)
27 finally: 27 finally:
28@@ -391,8 +388,7 @@ def python_factory(env: 'Environment', for_machine: 'MachineChoice', 28@@ -423,8 +420,7 @@ def python_factory(env: 'Environment', for_machine: 'MachineChoice',
29 os.environ[name] = value 29 os.environ[name] = value
30 elif name in os.environ: 30 elif name in os.environ:
31 del os.environ[name] 31 del os.environ[name]
@@ -33,5 +33,5 @@ index 9aea6bd..8c13ede 100644
33- set_env('PKG_CONFIG_PATH', old_pkg_path) 33- set_env('PKG_CONFIG_PATH', old_pkg_path)
34+ pass 34+ pass
35 35
36 candidates.append(functools.partial(wrap_in_pythons_pc_dir, pkg_name, env, kwargs, installation)) 36 # Otherwise this doesn't fulfill the interface requirements
37 # We only need to check both, if a python install has a LIBPC. It might point to the wrong location, 37 wrap_in_pythons_pc_dir.log_tried = PythonPkgConfigDependency.log_tried # type: ignore[attr-defined]
diff --git a/meta/recipes-devtools/meson/meson/0002-Support-building-allarch-recipes-again.patch b/meta/recipes-devtools/meson/meson/0002-Support-building-allarch-recipes-again.patch
index a8396f30bb..ed35498c30 100644
--- a/meta/recipes-devtools/meson/meson/0002-Support-building-allarch-recipes-again.patch
+++ b/meta/recipes-devtools/meson/meson/0002-Support-building-allarch-recipes-again.patch
@@ -1,4 +1,4 @@
1From 6fb8db54929b40e1fd7ac949ef44f0d37df0bae9 Mon Sep 17 00:00:00 2001 1From e123195e5990c3071385defd96dfab1211e98c08 Mon Sep 17 00:00:00 2001
2From: Peter Kjellerstedt <pkj@axis.com> 2From: Peter Kjellerstedt <pkj@axis.com>
3Date: Thu, 26 Jul 2018 16:32:49 +0200 3Date: Thu, 26 Jul 2018 16:32:49 +0200
4Subject: [PATCH] Support building allarch recipes again 4Subject: [PATCH] Support building allarch recipes again
@@ -7,16 +7,15 @@ This registers "allarch" as a known CPU family.
7 7
8Upstream-Status: Inappropriate [OE specific] 8Upstream-Status: Inappropriate [OE specific]
9Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> 9Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
10
11--- 10---
12 mesonbuild/envconfig.py | 1 + 11 mesonbuild/envconfig.py | 1 +
13 1 file changed, 1 insertion(+) 12 1 file changed, 1 insertion(+)
14 13
15diff --git a/mesonbuild/envconfig.py b/mesonbuild/envconfig.py 14diff --git a/mesonbuild/envconfig.py b/mesonbuild/envconfig.py
16index a35c356..436355f 100644 15index 27be871..994ac77 100644
17--- a/mesonbuild/envconfig.py 16--- a/mesonbuild/envconfig.py
18+++ b/mesonbuild/envconfig.py 17+++ b/mesonbuild/envconfig.py
19@@ -38,6 +38,7 @@ from pathlib import Path 18@@ -31,6 +31,7 @@ if T.TYPE_CHECKING:
20 19
21 20
22 known_cpu_families = ( 21 known_cpu_families = (
diff --git a/meta/recipes-devtools/meson/meson/meson-wrapper b/meta/recipes-devtools/meson/meson/meson-wrapper
index 7455985297..3aa1a93520 100755
--- a/meta/recipes-devtools/meson/meson/meson-wrapper
+++ b/meta/recipes-devtools/meson/meson/meson-wrapper
@@ -14,8 +14,14 @@ fi
14unset CC CXX CPP LD AR NM STRIP 14unset CC CXX CPP LD AR NM STRIP
15 15
16case "$1" in 16case "$1" in
17setup|configure|dist|install|introspect|init|test|wrap|subprojects|rewrite|compile|devenv|env2mfile|help) MESON_CMD="$1" ;; 17setup|configure|dist|install|introspect|init|test|wrap|subprojects|rewrite|compile|devenv|env2mfile|help)
18*) echo meson-wrapper: Implicit setup command assumed; MESON_CMD=setup ;; 18 MESON_CMD="$1"
19 shift
20 ;;
21*)
22 MESON_CMD=setup
23 echo meson-wrapper: Implicit setup command assumed
24 ;;
19esac 25esac
20 26
21if [ "$MESON_CMD" = "setup" ]; then 27if [ "$MESON_CMD" = "setup" ]; then
@@ -27,5 +33,6 @@ if [ "$MESON_CMD" = "setup" ]; then
27fi 33fi
28 34
29exec "$OECORE_NATIVE_SYSROOT/usr/bin/meson.real" \ 35exec "$OECORE_NATIVE_SYSROOT/usr/bin/meson.real" \
30 "$@" \ 36 $MESON_CMD \
31 $MESON_SETUP_OPTS 37 $MESON_SETUP_OPTS \
38 "$@"
diff --git a/meta/recipes-devtools/meson/meson_1.3.1.bb b/meta/recipes-devtools/meson/meson_1.8.2.bb
index 3d2eedca10..bfeaab0a79 100644
--- a/meta/recipes-devtools/meson/meson_1.3.1.bb
+++ b/meta/recipes-devtools/meson/meson_1.8.2.bb
@@ -15,7 +15,7 @@ SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/meson-${PV}.tar.gz \
15 file://0001-Make-CPU-family-warnings-fatal.patch \ 15 file://0001-Make-CPU-family-warnings-fatal.patch \
16 file://0002-Support-building-allarch-recipes-again.patch \ 16 file://0002-Support-building-allarch-recipes-again.patch \
17 " 17 "
18SRC_URI[sha256sum] = "6020568bdede1643d4fb41e28215be38eff5d52da28ac7d125457c59e0032ad7" 18SRC_URI[sha256sum] = "c105816d8158c76b72adcb9ff60297719096da7d07f6b1f000fd8c013cd387af"
19UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)$" 19UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)$"
20 20
21inherit python_setuptools_build_meta github-releases 21inherit python_setuptools_build_meta github-releases
@@ -24,16 +24,6 @@ RDEPENDS:${PN} = "ninja python3-modules python3-pkg-resources"
24 24
25FILES:${PN} += "${datadir}/polkit-1" 25FILES:${PN} += "${datadir}/polkit-1"
26 26
27do_install:append () {
28 # As per the same issue in the python recipe itself:
29 # Unfortunately the following pyc files are non-deterministc due to 'frozenset'
30 # being written without strict ordering, even with PYTHONHASHSEED = 0
31 # Upstream is discussing ways to solve the issue properly, until then let's
32 # just not install the problematic files.
33 # More info: http://benno.id.au/blog/2013/01/15/python-determinism
34 rm -f ${D}${libdir}/python*/site-packages/mesonbuild/dependencies/__pycache__/mpi.cpython*
35}
36
37BBCLASSEXTEND = "native nativesdk" 27BBCLASSEXTEND = "native nativesdk"
38 28
39inherit meson-routines 29inherit meson-routines
@@ -47,7 +37,7 @@ inherit meson-routines
47# them. 37# them.
48def var_list2str(var, d): 38def var_list2str(var, d):
49 items = d.getVar(var).split() 39 items = d.getVar(var).split()
50 return items[0] if len(items) == 1 else ', '.join(repr(s) for s in items) 40 return repr(items[0]) if len(items) == 1 else ', '.join(repr(s) for s in items)
51 41
52def generate_native_link_template(d): 42def generate_native_link_template(d):
53 val = ['-L@{OECORE_NATIVE_SYSROOT}${libdir_native}', 43 val = ['-L@{OECORE_NATIVE_SYSROOT}${libdir_native}',
@@ -75,7 +65,7 @@ def generate_native_link_template(d):
75 65
76 return repr(val) 66 return repr(val)
77 67
78install_templates() { 68install_native_template() {
79 install -d ${D}${datadir}/meson 69 install -d ${D}${datadir}/meson
80 70
81 cat >${D}${datadir}/meson/meson.native.template <<EOF 71 cat >${D}${datadir}/meson/meson.native.template <<EOF
@@ -86,16 +76,33 @@ ar = ${@meson_array('BUILD_AR', d)}
86nm = ${@meson_array('BUILD_NM', d)} 76nm = ${@meson_array('BUILD_NM', d)}
87strip = ${@meson_array('BUILD_STRIP', d)} 77strip = ${@meson_array('BUILD_STRIP', d)}
88readelf = ${@meson_array('BUILD_READELF', d)} 78readelf = ${@meson_array('BUILD_READELF', d)}
89pkgconfig = 'pkg-config-native' 79pkg-config = 'pkg-config-native'
90 80
91[built-in options] 81[built-in options]
92c_args = ['-isystem@{OECORE_NATIVE_SYSROOT}${includedir_native}' , ${@var_list2str('BUILD_OPTIMIZATION', d)}] 82c_args = ['-isystem@{OECORE_NATIVE_SYSROOT}${includedir_native}' , ${@var_list2str('BUILD_OPTIMIZATION', d)}]
93c_link_args = ${@generate_native_link_template(d)} 83c_link_args = ${@generate_native_link_template(d)}
94cpp_args = ['-isystem@{OECORE_NATIVE_SYSROOT}${includedir_native}' , ${@var_list2str('BUILD_OPTIMIZATION', d)}] 84cpp_args = ['-isystem@{OECORE_NATIVE_SYSROOT}${includedir_native}' , ${@var_list2str('BUILD_OPTIMIZATION', d)}]
95cpp_link_args = ${@generate_native_link_template(d)} 85cpp_link_args = ${@generate_native_link_template(d)}
96[properties]
97sys_root = '@OECORE_NATIVE_SYSROOT'
98EOF 86EOF
87}
88
89install_nativesdk_template() {
90 install -d ${D}${datadir}/meson
91
92 cat >${D}${datadir}/meson/meson.native.template <<EOF
93[binaries]
94pkg-config = 'pkg-config-native'
95
96[built-in options]
97c_args = ['-isystem@{OECORE_NATIVE_SYSROOT}${includedir_native}']
98c_link_args = ['-L@{OECORE_NATIVE_SYSROOT}${libdir_native}', '-L@{OECORE_NATIVE_SYSROOT}${base_libdir_native}',]
99cpp_args = ['-isystem@{OECORE_NATIVE_SYSROOT}${includedir_native}']
100cpp_link_args = ['-L@{OECORE_NATIVE_SYSROOT}${libdir_native}', '-L@{OECORE_NATIVE_SYSROOT}${base_libdir_native}',]
101EOF
102}
103
104install_cross_template() {
105 install -d ${D}${datadir}/meson
99 106
100 cat >${D}${datadir}/meson/meson.cross.template <<EOF 107 cat >${D}${datadir}/meson/meson.cross.template <<EOF
101[binaries] 108[binaries]
@@ -104,7 +111,7 @@ cpp = @CXX
104ar = @AR 111ar = @AR
105nm = @NM 112nm = @NM
106strip = @STRIP 113strip = @STRIP
107pkgconfig = 'pkg-config' 114pkg-config = 'pkg-config'
108 115
109[built-in options] 116[built-in options]
110c_args = @CFLAGS 117c_args = @CFLAGS
@@ -117,19 +124,16 @@ needs_exe_wrapper = true
117sys_root = @OECORE_TARGET_SYSROOT 124sys_root = @OECORE_TARGET_SYSROOT
118 125
119[host_machine] 126[host_machine]
120system = '$host_system' 127system = @OECORE_MESON_HOST_SYSTEM
121cpu_family = '$host_cpu_family' 128cpu_family = @OECORE_MESON_HOST_CPU_FAMILY
122cpu = '$host_cpu' 129cpu = @OECORE_MESON_HOST_CPU
123endian = '$host_endian' 130endian = @OECORE_MESON_HOST_ENDIAN
124EOF 131EOF
125} 132}
126 133
127do_install:append:class-nativesdk() { 134do_install:append:class-nativesdk() {
128 host_system=${SDK_OS} 135 install_nativesdk_template
129 host_cpu_family=${@meson_cpu_family("SDK_ARCH", d)} 136 install_cross_template
130 host_cpu=${SDK_ARCH}
131 host_endian=${@meson_endian("SDK", d)}
132 install_templates
133 137
134 install -d ${D}${SDKPATHNATIVE}/post-relocate-setup.d 138 install -d ${D}${SDKPATHNATIVE}/post-relocate-setup.d
135 install -m 0755 ${UNPACKDIR}/meson-setup.py ${D}${SDKPATHNATIVE}/post-relocate-setup.d/ 139 install -m 0755 ${UNPACKDIR}/meson-setup.py ${D}${SDKPATHNATIVE}/post-relocate-setup.d/
@@ -142,11 +146,8 @@ do_install:append:class-nativesdk() {
142FILES:${PN}:append:class-nativesdk = "${datadir}/meson ${SDKPATHNATIVE}" 146FILES:${PN}:append:class-nativesdk = "${datadir}/meson ${SDKPATHNATIVE}"
143 147
144do_install:append:class-native() { 148do_install:append:class-native() {
145 host_system=${HOST_OS} 149 install_native_template
146 host_cpu_family=${@meson_cpu_family("HOST_ARCH", d)} 150 install_cross_template
147 host_cpu=${HOST_ARCH}
148 host_endian=${@meson_endian("HOST", d)}
149 install_templates
150 151
151 install -d ${D}${datadir}/post-relocate-setup.d 152 install -d ${D}${datadir}/post-relocate-setup.d
152 install -m 0755 ${UNPACKDIR}/meson-setup.py ${D}${datadir}/post-relocate-setup.d/ 153 install -m 0755 ${UNPACKDIR}/meson-setup.py ${D}${datadir}/post-relocate-setup.d/
diff --git a/meta/recipes-devtools/mmc/mmc-utils_git.bb b/meta/recipes-devtools/mmc/mmc-utils_git.bb
index 7c6be93a9c..f3944aebf0 100644
--- a/meta/recipes-devtools/mmc/mmc-utils_git.bb
+++ b/meta/recipes-devtools/mmc/mmc-utils_git.bb
@@ -1,18 +1,19 @@
1SUMMARY = "Userspace tools for MMC/SD devices" 1SUMMARY = "Userspace tools for MMC/SD devices"
2HOMEPAGE = "http://git.kernel.org/cgit/linux/kernel/git/cjb/mmc-utils.git/" 2HOMEPAGE = "https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git/"
3DESCRIPTION = "${SUMMARY}" 3DESCRIPTION = "${SUMMARY}"
4LICENSE = "GPL-2.0-only" 4LICENSE = "GPL-2.0-only"
5LIC_FILES_CHKSUM = "file://mmc.c;beginline=1;endline=20;md5=fae32792e20f4d27ade1c5a762d16b7d" 5LIC_FILES_CHKSUM = "file://mmc.c;beginline=1;endline=20;md5=fae32792e20f4d27ade1c5a762d16b7d"
6 6
7SRCBRANCH ?= "master" 7SRCBRANCH ?= "master"
8SRCREV = "f757f413dea4a143ad7c3b48b8264176f0499a82" 8SRCREV = "c515ea2e1cebfbf9d81aa6a5c1bf67a79d2a7e58"
9 9
10PV = "0.1+git" 10PV = "0.1+git"
11 11
12SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git;branch=${SRCBRANCH};protocol=https" 12SRC_URI = "git://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git;branch=${SRCBRANCH};protocol=https"
13UPSTREAM_CHECK_COMMITS = "1" 13UPSTREAM_CHECK_COMMITS = "1"
14 14
15S = "${WORKDIR}/git" 15DEPENDS = "python3-sphinx-native"
16EXTRA_OEMAKE = "C="
16 17
17CFLAGS:append:powerpc64 = " -D__SANE_USERSPACE_TYPES__" 18CFLAGS:append:powerpc64 = " -D__SANE_USERSPACE_TYPES__"
18CFLAGS:append:mipsarchn64 = " -D__SANE_USERSPACE_TYPES__" 19CFLAGS:append:mipsarchn64 = " -D__SANE_USERSPACE_TYPES__"
diff --git a/meta/recipes-devtools/mtd/files/0001-Improve-check-for-GCC-compiler-version.patch b/meta/recipes-devtools/mtd/files/0001-Improve-check-for-GCC-compiler-version.patch
new file mode 100644
index 0000000000..2329dfece3
--- /dev/null
+++ b/meta/recipes-devtools/mtd/files/0001-Improve-check-for-GCC-compiler-version.patch
@@ -0,0 +1,34 @@
1From e7adb21350ff3b96dbd2de56a127e9d916c08d62 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 22 Mar 2025 19:05:32 -0700
4Subject: [PATCH] Improve check for GCC compiler version
5
6When using unreleased compiler has version like
715.0.1 and that test fails because __GNUC_MINOR__ < 1
8becomes true, therefore check for full version string
9which is more rubust.
10
11Upstream-Status: Backport [https://github.com/sigma-star/mtd-utils/commit/ac0ab65ebcd7b11739986b81343457469fbb43b0]
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13---
14 ubifs-utils/common/atomic.h | 6 +++++-
15 1 file changed, 5 insertions(+), 1 deletion(-)
16
17diff --git a/ubifs-utils/common/atomic.h b/ubifs-utils/common/atomic.h
18index f287d43..95754b2 100644
19--- a/ubifs-utils/common/atomic.h
20+++ b/ubifs-utils/common/atomic.h
21@@ -2,8 +2,12 @@
22 #ifndef __ATOMIC_H__
23 #define __ATOMIC_H__
24
25+#define GCC_VERSION (__GNUC__ * 10000 \
26+ + __GNUC_MINOR__ * 100 \
27+ + __GNUC_PATCHLEVEL__)
28+
29 /* Check GCC version, just to be safe */
30-#if !defined(__GNUC__) || (__GNUC__ < 4) || (__GNUC_MINOR__ < 1)
31+#if GCC_VERSION < 40100
32 # error atomic.h works only with GCC newer than version 4.1
33 #endif /* GNUC >= 4.1 */
34
diff --git a/meta/recipes-devtools/mtd/files/0001-ubifs-utils-ubifs.h-Include-fcntl.h.patch b/meta/recipes-devtools/mtd/files/0001-ubifs-utils-ubifs.h-Include-fcntl.h.patch
new file mode 100644
index 0000000000..b603ac8fd6
--- /dev/null
+++ b/meta/recipes-devtools/mtd/files/0001-ubifs-utils-ubifs.h-Include-fcntl.h.patch
@@ -0,0 +1,53 @@
1From 2fc872697f72214e1e3efc6c2523e374fa5d681d Mon Sep 17 00:00:00 2001
2From: Fabio Estevam <festevam@gmail.com>
3Date: Mon, 17 Feb 2025 16:02:04 -0300
4Subject: [PATCH v4 mtd-utils 1/4] ubifs-utils: ubifs.h: Include <fcntl.h>
5
6Include the <fcntl.h> header file to fix the following error
7when building with musl:
8
9| In file included from ../git/ubifs-utils/common/compr.c:42:
10| ../git/ubifs-utils/libubifs/ubifs.h:313:9: error: unknown type name 'loff_t'; did you mean 'off_t'?
11| 313 | loff_t ui_size;
12| | ^~~~~~
13| | off_t
14| ../git/ubifs-utils/libubifs/ubifs.h:1341:9: error: unknown type name 'loff_t'; did you mean 'off_t'?
15| 1341 | loff_t i_size;
16| | ^~~~~~
17| | off_t
18| ../git/ubifs-utils/libubifs/ubifs.h:1342:9: error: unknown type name 'loff_t'; did you mean 'off_t'?
19| 1342 | loff_t d_size;
20| | ^~~~~~
21| | off_t
22| ../git/ubifs-utils/libubifs/ubifs.h:1899:44: error: unknown type name 'loff_t'; did you mean 'off_t'?
23| 1899 | int deletion, loff_t new_size);
24| | ^~~~~~
25| | off_t
26| make: *** [Makefile:4878: ubifs-utils/common/mkfs_ubifs-compr.o] Error 1
27
28Upstream-Status: Backport [https://github.com/sigma-star/mtd-utils/commit/12bc9ad824bd8f18a5ec9c7154ad2374cf8c7ae3]
29Signed-off-by: Fabio Estevam <festevam@gmail.com>
30Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com>
31Reviewed-by: Khem Raj <raj.khem@gmail.com>
32---
33Changes since v3:
34- Removed Upstream-Status tag.
35
36 ubifs-utils/libubifs/ubifs.h | 1 +
37 1 file changed, 1 insertion(+)
38
39diff --git a/ubifs-utils/libubifs/ubifs.h b/ubifs-utils/libubifs/ubifs.h
40index 0908a2289208..1c7bc7bd0c80 100644
41--- a/ubifs-utils/libubifs/ubifs.h
42+++ b/ubifs-utils/libubifs/ubifs.h
43@@ -11,6 +11,7 @@
44 #ifndef __UBIFS_H__
45 #define __UBIFS_H__
46
47+#include <fcntl.h>
48 #include <string.h>
49
50 #include "linux_types.h"
51--
522.34.1
53
diff --git a/meta/recipes-devtools/mtd/files/0002-ubifs-utils-journal-Include-sys-stat.h.patch b/meta/recipes-devtools/mtd/files/0002-ubifs-utils-journal-Include-sys-stat.h.patch
new file mode 100644
index 0000000000..d92a3fb4b6
--- /dev/null
+++ b/meta/recipes-devtools/mtd/files/0002-ubifs-utils-journal-Include-sys-stat.h.patch
@@ -0,0 +1,41 @@
1From 65077d8d664821e323d011956049c1c1b97d9560 Mon Sep 17 00:00:00 2001
2From: Fabio Estevam <festevam@gmail.com>
3Date: Mon, 17 Feb 2025 16:07:49 -0300
4Subject: [PATCH v4 mtd-utils 2/4] ubifs-utils: journal: Include <sys/stat.h>
5
6Include the <sys/stat.h> header file to fix the following error
7when building with musl:
8
9| ../git/ubifs-utils/libubifs/journal.c: In function 'ubifs_get_dent_type':
10| ../git/ubifs-utils/libubifs/journal.c:414:24: error: 'S_IFMT' undeclared (first use in this function)
11| 414 | switch (mode & S_IFMT) {
12| | ^~~~~~
13| ../git/ubifs-utils/libubifs/journal.c:414:24: note: each undeclared identifier is reported only once for each function it appears in
14| ../git/ubifs-utils/libubifs/journal.c:415:14: error: 'S_IFREG' undeclared (first use in this function)
15| 415 | case S_IFREG:
16
17Upstream-Status: Backport [https://github.com/sigma-star/mtd-utils/commit/173f9714c8da1d685bfa951d43b9310d16bbab3c]
18Signed-off-by: Fabio Estevam <festevam@gmail.com>
19Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com>
20---
21Changes since v3:
22- Removed Upstream-Status tag.
23
24 ubifs-utils/libubifs/journal.c | 1 +
25 1 file changed, 1 insertion(+)
26
27diff --git a/ubifs-utils/libubifs/journal.c b/ubifs-utils/libubifs/journal.c
28index e78ea14f3e69..45d82fd54bdb 100644
29--- a/ubifs-utils/libubifs/journal.c
30+++ b/ubifs-utils/libubifs/journal.c
31@@ -46,6 +46,7 @@
32 * all the nodes.
33 */
34
35+#include <sys/stat.h>
36 #include "bitops.h"
37 #include "kmem.h"
38 #include "ubifs.h"
39--
402.34.1
41
diff --git a/meta/recipes-devtools/mtd/files/0003-ubifs-utils-link-libmissing.a-in-case-execinfo.h-isn.patch b/meta/recipes-devtools/mtd/files/0003-ubifs-utils-link-libmissing.a-in-case-execinfo.h-isn.patch
new file mode 100644
index 0000000000..efaedad70b
--- /dev/null
+++ b/meta/recipes-devtools/mtd/files/0003-ubifs-utils-link-libmissing.a-in-case-execinfo.h-isn.patch
@@ -0,0 +1,66 @@
1From 52db447c94974cd946de8d9d7031b91d41ad1280 Mon Sep 17 00:00:00 2001
2From: Ross Burton <ross.burton@arm.com>
3Date: Wed, 26 Feb 2025 18:24:00 +0000
4Subject: [PATCH 3/4] ubifs-utils: link libmissing.a in case execinfo.h isn't
5 present
6
7On musl execinfo.h doesn't exist, but ubifs-utils uses backtrace() when
8reporting errors. This results in build failures under musl.
9
10Handily, libmissing.a already exists with a stub implementation of
11backtrace().
12
13Guard the execinfo.h include and if it isn't available instead include
14libmissing.h, and link to libmissing.a to provide backtrace() if needed.
15
16Upstream-Status: Backport [https://github.com/sigma-star/mtd-utils/commit/8a83b306db64d6f60186d4396b0b770163b85b6e]
17Signed-off-by: Ross Burton <ross.burton@arm.com>
18Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com>
19Signed-off-by: Fabio Estevam <festevam@gmail.com>
20---
21 ubifs-utils/Makemodule.am | 4 ++--
22 ubifs-utils/common/defs.h | 5 ++++-
23 2 files changed, 6 insertions(+), 3 deletions(-)
24
25diff --git a/ubifs-utils/Makemodule.am b/ubifs-utils/Makemodule.am
26index 21ba0597d84a..f84569a6da44 100644
27--- a/ubifs-utils/Makemodule.am
28+++ b/ubifs-utils/Makemodule.am
29@@ -72,7 +72,7 @@ mkfs_ubifs_SOURCES = \
30 ubifs-utils/mkfs.ubifs/mkfs.ubifs.c
31
32 mkfs_ubifs_LDADD = libmtd.a libubi.a $(ZLIB_LIBS) $(LZO_LIBS) $(ZSTD_LIBS) $(UUID_LIBS) $(LIBSELINUX_LIBS) $(OPENSSL_LIBS) \
33- $(DUMP_STACK_LD) $(ASAN_LIBS) -lm -lpthread
34+ $(DUMP_STACK_LD) $(ASAN_LIBS) -lm -lpthread libmissing.a
35 mkfs_ubifs_CPPFLAGS = $(AM_CPPFLAGS) $(ZLIB_CFLAGS) $(LZO_CFLAGS) $(ZSTD_CFLAGS) $(UUID_CFLAGS) $(LIBSELINUX_CFLAGS) \
36 -I$(top_srcdir)/ubi-utils/include -I$(top_srcdir)/ubifs-utils/common -I $(top_srcdir)/ubifs-utils/libubifs
37
38@@ -90,7 +90,7 @@ fsck_ubifs_SOURCES = \
39 ubifs-utils/fsck.ubifs/handle_disconnected.c
40
41 fsck_ubifs_LDADD = libmtd.a libubi.a $(ZLIB_LIBS) $(LZO_LIBS) $(ZSTD_LIBS) $(UUID_LIBS) $(LIBSELINUX_LIBS) $(OPENSSL_LIBS) \
42- $(DUMP_STACK_LD) $(ASAN_LIBS) -lm -lpthread
43+ $(DUMP_STACK_LD) $(ASAN_LIBS) -lm -lpthread libmissing.a
44 fsck_ubifs_CPPFLAGS = $(AM_CPPFLAGS) $(ZLIB_CFLAGS) $(LZO_CFLAGS) $(ZSTD_CFLAGS) $(UUID_CFLAGS) $(LIBSELINUX_CFLAGS) \
45 -I$(top_srcdir)/ubi-utils/include -I$(top_srcdir)/ubifs-utils/common -I $(top_srcdir)/ubifs-utils/libubifs \
46 -I$(top_srcdir)/ubifs-utils/fsck.ubifs
47diff --git a/ubifs-utils/common/defs.h b/ubifs-utils/common/defs.h
48index 7ff1771674d9..d5edbf67439a 100644
49--- a/ubifs-utils/common/defs.h
50+++ b/ubifs-utils/common/defs.h
51@@ -13,8 +13,11 @@
52 #include <errno.h>
53 #include <time.h>
54 #include <assert.h>
55+#if HAVE_EXECINFO_H
56 #include <execinfo.h>
57-
58+#else
59+#include "libmissing.h"
60+#endif
61 #include "ubifs.h"
62
63 /* common.h requires the PROGRAM_NAME macro */
64--
652.34.1
66
diff --git a/meta/recipes-devtools/mtd/files/0004-ubifs-utils-extract_files-Include-linux-limits.h.patch b/meta/recipes-devtools/mtd/files/0004-ubifs-utils-extract_files-Include-linux-limits.h.patch
new file mode 100644
index 0000000000..3444f330dc
--- /dev/null
+++ b/meta/recipes-devtools/mtd/files/0004-ubifs-utils-extract_files-Include-linux-limits.h.patch
@@ -0,0 +1,41 @@
1From f218be1ce0c8923d690221160a3dd9f1492acaf1 Mon Sep 17 00:00:00 2001
2From: Fabio Estevam <festevam@gmail.com>
3Date: Tue, 18 Feb 2025 08:17:30 -0300
4Subject: [PATCH v4 mtd-utils 4/4] ubifs-utils: extract_files: Include <linux/limits.h>
5
6Include <linux/limits.h> to fix the following build error when building
7with musl:
8
9| ../git/ubifs-utils/fsck.ubifs/extract_files.c: In function 'parse_ino_node':
10| ../git/ubifs-utils/fsck.ubifs/extract_files.c:144:47: error: 'XATTR_LIST_MAX' undeclared (first use in this function)
11| 144 | if (ino_node->xnms + ino_node->xcnt > XATTR_LIST_MAX) {
12| | ^~~~~~~~~~~~~~
13| ../git/ubifs-utils/fsck.ubifs/extract_files.c:144:47: note: each undeclared identifier is reported only once for each function it appears in
14| make: *** [Makefile:4374: ubifs-utils/fsck.ubifs/fsck_ubifs-extract_files.o] Error 1
15
16Upstream-Status: Backport [https://github.com/sigma-star/mtd-utils/commit/77981a2888c711268b0e7f32af6af159c2288e23]
17Signed-off-by: Fabio Estevam <festevam@gmail.com>
18Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com>
19---
20Changes since v3:
21- None.
22
23 ubifs-utils/fsck.ubifs/extract_files.c | 2 ++
24 1 file changed, 2 insertions(+)
25
26diff --git a/ubifs-utils/fsck.ubifs/extract_files.c b/ubifs-utils/fsck.ubifs/extract_files.c
27index c83d37749bc0..000ef5d10565 100644
28--- a/ubifs-utils/fsck.ubifs/extract_files.c
29+++ b/ubifs-utils/fsck.ubifs/extract_files.c
30@@ -10,6 +10,8 @@
31 #include <getopt.h>
32 #include <sys/stat.h>
33
34+#include <linux/limits.h>
35+
36 #include "linux_err.h"
37 #include "bitops.h"
38 #include "kmem.h"
39--
402.34.1
41
diff --git a/meta/recipes-devtools/mtd/mtd-utils_git.bb b/meta/recipes-devtools/mtd/mtd-utils_2.3.0.bb
index a40d79c864..47f0b01abe 100644
--- a/meta/recipes-devtools/mtd/mtd-utils_git.bb
+++ b/meta/recipes-devtools/mtd/mtd-utils_2.3.0.bb
@@ -11,12 +11,13 @@ inherit autotools pkgconfig update-alternatives
11DEPENDS = "zlib e2fsprogs util-linux" 11DEPENDS = "zlib e2fsprogs util-linux"
12RDEPENDS:mtd-utils-tests += "bash" 12RDEPENDS:mtd-utils-tests += "bash"
13 13
14PV = "2.2.0" 14SRCREV = "4594fc1f4496a0ed55cabd31fbeba4e3fbf05602"
15 15SRC_URI = "git://git.infradead.org/mtd-utils.git;branch=master \
16SRCREV = "31e990c56aba7584cde310685d663bb122f16003" 16 file://0001-ubifs-utils-ubifs.h-Include-fcntl.h.patch \
17SRC_URI = "git://git.infradead.org/mtd-utils.git;branch=master" 17 file://0002-ubifs-utils-journal-Include-sys-stat.h.patch \
18 18 file://0003-ubifs-utils-link-libmissing.a-in-case-execinfo.h-isn.patch \
19S = "${WORKDIR}/git" 19 file://0004-ubifs-utils-extract_files-Include-linux-limits.h.patch \
20 file://0001-Improve-check-for-GCC-compiler-version.patch"
20 21
21# xattr support creates an additional compile-time dependency on acl because 22# xattr support creates an additional compile-time dependency on acl because
22# the sys/acl.h header is needed. libacl is not needed and thus enabling xattr 23# the sys/acl.h header is needed. libacl is not needed and thus enabling xattr
diff --git a/meta/recipes-devtools/mtools/mtools/clang_UNUSED.patch b/meta/recipes-devtools/mtools/mtools/clang_UNUSED.patch
index 6bb9d6a3da..ddf3706f51 100644
--- a/meta/recipes-devtools/mtools/mtools/clang_UNUSED.patch
+++ b/meta/recipes-devtools/mtools/mtools/clang_UNUSED.patch
@@ -1,12 +1,19 @@
1Undefine UNUSED macros with clang 1From 6914c6e15cd15daf1dae81458e5346958c9d5449 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 19 Sep 2018 11:55:41 -0700
4Subject: [PATCH] Undefine UNUSED macros with clang
2 5
3Upstream-Status: Pending 6Upstream-Status: Pending
4Signed-off-by: Khem Raj <raj.khem@gmail.com> 7Signed-off-by: Khem Raj <raj.khem@gmail.com>
5Index: mtools-4.0.18/sysincludes.h 8---
6=================================================================== 9 sysincludes.h | 2 +-
7--- mtools-4.0.18.orig/sysincludes.h 10 1 file changed, 1 insertion(+), 1 deletion(-)
8+++ mtools-4.0.18/sysincludes.h 11
9@@ -101,7 +101,7 @@ typedef void *caddr_t; 12diff --git a/sysincludes.h b/sysincludes.h
13index 272b316..49ee5ae 100644
14--- a/sysincludes.h
15+++ b/sysincludes.h
16@@ -98,7 +98,7 @@ ac_cv_func_setpgrp_void=yes ../mtools/configure --build=i386-linux-gnu --host=i3
10 #if defined __GNUC__ && defined __STDC__ 17 #if defined __GNUC__ && defined __STDC__
11 /* gcc -traditional doesn't have PACKED, UNUSED and NORETURN */ 18 /* gcc -traditional doesn't have PACKED, UNUSED and NORETURN */
12 # define PACKED __attribute__ ((packed)) 19 # define PACKED __attribute__ ((packed))
diff --git a/meta/recipes-devtools/mtools/mtools/disable-hardcoded-configs.patch b/meta/recipes-devtools/mtools/mtools/disable-hardcoded-configs.patch
index 57be935487..63992ac547 100644
--- a/meta/recipes-devtools/mtools/mtools/disable-hardcoded-configs.patch
+++ b/meta/recipes-devtools/mtools/mtools/disable-hardcoded-configs.patch
@@ -1,4 +1,4 @@
1From 2ef9b371a5cc44e730143e694d71665831fac216 Mon Sep 17 00:00:00 2001 1From 16969d42ec6514883bcee87cc89b3e7864481d7e Mon Sep 17 00:00:00 2001
2From: Ed Bartosh <ed.bartosh@linux.intel.com> 2From: Ed Bartosh <ed.bartosh@linux.intel.com>
3Date: Tue, 13 Jun 2017 14:55:52 +0300 3Date: Tue, 13 Jun 2017 14:55:52 +0300
4Subject: [PATCH] Disabled reading host configs. 4Subject: [PATCH] Disabled reading host configs.
@@ -6,16 +6,15 @@ Subject: [PATCH] Disabled reading host configs.
6Upstream-Status: Inappropriate [native] 6Upstream-Status: Inappropriate [native]
7 7
8Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> 8Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
9
10--- 9---
11 config.c | 8 -------- 10 config.c | 8 --------
12 1 file changed, 8 deletions(-) 11 1 file changed, 8 deletions(-)
13 12
14diff --git a/config.c b/config.c 13diff --git a/config.c b/config.c
15index 2f6a297..3181ed7 100644 14index 2433457..3972150 100644
16--- a/config.c 15--- a/config.c
17+++ b/config.c 16+++ b/config.c
18@@ -844,14 +844,6 @@ void read_config(void) 17@@ -849,14 +849,6 @@ void read_config(void)
19 memcpy(devices, const_devices, 18 memcpy(devices, const_devices,
20 nr_const_devices*sizeof(struct device)); 19 nr_const_devices*sizeof(struct device));
21 20
diff --git a/meta/recipes-devtools/mtools/mtools/mtools-makeinfo.patch b/meta/recipes-devtools/mtools/mtools/mtools-makeinfo.patch
index 6ae91d6cb9..fb7ba56eec 100644
--- a/meta/recipes-devtools/mtools/mtools/mtools-makeinfo.patch
+++ b/meta/recipes-devtools/mtools/mtools/mtools-makeinfo.patch
@@ -1,17 +1,16 @@
1From 3cf56b36db78679273f61ba78fbbf7f3fab52f68 Mon Sep 17 00:00:00 2001 1From b517158e8ffc6a665506007b20708d6c2589cec1 Mon Sep 17 00:00:00 2001
2From: Marcin Juszkiewicz <hrw@openedhand.com> 2From: Marcin Juszkiewicz <hrw@openedhand.com>
3Date: Fri, 8 Jun 2007 08:35:12 +0000 3Date: Fri, 8 Jun 2007 08:35:12 +0000
4Subject: [PATCH] mtools: imported from OE 4Subject: [PATCH] mtools: imported from OE
5 5
6Upstream-Status: Inappropriate [licensing] 6Upstream-Status: Inappropriate [licensing]
7
8--- 7---
9 Makefile.in | 11 ++++++----- 8 Makefile.in | 11 ++++++-----
10 configure.in | 27 +++++++++++++++++++++++++++ 9 configure.ac | 27 +++++++++++++++++++++++++++
11 2 files changed, 33 insertions(+), 5 deletions(-) 10 2 files changed, 33 insertions(+), 5 deletions(-)
12 11
13diff --git a/Makefile.in b/Makefile.in 12diff --git a/Makefile.in b/Makefile.in
14index 616d59f..85b5b1d 100644 13index 7b305b0..70c8c74 100644
15--- a/Makefile.in 14--- a/Makefile.in
16+++ b/Makefile.in 15+++ b/Makefile.in
17@@ -26,10 +26,11 @@ USERCFLAGS = 16@@ -26,10 +26,11 @@ USERCFLAGS =
@@ -30,7 +29,7 @@ index 616d59f..85b5b1d 100644
30 29
31 30
32 # do not edit below this line 31 # do not edit below this line
33@@ -199,7 +200,7 @@ dvi: mtools.dvi 32@@ -185,7 +186,7 @@ dvi: mtools.dvi
34 33
35 ps: mtools.ps 34 ps: mtools.ps
36 %.ps: %.dvi 35 %.ps: %.dvi
@@ -39,11 +38,11 @@ index 616d59f..85b5b1d 100644
39 38
40 pdf: mtools.pdf 39 pdf: mtools.pdf
41 %.pdf: %.texi sysconfdir.texi 40 %.pdf: %.texi sysconfdir.texi
42diff --git a/configure.in b/configure.in 41diff --git a/configure.ac b/configure.ac
43index 5ff75c1..c0f7440 100644 42index 37f0d00..c93cfb5 100644
44--- a/configure.in 43--- a/configure.ac
45+++ b/configure.in 44+++ b/configure.ac
46@@ -35,6 +35,33 @@ AC_CANONICAL_SYSTEM 45@@ -36,6 +36,33 @@ AC_PATH_PROG(INSTALL_INFO, install-info, "")
47 AC_C_CONST 46 AC_C_CONST
48 AC_C_INLINE 47 AC_C_INLINE
49 48
diff --git a/meta/recipes-devtools/mtools/mtools_4.0.43.bb b/meta/recipes-devtools/mtools/mtools_4.0.49.bb
index 859103979e..294b2f37b2 100644
--- a/meta/recipes-devtools/mtools/mtools_4.0.43.bb
+++ b/meta/recipes-devtools/mtools/mtools_4.0.49.bb
@@ -24,7 +24,7 @@ RRECOMMENDS:${PN}:libc-glibc = "\
24 glibc-gconv-ibm866 \ 24 glibc-gconv-ibm866 \
25 glibc-gconv-ibm869 \ 25 glibc-gconv-ibm869 \
26 " 26 "
27SRC_URI[sha256sum] = "541e179665dc4e272b9602f2074243591a157da89cc47064da8c5829dbd2b339" 27SRC_URI[sha256sum] = "6fe5193583d6e7c59da75e63d7234f76c0b07caf33b103894f46f66a871ffc9f"
28 28
29SRC_URI = "${GNU_MIRROR}/mtools/mtools-${PV}.tar.bz2 \ 29SRC_URI = "${GNU_MIRROR}/mtools/mtools-${PV}.tar.bz2 \
30 file://mtools-makeinfo.patch \ 30 file://mtools-makeinfo.patch \
diff --git a/meta/recipes-devtools/nasm/nasm_2.16.01.bb b/meta/recipes-devtools/nasm/nasm_2.16.03.bb
index 219cc49360..281f3940e7 100644
--- a/meta/recipes-devtools/nasm/nasm_2.16.01.bb
+++ b/meta/recipes-devtools/nasm/nasm_2.16.03.bb
@@ -10,7 +10,7 @@ SRC_URI = "http://www.nasm.us/pub/nasm/releasebuilds/${PV}/nasm-${PV}.tar.bz2 \
10 file://0002-Add-debug-prefix-map-option.patch \ 10 file://0002-Add-debug-prefix-map-option.patch \
11 " 11 "
12 12
13SRC_URI[sha256sum] = "35b6ad2ee048d41c4779f073f3efca7762a822b7d2d4ef4e8df24cf65747bb2e" 13SRC_URI[sha256sum] = "bef3de159bcd61adf98bb7cc87ee9046e944644ad76b7633f18ab063edb29e57"
14 14
15EXTRA_AUTORECONF:append = " -I autoconf/m4" 15EXTRA_AUTORECONF:append = " -I autoconf/m4"
16 16
diff --git a/meta/recipes-devtools/ninja/ninja_1.12.0.bb b/meta/recipes-devtools/ninja/ninja_1.13.0.bb
index ef7f80d0ae..a5fa8f1c9e 100644
--- a/meta/recipes-devtools/ninja/ninja_1.12.0.bb
+++ b/meta/recipes-devtools/ninja/ninja_1.13.0.bb
@@ -1,18 +1,20 @@
1SUMMARY = "Ninja is a small build system with a focus on speed." 1SUMMARY = "Ninja is a small build system with a focus on speed."
2HOMEPAGE = "https://ninja-build.org/" 2HOMEPAGE = "https://ninja-build.org/"
3DESCRIPTION = "Ninja is a small build system with a focus on speed. It differs from other build systems in two major respects: it is designed to have its input files generated by a higher-level build system, and it is designed to run builds as fast as possible." 3DESCRIPTION = "Ninja is a small build system with a focus on speed. \
4It differs from other build systems in two major respects: \
5it is designed to have its input files generated by a higher-level build system, \
6and it is designed to run builds as fast as possible."
7
4LICENSE = "Apache-2.0" 8LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://COPYING;md5=a81586a64ad4e476c791cda7e2f2c52e" 9LIC_FILES_CHKSUM = "file://COPYING;md5=a81586a64ad4e476c791cda7e2f2c52e"
6 10
7DEPENDS = "re2c-native ninja-native" 11DEPENDS = "re2c-native ninja-native"
8 12
9SRCREV = "65d0dfcbbea6b8ca7d8a3a0f673ecb522379e43c" 13SRCREV = "b4d51f6ed5bed09dd2b70324df0d9cb4ecad2638"
10 14
11SRC_URI = "git://github.com/ninja-build/ninja.git;branch=release;protocol=https" 15SRC_URI = "git://github.com/ninja-build/ninja.git;branch=release;protocol=https;tag=v${PV}"
12UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>.*)" 16UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>.*)"
13 17
14S = "${WORKDIR}/git"
15
16do_configure[noexec] = "1" 18do_configure[noexec] = "1"
17 19
18do_compile:class-native() { 20do_compile:class-native() {
diff --git a/meta/recipes-devtools/opkg-utils/opkg-utils/0001-opkg-build-remove-numeric-owner-parameter-overzealou.patch b/meta/recipes-devtools/opkg-utils/opkg-utils/0001-opkg-build-remove-numeric-owner-parameter-overzealou.patch
deleted file mode 100644
index 0cdeb9574a..0000000000
--- a/meta/recipes-devtools/opkg-utils/opkg-utils/0001-opkg-build-remove-numeric-owner-parameter-overzealou.patch
+++ /dev/null
@@ -1,34 +0,0 @@
1From 19c2c6a14c8760c3595f5dc6cc89cde85fbdbac1 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Piotr=20=C5=81obacz?= <p.lobacz@welotec.com>
3Date: Tue, 9 Jan 2024 09:20:55 +0100
4Subject: [PATCH] opkg-build: remove `--numeric-owner` parameter overzealously
5 added
6
7In some corner cases this parameter has been added overzealously.
8All discussion on this topic can be read in here:
9https://bugzilla.yoctoproject.org/show_bug.cgi?id=15334
10
11Upstream-Status: Backport [https://git.yoctoproject.org/opkg-utils/commit/?id=68a969f0e867ace0d94faf8ebe7c7bb67f59d386]
12
13Signed-off-by: Alex Stewart <alex.stewart@ni.com>
14Signed-off-by: Khem Raj <raj.khem@gmail.com>
15---
16 opkg-build | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/opkg-build b/opkg-build
20index 6edd938..0582958 100755
21--- a/opkg-build
22+++ b/opkg-build
23@@ -337,7 +337,7 @@ export LANG=C
24 export LC_ALL=C
25 ( cd $pkg_dir/$CONTROL && find . -type f | sort > $tmp_dir/control_list )
26 ( cd $pkg_dir && find . -path ./$CONTROL -prune -o -path . -o -print | sort > $tmp_dir/file_list )
27-( cd $pkg_dir && tar $attributesargs $ogargs $tsortargs --numeric-owner --no-recursion $mtime_args -c $tarformat -T $tmp_dir/file_list | $compressor $compressorargs > $tmp_dir/data.tar.$cext )
28+( cd $pkg_dir && tar $attributesargs $ogargs $tsortargs --no-recursion $mtime_args -c $tarformat -T $tmp_dir/file_list | $compressor $compressorargs > $tmp_dir/data.tar.$cext )
29 ( cd $pkg_dir/$CONTROL && tar $ogargs $tsortargs --no-recursion $mtime_args -c $tarformat -T $tmp_dir/control_list | gzip $zipargs > $tmp_dir/control.tar.gz )
30 rm $tmp_dir/file_list
31 rm $tmp_dir/control_list
32--
332.43.0
34
diff --git a/meta/recipes-devtools/opkg-utils/opkg-utils_0.6.3.bb b/meta/recipes-devtools/opkg-utils/opkg-utils_0.7.0.bb
index e138bc24af..9f1a91e1d3 100644
--- a/meta/recipes-devtools/opkg-utils/opkg-utils_0.6.3.bb
+++ b/meta/recipes-devtools/opkg-utils/opkg-utils_0.7.0.bb
@@ -9,11 +9,8 @@ PROVIDES += "${@bb.utils.contains('PACKAGECONFIG', 'update-alternatives', 'virtu
9 9
10SRC_URI = "git://git.yoctoproject.org/opkg-utils;protocol=https;branch=master \ 10SRC_URI = "git://git.yoctoproject.org/opkg-utils;protocol=https;branch=master \
11 file://0001-update-alternatives-correctly-match-priority.patch \ 11 file://0001-update-alternatives-correctly-match-priority.patch \
12 file://0001-opkg-build-remove-numeric-owner-parameter-overzealou.patch \
13 " 12 "
14SRCREV = "589880d01969eb9af1e66120e731d43193504718" 13SRCREV = "68a969f0e867ace0d94faf8ebe7c7bb67f59d386"
15
16S = "${WORKDIR}/git"
17 14
18TARGET_CC_ARCH += "${LDFLAGS}" 15TARGET_CC_ARCH += "${LDFLAGS}"
19 16
diff --git a/meta/recipes-devtools/opkg/opkg-arch-config_1.0.bb b/meta/recipes-devtools/opkg/opkg-arch-config_1.0.bb
index 726a259a8c..9e9e70209e 100644
--- a/meta/recipes-devtools/opkg/opkg-arch-config_1.0.bb
+++ b/meta/recipes-devtools/opkg/opkg-arch-config_1.0.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://git.yoctoproject.org/opkg/"
3LICENSE = "MIT" 3LICENSE = "MIT"
4PACKAGE_ARCH = "${MACHINE_ARCH}" 4PACKAGE_ARCH = "${MACHINE_ARCH}"
5 5
6S = "${WORKDIR}" 6S = "${UNPACKDIR}"
7 7
8do_compile() { 8do_compile() {
9 mkdir -p ${S}/${sysconfdir}/opkg/ 9 mkdir -p ${S}/${sysconfdir}/opkg/
@@ -19,7 +19,6 @@ do_compile() {
19 done 19 done
20} 20}
21 21
22
23do_install () { 22do_install () {
24 install -d ${D}${sysconfdir}/opkg 23 install -d ${D}${sysconfdir}/opkg
25 install -m 0644 ${S}/${sysconfdir}/opkg/* ${D}${sysconfdir}/opkg/ 24 install -m 0644 ${S}/${sysconfdir}/opkg/* ${D}${sysconfdir}/opkg/
diff --git a/meta/recipes-devtools/opkg/opkg/0001-libopkg-Use-libgen.h-to-provide-basename-API.patch b/meta/recipes-devtools/opkg/opkg/0001-libopkg-Use-libgen.h-to-provide-basename-API.patch
deleted file mode 100644
index 61581e752b..0000000000
--- a/meta/recipes-devtools/opkg/opkg/0001-libopkg-Use-libgen.h-to-provide-basename-API.patch
+++ /dev/null
@@ -1,62 +0,0 @@
1From 7a1c13a48cf020c40dda1721d5c2ffd95e8e669a Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 10 Dec 2023 19:39:29 -0800
4Subject: [PATCH v2] libopkg: Use libgen.h to provide basename API
5
6Also ensure that copy of filename is passed into archive_entry_set_pathname
7so it can be operated upon by posix basename which expect non-const
8character pointer as input.
9
10This became evident with latest musl where basename declaration was
11dropped from string.h [1]
12
13[1] https://git.musl-libc.org/cgit/musl/commit/?id=725e17ed6dff4d0cd22487bb64470881e86a92e7
14
15Upstream-Status: Backport [74fc3a991f974095644897d18d43846b5f359dae]
16Signed-off-by: Khem Raj <raj.khem@gmail.com>
17---
18v2: Do not override basename wholesale
19
20 libopkg/opkg_archive.c | 6 ++++--
21 libopkg/opkg_remove.c | 1 +
22 2 files changed, 5 insertions(+), 2 deletions(-)
23
24diff --git a/libopkg/opkg_archive.c b/libopkg/opkg_archive.c
25index 03a4afb..b099f5b 100644
26--- a/libopkg/opkg_archive.c
27+++ b/libopkg/opkg_archive.c
28@@ -20,6 +20,7 @@
29
30 #include <archive.h>
31 #include <archive_entry.h>
32+#include <libgen.h>
33 #include <stdlib.h>
34 #include <stdio.h>
35 #include <string.h>
36@@ -797,8 +798,9 @@ int gz_write_archive(const char *filename, const char *gz_filename)
37 }
38
39 /* Remove path hierarchy, as we are only compressing a single file */
40- archive_entry_set_pathname(entry, basename(filename));
41-
42+ char* tmp = xstrdup(filename);
43+ archive_entry_set_pathname(entry, basename(tmp));
44+ free(tmp);
45 r = archive_write_header(a, entry);
46 if (r != ARCHIVE_OK) {
47 opkg_msg(ERROR, "Failed to create compressed file: '%s' : %s (errno=%d)",
48diff --git a/libopkg/opkg_remove.c b/libopkg/opkg_remove.c
49index 889c672..5254388 100644
50--- a/libopkg/opkg_remove.c
51+++ b/libopkg/opkg_remove.c
52@@ -20,6 +20,7 @@
53
54 #include "config.h"
55
56+#include <libgen.h>
57 #include <stdio.h>
58 #include <glob.h>
59 #include <unistd.h>
60--
612.43.0
62
diff --git a/meta/recipes-devtools/opkg/opkg/0001-opkg_conf-create-opkg.lock-in-run-instead-of-var-run.patch b/meta/recipes-devtools/opkg/opkg/0001-opkg_conf-create-opkg.lock-in-run-instead-of-var-run.patch
index e94a4123dd..98daf746ec 100644
--- a/meta/recipes-devtools/opkg/opkg/0001-opkg_conf-create-opkg.lock-in-run-instead-of-var-run.patch
+++ b/meta/recipes-devtools/opkg/opkg/0001-opkg_conf-create-opkg.lock-in-run-instead-of-var-run.patch
@@ -1,4 +1,4 @@
1From a4628a6171f393add9a2b287483ca39bb72b4dd6 Mon Sep 17 00:00:00 2001 1From 82b29dcfe3033d8285890bf46e58f464d9944196 Mon Sep 17 00:00:00 2001
2From: Jonathan Liu <net147@gmail.com> 2From: Jonathan Liu <net147@gmail.com>
3Date: Mon, 21 Sep 2015 20:23:23 +1000 3Date: Mon, 21 Sep 2015 20:23:23 +1000
4Subject: [PATCH] opkg_conf: create opkg.lock in /run instead of /var/run 4Subject: [PATCH] opkg_conf: create opkg.lock in /run instead of /var/run
@@ -17,10 +17,10 @@ Signed-off-by: Jonathan Liu <net147@gmail.com>
17 1 file changed, 1 insertion(+), 1 deletion(-) 17 1 file changed, 1 insertion(+), 1 deletion(-)
18 18
19diff --git a/libopkg/opkg_conf.h b/libopkg/opkg_conf.h 19diff --git a/libopkg/opkg_conf.h b/libopkg/opkg_conf.h
20index 7bca948..5a1bc44 100644 20index 3fa6ca9..b12672e 100644
21--- a/libopkg/opkg_conf.h 21--- a/libopkg/opkg_conf.h
22+++ b/libopkg/opkg_conf.h 22+++ b/libopkg/opkg_conf.h
23@@ -40,7 +40,7 @@ extern "C" { 23@@ -42,7 +42,7 @@ extern "C" {
24 #define OPKG_CONF_DEFAULT_STATUS_FILE VARDIR "/lib/opkg/status" 24 #define OPKG_CONF_DEFAULT_STATUS_FILE VARDIR "/lib/opkg/status"
25 #define OPKG_CONF_DEFAULT_CACHE_DIR VARDIR "/cache/opkg" 25 #define OPKG_CONF_DEFAULT_CACHE_DIR VARDIR "/cache/opkg"
26 #define OPKG_CONF_DEFAULT_CONF_FILE_DIR SYSCONFDIR "/opkg" 26 #define OPKG_CONF_DEFAULT_CONF_FILE_DIR SYSCONFDIR "/opkg"
@@ -29,6 +29,3 @@ index 7bca948..5a1bc44 100644
29 29
30 /* In case the config file defines no dest */ 30 /* In case the config file defines no dest */
31 #define OPKG_CONF_DEFAULT_DEST_NAME "root" 31 #define OPKG_CONF_DEFAULT_DEST_NAME "root"
32--
332.5.0
34
diff --git a/meta/recipes-devtools/opkg/opkg_0.6.3.bb b/meta/recipes-devtools/opkg/opkg_0.7.0.bb
index ef7c4f3a72..95480b4716 100644
--- a/meta/recipes-devtools/opkg/opkg_0.6.3.bb
+++ b/meta/recipes-devtools/opkg/opkg_0.7.0.bb
@@ -15,11 +15,10 @@ PE = "1"
15SRC_URI = "http://downloads.yoctoproject.org/releases/${BPN}/${BPN}-${PV}.tar.gz \ 15SRC_URI = "http://downloads.yoctoproject.org/releases/${BPN}/${BPN}-${PV}.tar.gz \
16 file://opkg.conf \ 16 file://opkg.conf \
17 file://0001-opkg_conf-create-opkg.lock-in-run-instead-of-var-run.patch \ 17 file://0001-opkg_conf-create-opkg.lock-in-run-instead-of-var-run.patch \
18 file://0001-libopkg-Use-libgen.h-to-provide-basename-API.patch \
19 file://run-ptest \ 18 file://run-ptest \
20 " 19 "
21 20
22SRC_URI[sha256sum] = "f3938e359646b406c40d5d442a1467c7e72357f91ab822e442697529641e06de" 21SRC_URI[sha256sum] = "d973fd0f1568f58f87d6aecd9aa95e3e1f60214a45cee26704bf8fe757c54567"
23 22
24# This needs to be before ptest inherit, otherwise all ptest files end packaged 23# This needs to be before ptest inherit, otherwise all ptest files end packaged
25# in libopkg package if OPKGLIBDIR == libdir, because default 24# in libopkg package if OPKGLIBDIR == libdir, because default
@@ -63,13 +62,12 @@ do_install_ptest () {
63 62
64WARN_QA:append = " internal-solver-deprecation" 63WARN_QA:append = " internal-solver-deprecation"
65QARECIPETEST[internal-solver-deprecation] = "qa_check_solver_deprecation" 64QARECIPETEST[internal-solver-deprecation] = "qa_check_solver_deprecation"
66def qa_check_solver_deprecation (pn, d, messages): 65def qa_check_solver_deprecation (pn, d):
67 pkgconfig = (d.getVar("PACKAGECONFIG") or "").split() 66 pkgconfig = (d.getVar("PACKAGECONFIG") or "").split()
68 67
69 if "libsolv" not in pkgconfig: 68 if "libsolv" not in pkgconfig:
70 oe.qa.handle_error("internal-solver-deprecation", "The opkg internal solver will be deprecated in future opkg releases. Consider enabling \"libsolv\" in PACKAGECONFIG.", d) 69 oe.qa.handle_error("internal-solver-deprecation", "The opkg internal solver will be deprecated in future opkg releases. Consider enabling \"libsolv\" in PACKAGECONFIG.", d)
71 70
72
73RDEPENDS:${PN} = "${VIRTUAL-RUNTIME_update-alternatives} opkg-arch-config libarchive" 71RDEPENDS:${PN} = "${VIRTUAL-RUNTIME_update-alternatives} opkg-arch-config libarchive"
74RDEPENDS:${PN}:class-native = "" 72RDEPENDS:${PN}:class-native = ""
75RDEPENDS:${PN}:class-nativesdk = "" 73RDEPENDS:${PN}:class-nativesdk = ""
diff --git a/meta/recipes-devtools/orc/orc_0.4.38.bb b/meta/recipes-devtools/orc/orc_0.4.41.bb
index 5d2296694a..491ff71067 100644
--- a/meta/recipes-devtools/orc/orc_0.4.38.bb
+++ b/meta/recipes-devtools/orc/orc_0.4.41.bb
@@ -5,7 +5,7 @@ LICENSE = "BSD-2-Clause & BSD-3-Clause"
5LIC_FILES_CHKSUM = "file://COPYING;md5=1400bd9d09e8af56b9ec982b3d85797e" 5LIC_FILES_CHKSUM = "file://COPYING;md5=1400bd9d09e8af56b9ec982b3d85797e"
6 6
7SRC_URI = "http://gstreamer.freedesktop.org/src/orc/orc-${PV}.tar.xz" 7SRC_URI = "http://gstreamer.freedesktop.org/src/orc/orc-${PV}.tar.xz"
8SRC_URI[sha256sum] = "a55a98d4772567aa3faed8fb84d540c3db77eaba16d3e2e10b044fbc9228668d" 8SRC_URI[sha256sum] = "cb1bfd4f655289cd39bc04642d597be9de5427623f0861c1fc19c08d98467fa2"
9 9
10inherit meson pkgconfig gtk-doc 10inherit meson pkgconfig gtk-doc
11 11
diff --git a/meta/recipes-devtools/patch/patch.inc b/meta/recipes-devtools/patch/patch.inc
index a12d426b2c..44d3046fd8 100644
--- a/meta/recipes-devtools/patch/patch.inc
+++ b/meta/recipes-devtools/patch/patch.inc
@@ -6,7 +6,7 @@ SECTION = "utils"
6HOMEPAGE = "http://savannah.gnu.org/projects/patch/" 6HOMEPAGE = "http://savannah.gnu.org/projects/patch/"
7 7
8SRC_URI = "${GNU_MIRROR}/patch/patch-${PV}.tar.gz" 8SRC_URI = "${GNU_MIRROR}/patch/patch-${PV}.tar.gz"
9S = "${WORKDIR}/patch-${PV}" 9S = "${UNPACKDIR}/patch-${PV}"
10 10
11inherit autotools update-alternatives 11inherit autotools update-alternatives
12 12
diff --git a/meta/recipes-devtools/patch/patch/0001-Don-t-leak-temporary-file-on-failed-ed-style-patch.patch b/meta/recipes-devtools/patch/patch/0001-Don-t-leak-temporary-file-on-failed-ed-style-patch.patch
deleted file mode 100644
index 78345e925e..0000000000
--- a/meta/recipes-devtools/patch/patch/0001-Don-t-leak-temporary-file-on-failed-ed-style-patch.patch
+++ /dev/null
@@ -1,94 +0,0 @@
1From 7f770b9c20da1a192dad8cb572a6391f2773285a Mon Sep 17 00:00:00 2001
2From: Jean Delvare <jdelvare@suse.de>
3Date: Thu, 3 May 2018 14:31:55 +0200
4Subject: [PATCH 1/2] Don't leak temporary file on failed ed-style patch
5
6Now that we write ed-style patches to a temporary file before we
7apply them, we need to ensure that the temporary file is removed
8before we leave, even on fatal error.
9
10* src/pch.c (do_ed_script): Use global TMPEDNAME instead of local
11 tmpname. Don't unlink the file directly, instead tag it for removal
12 at exit time.
13* src/patch.c (cleanup): Unlink TMPEDNAME at exit.
14
15This closes bug #53820:
16https://savannah.gnu.org/bugs/index.php?53820
17
18Fixes: 123eaff0d5d1 ("Fix arbitrary command execution in ed-style patches (CVE-2018-1000156)")
19
20CVE: CVE-2018-1000156
21Upstream-Status: Backport [http://git.savannah.gnu.org/cgit/patch.git/commit/?id=19599883ffb6a450d2884f081f8ecf68edbed7ee]
22Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
23---
24 src/common.h | 2 ++
25 src/pch.c | 12 +++++-------
26 2 files changed, 7 insertions(+), 7 deletions(-)
27
28diff --git a/src/common.h b/src/common.h
29index ec50b40..22238b5 100644
30--- a/src/common.h
31+++ b/src/common.h
32@@ -94,10 +94,12 @@ XTERN char const *origsuff;
33 XTERN char const * TMPINNAME;
34 XTERN char const * TMPOUTNAME;
35 XTERN char const * TMPPATNAME;
36+XTERN char const * TMPEDNAME;
37
38 XTERN bool TMPINNAME_needs_removal;
39 XTERN bool TMPOUTNAME_needs_removal;
40 XTERN bool TMPPATNAME_needs_removal;
41+XTERN bool TMPEDNAME_needs_removal;
42
43 #ifdef DEBUGGING
44 XTERN int debug;
45diff --git a/src/pch.c b/src/pch.c
46index 16e001a..c1a62cf 100644
47--- a/src/pch.c
48+++ b/src/pch.c
49@@ -2392,7 +2392,6 @@ do_ed_script (char const *inname, char const *outname,
50 file_offset beginning_of_this_line;
51 size_t chars_read;
52 FILE *tmpfp = 0;
53- char const *tmpname;
54 int tmpfd;
55 pid_t pid;
56
57@@ -2404,12 +2403,13 @@ do_ed_script (char const *inname, char const *outname,
58 invalid commands and treats the next line as a new command, which
59 can lead to arbitrary command execution. */
60
61- tmpfd = make_tempfile (&tmpname, 'e', NULL, O_RDWR | O_BINARY, 0);
62+ tmpfd = make_tempfile (&TMPEDNAME, 'e', NULL, O_RDWR | O_BINARY, 0);
63 if (tmpfd == -1)
64- pfatal ("Can't create temporary file %s", quotearg (tmpname));
65+ pfatal ("Can't create temporary file %s", quotearg (TMPEDNAME));
66+ TMPEDNAME_needs_removal = true;
67 tmpfp = fdopen (tmpfd, "w+b");
68 if (! tmpfp)
69- pfatal ("Can't open stream for file %s", quotearg (tmpname));
70+ pfatal ("Can't open stream for file %s", quotearg (TMPEDNAME));
71 }
72
73 for (;;) {
74@@ -2449,8 +2449,7 @@ do_ed_script (char const *inname, char const *outname,
75 write_fatal ();
76
77 if (lseek (tmpfd, 0, SEEK_SET) == -1)
78- pfatal ("Can't rewind to the beginning of file %s", quotearg (tmpname));
79-
80+ pfatal ("Can't rewind to the beginning of file %s", quotearg (TMPEDNAME));
81 if (! dry_run && ! skip_rest_of_patch) {
82 int exclusive = *outname_needs_removal ? 0 : O_EXCL;
83 *outname_needs_removal = true;
84@@ -2482,7 +2481,6 @@ do_ed_script (char const *inname, char const *outname,
85 }
86
87 fclose (tmpfp);
88- safe_unlink (tmpname);
89
90 if (ofp)
91 {
92--
932.17.0
94
diff --git a/meta/recipes-devtools/patch/patch/0001-Don-t-leak-temporary-file-on-failed-multi-file-ed.patch b/meta/recipes-devtools/patch/patch/0001-Don-t-leak-temporary-file-on-failed-multi-file-ed.patch
deleted file mode 100644
index 8ffffef47e..0000000000
--- a/meta/recipes-devtools/patch/patch/0001-Don-t-leak-temporary-file-on-failed-multi-file-ed.patch
+++ /dev/null
@@ -1,81 +0,0 @@
1From 369dcccdfa6336e5a873d6d63705cfbe04c55727 Mon Sep 17 00:00:00 2001
2From: Jean Delvare <jdelvare@suse.de>
3Date: Mon, 7 May 2018 15:14:45 +0200
4Subject: Don't leak temporary file on failed multi-file ed-style patch
5
6The previous fix worked fine with single-file ed-style patches, but
7would still leak temporary files in the case of multi-file ed-style
8patch. Fix that case as well, and extend the test case to check for
9it.
10
11* src/patch.c (main): Unlink TMPEDNAME if needed before moving to
12 the next file in a patch.
13
14This closes bug #53820:
15https://savannah.gnu.org/bugs/index.php?53820
16
17Fixes: 123eaff0d5d1 ("Fix arbitrary command execution in ed-style patches (CVE-2018-1000156)")
18Fixes: 19599883ffb6 ("Don't leak temporary file on failed ed-style patch")
19
20CVE: CVE-2018-1000156
21Upstream-Status: Backport [http://git.savannah.gnu.org/cgit/patch.git/commit/?id=369dcccdfa6336e5a873d6d63705cfbe04c55727]
22Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
23---
24 src/patch.c | 1 +
25 tests/ed-style | 31 +++++++++++++++++++++++++++++++
26 2 files changed, 32 insertions(+)
27
28diff --git a/src/patch.c b/src/patch.c
29index 9146597..81c7a02 100644
30--- a/src/patch.c
31+++ b/src/patch.c
32@@ -236,6 +236,7 @@ main (int argc, char **argv)
33 }
34 remove_if_needed (TMPOUTNAME, &TMPOUTNAME_needs_removal);
35 }
36+ remove_if_needed (TMPEDNAME, &TMPEDNAME_needs_removal);
37
38 if (! skip_rest_of_patch && ! file_type)
39 {
40diff --git a/tests/ed-style b/tests/ed-style
41index 6b6ef9d..504e6e5 100644
42--- a/tests/ed-style
43+++ b/tests/ed-style
44@@ -38,3 +38,34 @@ EOF
45 check 'cat foo' <<EOF
46 foo
47 EOF
48+
49+# Test the case where one ed-style patch modifies several files
50+
51+cat > ed3.diff <<EOF
52+--- foo
53++++ foo
54+1c
55+bar
56+.
57+--- baz
58++++ baz
59+0a
60+baz
61+.
62+EOF
63+
64+# Apparently we can't create a file with such a patch, while it works fine
65+# when the file name is provided on the command line
66+cat > baz <<EOF
67+EOF
68+
69+check 'patch -e -i ed3.diff' <<EOF
70+EOF
71+
72+check 'cat foo' <<EOF
73+bar
74+EOF
75+
76+check 'cat baz' <<EOF
77+baz
78+EOF
79--
80cgit v1.0-41-gc330
81
diff --git a/meta/recipes-devtools/patch/patch/0001-Fix-swapping-fake-lines-in-pch_swap.patch b/meta/recipes-devtools/patch/patch/0001-Fix-swapping-fake-lines-in-pch_swap.patch
deleted file mode 100644
index 049149eb9e..0000000000
--- a/meta/recipes-devtools/patch/patch/0001-Fix-swapping-fake-lines-in-pch_swap.patch
+++ /dev/null
@@ -1,36 +0,0 @@
1From 9c986353e420ead6e706262bf204d6e03322c300 Mon Sep 17 00:00:00 2001
2From: Andreas Gruenbacher <agruen@gnu.org>
3Date: Fri, 17 Aug 2018 13:35:40 +0200
4Subject: [PATCH] Fix swapping fake lines in pch_swap
5
6* src/pch.c (pch_swap): Fix swapping p_bfake and p_efake when there is a
7blank line in the middle of a context-diff hunk: that empty line stays
8in the middle of the hunk and isn't swapped.
9
10Fixes: https://savannah.gnu.org/bugs/index.php?53133
11Signed-off-by: Andreas Gruenbacher <agruen@gnu.org>
12
13Upstream-Status: Backport [https://git.savannah.gnu.org/git/patch.git]
14CVE: CVE-2018-6952
15Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
16
17---
18 src/pch.c | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
20
21diff --git a/src/pch.c b/src/pch.c
22index e92bc64..a500ad9 100644
23--- a/src/pch.c
24+++ b/src/pch.c
25@@ -2122,7 +2122,7 @@ pch_swap (void)
26 }
27 if (p_efake >= 0) { /* fix non-freeable ptr range */
28 if (p_efake <= i)
29- n = p_end - i + 1;
30+ n = p_end - p_ptrn_lines;
31 else
32 n = -i;
33 p_efake += n;
34--
352.10.2
36
diff --git a/meta/recipes-devtools/patch/patch/0001-Invoke-ed-directly-instead-of-using-the-shell.patch b/meta/recipes-devtools/patch/patch/0001-Invoke-ed-directly-instead-of-using-the-shell.patch
deleted file mode 100644
index d13d419f51..0000000000
--- a/meta/recipes-devtools/patch/patch/0001-Invoke-ed-directly-instead-of-using-the-shell.patch
+++ /dev/null
@@ -1,44 +0,0 @@
1From 3fcd042d26d70856e826a42b5f93dc4854d80bf0 Mon Sep 17 00:00:00 2001
2From: Andreas Gruenbacher <agruen@gnu.org>
3Date: Fri, 6 Apr 2018 19:36:15 +0200
4Subject: [PATCH] Invoke ed directly instead of using the shell
5
6* src/pch.c (do_ed_script): Invoke ed directly instead of using a shell
7command to avoid quoting vulnerabilities.
8
9CVE: CVE-2019-13638 CVE-2018-20969
10Upstream-Status: Backport [https://git.savannah.gnu.org/cgit/patch.git/patch/?id=3fcd042d26d70856e826a42b5f93dc4854d80bf0]
11Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
12
13---
14 src/pch.c | 6 ++----
15 1 file changed, 2 insertions(+), 4 deletions(-)
16
17
18diff --git a/src/pch.c b/src/pch.c
19index 4fd5a05..16e001a 100644
20--- a/src/pch.c
21+++ b/src/pch.c
22@@ -2459,9 +2459,6 @@ do_ed_script (char const *inname, char const *outname,
23 *outname_needs_removal = true;
24 copy_file (inname, outname, 0, exclusive, instat.st_mode, true);
25 }
26- sprintf (buf, "%s %s%s", editor_program,
27- verbosity == VERBOSE ? "" : "- ",
28- outname);
29 fflush (stdout);
30
31 pid = fork();
32@@ -2470,7 +2467,8 @@ do_ed_script (char const *inname, char const *outname,
33 else if (pid == 0)
34 {
35 dup2 (tmpfd, 0);
36- execl ("/bin/sh", "sh", "-c", buf, (char *) 0);
37+ assert (outname[0] != '!' && outname[0] != '-');
38+ execlp (editor_program, editor_program, "-", outname, (char *) NULL);
39 _exit (2);
40 }
41 else
42--
432.7.4
44
diff --git a/meta/recipes-devtools/patch/patch/0001-Unset-need_charset_alias-when-building-for-musl.patch b/meta/recipes-devtools/patch/patch/0001-Unset-need_charset_alias-when-building-for-musl.patch
deleted file mode 100644
index ba1a4bab4c..0000000000
--- a/meta/recipes-devtools/patch/patch/0001-Unset-need_charset_alias-when-building-for-musl.patch
+++ /dev/null
@@ -1,33 +0,0 @@
1From b9565dc2fe0c4f7daaec91b7e83bc7313dee2f4a Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 13 Apr 2015 17:02:13 -0700
4Subject: [PATCH] Unset need_charset_alias when building for musl
5
6localcharset uses ac_cv_gnu_library_2_1 from glibc21.m4
7which actually shoudl be fixed in gnulib and then all downstream
8projects will get it eventually. For now we apply the fix to
9coreutils
10
11Upstream-Status: Pending
12
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14---
15 lib/gnulib.mk | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18diff --git a/lib/gnulib.mk b/lib/gnulib.mk
19index e1d74db..c0e92dd 100644
20--- a/lib/gnulib.mk
21+++ b/lib/gnulib.mk
22@@ -1882,7 +1882,7 @@ install-exec-localcharset: all-local
23 case '$(host_os)' in \
24 darwin[56]*) \
25 need_charset_alias=true ;; \
26- darwin* | cygwin* | mingw* | pw32* | cegcc*) \
27+ darwin* | cygwin* | mingw* | pw32* | cegcc* | linux-musl*) \
28 need_charset_alias=false ;; \
29 *) \
30 need_charset_alias=true ;; \
31--
322.1.4
33
diff --git a/meta/recipes-devtools/patch/patch/0002-Fix-segfault-with-mangled-rename-patch.patch b/meta/recipes-devtools/patch/patch/0002-Fix-segfault-with-mangled-rename-patch.patch
deleted file mode 100644
index b0bd6fa83a..0000000000
--- a/meta/recipes-devtools/patch/patch/0002-Fix-segfault-with-mangled-rename-patch.patch
+++ /dev/null
@@ -1,35 +0,0 @@
1From f290f48a621867084884bfff87f8093c15195e6a Mon Sep 17 00:00:00 2001
2From: Andreas Gruenbacher <agruen@gnu.org>
3Date: Mon, 12 Feb 2018 16:48:24 +0100
4Subject: [PATCH] Fix segfault with mangled rename patch
5
6http://savannah.gnu.org/bugs/?53132
7* src/pch.c (intuit_diff_type): Ensure that two filenames are specified
8for renames and copies (fix the existing check).
9
10Upstream-Status: Backport [http://git.savannah.gnu.org/cgit/patch.git/commit/?id=f290f48a621867084884bfff87f8093c15195e6a]
11CVE: CVE-2018-6951
12
13Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
14
15---
16 src/pch.c | 3 ++-
17 1 file changed, 2 insertions(+), 1 deletion(-)
18
19diff --git a/src/pch.c b/src/pch.c
20index ff9ed2c..bc6278c 100644
21--- a/src/pch.c
22+++ b/src/pch.c
23@@ -974,7 +974,8 @@ intuit_diff_type (bool need_header, mode_t *p_file_type)
24 if ((pch_rename () || pch_copy ())
25 && ! inname
26 && ! ((i == OLD || i == NEW) &&
27- p_name[! reverse] &&
28+ p_name[reverse] && p_name[! reverse] &&
29+ name_is_valid (p_name[reverse]) &&
30 name_is_valid (p_name[! reverse])))
31 {
32 say ("Cannot %s file without two valid file names\n", pch_rename () ? "rename" : "copy");
33--
342.7.4
35
diff --git a/meta/recipes-devtools/patch/patch/0003-Allow-input-files-to-be-missing-for-ed-style-patches.patch b/meta/recipes-devtools/patch/patch/0003-Allow-input-files-to-be-missing-for-ed-style-patches.patch
deleted file mode 100644
index 2a09d0c03b..0000000000
--- a/meta/recipes-devtools/patch/patch/0003-Allow-input-files-to-be-missing-for-ed-style-patches.patch
+++ /dev/null
@@ -1,38 +0,0 @@
1From b5a91a01e5d0897facdd0f49d64b76b0f02b43e1 Mon Sep 17 00:00:00 2001
2From: Andreas Gruenbacher <agruen@gnu.org>
3Date: Fri, 6 Apr 2018 11:34:51 +0200
4Subject: [PATCH] Allow input files to be missing for ed-style patches
5
6* src/pch.c (do_ed_script): Allow input files to be missing so that new
7files will be created as with non-ed-style patches.
8
9Upstream-Status: Backport [http://git.savannah.gnu.org/cgit/patch.git/commit/?id=b5a91a01e5d0897facdd0f49d64b76b0f02b43e1]
10CVE: CVE-2018-1000156
11
12Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
13---
14 src/pch.c | 8 +++++---
15 1 file changed, 5 insertions(+), 3 deletions(-)
16
17diff --git a/src/pch.c b/src/pch.c
18index bc6278c..0c5cc26 100644
19--- a/src/pch.c
20+++ b/src/pch.c
21@@ -2394,9 +2394,11 @@ do_ed_script (char const *inname, char const *outname,
22
23 if (! dry_run && ! skip_rest_of_patch) {
24 int exclusive = *outname_needs_removal ? 0 : O_EXCL;
25- assert (! inerrno);
26- *outname_needs_removal = true;
27- copy_file (inname, outname, 0, exclusive, instat.st_mode, true);
28+ if (inerrno != ENOENT)
29+ {
30+ *outname_needs_removal = true;
31+ copy_file (inname, outname, 0, exclusive, instat.st_mode, true);
32+ }
33 sprintf (buf, "%s %s%s", editor_program,
34 verbosity == VERBOSE ? "" : "- ",
35 outname);
36--
372.7.4
38
diff --git a/meta/recipes-devtools/patch/patch/0004-Fix-arbitrary-command-execution-in-ed-style-patches-.patch b/meta/recipes-devtools/patch/patch/0004-Fix-arbitrary-command-execution-in-ed-style-patches-.patch
deleted file mode 100644
index d74c2f182e..0000000000
--- a/meta/recipes-devtools/patch/patch/0004-Fix-arbitrary-command-execution-in-ed-style-patches-.patch
+++ /dev/null
@@ -1,215 +0,0 @@
1From 123eaff0d5d1aebe128295959435b9ca5909c26d Mon Sep 17 00:00:00 2001
2From: Andreas Gruenbacher <agruen@gnu.org>
3Date: Fri, 6 Apr 2018 12:14:49 +0200
4Subject: [PATCH] Fix arbitrary command execution in ed-style patches (CVE-2018-1000156)
5
6* src/pch.c (do_ed_script): Write ed script to a temporary file instead
7of piping it to ed: this will cause ed to abort on invalid commands
8instead of rejecting them and carrying on.
9* tests/ed-style: New test case.
10* tests/Makefile.am (TESTS): Add test case.
11
12Upstream-Status: Backport [http://git.savannah.gnu.org/cgit/patch.git/commit/?id=123eaff0d5d1aebe128295959435b9ca5909c26d]
13CVE: CVE-2018-1000156
14
15Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
16---
17 src/pch.c | 91 ++++++++++++++++++++++++++++++++++++++++---------------
18 tests/Makefile.am | 1 +
19 tests/ed-style | 41 +++++++++++++++++++++++++
20 3 files changed, 108 insertions(+), 25 deletions(-)
21 create mode 100644 tests/ed-style
22
23diff --git a/src/pch.c b/src/pch.c
24index 0c5cc26..4fd5a05 100644
25--- a/src/pch.c
26+++ b/src/pch.c
27@@ -33,6 +33,7 @@
28 # include <io.h>
29 #endif
30 #include <safe.h>
31+#include <sys/wait.h>
32
33 #define INITHUNKMAX 125 /* initial dynamic allocation size */
34
35@@ -2389,24 +2390,28 @@ do_ed_script (char const *inname, char const *outname,
36 static char const editor_program[] = EDITOR_PROGRAM;
37
38 file_offset beginning_of_this_line;
39- FILE *pipefp = 0;
40 size_t chars_read;
41+ FILE *tmpfp = 0;
42+ char const *tmpname;
43+ int tmpfd;
44+ pid_t pid;
45+
46+ if (! dry_run && ! skip_rest_of_patch)
47+ {
48+ /* Write ed script to a temporary file. This causes ed to abort on
49+ invalid commands such as when line numbers or ranges exceed the
50+ number of available lines. When ed reads from a pipe, it rejects
51+ invalid commands and treats the next line as a new command, which
52+ can lead to arbitrary command execution. */
53+
54+ tmpfd = make_tempfile (&tmpname, 'e', NULL, O_RDWR | O_BINARY, 0);
55+ if (tmpfd == -1)
56+ pfatal ("Can't create temporary file %s", quotearg (tmpname));
57+ tmpfp = fdopen (tmpfd, "w+b");
58+ if (! tmpfp)
59+ pfatal ("Can't open stream for file %s", quotearg (tmpname));
60+ }
61
62- if (! dry_run && ! skip_rest_of_patch) {
63- int exclusive = *outname_needs_removal ? 0 : O_EXCL;
64- if (inerrno != ENOENT)
65- {
66- *outname_needs_removal = true;
67- copy_file (inname, outname, 0, exclusive, instat.st_mode, true);
68- }
69- sprintf (buf, "%s %s%s", editor_program,
70- verbosity == VERBOSE ? "" : "- ",
71- outname);
72- fflush (stdout);
73- pipefp = popen(buf, binary_transput ? "wb" : "w");
74- if (!pipefp)
75- pfatal ("Can't open pipe to %s", quotearg (buf));
76- }
77 for (;;) {
78 char ed_command_letter;
79 beginning_of_this_line = file_tell (pfp);
80@@ -2417,14 +2422,14 @@ do_ed_script (char const *inname, char const *outname,
81 }
82 ed_command_letter = get_ed_command_letter (buf);
83 if (ed_command_letter) {
84- if (pipefp)
85- if (! fwrite (buf, sizeof *buf, chars_read, pipefp))
86+ if (tmpfp)
87+ if (! fwrite (buf, sizeof *buf, chars_read, tmpfp))
88 write_fatal ();
89 if (ed_command_letter != 'd' && ed_command_letter != 's') {
90 p_pass_comments_through = true;
91 while ((chars_read = get_line ()) != 0) {
92- if (pipefp)
93- if (! fwrite (buf, sizeof *buf, chars_read, pipefp))
94+ if (tmpfp)
95+ if (! fwrite (buf, sizeof *buf, chars_read, tmpfp))
96 write_fatal ();
97 if (chars_read == 2 && strEQ (buf, ".\n"))
98 break;
99@@ -2437,13 +2442,49 @@ do_ed_script (char const *inname, char const *outname,
100 break;
101 }
102 }
103- if (!pipefp)
104+ if (!tmpfp)
105 return;
106- if (fwrite ("w\nq\n", sizeof (char), (size_t) 4, pipefp) == 0
107- || fflush (pipefp) != 0)
108+ if (fwrite ("w\nq\n", sizeof (char), (size_t) 4, tmpfp) == 0
109+ || fflush (tmpfp) != 0)
110 write_fatal ();
111- if (pclose (pipefp) != 0)
112- fatal ("%s FAILED", editor_program);
113+
114+ if (lseek (tmpfd, 0, SEEK_SET) == -1)
115+ pfatal ("Can't rewind to the beginning of file %s", quotearg (tmpname));
116+
117+ if (! dry_run && ! skip_rest_of_patch) {
118+ int exclusive = *outname_needs_removal ? 0 : O_EXCL;
119+ *outname_needs_removal = true;
120+ if (inerrno != ENOENT)
121+ {
122+ *outname_needs_removal = true;
123+ copy_file (inname, outname, 0, exclusive, instat.st_mode, true);
124+ }
125+ sprintf (buf, "%s %s%s", editor_program,
126+ verbosity == VERBOSE ? "" : "- ",
127+ outname);
128+ fflush (stdout);
129+
130+ pid = fork();
131+ if (pid == -1)
132+ pfatal ("Can't fork");
133+ else if (pid == 0)
134+ {
135+ dup2 (tmpfd, 0);
136+ execl ("/bin/sh", "sh", "-c", buf, (char *) 0);
137+ _exit (2);
138+ }
139+ else
140+ {
141+ int wstatus;
142+ if (waitpid (pid, &wstatus, 0) == -1
143+ || ! WIFEXITED (wstatus)
144+ || WEXITSTATUS (wstatus) != 0)
145+ fatal ("%s FAILED", editor_program);
146+ }
147+ }
148+
149+ fclose (tmpfp);
150+ safe_unlink (tmpname);
151
152 if (ofp)
153 {
154diff --git a/tests/Makefile.am b/tests/Makefile.am
155index 6b6df63..16f8693 100644
156--- a/tests/Makefile.am
157+++ b/tests/Makefile.am
158@@ -32,6 +32,7 @@ TESTS = \
159 crlf-handling \
160 dash-o-append \
161 deep-directories \
162+ ed-style \
163 empty-files \
164 false-match \
165 fifo \
166diff --git a/tests/ed-style b/tests/ed-style
167new file mode 100644
168index 0000000..d8c0689
169--- /dev/null
170+++ b/tests/ed-style
171@@ -0,0 +1,41 @@
172+# Copyright (C) 2018 Free Software Foundation, Inc.
173+#
174+# Copying and distribution of this file, with or without modification,
175+# in any medium, are permitted without royalty provided the copyright
176+# notice and this notice are preserved.
177+
178+. $srcdir/test-lib.sh
179+
180+require cat
181+use_local_patch
182+use_tmpdir
183+
184+# ==============================================================
185+
186+cat > ed1.diff <<EOF
187+0a
188+foo
189+.
190+EOF
191+
192+check 'patch -e foo -i ed1.diff' <<EOF
193+EOF
194+
195+check 'cat foo' <<EOF
196+foo
197+EOF
198+
199+cat > ed2.diff <<EOF
200+1337a
201+r !echo bar
202+,p
203+EOF
204+
205+check 'patch -e foo -i ed2.diff 2> /dev/null || echo "Status: $?"' <<EOF
206+?
207+Status: 2
208+EOF
209+
210+check 'cat foo' <<EOF
211+foo
212+EOF
213--
2142.7.4
215
diff --git a/meta/recipes-devtools/patch/patch/CVE-2019-13636.patch b/meta/recipes-devtools/patch/patch/CVE-2019-13636.patch
deleted file mode 100644
index 8059d9fe19..0000000000
--- a/meta/recipes-devtools/patch/patch/CVE-2019-13636.patch
+++ /dev/null
@@ -1,113 +0,0 @@
1From dce4683cbbe107a95f1f0d45fabc304acfb5d71a Mon Sep 17 00:00:00 2001
2From: Andreas Gruenbacher <agruen@gnu.org>
3Date: Mon, 15 Jul 2019 16:21:48 +0200
4Subject: Don't follow symlinks unless --follow-symlinks is given
5
6* src/inp.c (plan_a, plan_b), src/util.c (copy_to_fd, copy_file,
7append_to_file): Unless the --follow-symlinks option is given, open files with
8the O_NOFOLLOW flag to avoid following symlinks. So far, we were only doing
9that consistently for input files.
10* src/util.c (create_backup): When creating empty backup files, (re)create them
11with O_CREAT | O_EXCL to avoid following symlinks in that case as well.
12
13CVE: CVE-2019-13636
14Upstream-Status: Backport [https://git.savannah.gnu.org/cgit/patch.git/patch/?id=dce4683cbbe107a95f1f0d45fabc304acfb5d71a]
15Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
16
17---
18 src/inp.c | 12 ++++++++++--
19 src/util.c | 14 +++++++++++---
20 2 files changed, 21 insertions(+), 5 deletions(-)
21
22diff --git a/src/inp.c b/src/inp.c
23index 32d0919..22d7473 100644
24--- a/src/inp.c
25+++ b/src/inp.c
26@@ -238,8 +238,13 @@ plan_a (char const *filename)
27 {
28 if (S_ISREG (instat.st_mode))
29 {
30- int ifd = safe_open (filename, O_RDONLY|binary_transput, 0);
31+ int flags = O_RDONLY | binary_transput;
32 size_t buffered = 0, n;
33+ int ifd;
34+
35+ if (! follow_symlinks)
36+ flags |= O_NOFOLLOW;
37+ ifd = safe_open (filename, flags, 0);
38 if (ifd < 0)
39 pfatal ("can't open file %s", quotearg (filename));
40
41@@ -340,6 +345,7 @@ plan_a (char const *filename)
42 static void
43 plan_b (char const *filename)
44 {
45+ int flags = O_RDONLY | binary_transput;
46 int ifd;
47 FILE *ifp;
48 int c;
49@@ -353,7 +359,9 @@ plan_b (char const *filename)
50
51 if (instat.st_size == 0)
52 filename = NULL_DEVICE;
53- if ((ifd = safe_open (filename, O_RDONLY | binary_transput, 0)) < 0
54+ if (! follow_symlinks)
55+ flags |= O_NOFOLLOW;
56+ if ((ifd = safe_open (filename, flags, 0)) < 0
57 || ! (ifp = fdopen (ifd, binary_transput ? "rb" : "r")))
58 pfatal ("Can't open file %s", quotearg (filename));
59 if (TMPINNAME_needs_removal)
60diff --git a/src/util.c b/src/util.c
61index 1cc08ba..fb38307 100644
62--- a/src/util.c
63+++ b/src/util.c
64@@ -388,7 +388,7 @@ create_backup (char const *to, const struct stat *to_st, bool leave_original)
65
66 try_makedirs_errno = ENOENT;
67 safe_unlink (bakname);
68- while ((fd = safe_open (bakname, O_CREAT | O_WRONLY | O_TRUNC, 0666)) < 0)
69+ while ((fd = safe_open (bakname, O_CREAT | O_EXCL | O_WRONLY | O_TRUNC, 0666)) < 0)
70 {
71 if (errno != try_makedirs_errno)
72 pfatal ("Can't create file %s", quotearg (bakname));
73@@ -579,10 +579,13 @@ create_file (char const *file, int open_flags, mode_t mode,
74 static void
75 copy_to_fd (const char *from, int tofd)
76 {
77+ int from_flags = O_RDONLY | O_BINARY;
78 int fromfd;
79 ssize_t i;
80
81- if ((fromfd = safe_open (from, O_RDONLY | O_BINARY, 0)) < 0)
82+ if (! follow_symlinks)
83+ from_flags |= O_NOFOLLOW;
84+ if ((fromfd = safe_open (from, from_flags, 0)) < 0)
85 pfatal ("Can't reopen file %s", quotearg (from));
86 while ((i = read (fromfd, buf, bufsize)) != 0)
87 {
88@@ -625,6 +628,8 @@ copy_file (char const *from, char const *to, struct stat *tost,
89 else
90 {
91 assert (S_ISREG (mode));
92+ if (! follow_symlinks)
93+ to_flags |= O_NOFOLLOW;
94 tofd = create_file (to, O_WRONLY | O_BINARY | to_flags, mode,
95 to_dir_known_to_exist);
96 copy_to_fd (from, tofd);
97@@ -640,9 +645,12 @@ copy_file (char const *from, char const *to, struct stat *tost,
98 void
99 append_to_file (char const *from, char const *to)
100 {
101+ int to_flags = O_WRONLY | O_APPEND | O_BINARY;
102 int tofd;
103
104- if ((tofd = safe_open (to, O_WRONLY | O_BINARY | O_APPEND, 0)) < 0)
105+ if (! follow_symlinks)
106+ to_flags |= O_NOFOLLOW;
107+ if ((tofd = safe_open (to, to_flags, 0)) < 0)
108 pfatal ("Can't reopen file %s", quotearg (to));
109 copy_to_fd (from, tofd);
110 if (close (tofd) != 0)
111--
112cgit v1.0-41-gc330
113
diff --git a/meta/recipes-devtools/patch/patch/CVE-2019-20633.patch b/meta/recipes-devtools/patch/patch/CVE-2019-20633.patch
deleted file mode 100644
index 9b2c07cf1e..0000000000
--- a/meta/recipes-devtools/patch/patch/CVE-2019-20633.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1From 15b158db3ae11cb835f2eb8d2eb48e09d1a4af48 Mon Sep 17 00:00:00 2001
2From: Andreas Gruenbacher <agruen@gnu.org>
3Date: Mon, 15 Jul 2019 19:10:02 +0200
4Subject: Avoid invalid memory access in context format diffs
5
6* src/pch.c (another_hunk): Avoid invalid memory access in context format
7diffs.
8
9CVE: CVE-2019-20633
10Upstream-Status: Backport [https://git.savannah.gnu.org/cgit/patch.git/patch/?id=15b158db3ae11cb835f2eb8d2eb48e09d1a4af48]
11Signed-off-by: Scott Murray <scott.murray@konsulko.com>
12
13---
14 src/pch.c | 1 +
15 1 file changed, 1 insertion(+)
16
17diff --git a/src/pch.c b/src/pch.c
18index a500ad9..cb54e03 100644
19--- a/src/pch.c
20+++ b/src/pch.c
21@@ -1328,6 +1328,7 @@ another_hunk (enum diff difftype, bool rev)
22 ptrn_prefix_context = context;
23 ptrn_suffix_context = context;
24 if (repl_beginning
25+ || p_end <= 0
26 || (p_end
27 != p_ptrn_lines + 1 + (p_Char[p_end - 1] == '\n')))
28 {
29--
30cgit v1.2.1
31
diff --git a/meta/recipes-devtools/patch/patch_2.7.6.bb b/meta/recipes-devtools/patch/patch_2.7.6.bb
deleted file mode 100644
index e0e44f9c97..0000000000
--- a/meta/recipes-devtools/patch/patch_2.7.6.bb
+++ /dev/null
@@ -1,28 +0,0 @@
1require patch.inc
2LICENSE = "GPL-3.0-only"
3
4SRC_URI += "file://0001-Unset-need_charset_alias-when-building-for-musl.patch \
5 file://0002-Fix-segfault-with-mangled-rename-patch.patch \
6 file://0003-Allow-input-files-to-be-missing-for-ed-style-patches.patch \
7 file://0004-Fix-arbitrary-command-execution-in-ed-style-patches-.patch \
8 file://0001-Fix-swapping-fake-lines-in-pch_swap.patch \
9 file://CVE-2019-13636.patch \
10 file://0001-Invoke-ed-directly-instead-of-using-the-shell.patch \
11 file://0001-Don-t-leak-temporary-file-on-failed-ed-style-patch.patch \
12 file://0001-Don-t-leak-temporary-file-on-failed-multi-file-ed.patch \
13 file://CVE-2019-20633.patch \
14"
15
16SRC_URI[md5sum] = "4c68cee989d83c87b00a3860bcd05600"
17SRC_URI[sha256sum] = "8cf86e00ad3aaa6d26aca30640e86b0e3e1f395ed99f189b06d4c9f74bc58a4e"
18
19LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
20
21acpaths = "-I ${S}/m4 "
22
23PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'xattr', d)}"
24PACKAGECONFIG[xattr] = "--enable-xattr,--disable-xattr,attr,"
25
26PROVIDES:append:class-native = " patch-replacement-native"
27
28BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/patch/patch_2.8.bb b/meta/recipes-devtools/patch/patch_2.8.bb
new file mode 100644
index 0000000000..6317ac775d
--- /dev/null
+++ b/meta/recipes-devtools/patch/patch_2.8.bb
@@ -0,0 +1,13 @@
1require patch.inc
2LICENSE = "GPL-3.0-only"
3
4SRC_URI[sha256sum] = "308a4983ff324521b9b21310bfc2398ca861798f02307c79eb99bb0e0d2bf980"
5
6LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
7
8PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'xattr', d)}"
9PACKAGECONFIG[xattr] = "--enable-xattr,--disable-xattr,attr,"
10
11PROVIDES:append:class-native = " patch-replacement-native"
12
13BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/patchelf/patchelf_0.18.0.bb b/meta/recipes-devtools/patchelf/patchelf_0.18.0.bb
index dece34240c..6e86ddbde6 100644
--- a/meta/recipes-devtools/patchelf/patchelf_0.18.0.bb
+++ b/meta/recipes-devtools/patchelf/patchelf_0.18.0.bb
@@ -11,8 +11,6 @@ SRC_URI = "git://github.com/NixOS/patchelf;protocol=https;branch=master \
11" 11"
12SRCREV = "99c24238981b7b1084313aca8f5c493bb46f302c" 12SRCREV = "99c24238981b7b1084313aca8f5c493bb46f302c"
13 13
14S = "${WORKDIR}/git"
15
16LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" 14LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
17 15
18inherit autotools 16inherit autotools
diff --git a/meta/recipes-devtools/perl-cross/files/0001-Makefile-check-the-file-if-patched-or-not.patch b/meta/recipes-devtools/perl-cross/files/0001-Makefile-check-the-file-if-patched-or-not.patch
index 4e9153ebf1..7efee733c6 100644
--- a/meta/recipes-devtools/perl-cross/files/0001-Makefile-check-the-file-if-patched-or-not.patch
+++ b/meta/recipes-devtools/perl-cross/files/0001-Makefile-check-the-file-if-patched-or-not.patch
@@ -1,4 +1,4 @@
1From 3eb33dce6e3c93e1b3efcc9649f871100adada30 Mon Sep 17 00:00:00 2001 1From d0292a4f91ca22f8919a0f13d8961f98743bdbf1 Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com> 2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Fri, 2 Jul 2021 09:08:21 +0000 3Date: Fri, 2 Jul 2021 09:08:21 +0000
4Subject: [PATCH] Makefile: check the file if patched or not 4Subject: [PATCH] Makefile: check the file if patched or not
@@ -9,7 +9,6 @@ one time.
9Upstream-Status: Inappropriate (OE-specific) 9Upstream-Status: Inappropriate (OE-specific)
10 10
11Signed-off-by: Mingli Yu <mingli.yu@windriver.com> 11Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
12
13--- 12---
14 Makefile | 2 +- 13 Makefile | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-) 14 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/perl-cross/files/0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch b/meta/recipes-devtools/perl-cross/files/0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch
index 6c3f08c432..6d387fe66a 100644
--- a/meta/recipes-devtools/perl-cross/files/0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch
+++ b/meta/recipes-devtools/perl-cross/files/0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch
@@ -1,4 +1,4 @@
1From f824cbec9ac8f113a4ae35d57bd18625d415a71b Mon Sep 17 00:00:00 2001 1From c4ebb6d11d690185f66a3f0a591f193fd6611122 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Tue, 27 Nov 2018 15:37:40 +0100 3Date: Tue, 27 Nov 2018 15:37:40 +0100
4Subject: [PATCH] perl-cross: add LDFLAGS when linking libperl 4Subject: [PATCH] perl-cross: add LDFLAGS when linking libperl
@@ -10,10 +10,10 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
10 1 file changed, 1 insertion(+), 1 deletion(-) 10 1 file changed, 1 insertion(+), 1 deletion(-)
11 11
12diff --git a/Makefile b/Makefile 12diff --git a/Makefile b/Makefile
13index 01644cd..be811a7 100644 13index 4b80079..c6d6042 100644
14--- a/Makefile 14--- a/Makefile
15+++ b/Makefile 15+++ b/Makefile
16@@ -180,7 +180,7 @@ endif 16@@ -191,7 +191,7 @@ endif
17 17
18 ifeq ($(useshrplib),true) 18 ifeq ($(useshrplib),true)
19 $(LIBPERL): 19 $(LIBPERL):
@@ -22,6 +22,3 @@ index 01644cd..be811a7 100644
22 else 22 else
23 $(LIBPERL): 23 $(LIBPERL):
24 $(AR) cru $@ $(filter %$o,$^) 24 $(AR) cru $@ $(filter %$o,$^)
25--
262.17.1
27
diff --git a/meta/recipes-devtools/perl-cross/files/determinism.patch b/meta/recipes-devtools/perl-cross/files/determinism.patch
index e9bf752bcb..71a405ab6b 100644
--- a/meta/recipes-devtools/perl-cross/files/determinism.patch
+++ b/meta/recipes-devtools/perl-cross/files/determinism.patch
@@ -1,4 +1,7 @@
1Fixes to make the perl build reproducible: 1From 8fd84d6d760b21bad2c499b572951cc3f2235953 Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Wed, 5 Feb 2020 23:54:02 +0000
4Subject: [PATCH] Fixes to make the perl build reproducible:
2 5
3a) Remove the \n from configure_attr.sh since it gets quoted differently depending on 6a) Remove the \n from configure_attr.sh since it gets quoted differently depending on
4 whether the shell is bash or dash which can cause the test result to be incorrect. 7 whether the shell is bash or dash which can cause the test result to be incorrect.
@@ -8,7 +11,7 @@ b) Sort the order of the module lists from configure_mods.sh since otherwise
8 the result isn't the same leading to makefile differences. 11 the result isn't the same leading to makefile differences.
9 Reported upstream: https://github.com/arsv/perl-cross/issues/88 12 Reported upstream: https://github.com/arsv/perl-cross/issues/88
10 13
11c) Sort the Encode::Byte byte_t.fnm file output (and the makefile depends whilst 14c) Sort the Encode::Byte byte_t.fnm file output (and the makefile depends whilst
12 there for good measure) 15 there for good measure)
13 This needs to go to upstream perl (not done) 16 This needs to go to upstream perl (not done)
14 17
@@ -18,14 +21,28 @@ d) Use bash for perl-cross configure since otherwise trnl gets set to "\n" with
18 21
19RP 2020/2/7 22RP 2020/2/7
20 23
21Upstream-Status: Pending [75% submitted] 24Upstream-Status: Submitted [https://github.com/arsv/perl-cross/pull/154 https://github.com/arsv/perl-cross/pull/155]
22Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org 25Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org
26---
27 cnf/configure | 2 +-
28 cnf/configure_mods.sh | 2 +-
29 2 files changed, 2 insertions(+), 2 deletions(-)
23 30
24Index: perl-5.30.1/cnf/configure_mods.sh 31diff --git a/cnf/configure b/cnf/configure
25=================================================================== 32index 2f451c6..86bc865 100755
26--- perl-5.30.1.orig/cnf/configure_mods.sh 33--- a/cnf/configure
27+++ perl-5.30.1/cnf/configure_mods.sh 34+++ b/cnf/configure
28@@ -82,7 +82,7 @@ extonlyif() { 35@@ -1,4 +1,4 @@
36-#!/bin/sh
37+#!/bin/bash
38
39 base=${0%/*}; test -z "$base" && base=.
40
41diff --git a/cnf/configure_mods.sh b/cnf/configure_mods.sh
42index d4ef5a7..8e88b48 100644
43--- a/cnf/configure_mods.sh
44+++ b/cnf/configure_mods.sh
45@@ -108,7 +108,7 @@ extonlyif() {
29 } 46 }
30 47
31 definetrimspaces() { 48 definetrimspaces() {
@@ -34,13 +51,3 @@ Index: perl-5.30.1/cnf/configure_mods.sh
34 define $1 "$v" 51 define $1 "$v"
35 } 52 }
36 53
37Index: perl-5.30.1/cnf/configure
38===================================================================
39--- perl-5.30.1.orig/cnf/configure
40+++ perl-5.30.1/cnf/configure
41@@ -1,4 +1,4 @@
42-#!/bin/sh
43+#!/bin/bash
44
45 base=${0%/*}; test -z "$base" && base=.
46
diff --git a/meta/recipes-devtools/perl-cross/perlcross_1.5.2.bb b/meta/recipes-devtools/perl-cross/perlcross_1.6.2.bb
index b41c182fad..debf2717ce 100644
--- a/meta/recipes-devtools/perl-cross/perlcross_1.5.2.bb
+++ b/meta/recipes-devtools/perl-cross/perlcross_1.6.2.bb
@@ -6,7 +6,7 @@ SECTION = "devel"
6LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 6LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
7# README.md is taken from https://github.com/arsv/perl-cross/blob/master/README.md 7# README.md is taken from https://github.com/arsv/perl-cross/blob/master/README.md
8# but is not provided inside the release tarballs 8# but is not provided inside the release tarballs
9LIC_FILES_CHKSUM = "file://${WORKDIR}/README.md;md5=252fcce2026b765fee1ad74d2fb07a3b" 9LIC_FILES_CHKSUM = "file://${UNPACKDIR}/README.md;md5=252fcce2026b765fee1ad74d2fb07a3b"
10 10
11inherit allarch github-releases 11inherit allarch github-releases
12 12
@@ -18,9 +18,9 @@ SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/perl-cross-${PV}.tar.gz;name=perl-c
18 " 18 "
19GITHUB_BASE_URI = "https://github.com/arsv/perl-cross/releases/" 19GITHUB_BASE_URI = "https://github.com/arsv/perl-cross/releases/"
20 20
21SRC_URI[perl-cross.sha256sum] = "584dc54c48dca25e032b676a15bef377c1fed9de318b4fc140292a5dbf326e90" 21SRC_URI[perl-cross.sha256sum] = "131f7496152ee32067dbac2bc9b44b2f582fc778140e545701b3b2faee782f1d"
22 22
23S = "${WORKDIR}/perl-cross-${PV}" 23S = "${UNPACKDIR}/perl-cross-${PV}"
24 24
25do_configure () { 25do_configure () {
26} 26}
diff --git a/meta/recipes-devtools/perl/files/0001-Fix-intermittent-failure-of-test-t-op-sigsystem.t.patch b/meta/recipes-devtools/perl/files/0001-Fix-intermittent-failure-of-test-t-op-sigsystem.t.patch
deleted file mode 100644
index 86fd42cd3d..0000000000
--- a/meta/recipes-devtools/perl/files/0001-Fix-intermittent-failure-of-test-t-op-sigsystem.t.patch
+++ /dev/null
@@ -1,77 +0,0 @@
1From 75d974a58c461b3b5d35280e497810e46abae4ca Mon Sep 17 00:00:00 2001
2From: William Lyu <William.Lyu@windriver.com>
3Date: Wed, 4 Oct 2023 08:58:41 -0400
4Subject: [PATCH] Fix intermittent failure of test t/op/sigsystem.t
5
6[Perl issue #21546] -- https://github.com/Perl/perl5/issues/21546
7
8This fix addresses the intermittent failure of the test
9t/op/sigsystem.t by improving its robustness. Before the fix, this
10test waits a hard-coded amount of time in the parent process for the
11child process to exit, and the child process may not be able to exit
12soon enough. With this fix, the parent process in this test polls for
13whether the SIGCHLD handler reaped the child process for at most 25
14seconds.
15
16Upstream-Status: Backport [commit ID: 75d974a]
17
18Signed-off-by: William Lyu <William.Lyu@windriver.com>
19Signed-off-by: Randy MacLeod <randy.macleod@windriver.com>
20Reported-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
21
22Committer: William Lyu is now a Perl author.
23---
24 AUTHORS | 1 +
25 t/op/sigsystem.t | 17 ++++++++++++++---
26 2 files changed, 15 insertions(+), 3 deletions(-)
27
28diff --git a/AUTHORS b/AUTHORS
29index 21948bfdc7..527dd992fd 100644
30--- a/AUTHORS
31+++ b/AUTHORS
32@@ -1443,6 +1443,7 @@ Wayne Scott <wscott@ichips.intel.com>
33 Wayne Thompson <Wayne.Thompson@Ebay.sun.com>
34 Wilfredo Sánchez <wsanchez@mit.edu>
35 William J. Middleton <William.Middleton@oslo.mobil.telenor.no>
36+William Lyu <William.Lyu@windriver.com>
37 William Mann <wmann@avici.com>
38 William Middleton <wmiddlet@adobe.com>
39 William R Ward <hermit@BayView.COM>
40diff --git a/t/op/sigsystem.t b/t/op/sigsystem.t
41index 25da854902..831feefb0f 100644
42--- a/t/op/sigsystem.t
43+++ b/t/op/sigsystem.t
44@@ -37,7 +37,15 @@ SKIP: {
45 test_system('with reaper');
46
47 note("Waiting briefly for SIGCHLD...");
48- Time::HiRes::sleep(0.500);
49+
50+ # Wait at most 50 * 0.500 = 25.0 seconds for the child process to be
51+ # reaped. If the child process exits and gets reaped early, this polling
52+ # loop will exit early.
53+
54+ for (1..50) {
55+ last if @pids;
56+ Time::HiRes::sleep(0.500);
57+ }
58
59 ok(@pids == 1, 'Reaped only one process');
60 ok($pids[0] == $pid, "Reaped the right process.") or diag(Dumper(\@pids));
61@@ -50,8 +58,11 @@ sub test_system {
62 my $got_zeroes = 0;
63
64 # This test is looking for a race between system()'s waitpid() and a
65- # signal handler. Looping a few times increases the chances of
66- # catching the error.
67+ # signal handler. The system() call is expected to not interfere with the
68+ # SIGCHLD signal handler. In particular, the wait() called within system()
69+ # is expected to reap the child process forked by system() before the
70+ # SIGCHLD signal handler is called.
71+ # Looping a few times increases the chances of catching the error.
72
73 for (1..$expected_zeroes) {
74 $got_zeroes++ unless system(TRUE);
75--
762.25.1
77
diff --git a/meta/recipes-devtools/perl/files/0001-Somehow-this-module-breaks-through-the-perl-wrapper-.patch b/meta/recipes-devtools/perl/files/0001-Somehow-this-module-breaks-through-the-perl-wrapper-.patch
index ed8ec1d416..2076c61ee0 100644
--- a/meta/recipes-devtools/perl/files/0001-Somehow-this-module-breaks-through-the-perl-wrapper-.patch
+++ b/meta/recipes-devtools/perl/files/0001-Somehow-this-module-breaks-through-the-perl-wrapper-.patch
@@ -1,4 +1,4 @@
1From e8e095b9c71c58f8197d6315359446b6b084cb2b Mon Sep 17 00:00:00 2001 1From 47cd22cd213d2c5f28e674b12c264dc731682560 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Tue, 5 Jun 2018 14:58:42 +0300 3Date: Tue, 5 Jun 2018 14:58:42 +0300
4Subject: [PATCH] Somehow this module breaks through the perl wrapper and 4Subject: [PATCH] Somehow this module breaks through the perl wrapper and
@@ -11,10 +11,10 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
11 1 file changed, 4 insertions(+) 11 1 file changed, 4 insertions(+)
12 12
13diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm 13diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
14index 948c476..f537526 100644 14index fe38598..0828f52 100644
15--- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm 15--- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
16+++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm 16+++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
17@@ -1110,6 +1110,9 @@ WARNING 17@@ -1161,6 +1161,9 @@ WARNING
18 } 18 }
19 19
20 foreach my $name (@$names){ 20 foreach my $name (@$names){
@@ -24,7 +24,7 @@ index 948c476..f537526 100644
24 my ($abs, $use_dir); 24 my ($abs, $use_dir);
25 if ($self->file_name_is_absolute($name)) { # /foo/bar 25 if ($self->file_name_is_absolute($name)) { # /foo/bar
26 $abs = $name; 26 $abs = $name;
27@@ -2006,6 +2009,7 @@ sub init_PERL { 27@@ -2097,6 +2100,7 @@ sub init_PERL {
28 28
29 $self->{PERL} ||= 29 $self->{PERL} ||=
30 $self->find_perl(5.0, \@perls, \@defpath, $Verbose ); 30 $self->find_perl(5.0, \@perls, \@defpath, $Verbose );
diff --git a/meta/recipes-devtools/perl/files/0001-cpan-Sys-Syslog-Makefile.PL-Fix-_PATH_LOG-for-determ.patch b/meta/recipes-devtools/perl/files/0001-cpan-Sys-Syslog-Makefile.PL-Fix-_PATH_LOG-for-determ.patch
index 63815d44fb..7e5d08d8db 100644
--- a/meta/recipes-devtools/perl/files/0001-cpan-Sys-Syslog-Makefile.PL-Fix-_PATH_LOG-for-determ.patch
+++ b/meta/recipes-devtools/perl/files/0001-cpan-Sys-Syslog-Makefile.PL-Fix-_PATH_LOG-for-determ.patch
@@ -1,4 +1,4 @@
1From a73fff1fcf0def4ce93964f1b63fe3ad0967259d Mon Sep 17 00:00:00 2001 1From 322972384e0795be339252f7cf9a318dc759b51e Mon Sep 17 00:00:00 2001
2From: Robert Yang <liezhi.yang@windriver.com> 2From: Robert Yang <liezhi.yang@windriver.com>
3Date: Fri, 18 Feb 2022 09:44:26 +0000 3Date: Fri, 18 Feb 2022 09:44:26 +0000
4Subject: [PATCH] cpan/Sys-Syslog/Makefile.PL: Fix _PATH_LOG for deterministic 4Subject: [PATCH] cpan/Sys-Syslog/Makefile.PL: Fix _PATH_LOG for deterministic
@@ -31,6 +31,3 @@ index d09ba69..d44e58c 100644
31 31
32 # if possible, generate the code that handles the constants with 32 # if possible, generate the code that handles the constants with
33 # ExtUtils::Constant, otherwise use cached copy in fallback/ 33 # ExtUtils::Constant, otherwise use cached copy in fallback/
34--
352.31.1
36
diff --git a/meta/recipes-devtools/perl/files/0002-Constant-Fix-up-shebang.patch b/meta/recipes-devtools/perl/files/0002-Constant-Fix-up-shebang.patch
index 686cc7167b..80986e66da 100644
--- a/meta/recipes-devtools/perl/files/0002-Constant-Fix-up-shebang.patch
+++ b/meta/recipes-devtools/perl/files/0002-Constant-Fix-up-shebang.patch
@@ -1,7 +1,7 @@
1From 260ebd15e16cd86b9b58e5c5f3a496b3853ca46d Mon Sep 17 00:00:00 2001 1From a02355bdc8cde1115daf101675cdfb707d337bf1 Mon Sep 17 00:00:00 2001
2From: Joshua Watt <JPEWhacker@gmail.com> 2From: Joshua Watt <JPEWhacker@gmail.com>
3Date: Mon, 17 Jun 2019 10:47:23 -0500 3Date: Mon, 17 Jun 2019 10:47:23 -0500
4Subject: [PATCH 2/2] Constant: Fix up shebang 4Subject: [PATCH] Constant: Fix up shebang
5 5
6The instructions indicate that the script should be explicitly passed to 6The instructions indicate that the script should be explicitly passed to
7"perl -x", so automatically setting the #! to be ^X is unnecessary and 7"perl -x", so automatically setting the #! to be ^X is unnecessary and
@@ -15,7 +15,7 @@ Upstream-Status: Submitted [https://rt.cpan.org/Public/Bug/Display.html?id=12986
15 1 file changed, 1 insertion(+), 1 deletion(-) 15 1 file changed, 1 insertion(+), 1 deletion(-)
16 16
17diff --git a/cpan/ExtUtils-Constant/lib/ExtUtils/Constant/XS.pm b/cpan/ExtUtils-Constant/lib/ExtUtils/Constant/XS.pm 17diff --git a/cpan/ExtUtils-Constant/lib/ExtUtils/Constant/XS.pm b/cpan/ExtUtils-Constant/lib/ExtUtils/Constant/XS.pm
18index 14eb809714..d4d074e121 100644 18index 14eb809..d4d074e 100644
19--- a/cpan/ExtUtils-Constant/lib/ExtUtils/Constant/XS.pm 19--- a/cpan/ExtUtils-Constant/lib/ExtUtils/Constant/XS.pm
20+++ b/cpan/ExtUtils-Constant/lib/ExtUtils/Constant/XS.pm 20+++ b/cpan/ExtUtils-Constant/lib/ExtUtils/Constant/XS.pm
21@@ -219,7 +219,7 @@ sub dogfood { 21@@ -219,7 +219,7 @@ sub dogfood {
@@ -27,6 +27,3 @@ index 14eb809714..d4d074e121 100644
27 use ExtUtils::Constant qw (constant_types C_constant XS_constant); 27 use ExtUtils::Constant qw (constant_types C_constant XS_constant);
28 28
29 EOT 29 EOT
30--
312.21.0
32
diff --git a/meta/recipes-devtools/perl/files/determinism.patch b/meta/recipes-devtools/perl/files/determinism.patch
index aa85ccef10..bdb9a928bb 100644
--- a/meta/recipes-devtools/perl/files/determinism.patch
+++ b/meta/recipes-devtools/perl/files/determinism.patch
@@ -1,4 +1,7 @@
1Fixes to make the perl build reproducible: 1From 5c4fd57daf125357262aa796057d7be8e78d378e Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Wed, 5 Feb 2020 23:54:02 +0000
4Subject: [PATCH] Fixes to make the perl build reproducible:
2 5
3a) Remove the \n from configure_attr.sh since it gets quoted differently depending on 6a) Remove the \n from configure_attr.sh since it gets quoted differently depending on
4 whether the shell is bash or dash which can cause the test result to be incorrect. 7 whether the shell is bash or dash which can cause the test result to be incorrect.
@@ -8,9 +11,9 @@ b) Sort the order of the module lists from configure_mods.sh since otherwise
8 the result isn't the same leading to makefile differences. 11 the result isn't the same leading to makefile differences.
9 Reported upstream: https://github.com/arsv/perl-cross/issues/88 12 Reported upstream: https://github.com/arsv/perl-cross/issues/88
10 13
11c) Sort the Encode::Byte byte_t.fnm file output (and the makefile depends whilst 14c) Sort the Encode::Byte byte_t.fnm file output (and the makefile depends whilst
12 there for good measure) 15 there for good measure)
13 This needs to go to upstream perl (not done) 16 Submitted to upstream perl: https://github.com/dankogai/p5-encode/pull/179
14 17
15d) Use bash for perl-cross configure since otherwise trnl gets set to "\n" with bash 18d) Use bash for perl-cross configure since otherwise trnl gets set to "\n" with bash
16 and "" with dash 19 and "" with dash
@@ -18,13 +21,16 @@ d) Use bash for perl-cross configure since otherwise trnl gets set to "\n" with
18 21
19RP 2020/2/7 22RP 2020/2/7
20 23
21Upstream-Status: Pending [75% submitted] 24Upstream-Status: Submitted [see links above]
22Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org 25Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org
26---
27 cpan/Encode/Byte/Makefile.PL | 4 ++--
28 1 file changed, 2 insertions(+), 2 deletions(-)
23 29
24Index: perl-5.30.1/cpan/Encode/Byte/Makefile.PL 30diff --git a/cpan/Encode/Byte/Makefile.PL b/cpan/Encode/Byte/Makefile.PL
25=================================================================== 31index 6824bbb..4af4a50 100644
26--- perl-5.30.1.orig/cpan/Encode/Byte/Makefile.PL 32--- a/cpan/Encode/Byte/Makefile.PL
27+++ perl-5.30.1/cpan/Encode/Byte/Makefile.PL 33+++ b/cpan/Encode/Byte/Makefile.PL
28@@ -171,7 +171,7 @@ sub postamble 34@@ -171,7 +171,7 @@ sub postamble
29 my $lengthsofar = length($str); 35 my $lengthsofar = length($str);
30 my $continuator = ''; 36 my $continuator = '';
diff --git a/meta/recipes-devtools/perl/files/encodefix.patch b/meta/recipes-devtools/perl/files/encodefix.patch
index 396ed0d53e..665699d12d 100644
--- a/meta/recipes-devtools/perl/files/encodefix.patch
+++ b/meta/recipes-devtools/perl/files/encodefix.patch
@@ -1,14 +1,22 @@
1From a4e22c7f2a519f24bc8aa89c6677017c0fe13679 Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Tue, 18 Feb 2020 17:27:26 +0000
4Subject: [PATCH] perl: Fix encode module reproducibility issues
5
1The code is encoding host compiler parameters into target builds. Avoid 6The code is encoding host compiler parameters into target builds. Avoid
2this for our target builds (patch is target specific, not native) 7this for our target builds (patch is target specific, not native)
3 8
4Upstream-Status: Inappropriate [Cross compile hack] 9Upstream-Status: Inappropriate [Cross compile hack]
5RP 2020/2/18 10RP 2020/2/18
6Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> 11Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12---
13 cpan/Encode/bin/enc2xs | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
7 15
8Index: perl-5.30.1/cpan/Encode/bin/enc2xs 16diff --git a/cpan/Encode/bin/enc2xs b/cpan/Encode/bin/enc2xs
9=================================================================== 17index 502ae39..7669b05 100644
10--- perl-5.30.1.orig/cpan/Encode/bin/enc2xs 18--- a/cpan/Encode/bin/enc2xs
11+++ perl-5.30.1/cpan/Encode/bin/enc2xs 19+++ b/cpan/Encode/bin/enc2xs
12@@ -195,7 +195,7 @@ sub compiler_info { 20@@ -195,7 +195,7 @@ sub compiler_info {
13 # above becomes false. 21 # above becomes false.
14 my $sized = $declaration && !($compat && !$pedantic); 22 my $sized = $declaration && !($compat && !$pedantic);
diff --git a/meta/recipes-devtools/perl/files/errno_ver.diff b/meta/recipes-devtools/perl/files/errno_ver.diff
index a965fbeeec..477642f457 100644
--- a/meta/recipes-devtools/perl/files/errno_ver.diff
+++ b/meta/recipes-devtools/perl/files/errno_ver.diff
@@ -1,7 +1,7 @@
1From 8e1efba7560d8d55524c7a0f1b0539ddce419b86 Mon Sep 17 00:00:00 2001 1From 9c404d4b1c3607e827fb56b5ae4f8fbbdb52cd0b Mon Sep 17 00:00:00 2001
2From: Brendan O'Dea <bod@debian.org> 2From: Brendan O'Dea <bod@debian.org>
3Date: Fri, 16 Dec 2005 01:32:14 +1100 3Date: Fri, 16 Dec 2005 01:32:14 +1100
4Subject: [PATCH 6/8] Remove Errno version check due to upgrade problems with 4Subject: [PATCH] Remove Errno version check due to upgrade problems with
5 long-running processes. 5 long-running processes.
6 6
7Bug-Debian: http://bugs.debian.org/343351 7Bug-Debian: http://bugs.debian.org/343351
@@ -17,21 +17,18 @@ Upstream-Status: Pending
17 1 file changed, 5 deletions(-) 17 1 file changed, 5 deletions(-)
18 18
19diff --git a/ext/Errno/Errno_pm.PL b/ext/Errno/Errno_pm.PL 19diff --git a/ext/Errno/Errno_pm.PL b/ext/Errno/Errno_pm.PL
20index 6251a3c..eeed445 100644 20index 77aa19b..4bdbef1 100644
21--- a/ext/Errno/Errno_pm.PL 21--- a/ext/Errno/Errno_pm.PL
22+++ b/ext/Errno/Errno_pm.PL 22+++ b/ext/Errno/Errno_pm.PL
23@@ -294,11 +294,6 @@ EDQ 23@@ -295,11 +295,6 @@ EDQ
24 # they've already declared perl doesn't need to worry about this risk. 24 # they've already declared perl doesn't need to worry about this risk.
25 if(!$ENV{'PERL_BUILD_EXPAND_CONFIG_VARS'}) { 25 if(!$ENV{'PERL_BUILD_EXPAND_CONFIG_VARS'}) {
26 print <<"CONFIG_CHECK_END"; 26 print <<"CONFIG_CHECK_END";
27-use Config; 27-use Config;
28-"\$Config{'archname'}-\$Config{'osvers'}" eq 28-"\$Config{'archname'}-\$Config{'osvers'}" eq
29-"$archname-$Config{'osvers'}" or 29-"$archname-$osvers" or
30- die "Errno architecture ($archname-$Config{'osvers'}) does not match executable architecture (\$Config{'archname'}-\$Config{'osvers'})"; 30- die "Errno architecture ($archname-$osvers) does not match executable architecture (\$Config{'archname'}-\$Config{'osvers'})";
31- 31-
32 CONFIG_CHECK_END 32 CONFIG_CHECK_END
33 } 33 }
34 34
35--
362.1.4
37
diff --git a/meta/recipes-devtools/perl/files/native-perlinc.patch b/meta/recipes-devtools/perl/files/native-perlinc.patch
index 20d7fe6060..7e3e5f6652 100644
--- a/meta/recipes-devtools/perl/files/native-perlinc.patch
+++ b/meta/recipes-devtools/perl/files/native-perlinc.patch
@@ -1,11 +1,19 @@
1From 9fec62b19a49d1451fd1120c5dc38baf59f73856 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Wed, 30 May 2007 09:33:32 +0000
4Subject: [PATCH] perl: sync with OE
5
1Upstream-Status: Inappropriate [embedded specific] 6Upstream-Status: Inappropriate [embedded specific]
2Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 7Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
8---
9 cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | 13 +++++++++++++
10 1 file changed, 13 insertions(+)
3 11
4Index: perl-5.8.8/lib/ExtUtils/MM_Unix.pm 12diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
5=================================================================== 13index 0828f52..b8abff4 100644
6--- perl-5.12.3.orig/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm 2008-10-31 22:01:35.000000000 +0000 14--- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
7+++ perl-5.12.3/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm 2008-10-31 22:01:35.000000000 +0000 15+++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
8@@ -1597,6 +1597,19 @@ 16@@ -1862,6 +1862,19 @@ from the perl source tree.
9 $self->{PERL_LIB} ||= $Config{privlibexp}; 17 $self->{PERL_LIB} ||= $Config{privlibexp};
10 $self->{PERL_ARCHLIB} ||= $Config{archlibexp}; 18 $self->{PERL_ARCHLIB} ||= $Config{archlibexp};
11 $self->{PERL_INC} = $self->catdir("$self->{PERL_ARCHLIB}","CORE"); # wild guess for now 19 $self->{PERL_INC} = $self->catdir("$self->{PERL_ARCHLIB}","CORE"); # wild guess for now
diff --git a/meta/recipes-devtools/perl/files/perl-configpm-switch.patch b/meta/recipes-devtools/perl/files/perl-configpm-switch.patch
index 0be1d5a93c..3721277933 100644
--- a/meta/recipes-devtools/perl/files/perl-configpm-switch.patch
+++ b/meta/recipes-devtools/perl/files/perl-configpm-switch.patch
@@ -1,4 +1,4 @@
1From c25d460a2f00e9af25087d40447fe1a81c89710c Mon Sep 17 00:00:00 2001 1From 7a48538a7e8614a3342151b646d2105c0cb0cdd9 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Sun, 27 May 2007 21:04:11 +0000 3Date: Sun, 27 May 2007 21:04:11 +0000
4Subject: [PATCH] perl: 5.8.7 -> 5.8.8 (from OE) 4Subject: [PATCH] perl: 5.8.7 -> 5.8.8 (from OE)
@@ -14,7 +14,6 @@ values would be valid for the host only.
14 14
15Upstream-Status: Inappropriate [native] 15Upstream-Status: Inappropriate [native]
16Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 16Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
17
18--- 17---
19 configpm | 18 ++++++++++++++++-- 18 configpm | 18 ++++++++++++++++--
20 1 file changed, 16 insertions(+), 2 deletions(-) 19 1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-devtools/perl/files/perl-dynloader.patch b/meta/recipes-devtools/perl/files/perl-dynloader.patch
index 887f7c0f7f..5472602d3a 100644
--- a/meta/recipes-devtools/perl/files/perl-dynloader.patch
+++ b/meta/recipes-devtools/perl/files/perl-dynloader.patch
@@ -1,3 +1,8 @@
1From 25a26c52c320e699b37a7ad1f4f045bc8aa4cb00 Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard@openedhand.com>
3Date: Sun, 27 May 2007 21:04:11 +0000
4Subject: [PATCH] perl: 5.8.7 -> 5.8.8 (from OE)
5
1Upstream-Status: Inappropriate [embedded specific] 6Upstream-Status: Inappropriate [embedded specific]
2 7
3Allow the location that .so files are searched for for dynamic 8Allow the location that .so files are searched for for dynamic
@@ -6,12 +11,15 @@ us to load .so's from the host system while building for the target
6system. 11system.
7 12
8Update by Nitin A Kamble <nitin.a.kamble@intel.com> 2011/04/21 13Update by Nitin A Kamble <nitin.a.kamble@intel.com> 2011/04/21
14---
15 dist/XSLoader/XSLoader_pm.PL | 18 ++++++++++++++++++
16 1 file changed, 18 insertions(+)
9 17
10Index: perl-5.24.1/dist/XSLoader/XSLoader_pm.PL 18diff --git a/dist/XSLoader/XSLoader_pm.PL b/dist/XSLoader/XSLoader_pm.PL
11=================================================================== 19index ff5ca31..0d50803 100644
12--- perl-5.24.1.orig/dist/XSLoader/XSLoader_pm.PL 20--- a/dist/XSLoader/XSLoader_pm.PL
13+++ perl-5.24.1/dist/XSLoader/XSLoader_pm.PL 21+++ b/dist/XSLoader/XSLoader_pm.PL
14@@ -52,6 +52,24 @@ sub load { 22@@ -32,6 +32,24 @@ sub load {
15 my ($caller, $modlibname) = caller(); 23 my ($caller, $modlibname) = caller();
16 my $module = $caller; 24 my $module = $caller;
17 25
diff --git a/meta/recipes-devtools/perl/files/perl-rdepends.txt b/meta/recipes-devtools/perl/files/perl-rdepends.txt
index e5f45bf291..462456bba0 100644
--- a/meta/recipes-devtools/perl/files/perl-rdepends.txt
+++ b/meta/recipes-devtools/perl/files/perl-rdepends.txt
@@ -1,6 +1,8 @@
1 1
2# Some additional dependencies that the above doesn't manage to figure out 2# Some additional dependencies that the above doesn't manage to figure out
3RDEPENDS:perl-module-file-path += "perl-module-file-spec"
3RDEPENDS:perl-module-file-spec += "perl-module-file-spec-unix" 4RDEPENDS:perl-module-file-spec += "perl-module-file-spec-unix"
5RDEPENDS:perl-module-file-spec += "perl-module-constant"
4RDEPENDS:perl-module-scalar-util += "perl-module-list-util" 6RDEPENDS:perl-module-scalar-util += "perl-module-list-util"
5RDEPENDS:perl-module-file-temp += "perl-module-scalar-util" 7RDEPENDS:perl-module-file-temp += "perl-module-scalar-util"
6RDEPENDS:perl-module-file-temp += "perl-module-file-spec" 8RDEPENDS:perl-module-file-temp += "perl-module-file-spec"
@@ -166,9 +168,6 @@ RDEPENDS:perl-module-builtin += "perl-module-warnings"
166RDEPENDS:perl-module-b-xref += "perl-module-b" 168RDEPENDS:perl-module-b-xref += "perl-module-b"
167RDEPENDS:perl-module-b-xref += "perl-module-config" 169RDEPENDS:perl-module-b-xref += "perl-module-config"
168RDEPENDS:perl-module-b-xref += "perl-module-strict" 170RDEPENDS:perl-module-b-xref += "perl-module-strict"
169RDEPENDS:perl-module-bytes += "perl-module-bytes-heavy"
170RDEPENDS:perl-module-bytes += "perl-module-strict"
171RDEPENDS:perl-module-bytes += "perl-module-warnings"
172RDEPENDS:perl-module--charnames += "perl-module-bytes" 171RDEPENDS:perl-module--charnames += "perl-module-bytes"
173RDEPENDS:perl-module-charnames += "perl-module-bytes" 172RDEPENDS:perl-module-charnames += "perl-module-bytes"
174RDEPENDS:perl-module-charnames += "perl-module--charnames" 173RDEPENDS:perl-module-charnames += "perl-module--charnames"
@@ -299,6 +298,7 @@ RDEPENDS:perl-module-digest-md5 += "perl-module-warnings"
299RDEPENDS:perl-module-digest-md5 += "perl-module-xsloader" 298RDEPENDS:perl-module-digest-md5 += "perl-module-xsloader"
300RDEPENDS:perl-module-digest += "perl-module-strict" 299RDEPENDS:perl-module-digest += "perl-module-strict"
301RDEPENDS:perl-module-digest += "perl-module-warnings" 300RDEPENDS:perl-module-digest += "perl-module-warnings"
301RDEPENDS:perl-module-digest-sha += "perl-module-cwd"
302RDEPENDS:perl-module-digest-sha += "perl-module-digest-base" 302RDEPENDS:perl-module-digest-sha += "perl-module-digest-base"
303RDEPENDS:perl-module-digest-sha += "perl-module-dynaloader" 303RDEPENDS:perl-module-digest-sha += "perl-module-dynaloader"
304RDEPENDS:perl-module-digest-sha += "perl-module-exporter" 304RDEPENDS:perl-module-digest-sha += "perl-module-exporter"
@@ -479,6 +479,7 @@ RDEPENDS:perl-module-extutils-cbuilder-platform-android += "perl-module-warnings
479RDEPENDS:perl-module-extutils-cbuilder-platform-cygwin += "perl-module-extutils-cbuilder-platform-unix" 479RDEPENDS:perl-module-extutils-cbuilder-platform-cygwin += "perl-module-extutils-cbuilder-platform-unix"
480RDEPENDS:perl-module-extutils-cbuilder-platform-cygwin += "perl-module-strict" 480RDEPENDS:perl-module-extutils-cbuilder-platform-cygwin += "perl-module-strict"
481RDEPENDS:perl-module-extutils-cbuilder-platform-cygwin += "perl-module-warnings" 481RDEPENDS:perl-module-extutils-cbuilder-platform-cygwin += "perl-module-warnings"
482RDEPENDS:perl-module-extutils-cbuilder-platform-darwin += "perl-module-config"
482RDEPENDS:perl-module-extutils-cbuilder-platform-darwin += "perl-module-extutils-cbuilder-platform-unix" 483RDEPENDS:perl-module-extutils-cbuilder-platform-darwin += "perl-module-extutils-cbuilder-platform-unix"
483RDEPENDS:perl-module-extutils-cbuilder-platform-darwin += "perl-module-strict" 484RDEPENDS:perl-module-extutils-cbuilder-platform-darwin += "perl-module-strict"
484RDEPENDS:perl-module-extutils-cbuilder-platform-darwin += "perl-module-warnings" 485RDEPENDS:perl-module-extutils-cbuilder-platform-darwin += "perl-module-warnings"
@@ -518,7 +519,6 @@ RDEPENDS:perl-module-extutils-command += "perl-module-file-copy"
518RDEPENDS:perl-module-extutils-command += "perl-module-file-find" 519RDEPENDS:perl-module-extutils-command += "perl-module-file-find"
519RDEPENDS:perl-module-extutils-command += "perl-module-file-path" 520RDEPENDS:perl-module-extutils-command += "perl-module-file-path"
520RDEPENDS:perl-module-extutils-command += "perl-module-strict" 521RDEPENDS:perl-module-extutils-command += "perl-module-strict"
521RDEPENDS:perl-module-extutils-command += "perl-module-vars"
522RDEPENDS:perl-module-extutils-command += "perl-module-warnings" 522RDEPENDS:perl-module-extutils-command += "perl-module-warnings"
523RDEPENDS:perl-module-extutils-constant-base += "perl-module-constant" 523RDEPENDS:perl-module-extutils-constant-base += "perl-module-constant"
524RDEPENDS:perl-module-extutils-constant-base += "perl-module-extutils-constant-utils" 524RDEPENDS:perl-module-extutils-constant-base += "perl-module-extutils-constant-utils"
@@ -588,7 +588,6 @@ RDEPENDS:perl-module-extutils-makemaker-locale += "perl-module-encode-alias"
588RDEPENDS:perl-module-extutils-makemaker-locale += "perl-module-i18n-langinfo" 588RDEPENDS:perl-module-extutils-makemaker-locale += "perl-module-i18n-langinfo"
589RDEPENDS:perl-module-extutils-makemaker-locale += "perl-module-strict" 589RDEPENDS:perl-module-extutils-makemaker-locale += "perl-module-strict"
590RDEPENDS:perl-module-extutils-makemaker-locale += "perl-module-warnings" 590RDEPENDS:perl-module-extutils-makemaker-locale += "perl-module-warnings"
591RDEPENDS:perl-module-extutils-makemaker += "perl-module-b"
592RDEPENDS:perl-module-extutils-makemaker += "perl-module-cpan" 591RDEPENDS:perl-module-extutils-makemaker += "perl-module-cpan"
593RDEPENDS:perl-module-extutils-makemaker += "perl-module-cwd" 592RDEPENDS:perl-module-extutils-makemaker += "perl-module-cwd"
594RDEPENDS:perl-module-extutils-makemaker += "perl-module-exporter" 593RDEPENDS:perl-module-extutils-makemaker += "perl-module-exporter"
@@ -689,7 +688,6 @@ RDEPENDS:perl-module-extutils-mm-unix += "perl-module-extutils-mm-any"
689RDEPENDS:perl-module-extutils-mm-unix += "perl-module-file-basename" 688RDEPENDS:perl-module-extutils-mm-unix += "perl-module-file-basename"
690RDEPENDS:perl-module-extutils-mm-unix += "perl-module-file-find" 689RDEPENDS:perl-module-extutils-mm-unix += "perl-module-file-find"
691RDEPENDS:perl-module-extutils-mm-unix += "perl-module-strict" 690RDEPENDS:perl-module-extutils-mm-unix += "perl-module-strict"
692RDEPENDS:perl-module-extutils-mm-unix += "perl-module-vars"
693RDEPENDS:perl-module-extutils-mm-unix += "perl-module-version" 691RDEPENDS:perl-module-extutils-mm-unix += "perl-module-version"
694RDEPENDS:perl-module-extutils-mm-unix += "perl-module-warnings" 692RDEPENDS:perl-module-extutils-mm-unix += "perl-module-warnings"
695RDEPENDS:perl-module-extutils-mm-uwin += "perl-module-extutils-mm-unix" 693RDEPENDS:perl-module-extutils-mm-uwin += "perl-module-extutils-mm-unix"
@@ -845,8 +843,6 @@ RDEPENDS:perl-module-file-stat += "perl-module-constant"
845RDEPENDS:perl-module-file-stat += "perl-module-exporter" 843RDEPENDS:perl-module-file-stat += "perl-module-exporter"
846RDEPENDS:perl-module-file-stat += "perl-module-fcntl" 844RDEPENDS:perl-module-file-stat += "perl-module-fcntl"
847RDEPENDS:perl-module-file-stat += "perl-module-overload " 845RDEPENDS:perl-module-file-stat += "perl-module-overload "
848RDEPENDS:perl-module-file-stat += "perl-module-strict"
849RDEPENDS:perl-module-file-stat += "perl-module-warnings"
850RDEPENDS:perl-module-file-stat += "perl-module-warnings-register" 846RDEPENDS:perl-module-file-stat += "perl-module-warnings-register"
851RDEPENDS:perl-module-file-temp += "perl-module-constant" 847RDEPENDS:perl-module-file-temp += "perl-module-constant"
852RDEPENDS:perl-module-file-temp += "perl-module-cwd" 848RDEPENDS:perl-module-file-temp += "perl-module-cwd"
@@ -875,13 +871,16 @@ RDEPENDS:perl-module-gdbm-file += "perl-module-strict"
875RDEPENDS:perl-module-gdbm-file += "perl-module-tie-hash" 871RDEPENDS:perl-module-gdbm-file += "perl-module-tie-hash"
876RDEPENDS:perl-module-gdbm-file += "perl-module-warnings" 872RDEPENDS:perl-module-gdbm-file += "perl-module-warnings"
877RDEPENDS:perl-module-gdbm-file += "perl-module-xsloader" 873RDEPENDS:perl-module-gdbm-file += "perl-module-xsloader"
874RDEPENDS:perl-module-getopt-long-parser += "perl-module-getopt-long"
875RDEPENDS:perl-module-getopt-long-parser += "perl-module-warnings"
876RDEPENDS:perl-module-getopt-long += "perl-module-base"
878RDEPENDS:perl-module-getopt-long += "perl-module-constant" 877RDEPENDS:perl-module-getopt-long += "perl-module-constant"
879RDEPENDS:perl-module-getopt-long += "perl-module-exporter" 878RDEPENDS:perl-module-getopt-long += "perl-module-exporter"
879RDEPENDS:perl-module-getopt-long += "perl-module-getopt-long-parser"
880RDEPENDS:perl-module-getopt-long += "perl-module-overload" 880RDEPENDS:perl-module-getopt-long += "perl-module-overload"
881RDEPENDS:perl-module-getopt-long += "perl-module-pod-usage" 881RDEPENDS:perl-module-getopt-long += "perl-module-pod-usage"
882RDEPENDS:perl-module-getopt-long += "perl-module-strict" 882RDEPENDS:perl-module-getopt-long += "perl-module-strict"
883RDEPENDS:perl-module-getopt-long += "perl-module-text-parsewords" 883RDEPENDS:perl-module-getopt-long += "perl-module-text-parsewords"
884RDEPENDS:perl-module-getopt-long += "perl-module-vars"
885RDEPENDS:perl-module-getopt-long += "perl-module-warnings" 884RDEPENDS:perl-module-getopt-long += "perl-module-warnings"
886RDEPENDS:perl-module-getopt-std += "perl-module-exporter" 885RDEPENDS:perl-module-getopt-std += "perl-module-exporter"
887RDEPENDS:perl-module-getopt-std += "perl-module-strict" 886RDEPENDS:perl-module-getopt-std += "perl-module-strict"
@@ -1048,7 +1047,6 @@ RDEPENDS:perl-module-io-socket-ip += "perl-module-constant"
1048RDEPENDS:perl-module-io-socket-ip += "perl-module-errno" 1047RDEPENDS:perl-module-io-socket-ip += "perl-module-errno"
1049RDEPENDS:perl-module-io-socket-ip += "perl-module-posix" 1048RDEPENDS:perl-module-io-socket-ip += "perl-module-posix"
1050RDEPENDS:perl-module-io-socket-ip += "perl-module-socket" 1049RDEPENDS:perl-module-io-socket-ip += "perl-module-socket"
1051RDEPENDS:perl-module-io-socket-ip += "perl-module-strict"
1052RDEPENDS:perl-module-io-socket-ip += "perl-module-warnings" 1050RDEPENDS:perl-module-io-socket-ip += "perl-module-warnings"
1053RDEPENDS:perl-module-io-socket += "perl-module-errno" 1051RDEPENDS:perl-module-io-socket += "perl-module-errno"
1054RDEPENDS:perl-module-io-socket += "perl-module-exporter" 1052RDEPENDS:perl-module-io-socket += "perl-module-exporter"
@@ -1144,8 +1142,8 @@ RDEPENDS:perl-module-io-uncompress-unzip += "perl-module-io-file"
1144RDEPENDS:perl-module-io-uncompress-unzip += "perl-module-io-uncompress-adapter-identity" 1142RDEPENDS:perl-module-io-uncompress-unzip += "perl-module-io-uncompress-adapter-identity"
1145RDEPENDS:perl-module-io-uncompress-unzip += "perl-module-io-uncompress-adapter-inflate" 1143RDEPENDS:perl-module-io-uncompress-unzip += "perl-module-io-uncompress-adapter-inflate"
1146RDEPENDS:perl-module-io-uncompress-unzip += "perl-module-io-uncompress-rawinflate" 1144RDEPENDS:perl-module-io-uncompress-unzip += "perl-module-io-uncompress-rawinflate"
1147RDEPENDS:perl-module-io-uncompress-unzip += "perl-module-posix"
1148RDEPENDS:perl-module-io-uncompress-unzip += "perl-module-strict " 1145RDEPENDS:perl-module-io-uncompress-unzip += "perl-module-strict "
1146RDEPENDS:perl-module-io-uncompress-unzip += "perl-module-time-local "
1149RDEPENDS:perl-module-io-uncompress-unzip += "perl-module-warnings" 1147RDEPENDS:perl-module-io-uncompress-unzip += "perl-module-warnings"
1150RDEPENDS:perl-module-io-zlib += "perl-module-fcntl" 1148RDEPENDS:perl-module-io-zlib += "perl-module-fcntl"
1151RDEPENDS:perl-module-io-zlib += "perl-module-io-handle" 1149RDEPENDS:perl-module-io-zlib += "perl-module-io-handle"
@@ -1196,6 +1194,7 @@ RDEPENDS:perl-module-ipc-sysv += "perl-module-vars"
1196RDEPENDS:perl-module-ipc-sysv += "perl-module-xsloader" 1194RDEPENDS:perl-module-ipc-sysv += "perl-module-xsloader"
1197RDEPENDS:perl-module-json-pp-boolean += "perl-module-overload" 1195RDEPENDS:perl-module-json-pp-boolean += "perl-module-overload"
1198RDEPENDS:perl-module-json-pp-boolean += "perl-module-strict" 1196RDEPENDS:perl-module-json-pp-boolean += "perl-module-strict"
1197RDEPENDS:perl-module-json-pp-boolean += "perl-module-warnings"
1199RDEPENDS:perl-module-json-pp += "perl-module-b" 1198RDEPENDS:perl-module-json-pp += "perl-module-b"
1200RDEPENDS:perl-module-json-pp += "perl-module-bytes" 1199RDEPENDS:perl-module-json-pp += "perl-module-bytes"
1201RDEPENDS:perl-module-json-pp += "perl-module-constant" 1200RDEPENDS:perl-module-json-pp += "perl-module-constant"
@@ -1206,7 +1205,6 @@ RDEPENDS:perl-module-json-pp += "perl-module-math-bigfloat"
1206RDEPENDS:perl-module-json-pp += "perl-module-math-bigint" 1205RDEPENDS:perl-module-json-pp += "perl-module-math-bigint"
1207RDEPENDS:perl-module-json-pp += "perl-module-overload" 1206RDEPENDS:perl-module-json-pp += "perl-module-overload"
1208RDEPENDS:perl-module-json-pp += "perl-module-strict" 1207RDEPENDS:perl-module-json-pp += "perl-module-strict"
1209RDEPENDS:perl-module-json-pp += "perl-module-subs"
1210RDEPENDS:perl-module-less += "perl-module-strict" 1208RDEPENDS:perl-module-less += "perl-module-strict"
1211RDEPENDS:perl-module-less += "perl-module-warnings" 1209RDEPENDS:perl-module-less += "perl-module-warnings"
1212RDEPENDS:perl-module-lib += "perl-module-config" 1210RDEPENDS:perl-module-lib += "perl-module-config"
@@ -1245,6 +1243,7 @@ RDEPENDS:perl-module-locale += "perl-module-strict"
1245RDEPENDS:perl-module-locale += "perl-module-warnings" 1243RDEPENDS:perl-module-locale += "perl-module-warnings"
1246RDEPENDS:perl-module-math-bigfloat += "perl-module-exporter" 1244RDEPENDS:perl-module-math-bigfloat += "perl-module-exporter"
1247RDEPENDS:perl-module-math-bigfloat += "perl-module-math-bigint" 1245RDEPENDS:perl-module-math-bigfloat += "perl-module-math-bigint"
1246RDEPENDS:perl-module-math-bigfloat += "perl-module-math-bigrat"
1248RDEPENDS:perl-module-math-bigfloat += "perl-module-math-complex" 1247RDEPENDS:perl-module-math-bigfloat += "perl-module-math-complex"
1249RDEPENDS:perl-module-math-bigfloat += "perl-module-overload" 1248RDEPENDS:perl-module-math-bigfloat += "perl-module-overload"
1250RDEPENDS:perl-module-math-bigfloat += "perl-module-strict" 1249RDEPENDS:perl-module-math-bigfloat += "perl-module-strict"
@@ -1269,6 +1268,7 @@ RDEPENDS:perl-module-math-bigint-lib += "perl-module-strict"
1269RDEPENDS:perl-module-math-bigint-lib += "perl-module-warnings" 1268RDEPENDS:perl-module-math-bigint-lib += "perl-module-warnings"
1270RDEPENDS:perl-module-math-bigint += "perl-module-exporter" 1269RDEPENDS:perl-module-math-bigint += "perl-module-exporter"
1271RDEPENDS:perl-module-math-bigint += "perl-module-math-bigfloat" 1270RDEPENDS:perl-module-math-bigint += "perl-module-math-bigfloat"
1271RDEPENDS:perl-module-math-bigint += "perl-module-math-bigrat"
1272RDEPENDS:perl-module-math-bigint += "perl-module-math-complex" 1272RDEPENDS:perl-module-math-bigint += "perl-module-math-complex"
1273RDEPENDS:perl-module-math-bigint += "perl-module-overload" 1273RDEPENDS:perl-module-math-bigint += "perl-module-overload"
1274RDEPENDS:perl-module-math-bigint += "perl-module-strict" 1274RDEPENDS:perl-module-math-bigint += "perl-module-strict"
@@ -1297,13 +1297,13 @@ RDEPENDS:perl-module-math-complex += "perl-module-warnings"
1297RDEPENDS:perl-module-math-trig += "perl-module-exporter" 1297RDEPENDS:perl-module-math-trig += "perl-module-exporter"
1298RDEPENDS:perl-module-math-trig += "perl-module-math-complex" 1298RDEPENDS:perl-module-math-trig += "perl-module-math-complex"
1299RDEPENDS:perl-module-math-trig += "perl-module-strict" 1299RDEPENDS:perl-module-math-trig += "perl-module-strict"
1300RDEPENDS:perl-module-memoize-anydbm-file += "perl-module-vars" 1300RDEPENDS:perl-module-memoize-anydbm-file += "perl-module-strict"
1301RDEPENDS:perl-module-memoize += "perl-module-config" 1301RDEPENDS:perl-module-memoize-expire += "perl-module-strict"
1302RDEPENDS:perl-module-memoize += "perl-module-exporter"
1303RDEPENDS:perl-module-memoize += "perl-module-strict" 1302RDEPENDS:perl-module-memoize += "perl-module-strict"
1304RDEPENDS:perl-module-memoize += "perl-module-vars"
1305RDEPENDS:perl-module-memoize-sdbm-file += "perl-module-sdbm-file" 1303RDEPENDS:perl-module-memoize-sdbm-file += "perl-module-sdbm-file"
1304RDEPENDS:perl-module-memoize-sdbm-file += "perl-module-strict"
1306RDEPENDS:perl-module-memoize-storable += "perl-module-storable" 1305RDEPENDS:perl-module-memoize-storable += "perl-module-storable"
1306RDEPENDS:perl-module-memoize-storable += "perl-module-strict"
1307RDEPENDS:perl-module-mime-base64 += "perl-module-exporter" 1307RDEPENDS:perl-module-mime-base64 += "perl-module-exporter"
1308RDEPENDS:perl-module-mime-base64 += "perl-module-strict" 1308RDEPENDS:perl-module-mime-base64 += "perl-module-strict"
1309RDEPENDS:perl-module-mime-base64 += "perl-module-warnings" 1309RDEPENDS:perl-module-mime-base64 += "perl-module-warnings"
@@ -1362,11 +1362,9 @@ RDEPENDS:perl-module-net-ftp += "perl-module-warnings"
1362RDEPENDS:perl-module-net-hostent += "perl-module-class-struct" 1362RDEPENDS:perl-module-net-hostent += "perl-module-class-struct"
1363RDEPENDS:perl-module-net-hostent += "perl-module-exporter" 1363RDEPENDS:perl-module-net-hostent += "perl-module-exporter"
1364RDEPENDS:perl-module-net-hostent += "perl-module-socket" 1364RDEPENDS:perl-module-net-hostent += "perl-module-socket"
1365RDEPENDS:perl-module-net-hostent += "perl-module-strict"
1366RDEPENDS:perl-module-net-netent += "perl-module-class-struct" 1365RDEPENDS:perl-module-net-netent += "perl-module-class-struct"
1367RDEPENDS:perl-module-net-netent += "perl-module-exporter" 1366RDEPENDS:perl-module-net-netent += "perl-module-exporter"
1368RDEPENDS:perl-module-net-netent += "perl-module-socket" 1367RDEPENDS:perl-module-net-netent += "perl-module-socket"
1369RDEPENDS:perl-module-net-netent += "perl-module-strict"
1370RDEPENDS:perl-module-net-netrc += "perl-module-filehandle" 1368RDEPENDS:perl-module-net-netrc += "perl-module-filehandle"
1371RDEPENDS:perl-module-net-netrc += "perl-module-strict" 1369RDEPENDS:perl-module-net-netrc += "perl-module-strict"
1372RDEPENDS:perl-module-net-netrc += "perl-module-warnings" 1370RDEPENDS:perl-module-net-netrc += "perl-module-warnings"
@@ -1397,10 +1395,8 @@ RDEPENDS:perl-module-net-pop3 += "perl-module-strict"
1397RDEPENDS:perl-module-net-pop3 += "perl-module-warnings" 1395RDEPENDS:perl-module-net-pop3 += "perl-module-warnings"
1398RDEPENDS:perl-module-net-protoent += "perl-module-class-struct" 1396RDEPENDS:perl-module-net-protoent += "perl-module-class-struct"
1399RDEPENDS:perl-module-net-protoent += "perl-module-exporter" 1397RDEPENDS:perl-module-net-protoent += "perl-module-exporter"
1400RDEPENDS:perl-module-net-protoent += "perl-module-strict"
1401RDEPENDS:perl-module-net-servent += "perl-module-class-struct" 1398RDEPENDS:perl-module-net-servent += "perl-module-class-struct"
1402RDEPENDS:perl-module-net-servent += "perl-module-exporter" 1399RDEPENDS:perl-module-net-servent += "perl-module-exporter"
1403RDEPENDS:perl-module-net-servent += "perl-module-strict"
1404RDEPENDS:perl-module-net-smtp += "perl-module-io-socket" 1400RDEPENDS:perl-module-net-smtp += "perl-module-io-socket"
1405RDEPENDS:perl-module-net-smtp += "perl-module-io-socket-ip" 1401RDEPENDS:perl-module-net-smtp += "perl-module-io-socket-ip"
1406RDEPENDS:perl-module-net-smtp += "perl-module-mime-base64" 1402RDEPENDS:perl-module-net-smtp += "perl-module-mime-base64"
@@ -1446,7 +1442,6 @@ RDEPENDS:perl-module-perlio-encoding += "perl-module-xsloader"
1446RDEPENDS:perl-module-perlio-mmap += "perl-module-strict" 1442RDEPENDS:perl-module-perlio-mmap += "perl-module-strict"
1447RDEPENDS:perl-module-perlio-mmap += "perl-module-warnings" 1443RDEPENDS:perl-module-perlio-mmap += "perl-module-warnings"
1448RDEPENDS:perl-module-perlio-mmap += "perl-module-xsloader" 1444RDEPENDS:perl-module-perlio-mmap += "perl-module-xsloader"
1449RDEPENDS:perl-module-perlio-scalar += "perl-module-xsloader"
1450RDEPENDS:perl-module-perlio-via += "perl-module-xsloader" 1445RDEPENDS:perl-module-perlio-via += "perl-module-xsloader"
1451RDEPENDS:perl-module-perlio-via-quotedprint += "perl-module-mime-quotedprint" 1446RDEPENDS:perl-module-perlio-via-quotedprint += "perl-module-mime-quotedprint"
1452RDEPENDS:perl-module-perlio-via-quotedprint += "perl-module-strict" 1447RDEPENDS:perl-module-perlio-via-quotedprint += "perl-module-strict"
@@ -1461,14 +1456,12 @@ RDEPENDS:perl-module-pod-escapes += "perl-module-warnings"
1461RDEPENDS:perl-module-pod-functions += "perl-module-exporter" 1456RDEPENDS:perl-module-pod-functions += "perl-module-exporter"
1462RDEPENDS:perl-module-pod-functions += "perl-module-strict" 1457RDEPENDS:perl-module-pod-functions += "perl-module-strict"
1463RDEPENDS:perl-module-pod-man += "perl-module-file-basename" 1458RDEPENDS:perl-module-pod-man += "perl-module-file-basename"
1459RDEPENDS:perl-module-pod-man += "perl-module-perlio"
1464RDEPENDS:perl-module-pod-man += "perl-module-pod-simple" 1460RDEPENDS:perl-module-pod-man += "perl-module-pod-simple"
1465RDEPENDS:perl-module-pod-man += "perl-module-strict" 1461RDEPENDS:perl-module-pod-man += "perl-module-strict"
1466RDEPENDS:perl-module-pod-man += "perl-module-subs"
1467RDEPENDS:perl-module-pod-man += "perl-module-vars"
1468RDEPENDS:perl-module-pod-man += "perl-module-warnings" 1462RDEPENDS:perl-module-pod-man += "perl-module-warnings"
1469RDEPENDS:perl-module-pod-parselink += "perl-module-exporter" 1463RDEPENDS:perl-module-pod-parselink += "perl-module-exporter"
1470RDEPENDS:perl-module-pod-parselink += "perl-module-strict" 1464RDEPENDS:perl-module-pod-parselink += "perl-module-strict"
1471RDEPENDS:perl-module-pod-parselink += "perl-module-vars"
1472RDEPENDS:perl-module-pod-parselink += "perl-module-warnings" 1465RDEPENDS:perl-module-pod-parselink += "perl-module-warnings"
1473RDEPENDS:perl-module-pod-perldoc-baseto += "perl-module-config" 1466RDEPENDS:perl-module-pod-perldoc-baseto += "perl-module-config"
1474RDEPENDS:perl-module-pod-perldoc-baseto += "perl-module-strict" 1467RDEPENDS:perl-module-pod-perldoc-baseto += "perl-module-strict"
@@ -1537,107 +1530,108 @@ RDEPENDS:perl-module-pod-simple-blackbox += "perl-module-integer"
1537RDEPENDS:perl-module-pod-simple-blackbox += "perl-module-pod-simple" 1530RDEPENDS:perl-module-pod-simple-blackbox += "perl-module-pod-simple"
1538RDEPENDS:perl-module-pod-simple-blackbox += "perl-module-pod-simple-transcode" 1531RDEPENDS:perl-module-pod-simple-blackbox += "perl-module-pod-simple-transcode"
1539RDEPENDS:perl-module-pod-simple-blackbox += "perl-module-strict" 1532RDEPENDS:perl-module-pod-simple-blackbox += "perl-module-strict"
1540RDEPENDS:perl-module-pod-simple-blackbox += "perl-module-vars" 1533RDEPENDS:perl-module-pod-simple-blackbox += "perl-module-warnings"
1541RDEPENDS:perl-module-pod-simple-checker += "perl-module-pod-simple" 1534RDEPENDS:perl-module-pod-simple-checker += "perl-module-pod-simple"
1542RDEPENDS:perl-module-pod-simple-checker += "perl-module-pod-simple-methody" 1535RDEPENDS:perl-module-pod-simple-checker += "perl-module-pod-simple-methody"
1543RDEPENDS:perl-module-pod-simple-checker += "perl-module-strict" 1536RDEPENDS:perl-module-pod-simple-checker += "perl-module-strict"
1544RDEPENDS:perl-module-pod-simple-checker += "perl-module-text-wrap" 1537RDEPENDS:perl-module-pod-simple-checker += "perl-module-text-wrap"
1545RDEPENDS:perl-module-pod-simple-checker += "perl-module-vars" 1538RDEPENDS:perl-module-pod-simple-checker += "perl-module-warnings"
1546RDEPENDS:perl-module-pod-simple-debug += "perl-module-pod-simple" 1539RDEPENDS:perl-module-pod-simple-debug += "perl-module-pod-simple"
1547RDEPENDS:perl-module-pod-simple-debug += "perl-module-strict" 1540RDEPENDS:perl-module-pod-simple-debug += "perl-module-strict"
1548RDEPENDS:perl-module-pod-simple-debug += "perl-module-vars" 1541RDEPENDS:perl-module-pod-simple-debug += "perl-module-warnings"
1549RDEPENDS:perl-module-pod-simple-dumpastext += "perl-module-pod-simple" 1542RDEPENDS:perl-module-pod-simple-dumpastext += "perl-module-pod-simple"
1550RDEPENDS:perl-module-pod-simple-dumpastext += "perl-module-strict" 1543RDEPENDS:perl-module-pod-simple-dumpastext += "perl-module-strict"
1544RDEPENDS:perl-module-pod-simple-dumpastext += "perl-module-warnings"
1551RDEPENDS:perl-module-pod-simple-dumpasxml += "perl-module-pod-simple" 1545RDEPENDS:perl-module-pod-simple-dumpasxml += "perl-module-pod-simple"
1552RDEPENDS:perl-module-pod-simple-dumpasxml += "perl-module-strict" 1546RDEPENDS:perl-module-pod-simple-dumpasxml += "perl-module-strict"
1553RDEPENDS:perl-module-pod-simple-dumpasxml += "perl-module-text-wrap" 1547RDEPENDS:perl-module-pod-simple-dumpasxml += "perl-module-text-wrap"
1548RDEPENDS:perl-module-pod-simple-dumpasxml += "perl-module-warnings"
1554RDEPENDS:perl-module-pod-simple-justpod += "perl-module-pod-simple-methody" 1549RDEPENDS:perl-module-pod-simple-justpod += "perl-module-pod-simple-methody"
1555RDEPENDS:perl-module-pod-simple-justpod += "perl-module-strict" 1550RDEPENDS:perl-module-pod-simple-justpod += "perl-module-strict"
1556RDEPENDS:perl-module-pod-simple-justpod += "perl-module-warnings" 1551RDEPENDS:perl-module-pod-simple-justpod += "perl-module-warnings"
1557RDEPENDS:perl-module-pod-simple-linksection += "perl-module-overload" 1552RDEPENDS:perl-module-pod-simple-linksection += "perl-module-overload"
1558RDEPENDS:perl-module-pod-simple-linksection += "perl-module-pod-simple-blackbox" 1553RDEPENDS:perl-module-pod-simple-linksection += "perl-module-pod-simple-blackbox"
1559RDEPENDS:perl-module-pod-simple-linksection += "perl-module-strict" 1554RDEPENDS:perl-module-pod-simple-linksection += "perl-module-strict"
1560RDEPENDS:perl-module-pod-simple-linksection += "perl-module-vars" 1555RDEPENDS:perl-module-pod-simple-linksection += "perl-module-warnings"
1561RDEPENDS:perl-module-pod-simple-methody += "perl-module-pod-simple" 1556RDEPENDS:perl-module-pod-simple-methody += "perl-module-pod-simple"
1562RDEPENDS:perl-module-pod-simple-methody += "perl-module-strict" 1557RDEPENDS:perl-module-pod-simple-methody += "perl-module-strict"
1563RDEPENDS:perl-module-pod-simple-methody += "perl-module-vars" 1558RDEPENDS:perl-module-pod-simple-methody += "perl-module-warnings"
1564RDEPENDS:perl-module-pod-simple += "perl-module-integer" 1559RDEPENDS:perl-module-pod-simple += "perl-module-integer"
1565RDEPENDS:perl-module-pod-simple += "perl-module-pod-escapes" 1560RDEPENDS:perl-module-pod-simple += "perl-module-pod-escapes"
1566RDEPENDS:perl-module-pod-simple += "perl-module-pod-simple-blackbox" 1561RDEPENDS:perl-module-pod-simple += "perl-module-pod-simple-blackbox"
1567RDEPENDS:perl-module-pod-simple += "perl-module-pod-simple-linksection" 1562RDEPENDS:perl-module-pod-simple += "perl-module-pod-simple-linksection"
1568RDEPENDS:perl-module-pod-simple += "perl-module-pod-simple-tiedoutfh" 1563RDEPENDS:perl-module-pod-simple += "perl-module-pod-simple-tiedoutfh"
1569RDEPENDS:perl-module-pod-simple += "perl-module-strict" 1564RDEPENDS:perl-module-pod-simple += "perl-module-strict"
1570RDEPENDS:perl-module-pod-simple += "perl-module-vars" 1565RDEPENDS:perl-module-pod-simple += "perl-module-warnings"
1571RDEPENDS:perl-module-pod-simple-progress += "perl-module-strict" 1566RDEPENDS:perl-module-pod-simple-progress += "perl-module-strict"
1567RDEPENDS:perl-module-pod-simple-progress += "perl-module-warnings"
1572RDEPENDS:perl-module-pod-simple-pullparserendtoken += "perl-module-pod-simple-pullparsertoken" 1568RDEPENDS:perl-module-pod-simple-pullparserendtoken += "perl-module-pod-simple-pullparsertoken"
1573RDEPENDS:perl-module-pod-simple-pullparserendtoken += "perl-module-strict" 1569RDEPENDS:perl-module-pod-simple-pullparserendtoken += "perl-module-strict"
1574RDEPENDS:perl-module-pod-simple-pullparserendtoken += "perl-module-vars" 1570RDEPENDS:perl-module-pod-simple-pullparserendtoken += "perl-module-warnings"
1575RDEPENDS:perl-module-pod-simple-pullparser += "perl-module-pod-simple" 1571RDEPENDS:perl-module-pod-simple-pullparser += "perl-module-pod-simple"
1576RDEPENDS:perl-module-pod-simple-pullparser += "perl-module-pod-simple-pullparserendtoken" 1572RDEPENDS:perl-module-pod-simple-pullparser += "perl-module-pod-simple-pullparserendtoken"
1577RDEPENDS:perl-module-pod-simple-pullparser += "perl-module-pod-simple-pullparserstarttoken" 1573RDEPENDS:perl-module-pod-simple-pullparser += "perl-module-pod-simple-pullparserstarttoken"
1578RDEPENDS:perl-module-pod-simple-pullparser += "perl-module-pod-simple-pullparsertexttoken" 1574RDEPENDS:perl-module-pod-simple-pullparser += "perl-module-pod-simple-pullparsertexttoken"
1579RDEPENDS:perl-module-pod-simple-pullparser += "perl-module-strict" 1575RDEPENDS:perl-module-pod-simple-pullparser += "perl-module-strict"
1576RDEPENDS:perl-module-pod-simple-pullparser += "perl-module-warnings"
1580RDEPENDS:perl-module-pod-simple-pullparserstarttoken += "perl-module-pod-simple-pullparsertoken" 1577RDEPENDS:perl-module-pod-simple-pullparserstarttoken += "perl-module-pod-simple-pullparsertoken"
1581RDEPENDS:perl-module-pod-simple-pullparserstarttoken += "perl-module-strict" 1578RDEPENDS:perl-module-pod-simple-pullparserstarttoken += "perl-module-strict"
1582RDEPENDS:perl-module-pod-simple-pullparserstarttoken += "perl-module-vars" 1579RDEPENDS:perl-module-pod-simple-pullparserstarttoken += "perl-module-warnings"
1583RDEPENDS:perl-module-pod-simple-pullparsertexttoken += "perl-module-pod-simple-pullparsertoken" 1580RDEPENDS:perl-module-pod-simple-pullparsertexttoken += "perl-module-pod-simple-pullparsertoken"
1584RDEPENDS:perl-module-pod-simple-pullparsertexttoken += "perl-module-strict" 1581RDEPENDS:perl-module-pod-simple-pullparsertexttoken += "perl-module-strict"
1585RDEPENDS:perl-module-pod-simple-pullparsertexttoken += "perl-module-vars" 1582RDEPENDS:perl-module-pod-simple-pullparsertexttoken += "perl-module-warnings"
1586RDEPENDS:perl-module-pod-simple-pullparsertoken += "perl-module-strict" 1583RDEPENDS:perl-module-pod-simple-pullparsertoken += "perl-module-strict"
1584RDEPENDS:perl-module-pod-simple-pullparsertoken += "perl-module-warnings"
1587RDEPENDS:perl-module-pod-simple-rtf += "perl-module-if" 1585RDEPENDS:perl-module-pod-simple-rtf += "perl-module-if"
1588RDEPENDS:perl-module-pod-simple-rtf += "perl-module-integer" 1586RDEPENDS:perl-module-pod-simple-rtf += "perl-module-integer"
1589RDEPENDS:perl-module-pod-simple-rtf += "perl-module-pod-simple-pullparser" 1587RDEPENDS:perl-module-pod-simple-rtf += "perl-module-pod-simple-pullparser"
1590RDEPENDS:perl-module-pod-simple-rtf += "perl-module-strict" 1588RDEPENDS:perl-module-pod-simple-rtf += "perl-module-strict"
1591RDEPENDS:perl-module-pod-simple-rtf += "perl-module-vars" 1589RDEPENDS:perl-module-pod-simple-rtf += "perl-module-warnings"
1592RDEPENDS:perl-module-pod-simple-search += "perl-module-config" 1590RDEPENDS:perl-module-pod-simple-search += "perl-module-config"
1593RDEPENDS:perl-module-pod-simple-search += "perl-module-cwd" 1591RDEPENDS:perl-module-pod-simple-search += "perl-module-cwd"
1594RDEPENDS:perl-module-pod-simple-search += "perl-module-file-basename" 1592RDEPENDS:perl-module-pod-simple-search += "perl-module-file-basename"
1595RDEPENDS:perl-module-pod-simple-search += "perl-module-strict" 1593RDEPENDS:perl-module-pod-simple-search += "perl-module-strict"
1596RDEPENDS:perl-module-pod-simple-search += "perl-module-vars" 1594RDEPENDS:perl-module-pod-simple-search += "perl-module-warnings"
1597RDEPENDS:perl-module-pod-simple-simpletree += "perl-module-pod-simple" 1595RDEPENDS:perl-module-pod-simple-simpletree += "perl-module-pod-simple"
1598RDEPENDS:perl-module-pod-simple-simpletree += "perl-module-strict" 1596RDEPENDS:perl-module-pod-simple-simpletree += "perl-module-strict"
1599RDEPENDS:perl-module-pod-simple-simpletree += "perl-module-vars" 1597RDEPENDS:perl-module-pod-simple-simpletree += "perl-module-warnings"
1600RDEPENDS:perl-module-pod-simple-textcontent += "perl-module-pod-simple" 1598RDEPENDS:perl-module-pod-simple-textcontent += "perl-module-pod-simple"
1601RDEPENDS:perl-module-pod-simple-textcontent += "perl-module-strict" 1599RDEPENDS:perl-module-pod-simple-textcontent += "perl-module-strict"
1602RDEPENDS:perl-module-pod-simple-textcontent += "perl-module-vars" 1600RDEPENDS:perl-module-pod-simple-textcontent += "perl-module-warnings"
1603RDEPENDS:perl-module-pod-simple-text += "perl-module-pod-simple" 1601RDEPENDS:perl-module-pod-simple-text += "perl-module-pod-simple"
1604RDEPENDS:perl-module-pod-simple-text += "perl-module-pod-simple-methody" 1602RDEPENDS:perl-module-pod-simple-text += "perl-module-pod-simple-methody"
1605RDEPENDS:perl-module-pod-simple-text += "perl-module-strict" 1603RDEPENDS:perl-module-pod-simple-text += "perl-module-strict"
1606RDEPENDS:perl-module-pod-simple-text += "perl-module-text-wrap" 1604RDEPENDS:perl-module-pod-simple-text += "perl-module-text-wrap"
1607RDEPENDS:perl-module-pod-simple-text += "perl-module-vars" 1605RDEPENDS:perl-module-pod-simple-text += "perl-module-warnings"
1608RDEPENDS:perl-module-pod-simple-tiedoutfh += "perl-module-strict" 1606RDEPENDS:perl-module-pod-simple-tiedoutfh += "perl-module-strict"
1609RDEPENDS:perl-module-pod-simple-tiedoutfh += "perl-module-vars" 1607RDEPENDS:perl-module-pod-simple-tiedoutfh += "perl-module-warnings"
1610RDEPENDS:perl-module-pod-simple-transcodedumb += "perl-module-strict" 1608RDEPENDS:perl-module-pod-simple-transcodedumb += "perl-module-strict"
1611RDEPENDS:perl-module-pod-simple-transcodedumb += "perl-module-vars" 1609RDEPENDS:perl-module-pod-simple-transcodedumb += "perl-module-warnings"
1612RDEPENDS:perl-module-pod-simple-transcode += "perl-module-strict" 1610RDEPENDS:perl-module-pod-simple-transcode += "perl-module-strict"
1613RDEPENDS:perl-module-pod-simple-transcode += "perl-module-vars"
1614RDEPENDS:perl-module-pod-simple-transcodesmart += "perl-module-encode" 1611RDEPENDS:perl-module-pod-simple-transcodesmart += "perl-module-encode"
1615RDEPENDS:perl-module-pod-simple-transcodesmart += "perl-module-pod-simple" 1612RDEPENDS:perl-module-pod-simple-transcodesmart += "perl-module-pod-simple"
1616RDEPENDS:perl-module-pod-simple-transcodesmart += "perl-module-strict" 1613RDEPENDS:perl-module-pod-simple-transcodesmart += "perl-module-strict"
1617RDEPENDS:perl-module-pod-simple-transcodesmart += "perl-module-vars" 1614RDEPENDS:perl-module-pod-simple-transcodesmart += "perl-module-warnings"
1618RDEPENDS:perl-module-pod-simple-xmloutstream += "perl-module-pod-simple" 1615RDEPENDS:perl-module-pod-simple-xmloutstream += "perl-module-pod-simple"
1619RDEPENDS:perl-module-pod-simple-xmloutstream += "perl-module-strict" 1616RDEPENDS:perl-module-pod-simple-xmloutstream += "perl-module-strict"
1620RDEPENDS:perl-module-pod-simple-xmloutstream += "perl-module-vars" 1617RDEPENDS:perl-module-pod-simple-xmloutstream += "perl-module-warnings"
1621RDEPENDS:perl-module-pod-text-color += "perl-module-pod-text" 1618RDEPENDS:perl-module-pod-text-color += "perl-module-pod-text"
1622RDEPENDS:perl-module-pod-text-color += "perl-module-strict" 1619RDEPENDS:perl-module-pod-text-color += "perl-module-strict"
1623RDEPENDS:perl-module-pod-text-color += "perl-module-term-ansicolor" 1620RDEPENDS:perl-module-pod-text-color += "perl-module-term-ansicolor"
1624RDEPENDS:perl-module-pod-text-color += "perl-module-vars"
1625RDEPENDS:perl-module-pod-text-color += "perl-module-warnings" 1621RDEPENDS:perl-module-pod-text-color += "perl-module-warnings"
1626RDEPENDS:perl-module-pod-text-overstrike += "perl-module-pod-text" 1622RDEPENDS:perl-module-pod-text-overstrike += "perl-module-pod-text"
1627RDEPENDS:perl-module-pod-text-overstrike += "perl-module-strict" 1623RDEPENDS:perl-module-pod-text-overstrike += "perl-module-strict"
1628RDEPENDS:perl-module-pod-text-overstrike += "perl-module-vars"
1629RDEPENDS:perl-module-pod-text-overstrike += "perl-module-warnings" 1624RDEPENDS:perl-module-pod-text-overstrike += "perl-module-warnings"
1630RDEPENDS:perl-module-pod-text += "perl-module-encode" 1625RDEPENDS:perl-module-pod-text += "perl-module-encode"
1631RDEPENDS:perl-module-pod-text += "perl-module-exporter" 1626RDEPENDS:perl-module-pod-text += "perl-module-exporter"
1627RDEPENDS:perl-module-pod-text += "perl-module-perlio"
1632RDEPENDS:perl-module-pod-text += "perl-module-pod-simple" 1628RDEPENDS:perl-module-pod-text += "perl-module-pod-simple"
1633RDEPENDS:perl-module-pod-text += "perl-module-strict" 1629RDEPENDS:perl-module-pod-text += "perl-module-strict"
1634RDEPENDS:perl-module-pod-text += "perl-module-vars"
1635RDEPENDS:perl-module-pod-text += "perl-module-warnings" 1630RDEPENDS:perl-module-pod-text += "perl-module-warnings"
1636RDEPENDS:perl-module-pod-text-termcap += "perl-module-pod-text" 1631RDEPENDS:perl-module-pod-text-termcap += "perl-module-pod-text"
1637RDEPENDS:perl-module-pod-text-termcap += "perl-module-posix" 1632RDEPENDS:perl-module-pod-text-termcap += "perl-module-posix"
1638RDEPENDS:perl-module-pod-text-termcap += "perl-module-strict" 1633RDEPENDS:perl-module-pod-text-termcap += "perl-module-strict"
1639RDEPENDS:perl-module-pod-text-termcap += "perl-module-term-cap" 1634RDEPENDS:perl-module-pod-text-termcap += "perl-module-term-cap"
1640RDEPENDS:perl-module-pod-text-termcap += "perl-module-vars"
1641RDEPENDS:perl-module-pod-text-termcap += "perl-module-warnings" 1635RDEPENDS:perl-module-pod-text-termcap += "perl-module-warnings"
1642RDEPENDS:perl-module-pod-usage += "perl-module-config" 1636RDEPENDS:perl-module-pod-usage += "perl-module-config"
1643RDEPENDS:perl-module-pod-usage += "perl-module-exporter" 1637RDEPENDS:perl-module-pod-usage += "perl-module-exporter"
@@ -1674,6 +1668,10 @@ RDEPENDS:perl-module-socket += "perl-module-warnings-register"
1674RDEPENDS:perl-module-socket += "perl-module-xsloader" 1668RDEPENDS:perl-module-socket += "perl-module-xsloader"
1675RDEPENDS:perl-module-sort += "perl-module-strict" 1669RDEPENDS:perl-module-sort += "perl-module-strict"
1676RDEPENDS:perl-module-sort += "perl-module-warnings" 1670RDEPENDS:perl-module-sort += "perl-module-warnings"
1671RDEPENDS:perl-module-stable += "perl-module-experimental"
1672RDEPENDS:perl-module-stable += "perl-module-strict"
1673RDEPENDS:perl-module-stable += "perl-module-version"
1674RDEPENDS:perl-module-stable += "perl-module-warnings"
1677RDEPENDS:perl-module-storable += "perl-module-exporter" 1675RDEPENDS:perl-module-storable += "perl-module-exporter"
1678RDEPENDS:perl-module-storable += "perl-module-io-file" 1676RDEPENDS:perl-module-storable += "perl-module-io-file"
1679RDEPENDS:perl-module-subs += "perl-module-strict" 1677RDEPENDS:perl-module-subs += "perl-module-strict"
@@ -1899,6 +1897,34 @@ RDEPENDS:perl-module-term-complete += "perl-module-exporter"
1899RDEPENDS:perl-module-term-complete += "perl-module-strict" 1897RDEPENDS:perl-module-term-complete += "perl-module-strict"
1900RDEPENDS:perl-module-term-readline += "perl-module-strict" 1898RDEPENDS:perl-module-term-readline += "perl-module-strict"
1901RDEPENDS:perl-module-term-readline += "perl-module-term-cap" 1899RDEPENDS:perl-module-term-readline += "perl-module-term-cap"
1900RDEPENDS:perl-module-term-table-cell += "perl-module-list-util"
1901RDEPENDS:perl-module-term-table-cell += "perl-module-strict"
1902RDEPENDS:perl-module-term-table-cell += "perl-module-term-table-hashbase"
1903RDEPENDS:perl-module-term-table-cell += "perl-module-term-table-linebreak"
1904RDEPENDS:perl-module-term-table-cell += "perl-module-term-table-util"
1905RDEPENDS:perl-module-term-table-cell += "perl-module-warnings"
1906RDEPENDS:perl-module-term-table-cellstack += "perl-module-list-util"
1907RDEPENDS:perl-module-term-table-cellstack += "perl-module-strict"
1908RDEPENDS:perl-module-term-table-cellstack += "perl-module-term-table-hashbase"
1909RDEPENDS:perl-module-term-table-cellstack += "perl-module-warnings"
1910RDEPENDS:perl-module-term-table-hashbase += "perl-module-strict"
1911RDEPENDS:perl-module-term-table-hashbase += "perl-module-warnings"
1912RDEPENDS:perl-module-term-table-linebreak += "perl-module-strict"
1913RDEPENDS:perl-module-term-table-linebreak += "perl-module-term-table-hashbase"
1914RDEPENDS:perl-module-term-table-linebreak += "perl-module-term-table-util"
1915RDEPENDS:perl-module-term-table-linebreak += "perl-module-warnings"
1916RDEPENDS:perl-module-term-table += "perl-module-list-util"
1917RDEPENDS:perl-module-term-table += "perl-module-strict"
1918RDEPENDS:perl-module-term-table += "perl-module-term-table-cell"
1919RDEPENDS:perl-module-term-table += "perl-module-term-table-hashbase"
1920RDEPENDS:perl-module-term-table += "perl-module-term-table-util"
1921RDEPENDS:perl-module-term-table += "perl-module-warnings"
1922RDEPENDS:perl-module-term-table-spacer += "perl-module-strict"
1923RDEPENDS:perl-module-term-table-spacer += "perl-module-warnings"
1924RDEPENDS:perl-module-term-table-util += "perl-module-base"
1925RDEPENDS:perl-module-term-table-util += "perl-module-config"
1926RDEPENDS:perl-module-term-table-util += "perl-module-strict"
1927RDEPENDS:perl-module-term-table-util += "perl-module-warnings"
1902RDEPENDS:perl-module-test2-api-breakage += "perl-module-strict" 1928RDEPENDS:perl-module-test2-api-breakage += "perl-module-strict"
1903RDEPENDS:perl-module-test2-api-breakage += "perl-module-test2-util" 1929RDEPENDS:perl-module-test2-api-breakage += "perl-module-test2-util"
1904RDEPENDS:perl-module-test2-api-breakage += "perl-module-warnings" 1930RDEPENDS:perl-module-test2-api-breakage += "perl-module-warnings"
@@ -1964,6 +1990,193 @@ RDEPENDS:perl-module-test2-api-stack += "perl-module-strict"
1964RDEPENDS:perl-module-test2-api-stack += "perl-module-test2-api" 1990RDEPENDS:perl-module-test2-api-stack += "perl-module-test2-api"
1965RDEPENDS:perl-module-test2-api-stack += "perl-module-test2-hub" 1991RDEPENDS:perl-module-test2-api-stack += "perl-module-test2-hub"
1966RDEPENDS:perl-module-test2-api-stack += "perl-module-warnings" 1992RDEPENDS:perl-module-test2-api-stack += "perl-module-warnings"
1993RDEPENDS:perl-module-test2-asyncsubtest-event-attach += "perl-module-base"
1994RDEPENDS:perl-module-test2-asyncsubtest-event-attach += "perl-module-strict"
1995RDEPENDS:perl-module-test2-asyncsubtest-event-attach += "perl-module-test2-event-exception"
1996RDEPENDS:perl-module-test2-asyncsubtest-event-attach += "perl-module-test2-util-hashbase"
1997RDEPENDS:perl-module-test2-asyncsubtest-event-attach += "perl-module-warnings"
1998RDEPENDS:perl-module-test2-asyncsubtest-event-detach += "perl-module-base"
1999RDEPENDS:perl-module-test2-asyncsubtest-event-detach += "perl-module-strict"
2000RDEPENDS:perl-module-test2-asyncsubtest-event-detach += "perl-module-test2-event-exception"
2001RDEPENDS:perl-module-test2-asyncsubtest-event-detach += "perl-module-test2-util-hashbase"
2002RDEPENDS:perl-module-test2-asyncsubtest-event-detach += "perl-module-warnings"
2003RDEPENDS:perl-module-test2-asyncsubtest-formatter += "perl-module-strict"
2004RDEPENDS:perl-module-test2-asyncsubtest-formatter += "perl-module-warnings"
2005RDEPENDS:perl-module-test2-asyncsubtest-hub += "perl-module-base"
2006RDEPENDS:perl-module-test2-asyncsubtest-hub += "perl-module-strict"
2007RDEPENDS:perl-module-test2-asyncsubtest-hub += "perl-module-test2-util"
2008RDEPENDS:perl-module-test2-asyncsubtest-hub += "perl-module-test2-util-hashbase"
2009RDEPENDS:perl-module-test2-asyncsubtest-hub += "perl-module-warnings"
2010RDEPENDS:perl-module-test2-asyncsubtest += "perl-module-list-util"
2011RDEPENDS:perl-module-test2-asyncsubtest += "perl-module-strict"
2012RDEPENDS:perl-module-test2-asyncsubtest += "perl-module-test2-api"
2013RDEPENDS:perl-module-test2-asyncsubtest += "perl-module-test2-api-context"
2014RDEPENDS:perl-module-test2-asyncsubtest += "perl-module-test2-asyncsubtest-event-attach"
2015RDEPENDS:perl-module-test2-asyncsubtest += "perl-module-test2-asyncsubtest-event-detach"
2016RDEPENDS:perl-module-test2-asyncsubtest += "perl-module-test2-asyncsubtest-hub"
2017RDEPENDS:perl-module-test2-asyncsubtest += "perl-module-test2-ipc"
2018RDEPENDS:perl-module-test2-asyncsubtest += "perl-module-test2-util"
2019RDEPENDS:perl-module-test2-asyncsubtest += "perl-module-test2-util-guard"
2020RDEPENDS:perl-module-test2-asyncsubtest += "perl-module-test2-util-hashbase"
2021RDEPENDS:perl-module-test2-asyncsubtest += "perl-module-test2-util-trace"
2022RDEPENDS:perl-module-test2-asyncsubtest += "perl-module-time-hires"
2023RDEPENDS:perl-module-test2-asyncsubtest += "perl-module-warnings"
2024RDEPENDS:perl-module-test2-bundle-extended += "perl-module-strict"
2025RDEPENDS:perl-module-test2-bundle-extended += "perl-module-test2-v0"
2026RDEPENDS:perl-module-test2-bundle-extended += "perl-module-warnings"
2027RDEPENDS:perl-module-test2-bundle-more += "perl-module-base"
2028RDEPENDS:perl-module-test2-bundle-more += "perl-module-strict"
2029RDEPENDS:perl-module-test2-bundle-more += "perl-module-test2-plugin-exitsummary"
2030RDEPENDS:perl-module-test2-bundle-more += "perl-module-test2-tools-basic"
2031RDEPENDS:perl-module-test2-bundle-more += "perl-module-test2-tools-class"
2032RDEPENDS:perl-module-test2-bundle-more += "perl-module-test2-tools-classiccompare"
2033RDEPENDS:perl-module-test2-bundle-more += "perl-module-test2-tools-subtest"
2034RDEPENDS:perl-module-test2-bundle-more += "perl-module-warnings"
2035RDEPENDS:perl-module-test2-bundle += "perl-module-strict"
2036RDEPENDS:perl-module-test2-bundle += "perl-module-warnings"
2037RDEPENDS:perl-module-test2-bundle-simple += "perl-module-base"
2038RDEPENDS:perl-module-test2-bundle-simple += "perl-module-strict"
2039RDEPENDS:perl-module-test2-bundle-simple += "perl-module-test2-plugin-exitsummary"
2040RDEPENDS:perl-module-test2-bundle-simple += "perl-module-test2-tools-basic"
2041RDEPENDS:perl-module-test2-bundle-simple += "perl-module-warnings"
2042RDEPENDS:perl-module-test2-compare-array += "perl-module-base"
2043RDEPENDS:perl-module-test2-compare-array += "perl-module-strict"
2044RDEPENDS:perl-module-test2-compare-array += "perl-module-test2-util-hashbase"
2045RDEPENDS:perl-module-test2-compare-array += "perl-module-warnings"
2046RDEPENDS:perl-module-test2-compare-bag += "perl-module-base"
2047RDEPENDS:perl-module-test2-compare-bag += "perl-module-strict"
2048RDEPENDS:perl-module-test2-compare-bag += "perl-module-test2-util-hashbase"
2049RDEPENDS:perl-module-test2-compare-bag += "perl-module-warnings"
2050RDEPENDS:perl-module-test2-compare-base += "perl-module-strict"
2051RDEPENDS:perl-module-test2-compare-base += "perl-module-test2-compare-delta"
2052RDEPENDS:perl-module-test2-compare-base += "perl-module-test2-util-hashbase"
2053RDEPENDS:perl-module-test2-compare-base += "perl-module-test2-util-ref"
2054RDEPENDS:perl-module-test2-compare-base += "perl-module-test2-util-sub"
2055RDEPENDS:perl-module-test2-compare-base += "perl-module-warnings"
2056RDEPENDS:perl-module-test2-compare-bool += "perl-module-base"
2057RDEPENDS:perl-module-test2-compare-bool += "perl-module-strict"
2058RDEPENDS:perl-module-test2-compare-bool += "perl-module-test2-compare-negatable"
2059RDEPENDS:perl-module-test2-compare-bool += "perl-module-test2-util-hashbase"
2060RDEPENDS:perl-module-test2-compare-bool += "perl-module-warnings"
2061RDEPENDS:perl-module-test2-compare-custom += "perl-module-base"
2062RDEPENDS:perl-module-test2-compare-custom += "perl-module-strict"
2063RDEPENDS:perl-module-test2-compare-custom += "perl-module-test2-util-hashbase"
2064RDEPENDS:perl-module-test2-compare-custom += "perl-module-warnings"
2065RDEPENDS:perl-module-test2-compare-deepref += "perl-module-base"
2066RDEPENDS:perl-module-test2-compare-deepref += "perl-module-strict"
2067RDEPENDS:perl-module-test2-compare-deepref += "perl-module-test2-util-hashbase"
2068RDEPENDS:perl-module-test2-compare-deepref += "perl-module-test2-util-ref"
2069RDEPENDS:perl-module-test2-compare-deepref += "perl-module-warnings"
2070RDEPENDS:perl-module-test2-compare-delta += "perl-module-strict"
2071RDEPENDS:perl-module-test2-compare-delta += "perl-module-test2-api"
2072RDEPENDS:perl-module-test2-compare-delta += "perl-module-test2-eventfacet-info-table"
2073RDEPENDS:perl-module-test2-compare-delta += "perl-module-test2-util-hashbase"
2074RDEPENDS:perl-module-test2-compare-delta += "perl-module-test2-util-ref"
2075RDEPENDS:perl-module-test2-compare-delta += "perl-module-test2-util-table"
2076RDEPENDS:perl-module-test2-compare-delta += "perl-module-warnings"
2077RDEPENDS:perl-module-test2-compare-eventmeta += "perl-module-base"
2078RDEPENDS:perl-module-test2-compare-eventmeta += "perl-module-strict"
2079RDEPENDS:perl-module-test2-compare-eventmeta += "perl-module-test2-util-hashbase"
2080RDEPENDS:perl-module-test2-compare-eventmeta += "perl-module-warnings"
2081RDEPENDS:perl-module-test2-compare-event += "perl-module-base"
2082RDEPENDS:perl-module-test2-compare-event += "perl-module-strict"
2083RDEPENDS:perl-module-test2-compare-event += "perl-module-test2-compare-eventmeta"
2084RDEPENDS:perl-module-test2-compare-event += "perl-module-test2-util-hashbase"
2085RDEPENDS:perl-module-test2-compare-event += "perl-module-warnings"
2086RDEPENDS:perl-module-test2-compare-float += "perl-module-base"
2087RDEPENDS:perl-module-test2-compare-float += "perl-module-strict"
2088RDEPENDS:perl-module-test2-compare-float += "perl-module-test2-compare-negatable"
2089RDEPENDS:perl-module-test2-compare-float += "perl-module-test2-util-hashbase"
2090RDEPENDS:perl-module-test2-compare-float += "perl-module-warnings"
2091RDEPENDS:perl-module-test2-compare-hash += "perl-module-base"
2092RDEPENDS:perl-module-test2-compare-hash += "perl-module-strict"
2093RDEPENDS:perl-module-test2-compare-hash += "perl-module-test2-util-hashbase"
2094RDEPENDS:perl-module-test2-compare-hash += "perl-module-warnings"
2095RDEPENDS:perl-module-test2-compare-isa += "perl-module-base"
2096RDEPENDS:perl-module-test2-compare-isa += "perl-module-strict"
2097RDEPENDS:perl-module-test2-compare-isa += "perl-module-test2-compare-negatable"
2098RDEPENDS:perl-module-test2-compare-isa += "perl-module-test2-util-hashbase"
2099RDEPENDS:perl-module-test2-compare-isa += "perl-module-warnings"
2100RDEPENDS:perl-module-test2-compare-meta += "perl-module-base"
2101RDEPENDS:perl-module-test2-compare-meta += "perl-module-strict"
2102RDEPENDS:perl-module-test2-compare-meta += "perl-module-test2-compare-delta"
2103RDEPENDS:perl-module-test2-compare-meta += "perl-module-test2-compare-isa"
2104RDEPENDS:perl-module-test2-compare-meta += "perl-module-test2-util-hashbase"
2105RDEPENDS:perl-module-test2-compare-meta += "perl-module-warnings"
2106RDEPENDS:perl-module-test2-compare-negatable += "perl-module-overload"
2107RDEPENDS:perl-module-test2-compare-negatable += "perl-module-strict"
2108RDEPENDS:perl-module-test2-compare-negatable += "perl-module-test2-util-hashbase"
2109RDEPENDS:perl-module-test2-compare-negatable += "perl-module-warnings"
2110RDEPENDS:perl-module-test2-compare-number += "perl-module-base"
2111RDEPENDS:perl-module-test2-compare-number += "perl-module-strict"
2112RDEPENDS:perl-module-test2-compare-number += "perl-module-test2-compare-negatable"
2113RDEPENDS:perl-module-test2-compare-number += "perl-module-test2-util-hashbase"
2114RDEPENDS:perl-module-test2-compare-number += "perl-module-warnings"
2115RDEPENDS:perl-module-test2-compare-object += "perl-module-base"
2116RDEPENDS:perl-module-test2-compare-object += "perl-module-strict"
2117RDEPENDS:perl-module-test2-compare-object += "perl-module-test2-compare-meta"
2118RDEPENDS:perl-module-test2-compare-object += "perl-module-test2-util"
2119RDEPENDS:perl-module-test2-compare-object += "perl-module-test2-util-hashbase"
2120RDEPENDS:perl-module-test2-compare-object += "perl-module-warnings"
2121RDEPENDS:perl-module-test2-compare-orderedsubset += "perl-module-base"
2122RDEPENDS:perl-module-test2-compare-orderedsubset += "perl-module-strict"
2123RDEPENDS:perl-module-test2-compare-orderedsubset += "perl-module-test2-util-hashbase"
2124RDEPENDS:perl-module-test2-compare-orderedsubset += "perl-module-warnings"
2125RDEPENDS:perl-module-test2-compare-pattern += "perl-module-base"
2126RDEPENDS:perl-module-test2-compare-pattern += "perl-module-strict"
2127RDEPENDS:perl-module-test2-compare-pattern += "perl-module-test2-compare-negatable"
2128RDEPENDS:perl-module-test2-compare-pattern += "perl-module-test2-util-hashbase"
2129RDEPENDS:perl-module-test2-compare-pattern += "perl-module-warnings"
2130RDEPENDS:perl-module-test2-compare += "perl-module-base"
2131RDEPENDS:perl-module-test2-compare += "perl-module-strict"
2132RDEPENDS:perl-module-test2-compare += "perl-module-test2-compare-array"
2133RDEPENDS:perl-module-test2-compare += "perl-module-test2-compare-base"
2134RDEPENDS:perl-module-test2-compare += "perl-module-test2-compare-custom"
2135RDEPENDS:perl-module-test2-compare += "perl-module-test2-compare-deepref"
2136RDEPENDS:perl-module-test2-compare += "perl-module-test2-compare-hash"
2137RDEPENDS:perl-module-test2-compare += "perl-module-test2-compare-pattern"
2138RDEPENDS:perl-module-test2-compare += "perl-module-test2-compare-ref"
2139RDEPENDS:perl-module-test2-compare += "perl-module-test2-compare-regex"
2140RDEPENDS:perl-module-test2-compare += "perl-module-test2-compare-scalar"
2141RDEPENDS:perl-module-test2-compare += "perl-module-test2-compare-string"
2142RDEPENDS:perl-module-test2-compare += "perl-module-test2-compare-undef"
2143RDEPENDS:perl-module-test2-compare += "perl-module-test2-compare-wildcard"
2144RDEPENDS:perl-module-test2-compare += "perl-module-test2-util"
2145RDEPENDS:perl-module-test2-compare += "perl-module-test2-util-ref"
2146RDEPENDS:perl-module-test2-compare += "perl-module-warnings"
2147RDEPENDS:perl-module-test2-compare-ref += "perl-module-base"
2148RDEPENDS:perl-module-test2-compare-ref += "perl-module-strict"
2149RDEPENDS:perl-module-test2-compare-ref += "perl-module-test2-util-hashbase"
2150RDEPENDS:perl-module-test2-compare-ref += "perl-module-test2-util-ref"
2151RDEPENDS:perl-module-test2-compare-ref += "perl-module-warnings"
2152RDEPENDS:perl-module-test2-compare-regex += "perl-module-base"
2153RDEPENDS:perl-module-test2-compare-regex += "perl-module-strict"
2154RDEPENDS:perl-module-test2-compare-regex += "perl-module-test2-util-hashbase"
2155RDEPENDS:perl-module-test2-compare-regex += "perl-module-test2-util-ref"
2156RDEPENDS:perl-module-test2-compare-regex += "perl-module-warnings"
2157RDEPENDS:perl-module-test2-compare-scalar += "perl-module-base"
2158RDEPENDS:perl-module-test2-compare-scalar += "perl-module-strict"
2159RDEPENDS:perl-module-test2-compare-scalar += "perl-module-test2-util-hashbase"
2160RDEPENDS:perl-module-test2-compare-scalar += "perl-module-warnings"
2161RDEPENDS:perl-module-test2-compare-set += "perl-module-base"
2162RDEPENDS:perl-module-test2-compare-set += "perl-module-strict"
2163RDEPENDS:perl-module-test2-compare-set += "perl-module-test2-compare-delta"
2164RDEPENDS:perl-module-test2-compare-set += "perl-module-test2-util-hashbase"
2165RDEPENDS:perl-module-test2-compare-set += "perl-module-warnings"
2166RDEPENDS:perl-module-test2-compare-string += "perl-module-base"
2167RDEPENDS:perl-module-test2-compare-string += "perl-module-strict"
2168RDEPENDS:perl-module-test2-compare-string += "perl-module-test2-compare-negatable"
2169RDEPENDS:perl-module-test2-compare-string += "perl-module-test2-util-hashbase"
2170RDEPENDS:perl-module-test2-compare-string += "perl-module-warnings"
2171RDEPENDS:perl-module-test2-compare-undef += "perl-module-base"
2172RDEPENDS:perl-module-test2-compare-undef += "perl-module-strict"
2173RDEPENDS:perl-module-test2-compare-undef += "perl-module-test2-compare-negatable"
2174RDEPENDS:perl-module-test2-compare-undef += "perl-module-test2-util-hashbase"
2175RDEPENDS:perl-module-test2-compare-undef += "perl-module-warnings"
2176RDEPENDS:perl-module-test2-compare-wildcard += "perl-module-base"
2177RDEPENDS:perl-module-test2-compare-wildcard += "perl-module-strict"
2178RDEPENDS:perl-module-test2-compare-wildcard += "perl-module-test2-util-hashbase"
2179RDEPENDS:perl-module-test2-compare-wildcard += "perl-module-warnings"
1967RDEPENDS:perl-module-test2-event-bail += "perl-module-strict" 2180RDEPENDS:perl-module-test2-event-bail += "perl-module-strict"
1968RDEPENDS:perl-module-test2-event-bail += "perl-module-test2-util-hashbase" 2181RDEPENDS:perl-module-test2-event-bail += "perl-module-test2-util-hashbase"
1969RDEPENDS:perl-module-test2-event-bail += "perl-module-warnings" 2182RDEPENDS:perl-module-test2-event-bail += "perl-module-warnings"
@@ -2018,6 +2231,7 @@ RDEPENDS:perl-module-test2-eventfacet-render += "perl-module-warnings"
2018RDEPENDS:perl-module-test2-eventfacet-trace += "perl-module-strict" 2231RDEPENDS:perl-module-test2-eventfacet-trace += "perl-module-strict"
2019RDEPENDS:perl-module-test2-eventfacet-trace += "perl-module-test2-util" 2232RDEPENDS:perl-module-test2-eventfacet-trace += "perl-module-test2-util"
2020RDEPENDS:perl-module-test2-eventfacet-trace += "perl-module-test2-util-hashbase" 2233RDEPENDS:perl-module-test2-eventfacet-trace += "perl-module-test2-util-hashbase"
2234RDEPENDS:perl-module-test2-eventfacet-trace += "perl-module-time-hires"
2021RDEPENDS:perl-module-test2-eventfacet-trace += "perl-module-warnings" 2235RDEPENDS:perl-module-test2-eventfacet-trace += "perl-module-warnings"
2022RDEPENDS:perl-module-test2-event-fail += "perl-module-strict" 2236RDEPENDS:perl-module-test2-event-fail += "perl-module-strict"
2023RDEPENDS:perl-module-test2-event-fail += "perl-module-test2-event" 2237RDEPENDS:perl-module-test2-event-fail += "perl-module-test2-event"
@@ -2120,8 +2334,278 @@ RDEPENDS:perl-module-test2-ipc += "perl-module-test2-api-instance"
2120RDEPENDS:perl-module-test2-ipc += "perl-module-test2-ipc-driver-files" 2334RDEPENDS:perl-module-test2-ipc += "perl-module-test2-ipc-driver-files"
2121RDEPENDS:perl-module-test2-ipc += "perl-module-test2-util" 2335RDEPENDS:perl-module-test2-ipc += "perl-module-test2-util"
2122RDEPENDS:perl-module-test2-ipc += "perl-module-warnings" 2336RDEPENDS:perl-module-test2-ipc += "perl-module-warnings"
2337RDEPENDS:perl-module-test2-manual-anatomy-api += "perl-module-strict"
2338RDEPENDS:perl-module-test2-manual-anatomy-api += "perl-module-warnings"
2339RDEPENDS:perl-module-test2-manual-anatomy-context += "perl-module-strict"
2340RDEPENDS:perl-module-test2-manual-anatomy-context += "perl-module-warnings"
2341RDEPENDS:perl-module-test2-manual-anatomy-endtoend += "perl-module-strict"
2342RDEPENDS:perl-module-test2-manual-anatomy-endtoend += "perl-module-warnings"
2343RDEPENDS:perl-module-test2-manual-anatomy-event += "perl-module-strict"
2344RDEPENDS:perl-module-test2-manual-anatomy-event += "perl-module-warnings"
2345RDEPENDS:perl-module-test2-manual-anatomy-hubs += "perl-module-strict"
2346RDEPENDS:perl-module-test2-manual-anatomy-hubs += "perl-module-warnings"
2347RDEPENDS:perl-module-test2-manual-anatomy-ipc += "perl-module-strict"
2348RDEPENDS:perl-module-test2-manual-anatomy-ipc += "perl-module-warnings"
2349RDEPENDS:perl-module-test2-manual-anatomy += "perl-module-strict"
2350RDEPENDS:perl-module-test2-manual-anatomy += "perl-module-warnings"
2351RDEPENDS:perl-module-test2-manual-anatomy-utilities += "perl-module-strict"
2352RDEPENDS:perl-module-test2-manual-anatomy-utilities += "perl-module-warnings"
2353RDEPENDS:perl-module-test2-manual-concurrency += "perl-module-strict"
2354RDEPENDS:perl-module-test2-manual-concurrency += "perl-module-warnings"
2355RDEPENDS:perl-module-test2-manual += "perl-module-strict"
2356RDEPENDS:perl-module-test2-manual += "perl-module-warnings"
2357RDEPENDS:perl-module-test2-manual-testing-introduction += "perl-module-strict"
2358RDEPENDS:perl-module-test2-manual-testing-introduction += "perl-module-warnings"
2359RDEPENDS:perl-module-test2-manual-testing-migrating += "perl-module-strict"
2360RDEPENDS:perl-module-test2-manual-testing-migrating += "perl-module-warnings"
2361RDEPENDS:perl-module-test2-manual-testing += "perl-module-strict"
2362RDEPENDS:perl-module-test2-manual-testing += "perl-module-warnings"
2363RDEPENDS:perl-module-test2-manual-testing-planning += "perl-module-strict"
2364RDEPENDS:perl-module-test2-manual-testing-planning += "perl-module-warnings"
2365RDEPENDS:perl-module-test2-manual-testing-todo += "perl-module-strict"
2366RDEPENDS:perl-module-test2-manual-testing-todo += "perl-module-warnings"
2367RDEPENDS:perl-module-test2-manual-tooling-nesting += "perl-module-strict"
2368RDEPENDS:perl-module-test2-manual-tooling-nesting += "perl-module-warnings"
2369RDEPENDS:perl-module-test2-manual-tooling += "perl-module-strict"
2370RDEPENDS:perl-module-test2-manual-tooling += "perl-module-warnings"
2371RDEPENDS:perl-module-test2-manual-tooling-subtest += "perl-module-strict"
2372RDEPENDS:perl-module-test2-manual-tooling-subtest += "perl-module-warnings"
2373RDEPENDS:perl-module-test2-manual-tooling-testing += "perl-module-strict"
2374RDEPENDS:perl-module-test2-manual-tooling-testing += "perl-module-warnings"
2375RDEPENDS:perl-module-test2-mock += "perl-module-strict"
2376RDEPENDS:perl-module-test2-mock += "perl-module-test2-util"
2377RDEPENDS:perl-module-test2-mock += "perl-module-test2-util-hashbase"
2378RDEPENDS:perl-module-test2-mock += "perl-module-test2-util-stash"
2379RDEPENDS:perl-module-test2-mock += "perl-module-test2-util-sub"
2380RDEPENDS:perl-module-test2-mock += "perl-module-warnings"
2123RDEPENDS:perl-module-test2 += "perl-module-strict" 2381RDEPENDS:perl-module-test2 += "perl-module-strict"
2124RDEPENDS:perl-module-test2 += "perl-module-warnings" 2382RDEPENDS:perl-module-test2 += "perl-module-warnings"
2383RDEPENDS:perl-module-test2-plugin-bailonfail += "perl-module-strict"
2384RDEPENDS:perl-module-test2-plugin-bailonfail += "perl-module-test2-api"
2385RDEPENDS:perl-module-test2-plugin-bailonfail += "perl-module-warnings"
2386RDEPENDS:perl-module-test2-plugin-dieonfail += "perl-module-strict"
2387RDEPENDS:perl-module-test2-plugin-dieonfail += "perl-module-test2-api"
2388RDEPENDS:perl-module-test2-plugin-dieonfail += "perl-module-warnings"
2389RDEPENDS:perl-module-test2-plugin-exitsummary += "perl-module-strict"
2390RDEPENDS:perl-module-test2-plugin-exitsummary += "perl-module-test2-api"
2391RDEPENDS:perl-module-test2-plugin-exitsummary += "perl-module-warnings"
2392RDEPENDS:perl-module-test2-plugin += "perl-module-strict"
2393RDEPENDS:perl-module-test2-plugin += "perl-module-warnings"
2394RDEPENDS:perl-module-test2-plugin-srand += "perl-module-strict"
2395RDEPENDS:perl-module-test2-plugin-srand += "perl-module-test2-api"
2396RDEPENDS:perl-module-test2-plugin-srand += "perl-module-warnings"
2397RDEPENDS:perl-module-test2-plugin-times += "perl-module-strict"
2398RDEPENDS:perl-module-test2-plugin-times += "perl-module-test2-api"
2399RDEPENDS:perl-module-test2-plugin-times += "perl-module-test2-util-times"
2400RDEPENDS:perl-module-test2-plugin-times += "perl-module-time-hires"
2401RDEPENDS:perl-module-test2-plugin-times += "perl-module-warnings"
2402RDEPENDS:perl-module-test2-plugin-utf8 += "perl-module-strict"
2403RDEPENDS:perl-module-test2-plugin-utf8 += "perl-module-test2-api"
2404RDEPENDS:perl-module-test2-plugin-utf8 += "perl-module-utf8"
2405RDEPENDS:perl-module-test2-plugin-utf8 += "perl-module-warnings"
2406RDEPENDS:perl-module-test2-require-authortesting += "perl-module-base"
2407RDEPENDS:perl-module-test2-require-authortesting += "perl-module-strict"
2408RDEPENDS:perl-module-test2-require-authortesting += "perl-module-warnings"
2409RDEPENDS:perl-module-test2-require-automatedtesting += "perl-module-base"
2410RDEPENDS:perl-module-test2-require-automatedtesting += "perl-module-strict"
2411RDEPENDS:perl-module-test2-require-automatedtesting += "perl-module-warnings"
2412RDEPENDS:perl-module-test2-require-envvar += "perl-module-base"
2413RDEPENDS:perl-module-test2-require-envvar += "perl-module-strict"
2414RDEPENDS:perl-module-test2-require-envvar += "perl-module-warnings"
2415RDEPENDS:perl-module-test2-require-extendedtesting += "perl-module-base"
2416RDEPENDS:perl-module-test2-require-extendedtesting += "perl-module-strict"
2417RDEPENDS:perl-module-test2-require-extendedtesting += "perl-module-warnings"
2418RDEPENDS:perl-module-test2-require-fork += "perl-module-base"
2419RDEPENDS:perl-module-test2-require-fork += "perl-module-strict"
2420RDEPENDS:perl-module-test2-require-fork += "perl-module-test2-util"
2421RDEPENDS:perl-module-test2-require-fork += "perl-module-warnings"
2422RDEPENDS:perl-module-test2-require-module += "perl-module-base"
2423RDEPENDS:perl-module-test2-require-module += "perl-module-strict"
2424RDEPENDS:perl-module-test2-require-module += "perl-module-test2-util"
2425RDEPENDS:perl-module-test2-require-module += "perl-module-warnings"
2426RDEPENDS:perl-module-test2-require-noninteractivetesting += "perl-module-base"
2427RDEPENDS:perl-module-test2-require-noninteractivetesting += "perl-module-strict"
2428RDEPENDS:perl-module-test2-require-noninteractivetesting += "perl-module-warnings"
2429RDEPENDS:perl-module-test2-require += "perl-module-strict"
2430RDEPENDS:perl-module-test2-require += "perl-module-test2-api"
2431RDEPENDS:perl-module-test2-require += "perl-module-warnings"
2432RDEPENDS:perl-module-test2-require-perl += "perl-module-base"
2433RDEPENDS:perl-module-test2-require-perl += "perl-module-strict"
2434RDEPENDS:perl-module-test2-require-perl += "perl-module-test2-util"
2435RDEPENDS:perl-module-test2-require-perl += "perl-module-warnings"
2436RDEPENDS:perl-module-test2-require-realfork += "perl-module-base"
2437RDEPENDS:perl-module-test2-require-realfork += "perl-module-strict"
2438RDEPENDS:perl-module-test2-require-realfork += "perl-module-test2-util"
2439RDEPENDS:perl-module-test2-require-realfork += "perl-module-warnings"
2440RDEPENDS:perl-module-test2-require-releasetesting += "perl-module-base"
2441RDEPENDS:perl-module-test2-require-releasetesting += "perl-module-strict"
2442RDEPENDS:perl-module-test2-require-releasetesting += "perl-module-warnings"
2443RDEPENDS:perl-module-test2-require-threads += "perl-module-base"
2444RDEPENDS:perl-module-test2-require-threads += "perl-module-strict"
2445RDEPENDS:perl-module-test2-require-threads += "perl-module-test2-util"
2446RDEPENDS:perl-module-test2-require-threads += "perl-module-warnings"
2447RDEPENDS:perl-module-test2-suite += "perl-module-strict"
2448RDEPENDS:perl-module-test2-suite += "perl-module-warnings"
2449RDEPENDS:perl-module-test2-todo += "perl-module-overload"
2450RDEPENDS:perl-module-test2-todo += "perl-module-strict"
2451RDEPENDS:perl-module-test2-todo += "perl-module-test2-api"
2452RDEPENDS:perl-module-test2-todo += "perl-module-test2-util-hashbase"
2453RDEPENDS:perl-module-test2-todo += "perl-module-warnings"
2454RDEPENDS:perl-module-test2-tools-asyncsubtest += "perl-module-base"
2455RDEPENDS:perl-module-test2-tools-asyncsubtest += "perl-module-strict"
2456RDEPENDS:perl-module-test2-tools-asyncsubtest += "perl-module-test2-api"
2457RDEPENDS:perl-module-test2-tools-asyncsubtest += "perl-module-test2-asyncsubtest"
2458RDEPENDS:perl-module-test2-tools-asyncsubtest += "perl-module-test2-ipc"
2459RDEPENDS:perl-module-test2-tools-asyncsubtest += "perl-module-warnings"
2460RDEPENDS:perl-module-test2-tools-basic += "perl-module-base"
2461RDEPENDS:perl-module-test2-tools-basic += "perl-module-strict"
2462RDEPENDS:perl-module-test2-tools-basic += "perl-module-test2-api"
2463RDEPENDS:perl-module-test2-tools-basic += "perl-module-test2-todo"
2464RDEPENDS:perl-module-test2-tools-basic += "perl-module-warnings"
2465RDEPENDS:perl-module-test2-tools-classiccompare += "perl-module-base"
2466RDEPENDS:perl-module-test2-tools-classiccompare += "perl-module-strict"
2467RDEPENDS:perl-module-test2-tools-classiccompare += "perl-module-test2-api"
2468RDEPENDS:perl-module-test2-tools-classiccompare += "perl-module-test2-compare"
2469RDEPENDS:perl-module-test2-tools-classiccompare += "perl-module-test2-compare-array"
2470RDEPENDS:perl-module-test2-tools-classiccompare += "perl-module-test2-compare-bag"
2471RDEPENDS:perl-module-test2-tools-classiccompare += "perl-module-test2-compare-custom"
2472RDEPENDS:perl-module-test2-tools-classiccompare += "perl-module-test2-compare-event"
2473RDEPENDS:perl-module-test2-tools-classiccompare += "perl-module-test2-compare-hash"
2474RDEPENDS:perl-module-test2-tools-classiccompare += "perl-module-test2-compare-meta"
2475RDEPENDS:perl-module-test2-tools-classiccompare += "perl-module-test2-compare-number"
2476RDEPENDS:perl-module-test2-tools-classiccompare += "perl-module-test2-compare-object"
2477RDEPENDS:perl-module-test2-tools-classiccompare += "perl-module-test2-compare-orderedsubset"
2478RDEPENDS:perl-module-test2-tools-classiccompare += "perl-module-test2-compare-pattern"
2479RDEPENDS:perl-module-test2-tools-classiccompare += "perl-module-test2-compare-ref"
2480RDEPENDS:perl-module-test2-tools-classiccompare += "perl-module-test2-compare-regex"
2481RDEPENDS:perl-module-test2-tools-classiccompare += "perl-module-test2-compare-scalar"
2482RDEPENDS:perl-module-test2-tools-classiccompare += "perl-module-test2-compare-set"
2483RDEPENDS:perl-module-test2-tools-classiccompare += "perl-module-test2-compare-string"
2484RDEPENDS:perl-module-test2-tools-classiccompare += "perl-module-test2-compare-undef"
2485RDEPENDS:perl-module-test2-tools-classiccompare += "perl-module-test2-compare-wildcard"
2486RDEPENDS:perl-module-test2-tools-classiccompare += "perl-module-test2-util-ref"
2487RDEPENDS:perl-module-test2-tools-classiccompare += "perl-module-test2-util-table"
2488RDEPENDS:perl-module-test2-tools-classiccompare += "perl-module-warnings"
2489RDEPENDS:perl-module-test2-tools-class += "perl-module-base"
2490RDEPENDS:perl-module-test2-tools-class += "perl-module-strict"
2491RDEPENDS:perl-module-test2-tools-class += "perl-module-test2-api"
2492RDEPENDS:perl-module-test2-tools-class += "perl-module-test2-util-ref"
2493RDEPENDS:perl-module-test2-tools-class += "perl-module-warnings"
2494RDEPENDS:perl-module-test2-tools-compare += "perl-module-base"
2495RDEPENDS:perl-module-test2-tools-compare += "perl-module-data-dumper"
2496RDEPENDS:perl-module-test2-tools-compare += "perl-module-strict"
2497RDEPENDS:perl-module-test2-tools-compare += "perl-module-test2-api"
2498RDEPENDS:perl-module-test2-tools-compare += "perl-module-test2-compare"
2499RDEPENDS:perl-module-test2-tools-compare += "perl-module-test2-compare-array"
2500RDEPENDS:perl-module-test2-tools-compare += "perl-module-test2-compare-bag"
2501RDEPENDS:perl-module-test2-tools-compare += "perl-module-test2-compare-bool"
2502RDEPENDS:perl-module-test2-tools-compare += "perl-module-test2-compare-custom"
2503RDEPENDS:perl-module-test2-tools-compare += "perl-module-test2-compare-deepref"
2504RDEPENDS:perl-module-test2-tools-compare += "perl-module-test2-compare-event"
2505RDEPENDS:perl-module-test2-tools-compare += "perl-module-test2-compare-float"
2506RDEPENDS:perl-module-test2-tools-compare += "perl-module-test2-compare-hash"
2507RDEPENDS:perl-module-test2-tools-compare += "perl-module-test2-compare-isa"
2508RDEPENDS:perl-module-test2-tools-compare += "perl-module-test2-compare-meta"
2509RDEPENDS:perl-module-test2-tools-compare += "perl-module-test2-compare-number"
2510RDEPENDS:perl-module-test2-tools-compare += "perl-module-test2-compare-object"
2511RDEPENDS:perl-module-test2-tools-compare += "perl-module-test2-compare-orderedsubset"
2512RDEPENDS:perl-module-test2-tools-compare += "perl-module-test2-compare-pattern"
2513RDEPENDS:perl-module-test2-tools-compare += "perl-module-test2-compare-ref"
2514RDEPENDS:perl-module-test2-tools-compare += "perl-module-test2-compare-regex"
2515RDEPENDS:perl-module-test2-tools-compare += "perl-module-test2-compare-scalar"
2516RDEPENDS:perl-module-test2-tools-compare += "perl-module-test2-compare-set"
2517RDEPENDS:perl-module-test2-tools-compare += "perl-module-test2-compare-string"
2518RDEPENDS:perl-module-test2-tools-compare += "perl-module-test2-compare-undef"
2519RDEPENDS:perl-module-test2-tools-compare += "perl-module-test2-compare-wildcard"
2520RDEPENDS:perl-module-test2-tools-compare += "perl-module-test2-util"
2521RDEPENDS:perl-module-test2-tools-compare += "perl-module-test2-util-ref"
2522RDEPENDS:perl-module-test2-tools-compare += "perl-module-warnings"
2523RDEPENDS:perl-module-test2-tools-defer += "perl-module-base"
2524RDEPENDS:perl-module-test2-tools-defer += "perl-module-data-dumper"
2525RDEPENDS:perl-module-test2-tools-defer += "perl-module-strict"
2526RDEPENDS:perl-module-test2-tools-defer += "perl-module-test2-api"
2527RDEPENDS:perl-module-test2-tools-defer += "perl-module-test2-util"
2528RDEPENDS:perl-module-test2-tools-defer += "perl-module-warnings"
2529RDEPENDS:perl-module-test2-tools-encoding += "perl-module-base"
2530RDEPENDS:perl-module-test2-tools-encoding += "perl-module-strict"
2531RDEPENDS:perl-module-test2-tools-encoding += "perl-module-test2-api"
2532RDEPENDS:perl-module-test2-tools-encoding += "perl-module-warnings"
2533RDEPENDS:perl-module-test2-tools-event += "perl-module-base"
2534RDEPENDS:perl-module-test2-tools-event += "perl-module-strict"
2535RDEPENDS:perl-module-test2-tools-event += "perl-module-test2-util"
2536RDEPENDS:perl-module-test2-tools-event += "perl-module-warnings"
2537RDEPENDS:perl-module-test2-tools-exception += "perl-module-base"
2538RDEPENDS:perl-module-test2-tools-exception += "perl-module-strict"
2539RDEPENDS:perl-module-test2-tools-exception += "perl-module-test2-api"
2540RDEPENDS:perl-module-test2-tools-exception += "perl-module-warnings"
2541RDEPENDS:perl-module-test2-tools-exports += "perl-module-base"
2542RDEPENDS:perl-module-test2-tools-exports += "perl-module-strict"
2543RDEPENDS:perl-module-test2-tools-exports += "perl-module-test2-api"
2544RDEPENDS:perl-module-test2-tools-exports += "perl-module-test2-util-stash"
2545RDEPENDS:perl-module-test2-tools-exports += "perl-module-warnings"
2546RDEPENDS:perl-module-test2-tools-gentemp += "perl-module-base"
2547RDEPENDS:perl-module-test2-tools-gentemp += "perl-module-file-temp"
2548RDEPENDS:perl-module-test2-tools-gentemp += "perl-module-strict"
2549RDEPENDS:perl-module-test2-tools-gentemp += "perl-module-warnings"
2550RDEPENDS:perl-module-test2-tools-grab += "perl-module-base"
2551RDEPENDS:perl-module-test2-tools-grab += "perl-module-strict"
2552RDEPENDS:perl-module-test2-tools-grab += "perl-module-test2-eventfacet-trace"
2553RDEPENDS:perl-module-test2-tools-grab += "perl-module-test2-util-grabber"
2554RDEPENDS:perl-module-test2-tools-grab += "perl-module-warnings"
2555RDEPENDS:perl-module-test2-tools-mock += "perl-module-base"
2556RDEPENDS:perl-module-test2-tools-mock += "perl-module-strict"
2557RDEPENDS:perl-module-test2-tools-mock += "perl-module-test2-mock"
2558RDEPENDS:perl-module-test2-tools-mock += "perl-module-test2-util"
2559RDEPENDS:perl-module-test2-tools-mock += "perl-module-test2-util-sub"
2560RDEPENDS:perl-module-test2-tools-mock += "perl-module-warnings"
2561RDEPENDS:perl-module-test2-tools += "perl-module-strict"
2562RDEPENDS:perl-module-test2-tools += "perl-module-warnings"
2563RDEPENDS:perl-module-test2-tools-refcount += "perl-module-b"
2564RDEPENDS:perl-module-test2-tools-refcount += "perl-module-base"
2565RDEPENDS:perl-module-test2-tools-refcount += "perl-module-constant"
2566RDEPENDS:perl-module-test2-tools-refcount += "perl-module-strict"
2567RDEPENDS:perl-module-test2-tools-refcount += "perl-module-test2-api"
2568RDEPENDS:perl-module-test2-tools-refcount += "perl-module-warnings"
2569RDEPENDS:perl-module-test2-tools-ref += "perl-module-base"
2570RDEPENDS:perl-module-test2-tools-ref += "perl-module-strict"
2571RDEPENDS:perl-module-test2-tools-ref += "perl-module-test2-api"
2572RDEPENDS:perl-module-test2-tools-ref += "perl-module-test2-util-ref"
2573RDEPENDS:perl-module-test2-tools-ref += "perl-module-warnings"
2574RDEPENDS:perl-module-test2-tools-spec += "perl-module-strict"
2575RDEPENDS:perl-module-test2-tools-spec += "perl-module-test2-api"
2576RDEPENDS:perl-module-test2-tools-spec += "perl-module-test2-tools-mock"
2577RDEPENDS:perl-module-test2-tools-spec += "perl-module-test2-util-importer"
2578RDEPENDS:perl-module-test2-tools-spec += "perl-module-test2-workflow"
2579RDEPENDS:perl-module-test2-tools-spec += "perl-module-test2-workflow-runner"
2580RDEPENDS:perl-module-test2-tools-spec += "perl-module-test2-workflow-task-action"
2581RDEPENDS:perl-module-test2-tools-spec += "perl-module-test2-workflow-task-group"
2582RDEPENDS:perl-module-test2-tools-spec += "perl-module-vars"
2583RDEPENDS:perl-module-test2-tools-spec += "perl-module-warnings"
2584RDEPENDS:perl-module-test2-tools-subtest += "perl-module-base"
2585RDEPENDS:perl-module-test2-tools-subtest += "perl-module-strict"
2586RDEPENDS:perl-module-test2-tools-subtest += "perl-module-test2-api"
2587RDEPENDS:perl-module-test2-tools-subtest += "perl-module-test2-util"
2588RDEPENDS:perl-module-test2-tools-subtest += "perl-module-warnings"
2589RDEPENDS:perl-module-test2-tools-target += "perl-module-strict"
2590RDEPENDS:perl-module-test2-tools-target += "perl-module-test2-util"
2591RDEPENDS:perl-module-test2-tools-target += "perl-module-warnings"
2592RDEPENDS:perl-module-test2-tools-tester += "perl-module-strict"
2593RDEPENDS:perl-module-test2-tools-tester += "perl-module-test2-eventfacet-about"
2594RDEPENDS:perl-module-test2-tools-tester += "perl-module-test2-eventfacet-amnesty"
2595RDEPENDS:perl-module-test2-tools-tester += "perl-module-test2-eventfacet-assert"
2596RDEPENDS:perl-module-test2-tools-tester += "perl-module-test2-eventfacet-control"
2597RDEPENDS:perl-module-test2-tools-tester += "perl-module-test2-eventfacet-error"
2598RDEPENDS:perl-module-test2-tools-tester += "perl-module-test2-eventfacet-hub"
2599RDEPENDS:perl-module-test2-tools-tester += "perl-module-test2-eventfacet-info"
2600RDEPENDS:perl-module-test2-tools-tester += "perl-module-test2-eventfacet-info-table"
2601RDEPENDS:perl-module-test2-tools-tester += "perl-module-test2-eventfacet-meta"
2602RDEPENDS:perl-module-test2-tools-tester += "perl-module-test2-eventfacet-parent"
2603RDEPENDS:perl-module-test2-tools-tester += "perl-module-test2-eventfacet-plan"
2604RDEPENDS:perl-module-test2-tools-tester += "perl-module-test2-eventfacet-render"
2605RDEPENDS:perl-module-test2-tools-tester += "perl-module-test2-eventfacet-trace"
2606RDEPENDS:perl-module-test2-tools-tester += "perl-module-test2-util-importer"
2607RDEPENDS:perl-module-test2-tools-tester += "perl-module-test2-util-ref"
2608RDEPENDS:perl-module-test2-tools-tester += "perl-module-warnings"
2125RDEPENDS:perl-module-test2-tools-tiny += "perl-module-data-dumper" 2609RDEPENDS:perl-module-test2-tools-tiny += "perl-module-data-dumper"
2126RDEPENDS:perl-module-test2-tools-tiny += "perl-module-strict" 2610RDEPENDS:perl-module-test2-tools-tiny += "perl-module-strict"
2127RDEPENDS:perl-module-test2-tools-tiny += "perl-module-test2-api" 2611RDEPENDS:perl-module-test2-tools-tiny += "perl-module-test2-api"
@@ -2129,20 +2613,127 @@ RDEPENDS:perl-module-test2-tools-tiny += "perl-module-test2-hub-interceptor"
2129RDEPENDS:perl-module-test2-tools-tiny += "perl-module-test2-hub-interceptor-terminator" 2613RDEPENDS:perl-module-test2-tools-tiny += "perl-module-test2-hub-interceptor-terminator"
2130RDEPENDS:perl-module-test2-tools-tiny += "perl-module-test2-util" 2614RDEPENDS:perl-module-test2-tools-tiny += "perl-module-test2-util"
2131RDEPENDS:perl-module-test2-tools-tiny += "perl-module-warnings" 2615RDEPENDS:perl-module-test2-tools-tiny += "perl-module-warnings"
2616RDEPENDS:perl-module-test2-tools-warnings += "perl-module-base"
2617RDEPENDS:perl-module-test2-tools-warnings += "perl-module-strict"
2618RDEPENDS:perl-module-test2-tools-warnings += "perl-module-test2-api"
2619RDEPENDS:perl-module-test2-tools-warnings += "perl-module-warnings"
2132RDEPENDS:perl-module-test2-util-externalmeta += "perl-module-strict" 2620RDEPENDS:perl-module-test2-util-externalmeta += "perl-module-strict"
2133RDEPENDS:perl-module-test2-util-externalmeta += "perl-module-warnings" 2621RDEPENDS:perl-module-test2-util-externalmeta += "perl-module-warnings"
2134RDEPENDS:perl-module-test2-util-facets2legacy += "perl-module-base" 2622RDEPENDS:perl-module-test2-util-facets2legacy += "perl-module-base"
2135RDEPENDS:perl-module-test2-util-facets2legacy += "perl-module-strict" 2623RDEPENDS:perl-module-test2-util-facets2legacy += "perl-module-strict"
2136RDEPENDS:perl-module-test2-util-facets2legacy += "perl-module-warnings" 2624RDEPENDS:perl-module-test2-util-facets2legacy += "perl-module-warnings"
2625RDEPENDS:perl-module-test2-util-grabber += "perl-module-strict"
2626RDEPENDS:perl-module-test2-util-grabber += "perl-module-test2-api"
2627RDEPENDS:perl-module-test2-util-grabber += "perl-module-test2-eventfacet-trace"
2628RDEPENDS:perl-module-test2-util-grabber += "perl-module-test2-hub-interceptor"
2629RDEPENDS:perl-module-test2-util-grabber += "perl-module-test2-util-hashbase"
2630RDEPENDS:perl-module-test2-util-grabber += "perl-module-warnings"
2631RDEPENDS:perl-module-test2-util-guard += "perl-module-strict"
2632RDEPENDS:perl-module-test2-util-guard += "perl-module-warnings"
2137RDEPENDS:perl-module-test2-util-hashbase += "perl-module-strict" 2633RDEPENDS:perl-module-test2-util-hashbase += "perl-module-strict"
2138RDEPENDS:perl-module-test2-util-hashbase += "perl-module-warnings" 2634RDEPENDS:perl-module-test2-util-hashbase += "perl-module-warnings"
2635RDEPENDS:perl-module-test2-util-importer += "perl-module-strict"
2636RDEPENDS:perl-module-test2-util-importer += "perl-module-warnings"
2139RDEPENDS:perl-module-test2-util += "perl-module-config" 2637RDEPENDS:perl-module-test2-util += "perl-module-config"
2140RDEPENDS:perl-module-test2-util += "perl-module-posix" 2638RDEPENDS:perl-module-test2-util += "perl-module-posix"
2141RDEPENDS:perl-module-test2-util += "perl-module-strict" 2639RDEPENDS:perl-module-test2-util += "perl-module-strict"
2142RDEPENDS:perl-module-test2-util += "perl-module-warnings" 2640RDEPENDS:perl-module-test2-util += "perl-module-warnings"
2641RDEPENDS:perl-module-test2-util-ref += "perl-module-base"
2642RDEPENDS:perl-module-test2-util-ref += "perl-module-strict"
2643RDEPENDS:perl-module-test2-util-ref += "perl-module-warnings"
2644RDEPENDS:perl-module-test2-util-stash += "perl-module-b"
2645RDEPENDS:perl-module-test2-util-stash += "perl-module-base"
2646RDEPENDS:perl-module-test2-util-stash += "perl-module-strict"
2647RDEPENDS:perl-module-test2-util-stash += "perl-module-warnings"
2648RDEPENDS:perl-module-test2-util-sub += "perl-module-b"
2649RDEPENDS:perl-module-test2-util-sub += "perl-module-base"
2650RDEPENDS:perl-module-test2-util-sub += "perl-module-strict"
2651RDEPENDS:perl-module-test2-util-sub += "perl-module-warnings"
2652RDEPENDS:perl-module-test2-util-table-cell += "perl-module-base"
2653RDEPENDS:perl-module-test2-util-table-cell += "perl-module-strict"
2654RDEPENDS:perl-module-test2-util-table-cell += "perl-module-warnings"
2655RDEPENDS:perl-module-test2-util-table-linebreak += "perl-module-base"
2656RDEPENDS:perl-module-test2-util-table-linebreak += "perl-module-strict"
2657RDEPENDS:perl-module-test2-util-table-linebreak += "perl-module-warnings"
2658RDEPENDS:perl-module-test2-util-table += "perl-module-base"
2659RDEPENDS:perl-module-test2-util-table += "perl-module-strict"
2660RDEPENDS:perl-module-test2-util-table += "perl-module-test2-util-importer"
2661RDEPENDS:perl-module-test2-util-table += "perl-module-warnings"
2662RDEPENDS:perl-module-test2-util-term += "perl-module-strict"
2663RDEPENDS:perl-module-test2-util-term += "perl-module-term-table-util"
2664RDEPENDS:perl-module-test2-util-term += "perl-module-test2-util-importer"
2665RDEPENDS:perl-module-test2-util-term += "perl-module-warnings"
2666RDEPENDS:perl-module-test2-util-times += "perl-module-base"
2667RDEPENDS:perl-module-test2-util-times += "perl-module-list-util"
2668RDEPENDS:perl-module-test2-util-times += "perl-module-strict"
2669RDEPENDS:perl-module-test2-util-times += "perl-module-warnings"
2143RDEPENDS:perl-module-test2-util-trace += "perl-module-strict" 2670RDEPENDS:perl-module-test2-util-trace += "perl-module-strict"
2144RDEPENDS:perl-module-test2-util-trace += "perl-module-test2-eventfacet-trace" 2671RDEPENDS:perl-module-test2-util-trace += "perl-module-test2-eventfacet-trace"
2145RDEPENDS:perl-module-test2-util-trace += "perl-module-warnings" 2672RDEPENDS:perl-module-test2-util-trace += "perl-module-warnings"
2673RDEPENDS:perl-module-test2-v0 += "perl-module-strict"
2674RDEPENDS:perl-module-test2-v0 += "perl-module-test2-api"
2675RDEPENDS:perl-module-test2-v0 += "perl-module-test2-plugin-exitsummary"
2676RDEPENDS:perl-module-test2-v0 += "perl-module-test2-plugin-srand"
2677RDEPENDS:perl-module-test2-v0 += "perl-module-test2-plugin-utf8"
2678RDEPENDS:perl-module-test2-v0 += "perl-module-test2-tools-basic"
2679RDEPENDS:perl-module-test2-v0 += "perl-module-test2-tools-class"
2680RDEPENDS:perl-module-test2-v0 += "perl-module-test2-tools-classiccompare"
2681RDEPENDS:perl-module-test2-v0 += "perl-module-test2-tools-compare"
2682RDEPENDS:perl-module-test2-v0 += "perl-module-test2-tools-defer"
2683RDEPENDS:perl-module-test2-v0 += "perl-module-test2-tools-encoding"
2684RDEPENDS:perl-module-test2-v0 += "perl-module-test2-tools-event"
2685RDEPENDS:perl-module-test2-v0 += "perl-module-test2-tools-exception"
2686RDEPENDS:perl-module-test2-v0 += "perl-module-test2-tools-exports"
2687RDEPENDS:perl-module-test2-v0 += "perl-module-test2-tools-mock"
2688RDEPENDS:perl-module-test2-v0 += "perl-module-test2-tools-ref"
2689RDEPENDS:perl-module-test2-v0 += "perl-module-test2-tools-refcount"
2690RDEPENDS:perl-module-test2-v0 += "perl-module-test2-tools-target"
2691RDEPENDS:perl-module-test2-v0 += "perl-module-test2-tools-warnings"
2692RDEPENDS:perl-module-test2-v0 += "perl-module-test2-util-importer"
2693RDEPENDS:perl-module-test2-v0 += "perl-module-warnings"
2694RDEPENDS:perl-module-test2-workflow-blockbase += "perl-module-list-util"
2695RDEPENDS:perl-module-test2-workflow-blockbase += "perl-module-strict"
2696RDEPENDS:perl-module-test2-workflow-blockbase += "perl-module-test2-util-hashbase"
2697RDEPENDS:perl-module-test2-workflow-blockbase += "perl-module-test2-util-sub"
2698RDEPENDS:perl-module-test2-workflow-blockbase += "perl-module-test2-util-trace"
2699RDEPENDS:perl-module-test2-workflow-blockbase += "perl-module-warnings"
2700RDEPENDS:perl-module-test2-workflow-build += "perl-module-base"
2701RDEPENDS:perl-module-test2-workflow-build += "perl-module-strict"
2702RDEPENDS:perl-module-test2-workflow-build += "perl-module-test2-util-hashbase"
2703RDEPENDS:perl-module-test2-workflow-build += "perl-module-test2-workflow-task-group"
2704RDEPENDS:perl-module-test2-workflow-build += "perl-module-warnings"
2705RDEPENDS:perl-module-test2-workflow += "perl-module-base"
2706RDEPENDS:perl-module-test2-workflow += "perl-module-strict"
2707RDEPENDS:perl-module-test2-workflow += "perl-module-test2-api"
2708RDEPENDS:perl-module-test2-workflow += "perl-module-test2-workflow-build"
2709RDEPENDS:perl-module-test2-workflow += "perl-module-test2-workflow-task-group"
2710RDEPENDS:perl-module-test2-workflow += "perl-module-warnings"
2711RDEPENDS:perl-module-test2-workflow-runner += "perl-module-list-util"
2712RDEPENDS:perl-module-test2-workflow-runner += "perl-module-overload"
2713RDEPENDS:perl-module-test2-workflow-runner += "perl-module-strict"
2714RDEPENDS:perl-module-test2-workflow-runner += "perl-module-test2-api"
2715RDEPENDS:perl-module-test2-workflow-runner += "perl-module-test2-asyncsubtest"
2716RDEPENDS:perl-module-test2-workflow-runner += "perl-module-test2-todo"
2717RDEPENDS:perl-module-test2-workflow-runner += "perl-module-test2-util"
2718RDEPENDS:perl-module-test2-workflow-runner += "perl-module-test2-util-hashbase"
2719RDEPENDS:perl-module-test2-workflow-runner += "perl-module-time-hires"
2720RDEPENDS:perl-module-test2-workflow-runner += "perl-module-warnings"
2721RDEPENDS:perl-module-test2-workflow-task-action += "perl-module-base"
2722RDEPENDS:perl-module-test2-workflow-task-action += "perl-module-strict"
2723RDEPENDS:perl-module-test2-workflow-task-action += "perl-module-test2-util-hashbase"
2724RDEPENDS:perl-module-test2-workflow-task-action += "perl-module-warnings"
2725RDEPENDS:perl-module-test2-workflow-task-group += "perl-module-base"
2726RDEPENDS:perl-module-test2-workflow-task-group += "perl-module-strict"
2727RDEPENDS:perl-module-test2-workflow-task-group += "perl-module-test2-util-hashbase"
2728RDEPENDS:perl-module-test2-workflow-task-group += "perl-module-test2-workflow-task-action"
2729RDEPENDS:perl-module-test2-workflow-task-group += "perl-module-warnings"
2730RDEPENDS:perl-module-test2-workflow-task += "perl-module-base"
2731RDEPENDS:perl-module-test2-workflow-task += "perl-module-list-util"
2732RDEPENDS:perl-module-test2-workflow-task += "perl-module-strict"
2733RDEPENDS:perl-module-test2-workflow-task += "perl-module-test2-api"
2734RDEPENDS:perl-module-test2-workflow-task += "perl-module-test2-event-exception"
2735RDEPENDS:perl-module-test2-workflow-task += "perl-module-test2-util-hashbase"
2736RDEPENDS:perl-module-test2-workflow-task += "perl-module-warnings"
2146RDEPENDS:perl-module-test-builder-formatter += "perl-module-strict" 2737RDEPENDS:perl-module-test-builder-formatter += "perl-module-strict"
2147RDEPENDS:perl-module-test-builder-formatter += "perl-module-test2-util-hashbase" 2738RDEPENDS:perl-module-test-builder-formatter += "perl-module-test2-util-hashbase"
2148RDEPENDS:perl-module-test-builder-formatter += "perl-module-warnings" 2739RDEPENDS:perl-module-test-builder-formatter += "perl-module-warnings"
@@ -2237,6 +2828,7 @@ RDEPENDS:perl-module-threads-shared += "perl-module-strict"
2237RDEPENDS:perl-module-threads-shared += "perl-module-warnings" 2828RDEPENDS:perl-module-threads-shared += "perl-module-warnings"
2238RDEPENDS:perl-module-threads-shared += "perl-module-xsloader" 2829RDEPENDS:perl-module-threads-shared += "perl-module-xsloader"
2239RDEPENDS:perl-module-tie-array += "perl-module-strict" 2830RDEPENDS:perl-module-tie-array += "perl-module-strict"
2831RDEPENDS:perl-module-tie-file += "perl-module-constant"
2240RDEPENDS:perl-module-tie-file += "perl-module-fcntl" 2832RDEPENDS:perl-module-tie-file += "perl-module-fcntl"
2241RDEPENDS:perl-module-tie-file += "perl-module-posix" 2833RDEPENDS:perl-module-tie-file += "perl-module-posix"
2242RDEPENDS:perl-module-tie-file += "perl-module-strict" 2834RDEPENDS:perl-module-tie-file += "perl-module-strict"
@@ -2258,8 +2850,7 @@ RDEPENDS:perl-module-tie-substrhash += "perl-module-integer"
2258RDEPENDS:perl-module-tie-substrhash += "perl-module-strict" 2850RDEPENDS:perl-module-tie-substrhash += "perl-module-strict"
2259RDEPENDS:perl-module-tie-substrhash += "perl-module-warnings" 2851RDEPENDS:perl-module-tie-substrhash += "perl-module-warnings"
2260RDEPENDS:perl-module-time-gmtime += "perl-module-exporter" 2852RDEPENDS:perl-module-time-gmtime += "perl-module-exporter"
2261RDEPENDS:perl-module-time-gmtime += "perl-module-strict" 2853RDEPENDS:perl-module-time-gmtime += "perl-module-parent"
2262RDEPENDS:perl-module-time-gmtime += "perl-module-time-tm"
2263RDEPENDS:perl-module-time-hires += "perl-module-exporter" 2854RDEPENDS:perl-module-time-hires += "perl-module-exporter"
2264RDEPENDS:perl-module-time-hires += "perl-module-strict" 2855RDEPENDS:perl-module-time-hires += "perl-module-strict"
2265RDEPENDS:perl-module-time-hires += "perl-module-xsloader" 2856RDEPENDS:perl-module-time-hires += "perl-module-xsloader"
@@ -2269,8 +2860,7 @@ RDEPENDS:perl-module-time-local += "perl-module-exporter"
2269RDEPENDS:perl-module-time-local += "perl-module-parent" 2860RDEPENDS:perl-module-time-local += "perl-module-parent"
2270RDEPENDS:perl-module-time-local += "perl-module-strict" 2861RDEPENDS:perl-module-time-local += "perl-module-strict"
2271RDEPENDS:perl-module-time-localtime += "perl-module-exporter" 2862RDEPENDS:perl-module-time-localtime += "perl-module-exporter"
2272RDEPENDS:perl-module-time-localtime += "perl-module-strict" 2863RDEPENDS:perl-module-time-localtime += "perl-module-parent"
2273RDEPENDS:perl-module-time-localtime += "perl-module-time-tm"
2274RDEPENDS:perl-module-time-piece += "perl-module-constant" 2864RDEPENDS:perl-module-time-piece += "perl-module-constant"
2275RDEPENDS:perl-module-time-piece += "perl-module-exporter" 2865RDEPENDS:perl-module-time-piece += "perl-module-exporter"
2276RDEPENDS:perl-module-time-piece += "perl-module-integer" 2866RDEPENDS:perl-module-time-piece += "perl-module-integer"
@@ -2284,7 +2874,6 @@ RDEPENDS:perl-module-time-seconds += "perl-module-exporter"
2284RDEPENDS:perl-module-time-seconds += "perl-module-overload" 2874RDEPENDS:perl-module-time-seconds += "perl-module-overload"
2285RDEPENDS:perl-module-time-seconds += "perl-module-strict" 2875RDEPENDS:perl-module-time-seconds += "perl-module-strict"
2286RDEPENDS:perl-module-time-tm += "perl-module-class-struct" 2876RDEPENDS:perl-module-time-tm += "perl-module-class-struct"
2287RDEPENDS:perl-module-time-tm += "perl-module-strict"
2288RDEPENDS:perl-module-unicode-collate-cjk-big5 += "perl-module-strict" 2877RDEPENDS:perl-module-unicode-collate-cjk-big5 += "perl-module-strict"
2289RDEPENDS:perl-module-unicode-collate-cjk-big5 += "perl-module-warnings" 2878RDEPENDS:perl-module-unicode-collate-cjk-big5 += "perl-module-warnings"
2290RDEPENDS:perl-module-unicode-collate-cjk-gb2312 += "perl-module-strict" 2879RDEPENDS:perl-module-unicode-collate-cjk-gb2312 += "perl-module-strict"
@@ -2322,12 +2911,9 @@ RDEPENDS:perl-module-unicode-ucd += "perl-module-unicode-normalize"
2322RDEPENDS:perl-module-unicode-ucd += "perl-module-warnings" 2911RDEPENDS:perl-module-unicode-ucd += "perl-module-warnings"
2323RDEPENDS:perl-module-user-grent += "perl-module-class-struct" 2912RDEPENDS:perl-module-user-grent += "perl-module-class-struct"
2324RDEPENDS:perl-module-user-grent += "perl-module-exporter" 2913RDEPENDS:perl-module-user-grent += "perl-module-exporter"
2325RDEPENDS:perl-module-user-grent += "perl-module-strict"
2326RDEPENDS:perl-module-user-pwent += "perl-module-class-struct" 2914RDEPENDS:perl-module-user-pwent += "perl-module-class-struct"
2327RDEPENDS:perl-module-user-pwent += "perl-module-config" 2915RDEPENDS:perl-module-user-pwent += "perl-module-config"
2328RDEPENDS:perl-module-user-pwent += "perl-module-exporter" 2916RDEPENDS:perl-module-user-pwent += "perl-module-exporter"
2329RDEPENDS:perl-module-user-pwent += "perl-module-strict"
2330RDEPENDS:perl-module-user-pwent += "perl-module-warnings"
2331RDEPENDS:perl-module-utf8 += "perl-module-strict" 2917RDEPENDS:perl-module-utf8 += "perl-module-strict"
2332RDEPENDS:perl-module-utf8 += "perl-module-warnings" 2918RDEPENDS:perl-module-utf8 += "perl-module-warnings"
2333RDEPENDS:perl-module-version += "perl-module-strict" 2919RDEPENDS:perl-module-version += "perl-module-strict"
diff --git a/meta/recipes-devtools/perl/libmodule-build-perl_0.4234.bb b/meta/recipes-devtools/perl/libmodule-build-perl_0.4234.bb
index b57618724d..b27a8c15e6 100644
--- a/meta/recipes-devtools/perl/libmodule-build-perl_0.4234.bb
+++ b/meta/recipes-devtools/perl/libmodule-build-perl_0.4234.bb
@@ -18,7 +18,7 @@ SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEONT/Module-Build-${PV}.tar.gz \
18 " 18 "
19SRC_URI[sha256sum] = "66aeac6127418be5e471ead3744648c766bd01482825c5b66652675f2bc86a8f" 19SRC_URI[sha256sum] = "66aeac6127418be5e471ead3744648c766bd01482825c5b66652675f2bc86a8f"
20 20
21S = "${WORKDIR}/Module-Build-${PV}" 21S = "${UNPACKDIR}/Module-Build-${PV}"
22 22
23inherit cpan_build ptest-perl 23inherit cpan_build ptest-perl
24 24
diff --git a/meta/recipes-devtools/perl/libtest-fatal-perl_0.017.bb b/meta/recipes-devtools/perl/libtest-fatal-perl_0.017.bb
index 1c3a7e5136..eae128b0cc 100644
--- a/meta/recipes-devtools/perl/libtest-fatal-perl_0.017.bb
+++ b/meta/recipes-devtools/perl/libtest-fatal-perl_0.017.bb
@@ -13,7 +13,7 @@ SRC_URI = "${CPAN_MIRROR}/authors/id/R/RJ/RJBS/Test-Fatal-${PV}.tar.gz"
13 13
14SRC_URI[sha256sum] = "37dfffdafb84b762efe96b02fb2aa41f37026c73e6b83590db76229697f3c4a6" 14SRC_URI[sha256sum] = "37dfffdafb84b762efe96b02fb2aa41f37026c73e6b83590db76229697f3c4a6"
15 15
16S = "${WORKDIR}/Test-Fatal-${PV}" 16S = "${UNPACKDIR}/Test-Fatal-${PV}"
17 17
18inherit cpan ptest-perl 18inherit cpan ptest-perl
19 19
diff --git a/meta/recipes-devtools/perl/libtest-needs-perl_0.002010.bb b/meta/recipes-devtools/perl/libtest-needs-perl_0.002010.bb
index 79a06170e0..0045e575af 100644
--- a/meta/recipes-devtools/perl/libtest-needs-perl_0.002010.bb
+++ b/meta/recipes-devtools/perl/libtest-needs-perl_0.002010.bb
@@ -19,7 +19,7 @@ SRC_URI = "https://cpan.metacpan.org/authors/id/H/HA/${CPAN_AUTHOR}/${CPAN_NAME}
19 19
20SRC_URI[sha256sum] = "923ffdc78fcba96609753e4bae26b0ba0186893de4a63cd5236e012c7c90e208" 20SRC_URI[sha256sum] = "923ffdc78fcba96609753e4bae26b0ba0186893de4a63cd5236e012c7c90e208"
21 21
22S = "${WORKDIR}/${CPAN_NAME}-${PV}" 22S = "${UNPACKDIR}/${CPAN_NAME}-${PV}"
23 23
24inherit cpan ptest-perl 24inherit cpan ptest-perl
25 25
diff --git a/meta/recipes-devtools/perl/libtest-warnings-perl_0.033.bb b/meta/recipes-devtools/perl/libtest-warnings-perl_0.038.bb
index 17b4cc3c9e..2eccf40999 100644
--- a/meta/recipes-devtools/perl/libtest-warnings-perl_0.033.bb
+++ b/meta/recipes-devtools/perl/libtest-warnings-perl_0.038.bb
@@ -15,9 +15,9 @@ LIC_FILES_CHKSUM = "file://LICENCE;md5=f98106ac3cc05d9cbebcdb8fbf7b7815"
15 15
16SRC_URI = "${CPAN_MIRROR}/authors/id/E/ET/ETHER/Test-Warnings-${PV}.tar.gz" 16SRC_URI = "${CPAN_MIRROR}/authors/id/E/ET/ETHER/Test-Warnings-${PV}.tar.gz"
17 17
18SRC_URI[sha256sum] = "b9c375719f2c61c5f97aa5ee6cf4c901a972347c415969379b0b51f67c48bbcb" 18SRC_URI[sha256sum] = "3da27e003a3c3cafed3c09b42be05cf9bdbff0bee5c8590a731b02853880a273"
19 19
20S = "${WORKDIR}/Test-Warnings-${PV}" 20S = "${UNPACKDIR}/Test-Warnings-${PV}"
21 21
22inherit cpan ptest-perl 22inherit cpan ptest-perl
23 23
diff --git a/meta/recipes-devtools/perl/libtry-tiny-perl_0.31.bb b/meta/recipes-devtools/perl/libtry-tiny-perl_0.32.bb
index a3728d8435..e924b3bd64 100644
--- a/meta/recipes-devtools/perl/libtry-tiny-perl_0.31.bb
+++ b/meta/recipes-devtools/perl/libtry-tiny-perl_0.32.bb
@@ -11,9 +11,9 @@ LIC_FILES_CHKSUM = "file://LICENCE;md5=5dc332c2d4aade55f5db244681000091"
11 11
12SRC_URI = "${CPAN_MIRROR}/authors/id/E/ET/ETHER/Try-Tiny-${PV}.tar.gz" 12SRC_URI = "${CPAN_MIRROR}/authors/id/E/ET/ETHER/Try-Tiny-${PV}.tar.gz"
13 13
14SRC_URI[sha256sum] = "3300d31d8a4075b26d8f46ce864a1d913e0e8467ceeba6655d5d2b2e206c11be" 14SRC_URI[sha256sum] = "ef2d6cab0bad18e3ab1c4e6125cc5f695c7e459899f512451c8fa3ef83fa7fc0"
15 15
16S = "${WORKDIR}/Try-Tiny-${PV}" 16S = "${UNPACKDIR}/Try-Tiny-${PV}"
17 17
18inherit cpan ptest-perl 18inherit cpan ptest-perl
19 19
diff --git a/meta/recipes-devtools/perl/liburi-perl/0001-Skip-TODO-test-cases-that-fail.patch b/meta/recipes-devtools/perl/liburi-perl/0001-Skip-TODO-test-cases-that-fail.patch
deleted file mode 100644
index ed1f25125f..0000000000
--- a/meta/recipes-devtools/perl/liburi-perl/0001-Skip-TODO-test-cases-that-fail.patch
+++ /dev/null
@@ -1,110 +0,0 @@
1From 5a4271456104bdf027644c81c3a208cde5cf522e Mon Sep 17 00:00:00 2001
2From: Tim Orling <tim.orling@konsulko.com>
3Date: Thu, 17 Nov 2022 16:33:20 -0800
4Subject: [PATCH] Skip TODO test cases that fail
5
6TODO cases report as "not ok" with ptest-runner
7
8Upstream-Status: Inappropriate [ptest-runner specific]
9
10Signed-off-by: Tim Orling <tim.orling@konsulko.com>
11
12---
13 t/escape-char.t | 20 ++++++++++----------
14 t/iri.t | 18 +++++++++---------
15 t/mailto.t | 12 ++++++------
16 3 files changed, 25 insertions(+), 25 deletions(-)
17
18diff --git a/t/escape-char.t b/t/escape-char.t
19index c6ce79c..5e62ad5 100644
20--- a/t/escape-char.t
21+++ b/t/escape-char.t
22@@ -6,16 +6,16 @@ use warnings;
23 use Test::More;
24 use URI ();
25
26-TODO: {
27- my $str = "http://foo/\xE9";
28- utf8::upgrade($str);
29- my $uri = URI->new($str);
30-
31- local $TODO = 'URI::Escape::escape_char misunderstands utf8';
32-
33- # http://foo/%C3%A9
34- is("$uri", 'http://foo/%E9', 'correctly created a URI from a utf8-upgraded string');
35-}
36+#TODO: {
37+# my $str = "http://foo/\xE9";
38+# utf8::upgrade($str);
39+# my $uri = URI->new($str);
40+#
41+# local $TODO = 'URI::Escape::escape_char misunderstands utf8';
42+#
43+# # http://foo/%C3%A9
44+# is("$uri", 'http://foo/%E9', 'correctly created a URI from a utf8-upgraded string');
45+#}
46
47 {
48 my $str = "http://foo/\xE9";
49diff --git a/t/iri.t b/t/iri.t
50index cf983d6..884b36e 100644
51--- a/t/iri.t
52+++ b/t/iri.t
53@@ -6,7 +6,7 @@ use Test::More;
54 use Config qw( %Config );
55
56 if (defined $Config{useperlio}) {
57- plan tests=>30;
58+ plan tests=>28;
59 } else {
60 plan skip_all=>"this perl doesn't support PerlIO layers";
61 }
62@@ -67,17 +67,17 @@ is $u->as_iri, "http://➡.ws/";
63 # draft-duerst-iri-bis.txt examples (section 3.7.1):
64 is(URI->new("http://www.example.org/D%C3%BCrst")->as_iri, "http://www.example.org/D\xFCrst");
65 is(URI->new("http://www.example.org/D%FCrst")->as_iri, "http://www.example.org/D%FCrst");
66-TODO: {
67- local $TODO = "some chars (like U+202E, RIGHT-TO-LEFT OVERRIDE) need to stay escaped";
68-is(URI->new("http://xn--99zt52a.example.org/%e2%80%ae")->as_iri, "http://\x{7D0D}\x{8C46}.example.org/%e2%80%ae");
69-}
70+#TODO: {
71+# local $TODO = "some chars (like U+202E, RIGHT-TO-LEFT OVERRIDE) need to stay escaped";
72+#is(URI->new("http://xn--99zt52a.example.org/%e2%80%ae")->as_iri, "http://\x{7D0D}\x{8C46}.example.org/%e2%80%ae");
73+#}
74
75 # try some URLs that can't be IDNA encoded (fallback to encoded UTF8 bytes)
76 $u = URI->new("http://" . ("ü" x 128));
77 is $u, "http://" . ("%C3%BC" x 128);
78 is $u->host, ("\xC3\xBC" x 128);
79-TODO: {
80- local $TODO = "should ihost decode UTF8 bytes?";
81- is $u->ihost, ("ü" x 128);
82-}
83+#TODO: {
84+# local $TODO = "should ihost decode UTF8 bytes?";
85+# is $u->ihost, ("ü" x 128);
86+#}
87 is $u->as_iri, "http://" . ("ü" x 128);
88diff --git a/t/mailto.t b/t/mailto.t
89index 79e9a13..c68cfb2 100644
90--- a/t/mailto.t
91+++ b/t/mailto.t
92@@ -48,12 +48,12 @@ $u = URI->new('mailto:user+detail@example.com');
93 is $u->to, 'user+detail@example.com', 'subaddress with `+` parsed correctly';
94 is $u, 'mailto:user+detail@example.com', '... and stringification works';
95
96-TODO: {
97- local $TODO = "We can't handle quoted local parts without properly parsing the email addresses";
98- $u = URI->new('mailto:"foo bar+baz"@example.com');
99- is $u->to, '"foo bar+baz"@example.com', 'address with quoted local part containing spaces is parsed correctly';
100- is $u, 'mailto:%22foo%20bar+baz%22@example.com', '... and stringification works';
101-}
102+#TODO: {
103+# local $TODO = "We can't handle quoted local parts without properly parsing the email addresses";
104+# $u = URI->new('mailto:"foo bar+baz"@example.com');
105+# is $u->to, '"foo bar+baz"@example.com', 'address with quoted local part containing spaces is parsed correctly';
106+# is $u, 'mailto:%22foo%20bar+baz%22@example.com', '... and stringification works';
107+#}
108
109 # RFC 5321 (4.1.3) - Address Literals
110
diff --git a/meta/recipes-devtools/perl/liburi-perl_5.28.bb b/meta/recipes-devtools/perl/liburi-perl_5.28.bb
deleted file mode 100644
index 1fc0efd3e5..0000000000
--- a/meta/recipes-devtools/perl/liburi-perl_5.28.bb
+++ /dev/null
@@ -1,56 +0,0 @@
1SUMMARY = "Perl module to manipulate and access URI strings"
2DESCRIPTION = "This package contains the URI.pm module with friends. \
3The module implements the URI class. URI objects can be used to access \
4and manipulate the various components that make up these strings."
5HOMEPAGE = "https://metacpan.org/dist/URI"
6SECTION = "libs"
7LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
8
9LIC_FILES_CHKSUM = "file://LICENSE;md5=9944b87af51186f848ae558344aded9f"
10
11SRC_URI = "${CPAN_MIRROR}/authors/id/O/OA/OALDERS/URI-${PV}.tar.gz \
12 file://0001-Skip-TODO-test-cases-that-fail.patch \
13 "
14
15SRC_URI[sha256sum] = "e7985da359b15efd00917fa720292b711c396f2f9f9a7349e4e7dec74aa79765"
16
17S = "${WORKDIR}/URI-${PV}"
18
19EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}"
20
21inherit cpan ptest-perl
22
23do_compile() {
24 export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')"
25 cpan_do_compile
26}
27
28do_install:prepend() {
29 # these tests require "-T" (taint) command line option
30 rm -rf ${B}/t/cwd.t
31 rm -rf ${B}/t/file.t
32}
33
34RDEPENDS:${PN} += "\
35 perl-module-integer \
36 perl-module-mime-base64 \
37"
38
39RDEPENDS:${PN}-ptest += " \
40 libtest-fatal-perl \
41 libtest-needs-perl \
42 libtest-warnings-perl \
43 perl-module-encode \
44 perl-module-encode-encoding \
45 perl-module-extutils-makemaker \
46 perl-module-extutils-mm-unix \
47 perl-module-file-spec-functions \
48 perl-module-net-domain \
49 perl-module-perlio \
50 perl-module-perlio-encoding \
51 perl-module-test \
52 perl-module-test-more \
53 perl-module-utf8 \
54"
55
56BBCLASSEXTEND = "native"
diff --git a/meta/recipes-devtools/perl/libxml-parser-perl_2.47.bb b/meta/recipes-devtools/perl/libxml-parser-perl_2.47.bb
index cffc133a45..b6d28c4bb3 100644
--- a/meta/recipes-devtools/perl/libxml-parser-perl_2.47.bb
+++ b/meta/recipes-devtools/perl/libxml-parser-perl_2.47.bb
@@ -6,13 +6,13 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=4342f85bf14a1fdd6a751573f1e61c03"
6 6
7DEPENDS += "expat" 7DEPENDS += "expat"
8 8
9SRC_URI = "${CPAN_MIRROR}/modules/by-module/XML/XML-Parser-${PV}.tar.gz \ 9SRC_URI = "http://www.cpan.org/modules/by-module/XML/XML-Parser-${PV}.tar.gz \
10 file://0001-Makefile.PL-make-check_lib-cross-friendly.patch \ 10 file://0001-Makefile.PL-make-check_lib-cross-friendly.patch \
11 " 11 "
12 12
13SRC_URI[sha256sum] = "ad4aae643ec784f489b956abe952432871a622d4e2b5c619e8855accbfc4d1d8" 13SRC_URI[sha256sum] = "ad4aae643ec784f489b956abe952432871a622d4e2b5c619e8855accbfc4d1d8"
14 14
15S = "${WORKDIR}/XML-Parser-${PV}" 15S = "${UNPACKDIR}/XML-Parser-${PV}"
16 16
17EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR} CC='${CC}' LD='${CCLD}' FULL_AR='${AR}'" 17EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR} CC='${CC}' LD='${CCLD}' FULL_AR='${AR}'"
18 18
@@ -39,4 +39,4 @@ do_install_ptest() {
39RDEPENDS:${PN} += "perl-module-carp perl-module-file-spec" 39RDEPENDS:${PN} += "perl-module-carp perl-module-file-spec"
40RDEPENDS:${PN}-ptest += "perl-module-filehandle perl-module-if perl-module-test perl-module-test-more" 40RDEPENDS:${PN}-ptest += "perl-module-filehandle perl-module-if perl-module-test perl-module-test-more"
41 41
42BBCLASSEXTEND="native nativesdk" 42BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/perl/libxml-perl_0.08.bb b/meta/recipes-devtools/perl/libxml-perl_0.08.bb
index 89acb64ef5..21c02c19ff 100644
--- a/meta/recipes-devtools/perl/libxml-perl_0.08.bb
+++ b/meta/recipes-devtools/perl/libxml-perl_0.08.bb
@@ -13,7 +13,6 @@ DEPENDS += "libxml-parser-perl"
13 13
14SRC_URI = "http://www.cpan.org/modules/by-module/XML/${BPN}-${PV}.tar.gz" 14SRC_URI = "http://www.cpan.org/modules/by-module/XML/${BPN}-${PV}.tar.gz"
15 15
16SRC_URI[md5sum] = "0ed5fbdda53d1301ddaed88db10503bb"
17SRC_URI[sha256sum] = "4571059b7b5d48b7ce52b01389e95d798bf5cf2020523c153ff27b498153c9cb" 16SRC_URI[sha256sum] = "4571059b7b5d48b7ce52b01389e95d798bf5cf2020523c153ff27b498153c9cb"
18 17
19EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}" 18EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}"
diff --git a/meta/recipes-devtools/perl/libxml-simple-perl_2.25.bb b/meta/recipes-devtools/perl/libxml-simple-perl_2.25.bb
index 791404e5bc..a4f08433e7 100644
--- a/meta/recipes-devtools/perl/libxml-simple-perl_2.25.bb
+++ b/meta/recipes-devtools/perl/libxml-simple-perl_2.25.bb
@@ -12,10 +12,9 @@ DEPENDS += "libxml-parser-perl"
12 12
13SRC_URI = "http://www.cpan.org/modules/by-module/XML/XML-Simple-${PV}.tar.gz" 13SRC_URI = "http://www.cpan.org/modules/by-module/XML/XML-Simple-${PV}.tar.gz"
14 14
15SRC_URI[md5sum] = "bb841dce889a26c89a1c2739970e9fbc"
16SRC_URI[sha256sum] = "531fddaebea2416743eb5c4fdfab028f502123d9a220405a4100e68fc480dbf8" 15SRC_URI[sha256sum] = "531fddaebea2416743eb5c4fdfab028f502123d9a220405a4100e68fc480dbf8"
17 16
18S = "${WORKDIR}/XML-Simple-${PV}" 17S = "${UNPACKDIR}/XML-Simple-${PV}"
19 18
20EXTRA_PERLFLAGS = "-I ${PERLHOSTLIB}" 19EXTRA_PERLFLAGS = "-I ${PERLHOSTLIB}"
21 20
diff --git a/meta/recipes-devtools/perl/perl-ptest.inc b/meta/recipes-devtools/perl/perl-ptest.inc
index e07355d3f5..4b4756118c 100644
--- a/meta/recipes-devtools/perl/perl-ptest.inc
+++ b/meta/recipes-devtools/perl/perl-ptest.inc
@@ -45,6 +45,9 @@ do_install_ptest () {
45 45
46 # Remove files with host-specific configuration for building native binaries 46 # Remove files with host-specific configuration for building native binaries
47 rm ${D}${PTEST_PATH}/Makefile.config ${D}${PTEST_PATH}/xconfig.h ${D}${PTEST_PATH}/xconfig.sh 47 rm ${D}${PTEST_PATH}/Makefile.config ${D}${PTEST_PATH}/xconfig.h ${D}${PTEST_PATH}/xconfig.sh
48
49 # create an empty file that is checked for existence by makerel test
50 touch ${D}${PTEST_PATH}/win32/Makefile
48} 51}
49 52
50python populate_packages:prepend() { 53python populate_packages:prepend() {
diff --git a/meta/recipes-devtools/perl/perl_5.38.2.bb b/meta/recipes-devtools/perl/perl_5.40.2.bb
index b6c9cda7ae..c3bcbf053d 100644
--- a/meta/recipes-devtools/perl/perl_5.38.2.bb
+++ b/meta/recipes-devtools/perl/perl_5.40.2.bb
@@ -7,7 +7,6 @@ LIC_FILES_CHKSUM = "file://Copying;md5=5b122a36d0f6dc55279a0ebc69f3c60b \
7 file://Artistic;md5=71a4d5d9acc18c0952a6df2218bb68da \ 7 file://Artistic;md5=71a4d5d9acc18c0952a6df2218bb68da \
8 " 8 "
9 9
10
11SRC_URI = "https://www.cpan.org/src/5.0/perl-${PV}.tar.gz;name=perl \ 10SRC_URI = "https://www.cpan.org/src/5.0/perl-${PV}.tar.gz;name=perl \
12 file://perl-rdepends.txt \ 11 file://perl-rdepends.txt \
13 file://0001-Somehow-this-module-breaks-through-the-perl-wrapper-.patch \ 12 file://0001-Somehow-this-module-breaks-through-the-perl-wrapper-.patch \
@@ -17,7 +16,6 @@ SRC_URI = "https://www.cpan.org/src/5.0/perl-${PV}.tar.gz;name=perl \
17 file://0002-Constant-Fix-up-shebang.patch \ 16 file://0002-Constant-Fix-up-shebang.patch \
18 file://determinism.patch \ 17 file://determinism.patch \
19 file://0001-cpan-Sys-Syslog-Makefile.PL-Fix-_PATH_LOG-for-determ.patch \ 18 file://0001-cpan-Sys-Syslog-Makefile.PL-Fix-_PATH_LOG-for-determ.patch \
20 file://0001-Fix-intermittent-failure-of-test-t-op-sigsystem.t.patch \
21 " 19 "
22SRC_URI:append:class-native = " \ 20SRC_URI:append:class-native = " \
23 file://perl-configpm-switch.patch \ 21 file://perl-configpm-switch.patch \
@@ -26,7 +24,7 @@ SRC_URI:append:class-target = " \
26 file://encodefix.patch \ 24 file://encodefix.patch \
27" 25"
28 26
29SRC_URI[perl.sha256sum] = "a0a31534451eb7b83c7d6594a497543a54d488bc90ca00f5e34762577f40655e" 27SRC_URI[perl.sha256sum] = "10d4647cfbb543a7f9ae3e5f6851ec49305232ea7621aed24c7cfbb0bef4b70d"
30 28
31B = "${WORKDIR}/perl-${PV}-build" 29B = "${WORKDIR}/perl-${PV}-build"
32 30
@@ -39,10 +37,13 @@ DEPENDS += "make-native"
39PERL_LIB_VER = "${@'.'.join(d.getVar('PV').split('.')[0:2])}.0" 37PERL_LIB_VER = "${@'.'.join(d.getVar('PV').split('.')[0:2])}.0"
40 38
41PACKAGECONFIG ??= "gdbm" 39PACKAGECONFIG ??= "gdbm"
42PACKAGECONFIG:append:libc-musl = " anylocale" 40PACKAGECONFIG:append:libc-musl = " anylocale lcallnopairs"
43PACKAGECONFIG[bdb] = ",-Ui_db,db" 41PACKAGECONFIG[bdb] = ",-Ui_db,db"
44PACKAGECONFIG[gdbm] = ",-Ui_gdbm,gdbm" 42PACKAGECONFIG[gdbm] = ",-Ui_gdbm,gdbm"
45PACKAGECONFIG[anylocale] = "-Dd_setlocale_accepts_any_locale_name=define,," 43PACKAGECONFIG[anylocale] = "-Dd_setlocale_accepts_any_locale_name=define,,"
44PACKAGECONFIG[lcallnopairs] = "-Dd_perl_lc_all_uses_name_value_pairs=undef -Dd_perl_lc_all_category_positions_init=define -Dd_perl_lc_all_separator=define,,"
45
46PACKAGECONFIG_CONFARGS:append:libc-musl = " -Dperl_lc_all_category_positions_init='{ 0, 1, 2, 3, 4, 5 }' -Dperl_lc_all_separator='";"'"
46 47
47# Don't generate comments in enc2xs output files. They are not reproducible 48# Don't generate comments in enc2xs output files. They are not reproducible
48export ENC2XS_NO_COMMENTS = "1" 49export ENC2XS_NO_COMMENTS = "1"
@@ -88,7 +89,7 @@ do_configure:class-target() {
88} 89}
89 90
90do_configure:class-nativesdk() { 91do_configure:class-nativesdk() {
91 ./configure --prefix=${prefix} \ 92 ./configure --prefix=${prefix} --libdir=${libdir} \
92 --target=${TARGET_SYS} \ 93 --target=${TARGET_SYS} \
93 -Duseshrplib \ 94 -Duseshrplib \
94 -Dusethreads \ 95 -Dusethreads \
@@ -331,7 +332,7 @@ python split_perl_packages () {
331 d.setVar(d.expand("RDEPENDS:${PN}-modules"), ' '.join(packages)) 332 d.setVar(d.expand("RDEPENDS:${PN}-modules"), ' '.join(packages))
332 333
333 # Read the pre-generated dependency file, and use it to set module dependecies 334 # Read the pre-generated dependency file, and use it to set module dependecies
334 for line in open(d.expand("${WORKDIR}") + '/perl-rdepends.txt').readlines(): 335 for line in open(d.getVar("UNPACKDIR") + '/perl-rdepends.txt').readlines():
335 splitline = line.split() 336 splitline = line.split()
336 # Filter empty lines and comments 337 # Filter empty lines and comments
337 if len(splitline) == 0 or splitline[0].startswith("#"): 338 if len(splitline) == 0 or splitline[0].startswith("#"):
@@ -367,7 +368,9 @@ do_create_rdepends_inc() {
367 cat <<'EOPREAMBLE' > ${WORKDIR}/perl-rdepends.inc 368 cat <<'EOPREAMBLE' > ${WORKDIR}/perl-rdepends.inc
368 369
369# Some additional dependencies that the above doesn't manage to figure out 370# Some additional dependencies that the above doesn't manage to figure out
371RDEPENDS:${PN}-module-file-path += "${PN}-module-file-spec"
370RDEPENDS:${PN}-module-file-spec += "${PN}-module-file-spec-unix" 372RDEPENDS:${PN}-module-file-spec += "${PN}-module-file-spec-unix"
373RDEPENDS:${PN}-module-file-spec += "${PN}-module-constant"
371RDEPENDS:${PN}-module-scalar-util += "${PN}-module-list-util" 374RDEPENDS:${PN}-module-scalar-util += "${PN}-module-list-util"
372RDEPENDS:${PN}-module-file-temp += "${PN}-module-scalar-util" 375RDEPENDS:${PN}-module-file-temp += "${PN}-module-scalar-util"
373RDEPENDS:${PN}-module-file-temp += "${PN}-module-file-spec" 376RDEPENDS:${PN}-module-file-temp += "${PN}-module-file-spec"
@@ -392,9 +395,10 @@ EOPREAMBLE
392 egrep -r "^\s*(\<use .*|\<require .*);?" perl-module-* --include="*.pm" | \ 395 egrep -r "^\s*(\<use .*|\<require .*);?" perl-module-* --include="*.pm" | \
393 sed "s/\/.*\.pm: */ += /g;s/[\"\']//g;s/;.*/\"/g;s/+= .*\(require\|use\)\> */+= \"perl-module-/g;s/CPANPLUS::.*/cpanplus/g;s/CPAN::.*/cpan/g;s/::/-/g;s/ [^+\"].*//g;s/_/-/g;s/\.pl\"$/\"/;s/\"\?\$/\"/;s/(//;s/)//;" | tr [:upper:] [:lower:] | \ 396 sed "s/\/.*\.pm: */ += /g;s/[\"\']//g;s/;.*/\"/g;s/+= .*\(require\|use\)\> */+= \"perl-module-/g;s/CPANPLUS::.*/cpanplus/g;s/CPAN::.*/cpan/g;s/::/-/g;s/ [^+\"].*//g;s/_/-/g;s/\.pl\"$/\"/;s/\"\?\$/\"/;s/(//;s/)//;" | tr [:upper:] [:lower:] | \
394 awk '{if ($3 != "\x22"$1"\x22"){ print $0}}'| \ 397 awk '{if ($3 != "\x22"$1"\x22"){ print $0}}'| \
395 grep -v -e "\-vms\-" -e module-5 -e "^$" -e "\\$" -e your -e tk -e autoperl -e html -e http -e parse-cpan -e perl-ostype -e ndbm-file -e module-mac -e fcgi -e lwp -e dbd -e dbix | \ 398 grep -v -e "\-vms\-" -e module-5 -e module-v5 -e "^$" -e "\\$" -e your -e tk -e autoperl -e html -e http -e parse-cpan -e perl-ostype -e ndbm-file -e module-mac -e fcgi -e lwp -e dbd -e dbix | \
396 sort -u | \ 399 sort -u | \
397 sed 's/^/RDEPENDS:/;s/perl-module-/${PN}-module-/g;s/module-\(module-\)/\1/g;s/\(module-load\)-conditional/\1/g;s/encode-configlocal/&-pm/;' | \ 400 sed 's/^/RDEPENDS:/;s/perl-module-/${PN}-module-/g;s/module-\(module-\)/\1/g;s/\(module-load\)-conditional/\1/g;s/encode-configlocal/&-pm/;' | \
401 egrep -wv 'module-devel-mat-dumper|module-net-ssleay|module-pluggable|module-io-compress-xz|module-io-compress-zstd' | \
398 egrep -wv '=>|module-a|module-apache.?|module-apr|module-authen-sasl|module-b-asmdata|module-convert-ebcdic|module-devel-size|module-digest-perl-md5|module-dumpvalue|module-extutils-constant-aaargh56hash|module-extutils-xssymset|module-file-bsdglob|module-for|module-it|module-io-socket-inet6|module-io-socket-ssl|module-io-string|module-ipc-system-simple|module-lexical|module-local-lib|metadata|module-modperl-util|module-pluggable-object|module-test-builder-io-scalar|module-text-unidecode|module-unicore|module-win32|objects\sload|syscall.ph|systeminfo.ph|%s' | \ 402 egrep -wv '=>|module-a|module-apache.?|module-apr|module-authen-sasl|module-b-asmdata|module-convert-ebcdic|module-devel-size|module-digest-perl-md5|module-dumpvalue|module-extutils-constant-aaargh56hash|module-extutils-xssymset|module-file-bsdglob|module-for|module-it|module-io-socket-inet6|module-io-socket-ssl|module-io-string|module-ipc-system-simple|module-lexical|module-local-lib|metadata|module-modperl-util|module-pluggable-object|module-test-builder-io-scalar|module-text-unidecode|module-unicore|module-win32|objects\sload|syscall.ph|systeminfo.ph|%s' | \
399 egrep -wv '=>|module-algorithm-diff|module-carp|module-c<extutils-mm-unix>|module-l<extutils-mm-unix>|module-encode-hanextra|module-extutils-makemaker-version-regex|module-file-spec|module-io-compress-lzma|module-io-uncompress-unxz|module-locale-maketext-lexicon|module-log-agent|module-meta-notation|module-net-localcfg|module-net-ping-external|module-b-deparse|module-scalar-util|module-some-module|module-symbol|module-uri|module-win32api-file' > ${WORKDIR}/perl-rdepends.generated 403 egrep -wv '=>|module-algorithm-diff|module-carp|module-c<extutils-mm-unix>|module-l<extutils-mm-unix>|module-encode-hanextra|module-extutils-makemaker-version-regex|module-file-spec|module-io-compress-lzma|module-io-uncompress-unxz|module-locale-maketext-lexicon|module-log-agent|module-meta-notation|module-net-localcfg|module-net-ping-external|module-b-deparse|module-scalar-util|module-some-module|module-symbol|module-uri|module-win32api-file' > ${WORKDIR}/perl-rdepends.generated
400 cat ${WORKDIR}/perl-rdepends.inc ${WORKDIR}/perl-rdepends.generated > ${THISDIR}/files/perl-rdepends.txt 404 cat ${WORKDIR}/perl-rdepends.inc ${WORKDIR}/perl-rdepends.generated > ${THISDIR}/files/perl-rdepends.txt
diff --git a/meta/recipes-devtools/pkgconf/pkgconf/pkg-config-native.in b/meta/recipes-devtools/pkgconf/pkgconf/pkg-config-native.in
index 9ed30a0d80..0d736fe4d4 100644
--- a/meta/recipes-devtools/pkgconf/pkgconf/pkg-config-native.in
+++ b/meta/recipes-devtools/pkgconf/pkgconf/pkg-config-native.in
@@ -1,6 +1,6 @@
1#! /bin/sh 1#! /bin/sh
2 2
3PKG_CONFIG_PATH="@PATH_NATIVE@" 3PKG_CONFIG_PATH="@PATH_NATIVE@$EXTRA_NATIVE_PKGCONFIG_PATH"
4unset PKG_CONFIG_SYSROOT_DIR 4unset PKG_CONFIG_SYSROOT_DIR
5 5
6pkg-config "$@" 6pkg-config "$@"
diff --git a/meta/recipes-devtools/pkgconf/pkgconf_2.2.0.bb b/meta/recipes-devtools/pkgconf/pkgconf_2.4.3.bb
index 5f4ef73d43..9695e37bbd 100644
--- a/meta/recipes-devtools/pkgconf/pkgconf_2.2.0.bb
+++ b/meta/recipes-devtools/pkgconf/pkgconf_2.4.3.bb
@@ -20,7 +20,7 @@ SRC_URI = "\
20 file://pkg-config-native.in \ 20 file://pkg-config-native.in \
21 file://pkg-config-esdk.in \ 21 file://pkg-config-esdk.in \
22" 22"
23SRC_URI[sha256sum] = "b06ff63a83536aa8c2f6422fa80ad45e4833f590266feb14eaddfe1d4c853c69" 23SRC_URI[sha256sum] = "51203d99ed573fa7344bf07ca626f10c7cc094e0846ac4aa0023bd0c83c25a41"
24 24
25inherit autotools 25inherit autotools
26 26
diff --git a/meta/recipes-devtools/pkgconfig/pkgconfig/0001-Do-not-use-bool-as-a-field-name.patch b/meta/recipes-devtools/pkgconfig/pkgconfig/0001-Do-not-use-bool-as-a-field-name.patch
new file mode 100644
index 0000000000..bcb7e94d69
--- /dev/null
+++ b/meta/recipes-devtools/pkgconfig/pkgconfig/0001-Do-not-use-bool-as-a-field-name.patch
@@ -0,0 +1,36 @@
1From b3b26a7e125e5e4f5b69975cc17eb6d33198ebaa Mon Sep 17 00:00:00 2001
2From: Emmanuele Bassi <ebassi@gnome.org>
3Date: Thu, 11 Apr 2024 14:40:21 +0100
4Subject: [PATCH] Do not use bool as a field name
5
6C99 aliases `bool` to `_Bool`, and C23 introduces `bool` as a reserved
7keyword. Let's avoid using `bool` as a field name.
8
9Upstream-Status: Backport [Backport from glib to bunlded version in pkg-config https://github.com/GNOME/glib/commit/9e320e1c43a4770ed1532248fe5416eb0c618120]
10Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
11---
12 glib/glib/goption.c | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
14
15diff --git a/glib/glib/goption.c b/glib/glib/goption.c
16index 0a22f6f..f439fd4 100644
17--- a/glib/glib/goption.c
18+++ b/glib/glib/goption.c
19@@ -166,7 +166,7 @@ typedef struct
20 gpointer arg_data;
21 union
22 {
23- gboolean bool;
24+ gboolean boolean;
25 gint integer;
26 gchar *str;
27 gchar **array;
28@@ -1600,7 +1600,7 @@ free_changes_list (GOptionContext *context,
29 switch (change->arg_type)
30 {
31 case G_OPTION_ARG_NONE:
32- *(gboolean *)change->arg_data = change->prev.bool;
33+ *(gboolean *)change->arg_data = change->prev.boolean;
34 break;
35 case G_OPTION_ARG_INT:
36 *(gint *)change->arg_data = change->prev.integer;
diff --git a/meta/recipes-devtools/pkgconfig/pkgconfig/pkg-config-native.in b/meta/recipes-devtools/pkgconfig/pkgconfig/pkg-config-native.in
index a9324de4cf..8addefbb80 100644
--- a/meta/recipes-devtools/pkgconfig/pkgconfig/pkg-config-native.in
+++ b/meta/recipes-devtools/pkgconfig/pkgconfig/pkg-config-native.in
@@ -1,6 +1,6 @@
1#! /bin/sh 1#! /bin/sh
2 2
3export PKG_CONFIG_PATH="@PATH_NATIVE@" 3export PKG_CONFIG_PATH="@PATH_NATIVE@$EXTRA_NATIVE_PKGCONFIG_PATH"
4export PKG_CONFIG_LIBDIR="@LIBDIR_NATIVE@" 4export PKG_CONFIG_LIBDIR="@LIBDIR_NATIVE@"
5unset PKG_CONFIG_SYSROOT_DIR 5unset PKG_CONFIG_SYSROOT_DIR
6 6
diff --git a/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb b/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb
index 6f13d0177e..f537c635ef 100644
--- a/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb
+++ b/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb
@@ -15,10 +15,9 @@ SRC_URI = "git://gitlab.freedesktop.org/pkg-config/pkg-config.git;branch=master;
15 file://pkg-config-esdk.in \ 15 file://pkg-config-esdk.in \
16 file://pkg-config-native.in \ 16 file://pkg-config-native.in \
17 file://0001-glib-gettext.m4-Update-AM_GLIB_GNU_GETTEXT-to-match-.patch \ 17 file://0001-glib-gettext.m4-Update-AM_GLIB_GNU_GETTEXT-to-match-.patch \
18 file://0001-Do-not-use-bool-as-a-field-name.patch \
18 " 19 "
19 20
20S = "${WORKDIR}/git"
21
22inherit autotools 21inherit autotools
23 22
24# Because of a faulty test, the current auto mode always evaluates to no, 23# Because of a faulty test, the current auto mode always evaluates to no,
@@ -31,8 +30,6 @@ PACKAGECONFIG:class-native = ""
31 30
32PACKAGECONFIG[glib] = "--without-internal-glib,--with-internal-glib,glib-2.0 pkgconfig-native" 31PACKAGECONFIG[glib] = "--without-internal-glib,--with-internal-glib,glib-2.0 pkgconfig-native"
33 32
34acpaths = "-I ."
35
36BBCLASSEXTEND = "native nativesdk" 33BBCLASSEXTEND = "native nativesdk"
37 34
38# Set an empty dev package to ensure the base PN package gets 35# Set an empty dev package to ensure the base PN package gets
@@ -46,9 +43,9 @@ FILES:${PN} += "${datadir}/aclocal/pkg.m4"
46# specifying an appropriate provide. 43# specifying an appropriate provide.
47RPROVIDES:${PN} += "pkgconfig(pkg-config)" 44RPROVIDES:${PN} += "pkgconfig(pkg-config)"
48 45
49# Install a pkg-config-native wrapper that will use the native sysroot instead
50# of the MACHINE sysroot, for using pkg-config when building native tools.
51do_install:append:class-native () { 46do_install:append:class-native () {
47 # Install a pkg-config-native wrapper that will use the native sysroot instead
48 # of the MACHINE sysroot, for using pkg-config when building native tools.
52 sed -e "s|@PATH_NATIVE@|${PKG_CONFIG_PATH}|" \ 49 sed -e "s|@PATH_NATIVE@|${PKG_CONFIG_PATH}|" \
53 -e "s|@LIBDIR_NATIVE@|${PKG_CONFIG_LIBDIR}|" \ 50 -e "s|@LIBDIR_NATIVE@|${PKG_CONFIG_LIBDIR}|" \
54 < ${UNPACKDIR}/pkg-config-native.in > ${B}/pkg-config-native 51 < ${UNPACKDIR}/pkg-config-native.in > ${B}/pkg-config-native
@@ -59,6 +56,15 @@ do_install:append:class-native () {
59 install -m755 ${B}/pkg-config-esdk ${D}${bindir}/pkg-config-esdk 56 install -m755 ${B}/pkg-config-esdk ${D}${bindir}/pkg-config-esdk
60} 57}
61 58
59do_install:append:class-nativesdk () {
60 # Install a pkg-config-native wrapper that will use the native sysroot instead
61 # of the MACHINE sysroot, for using pkg-config when building native tools.
62 sed -e "s|@PATH_NATIVE@|\$OECORE_NATIVE_SYSROOT|" \
63 -e "s|@LIBDIR_NATIVE@|\$OECORE_NATIVE_SYSROOT/usr/lib/pkgconfig|" \
64 < ${UNPACKDIR}/pkg-config-native.in > ${B}/pkg-config-native
65 install -m755 ${B}/pkg-config-native ${D}${bindir}/pkg-config-native
66}
67
62pkgconfig_sstate_fixup_esdk () { 68pkgconfig_sstate_fixup_esdk () {
63 if [ "${BB_CURRENTTASK}" = "populate_sysroot_setscene" -a "${WITHIN_EXT_SDK}" = "1" ] ; then 69 if [ "${BB_CURRENTTASK}" = "populate_sysroot_setscene" -a "${WITHIN_EXT_SDK}" = "1" ] ; then
64 pkgconfdir="${SSTATE_INSTDIR}/recipe-sysroot-native/${bindir_native}" 70 pkgconfdir="${SSTATE_INSTDIR}/recipe-sysroot-native/${bindir_native}"
diff --git a/meta/recipes-devtools/pseudo/files/0001-configure-Prune-PIE-flags.patch b/meta/recipes-devtools/pseudo/files/0001-configure-Prune-PIE-flags.patch
deleted file mode 100644
index 43504eaab9..0000000000
--- a/meta/recipes-devtools/pseudo/files/0001-configure-Prune-PIE-flags.patch
+++ /dev/null
@@ -1,44 +0,0 @@
1From b5545c08e6c674c49aef14b47a56a3e92df4d2a7 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 17 Feb 2016 07:36:34 +0000
4Subject: [pseudo][PATCH] configure: Prune PIE flags
5
6LDFLAGS are not taken from environment and CFLAGS is used for LDFLAGS
7however when using security options -fpie and -pie options are coming
8as part of ARCH_FLAGS and they get into LDFLAGS of shared objects as
9well so we end up with conflicting options -shared -pie, which gold
10rejects outright and bfd linker lets the one appearning last in cmdline
11take effect. This create quite a unpleasant situation in OE when
12security flags are enabled and gold or not-gold options are used
13it errors out but errors are not same.
14
15Anyway, with this patch we filter pie options from ARCH_FLAGS
16ouright and take control of generating PIC objects
17
18Helps with errors like
19
20| /mnt/oe/build/tmp-glibc/sysroots/x86_64-linux/usr/libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/5.3.0/ld: pseudo_client.o: relocation R_X86_64_PC32 against symbol `pseudo_util_debug_flags' can not be used when making a shared object; recompile with -fPIC
21| /mnt/oe/build/tmp-glibc/sysroots/x86_64-linux/usr/libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/5.3.0/ld: final link failed: Bad value
22| collect2: error: ld returned 1 exit status
23| make: *** [lib/pseudo/lib64/libpseudo.so] Error 1
24
25Signed-off-by: Khem Raj <raj.khem@gmail.com>
26---
27Upstream-Status: Submitted
28
29 configure | 2 ++
30 1 file changed, 2 insertions(+)
31
32diff --git a/configure b/configure
33index e5ef9ce..83b0890 100755
34--- a/configure
35+++ b/configure
36@@ -339,3 +339,5 @@ sed -e '
37 s,@ARCH@,'"$opt_arch"',g
38 s,@BITS@,'"$opt_bits"',g
39 ' < Makefile.in > Makefile
40+
41+sed -i -e 's/\-[f]*pie//g' Makefile
42--
431.8.3.1
44
diff --git a/meta/recipes-devtools/pseudo/files/glibc238.patch b/meta/recipes-devtools/pseudo/files/glibc238.patch
deleted file mode 100644
index da4b8caee3..0000000000
--- a/meta/recipes-devtools/pseudo/files/glibc238.patch
+++ /dev/null
@@ -1,59 +0,0 @@
1glibc 2.38 would include __isoc23_strtol and similar symbols. This is trggerd by
2_GNU_SOURCE but we have to set that for other definitions. Therefore play with defines
3to turn this off within pseudo_wrappers.c. Elsewhere we can switch to _DEFAULT_SOURCE
4rather than _GNU_SOURCE.
5
6Upstream-Status: Pending
7
8Index: git/pseudo_wrappers.c
9===================================================================
10--- git.orig/pseudo_wrappers.c
11+++ git/pseudo_wrappers.c
12@@ -6,6 +6,15 @@
13 * SPDX-License-Identifier: LGPL-2.1-only
14 *
15 */
16+/* glibc 2.38 would include __isoc23_strtol and similar symbols. This is trggerd by
17+ * _GNU_SOURCE but we have to set that for other definitions. Therefore play with defines
18+ * to turn this off.
19+ */
20+#include <features.h>
21+#undef __GLIBC_USE_ISOC2X
22+#undef __GLIBC_USE_C2X_STRTOL
23+#define __GLIBC_USE_C2X_STRTOL 0
24+
25 #include <assert.h>
26 #include <stdlib.h>
27 #include <limits.h>
28Index: git/pseudo_util.c
29===================================================================
30--- git.orig/pseudo_util.c
31+++ git/pseudo_util.c
32@@ -8,6 +8,14 @@
33 */
34 /* we need access to RTLD_NEXT for a horrible workaround */
35 #define _GNU_SOURCE
36+/* glibc 2.38 would include __isoc23_strtol and similar symbols. This is trggerd by
37+ * _GNU_SOURCE but we have to set that for other definitions. Therefore play with defines
38+ * to turn this off.
39+ */
40+#include <features.h>
41+#undef __GLIBC_USE_ISOC2X
42+#undef __GLIBC_USE_C2X_STRTOL
43+#define __GLIBC_USE_C2X_STRTOL 0
44
45 #include <ctype.h>
46 #include <errno.h>
47Index: git/pseudo_client.c
48===================================================================
49--- git.orig/pseudo_client.c
50+++ git/pseudo_client.c
51@@ -6,7 +6,7 @@
52 * SPDX-License-Identifier: LGPL-2.1-only
53 *
54 */
55-#define _GNU_SOURCE
56+#define _DEFAULT_SOURCE
57
58 #include <stdio.h>
59 #include <signal.h>
diff --git a/meta/recipes-devtools/pseudo/files/older-glibc-symbols.patch b/meta/recipes-devtools/pseudo/files/older-glibc-symbols.patch
index c453b5f735..f42b32b8d9 100644
--- a/meta/recipes-devtools/pseudo/files/older-glibc-symbols.patch
+++ b/meta/recipes-devtools/pseudo/files/older-glibc-symbols.patch
@@ -28,10 +28,10 @@ diff --git a/Makefile.in b/Makefile.in
28@@ -120,7 +120,7 @@ $(PSEUDODB): pseudodb.o $(SHOBJS) $(DBOBJS) pseudo_ipc.o | $(BIN) 28@@ -120,7 +120,7 @@ $(PSEUDODB): pseudodb.o $(SHOBJS) $(DBOBJS) pseudo_ipc.o | $(BIN)
29 libpseudo: $(LIBPSEUDO) 29 libpseudo: $(LIBPSEUDO)
30 30
31 $(LIBPSEUDO): $(WRAPOBJS) pseudo_client.o pseudo_ipc.o $(SHOBJS) | $(LIB) 31 $(LIBPSEUDO): $(WRAPOBJS) pseudo_client.o pseudo_client_scanf.o pseudo_ipc.o $(SHOBJS) | $(LIB)
32- $(CC) $(CFLAGS) $(CFLAGS_PSEUDO) -shared -o $(LIBPSEUDO) \ 32- $(CC) $(CFLAGS) $(CFLAGS_PSEUDO) -shared -o $(LIBPSEUDO) \
33+ $(CC) $(CFLAGS) -Lprebuilt/$(shell uname -m)-linux/lib/ $(CFLAGS_PSEUDO) -shared -o $(LIBPSEUDO) \ 33+ $(CC) $(CFLAGS) -Lprebuilt/$(shell uname -m)-linux/lib/ $(CFLAGS_PSEUDO) -shared -o $(LIBPSEUDO) \
34 pseudo_client.o pseudo_ipc.o \ 34 pseudo_client.o pseudo_client_scanf.o pseudo_ipc.o \
35 $(WRAPOBJS) $(SHOBJS) $(LDFLAGS) $(CLIENT_LDFLAGS) 35 $(WRAPOBJS) $(SHOBJS) $(LDFLAGS) $(CLIENT_LDFLAGS)
36 36
37diff --git a/pseudo_wrappers.c b/pseudo_wrappers.c 37diff --git a/pseudo_wrappers.c b/pseudo_wrappers.c
diff --git a/meta/recipes-devtools/pseudo/pseudo.inc b/meta/recipes-devtools/pseudo/pseudo.inc
index 36283ffa74..22c934977d 100644
--- a/meta/recipes-devtools/pseudo/pseudo.inc
+++ b/meta/recipes-devtools/pseudo/pseudo.inc
@@ -124,7 +124,6 @@ do_compile:append:class-native () {
124 fi 124 fi
125} 125}
126 126
127
128do_install () { 127do_install () {
129 oe_runmake 'DESTDIR=${D}' ${MAKEOPTS} 'LIB=lib/pseudo/lib$(MARK64)' install 128 oe_runmake 'DESTDIR=${D}' ${MAKEOPTS} 'LIB=lib/pseudo/lib$(MARK64)' install
130} 129}
diff --git a/meta/recipes-devtools/pseudo/pseudo_git.bb b/meta/recipes-devtools/pseudo/pseudo_git.bb
index c70b509233..385b6f34d9 100644
--- a/meta/recipes-devtools/pseudo/pseudo_git.bb
+++ b/meta/recipes-devtools/pseudo/pseudo_git.bb
@@ -1,21 +1,18 @@
1require pseudo.inc 1require pseudo.inc
2 2
3SRC_URI = "git://git.yoctoproject.org/pseudo;branch=master;protocol=https \ 3SRC_URI = "git://git.yoctoproject.org/pseudo;branch=master;protocol=https \
4 file://0001-configure-Prune-PIE-flags.patch \
5 file://glibc238.patch \
6 file://fallback-passwd \ 4 file://fallback-passwd \
7 file://fallback-group \ 5 file://fallback-group \
8 " 6 "
9SRC_URI:append:class-native = " \ 7SRC_URI:append:class-native = " \
10 http://downloads.yoctoproject.org/mirror/sources/pseudo-prebuilt-2.33.tar.xz;subdir=git/prebuilt;name=prebuilt \ 8 http://downloads.yoctoproject.org/mirror/sources/pseudo-prebuilt-2.33.tar.xz;subdir=${BB_GIT_DEFAULT_DESTSUFFIX}/prebuilt;name=prebuilt \
11 file://older-glibc-symbols.patch" 9 file://older-glibc-symbols.patch"
12SRC_URI:append:class-nativesdk = " \ 10SRC_URI:append:class-nativesdk = " \
13 http://downloads.yoctoproject.org/mirror/sources/pseudo-prebuilt-2.33.tar.xz;subdir=git/prebuilt;name=prebuilt \ 11 http://downloads.yoctoproject.org/mirror/sources/pseudo-prebuilt-2.33.tar.xz;subdir=${BB_GIT_DEFAULT_DESTSUFFIX}/prebuilt;name=prebuilt \
14 file://older-glibc-symbols.patch" 12 file://older-glibc-symbols.patch"
15SRC_URI[prebuilt.sha256sum] = "ed9f456856e9d86359f169f46a70ad7be4190d6040282b84c8d97b99072485aa" 13SRC_URI[prebuilt.sha256sum] = "ed9f456856e9d86359f169f46a70ad7be4190d6040282b84c8d97b99072485aa"
16 14
17SRCREV = "0d292df61aeb886ae8ca33d9edc3b6d0ff5c0f0f" 15SRCREV = "2c43381180f9cfef4c0a8bb0c1658a86c3fcc876"
18S = "${WORKDIR}/git"
19PV = "1.9.0+git" 16PV = "1.9.0+git"
20 17
21# largefile and 64bit time_t support adds these macros via compiler flags globally 18# largefile and 64bit time_t support adds these macros via compiler flags globally
@@ -27,3 +24,10 @@ TARGET_CC_ARCH:remove = "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS
27 24
28# error: use of undeclared identifier '_STAT_VER' 25# error: use of undeclared identifier '_STAT_VER'
29COMPATIBLE_HOST:libc-musl = 'null' 26COMPATIBLE_HOST:libc-musl = 'null'
27
28#| ./ports/linux/pseudo_wrappers.c:80:14: error: use of unknown builtin '__builtin_apply' [-Wimplicit-function-declaration]
29#| void *res = __builtin_apply((void (*)()) real_syscall, __builtin_apply_args(), sizeof(long) * 7);
30#| ^
31#| ./ports/linux/pseudo_wrappers.c:80:57: error: use of unknown builtin '__builtin_apply_args' [-Wimplicit-function-declaration]
32#| void *res = __builtin_apply((void (*)()) real_syscall, __builtin_apply_args(), sizeof(long) * 7);
33TOOLCHAIN = "gcc"
diff --git a/meta/recipes-devtools/python/python-extras.inc b/meta/recipes-devtools/python/python-extras.inc
index 335bde2724..b562f90d12 100644
--- a/meta/recipes-devtools/python/python-extras.inc
+++ b/meta/recipes-devtools/python/python-extras.inc
@@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=6d108f338b2f68fe48ac366c4650bd8b"
6 6
7inherit pypi 7inherit pypi
8 8
9SRC_URI[md5sum] = "3a63ad60cf8f0186c9e3a02f55ec5b14"
10SRC_URI[sha256sum] = "132e36de10b9c91d5d4cc620160a476e0468a88f16c9431817a6729611a81b4e" 9SRC_URI[sha256sum] = "132e36de10b9c91d5d4cc620160a476e0468a88f16c9431817a6729611a81b4e"
11 10
12BBCLASSEXTEND = "nativesdk" 11BBCLASSEXTEND = "nativesdk"
diff --git a/meta/recipes-devtools/python/python-pycryptodome.inc b/meta/recipes-devtools/python/python-pycryptodome.inc
index 8d9b6d911e..ec9241e6d5 100644
--- a/meta/recipes-devtools/python/python-pycryptodome.inc
+++ b/meta/recipes-devtools/python/python-pycryptodome.inc
@@ -7,8 +7,6 @@ LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=29242a70410a4eeff488a28164e7ab93"
7 7
8inherit pypi 8inherit pypi
9 9
10PYPI_PACKAGE_EXT = "tar.gz"
11
12RDEPENDS:${PN} += " \ 10RDEPENDS:${PN} += " \
13 python3-cffi \ 11 python3-cffi \
14 python3-ctypes \ 12 python3-ctypes \
diff --git a/meta/recipes-devtools/python/python-rfc3986-validator/0001-setup.py-move-pytest-runner-to-test_requirements.patch b/meta/recipes-devtools/python/python-rfc3986-validator/0001-setup.py-move-pytest-runner-to-test_requirements.patch
deleted file mode 100644
index 8a646874e8..0000000000
--- a/meta/recipes-devtools/python/python-rfc3986-validator/0001-setup.py-move-pytest-runner-to-test_requirements.patch
+++ /dev/null
@@ -1,32 +0,0 @@
1From 3531ff73631a0d59234eb4713e7b3a7f5ea57bbb Mon Sep 17 00:00:00 2001
2From: Nicola Lunghi <nicola.lunghi@jci.com>
3Date: Thu, 14 Nov 2019 12:17:51 +0000
4Subject: [PATCH] setup.py: move pytest-runner to test_requirements
5
6This fixes an issue with yocto build.
7pytest-runner is only needed when running tests.
8
9Upstream-Status: Pending
10---
11 setup.py | 4 ++--
12 1 file changed, 2 insertions(+), 2 deletions(-)
13
14diff --git a/setup.py b/setup.py
15index 53ebea7..ebb0de2 100644
16--- a/setup.py
17+++ b/setup.py
18@@ -10,9 +10,9 @@ with open('README.md') as readme_file:
19
20 requirements = []
21
22-setup_requirements = ['pytest-runner', ]
23+setup_requirements = []
24
25-test_requirements = ['pytest>=3', ]
26+test_requirements = ['pytest>=3', 'pytest-runner']
27
28 setup(
29 author="Nicolas Aimetti",
30--
312.20.1
32
diff --git a/meta/recipes-devtools/python/python-six.inc b/meta/recipes-devtools/python/python-six.inc
index 6b1b4ba481..f7a62b6068 100644
--- a/meta/recipes-devtools/python/python-six.inc
+++ b/meta/recipes-devtools/python/python-six.inc
@@ -2,7 +2,7 @@ SUMMARY = "Python 2 and 3 compatibility library"
2HOMEPAGE = "https://pypi.org/project/six/" 2HOMEPAGE = "https://pypi.org/project/six/"
3SECTION = "devel/python" 3SECTION = "devel/python"
4LICENSE = "MIT" 4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=43cfc9e4ac0e377acfb9b76f56b8415d" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=e50fab7e9501f3dfc920eafeb24b46ea"
6 6
7inherit pypi 7inherit pypi
8 8
diff --git a/meta/recipes-devtools/python/python3-alabaster_0.7.16.bb b/meta/recipes-devtools/python/python3-alabaster_1.0.0.bb
index c61fce454f..40be6039eb 100644
--- a/meta/recipes-devtools/python/python3-alabaster_0.7.16.bb
+++ b/meta/recipes-devtools/python/python3-alabaster_1.0.0.bb
@@ -5,7 +5,7 @@ SECTION = "devel/python"
5LICENSE = "BSD-3-Clause" 5LICENSE = "BSD-3-Clause"
6LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=21860fdb805bf4e0bfaf94b566b747fa" 6LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=21860fdb805bf4e0bfaf94b566b747fa"
7 7
8SRC_URI[sha256sum] = "75a8b99c28a5dad50dd7f8ccdd447a121ddb3892da9e53d1ca5cca3106d58d65" 8SRC_URI[sha256sum] = "c00dca57bca26fa62a6d7d0a9fcce65f3e026e9bfe33e9c538fd3fbb2144fd9e"
9 9
10inherit python_flit_core pypi 10inherit python_flit_core pypi
11 11
diff --git a/meta/recipes-devtools/python/python3-atomicwrites/run-ptest b/meta/recipes-devtools/python/python3-atomicwrites/run-ptest
deleted file mode 100644
index 8d2017d39c..0000000000
--- a/meta/recipes-devtools/python/python3-atomicwrites/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@
1#!/bin/sh
2
3pytest --automake
diff --git a/meta/recipes-devtools/python/python3-atomicwrites_1.4.1.bb b/meta/recipes-devtools/python/python3-atomicwrites_1.4.1.bb
index 848f74d612..b14b62ab2f 100644
--- a/meta/recipes-devtools/python/python3-atomicwrites_1.4.1.bb
+++ b/meta/recipes-devtools/python/python3-atomicwrites_1.4.1.bb
@@ -5,23 +5,12 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=91cc36cfafeefb7863673bcfcb1d4da4"
5 5
6SRC_URI[sha256sum] = "81b2c9071a49367a7f770170e5eec8cb66567cfbbc8c73d20ce5ca4a8d71cf11" 6SRC_URI[sha256sum] = "81b2c9071a49367a7f770170e5eec8cb66567cfbbc8c73d20ce5ca4a8d71cf11"
7 7
8inherit pypi setuptools3 ptest 8inherit pypi setuptools3 ptest-python-pytest
9
10SRC_URI += " \
11 file://run-ptest \
12"
13 9
14RDEPENDS:${PN}-ptest += " \ 10RDEPENDS:${PN}-ptest += " \
15 python3-pytest \
16 python3-unittest-automake-output \
17 python3-unixadmin \ 11 python3-unixadmin \
18" 12"
19 13
20do_install_ptest() {
21 install -d ${D}${PTEST_PATH}/tests
22 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
23}
24
25RDEPENDS:${PN} = "python3-misc" 14RDEPENDS:${PN} = "python3-misc"
26 15
27BBCLASSEXTEND = "native nativesdk" 16BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-attrs/0001-conftest.py-disable-deadline.patch b/meta/recipes-devtools/python/python3-attrs/0001-conftest.py-disable-deadline.patch
deleted file mode 100644
index b1e6d99916..0000000000
--- a/meta/recipes-devtools/python/python3-attrs/0001-conftest.py-disable-deadline.patch
+++ /dev/null
@@ -1,45 +0,0 @@
1From 41103f017f6a233ebb477dd1712fe82ea8f1c84c Mon Sep 17 00:00:00 2001
2From: Tim Orling <tim.orling@konsulko.com>
3Date: Thu, 29 Feb 2024 08:45:54 -0800
4Subject: [PATCH] conftest.py: disable deadline
5
6The deadline is by default 200ms, but this is intended to be useful to
7the developer and not necessarily recommended for heavily loaded CI
8systems. Avoid warnings by disabling the deadline completely.
9
10https://github.com/HypothesisWorks/hypothesis/issues/3713
11https://hypothesis.readthedocs.io/en/latest/settings.html#hypothesis.settings.deadline
12https://lists.openembedded.org/g/openembedded-core/topic/104640034#196437
13
14Fixes:
15"""
16Unreliable test timings! On an initial run, this test took 268.29ms,
17which exceeded the deadline of 200.00ms, but on a subsequent run it
18took 2.63 ms, which did not. If you expect this sort of variability in
19your test timings, consider turning deadlines off for this test by
20setting deadline=None.
21"""
22
23Upstream-Status: Submitted [https://github.com/python-attrs/attrs/pull/1252]
24
25Signed-off-by: Tim Orling <tim.orling@konsulko.com>
26---
27 conftest.py | 2 +-
28 1 file changed, 1 insertion(+), 1 deletion(-)
29
30diff --git a/conftest.py b/conftest.py
31index 144e5f3..fdead3d 100644
32--- a/conftest.py
33+++ b/conftest.py
34@@ -20,7 +20,7 @@ def _frozen(request):
35 def pytest_configure(config):
36 # HealthCheck.too_slow causes more trouble than good -- especially in CIs.
37 settings.register_profile(
38- "patience", settings(suppress_health_check=[HealthCheck.too_slow])
39+ "patience", settings(suppress_health_check=[HealthCheck.too_slow], deadline=None)
40 )
41 settings.load_profile("patience")
42
43--
442.34.1
45
diff --git a/meta/recipes-devtools/python/python3-attrs/0001-test_funcs-skip-test_unknown-for-pytest-8.patch b/meta/recipes-devtools/python/python3-attrs/0001-test_funcs-skip-test_unknown-for-pytest-8.patch
deleted file mode 100644
index bb69c0f157..0000000000
--- a/meta/recipes-devtools/python/python3-attrs/0001-test_funcs-skip-test_unknown-for-pytest-8.patch
+++ /dev/null
@@ -1,30 +0,0 @@
1From cbe95e1aa6d95195dce13406a6f0522b2964babc Mon Sep 17 00:00:00 2001
2From: Tim Orling <tim.orling@konsulko.com>
3Date: Fri, 16 Feb 2024 07:17:19 -0800
4Subject: [PATCH] test_funcs: skip test_unknown for pytest 8
5
6https://github.com/python-attrs/attrs/issues/1233
7
8Upstream-Status: Inappropriate [Test case needs to be properly fixed upstream]
9
10Signed-off-by: Tim Orling <tim.orling@konsulko.com>
11---
12 tests/test_funcs.py | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/tests/test_funcs.py b/tests/test_funcs.py
16index 044aaab..0872c31 100644
17--- a/tests/test_funcs.py
18+++ b/tests/test_funcs.py
19@@ -593,7 +593,7 @@ class TestAssoc:
20 for k, v in change_dict.items():
21 assert getattr(changed, k) == v
22
23- @given(simple_classes())
24+ @pytest.mark.skip('Broken with pytest 8. See https://github.com/python-attrs/attrs/issues/1233')
25 def test_unknown(self, C):
26 """
27 Wanting to change an unknown attribute raises an
28--
292.34.1
30
diff --git a/meta/recipes-devtools/python/python3-attrs/run-ptest b/meta/recipes-devtools/python/python3-attrs/run-ptest
deleted file mode 100644
index 8d2017d39c..0000000000
--- a/meta/recipes-devtools/python/python3-attrs/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@
1#!/bin/sh
2
3pytest --automake
diff --git a/meta/recipes-devtools/python/python3-attrs_23.2.0.bb b/meta/recipes-devtools/python/python3-attrs_23.2.0.bb
deleted file mode 100644
index a638097988..0000000000
--- a/meta/recipes-devtools/python/python3-attrs_23.2.0.bb
+++ /dev/null
@@ -1,39 +0,0 @@
1SUMMARY = "Classes Without Boilerplate"
2HOMEPAGE = "http://www.attrs.org/"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=5e55731824cf9205cfabeab9a0600887"
5
6SRC_URI[sha256sum] = "935dc3b529c262f6cf76e50877d35a4bd3c1de194fd41f47a2b7ae8f19971f30"
7
8inherit pypi ptest python_hatchling
9
10SRC_URI += " \
11 file://0001-test_funcs-skip-test_unknown-for-pytest-8.patch \
12 file://0001-conftest.py-disable-deadline.patch \
13 file://run-ptest \
14"
15
16DEPENDS += " \
17 python3-hatch-vcs-native \
18 python3-hatch-fancy-pypi-readme-native \
19"
20
21RDEPENDS:${PN}+= " \
22 python3-compression \
23 python3-ctypes \
24 python3-crypt \
25"
26
27RDEPENDS:${PN}-ptest += " \
28 python3-hypothesis \
29 python3-pytest \
30 python3-unittest-automake-output \
31"
32
33do_install_ptest() {
34 install -d ${D}${PTEST_PATH}/tests
35 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
36 install ${S}/conftest.py ${D}${PTEST_PATH}/
37}
38
39BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-attrs_25.3.0.bb b/meta/recipes-devtools/python/python3-attrs_25.3.0.bb
new file mode 100644
index 0000000000..bed26a5184
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-attrs_25.3.0.bb
@@ -0,0 +1,28 @@
1SUMMARY = "Classes Without Boilerplate"
2HOMEPAGE = "http://www.attrs.org/"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=5e55731824cf9205cfabeab9a0600887"
5
6SRC_URI[sha256sum] = "75d7cefc7fb576747b2c81b4442d4d4a1ce0900973527c011d1030fd3bf4af1b"
7
8inherit pypi ptest-python-pytest python_hatchling
9
10DEPENDS += " \
11 python3-hatch-vcs-native \
12 python3-hatch-fancy-pypi-readme-native \
13"
14
15RDEPENDS:${PN} += " \
16 python3-compression \
17 python3-crypt \
18"
19
20RDEPENDS:${PN}-ptest += " \
21 python3-hypothesis \
22"
23
24do_install_ptest:append() {
25 install ${S}/conftest.py ${D}${PTEST_PATH}/
26}
27
28BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-babel_2.14.0.bb b/meta/recipes-devtools/python/python3-babel_2.17.0.bb
index cd40d4222b..adffaa044c 100644
--- a/meta/recipes-devtools/python/python3-babel_2.14.0.bb
+++ b/meta/recipes-devtools/python/python3-babel_2.17.0.bb
@@ -1,14 +1,14 @@
1SUMMARY = "A collection of tools for internationalizing Python applications" 1SUMMARY = "A collection of tools for internationalizing Python applications"
2HOMEPAGE = "http://babel.edgewall.org/" 2HOMEPAGE = "http://babel.edgewall.org/"
3LICENSE = "BSD-3-Clause" 3LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=0f97d9a63e91407b4c0d01efde91cfc0" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=e83509a66c69efcb4f3a7d4f27fd0693"
5 5
6SRC_URI[sha256sum] = "6919867db036398ba21eb5c7a0f6b28ab8cbc3ae7a73a44ebe34ae74a4e7d363" 6SRC_URI[sha256sum] = "0c54cffb19f690cdcc52a3b50bcbf71e07a808d1c80d549f2459b9d2cf0afb9d"
7
8PYPI_PACKAGE = "Babel"
9 7
10inherit pypi setuptools3 8inherit pypi setuptools3
11 9
10S = "${UNPACKDIR}/babel-${PV}"
11
12CLEANBROKEN = "1" 12CLEANBROKEN = "1"
13 13
14RDEPENDS:${PN} += " \ 14RDEPENDS:${PN} += " \
diff --git a/meta/recipes-devtools/python/python3-bcrypt-crates.inc b/meta/recipes-devtools/python/python3-bcrypt-crates.inc
index 0e7479f0b5..e0a2926519 100644
--- a/meta/recipes-devtools/python/python3-bcrypt-crates.inc
+++ b/meta/recipes-devtools/python/python3-bcrypt-crates.inc
@@ -2,113 +2,105 @@
2 2
3# from src/_bcrypt/Cargo.lock 3# from src/_bcrypt/Cargo.lock
4SRC_URI += " \ 4SRC_URI += " \
5 crate://crates.io/autocfg/1.1.0 \ 5 crate://crates.io/autocfg/1.4.0 \
6 crate://crates.io/base64/0.21.5 \ 6 crate://crates.io/base64/0.22.1 \
7 crate://crates.io/bcrypt/0.15.0 \ 7 crate://crates.io/bcrypt/0.17.0 \
8 crate://crates.io/bcrypt-pbkdf/0.10.0 \ 8 crate://crates.io/bcrypt-pbkdf/0.10.0 \
9 crate://crates.io/bitflags/1.3.2 \ 9 crate://crates.io/bitflags/2.8.0 \
10 crate://crates.io/block-buffer/0.10.4 \ 10 crate://crates.io/block-buffer/0.10.4 \
11 crate://crates.io/blowfish/0.9.1 \ 11 crate://crates.io/blowfish/0.9.1 \
12 crate://crates.io/byteorder/1.5.0 \ 12 crate://crates.io/byteorder/1.5.0 \
13 crate://crates.io/cfg-if/1.0.0 \ 13 crate://crates.io/cfg-if/1.0.0 \
14 crate://crates.io/cipher/0.4.4 \ 14 crate://crates.io/cipher/0.4.4 \
15 crate://crates.io/cpufeatures/0.2.11 \ 15 crate://crates.io/cpufeatures/0.2.17 \
16 crate://crates.io/crypto-common/0.1.6 \ 16 crate://crates.io/crypto-common/0.1.6 \
17 crate://crates.io/digest/0.10.7 \ 17 crate://crates.io/digest/0.10.7 \
18 crate://crates.io/generic-array/0.14.7 \ 18 crate://crates.io/generic-array/0.14.7 \
19 crate://crates.io/getrandom/0.2.11 \ 19 crate://crates.io/getrandom/0.3.1 \
20 crate://crates.io/heck/0.4.1 \ 20 crate://crates.io/heck/0.5.0 \
21 crate://crates.io/indoc/2.0.4 \ 21 crate://crates.io/indoc/2.0.5 \
22 crate://crates.io/inout/0.1.3 \ 22 crate://crates.io/inout/0.1.4 \
23 crate://crates.io/libc/0.2.151 \ 23 crate://crates.io/libc/0.2.170 \
24 crate://crates.io/lock_api/0.4.11 \ 24 crate://crates.io/memoffset/0.9.1 \
25 crate://crates.io/memoffset/0.9.0 \ 25 crate://crates.io/once_cell/1.20.3 \
26 crate://crates.io/once_cell/1.19.0 \
27 crate://crates.io/parking_lot/0.12.1 \
28 crate://crates.io/parking_lot_core/0.9.9 \
29 crate://crates.io/pbkdf2/0.12.2 \ 26 crate://crates.io/pbkdf2/0.12.2 \
30 crate://crates.io/portable-atomic/1.6.0 \ 27 crate://crates.io/portable-atomic/1.11.0 \
31 crate://crates.io/proc-macro2/1.0.70 \ 28 crate://crates.io/proc-macro2/1.0.93 \
32 crate://crates.io/pyo3/0.20.3 \ 29 crate://crates.io/pyo3/0.23.5 \
33 crate://crates.io/pyo3-build-config/0.20.3 \ 30 crate://crates.io/pyo3-build-config/0.23.5 \
34 crate://crates.io/pyo3-ffi/0.20.3 \ 31 crate://crates.io/pyo3-ffi/0.23.5 \
35 crate://crates.io/pyo3-macros/0.20.3 \ 32 crate://crates.io/pyo3-macros/0.23.5 \
36 crate://crates.io/pyo3-macros-backend/0.20.3 \ 33 crate://crates.io/pyo3-macros-backend/0.23.5 \
37 crate://crates.io/quote/1.0.33 \ 34 crate://crates.io/quote/1.0.38 \
38 crate://crates.io/redox_syscall/0.4.1 \
39 crate://crates.io/scopeguard/1.2.0 \
40 crate://crates.io/sha2/0.10.8 \ 35 crate://crates.io/sha2/0.10.8 \
41 crate://crates.io/smallvec/1.11.2 \ 36 crate://crates.io/subtle/2.6.1 \
42 crate://crates.io/subtle/2.5.0 \ 37 crate://crates.io/syn/2.0.98 \
43 crate://crates.io/syn/2.0.41 \ 38 crate://crates.io/target-lexicon/0.12.16 \
44 crate://crates.io/target-lexicon/0.12.12 \ 39 crate://crates.io/typenum/1.18.0 \
45 crate://crates.io/typenum/1.17.0 \ 40 crate://crates.io/unicode-ident/1.0.17 \
46 crate://crates.io/unicode-ident/1.0.12 \
47 crate://crates.io/unindent/0.2.3 \ 41 crate://crates.io/unindent/0.2.3 \
48 crate://crates.io/version_check/0.9.4 \ 42 crate://crates.io/version_check/0.9.5 \
49 crate://crates.io/wasi/0.11.0+wasi-snapshot-preview1 \ 43 crate://crates.io/wasi/0.13.3+wasi-0.2.2 \
50 crate://crates.io/windows-targets/0.48.5 \ 44 crate://crates.io/windows-targets/0.52.6 \
51 crate://crates.io/windows_aarch64_gnullvm/0.48.5 \ 45 crate://crates.io/windows_aarch64_gnullvm/0.52.6 \
52 crate://crates.io/windows_aarch64_msvc/0.48.5 \ 46 crate://crates.io/windows_aarch64_msvc/0.52.6 \
53 crate://crates.io/windows_i686_gnu/0.48.5 \ 47 crate://crates.io/windows_i686_gnu/0.52.6 \
54 crate://crates.io/windows_i686_msvc/0.48.5 \ 48 crate://crates.io/windows_i686_gnullvm/0.52.6 \
55 crate://crates.io/windows_x86_64_gnu/0.48.5 \ 49 crate://crates.io/windows_i686_msvc/0.52.6 \
56 crate://crates.io/windows_x86_64_gnullvm/0.48.5 \ 50 crate://crates.io/windows_x86_64_gnu/0.52.6 \
57 crate://crates.io/windows_x86_64_msvc/0.48.5 \ 51 crate://crates.io/windows_x86_64_gnullvm/0.52.6 \
58 crate://crates.io/zeroize/1.7.0 \ 52 crate://crates.io/windows_x86_64_msvc/0.52.6 \
53 crate://crates.io/wit-bindgen-rt/0.33.0 \
54 crate://crates.io/zeroize/1.8.1 \
59" 55"
60 56
61SRC_URI[autocfg-1.1.0.sha256sum] = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" 57SRC_URI[autocfg-1.4.0.sha256sum] = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
62SRC_URI[base64-0.21.5.sha256sum] = "35636a1494ede3b646cc98f74f8e62c773a38a659ebc777a2cf26b9b74171df9" 58SRC_URI[base64-0.22.1.sha256sum] = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
63SRC_URI[bcrypt-0.15.0.sha256sum] = "28d1c9c15093eb224f0baa400f38fcd713fc1391a6f1c389d886beef146d60a3" 59SRC_URI[bcrypt-0.17.0.sha256sum] = "92758ad6077e4c76a6cadbce5005f666df70d4f13b19976b1a8062eef880040f"
64SRC_URI[bcrypt-pbkdf-0.10.0.sha256sum] = "6aeac2e1fe888769f34f05ac343bbef98b14d1ffb292ab69d4608b3abc86f2a2" 60SRC_URI[bcrypt-pbkdf-0.10.0.sha256sum] = "6aeac2e1fe888769f34f05ac343bbef98b14d1ffb292ab69d4608b3abc86f2a2"
65SRC_URI[bitflags-1.3.2.sha256sum] = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" 61SRC_URI[bitflags-2.8.0.sha256sum] = "8f68f53c83ab957f72c32642f3868eec03eb974d1fb82e453128456482613d36"
66SRC_URI[block-buffer-0.10.4.sha256sum] = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" 62SRC_URI[block-buffer-0.10.4.sha256sum] = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
67SRC_URI[blowfish-0.9.1.sha256sum] = "e412e2cd0f2b2d93e02543ceae7917b3c70331573df19ee046bcbc35e45e87d7" 63SRC_URI[blowfish-0.9.1.sha256sum] = "e412e2cd0f2b2d93e02543ceae7917b3c70331573df19ee046bcbc35e45e87d7"
68SRC_URI[byteorder-1.5.0.sha256sum] = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" 64SRC_URI[byteorder-1.5.0.sha256sum] = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
69SRC_URI[cfg-if-1.0.0.sha256sum] = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 65SRC_URI[cfg-if-1.0.0.sha256sum] = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
70SRC_URI[cipher-0.4.4.sha256sum] = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" 66SRC_URI[cipher-0.4.4.sha256sum] = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad"
71SRC_URI[cpufeatures-0.2.11.sha256sum] = "ce420fe07aecd3e67c5f910618fe65e94158f6dcc0adf44e00d69ce2bdfe0fd0" 67SRC_URI[cpufeatures-0.2.17.sha256sum] = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280"
72SRC_URI[crypto-common-0.1.6.sha256sum] = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" 68SRC_URI[crypto-common-0.1.6.sha256sum] = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3"
73SRC_URI[digest-0.10.7.sha256sum] = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" 69SRC_URI[digest-0.10.7.sha256sum] = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
74SRC_URI[generic-array-0.14.7.sha256sum] = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" 70SRC_URI[generic-array-0.14.7.sha256sum] = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
75SRC_URI[getrandom-0.2.11.sha256sum] = "fe9006bed769170c11f845cf00c7c1e9092aeb3f268e007c3e760ac68008070f" 71SRC_URI[getrandom-0.3.1.sha256sum] = "43a49c392881ce6d5c3b8cb70f98717b7c07aabbdff06687b9030dbfbe2725f8"
76SRC_URI[heck-0.4.1.sha256sum] = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" 72SRC_URI[heck-0.5.0.sha256sum] = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
77SRC_URI[indoc-2.0.4.sha256sum] = "1e186cfbae8084e513daff4240b4797e342f988cecda4fb6c939150f96315fd8" 73SRC_URI[indoc-2.0.5.sha256sum] = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5"
78SRC_URI[inout-0.1.3.sha256sum] = "a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5" 74SRC_URI[inout-0.1.4.sha256sum] = "879f10e63c20629ecabbb64a8010319738c66a5cd0c29b02d63d272b03751d01"
79SRC_URI[libc-0.2.151.sha256sum] = "302d7ab3130588088d277783b1e2d2e10c9e9e4a16dd9050e6ec93fb3e7048f4" 75SRC_URI[libc-0.2.170.sha256sum] = "875b3680cb2f8f71bdcf9a30f38d48282f5d3c95cbf9b3fa57269bb5d5c06828"
80SRC_URI[lock_api-0.4.11.sha256sum] = "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45" 76SRC_URI[memoffset-0.9.1.sha256sum] = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
81SRC_URI[memoffset-0.9.0.sha256sum] = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c" 77SRC_URI[once_cell-1.20.3.sha256sum] = "945462a4b81e43c4e3ba96bd7b49d834c6f61198356aa858733bc4acf3cbe62e"
82SRC_URI[once_cell-1.19.0.sha256sum] = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
83SRC_URI[parking_lot-0.12.1.sha256sum] = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f"
84SRC_URI[parking_lot_core-0.9.9.sha256sum] = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e"
85SRC_URI[pbkdf2-0.12.2.sha256sum] = "f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2" 78SRC_URI[pbkdf2-0.12.2.sha256sum] = "f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2"
86SRC_URI[portable-atomic-1.6.0.sha256sum] = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0" 79SRC_URI[portable-atomic-1.11.0.sha256sum] = "350e9b48cbc6b0e028b0473b114454c6316e57336ee184ceab6e53f72c178b3e"
87SRC_URI[proc-macro2-1.0.70.sha256sum] = "39278fbbf5fb4f646ce651690877f89d1c5811a3d4acb27700c1cb3cdb78fd3b" 80SRC_URI[proc-macro2-1.0.93.sha256sum] = "60946a68e5f9d28b0dc1c21bb8a97ee7d018a8b322fa57838ba31cc878e22d99"
88SRC_URI[pyo3-0.20.3.sha256sum] = "53bdbb96d49157e65d45cc287af5f32ffadd5f4761438b527b055fb0d4bb8233" 81SRC_URI[pyo3-0.23.5.sha256sum] = "7778bffd85cf38175ac1f545509665d0b9b92a198ca7941f131f85f7a4f9a872"
89SRC_URI[pyo3-build-config-0.20.3.sha256sum] = "deaa5745de3f5231ce10517a1f5dd97d53e5a2fd77aa6b5842292085831d48d7" 82SRC_URI[pyo3-build-config-0.23.5.sha256sum] = "94f6cbe86ef3bf18998d9df6e0f3fc1050a8c5efa409bf712e661a4366e010fb"
90SRC_URI[pyo3-ffi-0.20.3.sha256sum] = "62b42531d03e08d4ef1f6e85a2ed422eb678b8cd62b762e53891c05faf0d4afa" 83SRC_URI[pyo3-ffi-0.23.5.sha256sum] = "e9f1b4c431c0bb1c8fb0a338709859eed0d030ff6daa34368d3b152a63dfdd8d"
91SRC_URI[pyo3-macros-0.20.3.sha256sum] = "7305c720fa01b8055ec95e484a6eca7a83c841267f0dd5280f0c8b8551d2c158" 84SRC_URI[pyo3-macros-0.23.5.sha256sum] = "fbc2201328f63c4710f68abdf653c89d8dbc2858b88c5d88b0ff38a75288a9da"
92SRC_URI[pyo3-macros-backend-0.20.3.sha256sum] = "7c7e9b68bb9c3149c5b0cade5d07f953d6d125eb4337723c4ccdb665f1f96185" 85SRC_URI[pyo3-macros-backend-0.23.5.sha256sum] = "fca6726ad0f3da9c9de093d6f116a93c1a38e417ed73bf138472cf4064f72028"
93SRC_URI[quote-1.0.33.sha256sum] = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae" 86SRC_URI[quote-1.0.38.sha256sum] = "0e4dccaaaf89514f546c693ddc140f729f958c247918a13380cccc6078391acc"
94SRC_URI[redox_syscall-0.4.1.sha256sum] = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa"
95SRC_URI[scopeguard-1.2.0.sha256sum] = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
96SRC_URI[sha2-0.10.8.sha256sum] = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" 87SRC_URI[sha2-0.10.8.sha256sum] = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8"
97SRC_URI[smallvec-1.11.2.sha256sum] = "4dccd0940a2dcdf68d092b8cbab7dc0ad8fa938bf95787e1b916b0e3d0e8e970" 88SRC_URI[subtle-2.6.1.sha256sum] = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"
98SRC_URI[subtle-2.5.0.sha256sum] = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc" 89SRC_URI[syn-2.0.98.sha256sum] = "36147f1a48ae0ec2b5b3bc5b537d267457555a10dc06f3dbc8cb11ba3006d3b1"
99SRC_URI[syn-2.0.41.sha256sum] = "44c8b28c477cc3bf0e7966561e3460130e1255f7a1cf71931075f1c5e7a7e269" 90SRC_URI[target-lexicon-0.12.16.sha256sum] = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1"
100SRC_URI[target-lexicon-0.12.12.sha256sum] = "14c39fd04924ca3a864207c66fc2cd7d22d7c016007f9ce846cbb9326331930a" 91SRC_URI[typenum-1.18.0.sha256sum] = "1dccffe3ce07af9386bfd29e80c0ab1a8205a2fc34e4bcd40364df902cfa8f3f"
101SRC_URI[typenum-1.17.0.sha256sum] = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" 92SRC_URI[unicode-ident-1.0.17.sha256sum] = "00e2473a93778eb0bad35909dff6a10d28e63f792f16ed15e404fca9d5eeedbe"
102SRC_URI[unicode-ident-1.0.12.sha256sum] = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
103SRC_URI[unindent-0.2.3.sha256sum] = "c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce" 93SRC_URI[unindent-0.2.3.sha256sum] = "c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce"
104SRC_URI[version_check-0.9.4.sha256sum] = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" 94SRC_URI[version_check-0.9.5.sha256sum] = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
105SRC_URI[wasi-0.11.0+wasi-snapshot-preview1.sha256sum] = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" 95SRC_URI[wasi-0.13.3+wasi-0.2.2.sha256sum] = "26816d2e1a4a36a2940b96c5296ce403917633dff8f3440e9b236ed6f6bacad2"
106SRC_URI[windows-targets-0.48.5.sha256sum] = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" 96SRC_URI[windows-targets-0.52.6.sha256sum] = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
107SRC_URI[windows_aarch64_gnullvm-0.48.5.sha256sum] = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" 97SRC_URI[windows_aarch64_gnullvm-0.52.6.sha256sum] = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
108SRC_URI[windows_aarch64_msvc-0.48.5.sha256sum] = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" 98SRC_URI[windows_aarch64_msvc-0.52.6.sha256sum] = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
109SRC_URI[windows_i686_gnu-0.48.5.sha256sum] = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" 99SRC_URI[windows_i686_gnu-0.52.6.sha256sum] = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
110SRC_URI[windows_i686_msvc-0.48.5.sha256sum] = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" 100SRC_URI[windows_i686_gnullvm-0.52.6.sha256sum] = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
111SRC_URI[windows_x86_64_gnu-0.48.5.sha256sum] = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" 101SRC_URI[windows_i686_msvc-0.52.6.sha256sum] = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
112SRC_URI[windows_x86_64_gnullvm-0.48.5.sha256sum] = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" 102SRC_URI[windows_x86_64_gnu-0.52.6.sha256sum] = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
113SRC_URI[windows_x86_64_msvc-0.48.5.sha256sum] = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" 103SRC_URI[windows_x86_64_gnullvm-0.52.6.sha256sum] = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
114SRC_URI[zeroize-1.7.0.sha256sum] = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d" 104SRC_URI[windows_x86_64_msvc-0.52.6.sha256sum] = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
105SRC_URI[wit-bindgen-rt-0.33.0.sha256sum] = "3268f3d866458b787f390cf61f4bbb563b922d091359f9608842999eaee3943c"
106SRC_URI[zeroize-1.8.1.sha256sum] = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde"
diff --git a/meta/recipes-devtools/python/python3-bcrypt/0001-Bump-pyo3-from-0.20.0-to-0.20.3-in-src-_bcrypt-746.patch b/meta/recipes-devtools/python/python3-bcrypt/0001-Bump-pyo3-from-0.20.0-to-0.20.3-in-src-_bcrypt-746.patch
deleted file mode 100644
index 3f671fcc98..0000000000
--- a/meta/recipes-devtools/python/python3-bcrypt/0001-Bump-pyo3-from-0.20.0-to-0.20.3-in-src-_bcrypt-746.patch
+++ /dev/null
@@ -1,111 +0,0 @@
1From cfdd98b3215cc12e66190a9c7f0a32c052e3c2e7 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 26 Feb 2024 18:26:30 -0800
4Subject: [PATCH] Bump pyo3 from 0.20.0 to 0.20.3 in /src/_bcrypt (#746)
5
6It fixes build on hosts without 64bit atomics
7
8Upstream-Status: Backport [https://github.com/pyca/bcrypt/commit/c2ef9350798ab59b18e8a0e04a01389858578fe0]
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 src/_bcrypt/Cargo.lock | 22 ++++++++++++++--------
12 src/_bcrypt/Cargo.toml | 2 +-
13 2 files changed, 15 insertions(+), 9 deletions(-)
14
15--- a/src/_bcrypt/Cargo.lock
16+++ b/src/_bcrypt/Cargo.lock
17@@ -233,6 +233,12 @@ dependencies = [
18 ]
19
20 [[package]]
21+name = "portable-atomic"
22+version = "1.6.0"
23+source = "registry+https://github.com/rust-lang/crates.io-index"
24+checksum = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0"
25+
26+[[package]]
27 name = "proc-macro2"
28 version = "1.0.70"
29 source = "registry+https://github.com/rust-lang/crates.io-index"
30@@ -243,15 +249,16 @@ dependencies = [
31
32 [[package]]
33 name = "pyo3"
34-version = "0.20.0"
35+version = "0.20.3"
36 source = "registry+https://github.com/rust-lang/crates.io-index"
37-checksum = "04e8453b658fe480c3e70c8ed4e3d3ec33eb74988bd186561b0cc66b85c3bc4b"
38+checksum = "53bdbb96d49157e65d45cc287af5f32ffadd5f4761438b527b055fb0d4bb8233"
39 dependencies = [
40 "cfg-if",
41 "indoc",
42 "libc",
43 "memoffset",
44 "parking_lot",
45+ "portable-atomic",
46 "pyo3-build-config",
47 "pyo3-ffi",
48 "pyo3-macros",
49@@ -260,9 +267,9 @@ dependencies = [
50
51 [[package]]
52 name = "pyo3-build-config"
53-version = "0.20.0"
54+version = "0.20.3"
55 source = "registry+https://github.com/rust-lang/crates.io-index"
56-checksum = "a96fe70b176a89cff78f2fa7b3c930081e163d5379b4dcdf993e3ae29ca662e5"
57+checksum = "deaa5745de3f5231ce10517a1f5dd97d53e5a2fd77aa6b5842292085831d48d7"
58 dependencies = [
59 "once_cell",
60 "target-lexicon",
61@@ -270,9 +277,9 @@ dependencies = [
62
63 [[package]]
64 name = "pyo3-ffi"
65-version = "0.20.0"
66+version = "0.20.3"
67 source = "registry+https://github.com/rust-lang/crates.io-index"
68-checksum = "214929900fd25e6604661ed9cf349727c8920d47deff196c4e28165a6ef2a96b"
69+checksum = "62b42531d03e08d4ef1f6e85a2ed422eb678b8cd62b762e53891c05faf0d4afa"
70 dependencies = [
71 "libc",
72 "pyo3-build-config",
73@@ -280,9 +287,9 @@ dependencies = [
74
75 [[package]]
76 name = "pyo3-macros"
77-version = "0.20.0"
78+version = "0.20.3"
79 source = "registry+https://github.com/rust-lang/crates.io-index"
80-checksum = "dac53072f717aa1bfa4db832b39de8c875b7c7af4f4a6fe93cdbf9264cf8383b"
81+checksum = "7305c720fa01b8055ec95e484a6eca7a83c841267f0dd5280f0c8b8551d2c158"
82 dependencies = [
83 "proc-macro2",
84 "pyo3-macros-backend",
85@@ -292,12 +299,13 @@ dependencies = [
86
87 [[package]]
88 name = "pyo3-macros-backend"
89-version = "0.20.0"
90+version = "0.20.3"
91 source = "registry+https://github.com/rust-lang/crates.io-index"
92-checksum = "7774b5a8282bd4f25f803b1f0d945120be959a36c72e08e7cd031c792fdfd424"
93+checksum = "7c7e9b68bb9c3149c5b0cade5d07f953d6d125eb4337723c4ccdb665f1f96185"
94 dependencies = [
95 "heck",
96 "proc-macro2",
97+ "pyo3-build-config",
98 "quote",
99 "syn",
100 ]
101--- a/src/_bcrypt/Cargo.toml
102+++ b/src/_bcrypt/Cargo.toml
103@@ -6,7 +6,7 @@ edition = "2018"
104 publish = false
105
106 [dependencies]
107-pyo3 = { version = "0.20.0", features = ["abi3"] }
108+pyo3 = { version = "0.20.3", features = ["abi3"] }
109 bcrypt = "0.15"
110 bcrypt-pbkdf = "0.10.0"
111 base64 = "0.21.5"
diff --git a/meta/recipes-devtools/python/python3-bcrypt/run-ptest b/meta/recipes-devtools/python/python3-bcrypt/run-ptest
deleted file mode 100644
index 8d2017d39c..0000000000
--- a/meta/recipes-devtools/python/python3-bcrypt/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@
1#!/bin/sh
2
3pytest --automake
diff --git a/meta/recipes-devtools/python/python3-bcrypt_4.1.2.bb b/meta/recipes-devtools/python/python3-bcrypt_4.1.2.bb
deleted file mode 100644
index 57b08b3700..0000000000
--- a/meta/recipes-devtools/python/python3-bcrypt_4.1.2.bb
+++ /dev/null
@@ -1,36 +0,0 @@
1SUMMARY = "Modern password hashing for your software and your servers."
2LICENSE = "Apache-2.0"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=8f7bb094c7232b058c7e9f2e431f389c"
4HOMEPAGE = "https://pypi.org/project/bcrypt/"
5
6DEPENDS += "python3-cffi-native"
7LDFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', ' -fuse-ld=bfd', '', d)}"
8
9SRC_URI[sha256sum] = "33313a1200a3ae90b75587ceac502b048b840fc69e7f7a0905b5f87fac7a1258"
10
11inherit pypi python_setuptools3_rust ptest-cargo cargo-update-recipe-crates
12
13SRC_URI += " \
14 file://0001-Bump-pyo3-from-0.20.0-to-0.20.3-in-src-_bcrypt-746.patch \
15 file://run-ptest \
16"
17
18CARGO_SRC_DIR = "src/_bcrypt"
19
20require ${BPN}-crates.inc
21
22RDEPENDS:${PN}-ptest += " \
23 python3-pytest \
24 python3-unittest-automake-output \
25"
26
27do_install_ptest() {
28 install -d ${D}${PTEST_PATH}/tests
29 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
30}
31
32RDEPENDS:${PN}:class-target += "\
33 python3-cffi \
34 python3-ctypes \
35 python3-shell \
36"
diff --git a/meta/recipes-devtools/python/python3-bcrypt_4.3.0.bb b/meta/recipes-devtools/python/python3-bcrypt_4.3.0.bb
new file mode 100644
index 0000000000..931aae4310
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-bcrypt_4.3.0.bb
@@ -0,0 +1,21 @@
1SUMMARY = "Modern password hashing for your software and your servers."
2LICENSE = "Apache-2.0"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=8f7bb094c7232b058c7e9f2e431f389c"
4HOMEPAGE = "https://pypi.org/project/bcrypt/"
5
6DEPENDS += "python3-cffi-native"
7LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', '-fuse-ld=bfd', '', d)}"
8
9SRC_URI[sha256sum] = "3a3fd2204178b6d2adcf09cb4f6426ffef54762577a7c9b54c159008cb288c18"
10
11inherit pypi python_setuptools3_rust cargo-update-recipe-crates ptest-python-pytest
12
13CARGO_SRC_DIR = "src/_bcrypt"
14
15require ${BPN}-crates.inc
16
17RDEPENDS:${PN}:class-target += "\
18 python3-cffi \
19 python3-ctypes \
20 python3-shell \
21"
diff --git a/meta/recipes-devtools/python/python3-beartype_0.18.5.bb b/meta/recipes-devtools/python/python3-beartype_0.18.5.bb
deleted file mode 100644
index 04fbd3139f..0000000000
--- a/meta/recipes-devtools/python/python3-beartype_0.18.5.bb
+++ /dev/null
@@ -1,11 +0,0 @@
1SUMMARY = "Unbearably fast runtime type checking in pure Python."
2HOMEPAGE = "https://beartype.readthedocs.io"
3
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=e71f94261c1b39896cacacfeaf60560e"
6
7SRC_URI[sha256sum] = "264ddc2f1da9ec94ff639141fbe33d22e12a9f75aa863b83b7046ffff1381927"
8
9inherit setuptools3 pypi
10
11BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-beartype_0.21.0.bb b/meta/recipes-devtools/python/python3-beartype_0.21.0.bb
new file mode 100644
index 0000000000..43427c1472
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-beartype_0.21.0.bb
@@ -0,0 +1,13 @@
1SUMMARY = "Unbearably fast runtime type checking in pure Python."
2HOMEPAGE = "https://beartype.readthedocs.io"
3
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=3a5bc05a109d235912da97a053cd7a58"
6
7SRC_URI[sha256sum] = "f9a5078f5ce87261c2d22851d19b050b64f6a805439e8793aecf01ce660d3244"
8
9inherit pypi python_hatchling
10
11RDEPENDS:${PN} += "python3-numbers python3-io"
12
13BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-booleanpy_4.0.bb b/meta/recipes-devtools/python/python3-booleanpy_4.0.bb
index 41fd3d960a..4563cb8c4b 100644
--- a/meta/recipes-devtools/python/python3-booleanpy_4.0.bb
+++ b/meta/recipes-devtools/python/python3-booleanpy_4.0.bb
@@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d118b5feceee598ebeca76e13395c2bd"
7SRC_URI[sha256sum] = "17b9a181630e43dde1851d42bef546d616d5d9b4480357514597e78b203d06e4" 7SRC_URI[sha256sum] = "17b9a181630e43dde1851d42bef546d616d5d9b4480357514597e78b203d06e4"
8 8
9PYPI_PACKAGE = "boolean.py" 9PYPI_PACKAGE = "boolean.py"
10UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
10 11
11inherit pypi setuptools3 12inherit pypi setuptools3
12 13
diff --git a/meta/recipes-devtools/python/python3-build_1.2.1.bb b/meta/recipes-devtools/python/python3-build_1.2.2.bb
index 0156861201..8f2ee92060 100644
--- a/meta/recipes-devtools/python/python3-build_1.2.1.bb
+++ b/meta/recipes-devtools/python/python3-build_1.2.2.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/pypa/build"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=310439af287b0fb4780b2ad6907c256c" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=310439af287b0fb4780b2ad6907c256c"
5 5
6SRC_URI[sha256sum] = "526263f4870c26f26c433545579475377b2b7588b6f1eac76a001e873ae3e19d" 6SRC_URI[sha256sum] = "119b2fb462adef986483438377a13b2f42064a2a3a4161f24a0cca698a07ac8c"
7 7
8inherit pypi python_flit_core 8inherit pypi python_flit_core
9 9
diff --git a/meta/recipes-devtools/python/python3-calver/0001-setup.py-hard-code-version.patch b/meta/recipes-devtools/python/python3-calver/0001-setup.py-hard-code-version.patch
deleted file mode 100644
index 43f8a78ef0..0000000000
--- a/meta/recipes-devtools/python/python3-calver/0001-setup.py-hard-code-version.patch
+++ /dev/null
@@ -1,32 +0,0 @@
1From 390a233ed969f82b2ef209b23bfb523e785603f9 Mon Sep 17 00:00:00 2001
2From: Trevor Gamblin <tgamblin@baylibre.com>
3Date: Tue, 9 May 2023 10:19:41 -0400
4Subject: [PATCH] setup.py: hard-code version
5
6setup.py is pulling the build version from the current date rather than
7a release tag or other predictable method, causing reproducibility
8issues in builds. Patch this to make reproducible builds work while
9discussing this with upstream maintainer (or developing a patch that can
10make calver rely on a more standard pyproject.toml solution).
11
12Upstream-Status: Inappropriate (configuration)
13
14Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
15---
16 setup.py | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/setup.py b/setup.py
20index 73f6b10..2e27cf1 100644
21--- a/setup.py
22+++ b/setup.py
23@@ -42,5 +42,5 @@ setup(
24 "use_calver = calver.integration:version",
25 ],
26 },
27- version=calver_version(True),
28+ version=calver_version("2022.6.26"),
29 )
30--
312.40.0
32
diff --git a/meta/recipes-devtools/python/python3-calver/run-ptest b/meta/recipes-devtools/python/python3-calver/run-ptest
deleted file mode 100644
index 8d2017d39c..0000000000
--- a/meta/recipes-devtools/python/python3-calver/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@
1#!/bin/sh
2
3pytest --automake
diff --git a/meta/recipes-devtools/python/python3-calver_2022.6.26.bb b/meta/recipes-devtools/python/python3-calver_2022.6.26.bb
deleted file mode 100644
index 71b5431400..0000000000
--- a/meta/recipes-devtools/python/python3-calver_2022.6.26.bb
+++ /dev/null
@@ -1,28 +0,0 @@
1SUMMARY = "Setuptools extension for CalVer package versions"
2HOMEPAGE = "https://github.com/di/calver"
3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
5
6SRC_URI = " \
7 git://github.com/di/calver;branch=master;protocol=https \
8 file://run-ptest \
9 file://0001-setup.py-hard-code-version.patch \
10"
11SRCREV = "3268d8acf2c345f32a1c5f08ba25dc67f76cca81"
12
13inherit python_setuptools_build_meta ptest
14
15S = "${WORKDIR}/git"
16
17RDEPENDS:${PN}-ptest += " \
18 python3-pretend \
19 python3-pytest \
20 python3-unittest-automake-output \
21"
22
23do_install_ptest() {
24 install -d ${D}${PTEST_PATH}/tests
25 cp -rf ${S}/tests ${D}${PTEST_PATH}/
26}
27
28BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-calver_2025.04.17.bb b/meta/recipes-devtools/python/python3-calver_2025.04.17.bb
new file mode 100644
index 0000000000..85ad18701c
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-calver_2025.04.17.bb
@@ -0,0 +1,15 @@
1SUMMARY = "Setuptools extension for CalVer package versions"
2HOMEPAGE = "https://github.com/di/calver"
3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
5
6SRC_URI = "git://github.com/di/calver;branch=master;protocol=https;tag=${PV}"
7SRCREV = "3b74bdce35f2814eb2b65db39a133d5c849ddea7"
8
9inherit python_setuptools_build_meta ptest-python-pytest
10
11RDEPENDS:${PN}-ptest += " \
12 python3-pretend \
13"
14
15BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-certifi_2024.2.2.bb b/meta/recipes-devtools/python/python3-certifi_2025.6.15.bb
index 4e61b8d9d4..e8ad8da486 100644
--- a/meta/recipes-devtools/python/python3-certifi_2024.2.2.bb
+++ b/meta/recipes-devtools/python/python3-certifi_2025.6.15.bb
@@ -7,9 +7,9 @@ HOMEPAGE = " http://certifi.io/"
7LICENSE = "ISC" 7LICENSE = "ISC"
8LIC_FILES_CHKSUM = "file://LICENSE;md5=11618cb6a975948679286b1211bd573c" 8LIC_FILES_CHKSUM = "file://LICENSE;md5=11618cb6a975948679286b1211bd573c"
9 9
10SRC_URI[sha256sum] = "0569859f95fc761b18b45ef421b1290a0f65f147e92a1e5eb3e635f9a5e4e66f" 10SRC_URI[sha256sum] = "d747aa5a8b9bbbb1bb8c22bb13e22bd1f18e9796defa16bab421f7f7a317323b"
11 11
12inherit pypi setuptools3 12inherit pypi python_setuptools_build_meta
13 13
14BBCLASSEXTEND = "native nativesdk" 14BBCLASSEXTEND = "native nativesdk"
15 15
diff --git a/meta/recipes-devtools/python/python3-cffi/0001-Cast-offset-to-size_t-to-avoid-c-11-narrowing-warnin.patch b/meta/recipes-devtools/python/python3-cffi/0001-Cast-offset-to-size_t-to-avoid-c-11-narrowing-warnin.patch
new file mode 100644
index 0000000000..a919f4f6fb
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-cffi/0001-Cast-offset-to-size_t-to-avoid-c-11-narrowing-warnin.patch
@@ -0,0 +1,34 @@
1From 2ac63f8765e62f1492ef3ee06791636700bc6cfb Mon Sep 17 00:00:00 2001
2From: triallax <triallax@tutanota.com>
3Date: Sat, 29 Jun 2024 15:25:24 +0100
4Subject: [PATCH] Cast offset to size_t to avoid c++11-narrowing warning (#92)
5
6e.g. with clang 18 on chimera linux:
7
8_CFFI_test_verify_anonymous_struct_with_star_typedef.cpp:583:10: error: non-constant-expression cannot be narrowed from type 'long' to 'size_t' (aka 'unsigned long') in initializer list [-Wc++11-narrowing]
9 583 | { "a", ((char *)&((foo_t)4096)->a) - (char *)4096,
10 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11_CFFI_test_verify_anonymous_struct_with_star_typedef.cpp:583:10: note: insert an explicit cast to silence this issue
12 583 | { "a", ((char *)&((foo_t)4096)->a) - (char *)4096,
13 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
14 | static_cast<size_t>( )
15
16Upstream-Status: Backport [https://github.com/python-cffi/cffi/pull/92]
17Signed-off-by: Khem Raj <raj.khem@gmail.com>
18---
19 src/cffi/recompiler.py | 2 +-
20 1 file changed, 1 insertion(+), 1 deletion(-)
21
22diff --git a/src/cffi/recompiler.py b/src/cffi/recompiler.py
23index ac6c163e..14d578ee 100644
24--- a/src/cffi/recompiler.py
25+++ b/src/cffi/recompiler.py
26@@ -953,7 +953,7 @@ class Recompiler:
27 if cname is None or fbitsize >= 0:
28 offset = '(size_t)-1'
29 elif named_ptr is not None:
30- offset = '((char *)&((%s)4096)->%s) - (char *)4096' % (
31+ offset = '(size_t)(((char *)&((%s)4096)->%s) - (char *)4096)' % (
32 named_ptr.name, fldname)
33 else:
34 offset = 'offsetof(%s, %s)' % (tp.get_c_name(''), fldname)
diff --git a/meta/recipes-devtools/python/python3-cffi/run-ptest b/meta/recipes-devtools/python/python3-cffi/run-ptest
new file mode 100644
index 0000000000..24ee6f2156
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-cffi/run-ptest
@@ -0,0 +1,7 @@
1#!/bin/sh
2
3# test_passing_large_list often causes an OOM, skip for now
4
5# test_version verifies that versions match across the source tree, ignore
6# as we don't have a source tree
7pytest --automake -k 'not test_passing_large_list and not test_version'
diff --git a/meta/recipes-devtools/python/python3-cffi_1.16.0.bb b/meta/recipes-devtools/python/python3-cffi_1.16.0.bb
deleted file mode 100644
index c5f6578ab2..0000000000
--- a/meta/recipes-devtools/python/python3-cffi_1.16.0.bb
+++ /dev/null
@@ -1,18 +0,0 @@
1SUMMARY = "Foreign Function Interface for Python calling C code"
2HOMEPAGE = "http://cffi.readthedocs.org/"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=5677e2fdbf7cdda61d6dd2b57df547bf"
5DEPENDS += "libffi python3-pycparser"
6
7SRC_URI[sha256sum] = "bcb3ef43e58665bbda2fb198698fcae6776483e0c4a631aa5647806c25e02cc0"
8
9inherit pypi setuptools3
10
11RDEPENDS:${PN}:class-target = " \
12 python3-ctypes \
13 python3-io \
14 python3-pycparser \
15 python3-shell \
16"
17
18BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-cffi_1.17.1.bb b/meta/recipes-devtools/python/python3-cffi_1.17.1.bb
new file mode 100644
index 0000000000..5a3af03d9f
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-cffi_1.17.1.bb
@@ -0,0 +1,39 @@
1SUMMARY = "Foreign Function Interface for Python calling C code"
2HOMEPAGE = "http://cffi.readthedocs.org/"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=5677e2fdbf7cdda61d6dd2b57df547bf"
5DEPENDS += "libffi python3-pycparser"
6
7SRC_URI[sha256sum] = "1c39c6016c32bc48dd54561950ebd6836e1670f2ae46128f67cf49e789c52824"
8
9SRC_URI += "file://run-ptest \
10 file://0001-Cast-offset-to-size_t-to-avoid-c-11-narrowing-warnin.patch"
11
12inherit pypi python_setuptools_build_meta ptest pkgconfig
13
14do_install_ptest() {
15 cp -r ${S}/testing ${D}${PTEST_PATH}
16 # These two files from the source tree are needed by the tests
17 install -D -m644 ${S}/src/c/parse_c_type.c ${D}${PTEST_PATH}/src/c/parse_c_type.c
18 install -D -m644 ${S}/src/cffi/parse_c_type.h ${D}${PTEST_PATH}/src/cffi/parse_c_type.h
19}
20
21RDEPENDS:${PN} = " \
22 python3-ctypes \
23 python3-io \
24 python3-pycparser \
25 python3-setuptools \
26 python3-shell \
27"
28
29RDEPENDS:${PN}-ptest += " \
30 python3-pytest \
31 python3-unittest-automake-output \
32 python3-dev \
33 gcc-symlinks \
34 g++-symlinks \
35"
36
37INSANE_SKIP:${PN}-ptest = "dev-deps"
38
39BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-chardet_5.2.0.bb b/meta/recipes-devtools/python/python3-chardet_5.2.0.bb
index ed792b1c7e..9acbeeb3f2 100644
--- a/meta/recipes-devtools/python/python3-chardet_5.2.0.bb
+++ b/meta/recipes-devtools/python/python3-chardet_5.2.0.bb
@@ -5,9 +5,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c"
5 5
6SRC_URI[sha256sum] = "1b3b6ff479a8c414bc3fa2c0852995695c4a026dcd6d0633b2dd092ca39c1cf7" 6SRC_URI[sha256sum] = "1b3b6ff479a8c414bc3fa2c0852995695c4a026dcd6d0633b2dd092ca39c1cf7"
7 7
8# setup.py of chardet needs this.
9DEPENDS += "python3-pytest-runner-native"
10
11inherit pypi python_setuptools_build_meta 8inherit pypi python_setuptools_build_meta
12 9
13PACKAGES =+ "${PN}-cli" 10PACKAGES =+ "${PN}-cli"
diff --git a/meta/recipes-devtools/python/python3-click/run-ptest b/meta/recipes-devtools/python/python3-click/run-ptest
deleted file mode 100644
index b63c4de0d9..0000000000
--- a/meta/recipes-devtools/python/python3-click/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@
1#!/bin/sh
2
3pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
diff --git a/meta/recipes-devtools/python/python3-click_8.1.7.bb b/meta/recipes-devtools/python/python3-click_8.1.8.bb
index 7d91e1af83..7be3d73546 100644
--- a/meta/recipes-devtools/python/python3-click_8.1.7.bb
+++ b/meta/recipes-devtools/python/python3-click_8.1.8.bb
@@ -6,13 +6,11 @@ Line Interface Creation Kit". It's highly configurable but comes with \
6sensible defaults out of the box." 6sensible defaults out of the box."
7HOMEPAGE = "http://click.pocoo.org/" 7HOMEPAGE = "http://click.pocoo.org/"
8LICENSE = "BSD-3-Clause" 8LICENSE = "BSD-3-Clause"
9LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=1fa98232fd645608937a0fdc82e999b8" 9LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=1fa98232fd645608937a0fdc82e999b8"
10 10
11SRC_URI[sha256sum] = "ca9853ad459e787e2192211578cc907e7594e294c7ccc834310722b41b9ca6de" 11SRC_URI[sha256sum] = "ed53c9d8990d83c2a27deae68e4ee337473f6330c040a31d4225c9574d16096a"
12 12
13inherit pypi setuptools3 ptest 13inherit pypi python_flit_core ptest-python-pytest
14
15SRC_URI += "file://run-ptest"
16 14
17RDEPENDS:${PN}-ptest += " \ 15RDEPENDS:${PN}-ptest += " \
18 python3-pytest \ 16 python3-pytest \
@@ -20,15 +18,11 @@ RDEPENDS:${PN}-ptest += " \
20 python3-unixadmin \ 18 python3-unixadmin \
21" 19"
22 20
23do_install_ptest() { 21do_install_ptest:append() {
24 install -d ${D}${PTEST_PATH}/tests 22 cp -rf ${S}/pyproject.toml ${D}${PTEST_PATH}/
25 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
26 cp -rf ${S}/setup.cfg ${D}${PTEST_PATH}/
27 cp -rf ${S}/docs ${D}${PTEST_PATH}/ 23 cp -rf ${S}/docs ${D}${PTEST_PATH}/
28} 24}
29 25
30UPSTREAM_CHECK_REGEX = "click/(?P<pver>\d+(\.\d+)+)/"
31
32CLEANBROKEN = "1" 26CLEANBROKEN = "1"
33 27
34RDEPENDS:${PN} += "\ 28RDEPENDS:${PN} += "\
diff --git a/meta/recipes-devtools/python/python3-colorama_0.4.6.bb b/meta/recipes-devtools/python/python3-colorama_0.4.6.bb
new file mode 100644
index 0000000000..c33310b969
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-colorama_0.4.6.bb
@@ -0,0 +1,10 @@
1SUMMARY = "Cross-platform colored terminal text."
2HOMEPAGE = "https://github.com/tartley/colorama"
3LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b4936429a56a652b84c5c01280dcaa26"
5
6inherit pypi python_hatchling
7
8SRC_URI[sha256sum] = "08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"
9
10BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-cryptography-common.inc b/meta/recipes-devtools/python/python3-cryptography-common.inc
new file mode 100644
index 0000000000..5ce2485ed5
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-cryptography-common.inc
@@ -0,0 +1,6 @@
1# Sharing PV between cryptography and cryptography-vectors will
2# ensure that updating one but not the other will cause a build error.
3#
4# Additionally AUH will detect that they share this .inc file and
5# perform a lockstep upgrade for both.
6PV = "45.0.4"
diff --git a/meta/recipes-devtools/python/python3-cryptography-crates.inc b/meta/recipes-devtools/python/python3-cryptography-crates.inc
index b26e22b70c..e178790448 100644
--- a/meta/recipes-devtools/python/python3-cryptography-crates.inc
+++ b/meta/recipes-devtools/python/python3-cryptography-crates.inc
@@ -1,102 +1,76 @@
1# Autogenerated with 'bitbake -c update_crates python3-cryptography' 1# Autogenerated with 'bitbake -c update_crates python3-cryptography'
2 2
3# from src/rust/Cargo.lock 3# from Cargo.lock
4SRC_URI += " \ 4SRC_URI += " \
5 crate://crates.io/asn1/0.15.5 \ 5 crate://crates.io/asn1/0.21.3 \
6 crate://crates.io/asn1_derive/0.15.5 \ 6 crate://crates.io/asn1_derive/0.21.3 \
7 crate://crates.io/autocfg/1.1.0 \ 7 crate://crates.io/autocfg/1.4.0 \
8 crate://crates.io/base64/0.21.7 \ 8 crate://crates.io/base64/0.22.1 \
9 crate://crates.io/bitflags/1.3.2 \ 9 crate://crates.io/bitflags/2.9.1 \
10 crate://crates.io/bitflags/2.4.2 \ 10 crate://crates.io/cc/1.2.23 \
11 crate://crates.io/cc/1.0.83 \
12 crate://crates.io/cfg-if/1.0.0 \ 11 crate://crates.io/cfg-if/1.0.0 \
13 crate://crates.io/foreign-types/0.3.2 \ 12 crate://crates.io/foreign-types/0.3.2 \
14 crate://crates.io/foreign-types-shared/0.1.1 \ 13 crate://crates.io/foreign-types-shared/0.1.1 \
15 crate://crates.io/heck/0.4.1 \ 14 crate://crates.io/heck/0.5.0 \
16 crate://crates.io/indoc/2.0.4 \ 15 crate://crates.io/indoc/2.0.6 \
17 crate://crates.io/libc/0.2.152 \ 16 crate://crates.io/itoa/1.0.15 \
18 crate://crates.io/lock_api/0.4.11 \ 17 crate://crates.io/libc/0.2.172 \
19 crate://crates.io/memoffset/0.9.0 \ 18 crate://crates.io/memoffset/0.9.1 \
20 crate://crates.io/once_cell/1.19.0 \ 19 crate://crates.io/once_cell/1.21.3 \
21 crate://crates.io/openssl/0.10.63 \ 20 crate://crates.io/openssl/0.10.72 \
22 crate://crates.io/openssl-macros/0.1.1 \ 21 crate://crates.io/openssl-macros/0.1.1 \
23 crate://crates.io/openssl-sys/0.9.99 \ 22 crate://crates.io/openssl-sys/0.9.108 \
24 crate://crates.io/parking_lot/0.12.1 \ 23 crate://crates.io/pem/3.0.5 \
25 crate://crates.io/parking_lot_core/0.9.9 \ 24 crate://crates.io/pkg-config/0.3.32 \
26 crate://crates.io/pem/3.0.3 \ 25 crate://crates.io/portable-atomic/1.11.0 \
27 crate://crates.io/pkg-config/0.3.29 \ 26 crate://crates.io/proc-macro2/1.0.95 \
28 crate://crates.io/portable-atomic/1.6.0 \ 27 crate://crates.io/pyo3/0.25.0 \
29 crate://crates.io/proc-macro2/1.0.78 \ 28 crate://crates.io/pyo3-build-config/0.25.0 \
30 crate://crates.io/pyo3/0.20.3 \ 29 crate://crates.io/pyo3-ffi/0.25.0 \
31 crate://crates.io/pyo3-build-config/0.20.3 \ 30 crate://crates.io/pyo3-macros/0.25.0 \
32 crate://crates.io/pyo3-ffi/0.20.3 \ 31 crate://crates.io/pyo3-macros-backend/0.25.0 \
33 crate://crates.io/pyo3-macros/0.20.3 \ 32 crate://crates.io/quote/1.0.40 \
34 crate://crates.io/pyo3-macros-backend/0.20.3 \ 33 crate://crates.io/self_cell/1.2.0 \
35 crate://crates.io/quote/1.0.35 \ 34 crate://crates.io/shlex/1.3.0 \
36 crate://crates.io/redox_syscall/0.4.1 \ 35 crate://crates.io/syn/2.0.101 \
37 crate://crates.io/scopeguard/1.2.0 \ 36 crate://crates.io/target-lexicon/0.13.2 \
38 crate://crates.io/self_cell/1.0.3 \ 37 crate://crates.io/unicode-ident/1.0.18 \
39 crate://crates.io/smallvec/1.13.1 \ 38 crate://crates.io/unindent/0.2.4 \
40 crate://crates.io/syn/2.0.48 \
41 crate://crates.io/target-lexicon/0.12.13 \
42 crate://crates.io/unicode-ident/1.0.12 \
43 crate://crates.io/unindent/0.2.3 \
44 crate://crates.io/vcpkg/0.2.15 \ 39 crate://crates.io/vcpkg/0.2.15 \
45 crate://crates.io/windows-targets/0.48.5 \
46 crate://crates.io/windows_aarch64_gnullvm/0.48.5 \
47 crate://crates.io/windows_aarch64_msvc/0.48.5 \
48 crate://crates.io/windows_i686_gnu/0.48.5 \
49 crate://crates.io/windows_i686_msvc/0.48.5 \
50 crate://crates.io/windows_x86_64_gnu/0.48.5 \
51 crate://crates.io/windows_x86_64_gnullvm/0.48.5 \
52 crate://crates.io/windows_x86_64_msvc/0.48.5 \
53" 40"
54 41
55SRC_URI[asn1-0.15.5.sha256sum] = "ae3ecbce89a22627b5e8e6e11d69715617138290289e385cde773b1fe50befdb" 42SRC_URI[asn1-0.21.3.sha256sum] = "2d9c3502a6f1b50a2c69b97b71638a81ad3b21b9874604880401b9b2b0bf758f"
56SRC_URI[asn1_derive-0.15.5.sha256sum] = "861af988fac460ac69a09f41e6217a8fb9178797b76fcc9478444be6a59be19c" 43SRC_URI[asn1_derive-0.21.3.sha256sum] = "1766ebcb519d8dd186d60dfa912571edcaa2c1f995e2e56643a261a87df69a61"
57SRC_URI[autocfg-1.1.0.sha256sum] = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" 44SRC_URI[autocfg-1.4.0.sha256sum] = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
58SRC_URI[base64-0.21.7.sha256sum] = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" 45SRC_URI[base64-0.22.1.sha256sum] = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
59SRC_URI[bitflags-1.3.2.sha256sum] = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" 46SRC_URI[bitflags-2.9.1.sha256sum] = "1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967"
60SRC_URI[bitflags-2.4.2.sha256sum] = "ed570934406eb16438a4e976b1b4500774099c13b8cb96eec99f620f05090ddf" 47SRC_URI[cc-1.2.23.sha256sum] = "5f4ac86a9e5bc1e2b3449ab9d7d3a6a405e3d1bb28d7b9be8614f55846ae3766"
61SRC_URI[cc-1.0.83.sha256sum] = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0"
62SRC_URI[cfg-if-1.0.0.sha256sum] = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 48SRC_URI[cfg-if-1.0.0.sha256sum] = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
63SRC_URI[foreign-types-0.3.2.sha256sum] = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" 49SRC_URI[foreign-types-0.3.2.sha256sum] = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1"
64SRC_URI[foreign-types-shared-0.1.1.sha256sum] = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" 50SRC_URI[foreign-types-shared-0.1.1.sha256sum] = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
65SRC_URI[heck-0.4.1.sha256sum] = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" 51SRC_URI[heck-0.5.0.sha256sum] = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
66SRC_URI[indoc-2.0.4.sha256sum] = "1e186cfbae8084e513daff4240b4797e342f988cecda4fb6c939150f96315fd8" 52SRC_URI[indoc-2.0.6.sha256sum] = "f4c7245a08504955605670dbf141fceab975f15ca21570696aebe9d2e71576bd"
67SRC_URI[libc-0.2.152.sha256sum] = "13e3bf6590cbc649f4d1a3eefc9d5d6eb746f5200ffb04e5e142700b8faa56e7" 53SRC_URI[itoa-1.0.15.sha256sum] = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
68SRC_URI[lock_api-0.4.11.sha256sum] = "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45" 54SRC_URI[libc-0.2.172.sha256sum] = "d750af042f7ef4f724306de029d18836c26c1765a54a6a3f094cbd23a7267ffa"
69SRC_URI[memoffset-0.9.0.sha256sum] = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c" 55SRC_URI[memoffset-0.9.1.sha256sum] = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
70SRC_URI[once_cell-1.19.0.sha256sum] = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" 56SRC_URI[once_cell-1.21.3.sha256sum] = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
71SRC_URI[openssl-0.10.63.sha256sum] = "15c9d69dd87a29568d4d017cfe8ec518706046a05184e5aea92d0af890b803c8" 57SRC_URI[openssl-0.10.72.sha256sum] = "fedfea7d58a1f73118430a55da6a286e7b044961736ce96a16a17068ea25e5da"
72SRC_URI[openssl-macros-0.1.1.sha256sum] = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" 58SRC_URI[openssl-macros-0.1.1.sha256sum] = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c"
73SRC_URI[openssl-sys-0.9.99.sha256sum] = "22e1bf214306098e4832460f797824c05d25aacdf896f64a985fb0fd992454ae" 59SRC_URI[openssl-sys-0.9.108.sha256sum] = "e145e1651e858e820e4860f7b9c5e169bc1d8ce1c86043be79fa7b7634821847"
74SRC_URI[parking_lot-0.12.1.sha256sum] = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" 60SRC_URI[pem-3.0.5.sha256sum] = "38af38e8470ac9dee3ce1bae1af9c1671fffc44ddfd8bd1d0a3445bf349a8ef3"
75SRC_URI[parking_lot_core-0.9.9.sha256sum] = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e" 61SRC_URI[pkg-config-0.3.32.sha256sum] = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c"
76SRC_URI[pem-3.0.3.sha256sum] = "1b8fcc794035347fb64beda2d3b462595dd2753e3f268d89c5aae77e8cf2c310" 62SRC_URI[portable-atomic-1.11.0.sha256sum] = "350e9b48cbc6b0e028b0473b114454c6316e57336ee184ceab6e53f72c178b3e"
77SRC_URI[pkg-config-0.3.29.sha256sum] = "2900ede94e305130c13ddd391e0ab7cbaeb783945ae07a279c268cb05109c6cb" 63SRC_URI[proc-macro2-1.0.95.sha256sum] = "02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778"
78SRC_URI[portable-atomic-1.6.0.sha256sum] = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0" 64SRC_URI[pyo3-0.25.0.sha256sum] = "f239d656363bcee73afef85277f1b281e8ac6212a1d42aa90e55b90ed43c47a4"
79SRC_URI[proc-macro2-1.0.78.sha256sum] = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae" 65SRC_URI[pyo3-build-config-0.25.0.sha256sum] = "755ea671a1c34044fa165247aaf6f419ca39caa6003aee791a0df2713d8f1b6d"
80SRC_URI[pyo3-0.20.3.sha256sum] = "53bdbb96d49157e65d45cc287af5f32ffadd5f4761438b527b055fb0d4bb8233" 66SRC_URI[pyo3-ffi-0.25.0.sha256sum] = "fc95a2e67091e44791d4ea300ff744be5293f394f1bafd9f78c080814d35956e"
81SRC_URI[pyo3-build-config-0.20.3.sha256sum] = "deaa5745de3f5231ce10517a1f5dd97d53e5a2fd77aa6b5842292085831d48d7" 67SRC_URI[pyo3-macros-0.25.0.sha256sum] = "a179641d1b93920829a62f15e87c0ed791b6c8db2271ba0fd7c2686090510214"
82SRC_URI[pyo3-ffi-0.20.3.sha256sum] = "62b42531d03e08d4ef1f6e85a2ed422eb678b8cd62b762e53891c05faf0d4afa" 68SRC_URI[pyo3-macros-backend-0.25.0.sha256sum] = "9dff85ebcaab8c441b0e3f7ae40a6963ecea8a9f5e74f647e33fcf5ec9a1e89e"
83SRC_URI[pyo3-macros-0.20.3.sha256sum] = "7305c720fa01b8055ec95e484a6eca7a83c841267f0dd5280f0c8b8551d2c158" 69SRC_URI[quote-1.0.40.sha256sum] = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d"
84SRC_URI[pyo3-macros-backend-0.20.3.sha256sum] = "7c7e9b68bb9c3149c5b0cade5d07f953d6d125eb4337723c4ccdb665f1f96185" 70SRC_URI[self_cell-1.2.0.sha256sum] = "0f7d95a54511e0c7be3f51e8867aa8cf35148d7b9445d44de2f943e2b206e749"
85SRC_URI[quote-1.0.35.sha256sum] = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef" 71SRC_URI[shlex-1.3.0.sha256sum] = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
86SRC_URI[redox_syscall-0.4.1.sha256sum] = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" 72SRC_URI[syn-2.0.101.sha256sum] = "8ce2b7fc941b3a24138a0a7cf8e858bfc6a992e7978a068a5c760deb0ed43caf"
87SRC_URI[scopeguard-1.2.0.sha256sum] = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" 73SRC_URI[target-lexicon-0.13.2.sha256sum] = "e502f78cdbb8ba4718f566c418c52bc729126ffd16baee5baa718cf25dd5a69a"
88SRC_URI[self_cell-1.0.3.sha256sum] = "58bf37232d3bb9a2c4e641ca2a11d83b5062066f88df7fed36c28772046d65ba" 74SRC_URI[unicode-ident-1.0.18.sha256sum] = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512"
89SRC_URI[smallvec-1.13.1.sha256sum] = "e6ecd384b10a64542d77071bd64bd7b231f4ed5940fba55e98c3de13824cf3d7" 75SRC_URI[unindent-0.2.4.sha256sum] = "7264e107f553ccae879d21fbea1d6724ac785e8c3bfc762137959b5802826ef3"
90SRC_URI[syn-2.0.48.sha256sum] = "0f3531638e407dfc0814761abb7c00a5b54992b849452a0646b7f65c9f770f3f"
91SRC_URI[target-lexicon-0.12.13.sha256sum] = "69758bda2e78f098e4ccb393021a0963bb3442eac05f135c30f61b7370bbafae"
92SRC_URI[unicode-ident-1.0.12.sha256sum] = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
93SRC_URI[unindent-0.2.3.sha256sum] = "c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce"
94SRC_URI[vcpkg-0.2.15.sha256sum] = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" 76SRC_URI[vcpkg-0.2.15.sha256sum] = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
95SRC_URI[windows-targets-0.48.5.sha256sum] = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"
96SRC_URI[windows_aarch64_gnullvm-0.48.5.sha256sum] = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
97SRC_URI[windows_aarch64_msvc-0.48.5.sha256sum] = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
98SRC_URI[windows_i686_gnu-0.48.5.sha256sum] = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
99SRC_URI[windows_i686_msvc-0.48.5.sha256sum] = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
100SRC_URI[windows_x86_64_gnu-0.48.5.sha256sum] = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
101SRC_URI[windows_x86_64_gnullvm-0.48.5.sha256sum] = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
102SRC_URI[windows_x86_64_msvc-0.48.5.sha256sum] = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
diff --git a/meta/recipes-devtools/python/python3-cryptography-vectors_42.0.5.bb b/meta/recipes-devtools/python/python3-cryptography-vectors.bb
index ee522af08e..a8f8d0cd17 100644
--- a/meta/recipes-devtools/python/python3-cryptography-vectors_42.0.5.bb
+++ b/meta/recipes-devtools/python/python3-cryptography-vectors.bb
@@ -8,10 +8,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4 \
8 8
9# NOTE: Make sure to keep this recipe at the same version as python3-cryptography 9# NOTE: Make sure to keep this recipe at the same version as python3-cryptography
10# Upgrade both recipes at the same time 10# Upgrade both recipes at the same time
11 11require python3-cryptography-common.inc
12SRC_URI[sha256sum] = "505cd5e3b0cb32da1526f07042b7fc38a4b6c356710cb73d2b5f76b037a38ed1" 12SRC_URI[sha256sum] = "fbb0408df8ff2d2b3dbd2928bc5b7feebfdd36fb092fa8790d5778a9b9a1f9ef"
13 13
14PYPI_PACKAGE = "cryptography_vectors" 14PYPI_PACKAGE = "cryptography_vectors"
15UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
15 16
16inherit pypi python_setuptools_build_meta 17inherit pypi python_setuptools_build_meta
17 18
@@ -19,13 +20,4 @@ DEPENDS += " \
19 python3-cryptography \ 20 python3-cryptography \
20" 21"
21 22
22do_install:append () {
23 # Remove the sha256 checksum lines for pycache files
24 sed ${D}${PYTHON_SITEPACKAGES_DIR}/cryptography_vectors-${PV}.dist-info/RECORD -e '/__pycache__/d' -i
25}
26
27BBCLASSEXTEND = "native nativesdk" 23BBCLASSEXTEND = "native nativesdk"
28
29UPSTREAM_CHECK_REGEX = ""
30
31RECIPE_NO_UPDATE_REASON = "Must be updated in sync with python3-cryptography."
diff --git a/meta/recipes-devtools/python/python3-cryptography_42.0.5.bb b/meta/recipes-devtools/python/python3-cryptography.bb
index 732f925d92..f41e13f4a1 100644
--- a/meta/recipes-devtools/python/python3-cryptography_42.0.5.bb
+++ b/meta/recipes-devtools/python/python3-cryptography.bb
@@ -8,7 +8,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4 \
8 " 8 "
9LDSHARED += "-pthread" 9LDSHARED += "-pthread"
10 10
11SRC_URI[sha256sum] = "6fe07eec95dfd477eb9530aef5bead34fec819b3aaf6c5bd6d20565da607bfe1" 11# NOTE: Make sure to keep this recipe at the same version as python3-cryptography-vectors
12# Upgrade both recipes at the same time
13require python3-cryptography-common.inc
14SRC_URI[sha256sum] = "7405ade85c83c37682c8fe65554759800a4a8c54b2d96e0f8ad114d31b808d57"
12 15
13SRC_URI += "file://0001-pyproject.toml-remove-benchmark-disable-option.patch \ 16SRC_URI += "file://0001-pyproject.toml-remove-benchmark-disable-option.patch \
14 file://check-memfree.py \ 17 file://check-memfree.py \
@@ -17,7 +20,7 @@ SRC_URI += "file://0001-pyproject.toml-remove-benchmark-disable-option.patch \
17 20
18require ${BPN}-crates.inc 21require ${BPN}-crates.inc
19 22
20inherit pypi python_setuptools3_rust cargo-update-recipe-crates pkgconfig 23inherit pypi python_maturin cargo-update-recipe-crates pkgconfig
21 24
22DEPENDS += " \ 25DEPENDS += " \
23 python3-cffi-native \ 26 python3-cffi-native \
@@ -49,7 +52,7 @@ RDEPENDS:${PN}-ptest += " \
49inherit ptest 52inherit ptest
50 53
51do_install_ptest() { 54do_install_ptest() {
52 install -D ${WORKDIR}/check-memfree.py ${D}${PTEST_PATH}/ 55 install -D ${UNPACKDIR}/check-memfree.py ${D}${PTEST_PATH}/
53 install -d ${D}${PTEST_PATH}/tests 56 install -d ${D}${PTEST_PATH}/tests
54 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ 57 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
55 # remove test_x509.py as it needs benchmark and we don't 58 # remove test_x509.py as it needs benchmark and we don't
diff --git a/meta/recipes-devtools/python/python3-cryptography/0001-pyproject.toml-remove-benchmark-disable-option.patch b/meta/recipes-devtools/python/python3-cryptography/0001-pyproject.toml-remove-benchmark-disable-option.patch
index f9c8d1393d..e238717208 100644
--- a/meta/recipes-devtools/python/python3-cryptography/0001-pyproject.toml-remove-benchmark-disable-option.patch
+++ b/meta/recipes-devtools/python/python3-cryptography/0001-pyproject.toml-remove-benchmark-disable-option.patch
@@ -1,4 +1,4 @@
1From b7dd3ce1d75d1e6255e1aca82aa7f401d4246a75 Mon Sep 17 00:00:00 2001 1From baa3c56b87ceaea331811a0a4642991cbb12e6ea Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com> 2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Tue, 17 May 2022 17:22:48 +0800 3Date: Tue, 17 May 2022 17:22:48 +0800
4Subject: [PATCH] pyproject.toml: remove --benchmark-disable option 4Subject: [PATCH] pyproject.toml: remove --benchmark-disable option
@@ -26,11 +26,11 @@ Signed-off-by: Tim Orling <tim.orling@konsulko.com>
26 1 file changed, 1 insertion(+), 1 deletion(-) 26 1 file changed, 1 insertion(+), 1 deletion(-)
27 27
28diff --git a/pyproject.toml b/pyproject.toml 28diff --git a/pyproject.toml b/pyproject.toml
29index c9a7979bd..dec4b7157 100644 29index d9ef704..878b720 100644
30--- a/pyproject.toml 30--- a/pyproject.toml
31+++ b/pyproject.toml 31+++ b/pyproject.toml
32@@ -92,7 +92,7 @@ rust-version = ">=1.63.0" 32@@ -129,7 +129,7 @@ exclude = [
33 33 ]
34 34
35 [tool.pytest.ini_options] 35 [tool.pytest.ini_options]
36-addopts = "-r s --capture=no --strict-markers --benchmark-disable" 36-addopts = "-r s --capture=no --strict-markers --benchmark-disable"
@@ -38,6 +38,3 @@ index c9a7979bd..dec4b7157 100644
38 console_output_style = "progress-even-when-capture-no" 38 console_output_style = "progress-even-when-capture-no"
39 markers = [ 39 markers = [
40 "skip_fips: this test is not executed in FIPS mode", 40 "skip_fips: this test is not executed in FIPS mode",
41--
422.34.1
43
diff --git a/meta/recipes-devtools/python/python3-cython_3.0.10.bb b/meta/recipes-devtools/python/python3-cython_3.0.10.bb
deleted file mode 100644
index 07638d7ad7..0000000000
--- a/meta/recipes-devtools/python/python3-cython_3.0.10.bb
+++ /dev/null
@@ -1,37 +0,0 @@
1inherit setuptools3
2require python-cython.inc
3
4RDEPENDS:${PN} += "\
5 python3-setuptools \
6"
7
8# running build_ext a second time during install fails, because Python
9# would then attempt to import cythonized modules built for the target
10# architecture.
11SETUPTOOLS_INSTALL_ARGS += "--skip-build"
12
13do_install:append() {
14 # rename scripts that would conflict with the Python 2 build of Cython
15 mv ${D}${bindir}/cython ${D}${bindir}/cython3
16 mv ${D}${bindir}/cythonize ${D}${bindir}/cythonize3
17 mv ${D}${bindir}/cygdb ${D}${bindir}/cygdb3
18}
19
20PACKAGESPLITFUNCS =+ "cython_fix_sources"
21
22cython_fix_sources () {
23 for f in ${PKGD}${TARGET_DBGSRC_DIR}/Cython/Compiler/FlowControl.c \
24 ${PKGD}${TARGET_DBGSRC_DIR}/Cython/Compiler/FusedNode.c \
25 ${PKGD}${TARGET_DBGSRC_DIR}/Cython/Compiler/Scanning.c \
26 ${PKGD}${TARGET_DBGSRC_DIR}/Cython/Compiler/Visitor.c \
27 ${PKGD}${TARGET_DBGSRC_DIR}/Cython/Plex/Actions.c \
28 ${PKGD}${TARGET_DBGSRC_DIR}/Cython/Plex/Scanners.c \
29 ${PKGD}${TARGET_DBGSRC_DIR}/Cython/Runtime/refnanny.c \
30 ${PKGD}${TARGET_DBGSRC_DIR}/Cython/Tempita/_tempita.c \
31 ${PKGD}${libdir}/${PYTHON_DIR}/site-packages/Cython*/SOURCES.txt; do
32 if [ -e $f ]; then
33 sed -i -e 's#${WORKDIR}/Cython-${PV}#${TARGET_DBGSRC_DIR}#g' $f
34 fi
35 done
36}
37
diff --git a/meta/recipes-devtools/python/python-cython.inc b/meta/recipes-devtools/python/python3-cython_3.1.2.bb
index 87a2e88a1a..77dbbe8b2c 100644
--- a/meta/recipes-devtools/python/python-cython.inc
+++ b/meta/recipes-devtools/python/python3-cython_3.1.2.bb
@@ -6,13 +6,20 @@ and the messy, low-level world of C."
6SECTION = "devel/python" 6SECTION = "devel/python"
7LICENSE = "Apache-2.0" 7LICENSE = "Apache-2.0"
8LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=61c3ee8961575861fa86c7e62bc9f69c" 8LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=61c3ee8961575861fa86c7e62bc9f69c"
9PYPI_PACKAGE = "Cython"
10BBCLASSEXTEND = "native nativesdk"
11 9
12SRC_URI[sha256sum] = "dcc96739331fb854dcf503f94607576cfe8488066c61ca50dfd55836f132de99" 10SRC_URI[sha256sum] = "6bbf7a953fa6762dfecdec015e3b054ba51c0121a45ad851fa130f63f5331381"
13UPSTREAM_CHECK_REGEX = "Cython-(?P<pver>.*)\.tar" 11
12inherit pypi setuptools3 cython
13
14# No need to depend on self
15DEPENDS:remove = "python3-cython-native"
14 16
15inherit pypi 17do_install:append() {
18 # rename scripts that would conflict with the Python 2 build of Cython
19 mv ${D}${bindir}/cython ${D}${bindir}/cython3
20 mv ${D}${bindir}/cythonize ${D}${bindir}/cythonize3
21 mv ${D}${bindir}/cygdb ${D}${bindir}/cygdb3
22}
16 23
17RDEPENDS:${PN}:class-target += "\ 24RDEPENDS:${PN}:class-target += "\
18 python3-misc \ 25 python3-misc \
@@ -34,12 +41,4 @@ RDEPENDS:${PN}:class-nativesdk += "\
34 nativesdk-python3-xml \ 41 nativesdk-python3-xml \
35" 42"
36 43
37do_install:append() { 44BBCLASSEXTEND = "native nativesdk"
38 # Make sure we use /usr/bin/env python
39 for PYTHSCRIPT in `grep -rIl '^#!.*python' ${D}`; do
40 sed -i -e '1s|^#!.*|#!/usr/bin/env python3|' $PYTHSCRIPT
41 done
42
43 # remove build paths from generated sources
44 sed -i -e 's|${WORKDIR}||' ${S}/Cython/*.c ${S}/Cython/Compiler/*.c ${S}/Cython/Plex/*.c
45}
diff --git a/meta/recipes-devtools/python/python3-dbus_1.3.2.bb b/meta/recipes-devtools/python/python3-dbus_1.4.0.bb
index e0cf64c70e..2854eda30a 100644
--- a/meta/recipes-devtools/python/python3-dbus_1.3.2.bb
+++ b/meta/recipes-devtools/python/python3-dbus_1.4.0.bb
@@ -5,11 +5,11 @@ LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://COPYING;md5=97f58951300aa52a9f9e3a62bd5c846c" 5LIC_FILES_CHKSUM = "file://COPYING;md5=97f58951300aa52a9f9e3a62bd5c846c"
6DEPENDS = "expat dbus glib-2.0 virtual/libintl" 6DEPENDS = "expat dbus glib-2.0 virtual/libintl"
7 7
8SRC_URI = "http://dbus.freedesktop.org/releases/dbus-python/dbus-python-${PV}.tar.gz" 8SRC_URI = "http://dbus.freedesktop.org/releases/dbus-python/dbus-python-${PV}.tar.xz"
9 9
10SRC_URI[sha256sum] = "ad67819308618b5069537be237f8e68ca1c7fcc95ee4a121fe6845b1418248f8" 10SRC_URI[sha256sum] = "c36b28f10ffcc8f1f798aca973bcc132f91f33eb9b6b8904381b4077766043d5"
11 11
12S = "${WORKDIR}/dbus-python-${PV}" 12S = "${UNPACKDIR}/dbus-python-${PV}"
13 13
14inherit setuptools3-base meson pkgconfig 14inherit setuptools3-base meson pkgconfig
15 15
diff --git a/meta/recipes-devtools/python/python3-dbusmock_0.31.1.bb b/meta/recipes-devtools/python/python3-dbusmock_0.33.0.bb
index fc32c6bbb6..c0ea64b6b8 100644
--- a/meta/recipes-devtools/python/python3-dbusmock_0.31.1.bb
+++ b/meta/recipes-devtools/python/python3-dbusmock_0.33.0.bb
@@ -4,7 +4,7 @@ HOMEPAGE = "https://pypi.org/project/python-dbusmock/"
4LICENSE = "GPL-3.0-only" 4LICENSE = "GPL-3.0-only"
5LIC_FILES_CHKSUM = "file://COPYING;md5=e6a600fd5e1d9cbde2d983680233ad02" 5LIC_FILES_CHKSUM = "file://COPYING;md5=e6a600fd5e1d9cbde2d983680233ad02"
6 6
7SRC_URI[sha256sum] = "b23b8e1b51fe2a9b13e617fff6b60b3ed8e536c080cf3498019d223678d5ea49" 7SRC_URI[sha256sum] = "04efd311dd1063ac2b8f7baa79a026b5c0aa3ed4ef18cd9226f52a273fa6193a"
8 8
9PYPI_PACKAGE = "python-dbusmock" 9PYPI_PACKAGE = "python-dbusmock"
10 10
diff --git a/meta/recipes-devtools/python/python3-docutils_0.20.1.bb b/meta/recipes-devtools/python/python3-docutils_0.20.1.bb
deleted file mode 100644
index 6038732cc4..0000000000
--- a/meta/recipes-devtools/python/python3-docutils_0.20.1.bb
+++ /dev/null
@@ -1,20 +0,0 @@
1SUMMARY = "Docutils is a modular system for processing documentation into useful formats"
2HOMEPAGE = "http://docutils.sourceforge.net"
3SECTION = "devel/python"
4LICENSE = "PSF-2.0 & BSD-2-Clause & GPL-3.0-only"
5LIC_FILES_CHKSUM = "file://COPYING.txt;md5=08f5f8aa6a1db2500c08a2bb558e45af"
6
7SRC_URI[sha256sum] = "f08a4e276c3a1583a86dce3e34aba3fe04d02bba2dd51ed16106244e8a923e3b"
8
9inherit pypi setuptools3
10
11do_install:append() {
12 for f in rst2html rst2html4 rst2html5 rst2latex rst2man \
13 rst2odt rst2odt_prepstyles rst2pseudoxml rst2s5 rst2xetex rst2xml \
14 rstpep2html
15 do
16 mv ${D}${bindir}/$f.py ${D}${bindir}/$f;
17 done
18}
19
20BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-docutils_0.21.2.bb b/meta/recipes-devtools/python/python3-docutils_0.21.2.bb
new file mode 100644
index 0000000000..d9f8160913
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-docutils_0.21.2.bb
@@ -0,0 +1,22 @@
1SUMMARY = "Docutils is a modular system for processing documentation into useful formats"
2HOMEPAGE = "http://docutils.sourceforge.net"
3SECTION = "devel/python"
4LICENSE = "CC0-1.0 & ZPL-2.1 & BSD-2-Clause & GPL-3.0-only"
5LIC_FILES_CHKSUM = "file://COPYING.txt;md5=382430a09a4453818aa6618f2090491b"
6
7SRC_URI[sha256sum] = "3a6b18732edf182daa3cd12775bbb338cf5691468f91eeeb109deff6ebfa986f"
8
9inherit pypi python_setuptools_build_meta
10
11RDEPENDS:${PN} += " \
12 python3-pprint \
13"
14
15do_install:append() {
16 # Make sure we use /usr/bin/env python3
17 for PYTHSCRIPT in `grep -rIl '^#!.*python' ${D}`; do
18 sed -i -e '1s|^#!.*|#!/usr/bin/env python3|' $PYTHSCRIPT
19 done
20}
21
22BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-dtc/0001-Revert-libfdt-overlay-make-overlay_get_target-public.patch b/meta/recipes-devtools/python/python3-dtc/0001-Revert-libfdt-overlay-make-overlay_get_target-public.patch
deleted file mode 100644
index a2df482e3a..0000000000
--- a/meta/recipes-devtools/python/python3-dtc/0001-Revert-libfdt-overlay-make-overlay_get_target-public.patch
+++ /dev/null
@@ -1,132 +0,0 @@
1From 4d4703e0199fb3556c37694e4d951785abca22fd Mon Sep 17 00:00:00 2001
2From: Bruce Ashfield <bruce.ashfield@gmail.com>
3Date: Wed, 19 Jan 2022 12:46:42 -0500
4Subject: [PATCH] Revert "libfdt: overlay: make overlay_get_target() public"
5
6This reverts commit 45f3d1a095dd3440578d5c6313eba555a791f3fb.
7
8Upstream-Status: Inappropriate [embedded specific]
9
10---
11 libfdt/fdt_overlay.c | 29 ++++++++++++++++++++++-------
12 libfdt/libfdt.h | 18 ------------------
13 libfdt/version.lds | 1 -
14 3 files changed, 22 insertions(+), 26 deletions(-)
15
16diff --git a/libfdt/fdt_overlay.c b/libfdt/fdt_overlay.c
17index 5c0c398..d217e79 100644
18--- a/libfdt/fdt_overlay.c
19+++ b/libfdt/fdt_overlay.c
20@@ -40,22 +40,37 @@ static uint32_t overlay_get_target_phandle(const void *fdto, int fragment)
21 return fdt32_to_cpu(*val);
22 }
23
24-int fdt_overlay_target_offset(const void *fdt, const void *fdto,
25- int fragment_offset, char const **pathp)
26+/**
27+ * overlay_get_target - retrieves the offset of a fragment's target
28+ * @fdt: Base device tree blob
29+ * @fdto: Device tree overlay blob
30+ * @fragment: node offset of the fragment in the overlay
31+ * @pathp: pointer which receives the path of the target (or NULL)
32+ *
33+ * overlay_get_target() retrieves the target offset in the base
34+ * device tree of a fragment, no matter how the actual targeting is
35+ * done (through a phandle or a path)
36+ *
37+ * returns:
38+ * the targeted node offset in the base device tree
39+ * Negative error code on error
40+ */
41+static int overlay_get_target(const void *fdt, const void *fdto,
42+ int fragment, char const **pathp)
43 {
44 uint32_t phandle;
45 const char *path = NULL;
46 int path_len = 0, ret;
47
48 /* Try first to do a phandle based lookup */
49- phandle = overlay_get_target_phandle(fdto, fragment_offset);
50+ phandle = overlay_get_target_phandle(fdto, fragment);
51 if (phandle == (uint32_t)-1)
52 return -FDT_ERR_BADPHANDLE;
53
54 /* no phandle, try path */
55 if (!phandle) {
56 /* And then a path based lookup */
57- path = fdt_getprop(fdto, fragment_offset, "target-path", &path_len);
58+ path = fdt_getprop(fdto, fragment, "target-path", &path_len);
59 if (path)
60 ret = fdt_path_offset(fdt, path);
61 else
62@@ -621,7 +636,7 @@ static int overlay_merge(void *fdt, void *fdto)
63 if (overlay < 0)
64 return overlay;
65
66- target = fdt_overlay_target_offset(fdt, fdto, fragment, NULL);
67+ target = overlay_get_target(fdt, fdto, fragment, NULL);
68 if (target < 0)
69 return target;
70
71@@ -764,7 +779,7 @@ static int overlay_symbol_update(void *fdt, void *fdto)
72 return -FDT_ERR_BADOVERLAY;
73
74 /* get the target of the fragment */
75- ret = fdt_overlay_target_offset(fdt, fdto, fragment, &target_path);
76+ ret = overlay_get_target(fdt, fdto, fragment, &target_path);
77 if (ret < 0)
78 return ret;
79 target = ret;
80@@ -786,7 +801,7 @@ static int overlay_symbol_update(void *fdt, void *fdto)
81
82 if (!target_path) {
83 /* again in case setprop_placeholder changed it */
84- ret = fdt_overlay_target_offset(fdt, fdto, fragment, &target_path);
85+ ret = overlay_get_target(fdt, fdto, fragment, &target_path);
86 if (ret < 0)
87 return ret;
88 target = ret;
89diff --git a/libfdt/libfdt.h b/libfdt/libfdt.h
90index a7f432c..7f117e8 100644
91--- a/libfdt/libfdt.h
92+++ b/libfdt/libfdt.h
93@@ -2116,24 +2116,6 @@ int fdt_del_node(void *fdt, int nodeoffset);
94 */
95 int fdt_overlay_apply(void *fdt, void *fdto);
96
97-/**
98- * fdt_overlay_target_offset - retrieves the offset of a fragment's target
99- * @fdt: Base device tree blob
100- * @fdto: Device tree overlay blob
101- * @fragment_offset: node offset of the fragment in the overlay
102- * @pathp: pointer which receives the path of the target (or NULL)
103- *
104- * fdt_overlay_target_offset() retrieves the target offset in the base
105- * device tree of a fragment, no matter how the actual targeting is
106- * done (through a phandle or a path)
107- *
108- * returns:
109- * the targeted node offset in the base device tree
110- * Negative error code on error
111- */
112-int fdt_overlay_target_offset(const void *fdt, const void *fdto,
113- int fragment_offset, char const **pathp);
114-
115 /**********************************************************************/
116 /* Debugging / informational functions */
117 /**********************************************************************/
118diff --git a/libfdt/version.lds b/libfdt/version.lds
119index cbce5d4..7ab85f1 100644
120--- a/libfdt/version.lds
121+++ b/libfdt/version.lds
122@@ -77,7 +77,6 @@ LIBFDT_1.2 {
123 fdt_appendprop_addrrange;
124 fdt_setprop_inplace_namelen_partial;
125 fdt_create_with_flags;
126- fdt_overlay_target_offset;
127 local:
128 *;
129 };
130--
1312.19.1
132
diff --git a/meta/recipes-devtools/python/python3-dtc_1.7.0.bb b/meta/recipes-devtools/python/python3-dtc_1.7.2.bb
index 85e48d4694..9525c340cd 100644
--- a/meta/recipes-devtools/python/python3-dtc_1.7.0.bb
+++ b/meta/recipes-devtools/python/python3-dtc_1.7.2.bb
@@ -6,17 +6,14 @@ LICENSE = "GPL-2.0-only | BSD-2-Clause"
6 6
7DEPENDS = "flex-native bison-native swig-native python3-setuptools-scm-native libyaml dtc" 7DEPENDS = "flex-native bison-native swig-native python3-setuptools-scm-native libyaml dtc"
8 8
9SRC_URI = "git://git.kernel.org/pub/scm/utils/dtc/dtc.git;branch=master \ 9SRC_URI = "git://git.kernel.org/pub/scm/utils/dtc/dtc.git;branch=main \
10 file://0001-Revert-libfdt-overlay-make-overlay_get_target-public.patch \ 10 "
11 "
12 11
13UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)" 12UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
14 13
15LIC_FILES_CHKSUM = "file://pylibfdt/libfdt.i;beginline=1;endline=6;md5=afda088c974174a29108c8d80b5dce90" 14LIC_FILES_CHKSUM = "file://pylibfdt/libfdt.i;beginline=1;endline=6;md5=afda088c974174a29108c8d80b5dce90"
16 15
17SRCREV = "039a99414e778332d8f9c04cbd3072e1dcc62798" 16SRCREV = "2d10aa2afe35527728db30b35ec491ecb6959e5c"
18
19S = "${WORKDIR}/git"
20 17
21PYPA_WHEEL = "${S}/dist/libfdt-1.6.2*.whl" 18PYPA_WHEEL = "${S}/dist/libfdt-1.6.2*.whl"
22 19
diff --git a/meta/recipes-devtools/python/python3-dtschema_2024.4.bb b/meta/recipes-devtools/python/python3-dtschema_2025.6.1.bb
index 9583cd57b9..872084841b 100644
--- a/meta/recipes-devtools/python/python3-dtschema_2024.4.bb
+++ b/meta/recipes-devtools/python/python3-dtschema_2025.6.1.bb
@@ -7,7 +7,7 @@ inherit pypi python_setuptools_build_meta
7 7
8PYPI_PACKAGE = "dtschema" 8PYPI_PACKAGE = "dtschema"
9 9
10SRC_URI[sha256sum] = "18dd1d34b4a5e451291e5444e9ceb4a6febc605871cdaef22673b6f80aa4a131" 10SRC_URI[sha256sum] = "6348fb23961d0cd1c89ea0c29b790c622bc34fdd1be56090724c6c1f76cbf10d"
11 11
12DEPENDS += "python3-setuptools-scm-native" 12DEPENDS += "python3-setuptools-scm-native"
13RDEPENDS:${PN} += "\ 13RDEPENDS:${PN} += "\
diff --git a/meta/recipes-devtools/python/python3-flit-core_3.9.0.bb b/meta/recipes-devtools/python/python3-flit-core_3.12.0.bb
index b0bef4b6b6..e40ffd0d0f 100644
--- a/meta/recipes-devtools/python/python3-flit-core_3.9.0.bb
+++ b/meta/recipes-devtools/python/python3-flit-core_3.12.0.bb
@@ -8,7 +8,7 @@ BUGTRACKER = "https://github.com/pypa/flit/issues"
8LICENSE = "BSD-3-Clause" 8LICENSE = "BSD-3-Clause"
9LIC_FILES_CHKSUM = "file://LICENSE;md5=41eb78fa8a872983a882c694a8305f08" 9LIC_FILES_CHKSUM = "file://LICENSE;md5=41eb78fa8a872983a882c694a8305f08"
10 10
11SRC_URI[sha256sum] = "d75edf5eb324da20d53570a6a6f87f51e606eee8384925cd66a90611140844c7" 11SRC_URI[sha256sum] = "1c80f34dd96992e7758b40423d2809f48f640ca285d0b7821825e50745ec3740"
12 12
13inherit pypi python_flit_core 13inherit pypi python_flit_core
14 14
@@ -28,10 +28,4 @@ do_install:class-native () {
28 python_pep517_do_bootstrap_install 28 python_pep517_do_bootstrap_install
29} 29}
30 30
31PACKAGES =+ "${PN}-tests"
32
33FILES:${PN}-tests += "\
34 ${PYTHON_SITEPACKAGES_DIR}/flit_core/tests/* \
35"
36
37BBCLASSEXTEND = "native nativesdk" 31BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-git_3.1.43.bb b/meta/recipes-devtools/python/python3-git_3.1.43.bb
index 45c988117b..2126b5e92b 100644
--- a/meta/recipes-devtools/python/python3-git_3.1.43.bb
+++ b/meta/recipes-devtools/python/python3-git_3.1.43.bb
@@ -9,6 +9,7 @@ LICENSE = "BSD-3-Clause"
9LIC_FILES_CHKSUM = "file://LICENSE;md5=5279a7ab369ba336989dcf2a107e5c8e" 9LIC_FILES_CHKSUM = "file://LICENSE;md5=5279a7ab369ba336989dcf2a107e5c8e"
10 10
11PYPI_PACKAGE = "GitPython" 11PYPI_PACKAGE = "GitPython"
12UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
12 13
13inherit pypi python_setuptools_build_meta 14inherit pypi python_setuptools_build_meta
14 15
diff --git a/meta/recipes-devtools/python/python3-gitdb_4.0.11.bb b/meta/recipes-devtools/python/python3-gitdb_4.0.12.bb
index 25e1a2df7e..0b7eec876f 100644
--- a/meta/recipes-devtools/python/python3-gitdb_4.0.11.bb
+++ b/meta/recipes-devtools/python/python3-gitdb_4.0.12.bb
@@ -10,7 +10,7 @@ inherit pypi setuptools3
10 10
11PYPI_PACKAGE = "gitdb" 11PYPI_PACKAGE = "gitdb"
12 12
13SRC_URI[sha256sum] = "bf5421126136d6d0af55bc1e7c1af1c397a34f5b7bd79e776cd3e89785c2b04b" 13SRC_URI[sha256sum] = "5ef71f855d191a3326fcfbc0d5da835f26b13fbcba60c32c21091c349ffdb571"
14 14
15RDEPENDS:${PN} += "python3-compression \ 15RDEPENDS:${PN} += "python3-compression \
16 python3-crypt \ 16 python3-crypt \
diff --git a/meta/recipes-devtools/python/python3-hatch-fancy-pypi-readme_24.1.0.bb b/meta/recipes-devtools/python/python3-hatch-fancy-pypi-readme_25.1.0.bb
index 1e5c67f832..5d8d82edd8 100644
--- a/meta/recipes-devtools/python/python3-hatch-fancy-pypi-readme_24.1.0.bb
+++ b/meta/recipes-devtools/python/python3-hatch-fancy-pypi-readme_25.1.0.bb
@@ -6,9 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ba5633c60bd3e243091013aa83b4d807"
6inherit pypi python_hatchling 6inherit pypi python_hatchling
7 7
8PYPI_PACKAGE = "hatch_fancy_pypi_readme" 8PYPI_PACKAGE = "hatch_fancy_pypi_readme"
9UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
9 10
10SRC_URI[sha256sum] = "44dd239f1a779b9dcf8ebc9401a611fd7f7e3e14578dcf22c265dfaf7c1514b8" 11SRC_URI[sha256sum] = "9c58ed3dff90d51f43414ce37009ad1d5b0f08ffc9fc216998a06380f01c0045"
11 12
12BBCLASSEXTEND = "native nativesdk" 13BBCLASSEXTEND = "native nativesdk"
13
14UPSTREAM_CHECK_REGEX = "/hatch-fancy-pypi-readme/(?P<pver>(\d+[\.\-_]*)+)/"
diff --git a/meta/recipes-devtools/python/python3-hatch-vcs_0.4.0.bb b/meta/recipes-devtools/python/python3-hatch-vcs_0.4.0.bb
index 2e49aba469..ac70295f45 100644
--- a/meta/recipes-devtools/python/python3-hatch-vcs_0.4.0.bb
+++ b/meta/recipes-devtools/python/python3-hatch-vcs_0.4.0.bb
@@ -6,9 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=26501cfd0bbddf830ee820e95551fa3d"
6inherit pypi python_hatchling 6inherit pypi python_hatchling
7 7
8PYPI_PACKAGE = "hatch_vcs" 8PYPI_PACKAGE = "hatch_vcs"
9UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
9 10
10SRC_URI[sha256sum] = "093810748fe01db0d451fabcf2c1ac2688caefd232d4ede967090b1c1b07d9f7" 11SRC_URI[sha256sum] = "093810748fe01db0d451fabcf2c1ac2688caefd232d4ede967090b1c1b07d9f7"
11 12
12BBCLASSEXTEND = "native nativesdk" 13BBCLASSEXTEND = "native nativesdk"
13
14UPSTREAM_CHECK_REGEX = "/hatch-vcs/(?P<pver>(\d+[\.\-_]*)+)/"
diff --git a/meta/recipes-devtools/python/python3-hatchling_1.24.1.bb b/meta/recipes-devtools/python/python3-hatchling_1.27.0.bb
index fc8d953281..5239d8155c 100644
--- a/meta/recipes-devtools/python/python3-hatchling_1.24.1.bb
+++ b/meta/recipes-devtools/python/python3-hatchling_1.27.0.bb
@@ -8,7 +8,7 @@ inherit pypi python_hatchling
8DEPENDS += "python3-pluggy-native python3-pathspec-native python3-packaging-native python3-editables-native python3-trove-classifiers-native" 8DEPENDS += "python3-pluggy-native python3-pathspec-native python3-packaging-native python3-editables-native python3-trove-classifiers-native"
9DEPENDS:remove:class-native = "python3-hatchling-native" 9DEPENDS:remove:class-native = "python3-hatchling-native"
10 10
11SRC_URI[sha256sum] = "51f861891e98c4044eb455163a737e5d2328d7aa74890b182db2d80fee22a497" 11SRC_URI[sha256sum] = "971c296d9819abb3811112fc52c7a9751c8d381898f36533bb16f9791e941fd6"
12 12
13do_compile:prepend() { 13do_compile:prepend() {
14 export PYTHONPATH=src 14 export PYTHONPATH=src
diff --git a/meta/recipes-devtools/python/python3-hypothesis/run-ptest b/meta/recipes-devtools/python/python3-hypothesis/run-ptest
deleted file mode 100644
index 54f6e7930f..0000000000
--- a/meta/recipes-devtools/python/python3-hypothesis/run-ptest
+++ /dev/null
@@ -1,10 +0,0 @@
1#!/bin/sh
2
3# Upstream "fast" tests take about 5 minutes and currently do not run cleanly
4# (tests/cover and tests/pytest)
5# https://github.com/HypothesisWorks/hypothesis/tree/master/hypothesis-python/tests
6# https://github.com/HypothesisWorks/hypothesis/blob/master/hypothesis-python/scripts/basic-test.sh#L18
7#
8# Instead we run two test suites imported from examples/
9
10pytest --automake
diff --git a/meta/recipes-devtools/python/python3-hypothesis_6.100.1.bb b/meta/recipes-devtools/python/python3-hypothesis_6.135.9.bb
index af7facfe7e..efc5229fbc 100644
--- a/meta/recipes-devtools/python/python3-hypothesis_6.100.1.bb
+++ b/meta/recipes-devtools/python/python3-hypothesis_6.135.9.bb
@@ -4,16 +4,16 @@ LICENSE = "MPL-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4ee62c16ebd0f4f99d906f36b7de8c3c" 4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4ee62c16ebd0f4f99d906f36b7de8c3c"
5 5
6PYPI_PACKAGE = "hypothesis" 6PYPI_PACKAGE = "hypothesis"
7PTEST_PYTEST_DIR ?= "examples"
7 8
8inherit pypi setuptools3 ptest 9inherit pypi python_setuptools_build_meta ptest-python-pytest
9 10
10SRC_URI += " \ 11SRC_URI += " \
11 file://run-ptest \
12 file://test_binary_search.py \ 12 file://test_binary_search.py \
13 file://test_rle.py \ 13 file://test_rle.py \
14 " 14 "
15 15
16SRC_URI[sha256sum] = "ebff09d7fa4f1fb6a855a812baf17e578b4481b7b70ec6d96496210d1a4c6c35" 16SRC_URI[sha256sum] = "a80a256268b8af3d34d62be30f6bf4a7d099b2b762621cc5f3f1de65e7b98543"
17 17
18RDEPENDS:${PN} += " \ 18RDEPENDS:${PN} += " \
19 python3-attrs \ 19 python3-attrs \
@@ -24,16 +24,13 @@ RDEPENDS:${PN} += " \
24 python3-sortedcontainers \ 24 python3-sortedcontainers \
25 python3-statistics \ 25 python3-statistics \
26 python3-unittest \ 26 python3-unittest \
27 python3-zoneinfo \
27 " 28 "
28 29
29RDEPENDS:${PN}-ptest += " \ 30do_install_ptest:append() {
30 python3-unittest-automake-output \ 31 install -d ${D}${PTEST_PATH}/${PTEST_PYTEST_DIR}
31 " 32 install -m 0755 ${UNPACKDIR}/test_binary_search.py ${D}${PTEST_PATH}/${PTEST_PYTEST_DIR}/
32 33 install -m 0755 ${UNPACKDIR}/test_rle.py ${D}${PTEST_PATH}/${PTEST_PYTEST_DIR}/
33do_install_ptest() {
34 install -d ${D}${PTEST_PATH}/examples
35 install -m 0755 ${WORKDIR}/test_binary_search.py ${D}${PTEST_PATH}/examples/
36 install -m 0755 ${WORKDIR}/test_rle.py ${D}${PTEST_PATH}/examples/
37} 34}
38 35
39BBCLASSEXTEND = "native nativesdk" 36BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-idna_3.7.bb b/meta/recipes-devtools/python/python3-idna_3.10.bb
index 729aff1c46..bd6529e720 100644
--- a/meta/recipes-devtools/python/python3-idna_3.7.bb
+++ b/meta/recipes-devtools/python/python3-idna_3.10.bb
@@ -3,12 +3,11 @@ HOMEPAGE = "https://github.com/kjd/idna"
3LICENSE = "BSD-3-Clause & Python-2.0 & Unicode-TOU" 3LICENSE = "BSD-3-Clause & Python-2.0 & Unicode-TOU"
4LIC_FILES_CHKSUM = "file://LICENSE.md;md5=204c0612e40a4dd46012a78d02c80fb1" 4LIC_FILES_CHKSUM = "file://LICENSE.md;md5=204c0612e40a4dd46012a78d02c80fb1"
5 5
6SRC_URI[sha256sum] = "028ff3aadf0609c1fd278d8ea3089299412a7a8b9bd005dd08b9f8285bcb5cfc" 6SRC_URI[sha256sum] = "12f65c9b470abda6dc35cf8e63cc574b1c52b11df2c86030af0ac09b01b13ea9"
7 7
8inherit pypi python_flit_core 8inherit pypi python_flit_core ptest-python-pytest
9 9
10RDEPENDS:${PN}:class-target = "\ 10RDEPENDS:${PN} += "python3-codecs"
11 python3-codecs \ 11RDEPENDS:${PN}-ptest += "python3-unittest-automake-output"
12"
13 12
14BBCLASSEXTEND = "native nativesdk" 13BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-imagesize_1.4.1.bb b/meta/recipes-devtools/python/python3-imagesize_1.4.1.bb
index 4edac0a533..7d37e2be24 100644
--- a/meta/recipes-devtools/python/python3-imagesize_1.4.1.bb
+++ b/meta/recipes-devtools/python/python3-imagesize_1.4.1.bb
@@ -1,4 +1,4 @@
1SUMMARY = "Parses image files header and return image size." 1SUMMARY = "Parses image files' header and return image size."
2HOMEPAGE = "https://github.com/shibukawa/imagesize_py" 2HOMEPAGE = "https://github.com/shibukawa/imagesize_py"
3SECTION = "devel/python" 3SECTION = "devel/python"
4LICENSE = "MIT" 4LICENSE = "MIT"
diff --git a/meta/recipes-devtools/python/python3-importlib-metadata_7.1.0.bb b/meta/recipes-devtools/python/python3-importlib-metadata_7.1.0.bb
deleted file mode 100644
index fdb37cecef..0000000000
--- a/meta/recipes-devtools/python/python3-importlib-metadata_7.1.0.bb
+++ /dev/null
@@ -1,20 +0,0 @@
1SUMMARY = "Read metadata from Python packages"
2HOMEPAGE = "https://pypi.org/project/importlib-metadata/"
3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
5
6inherit pypi python_setuptools_build_meta
7
8PYPI_PACKAGE = "importlib_metadata"
9UPSTREAM_CHECK_REGEX = "/importlib-metadata/(?P<pver>(\d+[\.\-_]*)+)/"
10
11SRC_URI[sha256sum] = "b78938b926ee8d5f020fc4772d487045805a55ddbad2ecf21c6d60938dc7fcd2"
12
13S = "${WORKDIR}/importlib_metadata-${PV}"
14
15DEPENDS += "python3-setuptools-scm-native python3-toml-native"
16RDEPENDS:${PN} += "python3-zipp python3-pathlib2"
17RDEPENDS:${PN}:append:class-target = " python3-misc"
18RDEPENDS:${PN}:append:class-nativesdk = " python3-misc"
19
20BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-iniconfig_2.0.0.bb b/meta/recipes-devtools/python/python3-iniconfig_2.1.0.bb
index 2abeec62f4..d9b31aea4a 100644
--- a/meta/recipes-devtools/python/python3-iniconfig_2.0.0.bb
+++ b/meta/recipes-devtools/python/python3-iniconfig_2.1.0.bb
@@ -2,9 +2,9 @@ SUMMARY = "A small and simple INI-file parser module"
2HOMEPAGE = "https://pypi.org/project/iniconfig/" 2HOMEPAGE = "https://pypi.org/project/iniconfig/"
3 3
4LICENSE = "MIT" 4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=a6bb0320b04a0a503f12f69fea479de9" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=4a73af4b5f1f3a8731e5def70e8c1254"
6 6
7SRC_URI[sha256sum] = "2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3" 7SRC_URI[sha256sum] = "3abbd2e30b36733fee78f9c7f7308f2d0050e88f0087fd25c2645f63c773e1c7"
8 8
9DEPENDS += "python3-hatch-vcs-native" 9DEPENDS += "python3-hatch-vcs-native"
10 10
diff --git a/meta/recipes-devtools/python/python3-iniparse_0.5.bb b/meta/recipes-devtools/python/python3-iniparse_0.5.bb
deleted file mode 100644
index c18949014b..0000000000
--- a/meta/recipes-devtools/python/python3-iniparse_0.5.bb
+++ /dev/null
@@ -1,14 +0,0 @@
1SUMMARY = "Accessing and Modifying INI files"
2HOMEPAGE = "https://pypi.org/project/iniparse/"
3LICENSE = "MIT & PSF-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE-PSF;md5=1c78a5bb3584b353496d5f6f34edb4b2 \
5 file://LICENSE;md5=52f28065af11d69382693b45b5a8eb54"
6
7SRC_URI[sha256sum] = "932e5239d526e7acb504017bb707be67019ac428a6932368e6851691093aa842"
8
9inherit pypi setuptools3
10
11RDEPENDS:${PN} += "python3-core python3-six"
12DEPENDS += "python3-six"
13
14BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-installer/0001-src-installer-utils.py-sort-entries-before-writing-o.patch b/meta/recipes-devtools/python/python3-installer/0001-src-installer-utils.py-sort-entries-before-writing-o.patch
new file mode 100644
index 0000000000..a6715ed457
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-installer/0001-src-installer-utils.py-sort-entries-before-writing-o.patch
@@ -0,0 +1,27 @@
1From 760ddf50ce559abd67bbdd31797267d00bcddfb3 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de>
3Date: Tue, 1 Oct 2024 19:22:11 +0200
4Subject: [PATCH] src/installer/utils.py: sort entries before writing out
5 RECORD file
6
7This helps build reproducibility.
8
9Upstream-Status: Submitted [https://github.com/pypa/installer/pull/245]
10Signed-off-by: Alexander Kanavin <alex@linutronix.de>
11---
12 src/installer/utils.py | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/src/installer/utils.py b/src/installer/utils.py
16index 3e601d6..073297c 100644
17--- a/src/installer/utils.py
18+++ b/src/installer/utils.py
19@@ -207,7 +207,7 @@ def construct_record_file(
20 io.BytesIO(), encoding="utf-8", write_through=True, newline=""
21 )
22 writer = csv.writer(stream, delimiter=",", quotechar='"', lineterminator="\n")
23- for scheme, record in records:
24+ for scheme, record in sorted(records, key=lambda x: x[1].path):
25 writer.writerow(record.to_row(prefix_for_scheme(scheme)))
26 stream.seek(0)
27 return stream.detach()
diff --git a/meta/recipes-devtools/python/python3-installer_0.7.0.bb b/meta/recipes-devtools/python/python3-installer_0.7.0.bb
index 9429705b1f..6aaf1b3a37 100644
--- a/meta/recipes-devtools/python/python3-installer_0.7.0.bb
+++ b/meta/recipes-devtools/python/python3-installer_0.7.0.bb
@@ -6,7 +6,8 @@ BUGTRACKER = "https://github.com/pypa/installer/issues"
6LICENSE = "MIT" 6LICENSE = "MIT"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=5038641aec7a77451e31da828ebfae00" 7LIC_FILES_CHKSUM = "file://LICENSE;md5=5038641aec7a77451e31da828ebfae00"
8 8
9SRC_URI += "file://interpreter.patch" 9SRC_URI += "file://interpreter.patch \
10 file://0001-src-installer-utils.py-sort-entries-before-writing-o.patch"
10 11
11SRC_URI[sha256sum] = "a26d3e3116289bb08216e0d0f7d925fcef0b0194eedfa0c944bcaaa106c4b631" 12SRC_URI[sha256sum] = "a26d3e3116289bb08216e0d0f7d925fcef0b0194eedfa0c944bcaaa106c4b631"
12 13
diff --git a/meta/recipes-devtools/python/python3-isodate_0.6.1.bb b/meta/recipes-devtools/python/python3-isodate_0.6.1.bb
deleted file mode 100644
index 293fb08277..0000000000
--- a/meta/recipes-devtools/python/python3-isodate_0.6.1.bb
+++ /dev/null
@@ -1,16 +0,0 @@
1SUMMARY = "ISO 8601 date/time parser"
2HOMEPAGE = "https://github.com/gweis/isodate/"
3SECTION = "devel/python"
4LICENSE = "BSD-3-Clause"
5LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e910b35b0ef4e1f665b9a75d6afb7709"
6
7SRC_URI[sha256sum] = "48c5881de7e8b0a0d648cb024c8062dc84e7b840ed81e864c7614fd3c127bde9"
8
9inherit pypi setuptools3
10
11RDEPENDS:${PN} += " \
12 python3-numbers \
13 python3-six \
14"
15
16BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-jinja2/run-ptest b/meta/recipes-devtools/python/python3-jinja2/run-ptest
deleted file mode 100644
index 8d2017d39c..0000000000
--- a/meta/recipes-devtools/python/python3-jinja2/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@
1#!/bin/sh
2
3pytest --automake
diff --git a/meta/recipes-devtools/python/python3-jinja2_3.1.3.bb b/meta/recipes-devtools/python/python3-jinja2_3.1.6.bb
index 636fb35811..2e96eb0dcb 100644
--- a/meta/recipes-devtools/python/python3-jinja2_3.1.3.bb
+++ b/meta/recipes-devtools/python/python3-jinja2_3.1.6.bb
@@ -2,31 +2,24 @@ SUMMARY = "Python Jinja2: A small but fast and easy to use stand-alone template
2HOMEPAGE = "https://pypi.org/project/Jinja2/" 2HOMEPAGE = "https://pypi.org/project/Jinja2/"
3 3
4LICENSE = "BSD-3-Clause" 4LICENSE = "BSD-3-Clause"
5LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=5dc88300786f1c214c1e9827a5229462" 5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5dc88300786f1c214c1e9827a5229462"
6 6
7SRC_URI[sha256sum] = "ac8bd6544d4bb2c9792bf3a159e80bba8fda7f07e81bc3aed565432d5925ba90" 7SRC_URI[sha256sum] = "0137fb05990d35f1275a587e9aee6d56da821fc83491a0fb838183be43f66d6d"
8 8
9PYPI_PACKAGE = "Jinja2" 9PYPI_PACKAGE = "jinja2"
10 10
11CVE_PRODUCT = "jinja2 jinja" 11CVE_PRODUCT = "jinja2 jinja"
12 12
13CLEANBROKEN = "1" 13CLEANBROKEN = "1"
14 14
15inherit pypi setuptools3 ptest 15inherit pypi python_flit_core ptest-python-pytest
16 16
17SRC_URI += " \ 17do_install_ptest:append() {
18 file://run-ptest \ 18 # test_async items require trio module
19" 19 rm -f ${D}${PTEST_PATH}/tests/test_async.py ${D}${PTEST_PATH}/tests/test_async_filters.py
20
21do_install_ptest() {
22 install -d ${D}${PTEST_PATH}/tests
23 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
24} 20}
25 21
26RDEPENDS:${PN}-ptest += " \ 22RDEPENDS:${PN}-ptest += " \
27 python3-pytest \
28 python3-unittest-automake-output \
29 python3-toml \
30 python3-unixadmin \ 23 python3-unixadmin \
31" 24"
32 25
diff --git a/meta/recipes-devtools/python/python3-jsonpointer_2.4.bb b/meta/recipes-devtools/python/python3-jsonpointer_3.0.0.bb
index 062fa5243f..0a23dc3100 100644
--- a/meta/recipes-devtools/python/python3-jsonpointer_2.4.bb
+++ b/meta/recipes-devtools/python/python3-jsonpointer_3.0.0.bb
@@ -5,16 +5,18 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=32b15c843b7a329130f4e266a281ebb3"
5 5
6inherit pypi ptest setuptools3 6inherit pypi ptest setuptools3
7 7
8SRC_URI[sha256sum] = "585cee82b70211fa9e6043b7bb89db6e1aa49524340dde8ad6b63206ea689d88" 8SRC_URI[sha256sum] = "2b2d729f2091522d61c3b31f82e11870f60b68f43fbc705cb76bf4b832af59ef"
9 9
10RDEPENDS:${PN} += " \ 10SRC_URI += " \
11 python3-json \ 11 file://run-ptest \
12" 12"
13 13
14BBCLASSEXTEND = "native nativesdk" 14do_install_ptest() {
15 cp -f ${S}/tests.py ${D}${PTEST_PATH}/
16}
15 17
16SRC_URI += " \ 18RDEPENDS:${PN} += " \
17 file://run-ptest \ 19 python3-json \
18" 20"
19 21
20RDEPENDS:${PN}-ptest += " \ 22RDEPENDS:${PN}-ptest += " \
@@ -23,6 +25,4 @@ RDEPENDS:${PN}-ptest += " \
23 python3-unittest-automake-output \ 25 python3-unittest-automake-output \
24" 26"
25 27
26do_install_ptest() { 28BBCLASSEXTEND = "native nativesdk"
27 cp -f ${S}/tests.py ${D}${PTEST_PATH}/
28}
diff --git a/meta/recipes-devtools/python/python3-jsonschema-specifications_2023.12.1.bb b/meta/recipes-devtools/python/python3-jsonschema-specifications_2025.4.1.bb
index 4ee0dd9b12..53805b0396 100644
--- a/meta/recipes-devtools/python/python3-jsonschema-specifications_2023.12.1.bb
+++ b/meta/recipes-devtools/python/python3-jsonschema-specifications_2025.4.1.bb
@@ -5,11 +5,12 @@ HOMEPAGE = "https://pypi.org/project/jsonschema-specifications/"
5LICENSE = "MIT" 5LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://COPYING;md5=93eb9740964b59e9ba30281255b044e2" 6LIC_FILES_CHKSUM = "file://COPYING;md5=93eb9740964b59e9ba30281255b044e2"
7 7
8SRC_URI[sha256sum] = "48a76787b3e70f5ed53f1160d2b81f586e4ca6d1548c5de7085d1682674764cc" 8SRC_URI[sha256sum] = "630159c9f4dbea161a6a2205c3011cc4f18ff381b189fff48bb39b9bf26ae608"
9 9
10inherit pypi python_hatchling 10inherit pypi python_hatchling
11 11
12PYPI_PACKAGE = "jsonschema_specifications" 12PYPI_PACKAGE = "jsonschema_specifications"
13UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
13 14
14DEPENDS += "python3-hatch-vcs-native" 15DEPENDS += "python3-hatch-vcs-native"
15 16
diff --git a/meta/recipes-devtools/python/python3-jsonschema_4.21.1.bb b/meta/recipes-devtools/python/python3-jsonschema_4.24.0.bb
index 381148f4bb..7a5f4a09a6 100644
--- a/meta/recipes-devtools/python/python3-jsonschema_4.21.1.bb
+++ b/meta/recipes-devtools/python/python3-jsonschema_4.24.0.bb
@@ -4,7 +4,7 @@ LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://COPYING;md5=7a60a81c146ec25599a3e1dabb8610a8 \ 4LIC_FILES_CHKSUM = "file://COPYING;md5=7a60a81c146ec25599a3e1dabb8610a8 \
5 file://json/LICENSE;md5=9d4de43111d33570c8fe49b4cb0e01af" 5 file://json/LICENSE;md5=9d4de43111d33570c8fe49b4cb0e01af"
6 6
7SRC_URI[sha256sum] = "85727c00279f5fa6bedbe6238d2aa6403bedd8b4864ab11207d07df3cc1b2ee5" 7SRC_URI[sha256sum] = "0b4e8069eb12aedfa881333004bccaec24ecef5a8a6a4b6df142b2cc9599d196"
8 8
9inherit pypi python_hatchling 9inherit pypi python_hatchling
10 10
@@ -21,7 +21,7 @@ PACKAGECONFIG[format] = ",,,\
21 python3-rfc3987 \ 21 python3-rfc3987 \
22 python3-rfc3339-validator \ 22 python3-rfc3339-validator \
23" 23"
24PACKAGECONFIG[nongpl] = ",,,\ 24PACKAGECONFIG[format-nongpl] = ",,,\
25 python3-idna \ 25 python3-idna \
26 python3-jsonpointer \ 26 python3-jsonpointer \
27 python3-webcolors \ 27 python3-webcolors \
@@ -33,7 +33,6 @@ RDEPENDS:${PN} += " \
33 python3-attrs \ 33 python3-attrs \
34 python3-core \ 34 python3-core \
35 python3-datetime \ 35 python3-datetime \
36 python3-importlib-metadata \
37 python3-io \ 36 python3-io \
38 python3-json \ 37 python3-json \
39 python3-jsonschema-specifications \ 38 python3-jsonschema-specifications \
diff --git a/meta/recipes-devtools/python/python3-libarchive-c/0001-ffi-Insert-a-replacable-anchor-for-find_library.patch b/meta/recipes-devtools/python/python3-libarchive-c/0001-ffi-Insert-a-replacable-anchor-for-find_library.patch
new file mode 100644
index 0000000000..7b8775802f
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-libarchive-c/0001-ffi-Insert-a-replacable-anchor-for-find_library.patch
@@ -0,0 +1,29 @@
1From ed20aba335996d3aa97d99dfc122eb5a3a26ba1b Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 2 Nov 2024 11:06:01 -0700
4Subject: [PATCH] ffi: Insert a replacable anchor for find_library
5
6@@REPLACE_FIND_LIBRARY_API@@ must be sustituted from bitbake environment via
7recipe. This also helps in detecting changes to code from upstream in
8this area as this patch will fail to apply.
9
10Upstream-Status: Inappropriate [OE-Specific]
11
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13---
14 libarchive/ffi.py | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17diff --git a/libarchive/ffi.py b/libarchive/ffi.py
18index 1fc321a..991f1b6 100644
19--- a/libarchive/ffi.py
20+++ b/libarchive/ffi.py
21@@ -22,7 +22,7 @@ logger = logging.getLogger('libarchive')
22
23 page_size = mmap.PAGESIZE
24
25-libarchive_path = os.environ.get('LIBARCHIVE') or find_library('archive')
26+libarchive_path = os.environ.get('LIBARCHIVE') or @@REPLACE_FIND_LIBRARY_API@@
27 libarchive = ctypes.cdll.LoadLibrary(libarchive_path)
28
29
diff --git a/meta/recipes-devtools/python/python3-libarchive-c/new-libarchive.patch b/meta/recipes-devtools/python/python3-libarchive-c/new-libarchive.patch
new file mode 100644
index 0000000000..681e03a465
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-libarchive-c/new-libarchive.patch
@@ -0,0 +1,41 @@
1From adb206946721a4f5bd1190ab9c975bab4373e35c Mon Sep 17 00:00:00 2001
2From: Changaco <changaco@changaco.oy.lc>
3Date: Fri, 27 Sep 2024 11:51:22 +0200
4Subject: [PATCH] update a test failing with new libarchive versions
5
6fixes #130
7
8Upstream-Status: Submitted [https://github.com/Changaco/python-libarchive-c/pull/131]
9Signed-off-by: Ross Burton <ross.burton@arm.com>
10---
11 tests/test_entry.py | 10 ++++++++--
12 1 file changed, 8 insertions(+), 2 deletions(-)
13
14diff --git a/tests/test_entry.py b/tests/test_entry.py
15index 419cecb..34543a5 100644
16--- a/tests/test_entry.py
17+++ b/tests/test_entry.py
18@@ -9,7 +9,7 @@
19
20 import pytest
21
22-from libarchive import memory_reader, memory_writer
23+from libarchive import ArchiveError, memory_reader, memory_writer
24 from libarchive.entry import ArchiveEntry, ConsumedArchiveEntry, PassedArchiveEntry
25
26 from . import data_dir, get_entries, get_tarinfos
27@@ -64,7 +64,13 @@ def test_check_ArchiveEntry_against_TarInfo():
28
29
30 def test_check_archiveentry_using_python_testtar():
31- check_entries(join(data_dir, 'testtar.tar'))
32+ # This test behaves differently depending on the libarchive version:
33+ # 3.5, 3.6 and presumably all future versions reject the archive as damaged,
34+ # whereas older versions accepted it.
35+ try:
36+ check_entries(join(data_dir, 'testtar.tar'))
37+ except ArchiveError as e:
38+ assert e.msg == "Damaged tar archive"
39
40
41 def test_check_archiveentry_with_unicode_and_binary_entries_tar():
diff --git a/meta/recipes-devtools/python/python3-libarchive-c/run-ptest b/meta/recipes-devtools/python/python3-libarchive-c/run-ptest
new file mode 100644
index 0000000000..ddfbba7f94
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-libarchive-c/run-ptest
@@ -0,0 +1,6 @@
1#!/bin/sh
2
3# export needed to set the locale to support accentuated and non-latin chars in tests
4export LC_ALL=en_US.UTF-8
5
6pytest --automake
diff --git a/meta/recipes-devtools/python/python3-libarchive-c_5.1.bb b/meta/recipes-devtools/python/python3-libarchive-c_5.1.bb
index 4e318e52f4..8b5de01b69 100644
--- a/meta/recipes-devtools/python/python3-libarchive-c_5.1.bb
+++ b/meta/recipes-devtools/python/python3-libarchive-c_5.1.bb
@@ -5,12 +5,26 @@ HOMEPAGE = "https://github.com/Changaco/python-libarchive-c"
5LICENSE = "CC0-1.0" 5LICENSE = "CC0-1.0"
6LIC_FILES_CHKSUM = "file://LICENSE.md;md5=bcab380227a83bc147350b40a81e6ffc" 6LIC_FILES_CHKSUM = "file://LICENSE.md;md5=bcab380227a83bc147350b40a81e6ffc"
7 7
8SRC_URI += " \
9 file://new-libarchive.patch \
10 file://0001-ffi-Insert-a-replacable-anchor-for-find_library.patch \
11 file://run-ptest \
12"
13
8PYPI_PACKAGE = "libarchive-c" 14PYPI_PACKAGE = "libarchive-c"
9 15
10inherit pypi setuptools3 16inherit pypi setuptools3 ptest-python-pytest
11 17
12SRC_URI[sha256sum] = "7bcce24ea6c0fa3bc62468476c6d2f6264156db2f04878a372027c10615a2721" 18SRC_URI[sha256sum] = "7bcce24ea6c0fa3bc62468476c6d2f6264156db2f04878a372027c10615a2721"
13 19
20DEPENDS += "patchelf-native libarchive"
21# Avoid using find_library API which needs ldconfig and ld/objdump
22# https://docs.python.org/3/library/ctypes.html#ctypes-reference
23#
24do_configure:append() {
25 sed -i -e "s|@@REPLACE_FIND_LIBRARY_API@@|'${libdir}/$(patchelf --print-soname ${STAGING_LIBDIR}/libarchive.so)'|" ${S}/libarchive/ffi.py
26}
27
14RDEPENDS:${PN} += "\ 28RDEPENDS:${PN} += "\
15 libarchive \ 29 libarchive \
16 python3-ctypes \ 30 python3-ctypes \
@@ -18,4 +32,14 @@ RDEPENDS:${PN} += "\
18 python3-logging \ 32 python3-logging \
19" 33"
20 34
35RDEPENDS:${PN}-ptest += " \
36 locale-base-en-us \
37"
38
21BBCLASSEXTEND = "native" 39BBCLASSEXTEND = "native"
40
41do_install_ptest:append() {
42 install -d ${D}${PTEST_PATH}/libarchive
43 cp ${S}/libarchive/* ${D}${PTEST_PATH}/libarchive/
44 cp ${S}/README.rst ${D}${PTEST_PATH}/README.rst
45}
diff --git a/meta/recipes-devtools/python/python3-license-expression/run-ptest b/meta/recipes-devtools/python/python3-license-expression/run-ptest
deleted file mode 100644
index 8d2017d39c..0000000000
--- a/meta/recipes-devtools/python/python3-license-expression/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@
1#!/bin/sh
2
3pytest --automake
diff --git a/meta/recipes-devtools/python/python3-license-expression_30.3.0.bb b/meta/recipes-devtools/python/python3-license-expression_30.4.1.bb
index f36336b592..ec613f6eaa 100644
--- a/meta/recipes-devtools/python/python3-license-expression_30.3.0.bb
+++ b/meta/recipes-devtools/python/python3-license-expression_30.4.1.bb
@@ -4,9 +4,11 @@ HOMEPAGE = "https://github.com/nexB/license-expression"
4LICENSE = "Apache-2.0" 4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://apache-2.0.LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" 5LIC_FILES_CHKSUM = "file://apache-2.0.LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
6 6
7SRC_URI[sha256sum] = "1295406f736b4f395ff069aec1cebfad53c0fcb3cf57df0f5ec58fc7b905aea5" 7SRC_URI[sha256sum] = "9f02105f9e0fcecba6a85dfbbed7d94ea1c3a70cf23ddbfb5adf3438a6f6fce0"
8 8
9inherit pypi ptest python_setuptools_build_meta 9inherit pypi ptest-python-pytest python_setuptools_build_meta
10PYPI_PACKAGE = "license_expression"
11UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
10 12
11DEPENDS += "python3-setuptools-scm-native" 13DEPENDS += "python3-setuptools-scm-native"
12 14
@@ -20,19 +22,9 @@ RDEPENDS:${PN} += "\
20 22
21BBCLASSEXTEND = "native nativesdk" 23BBCLASSEXTEND = "native nativesdk"
22 24
23SRC_URI += " \ 25do_install_ptest:append() {
24 file://run-ptest \ 26 # The tests need some files from the source tree
25"
26
27RDEPENDS:${PN}-ptest += " \
28 python3-pytest \
29 python3-unittest-automake-output \
30"
31
32do_install_ptest() {
33 install -d ${D}${PTEST_PATH}/tests
34 install -d ${D}${PTEST_PATH}/src 27 install -d ${D}${PTEST_PATH}/src
35 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ 28 ln -s ${PYTHON_SITEPACKAGES_DIR}/license_expression/ ${D}${PTEST_PATH}/src/
36 cp -rf ${S}/src/* ${D}${PTEST_PATH}/src/ 29 install -m644 ${S}/setup.cfg ${D}${PTEST_PATH}/
37 cp -rf ${S}/setup.cfg ${D}${PTEST_PATH}/
38} 30}
diff --git a/meta/recipes-devtools/python/python3-lxml_5.2.1.bb b/meta/recipes-devtools/python/python3-lxml_5.4.0.bb
index 44a10505f3..126fbe99b4 100644
--- a/meta/recipes-devtools/python/python3-lxml_5.2.1.bb
+++ b/meta/recipes-devtools/python/python3-lxml_5.4.0.bb
@@ -18,7 +18,7 @@ LIC_FILES_CHKSUM = "file://LICENSES.txt;md5=e4c045ebad958ead4b48008f70838403 \
18 18
19DEPENDS += "libxml2 libxslt" 19DEPENDS += "libxml2 libxslt"
20 20
21SRC_URI[sha256sum] = "3f7765e69bbce0906a7c74d5fe46d2c7a7596147318dbc08e4a2431f3060e306" 21SRC_URI[sha256sum] = "d12832e1dbea4be280b22fd0ea7c9b87f0d8fc51ba06e92dc62d52f804f78ebd"
22 22
23SRC_URI += "${PYPI_SRC_URI}" 23SRC_URI += "${PYPI_SRC_URI}"
24inherit pkgconfig pypi setuptools3 24inherit pkgconfig pypi setuptools3
@@ -39,4 +39,6 @@ BBCLASSEXTEND = "native nativesdk"
39 39
40RDEPENDS:${PN} += "libxml2 libxslt python3-compression" 40RDEPENDS:${PN} += "libxml2 libxslt python3-compression"
41 41
42CVE_PRODUCT = "lxml"
43
42CLEANBROKEN = "1" 44CLEANBROKEN = "1"
diff --git a/meta/recipes-devtools/python/python3-mako_1.3.10.bb b/meta/recipes-devtools/python/python3-mako_1.3.10.bb
new file mode 100644
index 0000000000..2d937dc184
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-mako_1.3.10.bb
@@ -0,0 +1,27 @@
1SUMMARY = "Templating library for Python"
2HOMEPAGE = "http://www.makotemplates.org/"
3SECTION = "devel/python"
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=73026b50800163bd3c75cfdc121d9eb5"
6
7PYPI_PACKAGE = "mako"
8
9inherit pypi python_setuptools_build_meta ptest-python-pytest
10
11SRC_URI[sha256sum] = "99579a6f39583fa7e5630a28c3c1f440e4e97a414b80372649c0ce338da2ea28"
12
13RDEPENDS:${PN} = "python3-html \
14 python3-markupsafe \
15 python3-misc \
16 python3-netclient \
17 python3-pygments \
18 python3-threading \
19"
20
21PTEST_PYTEST_DIR = "test"
22
23do_install_ptest:append() {
24 install -m 0644 ${S}/setup.cfg ${D}${PTEST_PATH}/
25}
26
27BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-mako_1.3.3.bb b/meta/recipes-devtools/python/python3-mako_1.3.3.bb
deleted file mode 100644
index 7545cbef99..0000000000
--- a/meta/recipes-devtools/python/python3-mako_1.3.3.bb
+++ /dev/null
@@ -1,20 +0,0 @@
1SUMMARY = "Templating library for Python"
2HOMEPAGE = "http://www.makotemplates.org/"
3SECTION = "devel/python"
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=d0995d6f7ba3f186a03118f244e88f57"
6
7PYPI_PACKAGE = "Mako"
8
9inherit pypi python_setuptools_build_meta
10
11SRC_URI[sha256sum] = "e16c01d9ab9c11f7290eef1cfefc093fb5a45ee4a3da09e2fec2e4d1bae54e73"
12
13RDEPENDS:${PN} = "python3-html \
14 python3-markupsafe \
15 python3-netclient \
16 python3-pygments \
17 python3-threading \
18"
19
20BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-markdown_3.6.bb b/meta/recipes-devtools/python/python3-markdown_3.8.bb
index 7c64837395..09c2f3435b 100644
--- a/meta/recipes-devtools/python/python3-markdown_3.6.bb
+++ b/meta/recipes-devtools/python/python3-markdown_3.8.bb
@@ -5,8 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.md;md5=ec58cdf7cfed06a21f7a9362627a5480"
5 5
6inherit pypi python_setuptools_build_meta 6inherit pypi python_setuptools_build_meta
7 7
8PYPI_PACKAGE = "Markdown" 8SRC_URI[sha256sum] = "7df81e63f0df5c4b24b7d156eb81e4690595239b7d70937d0409f1b0de319c6f"
9SRC_URI[sha256sum] = "ed4f41f6daecbeeb96e576ce414c41d2d876daa9a16cb35fa8ed8c2ddfad0224"
10 9
11BBCLASSEXTEND = "native nativesdk" 10BBCLASSEXTEND = "native nativesdk"
12 11
diff --git a/meta/recipes-devtools/python/python3-markupsafe/run-ptest b/meta/recipes-devtools/python/python3-markupsafe/run-ptest
deleted file mode 100644
index 8d2017d39c..0000000000
--- a/meta/recipes-devtools/python/python3-markupsafe/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@
1#!/bin/sh
2
3pytest --automake
diff --git a/meta/recipes-devtools/python/python3-markupsafe_2.1.5.bb b/meta/recipes-devtools/python/python3-markupsafe_2.1.5.bb
deleted file mode 100644
index 821332fe7c..0000000000
--- a/meta/recipes-devtools/python/python3-markupsafe_2.1.5.bb
+++ /dev/null
@@ -1,27 +0,0 @@
1SUMMARY = "Implements a XML/HTML/XHTML Markup safe string for Python"
2HOMEPAGE = "http://github.com/mitsuhiko/markupsafe"
3LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=ffeffa59c90c9c4a033c7574f8f3fb75"
5
6SRC_URI[sha256sum] = "d283d37a890ba4c1ae73ffadf8046435c76e7bc2247bbb63c00bd1a709c6544b"
7
8PYPI_PACKAGE = "MarkupSafe"
9inherit pypi python_setuptools_build_meta ptest
10
11RDEPENDS:${PN} += "python3-stringold"
12
13BBCLASSEXTEND = "native nativesdk"
14
15SRC_URI += " \
16 file://run-ptest \
17"
18
19RDEPENDS:${PN}-ptest += " \
20 python3-pytest \
21 python3-unittest-automake-output \
22"
23
24do_install_ptest() {
25 install -d ${D}${PTEST_PATH}/tests
26 cp -f ${S}/tests/* ${D}${PTEST_PATH}/tests/
27}
diff --git a/meta/recipes-devtools/python/python3-markupsafe_3.0.2.bb b/meta/recipes-devtools/python/python3-markupsafe_3.0.2.bb
new file mode 100644
index 0000000000..b90dd84f48
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-markupsafe_3.0.2.bb
@@ -0,0 +1,13 @@
1SUMMARY = "Implements a XML/HTML/XHTML Markup safe string for Python"
2HOMEPAGE = "http://github.com/mitsuhiko/markupsafe"
3LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ffeffa59c90c9c4a033c7574f8f3fb75"
5
6SRC_URI[sha256sum] = "ee55d3edf80167e48ea11a923c7386f4669df67d7994554387f84e7d8b0a2bf0"
7
8PYPI_PACKAGE = "markupsafe"
9inherit pypi python_setuptools_build_meta ptest-python-pytest
10
11RDEPENDS:${PN} += "python3-html python3-stringold"
12
13BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-maturin-crates.inc b/meta/recipes-devtools/python/python3-maturin-crates.inc
index ba207458ef..28551ff4ca 100644
--- a/meta/recipes-devtools/python/python3-maturin-crates.inc
+++ b/meta/recipes-devtools/python/python3-maturin-crates.inc
@@ -2,591 +2,747 @@
2 2
3# from Cargo.lock 3# from Cargo.lock
4SRC_URI += " \ 4SRC_URI += " \
5 crate://crates.io/adler/1.0.2 \ 5 crate://crates.io/adler2/2.0.0 \
6 crate://crates.io/ahash/0.8.7 \ 6 crate://crates.io/ahash/0.8.11 \
7 crate://crates.io/aho-corasick/1.1.2 \ 7 crate://crates.io/aho-corasick/1.1.3 \
8 crate://crates.io/allocator-api2/0.2.16 \ 8 crate://crates.io/allocator-api2/0.2.18 \
9 crate://crates.io/anstream/0.6.11 \ 9 crate://crates.io/anstream/0.6.14 \
10 crate://crates.io/anstyle/1.0.4 \ 10 crate://crates.io/anstyle/1.0.7 \
11 crate://crates.io/anstyle-parse/0.2.3 \ 11 crate://crates.io/anstyle-parse/0.2.4 \
12 crate://crates.io/anstyle-query/1.0.2 \ 12 crate://crates.io/anstyle-query/1.1.0 \
13 crate://crates.io/anstyle-wincon/3.0.2 \ 13 crate://crates.io/anstyle-wincon/3.0.3 \
14 crate://crates.io/anyhow/1.0.80 \ 14 crate://crates.io/anyhow/1.0.89 \
15 crate://crates.io/autocfg/1.1.0 \ 15 crate://crates.io/arbitrary/1.4.1 \
16 crate://crates.io/base64/0.13.1 \ 16 crate://crates.io/autocfg/1.3.0 \
17 crate://crates.io/automod/1.0.14 \
17 crate://crates.io/base64/0.21.7 \ 18 crate://crates.io/base64/0.21.7 \
19 crate://crates.io/base64/0.22.1 \
18 crate://crates.io/bitflags/1.3.2 \ 20 crate://crates.io/bitflags/1.3.2 \
19 crate://crates.io/bitflags/2.4.2 \ 21 crate://crates.io/bitflags/2.5.0 \
20 crate://crates.io/block-buffer/0.10.4 \ 22 crate://crates.io/block-buffer/0.10.4 \
21 crate://crates.io/bstr/1.9.0 \ 23 crate://crates.io/boxcar/0.2.8 \
24 crate://crates.io/bstr/1.10.0 \
25 crate://crates.io/bumpalo/3.16.0 \
22 crate://crates.io/byteorder/1.5.0 \ 26 crate://crates.io/byteorder/1.5.0 \
23 crate://crates.io/bytes/1.5.0 \ 27 crate://crates.io/bytes/1.9.0 \
24 crate://crates.io/bytesize/1.3.0 \ 28 crate://crates.io/bytesize/1.3.0 \
25 crate://crates.io/bzip2/0.4.4 \ 29 crate://crates.io/bzip2/0.5.2 \
26 crate://crates.io/bzip2-sys/0.1.11+1.0.8 \ 30 crate://crates.io/bzip2-sys/0.1.13+1.0.8 \
27 crate://crates.io/cab/0.4.1 \ 31 crate://crates.io/cab/0.6.0 \
28 crate://crates.io/camino/1.1.6 \ 32 crate://crates.io/camino/1.1.9 \
29 crate://crates.io/cargo-config2/0.1.19 \ 33 crate://crates.io/cargo-config2/0.1.26 \
30 crate://crates.io/cargo-options/0.7.2 \ 34 crate://crates.io/cargo-options/0.7.4 \
31 crate://crates.io/cargo-platform/0.1.6 \ 35 crate://crates.io/cargo-platform/0.1.8 \
32 crate://crates.io/cargo-xwin/0.16.4 \ 36 crate://crates.io/cargo-xwin/0.18.6 \
33 crate://crates.io/cargo-zigbuild/0.18.3 \ 37 crate://crates.io/cargo-zigbuild/0.20.0 \
34 crate://crates.io/cargo_metadata/0.18.1 \ 38 crate://crates.io/cargo_metadata/0.19.0 \
35 crate://crates.io/cbindgen/0.26.0 \ 39 crate://crates.io/cbindgen/0.29.0 \
36 crate://crates.io/cc/1.0.88 \ 40 crate://crates.io/cc/1.2.16 \
37 crate://crates.io/cfb/0.9.0 \ 41 crate://crates.io/cfb/0.10.0 \
38 crate://crates.io/cfg-if/1.0.0 \ 42 crate://crates.io/cfg-if/1.0.0 \
39 crate://crates.io/charset/0.1.3 \ 43 crate://crates.io/charset/0.1.5 \
40 crate://crates.io/chumsky/0.9.3 \ 44 crate://crates.io/chumsky/0.9.3 \
41 crate://crates.io/clap/4.4.18 \ 45 crate://crates.io/clap/4.5.7 \
42 crate://crates.io/clap_builder/4.4.18 \ 46 crate://crates.io/clap_builder/4.5.7 \
43 crate://crates.io/clap_complete/4.4.9 \ 47 crate://crates.io/clap_complete/4.5.5 \
44 crate://crates.io/clap_complete_command/0.5.1 \ 48 crate://crates.io/clap_complete_command/0.6.1 \
45 crate://crates.io/clap_complete_nushell/0.1.11 \ 49 crate://crates.io/clap_complete_nushell/4.5.2 \
46 crate://crates.io/clap_derive/4.4.7 \ 50 crate://crates.io/clap_derive/4.5.5 \
47 crate://crates.io/clap_lex/0.6.0 \ 51 crate://crates.io/clap_lex/0.7.1 \
48 crate://crates.io/cli-table/0.4.7 \ 52 crate://crates.io/cli-table/0.4.7 \
49 crate://crates.io/colorchoice/1.0.0 \ 53 crate://crates.io/colorchoice/1.0.1 \
50 crate://crates.io/configparser/3.0.4 \ 54 crate://crates.io/configparser/3.1.0 \
51 crate://crates.io/console/0.15.8 \ 55 crate://crates.io/console/0.15.8 \
52 crate://crates.io/content_inspector/0.2.4 \ 56 crate://crates.io/content_inspector/0.2.4 \
53 crate://crates.io/core-foundation/0.9.4 \ 57 crate://crates.io/core-foundation/0.9.4 \
54 crate://crates.io/core-foundation-sys/0.8.6 \ 58 crate://crates.io/core-foundation-sys/0.8.6 \
55 crate://crates.io/cpufeatures/0.2.12 \ 59 crate://crates.io/cpufeatures/0.2.12 \
56 crate://crates.io/crc32fast/1.3.2 \ 60 crate://crates.io/crc/3.2.1 \
57 crate://crates.io/crossbeam-channel/0.5.11 \ 61 crate://crates.io/crc-catalog/2.4.0 \
62 crate://crates.io/crc32fast/1.4.2 \
63 crate://crates.io/crossbeam-channel/0.5.15 \
58 crate://crates.io/crossbeam-deque/0.8.5 \ 64 crate://crates.io/crossbeam-deque/0.8.5 \
59 crate://crates.io/crossbeam-epoch/0.9.18 \ 65 crate://crates.io/crossbeam-epoch/0.9.18 \
60 crate://crates.io/crossbeam-utils/0.8.19 \ 66 crate://crates.io/crossbeam-utils/0.8.20 \
61 crate://crates.io/crypto-common/0.1.6 \ 67 crate://crates.io/crypto-common/0.1.6 \
62 crate://crates.io/data-encoding/2.5.0 \ 68 crate://crates.io/data-encoding/2.6.0 \
63 crate://crates.io/deranged/0.3.11 \ 69 crate://crates.io/deranged/0.3.11 \
64 crate://crates.io/derivative/2.2.0 \ 70 crate://crates.io/derive_arbitrary/1.4.1 \
65 crate://crates.io/dialoguer/0.11.0 \ 71 crate://crates.io/dialoguer/0.11.0 \
66 crate://crates.io/diff/0.1.13 \ 72 crate://crates.io/diff/0.1.13 \
67 crate://crates.io/digest/0.10.7 \ 73 crate://crates.io/digest/0.10.7 \
68 crate://crates.io/dirs/5.0.1 \ 74 crate://crates.io/dirs/5.0.1 \
69 crate://crates.io/dirs-sys/0.4.1 \ 75 crate://crates.io/dirs-sys/0.4.1 \
70 crate://crates.io/dissimilar/1.0.7 \ 76 crate://crates.io/displaydoc/0.2.5 \
71 crate://crates.io/dunce/1.0.4 \ 77 crate://crates.io/dissimilar/1.0.9 \
72 crate://crates.io/either/1.9.0 \ 78 crate://crates.io/dunce/1.0.5 \
79 crate://crates.io/dyn-clone/1.0.17 \
80 crate://crates.io/either/1.13.0 \
73 crate://crates.io/encode_unicode/0.3.6 \ 81 crate://crates.io/encode_unicode/0.3.6 \
74 crate://crates.io/encoding_rs/0.8.33 \ 82 crate://crates.io/encoding_rs/0.8.34 \
75 crate://crates.io/equivalent/1.0.1 \ 83 crate://crates.io/equivalent/1.0.1 \
76 crate://crates.io/errno/0.3.8 \ 84 crate://crates.io/errno/0.3.9 \
77 crate://crates.io/expect-test/1.4.1 \ 85 crate://crates.io/expect-test/1.5.0 \
78 crate://crates.io/fastrand/2.0.1 \ 86 crate://crates.io/fastrand/2.1.0 \
79 crate://crates.io/fat-macho/0.4.8 \ 87 crate://crates.io/fat-macho/0.4.9 \
80 crate://crates.io/filetime/0.2.23 \ 88 crate://crates.io/filetime/0.2.23 \
81 crate://crates.io/flate2/1.0.28 \ 89 crate://crates.io/flate2/1.0.33 \
82 crate://crates.io/fnv/1.0.7 \ 90 crate://crates.io/fnv/1.0.7 \
83 crate://crates.io/foreign-types/0.3.2 \ 91 crate://crates.io/foreign-types/0.3.2 \
84 crate://crates.io/foreign-types-shared/0.1.1 \ 92 crate://crates.io/foreign-types-shared/0.1.1 \
85 crate://crates.io/form_urlencoded/1.2.1 \ 93 crate://crates.io/form_urlencoded/1.2.1 \
86 crate://crates.io/fs-err/2.11.0 \ 94 crate://crates.io/fs-err/3.0.0 \
95 crate://crates.io/fs4/0.12.0 \
96 crate://crates.io/futures/0.3.30 \
97 crate://crates.io/futures-channel/0.3.31 \
98 crate://crates.io/futures-core/0.3.31 \
99 crate://crates.io/futures-executor/0.3.30 \
100 crate://crates.io/futures-io/0.3.31 \
101 crate://crates.io/futures-macro/0.3.31 \
102 crate://crates.io/futures-sink/0.3.31 \
103 crate://crates.io/futures-task/0.3.31 \
104 crate://crates.io/futures-timer/3.0.3 \
105 crate://crates.io/futures-util/0.3.31 \
87 crate://crates.io/generic-array/0.14.7 \ 106 crate://crates.io/generic-array/0.14.7 \
88 crate://crates.io/getrandom/0.2.12 \ 107 crate://crates.io/getrandom/0.2.15 \
108 crate://crates.io/getrandom/0.3.3 \
89 crate://crates.io/glob/0.3.1 \ 109 crate://crates.io/glob/0.3.1 \
90 crate://crates.io/globset/0.4.14 \ 110 crate://crates.io/globset/0.4.16 \
91 crate://crates.io/goblin/0.8.0 \ 111 crate://crates.io/goblin/0.9.2 \
92 crate://crates.io/hashbrown/0.12.3 \ 112 crate://crates.io/hashbrown/0.14.5 \
93 crate://crates.io/hashbrown/0.14.3 \ 113 crate://crates.io/hashbrown/0.15.2 \
94 crate://crates.io/heck/0.4.1 \ 114 crate://crates.io/heck/0.5.0 \
95 crate://crates.io/home/0.5.9 \ 115 crate://crates.io/home/0.5.9 \
96 crate://crates.io/humantime/2.1.0 \ 116 crate://crates.io/humantime/2.1.0 \
97 crate://crates.io/humantime-serde/1.1.1 \ 117 crate://crates.io/humantime-serde/1.1.1 \
98 crate://crates.io/idna/0.5.0 \ 118 crate://crates.io/icu_collections/1.5.0 \
99 crate://crates.io/ignore/0.4.22 \ 119 crate://crates.io/icu_locid/1.5.0 \
100 crate://crates.io/indexmap/1.9.3 \ 120 crate://crates.io/icu_locid_transform/1.5.0 \
101 crate://crates.io/indexmap/2.2.3 \ 121 crate://crates.io/icu_locid_transform_data/1.5.0 \
102 crate://crates.io/indicatif/0.17.7 \ 122 crate://crates.io/icu_normalizer/1.5.0 \
103 crate://crates.io/indoc/2.0.4 \ 123 crate://crates.io/icu_normalizer_data/1.5.0 \
104 crate://crates.io/instant/0.1.12 \ 124 crate://crates.io/icu_properties/1.5.1 \
105 crate://crates.io/itertools/0.11.0 \ 125 crate://crates.io/icu_properties_data/1.5.0 \
126 crate://crates.io/icu_provider/1.5.0 \
127 crate://crates.io/icu_provider_macros/1.5.0 \
128 crate://crates.io/idna/1.0.3 \
129 crate://crates.io/idna_adapter/1.2.0 \
130 crate://crates.io/ignore/0.4.23 \
131 crate://crates.io/indexmap/2.6.0 \
132 crate://crates.io/indicatif/0.17.9 \
133 crate://crates.io/indoc/2.0.5 \
134 crate://crates.io/insta/1.43.1 \
135 crate://crates.io/is_terminal_polyfill/1.70.0 \
106 crate://crates.io/itertools/0.12.1 \ 136 crate://crates.io/itertools/0.12.1 \
107 crate://crates.io/itoa/1.0.10 \ 137 crate://crates.io/itertools/0.13.0 \
108 crate://crates.io/keyring/2.3.2 \ 138 crate://crates.io/itoa/1.0.11 \
139 crate://crates.io/jobserver/0.1.33 \
140 crate://crates.io/js-sys/0.3.73 \
141 crate://crates.io/keyring/2.3.3 \
109 crate://crates.io/lazy_static/1.4.0 \ 142 crate://crates.io/lazy_static/1.4.0 \
110 crate://crates.io/lddtree/0.3.4 \ 143 crate://crates.io/lddtree/0.3.7 \
111 crate://crates.io/libc/0.2.153 \ 144 crate://crates.io/libc/0.2.172 \
112 crate://crates.io/libredox/0.0.1 \ 145 crate://crates.io/libmimalloc-sys/0.1.39 \
146 crate://crates.io/libredox/0.1.3 \
113 crate://crates.io/linux-keyutils/0.2.4 \ 147 crate://crates.io/linux-keyutils/0.2.4 \
114 crate://crates.io/linux-raw-sys/0.4.13 \ 148 crate://crates.io/linux-raw-sys/0.4.14 \
115 crate://crates.io/lock_api/0.4.11 \ 149 crate://crates.io/litemap/0.7.3 \
116 crate://crates.io/log/0.4.20 \ 150 crate://crates.io/lock_api/0.4.12 \
117 crate://crates.io/lzxd/0.1.4 \ 151 crate://crates.io/lockfree-object-pool/0.1.6 \
118 crate://crates.io/mailparse/0.14.1 \ 152 crate://crates.io/log/0.4.22 \
153 crate://crates.io/lzma-rs/0.3.0 \
154 crate://crates.io/lzma-sys/0.1.20 \
155 crate://crates.io/lzxd/0.2.5 \
156 crate://crates.io/mailparse/0.15.0 \
119 crate://crates.io/matchers/0.1.0 \ 157 crate://crates.io/matchers/0.1.0 \
120 crate://crates.io/memchr/2.7.1 \ 158 crate://crates.io/memchr/2.7.4 \
159 crate://crates.io/mimalloc/0.1.43 \
121 crate://crates.io/mime/0.3.17 \ 160 crate://crates.io/mime/0.3.17 \
122 crate://crates.io/mime_guess/2.0.4 \ 161 crate://crates.io/mime_guess/2.0.4 \
123 crate://crates.io/minijinja/1.0.12 \ 162 crate://crates.io/minijinja/2.5.0 \
124 crate://crates.io/minimal-lexical/0.2.1 \ 163 crate://crates.io/minimal-lexical/0.2.1 \
125 crate://crates.io/miniz_oxide/0.7.1 \ 164 crate://crates.io/miniz_oxide/0.8.0 \
126 crate://crates.io/msi/0.7.0 \ 165 crate://crates.io/msi/0.8.0 \
127 crate://crates.io/multipart/0.18.0 \ 166 crate://crates.io/multipart/0.18.0 \
128 crate://crates.io/native-tls/0.2.11 \ 167 crate://crates.io/native-tls/0.2.12 \
129 crate://crates.io/nom/7.1.3 \ 168 crate://crates.io/nom/7.1.3 \
130 crate://crates.io/normalize-line-endings/0.3.0 \ 169 crate://crates.io/normalize-line-endings/0.3.0 \
131 crate://crates.io/normpath/1.1.1 \ 170 crate://crates.io/normpath/1.2.0 \
132 crate://crates.io/nu-ansi-term/0.46.0 \ 171 crate://crates.io/nu-ansi-term/0.46.0 \
133 crate://crates.io/num-conv/0.1.0 \ 172 crate://crates.io/num-conv/0.1.0 \
134 crate://crates.io/number_prefix/0.4.0 \ 173 crate://crates.io/number_prefix/0.4.0 \
135 crate://crates.io/once_cell/1.19.0 \ 174 crate://crates.io/once_cell/1.20.2 \
136 crate://crates.io/openssl/0.10.63 \ 175 crate://crates.io/openssl/0.10.72 \
137 crate://crates.io/openssl-macros/0.1.1 \ 176 crate://crates.io/openssl-macros/0.1.1 \
138 crate://crates.io/openssl-probe/0.1.5 \ 177 crate://crates.io/openssl-probe/0.1.5 \
139 crate://crates.io/openssl-sys/0.9.99 \ 178 crate://crates.io/openssl-sys/0.9.107 \
140 crate://crates.io/option-ext/0.2.0 \ 179 crate://crates.io/option-ext/0.2.0 \
141 crate://crates.io/os_pipe/1.1.5 \ 180 crate://crates.io/os_pipe/1.2.0 \
142 crate://crates.io/overload/0.1.1 \ 181 crate://crates.io/overload/0.1.1 \
143 crate://crates.io/parking_lot/0.12.1 \ 182 crate://crates.io/parking_lot/0.12.3 \
144 crate://crates.io/parking_lot_core/0.9.9 \ 183 crate://crates.io/parking_lot_core/0.9.10 \
145 crate://crates.io/paste/1.0.14 \ 184 crate://crates.io/paste/1.0.15 \
146 crate://crates.io/path-slash/0.2.1 \ 185 crate://crates.io/path-slash/0.2.1 \
147 crate://crates.io/pep440_rs/0.5.0 \ 186 crate://crates.io/pep440_rs/0.7.3 \
148 crate://crates.io/pep508_rs/0.4.2 \ 187 crate://crates.io/pep508_rs/0.9.2 \
149 crate://crates.io/percent-encoding/2.3.1 \ 188 crate://crates.io/percent-encoding/2.3.1 \
150 crate://crates.io/pin-project-lite/0.2.13 \ 189 crate://crates.io/pin-project-lite/0.2.15 \
151 crate://crates.io/pkg-config/0.3.29 \ 190 crate://crates.io/pin-utils/0.1.0 \
191 crate://crates.io/pkg-config/0.3.30 \
152 crate://crates.io/plain/0.2.3 \ 192 crate://crates.io/plain/0.2.3 \
153 crate://crates.io/platform-info/2.0.2 \ 193 crate://crates.io/platform-info/2.0.5 \
154 crate://crates.io/portable-atomic/1.6.0 \ 194 crate://crates.io/portable-atomic/1.6.0 \
155 crate://crates.io/powerfmt/0.2.0 \ 195 crate://crates.io/powerfmt/0.2.0 \
156 crate://crates.io/ppv-lite86/0.2.17 \ 196 crate://crates.io/ppv-lite86/0.2.17 \
157 crate://crates.io/pretty_assertions/1.4.0 \ 197 crate://crates.io/pretty_assertions/1.4.1 \
158 crate://crates.io/proc-macro2/1.0.78 \ 198 crate://crates.io/proc-macro-crate/3.1.0 \
199 crate://crates.io/proc-macro2/1.0.92 \
159 crate://crates.io/psm/0.1.21 \ 200 crate://crates.io/psm/0.1.21 \
160 crate://crates.io/pyproject-toml/0.10.0 \ 201 crate://crates.io/pyproject-toml/0.13.5 \
161 crate://crates.io/python-pkginfo/0.6.0 \ 202 crate://crates.io/python-pkginfo/0.6.5 \
162 crate://crates.io/quote/1.0.35 \ 203 crate://crates.io/quote/1.0.37 \
163 crate://crates.io/quoted_printable/0.4.8 \
164 crate://crates.io/quoted_printable/0.5.0 \ 204 crate://crates.io/quoted_printable/0.5.0 \
205 crate://crates.io/r-efi/5.2.0 \
165 crate://crates.io/rand/0.8.5 \ 206 crate://crates.io/rand/0.8.5 \
166 crate://crates.io/rand_chacha/0.3.1 \ 207 crate://crates.io/rand_chacha/0.3.1 \
167 crate://crates.io/rand_core/0.6.4 \ 208 crate://crates.io/rand_core/0.6.4 \
168 crate://crates.io/rayon/1.8.1 \ 209 crate://crates.io/rayon/1.10.0 \
169 crate://crates.io/rayon-core/1.12.1 \ 210 crate://crates.io/rayon-core/1.12.1 \
170 crate://crates.io/redox_syscall/0.4.1 \ 211 crate://crates.io/redox_syscall/0.4.1 \
171 crate://crates.io/redox_users/0.4.4 \ 212 crate://crates.io/redox_syscall/0.5.1 \
172 crate://crates.io/regex/1.10.3 \ 213 crate://crates.io/redox_users/0.4.5 \
214 crate://crates.io/regex/1.11.1 \
173 crate://crates.io/regex-automata/0.1.10 \ 215 crate://crates.io/regex-automata/0.1.10 \
174 crate://crates.io/regex-automata/0.4.5 \ 216 crate://crates.io/regex-automata/0.4.9 \
175 crate://crates.io/regex-syntax/0.6.29 \ 217 crate://crates.io/regex-syntax/0.6.29 \
176 crate://crates.io/regex-syntax/0.8.2 \ 218 crate://crates.io/regex-syntax/0.8.5 \
177 crate://crates.io/rfc2047-decoder/0.2.2 \ 219 crate://crates.io/relative-path/1.9.3 \
178 crate://crates.io/ring/0.17.7 \ 220 crate://crates.io/rfc2047-decoder/1.0.6 \
179 crate://crates.io/rustc_version/0.4.0 \ 221 crate://crates.io/ring/0.17.13 \
180 crate://crates.io/rustix/0.38.32 \ 222 crate://crates.io/rstest/0.22.0 \
181 crate://crates.io/rustls/0.22.2 \ 223 crate://crates.io/rstest_macros/0.22.0 \
182 crate://crates.io/rustls-pemfile/2.1.0 \ 224 crate://crates.io/rustc-hash/2.0.0 \
183 crate://crates.io/rustls-pki-types/1.3.1 \ 225 crate://crates.io/rustc_version/0.4.1 \
184 crate://crates.io/rustls-webpki/0.102.1 \ 226 crate://crates.io/rustflags/0.1.6 \
185 crate://crates.io/rustversion/1.0.14 \ 227 crate://crates.io/rustix/0.38.41 \
186 crate://crates.io/ryu/1.0.16 \ 228 crate://crates.io/rustls/0.23.19 \
229 crate://crates.io/rustls-pemfile/2.1.3 \
230 crate://crates.io/rustls-pki-types/1.10.0 \
231 crate://crates.io/rustls-webpki/0.102.8 \
232 crate://crates.io/rustversion/1.0.18 \
233 crate://crates.io/ryu/1.0.18 \
187 crate://crates.io/same-file/1.0.6 \ 234 crate://crates.io/same-file/1.0.6 \
188 crate://crates.io/schannel/0.1.23 \ 235 crate://crates.io/schannel/0.1.23 \
236 crate://crates.io/schemars/0.8.21 \
237 crate://crates.io/schemars_derive/0.8.21 \
189 crate://crates.io/scopeguard/1.2.0 \ 238 crate://crates.io/scopeguard/1.2.0 \
190 crate://crates.io/scroll/0.12.0 \ 239 crate://crates.io/scroll/0.12.0 \
191 crate://crates.io/scroll_derive/0.12.0 \ 240 crate://crates.io/scroll_derive/0.12.0 \
192 crate://crates.io/security-framework/2.9.2 \ 241 crate://crates.io/security-framework/2.11.0 \
193 crate://crates.io/security-framework-sys/2.9.1 \ 242 crate://crates.io/security-framework-sys/2.11.0 \
194 crate://crates.io/semver/1.0.22 \ 243 crate://crates.io/semver/1.0.23 \
195 crate://crates.io/serde/1.0.197 \ 244 crate://crates.io/serde/1.0.217 \
196 crate://crates.io/serde_derive/1.0.197 \ 245 crate://crates.io/serde_derive/1.0.217 \
197 crate://crates.io/serde_json/1.0.114 \ 246 crate://crates.io/serde_derive_internals/0.29.1 \
198 crate://crates.io/serde_spanned/0.6.5 \ 247 crate://crates.io/serde_json/1.0.135 \
248 crate://crates.io/serde_spanned/0.6.8 \
199 crate://crates.io/sha2/0.10.8 \ 249 crate://crates.io/sha2/0.10.8 \
200 crate://crates.io/sharded-slab/0.1.7 \ 250 crate://crates.io/sharded-slab/0.1.7 \
201 crate://crates.io/shell-words/1.1.0 \ 251 crate://crates.io/shell-words/1.1.0 \
202 crate://crates.io/shlex/1.3.0 \ 252 crate://crates.io/shlex/1.3.0 \
203 crate://crates.io/similar/2.4.0 \ 253 crate://crates.io/simd-adler32/0.3.7 \
204 crate://crates.io/smallvec/1.13.1 \ 254 crate://crates.io/similar/2.5.0 \
255 crate://crates.io/slab/0.4.9 \
256 crate://crates.io/smallvec/1.13.2 \
205 crate://crates.io/smawk/0.3.2 \ 257 crate://crates.io/smawk/0.3.2 \
206 crate://crates.io/snapbox/0.5.7 \ 258 crate://crates.io/snapbox/0.6.16 \
207 crate://crates.io/snapbox-macros/0.3.8 \ 259 crate://crates.io/snapbox-macros/0.3.10 \
208 crate://crates.io/socks/0.3.4 \ 260 crate://crates.io/socks/0.3.4 \
209 crate://crates.io/spin/0.9.8 \ 261 crate://crates.io/stable_deref_trait/1.2.0 \
210 crate://crates.io/stacker/0.1.15 \ 262 crate://crates.io/stacker/0.1.15 \
211 crate://crates.io/static_assertions/1.1.0 \ 263 crate://crates.io/static_assertions/1.1.0 \
212 crate://crates.io/strsim/0.10.0 \ 264 crate://crates.io/strsim/0.11.1 \
213 crate://crates.io/subtle/2.5.0 \ 265 crate://crates.io/subtle/2.5.0 \
214 crate://crates.io/syn/1.0.109 \ 266 crate://crates.io/syn/2.0.90 \
215 crate://crates.io/syn/2.0.48 \ 267 crate://crates.io/synstructure/0.13.1 \
216 crate://crates.io/tar/0.4.40 \ 268 crate://crates.io/tar/0.4.43 \
217 crate://crates.io/target-lexicon/0.12.14 \ 269 crate://crates.io/target-lexicon/0.13.1 \
218 crate://crates.io/tempfile/3.9.0 \ 270 crate://crates.io/tempfile/3.11.0 \
219 crate://crates.io/termcolor/1.4.1 \ 271 crate://crates.io/termcolor/1.4.1 \
220 crate://crates.io/terminal_size/0.3.0 \ 272 crate://crates.io/terminal_size/0.3.0 \
221 crate://crates.io/textwrap/0.16.1 \ 273 crate://crates.io/textwrap/0.16.1 \
222 crate://crates.io/thiserror/1.0.57 \ 274 crate://crates.io/thiserror/1.0.69 \
223 crate://crates.io/thiserror-impl/1.0.57 \ 275 crate://crates.io/thiserror/2.0.12 \
224 crate://crates.io/thread_local/1.1.7 \ 276 crate://crates.io/thiserror-impl/1.0.69 \
225 crate://crates.io/time/0.3.34 \ 277 crate://crates.io/thiserror-impl/2.0.12 \
278 crate://crates.io/thread_local/1.1.8 \
279 crate://crates.io/time/0.3.36 \
226 crate://crates.io/time-core/0.1.2 \ 280 crate://crates.io/time-core/0.1.2 \
227 crate://crates.io/time-macros/0.2.17 \ 281 crate://crates.io/time-macros/0.2.18 \
228 crate://crates.io/tinyvec/1.6.0 \ 282 crate://crates.io/tinystr/0.7.6 \
229 crate://crates.io/tinyvec_macros/0.1.1 \ 283 crate://crates.io/toml/0.8.19 \
230 crate://crates.io/toml/0.5.11 \ 284 crate://crates.io/toml_datetime/0.6.8 \
231 crate://crates.io/toml/0.8.10 \ 285 crate://crates.io/toml_edit/0.21.1 \
232 crate://crates.io/toml_datetime/0.6.5 \ 286 crate://crates.io/toml_edit/0.22.22 \
233 crate://crates.io/toml_edit/0.22.6 \ 287 crate://crates.io/tracing/0.1.41 \
234 crate://crates.io/tracing/0.1.40 \ 288 crate://crates.io/tracing-attributes/0.1.28 \
235 crate://crates.io/tracing-attributes/0.1.27 \ 289 crate://crates.io/tracing-core/0.1.33 \
236 crate://crates.io/tracing-core/0.1.32 \
237 crate://crates.io/tracing-log/0.2.0 \ 290 crate://crates.io/tracing-log/0.2.0 \
238 crate://crates.io/tracing-serde/0.1.3 \ 291 crate://crates.io/tracing-serde/0.2.0 \
239 crate://crates.io/tracing-subscriber/0.3.18 \ 292 crate://crates.io/tracing-subscriber/0.3.19 \
240 crate://crates.io/trycmd/0.15.0 \ 293 crate://crates.io/trycmd/0.15.6 \
241 crate://crates.io/twox-hash/1.6.3 \ 294 crate://crates.io/twox-hash/1.6.3 \
242 crate://crates.io/typenum/1.17.0 \ 295 crate://crates.io/typenum/1.17.0 \
243 crate://crates.io/unicase/2.7.0 \ 296 crate://crates.io/unicase/2.7.0 \
244 crate://crates.io/unicode-bidi/0.3.15 \
245 crate://crates.io/unicode-ident/1.0.12 \ 297 crate://crates.io/unicode-ident/1.0.12 \
246 crate://crates.io/unicode-linebreak/0.1.5 \ 298 crate://crates.io/unicode-linebreak/0.1.5 \
247 crate://crates.io/unicode-normalization/0.1.22 \ 299 crate://crates.io/unicode-width/0.1.13 \
248 crate://crates.io/unicode-width/0.1.11 \ 300 crate://crates.io/unicode-width/0.2.0 \
249 crate://crates.io/unicode-xid/0.2.4 \ 301 crate://crates.io/unicode-xid/0.2.6 \
250 crate://crates.io/unscanny/0.1.0 \ 302 crate://crates.io/unscanny/0.1.0 \
251 crate://crates.io/untrusted/0.9.0 \ 303 crate://crates.io/untrusted/0.9.0 \
252 crate://crates.io/ureq/2.9.6 \ 304 crate://crates.io/ureq/2.11.0 \
253 crate://crates.io/url/2.5.0 \ 305 crate://crates.io/url/2.5.4 \
254 crate://crates.io/urlencoding/2.1.3 \ 306 crate://crates.io/urlencoding/2.1.3 \
255 crate://crates.io/utf8parse/0.2.1 \ 307 crate://crates.io/utf16_iter/1.0.5 \
256 crate://crates.io/uuid/1.7.0 \ 308 crate://crates.io/utf8_iter/1.0.4 \
309 crate://crates.io/utf8parse/0.2.2 \
310 crate://crates.io/uuid/1.8.0 \
257 crate://crates.io/valuable/0.1.0 \ 311 crate://crates.io/valuable/0.1.0 \
258 crate://crates.io/vcpkg/0.2.15 \ 312 crate://crates.io/vcpkg/0.2.15 \
313 crate://crates.io/version-ranges/0.1.1 \
259 crate://crates.io/version_check/0.9.4 \ 314 crate://crates.io/version_check/0.9.4 \
260 crate://crates.io/versions/5.0.1 \ 315 crate://crates.io/versions/6.2.0 \
261 crate://crates.io/wait-timeout/0.2.0 \ 316 crate://crates.io/wait-timeout/0.2.0 \
262 crate://crates.io/walkdir/2.4.0 \ 317 crate://crates.io/walkdir/2.5.0 \
263 crate://crates.io/wasi/0.11.0+wasi-snapshot-preview1 \ 318 crate://crates.io/wasi/0.11.0+wasi-snapshot-preview1 \
264 crate://crates.io/webpki-roots/0.26.0 \ 319 crate://crates.io/wasi/0.14.2+wasi-0.2.4 \
265 crate://crates.io/which/5.0.0 \ 320 crate://crates.io/wasm-bindgen/0.2.96 \
266 crate://crates.io/which/6.0.0 \ 321 crate://crates.io/wasm-bindgen-backend/0.2.96 \
322 crate://crates.io/wasm-bindgen-macro/0.2.96 \
323 crate://crates.io/wasm-bindgen-macro-support/0.2.96 \
324 crate://crates.io/wasm-bindgen-shared/0.2.96 \
325 crate://crates.io/web-time/1.1.0 \
326 crate://crates.io/webpki-roots/0.26.2 \
327 crate://crates.io/which/7.0.0 \
267 crate://crates.io/wild/2.2.1 \ 328 crate://crates.io/wild/2.2.1 \
268 crate://crates.io/winapi/0.3.9 \ 329 crate://crates.io/winapi/0.3.9 \
269 crate://crates.io/winapi-i686-pc-windows-gnu/0.4.0 \ 330 crate://crates.io/winapi-i686-pc-windows-gnu/0.4.0 \
270 crate://crates.io/winapi-util/0.1.6 \ 331 crate://crates.io/winapi-util/0.1.8 \
271 crate://crates.io/winapi-x86_64-pc-windows-gnu/0.4.0 \ 332 crate://crates.io/winapi-x86_64-pc-windows-gnu/0.4.0 \
272 crate://crates.io/windows-sys/0.48.0 \ 333 crate://crates.io/windows-sys/0.48.0 \
273 crate://crates.io/windows-sys/0.52.0 \ 334 crate://crates.io/windows-sys/0.52.0 \
274 crate://crates.io/windows-targets/0.48.5 \ 335 crate://crates.io/windows-targets/0.48.5 \
275 crate://crates.io/windows-targets/0.52.0 \ 336 crate://crates.io/windows-targets/0.52.5 \
276 crate://crates.io/windows_aarch64_gnullvm/0.48.5 \ 337 crate://crates.io/windows_aarch64_gnullvm/0.48.5 \
277 crate://crates.io/windows_aarch64_gnullvm/0.52.0 \ 338 crate://crates.io/windows_aarch64_gnullvm/0.52.5 \
278 crate://crates.io/windows_aarch64_msvc/0.48.5 \ 339 crate://crates.io/windows_aarch64_msvc/0.48.5 \
279 crate://crates.io/windows_aarch64_msvc/0.52.0 \ 340 crate://crates.io/windows_aarch64_msvc/0.52.5 \
280 crate://crates.io/windows_i686_gnu/0.48.5 \ 341 crate://crates.io/windows_i686_gnu/0.48.5 \
281 crate://crates.io/windows_i686_gnu/0.52.0 \ 342 crate://crates.io/windows_i686_gnu/0.52.5 \
343 crate://crates.io/windows_i686_gnullvm/0.52.5 \
282 crate://crates.io/windows_i686_msvc/0.48.5 \ 344 crate://crates.io/windows_i686_msvc/0.48.5 \
283 crate://crates.io/windows_i686_msvc/0.52.0 \ 345 crate://crates.io/windows_i686_msvc/0.52.5 \
284 crate://crates.io/windows_x86_64_gnu/0.48.5 \ 346 crate://crates.io/windows_x86_64_gnu/0.48.5 \
285 crate://crates.io/windows_x86_64_gnu/0.52.0 \ 347 crate://crates.io/windows_x86_64_gnu/0.52.5 \
286 crate://crates.io/windows_x86_64_gnullvm/0.48.5 \ 348 crate://crates.io/windows_x86_64_gnullvm/0.48.5 \
287 crate://crates.io/windows_x86_64_gnullvm/0.52.0 \ 349 crate://crates.io/windows_x86_64_gnullvm/0.52.5 \
288 crate://crates.io/windows_x86_64_msvc/0.48.5 \ 350 crate://crates.io/windows_x86_64_msvc/0.48.5 \
289 crate://crates.io/windows_x86_64_msvc/0.52.0 \ 351 crate://crates.io/windows_x86_64_msvc/0.52.5 \
290 crate://crates.io/winnow/0.6.2 \ 352 crate://crates.io/winnow/0.5.40 \
353 crate://crates.io/winnow/0.6.20 \
354 crate://crates.io/winsafe/0.0.19 \
355 crate://crates.io/wit-bindgen-rt/0.39.0 \
356 crate://crates.io/write16/1.0.0 \
357 crate://crates.io/writeable/0.5.5 \
291 crate://crates.io/xattr/1.3.1 \ 358 crate://crates.io/xattr/1.3.1 \
292 crate://crates.io/xwin/0.5.0 \ 359 crate://crates.io/xwin/0.6.5 \
293 crate://crates.io/yansi/0.5.1 \ 360 crate://crates.io/xz2/0.1.7 \
294 crate://crates.io/zerocopy/0.7.32 \ 361 crate://crates.io/yansi/1.0.1 \
295 crate://crates.io/zerocopy-derive/0.7.32 \ 362 crate://crates.io/yoke/0.7.4 \
296 crate://crates.io/zeroize/1.7.0 \ 363 crate://crates.io/yoke-derive/0.7.5 \
297 crate://crates.io/zip/0.6.6 \ 364 crate://crates.io/zerocopy/0.7.35 \
365 crate://crates.io/zerocopy-derive/0.7.35 \
366 crate://crates.io/zerofrom/0.1.4 \
367 crate://crates.io/zerofrom-derive/0.1.5 \
368 crate://crates.io/zeroize/1.8.1 \
369 crate://crates.io/zerovec/0.10.4 \
370 crate://crates.io/zerovec-derive/0.10.3 \
371 crate://crates.io/zip/2.3.0 \
372 crate://crates.io/zopfli/0.8.1 \
373 crate://crates.io/zstd/0.13.3 \
374 crate://crates.io/zstd-safe/7.2.4 \
375 crate://crates.io/zstd-sys/2.0.15+zstd.1.5.7 \
298" 376"
299 377
300SRC_URI[adler-1.0.2.sha256sum] = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" 378SRC_URI[adler2-2.0.0.sha256sum] = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627"
301SRC_URI[ahash-0.8.7.sha256sum] = "77c3a9648d43b9cd48db467b3f87fdd6e146bcc88ab0180006cef2179fe11d01" 379SRC_URI[ahash-0.8.11.sha256sum] = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011"
302SRC_URI[aho-corasick-1.1.2.sha256sum] = "b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0" 380SRC_URI[aho-corasick-1.1.3.sha256sum] = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
303SRC_URI[allocator-api2-0.2.16.sha256sum] = "0942ffc6dcaadf03badf6e6a2d0228460359d5e34b57ccdc720b7382dfbd5ec5" 381SRC_URI[allocator-api2-0.2.18.sha256sum] = "5c6cb57a04249c6480766f7f7cef5467412af1490f8d1e243141daddada3264f"
304SRC_URI[anstream-0.6.11.sha256sum] = "6e2e1ebcb11de5c03c67de28a7df593d32191b44939c482e97702baaaa6ab6a5" 382SRC_URI[anstream-0.6.14.sha256sum] = "418c75fa768af9c03be99d17643f93f79bbba589895012a80e3452a19ddda15b"
305SRC_URI[anstyle-1.0.4.sha256sum] = "7079075b41f533b8c61d2a4d073c4676e1f8b249ff94a393b0595db304e0dd87" 383SRC_URI[anstyle-1.0.7.sha256sum] = "038dfcf04a5feb68e9c60b21c9625a54c2c0616e79b72b0fd87075a056ae1d1b"
306SRC_URI[anstyle-parse-0.2.3.sha256sum] = "c75ac65da39e5fe5ab759307499ddad880d724eed2f6ce5b5e8a26f4f387928c" 384SRC_URI[anstyle-parse-0.2.4.sha256sum] = "c03a11a9034d92058ceb6ee011ce58af4a9bf61491aa7e1e59ecd24bd40d22d4"
307SRC_URI[anstyle-query-1.0.2.sha256sum] = "e28923312444cdd728e4738b3f9c9cac739500909bb3d3c94b43551b16517648" 385SRC_URI[anstyle-query-1.1.0.sha256sum] = "ad186efb764318d35165f1758e7dcef3b10628e26d41a44bc5550652e6804391"
308SRC_URI[anstyle-wincon-3.0.2.sha256sum] = "1cd54b81ec8d6180e24654d0b371ad22fc3dd083b6ff8ba325b72e00c87660a7" 386SRC_URI[anstyle-wincon-3.0.3.sha256sum] = "61a38449feb7068f52bb06c12759005cf459ee52bb4adc1d5a7c4322d716fb19"
309SRC_URI[anyhow-1.0.80.sha256sum] = "5ad32ce52e4161730f7098c077cd2ed6229b5804ccf99e5366be1ab72a98b4e1" 387SRC_URI[anyhow-1.0.89.sha256sum] = "86fdf8605db99b54d3cd748a44c6d04df638eb5dafb219b135d0149bd0db01f6"
310SRC_URI[autocfg-1.1.0.sha256sum] = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" 388SRC_URI[arbitrary-1.4.1.sha256sum] = "dde20b3d026af13f561bdd0f15edf01fc734f0dafcedbaf42bba506a9517f223"
311SRC_URI[base64-0.13.1.sha256sum] = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" 389SRC_URI[autocfg-1.3.0.sha256sum] = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0"
390SRC_URI[automod-1.0.14.sha256sum] = "edf3ee19dbc0a46d740f6f0926bde8c50f02bdbc7b536842da28f6ac56513a8b"
312SRC_URI[base64-0.21.7.sha256sum] = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" 391SRC_URI[base64-0.21.7.sha256sum] = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567"
392SRC_URI[base64-0.22.1.sha256sum] = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
313SRC_URI[bitflags-1.3.2.sha256sum] = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" 393SRC_URI[bitflags-1.3.2.sha256sum] = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
314SRC_URI[bitflags-2.4.2.sha256sum] = "ed570934406eb16438a4e976b1b4500774099c13b8cb96eec99f620f05090ddf" 394SRC_URI[bitflags-2.5.0.sha256sum] = "cf4b9d6a944f767f8e5e0db018570623c85f3d925ac718db4e06d0187adb21c1"
315SRC_URI[block-buffer-0.10.4.sha256sum] = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" 395SRC_URI[block-buffer-0.10.4.sha256sum] = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
316SRC_URI[bstr-1.9.0.sha256sum] = "c48f0051a4b4c5e0b6d365cd04af53aeaa209e3cc15ec2cdb69e73cc87fbd0dc" 396SRC_URI[boxcar-0.2.8.sha256sum] = "2721c3c5a6f0e7f7e607125d963fedeb765f545f67adc9d71ed934693881eb42"
397SRC_URI[bstr-1.10.0.sha256sum] = "40723b8fb387abc38f4f4a37c09073622e41dd12327033091ef8950659e6dc0c"
398SRC_URI[bumpalo-3.16.0.sha256sum] = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c"
317SRC_URI[byteorder-1.5.0.sha256sum] = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" 399SRC_URI[byteorder-1.5.0.sha256sum] = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
318SRC_URI[bytes-1.5.0.sha256sum] = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223" 400SRC_URI[bytes-1.9.0.sha256sum] = "325918d6fe32f23b19878fe4b34794ae41fc19ddbe53b10571a4874d44ffd39b"
319SRC_URI[bytesize-1.3.0.sha256sum] = "a3e368af43e418a04d52505cf3dbc23dda4e3407ae2fa99fd0e4f308ce546acc" 401SRC_URI[bytesize-1.3.0.sha256sum] = "a3e368af43e418a04d52505cf3dbc23dda4e3407ae2fa99fd0e4f308ce546acc"
320SRC_URI[bzip2-0.4.4.sha256sum] = "bdb116a6ef3f6c3698828873ad02c3014b3c85cadb88496095628e3ef1e347f8" 402SRC_URI[bzip2-0.5.2.sha256sum] = "49ecfb22d906f800d4fe833b6282cf4dc1c298f5057ca0b5445e5c209735ca47"
321SRC_URI[bzip2-sys-0.1.11+1.0.8.sha256sum] = "736a955f3fa7875102d57c82b8cac37ec45224a07fd32d58f9f7a186b6cd4cdc" 403SRC_URI[bzip2-sys-0.1.13+1.0.8.sha256sum] = "225bff33b2141874fe80d71e07d6eec4f85c5c216453dd96388240f96e1acc14"
322SRC_URI[cab-0.4.1.sha256sum] = "ae6b4de23c7d39c0631fd3cc952d87951c86c75a13812d7247cb7a896e7b3551" 404SRC_URI[cab-0.6.0.sha256sum] = "171228650e6721d5acc0868a462cd864f49ac5f64e4a42cde270406e64e404d2"
323SRC_URI[camino-1.1.6.sha256sum] = "c59e92b5a388f549b863a7bea62612c09f24c8393560709a54558a9abdfb3b9c" 405SRC_URI[camino-1.1.9.sha256sum] = "8b96ec4966b5813e2c0507c1f86115c8c5abaadc3980879c3424042a02fd1ad3"
324SRC_URI[cargo-config2-0.1.19.sha256sum] = "3a7fb69d74d76f8c254afd1c0e76aca40c305707b28aebe3c5a0fd2ee62aeeeb" 406SRC_URI[cargo-config2-0.1.26.sha256sum] = "d83ce0be8bd1479e5de6202def660e6c7e27e4e0599bffa4fed05bd380ec2ede"
325SRC_URI[cargo-options-0.7.2.sha256sum] = "cad71bf996c8e5b9d28ef3472d7ee41f277edf4e38cd597f51ad0438d05d76ea" 407SRC_URI[cargo-options-0.7.4.sha256sum] = "f3540247c0a37a76eb324acc238dc617786ea22c43b95da560c82a8f2714321f"
326SRC_URI[cargo-platform-0.1.6.sha256sum] = "ceed8ef69d8518a5dda55c07425450b58a4e1946f4951eab6d7191ee86c2443d" 408SRC_URI[cargo-platform-0.1.8.sha256sum] = "24b1f0365a6c6bb4020cd05806fd0d33c44d38046b8bd7f0e40814b9763cabfc"
327SRC_URI[cargo-xwin-0.16.4.sha256sum] = "5e6c3dd7f20fdd197397532ac882e918cfe1d56f262a97ded7460a50e031e06b" 409SRC_URI[cargo-xwin-0.18.6.sha256sum] = "5dff83aad332bd6ee29072dd874b48892cd22c58e233c25735eb4417b3999685"
328SRC_URI[cargo-zigbuild-0.18.3.sha256sum] = "cb76e6ab558f9138291c7e1fa954ffd58e060712eab13f97a317da712218ca24" 410SRC_URI[cargo-zigbuild-0.20.0.sha256sum] = "3f6e9e856390d5b0a859acaeda16528f8a61c964bdb894c3216c254908f1c2ea"
329SRC_URI[cargo_metadata-0.18.1.sha256sum] = "2d886547e41f740c616ae73108f6eb70afe6d940c7bc697cb30f13daec073037" 411SRC_URI[cargo_metadata-0.19.0.sha256sum] = "afc309ed89476c8957c50fb818f56fe894db857866c3e163335faa91dc34eb85"
330SRC_URI[cbindgen-0.26.0.sha256sum] = "da6bc11b07529f16944307272d5bd9b22530bc7d05751717c9d416586cedab49" 412SRC_URI[cbindgen-0.29.0.sha256sum] = "975982cdb7ad6a142be15bdf84aea7ec6a9e5d4d797c004d43185b24cfe4e684"
331SRC_URI[cc-1.0.88.sha256sum] = "02f341c093d19155a6e41631ce5971aac4e9a868262212153124c15fa22d1cdc" 413SRC_URI[cc-1.2.16.sha256sum] = "be714c154be609ec7f5dad223a33bf1482fff90472de28f7362806e6d4832b8c"
332SRC_URI[cfb-0.9.0.sha256sum] = "b390793e912300f1aa713429f7fd0c391024e6c18b988962558bc4f96a349b1f" 414SRC_URI[cfb-0.10.0.sha256sum] = "d8a4f8e55be323b378facfcf1f06aa97f6ec17cf4ac84fb17325093aaf62da41"
333SRC_URI[cfg-if-1.0.0.sha256sum] = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 415SRC_URI[cfg-if-1.0.0.sha256sum] = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
334SRC_URI[charset-0.1.3.sha256sum] = "18e9079d1a12a2cc2bffb5db039c43661836ead4082120d5844f02555aca2d46" 416SRC_URI[charset-0.1.5.sha256sum] = "f1f927b07c74ba84c7e5fe4db2baeb3e996ab2688992e39ac68ce3220a677c7e"
335SRC_URI[chumsky-0.9.3.sha256sum] = "8eebd66744a15ded14960ab4ccdbfb51ad3b81f51f3f04a80adac98c985396c9" 417SRC_URI[chumsky-0.9.3.sha256sum] = "8eebd66744a15ded14960ab4ccdbfb51ad3b81f51f3f04a80adac98c985396c9"
336SRC_URI[clap-4.4.18.sha256sum] = "1e578d6ec4194633722ccf9544794b71b1385c3c027efe0c55db226fc880865c" 418SRC_URI[clap-4.5.7.sha256sum] = "5db83dced34638ad474f39f250d7fea9598bdd239eaced1bdf45d597da0f433f"
337SRC_URI[clap_builder-4.4.18.sha256sum] = "4df4df40ec50c46000231c914968278b1eb05098cf8f1b3a518a95030e71d1c7" 419SRC_URI[clap_builder-4.5.7.sha256sum] = "f7e204572485eb3fbf28f871612191521df159bc3e15a9f5064c66dba3a8c05f"
338SRC_URI[clap_complete-4.4.9.sha256sum] = "df631ae429f6613fcd3a7c1adbdb65f637271e561b03680adaa6573015dfb106" 420SRC_URI[clap_complete-4.5.5.sha256sum] = "d2020fa13af48afc65a9a87335bda648309ab3d154cd03c7ff95b378c7ed39c4"
339SRC_URI[clap_complete_command-0.5.1.sha256sum] = "183495371ea78d4c9ff638bfc6497d46fed2396e4f9c50aebc1278a4a9919a3d" 421SRC_URI[clap_complete_command-0.6.1.sha256sum] = "da8e198c052315686d36371e8a3c5778b7852fc75cc313e4e11eeb7a644a1b62"
340SRC_URI[clap_complete_nushell-0.1.11.sha256sum] = "5d02bc8b1a18ee47c4d2eec3fb5ac034dc68ebea6125b1509e9ccdffcddce66e" 422SRC_URI[clap_complete_nushell-4.5.2.sha256sum] = "1accf1b463dee0d3ab2be72591dccdab8bef314958340447c882c4c72acfe2a3"
341SRC_URI[clap_derive-4.4.7.sha256sum] = "cf9804afaaf59a91e75b022a30fb7229a7901f60c755489cc61c9b423b836442" 423SRC_URI[clap_derive-4.5.5.sha256sum] = "c780290ccf4fb26629baa7a1081e68ced113f1d3ec302fa5948f1c381ebf06c6"
342SRC_URI[clap_lex-0.6.0.sha256sum] = "702fc72eb24e5a1e48ce58027a675bc24edd52096d5397d4aea7c6dd9eca0bd1" 424SRC_URI[clap_lex-0.7.1.sha256sum] = "4b82cf0babdbd58558212896d1a4272303a57bdb245c2bf1147185fb45640e70"
343SRC_URI[cli-table-0.4.7.sha256sum] = "adfbb116d9e2c4be7011360d0c0bee565712c11e969c9609b25b619366dc379d" 425SRC_URI[cli-table-0.4.7.sha256sum] = "adfbb116d9e2c4be7011360d0c0bee565712c11e969c9609b25b619366dc379d"
344SRC_URI[colorchoice-1.0.0.sha256sum] = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" 426SRC_URI[colorchoice-1.0.1.sha256sum] = "0b6a852b24ab71dffc585bcb46eaf7959d175cb865a7152e35b348d1b2960422"
345SRC_URI[configparser-3.0.4.sha256sum] = "4ec6d3da8e550377a85339063af6e3735f4b1d9392108da4e083a1b3b9820288" 427SRC_URI[configparser-3.1.0.sha256sum] = "e57e3272f0190c3f1584272d613719ba5fc7df7f4942fe542e63d949cf3a649b"
346SRC_URI[console-0.15.8.sha256sum] = "0e1f83fc076bd6dd27517eacdf25fef6c4dfe5f1d7448bafaaf3a26f13b5e4eb" 428SRC_URI[console-0.15.8.sha256sum] = "0e1f83fc076bd6dd27517eacdf25fef6c4dfe5f1d7448bafaaf3a26f13b5e4eb"
347SRC_URI[content_inspector-0.2.4.sha256sum] = "b7bda66e858c683005a53a9a60c69a4aca7eeaa45d124526e389f7aec8e62f38" 429SRC_URI[content_inspector-0.2.4.sha256sum] = "b7bda66e858c683005a53a9a60c69a4aca7eeaa45d124526e389f7aec8e62f38"
348SRC_URI[core-foundation-0.9.4.sha256sum] = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f" 430SRC_URI[core-foundation-0.9.4.sha256sum] = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f"
349SRC_URI[core-foundation-sys-0.8.6.sha256sum] = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f" 431SRC_URI[core-foundation-sys-0.8.6.sha256sum] = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f"
350SRC_URI[cpufeatures-0.2.12.sha256sum] = "53fe5e26ff1b7aef8bca9c6080520cfb8d9333c7568e1829cef191a9723e5504" 432SRC_URI[cpufeatures-0.2.12.sha256sum] = "53fe5e26ff1b7aef8bca9c6080520cfb8d9333c7568e1829cef191a9723e5504"
351SRC_URI[crc32fast-1.3.2.sha256sum] = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d" 433SRC_URI[crc-3.2.1.sha256sum] = "69e6e4d7b33a94f0991c26729976b10ebde1d34c3ee82408fb536164fa10d636"
352SRC_URI[crossbeam-channel-0.5.11.sha256sum] = "176dc175b78f56c0f321911d9c8eb2b77a78a4860b9c19db83835fea1a46649b" 434SRC_URI[crc-catalog-2.4.0.sha256sum] = "19d374276b40fb8bbdee95aef7c7fa6b5316ec764510eb64b8dd0e2ed0d7e7f5"
435SRC_URI[crc32fast-1.4.2.sha256sum] = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3"
436SRC_URI[crossbeam-channel-0.5.15.sha256sum] = "82b8f8f868b36967f9606790d1903570de9ceaf870a7bf9fbbd3016d636a2cb2"
353SRC_URI[crossbeam-deque-0.8.5.sha256sum] = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d" 437SRC_URI[crossbeam-deque-0.8.5.sha256sum] = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d"
354SRC_URI[crossbeam-epoch-0.9.18.sha256sum] = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" 438SRC_URI[crossbeam-epoch-0.9.18.sha256sum] = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e"
355SRC_URI[crossbeam-utils-0.8.19.sha256sum] = "248e3bacc7dc6baa3b21e405ee045c3047101a49145e7e9eca583ab4c2ca5345" 439SRC_URI[crossbeam-utils-0.8.20.sha256sum] = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80"
356SRC_URI[crypto-common-0.1.6.sha256sum] = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" 440SRC_URI[crypto-common-0.1.6.sha256sum] = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3"
357SRC_URI[data-encoding-2.5.0.sha256sum] = "7e962a19be5cfc3f3bf6dd8f61eb50107f356ad6270fbb3ed41476571db78be5" 441SRC_URI[data-encoding-2.6.0.sha256sum] = "e8566979429cf69b49a5c740c60791108e86440e8be149bbea4fe54d2c32d6e2"
358SRC_URI[deranged-0.3.11.sha256sum] = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4" 442SRC_URI[deranged-0.3.11.sha256sum] = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4"
359SRC_URI[derivative-2.2.0.sha256sum] = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b" 443SRC_URI[derive_arbitrary-1.4.1.sha256sum] = "30542c1ad912e0e3d22a1935c290e12e8a29d704a420177a31faad4a601a0800"
360SRC_URI[dialoguer-0.11.0.sha256sum] = "658bce805d770f407bc62102fca7c2c64ceef2fbcb2b8bd19d2765ce093980de" 444SRC_URI[dialoguer-0.11.0.sha256sum] = "658bce805d770f407bc62102fca7c2c64ceef2fbcb2b8bd19d2765ce093980de"
361SRC_URI[diff-0.1.13.sha256sum] = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8" 445SRC_URI[diff-0.1.13.sha256sum] = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8"
362SRC_URI[digest-0.10.7.sha256sum] = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" 446SRC_URI[digest-0.10.7.sha256sum] = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
363SRC_URI[dirs-5.0.1.sha256sum] = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225" 447SRC_URI[dirs-5.0.1.sha256sum] = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225"
364SRC_URI[dirs-sys-0.4.1.sha256sum] = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c" 448SRC_URI[dirs-sys-0.4.1.sha256sum] = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c"
365SRC_URI[dissimilar-1.0.7.sha256sum] = "86e3bdc80eee6e16b2b6b0f87fbc98c04bee3455e35174c0de1a125d0688c632" 449SRC_URI[displaydoc-0.2.5.sha256sum] = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0"
366SRC_URI[dunce-1.0.4.sha256sum] = "56ce8c6da7551ec6c462cbaf3bfbc75131ebbfa1c944aeaa9dab51ca1c5f0c3b" 450SRC_URI[dissimilar-1.0.9.sha256sum] = "59f8e79d1fbf76bdfbde321e902714bf6c49df88a7dda6fc682fc2979226962d"
367SRC_URI[either-1.9.0.sha256sum] = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" 451SRC_URI[dunce-1.0.5.sha256sum] = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813"
452SRC_URI[dyn-clone-1.0.17.sha256sum] = "0d6ef0072f8a535281e4876be788938b528e9a1d43900b82c2569af7da799125"
453SRC_URI[either-1.13.0.sha256sum] = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0"
368SRC_URI[encode_unicode-0.3.6.sha256sum] = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f" 454SRC_URI[encode_unicode-0.3.6.sha256sum] = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f"
369SRC_URI[encoding_rs-0.8.33.sha256sum] = "7268b386296a025e474d5140678f75d6de9493ae55a5d709eeb9dd08149945e1" 455SRC_URI[encoding_rs-0.8.34.sha256sum] = "b45de904aa0b010bce2ab45264d0631681847fa7b6f2eaa7dab7619943bc4f59"
370SRC_URI[equivalent-1.0.1.sha256sum] = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" 456SRC_URI[equivalent-1.0.1.sha256sum] = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5"
371SRC_URI[errno-0.3.8.sha256sum] = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245" 457SRC_URI[errno-0.3.9.sha256sum] = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba"
372SRC_URI[expect-test-1.4.1.sha256sum] = "30d9eafeadd538e68fb28016364c9732d78e420b9ff8853fa5e4058861e9f8d3" 458SRC_URI[expect-test-1.5.0.sha256sum] = "9e0be0a561335815e06dab7c62e50353134c796e7a6155402a64bcff66b6a5e0"
373SRC_URI[fastrand-2.0.1.sha256sum] = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" 459SRC_URI[fastrand-2.1.0.sha256sum] = "9fc0510504f03c51ada170672ac806f1f105a88aa97a5281117e1ddc3368e51a"
374SRC_URI[fat-macho-0.4.8.sha256sum] = "0d4c93f393add03d72bc10dd3dea43a1610ecb29e0c0a6459c70b53b82931adf" 460SRC_URI[fat-macho-0.4.9.sha256sum] = "4c9c45caa6c6edfaee4cb3bd84ea9686e115df7f0efb530e15fb466eccb0b345"
375SRC_URI[filetime-0.2.23.sha256sum] = "1ee447700ac8aa0b2f2bd7bc4462ad686ba06baa6727ac149a2d6277f0d240fd" 461SRC_URI[filetime-0.2.23.sha256sum] = "1ee447700ac8aa0b2f2bd7bc4462ad686ba06baa6727ac149a2d6277f0d240fd"
376SRC_URI[flate2-1.0.28.sha256sum] = "46303f565772937ffe1d394a4fac6f411c6013172fadde9dcdb1e147a086940e" 462SRC_URI[flate2-1.0.33.sha256sum] = "324a1be68054ef05ad64b861cc9eaf1d623d2d8cb25b4bf2cb9cdd902b4bf253"
377SRC_URI[fnv-1.0.7.sha256sum] = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" 463SRC_URI[fnv-1.0.7.sha256sum] = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
378SRC_URI[foreign-types-0.3.2.sha256sum] = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" 464SRC_URI[foreign-types-0.3.2.sha256sum] = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1"
379SRC_URI[foreign-types-shared-0.1.1.sha256sum] = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" 465SRC_URI[foreign-types-shared-0.1.1.sha256sum] = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
380SRC_URI[form_urlencoded-1.2.1.sha256sum] = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" 466SRC_URI[form_urlencoded-1.2.1.sha256sum] = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456"
381SRC_URI[fs-err-2.11.0.sha256sum] = "88a41f105fe1d5b6b34b2055e3dc59bb79b46b48b2040b9e6c7b4b5de097aa41" 467SRC_URI[fs-err-3.0.0.sha256sum] = "8bb60e7409f34ef959985bc9d9c5ee8f5db24ee46ed9775850548021710f807f"
468SRC_URI[fs4-0.12.0.sha256sum] = "c29c30684418547d476f0b48e84f4821639119c483b1eccd566c8cd0cd05f521"
469SRC_URI[futures-0.3.30.sha256sum] = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0"
470SRC_URI[futures-channel-0.3.31.sha256sum] = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10"
471SRC_URI[futures-core-0.3.31.sha256sum] = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e"
472SRC_URI[futures-executor-0.3.30.sha256sum] = "a576fc72ae164fca6b9db127eaa9a9dda0d61316034f33a0a0d4eda41f02b01d"
473SRC_URI[futures-io-0.3.31.sha256sum] = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6"
474SRC_URI[futures-macro-0.3.31.sha256sum] = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650"
475SRC_URI[futures-sink-0.3.31.sha256sum] = "e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7"
476SRC_URI[futures-task-0.3.31.sha256sum] = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988"
477SRC_URI[futures-timer-3.0.3.sha256sum] = "f288b0a4f20f9a56b5d1da57e2227c661b7b16168e2f72365f57b63326e29b24"
478SRC_URI[futures-util-0.3.31.sha256sum] = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81"
382SRC_URI[generic-array-0.14.7.sha256sum] = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" 479SRC_URI[generic-array-0.14.7.sha256sum] = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
383SRC_URI[getrandom-0.2.12.sha256sum] = "190092ea657667030ac6a35e305e62fc4dd69fd98ac98631e5d3a2b1575a12b5" 480SRC_URI[getrandom-0.2.15.sha256sum] = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7"
481SRC_URI[getrandom-0.3.3.sha256sum] = "26145e563e54f2cadc477553f1ec5ee650b00862f0a58bcd12cbdc5f0ea2d2f4"
384SRC_URI[glob-0.3.1.sha256sum] = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" 482SRC_URI[glob-0.3.1.sha256sum] = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
385SRC_URI[globset-0.4.14.sha256sum] = "57da3b9b5b85bd66f31093f8c408b90a74431672542466497dcbdfdc02034be1" 483SRC_URI[globset-0.4.16.sha256sum] = "54a1028dfc5f5df5da8a56a73e6c153c9a9708ec57232470703592a3f18e49f5"
386SRC_URI[goblin-0.8.0.sha256sum] = "bb07a4ffed2093b118a525b1d8f5204ae274faed5604537caf7135d0f18d9887" 484SRC_URI[goblin-0.9.2.sha256sum] = "53ab3f32d1d77146981dea5d6b1e8fe31eedcb7013e5e00d6ccd1259a4b4d923"
387SRC_URI[hashbrown-0.12.3.sha256sum] = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" 485SRC_URI[hashbrown-0.14.5.sha256sum] = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
388SRC_URI[hashbrown-0.14.3.sha256sum] = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" 486SRC_URI[hashbrown-0.15.2.sha256sum] = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289"
389SRC_URI[heck-0.4.1.sha256sum] = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" 487SRC_URI[heck-0.5.0.sha256sum] = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
390SRC_URI[home-0.5.9.sha256sum] = "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5" 488SRC_URI[home-0.5.9.sha256sum] = "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5"
391SRC_URI[humantime-2.1.0.sha256sum] = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" 489SRC_URI[humantime-2.1.0.sha256sum] = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4"
392SRC_URI[humantime-serde-1.1.1.sha256sum] = "57a3db5ea5923d99402c94e9feb261dc5ee9b4efa158b0315f788cf549cc200c" 490SRC_URI[humantime-serde-1.1.1.sha256sum] = "57a3db5ea5923d99402c94e9feb261dc5ee9b4efa158b0315f788cf549cc200c"
393SRC_URI[idna-0.5.0.sha256sum] = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6" 491SRC_URI[icu_collections-1.5.0.sha256sum] = "db2fa452206ebee18c4b5c2274dbf1de17008e874b4dc4f0aea9d01ca79e4526"
394SRC_URI[ignore-0.4.22.sha256sum] = "b46810df39e66e925525d6e38ce1e7f6e1d208f72dc39757880fcb66e2c58af1" 492SRC_URI[icu_locid-1.5.0.sha256sum] = "13acbb8371917fc971be86fc8057c41a64b521c184808a698c02acc242dbf637"
395SRC_URI[indexmap-1.9.3.sha256sum] = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" 493SRC_URI[icu_locid_transform-1.5.0.sha256sum] = "01d11ac35de8e40fdeda00d9e1e9d92525f3f9d887cdd7aa81d727596788b54e"
396SRC_URI[indexmap-2.2.3.sha256sum] = "233cf39063f058ea2caae4091bf4a3ef70a653afbc026f5c4a4135d114e3c177" 494SRC_URI[icu_locid_transform_data-1.5.0.sha256sum] = "fdc8ff3388f852bede6b579ad4e978ab004f139284d7b28715f773507b946f6e"
397SRC_URI[indicatif-0.17.7.sha256sum] = "fb28741c9db9a713d93deb3bb9515c20788cef5815265bee4980e87bde7e0f25" 495SRC_URI[icu_normalizer-1.5.0.sha256sum] = "19ce3e0da2ec68599d193c93d088142efd7f9c5d6fc9b803774855747dc6a84f"
398SRC_URI[indoc-2.0.4.sha256sum] = "1e186cfbae8084e513daff4240b4797e342f988cecda4fb6c939150f96315fd8" 496SRC_URI[icu_normalizer_data-1.5.0.sha256sum] = "f8cafbf7aa791e9b22bec55a167906f9e1215fd475cd22adfcf660e03e989516"
399SRC_URI[instant-0.1.12.sha256sum] = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" 497SRC_URI[icu_properties-1.5.1.sha256sum] = "93d6020766cfc6302c15dbbc9c8778c37e62c14427cb7f6e601d849e092aeef5"
400SRC_URI[itertools-0.11.0.sha256sum] = "b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57" 498SRC_URI[icu_properties_data-1.5.0.sha256sum] = "67a8effbc3dd3e4ba1afa8ad918d5684b8868b3b26500753effea8d2eed19569"
499SRC_URI[icu_provider-1.5.0.sha256sum] = "6ed421c8a8ef78d3e2dbc98a973be2f3770cb42b606e3ab18d6237c4dfde68d9"
500SRC_URI[icu_provider_macros-1.5.0.sha256sum] = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6"
501SRC_URI[idna-1.0.3.sha256sum] = "686f825264d630750a544639377bae737628043f20d38bbc029e8f29ea968a7e"
502SRC_URI[idna_adapter-1.2.0.sha256sum] = "daca1df1c957320b2cf139ac61e7bd64fed304c5040df000a745aa1de3b4ef71"
503SRC_URI[ignore-0.4.23.sha256sum] = "6d89fd380afde86567dfba715db065673989d6253f42b88179abd3eae47bda4b"
504SRC_URI[indexmap-2.6.0.sha256sum] = "707907fe3c25f5424cce2cb7e1cbcafee6bdbe735ca90ef77c29e84591e5b9da"
505SRC_URI[indicatif-0.17.9.sha256sum] = "cbf675b85ed934d3c67b5c5469701eec7db22689d0a2139d856e0925fa28b281"
506SRC_URI[indoc-2.0.5.sha256sum] = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5"
507SRC_URI[insta-1.43.1.sha256sum] = "154934ea70c58054b556dd430b99a98c2a7ff5309ac9891597e339b5c28f4371"
508SRC_URI[is_terminal_polyfill-1.70.0.sha256sum] = "f8478577c03552c21db0e2724ffb8986a5ce7af88107e6be5d2ee6e158c12800"
401SRC_URI[itertools-0.12.1.sha256sum] = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" 509SRC_URI[itertools-0.12.1.sha256sum] = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569"
402SRC_URI[itoa-1.0.10.sha256sum] = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c" 510SRC_URI[itertools-0.13.0.sha256sum] = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186"
403SRC_URI[keyring-2.3.2.sha256sum] = "1be8bc4c6b6e9d85ecdad090fcf342a9216f53d747a537cc05e3452fd650ca46" 511SRC_URI[itoa-1.0.11.sha256sum] = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b"
512SRC_URI[jobserver-0.1.33.sha256sum] = "38f262f097c174adebe41eb73d66ae9c06b2844fb0da69969647bbddd9b0538a"
513SRC_URI[js-sys-0.3.73.sha256sum] = "fb15147158e79fd8b8afd0252522769c4f48725460b37338544d8379d94fc8f9"
514SRC_URI[keyring-2.3.3.sha256sum] = "363387f0019d714aa60cc30ab4fe501a747f4c08fc58f069dd14be971bd495a0"
404SRC_URI[lazy_static-1.4.0.sha256sum] = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" 515SRC_URI[lazy_static-1.4.0.sha256sum] = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
405SRC_URI[lddtree-0.3.4.sha256sum] = "f88a93876d2485ede9c97d698c164cf5c024491908483964a998faae9705dea6" 516SRC_URI[lddtree-0.3.7.sha256sum] = "e0779ac94bd7b6ab781fa12388dbf79ac45ec1fa433e7d25521753be8227b08e"
406SRC_URI[libc-0.2.153.sha256sum] = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" 517SRC_URI[libc-0.2.172.sha256sum] = "d750af042f7ef4f724306de029d18836c26c1765a54a6a3f094cbd23a7267ffa"
407SRC_URI[libredox-0.0.1.sha256sum] = "85c833ca1e66078851dba29046874e38f08b2c883700aa29a03ddd3b23814ee8" 518SRC_URI[libmimalloc-sys-0.1.39.sha256sum] = "23aa6811d3bd4deb8a84dde645f943476d13b248d818edcf8ce0b2f37f036b44"
519SRC_URI[libredox-0.1.3.sha256sum] = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d"
408SRC_URI[linux-keyutils-0.2.4.sha256sum] = "761e49ec5fd8a5a463f9b84e877c373d888935b71c6be78f3767fe2ae6bed18e" 520SRC_URI[linux-keyutils-0.2.4.sha256sum] = "761e49ec5fd8a5a463f9b84e877c373d888935b71c6be78f3767fe2ae6bed18e"
409SRC_URI[linux-raw-sys-0.4.13.sha256sum] = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c" 521SRC_URI[linux-raw-sys-0.4.14.sha256sum] = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89"
410SRC_URI[lock_api-0.4.11.sha256sum] = "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45" 522SRC_URI[litemap-0.7.3.sha256sum] = "643cb0b8d4fcc284004d5fd0d67ccf61dfffadb7f75e1e71bc420f4688a3a704"
411SRC_URI[log-0.4.20.sha256sum] = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" 523SRC_URI[lock_api-0.4.12.sha256sum] = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17"
412SRC_URI[lzxd-0.1.4.sha256sum] = "784462f20dddd9dfdb45de963fa4ad4a288cb10a7889ac5d2c34fb6481c6b213" 524SRC_URI[lockfree-object-pool-0.1.6.sha256sum] = "9374ef4228402d4b7e403e5838cb880d9ee663314b0a900d5a6aabf0c213552e"
413SRC_URI[mailparse-0.14.1.sha256sum] = "2d096594926cab442e054e047eb8c1402f7d5b2272573b97ba68aa40629f9757" 525SRC_URI[log-0.4.22.sha256sum] = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"
526SRC_URI[lzma-rs-0.3.0.sha256sum] = "297e814c836ae64db86b36cf2a557ba54368d03f6afcd7d947c266692f71115e"
527SRC_URI[lzma-sys-0.1.20.sha256sum] = "5fda04ab3764e6cde78b9974eec4f779acaba7c4e84b36eca3cf77c581b85d27"
528SRC_URI[lzxd-0.2.5.sha256sum] = "5de7336a183103429ad66d11d56d8bdc9c4a2916f6b85a8f11e5b127bde12001"
529SRC_URI[mailparse-0.15.0.sha256sum] = "3da03d5980411a724e8aaf7b61a7b5e386ec55a7fb49ee3d0ff79efc7e5e7c7e"
414SRC_URI[matchers-0.1.0.sha256sum] = "8263075bb86c5a1b1427b5ae862e8889656f126e9f77c484496e8b47cf5c5558" 530SRC_URI[matchers-0.1.0.sha256sum] = "8263075bb86c5a1b1427b5ae862e8889656f126e9f77c484496e8b47cf5c5558"
415SRC_URI[memchr-2.7.1.sha256sum] = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149" 531SRC_URI[memchr-2.7.4.sha256sum] = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
532SRC_URI[mimalloc-0.1.43.sha256sum] = "68914350ae34959d83f732418d51e2427a794055d0b9529f48259ac07af65633"
416SRC_URI[mime-0.3.17.sha256sum] = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" 533SRC_URI[mime-0.3.17.sha256sum] = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"
417SRC_URI[mime_guess-2.0.4.sha256sum] = "4192263c238a5f0d0c6bfd21f336a313a4ce1c450542449ca191bb657b4642ef" 534SRC_URI[mime_guess-2.0.4.sha256sum] = "4192263c238a5f0d0c6bfd21f336a313a4ce1c450542449ca191bb657b4642ef"
418SRC_URI[minijinja-1.0.12.sha256sum] = "6fe0ff215195a22884d867b547c70a0c4815cbbcc70991f281dca604b20d10ce" 535SRC_URI[minijinja-2.5.0.sha256sum] = "2c37e1b517d1dcd0e51dc36c4567b9d5a29262b3ec8da6cb5d35e27a8fb529b5"
419SRC_URI[minimal-lexical-0.2.1.sha256sum] = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" 536SRC_URI[minimal-lexical-0.2.1.sha256sum] = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
420SRC_URI[miniz_oxide-0.7.1.sha256sum] = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7" 537SRC_URI[miniz_oxide-0.8.0.sha256sum] = "e2d80299ef12ff69b16a84bb182e3b9df68b5a91574d3d4fa6e41b65deec4df1"
421SRC_URI[msi-0.7.0.sha256sum] = "226b2404f03d2cf47375b9715c8adfae4e388bb2377cff908e8a40f31e421514" 538SRC_URI[msi-0.8.0.sha256sum] = "4a2332f87a064dea9cce571408c879e0da8dc193b3af06a2b3b2604ee4182a32"
422SRC_URI[multipart-0.18.0.sha256sum] = "00dec633863867f29cb39df64a397cdf4a6354708ddd7759f70c7fb51c5f9182" 539SRC_URI[multipart-0.18.0.sha256sum] = "00dec633863867f29cb39df64a397cdf4a6354708ddd7759f70c7fb51c5f9182"
423SRC_URI[native-tls-0.2.11.sha256sum] = "07226173c32f2926027b63cce4bcd8076c3552846cbe7925f3aaffeac0a3b92e" 540SRC_URI[native-tls-0.2.12.sha256sum] = "a8614eb2c83d59d1c8cc974dd3f920198647674a0a035e1af1fa58707e317466"
424SRC_URI[nom-7.1.3.sha256sum] = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" 541SRC_URI[nom-7.1.3.sha256sum] = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
425SRC_URI[normalize-line-endings-0.3.0.sha256sum] = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be" 542SRC_URI[normalize-line-endings-0.3.0.sha256sum] = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be"
426SRC_URI[normpath-1.1.1.sha256sum] = "ec60c60a693226186f5d6edf073232bfb6464ed97eb22cf3b01c1e8198fd97f5" 543SRC_URI[normpath-1.2.0.sha256sum] = "5831952a9476f2fed74b77d74182fa5ddc4d21c72ec45a333b250e3ed0272804"
427SRC_URI[nu-ansi-term-0.46.0.sha256sum] = "77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84" 544SRC_URI[nu-ansi-term-0.46.0.sha256sum] = "77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84"
428SRC_URI[num-conv-0.1.0.sha256sum] = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" 545SRC_URI[num-conv-0.1.0.sha256sum] = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9"
429SRC_URI[number_prefix-0.4.0.sha256sum] = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3" 546SRC_URI[number_prefix-0.4.0.sha256sum] = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3"
430SRC_URI[once_cell-1.19.0.sha256sum] = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" 547SRC_URI[once_cell-1.20.2.sha256sum] = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775"
431SRC_URI[openssl-0.10.63.sha256sum] = "15c9d69dd87a29568d4d017cfe8ec518706046a05184e5aea92d0af890b803c8" 548SRC_URI[openssl-0.10.72.sha256sum] = "fedfea7d58a1f73118430a55da6a286e7b044961736ce96a16a17068ea25e5da"
432SRC_URI[openssl-macros-0.1.1.sha256sum] = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" 549SRC_URI[openssl-macros-0.1.1.sha256sum] = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c"
433SRC_URI[openssl-probe-0.1.5.sha256sum] = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" 550SRC_URI[openssl-probe-0.1.5.sha256sum] = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"
434SRC_URI[openssl-sys-0.9.99.sha256sum] = "22e1bf214306098e4832460f797824c05d25aacdf896f64a985fb0fd992454ae" 551SRC_URI[openssl-sys-0.9.107.sha256sum] = "8288979acd84749c744a9014b4382d42b8f7b2592847b5afb2ed29e5d16ede07"
435SRC_URI[option-ext-0.2.0.sha256sum] = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" 552SRC_URI[option-ext-0.2.0.sha256sum] = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d"
436SRC_URI[os_pipe-1.1.5.sha256sum] = "57119c3b893986491ec9aa85056780d3a0f3cf4da7cc09dd3650dbd6c6738fb9" 553SRC_URI[os_pipe-1.2.0.sha256sum] = "29d73ba8daf8fac13b0501d1abeddcfe21ba7401ada61a819144b6c2a4f32209"
437SRC_URI[overload-0.1.1.sha256sum] = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" 554SRC_URI[overload-0.1.1.sha256sum] = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39"
438SRC_URI[parking_lot-0.12.1.sha256sum] = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" 555SRC_URI[parking_lot-0.12.3.sha256sum] = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27"
439SRC_URI[parking_lot_core-0.9.9.sha256sum] = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e" 556SRC_URI[parking_lot_core-0.9.10.sha256sum] = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8"
440SRC_URI[paste-1.0.14.sha256sum] = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c" 557SRC_URI[paste-1.0.15.sha256sum] = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a"
441SRC_URI[path-slash-0.2.1.sha256sum] = "1e91099d4268b0e11973f036e885d652fb0b21fedcf69738c627f94db6a44f42" 558SRC_URI[path-slash-0.2.1.sha256sum] = "1e91099d4268b0e11973f036e885d652fb0b21fedcf69738c627f94db6a44f42"
442SRC_URI[pep440_rs-0.5.0.sha256sum] = "15efd4d885c29126cc93e12af3087896e2518bd5ca0fb328c19c4ef9cecfa8be" 559SRC_URI[pep440_rs-0.7.3.sha256sum] = "31095ca1f396e3de32745f42b20deef7bc09077f918b085307e8eab6ddd8fb9c"
443SRC_URI[pep508_rs-0.4.2.sha256sum] = "1455babf8edd3eedcdfcb39700e455a4bb189e71b4f1fa0eacc9b244cc5a55e6" 560SRC_URI[pep508_rs-0.9.2.sha256sum] = "faee7227064121fcadcd2ff788ea26f0d8f2bd23a0574da11eca23bc935bcc05"
444SRC_URI[percent-encoding-2.3.1.sha256sum] = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" 561SRC_URI[percent-encoding-2.3.1.sha256sum] = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e"
445SRC_URI[pin-project-lite-0.2.13.sha256sum] = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58" 562SRC_URI[pin-project-lite-0.2.15.sha256sum] = "915a1e146535de9163f3987b8944ed8cf49a18bb0056bcebcdcece385cece4ff"
446SRC_URI[pkg-config-0.3.29.sha256sum] = "2900ede94e305130c13ddd391e0ab7cbaeb783945ae07a279c268cb05109c6cb" 563SRC_URI[pin-utils-0.1.0.sha256sum] = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
564SRC_URI[pkg-config-0.3.30.sha256sum] = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec"
447SRC_URI[plain-0.2.3.sha256sum] = "b4596b6d070b27117e987119b4dac604f3c58cfb0b191112e24771b2faeac1a6" 565SRC_URI[plain-0.2.3.sha256sum] = "b4596b6d070b27117e987119b4dac604f3c58cfb0b191112e24771b2faeac1a6"
448SRC_URI[platform-info-2.0.2.sha256sum] = "d6259c4860e53bf665016f1b2f46a8859cadfa717581dc9d597ae4069de6300f" 566SRC_URI[platform-info-2.0.5.sha256sum] = "7539aeb3fdd8cb4f6a331307cf71a1039cee75e94e8a71725b9484f4a0d9451a"
449SRC_URI[portable-atomic-1.6.0.sha256sum] = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0" 567SRC_URI[portable-atomic-1.6.0.sha256sum] = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0"
450SRC_URI[powerfmt-0.2.0.sha256sum] = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" 568SRC_URI[powerfmt-0.2.0.sha256sum] = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391"
451SRC_URI[ppv-lite86-0.2.17.sha256sum] = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" 569SRC_URI[ppv-lite86-0.2.17.sha256sum] = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"
452SRC_URI[pretty_assertions-1.4.0.sha256sum] = "af7cee1a6c8a5b9208b3cb1061f10c0cb689087b3d8ce85fb9d2dd7a29b6ba66" 570SRC_URI[pretty_assertions-1.4.1.sha256sum] = "3ae130e2f271fbc2ac3a40fb1d07180839cdbbe443c7a27e1e3c13c5cac0116d"
453SRC_URI[proc-macro2-1.0.78.sha256sum] = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae" 571SRC_URI[proc-macro-crate-3.1.0.sha256sum] = "6d37c51ca738a55da99dc0c4a34860fd675453b8b36209178c2249bb13651284"
572SRC_URI[proc-macro2-1.0.92.sha256sum] = "37d3544b3f2748c54e147655edb5025752e2303145b5aefb3c3ea2c78b973bb0"
454SRC_URI[psm-0.1.21.sha256sum] = "5787f7cda34e3033a72192c018bc5883100330f362ef279a8cbccfce8bb4e874" 573SRC_URI[psm-0.1.21.sha256sum] = "5787f7cda34e3033a72192c018bc5883100330f362ef279a8cbccfce8bb4e874"
455SRC_URI[pyproject-toml-0.10.0.sha256sum] = "3b80f889b6d413c3f8963a2c7db03f95dd6e1d85e1074137cb2013ea2faa8898" 574SRC_URI[pyproject-toml-0.13.5.sha256sum] = "7b0f6160dc48298b9260d9b958ad1d7f96f6cd0b9df200b22329204e09334663"
456SRC_URI[python-pkginfo-0.6.0.sha256sum] = "037469c164f08c891bf6d69ca02f1d56210011451e229618669777df82124cfa" 575SRC_URI[python-pkginfo-0.6.5.sha256sum] = "c21f58880fc45e91d29b2f639ab4051aaa6a2b054534c2d343a953347d0dd600"
457SRC_URI[quote-1.0.35.sha256sum] = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef" 576SRC_URI[quote-1.0.37.sha256sum] = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af"
458SRC_URI[quoted_printable-0.4.8.sha256sum] = "5a3866219251662ec3b26fc217e3e05bf9c4f84325234dfb96bf0bf840889e49"
459SRC_URI[quoted_printable-0.5.0.sha256sum] = "79ec282e887b434b68c18fe5c121d38e72a5cf35119b59e54ec5b992ea9c8eb0" 577SRC_URI[quoted_printable-0.5.0.sha256sum] = "79ec282e887b434b68c18fe5c121d38e72a5cf35119b59e54ec5b992ea9c8eb0"
578SRC_URI[r-efi-5.2.0.sha256sum] = "74765f6d916ee2faa39bc8e68e4f3ed8949b48cccdac59983d287a7cb71ce9c5"
460SRC_URI[rand-0.8.5.sha256sum] = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" 579SRC_URI[rand-0.8.5.sha256sum] = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
461SRC_URI[rand_chacha-0.3.1.sha256sum] = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" 580SRC_URI[rand_chacha-0.3.1.sha256sum] = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
462SRC_URI[rand_core-0.6.4.sha256sum] = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" 581SRC_URI[rand_core-0.6.4.sha256sum] = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
463SRC_URI[rayon-1.8.1.sha256sum] = "fa7237101a77a10773db45d62004a272517633fbcc3df19d96455ede1122e051" 582SRC_URI[rayon-1.10.0.sha256sum] = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa"
464SRC_URI[rayon-core-1.12.1.sha256sum] = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2" 583SRC_URI[rayon-core-1.12.1.sha256sum] = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2"
465SRC_URI[redox_syscall-0.4.1.sha256sum] = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" 584SRC_URI[redox_syscall-0.4.1.sha256sum] = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa"
466SRC_URI[redox_users-0.4.4.sha256sum] = "a18479200779601e498ada4e8c1e1f50e3ee19deb0259c25825a98b5603b2cb4" 585SRC_URI[redox_syscall-0.5.1.sha256sum] = "469052894dcb553421e483e4209ee581a45100d31b4018de03e5a7ad86374a7e"
467SRC_URI[regex-1.10.3.sha256sum] = "b62dbe01f0b06f9d8dc7d49e05a0785f153b00b2c227856282f671e0318c9b15" 586SRC_URI[redox_users-0.4.5.sha256sum] = "bd283d9651eeda4b2a83a43c1c91b266c40fd76ecd39a50a8c630ae69dc72891"
587SRC_URI[regex-1.11.1.sha256sum] = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191"
468SRC_URI[regex-automata-0.1.10.sha256sum] = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" 588SRC_URI[regex-automata-0.1.10.sha256sum] = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132"
469SRC_URI[regex-automata-0.4.5.sha256sum] = "5bb987efffd3c6d0d8f5f89510bb458559eab11e4f869acb20bf845e016259cd" 589SRC_URI[regex-automata-0.4.9.sha256sum] = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908"
470SRC_URI[regex-syntax-0.6.29.sha256sum] = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" 590SRC_URI[regex-syntax-0.6.29.sha256sum] = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1"
471SRC_URI[regex-syntax-0.8.2.sha256sum] = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" 591SRC_URI[regex-syntax-0.8.5.sha256sum] = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c"
472SRC_URI[rfc2047-decoder-0.2.2.sha256sum] = "61fc4b4e52897c3e30b12b7e9b04461215b647fbe66f6def60dd8edbce14ec2e" 592SRC_URI[relative-path-1.9.3.sha256sum] = "ba39f3699c378cd8970968dcbff9c43159ea4cfbd88d43c00b22f2ef10a435d2"
473SRC_URI[ring-0.17.7.sha256sum] = "688c63d65483050968b2a8937f7995f443e27041a0f7700aa59b0822aedebb74" 593SRC_URI[rfc2047-decoder-1.0.6.sha256sum] = "bc36545d1021456a751b573517cb52e8c339b2f662e6b2778ef629282678de29"
474SRC_URI[rustc_version-0.4.0.sha256sum] = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" 594SRC_URI[ring-0.17.13.sha256sum] = "70ac5d832aa16abd7d1def883a8545280c20a60f523a370aa3a9617c2b8550ee"
475SRC_URI[rustix-0.38.32.sha256sum] = "65e04861e65f21776e67888bfbea442b3642beaa0138fdb1dd7a84a52dffdb89" 595SRC_URI[rstest-0.22.0.sha256sum] = "7b423f0e62bdd61734b67cd21ff50871dfaeb9cc74f869dcd6af974fbcb19936"
476SRC_URI[rustls-0.22.2.sha256sum] = "e87c9956bd9807afa1f77e0f7594af32566e830e088a5576d27c5b6f30f49d41" 596SRC_URI[rstest_macros-0.22.0.sha256sum] = "c5e1711e7d14f74b12a58411c542185ef7fb7f2e7f8ee6e2940a883628522b42"
477SRC_URI[rustls-pemfile-2.1.0.sha256sum] = "3c333bb734fcdedcea57de1602543590f545f127dc8b533324318fd492c5c70b" 597SRC_URI[rustc-hash-2.0.0.sha256sum] = "583034fd73374156e66797ed8e5b0d5690409c9226b22d87cb7f19821c05d152"
478SRC_URI[rustls-pki-types-1.3.1.sha256sum] = "5ede67b28608b4c60685c7d54122d4400d90f62b40caee7700e700380a390fa8" 598SRC_URI[rustc_version-0.4.1.sha256sum] = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92"
479SRC_URI[rustls-webpki-0.102.1.sha256sum] = "ef4ca26037c909dedb327b48c3327d0ba91d3dd3c4e05dad328f210ffb68e95b" 599SRC_URI[rustflags-0.1.6.sha256sum] = "d7fc92159fb50a431c5da366f7627751fe7263cf867f8a30f27fa6063ba02ac0"
480SRC_URI[rustversion-1.0.14.sha256sum] = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4" 600SRC_URI[rustix-0.38.41.sha256sum] = "d7f649912bc1495e167a6edee79151c84b1bad49748cb4f1f1167f459f6224f6"
481SRC_URI[ryu-1.0.16.sha256sum] = "f98d2aa92eebf49b69786be48e4477826b256916e84a57ff2a4f21923b48eb4c" 601SRC_URI[rustls-0.23.19.sha256sum] = "934b404430bb06b3fae2cba809eb45a1ab1aecd64491213d7c3301b88393f8d1"
602SRC_URI[rustls-pemfile-2.1.3.sha256sum] = "196fe16b00e106300d3e45ecfcb764fa292a535d7326a29a5875c579c7417425"
603SRC_URI[rustls-pki-types-1.10.0.sha256sum] = "16f1201b3c9a7ee8039bcadc17b7e605e2945b27eee7631788c1bd2b0643674b"
604SRC_URI[rustls-webpki-0.102.8.sha256sum] = "64ca1bc8749bd4cf37b5ce386cc146580777b4e8572c7b97baf22c83f444bee9"
605SRC_URI[rustversion-1.0.18.sha256sum] = "0e819f2bc632f285be6d7cd36e25940d45b2391dd6d9b939e79de557f7014248"
606SRC_URI[ryu-1.0.18.sha256sum] = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f"
482SRC_URI[same-file-1.0.6.sha256sum] = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" 607SRC_URI[same-file-1.0.6.sha256sum] = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
483SRC_URI[schannel-0.1.23.sha256sum] = "fbc91545643bcf3a0bbb6569265615222618bdf33ce4ffbbd13c4bbd4c093534" 608SRC_URI[schannel-0.1.23.sha256sum] = "fbc91545643bcf3a0bbb6569265615222618bdf33ce4ffbbd13c4bbd4c093534"
609SRC_URI[schemars-0.8.21.sha256sum] = "09c024468a378b7e36765cd36702b7a90cc3cba11654f6685c8f233408e89e92"
610SRC_URI[schemars_derive-0.8.21.sha256sum] = "b1eee588578aff73f856ab961cd2f79e36bc45d7ded33a7562adba4667aecc0e"
484SRC_URI[scopeguard-1.2.0.sha256sum] = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" 611SRC_URI[scopeguard-1.2.0.sha256sum] = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
485SRC_URI[scroll-0.12.0.sha256sum] = "6ab8598aa408498679922eff7fa985c25d58a90771bd6be794434c5277eab1a6" 612SRC_URI[scroll-0.12.0.sha256sum] = "6ab8598aa408498679922eff7fa985c25d58a90771bd6be794434c5277eab1a6"
486SRC_URI[scroll_derive-0.12.0.sha256sum] = "7f81c2fde025af7e69b1d1420531c8a8811ca898919db177141a85313b1cb932" 613SRC_URI[scroll_derive-0.12.0.sha256sum] = "7f81c2fde025af7e69b1d1420531c8a8811ca898919db177141a85313b1cb932"
487SRC_URI[security-framework-2.9.2.sha256sum] = "05b64fb303737d99b81884b2c63433e9ae28abebe5eb5045dcdd175dc2ecf4de" 614SRC_URI[security-framework-2.11.0.sha256sum] = "c627723fd09706bacdb5cf41499e95098555af3c3c29d014dc3c458ef6be11c0"
488SRC_URI[security-framework-sys-2.9.1.sha256sum] = "e932934257d3b408ed8f30db49d85ea163bfe74961f017f405b025af298f0c7a" 615SRC_URI[security-framework-sys-2.11.0.sha256sum] = "317936bbbd05227752583946b9e66d7ce3b489f84e11a94a510b4437fef407d7"
489SRC_URI[semver-1.0.22.sha256sum] = "92d43fe69e652f3df9bdc2b85b2854a0825b86e4fb76bc44d945137d053639ca" 616SRC_URI[semver-1.0.23.sha256sum] = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b"
490SRC_URI[serde-1.0.197.sha256sum] = "3fb1c873e1b9b056a4dc4c0c198b24c3ffa059243875552b2bd0933b1aee4ce2" 617SRC_URI[serde-1.0.217.sha256sum] = "02fc4265df13d6fa1d00ecff087228cc0a2b5f3c0e87e258d8b94a156e984c70"
491SRC_URI[serde_derive-1.0.197.sha256sum] = "7eb0b34b42edc17f6b7cac84a52a1c5f0e1bb2227e997ca9011ea3dd34e8610b" 618SRC_URI[serde_derive-1.0.217.sha256sum] = "5a9bf7cf98d04a2b28aead066b7496853d4779c9cc183c440dbac457641e19a0"
492SRC_URI[serde_json-1.0.114.sha256sum] = "c5f09b1bd632ef549eaa9f60a1f8de742bdbc698e6cee2095fc84dde5f549ae0" 619SRC_URI[serde_derive_internals-0.29.1.sha256sum] = "18d26a20a969b9e3fdf2fc2d9f21eda6c40e2de84c9408bb5d3b05d499aae711"
493SRC_URI[serde_spanned-0.6.5.sha256sum] = "eb3622f419d1296904700073ea6cc23ad690adbd66f13ea683df73298736f0c1" 620SRC_URI[serde_json-1.0.135.sha256sum] = "2b0d7ba2887406110130a978386c4e1befb98c674b4fba677954e4db976630d9"
621SRC_URI[serde_spanned-0.6.8.sha256sum] = "87607cb1398ed59d48732e575a4c28a7a8ebf2454b964fe3f224f2afc07909e1"
494SRC_URI[sha2-0.10.8.sha256sum] = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" 622SRC_URI[sha2-0.10.8.sha256sum] = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8"
495SRC_URI[sharded-slab-0.1.7.sha256sum] = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6" 623SRC_URI[sharded-slab-0.1.7.sha256sum] = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6"
496SRC_URI[shell-words-1.1.0.sha256sum] = "24188a676b6ae68c3b2cb3a01be17fbf7240ce009799bb56d5b1409051e78fde" 624SRC_URI[shell-words-1.1.0.sha256sum] = "24188a676b6ae68c3b2cb3a01be17fbf7240ce009799bb56d5b1409051e78fde"
497SRC_URI[shlex-1.3.0.sha256sum] = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" 625SRC_URI[shlex-1.3.0.sha256sum] = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
498SRC_URI[similar-2.4.0.sha256sum] = "32fea41aca09ee824cc9724996433064c89f7777e60762749a4170a14abbfa21" 626SRC_URI[simd-adler32-0.3.7.sha256sum] = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe"
499SRC_URI[smallvec-1.13.1.sha256sum] = "e6ecd384b10a64542d77071bd64bd7b231f4ed5940fba55e98c3de13824cf3d7" 627SRC_URI[similar-2.5.0.sha256sum] = "fa42c91313f1d05da9b26f267f931cf178d4aba455b4c4622dd7355eb80c6640"
628SRC_URI[slab-0.4.9.sha256sum] = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67"
629SRC_URI[smallvec-1.13.2.sha256sum] = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
500SRC_URI[smawk-0.3.2.sha256sum] = "b7c388c1b5e93756d0c740965c41e8822f866621d41acbdf6336a6a168f8840c" 630SRC_URI[smawk-0.3.2.sha256sum] = "b7c388c1b5e93756d0c740965c41e8822f866621d41acbdf6336a6a168f8840c"
501SRC_URI[snapbox-0.5.7.sha256sum] = "4a99efa20de5053229642a477436cdb39828c7651c614622eb4888f9688523e6" 631SRC_URI[snapbox-0.6.16.sha256sum] = "027c936207f85d10d015e21faf5c676c7e08c453ed371adf55c0874c443ca77a"
502SRC_URI[snapbox-macros-0.3.8.sha256sum] = "e1c4b838b05d15ab22754068cb73500b2f3b07bf09d310e15b27f88160f1de40" 632SRC_URI[snapbox-macros-0.3.10.sha256sum] = "16569f53ca23a41bb6f62e0a5084aa1661f4814a67fa33696a79073e03a664af"
503SRC_URI[socks-0.3.4.sha256sum] = "f0c3dbbd9ae980613c6dd8e28a9407b50509d3803b57624d5dfe8315218cd58b" 633SRC_URI[socks-0.3.4.sha256sum] = "f0c3dbbd9ae980613c6dd8e28a9407b50509d3803b57624d5dfe8315218cd58b"
504SRC_URI[spin-0.9.8.sha256sum] = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" 634SRC_URI[stable_deref_trait-1.2.0.sha256sum] = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
505SRC_URI[stacker-0.1.15.sha256sum] = "c886bd4480155fd3ef527d45e9ac8dd7118a898a46530b7b94c3e21866259fce" 635SRC_URI[stacker-0.1.15.sha256sum] = "c886bd4480155fd3ef527d45e9ac8dd7118a898a46530b7b94c3e21866259fce"
506SRC_URI[static_assertions-1.1.0.sha256sum] = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" 636SRC_URI[static_assertions-1.1.0.sha256sum] = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
507SRC_URI[strsim-0.10.0.sha256sum] = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" 637SRC_URI[strsim-0.11.1.sha256sum] = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
508SRC_URI[subtle-2.5.0.sha256sum] = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc" 638SRC_URI[subtle-2.5.0.sha256sum] = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc"
509SRC_URI[syn-1.0.109.sha256sum] = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" 639SRC_URI[syn-2.0.90.sha256sum] = "919d3b74a5dd0ccd15aeb8f93e7006bd9e14c295087c9896a110f490752bcf31"
510SRC_URI[syn-2.0.48.sha256sum] = "0f3531638e407dfc0814761abb7c00a5b54992b849452a0646b7f65c9f770f3f" 640SRC_URI[synstructure-0.13.1.sha256sum] = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971"
511SRC_URI[tar-0.4.40.sha256sum] = "b16afcea1f22891c49a00c751c7b63b2233284064f11a200fc624137c51e2ddb" 641SRC_URI[tar-0.4.43.sha256sum] = "c65998313f8e17d0d553d28f91a0df93e4dbbbf770279c7bc21ca0f09ea1a1f6"
512SRC_URI[target-lexicon-0.12.14.sha256sum] = "e1fc403891a21bcfb7c37834ba66a547a8f402146eba7265b5a6d88059c9ff2f" 642SRC_URI[target-lexicon-0.13.1.sha256sum] = "dc12939a1c9b9d391e0b7135f72fd30508b73450753e28341fed159317582a77"
513SRC_URI[tempfile-3.9.0.sha256sum] = "01ce4141aa927a6d1bd34a041795abd0db1cccba5d5f24b009f694bdf3a1f3fa" 643SRC_URI[tempfile-3.11.0.sha256sum] = "b8fcd239983515c23a32fb82099f97d0b11b8c72f654ed659363a95c3dad7a53"
514SRC_URI[termcolor-1.4.1.sha256sum] = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755" 644SRC_URI[termcolor-1.4.1.sha256sum] = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755"
515SRC_URI[terminal_size-0.3.0.sha256sum] = "21bebf2b7c9e0a515f6e0f8c51dc0f8e4696391e6f1ff30379559f8365fb0df7" 645SRC_URI[terminal_size-0.3.0.sha256sum] = "21bebf2b7c9e0a515f6e0f8c51dc0f8e4696391e6f1ff30379559f8365fb0df7"
516SRC_URI[textwrap-0.16.1.sha256sum] = "23d434d3f8967a09480fb04132ebe0a3e088c173e6d0ee7897abbdf4eab0f8b9" 646SRC_URI[textwrap-0.16.1.sha256sum] = "23d434d3f8967a09480fb04132ebe0a3e088c173e6d0ee7897abbdf4eab0f8b9"
517SRC_URI[thiserror-1.0.57.sha256sum] = "1e45bcbe8ed29775f228095caf2cd67af7a4ccf756ebff23a306bf3e8b47b24b" 647SRC_URI[thiserror-1.0.69.sha256sum] = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52"
518SRC_URI[thiserror-impl-1.0.57.sha256sum] = "a953cb265bef375dae3de6663da4d3804eee9682ea80d8e2542529b73c531c81" 648SRC_URI[thiserror-2.0.12.sha256sum] = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708"
519SRC_URI[thread_local-1.1.7.sha256sum] = "3fdd6f064ccff2d6567adcb3873ca630700f00b5ad3f060c25b5dcfd9a4ce152" 649SRC_URI[thiserror-impl-1.0.69.sha256sum] = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
520SRC_URI[time-0.3.34.sha256sum] = "c8248b6521bb14bc45b4067159b9b6ad792e2d6d754d6c41fb50e29fefe38749" 650SRC_URI[thiserror-impl-2.0.12.sha256sum] = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d"
651SRC_URI[thread_local-1.1.8.sha256sum] = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c"
652SRC_URI[time-0.3.36.sha256sum] = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885"
521SRC_URI[time-core-0.1.2.sha256sum] = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" 653SRC_URI[time-core-0.1.2.sha256sum] = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3"
522SRC_URI[time-macros-0.2.17.sha256sum] = "7ba3a3ef41e6672a2f0f001392bb5dcd3ff0a9992d618ca761a11c3121547774" 654SRC_URI[time-macros-0.2.18.sha256sum] = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf"
523SRC_URI[tinyvec-1.6.0.sha256sum] = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" 655SRC_URI[tinystr-0.7.6.sha256sum] = "9117f5d4db391c1cf6927e7bea3db74b9a1c1add8f7eda9ffd5364f40f57b82f"
524SRC_URI[tinyvec_macros-0.1.1.sha256sum] = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" 656SRC_URI[toml-0.8.19.sha256sum] = "a1ed1f98e3fdc28d6d910e6737ae6ab1a93bf1985935a1193e68f93eeb68d24e"
525SRC_URI[toml-0.5.11.sha256sum] = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234" 657SRC_URI[toml_datetime-0.6.8.sha256sum] = "0dd7358ecb8fc2f8d014bf86f6f638ce72ba252a2c3a2572f2a795f1d23efb41"
526SRC_URI[toml-0.8.10.sha256sum] = "9a9aad4a3066010876e8dcf5a8a06e70a558751117a145c6ce2b82c2e2054290" 658SRC_URI[toml_edit-0.21.1.sha256sum] = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1"
527SRC_URI[toml_datetime-0.6.5.sha256sum] = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1" 659SRC_URI[toml_edit-0.22.22.sha256sum] = "4ae48d6208a266e853d946088ed816055e556cc6028c5e8e2b84d9fa5dd7c7f5"
528SRC_URI[toml_edit-0.22.6.sha256sum] = "2c1b5fd4128cc8d3e0cb74d4ed9a9cc7c7284becd4df68f5f940e1ad123606f6" 660SRC_URI[tracing-0.1.41.sha256sum] = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0"
529SRC_URI[tracing-0.1.40.sha256sum] = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" 661SRC_URI[tracing-attributes-0.1.28.sha256sum] = "395ae124c09f9e6918a2310af6038fba074bcf474ac352496d5910dd59a2226d"
530SRC_URI[tracing-attributes-0.1.27.sha256sum] = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" 662SRC_URI[tracing-core-0.1.33.sha256sum] = "e672c95779cf947c5311f83787af4fa8fffd12fb27e4993211a84bdfd9610f9c"
531SRC_URI[tracing-core-0.1.32.sha256sum] = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54"
532SRC_URI[tracing-log-0.2.0.sha256sum] = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3" 663SRC_URI[tracing-log-0.2.0.sha256sum] = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3"
533SRC_URI[tracing-serde-0.1.3.sha256sum] = "bc6b213177105856957181934e4920de57730fc69bf42c37ee5bb664d406d9e1" 664SRC_URI[tracing-serde-0.2.0.sha256sum] = "704b1aeb7be0d0a84fc9828cae51dab5970fee5088f83d1dd7ee6f6246fc6ff1"
534SRC_URI[tracing-subscriber-0.3.18.sha256sum] = "ad0f048c97dbd9faa9b7df56362b8ebcaa52adb06b498c050d2f4e32f90a7a8b" 665SRC_URI[tracing-subscriber-0.3.19.sha256sum] = "e8189decb5ac0fa7bc8b96b7cb9b2701d60d48805aca84a238004d665fcc4008"
535SRC_URI[trycmd-0.15.0.sha256sum] = "464edb3603a81a50b4c8f47b11dfade69ef48ffdc0af2f8b194ad87cbda75317" 666SRC_URI[trycmd-0.15.6.sha256sum] = "3e8673f1dc45acdff8e25a06cc62f8e529563e8acd84237ce83d5a28e2befa12"
536SRC_URI[twox-hash-1.6.3.sha256sum] = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" 667SRC_URI[twox-hash-1.6.3.sha256sum] = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675"
537SRC_URI[typenum-1.17.0.sha256sum] = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" 668SRC_URI[typenum-1.17.0.sha256sum] = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825"
538SRC_URI[unicase-2.7.0.sha256sum] = "f7d2d4dafb69621809a81864c9c1b864479e1235c0dd4e199924b9742439ed89" 669SRC_URI[unicase-2.7.0.sha256sum] = "f7d2d4dafb69621809a81864c9c1b864479e1235c0dd4e199924b9742439ed89"
539SRC_URI[unicode-bidi-0.3.15.sha256sum] = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75"
540SRC_URI[unicode-ident-1.0.12.sha256sum] = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" 670SRC_URI[unicode-ident-1.0.12.sha256sum] = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
541SRC_URI[unicode-linebreak-0.1.5.sha256sum] = "3b09c83c3c29d37506a3e260c08c03743a6bb66a9cd432c6934ab501a190571f" 671SRC_URI[unicode-linebreak-0.1.5.sha256sum] = "3b09c83c3c29d37506a3e260c08c03743a6bb66a9cd432c6934ab501a190571f"
542SRC_URI[unicode-normalization-0.1.22.sha256sum] = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921" 672SRC_URI[unicode-width-0.1.13.sha256sum] = "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d"
543SRC_URI[unicode-width-0.1.11.sha256sum] = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85" 673SRC_URI[unicode-width-0.2.0.sha256sum] = "1fc81956842c57dac11422a97c3b8195a1ff727f06e85c84ed2e8aa277c9a0fd"
544SRC_URI[unicode-xid-0.2.4.sha256sum] = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" 674SRC_URI[unicode-xid-0.2.6.sha256sum] = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853"
545SRC_URI[unscanny-0.1.0.sha256sum] = "e9df2af067a7953e9c3831320f35c1cc0600c30d44d9f7a12b01db1cd88d6b47" 675SRC_URI[unscanny-0.1.0.sha256sum] = "e9df2af067a7953e9c3831320f35c1cc0600c30d44d9f7a12b01db1cd88d6b47"
546SRC_URI[untrusted-0.9.0.sha256sum] = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" 676SRC_URI[untrusted-0.9.0.sha256sum] = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"
547SRC_URI[ureq-2.9.6.sha256sum] = "11f214ce18d8b2cbe84ed3aa6486ed3f5b285cf8d8fbdbce9f3f767a724adc35" 677SRC_URI[ureq-2.11.0.sha256sum] = "b30e6f97efe1fa43535ee241ee76967d3ff6ff3953ebb430d8d55c5393029e7b"
548SRC_URI[url-2.5.0.sha256sum] = "31e6302e3bb753d46e83516cae55ae196fc0c309407cf11ab35cc51a4c2a4633" 678SRC_URI[url-2.5.4.sha256sum] = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60"
549SRC_URI[urlencoding-2.1.3.sha256sum] = "daf8dba3b7eb870caf1ddeed7bc9d2a049f3cfdfae7cb521b087cc33ae4c49da" 679SRC_URI[urlencoding-2.1.3.sha256sum] = "daf8dba3b7eb870caf1ddeed7bc9d2a049f3cfdfae7cb521b087cc33ae4c49da"
550SRC_URI[utf8parse-0.2.1.sha256sum] = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" 680SRC_URI[utf16_iter-1.0.5.sha256sum] = "c8232dd3cdaed5356e0f716d285e4b40b932ac434100fe9b7e0e8e935b9e6246"
551SRC_URI[uuid-1.7.0.sha256sum] = "f00cc9702ca12d3c81455259621e676d0f7251cec66a21e98fe2e9a37db93b2a" 681SRC_URI[utf8_iter-1.0.4.sha256sum] = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
682SRC_URI[utf8parse-0.2.2.sha256sum] = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
683SRC_URI[uuid-1.8.0.sha256sum] = "a183cf7feeba97b4dd1c0d46788634f6221d87fa961b305bed08c851829efcc0"
552SRC_URI[valuable-0.1.0.sha256sum] = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" 684SRC_URI[valuable-0.1.0.sha256sum] = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d"
553SRC_URI[vcpkg-0.2.15.sha256sum] = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" 685SRC_URI[vcpkg-0.2.15.sha256sum] = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
686SRC_URI[version-ranges-0.1.1.sha256sum] = "f8d079415ceb2be83fc355adbadafe401307d5c309c7e6ade6638e6f9f42f42d"
554SRC_URI[version_check-0.9.4.sha256sum] = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" 687SRC_URI[version_check-0.9.4.sha256sum] = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"
555SRC_URI[versions-5.0.1.sha256sum] = "c73a36bc44e3039f51fbee93e39f41225f6b17b380eb70cc2aab942df06b34dd" 688SRC_URI[versions-6.2.0.sha256sum] = "38a8931f8d167b6448076020e70b9de46dcf5ea1731212481a092d0071c4ac5b"
556SRC_URI[wait-timeout-0.2.0.sha256sum] = "9f200f5b12eb75f8c1ed65abd4b2db8a6e1b138a20de009dacee265a2498f3f6" 689SRC_URI[wait-timeout-0.2.0.sha256sum] = "9f200f5b12eb75f8c1ed65abd4b2db8a6e1b138a20de009dacee265a2498f3f6"
557SRC_URI[walkdir-2.4.0.sha256sum] = "d71d857dc86794ca4c280d616f7da00d2dbfd8cd788846559a6813e6aa4b54ee" 690SRC_URI[walkdir-2.5.0.sha256sum] = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b"
558SRC_URI[wasi-0.11.0+wasi-snapshot-preview1.sha256sum] = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" 691SRC_URI[wasi-0.11.0+wasi-snapshot-preview1.sha256sum] = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
559SRC_URI[webpki-roots-0.26.0.sha256sum] = "0de2cfda980f21be5a7ed2eadb3e6fe074d56022bea2cdeb1a62eb220fc04188" 692SRC_URI[wasi-0.14.2+wasi-0.2.4.sha256sum] = "9683f9a5a998d873c0d21fcbe3c083009670149a8fab228644b8bd36b2c48cb3"
560SRC_URI[which-5.0.0.sha256sum] = "9bf3ea8596f3a0dd5980b46430f2058dfe2c36a27ccfbb1845d6fbfcd9ba6e14" 693SRC_URI[wasm-bindgen-0.2.96.sha256sum] = "21d3b25c3ea1126a2ad5f4f9068483c2af1e64168f847abe863a526b8dbfe00b"
561SRC_URI[which-6.0.0.sha256sum] = "7fa5e0c10bf77f44aac573e498d1a82d5fbd5e91f6fc0a99e7be4b38e85e101c" 694SRC_URI[wasm-bindgen-backend-0.2.96.sha256sum] = "52857d4c32e496dc6537646b5b117081e71fd2ff06de792e3577a150627db283"
695SRC_URI[wasm-bindgen-macro-0.2.96.sha256sum] = "920b0ffe069571ebbfc9ddc0b36ba305ef65577c94b06262ed793716a1afd981"
696SRC_URI[wasm-bindgen-macro-support-0.2.96.sha256sum] = "bf59002391099644be3524e23b781fa43d2be0c5aa0719a18c0731b9d195cab6"
697SRC_URI[wasm-bindgen-shared-0.2.96.sha256sum] = "e5047c5392700766601942795a436d7d2599af60dcc3cc1248c9120bfb0827b0"
698SRC_URI[web-time-1.1.0.sha256sum] = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb"
699SRC_URI[webpki-roots-0.26.2.sha256sum] = "3c452ad30530b54a4d8e71952716a212b08efd0f3562baa66c29a618b07da7c3"
700SRC_URI[which-7.0.0.sha256sum] = "c9cad3279ade7346b96e38731a641d7343dd6a53d55083dd54eadfa5a1b38c6b"
562SRC_URI[wild-2.2.1.sha256sum] = "a3131afc8c575281e1e80f36ed6a092aa502c08b18ed7524e86fbbb12bb410e1" 701SRC_URI[wild-2.2.1.sha256sum] = "a3131afc8c575281e1e80f36ed6a092aa502c08b18ed7524e86fbbb12bb410e1"
563SRC_URI[winapi-0.3.9.sha256sum] = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" 702SRC_URI[winapi-0.3.9.sha256sum] = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
564SRC_URI[winapi-i686-pc-windows-gnu-0.4.0.sha256sum] = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 703SRC_URI[winapi-i686-pc-windows-gnu-0.4.0.sha256sum] = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
565SRC_URI[winapi-util-0.1.6.sha256sum] = "f29e6f9198ba0d26b4c9f07dbe6f9ed633e1f3d5b8b414090084349e46a52596" 704SRC_URI[winapi-util-0.1.8.sha256sum] = "4d4cc384e1e73b93bafa6fb4f1df8c41695c8a91cf9c4c64358067d15a7b6c6b"
566SRC_URI[winapi-x86_64-pc-windows-gnu-0.4.0.sha256sum] = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" 705SRC_URI[winapi-x86_64-pc-windows-gnu-0.4.0.sha256sum] = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
567SRC_URI[windows-sys-0.48.0.sha256sum] = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" 706SRC_URI[windows-sys-0.48.0.sha256sum] = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
568SRC_URI[windows-sys-0.52.0.sha256sum] = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" 707SRC_URI[windows-sys-0.52.0.sha256sum] = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
569SRC_URI[windows-targets-0.48.5.sha256sum] = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" 708SRC_URI[windows-targets-0.48.5.sha256sum] = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"
570SRC_URI[windows-targets-0.52.0.sha256sum] = "8a18201040b24831fbb9e4eb208f8892e1f50a37feb53cc7ff887feb8f50e7cd" 709SRC_URI[windows-targets-0.52.5.sha256sum] = "6f0713a46559409d202e70e28227288446bf7841d3211583a4b53e3f6d96e7eb"
571SRC_URI[windows_aarch64_gnullvm-0.48.5.sha256sum] = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" 710SRC_URI[windows_aarch64_gnullvm-0.48.5.sha256sum] = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
572SRC_URI[windows_aarch64_gnullvm-0.52.0.sha256sum] = "cb7764e35d4db8a7921e09562a0304bf2f93e0a51bfccee0bd0bb0b666b015ea" 711SRC_URI[windows_aarch64_gnullvm-0.52.5.sha256sum] = "7088eed71e8b8dda258ecc8bac5fb1153c5cffaf2578fc8ff5d61e23578d3263"
573SRC_URI[windows_aarch64_msvc-0.48.5.sha256sum] = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" 712SRC_URI[windows_aarch64_msvc-0.48.5.sha256sum] = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
574SRC_URI[windows_aarch64_msvc-0.52.0.sha256sum] = "bbaa0368d4f1d2aaefc55b6fcfee13f41544ddf36801e793edbbfd7d7df075ef" 713SRC_URI[windows_aarch64_msvc-0.52.5.sha256sum] = "9985fd1504e250c615ca5f281c3f7a6da76213ebd5ccc9561496568a2752afb6"
575SRC_URI[windows_i686_gnu-0.48.5.sha256sum] = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" 714SRC_URI[windows_i686_gnu-0.48.5.sha256sum] = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
576SRC_URI[windows_i686_gnu-0.52.0.sha256sum] = "a28637cb1fa3560a16915793afb20081aba2c92ee8af57b4d5f28e4b3e7df313" 715SRC_URI[windows_i686_gnu-0.52.5.sha256sum] = "88ba073cf16d5372720ec942a8ccbf61626074c6d4dd2e745299726ce8b89670"
716SRC_URI[windows_i686_gnullvm-0.52.5.sha256sum] = "87f4261229030a858f36b459e748ae97545d6f1ec60e5e0d6a3d32e0dc232ee9"
577SRC_URI[windows_i686_msvc-0.48.5.sha256sum] = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" 717SRC_URI[windows_i686_msvc-0.48.5.sha256sum] = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
578SRC_URI[windows_i686_msvc-0.52.0.sha256sum] = "ffe5e8e31046ce6230cc7215707b816e339ff4d4d67c65dffa206fd0f7aa7b9a" 718SRC_URI[windows_i686_msvc-0.52.5.sha256sum] = "db3c2bf3d13d5b658be73463284eaf12830ac9a26a90c717b7f771dfe97487bf"
579SRC_URI[windows_x86_64_gnu-0.48.5.sha256sum] = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" 719SRC_URI[windows_x86_64_gnu-0.48.5.sha256sum] = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
580SRC_URI[windows_x86_64_gnu-0.52.0.sha256sum] = "3d6fa32db2bc4a2f5abeacf2b69f7992cd09dca97498da74a151a3132c26befd" 720SRC_URI[windows_x86_64_gnu-0.52.5.sha256sum] = "4e4246f76bdeff09eb48875a0fd3e2af6aada79d409d33011886d3e1581517d9"
581SRC_URI[windows_x86_64_gnullvm-0.48.5.sha256sum] = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" 721SRC_URI[windows_x86_64_gnullvm-0.48.5.sha256sum] = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
582SRC_URI[windows_x86_64_gnullvm-0.52.0.sha256sum] = "1a657e1e9d3f514745a572a6846d3c7aa7dbe1658c056ed9c3344c4109a6949e" 722SRC_URI[windows_x86_64_gnullvm-0.52.5.sha256sum] = "852298e482cd67c356ddd9570386e2862b5673c85bd5f88df9ab6802b334c596"
583SRC_URI[windows_x86_64_msvc-0.48.5.sha256sum] = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" 723SRC_URI[windows_x86_64_msvc-0.48.5.sha256sum] = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
584SRC_URI[windows_x86_64_msvc-0.52.0.sha256sum] = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04" 724SRC_URI[windows_x86_64_msvc-0.52.5.sha256sum] = "bec47e5bfd1bff0eeaf6d8b485cc1074891a197ab4225d504cb7a1ab88b02bf0"
585SRC_URI[winnow-0.6.2.sha256sum] = "7a4191c47f15cc3ec71fcb4913cb83d58def65dd3787610213c649283b5ce178" 725SRC_URI[winnow-0.5.40.sha256sum] = "f593a95398737aeed53e489c785df13f3618e41dbcd6718c6addbf1395aa6876"
726SRC_URI[winnow-0.6.20.sha256sum] = "36c1fec1a2bb5866f07c25f68c26e565c4c200aebb96d7e55710c19d3e8ac49b"
727SRC_URI[winsafe-0.0.19.sha256sum] = "d135d17ab770252ad95e9a872d365cf3090e3be864a34ab46f48555993efc904"
728SRC_URI[wit-bindgen-rt-0.39.0.sha256sum] = "6f42320e61fe2cfd34354ecb597f86f413484a798ba44a8ca1165c58d42da6c1"
729SRC_URI[write16-1.0.0.sha256sum] = "d1890f4022759daae28ed4fe62859b1236caebfc61ede2f63ed4e695f3f6d936"
730SRC_URI[writeable-0.5.5.sha256sum] = "1e9df38ee2d2c3c5948ea468a8406ff0db0b29ae1ffde1bcf20ef305bcc95c51"
586SRC_URI[xattr-1.3.1.sha256sum] = "8da84f1a25939b27f6820d92aed108f83ff920fdf11a7b19366c27c4cda81d4f" 731SRC_URI[xattr-1.3.1.sha256sum] = "8da84f1a25939b27f6820d92aed108f83ff920fdf11a7b19366c27c4cda81d4f"
587SRC_URI[xwin-0.5.0.sha256sum] = "c43e0202f5457b48558096cb7b36d0e473f267551a89c82ed72d73b01dfd4007" 732SRC_URI[xwin-0.6.5.sha256sum] = "ca7e4546db1514c186778f0a257d89732ed9ed75587d0953ac25be7519d9f0d1"
588SRC_URI[yansi-0.5.1.sha256sum] = "09041cd90cf85f7f8b2df60c646f853b7f535ce68f85244eb6731cf89fa498ec" 733SRC_URI[xz2-0.1.7.sha256sum] = "388c44dc09d76f1536602ead6d325eb532f5c122f17782bd57fb47baeeb767e2"
589SRC_URI[zerocopy-0.7.32.sha256sum] = "74d4d3961e53fa4c9a25a8637fc2bfaf2595b3d3ae34875568a5cf64787716be" 734SRC_URI[yansi-1.0.1.sha256sum] = "cfe53a6657fd280eaa890a3bc59152892ffa3e30101319d168b781ed6529b049"
590SRC_URI[zerocopy-derive-0.7.32.sha256sum] = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6" 735SRC_URI[yoke-0.7.4.sha256sum] = "6c5b1314b079b0930c31e3af543d8ee1757b1951ae1e1565ec704403a7240ca5"
591SRC_URI[zeroize-1.7.0.sha256sum] = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d" 736SRC_URI[yoke-derive-0.7.5.sha256sum] = "2380878cad4ac9aac1e2435f3eb4020e8374b5f13c296cb75b4620ff8e229154"
592SRC_URI[zip-0.6.6.sha256sum] = "760394e246e4c28189f19d488c058bf16f564016aefac5d32bb1f3b51d5e9261" 737SRC_URI[zerocopy-0.7.35.sha256sum] = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0"
738SRC_URI[zerocopy-derive-0.7.35.sha256sum] = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
739SRC_URI[zerofrom-0.1.4.sha256sum] = "91ec111ce797d0e0784a1116d0ddcdbea84322cd79e5d5ad173daeba4f93ab55"
740SRC_URI[zerofrom-derive-0.1.5.sha256sum] = "595eed982f7d355beb85837f651fa22e90b3c044842dc7f2c2842c086f295808"
741SRC_URI[zeroize-1.8.1.sha256sum] = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde"
742SRC_URI[zerovec-0.10.4.sha256sum] = "aa2b893d79df23bfb12d5461018d408ea19dfafe76c2c7ef6d4eba614f8ff079"
743SRC_URI[zerovec-derive-0.10.3.sha256sum] = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6"
744SRC_URI[zip-2.3.0.sha256sum] = "84e9a772a54b54236b9b744aaaf8d7be01b4d6e99725523cb82cb32d1c81b1d7"
745SRC_URI[zopfli-0.8.1.sha256sum] = "e5019f391bac5cf252e93bbcc53d039ffd62c7bfb7c150414d61369afe57e946"
746SRC_URI[zstd-0.13.3.sha256sum] = "e91ee311a569c327171651566e07972200e76fcfe2242a4fa446149a3881c08a"
747SRC_URI[zstd-safe-7.2.4.sha256sum] = "8f49c4d5f0abb602a93fb8736af2a4f4dd9512e36f7f570d66e65ff867ed3b9d"
748SRC_URI[zstd-sys-2.0.15+zstd.1.5.7.sha256sum] = "eb81183ddd97d0c74cedf1d50d85c8d08c1b8b68ee863bdee9e706eedba1a237"
diff --git a/meta/recipes-devtools/python/python3-maturin_1.5.1.bb b/meta/recipes-devtools/python/python3-maturin_1.9.0.bb
index 96b046feba..e4147b9321 100644
--- a/meta/recipes-devtools/python/python3-maturin_1.5.1.bb
+++ b/meta/recipes-devtools/python/python3-maturin_1.9.0.bb
@@ -5,11 +5,11 @@ LICENSE = "MIT | Apache-2.0"
5LIC_FILES_CHKSUM = "file://license-apache;md5=1836efb2eb779966696f473ee8540542 \ 5LIC_FILES_CHKSUM = "file://license-apache;md5=1836efb2eb779966696f473ee8540542 \
6 file://license-mit;md5=85fd3b67069cff784d98ebfc7d5c0797" 6 file://license-mit;md5=85fd3b67069cff784d98ebfc7d5c0797"
7 7
8SRC_URI[sha256sum] = "3dd834ece80edb866af18cbd4635e0ecac40139c726428d5f1849ae154b26dca" 8SRC_URI[sha256sum] = "ccb9cb87f8df88d1bab8f49efe3fc77f0abb0639ea4b4ebf4f35549200d16b9e"
9 9
10S = "${WORKDIR}/maturin-${PV}" 10S = "${UNPACKDIR}/maturin-${PV}"
11 11
12CFLAGS:append = " -fdebug-prefix-map=${CARGO_HOME}=${TARGET_DBGSRC_DIR}/cargo_home" 12CFLAGS += "-ffile-prefix-map=${CARGO_HOME}=${TARGET_DBGSRC_DIR}/cargo_home"
13 13
14DEPENDS += "\ 14DEPENDS += "\
15 python3-setuptools-rust-native \ 15 python3-setuptools-rust-native \
diff --git a/meta/recipes-devtools/python/python3-meson-python_0.15.0.bb b/meta/recipes-devtools/python/python3-meson-python_0.18.0.bb
index ad3cfe17d9..742a2580a7 100644
--- a/meta/recipes-devtools/python/python3-meson-python_0.15.0.bb
+++ b/meta/recipes-devtools/python/python3-meson-python_0.18.0.bb
@@ -11,9 +11,10 @@ DEPENDS = " \
11" 11"
12 12
13PYPI_PACKAGE = "meson_python" 13PYPI_PACKAGE = "meson_python"
14UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
14 15
15inherit pypi python_mesonpy 16inherit pypi python_mesonpy
16SRC_URI[sha256sum] = "fddb73eecd49e89c1c41c87937cd89c2d0b65a1c63ba28238681d4bd9484d26f" 17SRC_URI[sha256sum] = "c56a99ec9df669a40662fe46960321af6e4b14106c14db228709c1628e23848d"
17 18
18DEPENDS:remove:class-native = "python3-meson-python-native" 19DEPENDS:remove:class-native = "python3-meson-python-native"
19 20
diff --git a/meta/recipes-devtools/python/python3-more-itertools/run-ptest b/meta/recipes-devtools/python/python3-more-itertools/run-ptest
deleted file mode 100644
index 8d2017d39c..0000000000
--- a/meta/recipes-devtools/python/python3-more-itertools/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@
1#!/bin/sh
2
3pytest --automake
diff --git a/meta/recipes-devtools/python/python3-more-itertools_10.2.0.bb b/meta/recipes-devtools/python/python3-more-itertools_10.6.0.bb
index e1e1f5e18f..5447a7af8e 100644
--- a/meta/recipes-devtools/python/python3-more-itertools_10.2.0.bb
+++ b/meta/recipes-devtools/python/python3-more-itertools_10.6.0.bb
@@ -3,13 +3,9 @@ HOMEPAGE = "https://github.com/erikrose/more-itertools"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=3396ea30f9d21389d7857719816f83b5" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=3396ea30f9d21389d7857719816f83b5"
5 5
6SRC_URI[sha256sum] = "8fccb480c43d3e99a00087634c06dd02b0d50fbf088b380de5a41a015ec239e1" 6SRC_URI[sha256sum] = "2cd7fad1009c31cc9fb6a035108509e6547547a7a738374f10bd49a09eb3ee3b"
7 7
8inherit pypi python_flit_core ptest 8inherit pypi python_flit_core ptest-python-pytest
9
10SRC_URI += " \
11 file://run-ptest \
12"
13 9
14RDEPENDS:${PN} += " \ 10RDEPENDS:${PN} += " \
15 python3-asyncio \ 11 python3-asyncio \
@@ -17,13 +13,6 @@ RDEPENDS:${PN} += " \
17 13
18RDEPENDS:${PN}-ptest += " \ 14RDEPENDS:${PN}-ptest += " \
19 python3-statistics \ 15 python3-statistics \
20 python3-pytest \
21 python3-unittest-automake-output \
22 " 16 "
23 17
24do_install_ptest() {
25 install -d ${D}${PTEST_PATH}/tests
26 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
27}
28
29BBCLASSEXTEND = "native nativesdk" 18BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-ndg-httpsclient_0.5.1.bb b/meta/recipes-devtools/python/python3-ndg-httpsclient_0.5.1.bb
deleted file mode 100644
index 68d8668a41..0000000000
--- a/meta/recipes-devtools/python/python3-ndg-httpsclient_0.5.1.bb
+++ /dev/null
@@ -1,31 +0,0 @@
1SUMMARY = "Provides enhanced HTTPS support for httplib and urllib2 using PyOpenSSL"
2HOMEPAGE = "https://github.com/cedadev/ndg_httpsclient/"
3LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://MANIFEST.in;md5=ce22c0cd986d2de3f7073cd6b5523ae0"
5
6SRC_URI[md5sum] = "b0fc8ea38f87d2c1ab1ed79a95c078f9"
7SRC_URI[sha256sum] = "d72faed0376ab039736c2ba12e30695e2788c4aa569c9c3e3d72131de2592210"
8
9inherit pypi setuptools3 update-alternatives
10
11PYPI_PACKAGE = "ndg_httpsclient"
12
13DEPENDS += " \
14 python3-pyopenssl \
15 python3-pyasn1 \
16"
17
18RDEPENDS:${PN} += " \
19 python3-datetime \
20 python3-logging \
21 python3-pyopenssl \
22 python3-pyasn1 \
23"
24
25BBCLASSEXTEND = "native nativesdk"
26
27UPSTREAM_CHECK_REGEX = ""
28
29ALTERNATIVE:${PN} = "ndg_httpclient"
30ALTERNATIVE_LINK_NAME[ndg_httpclient] = "${bindir}/ndg_httpclient"
31ALTERNATIVE_PRIORITY = "30"
diff --git a/meta/recipes-devtools/python/python3-numpy/0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch b/meta/recipes-devtools/python/python3-numpy/0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch
index bbe309c556..3e08b43587 100644
--- a/meta/recipes-devtools/python/python3-numpy/0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch
+++ b/meta/recipes-devtools/python/python3-numpy/0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch
@@ -1,4 +1,4 @@
1From 46eea664cf89d0602e7ff16d587c37c045b125b7 Mon Sep 17 00:00:00 2001 1From b036c984b019d941ead2efd5a05d1588c4bc193a Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Thu, 10 Dec 2015 13:20:30 +0200 3Date: Thu, 10 Dec 2015 13:20:30 +0200
4Subject: [PATCH] Don't search /usr and so on for libraries by default to 4Subject: [PATCH] Don't search /usr and so on for libraries by default to
@@ -8,16 +8,15 @@ Subject: [PATCH] Don't search /usr and so on for libraries by default to
8Upstream-Status: Inappropriate (As the code stands, this is a hack) 8Upstream-Status: Inappropriate (As the code stands, this is a hack)
9Signed-off-by: Ross Burton <ross.burton@intel.com> 9Signed-off-by: Ross Burton <ross.burton@intel.com>
10Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 10Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
11
12--- 11---
13 numpy/distutils/system_info.py | 42 +++++----------------------------- 12 numpy/distutils/system_info.py | 42 +++++-----------------------------
14 1 file changed, 6 insertions(+), 36 deletions(-) 13 1 file changed, 6 insertions(+), 36 deletions(-)
15 14
16diff --git a/numpy/distutils/system_info.py b/numpy/distutils/system_info.py 15diff --git a/numpy/distutils/system_info.py b/numpy/distutils/system_info.py
17index feb28f6..a48d6d1 100644 16index 6478548..c0620e7 100644
18--- a/numpy/distutils/system_info.py 17--- a/numpy/distutils/system_info.py
19+++ b/numpy/distutils/system_info.py 18+++ b/numpy/distutils/system_info.py
20@@ -327,44 +327,14 @@ def add_system_root(library_root): 19@@ -326,44 +326,14 @@ def add_system_root(library_root):
21 add_system_root(os.path.join(conda_dir, 'Library')) 20 add_system_root(os.path.join(conda_dir, 'Library'))
22 21
23 else: 22 else:
diff --git a/meta/recipes-devtools/python/python3-numpy/0001-numpy-core-Define-RISCV-32-support.patch b/meta/recipes-devtools/python/python3-numpy/0001-numpy-core-Define-RISCV-32-support.patch
deleted file mode 100644
index 676bdbb3af..0000000000
--- a/meta/recipes-devtools/python/python3-numpy/0001-numpy-core-Define-RISCV-32-support.patch
+++ /dev/null
@@ -1,50 +0,0 @@
1From eb6d6579150bf4684603ce377c51e90ad3bb8109 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 15 Nov 2020 15:32:39 -0800
4Subject: [PATCH] numpy/core: Define RISCV-32 support
5
6Helps compile on riscv32
7
8Upstream-Status: Submitted [https://github.com/numpy/numpy/pull/17780]
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 numpy/core/include/numpy/npy_cpu.h | 3 +++
12 numpy/core/include/numpy/npy_endian.h | 1 +
13 2 files changed, 4 insertions(+)
14
15diff --git a/numpy/core/include/numpy/npy_cpu.h b/numpy/core/include/numpy/npy_cpu.h
16index 78d229e..04be511 100644
17--- a/numpy/core/include/numpy/npy_cpu.h
18+++ b/numpy/core/include/numpy/npy_cpu.h
19@@ -19,6 +19,7 @@
20 * NPY_CPU_ARCEB
21 * NPY_CPU_RISCV64
22 * NPY_CPU_LOONGARCH
23+ * NPY_CPU_RISCV32
24 * NPY_CPU_WASM
25 */
26 #ifndef NUMPY_CORE_INCLUDE_NUMPY_NPY_CPU_H_
27@@ -104,6 +105,8 @@
28 #define NPY_CPU_ARCEB
29 #elif defined(__riscv) && defined(__riscv_xlen) && __riscv_xlen == 64
30 #define NPY_CPU_RISCV64
31+#elif defined(__riscv) && defined(__riscv_xlen) && __riscv_xlen == 32
32+ #define NPY_CPU_RISCV32
33 #elif defined(__loongarch__)
34 #define NPY_CPU_LOONGARCH
35 #elif defined(__EMSCRIPTEN__)
36diff --git a/numpy/core/include/numpy/npy_endian.h b/numpy/core/include/numpy/npy_endian.h
37index 5e58a7f..0926212 100644
38--- a/numpy/core/include/numpy/npy_endian.h
39+++ b/numpy/core/include/numpy/npy_endian.h
40@@ -49,6 +49,7 @@
41 || defined(NPY_CPU_PPC64LE) \
42 || defined(NPY_CPU_ARCEL) \
43 || defined(NPY_CPU_RISCV64) \
44+ || defined(NPY_CPU_RISCV32) \
45 || defined(NPY_CPU_LOONGARCH) \
46 || defined(NPY_CPU_WASM)
47 #define NPY_BYTE_ORDER NPY_LITTLE_ENDIAN
48--
492.20.1
50
diff --git a/meta/recipes-devtools/python/python3-numpy/fix_reproducibility.patch b/meta/recipes-devtools/python/python3-numpy/fix_reproducibility.patch
index d952aed00c..8b39b7bcfe 100644
--- a/meta/recipes-devtools/python/python3-numpy/fix_reproducibility.patch
+++ b/meta/recipes-devtools/python/python3-numpy/fix_reproducibility.patch
@@ -1,7 +1,11 @@
1This regex decides whether to use O3 opimisation on numpy or not. 1From 45d76002bc989a9098141f2bfcd2d2fabc5a04d5 Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Fri, 29 Sep 2023 22:53:24 +0100
4Subject: [PATCH] This regex decides whether to use O3 opimisation on numpy or
5 not.
2 6
3It includes "od", which happens to be a substring of "reproducible" 7It includes "od", which happens to be a substring of "reproducible"
4but not "qemux86-world". 8but not "qemux86-world".
5 9
6The regex will run against all compiler options including things like: 10The regex will run against all compiler options including things like:
7 11
@@ -17,12 +21,15 @@ reproducible target ran first and won the race to populate sstate.
17 21
18Upstream-Status: Inappropriate [upstream have dropped distutils and switched to meson] 22Upstream-Status: Inappropriate [upstream have dropped distutils and switched to meson]
19Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> 23Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 24---
21Index: numpy-1.26.0/numpy/distutils/ccompiler_opt.py 25 numpy/distutils/ccompiler_opt.py | 2 +-
22=================================================================== 26 1 file changed, 1 insertion(+), 1 deletion(-)
23--- numpy-1.26.0.orig/numpy/distutils/ccompiler_opt.py 27
24+++ numpy-1.26.0/numpy/distutils/ccompiler_opt.py 28diff --git a/numpy/distutils/ccompiler_opt.py b/numpy/distutils/ccompiler_opt.py
25@@ -990,7 +990,7 @@ class _CCompiler: 29index b1a6fa3..7b0302b 100644
30--- a/numpy/distutils/ccompiler_opt.py
31+++ b/numpy/distutils/ccompiler_opt.py
32@@ -991,7 +991,7 @@ def __init__(self):
26 ("cc_is_nocc", "", ""), 33 ("cc_is_nocc", "", ""),
27 ) 34 )
28 detect_args = ( 35 detect_args = (
diff --git a/meta/recipes-devtools/python/python3-numpy/run-ptest b/meta/recipes-devtools/python/python3-numpy/run-ptest
index 9a1c72aeb1..6e76dffc59 100644
--- a/meta/recipes-devtools/python/python3-numpy/run-ptest
+++ b/meta/recipes-devtools/python/python3-numpy/run-ptest
@@ -1,5 +1,15 @@
1#!/usr/bin/env python3 1#!/bin/sh
2 2
3import numpy 3# By default, numpy will use /tmp as the root path for temporary files used
4numpy.test(label='full', verbose=2) 4# during tests, but if this is a tmpfs it may fill up quickly and cause many of
5# the tests to report "no space left on device" errors. Create a custom
6# directory for these and point pytest at it so we can take advantage of the
7# storage provided in the rootfs.
8export PYTEST_DEBUG_TEMPROOT="/usr/lib/python3-numpy/ptest/tmp"
9mkdir -p "$PYTEST_DEBUG_TEMPROOT"
5 10
11# test_mem_policy fails if there's no C compiler present, but we don't want to
12# include gcc as a ptest dependency, so skip that. test_big_arrays uses up a
13# large amount of storage, so skip that too.
14pytest --automake -m "not slow" -k "not test_mem_policy and not test_big_arrays" /usr/lib/python3.*/site-packages/numpy
15rm -rf "$PYTEST_DEBUG_TEMPROOT"
diff --git a/meta/recipes-devtools/python/python3-numpy_1.26.4.bb b/meta/recipes-devtools/python/python3-numpy_2.3.0.bb
index ccd08147af..34a14f7ca6 100644
--- a/meta/recipes-devtools/python/python3-numpy_1.26.4.bb
+++ b/meta/recipes-devtools/python/python3-numpy_2.3.0.bb
@@ -3,62 +3,74 @@ HOMEPAGE = "https://numpy.org/"
3DESCRIPTION = "NumPy is the fundamental package needed for scientific computing with Python." 3DESCRIPTION = "NumPy is the fundamental package needed for scientific computing with Python."
4SECTION = "devel/python" 4SECTION = "devel/python"
5LICENSE = "BSD-3-Clause & BSD-2-Clause & PSF-2.0 & Apache-2.0 & MIT" 5LICENSE = "BSD-3-Clause & BSD-2-Clause & PSF-2.0 & Apache-2.0 & MIT"
6LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a752eb20459cf74a9d84ee4825e8317c" 6LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=26080bf81b2662c7119d3ef28ae197fd"
7 7
8SRCNAME = "numpy" 8SRCNAME = "numpy"
9 9
10SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${SRCNAME}-${PV}.tar.gz \ 10SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${SRCNAME}-${PV}.tar.gz \
11 file://0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch \ 11 file://0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch \
12 file://0001-numpy-core-Define-RISCV-32-support.patch \
13 file://fix_reproducibility.patch \ 12 file://fix_reproducibility.patch \
14 file://run-ptest \ 13 file://run-ptest \
15 " 14 "
16SRC_URI[sha256sum] = "2a02aba9ed12e4ac4eb3ea9421c420301a0c6460d9830d74a9df87efa4912010" 15SRC_URI[sha256sum] = "581f87f9e9e9db2cba2141400e160e9dd644ee248788d6f90636eeb8fd9260a6"
17 16
18GITHUB_BASE_URI = "https://github.com/numpy/numpy/releases" 17GITHUB_BASE_URI = "https://github.com/numpy/numpy/releases"
19UPSTREAM_CHECK_REGEX = "releases/tag/v?(?P<pver>\d+(\.\d+)+)$" 18UPSTREAM_CHECK_REGEX = "releases/tag/v?(?P<pver>\d+(\.\d+)+)$"
20 19
21DEPENDS += "python3-cython-native" 20inherit pkgconfig ptest python_mesonpy github-releases cython
22 21
23inherit ptest setuptools3 github-releases 22S = "${UNPACKDIR}/numpy-${PV}"
24 23
25S = "${WORKDIR}/numpy-${PV}" 24PACKAGECONFIG[svml] = "-Ddisable-svml=false,-Ddisable-svml=true"
26 25
27CLEANBROKEN = "1" 26# Remove references to buildpaths from numpy's __config__.py
27do_install:append() {
28 sed -i \
29 -e 's|${S}=||g' \
30 -e 's|${B}=||g' \
31 -e 's|${RECIPE_SYSROOT_NATIVE}=||g' \
32 -e 's|${RECIPE_SYSROOT_NATIVE}||g' \
33 -e 's|${RECIPE_SYSROOT}=||g' \
34 -e 's|${RECIPE_SYSROOT}||g' ${D}${PYTHON_SITEPACKAGES_DIR}/numpy/__config__.py
28 35
29do_compile:prepend() { 36 nativepython3 -mcompileall -s ${D} ${D}${PYTHON_SITEPACKAGES_DIR}/numpy/__config__.py
30 export NPY_DISABLE_SVML=1
31} 37}
32 38
33FILES:${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/numpy/core/lib/*.a ${PYTHON_SITEPACKAGES_DIR}/numpy/random/lib/*.a" 39FILES:${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/numpy/_core/lib/*.a \
40 ${PYTHON_SITEPACKAGES_DIR}/numpy/random/lib/*.a \
41"
34 42
35# install what is needed for numpy.test() 43# install what is needed for numpy.test()
36RDEPENDS:${PN} = "python3-unittest \ 44RDEPENDS:${PN} = "\
45 python3-compression \
46 python3-ctypes \
47 python3-datetime \
37 python3-difflib \ 48 python3-difflib \
38 python3-pprint \
39 python3-pickle \
40 python3-shell \
41 python3-doctest \ 49 python3-doctest \
42 python3-datetime \ 50 python3-email \
51 python3-json \
43 python3-misc \ 52 python3-misc \
44 python3-mmap \ 53 python3-mmap \
54 python3-multiprocessing \
45 python3-netclient \ 55 python3-netclient \
46 python3-numbers \ 56 python3-numbers \
47 python3-pydoc \ 57 python3-pickle \
48 python3-pkgutil \ 58 python3-pkgutil \
49 python3-email \ 59 python3-pprint \
50 python3-compression \ 60 python3-pydoc \
51 python3-ctypes \ 61 python3-shell \
52 python3-threading \ 62 python3-threading \
53 python3-multiprocessing \ 63 python3-unittest \
54 python3-json \
55" 64"
56RDEPENDS:${PN}-ptest += "python3-pytest \ 65RDEPENDS:${PN}-ptest += "\
66 ldd \
67 meson \
57 python3-hypothesis \ 68 python3-hypothesis \
58 python3-sortedcontainers \ 69 python3-pytest \
59 python3-resource \ 70 python3-resource \
71 python3-sortedcontainers \
60 python3-typing-extensions \ 72 python3-typing-extensions \
61 ldd \ 73 python3-unittest-automake-output \
62" 74"
63 75
64BBCLASSEXTEND = "native nativesdk" 76BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-packaging/run-ptest.in b/meta/recipes-devtools/python/python3-packaging/run-ptest.in
new file mode 100644
index 0000000000..508538463b
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-packaging/run-ptest.in
@@ -0,0 +1,2 @@
1#!/bin/sh
2pytest --automake IGNOREDTESTS
diff --git a/meta/recipes-devtools/python/python3-packaging_24.0.bb b/meta/recipes-devtools/python/python3-packaging_24.0.bb
deleted file mode 100644
index 0942eeb15e..0000000000
--- a/meta/recipes-devtools/python/python3-packaging_24.0.bb
+++ /dev/null
@@ -1,18 +0,0 @@
1SUMMARY = "Core utilities for Python packages"
2HOMEPAGE = "https://github.com/pypa/packaging"
3LICENSE = "Apache-2.0 | BSD-2-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=faadaedca9251a90b205c9167578ce91"
5
6SRC_URI[sha256sum] = "eb82c5e3e56209074766e6885bb04b8c38a0c015d0a30036ebe7ece34c9989e9"
7
8inherit pypi python_flit_core
9
10BBCLASSEXTEND = "native nativesdk"
11
12# Bootstrap the native build
13DEPENDS:remove:class-native = "python3-build-native"
14RDEPENDS:${PN} += "python3-profile"
15
16do_compile:class-native () {
17 python_flit_core_do_manual_build
18}
diff --git a/meta/recipes-devtools/python/python3-packaging_25.0.bb b/meta/recipes-devtools/python/python3-packaging_25.0.bb
new file mode 100644
index 0000000000..9cb5c68f58
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-packaging_25.0.bb
@@ -0,0 +1,43 @@
1SUMMARY = "Core utilities for Python packages"
2HOMEPAGE = "https://github.com/pypa/packaging"
3LICENSE = "Apache-2.0 | BSD-2-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=faadaedca9251a90b205c9167578ce91"
5
6SRC_URI[sha256sum] = "d443872c98d677bf60f6a1f2f8c1cb748e8fe762d2bf9d3148b5599295b0fc4f"
7
8SRC_URI += "file://run-ptest.in"
9
10inherit pypi python_flit_core ptest
11
12BBCLASSEXTEND = "native nativesdk"
13
14# Bootstrap the native build
15DEPENDS:remove:class-native = "python3-build-native"
16RDEPENDS:${PN} += "python3-profile"
17
18# https://github.com/pypa/packaging/issues/850
19SKIPLIST ?= ""
20SKIPLIST:libc-musl = "--deselect tests/test_manylinux.py::test_is_manylinux_compatible_old --ignore=tests/test_tags.py"
21
22do_compile:class-native () {
23 python_flit_core_do_manual_build
24}
25
26do_install_ptest() {
27 cp -r ${S}/tests ${D}${PTEST_PATH}/
28 # We don't need this script which is used to build the binaries
29 rm -f ${D}${PTEST_PATH}/tests/manylinux/build.sh
30 sed -e 's|IGNOREDTESTS|${SKIPLIST}|' ${UNPACKDIR}/run-ptest.in > ${D}${PTEST_PATH}/run-ptest
31 chmod 0755 ${D}${PTEST_PATH}/run-ptest
32}
33
34RDEPENDS:${PN}-ptest = "\
35 python3-ctypes \
36 python3-pretend \
37 python3-pytest \
38 python3-unittest-automake-output \
39"
40
41# The ptest package contains prebuilt test binaries
42INSANE_SKIP:${PN} = "already-stripped"
43INSANE_SKIP:${PN}-ptest = "arch"
diff --git a/meta/recipes-devtools/python/python3-pathlib2_2.3.7.bb b/meta/recipes-devtools/python/python3-pathlib2_2.3.7.bb
deleted file mode 100644
index d4de40893a..0000000000
--- a/meta/recipes-devtools/python/python3-pathlib2_2.3.7.bb
+++ /dev/null
@@ -1,12 +0,0 @@
1SUMMARY = "Object-oriented filesystem paths"
2HOMEPAGE = "https://github.com/mcmtroffaes/pathlib2"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=2dc08586cce3ab91bfa091b655c0e440"
5
6SRC_URI[sha256sum] = "7a4329d67beff9a712e1d3ae147e4e3e108b0bfd284ffdea03a635126c76b3c0"
7
8inherit pypi setuptools3
9
10RDEPENDS:${PN} += "python3-six python3-ctypes"
11
12BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-pathspec_0.12.1.bb b/meta/recipes-devtools/python/python3-pathspec_0.12.1.bb
index b61f673397..2c80b24c28 100644
--- a/meta/recipes-devtools/python/python3-pathspec_0.12.1.bb
+++ b/meta/recipes-devtools/python/python3-pathspec_0.12.1.bb
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=815ca599c9df247a0c7f619bab123dad"
6 6
7SRC_URI[sha256sum] = "a482d51503a1ab33b1c67a6c3813a26953dbdc71c31dacaef9a838c4e29f5712" 7SRC_URI[sha256sum] = "a482d51503a1ab33b1c67a6c3813a26953dbdc71c31dacaef9a838c4e29f5712"
8 8
9inherit pypi setuptools3 9inherit pypi python_flit_core
10 10
11BBCLASSEXTEND = "native nativesdk" 11BBCLASSEXTEND = "native nativesdk"
12 12
diff --git a/meta/recipes-devtools/python/python3-pbr/0001-change-shebang-to-python3.patch b/meta/recipes-devtools/python/python3-pbr/0001-change-shebang-to-python3.patch
index 688da6b204..218add1778 100644
--- a/meta/recipes-devtools/python/python3-pbr/0001-change-shebang-to-python3.patch
+++ b/meta/recipes-devtools/python/python3-pbr/0001-change-shebang-to-python3.patch
@@ -1,4 +1,4 @@
1From 09bd8368bf0d5385663a10eeb890131481681bdd Mon Sep 17 00:00:00 2001 1From df0a8c56f03004738599e06a7b5a1d2b67189848 Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com> 2From: Changqing Li <changqing.li@windriver.com>
3Date: Thu, 23 Apr 2020 09:28:58 +0000 3Date: Thu, 23 Apr 2020 09:28:58 +0000
4Subject: [PATCH] change shebang to python3 4Subject: [PATCH] change shebang to python3
@@ -12,10 +12,10 @@ Signed-off-by: Changqing Li <changqing.li@windriver.com>
12 2 files changed, 2 insertions(+), 2 deletions(-) 12 2 files changed, 2 insertions(+), 2 deletions(-)
13 13
14diff --git a/pbr/tests/test_integration.py b/pbr/tests/test_integration.py 14diff --git a/pbr/tests/test_integration.py b/pbr/tests/test_integration.py
15index 8e96f21..b07cbe3 100644 15index cb4b5e5..4cbfb19 100644
16--- a/pbr/tests/test_integration.py 16--- a/pbr/tests/test_integration.py
17+++ b/pbr/tests/test_integration.py 17+++ b/pbr/tests/test_integration.py
18@@ -150,7 +150,7 @@ class TestInstallWithoutPbr(base.BaseTestCase): 18@@ -171,7 +171,7 @@ class TestInstallWithoutPbr(base.BaseTestCase):
19 pkgs = { 19 pkgs = {
20 'pkgTest': { 20 'pkgTest': {
21 'setup.py': textwrap.dedent("""\ 21 'setup.py': textwrap.dedent("""\
@@ -25,10 +25,10 @@ index 8e96f21..b07cbe3 100644
25 setuptools.setup( 25 setuptools.setup(
26 name = 'pkgTest', 26 name = 'pkgTest',
27diff --git a/pbr/tests/test_packaging.py b/pbr/tests/test_packaging.py 27diff --git a/pbr/tests/test_packaging.py b/pbr/tests/test_packaging.py
28index 07be547..f6a9412 100644 28index dddf7ae..bec03ce 100644
29--- a/pbr/tests/test_packaging.py 29--- a/pbr/tests/test_packaging.py
30+++ b/pbr/tests/test_packaging.py 30+++ b/pbr/tests/test_packaging.py
31@@ -206,7 +206,7 @@ class CreatePackages(fixtures.Fixture): 31@@ -219,7 +219,7 @@ class CreatePackages(fixtures.Fixture):
32 32
33 defaults = { 33 defaults = {
34 'setup.py': textwrap.dedent(six.u("""\ 34 'setup.py': textwrap.dedent(six.u("""\
@@ -37,6 +37,3 @@ index 07be547..f6a9412 100644
37 import setuptools 37 import setuptools
38 setuptools.setup( 38 setuptools.setup(
39 setup_requires=['pbr'], 39 setup_requires=['pbr'],
40--
412.24.1
42
diff --git a/meta/recipes-devtools/python/python3-pbr_6.0.0.bb b/meta/recipes-devtools/python/python3-pbr_6.0.0.bb
deleted file mode 100644
index 6c8171196a..0000000000
--- a/meta/recipes-devtools/python/python3-pbr_6.0.0.bb
+++ /dev/null
@@ -1,4 +0,0 @@
1inherit setuptools3
2require python-pbr.inc
3
4SRC_URI[sha256sum] = "d1377122a5a00e2f940ee482999518efe16d745d423a670c27773dfbc3c9a7d9"
diff --git a/meta/recipes-devtools/python/python3-pbr_6.1.0.bb b/meta/recipes-devtools/python/python3-pbr_6.1.0.bb
new file mode 100644
index 0000000000..a58b491a82
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pbr_6.1.0.bb
@@ -0,0 +1,4 @@
1inherit setuptools3
2require python-pbr.inc
3
4SRC_URI[sha256sum] = "788183e382e3d1d7707db08978239965e8b9e4e5ed42669bf4758186734d5f24"
diff --git a/meta/recipes-devtools/python/python3-pdm-backend_2.4.4.bb b/meta/recipes-devtools/python/python3-pdm-backend_2.4.4.bb
new file mode 100644
index 0000000000..71275f3ee8
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pdm-backend_2.4.4.bb
@@ -0,0 +1,14 @@
1SUMMARY = "The build backend used by PDM that supports latest packaging standards"
2HOMEPAGE = "https://github.com/pdm-project/pdm-backend"
3LICENSE = "MIT"
4SECTION = "devel/python"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=4a564297b3c5b629a528b92fd8ff61ea"
6
7SRC_URI[sha256sum] = "f72551eeb319f74ca25856c24fb4026684eeb0dddd9df68482901ab0dc481258"
8
9inherit pypi python_setuptools_build_meta
10
11PYPI_PACKAGE = "pdm_backend"
12UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
13
14BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-pdm-build-locked_0.3.5.bb b/meta/recipes-devtools/python/python3-pdm-build-locked_0.3.5.bb
new file mode 100644
index 0000000000..12afe8bcf4
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pdm-build-locked_0.3.5.bb
@@ -0,0 +1,15 @@
1SUMMARY = "pdm plugin to publish locked dependencies as optional-dependencies"
2HOMEPAGE = "https://github.com/pdm-project/pdm-build-locked"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=19382cdf9c143df4f00b9caa0b60c75a"
5
6SRC_URI[sha256sum] = "ab2f381e00d79841d46be2e6909c265038b9fa951de2bf551ca6adb7f6844201"
7
8inherit pypi python_setuptools_build_meta
9
10DEPENDS += " python3-pdm-backend-native"
11
12PYPI_PACKAGE = "pdm_build_locked"
13UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
14
15BBCLASSEXTEND += "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-pdm_2.25.1.bb b/meta/recipes-devtools/python/python3-pdm_2.25.1.bb
new file mode 100644
index 0000000000..d9331ba72c
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pdm_2.25.1.bb
@@ -0,0 +1,16 @@
1SUMMARY = "A modern Python package and dependency manager supporting the latest PEP standards"
2HOMEPAGE = "https://pdm-project.org/latest/"
3LICENSE = "MIT"
4SECTION = "devel/python"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=2eb31a2cc1a758c34b499f287dd04ef2"
6
7SRC_URI[sha256sum] = "3145251f37a3f94fa211ade992e7db7792da4c3e8e3eeeb1993d952adebe0b96"
8
9inherit pypi python_setuptools_build_meta
10
11DEPENDS += " \
12 python3-pdm-backend-native \
13 python3-pdm-build-locked-native \
14"
15
16BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-pefile/run-ptest b/meta/recipes-devtools/python/python3-pefile/run-ptest
new file mode 100644
index 0000000000..95ae72306f
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pefile/run-ptest
@@ -0,0 +1,3 @@
1#!/bin/sh
2
3pytest --automake --ignore=./tests/pefile_test.py
diff --git a/meta/recipes-devtools/python/python3-pefile_2024.8.26.bb b/meta/recipes-devtools/python/python3-pefile_2024.8.26.bb
new file mode 100644
index 0000000000..11765b3cb3
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pefile_2024.8.26.bb
@@ -0,0 +1,18 @@
1SUMMARY = "Python PE parsing module"
2DESCRIPTION = "A multi-platform Python module to parse and work with Portable Executable (PE) files."
3HOMEPAGE = "https://github.com/erocarrera/pefile"
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=e34c75178086aca0a17551ffbacaca53"
6
7inherit setuptools3 ptest-python-pytest
8SRCREV = "4b3b1e2e568a88d4f1897d694d684f23d9e270c4"
9SRC_URI = "git://github.com/erocarrera/pefile;branch=master;protocol=https \
10 file://run-ptest"
11
12BBCLASSEXTEND = "native nativesdk"
13
14RDEPENDS:${PN} += " \
15 python3-mmap \
16 python3-netclient \
17 python3-stringold \
18"
diff --git a/meta/recipes-devtools/python/python3-pip/no_shebang_mangling.patch b/meta/recipes-devtools/python/python3-pip/no_shebang_mangling.patch
index 99fa14ee03..71836dca07 100644
--- a/meta/recipes-devtools/python/python3-pip/no_shebang_mangling.patch
+++ b/meta/recipes-devtools/python/python3-pip/no_shebang_mangling.patch
@@ -1,4 +1,4 @@
1From 2aa82aeb0783c5fa7777b32bfe1dd3da9ae8fc6e Mon Sep 17 00:00:00 2001 1From a715a622989ac182d18f6f2ada8201122282d889 Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org> 2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Wed, 23 Feb 2022 12:27:06 +0000 3Date: Wed, 23 Feb 2022 12:27:06 +0000
4Subject: [PATCH] python3-pip: Don't change shebang 4Subject: [PATCH] python3-pip: Don't change shebang
@@ -13,10 +13,10 @@ Upstream-Status: Inappropriate [OE specific config]
13 1 file changed, 3 insertions(+), 1 deletion(-) 13 1 file changed, 3 insertions(+), 1 deletion(-)
14 14
15diff --git a/src/pip/_vendor/distlib/scripts.py b/src/pip/_vendor/distlib/scripts.py 15diff --git a/src/pip/_vendor/distlib/scripts.py b/src/pip/_vendor/distlib/scripts.py
16index cfa45d2..313f499 100644 16index b1fc705..c030e98 100644
17--- a/src/pip/_vendor/distlib/scripts.py 17--- a/src/pip/_vendor/distlib/scripts.py
18+++ b/src/pip/_vendor/distlib/scripts.py 18+++ b/src/pip/_vendor/distlib/scripts.py
19@@ -144,6 +144,8 @@ class ScriptMaker(object): 19@@ -155,6 +155,8 @@ class ScriptMaker(object):
20 See also: http://www.in-ulm.de/~mascheck/various/shebang/#length 20 See also: http://www.in-ulm.de/~mascheck/various/shebang/#length
21 https://hg.mozilla.org/mozilla-central/file/tip/mach 21 https://hg.mozilla.org/mozilla-central/file/tip/mach
22 """ 22 """
@@ -24,8 +24,8 @@ index cfa45d2..313f499 100644
24+ return b'#!/usr/bin/env python3' 24+ return b'#!/usr/bin/env python3'
25 if os.name != 'posix': 25 if os.name != 'posix':
26 simple_shebang = True 26 simple_shebang = True
27 else: 27 elif getattr(sys, "cross_compiling", False):
28@@ -362,7 +364,7 @@ class ScriptMaker(object): 28@@ -363,7 +365,7 @@ class ScriptMaker(object):
29 return 29 return
30 30
31 match = FIRST_LINE_RE.match(first_line.replace(b'\r\n', b'\n')) 31 match = FIRST_LINE_RE.match(first_line.replace(b'\r\n', b'\n'))
diff --git a/meta/recipes-devtools/python/python3-pip_24.0.bb b/meta/recipes-devtools/python/python3-pip_25.1.1.bb
index be4a29500a..431ba182c6 100644
--- a/meta/recipes-devtools/python/python3-pip_24.0.bb
+++ b/meta/recipes-devtools/python/python3-pip_25.1.1.bb
@@ -4,53 +4,44 @@ SECTION = "devel/python"
4LICENSE = "MIT & Apache-2.0 & MPL-2.0 & LGPL-2.1-only & BSD-3-Clause & PSF-2.0 & BSD-2-Clause" 4LICENSE = "MIT & Apache-2.0 & MPL-2.0 & LGPL-2.1-only & BSD-3-Clause & PSF-2.0 & BSD-2-Clause"
5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=63ec52baf95163b597008bb46db68030 \ 5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=63ec52baf95163b597008bb46db68030 \
6 file://src/pip/_vendor/cachecontrol/LICENSE.txt;md5=6572692148079ebbbd800be4b9f36c6d \ 6 file://src/pip/_vendor/cachecontrol/LICENSE.txt;md5=6572692148079ebbbd800be4b9f36c6d \
7 file://src/pip/_vendor/certifi/LICENSE;md5=3c2b7404369c587c3559afb604fce2f2 \ 7 file://src/pip/_vendor/certifi/LICENSE;md5=11618cb6a975948679286b1211bd573c \
8 file://src/pip/_vendor/chardet/LICENSE;md5=4fbd65380cdd255951079008b364516c \
9 file://src/pip/_vendor/colorama/LICENSE.txt;md5=b4936429a56a652b84c5c01280dcaa26 \
10 file://src/pip/_vendor/distlib/LICENSE.txt;md5=f6a11430d5cd6e2cd3832ee94f22ddfc \ 8 file://src/pip/_vendor/distlib/LICENSE.txt;md5=f6a11430d5cd6e2cd3832ee94f22ddfc \
11 file://src/pip/_vendor/distro/LICENSE;md5=d2794c0df5b907fdace235a619d80314 \ 9 file://src/pip/_vendor/distro/LICENSE;md5=d2794c0df5b907fdace235a619d80314 \
12 file://src/pip/_vendor/idna/LICENSE.md;md5=239668a7c6066d9e0c5382e9c8c6c0e1 \ 10 file://src/pip/_vendor/idna/LICENSE.md;md5=204c0612e40a4dd46012a78d02c80fb1 \
13 file://src/pip/_vendor/msgpack/COPYING;md5=cd9523181d9d4fbf7ffca52eaa2a5751 \ 11 file://src/pip/_vendor/msgpack/COPYING;md5=cd9523181d9d4fbf7ffca52eaa2a5751 \
14 file://src/pip/_vendor/packaging/LICENSE;md5=faadaedca9251a90b205c9167578ce91 \ 12 file://src/pip/_vendor/packaging/LICENSE;md5=faadaedca9251a90b205c9167578ce91 \
15 file://src/pip/_vendor/packaging/LICENSE.APACHE;md5=2ee41112a44fe7014dce33e26468ba93 \
16 file://src/pip/_vendor/pkg_resources/LICENSE;md5=141643e11c48898150daa83802dbc65f \ 13 file://src/pip/_vendor/pkg_resources/LICENSE;md5=141643e11c48898150daa83802dbc65f \
17 file://src/pip/_vendor/platformdirs/LICENSE;md5=ea4f5a41454746a9ed111e3d8723d17a \ 14 file://src/pip/_vendor/platformdirs/LICENSE;md5=ea4f5a41454746a9ed111e3d8723d17a \
18 file://src/pip/_vendor/pygments/LICENSE;md5=36a13c90514e2899f1eba7f41c3ee592 \ 15 file://src/pip/_vendor/pygments/LICENSE;md5=36a13c90514e2899f1eba7f41c3ee592 \
19 file://src/pip/_vendor/pyparsing/LICENSE;md5=657a566233888513e1f07ba13e2f47f1 \
20 file://src/pip/_vendor/pyproject_hooks/LICENSE;md5=aad69c93f605003e3342b174d9b0708c \ 16 file://src/pip/_vendor/pyproject_hooks/LICENSE;md5=aad69c93f605003e3342b174d9b0708c \
21 file://src/pip/_vendor/requests/LICENSE;md5=34400b68072d710fecd0a2940a0d1658 \ 17 file://src/pip/_vendor/requests/LICENSE;md5=34400b68072d710fecd0a2940a0d1658 \
22 file://src/pip/_vendor/resolvelib/LICENSE;md5=78e1c0248051c32a38a7f820c30bd7a5 \ 18 file://src/pip/_vendor/resolvelib/LICENSE;md5=78e1c0248051c32a38a7f820c30bd7a5 \
23 file://src/pip/_vendor/rich/LICENSE;md5=b5f0b94fbc94f5ad9ae4efcf8a778303 \ 19 file://src/pip/_vendor/rich/LICENSE;md5=b5f0b94fbc94f5ad9ae4efcf8a778303 \
24 file://src/pip/_vendor/six.LICENSE;md5=43cfc9e4ac0e377acfb9b76f56b8415d \
25 file://src/pip/_vendor/tenacity/LICENSE;md5=175792518e4ac015ab6696d16c4f607e \
26 file://src/pip/_vendor/tomli/LICENSE;md5=aaaaf0879d17df0110d1aa8c8c9f46f5 \ 20 file://src/pip/_vendor/tomli/LICENSE;md5=aaaaf0879d17df0110d1aa8c8c9f46f5 \
21 file://src/pip/_vendor/truststore/LICENSE;md5=74420fc3965c4558a4a1529e63c2867f \
27 file://src/pip/_vendor/typing_extensions.LICENSE;md5=fcf6b249c2641540219a727f35d8d2c2 \ 22 file://src/pip/_vendor/typing_extensions.LICENSE;md5=fcf6b249c2641540219a727f35d8d2c2 \
28 file://src/pip/_vendor/urllib3/LICENSE.txt;md5=c2823cb995439c984fd62a973d79815c \ 23 file://src/pip/_vendor/urllib3/LICENSE.txt;md5=c2823cb995439c984fd62a973d79815c \
29 file://src/pip/_vendor/webencodings/LICENSE;md5=81fb24cd7823cce23b69f721993dce4d \
30 " 24 "
31 25
32inherit pypi python_setuptools_build_meta 26inherit pypi python_setuptools_build_meta
33 27
34SRC_URI += "file://no_shebang_mangling.patch" 28SRC_URI += "file://no_shebang_mangling.patch"
35 29
36SRC_URI[sha256sum] = "ea9bd1a847e8c5774a5777bb398c19e80bcd4e2aa16a4b301b718fe6f593aba2" 30SRC_URI[sha256sum] = "3de45d411d308d5054c2168185d8da7f9a2cd753dbac8acbfa88a8909ecd9077"
37
38do_install:append() {
39 rm -f ${D}/${bindir}/pip
40}
41 31
42RDEPENDS:${PN} = "\ 32RDEPENDS:${PN} = "\
43 python3-compile \ 33 python3-compile \
44 python3-io \
45 python3-html \ 34 python3-html \
35 python3-image \
36 python3-io \
46 python3-json \ 37 python3-json \
47 python3-multiprocessing \ 38 python3-multiprocessing \
48 python3-netserver \ 39 python3-netserver \
40 python3-pickle \
49 python3-setuptools \ 41 python3-setuptools \
42 python3-tomllib \
50 python3-unixadmin \ 43 python3-unixadmin \
51 python3-xmlrpc \ 44 python3-xmlrpc \
52 python3-pickle \
53 python3-image \
54" 45"
55 46
56BBCLASSEXTEND = "native nativesdk" 47BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-pluggy/run-ptest b/meta/recipes-devtools/python/python3-pluggy/run-ptest
deleted file mode 100644
index 8d2017d39c..0000000000
--- a/meta/recipes-devtools/python/python3-pluggy/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@
1#!/bin/sh
2
3pytest --automake
diff --git a/meta/recipes-devtools/python/python3-pluggy_1.5.0.bb b/meta/recipes-devtools/python/python3-pluggy_1.5.0.bb
deleted file mode 100644
index 9822cd59f3..0000000000
--- a/meta/recipes-devtools/python/python3-pluggy_1.5.0.bb
+++ /dev/null
@@ -1,29 +0,0 @@
1SUMMARY = "Plugin and hook calling mechanisms for python"
2HOMEPAGE = "https://github.com/pytest-dev/pluggy"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=1c8206d16fd5cc02fa9b0bb98955e5c2"
5
6SRC_URI[sha256sum] = "2cffa88e94fdc978c4c574f15f9e59b7f4201d439195c3715ca9e2486f1d0cf1"
7
8DEPENDS += "python3-setuptools-scm-native"
9RDEPENDS:${PN} += "python3-importlib-metadata \
10 python3-more-itertools \
11"
12
13inherit pypi ptest python_setuptools_build_meta
14
15SRC_URI += " \
16 file://run-ptest \
17"
18
19RDEPENDS:${PN}-ptest += " \
20 python3-pytest \
21 python3-unittest-automake-output \
22"
23
24do_install_ptest() {
25 install -d ${D}${PTEST_PATH}/testing
26 cp -rf ${S}/testing/* ${D}${PTEST_PATH}/testing/
27}
28
29BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-pluggy_1.6.0.bb b/meta/recipes-devtools/python/python3-pluggy_1.6.0.bb
new file mode 100644
index 0000000000..b8e4bbc75b
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pluggy_1.6.0.bb
@@ -0,0 +1,14 @@
1SUMMARY = "Plugin and hook calling mechanisms for python"
2HOMEPAGE = "https://github.com/pytest-dev/pluggy"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=1c8206d16fd5cc02fa9b0bb98955e5c2"
5
6SRC_URI[sha256sum] = "7dcc130b76258d33b90f61b658791dede3486c3e6bfb003ee5c9bfb396dd22f3"
7
8DEPENDS += "python3-setuptools-scm-native"
9
10inherit pypi ptest-python-pytest python_setuptools_build_meta
11
12PTEST_PYTEST_DIR = "testing"
13
14BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-ply_3.11.bb b/meta/recipes-devtools/python/python3-ply_3.11.bb
index a05bd6702d..2c5fa3f215 100644
--- a/meta/recipes-devtools/python/python3-ply_3.11.bb
+++ b/meta/recipes-devtools/python/python3-ply_3.11.bb
@@ -5,7 +5,6 @@ SECTION = "devel/python"
5LICENSE = "BSD-3-Clause" 5LICENSE = "BSD-3-Clause"
6LIC_FILES_CHKSUM = "file://README.md;beginline=5;endline=32;md5=f5ee5c355c0e6719c787a71b8f0fa96c" 6LIC_FILES_CHKSUM = "file://README.md;beginline=5;endline=32;md5=f5ee5c355c0e6719c787a71b8f0fa96c"
7 7
8SRC_URI[md5sum] = "6465f602e656455affcd7c5734c638f8"
9SRC_URI[sha256sum] = "00c7c1aaa88358b9c765b6d3000c6eec0ba42abca5351b095321aef446081da3" 8SRC_URI[sha256sum] = "00c7c1aaa88358b9c765b6d3000c6eec0ba42abca5351b095321aef446081da3"
10 9
11inherit pypi setuptools3 10inherit pypi setuptools3
diff --git a/meta/recipes-devtools/python/python3-poetry-core_1.9.0.bb b/meta/recipes-devtools/python/python3-poetry-core_2.1.3.bb
index 540fdffaed..12c4751de8 100644
--- a/meta/recipes-devtools/python/python3-poetry-core_1.9.0.bb
+++ b/meta/recipes-devtools/python/python3-poetry-core_2.1.3.bb
@@ -15,11 +15,12 @@ LIC_FILES_CHKSUM = "\
15 file://src/poetry/core/_vendor/tomli/LICENSE;md5=aaaaf0879d17df0110d1aa8c8c9f46f5 \ 15 file://src/poetry/core/_vendor/tomli/LICENSE;md5=aaaaf0879d17df0110d1aa8c8c9f46f5 \
16" 16"
17 17
18SRC_URI[sha256sum] = "fa7a4001eae8aa572ee84f35feb510b321bd652e5cf9293249d62853e1f935a2" 18SRC_URI[sha256sum] = "0522a015477ed622c89aad56a477a57813cace0c8e7ff2a2906b7ef4a2e296a4"
19 19
20inherit python_poetry_core pypi 20inherit python_poetry_core pypi
21 21
22PYPI_PACKAGE = "poetry_core" 22PYPI_PACKAGE = "poetry_core"
23UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
23 24
24RDEPENDS:${PN}:append:class-target = "\ 25RDEPENDS:${PN}:append:class-target = "\
25 python3-compression \ 26 python3-compression \
@@ -29,14 +30,12 @@ RDEPENDS:${PN}:append:class-target = "\
29 python3-json \ 30 python3-json \
30 python3-logging \ 31 python3-logging \
31 python3-netclient \ 32 python3-netclient \
32 python3-pathlib2 \
33 python3-pprint \ 33 python3-pprint \
34 python3-shell \ 34 python3-shell \
35" 35"
36 36
37RDEPENDS:${PN} += "\ 37RDEPENDS:${PN} += "\
38 python3-pip \ 38 python3-pip \
39 python3-six \
40" 39"
41 40
42BBCLASSEXTEND = "native nativesdk" 41BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-pretend_1.0.9.bb b/meta/recipes-devtools/python/python3-pretend_1.0.9.bb
index 21d14a03b8..60c02de488 100644
--- a/meta/recipes-devtools/python/python3-pretend_1.0.9.bb
+++ b/meta/recipes-devtools/python/python3-pretend_1.0.9.bb
@@ -3,7 +3,6 @@ HOMEPAGE = "https://github.com/alex/pretend"
3LICENSE = "BSD-3-Clause" 3LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=411780c0b7fa756753e94affeee5bc99" 4LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=411780c0b7fa756753e94affeee5bc99"
5 5
6SRC_URI[md5sum] = "ad53883ede48aeac7ae584f0de0240e8"
7SRC_URI[sha256sum] = "c90eb810cde8ebb06dafcb8796f9a95228ce796531bc806e794c2f4649aa1b10" 6SRC_URI[sha256sum] = "c90eb810cde8ebb06dafcb8796f9a95228ce796531bc806e794c2f4649aa1b10"
8 7
9inherit pypi setuptools3 8inherit pypi setuptools3
diff --git a/meta/recipes-devtools/python/python3-psutil_5.9.8.bb b/meta/recipes-devtools/python/python3-psutil_7.0.0.bb
index 1a394eda33..a2af198083 100644
--- a/meta/recipes-devtools/python/python3-psutil_5.9.8.bb
+++ b/meta/recipes-devtools/python/python3-psutil_7.0.0.bb
@@ -3,9 +3,9 @@ LICENSE = "BSD-3-Clause"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=a9c72113a843d0d732a0ac1c200d81b1" 3LIC_FILES_CHKSUM = "file://LICENSE;md5=a9c72113a843d0d732a0ac1c200d81b1"
4HOMEPAGE = "https://pypi.org/project/psutil/" 4HOMEPAGE = "https://pypi.org/project/psutil/"
5 5
6SRC_URI[sha256sum] = "6be126e3225486dff286a8fb9a06246a5253f4c7c53b475ea5f5ac934e64194c" 6SRC_URI[sha256sum] = "7be9c3eba38beccb6495ea33afd982a44074b78f28c434a1f51cc07fd315c456"
7 7
8inherit pypi setuptools3 8inherit pypi python_setuptools_build_meta
9 9
10PACKAGES =+ "${PN}-tests" 10PACKAGES =+ "${PN}-tests"
11 11
@@ -14,7 +14,6 @@ FILES:${PN}-tests += " \
14 ${PYTHON_SITEPACKAGES_DIR}/psutil/__pycache__/test* \ 14 ${PYTHON_SITEPACKAGES_DIR}/psutil/__pycache__/test* \
15" 15"
16 16
17
18RDEPENDS:${PN} += " \ 17RDEPENDS:${PN} += " \
19 python3-shell \ 18 python3-shell \
20 python3-threading \ 19 python3-threading \
@@ -35,7 +34,10 @@ RDEPENDS:${PN}-tests += " \
35 libstdc++ \ 34 libstdc++ \
36 libstdc++-dev \ 35 libstdc++-dev \
37" 36"
37RDEPENDS:${PN}-tests:class-native = ""
38 38
39INSANE_SKIP:${PN}-tests += "dev-deps" 39INSANE_SKIP:${PN}-tests += "dev-deps"
40 40
41CVE_PRODUCT = "psutil"
42
41BBCLASSEXTEND = "native" 43BBCLASSEXTEND = "native"
diff --git a/meta/recipes-devtools/python/python3-py_1.11.0.bb b/meta/recipes-devtools/python/python3-py_1.11.0.bb
deleted file mode 100644
index 31d5a377a7..0000000000
--- a/meta/recipes-devtools/python/python3-py_1.11.0.bb
+++ /dev/null
@@ -1,14 +0,0 @@
1SUMMARY = "Library with cross-python path, ini-parsing, io, code, log facilities"
2HOMEPAGE = "http://py.readthedocs.io/"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=a6bb0320b04a0a503f12f69fea479de9"
5
6SRC_URI[sha256sum] = "51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719"
7
8DEPENDS += "python3-setuptools-scm-native"
9
10inherit pypi python_setuptools_build_meta
11
12BBCLASSEXTEND = "native nativesdk"
13
14RDEPENDS:${PN} += "python3-netclient"
diff --git a/meta/recipes-devtools/python/python3-pyasn1/run-ptest b/meta/recipes-devtools/python/python3-pyasn1/run-ptest
deleted file mode 100644
index 8d2017d39c..0000000000
--- a/meta/recipes-devtools/python/python3-pyasn1/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@
1#!/bin/sh
2
3pytest --automake
diff --git a/meta/recipes-devtools/python/python3-pyasn1_0.6.0.bb b/meta/recipes-devtools/python/python3-pyasn1_0.6.0.bb
deleted file mode 100644
index 0519ba5edb..0000000000
--- a/meta/recipes-devtools/python/python3-pyasn1_0.6.0.bb
+++ /dev/null
@@ -1,3 +0,0 @@
1inherit pypi setuptools3
2require python-pyasn1.inc
3
diff --git a/meta/recipes-devtools/python/python-pyasn1.inc b/meta/recipes-devtools/python/python3-pyasn1_0.6.1.bb
index 7b269f2940..820ef27d2b 100644
--- a/meta/recipes-devtools/python/python-pyasn1.inc
+++ b/meta/recipes-devtools/python/python3-pyasn1_0.6.1.bb
@@ -3,7 +3,9 @@ HOMEPAGE = "http://pyasn1.sourceforge.net/"
3LICENSE = "BSD-2-Clause" 3LICENSE = "BSD-2-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=190f79253908c986e6cacf380c3a5f6d" 4LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=190f79253908c986e6cacf380c3a5f6d"
5 5
6SRC_URI[sha256sum] = "3a35ab2c4b5ef98e17dfdec8ab074046fbda76e281c5a706ccd82328cfc8f64c" 6SRC_URI[sha256sum] = "6f580d2bdd84365380830acf45550f2511469f673cb4a5ae3857a3170128b034"
7
8inherit pypi python_setuptools_build_meta ptest-python-pytest
7 9
8RDEPENDS:${PN}:class-target += " \ 10RDEPENDS:${PN}:class-target += " \
9 python3-codecs \ 11 python3-codecs \
@@ -13,19 +15,3 @@ RDEPENDS:${PN}:class-target += " \
13" 15"
14 16
15BBCLASSEXTEND = "native nativesdk" 17BBCLASSEXTEND = "native nativesdk"
16
17inherit ptest
18
19SRC_URI += " \
20 file://run-ptest \
21 "
22
23RDEPENDS:${PN}-ptest += " \
24 python3-pytest \
25 python3-unittest-automake-output \
26"
27
28do_install_ptest() {
29 install -d ${D}${PTEST_PATH}/tests
30 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
31}
diff --git a/meta/recipes-devtools/python/python3-pycairo_1.26.0.bb b/meta/recipes-devtools/python/python3-pycairo_1.28.0.bb
index ea8b81be76..498c4db586 100644
--- a/meta/recipes-devtools/python/python3-pycairo_1.26.0.bb
+++ b/meta/recipes-devtools/python/python3-pycairo_1.28.0.bb
@@ -13,9 +13,9 @@ DEPENDS = "cairo python3"
13SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/pycairo-${PV}.tar.gz" 13SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/pycairo-${PV}.tar.gz"
14GITHUB_BASE_URI = "https://github.com/pygobject/pycairo/releases/" 14GITHUB_BASE_URI = "https://github.com/pygobject/pycairo/releases/"
15 15
16SRC_URI[sha256sum] = "2dddd0a874fbddb21e14acd9b955881ee1dc6e63b9c549a192d613a907f9cbeb" 16SRC_URI[sha256sum] = "26ec5c6126781eb167089a123919f87baa2740da2cca9098be8b3a6b91cc5fbc"
17 17
18S = "${WORKDIR}/pycairo-${PV}" 18S = "${UNPACKDIR}/pycairo-${PV}"
19 19
20inherit meson pkgconfig python3targetconfig github-releases 20inherit meson pkgconfig python3targetconfig github-releases
21 21
diff --git a/meta/recipes-devtools/python/python3-pycparser_2.22.bb b/meta/recipes-devtools/python/python3-pycparser_2.22.bb
index 9a5abc42bd..0be39ea383 100644
--- a/meta/recipes-devtools/python/python3-pycparser_2.22.bb
+++ b/meta/recipes-devtools/python/python3-pycparser_2.22.bb
@@ -11,9 +11,7 @@ BBCLASSEXTEND = "native nativesdk"
11 11
12RDEPENDS:${PN}:class-target += "\ 12RDEPENDS:${PN}:class-target += "\
13 python3-netclient \ 13 python3-netclient \
14 python3-ply \ 14"
15 python3-pprint \
16 "
17 15
18RSUGGESTS:${PN}:class-target += "\ 16RSUGGESTS:${PN}:class-target += "\
19 cpp \ 17 cpp \
diff --git a/meta/recipes-devtools/python/python3-pycryptodome_3.20.0.bb b/meta/recipes-devtools/python/python3-pycryptodome_3.20.0.bb
deleted file mode 100644
index d24fa58d43..0000000000
--- a/meta/recipes-devtools/python/python3-pycryptodome_3.20.0.bb
+++ /dev/null
@@ -1,5 +0,0 @@
1require python-pycryptodome.inc
2inherit setuptools3
3
4SRC_URI[sha256sum] = "09609209ed7de61c2b560cc5c8c4fbf892f8b15b1faf7e4cbffac97db1fffda7"
5
diff --git a/meta/recipes-devtools/python/python3-pycryptodome_3.23.0.bb b/meta/recipes-devtools/python/python3-pycryptodome_3.23.0.bb
new file mode 100644
index 0000000000..2528162ff8
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pycryptodome_3.23.0.bb
@@ -0,0 +1,5 @@
1require python-pycryptodome.inc
2inherit python_setuptools_build_meta
3
4SRC_URI[sha256sum] = "447700a657182d60338bab09fdb27518f8856aecd80ae4c6bdddb67ff5da44ef"
5
diff --git a/meta/recipes-devtools/python/python3-pycryptodomex_3.20.0.bb b/meta/recipes-devtools/python/python3-pycryptodomex_3.23.0.bb
index 2673ea8326..43dba3faa3 100644
--- a/meta/recipes-devtools/python/python3-pycryptodomex_3.20.0.bb
+++ b/meta/recipes-devtools/python/python3-pycryptodomex_3.23.0.bb
@@ -1,7 +1,7 @@
1require python-pycryptodome.inc 1require python-pycryptodome.inc
2inherit setuptools3 2inherit python_setuptools_build_meta
3 3
4SRC_URI[sha256sum] = "7a710b79baddd65b806402e14766c721aee8fb83381769c27920f26476276c1e" 4SRC_URI[sha256sum] = "71909758f010c82bc99b0abf4ea12012c98962fbf0583c2164f8b84533c2e4da"
5 5
6FILES:${PN}-tests = " \ 6FILES:${PN}-tests = " \
7 ${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/ \ 7 ${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/ \
diff --git a/meta/recipes-devtools/python/python3-pyelftools_0.31.bb b/meta/recipes-devtools/python/python3-pyelftools_0.32.bb
index 551fed6876..13e9efff8d 100644
--- a/meta/recipes-devtools/python/python3-pyelftools_0.31.bb
+++ b/meta/recipes-devtools/python/python3-pyelftools_0.32.bb
@@ -4,11 +4,11 @@ SECTION = "devel/python"
4LICENSE = "PD" 4LICENSE = "PD"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=5ce2a2b07fca326bc7c146d10105ccfc" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=5ce2a2b07fca326bc7c146d10105ccfc"
6 6
7SRC_URI[sha256sum] = "c774416b10310156879443b81187d182d8d9ee499660380e645918b50bc88f99" 7SRC_URI[sha256sum] = "6de90ee7b8263e740c8715a925382d4099b354f29ac48ea40d840cf7aa14ace5"
8 8
9PYPI_PACKAGE = "pyelftools" 9PYPI_PACKAGE = "pyelftools"
10 10
11inherit pypi setuptools3 11inherit pypi python_setuptools_build_meta
12 12
13BBCLASSEXTEND = "native" 13BBCLASSEXTEND = "native"
14 14
diff --git a/meta/recipes-devtools/python/python3-pygments_2.17.2.bb b/meta/recipes-devtools/python/python3-pygments_2.19.1.bb
index 8b98064b78..de24ed3f11 100644
--- a/meta/recipes-devtools/python/python3-pygments_2.17.2.bb
+++ b/meta/recipes-devtools/python/python3-pygments_2.19.1.bb
@@ -5,9 +5,8 @@ LICENSE = "BSD-2-Clause"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=36a13c90514e2899f1eba7f41c3ee592" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=36a13c90514e2899f1eba7f41c3ee592"
6 6
7inherit python_hatchling 7inherit python_hatchling
8SRC_URI[sha256sum] = "da46cec9fd2de5be3a8a784f434e4c4ab670b4ff54d605c4c2717e9d49c4c367" 8SRC_URI[sha256sum] = "61c16d2a8576dc0649d9f39e089b5f02bcd27fba10d8fb4dcc28173f7a45151f"
9 9
10UPSTREAM_CHECK_PYPI_PACKAGE = "Pygments"
11inherit pypi 10inherit pypi
12 11
13BBCLASSEXTEND = "native nativesdk" 12BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-pygobject_3.48.2.bb b/meta/recipes-devtools/python/python3-pygobject_3.52.3.bb
index 3d83a8a1c2..42b071ca08 100644
--- a/meta/recipes-devtools/python/python3-pygobject_3.48.2.bb
+++ b/meta/recipes-devtools/python/python3-pygobject_3.52.3.bb
@@ -16,18 +16,20 @@ python() {
16 16
17DEPENDS += "python3 glib-2.0" 17DEPENDS += "python3 glib-2.0"
18 18
19SRCNAME="pygobject" 19SRCNAME = "pygobject"
20 20
21SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/${SRCNAME}/${@gnome_verdir("${PV}")}/${SRCNAME}-${PV}.tar.xz" 21SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/${SRCNAME}/${@gnome_verdir("${PV}")}/${SRCNAME}-${PV}.tar.gz"
22SRC_URI[sha256sum] = "0794aeb4a9be31a092ac20621b5f54ec280f9185943d328b105cdae6298ad1a7" 22SRC_URI[sha256sum] = "00e427d291e957462a8fad659a9f9c8be776ff82a8b76bdf402f1eaeec086d82"
23 23
24S = "${WORKDIR}/${SRCNAME}-${PV}" 24S = "${UNPACKDIR}/${SRCNAME}-${PV}"
25 25
26PACKAGECONFIG ??= "${@bb.utils.contains_any('DISTRO_FEATURES', [ 'directfb', 'wayland', 'x11' ], 'cairo', '', d)}" 26PACKAGECONFIG ??= "${@bb.utils.contains_any('DISTRO_FEATURES', [ 'directfb', 'wayland', 'x11' ], 'cairo', '', d)}"
27 27
28RDEPENDS:${PN} += " \ 28RDEPENDS:${PN} += " \
29 python3-asyncio \
29 python3-io \ 30 python3-io \
30 python3-pkgutil \ 31 python3-pkgutil \
32 gobject-introspection \
31" 33"
32 34
33# python3-pycairo is checked on configuration -> DEPENDS 35# python3-pycairo is checked on configuration -> DEPENDS
diff --git a/meta/recipes-devtools/python/python3-pyopenssl_24.1.0.bb b/meta/recipes-devtools/python/python3-pyopenssl_25.1.0.bb
index 9ef3145bf8..c1f571c552 100644
--- a/meta/recipes-devtools/python/python3-pyopenssl_24.1.0.bb
+++ b/meta/recipes-devtools/python/python3-pyopenssl_25.1.0.bb
@@ -5,9 +5,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
5 5
6DEPENDS += "openssl python3-cryptography" 6DEPENDS += "openssl python3-cryptography"
7 7
8SRC_URI[sha256sum] = "cabed4bfaa5df9f1a16c0ef64a0cb65318b5cd077a7eda7d6970131ca2f41a6f" 8SRC_URI[sha256sum] = "8d031884482e0c67ee92bf9a4d8cceb08d92aba7136432ffb0703c5280fc205b"
9 9
10PYPI_PACKAGE = "pyOpenSSL"
11inherit pypi setuptools3 10inherit pypi setuptools3
12 11
13PACKAGES =+ "${PN}-tests" 12PACKAGES =+ "${PN}-tests"
diff --git a/meta/recipes-devtools/python/python3-pyparsing_3.1.2.bb b/meta/recipes-devtools/python/python3-pyparsing_3.2.3.bb
index 64210ade53..459b01fd94 100644
--- a/meta/recipes-devtools/python/python3-pyparsing_3.1.2.bb
+++ b/meta/recipes-devtools/python/python3-pyparsing_3.2.3.bb
@@ -10,9 +10,7 @@ BUGTRACKER = "https://github.com/pyparsing/pyparsing/issues"
10LICENSE = "MIT" 10LICENSE = "MIT"
11LIC_FILES_CHKSUM = "file://LICENSE;md5=657a566233888513e1f07ba13e2f47f1" 11LIC_FILES_CHKSUM = "file://LICENSE;md5=657a566233888513e1f07ba13e2f47f1"
12 12
13SRC_URI[sha256sum] = "a1bac0ce561155ecc3ed78ca94d3c9378656ad4c94c1270de543f621420f94ad" 13SRC_URI[sha256sum] = "b9c13f1ab8b3b542f72e28f634bad4de758ab3ce4546e4301970ad6fa77c38be"
14
15UPSTREAM_CHECK_REGEX = "pyparsing-(?P<pver>.*)\.tar"
16 14
17inherit pypi python_flit_core 15inherit pypi python_flit_core
18 16
diff --git a/meta/recipes-devtools/python/python3-pyproject-hooks_1.0.0.bb b/meta/recipes-devtools/python/python3-pyproject-hooks_1.2.0.bb
index c3f1fb75ed..c68760e293 100644
--- a/meta/recipes-devtools/python/python3-pyproject-hooks_1.0.0.bb
+++ b/meta/recipes-devtools/python/python3-pyproject-hooks_1.2.0.bb
@@ -3,11 +3,12 @@ HOMEPAGE = "https://github.com/pypa/pyproject-hooks"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=aad69c93f605003e3342b174d9b0708c" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=aad69c93f605003e3342b174d9b0708c"
5 5
6SRC_URI[sha256sum] = "f271b298b97f5955d53fb12b72c1fb1948c22c1a6b70b315c54cedaca0264ef5" 6SRC_URI[sha256sum] = "1e859bd5c40fae9448642dd871adf459e5e2084186e8d2c2a79a824c970da1f8"
7 7
8inherit pypi python_flit_core 8inherit pypi python_flit_core
9 9
10PYPI_PACKAGE = "pyproject_hooks" 10PYPI_PACKAGE = "pyproject_hooks"
11UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
11 12
12BBCLASSEXTEND = "native nativesdk" 13BBCLASSEXTEND = "native nativesdk"
13 14
diff --git a/meta/recipes-devtools/python/python3-pyproject-metadata_0.7.1.bb b/meta/recipes-devtools/python/python3-pyproject-metadata_0.9.1.bb
index 8b9549f3d0..4c58da3c07 100644
--- a/meta/recipes-devtools/python/python3-pyproject-metadata_0.7.1.bb
+++ b/meta/recipes-devtools/python/python3-pyproject-metadata_0.9.1.bb
@@ -12,11 +12,12 @@ HOMEPAGE = "https://github.com/FFY00/python-pyproject-metadata"
12LICENSE = "MIT" 12LICENSE = "MIT"
13LIC_FILES_CHKSUM = "file://LICENSE;md5=310439af287b0fb4780b2ad6907c256c" 13LIC_FILES_CHKSUM = "file://LICENSE;md5=310439af287b0fb4780b2ad6907c256c"
14 14
15PYPI_PACKAGE = "pyproject-metadata" 15PYPI_PACKAGE = "pyproject_metadata"
16UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
16 17
17inherit pypi python_setuptools_build_meta 18inherit pypi python_setuptools_build_meta
18 19
19SRC_URI[sha256sum] = "0a94f18b108b9b21f3a26a3d541f056c34edcb17dc872a144a15618fed7aef67" 20SRC_URI[sha256sum] = "b8b2253dd1b7062b78cf949a115f02ba7fa4114aabe63fa10528e9e1a954a816"
20 21
21RDEPENDS:${PN} += " \ 22RDEPENDS:${PN} += " \
22 python3-logging \ 23 python3-logging \
diff --git a/meta/recipes-devtools/python/python3-pysocks_1.7.1.bb b/meta/recipes-devtools/python/python3-pysocks_1.7.1.bb
index 7f2c217f19..dbf0fb0ee6 100644
--- a/meta/recipes-devtools/python/python3-pysocks_1.7.1.bb
+++ b/meta/recipes-devtools/python/python3-pysocks_1.7.1.bb
@@ -3,10 +3,11 @@ HOMEPAGE = "http://python-requests.org"
3LICENSE = "BSD-3-Clause" 3LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=1d457bcffb9661b45f799d4efee72f16" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=1d457bcffb9661b45f799d4efee72f16"
5 5
6SRC_URI[md5sum] = "89b1a6865c61bae67a32417517612ee6"
7SRC_URI[sha256sum] = "3f8804571ebe159c380ac6de37643bb4685970655d3bba243530d6558b799aa0" 6SRC_URI[sha256sum] = "3f8804571ebe159c380ac6de37643bb4685970655d3bba243530d6558b799aa0"
8 7
9PYPI_PACKAGE = "PySocks" 8PYPI_PACKAGE = "PySocks"
9UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
10
10inherit pypi setuptools3 11inherit pypi setuptools3
11 12
12RDEPENDS:${PN}:class-target += "\ 13RDEPENDS:${PN}:class-target += "\
diff --git a/meta/recipes-devtools/python/python3-pytest-runner_6.0.1.bb b/meta/recipes-devtools/python/python3-pytest-runner_6.0.1.bb
deleted file mode 100644
index cce9ce33e2..0000000000
--- a/meta/recipes-devtools/python/python3-pytest-runner_6.0.1.bb
+++ /dev/null
@@ -1,16 +0,0 @@
1SUMMARY = "Invoke py.test as distutils command with dependency resolution"
2HOMEPAGE = "https://pypi.org/project/pytest-runner/"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=7a7126e068206290f3fe9f8d6c713ea6"
5
6SRC_URI[sha256sum] = "70d4739585a7008f37bf4933c013fdb327b8878a5a69fcbb3316c88882f0f49b"
7
8inherit pypi python_setuptools_build_meta
9
10DEPENDS += " \
11 python3-setuptools-scm-native"
12
13RDEPENDS:${PN} = "python3-py python3-setuptools python3-debugger python3-json \
14 python3-io"
15
16BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-pytest-subtests_0.12.1.bb b/meta/recipes-devtools/python/python3-pytest-subtests_0.14.2.bb
index 0590be705f..58212bfb1c 100644
--- a/meta/recipes-devtools/python/python3-pytest-subtests_0.12.1.bb
+++ b/meta/recipes-devtools/python/python3-pytest-subtests_0.14.2.bb
@@ -7,13 +7,17 @@ BUGTRACKER = "https://github.com/pytest-dev/pytest-subtests/issues"
7LICENSE = "MIT" 7LICENSE = "MIT"
8LIC_FILES_CHKSUM = "file://LICENSE;md5=242b4e17fa287dcf7aef372f6bc3dcb1" 8LIC_FILES_CHKSUM = "file://LICENSE;md5=242b4e17fa287dcf7aef372f6bc3dcb1"
9 9
10SRC_URI[sha256sum] = "d6605dcb88647e0b7c1889d027f8ef1c17d7a2c60927ebfdc09c7b0d8120476d" 10SRC_URI[sha256sum] = "7154a8665fd528ee70a76d00216a44d139dc3c9c83521a0f779f7b0ad4f800de"
11
12PYPI_PACKAGE = "pytest_subtests"
13UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
11 14
12inherit pypi python_setuptools_build_meta 15inherit pypi python_setuptools_build_meta
13 16
14DEPENDS += "python3-setuptools-scm-native" 17DEPENDS += "python3-setuptools-scm-native"
15 18
16RDEPENDS:${PN} += " \ 19RDEPENDS:${PN} += " \
20 python3-attrs \
17 python3-pytest \ 21 python3-pytest \
18" 22"
19 23
diff --git a/meta/recipes-devtools/python/python3-pytest_8.2.0.bb b/meta/recipes-devtools/python/python3-pytest_8.4.1.bb
index 1e6674079f..1f98b6d87e 100644
--- a/meta/recipes-devtools/python/python3-pytest_8.2.0.bb
+++ b/meta/recipes-devtools/python/python3-pytest_8.4.1.bb
@@ -5,29 +5,23 @@ DESCRIPTION = "The pytest framework makes it easy to write small tests, yet scal
5LICENSE = "MIT" 5LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=bd27e41b6550fe0fc45356d1d81ee37c" 6LIC_FILES_CHKSUM = "file://LICENSE;md5=bd27e41b6550fe0fc45356d1d81ee37c"
7 7
8SRC_URI[sha256sum] = "d507d4482197eac0ba2bae2e9babf0672eb333017bcedaa5fb1a3d42c1174b3f" 8SRC_URI[sha256sum] = "7c67fd69174877359ed9371ec3af8a3d2b04741818c51e5e99cc1742251fa93c"
9 9
10DEPENDS += "python3-setuptools-scm-native" 10DEPENDS += "python3-setuptools-scm-native"
11 11
12inherit update-alternatives pypi python_setuptools_build_meta 12inherit update-alternatives pypi python_setuptools_build_meta
13 13
14RDEPENDS:${PN} += " \ 14RDEPENDS:${PN} += " \
15 python3-atomicwrites \ 15 python3-colorama \
16 python3-attrs \
17 python3-debugger \ 16 python3-debugger \
18 python3-doctest \ 17 python3-doctest \
19 python3-importlib-metadata \
20 python3-iniconfig \ 18 python3-iniconfig \
21 python3-json \ 19 python3-json \
22 python3-more-itertools \
23 python3-packaging \ 20 python3-packaging \
24 python3-pathlib2 \
25 python3-pluggy \ 21 python3-pluggy \
26 python3-py \ 22 python3-pygments \
27 python3-setuptools \
28 python3-six \
29 python3-tomllib \ 23 python3-tomllib \
30 python3-wcwidth \ 24 python3-xml \
31" 25"
32 26
33ALTERNATIVE:${PN} += "py.test pytest" 27ALTERNATIVE:${PN} += "py.test pytest"
diff --git a/meta/recipes-devtools/python/python3-pytz/run-ptest b/meta/recipes-devtools/python/python3-pytz/run-ptest
deleted file mode 100644
index 8d2017d39c..0000000000
--- a/meta/recipes-devtools/python/python3-pytz/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@
1#!/bin/sh
2
3pytest --automake
diff --git a/meta/recipes-devtools/python/python3-pytz_2024.1.bb b/meta/recipes-devtools/python/python3-pytz_2025.2.bb
index 158e800fed..86bfceadc8 100644
--- a/meta/recipes-devtools/python/python3-pytz_2024.1.bb
+++ b/meta/recipes-devtools/python/python3-pytz_2025.2.bb
@@ -3,9 +3,11 @@ HOMEPAGE = "http://pythonhosted.org/pytz"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=1a67fc46c1b596cce5d21209bbe75999" 4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=1a67fc46c1b596cce5d21209bbe75999"
5 5
6inherit pypi setuptools3 ptest 6inherit pypi setuptools3 ptest-python-pytest
7 7
8SRC_URI[sha256sum] = "2a29735ea9c18baf14b448846bde5a48030ed267578472d8955cd0e7443a9812" 8PTEST_PYTEST_DIR = "pytz/tests"
9
10SRC_URI[sha256sum] = "360b9e3dbb49a209c21ad61809c7fb453643e048b38924c765813546746e81c3"
9 11
10RDEPENDS:${PN}:class-target += "\ 12RDEPENDS:${PN}:class-target += "\
11 python3-datetime \ 13 python3-datetime \
@@ -18,19 +20,11 @@ RDEPENDS:${PN}:class-target += "\
18 20
19BBCLASSEXTEND = "native nativesdk" 21BBCLASSEXTEND = "native nativesdk"
20 22
21SRC_URI += " \
22 file://run-ptest \
23"
24
25RDEPENDS:${PN}-ptest += " \ 23RDEPENDS:${PN}-ptest += " \
26 python3-pytest \ 24 python3-pytest \
27 python3-unittest-automake-output \ 25 python3-unittest-automake-output \
28" 26"
29 27
30do_install_ptest() { 28do_install_ptest:append() {
31 install -d ${D}${PTEST_PATH}/pytz
32 install -d ${D}${PTEST_PATH}/pytz/tests
33 cp -rf ${S}/pytz/tests/* ${D}${PTEST_PATH}/pytz/tests/
34 cp -f ${S}/README.rst ${D}${PTEST_PATH}/ 29 cp -f ${S}/README.rst ${D}${PTEST_PATH}/
35
36} 30}
diff --git a/meta/recipes-devtools/python/python3-pyyaml/0001-Fix-builds-with-Cython-3.patch b/meta/recipes-devtools/python/python3-pyyaml/0001-Fix-builds-with-Cython-3.patch
deleted file mode 100644
index a87d588b6a..0000000000
--- a/meta/recipes-devtools/python/python3-pyyaml/0001-Fix-builds-with-Cython-3.patch
+++ /dev/null
@@ -1,54 +0,0 @@
1From 9cc23db56add79357b8f8257fe6fc0d6879d4579 Mon Sep 17 00:00:00 2001
2From: "Andrew J. Hesford" <ajh@sideband.org>
3Date: Fri, 21 Jul 2023 09:50:00 -0400
4Subject: [PATCH] Fix builds with Cython 3
5
6This is a *de minimis* fix for building with Cython 3. Recent Cython<3
7releases provided `Cython.Distutils.build_ext` as an alias to
8`Cython.Distutils.old_build_ext.old_build_ext`; Cython 3 drops this
9alias and instead uses a wholly new `Cython.Distutils.build_ext` that
10does not provide the `cython_sources` function used in `setup.py`.
11
12Explicitly importing `old_build_ext` preserves the existing behavior for
13recent Cython<3 and uses the correct behavior for Cython 3. Should the
14import fail (*e.g.*, because the version of Cython available predates
15the availability of `old_build_ext`), the import falls back to just
16`Cython.Distutils.build_ext`.
17
18Signed-off-by: Andrew J. Hesford <ajh@sideband.org>
19Upstream-Status: Denied [https://github.com/yaml/pyyaml/pull/731]
20Signed-off-by: Alexander Kanavin <alex@linutronix.de>
21---
22 pyproject.toml | 2 +-
23 setup.py | 6 +++++-
24 2 files changed, 6 insertions(+), 2 deletions(-)
25
26diff --git a/pyproject.toml b/pyproject.toml
27index 4bc04c0..2bf5ec8 100644
28--- a/pyproject.toml
29+++ b/pyproject.toml
30@@ -1,3 +1,3 @@
31 [build-system]
32-requires = ["setuptools", "wheel", "Cython<3.0"]
33+requires = ["setuptools", "wheel", "Cython"]
34 build-backend = "setuptools.build_meta"
35diff --git a/setup.py b/setup.py
36index 65b0ea0..4461580 100644
37--- a/setup.py
38+++ b/setup.py
39@@ -82,7 +82,11 @@ if 'sdist' in sys.argv or os.environ.get('PYYAML_FORCE_CYTHON') == '1':
40 with_cython = True
41 try:
42 from Cython.Distutils.extension import Extension as _Extension
43- from Cython.Distutils import build_ext as _build_ext
44+ try:
45+ from Cython.Distutils.old_build_ext import old_build_ext as _build_ext
46+ except ImportError:
47+ from Cython.Distutils import build_ext as _build_ext
48+
49 with_cython = True
50 except ImportError:
51 if with_cython:
52--
532.39.2
54
diff --git a/meta/recipes-devtools/python/python3-pyyaml/run-ptest b/meta/recipes-devtools/python/python3-pyyaml/run-ptest
deleted file mode 100644
index 8d2017d39c..0000000000
--- a/meta/recipes-devtools/python/python3-pyyaml/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@
1#!/bin/sh
2
3pytest --automake
diff --git a/meta/recipes-devtools/python/python3-pyyaml_6.0.1.bb b/meta/recipes-devtools/python/python3-pyyaml_6.0.2.bb
index 3388312557..7ebe3f7d9f 100644
--- a/meta/recipes-devtools/python/python3-pyyaml_6.0.1.bb
+++ b/meta/recipes-devtools/python/python3-pyyaml_6.0.2.bb
@@ -1,16 +1,17 @@
1SUMMARY = "Python support for YAML" 1SUMMARY = "Python support for YAML"
2DEPENDS += "libyaml python3-cython-native"
3HOMEPAGE = "https://pyyaml.org/" 2HOMEPAGE = "https://pyyaml.org/"
4 3
5LICENSE = "MIT" 4LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=6d8242660a8371add5fe547adf083079" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=6d8242660a8371add5fe547adf083079"
7 6
8PYPI_PACKAGE = "PyYAML" 7SRC_URI[sha256sum] = "d584d9ec91ad65861cc08d42e834324ef890a082e591037abe114850ff7bbc3e"
9 8
10inherit pypi python_setuptools_build_meta 9SRC_URI += "\
10 https://raw.githubusercontent.com/yaml/pyyaml/a98fd6088e81d7aca571220c966bbfe2ac43c335/tests/test_dump_load.py;name=test \
11"
12SRC_URI[test.sha256sum] = "b6a8a2825d89fdc8aee226560f66b8196e872012a0ea7118cbef1a832359434a"
11 13
12SRC_URI += "file://0001-Fix-builds-with-Cython-3.patch" 14inherit pypi python_setuptools_build_meta ptest-python-pytest cython
13SRC_URI[sha256sum] = "bfdf460b1736c775f2ba9f6a92bca30bc2095067b8a9d77876d1fad6cc3b4a43"
14 15
15PACKAGECONFIG ?= "libyaml" 16PACKAGECONFIG ?= "libyaml"
16PACKAGECONFIG[libyaml] = "--with-libyaml,--without-libyaml,libyaml" 17PACKAGECONFIG[libyaml] = "--with-libyaml,--without-libyaml,libyaml"
@@ -20,21 +21,4 @@ RDEPENDS:${PN} += "\
20 python3-netclient \ 21 python3-netclient \
21" 22"
22 23
23inherit ptest
24SRC_URI += "\
25 https://raw.githubusercontent.com/yaml/pyyaml/a98fd6088e81d7aca571220c966bbfe2ac43c335/tests/test_dump_load.py;name=test \
26 file://run-ptest \
27"
28SRC_URI[test.sha256sum] = "b6a8a2825d89fdc8aee226560f66b8196e872012a0ea7118cbef1a832359434a"
29
30RDEPENDS:${PN}-ptest += " \
31 python3-pytest \
32 python3-unittest-automake-output \
33"
34
35do_install_ptest() {
36 install -d ${D}${PTEST_PATH}/tests
37 cp -rf ${WORKDIR}/test_dump_load.py ${D}${PTEST_PATH}/tests/
38}
39
40BBCLASSEXTEND = "native nativesdk" 24BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-rdflib_7.0.0.bb b/meta/recipes-devtools/python/python3-rdflib_7.1.4.bb
index 4057c1dbbc..01841cda4f 100644
--- a/meta/recipes-devtools/python/python3-rdflib_7.0.0.bb
+++ b/meta/recipes-devtools/python/python3-rdflib_7.1.4.bb
@@ -2,14 +2,14 @@ SUMMARY = "RDFLib is a pure Python package for working with RDF"
2HOMEPAGE = "https://github.com/RDFLib/rdflib" 2HOMEPAGE = "https://github.com/RDFLib/rdflib"
3SECTION = "devel/python" 3SECTION = "devel/python"
4LICENSE = "BSD-3-Clause" 4LICENSE = "BSD-3-Clause"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=37d489c0cefe52a17e1d5007e196464a" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=7006e973486c4700556f6d58cba0ab6c"
6 6
7SRC_URI[sha256sum] = "9995eb8569428059b8c1affd26b25eac510d64f5043d9ce8c84e0d0036e995ae" 7SRC_URI[sha256sum] = "fed46e24f26a788e2ab8e445f7077f00edcf95abb73bcef4b86cefa8b62dd174"
8 8
9inherit pypi python_poetry_core 9inherit pypi python_poetry_core
10 10
11RDEPENDS:${PN} += " \ 11RDEPENDS:${PN} += " \
12 python3-isodate \ 12 python3-datetime \
13 python3-pyparsing \ 13 python3-pyparsing \
14 python3-logging \ 14 python3-logging \
15 python3-numbers \ 15 python3-numbers \
diff --git a/meta/recipes-devtools/python/python3-referencing_0.34.0.bb b/meta/recipes-devtools/python/python3-referencing_0.36.2.bb
index 6fbd10d9cf..388c1887fb 100644
--- a/meta/recipes-devtools/python/python3-referencing_0.34.0.bb
+++ b/meta/recipes-devtools/python/python3-referencing_0.36.2.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/python-jsonschema/referencing"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://COPYING;md5=93eb9740964b59e9ba30281255b044e2" 4LIC_FILES_CHKSUM = "file://COPYING;md5=93eb9740964b59e9ba30281255b044e2"
5 5
6SRC_URI[sha256sum] = "5773bd84ef41799a5a8ca72dc34590c041eb01bf9aa02632b4a973fb0181a844" 6SRC_URI[sha256sum] = "df2e89862cd09deabbdba16944cc3f10feb6b3e6f18e902f7cc25609a34775aa"
7 7
8inherit pypi python_hatchling 8inherit pypi python_hatchling
9 9
diff --git a/meta/recipes-devtools/python/python3-requests/environment.d-python3-requests.sh b/meta/recipes-devtools/python/python3-requests/environment.d-python3-requests.sh
new file mode 100644
index 0000000000..492177a9c3
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-requests/environment.d-python3-requests.sh
@@ -0,0 +1,11 @@
1# Respect host env REQUESTS_CA_BUNDLE first, then auto-detected host cert, then cert in buildtools
2# CAFILE/CAPATH is auto-deteced when source buildtools
3if [ -z "$REQUESTS_CA_BUNDLE" ]; then
4 if [ -n "$CAFILE" ];then
5 export REQUESTS_CA_BUNDLE="$CAFILE"
6 elif [ -e "${OECORE_NATIVE_SYSROOT}/etc/ssl/certs/ca-certificates.crt" ];then
7 export REQUESTS_CA_BUNDLE="${OECORE_NATIVE_SYSROOT}/etc/ssl/certs/ca-certificates.crt"
8 fi
9fi
10
11export BB_ENV_PASSTHROUGH_ADDITIONS="${BB_ENV_PASSTHROUGH_ADDITIONS:-} REQUESTS_CA_BUNDLE"
diff --git a/meta/recipes-devtools/python/python3-requests_2.31.0.bb b/meta/recipes-devtools/python/python3-requests_2.31.0.bb
deleted file mode 100644
index df48cd54c3..0000000000
--- a/meta/recipes-devtools/python/python3-requests_2.31.0.bb
+++ /dev/null
@@ -1,26 +0,0 @@
1SUMMARY = "Python HTTP for Humans."
2HOMEPAGE = "http://python-requests.org"
3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658"
5
6SRC_URI[sha256sum] = "942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd6ad1e1"
7
8inherit pypi setuptools3
9
10RDEPENDS:${PN} += " \
11 python3-email \
12 python3-json \
13 python3-ndg-httpsclient \
14 python3-netserver \
15 python3-pyasn1 \
16 python3-pyopenssl \
17 python3-pysocks \
18 python3-urllib3 \
19 python3-chardet \
20 python3-idna \
21 python3-compression \
22"
23
24CVE_PRODUCT = "requests"
25
26BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-requests_2.32.4.bb b/meta/recipes-devtools/python/python3-requests_2.32.4.bb
new file mode 100644
index 0000000000..49d44298f6
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-requests_2.32.4.bb
@@ -0,0 +1,35 @@
1SUMMARY = "Python HTTP for Humans."
2HOMEPAGE = "https://requests.readthedocs.io"
3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658"
5
6SRC_URI:append:class-nativesdk = " \
7 file://environment.d-python3-requests.sh \
8"
9
10SRC_URI[sha256sum] = "27d0316682c8a29834d3264820024b62a36942083d52caf2f14c0591336d3422"
11
12inherit pypi python_setuptools_build_meta
13
14do_install:append:class-nativesdk() {
15 mkdir -p ${D}${SDKPATHNATIVE}/environment-setup.d
16 install -m 644 ${UNPACKDIR}/environment.d-python3-requests.sh ${D}${SDKPATHNATIVE}/environment-setup.d/python3-requests.sh
17}
18
19RDEPENDS:${PN} += " \
20 python3-certifi \
21 python3-email \
22 python3-json \
23 python3-netserver \
24 python3-pysocks \
25 python3-urllib3 \
26 python3-chardet \
27 python3-idna \
28 python3-compression \
29"
30
31FILES:${PN}:append:class-nativesdk = " ${SDKPATHNATIVE}/environment-setup.d/python3-requests.sh"
32
33CVE_PRODUCT = "requests"
34
35BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-rfc3339-validator_0.1.4.bb b/meta/recipes-devtools/python/python3-rfc3339-validator_0.1.4.bb
index e809c2280d..1e60c763d8 100644
--- a/meta/recipes-devtools/python/python3-rfc3339-validator_0.1.4.bb
+++ b/meta/recipes-devtools/python/python3-rfc3339-validator_0.1.4.bb
@@ -8,7 +8,7 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/python-rfc3339-validator:"
8SRC_URI[sha256sum] = "138a2abdf93304ad60530167e51d2dfb9549521a836871b88d7f4695d0022f6b" 8SRC_URI[sha256sum] = "138a2abdf93304ad60530167e51d2dfb9549521a836871b88d7f4695d0022f6b"
9 9
10PYPI_PACKAGE = "rfc3339_validator" 10PYPI_PACKAGE = "rfc3339_validator"
11UPSTREAM_CHECK_REGEX = "/rfc3339-validator/(?P<pver>(\d+[\.\-_]*)+)/" 11UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
12 12
13inherit pypi setuptools3 13inherit pypi setuptools3
14 14
diff --git a/meta/recipes-devtools/python/python3-rfc3986-validator_0.1.1.bb b/meta/recipes-devtools/python/python3-rfc3986-validator_0.1.1.bb
deleted file mode 100644
index e374979cb4..0000000000
--- a/meta/recipes-devtools/python/python3-rfc3986-validator_0.1.1.bb
+++ /dev/null
@@ -1,24 +0,0 @@
1SUMMARY = "Pure python rfc3986 validator"
2HOMEPAGE = "https://github.com/naimetti/rfc3986-validator"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=a21b13b5a996f08f7e0b088aa38ce9c6"
5
6FILESEXTRAPATHS:prepend := "${THISDIR}/python-rfc3986-validator:"
7
8SRC_URI[md5sum] = "47f7657b790aaf6011a1ab3d86c6be95"
9SRC_URI[sha256sum] = "3d44bde7921b3b9ec3ae4e3adca370438eccebc676456449b145d533b240d055"
10
11PYPI_PACKAGE = "rfc3986_validator"
12UPSTREAM_CHECK_REGEX = "/rfc3986-validator/(?P<pver>(\d+[\.\-_]*)+)/"
13
14inherit pypi setuptools3
15
16SRC_URI += "\
17 file://0001-setup.py-move-pytest-runner-to-test_requirements.patch \
18"
19
20RDEPENDS:${PN} += "\
21 python3-core \
22"
23
24BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-rfc3987_1.3.8.bb b/meta/recipes-devtools/python/python3-rfc3987_1.3.8.bb
index 316dc544de..c13a765660 100644
--- a/meta/recipes-devtools/python/python3-rfc3987_1.3.8.bb
+++ b/meta/recipes-devtools/python/python3-rfc3987_1.3.8.bb
@@ -3,7 +3,6 @@ HOMEPAGE = "https://pypi.org/project/rfc3987/"
3LICENSE = "GPL-3.0-or-later" 3LICENSE = "GPL-3.0-or-later"
4LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=9;md5=2b723edf67b2f3088bc5e339b1ceda2d" 4LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=9;md5=2b723edf67b2f3088bc5e339b1ceda2d"
5 5
6SRC_URI[md5sum] = "b6c4028acdc788a9ba697e1c1d6b896c"
7SRC_URI[sha256sum] = "d3c4d257a560d544e9826b38bc81db676890c79ab9d7ac92b39c7a253d5ca733" 6SRC_URI[sha256sum] = "d3c4d257a560d544e9826b38bc81db676890c79ab9d7ac92b39c7a253d5ca733"
8 7
9inherit pypi setuptools3 8inherit pypi setuptools3
diff --git a/meta/recipes-devtools/python/python3-roman-numerals-py_3.1.0.bb b/meta/recipes-devtools/python/python3-roman-numerals-py_3.1.0.bb
new file mode 100644
index 0000000000..9a76df0de2
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-roman-numerals-py_3.1.0.bb
@@ -0,0 +1,12 @@
1SUMMARY = "Manipulate roman numerals"
2HOMEPAGE = "https://github.com/AA-Turner/roman-numerals/"
3LICENSE = "0BSD & CC0-1.0"
4LIC_FILES_CHKSUM = "file://LICENCE.rst;md5=bfcc8b16e42929aafeb9d414360bc2fd"
5
6SRC_URI[sha256sum] = "be4bf804f083a4ce001b5eb7e3c0862479d10f94c936f6c4e5f250aa5ff5bd2d"
7PYPI_PACKAGE = "roman_numerals_py"
8UPSTREAM_CHECK_PYPI_PACKAGE = "roman_numerals_py"
9
10inherit pypi python_flit_core
11
12BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-rpds-py-crates.inc b/meta/recipes-devtools/python/python3-rpds-py-crates.inc
index b9048bde51..0a6fbb1bd6 100644
--- a/meta/recipes-devtools/python/python3-rpds-py-crates.inc
+++ b/meta/recipes-devtools/python/python3-rpds-py-crates.inc
@@ -2,79 +2,53 @@
2 2
3# from Cargo.lock 3# from Cargo.lock
4SRC_URI += " \ 4SRC_URI += " \
5 crate://crates.io/archery/1.1.0 \ 5 crate://crates.io/archery/1.2.1 \
6 crate://crates.io/autocfg/1.1.0 \ 6 crate://crates.io/autocfg/1.4.0 \
7 crate://crates.io/bitflags/1.3.2 \ 7 crate://crates.io/cc/1.2.22 \
8 crate://crates.io/cfg-if/1.0.0 \ 8 crate://crates.io/heck/0.5.0 \
9 crate://crates.io/heck/0.4.1 \ 9 crate://crates.io/indoc/2.0.6 \
10 crate://crates.io/indoc/2.0.4 \ 10 crate://crates.io/libc/0.2.172 \
11 crate://crates.io/libc/0.2.147 \ 11 crate://crates.io/memoffset/0.9.1 \
12 crate://crates.io/lock_api/0.4.10 \ 12 crate://crates.io/once_cell/1.21.3 \
13 crate://crates.io/memoffset/0.9.0 \ 13 crate://crates.io/portable-atomic/1.11.0 \
14 crate://crates.io/once_cell/1.18.0 \ 14 crate://crates.io/proc-macro2/1.0.95 \
15 crate://crates.io/parking_lot/0.12.1 \ 15 crate://crates.io/pyo3/0.25.0 \
16 crate://crates.io/parking_lot_core/0.9.8 \ 16 crate://crates.io/pyo3-build-config/0.25.0 \
17 crate://crates.io/proc-macro2/1.0.66 \ 17 crate://crates.io/pyo3-ffi/0.25.0 \
18 crate://crates.io/pyo3/0.20.2 \ 18 crate://crates.io/pyo3-macros/0.25.0 \
19 crate://crates.io/pyo3-build-config/0.20.2 \ 19 crate://crates.io/pyo3-macros-backend/0.25.0 \
20 crate://crates.io/pyo3-ffi/0.20.2 \ 20 crate://crates.io/python3-dll-a/0.2.13 \
21 crate://crates.io/pyo3-macros/0.20.2 \ 21 crate://crates.io/quote/1.0.40 \
22 crate://crates.io/pyo3-macros-backend/0.20.2 \ 22 crate://crates.io/rpds/1.1.1 \
23 crate://crates.io/quote/1.0.31 \ 23 crate://crates.io/shlex/1.3.0 \
24 crate://crates.io/redox_syscall/0.3.5 \ 24 crate://crates.io/syn/2.0.101 \
25 crate://crates.io/rpds/1.1.0 \ 25 crate://crates.io/target-lexicon/0.13.2 \
26 crate://crates.io/scopeguard/1.1.0 \ 26 crate://crates.io/triomphe/0.1.14 \
27 crate://crates.io/smallvec/1.11.0 \ 27 crate://crates.io/unicode-ident/1.0.18 \
28 crate://crates.io/static_assertions/1.1.0 \ 28 crate://crates.io/unindent/0.2.4 \
29 crate://crates.io/syn/2.0.32 \
30 crate://crates.io/target-lexicon/0.12.9 \
31 crate://crates.io/triomphe/0.1.9 \
32 crate://crates.io/unicode-ident/1.0.11 \
33 crate://crates.io/unindent/0.2.3 \
34 crate://crates.io/windows-targets/0.48.1 \
35 crate://crates.io/windows_aarch64_gnullvm/0.48.0 \
36 crate://crates.io/windows_aarch64_msvc/0.48.0 \
37 crate://crates.io/windows_i686_gnu/0.48.0 \
38 crate://crates.io/windows_i686_msvc/0.48.0 \
39 crate://crates.io/windows_x86_64_gnu/0.48.0 \
40 crate://crates.io/windows_x86_64_gnullvm/0.48.0 \
41 crate://crates.io/windows_x86_64_msvc/0.48.0 \
42" 29"
43 30
44SRC_URI[archery-1.1.0.sha256sum] = "487955f60962765486ce000015a3492ca45c34a2ebbf12bc0aa2b5110ca6e7d2" 31SRC_URI[archery-1.2.1.sha256sum] = "eae2ed21cd55021f05707a807a5fc85695dafb98832921f6cfa06db67ca5b869"
45SRC_URI[autocfg-1.1.0.sha256sum] = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" 32SRC_URI[autocfg-1.4.0.sha256sum] = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
46SRC_URI[bitflags-1.3.2.sha256sum] = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" 33SRC_URI[cc-1.2.22.sha256sum] = "32db95edf998450acc7881c932f94cd9b05c87b4b2599e8bab064753da4acfd1"
47SRC_URI[cfg-if-1.0.0.sha256sum] = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 34SRC_URI[heck-0.5.0.sha256sum] = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
48SRC_URI[heck-0.4.1.sha256sum] = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" 35SRC_URI[indoc-2.0.6.sha256sum] = "f4c7245a08504955605670dbf141fceab975f15ca21570696aebe9d2e71576bd"
49SRC_URI[indoc-2.0.4.sha256sum] = "1e186cfbae8084e513daff4240b4797e342f988cecda4fb6c939150f96315fd8" 36SRC_URI[libc-0.2.172.sha256sum] = "d750af042f7ef4f724306de029d18836c26c1765a54a6a3f094cbd23a7267ffa"
50SRC_URI[libc-0.2.147.sha256sum] = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3" 37SRC_URI[memoffset-0.9.1.sha256sum] = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
51SRC_URI[lock_api-0.4.10.sha256sum] = "c1cc9717a20b1bb222f333e6a92fd32f7d8a18ddc5a3191a11af45dcbf4dcd16" 38SRC_URI[once_cell-1.21.3.sha256sum] = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
52SRC_URI[memoffset-0.9.0.sha256sum] = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c" 39SRC_URI[portable-atomic-1.11.0.sha256sum] = "350e9b48cbc6b0e028b0473b114454c6316e57336ee184ceab6e53f72c178b3e"
53SRC_URI[once_cell-1.18.0.sha256sum] = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" 40SRC_URI[proc-macro2-1.0.95.sha256sum] = "02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778"
54SRC_URI[parking_lot-0.12.1.sha256sum] = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" 41SRC_URI[pyo3-0.25.0.sha256sum] = "f239d656363bcee73afef85277f1b281e8ac6212a1d42aa90e55b90ed43c47a4"
55SRC_URI[parking_lot_core-0.9.8.sha256sum] = "93f00c865fe7cabf650081affecd3871070f26767e7b2070a3ffae14c654b447" 42SRC_URI[pyo3-build-config-0.25.0.sha256sum] = "755ea671a1c34044fa165247aaf6f419ca39caa6003aee791a0df2713d8f1b6d"
56SRC_URI[proc-macro2-1.0.66.sha256sum] = "18fb31db3f9bddb2ea821cde30a9f70117e3f119938b5ee630b7403aa6e2ead9" 43SRC_URI[pyo3-ffi-0.25.0.sha256sum] = "fc95a2e67091e44791d4ea300ff744be5293f394f1bafd9f78c080814d35956e"
57SRC_URI[pyo3-0.20.2.sha256sum] = "9a89dc7a5850d0e983be1ec2a463a171d20990487c3cfcd68b5363f1ee3d6fe0" 44SRC_URI[pyo3-macros-0.25.0.sha256sum] = "a179641d1b93920829a62f15e87c0ed791b6c8db2271ba0fd7c2686090510214"
58SRC_URI[pyo3-build-config-0.20.2.sha256sum] = "07426f0d8fe5a601f26293f300afd1a7b1ed5e78b2a705870c5f30893c5163be" 45SRC_URI[pyo3-macros-backend-0.25.0.sha256sum] = "9dff85ebcaab8c441b0e3f7ae40a6963ecea8a9f5e74f647e33fcf5ec9a1e89e"
59SRC_URI[pyo3-ffi-0.20.2.sha256sum] = "dbb7dec17e17766b46bca4f1a4215a85006b4c2ecde122076c562dd058da6cf1" 46SRC_URI[python3-dll-a-0.2.13.sha256sum] = "49fe4227a288cf9493942ad0220ea3f185f4d1f2a14f197f7344d6d02f4ed4ed"
60SRC_URI[pyo3-macros-0.20.2.sha256sum] = "05f738b4e40d50b5711957f142878cfa0f28e054aa0ebdfc3fd137a843f74ed3" 47SRC_URI[quote-1.0.40.sha256sum] = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d"
61SRC_URI[pyo3-macros-backend-0.20.2.sha256sum] = "0fc910d4851847827daf9d6cdd4a823fbdaab5b8818325c5e97a86da79e8881f" 48SRC_URI[rpds-1.1.1.sha256sum] = "a7f89f654d51fffdd6026289d07d1fd523244d46ae0a8bc22caa6dd7f9e8cb0b"
62SRC_URI[quote-1.0.31.sha256sum] = "5fe8a65d69dd0808184ebb5f836ab526bb259db23c657efa38711b1072ee47f0" 49SRC_URI[shlex-1.3.0.sha256sum] = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
63SRC_URI[redox_syscall-0.3.5.sha256sum] = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" 50SRC_URI[syn-2.0.101.sha256sum] = "8ce2b7fc941b3a24138a0a7cf8e858bfc6a992e7978a068a5c760deb0ed43caf"
64SRC_URI[rpds-1.1.0.sha256sum] = "a0e15515d3ce3313324d842629ea4905c25a13f81953eadb88f85516f59290a4" 51SRC_URI[target-lexicon-0.13.2.sha256sum] = "e502f78cdbb8ba4718f566c418c52bc729126ffd16baee5baa718cf25dd5a69a"
65SRC_URI[scopeguard-1.1.0.sha256sum] = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" 52SRC_URI[triomphe-0.1.14.sha256sum] = "ef8f7726da4807b58ea5c96fdc122f80702030edc33b35aff9190a51148ccc85"
66SRC_URI[smallvec-1.11.0.sha256sum] = "62bb4feee49fdd9f707ef802e22365a35de4b7b299de4763d44bfea899442ff9" 53SRC_URI[unicode-ident-1.0.18.sha256sum] = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512"
67SRC_URI[static_assertions-1.1.0.sha256sum] = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" 54SRC_URI[unindent-0.2.4.sha256sum] = "7264e107f553ccae879d21fbea1d6724ac785e8c3bfc762137959b5802826ef3"
68SRC_URI[syn-2.0.32.sha256sum] = "239814284fd6f1a4ffe4ca893952cdd93c224b6a1571c9a9eadd670295c0c9e2"
69SRC_URI[target-lexicon-0.12.9.sha256sum] = "df8e77cb757a61f51b947ec4a7e3646efd825b73561db1c232a8ccb639e611a0"
70SRC_URI[triomphe-0.1.9.sha256sum] = "0eee8098afad3fb0c54a9007aab6804558410503ad676d4633f9c2559a00ac0f"
71SRC_URI[unicode-ident-1.0.11.sha256sum] = "301abaae475aa91687eb82514b328ab47a211a533026cb25fc3e519b86adfc3c"
72SRC_URI[unindent-0.2.3.sha256sum] = "c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce"
73SRC_URI[windows-targets-0.48.1.sha256sum] = "05d4b17490f70499f20b9e791dcf6a299785ce8af4d709018206dc5b4953e95f"
74SRC_URI[windows_aarch64_gnullvm-0.48.0.sha256sum] = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc"
75SRC_URI[windows_aarch64_msvc-0.48.0.sha256sum] = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3"
76SRC_URI[windows_i686_gnu-0.48.0.sha256sum] = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241"
77SRC_URI[windows_i686_msvc-0.48.0.sha256sum] = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00"
78SRC_URI[windows_x86_64_gnu-0.48.0.sha256sum] = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1"
79SRC_URI[windows_x86_64_gnullvm-0.48.0.sha256sum] = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953"
80SRC_URI[windows_x86_64_msvc-0.48.0.sha256sum] = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a"
diff --git a/meta/recipes-devtools/python/python3-rpds-py_0.18.0.bb b/meta/recipes-devtools/python/python3-rpds-py_0.18.0.bb
deleted file mode 100644
index cece2cb8cc..0000000000
--- a/meta/recipes-devtools/python/python3-rpds-py_0.18.0.bb
+++ /dev/null
@@ -1,15 +0,0 @@
1SUMMARY = "Python bindings to the Rust rpds crate for persistent data structures."
2HOMEPAGE = "https://pypi.org/project/rpds-py/"
3
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=7767fa537c4596c54141f32882c4a984"
6
7SRC_URI[sha256sum] = "42821446ee7a76f5d9f71f9e33a4fb2ffd724bb3e7f93386150b61a43115788d"
8
9require ${BPN}-crates.inc
10
11inherit pypi cargo-update-recipe-crates python_maturin
12
13PYPI_PACKAGE = "rpds_py"
14
15BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-rpds-py_0.25.1.bb b/meta/recipes-devtools/python/python3-rpds-py_0.25.1.bb
new file mode 100644
index 0000000000..efc1d4c01c
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-rpds-py_0.25.1.bb
@@ -0,0 +1,22 @@
1SUMMARY = "Python bindings to the Rust rpds crate for persistent data structures."
2HOMEPAGE = "https://pypi.org/project/rpds-py/"
3
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=7767fa537c4596c54141f32882c4a984"
6
7SRC_URI[sha256sum] = "8960b6dac09b62dac26e75d7e2c4a22efb835d827a7278c34f72b2b84fa160e3"
8
9require ${BPN}-crates.inc
10
11inherit pypi cargo-update-recipe-crates python_maturin ptest-python-pytest
12
13PYPI_PACKAGE = "rpds_py"
14UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
15
16RDEPENDS:${PN}-ptest += " \
17 python3-iniconfig \
18 python3-packaging \
19 python3-pluggy \
20 "
21
22BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-ruamel-yaml_0.18.6.bb b/meta/recipes-devtools/python/python3-ruamel-yaml_0.18.14.bb
index 197bf91d6c..e7ac24abb8 100644
--- a/meta/recipes-devtools/python/python3-ruamel-yaml_0.18.6.bb
+++ b/meta/recipes-devtools/python/python3-ruamel-yaml_0.18.14.bb
@@ -2,13 +2,14 @@ SUMMARY = "YAML parser/emitter that supports roundtrip preservation of comments,
2HOMEPAGE = "https://pypi.org/project/ruamel.yaml/" 2HOMEPAGE = "https://pypi.org/project/ruamel.yaml/"
3 3
4LICENSE = "MIT" 4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=30cbbccd94bf3a2b0285ec35671a1938" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=5cc5d45e8a30c81dade6ca1928caa515"
6 6
7PYPI_PACKAGE = "ruamel.yaml" 7PYPI_PACKAGE = "ruamel.yaml"
8UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
8 9
9inherit pypi setuptools3 10inherit pypi python_setuptools_build_meta
10 11
11SRC_URI[sha256sum] = "8b27e6a217e786c6fbe5634d8f3f11bc63e0f80f6a5890f28863d9c45aac311b" 12SRC_URI[sha256sum] = "7227b76aaec364df15936730efbf7d72b30c0b79b1d578bbb8e3dcb2d81f52b7"
12 13
13RDEPENDS:${PN} += "\ 14RDEPENDS:${PN} += "\
14 python3-shell \ 15 python3-shell \
@@ -16,8 +17,4 @@ RDEPENDS:${PN} += "\
16 python3-netclient \ 17 python3-netclient \
17" 18"
18 19
19do_install:prepend() {
20 export RUAMEL_NO_PIP_INSTALL_CHECK=1
21}
22
23BBCLASSEXTEND = "native nativesdk" 20BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-scons/0001-Fix-man-page-installation.patch b/meta/recipes-devtools/python/python3-scons/0001-Fix-man-page-installation.patch
deleted file mode 100644
index 6dffe64809..0000000000
--- a/meta/recipes-devtools/python/python3-scons/0001-Fix-man-page-installation.patch
+++ /dev/null
@@ -1,29 +0,0 @@
1From 8b482e618047e94833545dce3a26924ef4f075db Mon Sep 17 00:00:00 2001
2From: Tim Orling <ticotimo@gmail.com>
3Date: Sat, 22 May 2021 11:20:46 -0700
4Subject: [PATCH] Fix man page installation
5
6Fixes:
7 error: can't copy 'build/doc/man/scons.1': doesn't exist or not a regular file
8
9Upstream-Status: Inappropriate [oe specific]
10
11Signed-off-by: Tim Orling <ticotimo@gmail.com>
12
13---
14 MANIFEST.in | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17diff --git a/MANIFEST.in b/MANIFEST.in
18index 04ec000..937f6f3 100644
19--- a/MANIFEST.in
20+++ b/MANIFEST.in
21@@ -4,7 +4,7 @@ recursive-include SCons/Tool/docbook *
22 include LICENSE
23
24 include scons.1 sconsign.1 scons-time.1
25-recursive-include build/doc/man *.1
26+#recursive-include build/doc/man *.1
27
28
29
diff --git a/meta/recipes-devtools/python/python3-scons_4.7.0.bb b/meta/recipes-devtools/python/python3-scons_4.9.1.bb
index bba6c799d4..1eac1ce5a9 100644
--- a/meta/recipes-devtools/python/python3-scons_4.7.0.bb
+++ b/meta/recipes-devtools/python/python3-scons_4.9.1.bb
@@ -4,18 +4,16 @@ SECTION = "devel/python"
4LICENSE = "MIT" 4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=d903b0b8027f461402bac9b5169b36f7" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=d903b0b8027f461402bac9b5169b36f7"
6 6
7SRC_URI += " file://0001-Fix-man-page-installation.patch" 7SRC_URI[sha256sum] = "bacac880ba2e86d6a156c116e2f8f2bfa82b257046f3ac2666c85c53c615c338"
8SRC_URI[sha256sum] = "d8b617f6610a73e46509de70dcf82f76861b79762ff602d546f4e80918ec81f3"
9 8
10PYPI_PACKAGE = "SCons" 9inherit pypi python_setuptools_build_meta
11 10
12inherit pypi setuptools3 11S = "${UNPACKDIR}/scons-${PV}"
13 12
14RDEPENDS:${PN}:class-target = "\ 13RDEPENDS:${PN}:class-target = "\
15 python3-core \ 14 python3-core \
16 python3-compression \ 15 python3-compression \
17 python3-fcntl \ 16 python3-fcntl \
18 python3-importlib-metadata \
19 python3-io \ 17 python3-io \
20 python3-json \ 18 python3-json \
21 python3-shell \ 19 python3-shell \
@@ -24,11 +22,6 @@ RDEPENDS:${PN}:class-target = "\
24 python3-pprint \ 22 python3-pprint \
25 " 23 "
26 24
27do_install:append() {
28 install -d ${D}${mandir}/man1
29 mv ${D}${prefix}/scons*.1 ${D}${mandir}/man1/
30}
31
32do_install:append:class-native() { 25do_install:append:class-native() {
33 create_wrapper ${D}${bindir}/scons SCONS_LIB_DIR='${STAGING_DIR_HOST}/${PYTHON_SITEPACKAGES_DIR}' PYTHONNOUSERSITE='1' 26 create_wrapper ${D}${bindir}/scons SCONS_LIB_DIR='${STAGING_DIR_HOST}/${PYTHON_SITEPACKAGES_DIR}' PYTHONNOUSERSITE='1'
34} 27}
diff --git a/meta/recipes-devtools/python/python3-semantic-version_2.10.0.bb b/meta/recipes-devtools/python/python3-semantic-version_2.10.0.bb
index 27e3f534b8..78763a911e 100644
--- a/meta/recipes-devtools/python/python3-semantic-version_2.10.0.bb
+++ b/meta/recipes-devtools/python/python3-semantic-version_2.10.0.bb
@@ -7,6 +7,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=4fb31e3c1c7eeb8b5e8c07657cdd54e2"
7SRC_URI[sha256sum] = "bdabb6d336998cbb378d4b9db3a4b56a1e3235701dc05ea2690d9a997ed5041c" 7SRC_URI[sha256sum] = "bdabb6d336998cbb378d4b9db3a4b56a1e3235701dc05ea2690d9a997ed5041c"
8 8
9PYPI_PACKAGE = "semantic_version" 9PYPI_PACKAGE = "semantic_version"
10UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
11
10inherit pypi setuptools3 12inherit pypi setuptools3
11 13
12RDEPENDS:${PN} += " \ 14RDEPENDS:${PN} += " \
@@ -15,4 +17,3 @@ RDEPENDS:${PN} += " \
15 17
16BBCLASSEXTEND = "native nativesdk" 18BBCLASSEXTEND = "native nativesdk"
17 19
18UPSTREAM_CHECK_REGEX = "/semantic-version/(?P<pver>(\d+[\.\-_]*)+)/"
diff --git a/meta/recipes-devtools/python/python3-setuptools-rust_1.9.0.bb b/meta/recipes-devtools/python/python3-setuptools-rust_1.11.1.bb
index 8eb2513d69..417ded009e 100644
--- a/meta/recipes-devtools/python/python3-setuptools-rust_1.9.0.bb
+++ b/meta/recipes-devtools/python/python3-setuptools-rust_1.11.1.bb
@@ -9,17 +9,14 @@ BUGTRACKER = "https://github.com/PyO3/setuptools-rust/issues"
9LICENSE = "MIT" 9LICENSE = "MIT"
10LIC_FILES_CHKSUM = "file://LICENSE;md5=011cd92e702dd9e6b1a26157b6fd53f5" 10LIC_FILES_CHKSUM = "file://LICENSE;md5=011cd92e702dd9e6b1a26157b6fd53f5"
11 11
12SRC_URI = "${PYPI_SRC_URI} \ 12SRC_URI[sha256sum] = "7dabc4392252ced314b8050d63276e05fdc5d32398fc7d3cce1f6a6ac35b76c0"
13 https://files.pythonhosted.org/packages/67/08/e1aa2c582c62ac76e4d60f8e454bd3bba933781a06a88b4e38797445822a/setuptools-rust-${PV}.tar.gz \ 13
14 " 14PYPI_PACKAGE = "setuptools_rust"
15SRC_URI[sha256sum] = "704df0948f2e4cc60c2596ad6e840ea679f4f43e58ed4ad0c1857807240eab96" 15UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
16 16
17inherit cargo pypi python_setuptools_build_meta 17inherit cargo pypi python_setuptools_build_meta
18 18
19DEPENDS += "python3-setuptools-scm-native python3-wheel-native" 19DEPENDS += "python3-setuptools-scm-native python3-wheel-native"
20# remove when https://github.com/PyO3/setuptools-rust/commit/7ced8d2a8f36e1b4fc41b5544636defb7bd44bdf
21# is included
22DEPENDS += "python3-semantic-version-native"
23 20
24RDEPENDS:${PN} += " \ 21RDEPENDS:${PN} += " \
25 python3-json \ 22 python3-json \
@@ -27,7 +24,6 @@ RDEPENDS:${PN} += " \
27 python3-setuptools \ 24 python3-setuptools \
28 python3-setuptools-scm \ 25 python3-setuptools-scm \
29 python3-shell \ 26 python3-shell \
30 python3-toml \
31 python3-typing-extensions \ 27 python3-typing-extensions \
32 python3-wheel \ 28 python3-wheel \
33" 29"
diff --git a/meta/recipes-devtools/python/python3-setuptools-scm_8.0.4.bb b/meta/recipes-devtools/python/python3-setuptools-scm_8.3.1.bb
index 64b5050c3b..70eaf312d3 100644
--- a/meta/recipes-devtools/python/python3-setuptools-scm_8.0.4.bb
+++ b/meta/recipes-devtools/python/python3-setuptools-scm_8.3.1.bb
@@ -6,20 +6,20 @@ argument or in a SCM managed file."
6LICENSE = "MIT" 6LICENSE = "MIT"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=838c366f69b72c5df05c96dff79b35f2" 7LIC_FILES_CHKSUM = "file://LICENSE;md5=838c366f69b72c5df05c96dff79b35f2"
8 8
9SRC_URI[sha256sum] = "b5f43ff6800669595193fd09891564ee9d1d7dcb196cab4b2506d53a2e1c95c7" 9SRC_URI[sha256sum] = "3d555e92b75dacd037d32bafdf94f97af51ea29ae8c7b234cf94b7a5bd242a63"
10 10
11inherit pypi python_setuptools_build_meta 11PYPI_PACKAGE = "setuptools_scm"
12UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
12 13
13UPSTREAM_CHECK_REGEX = "scm-(?P<pver>.*)\.tar" 14inherit pypi python_setuptools_build_meta
14 15
15DEPENDS += "python3-tomli-native python3-packaging-native python3-typing-extensions-native" 16DEPENDS += "python3-packaging-native python3-typing-extensions-native"
16 17
17RDEPENDS:${PN} = "\ 18RDEPENDS:${PN} = "\
18 python3-packaging \ 19 python3-packaging \
19 python3-pip \ 20 python3-pip \
20 python3-pyparsing \ 21 python3-pyparsing \
21 python3-setuptools \ 22 python3-setuptools \
22 python3-tomli \
23 python3-typing-extensions \ 23 python3-typing-extensions \
24" 24"
25 25
diff --git a/meta/recipes-devtools/python/python3-setuptools/0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch b/meta/recipes-devtools/python/python3-setuptools/0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch
index 0f6c9d250d..39153883b0 100644
--- a/meta/recipes-devtools/python/python3-setuptools/0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch
+++ b/meta/recipes-devtools/python/python3-setuptools/0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch
@@ -1,4 +1,4 @@
1From d393759315b189a738e4b6a2ce31dc18dbbfae29 Mon Sep 17 00:00:00 2001 1From e2eab8c254f16c461de25123f6859b8a18db5cd8 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de> 2From: Alexander Kanavin <alex@linutronix.de>
3Date: Wed, 11 May 2022 21:41:14 +0200 3Date: Wed, 11 May 2022 21:41:14 +0200
4Subject: [PATCH] _distutils/sysconfig.py: make it possible to substite the 4Subject: [PATCH] _distutils/sysconfig.py: make it possible to substite the
@@ -20,19 +20,19 @@ Signed-off-by: Alexander Kanavin <alex@linutronix.de>
20 1 file changed, 10 insertions(+), 2 deletions(-) 20 1 file changed, 10 insertions(+), 2 deletions(-)
21 21
22diff --git a/setuptools/_distutils/sysconfig.py b/setuptools/_distutils/sysconfig.py 22diff --git a/setuptools/_distutils/sysconfig.py b/setuptools/_distutils/sysconfig.py
23index a40a723..14f35e7 100644 23index 7ddc869..01a06af 100644
24--- a/setuptools/_distutils/sysconfig.py 24--- a/setuptools/_distutils/sysconfig.py
25+++ b/setuptools/_distutils/sysconfig.py 25+++ b/setuptools/_distutils/sysconfig.py
26@@ -119,6 +119,8 @@ def get_python_inc(plat_specific=0, prefix=None): 26@@ -134,6 +134,8 @@ def get_python_inc(plat_specific: bool = False, prefix: str | None = None) -> st
27 sys.base_exec_prefix -- i.e., ignore 'plat_specific'. 27 sys.base_exec_prefix -- i.e., ignore 'plat_specific'.
28 """ 28 """
29 default_prefix = BASE_EXEC_PREFIX if plat_specific else BASE_PREFIX 29 default_prefix = BASE_EXEC_PREFIX if plat_specific else BASE_PREFIX
30+ if os.environ.get('STAGING_INCDIR', ""): 30+ if os.environ.get('STAGING_INCDIR', ""):
31+ default_prefix = os.environ['STAGING_INCDIR'].rstrip('include') 31+ default_prefix = os.environ['STAGING_INCDIR'].rstrip('include')
32 resolved_prefix = prefix if prefix is not None else default_prefix 32 resolved_prefix = prefix if prefix is not None else default_prefix
33 try: 33 # MinGW imitates posix like layout, but os.name != posix
34 getter = globals()[f'_get_python_inc_{os.name}'] 34 os_name = "posix" if is_mingw() else os.name
35@@ -238,7 +240,13 @@ def get_python_lib(plat_specific=0, standard_lib=0, prefix=None): 35@@ -246,7 +248,13 @@ def get_python_lib(
36 36
37 early_prefix = prefix 37 early_prefix = prefix
38 38
@@ -47,7 +47,7 @@ index a40a723..14f35e7 100644
47 if standard_lib: 47 if standard_lib:
48 prefix = plat_specific and BASE_EXEC_PREFIX or BASE_PREFIX 48 prefix = plat_specific and BASE_EXEC_PREFIX or BASE_PREFIX
49 else: 49 else:
50@@ -253,7 +261,7 @@ def get_python_lib(plat_specific=0, standard_lib=0, prefix=None): 50@@ -261,7 +269,7 @@ def get_python_lib(
51 # Pure Python 51 # Pure Python
52 libdir = "lib" 52 libdir = "lib"
53 implementation = 'pypy' if IS_PYPY else 'python' 53 implementation = 'pypy' if IS_PYPY else 'python'
diff --git a/meta/recipes-devtools/python/python3-setuptools/0001-conditionally-do-not-fetch-code-by-easy_install.patch b/meta/recipes-devtools/python/python3-setuptools/0001-conditionally-do-not-fetch-code-by-easy_install.patch
deleted file mode 100644
index e227c2889c..0000000000
--- a/meta/recipes-devtools/python/python3-setuptools/0001-conditionally-do-not-fetch-code-by-easy_install.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1From 80fe63816eb3bfd1f5b6d354e1f2442805cff4e0 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Tue, 17 Jul 2018 10:13:38 +0800
4Subject: [PATCH] conditionally do not fetch code by easy_install
5
6If var-NO_FETCH_BUILD is set, do not allow to fetch code from
7internet by easy_install.
8
9Upstream-Status: Inappropriate [oe specific]
10
11Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
12---
13 setuptools/command/easy_install.py | 5 +++++
14 1 file changed, 5 insertions(+)
15
16diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
17index 858fb20..62bd853 100644
18--- a/setuptools/command/easy_install.py
19+++ b/setuptools/command/easy_install.py
20@@ -672,6 +672,11 @@ class easy_install(Command):
21 os.path.exists(tmpdir) and _rmtree(tmpdir)
22
23 def easy_install(self, spec, deps=False):
24+ if os.environ.get('NO_FETCH_BUILD', None):
25+ log.error("ERROR: Do not try to fetch `%s' for building. "
26+ "Please add its native recipe to DEPENDS." % spec)
27+ return None
28+
29 with self._tmpdir() as tmpdir:
30 if not isinstance(spec, Requirement):
31 if URL_SCHEME(spec):
diff --git a/meta/recipes-devtools/python/python3-setuptools_69.5.1.bb b/meta/recipes-devtools/python/python3-setuptools_80.9.0.bb
index 8261b09d16..533d8ce3d4 100644
--- a/meta/recipes-devtools/python/python3-setuptools_69.5.1.bb
+++ b/meta/recipes-devtools/python/python3-setuptools_80.9.0.bb
@@ -6,17 +6,16 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=141643e11c48898150daa83802dbc65f"
6 6
7inherit pypi python_setuptools_build_meta 7inherit pypi python_setuptools_build_meta
8 8
9SRC_URI:append:class-native = " file://0001-conditionally-do-not-fetch-code-by-easy_install.patch" 9CVE_PRODUCT = "python3-setuptools python:setuptools"
10 10
11SRC_URI += " \ 11SRC_URI += " \
12 file://0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch" 12 file://0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch"
13 13
14SRC_URI[sha256sum] = "6c1fccdac05a97e598fb0ae3bbed5904ccb317337a51139dcd51453611bbb987" 14SRC_URI[sha256sum] = "f36b47402ecde768dbfafc46e8e4207b4360c654f1f3bb84475f0a28628fb19c"
15 15
16DEPENDS += "python3" 16DEPENDS += "python3"
17 17
18RDEPENDS:${PN} = "\ 18RDEPENDS:${PN} = "\
19 python3-2to3 \
20 python3-compile \ 19 python3-compile \
21 python3-compression \ 20 python3-compression \
22 python3-ctypes \ 21 python3-ctypes \
@@ -33,6 +32,7 @@ RDEPENDS:${PN} = "\
33 python3-stringold \ 32 python3-stringold \
34 python3-threading \ 33 python3-threading \
35 python3-unittest \ 34 python3-unittest \
35 python3-unixadmin \
36 python3-xml \ 36 python3-xml \
37" 37"
38 38
diff --git a/meta/recipes-devtools/python/python3-six_1.16.0.bb b/meta/recipes-devtools/python/python3-six_1.16.0.bb
deleted file mode 100644
index 1ba48d4f47..0000000000
--- a/meta/recipes-devtools/python/python3-six_1.16.0.bb
+++ /dev/null
@@ -1,4 +0,0 @@
1inherit setuptools3
2require python-six.inc
3
4SRC_URI[sha256sum] = "1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926"
diff --git a/meta/recipes-devtools/python/python3-six_1.17.0.bb b/meta/recipes-devtools/python/python3-six_1.17.0.bb
new file mode 100644
index 0000000000..693f1818d3
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-six_1.17.0.bb
@@ -0,0 +1,4 @@
1inherit setuptools3
2require python-six.inc
3
4SRC_URI[sha256sum] = "ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81"
diff --git a/meta/recipes-devtools/python/python3-smartypants/0001-Change-hash-bang-to-python3.patch b/meta/recipes-devtools/python/python3-smartypants/0001-Change-hash-bang-to-python3.patch
index aab16eaab4..63bd523cb7 100644
--- a/meta/recipes-devtools/python/python3-smartypants/0001-Change-hash-bang-to-python3.patch
+++ b/meta/recipes-devtools/python/python3-smartypants/0001-Change-hash-bang-to-python3.patch
@@ -1,4 +1,4 @@
1From e299bcb05405ff49450307bf3002c1fac14a866c Mon Sep 17 00:00:00 2001 1From 7425e49166e6f16743ec9528697d06bc4103dc5e Mon Sep 17 00:00:00 2001
2From: Tim Orling <tim.orling@konsulko.com> 2From: Tim Orling <tim.orling@konsulko.com>
3Date: Sun, 20 Feb 2022 18:55:50 -0800 3Date: Sun, 20 Feb 2022 18:55:50 -0800
4Subject: [PATCH] Change hash bang to python3 4Subject: [PATCH] Change hash bang to python3
@@ -9,6 +9,9 @@ Upstream-Status: Inappropriate [oe-core specific]
9 9
10Signed-off-by: Tim Orling <tim.orling@konsulko.com> 10Signed-off-by: Tim Orling <tim.orling@konsulko.com>
11 11
12Update to apply on v2.0.2.
13
14Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
12--- 15---
13 setup.py | 2 +- 16 setup.py | 2 +-
14 smartypants | 2 +- 17 smartypants | 2 +-
@@ -16,32 +19,35 @@ Signed-off-by: Tim Orling <tim.orling@konsulko.com>
16 3 files changed, 3 insertions(+), 3 deletions(-) 19 3 files changed, 3 insertions(+), 3 deletions(-)
17 20
18diff --git a/setup.py b/setup.py 21diff --git a/setup.py b/setup.py
19index ff1ea76..96a8b73 100755 22index c183fc0..e10d757 100755
20--- a/setup.py 23--- a/setup.py
21+++ b/setup.py 24+++ b/setup.py
22@@ -1,4 +1,4 @@ 25@@ -1,4 +1,4 @@
23-#!/usr/bin/env python 26-#!/usr/bin/env python
24+#!/usr/bin/env python3 27+#!/usr/bin/env python3
25 # Copyright (C) 2013, 2014 by Yu-Jie Lin 28 # Copyright (c) 2025–present Justin Mayer
26 # For detail license information, See COPYING 29 # For detail license information, See COPYING
27 30
28diff --git a/smartypants b/smartypants 31diff --git a/smartypants b/smartypants
29index 189adf5..0cca568 100755 32index 1dabf7d..20c130e 100755
30--- a/smartypants 33--- a/smartypants
31+++ b/smartypants 34+++ b/smartypants
32@@ -1,4 +1,4 @@ 35@@ -1,4 +1,4 @@
33-#!/usr/bin/env python 36-#!/usr/bin/env python
34+#!/usr/bin/env python3 37+#!/usr/bin/env python3
35 # Copyright (c) 2013, 2014 Yu-Jie Lin 38 # Copyright (c) 2025–present Justin Mayer
36 # Licensed under the BSD License, for detailed license information, see COPYING 39 # Licensed under the BSD License, for detailed license information, see COPYING
37 40
38diff --git a/smartypants.py b/smartypants.py 41diff --git a/smartypants.py b/smartypants.py
39index a70575b..e53bd87 100755 42index 62c1472..a440d14 100755
40--- a/smartypants.py 43--- a/smartypants.py
41+++ b/smartypants.py 44+++ b/smartypants.py
42@@ -1,4 +1,4 @@ 45@@ -1,4 +1,4 @@
43-#!/usr/bin/python 46-#!/usr/bin/python
44+#!/usr/bin/env python3 47+#!/usr/bin/python3
45 # -*- coding: utf-8 -*- 48 # Copyright (c) 2025–present Justin Mayer
49 # Copyright (c) 2017 Leo Hemsted
46 # Copyright (c) 2013, 2014, 2016 Yu-Jie Lin 50 # Copyright (c) 2013, 2014, 2016 Yu-Jie Lin
47 # Copyright (c) 2004, 2005, 2007, 2013 Chad Miller 51--
522.49.0
53
diff --git a/meta/recipes-devtools/python/python3-smartypants_2.0.0.bb b/meta/recipes-devtools/python/python3-smartypants_2.0.2.bb
index d089a89b95..a439f8a880 100644
--- a/meta/recipes-devtools/python/python3-smartypants_2.0.0.bb
+++ b/meta/recipes-devtools/python/python3-smartypants_2.0.2.bb
@@ -1,14 +1,12 @@
1SUMMARY = "Translator of plain ASCII punctuation characters into 'smart' typographic punctuation HTML entities" 1SUMMARY = "Translator of plain ASCII punctuation characters into 'smart' typographic punctuation HTML entities"
2HOMEPAGE = "https://pythonhosted.org/smartypants/" 2HOMEPAGE = "https://pythonhosted.org/smartypants/"
3LICENSE = "BSD-3-Clause" 3LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://COPYING;md5=977036977591ac666c728921ecc54c4f" 4LIC_FILES_CHKSUM = "file://COPYING;md5=ca325788d94ee694fef2a308c5073454"
5 5
6inherit pypi setuptools3 6inherit pypi setuptools3
7 7
8PYPI_PACKAGE = "smartypants" 8PYPI_PACKAGE = "smartypants"
9SRC_URI += "file://0001-Change-hash-bang-to-python3.patch" 9SRC_URI += "file://0001-Change-hash-bang-to-python3.patch"
10SRC_URI[sha256sum] = "7812353a32022699a1aa8cd5626e01c94a946dcaeedaee2d0b382bae4c4cbf36" 10SRC_URI[sha256sum] = "39d64ce1d7cc6964b698297bdf391bc12c3251b7f608e6e55d857cd7c5f800c6"
11 11
12BBCLASSEXTEND = "native nativesdk" 12BBCLASSEXTEND = "native nativesdk"
13
14UPSTREAM_CHECK_REGEX = "/${PYPI_PACKAGE}/(?P<pver>(?!2\.0\.1)(\d+[\.\-_]*)+)/"
diff --git a/meta/recipes-devtools/python/python3-snowballstemmer_2.2.0.bb b/meta/recipes-devtools/python/python3-snowballstemmer_3.0.1.bb
index ff120a3fc4..37cfbce7dc 100644
--- a/meta/recipes-devtools/python/python3-snowballstemmer_2.2.0.bb
+++ b/meta/recipes-devtools/python/python3-snowballstemmer_3.0.1.bb
@@ -4,10 +4,10 @@ HOMEPAGE = "https://github.com/snowballstem/snowball"
4LICENSE = "BSD-3-Clause" 4LICENSE = "BSD-3-Clause"
5LIC_FILES_CHKSUM = "file://COPYING;md5=19139aaf3c8c8fa1ca6edd59c072fb9f" 5LIC_FILES_CHKSUM = "file://COPYING;md5=19139aaf3c8c8fa1ca6edd59c072fb9f"
6 6
7SRC_URI[sha256sum] = "09b16deb8547d3412ad7b590689584cd0fe25ec8db3be37788be3810cbf19cb1" 7SRC_URI[sha256sum] = "6d5eeeec8e9f84d4d56b847692bacf79bc2c8e90c7f80ca4444ff8b6f2e52895"
8 8
9PYPI_PACKAGE = "snowballstemmer" 9PYPI_PACKAGE = "snowballstemmer"
10 10
11inherit pypi setuptools3 11inherit pypi python_setuptools_build_meta
12 12
13BBCLASSEXTEND = "native nativesdk" 13BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-spdx-tools_0.8.2.bb b/meta/recipes-devtools/python/python3-spdx-tools_0.8.3.bb
index 53263ca032..0f05679322 100644
--- a/meta/recipes-devtools/python/python3-spdx-tools_0.8.2.bb
+++ b/meta/recipes-devtools/python/python3-spdx-tools_0.8.3.bb
@@ -4,11 +4,13 @@ HOMEPAGE = "https://github.com/spdx/tools-python"
4LICENSE = "Apache-2.0" 4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=dc7f21ccff0f672f2a7cd6f412ae627d" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=dc7f21ccff0f672f2a7cd6f412ae627d"
6 6
7SRC_URI[sha256sum] = "aea4ac9c2c375e7f439b1cef5ff32ef34914c083de0f61e08ed67cd3d9deb2a9" 7SRC_URI[sha256sum] = "68b8f9ce2893b5216bd90b2e63f1c821c2884e4ebc4fd295ebbf1fa8b8a94b93"
8 8
9BBCLASSEXTEND = "native nativesdk" 9BBCLASSEXTEND = "native nativesdk"
10 10
11inherit setuptools3 pypi 11inherit pypi python_setuptools_build_meta
12
13DEPENDS += "python3-setuptools-scm-native"
12 14
13# Dependency required for pyspdxtools : python3-click 15# Dependency required for pyspdxtools : python3-click
14# Dependencies required for conversion to spdx3 : python3-semantic-version, python3-ply 16# Dependencies required for conversion to spdx3 : python3-semantic-version, python3-ply
diff --git a/meta/recipes-devtools/python/python3-sphinx-argparse_0.5.2.bb b/meta/recipes-devtools/python/python3-sphinx-argparse_0.5.2.bb
new file mode 100644
index 0000000000..554fb3eb51
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-sphinx-argparse_0.5.2.bb
@@ -0,0 +1,13 @@
1SUMMARY = "A sphinx extension that automatically documents argparse commands and options"
2HOMEPAGE = "https://sphinx-argparse.readthedocs.io/"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENCE.rst;md5=5c1cd8f13774629fee215681e66a1056"
5
6SRC_URI[sha256sum] = "e5352f8fa894b6fb6fda0498ba28a9f8d435971ef4bbc1a6c9c6414e7644f032"
7
8PYPI_PACKAGE = "sphinx_argparse"
9UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
10
11inherit pypi python_flit_core
12
13BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-sphinx-copybutton_0.5.2.bb b/meta/recipes-devtools/python/python3-sphinx-copybutton_0.5.2.bb
new file mode 100644
index 0000000000..0441804661
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-sphinx-copybutton_0.5.2.bb
@@ -0,0 +1,10 @@
1SUMMARY = "Add a copy button to code blocks in Sphinx"
2HOMEPAGE = "https://sphinx-copybutton.readthedocs.io"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=c60e920848b6d2ecec51ea44a1a33bf0"
5
6SRC_URI[sha256sum] = "4cf17c82fb9646d1bc9ca92ac280813a3b605d8c421225fd9913154103ee1fbd"
7
8inherit setuptools3 pypi
9
10BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-sphinx-rtd-theme_2.0.0.bb b/meta/recipes-devtools/python/python3-sphinx-rtd-theme_3.0.2.bb
index 22b4d96444..03e7a50125 100644
--- a/meta/recipes-devtools/python/python3-sphinx-rtd-theme_2.0.0.bb
+++ b/meta/recipes-devtools/python/python3-sphinx-rtd-theme_3.0.2.bb
@@ -13,9 +13,9 @@ RDEPENDS:${PN} += " \
13" 13"
14 14
15PYPI_PACKAGE = "sphinx_rtd_theme" 15PYPI_PACKAGE = "sphinx_rtd_theme"
16UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
16 17
17SRC_URI[sha256sum] = "bd5d7b80622406762073a04ef8fadc5f9151261563d47027de09910ce03afe6b" 18SRC_URI[sha256sum] = "b7457bc25dda723b20b086a670b9953c859eab60a2a03ee8eb2bb23e176e5f85"
18UPSTREAM_CHECK_REGEX ?= "/sphinx-rtd-theme/(?P<pver>(\d+[\.\-_]*)+)/"
19 19
20inherit setuptools3 pypi 20inherit setuptools3 pypi
21 21
diff --git a/meta/recipes-devtools/python/python3-sphinx_7.2.6.bb b/meta/recipes-devtools/python/python3-sphinx_8.2.1.bb
index f4ed0720ff..614566b8f4 100644
--- a/meta/recipes-devtools/python/python3-sphinx_7.2.6.bb
+++ b/meta/recipes-devtools/python/python3-sphinx_8.2.1.bb
@@ -2,12 +2,11 @@ SUMMARY = "Python documentation generator"
2HOMEPAGE = "http://sphinx-doc.org/" 2HOMEPAGE = "http://sphinx-doc.org/"
3SECTION = "devel/python" 3SECTION = "devel/python"
4LICENSE = "BSD-2-Clause & MIT" 4LICENSE = "BSD-2-Clause & MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=5eb6ac1b115a1ed24a12d9f15b633993" 5LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=e30c37a2b7fb0afa3adc0d72b85e8b04"
6 6
7SRC_URI[sha256sum] = "9a5160e1ea90688d5963ba09a2dcd8bdd526620edbb65c328728f1b2228d5ab5" 7SRC_URI[sha256sum] = "e4b932951b9c18b039f73b72e4e63afe967d90408700ec222b981ac24647c01e"
8 8
9inherit python_flit_core pypi 9inherit python_flit_core pypi
10UPSTREAM_CHECK_REGEX = "/Sphinx/(?P<pver>(\d+[\.\-_]*)+)/"
11 10
12do_install:append () { 11do_install:append () {
13 # The cache format of "{None, 'en', 'ja'}" doesn't seem to be consistent (dict ordering?) 12 # The cache format of "{None, 'en', 'ja'}" doesn't seem to be consistent (dict ordering?)
@@ -23,6 +22,7 @@ RDEPENDS:${PN} = "\
23 python3-packaging \ 22 python3-packaging \
24 python3-pygments \ 23 python3-pygments \
25 python3-requests \ 24 python3-requests \
25 python3-roman-numerals-py \
26 python3-snowballstemmer \ 26 python3-snowballstemmer \
27 python3-sphinxcontrib-applehelp \ 27 python3-sphinxcontrib-applehelp \
28 python3-sphinxcontrib-devhelp \ 28 python3-sphinxcontrib-devhelp \
diff --git a/meta/recipes-devtools/python/python3-sphinxcontrib-applehelp_1.0.8.bb b/meta/recipes-devtools/python/python3-sphinxcontrib-applehelp_2.0.0.bb
index 67dd299b72..a63b7ad014 100644
--- a/meta/recipes-devtools/python/python3-sphinxcontrib-applehelp_1.0.8.bb
+++ b/meta/recipes-devtools/python/python3-sphinxcontrib-applehelp_2.0.0.bb
@@ -1,11 +1,12 @@
1SUMMARY = "sphinxcontrib-applehelp is a sphinx extension which outputs Apple help books" 1SUMMARY = "sphinxcontrib-applehelp is a sphinx extension which outputs Apple help books"
2HOMEPAGE = "https://www.sphinx-doc.org" 2HOMEPAGE = "https://www.sphinx-doc.org"
3LICENSE = "BSD-2-Clause" 3LICENSE = "BSD-2-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=c7715857042d4c8c0105999ca0c072c5" 4LIC_FILES_CHKSUM = "file://LICENCE.rst;md5=c7715857042d4c8c0105999ca0c072c5"
5 5
6SRC_URI[sha256sum] = "c40a4f96f3776c4393d933412053962fac2b84f4c99a7982ba42e09576a70619" 6SRC_URI[sha256sum] = "2f29ef331735ce958efa4734873f084941970894c6090408b079c61b2e1c06d1"
7 7
8PYPI_PACKAGE = "sphinxcontrib_applehelp" 8PYPI_PACKAGE = "sphinxcontrib_applehelp"
9UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
9 10
10inherit pypi python_flit_core 11inherit pypi python_flit_core
11 12
diff --git a/meta/recipes-devtools/python/python3-sphinxcontrib-devhelp_1.0.6.bb b/meta/recipes-devtools/python/python3-sphinxcontrib-devhelp_2.0.0.bb
index 31f77a0a14..abce915a19 100644
--- a/meta/recipes-devtools/python/python3-sphinxcontrib-devhelp_1.0.6.bb
+++ b/meta/recipes-devtools/python/python3-sphinxcontrib-devhelp_2.0.0.bb
@@ -1,11 +1,12 @@
1SUMMARY = "sphinxcontrib-devhelp is a sphinx extension which outputs Devhelp document." 1SUMMARY = "sphinxcontrib-devhelp is a sphinx extension which outputs Devhelp document."
2HOMEPAGE = "https://www.sphinx-doc.org" 2HOMEPAGE = "https://www.sphinx-doc.org"
3LICENSE = "BSD-2-Clause" 3LICENSE = "BSD-2-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=fd30d9972a142c857a80c9f312e92b93" 4LIC_FILES_CHKSUM = "file://LICENCE.rst;md5=fd30d9972a142c857a80c9f312e92b93"
5 5
6SRC_URI[sha256sum] = "9893fd3f90506bc4b97bdb977ceb8fbd823989f4316b28c3841ec128544372d3" 6SRC_URI[sha256sum] = "411f5d96d445d1d73bb5d52133377b4248ec79db5c793ce7dbe59e074b4dd1ad"
7 7
8PYPI_PACKAGE = "sphinxcontrib_devhelp" 8PYPI_PACKAGE = "sphinxcontrib_devhelp"
9UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
9 10
10inherit pypi python_flit_core 11inherit pypi python_flit_core
11 12
diff --git a/meta/recipes-devtools/python/python3-sphinxcontrib-htmlhelp_2.0.5.bb b/meta/recipes-devtools/python/python3-sphinxcontrib-htmlhelp_2.1.0.bb
index e30c61c398..44885d7dc3 100644
--- a/meta/recipes-devtools/python/python3-sphinxcontrib-htmlhelp_2.0.5.bb
+++ b/meta/recipes-devtools/python/python3-sphinxcontrib-htmlhelp_2.1.0.bb
@@ -1,11 +1,12 @@
1SUMMARY = "sphinxcontrib-htmlhelp is a sphinx extension which renders HTML help files" 1SUMMARY = "sphinxcontrib-htmlhelp is a sphinx extension which renders HTML help files"
2HOMEPAGE = "https://www.sphinx-doc.org" 2HOMEPAGE = "https://www.sphinx-doc.org"
3LICENSE = "BSD-2-Clause" 3LICENSE = "BSD-2-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=24dce5ef6a13563241c24bc366f48886" 4LIC_FILES_CHKSUM = "file://LICENCE.rst;md5=24dce5ef6a13563241c24bc366f48886"
5 5
6SRC_URI[sha256sum] = "0dc87637d5de53dd5eec3a6a01753b1ccf99494bd756aafecd74b4fa9e729015" 6SRC_URI[sha256sum] = "c9e2916ace8aad64cc13a0d233ee22317f2b9025b9cf3295249fa985cc7082e9"
7 7
8PYPI_PACKAGE = "sphinxcontrib_htmlhelp" 8PYPI_PACKAGE = "sphinxcontrib_htmlhelp"
9UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
9 10
10inherit pypi python_flit_core 11inherit pypi python_flit_core
11 12
diff --git a/meta/recipes-devtools/python/python3-sphinxcontrib-qthelp_1.0.7.bb b/meta/recipes-devtools/python/python3-sphinxcontrib-qthelp_2.0.0.bb
index 2225ec521e..141d1c4862 100644
--- a/meta/recipes-devtools/python/python3-sphinxcontrib-qthelp_1.0.7.bb
+++ b/meta/recipes-devtools/python/python3-sphinxcontrib-qthelp_2.0.0.bb
@@ -1,11 +1,12 @@
1SUMMARY = "Is a sphinx extension which outputs QtHelp document." 1SUMMARY = "Is a sphinx extension which outputs QtHelp document."
2HOMEPAGE = "http://babel.edgewall.org/" 2HOMEPAGE = "http://babel.edgewall.org/"
3LICENSE = "BSD-2-Clause" 3LICENSE = "BSD-2-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=f7a83b72ea86d04827575ec0b63430eb" 4LIC_FILES_CHKSUM = "file://LICENCE.rst;md5=f7a83b72ea86d04827575ec0b63430eb"
5 5
6SRC_URI[sha256sum] = "053dedc38823a80a7209a80860b16b722e9e0209e32fea98c90e4e6624588ed6" 6SRC_URI[sha256sum] = "4fe7d0ac8fc171045be623aba3e2a8f613f8682731f9153bb2e40ece16b9bbab"
7 7
8PYPI_PACKAGE = "sphinxcontrib_qthelp" 8PYPI_PACKAGE = "sphinxcontrib_qthelp"
9UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
9 10
10inherit pypi python_flit_core 11inherit pypi python_flit_core
11 12
diff --git a/meta/recipes-devtools/python/python3-sphinxcontrib-serializinghtml_1.1.10.bb b/meta/recipes-devtools/python/python3-sphinxcontrib-serializinghtml_2.0.0.bb
index 49be5200f0..95ee596b3b 100644
--- a/meta/recipes-devtools/python/python3-sphinxcontrib-serializinghtml_1.1.10.bb
+++ b/meta/recipes-devtools/python/python3-sphinxcontrib-serializinghtml_2.0.0.bb
@@ -1,11 +1,12 @@
1SUMMARY = 'sphinxcontrib-serializinghtml is a sphinx extension which outputs "serialized" HTML files (json and pickle).' 1SUMMARY = 'sphinxcontrib-serializinghtml is a sphinx extension which outputs "serialized" HTML files (json and pickle).'
2HOMEPAGE = "https://www.sphinx-doc.org" 2HOMEPAGE = "https://www.sphinx-doc.org"
3LICENSE = "BSD-2-Clause" 3LICENSE = "BSD-2-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=32a84ac5cd3bbd10c4d479233ad588b6" 4LIC_FILES_CHKSUM = "file://LICENCE.rst;md5=32a84ac5cd3bbd10c4d479233ad588b6"
5 5
6SRC_URI[sha256sum] = "93f3f5dc458b91b192fe10c397e324f262cf163d79f3282c158e8436a2c4511f" 6SRC_URI[sha256sum] = "e9d912827f872c029017a53f0ef2180b327c3f7fd23c87229f7a8e8b70031d4d"
7 7
8PYPI_PACKAGE = "sphinxcontrib_serializinghtml" 8PYPI_PACKAGE = "sphinxcontrib_serializinghtml"
9UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
9 10
10inherit pypi python_flit_core 11inherit pypi python_flit_core
11 12
diff --git a/meta/recipes-devtools/python/python3-subunit_1.4.4.bb b/meta/recipes-devtools/python/python3-subunit_1.4.4.bb
index 11be10bab6..269b057427 100644
--- a/meta/recipes-devtools/python/python3-subunit_1.4.4.bb
+++ b/meta/recipes-devtools/python/python3-subunit_1.4.4.bb
@@ -8,7 +8,7 @@ PYPI_PACKAGE = "python-subunit"
8 8
9SRC_URI[sha256sum] = "1079363131aa1d3f45259237265bc2e61a77e35f20edfb6e3d1d2558a2cdea34" 9SRC_URI[sha256sum] = "1079363131aa1d3f45259237265bc2e61a77e35f20edfb6e3d1d2558a2cdea34"
10 10
11inherit pypi setuptools3 11inherit pypi python_setuptools_build_meta
12 12
13RDEPENDS:${PN} = " python3-testtools python3-iso8601" 13RDEPENDS:${PN} = " python3-testtools python3-iso8601"
14 14
diff --git a/meta/recipes-devtools/python/python3-testtools_2.7.1.bb b/meta/recipes-devtools/python/python3-testtools_2.7.2.bb
index cc7e055632..8d7759b4a7 100644
--- a/meta/recipes-devtools/python/python3-testtools_2.7.1.bb
+++ b/meta/recipes-devtools/python/python3-testtools_2.7.2.bb
@@ -8,11 +8,13 @@ DEPENDS += "python3-hatch-vcs-native"
8 8
9inherit pypi python_hatchling 9inherit pypi python_hatchling
10 10
11SRC_URI[sha256sum] = "df6de96010e29ee21f637a147eabf30d50b25e3841dd1d68f93ee89ce77e366c" 11SRC_URI[sha256sum] = "5be5bbc1f0fa0f8b60aca6ceec07845d41d0c475cf445bfadb4d2c45ec397ea3"
12 12
13RDEPENDS:${PN} += "\ 13RDEPENDS:${PN} += "\
14 python3-compression \
14 python3-doctest \ 15 python3-doctest \
15 python3-extras \ 16 python3-extras \
17 python3-json \
16 python3-six \ 18 python3-six \
17 " 19 "
18 20
diff --git a/meta/recipes-devtools/python/python3-toml_0.10.2.bb b/meta/recipes-devtools/python/python3-toml_0.10.2.bb
deleted file mode 100644
index 649464b961..0000000000
--- a/meta/recipes-devtools/python/python3-toml_0.10.2.bb
+++ /dev/null
@@ -1,15 +0,0 @@
1SUMMARY = "Python Library for Tom's Obvious, Minimal Language"
2HOMEPAGE = "https://github.com/uiri/toml"
3LICENSE = "MIT"
4SECTION = "devel/python"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=16c77b2b1050d2f03cb9c2ed0edaf4f0"
6
7SRC_URI[sha256sum] = "b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f"
8
9inherit pypi setuptools3
10
11BBCLASSEXTEND = "native nativesdk"
12
13RDEPENDS:${PN} += " \
14 python3-misc \
15"
diff --git a/meta/recipes-devtools/python/python3-tomli_2.0.1.bb b/meta/recipes-devtools/python/python3-tomli_2.0.1.bb
deleted file mode 100644
index 9401ed897f..0000000000
--- a/meta/recipes-devtools/python/python3-tomli_2.0.1.bb
+++ /dev/null
@@ -1,18 +0,0 @@
1SUMMARY = "A lil' TOML parser"
2DESCRIPTION = "Tomli is a Python library for parsing TOML. Tomli is fully \
3compatible with TOML v1.0.0."
4HOMEPAGE = "https://github.com/hukkin/tomli"
5BUGTRACKER = "https://github.com/hukkin/tomli/issues"
6LICENSE = "MIT"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=aaaaf0879d17df0110d1aa8c8c9f46f5"
8
9inherit pypi python_flit_core
10
11SRC_URI[sha256sum] = "de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"
12
13BBCLASSEXTEND = "native nativesdk"
14
15RDEPENDS:${PN} += " \
16 python3-datetime \
17 python3-stringold \
18"
diff --git a/meta/recipes-devtools/python/python3-trove-classifiers/run-ptest b/meta/recipes-devtools/python/python3-trove-classifiers/run-ptest
deleted file mode 100644
index 8d2017d39c..0000000000
--- a/meta/recipes-devtools/python/python3-trove-classifiers/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@
1#!/bin/sh
2
3pytest --automake
diff --git a/meta/recipes-devtools/python/python3-trove-classifiers_2024.4.10.bb b/meta/recipes-devtools/python/python3-trove-classifiers_2024.4.10.bb
deleted file mode 100644
index 357b428983..0000000000
--- a/meta/recipes-devtools/python/python3-trove-classifiers_2024.4.10.bb
+++ /dev/null
@@ -1,26 +0,0 @@
1SUMMARY = "Canonical source for classifiers on PyPI (pypi.org)."
2HOMEPAGE = "https://github.com/pypa/trove-classifiers"
3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
5
6SRC_URI[sha256sum] = "49f40bb6a746b72a1cba4f8d55ee8252169cda0f70802e3fd24f04b7fb25a492"
7
8inherit pypi python_setuptools_build_meta ptest
9
10DEPENDS += " python3-calver-native"
11
12SRC_URI += " \
13 file://run-ptest \
14"
15
16RDEPENDS:${PN}-ptest += " \
17 python3-pytest \
18 python3-unittest-automake-output \
19"
20
21do_install_ptest() {
22 install -d ${D}${PTEST_PATH}/tests
23 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
24}
25
26BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-trove-classifiers_2025.5.9.12.bb b/meta/recipes-devtools/python/python3-trove-classifiers_2025.5.9.12.bb
new file mode 100644
index 0000000000..68b09537bc
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-trove-classifiers_2025.5.9.12.bb
@@ -0,0 +1,15 @@
1SUMMARY = "Canonical source for classifiers on PyPI (pypi.org)."
2HOMEPAGE = "https://github.com/pypa/trove-classifiers"
3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
5
6SRC_URI[sha256sum] = "7ca7c8a7a76e2cd314468c677c69d12cc2357711fcab4a60f87994c1589e5cb5"
7
8PYPI_PACKAGE = "trove_classifiers"
9UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
10
11inherit pypi python_setuptools_build_meta ptest-python-pytest
12
13DEPENDS += " python3-calver-native"
14
15BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-typing-extensions_4.11.0.bb b/meta/recipes-devtools/python/python3-typing-extensions_4.14.0.bb
index ad45b669ec..1c03aacc10 100644
--- a/meta/recipes-devtools/python/python3-typing-extensions_4.11.0.bb
+++ b/meta/recipes-devtools/python/python3-typing-extensions_4.14.0.bb
@@ -14,11 +14,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=fcf6b249c2641540219a727f35d8d2c2"
14 14
15# The name on PyPi is slightly different. 15# The name on PyPi is slightly different.
16PYPI_PACKAGE = "typing_extensions" 16PYPI_PACKAGE = "typing_extensions"
17UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
17 18
18SRC_URI[sha256sum] = "83f085bd5ca59c80295fc2a82ab5dac679cbe02b9f33f7d83af68e241bea51b0" 19SRC_URI[sha256sum] = "8676b788e32f02ab42d9e7c61324048ae4c6d844a399eebace3d4979d75ceef4"
19 20
20inherit pypi python_flit_core 21inherit pypi python_flit_core
21 22
22UPSTREAM_CHECK_REGEX = "/typing-extensions/(?P<pver>(\d+[\.\-_]*)+)/"
23
24BBCLASSEXTEND = "native nativesdk" 23BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-typogrify_2.0.7.bb b/meta/recipes-devtools/python/python3-typogrify_2.1.0.bb
index 8ba2788c9b..0cb31468bd 100644
--- a/meta/recipes-devtools/python/python3-typogrify_2.0.7.bb
+++ b/meta/recipes-devtools/python/python3-typogrify_2.1.0.bb
@@ -1,12 +1,12 @@
1SUMMARY = "Filters to enhance web typography, including support for Django & Jinja templates" 1SUMMARY = "Filters to enhance web typography, including support for Django & Jinja templates"
2HOMEPAGE = "https://github.com/mintchaos/typogrify" 2HOMEPAGE = "https://github.com/mintchaos/typogrify"
3LICENSE = "BSD-3-Clause" 3LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=12bc792d6f5415dbf421f3fd183c6dd2" 4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b8558ebcc682078c1a44d0227573006d"
5 5
6inherit pypi setuptools3 6inherit pypi python_hatchling
7 7
8PYPI_PACKAGE = "typogrify" 8PYPI_PACKAGE = "typogrify"
9SRC_URI[sha256sum] = "8be4668cda434163ce229d87ca273a11922cb1614cb359970b7dc96eed13cb38" 9SRC_URI[sha256sum] = "f0aa004e98032a6e6be4c9da65e7eb7150e36ca3bf508adbcda82b4d003e61ee"
10 10
11BBCLASSEXTEND = "native nativesdk" 11BBCLASSEXTEND = "native nativesdk"
12 12
diff --git a/meta/recipes-devtools/python/python3-unittest-automake-output/0001-Update-__version__-to-match-the-tag-version.patch b/meta/recipes-devtools/python/python3-unittest-automake-output/0001-Update-__version__-to-match-the-tag-version.patch
new file mode 100644
index 0000000000..c2e519a12a
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-unittest-automake-output/0001-Update-__version__-to-match-the-tag-version.patch
@@ -0,0 +1,30 @@
1From 8da931c5e9e32a15091d517b28cdf2e2b5395f77 Mon Sep 17 00:00:00 2001
2From: Yi Zhao <yi.zhao@windriver.com>
3Date: Tue, 8 Apr 2025 15:55:42 +0800
4Subject: [PATCH] Update __version__ to match the tag version
5
6Update __version__ to 0.2 to match the current tag.
7
8Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
9
10Upstream-Status: Backport
11[https://gitlab.com/rossburton/python-unittest-automake-output/-/commit/8da931c5e9e32a15091d517b28cdf2e2b5395f77]
12
13Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
14---
15 src/putao/__init__.py | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18diff --git a/src/putao/__init__.py b/src/putao/__init__.py
19index e8758de..00265e2 100644
20--- a/src/putao/__init__.py
21+++ b/src/putao/__init__.py
22@@ -5,4 +5,4 @@
23 Tools to write automake-style test reports.
24 """
25
26-__version__ = "0.1"
27+__version__ = "0.2"
28--
292.34.1
30
diff --git a/meta/recipes-devtools/python/python3-unittest-automake-output_0.2.bb b/meta/recipes-devtools/python/python3-unittest-automake-output_0.2.bb
index 1fc6180d0e..216fea2b93 100644
--- a/meta/recipes-devtools/python/python3-unittest-automake-output_0.2.bb
+++ b/meta/recipes-devtools/python/python3-unittest-automake-output_0.2.bb
@@ -3,11 +3,13 @@ HOMEPAGE = "https://gitlab.com/rossburton/python-unittest-automake-output"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=f6f16008d9fb7349f06609329f1ab93b" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=f6f16008d9fb7349f06609329f1ab93b"
5 5
6SRC_URI = "git://gitlab.com/rossburton/python-unittest-automake-output;protocol=https;branch=main" 6SRC_URI = "git://gitlab.com/rossburton/python-unittest-automake-output;protocol=https;branch=main \
7SRCREV = "aebdfb188e368c690ea55cf6c9c9ffa1a52def65" 7 file://0001-Update-__version__-to-match-the-tag-version.patch"
8 8
9S = "${WORKDIR}/git" 9SRCREV = "aebdfb188e368c690ea55cf6c9c9ffa1a52def65"
10 10
11inherit python_flit_core 11inherit python_flit_core
12 12
13RDEPENDS:${PN} += "python3-unittest"
14
13BBCLASSEXTEND = "native nativesdk" 15BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-uritools_4.0.2.bb b/meta/recipes-devtools/python/python3-uritools_4.0.2.bb
deleted file mode 100644
index 5ffedccb85..0000000000
--- a/meta/recipes-devtools/python/python3-uritools_4.0.2.bb
+++ /dev/null
@@ -1,11 +0,0 @@
1SUMMARY = "URI parsing, classification and composition"
2HOMEPAGE = "https://github.com/tkem/uritools/"
3
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=1ec55353c80c662e4255f8889a0ca558"
6
7SRC_URI[sha256sum] = "04df2b787d0eb76200e8319382a03562fbfe4741fd66c15506b08d3b8211d573"
8
9inherit setuptools3 pypi
10
11BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-uritools_5.0.0.bb b/meta/recipes-devtools/python/python3-uritools_5.0.0.bb
new file mode 100644
index 0000000000..35a8f2a0d9
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-uritools_5.0.0.bb
@@ -0,0 +1,11 @@
1SUMMARY = "URI parsing, classification and composition"
2HOMEPAGE = "https://github.com/tkem/uritools/"
3
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=e21bbe53b2730bfe1911cf381b81821e"
6
7SRC_URI[sha256sum] = "68180cad154062bd5b5d9ffcdd464f8de6934414b25462ae807b00b8df9345de"
8
9inherit pypi python_setuptools_build_meta ptest-python-pytest
10
11BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-urllib3_2.2.1.bb b/meta/recipes-devtools/python/python3-urllib3_2.5.0.bb
index fc1828b4ee..a4f3995730 100644
--- a/meta/recipes-devtools/python/python3-urllib3_2.2.1.bb
+++ b/meta/recipes-devtools/python/python3-urllib3_2.5.0.bb
@@ -1,12 +1,16 @@
1SUMMARY = "Python HTTP library with thread-safe connection pooling, file post support, sanity friendly, and more" 1SUMMARY = "Python HTTP library with thread-safe connection pooling, file post support, sanity friendly, and more"
2HOMEPAGE = "https://github.com/shazow/urllib3" 2HOMEPAGE = "https://github.com/urllib3/urllib3"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=52d273a3054ced561275d4d15260ecda" 4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=52d273a3054ced561275d4d15260ecda"
5 5
6SRC_URI[sha256sum] = "d0570876c61ab9e520d776c38acbbb5b05a776d3f9ff98a5c8fd5162a444cf19" 6SRC_URI[sha256sum] = "3fc47733c7e419d4bc3f6b3dc2b4f890bb743906a30d56ba4a5bfa4bbff92760"
7 7
8inherit pypi python_hatchling 8inherit pypi python_hatchling
9 9
10DEPENDS += " \
11 python3-hatch-vcs-native \
12"
13
10RDEPENDS:${PN} += "\ 14RDEPENDS:${PN} += "\
11 python3-certifi \ 15 python3-certifi \
12 python3-cryptography \ 16 python3-cryptography \
diff --git a/meta/recipes-devtools/python/python3-vcversioner_2.16.0.0.bb b/meta/recipes-devtools/python/python3-vcversioner_2.16.0.0.bb
index 149078c51b..2f5e0ad141 100644
--- a/meta/recipes-devtools/python/python3-vcversioner_2.16.0.0.bb
+++ b/meta/recipes-devtools/python/python3-vcversioner_2.16.0.0.bb
@@ -4,7 +4,6 @@ HOMEPAGE = "https://github.com/habnabit/vcversioner"
4LICENSE = "ISC" 4LICENSE = "ISC"
5LIC_FILES_CHKSUM = "file://PKG-INFO;md5=827a7a91a8d20d3c666b665cd96db8e3" 5LIC_FILES_CHKSUM = "file://PKG-INFO;md5=827a7a91a8d20d3c666b665cd96db8e3"
6 6
7SRC_URI[md5sum] = "aab6ef5e0cf8614a1b1140ed5b7f107d"
8SRC_URI[sha256sum] = "dae60c17a479781f44a4010701833f1829140b1eeccd258762a74974aa06e19b" 7SRC_URI[sha256sum] = "dae60c17a479781f44a4010701833f1829140b1eeccd258762a74974aa06e19b"
9 8
10inherit pypi setuptools3 9inherit pypi setuptools3
diff --git a/meta/recipes-devtools/python/python3-wcwidth/run-ptest b/meta/recipes-devtools/python/python3-wcwidth/run-ptest
deleted file mode 100644
index 8d2017d39c..0000000000
--- a/meta/recipes-devtools/python/python3-wcwidth/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@
1#!/bin/sh
2
3pytest --automake
diff --git a/meta/recipes-devtools/python/python3-wcwidth_0.2.13.bb b/meta/recipes-devtools/python/python3-wcwidth_0.2.13.bb
index 4a9bf75323..71bb1a2703 100644
--- a/meta/recipes-devtools/python/python3-wcwidth_0.2.13.bb
+++ b/meta/recipes-devtools/python/python3-wcwidth_0.2.13.bb
@@ -6,20 +6,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b15979c39a2543892fca8cd86b4b52cb"
6 6
7SRC_URI[sha256sum] = "72ea0c06399eb286d978fdedb6923a9eb47e1c486ce63e9b4e64fc18303972b5" 7SRC_URI[sha256sum] = "72ea0c06399eb286d978fdedb6923a9eb47e1c486ce63e9b4e64fc18303972b5"
8 8
9inherit pypi setuptools3 ptest 9inherit pypi setuptools3 ptest-python-pytest
10 10
11SRC_URI += " \ 11do_install_ptest:aapend() {
12 file://run-ptest \
13"
14
15RDEPENDS:${PN}-ptest += " \
16 python3-pytest \
17 python3-unittest-automake-output \
18"
19
20do_install_ptest() {
21 install -d ${D}${PTEST_PATH}/tests
22 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
23 install -d ${D}${PTEST_PATH}/bin 12 install -d ${D}${PTEST_PATH}/bin
24 cp -rf ${S}/bin/* ${D}${PTEST_PATH}/bin/ 13 cp -rf ${S}/bin/* ${D}${PTEST_PATH}/bin/
25} 14}
diff --git a/meta/recipes-devtools/python/python3-webcolors/run-ptest b/meta/recipes-devtools/python/python3-webcolors/run-ptest
deleted file mode 100644
index 8d2017d39c..0000000000
--- a/meta/recipes-devtools/python/python3-webcolors/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@
1#!/bin/sh
2
3pytest --automake
diff --git a/meta/recipes-devtools/python/python3-webcolors_1.13.bb b/meta/recipes-devtools/python/python3-webcolors_1.13.bb
deleted file mode 100644
index cea2a971d3..0000000000
--- a/meta/recipes-devtools/python/python3-webcolors_1.13.bb
+++ /dev/null
@@ -1,28 +0,0 @@
1SUMMARY = "Simple Python module for working with HTML/CSS color definitions."
2HOMEPAGE = "https://pypi.org/project/webcolors/"
3LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=702b1ef12cf66832a88f24c8f2ee9c19"
5
6SRC_URI[sha256sum] = "c225b674c83fa923be93d235330ce0300373d02885cef23238813b0d5668304a"
7
8inherit pypi python_setuptools_build_meta ptest
9
10RDEPENDS:${PN}:class-target = "\
11 python3-stringold \
12"
13
14SRC_URI += " \
15 file://run-ptest \
16"
17
18RDEPENDS:${PN}-ptest += " \
19 python3-pytest \
20 python3-unittest-automake-output \
21"
22
23do_install_ptest() {
24 install -d ${D}${PTEST_PATH}/tests
25 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
26}
27
28BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-webcolors_24.11.1.bb b/meta/recipes-devtools/python/python3-webcolors_24.11.1.bb
new file mode 100644
index 0000000000..cda63d2a35
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-webcolors_24.11.1.bb
@@ -0,0 +1,19 @@
1SUMMARY = "Simple Python module for working with HTML/CSS color definitions."
2HOMEPAGE = "https://pypi.org/project/webcolors/"
3LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=cbaebec43b7d199c7fd8f5411b3b0448"
5
6SRC_URI[sha256sum] = "ecb3d768f32202af770477b8b65f318fa4f566c22948673a977b00d589dd80f6"
7
8inherit pypi python_setuptools_build_meta ptest-python-pytest
9
10DEPENDS += " \
11 python3-pdm-native \
12 python3-pdm-backend-native \
13"
14
15RDEPENDS:${PN}:class-target = "\
16 python3-stringold \
17"
18
19BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-websockets_12.0.bb b/meta/recipes-devtools/python/python3-websockets_15.0.1.bb
index f89c3b629e..2e1b0f0919 100644
--- a/meta/recipes-devtools/python/python3-websockets_12.0.bb
+++ b/meta/recipes-devtools/python/python3-websockets_15.0.1.bb
@@ -4,13 +4,12 @@ HOMEPAGE = "https://github.com/aaugustin/websockets"
4LICENSE = "BSD-3-Clause" 4LICENSE = "BSD-3-Clause"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=51924a6af4495b8cfaee1b1da869b6f4" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=51924a6af4495b8cfaee1b1da869b6f4"
6 6
7inherit pypi setuptools3 7inherit pypi python_setuptools_build_meta
8 8
9SRC_URI[sha256sum] = "81df9cbcbb6c260de1e007e58c011bfebe2dafc8435107b0537f393dd38c8b1b" 9SRC_URI[sha256sum] = "82544de02076bafba038ce055ee6412d68da13ab47f0c60cab827346de828dee"
10 10
11BBCLASSEXTEND = "native nativesdk" 11BBCLASSEXTEND = "native nativesdk"
12 12
13RDEPENDS:${PN} = " \ 13RDEPENDS:${PN} = " \
14 python3-asyncio \ 14 python3-asyncio \
15 python3-profile \
16" 15"
diff --git a/meta/recipes-devtools/python/python3-wheel_0.43.0.bb b/meta/recipes-devtools/python/python3-wheel_0.46.1.bb
index ba309ae5fc..058af2f0e7 100644
--- a/meta/recipes-devtools/python/python3-wheel_0.43.0.bb
+++ b/meta/recipes-devtools/python/python3-wheel_0.46.1.bb
@@ -4,9 +4,14 @@ SECTION = "devel/python"
4LICENSE = "MIT" 4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=7ffb0db04527cfe380e4f2726bd05ebf" 5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=7ffb0db04527cfe380e4f2726bd05ebf"
6 6
7SRC_URI[sha256sum] = "465ef92c69fa5c5da2d1cf8ac40559a8c940886afcef87dcf14b9470862f1d85" 7SRC_URI[sha256sum] = "fd477efb5da0f7df1d3c76c73c14394002c844451bd63229d8570f376f5e6a38"
8 8
9inherit python_flit_core pypi 9inherit python_flit_core pypi ptest-python-pytest
10
11RDEPENDS:${PN} += "python3-packaging"
12
13# One test is skipped but requires the "full" python3-flit, not just python3-flit-core
14RDEPENDS:${PN}-ptest += "python3-setuptools"
10 15
11BBCLASSEXTEND = "native nativesdk" 16BBCLASSEXTEND = "native nativesdk"
12 17
diff --git a/meta/recipes-devtools/python/python3-xmltodict/run-ptest b/meta/recipes-devtools/python/python3-xmltodict/run-ptest
deleted file mode 100644
index 3385d68939..0000000000
--- a/meta/recipes-devtools/python/python3-xmltodict/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@
1#!/bin/sh
2
3pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
diff --git a/meta/recipes-devtools/python/python3-xmltodict_0.13.0.bb b/meta/recipes-devtools/python/python3-xmltodict_0.14.2.bb
index e8e275647c..56cdf6ff4a 100644
--- a/meta/recipes-devtools/python/python3-xmltodict_0.13.0.bb
+++ b/meta/recipes-devtools/python/python3-xmltodict_0.14.2.bb
@@ -3,17 +3,13 @@ HOMEPAGE = "https://github.com/martinblech/xmltodict"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=01441d50dc74476db58a41ac10cb9fa2" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=01441d50dc74476db58a41ac10cb9fa2"
5 5
6SRC_URI[sha256sum] = "341595a488e3e01a85a9d8911d8912fd922ede5fecc4dce437eb4b6c8d037e56" 6SRC_URI[sha256sum] = "201e7c28bb210e374999d1dde6382923ab0ed1a8a5faeece48ab525b7810a553"
7 7
8PYPI_PACKAGE = "xmltodict" 8PYPI_PACKAGE = "xmltodict"
9 9
10BBCLASSEXTEND = "native nativesdk" 10BBCLASSEXTEND = "native nativesdk"
11 11
12inherit pypi setuptools3 ptest 12inherit pypi setuptools3 ptest-python-pytest
13
14SRC_URI += " \
15 file://run-ptest \
16"
17 13
18RDEPENDS:${PN} += " \ 14RDEPENDS:${PN} += " \
19 python3-core \ 15 python3-core \
@@ -21,11 +17,3 @@ RDEPENDS:${PN} += " \
21 python3-io \ 17 python3-io \
22" 18"
23 19
24RDEPENDS:${PN}-ptest += " \
25 python3-pytest \
26"
27
28do_install_ptest() {
29 install -d ${D}${PTEST_PATH}/tests
30 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
31}
diff --git a/meta/recipes-devtools/python/python3-yamllint_1.35.1.bb b/meta/recipes-devtools/python/python3-yamllint_1.37.1.bb
index 53188b0262..1b0ddde873 100644
--- a/meta/recipes-devtools/python/python3-yamllint_1.35.1.bb
+++ b/meta/recipes-devtools/python/python3-yamllint_1.37.1.bb
@@ -3,13 +3,12 @@ HOMEPAGE = "https://github.com/adrienverge/yamllint"
3LICENSE = "GPL-3.0-only" 3LICENSE = "GPL-3.0-only"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=1ebbd3e34237af26da5dc08a4e440464" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=1ebbd3e34237af26da5dc08a4e440464"
5 5
6inherit pypi setuptools3 6inherit pypi python_setuptools_build_meta
7 7
8PYPI_PACKAGE = "yamllint" 8PYPI_PACKAGE = "yamllint"
9 9
10SRC_URI[sha256sum] = "7a003809f88324fd2c877734f2d575ee7881dd9043360657cc8049c809eba6cd" 10SRC_URI[sha256sum] = "81f7c0c5559becc8049470d86046b36e96113637bcbe4753ecef06977c00245d"
11 11
12DEPENDS += "python3-setuptools-scm-native"
13RDEPENDS:${PN} += "python3-pathspec python3-pyyaml" 12RDEPENDS:${PN} += "python3-pathspec python3-pyyaml"
14 13
15BBCLASSEXTEND = "native nativesdk" 14BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3-zipp_3.18.1.bb b/meta/recipes-devtools/python/python3-zipp_3.21.0.bb
index e43432469d..135a1ae533 100644
--- a/meta/recipes-devtools/python/python3-zipp_3.18.1.bb
+++ b/meta/recipes-devtools/python/python3-zipp_3.21.0.bb
@@ -3,16 +3,13 @@ HOMEPAGE = "https://github.com/jaraco/zipp"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=141643e11c48898150daa83802dbc65f" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=141643e11c48898150daa83802dbc65f"
5 5
6SRC_URI[sha256sum] = "2884ed22e7d8961de1c9a05142eb69a247f120291bc0206a00a7642f09b5b715" 6SRC_URI[sha256sum] = "2c9958f6430a2040341a52eb608ed6dd93ef4392e02ffe219417c1b28b5dd1f4"
7 7
8DEPENDS += "python3-setuptools-scm-native" 8DEPENDS += "python3-setuptools-scm-native"
9 9
10inherit pypi python_setuptools_build_meta 10inherit pypi python_setuptools_build_meta
11 11
12DEPENDS += "python3-toml-native"
13
14RDEPENDS:${PN} += "python3-compression \ 12RDEPENDS:${PN} += "python3-compression \
15 python3-math \ 13 python3-math"
16 python3-more-itertools"
17 14
18BBCLASSEXTEND = "native nativesdk" 15BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python3/0001-Avoid-shebang-overflow-on-python-config.py.patch b/meta/recipes-devtools/python/python3/0001-Avoid-shebang-overflow-on-python-config.py.patch
index 0d807db39f..81a613c151 100644
--- a/meta/recipes-devtools/python/python3/0001-Avoid-shebang-overflow-on-python-config.py.patch
+++ b/meta/recipes-devtools/python/python3/0001-Avoid-shebang-overflow-on-python-config.py.patch
@@ -1,4 +1,4 @@
1From 365399f17d35719d828ddd49182dcb401fb7791c Mon Sep 17 00:00:00 2001 1From 6b111a328c1c57b1580d63894b2b5d337316f6d4 Mon Sep 17 00:00:00 2001
2From: Paulo Neves <ptsneves@gmail.com> 2From: Paulo Neves <ptsneves@gmail.com>
3Date: Tue, 7 Jun 2022 16:16:41 +0200 3Date: Tue, 7 Jun 2022 16:16:41 +0200
4Subject: [PATCH] Avoid shebang overflow on python-config.py 4Subject: [PATCH] Avoid shebang overflow on python-config.py
@@ -16,10 +16,10 @@ Upstream-Status: Denied [distribution]
16 1 file changed, 2 insertions(+) 16 1 file changed, 2 insertions(+)
17 17
18diff --git a/Makefile.pre.in b/Makefile.pre.in 18diff --git a/Makefile.pre.in b/Makefile.pre.in
19index 77bf09a..6353c57 100644 19index 9ec3a71..f7d5382 100644
20--- a/Makefile.pre.in 20--- a/Makefile.pre.in
21+++ b/Makefile.pre.in 21+++ b/Makefile.pre.in
22@@ -2339,6 +2339,8 @@ python-config: $(srcdir)/Misc/python-config.in Misc/python-config.sh 22@@ -2578,6 +2578,8 @@ python-config: $(srcdir)/Misc/python-config.in Misc/python-config.sh
23 @ # Substitution happens here, as the completely-expanded BINDIR 23 @ # Substitution happens here, as the completely-expanded BINDIR
24 @ # is not available in configure 24 @ # is not available in configure
25 sed -e "s,@EXENAME@,$(EXENAME)," < $(srcdir)/Misc/python-config.in >python-config.py 25 sed -e "s,@EXENAME@,$(EXENAME)," < $(srcdir)/Misc/python-config.in >python-config.py
diff --git a/meta/recipes-devtools/python/python3/0001-Generate-data-for-OpenSSL-3.4-and-add-it-to-multissl.patch b/meta/recipes-devtools/python/python3/0001-Generate-data-for-OpenSSL-3.4-and-add-it-to-multissl.patch
new file mode 100644
index 0000000000..075737e7d1
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/0001-Generate-data-for-OpenSSL-3.4-and-add-it-to-multissl.patch
@@ -0,0 +1,1452 @@
1From db5c5763f3e3172f1dd011355b41469770dafc0f Mon Sep 17 00:00:00 2001
2From: Petr Viktorin <encukou@gmail.com>
3Date: Thu, 28 Nov 2024 13:29:27 +0100
4Subject: [PATCH] gh-127330: Update for OpenSSL 3.4 & document+improve the
5 update process (GH-127331)
6
7- Add `git describe` output to headers generated by `make_ssl_data.py`
8
9 This info is more important than the date when the file was generated.
10 It does mean that the tool now requires a Git checkout of OpenSSL,
11 not for example a release tarball.
12
13- Regenerate the older file to add the info.
14 To the other older file, add a note about manual edits.
15
16- Add notes on how to add a new OpenSSL version
17
18- Add 3.4 error messages and multissl tests
19
20Upstream-Status: Submitted [https://github.com/python/cpython/commit/db5c5763f3e3172f1dd011355b41469770dafc0f]
21Signed-off-by: Peter Marko <peter.marko@siemens.com>
22---
23 Modules/_ssl.c | 2 +-
24 Modules/_ssl_data_111.h | 4 +-
25 Modules/_ssl_data_300.h | 5 +-
26 Modules/{_ssl_data_31.h => _ssl_data_34.h} | 674 ++++++++++++++++++++-
27 Tools/c-analyzer/cpython/_parser.py | 4 +-
28 Tools/ssl/make_ssl_data.py | 34 +-
29 Tools/ssl/multissltests.py | 1 +
30 7 files changed, 714 insertions(+), 10 deletions(-)
31 rename Modules/{_ssl_data_31.h => _ssl_data_34.h} (92%)
32
33diff --git a/Modules/_ssl.c b/Modules/_ssl.c
34index b6b5ebf094c..e5b8bf21002 100644
35--- a/Modules/_ssl.c
36+++ b/Modules/_ssl.c
37@@ -121,7 +121,7 @@ static void _PySSLFixErrno(void) {
38
39 /* Include generated data (error codes) */
40 #if (OPENSSL_VERSION_NUMBER >= 0x30100000L)
41-#include "_ssl_data_31.h"
42+#include "_ssl_data_34.h"
43 #elif (OPENSSL_VERSION_NUMBER >= 0x30000000L)
44 #include "_ssl_data_300.h"
45 #elif (OPENSSL_VERSION_NUMBER >= 0x10101000L)
46diff --git a/Modules/_ssl_data_111.h b/Modules/_ssl_data_111.h
47index 093c786e6a2..061fac2bd58 100644
48--- a/Modules/_ssl_data_111.h
49+++ b/Modules/_ssl_data_111.h
50@@ -1,4 +1,6 @@
51-/* File generated by Tools/ssl/make_ssl_data.py *//* Generated on 2023-06-01T02:58:04.081473 */
52+/* File generated by Tools/ssl/make_ssl_data.py */
53+/* Generated on 2024-11-27T12:48:46.194048+00:00 */
54+/* Generated from Git commit OpenSSL_1_1_1w-0-ge04bd3433f */
55 static struct py_ssl_library_code library_codes[] = {
56 #ifdef ERR_LIB_ASN1
57 {"ASN1", ERR_LIB_ASN1},
58diff --git a/Modules/_ssl_data_300.h b/Modules/_ssl_data_300.h
59index dc66731f6b6..b687ce43c77 100644
60--- a/Modules/_ssl_data_300.h
61+++ b/Modules/_ssl_data_300.h
62@@ -1,4 +1,7 @@
63-/* File generated by Tools/ssl/make_ssl_data.py *//* Generated on 2023-06-01T03:03:52.163218 */
64+/* File generated by Tools/ssl/make_ssl_data.py */
65+/* Generated on 2023-06-01T03:03:52.163218 */
66+/* Manually edited to add definitions from 1.1.1 (GH-105174) */
67+
68 static struct py_ssl_library_code library_codes[] = {
69 #ifdef ERR_LIB_ASN1
70 {"ASN1", ERR_LIB_ASN1},
71diff --git a/Modules/_ssl_data_31.h b/Modules/_ssl_data_34.h
72similarity index 92%
73rename from Modules/_ssl_data_31.h
74rename to Modules/_ssl_data_34.h
75index c589c501f4e..d4af3e1c1fa 100644
76--- a/Modules/_ssl_data_31.h
77+++ b/Modules/_ssl_data_34.h
78@@ -1,4 +1,6 @@
79-/* File generated by Tools/ssl/make_ssl_data.py *//* Generated on 2023-06-01T03:04:00.275280 */
80+/* File generated by Tools/ssl/make_ssl_data.py */
81+/* Generated on 2024-11-27T12:35:52.276767+00:00 */
82+/* Generated from Git commit openssl-3.4.0-0-g98acb6b028 */
83 static struct py_ssl_library_code library_codes[] = {
84 #ifdef ERR_LIB_ASN1
85 {"ASN1", ERR_LIB_ASN1},
86@@ -300,6 +302,11 @@ static struct py_ssl_error_code error_codes[] = {
87 #else
88 {"FIRST_NUM_TOO_LARGE", 13, 122},
89 #endif
90+ #ifdef ASN1_R_GENERALIZEDTIME_IS_TOO_SHORT
91+ {"GENERALIZEDTIME_IS_TOO_SHORT", ERR_LIB_ASN1, ASN1_R_GENERALIZEDTIME_IS_TOO_SHORT},
92+ #else
93+ {"GENERALIZEDTIME_IS_TOO_SHORT", 13, 232},
94+ #endif
95 #ifdef ASN1_R_HEADER_TOO_LONG
96 {"HEADER_TOO_LONG", ERR_LIB_ASN1, ASN1_R_HEADER_TOO_LONG},
97 #else
98@@ -730,6 +737,11 @@ static struct py_ssl_error_code error_codes[] = {
99 #else
100 {"UNSUPPORTED_TYPE", 13, 196},
101 #endif
102+ #ifdef ASN1_R_UTCTIME_IS_TOO_SHORT
103+ {"UTCTIME_IS_TOO_SHORT", ERR_LIB_ASN1, ASN1_R_UTCTIME_IS_TOO_SHORT},
104+ #else
105+ {"UTCTIME_IS_TOO_SHORT", 13, 233},
106+ #endif
107 #ifdef ASN1_R_WRONG_INTEGER_TYPE
108 {"WRONG_INTEGER_TYPE", ERR_LIB_ASN1, ASN1_R_WRONG_INTEGER_TYPE},
109 #else
110@@ -845,6 +857,11 @@ static struct py_ssl_error_code error_codes[] = {
111 #else
112 {"LISTEN_V6_ONLY", 32, 136},
113 #endif
114+ #ifdef BIO_R_LOCAL_ADDR_NOT_AVAILABLE
115+ {"LOCAL_ADDR_NOT_AVAILABLE", ERR_LIB_BIO, BIO_R_LOCAL_ADDR_NOT_AVAILABLE},
116+ #else
117+ {"LOCAL_ADDR_NOT_AVAILABLE", 32, 111},
118+ #endif
119 #ifdef BIO_R_LOOKUP_RETURNED_NOTHING
120 {"LOOKUP_RETURNED_NOTHING", ERR_LIB_BIO, BIO_R_LOOKUP_RETURNED_NOTHING},
121 #else
122@@ -860,6 +877,11 @@ static struct py_ssl_error_code error_codes[] = {
123 #else
124 {"NBIO_CONNECT_ERROR", 32, 110},
125 #endif
126+ #ifdef BIO_R_NON_FATAL
127+ {"NON_FATAL", ERR_LIB_BIO, BIO_R_NON_FATAL},
128+ #else
129+ {"NON_FATAL", 32, 112},
130+ #endif
131 #ifdef BIO_R_NO_ACCEPT_ADDR_OR_SERVICE_SPECIFIED
132 {"NO_ACCEPT_ADDR_OR_SERVICE_SPECIFIED", ERR_LIB_BIO, BIO_R_NO_ACCEPT_ADDR_OR_SERVICE_SPECIFIED},
133 #else
134@@ -880,6 +902,26 @@ static struct py_ssl_error_code error_codes[] = {
135 #else
136 {"NO_SUCH_FILE", 32, 128},
137 #endif
138+ #ifdef BIO_R_PEER_ADDR_NOT_AVAILABLE
139+ {"PEER_ADDR_NOT_AVAILABLE", ERR_LIB_BIO, BIO_R_PEER_ADDR_NOT_AVAILABLE},
140+ #else
141+ {"PEER_ADDR_NOT_AVAILABLE", 32, 114},
142+ #endif
143+ #ifdef BIO_R_PORT_MISMATCH
144+ {"PORT_MISMATCH", ERR_LIB_BIO, BIO_R_PORT_MISMATCH},
145+ #else
146+ {"PORT_MISMATCH", 32, 150},
147+ #endif
148+ #ifdef BIO_R_TFO_DISABLED
149+ {"TFO_DISABLED", ERR_LIB_BIO, BIO_R_TFO_DISABLED},
150+ #else
151+ {"TFO_DISABLED", 32, 106},
152+ #endif
153+ #ifdef BIO_R_TFO_NO_KERNEL_SUPPORT
154+ {"TFO_NO_KERNEL_SUPPORT", ERR_LIB_BIO, BIO_R_TFO_NO_KERNEL_SUPPORT},
155+ #else
156+ {"TFO_NO_KERNEL_SUPPORT", 32, 108},
157+ #endif
158 #ifdef BIO_R_TRANSFER_ERROR
159 {"TRANSFER_ERROR", ERR_LIB_BIO, BIO_R_TRANSFER_ERROR},
160 #else
161@@ -920,6 +962,11 @@ static struct py_ssl_error_code error_codes[] = {
162 #else
163 {"UNABLE_TO_REUSEADDR", 32, 139},
164 #endif
165+ #ifdef BIO_R_UNABLE_TO_TFO
166+ {"UNABLE_TO_TFO", ERR_LIB_BIO, BIO_R_UNABLE_TO_TFO},
167+ #else
168+ {"UNABLE_TO_TFO", 32, 109},
169+ #endif
170 #ifdef BIO_R_UNAVAILABLE_IP_FAMILY
171 {"UNAVAILABLE_IP_FAMILY", ERR_LIB_BIO, BIO_R_UNAVAILABLE_IP_FAMILY},
172 #else
173@@ -1230,6 +1277,11 @@ static struct py_ssl_error_code error_codes[] = {
174 #else
175 {"ERROR_VALIDATING_SIGNATURE", 58, 171},
176 #endif
177+ #ifdef CMP_R_EXPECTED_POLLREQ
178+ {"EXPECTED_POLLREQ", ERR_LIB_CMP, CMP_R_EXPECTED_POLLREQ},
179+ #else
180+ {"EXPECTED_POLLREQ", 58, 104},
181+ #endif
182 #ifdef CMP_R_FAILED_BUILDING_OWN_CHAIN
183 {"FAILED_BUILDING_OWN_CHAIN", ERR_LIB_CMP, CMP_R_FAILED_BUILDING_OWN_CHAIN},
184 #else
185@@ -1250,16 +1302,51 @@ static struct py_ssl_error_code error_codes[] = {
186 #else
187 {"FAIL_INFO_OUT_OF_RANGE", 58, 129},
188 #endif
189+ #ifdef CMP_R_GENERATE_CERTREQTEMPLATE
190+ {"GENERATE_CERTREQTEMPLATE", ERR_LIB_CMP, CMP_R_GENERATE_CERTREQTEMPLATE},
191+ #else
192+ {"GENERATE_CERTREQTEMPLATE", 58, 197},
193+ #endif
194+ #ifdef CMP_R_GENERATE_CRLSTATUS
195+ {"GENERATE_CRLSTATUS", ERR_LIB_CMP, CMP_R_GENERATE_CRLSTATUS},
196+ #else
197+ {"GENERATE_CRLSTATUS", 58, 198},
198+ #endif
199+ #ifdef CMP_R_GETTING_GENP
200+ {"GETTING_GENP", ERR_LIB_CMP, CMP_R_GETTING_GENP},
201+ #else
202+ {"GETTING_GENP", 58, 192},
203+ #endif
204+ #ifdef CMP_R_GET_ITAV
205+ {"GET_ITAV", ERR_LIB_CMP, CMP_R_GET_ITAV},
206+ #else
207+ {"GET_ITAV", 58, 199},
208+ #endif
209 #ifdef CMP_R_INVALID_ARGS
210 {"INVALID_ARGS", ERR_LIB_CMP, CMP_R_INVALID_ARGS},
211 #else
212 {"INVALID_ARGS", 58, 100},
213 #endif
214+ #ifdef CMP_R_INVALID_GENP
215+ {"INVALID_GENP", ERR_LIB_CMP, CMP_R_INVALID_GENP},
216+ #else
217+ {"INVALID_GENP", 58, 193},
218+ #endif
219+ #ifdef CMP_R_INVALID_KEYSPEC
220+ {"INVALID_KEYSPEC", ERR_LIB_CMP, CMP_R_INVALID_KEYSPEC},
221+ #else
222+ {"INVALID_KEYSPEC", 58, 202},
223+ #endif
224 #ifdef CMP_R_INVALID_OPTION
225 {"INVALID_OPTION", ERR_LIB_CMP, CMP_R_INVALID_OPTION},
226 #else
227 {"INVALID_OPTION", 58, 174},
228 #endif
229+ #ifdef CMP_R_INVALID_ROOTCAKEYUPDATE
230+ {"INVALID_ROOTCAKEYUPDATE", ERR_LIB_CMP, CMP_R_INVALID_ROOTCAKEYUPDATE},
231+ #else
232+ {"INVALID_ROOTCAKEYUPDATE", 58, 195},
233+ #endif
234 #ifdef CMP_R_MISSING_CERTID
235 {"MISSING_CERTID", ERR_LIB_CMP, CMP_R_MISSING_CERTID},
236 #else
237@@ -1425,6 +1512,21 @@ static struct py_ssl_error_code error_codes[] = {
238 #else
239 {"TRANSFER_ERROR", 58, 159},
240 #endif
241+ #ifdef CMP_R_UNCLEAN_CTX
242+ {"UNCLEAN_CTX", ERR_LIB_CMP, CMP_R_UNCLEAN_CTX},
243+ #else
244+ {"UNCLEAN_CTX", 58, 191},
245+ #endif
246+ #ifdef CMP_R_UNEXPECTED_CERTPROFILE
247+ {"UNEXPECTED_CERTPROFILE", ERR_LIB_CMP, CMP_R_UNEXPECTED_CERTPROFILE},
248+ #else
249+ {"UNEXPECTED_CERTPROFILE", 58, 196},
250+ #endif
251+ #ifdef CMP_R_UNEXPECTED_CRLSTATUSLIST
252+ {"UNEXPECTED_CRLSTATUSLIST", ERR_LIB_CMP, CMP_R_UNEXPECTED_CRLSTATUSLIST},
253+ #else
254+ {"UNEXPECTED_CRLSTATUSLIST", 58, 201},
255+ #endif
256 #ifdef CMP_R_UNEXPECTED_PKIBODY
257 {"UNEXPECTED_PKIBODY", ERR_LIB_CMP, CMP_R_UNEXPECTED_PKIBODY},
258 #else
259@@ -1435,11 +1537,21 @@ static struct py_ssl_error_code error_codes[] = {
260 #else
261 {"UNEXPECTED_PKISTATUS", 58, 185},
262 #endif
263+ #ifdef CMP_R_UNEXPECTED_POLLREQ
264+ {"UNEXPECTED_POLLREQ", ERR_LIB_CMP, CMP_R_UNEXPECTED_POLLREQ},
265+ #else
266+ {"UNEXPECTED_POLLREQ", 58, 105},
267+ #endif
268 #ifdef CMP_R_UNEXPECTED_PVNO
269 {"UNEXPECTED_PVNO", ERR_LIB_CMP, CMP_R_UNEXPECTED_PVNO},
270 #else
271 {"UNEXPECTED_PVNO", 58, 153},
272 #endif
273+ #ifdef CMP_R_UNEXPECTED_SENDER
274+ {"UNEXPECTED_SENDER", ERR_LIB_CMP, CMP_R_UNEXPECTED_SENDER},
275+ #else
276+ {"UNEXPECTED_SENDER", 58, 106},
277+ #endif
278 #ifdef CMP_R_UNKNOWN_ALGORITHM_ID
279 {"UNKNOWN_ALGORITHM_ID", ERR_LIB_CMP, CMP_R_UNKNOWN_ALGORITHM_ID},
280 #else
281@@ -1450,6 +1562,11 @@ static struct py_ssl_error_code error_codes[] = {
282 #else
283 {"UNKNOWN_CERT_TYPE", 58, 135},
284 #endif
285+ #ifdef CMP_R_UNKNOWN_CRL_ISSUER
286+ {"UNKNOWN_CRL_ISSUER", ERR_LIB_CMP, CMP_R_UNKNOWN_CRL_ISSUER},
287+ #else
288+ {"UNKNOWN_CRL_ISSUER", 58, 200},
289+ #endif
290 #ifdef CMP_R_UNKNOWN_PKISTATUS
291 {"UNKNOWN_PKISTATUS", ERR_LIB_CMP, CMP_R_UNKNOWN_PKISTATUS},
292 #else
293@@ -1465,6 +1582,11 @@ static struct py_ssl_error_code error_codes[] = {
294 #else
295 {"UNSUPPORTED_KEY_TYPE", 58, 137},
296 #endif
297+ #ifdef CMP_R_UNSUPPORTED_PKIBODY
298+ {"UNSUPPORTED_PKIBODY", ERR_LIB_CMP, CMP_R_UNSUPPORTED_PKIBODY},
299+ #else
300+ {"UNSUPPORTED_PKIBODY", 58, 101},
301+ #endif
302 #ifdef CMP_R_UNSUPPORTED_PROTECTION_ALG_DHBASEDMAC
303 {"UNSUPPORTED_PROTECTION_ALG_DHBASEDMAC", ERR_LIB_CMP, CMP_R_UNSUPPORTED_PROTECTION_ALG_DHBASEDMAC},
304 #else
305@@ -1825,6 +1947,11 @@ static struct py_ssl_error_code error_codes[] = {
306 #else
307 {"NO_SIGNERS", 46, 135},
308 #endif
309+ #ifdef CMS_R_OPERATION_UNSUPPORTED
310+ {"OPERATION_UNSUPPORTED", ERR_LIB_CMS, CMS_R_OPERATION_UNSUPPORTED},
311+ #else
312+ {"OPERATION_UNSUPPORTED", 46, 182},
313+ #endif
314 #ifdef CMS_R_PEER_KEY_ERROR
315 {"PEER_KEY_ERROR", ERR_LIB_CMS, CMS_R_PEER_KEY_ERROR},
316 #else
317@@ -1960,6 +2087,11 @@ static struct py_ssl_error_code error_codes[] = {
318 #else
319 {"UNSUPPORTED_RECIPIENT_TYPE", 46, 154},
320 #endif
321+ #ifdef CMS_R_UNSUPPORTED_SIGNATURE_ALGORITHM
322+ {"UNSUPPORTED_SIGNATURE_ALGORITHM", ERR_LIB_CMS, CMS_R_UNSUPPORTED_SIGNATURE_ALGORITHM},
323+ #else
324+ {"UNSUPPORTED_SIGNATURE_ALGORITHM", 46, 195},
325+ #endif
326 #ifdef CMS_R_UNSUPPORTED_TYPE
327 {"UNSUPPORTED_TYPE", ERR_LIB_CMS, CMS_R_UNSUPPORTED_TYPE},
328 #else
329@@ -1985,6 +2117,31 @@ static struct py_ssl_error_code error_codes[] = {
330 #else
331 {"WRAP_ERROR", 46, 159},
332 #endif
333+ #ifdef COMP_R_BROTLI_DECODE_ERROR
334+ {"BROTLI_DECODE_ERROR", ERR_LIB_COMP, COMP_R_BROTLI_DECODE_ERROR},
335+ #else
336+ {"BROTLI_DECODE_ERROR", 41, 102},
337+ #endif
338+ #ifdef COMP_R_BROTLI_DEFLATE_ERROR
339+ {"BROTLI_DEFLATE_ERROR", ERR_LIB_COMP, COMP_R_BROTLI_DEFLATE_ERROR},
340+ #else
341+ {"BROTLI_DEFLATE_ERROR", 41, 103},
342+ #endif
343+ #ifdef COMP_R_BROTLI_ENCODE_ERROR
344+ {"BROTLI_ENCODE_ERROR", ERR_LIB_COMP, COMP_R_BROTLI_ENCODE_ERROR},
345+ #else
346+ {"BROTLI_ENCODE_ERROR", 41, 106},
347+ #endif
348+ #ifdef COMP_R_BROTLI_INFLATE_ERROR
349+ {"BROTLI_INFLATE_ERROR", ERR_LIB_COMP, COMP_R_BROTLI_INFLATE_ERROR},
350+ #else
351+ {"BROTLI_INFLATE_ERROR", 41, 104},
352+ #endif
353+ #ifdef COMP_R_BROTLI_NOT_SUPPORTED
354+ {"BROTLI_NOT_SUPPORTED", ERR_LIB_COMP, COMP_R_BROTLI_NOT_SUPPORTED},
355+ #else
356+ {"BROTLI_NOT_SUPPORTED", 41, 105},
357+ #endif
358 #ifdef COMP_R_ZLIB_DEFLATE_ERROR
359 {"ZLIB_DEFLATE_ERROR", ERR_LIB_COMP, COMP_R_ZLIB_DEFLATE_ERROR},
360 #else
361@@ -2000,6 +2157,26 @@ static struct py_ssl_error_code error_codes[] = {
362 #else
363 {"ZLIB_NOT_SUPPORTED", 41, 101},
364 #endif
365+ #ifdef COMP_R_ZSTD_COMPRESS_ERROR
366+ {"ZSTD_COMPRESS_ERROR", ERR_LIB_COMP, COMP_R_ZSTD_COMPRESS_ERROR},
367+ #else
368+ {"ZSTD_COMPRESS_ERROR", 41, 107},
369+ #endif
370+ #ifdef COMP_R_ZSTD_DECODE_ERROR
371+ {"ZSTD_DECODE_ERROR", ERR_LIB_COMP, COMP_R_ZSTD_DECODE_ERROR},
372+ #else
373+ {"ZSTD_DECODE_ERROR", 41, 108},
374+ #endif
375+ #ifdef COMP_R_ZSTD_DECOMPRESS_ERROR
376+ {"ZSTD_DECOMPRESS_ERROR", ERR_LIB_COMP, COMP_R_ZSTD_DECOMPRESS_ERROR},
377+ #else
378+ {"ZSTD_DECOMPRESS_ERROR", 41, 109},
379+ #endif
380+ #ifdef COMP_R_ZSTD_NOT_SUPPORTED
381+ {"ZSTD_NOT_SUPPORTED", ERR_LIB_COMP, COMP_R_ZSTD_NOT_SUPPORTED},
382+ #else
383+ {"ZSTD_NOT_SUPPORTED", 41, 110},
384+ #endif
385 #ifdef CONF_R_ERROR_LOADING_DSO
386 {"ERROR_LOADING_DSO", ERR_LIB_CONF, CONF_R_ERROR_LOADING_DSO},
387 #else
388@@ -2085,6 +2262,11 @@ static struct py_ssl_error_code error_codes[] = {
389 #else
390 {"RECURSIVE_DIRECTORY_INCLUDE", 14, 111},
391 #endif
392+ #ifdef CONF_R_RECURSIVE_SECTION_REFERENCE
393+ {"RECURSIVE_SECTION_REFERENCE", ERR_LIB_CONF, CONF_R_RECURSIVE_SECTION_REFERENCE},
394+ #else
395+ {"RECURSIVE_SECTION_REFERENCE", 14, 126},
396+ #endif
397 #ifdef CONF_R_RELATIVE_PATH
398 {"RELATIVE_PATH", ERR_LIB_CONF, CONF_R_RELATIVE_PATH},
399 #else
400@@ -2370,6 +2552,11 @@ static struct py_ssl_error_code error_codes[] = {
401 #else
402 {"TOO_MANY_BYTES", 15, 113},
403 #endif
404+ #ifdef CRYPTO_R_TOO_MANY_NAMES
405+ {"TOO_MANY_NAMES", ERR_LIB_CRYPTO, CRYPTO_R_TOO_MANY_NAMES},
406+ #else
407+ {"TOO_MANY_NAMES", 15, 132},
408+ #endif
409 #ifdef CRYPTO_R_TOO_MANY_RECORDS
410 {"TOO_MANY_RECORDS", ERR_LIB_CRYPTO, CRYPTO_R_TOO_MANY_RECORDS},
411 #else
412@@ -2560,6 +2747,11 @@ static struct py_ssl_error_code error_codes[] = {
413 #else
414 {"INVALID_SECRET", 5, 128},
415 #endif
416+ #ifdef DH_R_INVALID_SIZE
417+ {"INVALID_SIZE", ERR_LIB_DH, DH_R_INVALID_SIZE},
418+ #else
419+ {"INVALID_SIZE", 5, 129},
420+ #endif
421 #ifdef DH_R_KDF_PARAMETER_ERROR
422 {"KDF_PARAMETER_ERROR", ERR_LIB_DH, DH_R_KDF_PARAMETER_ERROR},
423 #else
424@@ -2610,6 +2802,11 @@ static struct py_ssl_error_code error_codes[] = {
425 #else
426 {"PEER_KEY_ERROR", 5, 111},
427 #endif
428+ #ifdef DH_R_Q_TOO_LARGE
429+ {"Q_TOO_LARGE", ERR_LIB_DH, DH_R_Q_TOO_LARGE},
430+ #else
431+ {"Q_TOO_LARGE", 5, 130},
432+ #endif
433 #ifdef DH_R_SHARED_INFO_ERROR
434 {"SHARED_INFO_ERROR", ERR_LIB_DH, DH_R_SHARED_INFO_ERROR},
435 #else
436@@ -3545,6 +3742,11 @@ static struct py_ssl_error_code error_codes[] = {
437 #else
438 {"GENERATE_ERROR", 6, 214},
439 #endif
440+ #ifdef EVP_R_GETTING_ALGORITHMIDENTIFIER_NOT_SUPPORTED
441+ {"GETTING_ALGORITHMIDENTIFIER_NOT_SUPPORTED", ERR_LIB_EVP, EVP_R_GETTING_ALGORITHMIDENTIFIER_NOT_SUPPORTED},
442+ #else
443+ {"GETTING_ALGORITHMIDENTIFIER_NOT_SUPPORTED", 6, 229},
444+ #endif
445 #ifdef EVP_R_GET_RAW_KEY_FAILED
446 {"GET_RAW_KEY_FAILED", ERR_LIB_EVP, EVP_R_GET_RAW_KEY_FAILED},
447 #else
448@@ -3745,6 +3947,11 @@ static struct py_ssl_error_code error_codes[] = {
449 #else
450 {"OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE", 6, 150},
451 #endif
452+ #ifdef EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_SIGNATURE_TYPE
453+ {"OPERATION_NOT_SUPPORTED_FOR_THIS_SIGNATURE_TYPE", ERR_LIB_EVP, EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_SIGNATURE_TYPE},
454+ #else
455+ {"OPERATION_NOT_SUPPORTED_FOR_THIS_SIGNATURE_TYPE", 6, 226},
456+ #endif
457 #ifdef EVP_R_OUTPUT_WOULD_OVERFLOW
458 {"OUTPUT_WOULD_OVERFLOW", ERR_LIB_EVP, EVP_R_OUTPUT_WOULD_OVERFLOW},
459 #else
460@@ -3795,6 +4002,11 @@ static struct py_ssl_error_code error_codes[] = {
461 #else
462 {"SET_DEFAULT_PROPERTY_FAILURE", 6, 209},
463 #endif
464+ #ifdef EVP_R_SIGNATURE_TYPE_AND_KEY_TYPE_INCOMPATIBLE
465+ {"SIGNATURE_TYPE_AND_KEY_TYPE_INCOMPATIBLE", ERR_LIB_EVP, EVP_R_SIGNATURE_TYPE_AND_KEY_TYPE_INCOMPATIBLE},
466+ #else
467+ {"SIGNATURE_TYPE_AND_KEY_TYPE_INCOMPATIBLE", 6, 228},
468+ #endif
469 #ifdef EVP_R_TOO_MANY_RECORDS
470 {"TOO_MANY_RECORDS", ERR_LIB_EVP, EVP_R_TOO_MANY_RECORDS},
471 #else
472@@ -3825,6 +4037,11 @@ static struct py_ssl_error_code error_codes[] = {
473 #else
474 {"UNABLE_TO_SET_CALLBACKS", 6, 217},
475 #endif
476+ #ifdef EVP_R_UNKNOWN_BITS
477+ {"UNKNOWN_BITS", ERR_LIB_EVP, EVP_R_UNKNOWN_BITS},
478+ #else
479+ {"UNKNOWN_BITS", 6, 166},
480+ #endif
481 #ifdef EVP_R_UNKNOWN_CIPHER
482 {"UNKNOWN_CIPHER", ERR_LIB_EVP, EVP_R_UNKNOWN_CIPHER},
483 #else
484@@ -3840,6 +4057,11 @@ static struct py_ssl_error_code error_codes[] = {
485 #else
486 {"UNKNOWN_KEY_TYPE", 6, 207},
487 #endif
488+ #ifdef EVP_R_UNKNOWN_MAX_SIZE
489+ {"UNKNOWN_MAX_SIZE", ERR_LIB_EVP, EVP_R_UNKNOWN_MAX_SIZE},
490+ #else
491+ {"UNKNOWN_MAX_SIZE", 6, 167},
492+ #endif
493 #ifdef EVP_R_UNKNOWN_OPTION
494 {"UNKNOWN_OPTION", ERR_LIB_EVP, EVP_R_UNKNOWN_OPTION},
495 #else
496@@ -3850,6 +4072,11 @@ static struct py_ssl_error_code error_codes[] = {
497 #else
498 {"UNKNOWN_PBE_ALGORITHM", 6, 121},
499 #endif
500+ #ifdef EVP_R_UNKNOWN_SECURITY_BITS
501+ {"UNKNOWN_SECURITY_BITS", ERR_LIB_EVP, EVP_R_UNKNOWN_SECURITY_BITS},
502+ #else
503+ {"UNKNOWN_SECURITY_BITS", 6, 168},
504+ #endif
505 #ifdef EVP_R_UNSUPPORTED_ALGORITHM
506 {"UNSUPPORTED_ALGORITHM", ERR_LIB_EVP, EVP_R_UNSUPPORTED_ALGORITHM},
507 #else
508@@ -4040,6 +4267,11 @@ static struct py_ssl_error_code error_codes[] = {
509 #else
510 {"RESPONSE_PARSE_ERROR", 61, 104},
511 #endif
512+ #ifdef HTTP_R_RESPONSE_TOO_MANY_HDRLINES
513+ {"RESPONSE_TOO_MANY_HDRLINES", ERR_LIB_HTTP, HTTP_R_RESPONSE_TOO_MANY_HDRLINES},
514+ #else
515+ {"RESPONSE_TOO_MANY_HDRLINES", 61, 130},
516+ #endif
517 #ifdef HTTP_R_RETRY_TIMEOUT
518 {"RETRY_TIMEOUT", ERR_LIB_HTTP, HTTP_R_RETRY_TIMEOUT},
519 #else
520@@ -4530,6 +4762,11 @@ static struct py_ssl_error_code error_codes[] = {
521 #else
522 {"UNSUPPORTED_PUBLIC_KEY_TYPE", 9, 110},
523 #endif
524+ #ifdef PKCS12_R_CALLBACK_FAILED
525+ {"CALLBACK_FAILED", ERR_LIB_PKCS12, PKCS12_R_CALLBACK_FAILED},
526+ #else
527+ {"CALLBACK_FAILED", 35, 115},
528+ #endif
529 #ifdef PKCS12_R_CANT_PACK_STRUCTURE
530 {"CANT_PACK_STRUCTURE", ERR_LIB_PKCS12, PKCS12_R_CANT_PACK_STRUCTURE},
531 #else
532@@ -4920,6 +5157,11 @@ static struct py_ssl_error_code error_codes[] = {
533 #else
534 {"CIPHER_OPERATION_FAILED", 57, 102},
535 #endif
536+ #ifdef PROV_R_COFACTOR_REQUIRED
537+ {"COFACTOR_REQUIRED", ERR_LIB_PROV, PROV_R_COFACTOR_REQUIRED},
538+ #else
539+ {"COFACTOR_REQUIRED", 57, 236},
540+ #endif
541 #ifdef PROV_R_DERIVATION_FUNCTION_INIT_FAILED
542 {"DERIVATION_FUNCTION_INIT_FAILED", ERR_LIB_PROV, PROV_R_DERIVATION_FUNCTION_INIT_FAILED},
543 #else
544@@ -4935,6 +5177,11 @@ static struct py_ssl_error_code error_codes[] = {
545 #else
546 {"EMS_NOT_ENABLED", 57, 233},
547 #endif
548+ #ifdef PROV_R_ENTROPY_SOURCE_FAILED_CONTINUOUS_TESTS
549+ {"ENTROPY_SOURCE_FAILED_CONTINUOUS_TESTS", ERR_LIB_PROV, PROV_R_ENTROPY_SOURCE_FAILED_CONTINUOUS_TESTS},
550+ #else
551+ {"ENTROPY_SOURCE_FAILED_CONTINUOUS_TESTS", 57, 244},
552+ #endif
553 #ifdef PROV_R_ENTROPY_SOURCE_STRENGTH_TOO_WEAK
554 {"ENTROPY_SOURCE_STRENGTH_TOO_WEAK", ERR_LIB_PROV, PROV_R_ENTROPY_SOURCE_STRENGTH_TOO_WEAK},
555 #else
556@@ -4990,6 +5237,11 @@ static struct py_ssl_error_code error_codes[] = {
557 #else
558 {"FAILED_TO_SIGN", 57, 175},
559 #endif
560+ #ifdef PROV_R_FINAL_CALL_OUT_OF_ORDER
561+ {"FINAL_CALL_OUT_OF_ORDER", ERR_LIB_PROV, PROV_R_FINAL_CALL_OUT_OF_ORDER},
562+ #else
563+ {"FINAL_CALL_OUT_OF_ORDER", 57, 237},
564+ #endif
565 #ifdef PROV_R_FIPS_MODULE_CONDITIONAL_ERROR
566 {"FIPS_MODULE_CONDITIONAL_ERROR", ERR_LIB_PROV, PROV_R_FIPS_MODULE_CONDITIONAL_ERROR},
567 #else
568@@ -5020,6 +5272,11 @@ static struct py_ssl_error_code error_codes[] = {
569 #else
570 {"INDICATOR_INTEGRITY_FAILURE", 57, 210},
571 #endif
572+ #ifdef PROV_R_INIT_CALL_OUT_OF_ORDER
573+ {"INIT_CALL_OUT_OF_ORDER", ERR_LIB_PROV, PROV_R_INIT_CALL_OUT_OF_ORDER},
574+ #else
575+ {"INIT_CALL_OUT_OF_ORDER", 57, 238},
576+ #endif
577 #ifdef PROV_R_INSUFFICIENT_DRBG_STRENGTH
578 {"INSUFFICIENT_DRBG_STRENGTH", ERR_LIB_PROV, PROV_R_INSUFFICIENT_DRBG_STRENGTH},
579 #else
580@@ -5030,6 +5287,11 @@ static struct py_ssl_error_code error_codes[] = {
581 #else
582 {"INVALID_AAD", 57, 108},
583 #endif
584+ #ifdef PROV_R_INVALID_AEAD
585+ {"INVALID_AEAD", ERR_LIB_PROV, PROV_R_INVALID_AEAD},
586+ #else
587+ {"INVALID_AEAD", 57, 231},
588+ #endif
589 #ifdef PROV_R_INVALID_CONFIG_DATA
590 {"INVALID_CONFIG_DATA", ERR_LIB_PROV, PROV_R_INVALID_CONFIG_DATA},
591 #else
592@@ -5070,6 +5332,11 @@ static struct py_ssl_error_code error_codes[] = {
593 #else
594 {"INVALID_DIGEST_SIZE", 57, 218},
595 #endif
596+ #ifdef PROV_R_INVALID_EDDSA_INSTANCE_FOR_ATTEMPTED_OPERATION
597+ {"INVALID_EDDSA_INSTANCE_FOR_ATTEMPTED_OPERATION", ERR_LIB_PROV, PROV_R_INVALID_EDDSA_INSTANCE_FOR_ATTEMPTED_OPERATION},
598+ #else
599+ {"INVALID_EDDSA_INSTANCE_FOR_ATTEMPTED_OPERATION", 57, 243},
600+ #endif
601 #ifdef PROV_R_INVALID_INPUT_LENGTH
602 {"INVALID_INPUT_LENGTH", ERR_LIB_PROV, PROV_R_INVALID_INPUT_LENGTH},
603 #else
604@@ -5085,6 +5352,11 @@ static struct py_ssl_error_code error_codes[] = {
605 #else
606 {"INVALID_IV_LENGTH", 57, 109},
607 #endif
608+ #ifdef PROV_R_INVALID_KDF
609+ {"INVALID_KDF", ERR_LIB_PROV, PROV_R_INVALID_KDF},
610+ #else
611+ {"INVALID_KDF", 57, 232},
612+ #endif
613 #ifdef PROV_R_INVALID_KEY
614 {"INVALID_KEY", ERR_LIB_PROV, PROV_R_INVALID_KEY},
615 #else
616@@ -5100,6 +5372,11 @@ static struct py_ssl_error_code error_codes[] = {
617 #else
618 {"INVALID_MAC", 57, 151},
619 #endif
620+ #ifdef PROV_R_INVALID_MEMORY_SIZE
621+ {"INVALID_MEMORY_SIZE", ERR_LIB_PROV, PROV_R_INVALID_MEMORY_SIZE},
622+ #else
623+ {"INVALID_MEMORY_SIZE", 57, 235},
624+ #endif
625 #ifdef PROV_R_INVALID_MGF1_MD
626 {"INVALID_MGF1_MD", ERR_LIB_PROV, PROV_R_INVALID_MGF1_MD},
627 #else
628@@ -5120,6 +5397,11 @@ static struct py_ssl_error_code error_codes[] = {
629 #else
630 {"INVALID_PADDING_MODE", 57, 168},
631 #endif
632+ #ifdef PROV_R_INVALID_PREHASHED_DIGEST_LENGTH
633+ {"INVALID_PREHASHED_DIGEST_LENGTH", ERR_LIB_PROV, PROV_R_INVALID_PREHASHED_DIGEST_LENGTH},
634+ #else
635+ {"INVALID_PREHASHED_DIGEST_LENGTH", 57, 241},
636+ #endif
637 #ifdef PROV_R_INVALID_PUBINFO
638 {"INVALID_PUBINFO", ERR_LIB_PROV, PROV_R_INVALID_PUBINFO},
639 #else
640@@ -5155,6 +5437,11 @@ static struct py_ssl_error_code error_codes[] = {
641 #else
642 {"INVALID_TAG_LENGTH", 57, 118},
643 #endif
644+ #ifdef PROV_R_INVALID_THREAD_POOL_SIZE
645+ {"INVALID_THREAD_POOL_SIZE", ERR_LIB_PROV, PROV_R_INVALID_THREAD_POOL_SIZE},
646+ #else
647+ {"INVALID_THREAD_POOL_SIZE", 57, 234},
648+ #endif
649 #ifdef PROV_R_INVALID_UKM_LENGTH
650 {"INVALID_UKM_LENGTH", ERR_LIB_PROV, PROV_R_INVALID_UKM_LENGTH},
651 #else
652@@ -5300,6 +5587,11 @@ static struct py_ssl_error_code error_codes[] = {
653 #else
654 {"NOT_XOF_OR_INVALID_LENGTH", 57, 113},
655 #endif
656+ #ifdef PROV_R_NO_INSTANCE_ALLOWED
657+ {"NO_INSTANCE_ALLOWED", ERR_LIB_PROV, PROV_R_NO_INSTANCE_ALLOWED},
658+ #else
659+ {"NO_INSTANCE_ALLOWED", 57, 242},
660+ #endif
661 #ifdef PROV_R_NO_KEY_SET
662 {"NO_KEY_SET", ERR_LIB_PROV, PROV_R_NO_KEY_SET},
663 #else
664@@ -5310,6 +5602,11 @@ static struct py_ssl_error_code error_codes[] = {
665 #else
666 {"NO_PARAMETERS_SET", 57, 177},
667 #endif
668+ #ifdef PROV_R_ONESHOT_CALL_OUT_OF_ORDER
669+ {"ONESHOT_CALL_OUT_OF_ORDER", ERR_LIB_PROV, PROV_R_ONESHOT_CALL_OUT_OF_ORDER},
670+ #else
671+ {"ONESHOT_CALL_OUT_OF_ORDER", 57, 239},
672+ #endif
673 #ifdef PROV_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE
674 {"OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE", ERR_LIB_PROV, PROV_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE},
675 #else
676@@ -5460,6 +5757,11 @@ static struct py_ssl_error_code error_codes[] = {
677 #else
678 {"UNSUPPORTED_NUMBER_OF_ROUNDS", 57, 152},
679 #endif
680+ #ifdef PROV_R_UPDATE_CALL_OUT_OF_ORDER
681+ {"UPDATE_CALL_OUT_OF_ORDER", ERR_LIB_PROV, PROV_R_UPDATE_CALL_OUT_OF_ORDER},
682+ #else
683+ {"UPDATE_CALL_OUT_OF_ORDER", 57, 240},
684+ #endif
685 #ifdef PROV_R_URI_AUTHORITY_UNSUPPORTED
686 {"URI_AUTHORITY_UNSUPPORTED", ERR_LIB_PROV, PROV_R_URI_AUTHORITY_UNSUPPORTED},
687 #else
688@@ -5595,6 +5897,11 @@ static struct py_ssl_error_code error_codes[] = {
689 #else
690 {"INTERNAL_ERROR", 36, 113},
691 #endif
692+ #ifdef RAND_R_INVALID_PROPERTY_QUERY
693+ {"INVALID_PROPERTY_QUERY", ERR_LIB_RAND, RAND_R_INVALID_PROPERTY_QUERY},
694+ #else
695+ {"INVALID_PROPERTY_QUERY", 36, 137},
696+ #endif
697 #ifdef RAND_R_IN_ERROR_STATE
698 {"IN_ERROR_STATE", ERR_LIB_RAND, RAND_R_IN_ERROR_STATE},
699 #else
700@@ -6210,6 +6517,11 @@ static struct py_ssl_error_code error_codes[] = {
701 #else
702 {"AT_LEAST_TLS_1_2_NEEDED_IN_SUITEB_MODE", 20, 158},
703 #endif
704+ #ifdef SSL_R_BAD_CERTIFICATE
705+ {"BAD_CERTIFICATE", ERR_LIB_SSL, SSL_R_BAD_CERTIFICATE},
706+ #else
707+ {"BAD_CERTIFICATE", 20, 348},
708+ #endif
709 #ifdef SSL_R_BAD_CHANGE_CIPHER_SPEC
710 {"BAD_CHANGE_CIPHER_SPEC", ERR_LIB_SSL, SSL_R_BAD_CHANGE_CIPHER_SPEC},
711 #else
712@@ -6220,6 +6532,11 @@ static struct py_ssl_error_code error_codes[] = {
713 #else
714 {"BAD_CIPHER", 20, 186},
715 #endif
716+ #ifdef SSL_R_BAD_COMPRESSION_ALGORITHM
717+ {"BAD_COMPRESSION_ALGORITHM", ERR_LIB_SSL, SSL_R_BAD_COMPRESSION_ALGORITHM},
718+ #else
719+ {"BAD_COMPRESSION_ALGORITHM", 20, 326},
720+ #endif
721 #ifdef SSL_R_BAD_DATA
722 {"BAD_DATA", ERR_LIB_SSL, SSL_R_BAD_DATA},
723 #else
724@@ -6495,6 +6812,11 @@ static struct py_ssl_error_code error_codes[] = {
725 #else
726 {"CONNECTION_TYPE_NOT_SET", 20, 144},
727 #endif
728+ #ifdef SSL_R_CONN_USE_ONLY
729+ {"CONN_USE_ONLY", ERR_LIB_SSL, SSL_R_CONN_USE_ONLY},
730+ #else
731+ {"CONN_USE_ONLY", 20, 356},
732+ #endif
733 #ifdef SSL_R_CONTEXT_NOT_DANE_ENABLED
734 {"CONTEXT_NOT_DANE_ENABLED", ERR_LIB_SSL, SSL_R_CONTEXT_NOT_DANE_ENABLED},
735 #else
736@@ -6635,6 +6957,11 @@ static struct py_ssl_error_code error_codes[] = {
737 #else
738 {"EE_KEY_TOO_SMALL", 20, 399},
739 #endif
740+ #ifdef SSL_R_EMPTY_RAW_PUBLIC_KEY
741+ {"EMPTY_RAW_PUBLIC_KEY", ERR_LIB_SSL, SSL_R_EMPTY_RAW_PUBLIC_KEY},
742+ #else
743+ {"EMPTY_RAW_PUBLIC_KEY", 20, 349},
744+ #endif
745 #ifdef SSL_R_EMPTY_SRTP_PROTECTION_PROFILE_LIST
746 {"EMPTY_SRTP_PROTECTION_PROFILE_LIST", ERR_LIB_SSL, SSL_R_EMPTY_SRTP_PROTECTION_PROFILE_LIST},
747 #else
748@@ -6650,6 +6977,11 @@ static struct py_ssl_error_code error_codes[] = {
749 #else
750 {"ERROR_IN_RECEIVED_CIPHER_LIST", 20, 151},
751 #endif
752+ #ifdef SSL_R_ERROR_IN_SYSTEM_DEFAULT_CONFIG
753+ {"ERROR_IN_SYSTEM_DEFAULT_CONFIG", ERR_LIB_SSL, SSL_R_ERROR_IN_SYSTEM_DEFAULT_CONFIG},
754+ #else
755+ {"ERROR_IN_SYSTEM_DEFAULT_CONFIG", 20, 419},
756+ #endif
757 #ifdef SSL_R_ERROR_SETTING_TLSA_BASE_DOMAIN
758 {"ERROR_SETTING_TLSA_BASE_DOMAIN", ERR_LIB_SSL, SSL_R_ERROR_SETTING_TLSA_BASE_DOMAIN},
759 #else
760@@ -6680,11 +7012,26 @@ static struct py_ssl_error_code error_codes[] = {
761 #else
762 {"EXT_LENGTH_MISMATCH", 20, 163},
763 #endif
764+ #ifdef SSL_R_FAILED_TO_GET_PARAMETER
765+ {"FAILED_TO_GET_PARAMETER", ERR_LIB_SSL, SSL_R_FAILED_TO_GET_PARAMETER},
766+ #else
767+ {"FAILED_TO_GET_PARAMETER", 20, 316},
768+ #endif
769 #ifdef SSL_R_FAILED_TO_INIT_ASYNC
770 {"FAILED_TO_INIT_ASYNC", ERR_LIB_SSL, SSL_R_FAILED_TO_INIT_ASYNC},
771 #else
772 {"FAILED_TO_INIT_ASYNC", 20, 405},
773 #endif
774+ #ifdef SSL_R_FEATURE_NEGOTIATION_NOT_COMPLETE
775+ {"FEATURE_NEGOTIATION_NOT_COMPLETE", ERR_LIB_SSL, SSL_R_FEATURE_NEGOTIATION_NOT_COMPLETE},
776+ #else
777+ {"FEATURE_NEGOTIATION_NOT_COMPLETE", 20, 417},
778+ #endif
779+ #ifdef SSL_R_FEATURE_NOT_RENEGOTIABLE
780+ {"FEATURE_NOT_RENEGOTIABLE", ERR_LIB_SSL, SSL_R_FEATURE_NOT_RENEGOTIABLE},
781+ #else
782+ {"FEATURE_NOT_RENEGOTIABLE", 20, 413},
783+ #endif
784 #ifdef SSL_R_FRAGMENTED_CLIENT_HELLO
785 {"FRAGMENTED_CLIENT_HELLO", ERR_LIB_SSL, SSL_R_FRAGMENTED_CLIENT_HELLO},
786 #else
787@@ -6805,6 +7152,16 @@ static struct py_ssl_error_code error_codes[] = {
788 #else
789 {"INVALID_NULL_CMD_NAME", 20, 385},
790 #endif
791+ #ifdef SSL_R_INVALID_RAW_PUBLIC_KEY
792+ {"INVALID_RAW_PUBLIC_KEY", ERR_LIB_SSL, SSL_R_INVALID_RAW_PUBLIC_KEY},
793+ #else
794+ {"INVALID_RAW_PUBLIC_KEY", 20, 350},
795+ #endif
796+ #ifdef SSL_R_INVALID_RECORD
797+ {"INVALID_RECORD", ERR_LIB_SSL, SSL_R_INVALID_RECORD},
798+ #else
799+ {"INVALID_RECORD", 20, 317},
800+ #endif
801 #ifdef SSL_R_INVALID_SEQUENCE_NUMBER
802 {"INVALID_SEQUENCE_NUMBER", ERR_LIB_SSL, SSL_R_INVALID_SEQUENCE_NUMBER},
803 #else
804@@ -6865,6 +7222,11 @@ static struct py_ssl_error_code error_codes[] = {
805 #else
806 {"LIBRARY_HAS_NO_CIPHERS", 20, 161},
807 #endif
808+ #ifdef SSL_R_MAXIMUM_ENCRYPTED_PKTS_REACHED
809+ {"MAXIMUM_ENCRYPTED_PKTS_REACHED", ERR_LIB_SSL, SSL_R_MAXIMUM_ENCRYPTED_PKTS_REACHED},
810+ #else
811+ {"MAXIMUM_ENCRYPTED_PKTS_REACHED", 20, 395},
812+ #endif
813 #ifdef SSL_R_MISSING_DSA_SIGNING_CERT
814 {"MISSING_DSA_SIGNING_CERT", ERR_LIB_SSL, SSL_R_MISSING_DSA_SIGNING_CERT},
815 #else
816@@ -6925,6 +7287,11 @@ static struct py_ssl_error_code error_codes[] = {
817 #else
818 {"MISSING_SUPPORTED_GROUPS_EXTENSION", 20, 209},
819 #endif
820+ #ifdef SSL_R_MISSING_SUPPORTED_VERSIONS_EXTENSION
821+ {"MISSING_SUPPORTED_VERSIONS_EXTENSION", ERR_LIB_SSL, SSL_R_MISSING_SUPPORTED_VERSIONS_EXTENSION},
822+ #else
823+ {"MISSING_SUPPORTED_VERSIONS_EXTENSION", 20, 420},
824+ #endif
825 #ifdef SSL_R_MISSING_TMP_DH_KEY
826 {"MISSING_TMP_DH_KEY", ERR_LIB_SSL, SSL_R_MISSING_TMP_DH_KEY},
827 #else
828@@ -7065,6 +7432,11 @@ static struct py_ssl_error_code error_codes[] = {
829 #else
830 {"NO_SRTP_PROFILES", 20, 359},
831 #endif
832+ #ifdef SSL_R_NO_STREAM
833+ {"NO_STREAM", ERR_LIB_SSL, SSL_R_NO_STREAM},
834+ #else
835+ {"NO_STREAM", 20, 355},
836+ #endif
837 #ifdef SSL_R_NO_SUITABLE_DIGEST_ALGORITHM
838 {"NO_SUITABLE_DIGEST_ALGORITHM", ERR_LIB_SSL, SSL_R_NO_SUITABLE_DIGEST_ALGORITHM},
839 #else
840@@ -7080,6 +7452,11 @@ static struct py_ssl_error_code error_codes[] = {
841 #else
842 {"NO_SUITABLE_KEY_SHARE", 20, 101},
843 #endif
844+ #ifdef SSL_R_NO_SUITABLE_RECORD_LAYER
845+ {"NO_SUITABLE_RECORD_LAYER", ERR_LIB_SSL, SSL_R_NO_SUITABLE_RECORD_LAYER},
846+ #else
847+ {"NO_SUITABLE_RECORD_LAYER", 20, 322},
848+ #endif
849 #ifdef SSL_R_NO_SUITABLE_SIGNATURE_ALGORITHM
850 {"NO_SUITABLE_SIGNATURE_ALGORITHM", ERR_LIB_SSL, SSL_R_NO_SUITABLE_SIGNATURE_ALGORITHM},
851 #else
852@@ -7160,6 +7537,11 @@ static struct py_ssl_error_code error_codes[] = {
853 #else
854 {"PIPELINE_FAILURE", 20, 406},
855 #endif
856+ #ifdef SSL_R_POLL_REQUEST_NOT_SUPPORTED
857+ {"POLL_REQUEST_NOT_SUPPORTED", ERR_LIB_SSL, SSL_R_POLL_REQUEST_NOT_SUPPORTED},
858+ #else
859+ {"POLL_REQUEST_NOT_SUPPORTED", 20, 418},
860+ #endif
861 #ifdef SSL_R_POST_HANDSHAKE_AUTH_ENCODING_ERR
862 {"POST_HANDSHAKE_AUTH_ENCODING_ERR", ERR_LIB_SSL, SSL_R_POST_HANDSHAKE_AUTH_ENCODING_ERR},
863 #else
864@@ -7190,6 +7572,21 @@ static struct py_ssl_error_code error_codes[] = {
865 #else
866 {"PSK_NO_SERVER_CB", 20, 225},
867 #endif
868+ #ifdef SSL_R_QUIC_HANDSHAKE_LAYER_ERROR
869+ {"QUIC_HANDSHAKE_LAYER_ERROR", ERR_LIB_SSL, SSL_R_QUIC_HANDSHAKE_LAYER_ERROR},
870+ #else
871+ {"QUIC_HANDSHAKE_LAYER_ERROR", 20, 393},
872+ #endif
873+ #ifdef SSL_R_QUIC_NETWORK_ERROR
874+ {"QUIC_NETWORK_ERROR", ERR_LIB_SSL, SSL_R_QUIC_NETWORK_ERROR},
875+ #else
876+ {"QUIC_NETWORK_ERROR", 20, 387},
877+ #endif
878+ #ifdef SSL_R_QUIC_PROTOCOL_ERROR
879+ {"QUIC_PROTOCOL_ERROR", ERR_LIB_SSL, SSL_R_QUIC_PROTOCOL_ERROR},
880+ #else
881+ {"QUIC_PROTOCOL_ERROR", 20, 382},
882+ #endif
883 #ifdef SSL_R_READ_BIO_NOT_SET
884 {"READ_BIO_NOT_SET", ERR_LIB_SSL, SSL_R_READ_BIO_NOT_SET},
885 #else
886@@ -7200,6 +7597,16 @@ static struct py_ssl_error_code error_codes[] = {
887 #else
888 {"READ_TIMEOUT_EXPIRED", 20, 312},
889 #endif
890+ #ifdef SSL_R_RECORDS_NOT_RELEASED
891+ {"RECORDS_NOT_RELEASED", ERR_LIB_SSL, SSL_R_RECORDS_NOT_RELEASED},
892+ #else
893+ {"RECORDS_NOT_RELEASED", 20, 321},
894+ #endif
895+ #ifdef SSL_R_RECORD_LAYER_FAILURE
896+ {"RECORD_LAYER_FAILURE", ERR_LIB_SSL, SSL_R_RECORD_LAYER_FAILURE},
897+ #else
898+ {"RECORD_LAYER_FAILURE", 20, 313},
899+ #endif
900 #ifdef SSL_R_RECORD_LENGTH_MISMATCH
901 {"RECORD_LENGTH_MISMATCH", ERR_LIB_SSL, SSL_R_RECORD_LENGTH_MISMATCH},
902 #else
903@@ -7210,6 +7617,11 @@ static struct py_ssl_error_code error_codes[] = {
904 #else
905 {"RECORD_TOO_SMALL", 20, 298},
906 #endif
907+ #ifdef SSL_R_REMOTE_PEER_ADDRESS_NOT_SET
908+ {"REMOTE_PEER_ADDRESS_NOT_SET", ERR_LIB_SSL, SSL_R_REMOTE_PEER_ADDRESS_NOT_SET},
909+ #else
910+ {"REMOTE_PEER_ADDRESS_NOT_SET", 20, 346},
911+ #endif
912 #ifdef SSL_R_RENEGOTIATE_EXT_TOO_LONG
913 {"RENEGOTIATE_EXT_TOO_LONG", ERR_LIB_SSL, SSL_R_RENEGOTIATE_EXT_TOO_LONG},
914 #else
915@@ -7255,6 +7667,11 @@ static struct py_ssl_error_code error_codes[] = {
916 #else
917 {"SCT_VERIFICATION_FAILED", 20, 208},
918 #endif
919+ #ifdef SSL_R_SEQUENCE_CTR_WRAPPED
920+ {"SEQUENCE_CTR_WRAPPED", ERR_LIB_SSL, SSL_R_SEQUENCE_CTR_WRAPPED},
921+ #else
922+ {"SEQUENCE_CTR_WRAPPED", 20, 327},
923+ #endif
924 #ifdef SSL_R_SERVERHELLO_TLSEXT
925 {"SERVERHELLO_TLSEXT", ERR_LIB_SSL, SSL_R_SERVERHELLO_TLSEXT},
926 #else
927@@ -7325,6 +7742,16 @@ static struct py_ssl_error_code error_codes[] = {
928 #else
929 {"SSLV3_ALERT_BAD_CERTIFICATE", 20, 1042},
930 #endif
931+ #ifdef SSL_R_SSLV3_ALERT_BAD_CERTIFICATE
932+ {"SSLV3_ALERT_BAD_CERTIFICATE", ERR_LIB_SSL, SSL_R_SSLV3_ALERT_BAD_CERTIFICATE},
933+ #else
934+ {"SSLV3_ALERT_BAD_CERTIFICATE", 20, 1042},
935+ #endif
936+ #ifdef SSL_R_SSLV3_ALERT_BAD_RECORD_MAC
937+ {"SSLV3_ALERT_BAD_RECORD_MAC", ERR_LIB_SSL, SSL_R_SSLV3_ALERT_BAD_RECORD_MAC},
938+ #else
939+ {"SSLV3_ALERT_BAD_RECORD_MAC", 20, 1020},
940+ #endif
941 #ifdef SSL_R_SSLV3_ALERT_BAD_RECORD_MAC
942 {"SSLV3_ALERT_BAD_RECORD_MAC", ERR_LIB_SSL, SSL_R_SSLV3_ALERT_BAD_RECORD_MAC},
943 #else
944@@ -7335,11 +7762,26 @@ static struct py_ssl_error_code error_codes[] = {
945 #else
946 {"SSLV3_ALERT_CERTIFICATE_EXPIRED", 20, 1045},
947 #endif
948+ #ifdef SSL_R_SSLV3_ALERT_CERTIFICATE_EXPIRED
949+ {"SSLV3_ALERT_CERTIFICATE_EXPIRED", ERR_LIB_SSL, SSL_R_SSLV3_ALERT_CERTIFICATE_EXPIRED},
950+ #else
951+ {"SSLV3_ALERT_CERTIFICATE_EXPIRED", 20, 1045},
952+ #endif
953 #ifdef SSL_R_SSLV3_ALERT_CERTIFICATE_REVOKED
954 {"SSLV3_ALERT_CERTIFICATE_REVOKED", ERR_LIB_SSL, SSL_R_SSLV3_ALERT_CERTIFICATE_REVOKED},
955 #else
956 {"SSLV3_ALERT_CERTIFICATE_REVOKED", 20, 1044},
957 #endif
958+ #ifdef SSL_R_SSLV3_ALERT_CERTIFICATE_REVOKED
959+ {"SSLV3_ALERT_CERTIFICATE_REVOKED", ERR_LIB_SSL, SSL_R_SSLV3_ALERT_CERTIFICATE_REVOKED},
960+ #else
961+ {"SSLV3_ALERT_CERTIFICATE_REVOKED", 20, 1044},
962+ #endif
963+ #ifdef SSL_R_SSLV3_ALERT_CERTIFICATE_UNKNOWN
964+ {"SSLV3_ALERT_CERTIFICATE_UNKNOWN", ERR_LIB_SSL, SSL_R_SSLV3_ALERT_CERTIFICATE_UNKNOWN},
965+ #else
966+ {"SSLV3_ALERT_CERTIFICATE_UNKNOWN", 20, 1046},
967+ #endif
968 #ifdef SSL_R_SSLV3_ALERT_CERTIFICATE_UNKNOWN
969 {"SSLV3_ALERT_CERTIFICATE_UNKNOWN", ERR_LIB_SSL, SSL_R_SSLV3_ALERT_CERTIFICATE_UNKNOWN},
970 #else
971@@ -7350,6 +7792,16 @@ static struct py_ssl_error_code error_codes[] = {
972 #else
973 {"SSLV3_ALERT_DECOMPRESSION_FAILURE", 20, 1030},
974 #endif
975+ #ifdef SSL_R_SSLV3_ALERT_DECOMPRESSION_FAILURE
976+ {"SSLV3_ALERT_DECOMPRESSION_FAILURE", ERR_LIB_SSL, SSL_R_SSLV3_ALERT_DECOMPRESSION_FAILURE},
977+ #else
978+ {"SSLV3_ALERT_DECOMPRESSION_FAILURE", 20, 1030},
979+ #endif
980+ #ifdef SSL_R_SSLV3_ALERT_HANDSHAKE_FAILURE
981+ {"SSLV3_ALERT_HANDSHAKE_FAILURE", ERR_LIB_SSL, SSL_R_SSLV3_ALERT_HANDSHAKE_FAILURE},
982+ #else
983+ {"SSLV3_ALERT_HANDSHAKE_FAILURE", 20, 1040},
984+ #endif
985 #ifdef SSL_R_SSLV3_ALERT_HANDSHAKE_FAILURE
986 {"SSLV3_ALERT_HANDSHAKE_FAILURE", ERR_LIB_SSL, SSL_R_SSLV3_ALERT_HANDSHAKE_FAILURE},
987 #else
988@@ -7360,11 +7812,26 @@ static struct py_ssl_error_code error_codes[] = {
989 #else
990 {"SSLV3_ALERT_ILLEGAL_PARAMETER", 20, 1047},
991 #endif
992+ #ifdef SSL_R_SSLV3_ALERT_ILLEGAL_PARAMETER
993+ {"SSLV3_ALERT_ILLEGAL_PARAMETER", ERR_LIB_SSL, SSL_R_SSLV3_ALERT_ILLEGAL_PARAMETER},
994+ #else
995+ {"SSLV3_ALERT_ILLEGAL_PARAMETER", 20, 1047},
996+ #endif
997 #ifdef SSL_R_SSLV3_ALERT_NO_CERTIFICATE
998 {"SSLV3_ALERT_NO_CERTIFICATE", ERR_LIB_SSL, SSL_R_SSLV3_ALERT_NO_CERTIFICATE},
999 #else
1000 {"SSLV3_ALERT_NO_CERTIFICATE", 20, 1041},
1001 #endif
1002+ #ifdef SSL_R_SSLV3_ALERT_NO_CERTIFICATE
1003+ {"SSLV3_ALERT_NO_CERTIFICATE", ERR_LIB_SSL, SSL_R_SSLV3_ALERT_NO_CERTIFICATE},
1004+ #else
1005+ {"SSLV3_ALERT_NO_CERTIFICATE", 20, 1041},
1006+ #endif
1007+ #ifdef SSL_R_SSLV3_ALERT_UNEXPECTED_MESSAGE
1008+ {"SSLV3_ALERT_UNEXPECTED_MESSAGE", ERR_LIB_SSL, SSL_R_SSLV3_ALERT_UNEXPECTED_MESSAGE},
1009+ #else
1010+ {"SSLV3_ALERT_UNEXPECTED_MESSAGE", 20, 1010},
1011+ #endif
1012 #ifdef SSL_R_SSLV3_ALERT_UNEXPECTED_MESSAGE
1013 {"SSLV3_ALERT_UNEXPECTED_MESSAGE", ERR_LIB_SSL, SSL_R_SSLV3_ALERT_UNEXPECTED_MESSAGE},
1014 #else
1015@@ -7375,6 +7842,11 @@ static struct py_ssl_error_code error_codes[] = {
1016 #else
1017 {"SSLV3_ALERT_UNSUPPORTED_CERTIFICATE", 20, 1043},
1018 #endif
1019+ #ifdef SSL_R_SSLV3_ALERT_UNSUPPORTED_CERTIFICATE
1020+ {"SSLV3_ALERT_UNSUPPORTED_CERTIFICATE", ERR_LIB_SSL, SSL_R_SSLV3_ALERT_UNSUPPORTED_CERTIFICATE},
1021+ #else
1022+ {"SSLV3_ALERT_UNSUPPORTED_CERTIFICATE", 20, 1043},
1023+ #endif
1024 #ifdef SSL_R_SSL_COMMAND_SECTION_EMPTY
1025 {"SSL_COMMAND_SECTION_EMPTY", ERR_LIB_SSL, SSL_R_SSL_COMMAND_SECTION_EMPTY},
1026 #else
1027@@ -7450,6 +7922,36 @@ static struct py_ssl_error_code error_codes[] = {
1028 #else
1029 {"STILL_IN_INIT", 20, 121},
1030 #endif
1031+ #ifdef SSL_R_STREAM_COUNT_LIMITED
1032+ {"STREAM_COUNT_LIMITED", ERR_LIB_SSL, SSL_R_STREAM_COUNT_LIMITED},
1033+ #else
1034+ {"STREAM_COUNT_LIMITED", 20, 411},
1035+ #endif
1036+ #ifdef SSL_R_STREAM_FINISHED
1037+ {"STREAM_FINISHED", ERR_LIB_SSL, SSL_R_STREAM_FINISHED},
1038+ #else
1039+ {"STREAM_FINISHED", 20, 365},
1040+ #endif
1041+ #ifdef SSL_R_STREAM_RECV_ONLY
1042+ {"STREAM_RECV_ONLY", ERR_LIB_SSL, SSL_R_STREAM_RECV_ONLY},
1043+ #else
1044+ {"STREAM_RECV_ONLY", 20, 366},
1045+ #endif
1046+ #ifdef SSL_R_STREAM_RESET
1047+ {"STREAM_RESET", ERR_LIB_SSL, SSL_R_STREAM_RESET},
1048+ #else
1049+ {"STREAM_RESET", 20, 375},
1050+ #endif
1051+ #ifdef SSL_R_STREAM_SEND_ONLY
1052+ {"STREAM_SEND_ONLY", ERR_LIB_SSL, SSL_R_STREAM_SEND_ONLY},
1053+ #else
1054+ {"STREAM_SEND_ONLY", 20, 379},
1055+ #endif
1056+ #ifdef SSL_R_TLSV13_ALERT_CERTIFICATE_REQUIRED
1057+ {"TLSV13_ALERT_CERTIFICATE_REQUIRED", ERR_LIB_SSL, SSL_R_TLSV13_ALERT_CERTIFICATE_REQUIRED},
1058+ #else
1059+ {"TLSV13_ALERT_CERTIFICATE_REQUIRED", 20, 1116},
1060+ #endif
1061 #ifdef SSL_R_TLSV13_ALERT_CERTIFICATE_REQUIRED
1062 {"TLSV13_ALERT_CERTIFICATE_REQUIRED", ERR_LIB_SSL, SSL_R_TLSV13_ALERT_CERTIFICATE_REQUIRED},
1063 #else
1064@@ -7460,6 +7962,16 @@ static struct py_ssl_error_code error_codes[] = {
1065 #else
1066 {"TLSV13_ALERT_MISSING_EXTENSION", 20, 1109},
1067 #endif
1068+ #ifdef SSL_R_TLSV13_ALERT_MISSING_EXTENSION
1069+ {"TLSV13_ALERT_MISSING_EXTENSION", ERR_LIB_SSL, SSL_R_TLSV13_ALERT_MISSING_EXTENSION},
1070+ #else
1071+ {"TLSV13_ALERT_MISSING_EXTENSION", 20, 1109},
1072+ #endif
1073+ #ifdef SSL_R_TLSV1_ALERT_ACCESS_DENIED
1074+ {"TLSV1_ALERT_ACCESS_DENIED", ERR_LIB_SSL, SSL_R_TLSV1_ALERT_ACCESS_DENIED},
1075+ #else
1076+ {"TLSV1_ALERT_ACCESS_DENIED", 20, 1049},
1077+ #endif
1078 #ifdef SSL_R_TLSV1_ALERT_ACCESS_DENIED
1079 {"TLSV1_ALERT_ACCESS_DENIED", ERR_LIB_SSL, SSL_R_TLSV1_ALERT_ACCESS_DENIED},
1080 #else
1081@@ -7470,6 +7982,16 @@ static struct py_ssl_error_code error_codes[] = {
1082 #else
1083 {"TLSV1_ALERT_DECODE_ERROR", 20, 1050},
1084 #endif
1085+ #ifdef SSL_R_TLSV1_ALERT_DECODE_ERROR
1086+ {"TLSV1_ALERT_DECODE_ERROR", ERR_LIB_SSL, SSL_R_TLSV1_ALERT_DECODE_ERROR},
1087+ #else
1088+ {"TLSV1_ALERT_DECODE_ERROR", 20, 1050},
1089+ #endif
1090+ #ifdef SSL_R_TLSV1_ALERT_DECRYPTION_FAILED
1091+ {"TLSV1_ALERT_DECRYPTION_FAILED", ERR_LIB_SSL, SSL_R_TLSV1_ALERT_DECRYPTION_FAILED},
1092+ #else
1093+ {"TLSV1_ALERT_DECRYPTION_FAILED", 20, 1021},
1094+ #endif
1095 #ifdef SSL_R_TLSV1_ALERT_DECRYPTION_FAILED
1096 {"TLSV1_ALERT_DECRYPTION_FAILED", ERR_LIB_SSL, SSL_R_TLSV1_ALERT_DECRYPTION_FAILED},
1097 #else
1098@@ -7480,6 +8002,16 @@ static struct py_ssl_error_code error_codes[] = {
1099 #else
1100 {"TLSV1_ALERT_DECRYPT_ERROR", 20, 1051},
1101 #endif
1102+ #ifdef SSL_R_TLSV1_ALERT_DECRYPT_ERROR
1103+ {"TLSV1_ALERT_DECRYPT_ERROR", ERR_LIB_SSL, SSL_R_TLSV1_ALERT_DECRYPT_ERROR},
1104+ #else
1105+ {"TLSV1_ALERT_DECRYPT_ERROR", 20, 1051},
1106+ #endif
1107+ #ifdef SSL_R_TLSV1_ALERT_EXPORT_RESTRICTION
1108+ {"TLSV1_ALERT_EXPORT_RESTRICTION", ERR_LIB_SSL, SSL_R_TLSV1_ALERT_EXPORT_RESTRICTION},
1109+ #else
1110+ {"TLSV1_ALERT_EXPORT_RESTRICTION", 20, 1060},
1111+ #endif
1112 #ifdef SSL_R_TLSV1_ALERT_EXPORT_RESTRICTION
1113 {"TLSV1_ALERT_EXPORT_RESTRICTION", ERR_LIB_SSL, SSL_R_TLSV1_ALERT_EXPORT_RESTRICTION},
1114 #else
1115@@ -7490,6 +8022,16 @@ static struct py_ssl_error_code error_codes[] = {
1116 #else
1117 {"TLSV1_ALERT_INAPPROPRIATE_FALLBACK", 20, 1086},
1118 #endif
1119+ #ifdef SSL_R_TLSV1_ALERT_INAPPROPRIATE_FALLBACK
1120+ {"TLSV1_ALERT_INAPPROPRIATE_FALLBACK", ERR_LIB_SSL, SSL_R_TLSV1_ALERT_INAPPROPRIATE_FALLBACK},
1121+ #else
1122+ {"TLSV1_ALERT_INAPPROPRIATE_FALLBACK", 20, 1086},
1123+ #endif
1124+ #ifdef SSL_R_TLSV1_ALERT_INSUFFICIENT_SECURITY
1125+ {"TLSV1_ALERT_INSUFFICIENT_SECURITY", ERR_LIB_SSL, SSL_R_TLSV1_ALERT_INSUFFICIENT_SECURITY},
1126+ #else
1127+ {"TLSV1_ALERT_INSUFFICIENT_SECURITY", 20, 1071},
1128+ #endif
1129 #ifdef SSL_R_TLSV1_ALERT_INSUFFICIENT_SECURITY
1130 {"TLSV1_ALERT_INSUFFICIENT_SECURITY", ERR_LIB_SSL, SSL_R_TLSV1_ALERT_INSUFFICIENT_SECURITY},
1131 #else
1132@@ -7500,6 +8042,26 @@ static struct py_ssl_error_code error_codes[] = {
1133 #else
1134 {"TLSV1_ALERT_INTERNAL_ERROR", 20, 1080},
1135 #endif
1136+ #ifdef SSL_R_TLSV1_ALERT_INTERNAL_ERROR
1137+ {"TLSV1_ALERT_INTERNAL_ERROR", ERR_LIB_SSL, SSL_R_TLSV1_ALERT_INTERNAL_ERROR},
1138+ #else
1139+ {"TLSV1_ALERT_INTERNAL_ERROR", 20, 1080},
1140+ #endif
1141+ #ifdef SSL_R_TLSV1_ALERT_NO_APPLICATION_PROTOCOL
1142+ {"TLSV1_ALERT_NO_APPLICATION_PROTOCOL", ERR_LIB_SSL, SSL_R_TLSV1_ALERT_NO_APPLICATION_PROTOCOL},
1143+ #else
1144+ {"TLSV1_ALERT_NO_APPLICATION_PROTOCOL", 20, 1120},
1145+ #endif
1146+ #ifdef SSL_R_TLSV1_ALERT_NO_APPLICATION_PROTOCOL
1147+ {"TLSV1_ALERT_NO_APPLICATION_PROTOCOL", ERR_LIB_SSL, SSL_R_TLSV1_ALERT_NO_APPLICATION_PROTOCOL},
1148+ #else
1149+ {"TLSV1_ALERT_NO_APPLICATION_PROTOCOL", 20, 1120},
1150+ #endif
1151+ #ifdef SSL_R_TLSV1_ALERT_NO_RENEGOTIATION
1152+ {"TLSV1_ALERT_NO_RENEGOTIATION", ERR_LIB_SSL, SSL_R_TLSV1_ALERT_NO_RENEGOTIATION},
1153+ #else
1154+ {"TLSV1_ALERT_NO_RENEGOTIATION", 20, 1100},
1155+ #endif
1156 #ifdef SSL_R_TLSV1_ALERT_NO_RENEGOTIATION
1157 {"TLSV1_ALERT_NO_RENEGOTIATION", ERR_LIB_SSL, SSL_R_TLSV1_ALERT_NO_RENEGOTIATION},
1158 #else
1159@@ -7510,21 +8072,56 @@ static struct py_ssl_error_code error_codes[] = {
1160 #else
1161 {"TLSV1_ALERT_PROTOCOL_VERSION", 20, 1070},
1162 #endif
1163+ #ifdef SSL_R_TLSV1_ALERT_PROTOCOL_VERSION
1164+ {"TLSV1_ALERT_PROTOCOL_VERSION", ERR_LIB_SSL, SSL_R_TLSV1_ALERT_PROTOCOL_VERSION},
1165+ #else
1166+ {"TLSV1_ALERT_PROTOCOL_VERSION", 20, 1070},
1167+ #endif
1168 #ifdef SSL_R_TLSV1_ALERT_RECORD_OVERFLOW
1169 {"TLSV1_ALERT_RECORD_OVERFLOW", ERR_LIB_SSL, SSL_R_TLSV1_ALERT_RECORD_OVERFLOW},
1170 #else
1171 {"TLSV1_ALERT_RECORD_OVERFLOW", 20, 1022},
1172 #endif
1173+ #ifdef SSL_R_TLSV1_ALERT_RECORD_OVERFLOW
1174+ {"TLSV1_ALERT_RECORD_OVERFLOW", ERR_LIB_SSL, SSL_R_TLSV1_ALERT_RECORD_OVERFLOW},
1175+ #else
1176+ {"TLSV1_ALERT_RECORD_OVERFLOW", 20, 1022},
1177+ #endif
1178+ #ifdef SSL_R_TLSV1_ALERT_UNKNOWN_CA
1179+ {"TLSV1_ALERT_UNKNOWN_CA", ERR_LIB_SSL, SSL_R_TLSV1_ALERT_UNKNOWN_CA},
1180+ #else
1181+ {"TLSV1_ALERT_UNKNOWN_CA", 20, 1048},
1182+ #endif
1183 #ifdef SSL_R_TLSV1_ALERT_UNKNOWN_CA
1184 {"TLSV1_ALERT_UNKNOWN_CA", ERR_LIB_SSL, SSL_R_TLSV1_ALERT_UNKNOWN_CA},
1185 #else
1186 {"TLSV1_ALERT_UNKNOWN_CA", 20, 1048},
1187 #endif
1188+ #ifdef SSL_R_TLSV1_ALERT_UNKNOWN_PSK_IDENTITY
1189+ {"TLSV1_ALERT_UNKNOWN_PSK_IDENTITY", ERR_LIB_SSL, SSL_R_TLSV1_ALERT_UNKNOWN_PSK_IDENTITY},
1190+ #else
1191+ {"TLSV1_ALERT_UNKNOWN_PSK_IDENTITY", 20, 1115},
1192+ #endif
1193+ #ifdef SSL_R_TLSV1_ALERT_UNKNOWN_PSK_IDENTITY
1194+ {"TLSV1_ALERT_UNKNOWN_PSK_IDENTITY", ERR_LIB_SSL, SSL_R_TLSV1_ALERT_UNKNOWN_PSK_IDENTITY},
1195+ #else
1196+ {"TLSV1_ALERT_UNKNOWN_PSK_IDENTITY", 20, 1115},
1197+ #endif
1198 #ifdef SSL_R_TLSV1_ALERT_USER_CANCELLED
1199 {"TLSV1_ALERT_USER_CANCELLED", ERR_LIB_SSL, SSL_R_TLSV1_ALERT_USER_CANCELLED},
1200 #else
1201 {"TLSV1_ALERT_USER_CANCELLED", 20, 1090},
1202 #endif
1203+ #ifdef SSL_R_TLSV1_ALERT_USER_CANCELLED
1204+ {"TLSV1_ALERT_USER_CANCELLED", ERR_LIB_SSL, SSL_R_TLSV1_ALERT_USER_CANCELLED},
1205+ #else
1206+ {"TLSV1_ALERT_USER_CANCELLED", 20, 1090},
1207+ #endif
1208+ #ifdef SSL_R_TLSV1_BAD_CERTIFICATE_HASH_VALUE
1209+ {"TLSV1_BAD_CERTIFICATE_HASH_VALUE", ERR_LIB_SSL, SSL_R_TLSV1_BAD_CERTIFICATE_HASH_VALUE},
1210+ #else
1211+ {"TLSV1_BAD_CERTIFICATE_HASH_VALUE", 20, 1114},
1212+ #endif
1213 #ifdef SSL_R_TLSV1_BAD_CERTIFICATE_HASH_VALUE
1214 {"TLSV1_BAD_CERTIFICATE_HASH_VALUE", ERR_LIB_SSL, SSL_R_TLSV1_BAD_CERTIFICATE_HASH_VALUE},
1215 #else
1216@@ -7535,6 +8132,16 @@ static struct py_ssl_error_code error_codes[] = {
1217 #else
1218 {"TLSV1_BAD_CERTIFICATE_STATUS_RESPONSE", 20, 1113},
1219 #endif
1220+ #ifdef SSL_R_TLSV1_BAD_CERTIFICATE_STATUS_RESPONSE
1221+ {"TLSV1_BAD_CERTIFICATE_STATUS_RESPONSE", ERR_LIB_SSL, SSL_R_TLSV1_BAD_CERTIFICATE_STATUS_RESPONSE},
1222+ #else
1223+ {"TLSV1_BAD_CERTIFICATE_STATUS_RESPONSE", 20, 1113},
1224+ #endif
1225+ #ifdef SSL_R_TLSV1_CERTIFICATE_UNOBTAINABLE
1226+ {"TLSV1_CERTIFICATE_UNOBTAINABLE", ERR_LIB_SSL, SSL_R_TLSV1_CERTIFICATE_UNOBTAINABLE},
1227+ #else
1228+ {"TLSV1_CERTIFICATE_UNOBTAINABLE", 20, 1111},
1229+ #endif
1230 #ifdef SSL_R_TLSV1_CERTIFICATE_UNOBTAINABLE
1231 {"TLSV1_CERTIFICATE_UNOBTAINABLE", ERR_LIB_SSL, SSL_R_TLSV1_CERTIFICATE_UNOBTAINABLE},
1232 #else
1233@@ -7545,6 +8152,16 @@ static struct py_ssl_error_code error_codes[] = {
1234 #else
1235 {"TLSV1_UNRECOGNIZED_NAME", 20, 1112},
1236 #endif
1237+ #ifdef SSL_R_TLSV1_UNRECOGNIZED_NAME
1238+ {"TLSV1_UNRECOGNIZED_NAME", ERR_LIB_SSL, SSL_R_TLSV1_UNRECOGNIZED_NAME},
1239+ #else
1240+ {"TLSV1_UNRECOGNIZED_NAME", 20, 1112},
1241+ #endif
1242+ #ifdef SSL_R_TLSV1_UNSUPPORTED_EXTENSION
1243+ {"TLSV1_UNSUPPORTED_EXTENSION", ERR_LIB_SSL, SSL_R_TLSV1_UNSUPPORTED_EXTENSION},
1244+ #else
1245+ {"TLSV1_UNSUPPORTED_EXTENSION", 20, 1110},
1246+ #endif
1247 #ifdef SSL_R_TLSV1_UNSUPPORTED_EXTENSION
1248 {"TLSV1_UNSUPPORTED_EXTENSION", ERR_LIB_SSL, SSL_R_TLSV1_UNSUPPORTED_EXTENSION},
1249 #else
1250@@ -7665,6 +8282,11 @@ static struct py_ssl_error_code error_codes[] = {
1251 #else
1252 {"UNKNOWN_KEY_EXCHANGE_TYPE", 20, 250},
1253 #endif
1254+ #ifdef SSL_R_UNKNOWN_MANDATORY_PARAMETER
1255+ {"UNKNOWN_MANDATORY_PARAMETER", ERR_LIB_SSL, SSL_R_UNKNOWN_MANDATORY_PARAMETER},
1256+ #else
1257+ {"UNKNOWN_MANDATORY_PARAMETER", 20, 323},
1258+ #endif
1259 #ifdef SSL_R_UNKNOWN_PKEY_TYPE
1260 {"UNKNOWN_PKEY_TYPE", ERR_LIB_SSL, SSL_R_UNKNOWN_PKEY_TYPE},
1261 #else
1262@@ -7700,6 +8322,21 @@ static struct py_ssl_error_code error_codes[] = {
1263 #else
1264 {"UNSUPPORTED_COMPRESSION_ALGORITHM", 20, 257},
1265 #endif
1266+ #ifdef SSL_R_UNSUPPORTED_CONFIG_VALUE
1267+ {"UNSUPPORTED_CONFIG_VALUE", ERR_LIB_SSL, SSL_R_UNSUPPORTED_CONFIG_VALUE},
1268+ #else
1269+ {"UNSUPPORTED_CONFIG_VALUE", 20, 414},
1270+ #endif
1271+ #ifdef SSL_R_UNSUPPORTED_CONFIG_VALUE_CLASS
1272+ {"UNSUPPORTED_CONFIG_VALUE_CLASS", ERR_LIB_SSL, SSL_R_UNSUPPORTED_CONFIG_VALUE_CLASS},
1273+ #else
1274+ {"UNSUPPORTED_CONFIG_VALUE_CLASS", 20, 415},
1275+ #endif
1276+ #ifdef SSL_R_UNSUPPORTED_CONFIG_VALUE_OP
1277+ {"UNSUPPORTED_CONFIG_VALUE_OP", ERR_LIB_SSL, SSL_R_UNSUPPORTED_CONFIG_VALUE_OP},
1278+ #else
1279+ {"UNSUPPORTED_CONFIG_VALUE_OP", 20, 416},
1280+ #endif
1281 #ifdef SSL_R_UNSUPPORTED_ELLIPTIC_CURVE
1282 {"UNSUPPORTED_ELLIPTIC_CURVE", ERR_LIB_SSL, SSL_R_UNSUPPORTED_ELLIPTIC_CURVE},
1283 #else
1284@@ -7720,6 +8357,11 @@ static struct py_ssl_error_code error_codes[] = {
1285 #else
1286 {"UNSUPPORTED_STATUS_TYPE", 20, 329},
1287 #endif
1288+ #ifdef SSL_R_UNSUPPORTED_WRITE_FLAG
1289+ {"UNSUPPORTED_WRITE_FLAG", ERR_LIB_SSL, SSL_R_UNSUPPORTED_WRITE_FLAG},
1290+ #else
1291+ {"UNSUPPORTED_WRITE_FLAG", 20, 412},
1292+ #endif
1293 #ifdef SSL_R_USE_SRTP_NOT_NEGOTIATED
1294 {"USE_SRTP_NOT_NEGOTIATED", ERR_LIB_SSL, SSL_R_USE_SRTP_NOT_NEGOTIATED},
1295 #else
1296@@ -7750,6 +8392,11 @@ static struct py_ssl_error_code error_codes[] = {
1297 #else
1298 {"WRONG_CURVE", 20, 378},
1299 #endif
1300+ #ifdef SSL_R_WRONG_RPK_TYPE
1301+ {"WRONG_RPK_TYPE", ERR_LIB_SSL, SSL_R_WRONG_RPK_TYPE},
1302+ #else
1303+ {"WRONG_RPK_TYPE", 20, 351},
1304+ #endif
1305 #ifdef SSL_R_WRONG_SIGNATURE_LENGTH
1306 {"WRONG_SIGNATURE_LENGTH", ERR_LIB_SSL, SSL_R_WRONG_SIGNATURE_LENGTH},
1307 #else
1308@@ -8055,6 +8702,16 @@ static struct py_ssl_error_code error_codes[] = {
1309 #else
1310 {"BAD_OBJECT", 34, 119},
1311 #endif
1312+ #ifdef X509V3_R_BAD_OPTION
1313+ {"BAD_OPTION", ERR_LIB_X509V3, X509V3_R_BAD_OPTION},
1314+ #else
1315+ {"BAD_OPTION", 34, 170},
1316+ #endif
1317+ #ifdef X509V3_R_BAD_VALUE
1318+ {"BAD_VALUE", ERR_LIB_X509V3, X509V3_R_BAD_VALUE},
1319+ #else
1320+ {"BAD_VALUE", 34, 171},
1321+ #endif
1322 #ifdef X509V3_R_BN_DEC2BN_ERROR
1323 {"BN_DEC2BN_ERROR", ERR_LIB_X509V3, X509V3_R_BN_DEC2BN_ERROR},
1324 #else
1325@@ -8370,6 +9027,11 @@ static struct py_ssl_error_code error_codes[] = {
1326 #else
1327 {"UNKNOWN_OPTION", 34, 120},
1328 #endif
1329+ #ifdef X509V3_R_UNKNOWN_VALUE
1330+ {"UNKNOWN_VALUE", ERR_LIB_X509V3, X509V3_R_UNKNOWN_VALUE},
1331+ #else
1332+ {"UNKNOWN_VALUE", 34, 172},
1333+ #endif
1334 #ifdef X509V3_R_UNSUPPORTED_OPTION
1335 {"UNSUPPORTED_OPTION", ERR_LIB_X509V3, X509V3_R_UNSUPPORTED_OPTION},
1336 #else
1337@@ -8430,6 +9092,11 @@ static struct py_ssl_error_code error_codes[] = {
1338 #else
1339 {"CRL_VERIFY_FAILURE", 11, 131},
1340 #endif
1341+ #ifdef X509_R_DUPLICATE_ATTRIBUTE
1342+ {"DUPLICATE_ATTRIBUTE", ERR_LIB_X509, X509_R_DUPLICATE_ATTRIBUTE},
1343+ #else
1344+ {"DUPLICATE_ATTRIBUTE", 11, 140},
1345+ #endif
1346 #ifdef X509_R_ERROR_GETTING_MD_BY_NID
1347 {"ERROR_GETTING_MD_BY_NID", ERR_LIB_X509, X509_R_ERROR_GETTING_MD_BY_NID},
1348 #else
1349@@ -8590,6 +9257,11 @@ static struct py_ssl_error_code error_codes[] = {
1350 #else
1351 {"UNSUPPORTED_ALGORITHM", 11, 111},
1352 #endif
1353+ #ifdef X509_R_UNSUPPORTED_VERSION
1354+ {"UNSUPPORTED_VERSION", ERR_LIB_X509, X509_R_UNSUPPORTED_VERSION},
1355+ #else
1356+ {"UNSUPPORTED_VERSION", 11, 145},
1357+ #endif
1358 #ifdef X509_R_WRONG_LOOKUP_TYPE
1359 {"WRONG_LOOKUP_TYPE", ERR_LIB_X509, X509_R_WRONG_LOOKUP_TYPE},
1360 #else
1361diff --git a/Tools/c-analyzer/cpython/_parser.py b/Tools/c-analyzer/cpython/_parser.py
1362index 21be53e7884..a08b32fa45d 100644
1363--- a/Tools/c-analyzer/cpython/_parser.py
1364+++ b/Tools/c-analyzer/cpython/_parser.py
1365@@ -70,9 +70,7 @@ Python/thread_pthread.h
1366 Python/thread_pthread_stubs.h
1367
1368 # only huge constants (safe but parsing is slow)
1369-Modules/_ssl_data_31.h
1370-Modules/_ssl_data_300.h
1371-Modules/_ssl_data_111.h
1372+Modules/_ssl_data_*.h
1373 Modules/cjkcodecs/mappings_*.h
1374 Modules/unicodedata_db.h
1375 Modules/unicodename_db.h
1376diff --git a/Tools/ssl/make_ssl_data.py b/Tools/ssl/make_ssl_data.py
1377index 9860871..0cd05c7 100755
1378--- a/Tools/ssl/make_ssl_data.py
1379+++ b/Tools/ssl/make_ssl_data.py
1380@@ -5,9 +5,28 @@ This script should be called *manually* when we want to upgrade SSLError
1381 `library` and `reason` mnemonics to a more recent OpenSSL version.
1382
1383 It takes two arguments:
1384-- the path to the OpenSSL source tree (e.g. git checkout)
1385+- the path to the OpenSSL git checkout
1386 - the path to the header file to be generated Modules/_ssl_data_{version}.h
1387 - error codes are version specific
1388+
1389+The OpenSSL git checkout should be at a specific tag, using commands like:
1390+ git tag --list 'openssl-*'
1391+ git switch --detach openssl-3.4.0
1392+
1393+
1394+After generating the definitions, compare the result with newest pre-existing file.
1395+You can use a command like:
1396+
1397+ git diff --no-index Modules/_ssl_data_31.h Modules/_ssl_data_34.h
1398+
1399+- If the new version *only* adds new definitions, remove the pre-existing file
1400+ and adjust the #include in _ssl.c to point to the new version.
1401+- If the new version removes or renumbers some definitions, keep both files and
1402+ add a new #include in _ssl.c.
1403+
1404+A newly supported OpenSSL version should also be added to:
1405+- Tools/ssl/multissltests.py
1406+- .github/workflows/build.yml
1407 """
1408
1409 import argparse
1410@@ -16,6 +35,7 @@ import operator
1411 import os
1412 import re
1413 import sys
1414+import subprocess
1415
1416
1417 parser = argparse.ArgumentParser(
1418@@ -118,9 +138,17 @@ def main():
1419 # sort by libname, numeric error code
1420 args.reasons = sorted(reasons, key=operator.itemgetter(0, 3))
1421
1422+ git_describe = subprocess.run(
1423+ ['git', 'describe', '--long', '--dirty'],
1424+ cwd=args.srcdir,
1425+ capture_output=True,
1426+ encoding='utf-8',
1427+ check=True,
1428+ )
1429 lines = [
1430- "/* File generated by Tools/ssl/make_ssl_data.py */"
1431- f"/* Generated on {datetime.datetime.utcnow().isoformat()} */"
1432+ "/* File generated by Tools/ssl/make_ssl_data.py */",
1433+ f"/* Generated on {datetime.datetime.now(datetime.UTC).isoformat()} */",
1434+ f"/* Generated from Git commit {git_describe.stdout.strip()} */",
1435 ]
1436 lines.extend(gen_library_codes(args))
1437 lines.append("")
1438diff --git a/Tools/ssl/multissltests.py b/Tools/ssl/multissltests.py
1439index eae0e0c..fb06f63 100755
1440--- a/Tools/ssl/multissltests.py
1441+++ b/Tools/ssl/multissltests.py
1442@@ -51,6 +51,7 @@ OPENSSL_RECENT_VERSIONS = [
1443 "3.1.7",
1444 "3.2.3",
1445 "3.3.2",
1446+ "3.4.0",
1447 ]
1448
1449 LIBRESSL_OLD_VERSIONS = [
1450--
14512.30.2
1452
diff --git a/meta/recipes-devtools/python/python3/0001-Lib-pty.py-handle-stdin-I-O-errors-same-way-as-maste.patch b/meta/recipes-devtools/python/python3/0001-Lib-pty.py-handle-stdin-I-O-errors-same-way-as-maste.patch
index 026150f0e2..84ad2abb0b 100644
--- a/meta/recipes-devtools/python/python3/0001-Lib-pty.py-handle-stdin-I-O-errors-same-way-as-maste.patch
+++ b/meta/recipes-devtools/python/python3/0001-Lib-pty.py-handle-stdin-I-O-errors-same-way-as-maste.patch
@@ -1,4 +1,4 @@
1From f8a664cf1fc73e381d57d6927207286059744837 Mon Sep 17 00:00:00 2001 1From 129ee75863081d9e3418acca3df1e47667f671ad Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de> 2From: Alexander Kanavin <alex@linutronix.de>
3Date: Thu, 16 Sep 2021 16:35:37 +0200 3Date: Thu, 16 Sep 2021 16:35:37 +0200
4Subject: [PATCH] Lib/pty.py: handle stdin I/O errors same way as master I/O 4Subject: [PATCH] Lib/pty.py: handle stdin I/O errors same way as master I/O
@@ -24,7 +24,6 @@ So let's treat both channels the same.
24 24
25Upstream-Status: Submitted [https://github.com/python/cpython/pull/28388] 25Upstream-Status: Submitted [https://github.com/python/cpython/pull/28388]
26Signed-off-by: Alexander Kanavin <alex@linutronix.de> 26Signed-off-by: Alexander Kanavin <alex@linutronix.de>
27
28--- 27---
29 Lib/pty.py | 5 ++++- 28 Lib/pty.py | 5 ++++-
30 1 file changed, 4 insertions(+), 1 deletion(-) 29 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/python/python3/0001-Lib-sysconfig.py-use-prefix-value-from-build-configu.patch b/meta/recipes-devtools/python/python3/0001-Lib-sysconfig.py-use-prefix-value-from-build-configu.patch
index 680254fab9..ca72ebc899 100644
--- a/meta/recipes-devtools/python/python3/0001-Lib-sysconfig.py-use-prefix-value-from-build-configu.patch
+++ b/meta/recipes-devtools/python/python3/0001-Lib-sysconfig.py-use-prefix-value-from-build-configu.patch
@@ -1,4 +1,4 @@
1From 71c194077bb907bfe423d3f3275f33a6c8ca0e74 Mon Sep 17 00:00:00 2001 1From 3f4f3e917950e286d5729ea949ca342995eb3c3e Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de> 2From: Alexander Kanavin <alex@linutronix.de>
3Date: Fri, 17 Nov 2023 14:26:32 +0100 3Date: Fri, 17 Nov 2023 14:26:32 +0100
4Subject: [PATCH] Lib/sysconfig.py: use prefix value from build configuration 4Subject: [PATCH] Lib/sysconfig.py: use prefix value from build configuration
@@ -9,16 +9,15 @@ native python.
9 9
10Upstream-Status: Inappropriate [oe-core cross builds] 10Upstream-Status: Inappropriate [oe-core cross builds]
11Signed-off-by: Alexander Kanavin <alex@linutronix.de> 11Signed-off-by: Alexander Kanavin <alex@linutronix.de>
12
13--- 12---
14 Lib/sysconfig.py | 5 +++++ 13 Lib/sysconfig/__init__.py | 5 +++++
15 1 file changed, 5 insertions(+) 14 1 file changed, 5 insertions(+)
16 15
17diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py 16diff --git a/Lib/sysconfig/__init__.py b/Lib/sysconfig/__init__.py
18index 79c0510..91ebcb6 100644 17index f8e1c7d..0882526 100644
19--- a/Lib/sysconfig.py 18--- a/Lib/sysconfig/__init__.py
20+++ b/Lib/sysconfig.py 19+++ b/Lib/sysconfig/__init__.py
21@@ -668,6 +668,11 @@ def _init_config_vars(): 20@@ -494,6 +494,11 @@ def _init_config_vars():
22 _CONFIG_VARS['VPATH'] = sys._vpath 21 _CONFIG_VARS['VPATH'] = sys._vpath
23 if os.name == 'posix': 22 if os.name == 'posix':
24 _init_posix(_CONFIG_VARS) 23 _init_posix(_CONFIG_VARS)
diff --git a/meta/recipes-devtools/python/python3/0001-Makefile.pre-use-qemu-wrapper-when-gathering-profile.patch b/meta/recipes-devtools/python/python3/0001-Makefile.pre-use-qemu-wrapper-when-gathering-profile.patch
index ee33128fa1..39b62f6f26 100644
--- a/meta/recipes-devtools/python/python3/0001-Makefile.pre-use-qemu-wrapper-when-gathering-profile.patch
+++ b/meta/recipes-devtools/python/python3/0001-Makefile.pre-use-qemu-wrapper-when-gathering-profile.patch
@@ -1,25 +1,33 @@
1From 38278339832a57dbf5fa3ef21accaa03e2c814d7 Mon Sep 17 00:00:00 2001 1From e7a8a7385f561f214054cf95f0a22bfa064eee0b Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Wed, 30 Jan 2019 12:41:04 +0100 3Date: Wed, 30 Jan 2019 12:41:04 +0100
4Subject: [PATCH] Makefile.pre: use qemu wrapper when gathering profile data 4Subject: [PATCH] Makefile.pre: use qemu wrapper when gathering profile data
5 5
6Upstream-Status: Inappropriate [oe-core specific] 6Upstream-Status: Inappropriate [oe-core specific]
7Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 7Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
8
9Update to remove test_types from the test list, since that fails under
10qemu now.
11
12Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
8--- 13---
9 Makefile.pre.in | 3 +-- 14 Makefile.pre.in | 3 +--
10 1 file changed, 1 insertion(+), 2 deletions(-) 15 1 file changed, 1 insertion(+), 2 deletions(-)
11 16
12diff --git a/Makefile.pre.in b/Makefile.pre.in 17diff --git a/Makefile.pre.in b/Makefile.pre.in
13index dd5e69f..381feb0 100644 18index 3bd4495f95b..8e8fc60bc76 100644
14--- a/Makefile.pre.in 19--- a/Makefile.pre.in
15+++ b/Makefile.pre.in 20+++ b/Makefile.pre.in
16@@ -658,8 +658,7 @@ profile-run-stamp: 21@@ -751,8 +751,7 @@ profile-run-stamp:
17 # enabled. 22 # enabled.
18 $(MAKE) profile-gen-stamp 23 $(MAKE) profile-gen-stamp
19 # Next, run the profile task to generate the profile information. 24 # Next, run the profile task to generate the profile information.
20- @ # FIXME: can't run for a cross build 25- @ # FIXME: can't run for a cross build
21- $(LLVM_PROF_FILE) $(RUNSHARED) ./$(BUILDPYTHON) $(PROFILE_TASK) || true 26- $(LLVM_PROF_FILE) $(RUNSHARED) ./$(BUILDPYTHON) $(PROFILE_TASK)
22+ ./pgo-wrapper ./python -m test.regrtest --pgo test_grammar test_opcodes test_dict test_builtin test_exceptions test_types test_support || true 27+ ./pgo-wrapper ./python -m test.regrtest --pgo test_grammar test_opcodes test_dict
23 $(LLVM_PROF_MERGER) 28 $(LLVM_PROF_MERGER)
24 # Remove profile generation binary since we are done with it. 29 # Remove profile generation binary since we are done with it.
25 $(MAKE) clean-retain-profile 30 $(MAKE) clean-retain-profile
31--
322.39.5
33
diff --git a/meta/recipes-devtools/python/python3/0001-Skip-failing-tests-due-to-load-variability-on-YP-AB.patch b/meta/recipes-devtools/python/python3/0001-Skip-failing-tests-due-to-load-variability-on-YP-AB.patch
index 197daa71a5..c8537db1fd 100644
--- a/meta/recipes-devtools/python/python3/0001-Skip-failing-tests-due-to-load-variability-on-YP-AB.patch
+++ b/meta/recipes-devtools/python/python3/0001-Skip-failing-tests-due-to-load-variability-on-YP-AB.patch
@@ -1,4 +1,4 @@
1From 3471e3478e0760c42e04f8046cee2367ab5706d2 Mon Sep 17 00:00:00 2001 1From 8828a52ebace98199569404f01174398bcc64a00 Mon Sep 17 00:00:00 2001
2From: Yi Fan Yu <yifan.yu@windriver.com> 2From: Yi Fan Yu <yifan.yu@windriver.com>
3Date: Thu, 1 Apr 2021 13:08:37 -0700 3Date: Thu, 1 Apr 2021 13:08:37 -0700
4Subject: [PATCH] Skip failing tests due to load variability on YP AB 4Subject: [PATCH] Skip failing tests due to load variability on YP AB
@@ -23,10 +23,10 @@ Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
23 2 files changed, 5 insertions(+) 23 2 files changed, 5 insertions(+)
24 24
25diff --git a/Lib/test/_test_multiprocessing.py b/Lib/test/_test_multiprocessing.py 25diff --git a/Lib/test/_test_multiprocessing.py b/Lib/test/_test_multiprocessing.py
26index e42c7ab..dff5227 100644 26index 5dae370..23eb971 100644
27--- a/Lib/test/_test_multiprocessing.py 27--- a/Lib/test/_test_multiprocessing.py
28+++ b/Lib/test/_test_multiprocessing.py 28+++ b/Lib/test/_test_multiprocessing.py
29@@ -682,6 +682,7 @@ class _TestProcess(BaseTestCase): 29@@ -688,6 +688,7 @@ class _TestProcess(BaseTestCase):
30 close_queue(q) 30 close_queue(q)
31 31
32 @support.requires_resource('walltime') 32 @support.requires_resource('walltime')
@@ -34,7 +34,7 @@ index e42c7ab..dff5227 100644
34 def test_many_processes(self): 34 def test_many_processes(self):
35 if self.TYPE == 'threads': 35 if self.TYPE == 'threads':
36 self.skipTest('test not appropriate for {}'.format(self.TYPE)) 36 self.skipTest('test not appropriate for {}'.format(self.TYPE))
37@@ -2066,6 +2067,7 @@ class _TestBarrier(BaseTestCase): 37@@ -2211,6 +2212,7 @@ class _TestBarrier(BaseTestCase):
38 except threading.BrokenBarrierError: 38 except threading.BrokenBarrierError:
39 results.append(True) 39 results.append(True)
40 40
@@ -42,7 +42,7 @@ index e42c7ab..dff5227 100644
42 def test_timeout(self): 42 def test_timeout(self):
43 """ 43 """
44 Test wait(timeout) 44 Test wait(timeout)
45@@ -5024,6 +5026,7 @@ class TestWait(unittest.TestCase): 45@@ -5299,6 +5301,7 @@ class TestWait(unittest.TestCase):
46 time.sleep(period) 46 time.sleep(period)
47 47
48 @support.requires_resource('walltime') 48 @support.requires_resource('walltime')
@@ -51,10 +51,10 @@ index e42c7ab..dff5227 100644
51 from multiprocessing.connection import wait 51 from multiprocessing.connection import wait
52 52
53diff --git a/Lib/test/test_time.py b/Lib/test/test_time.py 53diff --git a/Lib/test/test_time.py b/Lib/test/test_time.py
54index 02cc3f4..51a4548 100644 54index 293799f..1dbb623 100644
55--- a/Lib/test/test_time.py 55--- a/Lib/test/test_time.py
56+++ b/Lib/test/test_time.py 56+++ b/Lib/test/test_time.py
57@@ -492,6 +492,7 @@ class TimeTestCase(unittest.TestCase): 57@@ -548,6 +548,7 @@ class TimeTestCase(unittest.TestCase):
58 @unittest.skipIf( 58 @unittest.skipIf(
59 support.is_wasi, "process_time not available on WASI" 59 support.is_wasi, "process_time not available on WASI"
60 ) 60 )
@@ -62,11 +62,11 @@ index 02cc3f4..51a4548 100644
62 def test_process_time(self): 62 def test_process_time(self):
63 # process_time() should not include time spend during a sleep 63 # process_time() should not include time spend during a sleep
64 start = time.process_time() 64 start = time.process_time()
65@@ -505,6 +506,7 @@ class TimeTestCase(unittest.TestCase): 65@@ -561,6 +562,7 @@ class TimeTestCase(unittest.TestCase):
66 self.assertTrue(info.monotonic) 66 self.assertTrue(info.monotonic)
67 self.assertFalse(info.adjustable) 67 self.assertFalse(info.adjustable)
68 68
69+ @unittest.skip('timing related test, dependent on load') 69+ @unittest.skip('timing related test, dependent on load')
70 def test_thread_time(self): 70 def test_thread_time(self):
71 if not hasattr(time, 'thread_time'): 71 if not hasattr(time, 'thread_time'):
72 if sys.platform.startswith(('linux', 'win')): 72 if sys.platform.startswith(('linux', 'android', 'win')):
diff --git a/meta/recipes-devtools/python/python3/0001-Update-test_sysconfig-for-posix_user-purelib.patch b/meta/recipes-devtools/python/python3/0001-Update-test_sysconfig-for-posix_user-purelib.patch
index b6c6ac5a28..ab433d1836 100644
--- a/meta/recipes-devtools/python/python3/0001-Update-test_sysconfig-for-posix_user-purelib.patch
+++ b/meta/recipes-devtools/python/python3/0001-Update-test_sysconfig-for-posix_user-purelib.patch
@@ -1,4 +1,4 @@
1From 37d058e841ba3bd89b5746cc5381afb014b11581 Mon Sep 17 00:00:00 2001 1From 5bf5aa6eae1fa3eed66893e51a1858ab481426b4 Mon Sep 17 00:00:00 2001
2From: Wentao Zhang <wentao.zhang@windriver.com> 2From: Wentao Zhang <wentao.zhang@windriver.com>
3Date: Mon, 20 Mar 2023 13:39:52 +0800 3Date: Mon, 20 Mar 2023 13:39:52 +0800
4Subject: [PATCH] Update test_sysconfig for posix_user purelib 4Subject: [PATCH] Update test_sysconfig for posix_user purelib
@@ -17,16 +17,15 @@ Update test_sysconfig.test_user_similar() for the posix_user scheme:
17 17
18Upstream-Status: Inappropriate [oe-core specific] 18Upstream-Status: Inappropriate [oe-core specific]
19Signed-off-by: Wentao Zhang <wentao.zhang@windriver.com> 19Signed-off-by: Wentao Zhang <wentao.zhang@windriver.com>
20
21--- 20---
22 Lib/test/test_sysconfig.py | 2 +- 21 Lib/test/test_sysconfig.py | 2 +-
23 1 file changed, 1 insertion(+), 1 deletion(-) 22 1 file changed, 1 insertion(+), 1 deletion(-)
24 23
25diff --git a/Lib/test/test_sysconfig.py b/Lib/test/test_sysconfig.py 24diff --git a/Lib/test/test_sysconfig.py b/Lib/test/test_sysconfig.py
26index b6dbf3d..5672590 100644 25index 1ade492..4e94889 100644
27--- a/Lib/test/test_sysconfig.py 26--- a/Lib/test/test_sysconfig.py
28+++ b/Lib/test/test_sysconfig.py 27+++ b/Lib/test/test_sysconfig.py
29@@ -372,7 +372,7 @@ class TestSysConfig(unittest.TestCase): 28@@ -423,7 +423,7 @@ class TestSysConfig(unittest.TestCase):
30 expected = os.path.normpath(global_path.replace(base, user, 1)) 29 expected = os.path.normpath(global_path.replace(base, user, 1))
31 # bpo-44860: platlib of posix_user doesn't use sys.platlibdir, 30 # bpo-44860: platlib of posix_user doesn't use sys.platlibdir,
32 # whereas posix_prefix does. 31 # whereas posix_prefix does.
@@ -34,4 +33,4 @@ index b6dbf3d..5672590 100644
34+ if name == 'platlib' or name == 'purelib': 33+ if name == 'platlib' or name == 'purelib':
35 # Replace "/lib64/python3.11/site-packages" suffix 34 # Replace "/lib64/python3.11/site-packages" suffix
36 # with "/lib/python3.11/site-packages". 35 # with "/lib/python3.11/site-packages".
37 py_version_short = sysconfig.get_python_version() 36 py_version_abi = sysconfig._get_python_version_abi()
diff --git a/meta/recipes-devtools/python/python3/0001-gh-107811-tarfile-treat-overflow-in-UID-GID-as-failu.patch b/meta/recipes-devtools/python/python3/0001-gh-107811-tarfile-treat-overflow-in-UID-GID-as-failu.patch
deleted file mode 100644
index 88b84c6024..0000000000
--- a/meta/recipes-devtools/python/python3/0001-gh-107811-tarfile-treat-overflow-in-UID-GID-as-failu.patch
+++ /dev/null
@@ -1,40 +0,0 @@
1From 999d4e74d34afa233ad8ad0c70b989d77a21957f Mon Sep 17 00:00:00 2001
2From: Petr Viktorin <encukou@gmail.com>
3Date: Wed, 23 Aug 2023 20:00:07 +0200
4Subject: [PATCH] gh-107811: tarfile: treat overflow in UID/GID as failure to
5 set it (#108369)
6
7Upstream-Status: Backport [https://github.com/python/cpython/pull/108369]
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
10 Lib/tarfile.py | 3 ++-
11 .../Library/2023-08-23-17-34-39.gh-issue-107811.3Fng72.rst | 3 +++
12 2 files changed, 5 insertions(+), 1 deletion(-)
13 create mode 100644 Misc/NEWS.d/next/Library/2023-08-23-17-34-39.gh-issue-107811.3Fng72.rst
14
15diff --git a/Lib/tarfile.py b/Lib/tarfile.py
16index 3bbbcaa..473167d 100755
17--- a/Lib/tarfile.py
18+++ b/Lib/tarfile.py
19@@ -2557,7 +2557,8 @@ class TarFile(object):
20 os.lchown(targetpath, u, g)
21 else:
22 os.chown(targetpath, u, g)
23- except OSError as e:
24+ except (OSError, OverflowError) as e:
25+ # OverflowError can be raised if an ID doesn't fit in `id_t`
26 raise ExtractError("could not change owner") from e
27
28 def chmod(self, tarinfo, targetpath):
29diff --git a/Misc/NEWS.d/next/Library/2023-08-23-17-34-39.gh-issue-107811.3Fng72.rst b/Misc/NEWS.d/next/Library/2023-08-23-17-34-39.gh-issue-107811.3Fng72.rst
30new file mode 100644
31index 0000000..ffca413
32--- /dev/null
33+++ b/Misc/NEWS.d/next/Library/2023-08-23-17-34-39.gh-issue-107811.3Fng72.rst
34@@ -0,0 +1,3 @@
35+:mod:`tarfile`: extraction of members with overly large UID or GID (e.g. on
36+an OS with 32-bit :c:type:`!id_t`) now fails in the same way as failing to
37+set the ID.
38--
392.45.0
40
diff --git a/meta/recipes-devtools/python/python3/0001-gh-114492-Initialize-struct-termios-before-calling-t.patch b/meta/recipes-devtools/python/python3/0001-gh-114492-Initialize-struct-termios-before-calling-t.patch
deleted file mode 100644
index 8406ef30a2..0000000000
--- a/meta/recipes-devtools/python/python3/0001-gh-114492-Initialize-struct-termios-before-calling-t.patch
+++ /dev/null
@@ -1,26 +0,0 @@
1From 439aa02f42d6e6715c172076261757fcb89a936a Mon Sep 17 00:00:00 2001
2From: "Miss Islington (bot)"
3 <31488909+miss-islington@users.noreply.github.com>
4Date: Tue, 23 Jan 2024 23:02:02 +0100
5Subject: [PATCH] gh-114492: Initialize struct termios before calling
6 tcgetattr() (GH-114495) (GH-114502)
7
8On Alpine Linux it could leave some field non-initialized.
9(cherry picked from commit d22c066b802592932f9eb18434782299e80ca42e)
10
11Upstream-Status: Backport [https://github.com/python/cpython/commit/386c72d9928c51aa2c855ce592bd8022da3b407f]
12Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14---
15 .../next/Library/2024-01-23-21-20-40.gh-issue-114492.vKxl5o.rst | 2 ++
16 1 file changed, 2 insertions(+)
17 create mode 100644 Misc/NEWS.d/next/Library/2024-01-23-21-20-40.gh-issue-114492.vKxl5o.rst
18
19diff --git a/Misc/NEWS.d/next/Library/2024-01-23-21-20-40.gh-issue-114492.vKxl5o.rst b/Misc/NEWS.d/next/Library/2024-01-23-21-20-40.gh-issue-114492.vKxl5o.rst
20new file mode 100644
21index 0000000..8df8299
22--- /dev/null
23+++ b/Misc/NEWS.d/next/Library/2024-01-23-21-20-40.gh-issue-114492.vKxl5o.rst
24@@ -0,0 +1,2 @@
25+Make the result of :func:`termios.tcgetattr` reproducible on Alpine Linux.
26+Previously it could leave a random garbage in some fields.
diff --git a/meta/recipes-devtools/python/python3/0001-python3-use-cc_basename-to-replace-CC-for-checking-c.patch b/meta/recipes-devtools/python/python3/0001-python3-use-cc_basename-to-replace-CC-for-checking-c.patch
deleted file mode 100644
index bbeabe4389..0000000000
--- a/meta/recipes-devtools/python/python3/0001-python3-use-cc_basename-to-replace-CC-for-checking-c.patch
+++ /dev/null
@@ -1,120 +0,0 @@
1From ababc7b1db8c406910766e11cdd04cbef7a706c9 Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com>
3Date: Mon, 22 Oct 2018 15:19:51 +0800
4Subject: [PATCH] python3: use cc_basename to replace CC for checking compiler
5
6When working path contains "clang"/"gcc"/"icc", it might be part of $CC
7because of the "--sysroot" parameter. That could cause judgement error
8about clang/gcc/icc compilers. e.g.
9When "icc" is containded in working path, below errors are reported when
10compiling python3:
11x86_64-wrs-linux-gcc: error: strict: No such file or directory
12x86_64-wrs-linux-gcc: error: unrecognized command line option '-fp-model'
13
14Here use cc_basename to replace CC for checking compiler to avoid such
15kind of issue.
16
17Upstream-Status: Submitted [https://github.com/python/cpython/pull/96399]
18
19Signed-off-by: Li Zhou <li.zhou@windriver.com>
20
21patch originally from Li Zhou, I just rework it to new version
22
23Signed-off-by: Changqing Li <changqing.li@windriver.com>
24---
25 configure.ac | 19 ++++++++++---------
26 1 file changed, 10 insertions(+), 9 deletions(-)
27
28diff --git a/configure.ac b/configure.ac
29index 384718d..5a1d58b 100644
30--- a/configure.ac
31+++ b/configure.ac
32@@ -137,6 +137,7 @@ AC_CONFIG_HEADERS([pyconfig.h])
33 AC_CANONICAL_HOST
34 AC_SUBST([build])
35 AC_SUBST([host])
36+LT_INIT
37
38 AS_VAR_IF([cross_compiling], [maybe],
39 [AC_MSG_ERROR([Cross compiling required --host=HOST-TUPLE and --build=ARCH])]
40@@ -896,7 +897,7 @@ AC_SUBST([CXX])
41 preset_cxx="$CXX"
42 if test -z "$CXX"
43 then
44- case "$CC" in
45+ case "$cc_basename" in
46 gcc) AC_PATH_TOOL([CXX], [g++], [g++], [notfound]) ;;
47 cc) AC_PATH_TOOL([CXX], [c++], [c++], [notfound]) ;;
48 clang|*/clang) AC_PATH_TOOL([CXX], [clang++], [clang++], [notfound]) ;;
49@@ -1328,7 +1329,7 @@ rmdir CaseSensitiveTestDir
50
51 case $ac_sys_system in
52 hp*|HP*)
53- case $CC in
54+ case $cc_basename in
55 cc|*/cc) CC="$CC -Ae";;
56 esac;;
57 esac
58@@ -1854,7 +1855,7 @@ esac
59 ],
60 [AC_MSG_RESULT([no])])
61 if test "$Py_LTO" = 'true' ; then
62- case $CC in
63+ case $cc_basename in
64 *clang*)
65 LDFLAGS_NOLTO="-fno-lto"
66 dnl Clang linker requires -flto in order to link objects with LTO information.
67@@ -1983,7 +1984,7 @@ then
68 fi
69 fi
70 LLVM_PROF_ERR=no
71-case $CC in
72+case $cc_basename in
73 *clang*)
74 # Any changes made here should be reflected in the GCC+Darwin case below
75 PGO_PROF_GEN_FLAG="-fprofile-instr-generate"
76@@ -2147,7 +2148,7 @@ AC_MSG_RESULT([$BOLT_APPLY_FLAGS])
77 # compiler and platform. BASECFLAGS tweaks need to be made even if the
78 # user set OPT.
79
80-case $CC in
81+case $cc_basename in
82 *clang*)
83 cc_is_clang=1
84 ;;
85@@ -2419,7 +2420,7 @@ yes)
86
87 # ICC doesn't recognize the option, but only emits a warning
88 ## XXX does it emit an unused result warning and can it be disabled?
89- AS_CASE([$CC],
90+ AS_CASE([$cc_basename],
91 [*icc*], [ac_cv_disable_unused_result_warning=no]
92 [PY_CHECK_CC_WARNING([disable], [unused-result])])
93 AS_VAR_IF([ac_cv_disable_unused_result_warning], [yes],
94@@ -2665,7 +2666,7 @@ yes)
95 ;;
96 esac
97
98-case "$CC" in
99+case "$cc_basename" in
100 *mpicc*)
101 CFLAGS_NODIST="$CFLAGS_NODIST"
102 ;;
103@@ -3482,7 +3483,7 @@ then
104 then
105 LINKFORSHARED="-Wl,--export-dynamic"
106 fi;;
107- SunOS/5*) case $CC in
108+ SunOS/5*) case $cc_basename in
109 *gcc*)
110 if $CC -Xlinker --help 2>&1 | grep export-dynamic >/dev/null
111 then
112@@ -6803,7 +6804,7 @@ if test "$ac_cv_gcc_asm_for_x87" = yes; then
113 # Some versions of gcc miscompile inline asm:
114 # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46491
115 # http://gcc.gnu.org/ml/gcc/2010-11/msg00366.html
116- case $CC in
117+ case $cc_basename in
118 *gcc*)
119 AC_MSG_CHECKING([for gcc ipa-pure-const bug])
120 saved_cflags="$CFLAGS"
diff --git a/meta/recipes-devtools/python/python3/0001-skip-no_stdout_fileno-test-due-to-load-variability.patch b/meta/recipes-devtools/python/python3/0001-skip-no_stdout_fileno-test-due-to-load-variability.patch
index 2d7bca6a77..ea103bc834 100644
--- a/meta/recipes-devtools/python/python3/0001-skip-no_stdout_fileno-test-due-to-load-variability.patch
+++ b/meta/recipes-devtools/python/python3/0001-skip-no_stdout_fileno-test-due-to-load-variability.patch
@@ -1,4 +1,4 @@
1From 217cea231462e7703e8c9ea39c0a6833f799a420 Mon Sep 17 00:00:00 2001 1From c5bdd39f8ebc4e6c58a47d7e424eac028eddb4ff Mon Sep 17 00:00:00 2001
2From: Trevor Gamblin <tgamblin@baylibre.com> 2From: Trevor Gamblin <tgamblin@baylibre.com>
3Date: Fri, 15 Sep 2023 08:48:33 -0400 3Date: Fri, 15 Sep 2023 08:48:33 -0400
4Subject: [PATCH] skip no_stdout_fileno test due to load variability 4Subject: [PATCH] skip no_stdout_fileno test due to load variability
@@ -16,12 +16,12 @@ Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
16 1 file changed, 1 insertion(+) 16 1 file changed, 1 insertion(+)
17 17
18diff --git a/Lib/test/test_builtin.py b/Lib/test/test_builtin.py 18diff --git a/Lib/test/test_builtin.py b/Lib/test/test_builtin.py
19index 4d03c46..b329b7a 100644 19index c5394de..ed17fb6 100644
20--- a/Lib/test/test_builtin.py 20--- a/Lib/test/test_builtin.py
21+++ b/Lib/test/test_builtin.py 21+++ b/Lib/test/test_builtin.py
22@@ -2326,6 +2326,7 @@ class PtyTests(unittest.TestCase): 22@@ -2435,6 +2435,7 @@ class PtyTests(unittest.TestCase):
23 # Check stdin/stdout error handler is used when invoking PyOS_Readline() 23 "byte 0xe9 in position 4: ordinal not in "
24 self.check_input_tty("prompté", b"quux\xe9", "ascii") 24 "range(128)")
25 25
26+ @unittest.skip("Test may fail under heavy load") 26+ @unittest.skip("Test may fail under heavy load")
27 def test_input_no_stdout_fileno(self): 27 def test_input_no_stdout_fileno(self):
diff --git a/meta/recipes-devtools/python/python3/0001-sysconfig.py-use-platlibdir-also-for-purelib.patch b/meta/recipes-devtools/python/python3/0001-sysconfig.py-use-platlibdir-also-for-purelib.patch
index fc52fdac26..b9c68a98d7 100644
--- a/meta/recipes-devtools/python/python3/0001-sysconfig.py-use-platlibdir-also-for-purelib.patch
+++ b/meta/recipes-devtools/python/python3/0001-sysconfig.py-use-platlibdir-also-for-purelib.patch
@@ -1,4 +1,4 @@
1From a5d429a0e1a4809c1ded7be7e45dcabeb82c53d8 Mon Sep 17 00:00:00 2001 1From bbcb17dc1ed283f41c8cd94d39f70898f0c45583 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de> 2From: Alexander Kanavin <alex@linutronix.de>
3Date: Sun, 12 Sep 2021 21:44:36 +0200 3Date: Sun, 12 Sep 2021 21:44:36 +0200
4Subject: [PATCH] sysconfig.py: use platlibdir also for purelib 4Subject: [PATCH] sysconfig.py: use platlibdir also for purelib
@@ -8,21 +8,20 @@ is not correct.
8 8
9Upstream-Status: Inappropriate [oe-core specific] 9Upstream-Status: Inappropriate [oe-core specific]
10Signed-off-by: Alexander Kanavin <alex@linutronix.de> 10Signed-off-by: Alexander Kanavin <alex@linutronix.de>
11
12--- 11---
13 Lib/sysconfig.py | 2 +- 12 Lib/sysconfig/__init__.py | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-) 13 1 file changed, 1 insertion(+), 1 deletion(-)
15 14
16diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py 15diff --git a/Lib/sysconfig/__init__.py b/Lib/sysconfig/__init__.py
17index 122d441..79c0510 100644 16index 80aef34..f8e1c7d 100644
18--- a/Lib/sysconfig.py 17--- a/Lib/sysconfig/__init__.py
19+++ b/Lib/sysconfig.py 18+++ b/Lib/sysconfig/__init__.py
20@@ -28,7 +28,7 @@ _INSTALL_SCHEMES = { 19@@ -29,7 +29,7 @@ _INSTALL_SCHEMES = {
21 'posix_prefix': { 20 'posix_prefix': {
22 'stdlib': '{installed_base}/{platlibdir}/python{py_version_short}', 21 'stdlib': '{installed_base}/{platlibdir}/{implementation_lower}{py_version_short}{abi_thread}',
23 'platstdlib': '{platbase}/{platlibdir}/python{py_version_short}', 22 'platstdlib': '{platbase}/{platlibdir}/{implementation_lower}{py_version_short}{abi_thread}',
24- 'purelib': '{base}/lib/python{py_version_short}/site-packages', 23- 'purelib': '{base}/lib/{implementation_lower}{py_version_short}{abi_thread}/site-packages',
25+ 'purelib': '{base}/{platlibdir}/python{py_version_short}/site-packages', 24+ 'purelib': '{base}/{platlibdir}/{implementation_lower}{py_version_short}{abi_thread}/site-packages',
26 'platlib': '{platbase}/{platlibdir}/python{py_version_short}/site-packages', 25 'platlib': '{platbase}/{platlibdir}/{implementation_lower}{py_version_short}{abi_thread}/site-packages',
27 'include': 26 'include':
28 '{installed_base}/include/python{py_version_short}{abiflags}', 27 '{installed_base}/include/{implementation_lower}{py_version_short}{abiflags}',
diff --git a/meta/recipes-devtools/python/python3/0001-test_active_children-skip-problematic-test.patch b/meta/recipes-devtools/python/python3/0001-test_active_children-skip-problematic-test.patch
new file mode 100644
index 0000000000..5f60c60b5b
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/0001-test_active_children-skip-problematic-test.patch
@@ -0,0 +1,27 @@
1From 540765b148d942a2339affa6c0d11445e9d0f26c Mon Sep 17 00:00:00 2001
2From: Trevor Gamblin <tgamblin@baylibre.com>
3Date: Thu, 13 Jun 2024 10:54:31 -0400
4Subject: [PATCH] test_active_children: skip problematic test
5
6This test is failing in some tests on the Autobuilder. Since it's of a
7similar nature to other failing/hanging tests, disable it for now.
8
9Upstream-Status: Inappropriate [OE-Specific]
10
11Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
12---
13 Lib/test/_test_multiprocessing.py | 1 +
14 1 file changed, 1 insertion(+)
15
16diff --git a/Lib/test/_test_multiprocessing.py b/Lib/test/_test_multiprocessing.py
17index 23eb971..b1295b2 100644
18--- a/Lib/test/_test_multiprocessing.py
19+++ b/Lib/test/_test_multiprocessing.py
20@@ -585,6 +585,7 @@ class _TestProcess(BaseTestCase):
21 self.assertTrue(type(cpus) is int)
22 self.assertTrue(cpus >= 1)
23
24+ @unittest.skip("skipping problematic test")
25 def test_active_children(self):
26 self.assertEqual(type(self.active_children()), list)
27
diff --git a/meta/recipes-devtools/python/python3/0001-test_ctypes.test_find-skip-without-tools-sdk.patch b/meta/recipes-devtools/python/python3/0001-test_ctypes.test_find-skip-without-tools-sdk.patch
index b4fe946cba..68e277d662 100644
--- a/meta/recipes-devtools/python/python3/0001-test_ctypes.test_find-skip-without-tools-sdk.patch
+++ b/meta/recipes-devtools/python/python3/0001-test_ctypes.test_find-skip-without-tools-sdk.patch
@@ -1,4 +1,4 @@
1From b64c131a576a4b4f821514e711ab91b1394fb4ff Mon Sep 17 00:00:00 2001 1From 0e9d0c58e77ef540d9601ce84a1aa79d9ce6ee9b Mon Sep 17 00:00:00 2001
2From: Tim Orling <timothy.t.orling@intel.com> 2From: Tim Orling <timothy.t.orling@intel.com>
3Date: Fri, 18 Jun 2021 11:56:50 -0700 3Date: Fri, 18 Jun 2021 11:56:50 -0700
4Subject: [PATCH] test_ctypes.test_find: skip without tools-sdk 4Subject: [PATCH] test_ctypes.test_find: skip without tools-sdk
@@ -10,16 +10,15 @@ easiest way to dynamically check for that is looking for
10Upstream-Status: Inappropriate [oe-specific] 10Upstream-Status: Inappropriate [oe-specific]
11 11
12Signed-off-by: Tim Orling <timothy.t.orling@intel.com> 12Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
13
14--- 13---
15 Lib/test/test_ctypes/test_find.py | 2 ++ 14 Lib/test/test_ctypes/test_find.py | 2 ++
16 1 file changed, 2 insertions(+) 15 1 file changed, 2 insertions(+)
17 16
18diff --git a/Lib/test/test_ctypes/test_find.py b/Lib/test/test_ctypes/test_find.py 17diff --git a/Lib/test/test_ctypes/test_find.py b/Lib/test/test_ctypes/test_find.py
19index 1ff9d01..59def26 100644 18index 85b2861..b033203 100644
20--- a/Lib/test/test_ctypes/test_find.py 19--- a/Lib/test/test_ctypes/test_find.py
21+++ b/Lib/test/test_ctypes/test_find.py 20+++ b/Lib/test/test_ctypes/test_find.py
22@@ -113,10 +113,12 @@ class FindLibraryLinux(unittest.TestCase): 21@@ -116,10 +116,12 @@ class FindLibraryLinux(unittest.TestCase):
23 # LD_LIBRARY_PATH) 22 # LD_LIBRARY_PATH)
24 self.assertEqual(find_library(libname), 'lib%s.so' % libname) 23 self.assertEqual(find_library(libname), 'lib%s.so' % libname)
25 24
diff --git a/meta/recipes-devtools/python/python3/0001-test_deadlock-skip-problematic-test.patch b/meta/recipes-devtools/python/python3/0001-test_deadlock-skip-problematic-test.patch
new file mode 100644
index 0000000000..3336e2913a
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/0001-test_deadlock-skip-problematic-test.patch
@@ -0,0 +1,27 @@
1From 5a44f74549b32395109342e9299510c32db71068 Mon Sep 17 00:00:00 2001
2From: Trevor Gamblin <tgamblin@baylibre.com>
3Date: Wed, 12 Jun 2024 10:29:03 -0400
4Subject: [PATCH] test_deadlock: skip problematic test
5
6This test hangs frequently when run on the Autobuilder. Disable it in
7testing until the cause can be determined.
8
9Upstream-Status: Inappropriate [OE-Specific]
10
11Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
12---
13 Lib/test/test_concurrent_futures/test_deadlock.py | 1 +
14 1 file changed, 1 insertion(+)
15
16diff --git a/Lib/test/test_concurrent_futures/test_deadlock.py b/Lib/test/test_concurrent_futures/test_deadlock.py
17index 3c30c45..008d6c0 100644
18--- a/Lib/test/test_concurrent_futures/test_deadlock.py
19+++ b/Lib/test/test_concurrent_futures/test_deadlock.py
20@@ -90,6 +90,7 @@ class ErrorAtUnpickle(object):
21 return _raise_error_ignore_stderr, (UnpicklingError, )
22
23
24+@unittest.skip("skipping problematic test")
25 class ExecutorDeadlockTest:
26 TIMEOUT = support.LONG_TIMEOUT
27
diff --git a/meta/recipes-devtools/python/python3/0001-test_locale.py-correct-the-test-output-format.patch b/meta/recipes-devtools/python/python3/0001-test_locale.py-correct-the-test-output-format.patch
index 410a9fc7f1..2cca004b57 100644
--- a/meta/recipes-devtools/python/python3/0001-test_locale.py-correct-the-test-output-format.patch
+++ b/meta/recipes-devtools/python/python3/0001-test_locale.py-correct-the-test-output-format.patch
@@ -1,4 +1,4 @@
1From ef5728f0af14da5c9f80b0f038fe5bf6d44cb0e9 Mon Sep 17 00:00:00 2001 1From c1f3cf625c0f011060ddaa2a4096f6aa13dd1ee6 Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com> 2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Mon, 5 Aug 2019 15:57:39 +0800 3Date: Mon, 5 Aug 2019 15:57:39 +0800
4Subject: [PATCH] test_locale.py: correct the test output format 4Subject: [PATCH] test_locale.py: correct the test output format
@@ -26,16 +26,15 @@ Upstream-Status: Submitted [https://github.com/python/cpython/pull/15132]
26Rebased for 3.9.4, still not accepted upstream Signed-off-by: Alejandro Hernandez <alejandro@enedino.org> 26Rebased for 3.9.4, still not accepted upstream Signed-off-by: Alejandro Hernandez <alejandro@enedino.org>
27 27
28Signed-off-by: Mingli Yu <mingli.yu@windriver.com> 28Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
29
30--- 29---
31 Lib/test/test_locale.py | 2 +- 30 Lib/test/test_locale.py | 2 +-
32 1 file changed, 1 insertion(+), 1 deletion(-) 31 1 file changed, 1 insertion(+), 1 deletion(-)
33 32
34diff --git a/Lib/test/test_locale.py b/Lib/test/test_locale.py 33diff --git a/Lib/test/test_locale.py b/Lib/test/test_locale.py
35index b0d7998..cb12153 100644 34index da4bd79..fd9e67d 100644
36--- a/Lib/test/test_locale.py 35--- a/Lib/test/test_locale.py
37+++ b/Lib/test/test_locale.py 36+++ b/Lib/test/test_locale.py
38@@ -557,7 +557,7 @@ class TestMiscellaneous(unittest.TestCase): 37@@ -572,7 +572,7 @@ class TestMiscellaneous(unittest.TestCase):
39 self.skipTest('test needs Turkish locale') 38 self.skipTest('test needs Turkish locale')
40 loc = locale.getlocale(locale.LC_CTYPE) 39 loc = locale.getlocale(locale.LC_CTYPE)
41 if verbose: 40 if verbose:
diff --git a/meta/recipes-devtools/python/python3/0001-test_readline-skip-limited-history-test.patch b/meta/recipes-devtools/python/python3/0001-test_readline-skip-limited-history-test.patch
new file mode 100644
index 0000000000..862a7f5ea7
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/0001-test_readline-skip-limited-history-test.patch
@@ -0,0 +1,44 @@
1From 1a0a145261ba4f97aaff3c0c656ac2e0ad9695a8 Mon Sep 17 00:00:00 2001
2From: Trevor Gamblin <tgamblin@baylibre.com>
3Date: Tue, 13 Aug 2024 11:07:05 -0400
4Subject: [PATCH] test_readline: skip limited history test
5
6This test was added recently and is failing on the ptest image when
7using the default PACKAGECONFIG settings (i.e. with editline instead of
8readline).. Disable it until the proper fix is determined.
9
10A bug has been opened upstream: https://github.com/python/cpython/issues/123018
11
12Upstream-Status: Inappropriate [OE-specific]
13
14Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
15---
16 Lib/test/test_readline.py | 2 ++
17 1 file changed, 2 insertions(+)
18
19--- a/Lib/test/test_readline.py
20+++ b/Lib/test/test_readline.py
21@@ -70,6 +70,7 @@ class TestHistoryManipulation (unittest.
22
23 @unittest.skipUnless(hasattr(readline, "append_history_file"),
24 "append_history not available")
25+ @unittest.skip("Skipping problematic test")
26 def test_write_read_append(self):
27 hfile = tempfile.NamedTemporaryFile(delete=False)
28 hfile.close()
29@@ -141,6 +142,7 @@ class TestHistoryManipulation (unittest.
30 self.assertEqual(readline.get_history_item(1), "entrée 1")
31 self.assertEqual(readline.get_history_item(2), "entrée 22")
32
33+ @unittest.skip("Skipping problematic test")
34 def test_write_read_limited_history(self):
35 previous_length = readline.get_history_length()
36 self.addCleanup(readline.set_history_length, previous_length)
37@@ -382,6 +384,7 @@ readline.write_history_file(history_file
38 self.assertIn(b"done", output)
39
40
41+ @unittest.skip("Skipping problematic test")
42 def test_write_read_limited_history(self):
43 previous_length = readline.get_history_length()
44 self.addCleanup(readline.set_history_length, previous_length)
diff --git a/meta/recipes-devtools/python/python3/0001-test_shutdown-skip-problematic-test.patch b/meta/recipes-devtools/python/python3/0001-test_shutdown-skip-problematic-test.patch
index 1d4cda18b1..4e284de613 100644
--- a/meta/recipes-devtools/python/python3/0001-test_shutdown-skip-problematic-test.patch
+++ b/meta/recipes-devtools/python/python3/0001-test_shutdown-skip-problematic-test.patch
@@ -1,4 +1,4 @@
1From 9d4cdbde100798ba9fa1cf3f82dbaf18fd10a543 Mon Sep 17 00:00:00 2001 1From b678363156b5d40e09c1d138840180e3ddc7d20b Mon Sep 17 00:00:00 2001
2From: Trevor Gamblin <tgamblin@baylibre.com> 2From: Trevor Gamblin <tgamblin@baylibre.com>
3Date: Wed, 8 May 2024 11:58:09 -0400 3Date: Wed, 8 May 2024 11:58:09 -0400
4Subject: [PATCH] test_shutdown: skip problematic test 4Subject: [PATCH] test_shutdown: skip problematic test
@@ -14,7 +14,7 @@ Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
14 1 file changed, 3 insertions(+) 14 1 file changed, 3 insertions(+)
15 15
16diff --git a/Lib/test/test_concurrent_futures/test_shutdown.py b/Lib/test/test_concurrent_futures/test_shutdown.py 16diff --git a/Lib/test/test_concurrent_futures/test_shutdown.py b/Lib/test/test_concurrent_futures/test_shutdown.py
17index 7a4065afd4..6b878a48bf 100644 17index 7a4065a..6b878a4 100644
18--- a/Lib/test/test_concurrent_futures/test_shutdown.py 18--- a/Lib/test/test_concurrent_futures/test_shutdown.py
19+++ b/Lib/test/test_concurrent_futures/test_shutdown.py 19+++ b/Lib/test/test_concurrent_futures/test_shutdown.py
20@@ -20,6 +20,7 @@ def sleep_and_print(t, msg): 20@@ -20,6 +20,7 @@ def sleep_and_print(t, msg):
@@ -25,7 +25,7 @@ index 7a4065afd4..6b878a48bf 100644
25 class ExecutorShutdownTest: 25 class ExecutorShutdownTest:
26 def test_run_after_shutdown(self): 26 def test_run_after_shutdown(self):
27 self.executor.shutdown() 27 self.executor.shutdown()
28@@ -156,6 +157,7 @@ def timeout(_signum, _frame): 28@@ -156,6 +157,7 @@ class ExecutorShutdownTest:
29 signal.signal(signal.SIGALRM, old_handler) 29 signal.signal(signal.SIGALRM, old_handler)
30 30
31 31
@@ -33,7 +33,7 @@ index 7a4065afd4..6b878a48bf 100644
33 class ThreadPoolShutdownTest(ThreadPoolMixin, ExecutorShutdownTest, BaseTestCase): 33 class ThreadPoolShutdownTest(ThreadPoolMixin, ExecutorShutdownTest, BaseTestCase):
34 def test_threads_terminate(self): 34 def test_threads_terminate(self):
35 def acquire_lock(lock): 35 def acquire_lock(lock):
36@@ -252,6 +254,7 @@ def test_cancel_futures_wait_false(self): 36@@ -252,6 +254,7 @@ class ThreadPoolShutdownTest(ThreadPoolMixin, ExecutorShutdownTest, BaseTestCase
37 self.assertIn(out.strip(), [b"apple", b""]) 37 self.assertIn(out.strip(), [b"apple", b""])
38 38
39 39
@@ -41,6 +41,3 @@ index 7a4065afd4..6b878a48bf 100644
41 class ProcessPoolShutdownTest(ExecutorShutdownTest): 41 class ProcessPoolShutdownTest(ExecutorShutdownTest):
42 def test_processes_terminate(self): 42 def test_processes_terminate(self):
43 def acquire_lock(lock): 43 def acquire_lock(lock):
44--
452.45.0
46
diff --git a/meta/recipes-devtools/python/python3/0001-test_storlines-skip-due-to-load-variability.patch b/meta/recipes-devtools/python/python3/0001-test_storlines-skip-due-to-load-variability.patch
index 0d0eb08459..b4f873fd72 100644
--- a/meta/recipes-devtools/python/python3/0001-test_storlines-skip-due-to-load-variability.patch
+++ b/meta/recipes-devtools/python/python3/0001-test_storlines-skip-due-to-load-variability.patch
@@ -1,4 +1,4 @@
1From dc69a1afdb3ba619705ff71e14f19ed3142e422f Mon Sep 17 00:00:00 2001 1From 9f252a691cd335341938489da32d6e2d4620d8ca Mon Sep 17 00:00:00 2001
2From: Trevor Gamblin <tgamblin@baylibre.com> 2From: Trevor Gamblin <tgamblin@baylibre.com>
3Date: Fri, 6 Oct 2023 10:59:44 -0400 3Date: Fri, 6 Oct 2023 10:59:44 -0400
4Subject: [PATCH] test_storlines: skip due to load variability 4Subject: [PATCH] test_storlines: skip due to load variability
@@ -11,16 +11,15 @@ Upstream-Status: Inappropriate [OE-Specific]
11[YOCTO #14933] 11[YOCTO #14933]
12 12
13Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> 13Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
14
15--- 14---
16 Lib/test/test_ftplib.py | 1 + 15 Lib/test/test_ftplib.py | 1 +
17 1 file changed, 1 insertion(+) 16 1 file changed, 1 insertion(+)
18 17
19diff --git a/Lib/test/test_ftplib.py b/Lib/test/test_ftplib.py 18diff --git a/Lib/test/test_ftplib.py b/Lib/test/test_ftplib.py
20index 2f191ea..dc29346 100644 19index bed0e6d..36602be 100644
21--- a/Lib/test/test_ftplib.py 20--- a/Lib/test/test_ftplib.py
22+++ b/Lib/test/test_ftplib.py 21+++ b/Lib/test/test_ftplib.py
23@@ -626,6 +626,7 @@ class TestFTPClass(TestCase): 22@@ -627,6 +627,7 @@ class TestFTPClass(TestCase):
24 self.client.storbinary('stor', f, rest=r) 23 self.client.storbinary('stor', f, rest=r)
25 self.assertEqual(self.server.handler_instance.rest, str(r)) 24 self.assertEqual(self.server.handler_instance.rest, str(r))
26 25
diff --git a/meta/recipes-devtools/python/python3/0020-configure.ac-setup.py-do-not-add-a-curses-include-pa.patch b/meta/recipes-devtools/python/python3/0020-configure.ac-setup.py-do-not-add-a-curses-include-pa.patch
deleted file mode 100644
index 0661249bfd..0000000000
--- a/meta/recipes-devtools/python/python3/0020-configure.ac-setup.py-do-not-add-a-curses-include-pa.patch
+++ /dev/null
@@ -1,33 +0,0 @@
1From d0205c60d08f51d84bd8ddc07a57e8c71710fdad Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de>
3Date: Fri, 17 Nov 2023 14:16:40 +0100
4Subject: [PATCH] configure.ac: do not add a curses include path from the host
5
6This leads to host contamination, and particularly can cause
7curses modules to fail at runtime if the host curses is configured
8differently to native curses (observed on current OpenSuse Tumbleweed
9as dnf failures).
10
11Upstream-Status: Inappropriate [oe-core specific]
12Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
13---
14 configure.ac | 6 ------
15 1 file changed, 6 deletions(-)
16
17diff --git a/configure.ac b/configure.ac
18index c49cd4f..affdedf 100644
19--- a/configure.ac
20+++ b/configure.ac
21@@ -6508,12 +6508,6 @@ AS_VAR_IF([have_panel], [no], [
22 AC_MSG_RESULT([$have_panel (CFLAGS: $PANEL_CFLAGS, LIBS: $PANEL_LIBS)])
23 ])
24
25-# first curses header check
26-ac_save_cppflags="$CPPFLAGS"
27-if test "$cross_compiling" = no; then
28- CPPFLAGS="$CPPFLAGS -I/usr/include/ncursesw"
29-fi
30-
31 # On Solaris, term.h requires curses.h
32 AC_CHECK_HEADERS([term.h], [], [], [
33 #ifdef HAVE_CURSES_H
diff --git a/meta/recipes-devtools/python/python3/cgi_py.patch b/meta/recipes-devtools/python/python3/cgi_py.patch
deleted file mode 100644
index 8262c88e73..0000000000
--- a/meta/recipes-devtools/python/python3/cgi_py.patch
+++ /dev/null
@@ -1,32 +0,0 @@
1From a56778372fe8dc7c42f5ffd911d89498c22dd064 Mon Sep 17 00:00:00 2001
2From: Mark Hatle <mark.hatle@windriver.com>
3Date: Wed, 21 Sep 2011 20:55:33 -0500
4Subject: [PATCH] Lib/cgi.py: Update the script as mentioned in the comment
5
6Upstream-Status: Inappropriate [distribution]
7
8Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
9
10---
11 Lib/cgi.py | 11 +----------
12 1 file changed, 1 insertion(+), 10 deletions(-)
13
14diff --git a/Lib/cgi.py b/Lib/cgi.py
15index 8787567..ebe8652 100755
16--- a/Lib/cgi.py
17+++ b/Lib/cgi.py
18@@ -1,13 +1,4 @@
19-#! /usr/local/bin/python
20-
21-# NOTE: the above "/usr/local/bin/python" is NOT a mistake. It is
22-# intentionally NOT "/usr/bin/env python". On many systems
23-# (e.g. Solaris), /usr/local/bin is not in $PATH as passed to CGI
24-# scripts, and /usr/local/bin is the default directory where Python is
25-# installed, so /usr/bin/env would be unable to find python. Granted,
26-# binary installations by Linux vendors often install Python in
27-# /usr/bin. So let those vendors patch cgi.py to match their choice
28-# of installation.
29+#! /usr/bin/env python
30
31 """Support module for CGI (Common Gateway Interface) scripts.
32
diff --git a/meta/recipes-devtools/python/python3/create_manifest3.py b/meta/recipes-devtools/python/python3/create_manifest3.py
index 045240ea0b..288d5ede3a 100644
--- a/meta/recipes-devtools/python/python3/create_manifest3.py
+++ b/meta/recipes-devtools/python/python3/create_manifest3.py
@@ -1,7 +1,7 @@
1# This script is used as a bitbake task to create a new python manifest 1# This script is used as a bitbake task to create a new python manifest
2# $ bitbake python -c create_manifest 2# $ bitbake python -c create_manifest
3# 3#
4# Our goal is to keep python-core as small as posible and add other python 4# Our goal is to keep python-core as small as possible and add other python
5# packages only when the user needs them, hence why we split upstream python 5# packages only when the user needs them, hence why we split upstream python
6# into several packages. 6# into several packages.
7# 7#
diff --git a/meta/recipes-devtools/python/python3/crosspythonpath.patch b/meta/recipes-devtools/python/python3/crosspythonpath.patch
deleted file mode 100644
index 2c4aef0511..0000000000
--- a/meta/recipes-devtools/python/python3/crosspythonpath.patch
+++ /dev/null
@@ -1,34 +0,0 @@
1From 5b66463c10fec1440e977d5a21a0167862d6d79c Mon Sep 17 00:00:00 2001
2From: Ricardo Ribalda <ricardo@ribalda.com>
3Date: Tue, 18 Nov 2014 03:35:33 -0500
4Subject: [PATCH] configure.ac: add CROSSPYTHONPATH into PYTHONPATH for
5 PYTHON_FOR_BUILD
6
7When building x86->x86 the system will try to execute .so and related items
8from the default PYTHONPATH. This will fail if the target CPU contains
9instructions that the host CPU does not have, add CROSSPYTHONPATH
10into PYTHONPATH so we can prepend the list to find correct libs.
11
12Upstream-Status: Inappropriate [OE-Core integration specific]
13
14Credits-to: Mark Hatle <mark.hatle@windriver.com>
15Credits-to: Jackie Huang <jackie.huang@windriver.com>
16Signed-off-by: Ricardo Ribalda <ricardo@ribalda.com>
17
18---
19 configure.ac | 2 +-
20 1 file changed, 1 insertion(+), 1 deletion(-)
21
22diff --git a/configure.ac b/configure.ac
23index cb9e198..d81c19a 100644
24--- a/configure.ac
25+++ b/configure.ac
26@@ -165,7 +165,7 @@ AC_ARG_WITH([build-python],
27 dnl Build Python interpreter is used for regeneration and freezing.
28 ac_cv_prog_PYTHON_FOR_REGEN=$with_build_python
29 PYTHON_FOR_FREEZE="$with_build_python"
30- PYTHON_FOR_BUILD='_PYTHON_PROJECT_BASE=$(abs_builddir) _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) PYTHONPATH=$(shell test -f pybuilddir.txt && echo $(abs_builddir)/`cat pybuilddir.txt`:)$(srcdir)/Lib _PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata_$(ABIFLAGS)_$(MACHDEP)_$(MULTIARCH) '$with_build_python
31+ PYTHON_FOR_BUILD='_PYTHON_PROJECT_BASE=$(abs_builddir) _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) PYTHONPATH=$(CROSSPYTHONPATH):$(shell test -f pybuilddir.txt && echo $(abs_builddir)/`cat pybuilddir.txt`:)$(srcdir)/Lib _PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata_$(ABIFLAGS)_$(MACHDEP)_$(MULTIARCH) '$with_build_python
32 AC_MSG_RESULT([$with_build_python])
33 ], [
34 AS_VAR_IF([cross_compiling], [yes],
diff --git a/meta/recipes-devtools/python/python3/deterministic_imports.patch b/meta/recipes-devtools/python/python3/deterministic_imports.patch
deleted file mode 100644
index 104df94964..0000000000
--- a/meta/recipes-devtools/python/python3/deterministic_imports.patch
+++ /dev/null
@@ -1,40 +0,0 @@
1From 039d5e652796b55f1132afa568c7432b6ed89afd Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Fri, 27 May 2022 17:05:44 +0100
4Subject: [PATCH] python3: Ensure stale empty python module directories don't
5
6There are two issues here. Firstly, the modules are accessed in on disk order. This
7means behaviour seen on one system might not reproduce on another and is a real headache.
8
9Secondly, empty directories left behind by previous modules might be looked at. This
10has caused a long string of different issues for us.
11
12As a result, patch this to a behaviour which works for us.
13
14Upstream-Status: Pending [need to talk to upstream to see if they'll take one or both fixes]
15Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16
17---
18 Lib/importlib/metadata/__init__.py | 9 ++++++++-
19 1 file changed, 8 insertions(+), 1 deletion(-)
20
21diff --git a/Lib/importlib/metadata/__init__.py b/Lib/importlib/metadata/__init__.py
22index 82e0ce1..969cac4 100644
23--- a/Lib/importlib/metadata/__init__.py
24+++ b/Lib/importlib/metadata/__init__.py
25@@ -710,7 +710,14 @@ class Lookup:
26 self.infos = FreezableDefaultDict(list)
27 self.eggs = FreezableDefaultDict(list)
28
29- for child in path.children():
30+ for child in sorted(path.children()):
31+ childpath = pathlib.Path(path.root, child)
32+ try:
33+ if childpath.is_dir() and not any(childpath.iterdir()):
34+ # Empty directories aren't interesting
35+ continue
36+ except PermissionError:
37+ continue
38 low = child.lower()
39 if low.endswith((".dist-info", ".egg-info")):
40 # rpartition is faster than splitext and suitable for this purpose.
diff --git a/meta/recipes-devtools/python/python3/makerace.patch b/meta/recipes-devtools/python/python3/makerace.patch
index c1b20703e6..b115a6fa65 100644
--- a/meta/recipes-devtools/python/python3/makerace.patch
+++ b/meta/recipes-devtools/python/python3/makerace.patch
@@ -1,4 +1,4 @@
1From 9f827c29adbe656af3c8fc963fdd8f47aec0c442 Mon Sep 17 00:00:00 2001 1From 2b458b4e1bcd57e3f135d3f0e715f64b98b27906 Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org> 2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Tue, 13 Jul 2021 23:19:29 +0100 3Date: Tue, 13 Jul 2021 23:19:29 +0100
4Subject: [PATCH] python3: Fix make race 4Subject: [PATCH] python3: Fix make race
@@ -17,10 +17,10 @@ Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 1 file changed, 1 insertion(+), 1 deletion(-) 17 1 file changed, 1 insertion(+), 1 deletion(-)
18 18
19diff --git a/Makefile.pre.in b/Makefile.pre.in 19diff --git a/Makefile.pre.in b/Makefile.pre.in
20index 381feb0..77bf09a 100644 20index be1b9ea..9ec3a71 100644
21--- a/Makefile.pre.in 21--- a/Makefile.pre.in
22+++ b/Makefile.pre.in 22+++ b/Makefile.pre.in
23@@ -2250,7 +2250,7 @@ COMPILEALL_OPTS=-j0 23@@ -2485,7 +2485,7 @@ COMPILEALL_OPTS=-j0
24 TEST_MODULES=@TEST_MODULES@ 24 TEST_MODULES=@TEST_MODULES@
25 25
26 .PHONY: libinstall 26 .PHONY: libinstall
diff --git a/meta/recipes-devtools/python/python3/python3-manifest.json b/meta/recipes-devtools/python/python3/python3-manifest.json
index 46092d4004..441830833b 100644
--- a/meta/recipes-devtools/python/python3/python3-manifest.json
+++ b/meta/recipes-devtools/python/python3/python3-manifest.json
@@ -1,7 +1,7 @@
1# DO NOT (entirely) modify this file manually, please read. 1# DO NOT (entirely) modify this file manually, please read.
2# 2#
3# IMPORTANT NOTE: 3# IMPORTANT NOTE:
4# Please keep in mind that the create_manifest task relies on the fact the the 4# Please keep in mind that the create_manifest task relies on the fact that the
5# target and native Python packages are the same, and it also needs to be executed 5# target and native Python packages are the same, and it also needs to be executed
6# with a fully working native package (with all the PACKAGECONFIGs enabled and all 6# with a fully working native package (with all the PACKAGECONFIGs enabled and all
7# and all the modules should be working, check log.do_compile), otherwise the script 7# and all the modules should be working, check log.do_compile), otherwise the script
@@ -103,17 +103,6 @@
103 ], 103 ],
104 "cached": [] 104 "cached": []
105 }, 105 },
106 "2to3": {
107 "summary": "Python automated Python 2 to 3 code translator",
108 "rdepends": [
109 "core"
110 ],
111 "files": [
112 "${bindir}/2to3*",
113 "${libdir}/python${PYTHON_MAJMIN}/lib2to3"
114 ],
115 "cached": []
116 },
117 "asyncio": { 106 "asyncio": {
118 "summary": "Python Asynchronous I/O", 107 "summary": "Python Asynchronous I/O",
119 "rdepends": [ 108 "rdepends": [
@@ -138,49 +127,21 @@
138 "core" 127 "core"
139 ], 128 ],
140 "files": [ 129 "files": [
141 "${libdir}/python${PYTHON_MAJMIN}/chunk.py",
142 "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/audioop.*.so",
143 "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/ossaudiodev.*.so",
144 "${libdir}/python${PYTHON_MAJMIN}/sndhdr.py",
145 "${libdir}/python${PYTHON_MAJMIN}/sunau.py",
146 "${libdir}/python${PYTHON_MAJMIN}/wave.py" 130 "${libdir}/python${PYTHON_MAJMIN}/wave.py"
147 ], 131 ],
148 "cached": [ 132 "cached": [
149 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/chunk.*.pyc",
150 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/sndhdr.*.pyc",
151 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/sunau.*.pyc",
152 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/wave.*.pyc" 133 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/wave.*.pyc"
153 ] 134 ]
154 }, 135 },
155 "cgitb": {
156 "summary": "Special exception handler for Python scripts",
157 "rdepends": [
158 "core",
159 "crypt",
160 "html",
161 "io",
162 "math",
163 "pydoc"
164 ],
165 "files": [
166 "${libdir}/python${PYTHON_MAJMIN}/cgitb.py"
167 ],
168 "cached": [
169 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/cgitb.*.pyc"
170 ]
171 },
172 "codecs": { 136 "codecs": {
173 "summary": "Python codec", 137 "summary": "Python codec",
174 "rdepends": [ 138 "rdepends": [
175 "core" 139 "core"
176 ], 140 ],
177 "files": [ 141 "files": [
178 "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_multibytecodec.*.so", 142 "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_multibytecodec.*.so"
179 "${libdir}/python${PYTHON_MAJMIN}/xdrlib.py"
180 ], 143 ],
181 "cached": [ 144 "cached": []
182 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/xdrlib.*.pyc"
183 ]
184 }, 145 },
185 "compile": { 146 "compile": {
186 "summary": "Python bytecode compilation support", 147 "summary": "Python bytecode compilation support",
@@ -216,7 +177,7 @@
216 }, 177 },
217 "core": { 178 "core": {
218 "summary": "Python interpreter and core modules", 179 "summary": "Python interpreter and core modules",
219 "rdepends": [], 180 "rdepends": ["compression"],
220 "files": [ 181 "files": [
221 "${bindir}/python${PYTHON_MAJMIN}", 182 "${bindir}/python${PYTHON_MAJMIN}",
222 "${bindir}/python${PYTHON_MAJMIN}.real", 183 "${bindir}/python${PYTHON_MAJMIN}.real",
@@ -229,8 +190,12 @@
229 "${libdir}/python${PYTHON_MAJMIN}/_abcoll.py", 190 "${libdir}/python${PYTHON_MAJMIN}/_abcoll.py",
230 "${libdir}/python${PYTHON_MAJMIN}/_bootlocale.py", 191 "${libdir}/python${PYTHON_MAJMIN}/_bootlocale.py",
231 "${libdir}/python${PYTHON_MAJMIN}/_collections_abc.py", 192 "${libdir}/python${PYTHON_MAJMIN}/_collections_abc.py",
193 "${libdir}/python${PYTHON_MAJMIN}/_colorize.py",
232 "${libdir}/python${PYTHON_MAJMIN}/_compression.py", 194 "${libdir}/python${PYTHON_MAJMIN}/_compression.py",
233 "${libdir}/python${PYTHON_MAJMIN}/_markupbase.py", 195 "${libdir}/python${PYTHON_MAJMIN}/_markupbase.py",
196 "${libdir}/python${PYTHON_MAJMIN}/_opcode_metadata.py",
197 "${libdir}/python${PYTHON_MAJMIN}/_pyrepl",
198 "${libdir}/python${PYTHON_MAJMIN}/_pyrepl/pager.py",
234 "${libdir}/python${PYTHON_MAJMIN}/_sitebuiltins.py", 199 "${libdir}/python${PYTHON_MAJMIN}/_sitebuiltins.py",
235 "${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata*.py", 200 "${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata*.py",
236 "${libdir}/python${PYTHON_MAJMIN}/_weakrefset.py", 201 "${libdir}/python${PYTHON_MAJMIN}/_weakrefset.py",
@@ -261,6 +226,7 @@
261 "${libdir}/python${PYTHON_MAJMIN}/genericpath.py", 226 "${libdir}/python${PYTHON_MAJMIN}/genericpath.py",
262 "${libdir}/python${PYTHON_MAJMIN}/getopt.py", 227 "${libdir}/python${PYTHON_MAJMIN}/getopt.py",
263 "${libdir}/python${PYTHON_MAJMIN}/gettext.py", 228 "${libdir}/python${PYTHON_MAJMIN}/gettext.py",
229 "${libdir}/python${PYTHON_MAJMIN}/glob.py",
264 "${libdir}/python${PYTHON_MAJMIN}/heapq.py", 230 "${libdir}/python${PYTHON_MAJMIN}/heapq.py",
265 "${libdir}/python${PYTHON_MAJMIN}/imp.py", 231 "${libdir}/python${PYTHON_MAJMIN}/imp.py",
266 "${libdir}/python${PYTHON_MAJMIN}/importlib", 232 "${libdir}/python${PYTHON_MAJMIN}/importlib",
@@ -289,6 +255,7 @@
289 "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_typing.*.so", 255 "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_typing.*.so",
290 "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/array.*.so", 256 "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/array.*.so",
291 "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/binascii.*.so", 257 "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/binascii.*.so",
258 "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/fcntl.*.so",
292 "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/grp.*.so", 259 "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/grp.*.so",
293 "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/math.*.so", 260 "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/math.*.so",
294 "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/parser.*.so", 261 "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/parser.*.so",
@@ -307,7 +274,10 @@
307 "${libdir}/python${PYTHON_MAJMIN}/operator.py", 274 "${libdir}/python${PYTHON_MAJMIN}/operator.py",
308 "${libdir}/python${PYTHON_MAJMIN}/optparse.py", 275 "${libdir}/python${PYTHON_MAJMIN}/optparse.py",
309 "${libdir}/python${PYTHON_MAJMIN}/os.py", 276 "${libdir}/python${PYTHON_MAJMIN}/os.py",
277 "${libdir}/python${PYTHON_MAJMIN}/pathlib",
310 "${libdir}/python${PYTHON_MAJMIN}/pathlib.py", 278 "${libdir}/python${PYTHON_MAJMIN}/pathlib.py",
279 "${libdir}/python${PYTHON_MAJMIN}/pathlib/_abc.py",
280 "${libdir}/python${PYTHON_MAJMIN}/pathlib/_local.py",
311 "${libdir}/python${PYTHON_MAJMIN}/pkgutil.py", 281 "${libdir}/python${PYTHON_MAJMIN}/pkgutil.py",
312 "${libdir}/python${PYTHON_MAJMIN}/platform.py", 282 "${libdir}/python${PYTHON_MAJMIN}/platform.py",
313 "${libdir}/python${PYTHON_MAJMIN}/posixpath.py", 283 "${libdir}/python${PYTHON_MAJMIN}/posixpath.py",
@@ -332,6 +302,7 @@
332 "${libdir}/python${PYTHON_MAJMIN}/struct.py", 302 "${libdir}/python${PYTHON_MAJMIN}/struct.py",
333 "${libdir}/python${PYTHON_MAJMIN}/subprocess.py", 303 "${libdir}/python${PYTHON_MAJMIN}/subprocess.py",
334 "${libdir}/python${PYTHON_MAJMIN}/symbol.py", 304 "${libdir}/python${PYTHON_MAJMIN}/symbol.py",
305 "${libdir}/python${PYTHON_MAJMIN}/sysconfig",
335 "${libdir}/python${PYTHON_MAJMIN}/sysconfig.py", 306 "${libdir}/python${PYTHON_MAJMIN}/sysconfig.py",
336 "${libdir}/python${PYTHON_MAJMIN}/textwrap.py", 307 "${libdir}/python${PYTHON_MAJMIN}/textwrap.py",
337 "${libdir}/python${PYTHON_MAJMIN}/threading.py", 308 "${libdir}/python${PYTHON_MAJMIN}/threading.py",
@@ -351,8 +322,10 @@
351 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/__future__.*.pyc", 322 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/__future__.*.pyc",
352 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/_bootlocale.*.pyc", 323 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/_bootlocale.*.pyc",
353 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/_collections_abc.*.pyc", 324 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/_collections_abc.*.pyc",
325 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/_colorize.*.pyc",
354 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/_compression.*.pyc", 326 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/_compression.*.pyc",
355 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/_markupbase.*.pyc", 327 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/_markupbase.*.pyc",
328 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/_opcode_metadata.*.pyc",
356 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/_sitebuiltins.*.pyc", 329 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/_sitebuiltins.*.pyc",
357 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/_sysconfigdata*.*.pyc", 330 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/_sysconfigdata*.*.pyc",
358 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/_weakrefset.*.pyc", 331 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/_weakrefset.*.pyc",
@@ -377,6 +350,7 @@
377 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/genericpath.*.pyc", 350 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/genericpath.*.pyc",
378 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/getopt.*.pyc", 351 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/getopt.*.pyc",
379 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/gettext.*.pyc", 352 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/gettext.*.pyc",
353 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/glob.*.pyc",
380 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/heapq.*.pyc", 354 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/heapq.*.pyc",
381 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/imp.*.pyc", 355 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/imp.*.pyc",
382 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/inspect.*.pyc", 356 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/inspect.*.pyc",
@@ -421,6 +395,8 @@
421 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/typing.*.pyc", 395 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/typing.*.pyc",
422 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/warnings.*.pyc", 396 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/warnings.*.pyc",
423 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/weakref.*.pyc", 397 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/weakref.*.pyc",
398 "${libdir}/python${PYTHON_MAJMIN}/_pyrepl/__pycache__",
399 "${libdir}/python${PYTHON_MAJMIN}/_pyrepl/__pycache__/pager.*.pyc",
424 "${libdir}/python${PYTHON_MAJMIN}/collections/__pycache__", 400 "${libdir}/python${PYTHON_MAJMIN}/collections/__pycache__",
425 "${libdir}/python${PYTHON_MAJMIN}/collections/__pycache__/abc.*.pyc", 401 "${libdir}/python${PYTHON_MAJMIN}/collections/__pycache__/abc.*.pyc",
426 "${libdir}/python${PYTHON_MAJMIN}/encodings/__pycache__", 402 "${libdir}/python${PYTHON_MAJMIN}/encodings/__pycache__",
@@ -432,11 +408,15 @@
432 "${libdir}/python${PYTHON_MAJMIN}/importlib/__pycache__/abc.*.pyc", 408 "${libdir}/python${PYTHON_MAJMIN}/importlib/__pycache__/abc.*.pyc",
433 "${libdir}/python${PYTHON_MAJMIN}/importlib/__pycache__/machinery.*.pyc", 409 "${libdir}/python${PYTHON_MAJMIN}/importlib/__pycache__/machinery.*.pyc",
434 "${libdir}/python${PYTHON_MAJMIN}/importlib/__pycache__/util.*.pyc", 410 "${libdir}/python${PYTHON_MAJMIN}/importlib/__pycache__/util.*.pyc",
411 "${libdir}/python${PYTHON_MAJMIN}/pathlib/__pycache__",
412 "${libdir}/python${PYTHON_MAJMIN}/pathlib/__pycache__/_abc.*.pyc",
413 "${libdir}/python${PYTHON_MAJMIN}/pathlib/__pycache__/_local.*.pyc",
435 "${libdir}/python${PYTHON_MAJMIN}/re/__pycache__", 414 "${libdir}/python${PYTHON_MAJMIN}/re/__pycache__",
436 "${libdir}/python${PYTHON_MAJMIN}/re/__pycache__/_casefix.*.pyc", 415 "${libdir}/python${PYTHON_MAJMIN}/re/__pycache__/_casefix.*.pyc",
437 "${libdir}/python${PYTHON_MAJMIN}/re/__pycache__/_compiler.*.pyc", 416 "${libdir}/python${PYTHON_MAJMIN}/re/__pycache__/_compiler.*.pyc",
438 "${libdir}/python${PYTHON_MAJMIN}/re/__pycache__/_constants.*.pyc", 417 "${libdir}/python${PYTHON_MAJMIN}/re/__pycache__/_constants.*.pyc",
439 "${libdir}/python${PYTHON_MAJMIN}/re/__pycache__/_parser.*.pyc", 418 "${libdir}/python${PYTHON_MAJMIN}/re/__pycache__/_parser.*.pyc",
419 "${libdir}/python${PYTHON_MAJMIN}/sysconfig/__pycache__",
440 "${libdir}/python${PYTHON_MAJMIN}/urllib/__pycache__", 420 "${libdir}/python${PYTHON_MAJMIN}/urllib/__pycache__",
441 "${libdir}/python${PYTHON_MAJMIN}/urllib/__pycache__/parse.*.pyc" 421 "${libdir}/python${PYTHON_MAJMIN}/urllib/__pycache__/parse.*.pyc"
442 ] 422 ]
@@ -444,15 +424,11 @@
444 "crypt": { 424 "crypt": {
445 "summary": "Python basic cryptographic and hashing support", 425 "summary": "Python basic cryptographic and hashing support",
446 "rdepends": [ 426 "rdepends": [
447 "core", 427 "core"
448 "math",
449 "stringold"
450 ], 428 ],
451 "files": [ 429 "files": [
452 "${libdir}/python${PYTHON_MAJMIN}/crypt.py",
453 "${libdir}/python${PYTHON_MAJMIN}/hashlib.py", 430 "${libdir}/python${PYTHON_MAJMIN}/hashlib.py",
454 "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_blake2.*.so", 431 "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_blake2.*.so",
455 "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_crypt.*.so",
456 "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_hashlib.*.so", 432 "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_hashlib.*.so",
457 "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_md5.*.so", 433 "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_md5.*.so",
458 "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_sha1.*.so", 434 "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_sha1.*.so",
@@ -460,7 +436,6 @@
460 "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_sha3.*.so" 436 "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_sha3.*.so"
461 ], 437 ],
462 "cached": [ 438 "cached": [
463 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/crypt.*.pyc",
464 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/hashlib.*.pyc" 439 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/hashlib.*.pyc"
465 ] 440 ]
466 }, 441 },
@@ -468,7 +443,6 @@
468 "summary": "Python C types support", 443 "summary": "Python C types support",
469 "rdepends": [ 444 "rdepends": [
470 "core", 445 "core",
471 "crypt",
472 "io", 446 "io",
473 "math" 447 "math"
474 ], 448 ],
@@ -590,7 +564,6 @@
590 "summary": "Python email support", 564 "summary": "Python email support",
591 "rdepends": [ 565 "rdepends": [
592 "core", 566 "core",
593 "crypt",
594 "datetime", 567 "datetime",
595 "io", 568 "io",
596 "math", 569 "math",
@@ -663,36 +636,30 @@
663 "core" 636 "core"
664 ], 637 ],
665 "files": [ 638 "files": [
666 "${libdir}/python${PYTHON_MAJMIN}/colorsys.py", 639 "${libdir}/python${PYTHON_MAJMIN}/colorsys.py"
667 "${libdir}/python${PYTHON_MAJMIN}/imghdr.py"
668 ], 640 ],
669 "cached": [ 641 "cached": [
670 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/colorsys.*.pyc", 642 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/colorsys.*.pyc"
671 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/imghdr.*.pyc"
672 ] 643 ]
673 }, 644 },
674 "io": { 645 "io": {
675 "summary": "Python low-level I/O", 646 "summary": "Python low-level I/O",
676 "rdepends": [ 647 "rdepends": [
677 "core", 648 "core",
678 "crypt",
679 "math", 649 "math",
680 "netclient", 650 "netclient"
681 "shell"
682 ], 651 ],
683 "files": [ 652 "files": [
684 "${libdir}/python${PYTHON_MAJMIN}/_pyio.py", 653 "${libdir}/python${PYTHON_MAJMIN}/_pyio.py",
685 "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_socket.*.so", 654 "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_socket.*.so",
686 "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_ssl.*.so", 655 "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_ssl.*.so",
687 "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/termios.*.so", 656 "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/termios.*.so",
688 "${libdir}/python${PYTHON_MAJMIN}/pipes.py",
689 "${libdir}/python${PYTHON_MAJMIN}/socket.py", 657 "${libdir}/python${PYTHON_MAJMIN}/socket.py",
690 "${libdir}/python${PYTHON_MAJMIN}/ssl.py", 658 "${libdir}/python${PYTHON_MAJMIN}/ssl.py",
691 "${libdir}/python${PYTHON_MAJMIN}/tempfile.py" 659 "${libdir}/python${PYTHON_MAJMIN}/tempfile.py"
692 ], 660 ],
693 "cached": [ 661 "cached": [
694 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/_pyio.*.pyc", 662 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/_pyio.*.pyc",
695 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/pipes.*.pyc",
696 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/socket.*.pyc", 663 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/socket.*.pyc",
697 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/ssl.*.pyc", 664 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/ssl.*.pyc",
698 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/tempfile.*.pyc" 665 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/tempfile.*.pyc"
@@ -728,7 +695,6 @@
728 "summary": "Python mailbox format support", 695 "summary": "Python mailbox format support",
729 "rdepends": [ 696 "rdepends": [
730 "core", 697 "core",
731 "crypt",
732 "datetime", 698 "datetime",
733 "email", 699 "email",
734 "io", 700 "io",
@@ -747,8 +713,7 @@
747 "math": { 713 "math": {
748 "summary": "Python math support", 714 "summary": "Python math support",
749 "rdepends": [ 715 "rdepends": [
750 "core", 716 "core"
751 "crypt"
752 ], 717 ],
753 "files": [ 718 "files": [
754 "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_random.*.so", 719 "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_random.*.so",
@@ -765,12 +730,10 @@
765 "core" 730 "core"
766 ], 731 ],
767 "files": [ 732 "files": [
768 "${libdir}/python${PYTHON_MAJMIN}/quopri.py", 733 "${libdir}/python${PYTHON_MAJMIN}/quopri.py"
769 "${libdir}/python${PYTHON_MAJMIN}/uu.py"
770 ], 734 ],
771 "cached": [ 735 "cached": [
772 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/quopri.*.pyc", 736 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/quopri.*.pyc"
773 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/uu.*.pyc"
774 ] 737 ]
775 }, 738 },
776 "mmap": { 739 "mmap": {
@@ -787,7 +750,6 @@
787 "cached": [], 750 "cached": [],
788 "files": [], 751 "files": [],
789 "rdepends": [ 752 "rdepends": [
790 "2to3",
791 "asyncio", 753 "asyncio",
792 "audio", 754 "audio",
793 "codecs", 755 "codecs",
@@ -884,11 +846,9 @@
884 "${libdir}/python${PYTHON_MAJMIN}/http/__pycache__", 846 "${libdir}/python${PYTHON_MAJMIN}/http/__pycache__",
885 "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_uuid.*.so", 847 "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_uuid.*.so",
886 "${libdir}/python${PYTHON_MAJMIN}/mimetypes.py", 848 "${libdir}/python${PYTHON_MAJMIN}/mimetypes.py",
887 "${libdir}/python${PYTHON_MAJMIN}/nntplib.py",
888 "${libdir}/python${PYTHON_MAJMIN}/poplib.py", 849 "${libdir}/python${PYTHON_MAJMIN}/poplib.py",
889 "${libdir}/python${PYTHON_MAJMIN}/secrets.py", 850 "${libdir}/python${PYTHON_MAJMIN}/secrets.py",
890 "${libdir}/python${PYTHON_MAJMIN}/smtplib.py", 851 "${libdir}/python${PYTHON_MAJMIN}/smtplib.py",
891 "${libdir}/python${PYTHON_MAJMIN}/telnetlib.py",
892 "${libdir}/python${PYTHON_MAJMIN}/urllib", 852 "${libdir}/python${PYTHON_MAJMIN}/urllib",
893 "${libdir}/python${PYTHON_MAJMIN}/uuid.py" 853 "${libdir}/python${PYTHON_MAJMIN}/uuid.py"
894 ], 854 ],
@@ -897,11 +857,9 @@
897 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/ftplib.*.pyc", 857 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/ftplib.*.pyc",
898 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/hmac.*.pyc", 858 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/hmac.*.pyc",
899 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/mimetypes.*.pyc", 859 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/mimetypes.*.pyc",
900 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/nntplib.*.pyc",
901 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/poplib.*.pyc", 860 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/poplib.*.pyc",
902 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/secrets.*.pyc", 861 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/secrets.*.pyc",
903 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/smtplib.*.pyc", 862 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/smtplib.*.pyc",
904 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/telnetlib.*.pyc",
905 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/uuid.*.pyc" 863 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/uuid.*.pyc"
906 ] 864 ]
907 }, 865 },
@@ -909,22 +867,12 @@
909 "summary": "Python Internet Protocol servers", 867 "summary": "Python Internet Protocol servers",
910 "rdepends": [ 868 "rdepends": [
911 "core", 869 "core",
912 "crypt", 870 "io"
913 "datetime",
914 "email",
915 "html",
916 "io",
917 "math",
918 "mime",
919 "netclient",
920 "stringold"
921 ], 871 ],
922 "files": [ 872 "files": [
923 "${libdir}/python${PYTHON_MAJMIN}/cgi.py",
924 "${libdir}/python${PYTHON_MAJMIN}/socketserver.py" 873 "${libdir}/python${PYTHON_MAJMIN}/socketserver.py"
925 ], 874 ],
926 "cached": [ 875 "cached": [
927 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/cgi.*.pyc",
928 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/socketserver.*.pyc" 876 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/socketserver.*.pyc"
929 ] 877 ]
930 }, 878 },
@@ -1052,12 +1000,10 @@
1052 ], 1000 ],
1053 "files": [ 1001 "files": [
1054 "${libdir}/python${PYTHON_MAJMIN}/cmd.py", 1002 "${libdir}/python${PYTHON_MAJMIN}/cmd.py",
1055 "${libdir}/python${PYTHON_MAJMIN}/glob.py",
1056 "${libdir}/python${PYTHON_MAJMIN}/shlex.py" 1003 "${libdir}/python${PYTHON_MAJMIN}/shlex.py"
1057 ], 1004 ],
1058 "cached": [ 1005 "cached": [
1059 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/cmd.*.pyc", 1006 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/cmd.*.pyc",
1060 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/glob.*.pyc",
1061 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/shlex.*.pyc" 1007 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/shlex.*.pyc"
1062 ] 1008 ]
1063 }, 1009 },
@@ -1077,7 +1023,6 @@
1077 "summary": "Basic statistics module", 1023 "summary": "Basic statistics module",
1078 "rdepends": [ 1024 "rdepends": [
1079 "core", 1025 "core",
1080 "crypt",
1081 "math", 1026 "math",
1082 "numbers" 1027 "numbers"
1083 ], 1028 ],
@@ -1090,7 +1035,7 @@
1090 ] 1035 ]
1091 }, 1036 },
1092 "stringold": { 1037 "stringold": {
1093 "summary": "Python string APIs [deprecated]", 1038 "summary": "Common string operations",
1094 "rdepends": [ 1039 "rdepends": [
1095 "core" 1040 "core"
1096 ], 1041 ],
@@ -1147,7 +1092,6 @@
1147 "core" 1092 "core"
1148 ], 1093 ],
1149 "files": [ 1094 "files": [
1150 "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_tkinter.*.so",
1151 "${libdir}/python${PYTHON_MAJMIN}/tkinter" 1095 "${libdir}/python${PYTHON_MAJMIN}/tkinter"
1152 ], 1096 ],
1153 "cached": [] 1097 "cached": []
@@ -1162,18 +1106,6 @@
1162 ], 1106 ],
1163 "cached": [] 1107 "cached": []
1164 }, 1108 },
1165 "turtle": {
1166 "summary": "Turtle graphics is a popular way for introducing programming to kids.",
1167 "rdepends": [
1168 "tkinter"
1169 ],
1170 "files": [
1171 "${libdir}/python${PYTHON_MAJMIN}/turtle.py"
1172 ],
1173 "cached": [
1174 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/turtle.*.pyc"
1175 ]
1176 },
1177 "unittest": { 1109 "unittest": {
1178 "summary": "Python unit testing framework", 1110 "summary": "Python unit testing framework",
1179 "rdepends": [ 1111 "rdepends": [
@@ -1201,8 +1133,7 @@
1201 "io" 1133 "io"
1202 ], 1134 ],
1203 "files": [ 1135 "files": [
1204 "${libdir}/python${PYTHON_MAJMIN}/getpass.py", 1136 "${libdir}/python${PYTHON_MAJMIN}/getpass.py"
1205 "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/nis.*.so"
1206 ], 1137 ],
1207 "cached": [ 1138 "cached": [
1208 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/getpass.*.pyc" 1139 "${libdir}/python${PYTHON_MAJMIN}/__pycache__/getpass.*.pyc"
@@ -1238,12 +1169,10 @@
1238 "rdepends": [ 1169 "rdepends": [
1239 "compression", 1170 "compression",
1240 "core", 1171 "core",
1241 "crypt",
1242 "datetime", 1172 "datetime",
1243 "email", 1173 "email",
1244 "html", 1174 "html",
1245 "io", 1175 "io",
1246 "math",
1247 "mime", 1176 "mime",
1248 "netclient", 1177 "netclient",
1249 "netserver", 1178 "netserver",
diff --git a/meta/recipes-devtools/python/python3/valid-dists.patch b/meta/recipes-devtools/python/python3/valid-dists.patch
new file mode 100644
index 0000000000..1b2c078c21
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/valid-dists.patch
@@ -0,0 +1,160 @@
1From a65c29adc027b3615154cab73aaedd58a6aa23da Mon Sep 17 00:00:00 2001
2From: "Jason R. Coombs" <jaraco@jaraco.com>
3Date: Tue, 23 Jul 2024 08:36:16 -0400
4Subject: [PATCH] Prioritize valid dists to invalid dists when retrieving by
5 name.
6
7Closes python/importlib_metadata#489
8
9Upstream-Status: Backport [https://github.com/python/importlib_metadata/commit/a65c29adc027b3615154cab73aaedd58a6aa23da]
10Signed-off-by: Ross Burton <ross.burton@arm.com>
11
12diff --git i/Lib/importlib/metadata/__init__.py w/Lib/importlib/metadata/__init__.py
13index 8ce62dd864f..085378caabc 100644
14--- i/Lib/importlib/metadata/__init__.py
15+++ w/Lib/importlib/metadata/__init__.py
16@@ -21,7 +21,7 @@
17 from . import _meta
18 from ._collections import FreezableDefaultDict, Pair
19 from ._functools import method_cache, pass_none
20-from ._itertools import always_iterable, unique_everseen
21+from ._itertools import always_iterable, bucket, unique_everseen
22 from ._meta import PackageMetadata, SimplePath
23
24 from contextlib import suppress
25@@ -404,7 +404,7 @@ def from_name(cls, name: str) -> Distribution:
26 if not name:
27 raise ValueError("A distribution name is required.")
28 try:
29- return next(iter(cls.discover(name=name)))
30+ return next(iter(cls._prefer_valid(cls.discover(name=name))))
31 except StopIteration:
32 raise PackageNotFoundError(name)
33
34@@ -428,6 +428,16 @@ def discover(
35 resolver(context) for resolver in cls._discover_resolvers()
36 )
37
38+ @staticmethod
39+ def _prefer_valid(dists: Iterable[Distribution]) -> Iterable[Distribution]:
40+ """
41+ Prefer (move to the front) distributions that have metadata.
42+
43+ Ref python/importlib_resources#489.
44+ """
45+ buckets = bucket(dists, lambda dist: bool(dist.metadata))
46+ return itertools.chain(buckets[True], buckets[False])
47+
48 @staticmethod
49 def at(path: str | os.PathLike[str]) -> Distribution:
50 """Return a Distribution for the indicated metadata path.
51diff --git i/Lib/importlib/metadata/_itertools.py w/Lib/importlib/metadata/_itertools.py
52index d4ca9b9140e..79d37198ce7 100644
53--- i/Lib/importlib/metadata/_itertools.py
54+++ w/Lib/importlib/metadata/_itertools.py
55@@ -1,3 +1,4 @@
56+from collections import defaultdict, deque
57 from itertools import filterfalse
58
59
60@@ -71,3 +72,100 @@ def always_iterable(obj, base_type=(str, bytes)):
61 return iter(obj)
62 except TypeError:
63 return iter((obj,))
64+
65+
66+# Copied from more_itertools 10.3
67+class bucket:
68+ """Wrap *iterable* and return an object that buckets the iterable into
69+ child iterables based on a *key* function.
70+
71+ >>> iterable = ['a1', 'b1', 'c1', 'a2', 'b2', 'c2', 'b3']
72+ >>> s = bucket(iterable, key=lambda x: x[0]) # Bucket by 1st character
73+ >>> sorted(list(s)) # Get the keys
74+ ['a', 'b', 'c']
75+ >>> a_iterable = s['a']
76+ >>> next(a_iterable)
77+ 'a1'
78+ >>> next(a_iterable)
79+ 'a2'
80+ >>> list(s['b'])
81+ ['b1', 'b2', 'b3']
82+
83+ The original iterable will be advanced and its items will be cached until
84+ they are used by the child iterables. This may require significant storage.
85+
86+ By default, attempting to select a bucket to which no items belong will
87+ exhaust the iterable and cache all values.
88+ If you specify a *validator* function, selected buckets will instead be
89+ checked against it.
90+
91+ >>> from itertools import count
92+ >>> it = count(1, 2) # Infinite sequence of odd numbers
93+ >>> key = lambda x: x % 10 # Bucket by last digit
94+ >>> validator = lambda x: x in {1, 3, 5, 7, 9} # Odd digits only
95+ >>> s = bucket(it, key=key, validator=validator)
96+ >>> 2 in s
97+ False
98+ >>> list(s[2])
99+ []
100+
101+ """
102+
103+ def __init__(self, iterable, key, validator=None):
104+ self._it = iter(iterable)
105+ self._key = key
106+ self._cache = defaultdict(deque)
107+ self._validator = validator or (lambda x: True)
108+
109+ def __contains__(self, value):
110+ if not self._validator(value):
111+ return False
112+
113+ try:
114+ item = next(self[value])
115+ except StopIteration:
116+ return False
117+ else:
118+ self._cache[value].appendleft(item)
119+
120+ return True
121+
122+ def _get_values(self, value):
123+ """
124+ Helper to yield items from the parent iterator that match *value*.
125+ Items that don't match are stored in the local cache as they
126+ are encountered.
127+ """
128+ while True:
129+ # If we've cached some items that match the target value, emit
130+ # the first one and evict it from the cache.
131+ if self._cache[value]:
132+ yield self._cache[value].popleft()
133+ # Otherwise we need to advance the parent iterator to search for
134+ # a matching item, caching the rest.
135+ else:
136+ while True:
137+ try:
138+ item = next(self._it)
139+ except StopIteration:
140+ return
141+ item_value = self._key(item)
142+ if item_value == value:
143+ yield item
144+ break
145+ elif self._validator(item_value):
146+ self._cache[item_value].append(item)
147+
148+ def __iter__(self):
149+ for item in self._it:
150+ item_value = self._key(item)
151+ if self._validator(item_value):
152+ self._cache[item_value].append(item)
153+
154+ yield from self._cache.keys()
155+
156+ def __getitem__(self, value):
157+ if not self._validator(value):
158+ return iter(())
159+
160+ return self._get_values(value)
diff --git a/meta/recipes-devtools/python/python3_3.12.3.bb b/meta/recipes-devtools/python/python3_3.13.5.bb
index 37afa442fa..f9ae534213 100644
--- a/meta/recipes-devtools/python/python3_3.12.3.bb
+++ b/meta/recipes-devtools/python/python3_3.13.5.bb
@@ -4,7 +4,7 @@ DESCRIPTION = "Python is a programming language that lets you work more quickly
4LICENSE = "PSF-2.0" 4LICENSE = "PSF-2.0"
5SECTION = "devel/python" 5SECTION = "devel/python"
6 6
7LIC_FILES_CHKSUM = "file://LICENSE;md5=fcf6b249c2641540219a727f35d8d2c2" 7LIC_FILES_CHKSUM = "file://LICENSE;md5=3f64a4ff490f884d562feb77bf2435f1"
8 8
9SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz \ 9SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz \
10 file://run-ptest \ 10 file://run-ptest \
@@ -13,32 +13,30 @@ SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz \
13 file://python3-manifest.json \ 13 file://python3-manifest.json \
14 file://check_build_completeness.py \ 14 file://check_build_completeness.py \
15 file://reformat_sysconfig.py \ 15 file://reformat_sysconfig.py \
16 file://cgi_py.patch \
17 file://0001-Makefile.pre-use-qemu-wrapper-when-gathering-profile.patch \ 16 file://0001-Makefile.pre-use-qemu-wrapper-when-gathering-profile.patch \
18 file://0001-python3-use-cc_basename-to-replace-CC-for-checking-c.patch \
19 file://crosspythonpath.patch \
20 file://0001-test_locale.py-correct-the-test-output-format.patch \ 17 file://0001-test_locale.py-correct-the-test-output-format.patch \
21 file://0020-configure.ac-setup.py-do-not-add-a-curses-include-pa.patch \
22 file://0001-Skip-failing-tests-due-to-load-variability-on-YP-AB.patch \ 18 file://0001-Skip-failing-tests-due-to-load-variability-on-YP-AB.patch \
23 file://0001-test_ctypes.test_find-skip-without-tools-sdk.patch \ 19 file://0001-test_ctypes.test_find-skip-without-tools-sdk.patch \
24 file://makerace.patch \ 20 file://makerace.patch \
25 file://0001-sysconfig.py-use-platlibdir-also-for-purelib.patch \ 21 file://0001-sysconfig.py-use-platlibdir-also-for-purelib.patch \
26 file://0001-Lib-pty.py-handle-stdin-I-O-errors-same-way-as-maste.patch \ 22 file://0001-Lib-pty.py-handle-stdin-I-O-errors-same-way-as-maste.patch \
27 file://deterministic_imports.patch \ 23 file://valid-dists.patch \
28 file://0001-Avoid-shebang-overflow-on-python-config.py.patch \ 24 file://0001-Avoid-shebang-overflow-on-python-config.py.patch \
29 file://0001-Update-test_sysconfig-for-posix_user-purelib.patch \ 25 file://0001-Update-test_sysconfig-for-posix_user-purelib.patch \
30 file://0001-skip-no_stdout_fileno-test-due-to-load-variability.patch \ 26 file://0001-skip-no_stdout_fileno-test-due-to-load-variability.patch \
31 file://0001-test_storlines-skip-due-to-load-variability.patch \ 27 file://0001-test_storlines-skip-due-to-load-variability.patch \
32 file://0001-gh-114492-Initialize-struct-termios-before-calling-t.patch \
33 file://0001-test_shutdown-skip-problematic-test.patch \ 28 file://0001-test_shutdown-skip-problematic-test.patch \
34 file://0001-gh-107811-tarfile-treat-overflow-in-UID-GID-as-failu.patch \ 29 file://0001-test_deadlock-skip-problematic-test.patch \
30 file://0001-test_active_children-skip-problematic-test.patch \
31 file://0001-test_readline-skip-limited-history-test.patch \
32 file://0001-Generate-data-for-OpenSSL-3.4-and-add-it-to-multissl.patch \
35 " 33 "
36 34
37SRC_URI:append:class-native = " \ 35SRC_URI:append:class-native = " \
38 file://0001-Lib-sysconfig.py-use-prefix-value-from-build-configu.patch \ 36 file://0001-Lib-sysconfig.py-use-prefix-value-from-build-configu.patch \
39 " 37 "
40 38
41SRC_URI[sha256sum] = "56bfef1fdfc1221ce6720e43a661e3eb41785dd914ce99698d8c7896af4bdaa1" 39SRC_URI[sha256sum] = "93e583f243454e6e9e4588ca2c2662206ad961659863277afcdb96801647d640"
42 40
43# exclude pre-releases for both python 2.x and 3.x 41# exclude pre-releases for both python 2.x and 3.x
44UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P<pver>\d+(\.\d+)+).tar" 42UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P<pver>\d+(\.\d+)+).tar"
@@ -53,9 +51,9 @@ CVE_STATUS[CVE-2022-26488] = "not-applicable-platform: Issue only applies on Win
53CVE_STATUS[CVE-2015-20107] = "upstream-wontfix: The mailcap module is insecure by design, so this can't be fixed in a meaningful way" 51CVE_STATUS[CVE-2015-20107] = "upstream-wontfix: The mailcap module is insecure by design, so this can't be fixed in a meaningful way"
54CVE_STATUS[CVE-2023-36632] = "disputed: Not an issue, in fact expected behaviour" 52CVE_STATUS[CVE-2023-36632] = "disputed: Not an issue, in fact expected behaviour"
55 53
56PYTHON_MAJMIN = "3.12" 54PYTHON_MAJMIN = "3.13"
57 55
58S = "${WORKDIR}/Python-${PV}" 56S = "${UNPACKDIR}/Python-${PV}"
59 57
60BBCLASSEXTEND = "native nativesdk" 58BBCLASSEXTEND = "native nativesdk"
61 59
@@ -67,8 +65,22 @@ ALTERNATIVE:${PN}-dev = "python3-config"
67ALTERNATIVE_LINK_NAME[python3-config] = "${bindir}/python${PYTHON_MAJMIN}-config" 65ALTERNATIVE_LINK_NAME[python3-config] = "${bindir}/python${PYTHON_MAJMIN}-config"
68ALTERNATIVE_TARGET[python3-config] = "${bindir}/python${PYTHON_MAJMIN}-config-${MULTILIB_SUFFIX}" 66ALTERNATIVE_TARGET[python3-config] = "${bindir}/python${PYTHON_MAJMIN}-config-${MULTILIB_SUFFIX}"
69 67
68DEPENDS = "\
69 autoconf-archive-native \
70 bzip2 \
71 bzip2-replacement-native \
72 expat \
73 libffi \
74 ncurses \
75 openssl \
76 sqlite3 \
77 util-linux-libuuid \
78 virtual/crypt \
79 virtual/libintl \
80 xz \
81 zlib \
82"
70 83
71DEPENDS = "bzip2-replacement-native expat libffi bzip2 openssl sqlite3 zlib virtual/libintl xz virtual/crypt util-linux-libuuid libtirpc libnsl2 autoconf-archive-native ncurses"
72DEPENDS:append:class-target = " python3-native" 84DEPENDS:append:class-target = " python3-native"
73DEPENDS:append:class-nativesdk = " python3-native" 85DEPENDS:append:class-nativesdk = " python3-native"
74 86
@@ -77,7 +89,7 @@ EXTRA_OECONF:append:class-native = " --bindir=${bindir}/${PN}"
77EXTRA_OECONF:append:class-target = " --with-build-python=nativepython3" 89EXTRA_OECONF:append:class-target = " --with-build-python=nativepython3"
78EXTRA_OECONF:append:class-nativesdk = " --with-build-python=nativepython3" 90EXTRA_OECONF:append:class-nativesdk = " --with-build-python=nativepython3"
79 91
80export CROSSPYTHONPATH="${STAGING_LIBDIR_NATIVE}/python${PYTHON_MAJMIN}/lib-dynload/" 92export CROSSPYTHONPATH = "${STAGING_LIBDIR_NATIVE}/python${PYTHON_MAJMIN}/lib-dynload/"
81 93
82EXTRANATIVEPATH += "python3-native" 94EXTRANATIVEPATH += "python3-native"
83 95
@@ -89,6 +101,10 @@ CACHED_CONFIGUREVARS = " \
89 ac_cv_file__dev_ptc=no \ 101 ac_cv_file__dev_ptc=no \
90 ac_cv_working_tzset=yes \ 102 ac_cv_working_tzset=yes \
91" 103"
104CACHED_CONFIGUREVARS:append:class-target = " \
105 ac_cv_libatomic_needed=yes \
106"
107
92# set thread stack size to 2MB on musl for interpreter and stdlib C extensions 108# set thread stack size to 2MB on musl for interpreter and stdlib C extensions
93# so it does not run into stack limits due to musl's small thread stack 109# so it does not run into stack limits due to musl's small thread stack
94# This is only needed to build interpreter and not the subsequent modules 110# This is only needed to build interpreter and not the subsequent modules
@@ -107,6 +123,7 @@ PACKAGECONFIG[tk] = ",,tk"
107PACKAGECONFIG[tcl] = ",,tcl" 123PACKAGECONFIG[tcl] = ",,tcl"
108PACKAGECONFIG[gdbm] = ",,gdbm" 124PACKAGECONFIG[gdbm] = ",,gdbm"
109PACKAGECONFIG[lto] = "--with-lto,--without-lto" 125PACKAGECONFIG[lto] = "--with-lto,--without-lto"
126PACKAGECONFIG[staticlibpython] = "--with-static-libpython,--without-static-libpython"
110 127
111do_configure:prepend () { 128do_configure:prepend () {
112 mkdir -p ${B}/Modules 129 mkdir -p ${B}/Modules
@@ -118,7 +135,7 @@ ${@bb.utils.contains('PACKAGECONFIG', 'tk', '', '_tkinter', d)}
118EOF 135EOF
119} 136}
120 137
121CPPFLAGS:append = " -I${STAGING_INCDIR}/ncursesw -I${STAGING_INCDIR}/uuid" 138CPPFLAGS += "-I${STAGING_INCDIR}/ncursesw -I${STAGING_INCDIR}/uuid"
122 139
123# COMPILEALL_OPTS= ensures that .pyc are not compiled in parallel 140# COMPILEALL_OPTS= ensures that .pyc are not compiled in parallel
124# This was found to lock up builds, break reproducibility, and produce strange file ownership 141# This was found to lock up builds, break reproducibility, and produce strange file ownership
@@ -215,20 +232,6 @@ do_install:append() {
215 $sysconfigfile 232 $sysconfigfile
216 cp $sysconfigfile ${D}${libdir}/python-sysconfigdata/_sysconfigdata.py 233 cp $sysconfigfile ${D}${libdir}/python-sysconfigdata/_sysconfigdata.py
217 234
218
219 # Unfortunately the following pyc files are non-deterministc due to 'frozenset'
220 # being written without strict ordering, even with PYTHONHASHSEED = 0
221 # Upstream is discussing ways to solve the issue properly, until then let's
222 # just not install the problematic files.
223 # More info: http://benno.id.au/blog/2013/01/15/python-determinism
224 rm -f ${D}${libdir}/python${PYTHON_MAJMIN}/test/__pycache__/test_range.cpython*
225 rm -f ${D}${libdir}/python${PYTHON_MAJMIN}/test/__pycache__/test_xml_etree.cpython*
226
227 # Similar to the above, we're getting reproducibility issues with
228 # /usr/lib/python3.10/__pycache__/traceback.cpython-310.pyc
229 # so remove it too
230 rm -f ${D}${libdir}/python${PYTHON_MAJMIN}/__pycache__/traceback.cpython*
231
232 # Remove the opt-1.pyc and opt-2.pyc files. They effectively waste space on embedded 235 # Remove the opt-1.pyc and opt-2.pyc files. They effectively waste space on embedded
233 # style targets as they're only used when python is called with the -O or -OO options 236 # style targets as they're only used when python is called with the -O or -OO options
234 # which is rare. 237 # which is rare.
@@ -244,7 +247,7 @@ do_install:append:class-nativesdk () {
244} 247}
245 248
246do_install_ptest:append:class-target:libc-musl () { 249do_install_ptest:append:class-target:libc-musl () {
247 sed -i -e 's|SKIPPED_TESTS=|SKIPPED_TESTS="-x test__locale -x test_c_locale_coercion -x test_locale -x test_os test_re -x test__xxsubinterpreters -x test_threading"|' ${D}${PTEST_PATH}/run-ptest 250 sed -i -e 's|SKIPPED_TESTS=|SKIPPED_TESTS="-x test__locale -x test_c_locale_coercion -x test_locale -x test_os test_re -x test__xxsubinterpreters -x test_threading --ignore test.test_strptime.StrptimeTests.test_date_locale2"|' ${D}${PTEST_PATH}/run-ptest
248} 251}
249 252
250SYSROOT_PREPROCESS_FUNCS:append:class-target = " provide_target_config_script" 253SYSROOT_PREPROCESS_FUNCS:append:class-target = " provide_target_config_script"
@@ -356,7 +359,6 @@ python(){
356 newpackages.append(pypackage) 359 newpackages.append(pypackage)
357 360
358 # "Build" python's manifest FILES, RDEPENDS and SUMMARY 361 # "Build" python's manifest FILES, RDEPENDS and SUMMARY
359 d.setVar('FILES:' + pypackage, '')
360 for value in python_manifest[key]['files']: 362 for value in python_manifest[key]['files']:
361 d.appendVar('FILES:' + pypackage, ' ' + value) 363 d.appendVar('FILES:' + pypackage, ' ' + value)
362 364
@@ -381,6 +383,7 @@ python(){
381 # Prepending so to avoid python-misc getting everything 383 # Prepending so to avoid python-misc getting everything
382 packages = newpackages + packages 384 packages = newpackages + packages
383 d.setVar('PACKAGES', ' '.join(packages)) 385 d.setVar('PACKAGES', ' '.join(packages))
386 d.setVar('ALLOW_EMPTY:${PN}-fcntl', '1')
384 d.setVar('ALLOW_EMPTY:${PN}-modules', '1') 387 d.setVar('ALLOW_EMPTY:${PN}-modules', '1')
385 d.setVar('ALLOW_EMPTY:${PN}-pkgutil', '1') 388 d.setVar('ALLOW_EMPTY:${PN}-pkgutil', '1')
386 389
@@ -400,6 +403,8 @@ do_create_manifest() {
400 # be present, we must ensure it is. 403 # be present, we must ensure it is.
401 404
402 cp ${UNPACKDIR}/create_manifest3.py ${WORKDIR} 405 cp ${UNPACKDIR}/create_manifest3.py ${WORKDIR}
406 cp ${UNPACKDIR}/python3-manifest.json ${WORKDIR}
407 cp ${UNPACKDIR}/get_module_deps3.py ${WORKDIR}
403 cd ${WORKDIR} 408 cd ${WORKDIR}
404 # This needs to be executed by python-native and NOT by HOST's python 409 # This needs to be executed by python-native and NOT by HOST's python
405 nativepython3 create_manifest3.py ${PYTHON_MAJMIN} 410 nativepython3 create_manifest3.py ${PYTHON_MAJMIN}
@@ -421,6 +426,7 @@ RPROVIDES:${PN}-modules = "${PN}"
421 426
422FILES:${PN}-pydoc += "${bindir}/pydoc${PYTHON_MAJMIN} ${bindir}/pydoc3" 427FILES:${PN}-pydoc += "${bindir}/pydoc${PYTHON_MAJMIN} ${bindir}/pydoc3"
423FILES:${PN}-idle += "${bindir}/idle3 ${bindir}/idle${PYTHON_MAJMIN}" 428FILES:${PN}-idle += "${bindir}/idle3 ${bindir}/idle${PYTHON_MAJMIN}"
429FILES:${PN}-tkinter += "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_tkinter.*.so"
424 430
425# provide python-pyvenv from python3-venv 431# provide python-pyvenv from python3-venv
426RPROVIDES:${PN}-venv += "${MLPREFIX}python3-pyvenv" 432RPROVIDES:${PN}-venv += "${MLPREFIX}python3-pyvenv"
@@ -435,13 +441,13 @@ INSANE_SKIP:${PN}-ptest = "dev-deps"
435# catch all the rest (unsorted) 441# catch all the rest (unsorted)
436PACKAGES += "${PN}-misc" 442PACKAGES += "${PN}-misc"
437RDEPENDS:${PN}-misc += "\ 443RDEPENDS:${PN}-misc += "\
438 ${PN}-audio \ 444 ${PN}-audio \
439 ${PN}-codecs \ 445 ${PN}-codecs \
440 ${PN}-core \ 446 ${PN}-core \
441 ${PN}-email \ 447 ${PN}-email \
442 ${PN}-numbers \ 448 ${PN}-numbers \
443 ${PN}-pickle \ 449 ${PN}-pickle \
444 ${PN}-pydoc \ 450 ${PN}-pydoc \
445" 451"
446RDEPENDS:${PN}-modules:append:class-target = " ${MLPREFIX}python3-misc" 452RDEPENDS:${PN}-modules:append:class-target = " ${MLPREFIX}python3-misc"
447RDEPENDS:${PN}-modules:append:class-nativesdk = " ${MLPREFIX}python3-misc" 453RDEPENDS:${PN}-modules:append:class-nativesdk = " ${MLPREFIX}python3-misc"
@@ -454,9 +460,26 @@ FILES:${PN}-man = "${datadir}/man"
454 460
455# See https://bugs.python.org/issue18748 and https://bugs.python.org/issue37395 461# See https://bugs.python.org/issue18748 and https://bugs.python.org/issue37395
456RDEPENDS:libpython3:append:libc-glibc = " libgcc" 462RDEPENDS:libpython3:append:libc-glibc = " libgcc"
457RDEPENDS:${PN}-ctypes:append:libc-glibc = " ${MLPREFIX}ldconfig" 463RRECOMMENDS:${PN}-ctypes:append:libc-glibc = " ${MLPREFIX}ldconfig"
458RDEPENDS:${PN}-ptest = "${PN}-modules ${PN}-tests ${PN}-dev ${PN}-cgitb ${PN}-zipapp unzip bzip2 libgcc tzdata coreutils sed gcc g++ binutils \ 464RDEPENDS:${PN}-ptest = "\
459 locale-base-fr-fr locale-base-en-us locale-base-de-de" 465 ${PN}-dev \
466 ${PN}-modules \
467 ${PN}-tests \
468 ${PN}-zipapp \
469 binutils \
470 bzip2 \
471 coreutils \
472 gcc \
473 gcc-symlinks \
474 g++ \
475 libgcc \
476 locale-base-fr-fr \
477 locale-base-en-us \
478 locale-base-de-de \
479 sed \
480 tzdata \
481 unzip \
482"
460RDEPENDS:${PN}-ptest:append:libc-glibc = " locale-base-tr-tr" 483RDEPENDS:${PN}-ptest:append:libc-glibc = " locale-base-tr-tr"
461RDEPENDS:${PN}-tkinter += "${@bb.utils.contains('PACKAGECONFIG', 'tk', '${MLPREFIX}tk ${MLPREFIX}tk-lib', '', d)}" 484RDEPENDS:${PN}-tkinter += "${@bb.utils.contains('PACKAGECONFIG', 'tk', '${MLPREFIX}tk ${MLPREFIX}tk-lib', '', d)}"
462RDEPENDS:${PN}-idle += "${@bb.utils.contains('PACKAGECONFIG', 'tk', '${PN}-tkinter ${MLPREFIX}tcl', '', d)}" 485RDEPENDS:${PN}-idle += "${@bb.utils.contains('PACKAGECONFIG', 'tk', '${PN}-tkinter ${MLPREFIX}tcl', '', d)}"
diff --git a/meta/recipes-devtools/qemu/nativesdk-qemu-helper_1.0.bb b/meta/recipes-devtools/qemu/nativesdk-qemu-helper_1.0.bb
index 997f72e6e7..35735c1e15 100644
--- a/meta/recipes-devtools/qemu/nativesdk-qemu-helper_1.0.bb
+++ b/meta/recipes-devtools/qemu/nativesdk-qemu-helper_1.0.bb
@@ -4,10 +4,8 @@ RDEPENDS:${PN} = "nativesdk-qemu nativesdk-unfs3 nativesdk-pseudo \
4 nativesdk-python3-shell nativesdk-python3-fcntl nativesdk-python3-logging \ 4 nativesdk-python3-shell nativesdk-python3-fcntl nativesdk-python3-logging \
5 " 5 "
6 6
7
8LIC_FILES_CHKSUM = "file://${COREBASE}/scripts/runqemu;beginline=5;endline=10;md5=ac2b489a58739c7628a2604698db5e7f" 7LIC_FILES_CHKSUM = "file://${COREBASE}/scripts/runqemu;beginline=5;endline=10;md5=ac2b489a58739c7628a2604698db5e7f"
9 8
10
11SRC_URI = "file://${COREBASE}/scripts/runqemu \ 9SRC_URI = "file://${COREBASE}/scripts/runqemu \
12 file://${COREBASE}/scripts/runqemu-addptable2image \ 10 file://${COREBASE}/scripts/runqemu-addptable2image \
13 file://${COREBASE}/scripts/runqemu-gen-tapdevs \ 11 file://${COREBASE}/scripts/runqemu-gen-tapdevs \
@@ -18,7 +16,7 @@ SRC_URI = "file://${COREBASE}/scripts/runqemu \
18 file://${COREBASE}/scripts/runqemu-export-rootfs \ 16 file://${COREBASE}/scripts/runqemu-export-rootfs \
19 " 17 "
20 18
21S = "${WORKDIR}" 19S = "${UNPACKDIR}"
22 20
23inherit nativesdk 21inherit nativesdk
24 22
diff --git a/meta/recipes-devtools/qemu/qemu-helper-native_1.0.bb b/meta/recipes-devtools/qemu/qemu-helper-native_1.0.bb
index 8bb6ef0995..30108e76df 100644
--- a/meta/recipes-devtools/qemu/qemu-helper-native_1.0.bb
+++ b/meta/recipes-devtools/qemu/qemu-helper-native_1.0.bb
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://${S}/qemu-oe-bridge-helper.c;endline=4;md5=ae00a3bab8
6 6
7SRC_URI = "file://qemu-oe-bridge-helper.c" 7SRC_URI = "file://qemu-oe-bridge-helper.c"
8 8
9S = "${WORKDIR}" 9S = "${UNPACKDIR}"
10 10
11inherit native 11inherit native
12 12
diff --git a/meta/recipes-devtools/qemu/qemu-native.inc b/meta/recipes-devtools/qemu/qemu-native.inc
index 891dc5e2a1..d074d7d181 100644
--- a/meta/recipes-devtools/qemu/qemu-native.inc
+++ b/meta/recipes-devtools/qemu/qemu-native.inc
@@ -4,4 +4,4 @@ inherit_defer native
4 4
5EXTRA_OEMAKE:append = " LD='${LD}' AR='${AR}' OBJCOPY='${OBJCOPY}' LDFLAGS='${LDFLAGS}'" 5EXTRA_OEMAKE:append = " LD='${LD}' AR='${AR}' OBJCOPY='${OBJCOPY}' LDFLAGS='${LDFLAGS}'"
6 6
7LDFLAGS:append = " -fuse-ld=bfd" 7LDFLAGS += "-fuse-ld=bfd"
diff --git a/meta/recipes-devtools/qemu/qemu-native_8.2.1.bb b/meta/recipes-devtools/qemu/qemu-native_10.0.2.bb
index a77953529b..26fa84c180 100644
--- a/meta/recipes-devtools/qemu/qemu-native_8.2.1.bb
+++ b/meta/recipes-devtools/qemu/qemu-native_10.0.2.bb
@@ -7,3 +7,4 @@ require qemu-native.inc
7EXTRA_OECONF:append = " --target-list=${@get_qemu_usermode_target_list(d)} --disable-tools --disable-install-blobs --disable-guest-agent" 7EXTRA_OECONF:append = " --target-list=${@get_qemu_usermode_target_list(d)} --disable-tools --disable-install-blobs --disable-guest-agent"
8 8
9PACKAGECONFIG ??= "pie" 9PACKAGECONFIG ??= "pie"
10
diff --git a/meta/recipes-devtools/qemu/qemu-system-native_8.2.1.bb b/meta/recipes-devtools/qemu/qemu-system-native_10.0.2.bb
index 5d2fbcbc02..22462e2499 100644
--- a/meta/recipes-devtools/qemu/qemu-system-native_8.2.1.bb
+++ b/meta/recipes-devtools/qemu/qemu-system-native_10.0.2.bb
@@ -9,7 +9,7 @@ DEPENDS += "glib-2.0-native zlib-native pixman-native qemu-native"
9 9
10EXTRA_OECONF:append = " --target-list=${@get_qemu_system_target_list(d)}" 10EXTRA_OECONF:append = " --target-list=${@get_qemu_system_target_list(d)}"
11 11
12PACKAGECONFIG ??= "fdt alsa kvm pie slirp png \ 12PACKAGECONFIG ??= "fdt alsa kvm pie slirp png pixman sdl \
13 ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'virglrenderer epoxy', '', d)} \ 13 ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'virglrenderer epoxy', '', d)} \
14" 14"
15 15
@@ -29,3 +29,4 @@ do_install:append() {
29 install -d ${D}${libdir}/qemu-python/qmp/ 29 install -d ${D}${libdir}/qemu-python/qmp/
30 install -D ${S}/python/qemu/qmp/* ${D}${libdir}/qemu-python/qmp/ 30 install -D ${S}/python/qemu/qmp/* ${D}${libdir}/qemu-python/qmp/
31} 31}
32
diff --git a/meta/recipes-devtools/qemu/qemu-targets.inc b/meta/recipes-devtools/qemu/qemu-targets.inc
index 24f9a03948..50e5eb6796 100644
--- a/meta/recipes-devtools/qemu/qemu-targets.inc
+++ b/meta/recipes-devtools/qemu/qemu-targets.inc
@@ -7,6 +7,12 @@ def get_qemu_target_list(d):
7 import bb 7 import bb
8 archs = d.getVar('QEMU_TARGETS').split() 8 archs = d.getVar('QEMU_TARGETS').split()
9 tos = d.getVar('HOST_OS') 9 tos = d.getVar('HOST_OS')
10 tarch = d.getVar('HOST_ARCH')
11 # 32 bit hosts can't handle 64 bit targets
12 if "64" not in tarch:
13 for arch in archs.copy():
14 if "64" in arch:
15 archs.remove(arch)
10 softmmuonly = "" 16 softmmuonly = ""
11 for arch in ['ppcemb', 'lm32']: 17 for arch in ['ppcemb', 'lm32']:
12 if arch in archs: 18 if arch in archs:
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
index f76cbbb5cb..7893df0df2 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -21,62 +21,37 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac \
21SRC_URI = "https://download.qemu.org/${BPN}-${PV}.tar.xz \ 21SRC_URI = "https://download.qemu.org/${BPN}-${PV}.tar.xz \
22 file://powerpc_rom.bin \ 22 file://powerpc_rom.bin \
23 file://run-ptest \ 23 file://run-ptest \
24 file://fix-strerrorname_np.patch \
24 file://0001-qemu-Add-addition-environment-space-to-boot-loader-q.patch \ 25 file://0001-qemu-Add-addition-environment-space-to-boot-loader-q.patch \
25 file://0003-apic-fixup-fallthrough-to-PIC.patch \ 26 file://0002-apic-fixup-fallthrough-to-PIC.patch \
26 file://0004-configure-Add-pkg-config-handling-for-libgcrypt.patch \ 27 file://0004-qemu-Do-not-include-file-if-not-exists.patch \
27 file://0005-qemu-Do-not-include-file-if-not-exists.patch \ 28 file://0005-qemu-Add-some-user-space-mmap-tweaks-to-address-musl.patch \
28 file://0006-qemu-Add-some-user-space-mmap-tweaks-to-address-musl.patch \ 29 file://0006-qemu-Determinism-fixes.patch \
29 file://0007-qemu-Determinism-fixes.patch \ 30 file://0007-tests-meson.build-use-relative-path-to-refer-to-file.patch \
30 file://0008-tests-meson.build-use-relative-path-to-refer-to-file.patch \ 31 file://0008-Define-MAP_SYNC-and-MAP_SHARED_VALIDATE-on-needed-li.patch \
31 file://0009-Define-MAP_SYNC-and-MAP_SHARED_VALIDATE-on-needed-li.patch \ 32 file://0010-configure-lookup-meson-exutable-from-PATH.patch \
32 file://0010-hw-pvrdma-Protect-against-buggy-or-malicious-guest-d.patch \ 33 file://0011-qemu-Ensure-pip-and-the-python-venv-aren-t-used-for-.patch \
33 file://0002-linux-user-Replace-use-of-lfs64-related-functions-an.patch \
34 file://fixedmeson.patch \
35 file://no-pip.patch \
36 file://4a8579ad8629b57a43daa62e46cc7af6e1078116.patch \
37 file://0001-linux-user-x86_64-Handle-the-vsyscall-page-in-open_s.patch \
38 file://0002-linux-user-loongarch64-Remove-TARGET_FORCE_SHMLBA.patch \
39 file://0003-linux-user-Add-strace-for-shmat.patch \
40 file://0004-linux-user-Rewrite-target_shmat.patch \
41 file://0005-tests-tcg-Check-that-shmat-does-not-break-proc-self-.patch \
42 file://CVE-2023-6683.patch \
43 file://qemu-guest-agent.init \ 34 file://qemu-guest-agent.init \
44 file://qemu-guest-agent.udev \ 35 file://qemu-guest-agent.udev \
45 " 36 "
37# file index at download.qemu.org isn't reliable: https://gitlab.com/qemu-project/qemu-web/-/issues/9
38UPSTREAM_CHECK_URI = "https://www.qemu.org"
46UPSTREAM_CHECK_REGEX = "qemu-(?P<pver>\d+(\.\d+)+)\.tar" 39UPSTREAM_CHECK_REGEX = "qemu-(?P<pver>\d+(\.\d+)+)\.tar"
47 40
48# SDK_OLDEST_KERNEL is set below 4.17, which is the minimum version required by QEMU >= 8.1 41SRC_URI[sha256sum] = "ef786f2398cb5184600f69aef4d5d691efd44576a3cff4126d38d4c6fec87759"
49# This is due to two MMAP flags being used at certain points
50SRC_URI:append:class-nativesdk = " \
51 file://0011-linux-user-workaround-for-missing-MAP_FIXED_NOREPLAC.patch \
52 file://0012-linux-user-workaround-for-missing-MAP_SHARED_VALIDAT.patch \
53 "
54
55# Support building and using native version on pre 4.17 kernels
56SRC_URI:append:class-native = " \
57 file://0011-linux-user-workaround-for-missing-MAP_FIXED_NOREPLAC.patch \
58 file://0012-linux-user-workaround-for-missing-MAP_SHARED_VALIDAT.patch \
59 "
60
61SRC_URI[sha256sum] = "8562751158175f9d187c5f22b57555abe3c870f0325c8ced12c34c6d987729be"
62 42
63CVE_STATUS[CVE-2007-0998] = "not-applicable-config: The VNC server can expose host files uder some circumstances. We don't enable it by default." 43CVE_STATUS[CVE-2007-0998] = "not-applicable-config: The VNC server can expose host files uder some circumstances. We don't enable it by default."
64 44
65# https://bugzilla.redhat.com/show_bug.cgi?id=1609015#c11 45# https://bugzilla.redhat.com/show_bug.cgi?id=1609015#c11
66CVE_STATUS[CVE-2018-18438] = "disputed: The issues identified by this CVE were determined to not constitute a vulnerability." 46CVE_STATUS[CVE-2018-18438] = "disputed: The issues identified by this CVE were determined to not constitute a vulnerability."
67 47
68# As per https://nvd.nist.gov/vuln/detail/CVE-2023-0664
69# https://bugzilla.redhat.com/show_bug.cgi?id=2167423
70CVE_STATUS[CVE-2023-0664] = "not-applicable-platform: Issue only applies on Windows"
71
72# As per https://bugzilla.redhat.com/show_bug.cgi?id=2203387 48# As per https://bugzilla.redhat.com/show_bug.cgi?id=2203387
73CVE_STATUS[CVE-2023-2680] = "not-applicable-platform: RHEL specific issue." 49CVE_STATUS[CVE-2023-2680] = "not-applicable-platform: RHEL specific issue."
74 50
75CVE_STATUS[CVE-2023-3019] = "cpe-incorrect: Applies only against versions before 8.2.0" 51# NVD DB has this CVE as version-less (with "-")
76 52CVE_STATUS[CVE-2024-6505] = "fixed-version: this CVE is fixed since 9.1.0"
77CVE_STATUS[CVE-2023-5088] = "cpe-incorrect: Applies only against version 8.2.0 and earlier"
78 53
79CVE_STATUS[CVE-2023-6693] = "cpe-incorrect: Applies only against version 8.2.0 and earlier" 54CVE_STATUS[CVE-2023-1386] = "disputed: not an issue as per https://bugzilla.redhat.com/show_bug.cgi?id=2223985"
80 55
81COMPATIBLE_HOST:mipsarchn32 = "null" 56COMPATIBLE_HOST:mipsarchn32 = "null"
82COMPATIBLE_HOST:mipsarchn64 = "null" 57COMPATIBLE_HOST:mipsarchn64 = "null"
@@ -182,27 +157,16 @@ do_install () {
182 rm ${D}${datadir}/qemu/s390-netboot.img -f 157 rm ${D}${datadir}/qemu/s390-netboot.img -f
183 # ELF binary /usr/share/qemu/s390-ccw.img has relocations in .text [textrel] 158 # ELF binary /usr/share/qemu/s390-ccw.img has relocations in .text [textrel]
184 rm ${D}${datadir}/qemu/s390-ccw.img -f 159 rm ${D}${datadir}/qemu/s390-ccw.img -f
160 # We don't support PARISC and these cause strip and SDK relocation errors
161 rm ${D}${datadir}/qemu/hppa* -f
185} 162}
186 163
187# The following fragment will create a wrapper for qemu-mips user emulation
188# binary in order to work around a segmentation fault issue. Basically, by
189# default, the reserved virtual address space for 32-on-64 bit is set to 4GB.
190# This will trigger a MMU access fault in the virtual CPU. With this change,
191# the qemu-mips works fine.
192# IMPORTANT: This piece needs to be removed once the root cause is fixed!
193do_install:append() {
194 if [ -e "${D}/${bindir}/qemu-mips" ]; then
195 create_wrapper ${D}/${bindir}/qemu-mips \
196 QEMU_RESERVED_VA=0x0
197 fi
198}
199# END of qemu-mips workaround
200
201# Disable kvm/virgl/mesa on targets that do not support it 164# Disable kvm/virgl/mesa on targets that do not support it
202PACKAGECONFIG:remove:darwin = "kvm virglrenderer epoxy gtk+" 165PACKAGECONFIG:remove:darwin = "kvm virglrenderer epoxy gtk+"
203PACKAGECONFIG:remove:mingw32 = "kvm virglrenderer epoxy gtk+ pie" 166PACKAGECONFIG:remove:mingw32 = "kvm virglrenderer epoxy gtk+ pie"
204 167
205PACKAGECONFIG[sdl] = "--enable-sdl,--disable-sdl,libsdl2" 168PACKAGECONFIG[sdl] = "--enable-sdl,--disable-sdl,virtual/libsdl2"
169PACKAGECONFIG[sdl-image] = "--enable-sdl-image,--disable-sdl-image,libsdl2-image"
206PACKAGECONFIG[png] = "--enable-png,--disable-png,libpng" 170PACKAGECONFIG[png] = "--enable-png,--disable-png,libpng"
207PACKAGECONFIG[virtfs] = "--enable-virtfs --enable-attr --enable-cap-ng,--disable-virtfs,libcap-ng attr," 171PACKAGECONFIG[virtfs] = "--enable-virtfs --enable-attr --enable-cap-ng,--disable-virtfs,libcap-ng attr,"
208PACKAGECONFIG[aio] = "--enable-linux-aio,--disable-linux-aio,libaio," 172PACKAGECONFIG[aio] = "--enable-linux-aio,--disable-linux-aio,libaio,"
@@ -213,6 +177,7 @@ PACKAGECONFIG[vnc-jpeg] = "--enable-vnc --enable-vnc-jpeg,--disable-vnc-jpeg,jpe
213PACKAGECONFIG[libcurl] = "--enable-curl,--disable-curl,curl," 177PACKAGECONFIG[libcurl] = "--enable-curl,--disable-curl,curl,"
214PACKAGECONFIG[nss] = "--enable-smartcard,--disable-smartcard,nss," 178PACKAGECONFIG[nss] = "--enable-smartcard,--disable-smartcard,nss,"
215PACKAGECONFIG[curses] = "--enable-curses,--disable-curses,ncurses," 179PACKAGECONFIG[curses] = "--enable-curses,--disable-curses,ncurses,"
180PACKAGECONFIG[pixman] = "--enable-pixman,--disable-pixman,pixman"
216PACKAGECONFIG[gtk+] = "--enable-gtk,--disable-gtk,gtk+3 gettext-native" 181PACKAGECONFIG[gtk+] = "--enable-gtk,--disable-gtk,gtk+3 gettext-native"
217PACKAGECONFIG[vte] = "--enable-vte,--disable-vte,vte gettext-native" 182PACKAGECONFIG[vte] = "--enable-vte,--disable-vte,vte gettext-native"
218PACKAGECONFIG[libcap-ng] = "--enable-cap-ng,--disable-cap-ng,libcap-ng," 183PACKAGECONFIG[libcap-ng] = "--enable-cap-ng,--disable-cap-ng,libcap-ng,"
@@ -287,9 +252,6 @@ python split_qemu_packages () {
287 subpackages += do_split_packages(d, archdir, r'^qemu-((?!system|edid|ga|img|io|nbd|pr-helper|storage-daemon).*)$', '${PN}-user-%s', 'QEMU full user emulation binaries(%s)' , prepend=True, extra_depends='${PN}-common') 252 subpackages += do_split_packages(d, archdir, r'^qemu-((?!system|edid|ga|img|io|nbd|pr-helper|storage-daemon).*)$', '${PN}-user-%s', 'QEMU full user emulation binaries(%s)' , prepend=True, extra_depends='${PN}-common')
288 if subpackages: 253 if subpackages:
289 d.appendVar('RDEPENDS:' + d.getVar('PN'), ' ' + ' '.join(subpackages)) 254 d.appendVar('RDEPENDS:' + d.getVar('PN'), ' ' + ' '.join(subpackages))
290 mipspackage = d.getVar('PN') + "-user-mips"
291 if mipspackage in ' '.join(subpackages):
292 d.appendVar('RDEPENDS:' + mipspackage, ' ' + d.getVar("MLPREFIX") + 'bash')
293} 255}
294 256
295# Put the guest agent in a separate package 257# Put the guest agent in a separate package
diff --git a/meta/recipes-devtools/qemu/qemu/0001-linux-user-x86_64-Handle-the-vsyscall-page-in-open_s.patch b/meta/recipes-devtools/qemu/qemu/0001-linux-user-x86_64-Handle-the-vsyscall-page-in-open_s.patch
deleted file mode 100644
index 2eaebe883c..0000000000
--- a/meta/recipes-devtools/qemu/qemu/0001-linux-user-x86_64-Handle-the-vsyscall-page-in-open_s.patch
+++ /dev/null
@@ -1,56 +0,0 @@
1From 4517e2046610722879761bcdb60edbb2b929c848 Mon Sep 17 00:00:00 2001
2From: Richard Henderson <richard.henderson@linaro.org>
3Date: Wed, 28 Feb 2024 10:25:14 -1000
4Subject: [PATCH 1/5] linux-user/x86_64: Handle the vsyscall page in
5 open_self_maps_{2,4}
6
7This is the only case in which we expect to have no host memory backing
8for a guest memory page, because in general linux user processes cannot
9map any pages in the top half of the 64-bit address space.
10
11Upstream-Status: Submitted [https://www.mail-archive.com/qemu-devel@nongnu.org/msg1026793.html]
12
13Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2170
14Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
15Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16---
17 linux-user/syscall.c | 16 ++++++++++++++++
18 1 file changed, 16 insertions(+)
19
20diff --git a/linux-user/syscall.c b/linux-user/syscall.c
21index a114f29a8..8307a8a61 100644
22--- a/linux-user/syscall.c
23+++ b/linux-user/syscall.c
24@@ -7922,6 +7922,10 @@ static void open_self_maps_4(const struct open_self_maps_data *d,
25 path = "[heap]";
26 } else if (start == info->vdso) {
27 path = "[vdso]";
28+#ifdef TARGET_X86_64
29+ } else if (start == TARGET_VSYSCALL_PAGE) {
30+ path = "[vsyscall]";
31+#endif
32 }
33
34 /* Except null device (MAP_ANON), adjust offset for this fragment. */
35@@ -8010,6 +8014,18 @@ static int open_self_maps_2(void *opaque, target_ulong guest_start,
36 uintptr_t host_start = (uintptr_t)g2h_untagged(guest_start);
37 uintptr_t host_last = (uintptr_t)g2h_untagged(guest_end - 1);
38
39+#ifdef TARGET_X86_64
40+ /*
41+ * Because of the extremely high position of the page within the guest
42+ * virtual address space, this is not backed by host memory at all.
43+ * Therefore the loop below would fail. This is the only instance
44+ * of not having host backing memory.
45+ */
46+ if (guest_start == TARGET_VSYSCALL_PAGE) {
47+ return open_self_maps_3(opaque, guest_start, guest_end, flags);
48+ }
49+#endif
50+
51 while (1) {
52 IntervalTreeNode *n =
53 interval_tree_iter_first(d->host_maps, host_start, host_start);
54--
552.34.1
56
diff --git a/meta/recipes-devtools/qemu/qemu/0001-qemu-Add-addition-environment-space-to-boot-loader-q.patch b/meta/recipes-devtools/qemu/qemu/0001-qemu-Add-addition-environment-space-to-boot-loader-q.patch
index c65508017d..f27208f45f 100644
--- a/meta/recipes-devtools/qemu/qemu/0001-qemu-Add-addition-environment-space-to-boot-loader-q.patch
+++ b/meta/recipes-devtools/qemu/qemu/0001-qemu-Add-addition-environment-space-to-boot-loader-q.patch
@@ -1,7 +1,7 @@
1From de64af82950a6908f9407dfc92b83c17e2af3eab Mon Sep 17 00:00:00 2001 1From 27273fcac6857750f07a2632bdb6b0ed66ae982a Mon Sep 17 00:00:00 2001
2From: Jason Wessel <jason.wessel@windriver.com> 2From: Jason Wessel <jason.wessel@windriver.com>
3Date: Fri, 28 Mar 2014 17:42:43 +0800 3Date: Fri, 28 Mar 2014 17:42:43 +0800
4Subject: [PATCH 01/12] qemu: Add addition environment space to boot loader 4Subject: [PATCH] qemu: Add addition environment space to boot loader
5 qemu-system-mips 5 qemu-system-mips
6 6
7Upstream-Status: Inappropriate - OE uses deep paths 7Upstream-Status: Inappropriate - OE uses deep paths
@@ -13,16 +13,15 @@ to only 256 bytes. This patch expands the limit.
13 13
14Signed-off-by: Jason Wessel <jason.wessel@windriver.com> 14Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
15Signed-off-by: Roy Li <rongqing.li@windriver.com> 15Signed-off-by: Roy Li <rongqing.li@windriver.com>
16
17--- 16---
18 hw/mips/malta.c | 2 +- 17 hw/mips/malta.c | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-) 18 1 file changed, 1 insertion(+), 1 deletion(-)
20 19
21Index: qemu-8.0.0/hw/mips/malta.c 20diff --git a/hw/mips/malta.c b/hw/mips/malta.c
22=================================================================== 21index 8e9cea70b..2268a8b61 100644
23--- qemu-8.0.0.orig/hw/mips/malta.c 22--- a/hw/mips/malta.c
24+++ qemu-8.0.0/hw/mips/malta.c 23+++ b/hw/mips/malta.c
25@@ -64,7 +64,7 @@ 24@@ -65,7 +65,7 @@
26 #define ENVP_PADDR 0x2000 25 #define ENVP_PADDR 0x2000
27 #define ENVP_VADDR cpu_mips_phys_to_kseg0(NULL, ENVP_PADDR) 26 #define ENVP_VADDR cpu_mips_phys_to_kseg0(NULL, ENVP_PADDR)
28 #define ENVP_NB_ENTRIES 16 27 #define ENVP_NB_ENTRIES 16
diff --git a/meta/recipes-devtools/qemu/qemu/0003-apic-fixup-fallthrough-to-PIC.patch b/meta/recipes-devtools/qemu/qemu/0002-apic-fixup-fallthrough-to-PIC.patch
index e85f8202e9..ad5c5ba03e 100644
--- a/meta/recipes-devtools/qemu/qemu/0003-apic-fixup-fallthrough-to-PIC.patch
+++ b/meta/recipes-devtools/qemu/qemu/0002-apic-fixup-fallthrough-to-PIC.patch
@@ -1,7 +1,7 @@
1From dc2a8ccd440ee3741b61606eafed3f7e092f4312 Mon Sep 17 00:00:00 2001 1From 19b95073e5d42dc4aa5392da3d422ab668003107 Mon Sep 17 00:00:00 2001
2From: Mark Asselstine <mark.asselstine@windriver.com> 2From: Mark Asselstine <mark.asselstine@windriver.com>
3Date: Tue, 26 Feb 2013 11:43:28 -0500 3Date: Tue, 26 Feb 2013 11:43:28 -0500
4Subject: [PATCH 03/12] apic: fixup fallthrough to PIC 4Subject: [PATCH] apic: fixup fallthrough to PIC
5 5
6Commit 0e21e12bb311c4c1095d0269dc2ef81196ccb60a [Don't route PIC 6Commit 0e21e12bb311c4c1095d0269dc2ef81196ccb60a [Don't route PIC
7interrupts through the local APIC if the local APIC config says so.] 7interrupts through the local APIC if the local APIC config says so.]
@@ -24,16 +24,15 @@ serviced, is -1.
24Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> 24Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
25Upstream-Status: Submitted [https://lists.gnu.org/archive/html/qemu-devel/2013-04/msg00878.html] 25Upstream-Status: Submitted [https://lists.gnu.org/archive/html/qemu-devel/2013-04/msg00878.html]
26Signed-off-by: He Zhe <zhe.he@windriver.com> 26Signed-off-by: He Zhe <zhe.he@windriver.com>
27
28--- 27---
29 hw/intc/apic.c | 2 +- 28 hw/intc/apic.c | 2 +-
30 1 file changed, 1 insertion(+), 1 deletion(-) 29 1 file changed, 1 insertion(+), 1 deletion(-)
31 30
32Index: qemu-8.0.0/hw/intc/apic.c 31diff --git a/hw/intc/apic.c b/hw/intc/apic.c
33=================================================================== 32index d18c1dbf2..45dde1fc5 100644
34--- qemu-8.0.0.orig/hw/intc/apic.c 33--- a/hw/intc/apic.c
35+++ qemu-8.0.0/hw/intc/apic.c 34+++ b/hw/intc/apic.c
36@@ -607,7 +607,7 @@ int apic_accept_pic_intr(DeviceState *de 35@@ -758,7 +758,7 @@ int apic_accept_pic_intr(DeviceState *dev)
37 APICCommonState *s = APIC(dev); 36 APICCommonState *s = APIC(dev);
38 uint32_t lvt0; 37 uint32_t lvt0;
39 38
diff --git a/meta/recipes-devtools/qemu/qemu/0002-linux-user-Replace-use-of-lfs64-related-functions-an.patch b/meta/recipes-devtools/qemu/qemu/0002-linux-user-Replace-use-of-lfs64-related-functions-an.patch
deleted file mode 100644
index ceae67be64..0000000000
--- a/meta/recipes-devtools/qemu/qemu/0002-linux-user-Replace-use-of-lfs64-related-functions-an.patch
+++ /dev/null
@@ -1,355 +0,0 @@
1From 71f14902256e3c3529710b713e1ea43100bf4c40 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 17 Dec 2022 08:37:46 -0800
4Subject: [PATCH 2/2] linux-user: Replace use of lfs64 related functions and
5 macros
6
7Builds defines -D_FILE_OFFSET_BITS=64 which makes the original functions
8anf macros behave same as their 64 suffixed counterparts. This also
9helps in compiling with latest musl C library, where these macros and
10functions are no more available under _GNU_SOURCE feature macro
11
12Upstream-Status: Submitted [https://lists.gnu.org/archive/html/qemu-devel/2022-12/msg02841.html]
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14Cc: Laurent Vivier <laurent@vivier.eu>
15---
16 linux-user/syscall.c | 153 +++++++++++--------------------------------
17 1 file changed, 39 insertions(+), 114 deletions(-)
18
19Index: qemu-8.0.0/linux-user/syscall.c
20===================================================================
21--- qemu-8.0.0.orig/linux-user/syscall.c
22+++ qemu-8.0.0/linux-user/syscall.c
23@@ -761,8 +761,8 @@ safe_syscall6(ssize_t, copy_file_range,
24 */
25 #define safe_ioctl(...) safe_syscall(__NR_ioctl, __VA_ARGS__)
26 /* Similarly for fcntl. Note that callers must always:
27- * pass the F_GETLK64 etc constants rather than the unsuffixed F_GETLK
28- * use the flock64 struct rather than unsuffixed flock
29+ * pass the F_GETLK etc constants rather than the unsuffixed F_GETLK
30+ * use the flock struct rather than unsuffixed flock
31 * This will then work and use a 64-bit offset for both 32-bit and 64-bit hosts.
32 */
33 #ifdef __NR_fcntl64
34@@ -6813,13 +6813,13 @@ static int target_to_host_fcntl_cmd(int
35 ret = cmd;
36 break;
37 case TARGET_F_GETLK:
38- ret = F_GETLK64;
39+ ret = F_GETLK;
40 break;
41 case TARGET_F_SETLK:
42- ret = F_SETLK64;
43+ ret = F_SETLK;
44 break;
45 case TARGET_F_SETLKW:
46- ret = F_SETLKW64;
47+ ret = F_SETLKW;
48 break;
49 case TARGET_F_GETOWN:
50 ret = F_GETOWN;
51@@ -6833,17 +6833,6 @@ static int target_to_host_fcntl_cmd(int
52 case TARGET_F_SETSIG:
53 ret = F_SETSIG;
54 break;
55-#if TARGET_ABI_BITS == 32
56- case TARGET_F_GETLK64:
57- ret = F_GETLK64;
58- break;
59- case TARGET_F_SETLK64:
60- ret = F_SETLK64;
61- break;
62- case TARGET_F_SETLKW64:
63- ret = F_SETLKW64;
64- break;
65-#endif
66 case TARGET_F_SETLEASE:
67 ret = F_SETLEASE;
68 break;
69@@ -6895,8 +6884,8 @@ static int target_to_host_fcntl_cmd(int
70 * them to 5, 6 and 7 before making the syscall(). Since we make the
71 * syscall directly, adjust to what is supported by the kernel.
72 */
73- if (ret >= F_GETLK64 && ret <= F_SETLKW64) {
74- ret -= F_GETLK64 - 5;
75+ if (ret >= F_GETLK && ret <= F_SETLKW) {
76+ ret -= F_GETLK - 5;
77 }
78 #endif
79
80@@ -6929,55 +6918,11 @@ static int host_to_target_flock(int type
81 return type;
82 }
83
84-static inline abi_long copy_from_user_flock(struct flock64 *fl,
85- abi_ulong target_flock_addr)
86-{
87- struct target_flock *target_fl;
88- int l_type;
89-
90- if (!lock_user_struct(VERIFY_READ, target_fl, target_flock_addr, 1)) {
91- return -TARGET_EFAULT;
92- }
93-
94- __get_user(l_type, &target_fl->l_type);
95- l_type = target_to_host_flock(l_type);
96- if (l_type < 0) {
97- return l_type;
98- }
99- fl->l_type = l_type;
100- __get_user(fl->l_whence, &target_fl->l_whence);
101- __get_user(fl->l_start, &target_fl->l_start);
102- __get_user(fl->l_len, &target_fl->l_len);
103- __get_user(fl->l_pid, &target_fl->l_pid);
104- unlock_user_struct(target_fl, target_flock_addr, 0);
105- return 0;
106-}
107-
108-static inline abi_long copy_to_user_flock(abi_ulong target_flock_addr,
109- const struct flock64 *fl)
110-{
111- struct target_flock *target_fl;
112- short l_type;
113-
114- if (!lock_user_struct(VERIFY_WRITE, target_fl, target_flock_addr, 0)) {
115- return -TARGET_EFAULT;
116- }
117-
118- l_type = host_to_target_flock(fl->l_type);
119- __put_user(l_type, &target_fl->l_type);
120- __put_user(fl->l_whence, &target_fl->l_whence);
121- __put_user(fl->l_start, &target_fl->l_start);
122- __put_user(fl->l_len, &target_fl->l_len);
123- __put_user(fl->l_pid, &target_fl->l_pid);
124- unlock_user_struct(target_fl, target_flock_addr, 1);
125- return 0;
126-}
127-
128-typedef abi_long from_flock64_fn(struct flock64 *fl, abi_ulong target_addr);
129-typedef abi_long to_flock64_fn(abi_ulong target_addr, const struct flock64 *fl);
130+typedef abi_long from_flock_fn(struct flock *fl, abi_ulong target_addr);
131+typedef abi_long to_flock_fn(abi_ulong target_addr, const struct flock *fl);
132
133 #if defined(TARGET_ARM) && TARGET_ABI_BITS == 32
134-struct target_oabi_flock64 {
135+struct target_oabi_flock {
136 abi_short l_type;
137 abi_short l_whence;
138 abi_llong l_start;
139@@ -6985,10 +6930,10 @@ struct target_oabi_flock64 {
140 abi_int l_pid;
141 } QEMU_PACKED;
142
143-static inline abi_long copy_from_user_oabi_flock64(struct flock64 *fl,
144+static inline abi_long copy_from_user_oabi_flock(struct flock *fl,
145 abi_ulong target_flock_addr)
146 {
147- struct target_oabi_flock64 *target_fl;
148+ struct target_oabi_flock *target_fl;
149 int l_type;
150
151 if (!lock_user_struct(VERIFY_READ, target_fl, target_flock_addr, 1)) {
152@@ -7009,10 +6954,10 @@ static inline abi_long copy_from_user_oa
153 return 0;
154 }
155
156-static inline abi_long copy_to_user_oabi_flock64(abi_ulong target_flock_addr,
157- const struct flock64 *fl)
158+static inline abi_long copy_to_user_oabi_flock(abi_ulong target_flock_addr,
159+ const struct flock *fl)
160 {
161- struct target_oabi_flock64 *target_fl;
162+ struct target_oabi_flock *target_fl;
163 short l_type;
164
165 if (!lock_user_struct(VERIFY_WRITE, target_fl, target_flock_addr, 0)) {
166@@ -7030,10 +6975,10 @@ static inline abi_long copy_to_user_oabi
167 }
168 #endif
169
170-static inline abi_long copy_from_user_flock64(struct flock64 *fl,
171+static inline abi_long copy_from_user_flock(struct flock *fl,
172 abi_ulong target_flock_addr)
173 {
174- struct target_flock64 *target_fl;
175+ struct target_flock *target_fl;
176 int l_type;
177
178 if (!lock_user_struct(VERIFY_READ, target_fl, target_flock_addr, 1)) {
179@@ -7054,10 +6999,10 @@ static inline abi_long copy_from_user_fl
180 return 0;
181 }
182
183-static inline abi_long copy_to_user_flock64(abi_ulong target_flock_addr,
184- const struct flock64 *fl)
185+static inline abi_long copy_to_user_flock(abi_ulong target_flock_addr,
186+ const struct flock *fl)
187 {
188- struct target_flock64 *target_fl;
189+ struct target_flock *target_fl;
190 short l_type;
191
192 if (!lock_user_struct(VERIFY_WRITE, target_fl, target_flock_addr, 0)) {
193@@ -7076,7 +7021,7 @@ static inline abi_long copy_to_user_floc
194
195 static abi_long do_fcntl(int fd, int cmd, abi_ulong arg)
196 {
197- struct flock64 fl64;
198+ struct flock fl64;
199 #ifdef F_GETOWN_EX
200 struct f_owner_ex fox;
201 struct target_f_owner_ex *target_fox;
202@@ -7089,6 +7034,7 @@ static abi_long do_fcntl(int fd, int cmd
203
204 switch(cmd) {
205 case TARGET_F_GETLK:
206+ case TARGET_F_OFD_GETLK:
207 ret = copy_from_user_flock(&fl64, arg);
208 if (ret) {
209 return ret;
210@@ -7098,32 +7044,11 @@ static abi_long do_fcntl(int fd, int cmd
211 ret = copy_to_user_flock(arg, &fl64);
212 }
213 break;
214-
215 case TARGET_F_SETLK:
216 case TARGET_F_SETLKW:
217- ret = copy_from_user_flock(&fl64, arg);
218- if (ret) {
219- return ret;
220- }
221- ret = get_errno(safe_fcntl(fd, host_cmd, &fl64));
222- break;
223-
224- case TARGET_F_GETLK64:
225- case TARGET_F_OFD_GETLK:
226- ret = copy_from_user_flock64(&fl64, arg);
227- if (ret) {
228- return ret;
229- }
230- ret = get_errno(safe_fcntl(fd, host_cmd, &fl64));
231- if (ret == 0) {
232- ret = copy_to_user_flock64(arg, &fl64);
233- }
234- break;
235- case TARGET_F_SETLK64:
236- case TARGET_F_SETLKW64:
237 case TARGET_F_OFD_SETLK:
238 case TARGET_F_OFD_SETLKW:
239- ret = copy_from_user_flock64(&fl64, arg);
240+ ret = copy_from_user_flock(&fl64, arg);
241 if (ret) {
242 return ret;
243 }
244@@ -7348,7 +7273,7 @@ static inline abi_long target_truncate64
245 arg2 = arg3;
246 arg3 = arg4;
247 }
248- return get_errno(truncate64(arg1, target_offset64(arg2, arg3)));
249+ return get_errno(truncate(arg1, target_offset64(arg2, arg3)));
250 }
251 #endif
252
253@@ -7362,7 +7287,7 @@ static inline abi_long target_ftruncate6
254 arg2 = arg3;
255 arg3 = arg4;
256 }
257- return get_errno(ftruncate64(arg1, target_offset64(arg2, arg3)));
258+ return get_errno(ftruncate(arg1, target_offset64(arg2, arg3)));
259 }
260 #endif
261
262@@ -8598,7 +8523,7 @@ static int do_getdents(abi_long dirfd, a
263 void *tdirp;
264 int hlen, hoff, toff;
265 int hreclen, treclen;
266- off64_t prev_diroff = 0;
267+ off_t prev_diroff = 0;
268
269 hdirp = g_try_malloc(count);
270 if (!hdirp) {
271@@ -8651,7 +8576,7 @@ static int do_getdents(abi_long dirfd, a
272 * Return what we have, resetting the file pointer to the
273 * location of the first record not returned.
274 */
275- lseek64(dirfd, prev_diroff, SEEK_SET);
276+ lseek(dirfd, prev_diroff, SEEK_SET);
277 break;
278 }
279
280@@ -8685,7 +8610,7 @@ static int do_getdents64(abi_long dirfd,
281 void *tdirp;
282 int hlen, hoff, toff;
283 int hreclen, treclen;
284- off64_t prev_diroff = 0;
285+ off_t prev_diroff = 0;
286
287 hdirp = g_try_malloc(count);
288 if (!hdirp) {
289@@ -8727,7 +8652,7 @@ static int do_getdents64(abi_long dirfd,
290 * Return what we have, resetting the file pointer to the
291 * location of the first record not returned.
292 */
293- lseek64(dirfd, prev_diroff, SEEK_SET);
294+ lseek(dirfd, prev_diroff, SEEK_SET);
295 break;
296 }
297
298@@ -11158,7 +11083,7 @@ static abi_long do_syscall1(CPUArchState
299 return -TARGET_EFAULT;
300 }
301 }
302- ret = get_errno(pread64(arg1, p, arg3, target_offset64(arg4, arg5)));
303+ ret = get_errno(pread(arg1, p, arg3, target_offset64(arg4, arg5)));
304 unlock_user(p, arg2, ret);
305 return ret;
306 case TARGET_NR_pwrite64:
307@@ -11175,7 +11100,7 @@ static abi_long do_syscall1(CPUArchState
308 return -TARGET_EFAULT;
309 }
310 }
311- ret = get_errno(pwrite64(arg1, p, arg3, target_offset64(arg4, arg5)));
312+ ret = get_errno(pwrite(arg1, p, arg3, target_offset64(arg4, arg5)));
313 unlock_user(p, arg2, 0);
314 return ret;
315 #endif
316@@ -11998,14 +11923,14 @@ static abi_long do_syscall1(CPUArchState
317 case TARGET_NR_fcntl64:
318 {
319 int cmd;
320- struct flock64 fl;
321- from_flock64_fn *copyfrom = copy_from_user_flock64;
322- to_flock64_fn *copyto = copy_to_user_flock64;
323+ struct flock fl;
324+ from_flock_fn *copyfrom = copy_from_user_flock;
325+ to_flock_fn *copyto = copy_to_user_flock;
326
327 #ifdef TARGET_ARM
328 if (!cpu_env->eabi) {
329- copyfrom = copy_from_user_oabi_flock64;
330- copyto = copy_to_user_oabi_flock64;
331+ copyfrom = copy_from_user_oabi_flock;
332+ copyto = copy_to_user_oabi_flock;
333 }
334 #endif
335
336@@ -12015,7 +11940,7 @@ static abi_long do_syscall1(CPUArchState
337 }
338
339 switch(arg2) {
340- case TARGET_F_GETLK64:
341+ case TARGET_F_GETLK:
342 ret = copyfrom(&fl, arg3);
343 if (ret) {
344 break;
345@@ -12026,8 +11951,8 @@ static abi_long do_syscall1(CPUArchState
346 }
347 break;
348
349- case TARGET_F_SETLK64:
350- case TARGET_F_SETLKW64:
351+ case TARGET_F_SETLK:
352+ case TARGET_F_SETLKW:
353 ret = copyfrom(&fl, arg3);
354 if (ret) {
355 break;
diff --git a/meta/recipes-devtools/qemu/qemu/0002-linux-user-loongarch64-Remove-TARGET_FORCE_SHMLBA.patch b/meta/recipes-devtools/qemu/qemu/0002-linux-user-loongarch64-Remove-TARGET_FORCE_SHMLBA.patch
deleted file mode 100644
index 3f01aaa644..0000000000
--- a/meta/recipes-devtools/qemu/qemu/0002-linux-user-loongarch64-Remove-TARGET_FORCE_SHMLBA.patch
+++ /dev/null
@@ -1,43 +0,0 @@
1From 5bf65b24414d3ff8339f6f1beb221c7c35c91e5d Mon Sep 17 00:00:00 2001
2From: Richard Henderson <richard.henderson@linaro.org>
3Date: Wed, 28 Feb 2024 10:25:15 -1000
4Subject: [PATCH 2/5] linux-user/loongarch64: Remove TARGET_FORCE_SHMLBA
5
6The kernel abi was changed with
7
8 commit d23b77953f5a4fbf94c05157b186aac2a247ae32
9 Author: Huacai Chen <chenhuacai@kernel.org>
10 Date: Wed Jan 17 12:43:08 2024 +0800
11
12 LoongArch: Change SHMLBA from SZ_64K to PAGE_SIZE
13
14during the v6.8 cycle.
15
16Upstream-Status: Submitted [https://www.mail-archive.com/qemu-devel@nongnu.org/msg1026793.html]
17
18Reviewed-by: Song Gao <gaosong@loongson.cn>
19Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
20Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21---
22 linux-user/loongarch64/target_syscall.h | 7 -------
23 1 file changed, 7 deletions(-)
24
25diff --git a/linux-user/loongarch64/target_syscall.h b/linux-user/loongarch64/target_syscall.h
26index 8b5de5212..39f229bb9 100644
27--- a/linux-user/loongarch64/target_syscall.h
28+++ b/linux-user/loongarch64/target_syscall.h
29@@ -38,11 +38,4 @@ struct target_pt_regs {
30 #define TARGET_MCL_FUTURE 2
31 #define TARGET_MCL_ONFAULT 4
32
33-#define TARGET_FORCE_SHMLBA
34-
35-static inline abi_ulong target_shmlba(CPULoongArchState *env)
36-{
37- return 64 * KiB;
38-}
39-
40 #endif
41--
422.34.1
43
diff --git a/meta/recipes-devtools/qemu/qemu/0003-linux-user-Add-strace-for-shmat.patch b/meta/recipes-devtools/qemu/qemu/0003-linux-user-Add-strace-for-shmat.patch
deleted file mode 100644
index 0c601c804a..0000000000
--- a/meta/recipes-devtools/qemu/qemu/0003-linux-user-Add-strace-for-shmat.patch
+++ /dev/null
@@ -1,71 +0,0 @@
1From e8f06676c6c88e12cd5f4f81a839b7111c683596 Mon Sep 17 00:00:00 2001
2From: Richard Henderson <richard.henderson@linaro.org>
3Date: Wed, 28 Feb 2024 10:25:16 -1000
4Subject: [PATCH 3/5] linux-user: Add strace for shmat
5
6Upstream-Status: Submitted [https://www.mail-archive.com/qemu-devel@nongnu.org/msg1026793.html]
7
8Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
9Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10---
11 linux-user/strace.c | 23 +++++++++++++++++++++++
12 linux-user/strace.list | 2 +-
13 2 files changed, 24 insertions(+), 1 deletion(-)
14
15diff --git a/linux-user/strace.c b/linux-user/strace.c
16index cf26e5526..47d6ec326 100644
17--- a/linux-user/strace.c
18+++ b/linux-user/strace.c
19@@ -670,6 +670,25 @@ print_semctl(CPUArchState *cpu_env, const struct syscallname *name,
20 }
21 #endif
22
23+static void
24+print_shmat(CPUArchState *cpu_env, const struct syscallname *name,
25+ abi_long arg0, abi_long arg1, abi_long arg2,
26+ abi_long arg3, abi_long arg4, abi_long arg5)
27+{
28+ static const struct flags shmat_flags[] = {
29+ FLAG_GENERIC(SHM_RND),
30+ FLAG_GENERIC(SHM_REMAP),
31+ FLAG_GENERIC(SHM_RDONLY),
32+ FLAG_GENERIC(SHM_EXEC),
33+ };
34+
35+ print_syscall_prologue(name);
36+ print_raw_param(TARGET_ABI_FMT_ld, arg0, 0);
37+ print_pointer(arg1, 0);
38+ print_flags(shmat_flags, arg2, 1);
39+ print_syscall_epilogue(name);
40+}
41+
42 #ifdef TARGET_NR_ipc
43 static void
44 print_ipc(CPUArchState *cpu_env, const struct syscallname *name,
45@@ -683,6 +702,10 @@ print_ipc(CPUArchState *cpu_env, const struct syscallname *name,
46 print_ipc_cmd(arg3);
47 qemu_log(",0x" TARGET_ABI_FMT_lx ")", arg4);
48 break;
49+ case IPCOP_shmat:
50+ print_shmat(cpu_env, &(const struct syscallname){ .name = "shmat" },
51+ arg1, arg4, arg2, 0, 0, 0);
52+ break;
53 default:
54 qemu_log(("%s("
55 TARGET_ABI_FMT_ld ","
56diff --git a/linux-user/strace.list b/linux-user/strace.list
57index 6655d4f26..dfd4237d1 100644
58--- a/linux-user/strace.list
59+++ b/linux-user/strace.list
60@@ -1398,7 +1398,7 @@
61 { TARGET_NR_sgetmask, "sgetmask" , NULL, NULL, NULL },
62 #endif
63 #ifdef TARGET_NR_shmat
64-{ TARGET_NR_shmat, "shmat" , NULL, NULL, print_syscall_ret_addr },
65+{ TARGET_NR_shmat, "shmat" , NULL, print_shmat, print_syscall_ret_addr },
66 #endif
67 #ifdef TARGET_NR_shmctl
68 { TARGET_NR_shmctl, "shmctl" , NULL, NULL, NULL },
69--
702.34.1
71
diff --git a/meta/recipes-devtools/qemu/qemu/0004-configure-Add-pkg-config-handling-for-libgcrypt.patch b/meta/recipes-devtools/qemu/qemu/0004-configure-Add-pkg-config-handling-for-libgcrypt.patch
deleted file mode 100644
index f981a64a54..0000000000
--- a/meta/recipes-devtools/qemu/qemu/0004-configure-Add-pkg-config-handling-for-libgcrypt.patch
+++ /dev/null
@@ -1,29 +0,0 @@
1From d8265abdce5dc2bf74b3fccdf2b7257b4f3894f0 Mon Sep 17 00:00:00 2001
2From: He Zhe <zhe.he@windriver.com>
3Date: Wed, 28 Aug 2019 19:56:28 +0800
4Subject: [PATCH 04/12] configure: Add pkg-config handling for libgcrypt
5
6libgcrypt may also be controlled by pkg-config, this patch adds pkg-config
7handling for libgcrypt.
8
9Upstream-Status: Denied [https://lists.nongnu.org/archive/html/qemu-devel/2019-08/msg06333.html]
10
11Signed-off-by: He Zhe <zhe.he@windriver.com>
12
13---
14 meson.build | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17Index: qemu-8.1.0/meson.build
18===================================================================
19--- qemu-8.1.0.orig/meson.build
20+++ qemu-8.1.0/meson.build
21@@ -1481,7 +1481,7 @@ endif
22 if not gnutls_crypto.found()
23 if (not get_option('gcrypt').auto() or have_system) and not get_option('nettle').enabled()
24 gcrypt = dependency('libgcrypt', version: '>=1.8',
25- method: 'config-tool',
26+ method: 'pkg-config',
27 required: get_option('gcrypt'))
28 # Debian has removed -lgpg-error from libgcrypt-config
29 # as it "spreads unnecessary dependencies" which in
diff --git a/meta/recipes-devtools/qemu/qemu/0004-linux-user-Rewrite-target_shmat.patch b/meta/recipes-devtools/qemu/qemu/0004-linux-user-Rewrite-target_shmat.patch
deleted file mode 100644
index 88c3ed40b0..0000000000
--- a/meta/recipes-devtools/qemu/qemu/0004-linux-user-Rewrite-target_shmat.patch
+++ /dev/null
@@ -1,236 +0,0 @@
1From cb48d5d1592e63ebd0d4a3e300ef98e38e6306d7 Mon Sep 17 00:00:00 2001
2From: Richard Henderson <richard.henderson@linaro.org>
3Date: Wed, 28 Feb 2024 10:25:17 -1000
4Subject: [PATCH 4/5] linux-user: Rewrite target_shmat
5
6Handle combined host and guest alignment requirements.
7Handle host and guest page size differences.
8Handle SHM_EXEC.
9
10Upstream-Status: Submitted [https://www.mail-archive.com/qemu-devel@nongnu.org/msg1026793.html]
11
12Resolves: https://gitlab.com/qemu-project/qemu/-/issues/115
13Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
14Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
15---
16 linux-user/mmap.c | 166 +++++++++++++++++++++++++++++++++++++---------
17 1 file changed, 133 insertions(+), 33 deletions(-)
18
19diff --git a/linux-user/mmap.c b/linux-user/mmap.c
20index 18fb3aaf7..6a2f649bb 100644
21--- a/linux-user/mmap.c
22+++ b/linux-user/mmap.c
23@@ -1062,69 +1062,161 @@ static inline abi_ulong target_shmlba(CPUArchState *cpu_env)
24 }
25 #endif
26
27+#if defined(__arm__) || defined(__mips__) || defined(__sparc__)
28+#define HOST_FORCE_SHMLBA 1
29+#else
30+#define HOST_FORCE_SHMLBA 0
31+#endif
32+
33 abi_ulong target_shmat(CPUArchState *cpu_env, int shmid,
34 abi_ulong shmaddr, int shmflg)
35 {
36 CPUState *cpu = env_cpu(cpu_env);
37- abi_ulong raddr;
38 struct shmid_ds shm_info;
39 int ret;
40- abi_ulong shmlba;
41+ int h_pagesize;
42+ int t_shmlba, h_shmlba, m_shmlba;
43+ size_t t_len, h_len, m_len;
44
45 /* shmat pointers are always untagged */
46
47- /* find out the length of the shared memory segment */
48+ /*
49+ * Because we can't use host shmat() unless the address is sufficiently
50+ * aligned for the host, we'll need to check both.
51+ * TODO: Could be fixed with softmmu.
52+ */
53+ t_shmlba = target_shmlba(cpu_env);
54+ h_pagesize = qemu_real_host_page_size();
55+ h_shmlba = (HOST_FORCE_SHMLBA ? SHMLBA : h_pagesize);
56+ m_shmlba = MAX(t_shmlba, h_shmlba);
57+
58+ if (shmaddr) {
59+ if (shmaddr & (m_shmlba - 1)) {
60+ if (shmflg & SHM_RND) {
61+ /*
62+ * The guest is allowing the kernel to round the address.
63+ * Assume that the guest is ok with us rounding to the
64+ * host required alignment too. Anyway if we don't, we'll
65+ * get an error from the kernel.
66+ */
67+ shmaddr &= ~(m_shmlba - 1);
68+ if (shmaddr == 0 && (shmflg & SHM_REMAP)) {
69+ return -TARGET_EINVAL;
70+ }
71+ } else {
72+ int require = TARGET_PAGE_SIZE;
73+#ifdef TARGET_FORCE_SHMLBA
74+ require = t_shmlba;
75+#endif
76+ /*
77+ * Include host required alignment, as otherwise we cannot
78+ * use host shmat at all.
79+ */
80+ require = MAX(require, h_shmlba);
81+ if (shmaddr & (require - 1)) {
82+ return -TARGET_EINVAL;
83+ }
84+ }
85+ }
86+ } else {
87+ if (shmflg & SHM_REMAP) {
88+ return -TARGET_EINVAL;
89+ }
90+ }
91+ /* All rounding now manually concluded. */
92+ shmflg &= ~SHM_RND;
93+
94+ /* Find out the length of the shared memory segment. */
95 ret = get_errno(shmctl(shmid, IPC_STAT, &shm_info));
96 if (is_error(ret)) {
97 /* can't get length, bail out */
98 return ret;
99 }
100+ t_len = TARGET_PAGE_ALIGN(shm_info.shm_segsz);
101+ h_len = ROUND_UP(shm_info.shm_segsz, h_pagesize);
102+ m_len = MAX(t_len, h_len);
103
104- shmlba = target_shmlba(cpu_env);
105-
106- if (shmaddr & (shmlba - 1)) {
107- if (shmflg & SHM_RND) {
108- shmaddr &= ~(shmlba - 1);
109- } else {
110- return -TARGET_EINVAL;
111- }
112- }
113- if (!guest_range_valid_untagged(shmaddr, shm_info.shm_segsz)) {
114+ if (!guest_range_valid_untagged(shmaddr, m_len)) {
115 return -TARGET_EINVAL;
116 }
117
118 WITH_MMAP_LOCK_GUARD() {
119- void *host_raddr;
120+ bool mapped = false;
121+ void *want, *test;
122 abi_ulong last;
123
124- if (shmaddr) {
125- host_raddr = shmat(shmid, (void *)g2h_untagged(shmaddr), shmflg);
126+ if (!shmaddr) {
127+ shmaddr = mmap_find_vma(0, m_len, m_shmlba);
128+ if (shmaddr == -1) {
129+ return -TARGET_ENOMEM;
130+ }
131+ mapped = !reserved_va;
132+ } else if (shmflg & SHM_REMAP) {
133+ /*
134+ * If host page size > target page size, the host shmat may map
135+ * more memory than the guest expects. Reject a mapping that
136+ * would replace memory in the unexpected gap.
137+ * TODO: Could be fixed with softmmu.
138+ */
139+ if (t_len < h_len &&
140+ !page_check_range_empty(shmaddr + t_len,
141+ shmaddr + h_len - 1)) {
142+ return -TARGET_EINVAL;
143+ }
144 } else {
145- abi_ulong mmap_start;
146+ if (!page_check_range_empty(shmaddr, shmaddr + m_len - 1)) {
147+ return -TARGET_EINVAL;
148+ }
149+ }
150
151- /* In order to use the host shmat, we need to honor host SHMLBA. */
152- mmap_start = mmap_find_vma(0, shm_info.shm_segsz,
153- MAX(SHMLBA, shmlba));
154+ /* All placement is now complete. */
155+ want = (void *)g2h_untagged(shmaddr);
156
157- if (mmap_start == -1) {
158- return -TARGET_ENOMEM;
159+ /*
160+ * Map anonymous pages across the entire range, then remap with
161+ * the shared memory. This is required for a number of corner
162+ * cases for which host and guest page sizes differ.
163+ */
164+ if (h_len != t_len) {
165+ int mmap_p = PROT_READ | (shmflg & SHM_RDONLY ? 0 : PROT_WRITE);
166+ int mmap_f = MAP_PRIVATE | MAP_ANONYMOUS
167+ | (reserved_va || (shmflg & SHM_REMAP)
168+ ? MAP_FIXED : MAP_FIXED_NOREPLACE);
169+
170+ test = mmap(want, m_len, mmap_p, mmap_f, -1, 0);
171+ if (unlikely(test != want)) {
172+ /* shmat returns EINVAL not EEXIST like mmap. */
173+ ret = (test == MAP_FAILED && errno != EEXIST
174+ ? get_errno(-1) : -TARGET_EINVAL);
175+ if (mapped) {
176+ do_munmap(want, m_len);
177+ }
178+ return ret;
179 }
180- host_raddr = shmat(shmid, g2h_untagged(mmap_start),
181- shmflg | SHM_REMAP);
182+ mapped = true;
183 }
184
185- if (host_raddr == (void *)-1) {
186- return get_errno(-1);
187+ if (reserved_va || mapped) {
188+ shmflg |= SHM_REMAP;
189+ }
190+ test = shmat(shmid, want, shmflg);
191+ if (test == MAP_FAILED) {
192+ ret = get_errno(-1);
193+ if (mapped) {
194+ do_munmap(want, m_len);
195+ }
196+ return ret;
197 }
198- raddr = h2g(host_raddr);
199- last = raddr + shm_info.shm_segsz - 1;
200+ assert(test == want);
201
202- page_set_flags(raddr, last,
203+ last = shmaddr + m_len - 1;
204+ page_set_flags(shmaddr, last,
205 PAGE_VALID | PAGE_RESET | PAGE_READ |
206- (shmflg & SHM_RDONLY ? 0 : PAGE_WRITE));
207+ (shmflg & SHM_RDONLY ? 0 : PAGE_WRITE) |
208+ (shmflg & SHM_EXEC ? PAGE_EXEC : 0));
209
210- shm_region_rm_complete(raddr, last);
211- shm_region_add(raddr, last);
212+ shm_region_rm_complete(shmaddr, last);
213+ shm_region_add(shmaddr, last);
214 }
215
216 /*
217@@ -1138,7 +1230,15 @@ abi_ulong target_shmat(CPUArchState *cpu_env, int shmid,
218 tb_flush(cpu);
219 }
220
221- return raddr;
222+ if (qemu_loglevel_mask(CPU_LOG_PAGE)) {
223+ FILE *f = qemu_log_trylock();
224+ if (f) {
225+ fprintf(f, "page layout changed following shmat\n");
226+ page_dump(f);
227+ qemu_log_unlock(f);
228+ }
229+ }
230+ return shmaddr;
231 }
232
233 abi_long target_shmdt(abi_ulong shmaddr)
234--
2352.34.1
236
diff --git a/meta/recipes-devtools/qemu/qemu/0005-qemu-Do-not-include-file-if-not-exists.patch b/meta/recipes-devtools/qemu/qemu/0004-qemu-Do-not-include-file-if-not-exists.patch
index 38aa4c3bbe..c04e42608f 100644
--- a/meta/recipes-devtools/qemu/qemu/0005-qemu-Do-not-include-file-if-not-exists.patch
+++ b/meta/recipes-devtools/qemu/qemu/0004-qemu-Do-not-include-file-if-not-exists.patch
@@ -1,7 +1,7 @@
1From f39e7bfc5ed07b5ecaeb705c4eae4855ca120d47 Mon Sep 17 00:00:00 2001 1From 913064f9fe724fa1b70b9bf6dd3444c7dddeb928 Mon Sep 17 00:00:00 2001
2From: Oleksiy Obitotskyy <oobitots@cisco.com> 2From: Oleksiy Obitotskyy <oobitots@cisco.com>
3Date: Wed, 25 Mar 2020 21:21:35 +0200 3Date: Wed, 25 Mar 2020 21:21:35 +0200
4Subject: [PATCH 05/12] qemu: Do not include file if not exists 4Subject: [PATCH] qemu: Do not include file if not exists
5 5
6Script configure checks for if_alg.h and check failed but 6Script configure checks for if_alg.h and check failed but
7if_alg.h still included. 7if_alg.h still included.
@@ -11,16 +11,15 @@ Signed-off-by: Oleksiy Obitotskyy <oobitots@cisco.com>
11 11
12[update patch context] 12[update patch context]
13Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> 13Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
14
15--- 14---
16 linux-user/syscall.c | 2 ++ 15 linux-user/syscall.c | 2 ++
17 1 file changed, 2 insertions(+) 16 1 file changed, 2 insertions(+)
18 17
19Index: qemu-8.0.0/linux-user/syscall.c 18diff --git a/linux-user/syscall.c b/linux-user/syscall.c
20=================================================================== 19index 8bfe4912e..d04984f66 100644
21--- qemu-8.0.0.orig/linux-user/syscall.c 20--- a/linux-user/syscall.c
22+++ qemu-8.0.0/linux-user/syscall.c 21+++ b/linux-user/syscall.c
23@@ -115,7 +115,9 @@ 22@@ -118,7 +118,9 @@
24 #include <linux/blkpg.h> 23 #include <linux/blkpg.h>
25 #include <netpacket/packet.h> 24 #include <netpacket/packet.h>
26 #include <linux/netlink.h> 25 #include <linux/netlink.h>
diff --git a/meta/recipes-devtools/qemu/qemu/0006-qemu-Add-some-user-space-mmap-tweaks-to-address-musl.patch b/meta/recipes-devtools/qemu/qemu/0005-qemu-Add-some-user-space-mmap-tweaks-to-address-musl.patch
index 5d1d7c6881..388d11d10d 100644
--- a/meta/recipes-devtools/qemu/qemu/0006-qemu-Add-some-user-space-mmap-tweaks-to-address-musl.patch
+++ b/meta/recipes-devtools/qemu/qemu/0005-qemu-Add-some-user-space-mmap-tweaks-to-address-musl.patch
@@ -1,8 +1,7 @@
1From 375cae3dd6151ef33cae8f243f6a2c2da6c0c356 Mon Sep 17 00:00:00 2001 1From f2adfc703e94819b0daca98fde1d0a30168c292d Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org> 2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Fri, 8 Jan 2021 17:27:06 +0000 3Date: Fri, 8 Jan 2021 17:27:06 +0000
4Subject: [PATCH 06/12] qemu: Add some user space mmap tweaks to address musl 4Subject: [PATCH] qemu: Add some user space mmap tweaks to address musl 32 bit
5 32 bit
6 5
7When using qemu-i386 to build qemux86 webkitgtk on musl, it sits in an 6When using qemu-i386 to build qemux86 webkitgtk on musl, it sits in an
8infinite loop of mremap calls of ever decreasing/increasing addresses. 7infinite loop of mremap calls of ever decreasing/increasing addresses.
@@ -18,16 +17,15 @@ rather than ENOMEM so adjust the other part of the test to this.
18 17
19Upstream-Status: Submitted [https://lists.gnu.org/archive/html/qemu-devel/2021-01/msg01355.html] 18Upstream-Status: Submitted [https://lists.gnu.org/archive/html/qemu-devel/2021-01/msg01355.html]
20Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org 19Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org
21
22--- 20---
23 linux-user/mmap.c | 10 +++++++--- 21 linux-user/mmap.c | 10 +++++++---
24 1 file changed, 7 insertions(+), 3 deletions(-) 22 1 file changed, 7 insertions(+), 3 deletions(-)
25 23
26Index: qemu-8.0.0/linux-user/mmap.c 24diff --git a/linux-user/mmap.c b/linux-user/mmap.c
27=================================================================== 25index d1f36e6f1..26ccf8f4d 100644
28--- qemu-8.0.0.orig/linux-user/mmap.c 26--- a/linux-user/mmap.c
29+++ qemu-8.0.0/linux-user/mmap.c 27+++ b/linux-user/mmap.c
30@@ -776,12 +776,16 @@ abi_long target_mremap(abi_ulong old_add 28@@ -1108,12 +1108,16 @@ abi_long target_mremap(abi_ulong old_addr, abi_ulong old_size,
31 int prot; 29 int prot;
32 void *host_addr; 30 void *host_addr;
33 31
diff --git a/meta/recipes-devtools/qemu/qemu/0005-tests-tcg-Check-that-shmat-does-not-break-proc-self-.patch b/meta/recipes-devtools/qemu/qemu/0005-tests-tcg-Check-that-shmat-does-not-break-proc-self-.patch
deleted file mode 100644
index 5afb35ea0c..0000000000
--- a/meta/recipes-devtools/qemu/qemu/0005-tests-tcg-Check-that-shmat-does-not-break-proc-self-.patch
+++ /dev/null
@@ -1,85 +0,0 @@
1From 1234063488134ad1f541f56dd30caa7896905f06 Mon Sep 17 00:00:00 2001
2From: Ilya Leoshkevich <iii@linux.ibm.com>
3Date: Wed, 28 Feb 2024 10:25:18 -1000
4Subject: [PATCH 5/5] tests/tcg: Check that shmat() does not break
5 /proc/self/maps
6
7Add a regression test for a recently fixed issue, where shmat()
8desynced the guest and the host view of the address space and caused
9open("/proc/self/maps") to SEGV.
10
11Upstream-Status: Submitted [https://www.mail-archive.com/qemu-devel@nongnu.org/msg1026793.html]
12
13Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
14Message-Id: <jwyuvao4apydvykmsnvacwshdgy3ixv7qvkh4dbxm3jkwgnttw@k4wpaayou7oq>
15Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
16Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17---
18 tests/tcg/multiarch/linux/linux-shmat-maps.c | 55 ++++++++++++++++++++
19 1 file changed, 55 insertions(+)
20 create mode 100644 tests/tcg/multiarch/linux/linux-shmat-maps.c
21
22diff --git a/tests/tcg/multiarch/linux/linux-shmat-maps.c b/tests/tcg/multiarch/linux/linux-shmat-maps.c
23new file mode 100644
24index 000000000..0ccf7a973
25--- /dev/null
26+++ b/tests/tcg/multiarch/linux/linux-shmat-maps.c
27@@ -0,0 +1,55 @@
28+/*
29+ * Test that shmat() does not break /proc/self/maps.
30+ *
31+ * SPDX-License-Identifier: GPL-2.0-or-later
32+ */
33+#include <assert.h>
34+#include <fcntl.h>
35+#include <stdlib.h>
36+#include <sys/ipc.h>
37+#include <sys/shm.h>
38+#include <unistd.h>
39+
40+int main(void)
41+{
42+ char buf[128];
43+ int err, fd;
44+ int shmid;
45+ ssize_t n;
46+ void *p;
47+
48+ shmid = shmget(IPC_PRIVATE, 1, IPC_CREAT | 0600);
49+ assert(shmid != -1);
50+
51+ /*
52+ * The original bug required a non-NULL address, which skipped the
53+ * mmap_find_vma step, which could result in a host mapping smaller
54+ * than the target mapping. Choose an address at random.
55+ */
56+ p = shmat(shmid, (void *)0x800000, SHM_RND);
57+ if (p == (void *)-1) {
58+ /*
59+ * Because we are now running the testcase for all guests for which
60+ * we have a cross-compiler, the above random address might conflict
61+ * with the guest executable in some way. Rather than stopping,
62+ * continue with a system supplied address, which should never fail.
63+ */
64+ p = shmat(shmid, NULL, 0);
65+ assert(p != (void *)-1);
66+ }
67+
68+ fd = open("/proc/self/maps", O_RDONLY);
69+ assert(fd != -1);
70+ do {
71+ n = read(fd, buf, sizeof(buf));
72+ assert(n >= 0);
73+ } while (n != 0);
74+ close(fd);
75+
76+ err = shmdt(p);
77+ assert(err == 0);
78+ err = shmctl(shmid, IPC_RMID, NULL);
79+ assert(err == 0);
80+
81+ return EXIT_SUCCESS;
82+}
83--
842.34.1
85
diff --git a/meta/recipes-devtools/qemu/qemu/0007-qemu-Determinism-fixes.patch b/meta/recipes-devtools/qemu/qemu/0006-qemu-Determinism-fixes.patch
index d3f965e070..4690d86315 100644
--- a/meta/recipes-devtools/qemu/qemu/0007-qemu-Determinism-fixes.patch
+++ b/meta/recipes-devtools/qemu/qemu/0006-qemu-Determinism-fixes.patch
@@ -1,7 +1,7 @@
1From 50bab5c2605b609ea7ea154f57a9be96d656725a Mon Sep 17 00:00:00 2001 1From e032726e9da8de0088d6c70cfd92e0a52155315f Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org> 2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Mon, 1 Mar 2021 13:00:47 +0000 3Date: Mon, 1 Mar 2021 13:00:47 +0000
4Subject: [PATCH 07/12] qemu: Determinism fixes 4Subject: [PATCH] qemu: Determinism fixes
5 5
6When sources are included within debug information, a couple of areas of the 6When sources are included within debug information, a couple of areas of the
7qemu build are not reproducible due to either full buildpaths or timestamps. 7qemu build are not reproducible due to either full buildpaths or timestamps.
@@ -11,16 +11,15 @@ meson to pass relative paths but we can fix that in the script.
11 11
12Upstream-Status: Pending [some version of all/part of this may be accepted] 12Upstream-Status: Pending [some version of all/part of this may be accepted]
13RP 2021/3/1 13RP 2021/3/1
14
15--- 14---
16 scripts/decodetree.py | 2 +- 15 scripts/decodetree.py | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-) 16 1 file changed, 1 insertion(+), 1 deletion(-)
18 17
19Index: qemu-8.0.0/scripts/decodetree.py 18diff --git a/scripts/decodetree.py b/scripts/decodetree.py
20=================================================================== 19index e8b72da3a..5cd86b142 100644
21--- qemu-8.0.0.orig/scripts/decodetree.py 20--- a/scripts/decodetree.py
22+++ qemu-8.0.0/scripts/decodetree.py 21+++ b/scripts/decodetree.py
23@@ -1328,7 +1328,7 @@ def main(): 22@@ -1558,7 +1558,7 @@ def main():
24 toppat = ExcMultiPattern(0) 23 toppat = ExcMultiPattern(0)
25 24
26 for filename in args: 25 for filename in args:
diff --git a/meta/recipes-devtools/qemu/qemu/0007-tests-meson.build-use-relative-path-to-refer-to-file.patch b/meta/recipes-devtools/qemu/qemu/0007-tests-meson.build-use-relative-path-to-refer-to-file.patch
new file mode 100644
index 0000000000..7c24f432f2
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu/0007-tests-meson.build-use-relative-path-to-refer-to-file.patch
@@ -0,0 +1,43 @@
1From ebeab06747306ec16299207bf4bd7481a472b4de Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com>
3Date: Thu, 14 Jan 2021 06:33:04 +0000
4Subject: [PATCH] tests/meson.build: use relative path to refer to files
5
6Fix error like:
7Fatal error: can't create tests/ptimer-test.p/..._qemu-5.2.0_hw_core_ptimer.c.o: File name too long
8
9when build path is too long, use meson.source_root() will make this
10filename too long. Fixed by using relative path to refer to files
11
12Upstream-Status: Submitted [send to qemu-devel]
13
14Signed-off-by: Changqing Li <changqing.li@windriver.com>
15---
16 tests/unit/meson.build | 6 +++---
17 1 file changed, 3 insertions(+), 3 deletions(-)
18
19diff --git a/tests/unit/meson.build b/tests/unit/meson.build
20index d5248ae51..2c581f055 100644
21--- a/tests/unit/meson.build
22+++ b/tests/unit/meson.build
23@@ -127,17 +127,17 @@ endif
24
25 if have_system
26 tests += {
27- 'ptimer-test': ['ptimer-test-stubs.c', meson.project_source_root() / 'hw/core/ptimer.c'],
28+ 'ptimer-test': ['ptimer-test-stubs.c', '../../hw/core/ptimer.c'],
29 'test-iov': [],
30 'test-opts-visitor': [testqapi],
31 'test-xs-node': [qom],
32- 'test-virtio-dmabuf': [meson.project_source_root() / 'hw/display/virtio-dmabuf.c'],
33+ 'test-virtio-dmabuf': ['../../hw/display/virtio-dmabuf.c'],
34 'test-qmp-cmds': [testqapi],
35 'test-xbzrle': [migration],
36 'test-util-sockets': ['socket-helpers.c'],
37 'test-base64': [],
38 'test-bufferiszero': [],
39- 'test-smp-parse': [qom, meson.project_source_root() / 'hw/core/machine-smp.c'],
40+ 'test-smp-parse': [qom, '../../hw/core/machine-smp.c'],
41 'test-vmstate': [migration, io],
42 'test-yank': ['socket-helpers.c', qom, io, chardev]
43 }
diff --git a/meta/recipes-devtools/qemu/qemu/0009-Define-MAP_SYNC-and-MAP_SHARED_VALIDATE-on-needed-li.patch b/meta/recipes-devtools/qemu/qemu/0008-Define-MAP_SYNC-and-MAP_SHARED_VALIDATE-on-needed-li.patch
index 4de6cc2445..54421544bb 100644
--- a/meta/recipes-devtools/qemu/qemu/0009-Define-MAP_SYNC-and-MAP_SHARED_VALIDATE-on-needed-li.patch
+++ b/meta/recipes-devtools/qemu/qemu/0008-Define-MAP_SYNC-and-MAP_SHARED_VALIDATE-on-needed-li.patch
@@ -1,7 +1,7 @@
1From ebf4bb2f51da83af0c61480414cfa156f7308b34 Mon Sep 17 00:00:00 2001 1From 9c225234a756f2745cf04c3c3af6ef6b6acf4277 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 21 Mar 2022 10:09:38 -0700 3Date: Mon, 21 Mar 2022 10:09:38 -0700
4Subject: [PATCH 09/12] Define MAP_SYNC and MAP_SHARED_VALIDATE on needed linux 4Subject: [PATCH] Define MAP_SYNC and MAP_SHARED_VALIDATE on needed linux
5 systems 5 systems
6 6
7linux only wires MAP_SYNC and MAP_SHARED_VALIDATE for architectures 7linux only wires MAP_SYNC and MAP_SHARED_VALIDATE for architectures
@@ -13,15 +13,14 @@ Upstream-Status: Submitted [https://lists.nongnu.org/archive/html/qemu-devel/202
13Signed-off-by: Khem Raj <raj.khem@gmail.com> 13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14Cc: Zhang Yi <yi.z.zhang@linux.intel.com> 14Cc: Zhang Yi <yi.z.zhang@linux.intel.com>
15Cc: Michael S. Tsirkin <mst@redhat.com> 15Cc: Michael S. Tsirkin <mst@redhat.com>
16
17--- 16---
18 util/mmap-alloc.c | 10 +++++++--- 17 util/mmap-alloc.c | 10 +++++++---
19 1 file changed, 7 insertions(+), 3 deletions(-) 18 1 file changed, 7 insertions(+), 3 deletions(-)
20 19
21Index: qemu-8.0.0/util/mmap-alloc.c 20diff --git a/util/mmap-alloc.c b/util/mmap-alloc.c
22=================================================================== 21index ed14f9c64..038f5b4b5 100644
23--- qemu-8.0.0.orig/util/mmap-alloc.c 22--- a/util/mmap-alloc.c
24+++ qemu-8.0.0/util/mmap-alloc.c 23+++ b/util/mmap-alloc.c
25@@ -10,14 +10,18 @@ 24@@ -10,14 +10,18 @@
26 * later. See the COPYING file in the top-level directory. 25 * later. See the COPYING file in the top-level directory.
27 */ 26 */
diff --git a/meta/recipes-devtools/qemu/qemu/0008-tests-meson.build-use-relative-path-to-refer-to-file.patch b/meta/recipes-devtools/qemu/qemu/0008-tests-meson.build-use-relative-path-to-refer-to-file.patch
deleted file mode 100644
index a84364ccc1..0000000000
--- a/meta/recipes-devtools/qemu/qemu/0008-tests-meson.build-use-relative-path-to-refer-to-file.patch
+++ /dev/null
@@ -1,41 +0,0 @@
1From 2bf9388b801d4389e2d57e95a7897bfc1c42786e Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com>
3Date: Thu, 14 Jan 2021 06:33:04 +0000
4Subject: [PATCH 08/12] tests/meson.build: use relative path to refer to files
5
6Fix error like:
7Fatal error: can't create tests/ptimer-test.p/..._qemu-5.2.0_hw_core_ptimer.c.o: File name too long
8
9when build path is too long, use meson.source_root() will make this
10filename too long. Fixed by using relative path to refer to files
11
12Upstream-Status: Submitted [send to qemu-devel]
13
14Signed-off-by: Changqing Li <changqing.li@windriver.com>
15
16---
17 tests/unit/meson.build | 4 ++--
18 1 file changed, 2 insertions(+), 2 deletions(-)
19
20Index: qemu-8.0.0/tests/unit/meson.build
21===================================================================
22--- qemu-8.0.0.orig/tests/unit/meson.build
23+++ qemu-8.0.0/tests/unit/meson.build
24@@ -46,7 +46,7 @@ tests = {
25 'test-keyval': [testqapi],
26 'test-logging': [],
27 'test-uuid': [],
28- 'ptimer-test': ['ptimer-test-stubs.c', meson.project_source_root() / 'hw/core/ptimer.c'],
29+ 'ptimer-test': ['ptimer-test-stubs.c', '../../hw/core/ptimer.c'],
30 'test-qapi-util': [],
31 'test-interval-tree': [],
32 'test-xs-node': [qom],
33@@ -136,7 +136,7 @@ if have_system
34 'test-util-sockets': ['socket-helpers.c'],
35 'test-base64': [],
36 'test-bufferiszero': [],
37- 'test-smp-parse': [qom, meson.project_source_root() / 'hw/core/machine-smp.c'],
38+ 'test-smp-parse': [qom, '../../hw/core/machine-smp.c'],
39 'test-vmstate': [migration, io],
40 'test-yank': ['socket-helpers.c', qom, io, chardev]
41 }
diff --git a/meta/recipes-devtools/qemu/qemu/fixedmeson.patch b/meta/recipes-devtools/qemu/qemu/0010-configure-lookup-meson-exutable-from-PATH.patch
index 9047f66dc3..28a10d98bd 100644
--- a/meta/recipes-devtools/qemu/qemu/fixedmeson.patch
+++ b/meta/recipes-devtools/qemu/qemu/0010-configure-lookup-meson-exutable-from-PATH.patch
@@ -1,10 +1,18 @@
1From 9adf3fc3ea2cbccb41d49695a53c74fed6850fb0 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Martin=20Hundeb=C3=B8ll?= <martin@geanix.com>
3Date: Wed, 22 May 2024 14:02:55 +0200
4Subject: [PATCH] configure: lookup meson exutable from PATH
5
1Upstream-Status: Inappropriate [workaround, would need a real fix for upstream] 6Upstream-Status: Inappropriate [workaround, would need a real fix for upstream]
7---
8 configure | 7 +------
9 1 file changed, 1 insertion(+), 6 deletions(-)
2 10
3Index: qemu-8.2.0/configure 11diff --git a/configure b/configure
4=================================================================== 12index 02f1dd231..2c5ecd346 100755
5--- qemu-8.2.0.orig/configure 13--- a/configure
6+++ qemu-8.2.0/configure 14+++ b/configure
7@@ -955,12 +955,7 @@ fi 15@@ -983,12 +983,7 @@ mkvenv="$python ${source_path}/python/scripts/mkvenv.py"
8 $mkvenv ensuregroup --dir "${source_path}/python/wheels" \ 16 $mkvenv ensuregroup --dir "${source_path}/python/wheels" \
9 ${source_path}/pythondeps.toml meson || exit 1 17 ${source_path}/pythondeps.toml meson || exit 1
10 18
diff --git a/meta/recipes-devtools/qemu/qemu/0010-hw-pvrdma-Protect-against-buggy-or-malicious-guest-d.patch b/meta/recipes-devtools/qemu/qemu/0010-hw-pvrdma-Protect-against-buggy-or-malicious-guest-d.patch
deleted file mode 100644
index 6caf35b634..0000000000
--- a/meta/recipes-devtools/qemu/qemu/0010-hw-pvrdma-Protect-against-buggy-or-malicious-guest-d.patch
+++ /dev/null
@@ -1,40 +0,0 @@
1CVE: CVE-2022-1050
2Upstream-Status: Submitted [https://lore.kernel.org/qemu-devel/20220403095234.2210-1-yuval.shaia.ml@gmail.com/]
3Signed-off-by: Ross Burton <ross.burton@arm.com>
4
5From dbdef95c272e8f3ec037c3db4197c66002e30995 Mon Sep 17 00:00:00 2001
6From: Yuval Shaia <yuval.shaia.ml@gmail.com>
7Date: Sun, 3 Apr 2022 12:52:34 +0300
8Subject: [PATCH] hw/pvrdma: Protect against buggy or malicious guest driver
9
10Guest driver might execute HW commands when shared buffers are not yet
11allocated.
12This could happen on purpose (malicious guest) or because of some other
13guest/host address mapping error.
14We need to protect againts such case.
15
16Fixes: CVE-2022-1050
17
18Reported-by: Raven <wxhusst@gmail.com>
19Signed-off-by: Yuval Shaia <yuval.shaia.ml@gmail.com>
20---
21 hw/rdma/vmw/pvrdma_cmd.c | 6 ++++++
22 1 file changed, 6 insertions(+)
23
24Index: qemu-8.0.0/hw/rdma/vmw/pvrdma_cmd.c
25===================================================================
26--- qemu-8.0.0.orig/hw/rdma/vmw/pvrdma_cmd.c
27+++ qemu-8.0.0/hw/rdma/vmw/pvrdma_cmd.c
28@@ -782,6 +782,12 @@ int pvrdma_exec_cmd(PVRDMADev *dev)
29 goto out;
30 }
31
32+ if (!dsr_info->dsr) {
33+ /* Buggy or malicious guest driver */
34+ rdma_error_report("Exec command without dsr, req or rsp buffers");
35+ goto out;
36+ }
37+
38 if (dsr_info->req->hdr.cmd >= sizeof(cmd_handlers) /
39 sizeof(struct cmd_handler)) {
40 rdma_error_report("Unsupported command");
diff --git a/meta/recipes-devtools/qemu/qemu/0011-linux-user-workaround-for-missing-MAP_FIXED_NOREPLAC.patch b/meta/recipes-devtools/qemu/qemu/0011-linux-user-workaround-for-missing-MAP_FIXED_NOREPLAC.patch
deleted file mode 100644
index cc53b1eedd..0000000000
--- a/meta/recipes-devtools/qemu/qemu/0011-linux-user-workaround-for-missing-MAP_FIXED_NOREPLAC.patch
+++ /dev/null
@@ -1,282 +0,0 @@
1From fa9bcabe2387bb230ef82d62827ad6f93b8a1e61 Mon Sep 17 00:00:00 2001
2From: Frederic Konrad <fkonrad@amd.com>
3Date: Wed, 17 Jan 2024 18:15:06 +0000
4Subject: [PATCH 1/2] linux-user/*: workaround for missing MAP_FIXED_NOREPLACE
5
6QEMU v8.1.0 recently requires MAP_FIXED_NOREPLACE flags implementation for mmap.
7
8This is missing from ubuntu 18.04, thus this patch catches the mmap calls which
9could use that new flag and forwards them to mmap when MAP_FIXED_NOREPLACE
10flag isn't set or emulates them by checking the returned address w.r.t the
11requested address.
12
13Signed-off-by: Frederic Konrad <fkonrad@amd.com>
14Signed-off-by: Francisco Iglesias <francisco.iglesias@amd.com>
15
16Upstream-Status: Inappropriate [OE specific]
17
18The upstream only supports the last two major releases of an OS. The ones
19they have declared all have kernel 4.17 or newer.
20
21See:
22https://xilinx.slack.com/archives/D04G2647CTV/p1705074697942019
23
24https://www.qemu.org/docs/master/about/build-platforms.html
25
26 The project aims to support the most recent major version at all times for up
27 to five years after its initial release. Support for the previous major
28 version will be dropped 2 years after the new major version is released or
29 when the vendor itself drops support, whichever comes first.
30
31Signed-off-by: Mark Hatle <mark.hatle@amd.com>
32---
33 linux-user/elfload.c | 7 +++--
34 linux-user/meson.build | 1 +
35 linux-user/mmap-fixed.c | 63 +++++++++++++++++++++++++++++++++++++++++
36 linux-user/mmap-fixed.h | 39 +++++++++++++++++++++++++
37 linux-user/mmap.c | 31 +++++++++++---------
38 linux-user/syscall.c | 1 +
39 6 files changed, 125 insertions(+), 17 deletions(-)
40 create mode 100644 linux-user/mmap-fixed.c
41 create mode 100644 linux-user/mmap-fixed.h
42
43Index: qemu-8.2.1/linux-user/elfload.c
44===================================================================
45--- qemu-8.2.1.orig/linux-user/elfload.c
46+++ qemu-8.2.1/linux-user/elfload.c
47@@ -22,6 +22,7 @@
48 #include "qemu/error-report.h"
49 #include "target_signal.h"
50 #include "accel/tcg/debuginfo.h"
51+#include "mmap-fixed.h"
52
53 #ifdef TARGET_ARM
54 #include "target/arm/cpu-features.h"
55@@ -2765,9 +2766,9 @@ static abi_ulong create_elf_tables(abi_u
56 static int pgb_try_mmap(uintptr_t addr, uintptr_t addr_last, bool keep)
57 {
58 size_t size = addr_last - addr + 1;
59- void *p = mmap((void *)addr, size, PROT_NONE,
60- MAP_ANONYMOUS | MAP_PRIVATE |
61- MAP_NORESERVE | MAP_FIXED_NOREPLACE, -1, 0);
62+ void *p = mmap_fixed_noreplace((void *)addr, size, PROT_NONE,
63+ MAP_ANONYMOUS | MAP_PRIVATE |
64+ MAP_NORESERVE | MAP_FIXED_NOREPLACE, -1, 0);
65 int ret;
66
67 if (p == MAP_FAILED) {
68Index: qemu-8.2.1/linux-user/meson.build
69===================================================================
70--- qemu-8.2.1.orig/linux-user/meson.build
71+++ qemu-8.2.1/linux-user/meson.build
72@@ -14,6 +14,7 @@ linux_user_ss.add(files(
73 'linuxload.c',
74 'main.c',
75 'mmap.c',
76+ 'mmap-fixed.c',
77 'signal.c',
78 'strace.c',
79 'syscall.c',
80Index: qemu-8.2.1/linux-user/mmap-fixed.c
81===================================================================
82--- /dev/null
83+++ qemu-8.2.1/linux-user/mmap-fixed.c
84@@ -0,0 +1,63 @@
85+/*
86+ * Workaround for MAP_FIXED_NOREPLACE
87+ *
88+ * Copyright (c) 2024, Advanced Micro Devices, Inc.
89+ * Developed by Fred Konrad <fkonrad@amd.com>
90+ *
91+ * Permission is hereby granted, free of charge, to any person obtaining a copy
92+ * of this software and associated documentation files (the "Software"), to deal
93+ * in the Software without restriction, including without limitation the rights
94+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
95+ * copies of the Software, and to permit persons to whom the Software is
96+ * furnished to do so, subject to the following conditions:
97+ *
98+ * The above copyright notice and this permission notice shall be included in
99+ * all copies or substantial portions of the Software.
100+ *
101+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
102+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
103+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
104+ * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
105+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
106+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
107+ * THE SOFTWARE.
108+ */
109+
110+#include <sys/mman.h>
111+#include <errno.h>
112+
113+#ifndef MAP_FIXED_NOREPLACE
114+#include "mmap-fixed.h"
115+
116+void *mmap_fixed_noreplace(void *addr, size_t len, int prot, int flags,
117+ int fd, off_t offset)
118+{
119+ void *retaddr;
120+
121+ if (!(flags & MAP_FIXED_NOREPLACE)) {
122+ /* General case, use the regular mmap. */
123+ return mmap(addr, len, prot, flags, fd, offset);
124+ }
125+
126+ /* Since MAP_FIXED_NOREPLACE is not implemented, try to emulate it. */
127+ flags = flags & ~(MAP_FIXED_NOREPLACE | MAP_FIXED);
128+ retaddr = mmap(addr, len, prot, flags, fd, offset);
129+ if ((retaddr == addr) || (retaddr == MAP_FAILED)) {
130+ /*
131+ * Either the map worked and we get the good address so it can be
132+ * returned, or it failed and would have failed the same with
133+ * MAP_FIXED*, in which case return MAP_FAILED.
134+ */
135+ return retaddr;
136+ } else {
137+ /*
138+ * Page has been mapped but not at the requested address.. unmap it and
139+ * return EEXIST.
140+ */
141+ munmap(retaddr, len);
142+ errno = EEXIST;
143+ return MAP_FAILED;
144+ }
145+}
146+
147+#endif
148Index: qemu-8.2.1/linux-user/mmap-fixed.h
149===================================================================
150--- /dev/null
151+++ qemu-8.2.1/linux-user/mmap-fixed.h
152@@ -0,0 +1,39 @@
153+/*
154+ * Workaround for MAP_FIXED_NOREPLACE
155+ *
156+ * Copyright (c) 2024, Advanced Micro Devices, Inc.
157+ * Developed by Fred Konrad <fkonrad@amd.com>
158+ *
159+ * Permission is hereby granted, free of charge, to any person obtaining a copy
160+ * of this software and associated documentation files (the "Software"), to deal
161+ * in the Software without restriction, including without limitation the rights
162+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
163+ * copies of the Software, and to permit persons to whom the Software is
164+ * furnished to do so, subject to the following conditions:
165+ *
166+ * The above copyright notice and this permission notice shall be included in
167+ * all copies or substantial portions of the Software.
168+ *
169+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
170+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
171+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
172+ * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
173+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
174+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
175+ * THE SOFTWARE.
176+ */
177+
178+#ifndef MMAP_FIXED_H
179+#define MMAP_FIXED_H
180+
181+#ifndef MAP_FIXED_NOREPLACE
182+#define MAP_FIXED_NOREPLACE 0x100000
183+
184+void *mmap_fixed_noreplace(void *addr, size_t len, int prot, int flags,
185+ int fd, off_t offset);
186+
187+#else /* MAP_FIXED_NOREPLACE */
188+#define mmap_fixed_noreplace mmap
189+#endif /* MAP_FIXED_NOREPLACE */
190+
191+#endif /* MMAP_FIXED_H */
192Index: qemu-8.2.1/linux-user/mmap.c
193===================================================================
194--- qemu-8.2.1.orig/linux-user/mmap.c
195+++ qemu-8.2.1/linux-user/mmap.c
196@@ -25,6 +25,7 @@
197 #include "user-mmap.h"
198 #include "target_mman.h"
199 #include "qemu/interval-tree.h"
200+#include "mmap-fixed.h"
201
202 #ifdef TARGET_ARM
203 #include "target/arm/cpu-features.h"
204@@ -273,7 +274,7 @@ int target_mprotect(abi_ulong start, abi
205 static int do_munmap(void *addr, size_t len)
206 {
207 if (reserved_va) {
208- void *ptr = mmap(addr, len, PROT_NONE,
209+ void *ptr = mmap_fixed_noreplace(addr, len, PROT_NONE,
210 MAP_FIXED | MAP_ANONYMOUS
211 | MAP_PRIVATE | MAP_NORESERVE, -1, 0);
212 return ptr == addr ? 0 : -1;
213@@ -319,9 +320,9 @@ static bool mmap_frag(abi_ulong real_sta
214 * outside of the fragment we need to map. Allocate a new host
215 * page to cover, discarding whatever else may have been present.
216 */
217- void *p = mmap(host_start, qemu_host_page_size,
218- target_to_host_prot(prot),
219- flags | MAP_ANONYMOUS, -1, 0);
220+ void *p = mmap_fixed_noreplace(host_start, qemu_host_page_size,
221+ target_to_host_prot(prot),
222+ flags | MAP_ANONYMOUS, -1, 0);
223 if (p != host_start) {
224 if (p != MAP_FAILED) {
225 munmap(p, qemu_host_page_size);
226@@ -420,8 +421,9 @@ abi_ulong mmap_find_vma(abi_ulong start,
227 * - mremap() with MREMAP_FIXED flag
228 * - shmat() with SHM_REMAP flag
229 */
230- ptr = mmap(g2h_untagged(addr), size, PROT_NONE,
231- MAP_ANONYMOUS | MAP_PRIVATE | MAP_NORESERVE, -1, 0);
232+ ptr = mmap_fixed_noreplace(g2h_untagged(addr), size, PROT_NONE,
233+ MAP_ANONYMOUS | MAP_PRIVATE | MAP_NORESERVE,
234+ -1, 0);
235
236 /* ENOMEM, if host address space has no memory */
237 if (ptr == MAP_FAILED) {
238@@ -615,16 +617,16 @@ abi_long target_mmap(abi_ulong start, ab
239 * especially important if qemu_host_page_size >
240 * qemu_real_host_page_size.
241 */
242- p = mmap(g2h_untagged(start), host_len, host_prot,
243- flags | MAP_FIXED | MAP_ANONYMOUS, -1, 0);
244+ p = mmap_fixed_noreplace(g2h_untagged(start), host_len, host_prot,
245+ flags | MAP_FIXED | MAP_ANONYMOUS, -1, 0);
246 if (p == MAP_FAILED) {
247 goto fail;
248 }
249 /* update start so that it points to the file position at 'offset' */
250 host_start = (uintptr_t)p;
251 if (!(flags & MAP_ANONYMOUS)) {
252- p = mmap(g2h_untagged(start), len, host_prot,
253- flags | MAP_FIXED, fd, host_offset);
254+ p = mmap_fixed_noreplace(g2h_untagged(start), len, host_prot,
255+ flags | MAP_FIXED, fd, host_offset);
256 if (p == MAP_FAILED) {
257 munmap(g2h_untagged(start), host_len);
258 goto fail;
259@@ -749,8 +751,9 @@ abi_long target_mmap(abi_ulong start, ab
260 len1 = real_last - real_start + 1;
261 want_p = g2h_untagged(real_start);
262
263- p = mmap(want_p, len1, target_to_host_prot(target_prot),
264- flags, fd, offset1);
265+ p = mmap_fixed_noreplace(want_p, len1,
266+ target_to_host_prot(target_prot),
267+ flags, fd, offset1);
268 if (p != want_p) {
269 if (p != MAP_FAILED) {
270 munmap(p, len1);
271Index: qemu-8.2.1/linux-user/syscall.c
272===================================================================
273--- qemu-8.2.1.orig/linux-user/syscall.c
274+++ qemu-8.2.1/linux-user/syscall.c
275@@ -145,6 +145,7 @@
276 #include "qapi/error.h"
277 #include "fd-trans.h"
278 #include "cpu_loop-common.h"
279+#include "mmap-fixed.h"
280
281 #ifndef CLONE_IO
282 #define CLONE_IO 0x80000000 /* Clone io context */
diff --git a/meta/recipes-devtools/qemu/qemu/no-pip.patch b/meta/recipes-devtools/qemu/qemu/0011-qemu-Ensure-pip-and-the-python-venv-aren-t-used-for-.patch
index 92b2edbe9f..b06020d106 100644
--- a/meta/recipes-devtools/qemu/qemu/no-pip.patch
+++ b/meta/recipes-devtools/qemu/qemu/0011-qemu-Ensure-pip-and-the-python-venv-aren-t-used-for-.patch
@@ -1,4 +1,7 @@
1qemu: Ensure pip and the python venv aren't used for meson 1From 0d85988457a475c25b84085cf090040150a9c16d Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Wed, 22 May 2024 13:58:23 +0200
4Subject: [PATCH] qemu: Ensure pip and the python venv aren't used for meson
2 5
3Qemu wants to use a supported python version and a specific meson version 6Qemu wants to use a supported python version and a specific meson version
4to "help" users and uses pip and creates a venv to do this. This is a nightmare 7to "help" users and uses pip and creates a venv to do this. This is a nightmare
@@ -21,12 +24,15 @@ as it stands is a workaround.
21 24
22Upstream-Status: Inappropriate [oe specific] 25Upstream-Status: Inappropriate [oe specific]
23Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> 26Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
27---
28 configure | 4 ++--
29 1 file changed, 2 insertions(+), 2 deletions(-)
24 30
25Index: qemu-8.2.0/configure 31diff --git a/configure b/configure
26=================================================================== 32index 2c5ecd346..5315ede35 100755
27--- qemu-8.2.0.orig/configure 33--- a/configure
28+++ qemu-8.2.0/configure 34+++ b/configure
29@@ -937,7 +937,7 @@ python="$(command -v "$python")" 35@@ -969,14 +969,14 @@ python="$(command -v "$python")"
30 echo "python determined to be '$python'" 36 echo "python determined to be '$python'"
31 echo "python version: $($python --version)" 37 echo "python version: $($python --version)"
32 38
@@ -35,10 +41,10 @@ Index: qemu-8.2.0/configure
35 if test "$?" -ne 0 ; then 41 if test "$?" -ne 0 ; then
36 error_exit "python venv creation failed" 42 error_exit "python venv creation failed"
37 fi 43 fi
38@@ -945,6 +945,7 @@ fi 44
39 # Suppress writing compiled files 45 # Suppress writing compiled files
40 python="$python -B" 46 python="$python -B"
41 mkvenv="$python ${source_path}/python/scripts/mkvenv.py" 47-mkvenv="$python ${source_path}/python/scripts/mkvenv.py"
42+mkvenv=true 48+mkvenv=true
43 49
44 # Finish preparing the virtual environment using vendored .whl files 50 # Finish preparing the virtual environment using vendored .whl files
diff --git a/meta/recipes-devtools/qemu/qemu/0012-linux-user-workaround-for-missing-MAP_SHARED_VALIDAT.patch b/meta/recipes-devtools/qemu/qemu/0012-linux-user-workaround-for-missing-MAP_SHARED_VALIDAT.patch
deleted file mode 100644
index 48034a4680..0000000000
--- a/meta/recipes-devtools/qemu/qemu/0012-linux-user-workaround-for-missing-MAP_SHARED_VALIDAT.patch
+++ /dev/null
@@ -1,51 +0,0 @@
1From 5c73e53997df800a742f9cd7355f3045861984bb Mon Sep 17 00:00:00 2001
2From: Frederic Konrad <fkonrad@amd.com>
3Date: Thu, 18 Jan 2024 10:43:44 +0000
4Subject: [PATCH 2/2] linux-user/*: workaround for missing MAP_SHARED_VALIDATE
5
6QEMU v8.1.0 recently requires MAP_SHARED_VALIDATE flags implementation for mmap.
7
8This is missing from the Ubuntu 18.04 compiler but looks like to be in the
9kernel source.
10
11Signed-off-by: Frederic Konrad <fkonrad@amd.com>
12Signed-off-by: Francisco Iglesias <francisco.iglesias@amd.com>
13
14Upstream-Status: Inappropriate [OE specific]
15
16The upstream only supports the last two major releases of an OS. The ones
17they have declared all have kernel 4.17 or newer.
18
19See:
20https://xilinx.slack.com/archives/D04G2647CTV/p1705074697942019
21
22https://www.qemu.org/docs/master/about/build-platforms.html
23
24 The project aims to support the most recent major version at all times for up
25 to five years after its initial release. Support for the previous major
26 version will be dropped 2 years after the new major version is released or
27 when the vendor itself drops support, whichever comes first.
28
29Signed-off-by: Mark Hatle <mark.hatle@amd.com>
30---
31 linux-user/mmap-fixed.h | 4 ++++
32 1 file changed, 4 insertions(+)
33
34diff --git a/linux-user/mmap-fixed.h b/linux-user/mmap-fixed.h
35index ef6eef5114..ec86586c1f 100644
36--- a/linux-user/mmap-fixed.h
37+++ b/linux-user/mmap-fixed.h
38@@ -26,6 +26,10 @@
39 #ifndef MMAP_FIXED_H
40 #define MMAP_FIXED_H
41
42+#ifndef MAP_SHARED_VALIDATE
43+#define MAP_SHARED_VALIDATE 0x03
44+#endif
45+
46 #ifndef MAP_FIXED_NOREPLACE
47 #define MAP_FIXED_NOREPLACE 0x100000
48
49--
502.34.1
51
diff --git a/meta/recipes-devtools/qemu/qemu/4a8579ad8629b57a43daa62e46cc7af6e1078116.patch b/meta/recipes-devtools/qemu/qemu/4a8579ad8629b57a43daa62e46cc7af6e1078116.patch
deleted file mode 100644
index 5ad859ebe6..0000000000
--- a/meta/recipes-devtools/qemu/qemu/4a8579ad8629b57a43daa62e46cc7af6e1078116.patch
+++ /dev/null
@@ -1,60 +0,0 @@
1From 4a8579ad8629b57a43daa62e46cc7af6e1078116 Mon Sep 17 00:00:00 2001
2From: Richard Henderson <richard.henderson@linaro.org>
3Date: Tue, 13 Feb 2024 10:20:27 -1000
4Subject: [PATCH] linux-user: Split out do_munmap
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Upstream-Status: Submitted [https://gitlab.com/rth7680/qemu/-/commit/4a8579ad8629b57a43daa62e46cc7af6e1078116]
10
11Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
12Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
13---
14 linux-user/mmap.c | 23 ++++++++++++++++-------
15 1 file changed, 16 insertions(+), 7 deletions(-)
16
17diff --git a/linux-user/mmap.c b/linux-user/mmap.c
18index 1bbfeb25b14..8ebcca44444 100644
19--- a/linux-user/mmap.c
20+++ b/linux-user/mmap.c
21@@ -267,6 +267,21 @@ int target_mprotect(abi_ulong start, abi_ulong len, int target_prot)
22 return ret;
23 }
24
25+/*
26+ * Perform munmap on behalf of the target, with host parameters.
27+ * If reserved_va, we must replace the memory reservation.
28+ */
29+static int do_munmap(void *addr, size_t len)
30+{
31+ if (reserved_va) {
32+ void *ptr = mmap(addr, len, PROT_NONE,
33+ MAP_FIXED | MAP_ANONYMOUS
34+ | MAP_PRIVATE | MAP_NORESERVE, -1, 0);
35+ return ptr == addr ? 0 : -1;
36+ }
37+ return munmap(addr, len);
38+}
39+
40 /* map an incomplete host page */
41 static bool mmap_frag(abi_ulong real_start, abi_ulong start, abi_ulong last,
42 int prot, int flags, int fd, off_t offset)
43@@ -854,13 +869,7 @@ static int mmap_reserve_or_unmap(abi_ulong start, abi_ulong len)
44 real_len = real_last - real_start + 1;
45 host_start = g2h_untagged(real_start);
46
47- if (reserved_va) {
48- void *ptr = mmap(host_start, real_len, PROT_NONE,
49- MAP_FIXED | MAP_ANONYMOUS
50- | MAP_PRIVATE | MAP_NORESERVE, -1, 0);
51- return ptr == host_start ? 0 : -1;
52- }
53- return munmap(host_start, real_len);
54+ return do_munmap(host_start, real_len);
55 }
56
57 int target_munmap(abi_ulong start, abi_ulong len)
58--
59GitLab
60
diff --git a/meta/recipes-devtools/qemu/qemu/CVE-2023-6683.patch b/meta/recipes-devtools/qemu/qemu/CVE-2023-6683.patch
deleted file mode 100644
index 732cb6af18..0000000000
--- a/meta/recipes-devtools/qemu/qemu/CVE-2023-6683.patch
+++ /dev/null
@@ -1,91 +0,0 @@
1From 405484b29f6548c7b86549b0f961b906337aa68a Mon Sep 17 00:00:00 2001
2From: Fiona Ebner <f.ebner@proxmox.com>
3Date: Wed, 24 Jan 2024 11:57:48 +0100
4Subject: [PATCH] ui/clipboard: mark type as not available when there is no
5 data
6MIME-Version: 1.0
7Content-Type: text/plain; charset=UTF-8
8Content-Transfer-Encoding: 8bit
9
10With VNC, a client can send a non-extended VNC_MSG_CLIENT_CUT_TEXT
11message with len=0. In qemu_clipboard_set_data(), the clipboard info
12will be updated setting data to NULL (because g_memdup(data, size)
13returns NULL when size is 0). If the client does not set the
14VNC_ENCODING_CLIPBOARD_EXT feature when setting up the encodings, then
15the 'request' callback for the clipboard peer is not initialized.
16Later, because data is NULL, qemu_clipboard_request() can be reached
17via vdagent_chr_write() and vdagent_clipboard_recv_request() and
18there, the clipboard owner's 'request' callback will be attempted to
19be called, but that is a NULL pointer.
20
21In particular, this can happen when using the KRDC (22.12.3) VNC
22client.
23
24Another scenario leading to the same issue is with two clients (say
25noVNC and KRDC):
26
27The noVNC client sets the extension VNC_FEATURE_CLIPBOARD_EXT and
28initializes its cbpeer.
29
30The KRDC client does not, but triggers a vnc_client_cut_text() (note
31it's not the _ext variant)). There, a new clipboard info with it as
32the 'owner' is created and via qemu_clipboard_set_data() is called,
33which in turn calls qemu_clipboard_update() with that info.
34
35In qemu_clipboard_update(), the notifier for the noVNC client will be
36called, i.e. vnc_clipboard_notify() and also set vs->cbinfo for the
37noVNC client. The 'owner' in that clipboard info is the clipboard peer
38for the KRDC client, which did not initialize the 'request' function.
39That sounds correct to me, it is the owner of that clipboard info.
40
41Then when noVNC sends a VNC_MSG_CLIENT_CUT_TEXT message (it did set
42the VNC_FEATURE_CLIPBOARD_EXT feature correctly, so a check for it
43passes), that clipboard info is passed to qemu_clipboard_request() and
44the original segfault still happens.
45
46Fix the issue by handling updates with size 0 differently. In
47particular, mark in the clipboard info that the type is not available.
48
49While at it, switch to g_memdup2(), because g_memdup() is deprecated.
50
51Cc: qemu-stable@nongnu.org
52Fixes: CVE-2023-6683
53Reported-by: Markus Frank <m.frank@proxmox.com>
54Suggested-by: Marc-André Lureau <marcandre.lureau@redhat.com>
55Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
56Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
57Tested-by: Markus Frank <m.frank@proxmox.com>
58Message-ID: <20240124105749.204610-1-f.ebner@proxmox.com>
59
60CVE: CVE-2023-6683
61
62Upstream-Status: Backport [https://github.com/qemu/qemu/commit/405484b29f6548c7b86549b0f961b906337aa68a]
63Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
64
65---
66 ui/clipboard.c | 12 +++++++++---
67 1 file changed, 9 insertions(+), 3 deletions(-)
68
69diff --git a/ui/clipboard.c b/ui/clipboard.c
70index 3d14bffaf80f..b3f6fa3c9e1f 100644
71--- a/ui/clipboard.c
72+++ b/ui/clipboard.c
73@@ -163,9 +163,15 @@ void qemu_clipboard_set_data(QemuClipboardPeer *peer,
74 }
75
76 g_free(info->types[type].data);
77- info->types[type].data = g_memdup(data, size);
78- info->types[type].size = size;
79- info->types[type].available = true;
80+ if (size) {
81+ info->types[type].data = g_memdup2(data, size);
82+ info->types[type].size = size;
83+ info->types[type].available = true;
84+ } else {
85+ info->types[type].data = NULL;
86+ info->types[type].size = 0;
87+ info->types[type].available = false;
88+ }
89
90 if (update) {
91 qemu_clipboard_update(info);
diff --git a/meta/recipes-devtools/qemu/qemu/fix-strerrorname_np.patch b/meta/recipes-devtools/qemu/qemu/fix-strerrorname_np.patch
new file mode 100644
index 0000000000..1cc973443e
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu/fix-strerrorname_np.patch
@@ -0,0 +1,35 @@
1From 7e09654fa179ad5fab1dc0a47886c6a1a2acc097 Mon Sep 17 00:00:00 2001
2From: Natanael Copa <ncopa@alpinelinux.org>
3Date: Wed, 18 Sep 2024 16:19:37 -0700
4Subject: [PATCH] target/riscv/kvm: do not use non-portable strerrorname_np()
5
6strerrorname_np is non-portable and breaks building with musl libc.
7
8Use strerror(errno) instead, like we do other places.
9
10Upstream-Status: Submitted [https://mail.gnu.org/archive/html/qemu-stable/2023-12/msg00069.html]
11
12Cc: qemu-stable@nongnu.org
13Fixes: commit 082e9e4a58ba (target/riscv/kvm: improve 'init_multiext_cfg' error
14msg)
15Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2041
16Buglink: https://gitlab.alpinelinux.org/alpine/aports/-/issues/15541
17Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
18---
19 target/riscv/kvm/kvm-cpu.c | 3 +--
20 1 file changed, 1 insertion(+), 2 deletions(-)
21
22diff --git a/target/riscv/kvm/kvm-cpu.c b/target/riscv/kvm/kvm-cpu.c
23index 8001ca153..79fb43f92 100644
24--- a/target/riscv/kvm/kvm-cpu.c
25+++ b/target/riscv/kvm/kvm-cpu.c
26@@ -1968,8 +1968,7 @@ static bool kvm_cpu_realize(CPUState *cs, Error **errp)
27 if (riscv_has_ext(&cpu->env, RVV)) {
28 ret = prctl(PR_RISCV_V_SET_CONTROL, PR_RISCV_V_VSTATE_CTRL_ON);
29 if (ret) {
30- error_setg(errp, "Error in prctl PR_RISCV_V_SET_CONTROL, code: %s",
31- strerrorname_np(errno));
32+ error_setg(errp, "Error in prctl PR_RISCV_V_SET_CONTROL, error %d", errno);
33 return false;
34 }
35 }
diff --git a/meta/recipes-devtools/qemu/qemu/run-ptest b/meta/recipes-devtools/qemu/qemu/run-ptest
index f9a4e8fb2b..1157b48855 100644
--- a/meta/recipes-devtools/qemu/qemu/run-ptest
+++ b/meta/recipes-devtools/qemu/qemu/run-ptest
@@ -9,5 +9,10 @@ export SRC_PATH=$ptestdir
9cd $ptestdir/tests 9cd $ptestdir/tests
10tests=$(find . -name "test-*" ! -name "*.p") 10tests=$(find . -name "test-*" ! -name "*.p")
11for f in $tests; do 11for f in $tests; do
12 # Test hangs intermittently on qemurisc64 on autobuilder
13 if [ "$f" = "./unit/test-nested-aio-poll" -a `uname -m` = "riscv64" ]; then
14 continue
15 fi
16 echo "Running $f"
12 $f | sed '/^ok/ s/ok/PASS:/g' 17 $f | sed '/^ok/ s/ok/PASS:/g'
13done 18done
diff --git a/meta/recipes-devtools/qemu/qemu_8.2.1.bb b/meta/recipes-devtools/qemu/qemu_10.0.2.bb
index dc1352232e..5d544d8d13 100644
--- a/meta/recipes-devtools/qemu/qemu_8.2.1.bb
+++ b/meta/recipes-devtools/qemu/qemu_10.0.2.bb
@@ -7,6 +7,7 @@ DEPENDS += "glib-2.0 zlib pixman"
7DEPENDS:append:libc-musl = " libucontext" 7DEPENDS:append:libc-musl = " libucontext"
8 8
9CFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', '-DEGL_NO_X11=1', d)}" 9CFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', '-DEGL_NO_X11=1', d)}"
10LDFLAGS:append:toolchain-clang:x86 = " -latomic"
10 11
11RDEPENDS:${PN}-common:class-target += "bash" 12RDEPENDS:${PN}-common:class-target += "bash"
12 13
diff --git a/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb b/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb
index 97b44ad2e5..752ff3198d 100644
--- a/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb
+++ b/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb
@@ -2,7 +2,7 @@ SUMMARY = "QEMU wrapper script"
2HOMEPAGE = "http://qemu.org" 2HOMEPAGE = "http://qemu.org"
3LICENSE = "MIT" 3LICENSE = "MIT"
4 4
5S = "${WORKDIR}" 5S = "${UNPACKDIR}"
6 6
7DEPENDS += "qemu-native" 7DEPENDS += "qemu-native"
8 8
@@ -26,7 +26,6 @@ if [ ${@bb.utils.contains('MACHINE_FEATURES', 'qemu-usermode', 'True', 'False',
26 exit 1 26 exit 1
27fi 27fi
28 28
29
30$qemu_binary $qemu_options "\$@" 29$qemu_binary $qemu_options "\$@"
31EOF 30EOF
32 31
diff --git a/meta/recipes-devtools/quilt/quilt-native_0.67.bb b/meta/recipes-devtools/quilt/quilt-native_0.69.bb
index 22374425fa..22374425fa 100644
--- a/meta/recipes-devtools/quilt/quilt-native_0.67.bb
+++ b/meta/recipes-devtools/quilt/quilt-native_0.69.bb
diff --git a/meta/recipes-devtools/quilt/quilt.inc b/meta/recipes-devtools/quilt/quilt.inc
index 3374f4dfbf..59d13237e2 100644
--- a/meta/recipes-devtools/quilt/quilt.inc
+++ b/meta/recipes-devtools/quilt/quilt.inc
@@ -11,14 +11,12 @@ SRC_URI = "${SAVANNAH_GNU_MIRROR}/quilt/quilt-${PV}.tar.gz \
11 file://run-ptest \ 11 file://run-ptest \
12 file://test.sh \ 12 file://test.sh \
13 file://0001-tests-Allow-different-output-from-mv.patch \ 13 file://0001-tests-Allow-different-output-from-mv.patch \
14 file://fix-grep-3.8.patch \ 14 file://0001-contrib-spec-filters-obs-usr-bin-sh-bin-sh.patch \
15 file://faildiff-order.patch \
16 file://0001-test-Fix-a-race-condition-in-merge.test.patch \
17" 15"
18 16
19SRC_URI:append:class-target = " file://gnu_patch_test_fix_target.patch" 17SRC_URI:append:class-target = " file://gnu_patch_test_fix_target.patch"
20 18
21SRC_URI[sha256sum] = "3be3be0987e72a6c364678bb827e3e1fcc10322b56bc5f02b576698f55013cc2" 19SRC_URI[sha256sum] = "555ddffde22da3c86d1caf5a9c1fb8a152ac2b84730437bd39cc08849c9f4852"
22 20
23inherit autotools-brokensep ptest 21inherit autotools-brokensep ptest
24 22
@@ -64,10 +62,10 @@ do_install:append:class-native () {
64 62
65# The tests need to run as a non-root user, so pull in the ptest user 63# The tests need to run as a non-root user, so pull in the ptest user
66DEPENDS:append:class-target = "${@bb.utils.contains('PTEST_ENABLED', '1', ' ptest-runner', '', d)}" 64DEPENDS:append:class-target = "${@bb.utils.contains('PTEST_ENABLED', '1', ' ptest-runner', '', d)}"
67PACKAGE_WRITE_DEPS += "ptest-runner" 65PACKAGE_WRITE_DEPS += "${@bb.utils.contains('PTEST_ENABLED', '1', 'ptest-runner', '', d)}"
68 66
69do_install_ptest() { 67do_install_ptest() {
70 install ${WORKDIR}/test.sh ${D}${PTEST_PATH} 68 install ${UNPACKDIR}/test.sh ${D}${PTEST_PATH}
71 mkdir ${D}${PTEST_PATH}/test 69 mkdir ${D}${PTEST_PATH}/test
72 install ${S}/test/* ${D}${PTEST_PATH}/test 70 install ${S}/test/* ${D}${PTEST_PATH}/test
73 # mail needs a MTA, and the patch-wrapper is disabled 71 # mail needs a MTA, and the patch-wrapper is disabled
@@ -97,5 +95,5 @@ RDEPENDS:${PN}-ptest += "file sed gawk diffutils findutils ed perl \
97 perl-module-filehandle perl-module-getopt-std \ 95 perl-module-filehandle perl-module-getopt-std \
98 perl-module-posix perl-module-file-temp \ 96 perl-module-posix perl-module-file-temp \
99 perl-module-text-parsewords perl-module-overloading \ 97 perl-module-text-parsewords perl-module-overloading \
100 bash util-linux-getopt ptest-runner \ 98 bash util-linux-getopt ptest-runner coreutils \
101 " 99 "
diff --git a/meta/recipes-devtools/quilt/quilt/0001-contrib-spec-filters-obs-usr-bin-sh-bin-sh.patch b/meta/recipes-devtools/quilt/quilt/0001-contrib-spec-filters-obs-usr-bin-sh-bin-sh.patch
new file mode 100644
index 0000000000..219deab0d6
--- /dev/null
+++ b/meta/recipes-devtools/quilt/quilt/0001-contrib-spec-filters-obs-usr-bin-sh-bin-sh.patch
@@ -0,0 +1,28 @@
1From 0e00d22182c4cce3b242dd8f4166d3df238b3a0b Mon Sep 17 00:00:00 2001
2From: Robert Yang <liezhi.yang@windriver.com>
3Date: Wed, 4 Jun 2025 00:21:40 -0700
4Subject: [PATCH] contrib/spec-filters/obs: /usr/bin/sh -> /bin/sh
5
6The /bin/sh is more common than /usr/bin/sh, the later one doesn't exist on
7distributions such as Ubuntu 22.04.
8
9Upstream-Status: Submitted [https://lists.nongnu.org/archive/html/quilt-dev/2025-06/msg00002.html]
10
11Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
12---
13 contrib/spec-filters/obs | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/contrib/spec-filters/obs b/contrib/spec-filters/obs
17index 2f5b169..b675230 100755
18--- a/contrib/spec-filters/obs
19+++ b/contrib/spec-filters/obs
20@@ -1,4 +1,4 @@
21-#!/usr/bin/sh
22+#!/bin/sh
23 # Basic spec file filter for OBS packages
24 # https://build.opensuse.org/
25
26--
272.49.0
28
diff --git a/meta/recipes-devtools/quilt/quilt/0001-test-Fix-a-race-condition-in-merge.test.patch b/meta/recipes-devtools/quilt/quilt/0001-test-Fix-a-race-condition-in-merge.test.patch
deleted file mode 100644
index 01d4c8befc..0000000000
--- a/meta/recipes-devtools/quilt/quilt/0001-test-Fix-a-race-condition-in-merge.test.patch
+++ /dev/null
@@ -1,48 +0,0 @@
1From c1ce964f3e9312100a60f03c1e1fdd601e1911f2 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
3 <congdanhqx@gmail.com>
4Date: Tue, 28 Feb 2023 18:45:15 +0100
5Subject: [PATCH] test: Fix a race condition in merge.test
6MIME-Version: 1.0
7Content-Type: text/plain; charset=UTF-8
8Content-Transfer-Encoding: 8bit
9
10Just like commit 4dfe7f9, (test: Fix a race condition, 2023-01-20),
11this fix a test race when stdout and stderr in any order.
12
13Upstream-Status: Backport [https://git.savannah.nongnu.org/cgit/quilt.git/commit/?id=c1ce964f3e9312100a60f03c1e1fdd601e1911f2]
14Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com>
15Signed-off-by: Jean Delvare <jdelvare@suse.de>
16---
17 test/merge.test | 6 ++++--
18 1 file changed, 4 insertions(+), 2 deletions(-)
19
20diff --git a/test/merge.test b/test/merge.test
21index c64b33d..2e67d4f 100644
22--- a/test/merge.test
23+++ b/test/merge.test
24@@ -39,8 +39,9 @@ Test the patch merging functionality of `quilt diff'.
25 > Applying patch %{P}c.diff
26 > Now at patch %{P}c.diff
27
28- $ quilt diff -P b.diff | grep -v "^\\(---\\|+++\\)"
29+ $ quilt diff -P b.diff >/dev/null
30 > Warning: more recent patches modify files in patch %{P}b.diff
31+ $ quilt diff -P b.diff 2>/dev/null | grep -v "^\\(---\\|+++\\)"
32 >~ Index: [^/]+/abc\.txt
33 > ===================================================================
34 > @@ -1,3 +1,3 @@
35@@ -49,8 +50,9 @@ Test the patch merging functionality of `quilt diff'.
36 > +b+
37 > c
38
39- $ quilt diff --combine a.diff -P b.diff | grep -v "^\\(---\\|+++\\)"
40+ $ quilt diff --combine a.diff -P b.diff >/dev/null
41 > Warning: more recent patches modify files in patch %{P}b.diff
42+ $ quilt diff --combine a.diff -P b.diff 2>/dev/null | grep -v "^\\(---\\|+++\\)"
43 >~ Index: [^/]+/abc\.txt
44 > ===================================================================
45 > @@ -1,3 +1,3 @@
46--
472.40.0
48
diff --git a/meta/recipes-devtools/quilt/quilt/faildiff-order.patch b/meta/recipes-devtools/quilt/quilt/faildiff-order.patch
deleted file mode 100644
index f22065a250..0000000000
--- a/meta/recipes-devtools/quilt/quilt/faildiff-order.patch
+++ /dev/null
@@ -1,41 +0,0 @@
1Upstream-Status: Backport
2Signed-off-by: Ross Burton <ross.burton@arm.com>
3
4From 4dfe7f9e702c85243a71e4de267a13e434b6d6c2 Mon Sep 17 00:00:00 2001
5From: Jean Delvare <jdelvare@suse.de>
6Date: Fri, 20 Jan 2023 12:56:08 +0100
7Subject: [PATCH] test: Fix a race condition
8
9The test suite does not differentiate between stdout and stderr. When
10messages are printed to both, the order in which they will reach us
11is apparently not guaranteed. Ideally this would be deterministic, but
12until then, explicitly test stdout and stderr separately in the test
13case itself. Otherwise the test suite fails randomly, which is a pain
14for distribution package maintainers.
15
16This fixes bug #63651 reported by Ross Burton:
17https://savannah.nongnu.org/bugs/index.php?63651
18
19Signed-off-by: Jean Delvare <jdelvare@suse.de>
20---
21 test/faildiff.test | 3 ++-
22 1 file changed, 2 insertions(+), 1 deletion(-)
23
24diff --git a/test/faildiff.test b/test/faildiff.test
25index 5afb8e3..0444c15 100644
26--- a/test/faildiff.test
27+++ b/test/faildiff.test
28@@ -27,8 +27,9 @@ What happens on binary files?
29 > File test.bin added to patch %{P}test.diff
30
31 $ printf "\\003\\000\\001" > test.bin
32- $ quilt diff -pab --no-index
33+ $ quilt diff -pab --no-index 2>/dev/null
34 >~ (Files|Binary files) a/test\.bin and b/test\.bin differ
35+ $ quilt diff -pab --no-index >/dev/null
36 > Diff failed on file 'test.bin', aborting
37 $ echo %{?}
38 > 1
39--
402.34.1
41
diff --git a/meta/recipes-devtools/quilt/quilt/fix-grep-3.8.patch b/meta/recipes-devtools/quilt/quilt/fix-grep-3.8.patch
deleted file mode 100644
index 68a4b4c195..0000000000
--- a/meta/recipes-devtools/quilt/quilt/fix-grep-3.8.patch
+++ /dev/null
@@ -1,144 +0,0 @@
1From f73f8d7f71de2878d3f92881a5fcb8eafd78cb5f Mon Sep 17 00:00:00 2001
2From: Jean Delvare <jdelvare@suse.de>
3Date: Fri, 9 Sep 2022 10:10:37 +0200
4Subject: Avoid warnings with grep 3.8
5
6GNU grep version 3.8 became more strict about needless quoting in
7patterns. We have one occurrence of that in quilt, where "/"
8characters are being quoted by default. There are cases where they
9indeed need to be quoted (typically when used in a sed s/// command)
10but most of the time they do not, and this results in the following
11warning:
12
13grep: warning: stray \ before /
14
15So rename quote_bre() to quote_sed_re(), and introduce
16quote_grep_re() which does not quote "/".
17
18Signed-off-by: Jean Delvare <jdelvare@suse.de>
19Upstream-Status: Backport [https://git.savannah.nongnu.org/cgit/quilt.git/commit/?id=f73f8d7f71de2878d3f92881a5fcb8eafd78cb5f]
20Signed-off-by: Alexander Kanavin <alex@linutronix.de>
21---
22 quilt/diff.in | 2 +-
23 quilt/patches.in | 2 +-
24 quilt/scripts/patchfns.in | 20 +++++++++++++-------
25 quilt/upgrade.in | 4 ++--
26 4 files changed, 17 insertions(+), 11 deletions(-)
27
28diff --git a/quilt/diff.in b/quilt/diff.in
29index e90dc33..07788ff 100644
30--- a/quilt/diff.in
31+++ b/quilt/diff.in
32@@ -255,7 +255,7 @@ then
33 # Add all files in the snapshot into the file list (they may all
34 # have changed).
35 files=( $(find $QUILT_PC/$snap_subdir -type f \
36- | sed -e "s/^$(quote_bre $QUILT_PC/$snap_subdir/)//" \
37+ | sed -e "s/^$(quote_sed_re $QUILT_PC/$snap_subdir/)//" \
38 | sort) )
39 printf "%s\n" "${files[@]}" >&4
40 unset files
41diff --git a/quilt/patches.in b/quilt/patches.in
42index bb17a46..eac45a9 100644
43--- a/quilt/patches.in
44+++ b/quilt/patches.in
45@@ -60,7 +60,7 @@ scan_unapplied()
46 # Quote each file name only once
47 for file in "${opt_files[@]}"
48 do
49- files_bre[${#files_bre[@]}]=$(quote_bre "$file")
50+ files_bre[${#files_bre[@]}]=$(quote_grep_re "$file")
51 done
52
53 # "Or" all files in a single pattern
54diff --git a/quilt/scripts/patchfns.in b/quilt/scripts/patchfns.in
55index c2d5f9d..1bd7233 100644
56--- a/quilt/scripts/patchfns.in
57+++ b/quilt/scripts/patchfns.in
58@@ -78,8 +78,14 @@ array_join()
59 done
60 }
61
62-# Quote a string for use in a basic regular expression.
63-quote_bre()
64+# Quote a string for use in a regular expression for a grep pattern.
65+quote_grep_re()
66+{
67+ echo "$1" | sed -e 's:\([][^$.*\\]\):\\\1:g'
68+}
69+
70+# Quote a string for use in a regular expression for a sed s/// command.
71+quote_sed_re()
72 {
73 echo "$1" | sed -e 's:\([][^$/.*\\]\):\\\1:g'
74 }
75@@ -215,7 +221,7 @@ patch_in_series()
76
77 if [ -e "$SERIES" ]
78 then
79- grep -q "^$(quote_bre $patch)\([ \t]\|$\)" "$SERIES"
80+ grep -q "^$(quote_grep_re $patch)\([ \t]\|$\)" "$SERIES"
81 else
82 return 1
83 fi
84@@ -365,7 +371,7 @@ is_applied()
85 {
86 local patch=$1
87 [ -e $DB ] || return 1
88- grep -q "^$(quote_bre $patch)\$" $DB
89+ grep -q "^$(quote_grep_re $patch)\$" $DB
90 }
91
92 applied_patches()
93@@ -465,7 +471,7 @@ remove_from_db()
94 local tmpfile
95 if tmpfile=$(gen_tempfile)
96 then
97- grep -v "^$(quote_bre $patch)\$" $DB > $tmpfile
98+ grep -v "^$(quote_grep_re $patch)\$" $DB > $tmpfile
99 cat $tmpfile > $DB
100 rm -f $tmpfile
101 [ -s $DB ] || rm -f $DB
102@@ -520,7 +526,7 @@ find_patch()
103 fi
104
105 local patch=${1#$SUBDIR_DOWN$QUILT_PATCHES/}
106- local bre=$(quote_bre "$patch")
107+ local bre=$(quote_sed_re "$patch")
108 set -- $(sed -e "/^$bre\(\|\.patch\|\.diff\?\)\(\|\.gz\|\.bz2\|\.xz\|\.lzma\|\.lz\)\([ "$'\t'"]\|$\)/!d" \
109 -e 's/[ '$'\t''].*//' "$SERIES")
110 if [ $# -eq 1 ]
111@@ -631,7 +637,7 @@ files_in_patch()
112 then
113 find "$path" -type f \
114 -a ! -path "$(quote_glob "$path")/.timestamp" |
115- sed -e "s/$(quote_bre "$path")\///"
116+ sed -e "s/$(quote_sed_re "$path")\///"
117 fi
118 }
119
120diff --git a/quilt/upgrade.in b/quilt/upgrade.in
121index dbf7d05..866aa33 100644
122--- a/quilt/upgrade.in
123+++ b/quilt/upgrade.in
124@@ -74,7 +74,7 @@ printf $"Converting meta-data to version %s\n" "$DB_VERSION"
125
126 for patch in $(applied_patches)
127 do
128- proper_name="$(grep "^$(quote_bre $patch)"'\(\|\.patch\|\.diff?\)\(\|\.gz\|\.bz2\)\([ \t]\|$\)' $SERIES)"
129+ proper_name="$(grep "^$(quote_grep_re $patch)"'\(\|\.patch\|\.diff?\)\(\|\.gz\|\.bz2\)\([ \t]\|$\)' $SERIES)"
130 proper_name=${proper_name#$QUILT_PATCHES/}
131 proper_name=${proper_name%% *}
132 if [ -z "$proper_name" ]
133@@ -84,7 +84,7 @@ do
134 fi
135
136 if [ "$patch" != "$proper_name" -a -d $QUILT_PC/$patch ] \
137- && grep -q "^$(quote_bre $patch)\$" \
138+ && grep -q "^$(quote_grep_re $patch)\$" \
139 $QUILT_PC/applied-patches
140 then
141 mv $QUILT_PC/$patch $QUILT_PC/$proper_name \
142--
143cgit v1.1
144
diff --git a/meta/recipes-devtools/quilt/quilt_0.67.bb b/meta/recipes-devtools/quilt/quilt_0.69.bb
index bf9e3c720f..bf9e3c720f 100644
--- a/meta/recipes-devtools/quilt/quilt_0.67.bb
+++ b/meta/recipes-devtools/quilt/quilt_0.69.bb
diff --git a/meta/recipes-devtools/repo/repo_2.45.bb b/meta/recipes-devtools/repo/repo_2.55.2.bb
index dd12373e3a..882f3e6312 100644
--- a/meta/recipes-devtools/repo/repo_2.45.bb
+++ b/meta/recipes-devtools/repo/repo_2.55.2.bb
@@ -9,14 +9,12 @@ SECTION = "console/utils"
9LICENSE = "Apache-2.0" 9LICENSE = "Apache-2.0"
10LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" 10LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
11 11
12SRC_URI = "git://gerrit.googlesource.com/git-repo.git;protocol=https;branch=main \ 12SRC_URI = "git://gerrit.googlesource.com/git-repo.git;protocol=https;branch=main;tag=v${PV} \
13 " 13 "
14SRCREV = "73356f1d5ccbebf5a33e5e9aa1ba06c5f5437fed" 14SRCREV = "b262d0e4619c406a2708856ed312091d21c5bf39"
15 15
16MIRRORS += "git://gerrit.googlesource.com/git-repo.git git://github.com/GerritCodeReview/git-repo.git" 16MIRRORS += "git://gerrit.googlesource.com/git-repo.git git://github.com/GerritCodeReview/git-repo.git"
17 17
18S = "${WORKDIR}/git"
19
20do_configure:prepend() { 18do_configure:prepend() {
21 sed -Ei "s/REPO_REV\s*=\s*('|\")stable('|\")/REPO_REV = '${SRCREV}'/g" ${S}/repo 19 sed -Ei "s/REPO_REV\s*=\s*('|\")stable('|\")/REPO_REV = '${SRCREV}'/g" ${S}/repo
22} 20}
diff --git a/meta/recipes-devtools/rpm-sequoia/files/0001-Use-optional-env-vars-to-force-runtime-paths-in-test.patch b/meta/recipes-devtools/rpm-sequoia/files/0001-Use-optional-env-vars-to-force-runtime-paths-in-test.patch
new file mode 100644
index 0000000000..d0179fc53c
--- /dev/null
+++ b/meta/recipes-devtools/rpm-sequoia/files/0001-Use-optional-env-vars-to-force-runtime-paths-in-test.patch
@@ -0,0 +1,35 @@
1From 590937523deea4ad2a2ee0e1ae4412a8f59e0170 Mon Sep 17 00:00:00 2001
2From: Ines KCHELFI <ines.kchelfi@smile.fr>
3Date: Thu, 10 Apr 2025 15:14:11 +0200
4Subject: [PATCH] Use optional env vars to force runtime paths in tests
5
6Signed-off-by: Ines KCHELFI <ines.kchelfi@smile.fr>
7Upstream-Status: Submitted [https://github.com/rpm-software-management/rpm-sequoia/pull/86]
8---
9 tests/symbols.rs | 6 ++++--
10 1 file changed, 4 insertions(+), 2 deletions(-)
11
12diff --git a/tests/symbols.rs b/tests/symbols.rs
13index c16dd9b..dc4a42c 100644
14--- a/tests/symbols.rs
15+++ b/tests/symbols.rs
16@@ -14,7 +14,8 @@ fn symbols() -> anyhow::Result<()> {
17 // OUT_DIR gives us
18 // `/tmp/rpm-sequoia/debug/build/rpm-sequoia-HASH/out`.
19
20- let out_dir = PathBuf::from(env!("OUT_DIR"));
21+ let out_dir = PathBuf::from(option_env!("FORCE_RUNTIME_PATH_LIB")
22+ .unwrap_or(env!("OUT_DIR")));
23 let mut build_dir = out_dir;
24 let lib = loop {
25 let mut lib = build_dir.clone();
26@@ -53,7 +54,8 @@ fn symbols() -> anyhow::Result<()> {
27 }
28
29 let mut expected_symbols_txt_fn
30- = PathBuf::from(env!("CARGO_MANIFEST_DIR"));
31+ = PathBuf::from(option_env!("FORCE_RUNTIME_PATH_SRC")
32+ .unwrap_or(env!("CARGO_MANIFEST_DIR")));
33 expected_symbols_txt_fn.push("src/symbols.txt");
34
35 let mut expected_symbols_txt = Vec::new();
diff --git a/meta/recipes-devtools/rpm-sequoia/rpm-sequoia-crates.inc b/meta/recipes-devtools/rpm-sequoia/rpm-sequoia-crates.inc
new file mode 100644
index 0000000000..2764030ec7
--- /dev/null
+++ b/meta/recipes-devtools/rpm-sequoia/rpm-sequoia-crates.inc
@@ -0,0 +1,486 @@
1# Autogenerated with 'bitbake -c update_crates rpm-sequoia'
2
3# from Cargo.lock
4SRC_URI += " \
5 crate://crates.io/aead/0.5.2 \
6 crate://crates.io/aes/0.8.4 \
7 crate://crates.io/aes-gcm/0.10.3 \
8 crate://crates.io/aho-corasick/1.1.3 \
9 crate://crates.io/android-tzdata/0.1.1 \
10 crate://crates.io/android_system_properties/0.1.5 \
11 crate://crates.io/anstyle/1.0.7 \
12 crate://crates.io/anyhow/1.0.86 \
13 crate://crates.io/ascii-canvas/3.0.0 \
14 crate://crates.io/assert_cmd/2.0.14 \
15 crate://crates.io/autocfg/1.3.0 \
16 crate://crates.io/base16ct/0.2.0 \
17 crate://crates.io/base64/0.22.1 \
18 crate://crates.io/base64ct/1.6.0 \
19 crate://crates.io/bindgen/0.68.1 \
20 crate://crates.io/bit-set/0.5.3 \
21 crate://crates.io/bit-vec/0.6.3 \
22 crate://crates.io/bitflags/2.6.0 \
23 crate://crates.io/block-buffer/0.10.4 \
24 crate://crates.io/block-padding/0.3.3 \
25 crate://crates.io/blowfish/0.9.1 \
26 crate://crates.io/botan/0.10.7 \
27 crate://crates.io/botan-sys/0.10.5 \
28 crate://crates.io/bstr/1.9.1 \
29 crate://crates.io/buffered-reader/1.3.1 \
30 crate://crates.io/bumpalo/3.16.0 \
31 crate://crates.io/byteorder/1.5.0 \
32 crate://crates.io/camellia/0.1.0 \
33 crate://crates.io/cast5/0.11.1 \
34 crate://crates.io/cc/1.0.106 \
35 crate://crates.io/cdylib-link-lines/0.1.5 \
36 crate://crates.io/cexpr/0.6.0 \
37 crate://crates.io/cfb-mode/0.8.2 \
38 crate://crates.io/cfg-if/1.0.0 \
39 crate://crates.io/chrono/0.4.38 \
40 crate://crates.io/cipher/0.4.4 \
41 crate://crates.io/clang-sys/1.8.1 \
42 crate://crates.io/cmac/0.7.2 \
43 crate://crates.io/const-oid/0.9.6 \
44 crate://crates.io/core-foundation-sys/0.8.6 \
45 crate://crates.io/cpufeatures/0.2.12 \
46 crate://crates.io/crunchy/0.2.2 \
47 crate://crates.io/crypto-bigint/0.5.5 \
48 crate://crates.io/crypto-common/0.1.6 \
49 crate://crates.io/ctr/0.9.2 \
50 crate://crates.io/curve25519-dalek/4.1.3 \
51 crate://crates.io/curve25519-dalek-derive/0.1.1 \
52 crate://crates.io/dbl/0.3.2 \
53 crate://crates.io/der/0.7.9 \
54 crate://crates.io/des/0.8.1 \
55 crate://crates.io/difflib/0.4.0 \
56 crate://crates.io/digest/0.10.7 \
57 crate://crates.io/dirs-next/2.0.0 \
58 crate://crates.io/dirs-sys-next/0.1.2 \
59 crate://crates.io/displaydoc/0.2.5 \
60 crate://crates.io/doc-comment/0.3.3 \
61 crate://crates.io/dsa/0.6.3 \
62 crate://crates.io/dyn-clone/1.0.17 \
63 crate://crates.io/eax/0.5.0 \
64 crate://crates.io/ecb/0.1.2 \
65 crate://crates.io/ecdsa/0.16.9 \
66 crate://crates.io/ed25519/2.2.3 \
67 crate://crates.io/ed25519-dalek/2.1.1 \
68 crate://crates.io/either/1.13.0 \
69 crate://crates.io/elliptic-curve/0.13.8 \
70 crate://crates.io/ena/0.14.3 \
71 crate://crates.io/equivalent/1.0.1 \
72 crate://crates.io/errno/0.3.9 \
73 crate://crates.io/fastrand/2.1.0 \
74 crate://crates.io/ff/0.13.0 \
75 crate://crates.io/fiat-crypto/0.2.9 \
76 crate://crates.io/fixedbitset/0.4.2 \
77 crate://crates.io/foreign-types/0.3.2 \
78 crate://crates.io/foreign-types-shared/0.1.1 \
79 crate://crates.io/generic-array/0.14.7 \
80 crate://crates.io/generic-array/1.1.0 \
81 crate://crates.io/getrandom/0.2.15 \
82 crate://crates.io/ghash/0.5.1 \
83 crate://crates.io/glob/0.3.1 \
84 crate://crates.io/group/0.13.0 \
85 crate://crates.io/hashbrown/0.14.5 \
86 crate://crates.io/hkdf/0.12.4 \
87 crate://crates.io/hmac/0.12.1 \
88 crate://crates.io/iana-time-zone/0.1.60 \
89 crate://crates.io/iana-time-zone-haiku/0.1.2 \
90 crate://crates.io/icu_collections/1.5.0 \
91 crate://crates.io/icu_locid/1.5.0 \
92 crate://crates.io/icu_locid_transform/1.5.0 \
93 crate://crates.io/icu_locid_transform_data/1.5.0 \
94 crate://crates.io/icu_normalizer/1.5.0 \
95 crate://crates.io/icu_normalizer_data/1.5.0 \
96 crate://crates.io/icu_properties/1.5.1 \
97 crate://crates.io/icu_properties_data/1.5.0 \
98 crate://crates.io/icu_provider/1.5.0 \
99 crate://crates.io/icu_provider_macros/1.5.0 \
100 crate://crates.io/idea/0.5.1 \
101 crate://crates.io/idna/1.0.2 \
102 crate://crates.io/indexmap/2.2.6 \
103 crate://crates.io/inout/0.1.3 \
104 crate://crates.io/itertools/0.11.0 \
105 crate://crates.io/js-sys/0.3.69 \
106 crate://crates.io/lalrpop/0.20.2 \
107 crate://crates.io/lalrpop-util/0.20.2 \
108 crate://crates.io/lazy_static/1.5.0 \
109 crate://crates.io/lazycell/1.3.0 \
110 crate://crates.io/libc/0.2.155 \
111 crate://crates.io/libloading/0.8.4 \
112 crate://crates.io/libm/0.2.8 \
113 crate://crates.io/libredox/0.1.3 \
114 crate://crates.io/linux-raw-sys/0.4.14 \
115 crate://crates.io/litemap/0.7.3 \
116 crate://crates.io/lock_api/0.4.12 \
117 crate://crates.io/log/0.4.22 \
118 crate://crates.io/md-5/0.10.6 \
119 crate://crates.io/memchr/2.7.4 \
120 crate://crates.io/memsec/0.7.0 \
121 crate://crates.io/minimal-lexical/0.2.1 \
122 crate://crates.io/nettle/7.4.0 \
123 crate://crates.io/nettle-sys/2.3.0 \
124 crate://crates.io/new_debug_unreachable/1.0.6 \
125 crate://crates.io/nom/7.1.3 \
126 crate://crates.io/num-bigint-dig/0.8.4 \
127 crate://crates.io/num-integer/0.1.46 \
128 crate://crates.io/num-iter/0.1.45 \
129 crate://crates.io/num-traits/0.2.19 \
130 crate://crates.io/once_cell/1.19.0 \
131 crate://crates.io/opaque-debug/0.3.1 \
132 crate://crates.io/openssl/0.10.64 \
133 crate://crates.io/openssl-macros/0.1.1 \
134 crate://crates.io/openssl-sys/0.9.102 \
135 crate://crates.io/p256/0.13.2 \
136 crate://crates.io/p384/0.13.0 \
137 crate://crates.io/p521/0.13.3 \
138 crate://crates.io/parking_lot/0.12.3 \
139 crate://crates.io/parking_lot_core/0.9.10 \
140 crate://crates.io/peeking_take_while/0.1.2 \
141 crate://crates.io/pem-rfc7468/0.7.0 \
142 crate://crates.io/petgraph/0.6.5 \
143 crate://crates.io/phf_shared/0.10.0 \
144 crate://crates.io/pkcs1/0.7.5 \
145 crate://crates.io/pkcs8/0.10.2 \
146 crate://crates.io/pkg-config/0.3.30 \
147 crate://crates.io/polyval/0.6.2 \
148 crate://crates.io/ppv-lite86/0.2.17 \
149 crate://crates.io/precomputed-hash/0.1.1 \
150 crate://crates.io/predicates/3.1.0 \
151 crate://crates.io/predicates-core/1.0.6 \
152 crate://crates.io/predicates-tree/1.0.9 \
153 crate://crates.io/primeorder/0.13.6 \
154 crate://crates.io/proc-macro2/1.0.86 \
155 crate://crates.io/quote/1.0.36 \
156 crate://crates.io/rand/0.8.5 \
157 crate://crates.io/rand_chacha/0.3.1 \
158 crate://crates.io/rand_core/0.6.4 \
159 crate://crates.io/redox_syscall/0.5.2 \
160 crate://crates.io/redox_users/0.4.5 \
161 crate://crates.io/regex/1.10.5 \
162 crate://crates.io/regex-automata/0.4.7 \
163 crate://crates.io/regex-syntax/0.8.4 \
164 crate://crates.io/rfc6979/0.4.0 \
165 crate://crates.io/ripemd/0.1.3 \
166 crate://crates.io/rsa/0.9.6 \
167 crate://crates.io/rustc-hash/1.1.0 \
168 crate://crates.io/rustc_version/0.4.0 \
169 crate://crates.io/rustix/0.38.34 \
170 crate://crates.io/rustversion/1.0.17 \
171 crate://crates.io/same-file/1.0.6 \
172 crate://crates.io/scopeguard/1.2.0 \
173 crate://crates.io/sec1/0.7.3 \
174 crate://crates.io/semver/1.0.23 \
175 crate://crates.io/sequoia-openpgp/1.21.1 \
176 crate://crates.io/sequoia-policy-config/0.6.0 \
177 crate://crates.io/serde/1.0.204 \
178 crate://crates.io/serde_derive/1.0.204 \
179 crate://crates.io/sha1collisiondetection/0.3.4 \
180 crate://crates.io/sha2/0.10.8 \
181 crate://crates.io/shlex/1.3.0 \
182 crate://crates.io/signature/2.2.0 \
183 crate://crates.io/siphasher/0.3.11 \
184 crate://crates.io/smallvec/1.13.2 \
185 crate://crates.io/spin/0.9.8 \
186 crate://crates.io/spki/0.7.3 \
187 crate://crates.io/stable_deref_trait/1.2.0 \
188 crate://crates.io/string_cache/0.8.7 \
189 crate://crates.io/subtle/2.6.1 \
190 crate://crates.io/syn/2.0.70 \
191 crate://crates.io/synstructure/0.13.1 \
192 crate://crates.io/tempfile/3.10.1 \
193 crate://crates.io/term/0.7.0 \
194 crate://crates.io/termtree/0.4.1 \
195 crate://crates.io/thiserror/1.0.61 \
196 crate://crates.io/thiserror-impl/1.0.61 \
197 crate://crates.io/tiny-keccak/2.0.2 \
198 crate://crates.io/tinystr/0.7.6 \
199 crate://crates.io/toml/0.5.11 \
200 crate://crates.io/twofish/0.7.1 \
201 crate://crates.io/typenum/1.17.0 \
202 crate://crates.io/unicode-ident/1.0.12 \
203 crate://crates.io/unicode-xid/0.2.4 \
204 crate://crates.io/universal-hash/0.5.1 \
205 crate://crates.io/utf16_iter/1.0.5 \
206 crate://crates.io/utf8_iter/1.0.4 \
207 crate://crates.io/vcpkg/0.2.15 \
208 crate://crates.io/version_check/0.9.4 \
209 crate://crates.io/wait-timeout/0.2.0 \
210 crate://crates.io/walkdir/2.5.0 \
211 crate://crates.io/wasi/0.11.0+wasi-snapshot-preview1 \
212 crate://crates.io/wasm-bindgen/0.2.92 \
213 crate://crates.io/wasm-bindgen-backend/0.2.92 \
214 crate://crates.io/wasm-bindgen-macro/0.2.92 \
215 crate://crates.io/wasm-bindgen-macro-support/0.2.92 \
216 crate://crates.io/wasm-bindgen-shared/0.2.92 \
217 crate://crates.io/win-crypto-ng/0.5.1 \
218 crate://crates.io/winapi/0.3.9 \
219 crate://crates.io/winapi-i686-pc-windows-gnu/0.4.0 \
220 crate://crates.io/winapi-util/0.1.8 \
221 crate://crates.io/winapi-x86_64-pc-windows-gnu/0.4.0 \
222 crate://crates.io/windows-core/0.52.0 \
223 crate://crates.io/windows-sys/0.52.0 \
224 crate://crates.io/windows-targets/0.52.6 \
225 crate://crates.io/windows_aarch64_gnullvm/0.52.6 \
226 crate://crates.io/windows_aarch64_msvc/0.52.6 \
227 crate://crates.io/windows_i686_gnu/0.52.6 \
228 crate://crates.io/windows_i686_gnullvm/0.52.6 \
229 crate://crates.io/windows_i686_msvc/0.52.6 \
230 crate://crates.io/windows_x86_64_gnu/0.52.6 \
231 crate://crates.io/windows_x86_64_gnullvm/0.52.6 \
232 crate://crates.io/windows_x86_64_msvc/0.52.6 \
233 crate://crates.io/write16/1.0.0 \
234 crate://crates.io/writeable/0.5.5 \
235 crate://crates.io/x25519-dalek/2.0.1 \
236 crate://crates.io/xxhash-rust/0.8.11 \
237 crate://crates.io/yoke/0.7.4 \
238 crate://crates.io/yoke-derive/0.7.4 \
239 crate://crates.io/zerofrom/0.1.4 \
240 crate://crates.io/zerofrom-derive/0.1.4 \
241 crate://crates.io/zeroize/1.8.1 \
242 crate://crates.io/zeroize_derive/1.4.2 \
243 crate://crates.io/zerovec/0.10.4 \
244 crate://crates.io/zerovec-derive/0.10.3 \
245"
246
247SRC_URI[aead-0.5.2.sha256sum] = "d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0"
248SRC_URI[aes-0.8.4.sha256sum] = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0"
249SRC_URI[aes-gcm-0.10.3.sha256sum] = "831010a0f742e1209b3bcea8fab6a8e149051ba6099432c8cb2cc117dec3ead1"
250SRC_URI[aho-corasick-1.1.3.sha256sum] = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
251SRC_URI[android-tzdata-0.1.1.sha256sum] = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0"
252SRC_URI[android_system_properties-0.1.5.sha256sum] = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311"
253SRC_URI[anstyle-1.0.7.sha256sum] = "038dfcf04a5feb68e9c60b21c9625a54c2c0616e79b72b0fd87075a056ae1d1b"
254SRC_URI[anyhow-1.0.86.sha256sum] = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da"
255SRC_URI[ascii-canvas-3.0.0.sha256sum] = "8824ecca2e851cec16968d54a01dd372ef8f95b244fb84b84e70128be347c3c6"
256SRC_URI[assert_cmd-2.0.14.sha256sum] = "ed72493ac66d5804837f480ab3766c72bdfab91a65e565fc54fa9e42db0073a8"
257SRC_URI[autocfg-1.3.0.sha256sum] = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0"
258SRC_URI[base16ct-0.2.0.sha256sum] = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf"
259SRC_URI[base64-0.22.1.sha256sum] = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
260SRC_URI[base64ct-1.6.0.sha256sum] = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b"
261SRC_URI[bindgen-0.68.1.sha256sum] = "726e4313eb6ec35d2730258ad4e15b547ee75d6afaa1361a922e78e59b7d8078"
262SRC_URI[bit-set-0.5.3.sha256sum] = "0700ddab506f33b20a03b13996eccd309a48e5ff77d0d95926aa0210fb4e95f1"
263SRC_URI[bit-vec-0.6.3.sha256sum] = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb"
264SRC_URI[bitflags-2.6.0.sha256sum] = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
265SRC_URI[block-buffer-0.10.4.sha256sum] = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
266SRC_URI[block-padding-0.3.3.sha256sum] = "a8894febbff9f758034a5b8e12d87918f56dfc64a8e1fe757d65e29041538d93"
267SRC_URI[blowfish-0.9.1.sha256sum] = "e412e2cd0f2b2d93e02543ceae7917b3c70331573df19ee046bcbc35e45e87d7"
268SRC_URI[botan-0.10.7.sha256sum] = "350081af1a3c6883f8a1f863ac553bfe6922589aad60008a70947765ed57c53e"
269SRC_URI[botan-sys-0.10.5.sha256sum] = "9f49dde1b8ebd2996cc41c55c39f6ef8b54e38148d8973aeba0792b87b1621ca"
270SRC_URI[bstr-1.9.1.sha256sum] = "05efc5cfd9110c8416e471df0e96702d58690178e206e61b7173706673c93706"
271SRC_URI[buffered-reader-1.3.1.sha256sum] = "cd098763fdb64579407a8c83cf0d751e6d4a7e161d0114c89cc181a2ca760ec8"
272SRC_URI[bumpalo-3.16.0.sha256sum] = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c"
273SRC_URI[byteorder-1.5.0.sha256sum] = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
274SRC_URI[camellia-0.1.0.sha256sum] = "3264e2574e9ef2b53ce6f536dea83a69ac0bc600b762d1523ff83fe07230ce30"
275SRC_URI[cast5-0.11.1.sha256sum] = "26b07d673db1ccf000e90f54b819db9e75a8348d6eb056e9b8ab53231b7a9911"
276SRC_URI[cc-1.0.106.sha256sum] = "066fce287b1d4eafef758e89e09d724a24808a9196fe9756b8ca90e86d0719a2"
277SRC_URI[cdylib-link-lines-0.1.5.sha256sum] = "d98eabef08bbdf5afd0b9c0cabb1ac335f7c70447ef095eed85dffd9628b20bc"
278SRC_URI[cexpr-0.6.0.sha256sum] = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766"
279SRC_URI[cfb-mode-0.8.2.sha256sum] = "738b8d467867f80a71351933f70461f5b56f24d5c93e0cf216e59229c968d330"
280SRC_URI[cfg-if-1.0.0.sha256sum] = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
281SRC_URI[chrono-0.4.38.sha256sum] = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401"
282SRC_URI[cipher-0.4.4.sha256sum] = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad"
283SRC_URI[clang-sys-1.8.1.sha256sum] = "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4"
284SRC_URI[cmac-0.7.2.sha256sum] = "8543454e3c3f5126effff9cd44d562af4e31fb8ce1cc0d3dcd8f084515dbc1aa"
285SRC_URI[const-oid-0.9.6.sha256sum] = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8"
286SRC_URI[core-foundation-sys-0.8.6.sha256sum] = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f"
287SRC_URI[cpufeatures-0.2.12.sha256sum] = "53fe5e26ff1b7aef8bca9c6080520cfb8d9333c7568e1829cef191a9723e5504"
288SRC_URI[crunchy-0.2.2.sha256sum] = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7"
289SRC_URI[crypto-bigint-0.5.5.sha256sum] = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76"
290SRC_URI[crypto-common-0.1.6.sha256sum] = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3"
291SRC_URI[ctr-0.9.2.sha256sum] = "0369ee1ad671834580515889b80f2ea915f23b8be8d0daa4bbaf2ac5c7590835"
292SRC_URI[curve25519-dalek-4.1.3.sha256sum] = "97fb8b7c4503de7d6ae7b42ab72a5a59857b4c937ec27a3d4539dba95b5ab2be"
293SRC_URI[curve25519-dalek-derive-0.1.1.sha256sum] = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3"
294SRC_URI[dbl-0.3.2.sha256sum] = "bd2735a791158376708f9347fe8faba9667589d82427ef3aed6794a8981de3d9"
295SRC_URI[der-0.7.9.sha256sum] = "f55bf8e7b65898637379c1b74eb1551107c8294ed26d855ceb9fd1a09cfc9bc0"
296SRC_URI[des-0.8.1.sha256sum] = "ffdd80ce8ce993de27e9f063a444a4d53ce8e8db4c1f00cc03af5ad5a9867a1e"
297SRC_URI[difflib-0.4.0.sha256sum] = "6184e33543162437515c2e2b48714794e37845ec9851711914eec9d308f6ebe8"
298SRC_URI[digest-0.10.7.sha256sum] = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
299SRC_URI[dirs-next-2.0.0.sha256sum] = "b98cf8ebf19c3d1b223e151f99a4f9f0690dca41414773390fc824184ac833e1"
300SRC_URI[dirs-sys-next-0.1.2.sha256sum] = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d"
301SRC_URI[displaydoc-0.2.5.sha256sum] = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0"
302SRC_URI[doc-comment-0.3.3.sha256sum] = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10"
303SRC_URI[dsa-0.6.3.sha256sum] = "48bc224a9084ad760195584ce5abb3c2c34a225fa312a128ad245a6b412b7689"
304SRC_URI[dyn-clone-1.0.17.sha256sum] = "0d6ef0072f8a535281e4876be788938b528e9a1d43900b82c2569af7da799125"
305SRC_URI[eax-0.5.0.sha256sum] = "9954fabd903b82b9d7a68f65f97dc96dd9ad368e40ccc907a7c19d53e6bfac28"
306SRC_URI[ecb-0.1.2.sha256sum] = "1a8bfa975b1aec2145850fcaa1c6fe269a16578c44705a532ae3edc92b8881c7"
307SRC_URI[ecdsa-0.16.9.sha256sum] = "ee27f32b5c5292967d2d4a9d7f1e0b0aed2c15daded5a60300e4abb9d8020bca"
308SRC_URI[ed25519-2.2.3.sha256sum] = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53"
309SRC_URI[ed25519-dalek-2.1.1.sha256sum] = "4a3daa8e81a3963a60642bcc1f90a670680bd4a77535faa384e9d1c79d620871"
310SRC_URI[either-1.13.0.sha256sum] = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0"
311SRC_URI[elliptic-curve-0.13.8.sha256sum] = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47"
312SRC_URI[ena-0.14.3.sha256sum] = "3d248bdd43ce613d87415282f69b9bb99d947d290b10962dd6c56233312c2ad5"
313SRC_URI[equivalent-1.0.1.sha256sum] = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5"
314SRC_URI[errno-0.3.9.sha256sum] = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba"
315SRC_URI[fastrand-2.1.0.sha256sum] = "9fc0510504f03c51ada170672ac806f1f105a88aa97a5281117e1ddc3368e51a"
316SRC_URI[ff-0.13.0.sha256sum] = "ded41244b729663b1e574f1b4fb731469f69f79c17667b5d776b16cda0479449"
317SRC_URI[fiat-crypto-0.2.9.sha256sum] = "28dea519a9695b9977216879a3ebfddf92f1c08c05d984f8996aecd6ecdc811d"
318SRC_URI[fixedbitset-0.4.2.sha256sum] = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80"
319SRC_URI[foreign-types-0.3.2.sha256sum] = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1"
320SRC_URI[foreign-types-shared-0.1.1.sha256sum] = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
321SRC_URI[generic-array-0.14.7.sha256sum] = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
322SRC_URI[generic-array-1.1.0.sha256sum] = "96512db27971c2c3eece70a1e106fbe6c87760234e31e8f7e5634912fe52794a"
323SRC_URI[getrandom-0.2.15.sha256sum] = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7"
324SRC_URI[ghash-0.5.1.sha256sum] = "f0d8a4362ccb29cb0b265253fb0a2728f592895ee6854fd9bc13f2ffda266ff1"
325SRC_URI[glob-0.3.1.sha256sum] = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
326SRC_URI[group-0.13.0.sha256sum] = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63"
327SRC_URI[hashbrown-0.14.5.sha256sum] = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
328SRC_URI[hkdf-0.12.4.sha256sum] = "7b5f8eb2ad728638ea2c7d47a21db23b7b58a72ed6a38256b8a1849f15fbbdf7"
329SRC_URI[hmac-0.12.1.sha256sum] = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e"
330SRC_URI[iana-time-zone-0.1.60.sha256sum] = "e7ffbb5a1b541ea2561f8c41c087286cc091e21e556a4f09a8f6cbf17b69b141"
331SRC_URI[iana-time-zone-haiku-0.1.2.sha256sum] = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f"
332SRC_URI[icu_collections-1.5.0.sha256sum] = "db2fa452206ebee18c4b5c2274dbf1de17008e874b4dc4f0aea9d01ca79e4526"
333SRC_URI[icu_locid-1.5.0.sha256sum] = "13acbb8371917fc971be86fc8057c41a64b521c184808a698c02acc242dbf637"
334SRC_URI[icu_locid_transform-1.5.0.sha256sum] = "01d11ac35de8e40fdeda00d9e1e9d92525f3f9d887cdd7aa81d727596788b54e"
335SRC_URI[icu_locid_transform_data-1.5.0.sha256sum] = "fdc8ff3388f852bede6b579ad4e978ab004f139284d7b28715f773507b946f6e"
336SRC_URI[icu_normalizer-1.5.0.sha256sum] = "19ce3e0da2ec68599d193c93d088142efd7f9c5d6fc9b803774855747dc6a84f"
337SRC_URI[icu_normalizer_data-1.5.0.sha256sum] = "f8cafbf7aa791e9b22bec55a167906f9e1215fd475cd22adfcf660e03e989516"
338SRC_URI[icu_properties-1.5.1.sha256sum] = "93d6020766cfc6302c15dbbc9c8778c37e62c14427cb7f6e601d849e092aeef5"
339SRC_URI[icu_properties_data-1.5.0.sha256sum] = "67a8effbc3dd3e4ba1afa8ad918d5684b8868b3b26500753effea8d2eed19569"
340SRC_URI[icu_provider-1.5.0.sha256sum] = "6ed421c8a8ef78d3e2dbc98a973be2f3770cb42b606e3ab18d6237c4dfde68d9"
341SRC_URI[icu_provider_macros-1.5.0.sha256sum] = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6"
342SRC_URI[idea-0.5.1.sha256sum] = "075557004419d7f2031b8bb7f44bb43e55a83ca7b63076a8fb8fe75753836477"
343SRC_URI[idna-1.0.2.sha256sum] = "bd69211b9b519e98303c015e21a007e293db403b6c85b9b124e133d25e242cdd"
344SRC_URI[indexmap-2.2.6.sha256sum] = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26"
345SRC_URI[inout-0.1.3.sha256sum] = "a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5"
346SRC_URI[itertools-0.11.0.sha256sum] = "b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57"
347SRC_URI[js-sys-0.3.69.sha256sum] = "29c15563dc2726973df627357ce0c9ddddbea194836909d655df6a75d2cf296d"
348SRC_URI[lalrpop-0.20.2.sha256sum] = "55cb077ad656299f160924eb2912aa147d7339ea7d69e1b5517326fdcec3c1ca"
349SRC_URI[lalrpop-util-0.20.2.sha256sum] = "507460a910eb7b32ee961886ff48539633b788a36b65692b95f225b844c82553"
350SRC_URI[lazy_static-1.5.0.sha256sum] = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
351SRC_URI[lazycell-1.3.0.sha256sum] = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
352SRC_URI[libc-0.2.155.sha256sum] = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c"
353SRC_URI[libloading-0.8.4.sha256sum] = "e310b3a6b5907f99202fcdb4960ff45b93735d7c7d96b760fcff8db2dc0e103d"
354SRC_URI[libm-0.2.8.sha256sum] = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058"
355SRC_URI[libredox-0.1.3.sha256sum] = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d"
356SRC_URI[linux-raw-sys-0.4.14.sha256sum] = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89"
357SRC_URI[litemap-0.7.3.sha256sum] = "643cb0b8d4fcc284004d5fd0d67ccf61dfffadb7f75e1e71bc420f4688a3a704"
358SRC_URI[lock_api-0.4.12.sha256sum] = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17"
359SRC_URI[log-0.4.22.sha256sum] = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"
360SRC_URI[md-5-0.10.6.sha256sum] = "d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf"
361SRC_URI[memchr-2.7.4.sha256sum] = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
362SRC_URI[memsec-0.7.0.sha256sum] = "c797b9d6bb23aab2fc369c65f871be49214f5c759af65bde26ffaaa2b646b492"
363SRC_URI[minimal-lexical-0.2.1.sha256sum] = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
364SRC_URI[nettle-7.4.0.sha256sum] = "44e6ff4a94e5d34a1fd5abbd39418074646e2fa51b257198701330f22fcd6936"
365SRC_URI[nettle-sys-2.3.0.sha256sum] = "b495053a10a19a80e3a26bf1212e92e29350797b5f5bdc58268c3f3f818e66ec"
366SRC_URI[new_debug_unreachable-1.0.6.sha256sum] = "650eef8c711430f1a879fdd01d4745a7deea475becfb90269c06775983bbf086"
367SRC_URI[nom-7.1.3.sha256sum] = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
368SRC_URI[num-bigint-dig-0.8.4.sha256sum] = "dc84195820f291c7697304f3cbdadd1cb7199c0efc917ff5eafd71225c136151"
369SRC_URI[num-integer-0.1.46.sha256sum] = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f"
370SRC_URI[num-iter-0.1.45.sha256sum] = "1429034a0490724d0075ebb2bc9e875d6503c3cf69e235a8941aa757d83ef5bf"
371SRC_URI[num-traits-0.2.19.sha256sum] = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
372SRC_URI[once_cell-1.19.0.sha256sum] = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
373SRC_URI[opaque-debug-0.3.1.sha256sum] = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381"
374SRC_URI[openssl-0.10.64.sha256sum] = "95a0481286a310808298130d22dd1fef0fa571e05a8f44ec801801e84b216b1f"
375SRC_URI[openssl-macros-0.1.1.sha256sum] = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c"
376SRC_URI[openssl-sys-0.9.102.sha256sum] = "c597637d56fbc83893a35eb0dd04b2b8e7a50c91e64e9493e398b5df4fb45fa2"
377SRC_URI[p256-0.13.2.sha256sum] = "c9863ad85fa8f4460f9c48cb909d38a0d689dba1f6f6988a5e3e0d31071bcd4b"
378SRC_URI[p384-0.13.0.sha256sum] = "70786f51bcc69f6a4c0360e063a4cac5419ef7c5cd5b3c99ad70f3be5ba79209"
379SRC_URI[p521-0.13.3.sha256sum] = "0fc9e2161f1f215afdfce23677034ae137bbd45016a880c2eb3ba8eb95f085b2"
380SRC_URI[parking_lot-0.12.3.sha256sum] = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27"
381SRC_URI[parking_lot_core-0.9.10.sha256sum] = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8"
382SRC_URI[peeking_take_while-0.1.2.sha256sum] = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099"
383SRC_URI[pem-rfc7468-0.7.0.sha256sum] = "88b39c9bfcfc231068454382784bb460aae594343fb030d46e9f50a645418412"
384SRC_URI[petgraph-0.6.5.sha256sum] = "b4c5cc86750666a3ed20bdaf5ca2a0344f9c67674cae0515bec2da16fbaa47db"
385SRC_URI[phf_shared-0.10.0.sha256sum] = "b6796ad771acdc0123d2a88dc428b5e38ef24456743ddb1744ed628f9815c096"
386SRC_URI[pkcs1-0.7.5.sha256sum] = "c8ffb9f10fa047879315e6625af03c164b16962a5368d724ed16323b68ace47f"
387SRC_URI[pkcs8-0.10.2.sha256sum] = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7"
388SRC_URI[pkg-config-0.3.30.sha256sum] = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec"
389SRC_URI[polyval-0.6.2.sha256sum] = "9d1fe60d06143b2430aa532c94cfe9e29783047f06c0d7fd359a9a51b729fa25"
390SRC_URI[ppv-lite86-0.2.17.sha256sum] = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"
391SRC_URI[precomputed-hash-0.1.1.sha256sum] = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c"
392SRC_URI[predicates-3.1.0.sha256sum] = "68b87bfd4605926cdfefc1c3b5f8fe560e3feca9d5552cf68c466d3d8236c7e8"
393SRC_URI[predicates-core-1.0.6.sha256sum] = "b794032607612e7abeb4db69adb4e33590fa6cf1149e95fd7cb00e634b92f174"
394SRC_URI[predicates-tree-1.0.9.sha256sum] = "368ba315fb8c5052ab692e68a0eefec6ec57b23a36959c14496f0b0df2c0cecf"
395SRC_URI[primeorder-0.13.6.sha256sum] = "353e1ca18966c16d9deb1c69278edbc5f194139612772bd9537af60ac231e1e6"
396SRC_URI[proc-macro2-1.0.86.sha256sum] = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77"
397SRC_URI[quote-1.0.36.sha256sum] = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7"
398SRC_URI[rand-0.8.5.sha256sum] = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
399SRC_URI[rand_chacha-0.3.1.sha256sum] = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
400SRC_URI[rand_core-0.6.4.sha256sum] = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
401SRC_URI[redox_syscall-0.5.2.sha256sum] = "c82cf8cff14456045f55ec4241383baeff27af886adb72ffb2162f99911de0fd"
402SRC_URI[redox_users-0.4.5.sha256sum] = "bd283d9651eeda4b2a83a43c1c91b266c40fd76ecd39a50a8c630ae69dc72891"
403SRC_URI[regex-1.10.5.sha256sum] = "b91213439dad192326a0d7c6ee3955910425f441d7038e0d6933b0aec5c4517f"
404SRC_URI[regex-automata-0.4.7.sha256sum] = "38caf58cc5ef2fed281f89292ef23f6365465ed9a41b7a7754eb4e26496c92df"
405SRC_URI[regex-syntax-0.8.4.sha256sum] = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b"
406SRC_URI[rfc6979-0.4.0.sha256sum] = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2"
407SRC_URI[ripemd-0.1.3.sha256sum] = "bd124222d17ad93a644ed9d011a40f4fb64aa54275c08cc216524a9ea82fb09f"
408SRC_URI[rsa-0.9.6.sha256sum] = "5d0e5124fcb30e76a7e79bfee683a2746db83784b86289f6251b54b7950a0dfc"
409SRC_URI[rustc-hash-1.1.0.sha256sum] = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
410SRC_URI[rustc_version-0.4.0.sha256sum] = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366"
411SRC_URI[rustix-0.38.34.sha256sum] = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f"
412SRC_URI[rustversion-1.0.17.sha256sum] = "955d28af4278de8121b7ebeb796b6a45735dc01436d898801014aced2773a3d6"
413SRC_URI[same-file-1.0.6.sha256sum] = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
414SRC_URI[scopeguard-1.2.0.sha256sum] = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
415SRC_URI[sec1-0.7.3.sha256sum] = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc"
416SRC_URI[semver-1.0.23.sha256sum] = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b"
417SRC_URI[sequoia-openpgp-1.21.1.sha256sum] = "b870b0275eeae174058fcf0ce5affccaaafeb7eceeabce8d6c7f51fbe6a41e2a"
418SRC_URI[sequoia-policy-config-0.6.0.sha256sum] = "757d45d308f2bd9c0d6fdd640f320998ad24856bdf2890ddd28d3c3b85808274"
419SRC_URI[serde-1.0.204.sha256sum] = "bc76f558e0cbb2a839d37354c575f1dc3fdc6546b5be373ba43d95f231bf7c12"
420SRC_URI[serde_derive-1.0.204.sha256sum] = "e0cd7e117be63d3c3678776753929474f3b04a43a080c744d6b0ae2a8c28e222"
421SRC_URI[sha1collisiondetection-0.3.4.sha256sum] = "1f606421e4a6012877e893c399822a4ed4b089164c5969424e1b9d1e66e6964b"
422SRC_URI[sha2-0.10.8.sha256sum] = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8"
423SRC_URI[shlex-1.3.0.sha256sum] = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
424SRC_URI[signature-2.2.0.sha256sum] = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de"
425SRC_URI[siphasher-0.3.11.sha256sum] = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d"
426SRC_URI[smallvec-1.13.2.sha256sum] = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
427SRC_URI[spin-0.9.8.sha256sum] = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67"
428SRC_URI[spki-0.7.3.sha256sum] = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d"
429SRC_URI[stable_deref_trait-1.2.0.sha256sum] = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
430SRC_URI[string_cache-0.8.7.sha256sum] = "f91138e76242f575eb1d3b38b4f1362f10d3a43f47d182a5b359af488a02293b"
431SRC_URI[subtle-2.6.1.sha256sum] = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"
432SRC_URI[syn-2.0.70.sha256sum] = "2f0209b68b3613b093e0ec905354eccaedcfe83b8cb37cbdeae64026c3064c16"
433SRC_URI[synstructure-0.13.1.sha256sum] = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971"
434SRC_URI[tempfile-3.10.1.sha256sum] = "85b77fafb263dd9d05cbeac119526425676db3784113aa9295c88498cbf8bff1"
435SRC_URI[term-0.7.0.sha256sum] = "c59df8ac95d96ff9bede18eb7300b0fda5e5d8d90960e76f8e14ae765eedbf1f"
436SRC_URI[termtree-0.4.1.sha256sum] = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76"
437SRC_URI[thiserror-1.0.61.sha256sum] = "c546c80d6be4bc6a00c0f01730c08df82eaa7a7a61f11d656526506112cc1709"
438SRC_URI[thiserror-impl-1.0.61.sha256sum] = "46c3384250002a6d5af4d114f2845d37b57521033f30d5c3f46c4d70e1197533"
439SRC_URI[tiny-keccak-2.0.2.sha256sum] = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237"
440SRC_URI[tinystr-0.7.6.sha256sum] = "9117f5d4db391c1cf6927e7bea3db74b9a1c1add8f7eda9ffd5364f40f57b82f"
441SRC_URI[toml-0.5.11.sha256sum] = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234"
442SRC_URI[twofish-0.7.1.sha256sum] = "a78e83a30223c757c3947cd144a31014ff04298d8719ae10d03c31c0448c8013"
443SRC_URI[typenum-1.17.0.sha256sum] = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825"
444SRC_URI[unicode-ident-1.0.12.sha256sum] = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
445SRC_URI[unicode-xid-0.2.4.sha256sum] = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c"
446SRC_URI[universal-hash-0.5.1.sha256sum] = "fc1de2c688dc15305988b563c3854064043356019f97a4b46276fe734c4f07ea"
447SRC_URI[utf16_iter-1.0.5.sha256sum] = "c8232dd3cdaed5356e0f716d285e4b40b932ac434100fe9b7e0e8e935b9e6246"
448SRC_URI[utf8_iter-1.0.4.sha256sum] = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
449SRC_URI[vcpkg-0.2.15.sha256sum] = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
450SRC_URI[version_check-0.9.4.sha256sum] = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"
451SRC_URI[wait-timeout-0.2.0.sha256sum] = "9f200f5b12eb75f8c1ed65abd4b2db8a6e1b138a20de009dacee265a2498f3f6"
452SRC_URI[walkdir-2.5.0.sha256sum] = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b"
453SRC_URI[wasi-0.11.0+wasi-snapshot-preview1.sha256sum] = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
454SRC_URI[wasm-bindgen-0.2.92.sha256sum] = "4be2531df63900aeb2bca0daaaddec08491ee64ceecbee5076636a3b026795a8"
455SRC_URI[wasm-bindgen-backend-0.2.92.sha256sum] = "614d787b966d3989fa7bb98a654e369c762374fd3213d212cfc0251257e747da"
456SRC_URI[wasm-bindgen-macro-0.2.92.sha256sum] = "a1f8823de937b71b9460c0c34e25f3da88250760bec0ebac694b49997550d726"
457SRC_URI[wasm-bindgen-macro-support-0.2.92.sha256sum] = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7"
458SRC_URI[wasm-bindgen-shared-0.2.92.sha256sum] = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96"
459SRC_URI[win-crypto-ng-0.5.1.sha256sum] = "99abfb435a71e54ab2971d8d8c32f1a7e006cdbf527f71743b1d45b93517bb92"
460SRC_URI[winapi-0.3.9.sha256sum] = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
461SRC_URI[winapi-i686-pc-windows-gnu-0.4.0.sha256sum] = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
462SRC_URI[winapi-util-0.1.8.sha256sum] = "4d4cc384e1e73b93bafa6fb4f1df8c41695c8a91cf9c4c64358067d15a7b6c6b"
463SRC_URI[winapi-x86_64-pc-windows-gnu-0.4.0.sha256sum] = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
464SRC_URI[windows-core-0.52.0.sha256sum] = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9"
465SRC_URI[windows-sys-0.52.0.sha256sum] = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
466SRC_URI[windows-targets-0.52.6.sha256sum] = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
467SRC_URI[windows_aarch64_gnullvm-0.52.6.sha256sum] = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
468SRC_URI[windows_aarch64_msvc-0.52.6.sha256sum] = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
469SRC_URI[windows_i686_gnu-0.52.6.sha256sum] = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
470SRC_URI[windows_i686_gnullvm-0.52.6.sha256sum] = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
471SRC_URI[windows_i686_msvc-0.52.6.sha256sum] = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
472SRC_URI[windows_x86_64_gnu-0.52.6.sha256sum] = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
473SRC_URI[windows_x86_64_gnullvm-0.52.6.sha256sum] = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
474SRC_URI[windows_x86_64_msvc-0.52.6.sha256sum] = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
475SRC_URI[write16-1.0.0.sha256sum] = "d1890f4022759daae28ed4fe62859b1236caebfc61ede2f63ed4e695f3f6d936"
476SRC_URI[writeable-0.5.5.sha256sum] = "1e9df38ee2d2c3c5948ea468a8406ff0db0b29ae1ffde1bcf20ef305bcc95c51"
477SRC_URI[x25519-dalek-2.0.1.sha256sum] = "c7e468321c81fb07fa7f4c636c3972b9100f0346e5b6a9f2bd0603a52f7ed277"
478SRC_URI[xxhash-rust-0.8.11.sha256sum] = "63658493314859b4dfdf3fb8c1defd61587839def09582db50b8a4e93afca6bb"
479SRC_URI[yoke-0.7.4.sha256sum] = "6c5b1314b079b0930c31e3af543d8ee1757b1951ae1e1565ec704403a7240ca5"
480SRC_URI[yoke-derive-0.7.4.sha256sum] = "28cc31741b18cb6f1d5ff12f5b7523e3d6eb0852bbbad19d73905511d9849b95"
481SRC_URI[zerofrom-0.1.4.sha256sum] = "91ec111ce797d0e0784a1116d0ddcdbea84322cd79e5d5ad173daeba4f93ab55"
482SRC_URI[zerofrom-derive-0.1.4.sha256sum] = "0ea7b4a3637ea8669cedf0f1fd5c286a17f3de97b8dd5a70a6c167a1730e63a5"
483SRC_URI[zeroize-1.8.1.sha256sum] = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde"
484SRC_URI[zeroize_derive-1.4.2.sha256sum] = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69"
485SRC_URI[zerovec-0.10.4.sha256sum] = "aa2b893d79df23bfb12d5461018d408ea19dfafe76c2c7ef6d4eba614f8ff079"
486SRC_URI[zerovec-derive-0.10.3.sha256sum] = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6"
diff --git a/meta/recipes-devtools/rpm-sequoia/rpm-sequoia-crypto-policy/0001-libreswan-Allow-skipping-test_config-for-old-ipsec.patch b/meta/recipes-devtools/rpm-sequoia/rpm-sequoia-crypto-policy/0001-libreswan-Allow-skipping-test_config-for-old-ipsec.patch
new file mode 100644
index 0000000000..db3ea4b843
--- /dev/null
+++ b/meta/recipes-devtools/rpm-sequoia/rpm-sequoia-crypto-policy/0001-libreswan-Allow-skipping-test_config-for-old-ipsec.patch
@@ -0,0 +1,29 @@
1From f7a8e2c049c2c3e2bfcb801d7b65214c0a5bad77 Mon Sep 17 00:00:00 2001
2From: Yoann Congal <yoann.congal@smile.fr>
3Date: Tue, 15 Apr 2025 17:27:20 +0200
4Subject: [PATCH] libreswan: Allow skipping test_config for old ipsec
5
6In some case, /usr/sbin/ipsec does not handle the readwriteconf command.
7e.g. on Debian 12 with strongswan installed.
8As with the other OLD_* variables, add an OLD_LIBRESWAN environment
9variable to skip configuration testing on those systems.
10
11Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
12Upstream-Status: Backport [https://gitlab.com/redhat-crypto/fedora-crypto-policies/-/merge_requests/237]
13---
14 python/policygenerators/libreswan.py | 2 ++
15 1 file changed, 2 insertions(+)
16
17diff --git a/python/policygenerators/libreswan.py b/python/policygenerators/libreswan.py
18index a2b02f5..d81ec0c 100644
19--- a/python/policygenerators/libreswan.py
20+++ b/python/policygenerators/libreswan.py
21@@ -227,6 +227,8 @@ class LibreswanGenerator(ConfigGenerator):
22
23 @classmethod
24 def test_config(cls, config):
25+ if os.getenv('OLD_LIBRESWAN') == '1':
26+ return True
27 if not os.access('/usr/sbin/ipsec', os.X_OK):
28 return True
29
diff --git a/meta/recipes-devtools/rpm-sequoia/rpm-sequoia-crypto-policy_git.bb b/meta/recipes-devtools/rpm-sequoia/rpm-sequoia-crypto-policy_git.bb
new file mode 100644
index 0000000000..658b9ab36a
--- /dev/null
+++ b/meta/recipes-devtools/rpm-sequoia/rpm-sequoia-crypto-policy_git.bb
@@ -0,0 +1,40 @@
1SUMMARY = "Crypto policy for rpm-sequoia"
2HOMEPAGE = "https://gitlab.com/redhat-crypto/fedora-crypto-policies/"
3
4LICENSE = "LGPL-2.1-or-later"
5
6LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=a6f89e2100d9b6cdffcea4f398e37343"
7
8# Python 3.11+ is needed to build fedora-crypto-policies
9inherit allarch python3native
10
11SRC_URI = " \
12 git://gitlab.com/redhat-crypto/fedora-crypto-policies.git;protocol=https;branch=master \
13 file://0001-libreswan-Allow-skipping-test_config-for-old-ipsec.patch \
14"
15
16SRCREV = "032b418a6db842f0eab330eb5909e4604e888728"
17UPSTREAM_CHECK_COMMITS = "1"
18
19do_compile () {
20 # Remove most policy variants, leave DEFAULT.pol
21 # It speeds up the build and we only need DEFAULT/rpm-sequoia.
22 rm -f $(ls -1 policies/*.pol | grep -v DEFAULT.pol) || echo nothing to delete
23
24 # Don't validate openssh, gnutls and libreswan policy variants.
25 # Validation may fail and these variants are not needed.
26 export OLD_OPENSSH=1
27 export OLD_GNUTLS=1
28 export OLD_LIBRESWAN=1
29
30 make ASCIIDOC=echo XSLTPROC=echo
31}
32
33do_install () {
34 install -d -m755 ${D}${datadir}/crypto-policies/back-ends
35 install -m644 ${S}/output/DEFAULT/rpm-sequoia.txt ${D}${datadir}/crypto-policies/back-ends/rpm-sequoia.config
36}
37
38FILES:${PN} = "${datadir}/crypto-policies/back-ends/*"
39
40BBCLASSEXTEND = "native"
diff --git a/meta/recipes-devtools/rpm-sequoia/rpm-sequoia_1.7.0.bb b/meta/recipes-devtools/rpm-sequoia/rpm-sequoia_1.7.0.bb
new file mode 100644
index 0000000000..17d5a747ff
--- /dev/null
+++ b/meta/recipes-devtools/rpm-sequoia/rpm-sequoia_1.7.0.bb
@@ -0,0 +1,79 @@
1SUMMARY = "An OpenPGP backend for rpm using Sequoia PGP"
2HOMEPAGE = "https://sequoia-pgp.org/"
3
4# The license line is taken verbatim from Fedora's specfile
5# with formatting differences for Yocto. (AND -> &, OR -> |)
6# https://src.fedoraproject.org/rpms/rust-rpm-sequoia/blob/rawhide/f/rust-rpm-sequoia.spec
7LICENSE = "LGPL-2.0-or-later & Apache-2.0 & BSL-1.0 & MIT & Unicode-DFS-2016 & (Apache-2.0 | MIT) & (MIT | Apache-2.0 | Zlib) & (Unlicense | MIT)"
8
9LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f0ff5ff7747cf7d394079c6ae87f5f0c"
10
11DEPENDS = "openssl"
12
13inherit pkgconfig rust cargo cargo-update-recipe-crates ptest-cargo
14
15SRC_URI = "git://github.com/rpm-software-management/rpm-sequoia.git;protocol=https;branch=main \
16 file://0001-Use-optional-env-vars-to-force-runtime-paths-in-test.patch \
17"
18
19SRCREV = "0667e04ae7fb8cf0490919978d69883d16400e41"
20
21require ${BPN}-crates.inc
22
23CARGO_BUILD_FLAGS += "--no-default-features --features crypto-openssl"
24CARGO_INSTALL_LIBRARIES = "1"
25
26do_compile:prepend () {
27 # rpm-sequoia.pc is generated in the source directory
28 # but the target directory does not exist there.
29 mkdir -p ${S}/target/release
30
31 # From rpm-sequoia's README.md:
32 #
33 # We also set two environment variables when calling `cargo build`:
34 # * `PREFIX` is the prefix that will be used in the generated
35 # `rpm-sequoia.pc` file. It defaults to `/usr/local`.
36 # * `LIBDIR` is the installed library path listed in the generated
37 # metadata. It can be an absolute path or one based on `${prefix}`,
38 # and defaults to `${prefix}/lib`.
39
40 export PREFIX="${prefix}"
41 export LIBDIR="${libdir}"
42}
43
44# By default, ptest binaries contain host build dir paths.
45# Use custom environment variables to force these paths to match the target instead.
46do_compile_ptest_cargo:prepend() {
47 os.environ["FORCE_RUNTIME_PATH_LIB"] = d.getVar("libdir")
48 os.environ["FORCE_RUNTIME_PATH_SRC"] = d.getVar("PTEST_PATH")
49}
50
51do_install:append () {
52 # Move the library to the correct location expected by rpm-sequoia.pc
53 mkdir -p ${D}${libdir}
54 mv ${D}${rustlibdir}/librpm_sequoia.so ${D}${libdir}/librpm_sequoia.so.1
55 ln -s librpm_sequoia.so.1 ${D}${libdir}/librpm_sequoia.so
56
57 rmdir -p --ignore-fail-on-non-empty ${D}${rustlibdir}
58
59 # rpm-sequoia does not install its pkgconfig file. Do it manually.
60 mkdir -p ${D}${libdir}/pkgconfig
61 install -m644 ${S}/target/release/rpm-sequoia.pc ${D}${libdir}/pkgconfig
62}
63
64do_install_ptest:append () {
65 install -d ${D}${PTEST_PATH}/src
66 install -m 644 ${S}/src/symbols.txt ${D}${PTEST_PATH}/src/symbols.txt
67}
68
69# Tests need objdump
70# ptest requires a symlinked library that is only present in the -dev package,
71# so we add the -dev to runtime dependencies.
72# The "dev-deps" QA check is skipped to avoid warnings about this dev package dependency.
73RDEPENDS:${PN}-ptest += "binutils ${PN}-dev"
74INSANE_SKIP:${PN}-ptest += "dev-deps"
75
76RDEPENDS:${PN} = "rpm-sequoia-crypto-policy"
77PACKAGE_WRITE_DEPS += "rpm-sequoia-crypto-policy-native"
78
79BBCLASSEXTEND = "native"
diff --git a/meta/recipes-devtools/rpm/files/0001-Add-a-color-setting-for-mips64_n32-binaries.patch b/meta/recipes-devtools/rpm/files/0001-Add-a-color-setting-for-mips64_n32-binaries.patch
index 25aa69d7da..769d7b3409 100644
--- a/meta/recipes-devtools/rpm/files/0001-Add-a-color-setting-for-mips64_n32-binaries.patch
+++ b/meta/recipes-devtools/rpm/files/0001-Add-a-color-setting-for-mips64_n32-binaries.patch
@@ -1,4 +1,4 @@
1From f4cf90b5a298d6a3199e8b4c07f520aaf593ce2b Mon Sep 17 00:00:00 2001 1From 38e38437e83ed961dc1fa6d5b534bbdaae5b535e Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Thu, 9 Mar 2017 18:54:02 +0200 3Date: Thu, 9 Mar 2017 18:54:02 +0200
4Subject: [PATCH] Add a color setting for mips64_n32 binaries 4Subject: [PATCH] Add a color setting for mips64_n32 binaries
@@ -11,10 +11,10 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
11 2 files changed, 6 insertions(+) 11 2 files changed, 6 insertions(+)
12 12
13diff --git a/build/rpmfc.c b/build/rpmfc.c 13diff --git a/build/rpmfc.c b/build/rpmfc.c
14index 4b67a9bae..ed7e4e623 100644 14index 86dd36d14..df421a23f 100644
15--- a/build/rpmfc.c 15--- a/build/rpmfc.c
16+++ b/build/rpmfc.c 16+++ b/build/rpmfc.c
17@@ -660,6 +660,7 @@ exit: 17@@ -716,6 +716,7 @@ static int rpmfcHelper(rpmfc fc, int *fnx, int nfn, const char *proto,
18 static const struct rpmfcTokens_s rpmfcTokens[] = { 18 static const struct rpmfcTokens_s rpmfcTokens[] = {
19 { "directory", RPMFC_INCLUDE }, 19 { "directory", RPMFC_INCLUDE },
20 20
@@ -22,8 +22,8 @@ index 4b67a9bae..ed7e4e623 100644
22 { "ELF 32-bit", RPMFC_ELF32|RPMFC_INCLUDE }, 22 { "ELF 32-bit", RPMFC_ELF32|RPMFC_INCLUDE },
23 { "ELF 64-bit", RPMFC_ELF64|RPMFC_INCLUDE }, 23 { "ELF 64-bit", RPMFC_ELF64|RPMFC_INCLUDE },
24 24
25@@ -1158,6 +1159,9 @@ static uint32_t getElfColor(const char *fn) 25@@ -1258,6 +1259,9 @@ static uint32_t getElfColor(const char *fn)
26 color = RPMFC_ELF32; 26 color = 0;
27 break; 27 break;
28 } 28 }
29+ if (ehdr.e_machine == EM_MIPS || ehdr.e_machine == EM_MIPS_RS3_LE) 29+ if (ehdr.e_machine == EM_MIPS || ehdr.e_machine == EM_MIPS_RS3_LE)
diff --git a/meta/recipes-devtools/rpm/files/0001-CMakeLists.txt-Fix-checking-for-CFLAGS.patch b/meta/recipes-devtools/rpm/files/0001-CMakeLists.txt-Fix-checking-for-CFLAGS.patch
new file mode 100644
index 0000000000..412e1c146d
--- /dev/null
+++ b/meta/recipes-devtools/rpm/files/0001-CMakeLists.txt-Fix-checking-for-CFLAGS.patch
@@ -0,0 +1,46 @@
1From e14502834fe6a9c6c9a439401ac3d2c8fd979267 Mon Sep 17 00:00:00 2001
2From: Robert Yang <liezhi.yang@windriver.com>
3Date: Sun, 8 Jun 2025 00:36:38 -0700
4Subject: [PATCH] CMakeLists.txt: Improve checking for CFLAGS
5
6The previous log wasn't clear:
7-- Performing Test found
8-- Performing Test found - Success
9-- Performing Test found
10-- Performing Test found - Success
11-- Performing Test found
12-- Performing Test found - Failed
13
14Use a new var compiler-supports${flag} will make it more clear:
15-- Performing Test compiler-supports-fno-strict-overflow
16-- Performing Test compiler-supports-fno-strict-overflow - Success
17-- Performing Test compiler-supports-fno-delete-null-pointer-checks
18-- Performing Test compiler-supports-fno-delete-null-pointer-checks - Success
19-- Performing Test compiler-supports-fhardened
20-- Performing Test compiler-supports-fhardened - Failed
21
22Upstream-Status: Backport [https://github.com/rpm-software-management/rpm/commit/e14502834fe6a9c6c9a439401ac3d2c8fd979267]
23
24Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
25---
26 CMakeLists.txt | 5 ++---
27 1 file changed, 2 insertions(+), 3 deletions(-)
28
29diff --git a/CMakeLists.txt b/CMakeLists.txt
30index 08e3e5274..f275c396b 100644
31--- a/CMakeLists.txt
32+++ b/CMakeLists.txt
33@@ -416,11 +416,10 @@ endif()
34
35 # try to ensure some compiler sanity and hardening options where supported
36 foreach (flag -fno-strict-overflow -fno-delete-null-pointer-checks -fhardened)
37- check_c_compiler_flag(${flag} found)
38- if (found)
39+ check_c_compiler_flag(${flag} compiler-supports${flag})
40+ if (compiler-supports${flag})
41 add_compile_options(${flag})
42 endif()
43- unset(found)
44 endforeach()
45
46 # generated sources
diff --git a/meta/recipes-devtools/rpm/files/0001-CMakeLists.txt-look-for-lua-with-pkg-config-rather-t.patch b/meta/recipes-devtools/rpm/files/0001-CMakeLists.txt-look-for-lua-with-pkg-config-rather-t.patch
index e4edc884b1..83552dd5c2 100644
--- a/meta/recipes-devtools/rpm/files/0001-CMakeLists.txt-look-for-lua-with-pkg-config-rather-t.patch
+++ b/meta/recipes-devtools/rpm/files/0001-CMakeLists.txt-look-for-lua-with-pkg-config-rather-t.patch
@@ -1,4 +1,4 @@
1From c39a074ff3c4d21c100d387661c7d725b5eae7b0 Mon Sep 17 00:00:00 2001 1From 99d02b8e8ce2c93c10a7924cd7571b76b0f45eb1 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de> 2From: Alexander Kanavin <alex@linutronix.de>
3Date: Wed, 29 Nov 2023 14:06:15 +0100 3Date: Wed, 29 Nov 2023 14:06:15 +0100
4Subject: [PATCH] CMakeLists.txt: look for lua with pkg-config rather than 4Subject: [PATCH] CMakeLists.txt: look for lua with pkg-config rather than
@@ -13,15 +13,15 @@ Signed-off-by: Alexander Kanavin <alex@linutronix.de>
13 1 file changed, 1 insertion(+), 1 deletion(-) 13 1 file changed, 1 insertion(+), 1 deletion(-)
14 14
15diff --git a/CMakeLists.txt b/CMakeLists.txt 15diff --git a/CMakeLists.txt b/CMakeLists.txt
16index 4a383ceba..ed847c09a 100644 16index 9a3aba071..08dabffd3 100644
17--- a/CMakeLists.txt 17--- a/CMakeLists.txt
18+++ b/CMakeLists.txt 18+++ b/CMakeLists.txt
19@@ -190,7 +190,7 @@ set(REQFUNCS 19@@ -196,7 +196,7 @@ set(REQFUNCS
20 ) 20 )
21 21
22 find_package(PkgConfig REQUIRED) 22 find_package(PkgConfig REQUIRED)
23-find_package(Lua 5.2 REQUIRED) 23-find_package(Lua 5.2 REQUIRED)
24+pkg_check_modules(LUA REQUIRED IMPORTED_TARGET lua>=5.2) 24+pkg_check_modules(LUA REQUIRED IMPORTED_TARGET lua>=5.2)
25 find_package(ZLIB REQUIRED) 25 find_package(ZLIB REQUIRED)
26 find_package(BZip2) 26 if (WITH_BZIP2)
27 find_package(Iconv) 27 find_package(BZip2 REQUIRED)
diff --git a/meta/recipes-devtools/rpm/files/0001-CMakeLists.txt-set-libdir-to-CMAKE_INSTALL_FULL_LIBD.patch b/meta/recipes-devtools/rpm/files/0001-CMakeLists.txt-set-libdir-to-CMAKE_INSTALL_FULL_LIBD.patch
new file mode 100644
index 0000000000..7db643871f
--- /dev/null
+++ b/meta/recipes-devtools/rpm/files/0001-CMakeLists.txt-set-libdir-to-CMAKE_INSTALL_FULL_LIBD.patch
@@ -0,0 +1,50 @@
1From cb5355da9b47166253dbe5ab3215e433b55068d1 Mon Sep 17 00:00:00 2001
2From: Yi Zhao <yi.zhao@windriver.com>
3Date: Fri, 26 Jul 2024 17:18:30 +0800
4Subject: [PATCH] CMakeLists.txt: set libdir to ${CMAKE_INSTALL_FULL_LIBDIR} in
5 macros
6
7There is a patch in oe-core[1] to avoid hardcoded paths in macros. It
8tries to use libdir to expand %_libdir in macros.in. However, in
9upstream commit[2], libdir for macros in CMakeLists.txt is set to
10${prefix}/=LIB=, which causes %_libdir to expand to ${prefix}/=LIB=
11instead of the correct path in the final macros.
12
13On target:
14$ rpm --showrc | grep _libdir
15[snip]
16-13: _libdir ${prefix}/=LIB=
17[snip]
18
19This also causes %__pkgconfig_path in fileattrs/pkgconfig.attr to become
20an invalid regular expression when building rpm packages. This results a
21warning in log.do_package_write_rpm in all packages:
22
23Warning: Ignoring invalid regular expression ^((${prefix}/=LIB=|usr/share)/pkgconfig/.*.pc|usr/bin/pkg-config)$
24
25Set libdir to ${CMAKE_INSTALL_FULL_LIBDIR} instead of ${prefix}/=LIB= to
26make sure it is expanded to the correct path in macros.
27
28[1] https://git.openembedded.org/openembedded-core/tree/meta/recipes-devtools/rpm/files/0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch
29[2] https://github.com/rpm-software-management/rpm/commit/d2abb7a48760418aacd7f17c8b64e39c25ca50c9
30
31Upstream-Status: Inappropriate [oe specific]
32
33Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
34---
35 CMakeLists.txt | 2 +-
36 1 file changed, 1 insertion(+), 1 deletion(-)
37
38diff --git a/CMakeLists.txt b/CMakeLists.txt
39index 08dabffd3..1b7661139 100644
40--- a/CMakeLists.txt
41+++ b/CMakeLists.txt
42@@ -96,7 +96,7 @@ function(makemacros)
43 set(sysconfdir "${CMAKE_INSTALL_FULL_SYSCONFDIR}")
44 set(sharedstatedir "${CMAKE_INSTALL_FULL_SHAREDSTATEDIR}")
45 set(localstatedir "${CMAKE_INSTALL_FULL_LOCALSTATEDIR}")
46- set(libdir "\${prefix}/=LIB=")
47+ set(libdir "${CMAKE_INSTALL_FULL_LIBDIR}")
48 set(includedir "\${prefix}/${CMAKE_INSTALL_INCLUDEDIR}")
49 set(oldincludedir "${CMAKE_INSTALL_FULL_OLDINCLUDEDIR}")
50 set(infodir "\${prefix}/${CMAKE_INSTALL_INFODIR}")
diff --git a/meta/recipes-devtools/rpm/files/0001-Do-not-add-an-unsatisfiable-dependency-when-building.patch b/meta/recipes-devtools/rpm/files/0001-Do-not-add-an-unsatisfiable-dependency-when-building.patch
index d0ed711086..96a5e14999 100644
--- a/meta/recipes-devtools/rpm/files/0001-Do-not-add-an-unsatisfiable-dependency-when-building.patch
+++ b/meta/recipes-devtools/rpm/files/0001-Do-not-add-an-unsatisfiable-dependency-when-building.patch
@@ -1,4 +1,4 @@
1From 86e585cc0dd06dfa20f584af8b59d52a59accb45 Mon Sep 17 00:00:00 2001 1From dc40261464de1a1799704967906f5bd113b53793 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Mon, 9 Jan 2017 18:52:11 +0200 3Date: Mon, 9 Jan 2017 18:52:11 +0200
4Subject: [PATCH] Do not add an unsatisfiable dependency when building rpms in 4Subject: [PATCH] Do not add an unsatisfiable dependency when building rpms in
@@ -14,10 +14,10 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
14 1 file changed, 4 deletions(-) 14 1 file changed, 4 deletions(-)
15 15
16diff --git a/build/pack.c b/build/pack.c 16diff --git a/build/pack.c b/build/pack.c
17index f7dac6d9a..f382c7da0 100644 17index eb9c7b3f1..fb1f1bed8 100644
18--- a/build/pack.c 18--- a/build/pack.c
19+++ b/build/pack.c 19+++ b/build/pack.c
20@@ -711,10 +711,6 @@ static rpmRC packageBinary(rpmSpec spec, Package pkg, const char *cookie, int ch 20@@ -712,10 +712,6 @@ static rpmRC packageBinary(rpmSpec spec, Package pkg, const char *cookie, int ch
21 headerPutBin(pkg->header, RPMTAG_SOURCEPKGID, spec->sourcePkgId,16); 21 headerPutBin(pkg->header, RPMTAG_SOURCEPKGID, spec->sourcePkgId,16);
22 } 22 }
23 23
diff --git a/meta/recipes-devtools/rpm/files/0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch b/meta/recipes-devtools/rpm/files/0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch
index b571a0ae8c..6a44f4f22d 100644
--- a/meta/recipes-devtools/rpm/files/0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch
+++ b/meta/recipes-devtools/rpm/files/0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch
@@ -1,4 +1,4 @@
1From 73d6841d9ef2a8ac7bd63f9645a3efe8038dfdd4 Mon Sep 17 00:00:00 2001 1From 651310691a8a41ab3a766545c53b69e6e0c4f88d Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Mon, 27 Feb 2017 09:43:30 +0200 3Date: Mon, 27 Feb 2017 09:43:30 +0200
4Subject: [PATCH] Do not hardcode "lib/rpm" as the installation path for 4Subject: [PATCH] Do not hardcode "lib/rpm" as the installation path for
@@ -12,24 +12,24 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
12 2 files changed, 2 insertions(+), 2 deletions(-) 12 2 files changed, 2 insertions(+), 2 deletions(-)
13 13
14diff --git a/CMakeLists.txt b/CMakeLists.txt 14diff --git a/CMakeLists.txt b/CMakeLists.txt
15index 7808115c1..4a383ceba 100644 15index de0b578a6..9a3aba071 100644
16--- a/CMakeLists.txt 16--- a/CMakeLists.txt
17+++ b/CMakeLists.txt 17+++ b/CMakeLists.txt
18@@ -33,7 +33,7 @@ option(WITH_IMAEVM "Build with IMA support" OFF) 18@@ -41,7 +41,7 @@ option(WITH_LIBELF "Build with libelf support" ON)
19 option(WITH_FAPOLICYD "Build with fapolicyd support" ON) 19 option(WITH_LIBLZMA "Build with liblzma support" ON)
20 option(WITH_READLINE "Build with readline support" ON) 20 option(WITH_DOXYGEN "Build API docs with doxygen" OFF)
21 21
22-set(RPM_CONFIGDIR "${CMAKE_INSTALL_PREFIX}/lib/rpm" CACHE PATH "rpm home") 22-set(RPM_CONFIGDIR "${CMAKE_INSTALL_PREFIX}/lib/rpm" CACHE PATH "rpm home")
23+set(RPM_CONFIGDIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/rpm" CACHE PATH "rpm home") 23+set(RPM_CONFIGDIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/rpm" CACHE PATH "rpm home")
24 set(RPM_MACROSDIR "${RPM_CONFIGDIR}/macros.d")
24 set(RPM_VENDOR "vendor" CACHE STRING "rpm vendor string") 25 set(RPM_VENDOR "vendor" CACHE STRING "rpm vendor string")
25 26
26 # Emulate libtool versioning. Before a public release:
27diff --git a/macros.in b/macros.in 27diff --git a/macros.in b/macros.in
28index b49ffaad4..3acbe78f6 100644 28index 4d3e8afdc..66e31320f 100644
29--- a/macros.in 29--- a/macros.in
30+++ b/macros.in 30+++ b/macros.in
31@@ -969,7 +969,7 @@ Supplements: (%{name} = %{version}-%{release} and langpacks-%{1})\ 31@@ -964,7 +964,7 @@ Supplements: (%{name} = %{version}-%{release} and langpacks-%{1})\
32 %_sharedstatedir %{_prefix}/com 32 %_sharedstatedir %{_var}/lib
33 %_localstatedir %{_prefix}/var 33 %_localstatedir %{_prefix}/var
34 %_lib lib 34 %_lib lib
35-%_libdir %{_exec_prefix}/%{_lib} 35-%_libdir %{_exec_prefix}/%{_lib}
diff --git a/meta/recipes-devtools/rpm/files/0001-Do-not-read-config-files-from-HOME.patch b/meta/recipes-devtools/rpm/files/0001-Do-not-read-config-files-from-HOME.patch
index 796088df53..bfc9a74b6c 100644
--- a/meta/recipes-devtools/rpm/files/0001-Do-not-read-config-files-from-HOME.patch
+++ b/meta/recipes-devtools/rpm/files/0001-Do-not-read-config-files-from-HOME.patch
@@ -1,4 +1,4 @@
1From e210458d125793915abce30420d866a30305c37a Mon Sep 17 00:00:00 2001 1From 874679725c443e5d73e3a33d1158ab25442c8a5f Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Tue, 10 Jan 2017 14:11:30 +0200 3Date: Tue, 10 Jan 2017 14:11:30 +0200
4Subject: [PATCH] Do not read config files from $HOME 4Subject: [PATCH] Do not read config files from $HOME
@@ -10,26 +10,26 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
10 1 file changed, 2 insertions(+), 4 deletions(-) 10 1 file changed, 2 insertions(+), 4 deletions(-)
11 11
12diff --git a/lib/rpmrc.c b/lib/rpmrc.c 12diff --git a/lib/rpmrc.c b/lib/rpmrc.c
13index 9437a0ff1..483585ae4 100644 13index 5d778b8b7..dc8d42aeb 100644
14--- a/lib/rpmrc.c 14--- a/lib/rpmrc.c
15+++ b/lib/rpmrc.c 15+++ b/lib/rpmrc.c
16@@ -459,8 +459,7 @@ static void setDefaults(void) 16@@ -485,8 +485,7 @@ static void setDefaults(void)
17 if (!defrcfiles) { 17 if (!defrcfiles) {
18 defrcfiles = rstrscat(NULL, confdir, "/rpmrc", ":", 18 defrcfiles = rstrscat(NULL, confdir, "/rpmrc", ":",
19 confdir, "/" RPM_VENDOR "/rpmrc", ":", 19 confdir, "/" RPM_VENDOR "/rpmrc", ":",
20- SYSCONFDIR "/rpmrc", ":", 20- SYSCONFDIR "/rpmrc", ":",
21- "~/.rpmrc", NULL); 21- userrc, NULL);
22+ SYSCONFDIR "/rpmrc", NULL); 22+ SYSCONFDIR "/rpmrc", NULL);
23 } 23 }
24 24
25 #ifndef MACROFILES 25 /* macrofiles may be pre-set from --macros */
26@@ -472,8 +471,7 @@ static void setDefaults(void) 26@@ -498,8 +497,7 @@ static void setDefaults(void)
27 confdir, "/" RPM_VENDOR "/macros", ":", 27 confdir, "/" RPM_VENDOR "/macros", ":",
28 SYSCONFDIR "/rpm/macros.*", ":", 28 SYSCONFDIR "/rpm/macros.*", ":",
29 SYSCONFDIR "/rpm/macros", ":", 29 SYSCONFDIR "/rpm/macros", ":",
30- SYSCONFDIR "/rpm/%{_target}/macros", ":", 30- SYSCONFDIR "/rpm/%{_target}/macros", ":",
31- "~/.rpmmacros", NULL); 31- usermacros, NULL);
32+ SYSCONFDIR "/rpm/%{_target}/macros", NULL); 32+ SYSCONFDIR "/rpm/%{_target}/macros", NULL);
33 } 33 }
34 #else 34
35 macrofiles = MACROFILES; 35 free(usermacros);
diff --git a/meta/recipes-devtools/rpm/files/0001-Do-not-reset-the-PATH-environment-variable-before-ru.patch b/meta/recipes-devtools/rpm/files/0001-Do-not-reset-the-PATH-environment-variable-before-ru.patch
index 328fbf86ac..d3263896ef 100644
--- a/meta/recipes-devtools/rpm/files/0001-Do-not-reset-the-PATH-environment-variable-before-ru.patch
+++ b/meta/recipes-devtools/rpm/files/0001-Do-not-reset-the-PATH-environment-variable-before-ru.patch
@@ -1,4 +1,4 @@
1From a8fe7a7a2e41c9f127ed26407d57076babcb89e8 Mon Sep 17 00:00:00 2001 1From 4cf76bb57d3480420e734da99a5c839ac3a9976a Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Fri, 20 Jan 2017 13:32:06 +0200 3Date: Fri, 20 Jan 2017 13:32:06 +0200
4Subject: [PATCH] Do not reset the PATH environment variable before running 4Subject: [PATCH] Do not reset the PATH environment variable before running
@@ -13,10 +13,10 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
13 1 file changed, 1 insertion(+), 1 deletion(-) 13 1 file changed, 1 insertion(+), 1 deletion(-)
14 14
15diff --git a/lib/rpmscript.c b/lib/rpmscript.c 15diff --git a/lib/rpmscript.c b/lib/rpmscript.c
16index 57689bb68..7b7e26606 100644 16index 060fd8124..4dc6466a8 100644
17--- a/lib/rpmscript.c 17--- a/lib/rpmscript.c
18+++ b/lib/rpmscript.c 18+++ b/lib/rpmscript.c
19@@ -252,7 +252,7 @@ static void doScriptExec(ARGV_const_t argv, ARGV_const_t prefixes, 19@@ -251,7 +251,7 @@ static void doScriptExec(ARGV_const_t argv, ARGV_const_t prefixes,
20 if (ipath && ipath[5] != '%') 20 if (ipath && ipath[5] != '%')
21 path = ipath; 21 path = ipath;
22 22
diff --git a/meta/recipes-devtools/rpm/files/0001-When-cross-installing-execute-package-scriptlets-wit.patch b/meta/recipes-devtools/rpm/files/0001-When-cross-installing-execute-package-scriptlets-wit.patch
index e4251a1a73..b71156fe12 100644
--- a/meta/recipes-devtools/rpm/files/0001-When-cross-installing-execute-package-scriptlets-wit.patch
+++ b/meta/recipes-devtools/rpm/files/0001-When-cross-installing-execute-package-scriptlets-wit.patch
@@ -1,4 +1,4 @@
1From 34c0d3263f3e0b366a2320e0823f46673f7ba928 Mon Sep 17 00:00:00 2001 1From 3603cf181b69ab1e0077dcd8a124e669dcb9dd9c Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Tue, 17 Jan 2017 14:07:17 +0200 3Date: Tue, 17 Jan 2017 14:07:17 +0200
4Subject: [PATCH] When cross-installing, execute package scriptlets without 4Subject: [PATCH] When cross-installing, execute package scriptlets without
@@ -24,15 +24,18 @@ Amended 2018-07-03 by Olof Johansson <olofjn@axis.com>:
24 24
25Upstream-Status: Inappropriate [oe-core specific] 25Upstream-Status: Inappropriate [oe-core specific]
26Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 26Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
27
28Rebased to 4.20.1
29Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
27--- 30---
28 lib/rpmscript.c | 11 ++++++++--- 31 lib/rpmscript.c | 9 +++++++--
29 1 file changed, 8 insertions(+), 3 deletions(-) 32 1 file changed, 7 insertions(+), 2 deletions(-)
30 33
31diff --git a/lib/rpmscript.c b/lib/rpmscript.c 34diff --git a/lib/rpmscript.c b/lib/rpmscript.c
32index 3f6313278..57689bb68 100644 35index eb14870b3..1785e8f30 100644
33--- a/lib/rpmscript.c 36--- a/lib/rpmscript.c
34+++ b/lib/rpmscript.c 37+++ b/lib/rpmscript.c
35@@ -448,8 +448,7 @@ exit: 38@@ -456,8 +456,7 @@ exit:
36 Fclose(out); /* XXX dup'd STDOUT_FILENO */ 39 Fclose(out); /* XXX dup'd STDOUT_FILENO */
37 40
38 if (fn) { 41 if (fn) {
@@ -42,18 +45,17 @@ index 3f6313278..57689bb68 100644
42 free(fn); 45 free(fn);
43 } 46 }
44 free(mline); 47 free(mline);
45@@ -483,7 +482,13 @@ rpmRC rpmScriptRun(rpmScript script, int arg1, int arg2, FD_t scriptFd, 48@@ -491,7 +490,13 @@ rpmRC rpmScriptRun(rpmScript script, int arg1, int arg2, FD_t scriptFd,
46 49
47 if (rc != RPMRC_FAIL) { 50 if (rc != RPMRC_FAIL) {
48 if (script_type & RPMSCRIPTLET_EXEC) { 51 if (script_type & RPMSCRIPTLET_EXEC) {
49- rc = runExtScript(plugins, prefixes, script->descr, lvl, scriptFd, &args, script->body, arg1, arg2, script->nextFileFunc);
50+ if (getenv("RPM_NO_CHROOT_FOR_SCRIPTS") != NULL) { 52+ if (getenv("RPM_NO_CHROOT_FOR_SCRIPTS") != NULL) {
51+ rpmChrootOut(); 53+ rpmChrootOut();
52+ rc = runExtScript(plugins, prefixes, script->descr, lvl, scriptFd, &args, script->body, arg1, arg2, script->nextFileFunc); 54 rc = runExtScript(plugins, prefixes, script, lvl, scriptFd, &args, arg1, arg2);
53+ rpmChrootIn(); 55+ rpmChrootIn();
54+ } else { 56+ } else {
55+ rc = runExtScript(plugins, prefixes, script->descr, lvl, scriptFd, &args, script->body, arg1, arg2, script->nextFileFunc); 57+ rc = runExtScript(plugins, prefixes, script, lvl, scriptFd, &args, arg1, arg2);
56+ } 58+ }
57 } else { 59 } else {
58 rc = runLuaScript(plugins, prefixes, script->descr, lvl, scriptFd, &args, script->body, arg1, arg2, script->nextFileFunc); 60 rc = runLuaScript(plugins, prefixes, script, lvl, scriptFd, &args, arg1, arg2);
59 } 61 }
diff --git a/meta/recipes-devtools/rpm/files/0001-build-pack.c-do-not-insert-payloadflags-into-.rpm-me.patch b/meta/recipes-devtools/rpm/files/0001-build-pack.c-do-not-insert-payloadflags-into-.rpm-me.patch
index 2f6397aa8a..0c29e5543a 100644
--- a/meta/recipes-devtools/rpm/files/0001-build-pack.c-do-not-insert-payloadflags-into-.rpm-me.patch
+++ b/meta/recipes-devtools/rpm/files/0001-build-pack.c-do-not-insert-payloadflags-into-.rpm-me.patch
@@ -1,4 +1,4 @@
1From ae4fdd8e8d052835973e6ff4b7550f93bde30a98 Mon Sep 17 00:00:00 2001 1From e688eb54fd54d65181e94b854b3568d99cbf3a24 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de> 2From: Alexander Kanavin <alex@linutronix.de>
3Date: Tue, 31 Aug 2021 10:37:05 +0200 3Date: Tue, 31 Aug 2021 10:37:05 +0200
4Subject: [PATCH] build/pack.c: do not insert payloadflags into .rpm metadata 4Subject: [PATCH] build/pack.c: do not insert payloadflags into .rpm metadata
@@ -14,7 +14,7 @@ Signed-off-by: Alexander Kanavin <alex@linutronix.de>
14 1 file changed, 1 insertion(+), 1 deletion(-) 14 1 file changed, 1 insertion(+), 1 deletion(-)
15 15
16diff --git a/build/pack.c b/build/pack.c 16diff --git a/build/pack.c b/build/pack.c
17index f382c7da0..0889dd993 100644 17index fb1f1bed8..45885a6ac 100644
18--- a/build/pack.c 18--- a/build/pack.c
19+++ b/build/pack.c 19+++ b/build/pack.c
20@@ -330,7 +330,7 @@ static char *getIOFlags(Package pkg) 20@@ -330,7 +330,7 @@ static char *getIOFlags(Package pkg)
diff --git a/meta/recipes-devtools/rpm/files/0001-lib-transaction.c-fix-file-conflicts-for-MIPS64-N32.patch b/meta/recipes-devtools/rpm/files/0001-lib-transaction.c-fix-file-conflicts-for-MIPS64-N32.patch
index 98e52da3a8..7d443ccc6c 100644
--- a/meta/recipes-devtools/rpm/files/0001-lib-transaction.c-fix-file-conflicts-for-MIPS64-N32.patch
+++ b/meta/recipes-devtools/rpm/files/0001-lib-transaction.c-fix-file-conflicts-for-MIPS64-N32.patch
@@ -1,4 +1,4 @@
1From b04ecb793a3c859985eead5e261785b27a4c4a20 Mon Sep 17 00:00:00 2001 1From ad530868e37f09e9236c085d25a834304750704b Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com> 2From: Changqing Li <changqing.li@windriver.com>
3Date: Thu, 7 May 2020 17:40:58 +0800 3Date: Thu, 7 May 2020 17:40:58 +0800
4Subject: [PATCH] lib/transaction.c: fix file conflicts for MIPS64 N32 4Subject: [PATCH] lib/transaction.c: fix file conflicts for MIPS64 N32
@@ -32,7 +32,7 @@ Signed-off-by: Changqing Li <changqing.li@windriver.com>
32 1 file changed, 12 insertions(+), 1 deletion(-) 32 1 file changed, 12 insertions(+), 1 deletion(-)
33 33
34diff --git a/lib/transaction.c b/lib/transaction.c 34diff --git a/lib/transaction.c b/lib/transaction.c
35index 70d2587ac..b89b30060 100644 35index 5e4414d2a..b1c55bd44 100644
36--- a/lib/transaction.c 36--- a/lib/transaction.c
37+++ b/lib/transaction.c 37+++ b/lib/transaction.c
38@@ -400,7 +400,18 @@ static int handleColorConflict(rpmts ts, 38@@ -400,7 +400,18 @@ static int handleColorConflict(rpmts ts,
diff --git a/meta/recipes-devtools/rpm/files/0001-perl-disable-auto-reqs.patch b/meta/recipes-devtools/rpm/files/0001-perl-disable-auto-reqs.patch
deleted file mode 100644
index 55108e7f1c..0000000000
--- a/meta/recipes-devtools/rpm/files/0001-perl-disable-auto-reqs.patch
+++ /dev/null
@@ -1,39 +0,0 @@
1From 58bf006646a063837c46b695f7e7ebb69bee7238 Mon Sep 17 00:00:00 2001
2From: Mark Hatle <mark.hatle@windriver.com>
3Date: Tue, 15 Aug 2017 16:41:57 -0500
4Subject: [PATCH] perl: disable auto requires
5
6When generating automatic requirements, it's possible for perl scripts to
7declare 'optional' dependencies. These seem to often be incorrect and will
8cause installation failures in OE. Instead of fixing the perl scripts, it
9was decided it is better to simply disable the automatic dependency
10generation. This matches the behavior from the previous RPM5 implementation.
11
12Upstream-Status: Inappropriate [OE specific configuration]
13
14Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
15---
16 fileattrs/perl.attr | 2 +-
17 fileattrs/perllib.attr | 2 +-
18 2 files changed, 2 insertions(+), 2 deletions(-)
19
20diff --git a/fileattrs/perl.attr b/fileattrs/perl.attr
21index 0daef58d5..81ddf5305 100644
22--- a/fileattrs/perl.attr
23+++ b/fileattrs/perl.attr
24@@ -1,3 +1,3 @@
25-%__perl_requires %{_rpmconfigdir}/perl.req
26+#__perl_requires %{_rpmconfigdir}/perl.req
27 %__perl_magic ^.*[Pp]erl .*$
28 %__perl_flags exeonly
29diff --git a/fileattrs/perllib.attr b/fileattrs/perllib.attr
30index fcad48099..495a28927 100644
31--- a/fileattrs/perllib.attr
32+++ b/fileattrs/perllib.attr
33@@ -1,5 +1,5 @@
34 %__perllib_provides %{_rpmconfigdir}/perl.prov
35-%__perllib_requires %{_rpmconfigdir}/perl.req
36+#__perllib_requires %{_rpmconfigdir}/perl.req
37 %__perllib_magic ^Perl[[:digit:]] module source.*
38 %__perllib_path \\.pm$
39 %__perllib_flags magic_and_path
diff --git a/meta/recipes-devtools/rpm/files/0002-Add-support-for-prefixing-etc-from-RPM_ETCCONFIGDIR-.patch b/meta/recipes-devtools/rpm/files/0002-Add-support-for-prefixing-etc-from-RPM_ETCCONFIGDIR-.patch
index c5caa7dc5e..082fb343c2 100644
--- a/meta/recipes-devtools/rpm/files/0002-Add-support-for-prefixing-etc-from-RPM_ETCCONFIGDIR-.patch
+++ b/meta/recipes-devtools/rpm/files/0002-Add-support-for-prefixing-etc-from-RPM_ETCCONFIGDIR-.patch
@@ -1,4 +1,4 @@
1From d7143dc4e75c8bcc5cc4c852a4b972942b7e4d07 Mon Sep 17 00:00:00 2001 1From 7cc1c8cfcc620dec284204be0ae4416fd9fed95d Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Fri, 20 Jan 2017 13:33:05 +0200 3Date: Fri, 20 Jan 2017 13:33:05 +0200
4Subject: [PATCH] Add support for prefixing /etc from RPM_ETCCONFIGDIR 4Subject: [PATCH] Add support for prefixing /etc from RPM_ETCCONFIGDIR
@@ -10,21 +10,21 @@ from target rootfs instead of its own native sysroot.
10Upstream-Status: Inappropriate [oe-core specific] 10Upstream-Status: Inappropriate [oe-core specific]
11Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 11Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
12--- 12---
13 lib/rpmrc.c | 19 ++++++++++++++----- 13 lib/rpmrc.c | 18 +++++++++++++-----
14 1 file changed, 14 insertions(+), 5 deletions(-) 14 1 file changed, 13 insertions(+), 5 deletions(-)
15 15
16diff --git a/lib/rpmrc.c b/lib/rpmrc.c 16diff --git a/lib/rpmrc.c b/lib/rpmrc.c
17index 483585ae4..ea858c290 100644 17index dc8d42aeb..3f2996850 100644
18--- a/lib/rpmrc.c 18--- a/lib/rpmrc.c
19+++ b/lib/rpmrc.c 19+++ b/lib/rpmrc.c
20@@ -456,10 +456,14 @@ const char * lookupInDefaultTable(const char * name, 20@@ -481,11 +481,14 @@ static void setDefaults(void)
21 static void setDefaults(void) 21 userrc = xstrdup(oldrc);
22 { 22 }
23 const char *confdir = rpmConfigDir(); 23 }
24+ const char *etcconfdir = getenv("RPM_ETCCONFIGDIR"); 24+ const char *etcconfdir = getenv("RPM_ETCCONFIGDIR");
25+ if (etcconfdir == NULL) 25+ if (etcconfdir == NULL)
26+ etcconfdir = ""; 26+ etcconfdir = "";
27+ 27
28 if (!defrcfiles) { 28 if (!defrcfiles) {
29 defrcfiles = rstrscat(NULL, confdir, "/rpmrc", ":", 29 defrcfiles = rstrscat(NULL, confdir, "/rpmrc", ":",
30 confdir, "/" RPM_VENDOR "/rpmrc", ":", 30 confdir, "/" RPM_VENDOR "/rpmrc", ":",
@@ -32,11 +32,11 @@ index 483585ae4..ea858c290 100644
32+ etcconfdir, SYSCONFDIR "/rpmrc", NULL); 32+ etcconfdir, SYSCONFDIR "/rpmrc", NULL);
33 } 33 }
34 34
35 #ifndef MACROFILES 35 /* macrofiles may be pre-set from --macros */
36@@ -469,9 +473,9 @@ static void setDefaults(void) 36@@ -495,9 +498,9 @@ static void setDefaults(void)
37 confdir, "/platform/%{_target}/macros", ":", 37 confdir, "/platform/%{_target}/macros", ":",
38 confdir, "/fileattrs/*.attr", ":", 38 confdir, "/fileattrs/*.attr", ":",
39 confdir, "/" RPM_VENDOR "/macros", ":", 39 confdir, "/" RPM_VENDOR "/macros", ":",
40- SYSCONFDIR "/rpm/macros.*", ":", 40- SYSCONFDIR "/rpm/macros.*", ":",
41- SYSCONFDIR "/rpm/macros", ":", 41- SYSCONFDIR "/rpm/macros", ":",
42- SYSCONFDIR "/rpm/%{_target}/macros", NULL); 42- SYSCONFDIR "/rpm/%{_target}/macros", NULL);
@@ -44,9 +44,9 @@ index 483585ae4..ea858c290 100644
44+ etcconfdir, SYSCONFDIR "/rpm/macros", ":", 44+ etcconfdir, SYSCONFDIR "/rpm/macros", ":",
45+ etcconfdir, SYSCONFDIR "/rpm/%{_target}/macros", NULL); 45+ etcconfdir, SYSCONFDIR "/rpm/%{_target}/macros", NULL);
46 } 46 }
47 #else 47
48 macrofiles = MACROFILES; 48 free(usermacros);
49@@ -1115,7 +1119,11 @@ static void read_auxv(void) 49@@ -1142,7 +1145,11 @@ static void read_auxv(void)
50 */ 50 */
51 static void defaultMachine(rpmrcCtx ctx, const char ** arch, const char ** os) 51 static void defaultMachine(rpmrcCtx ctx, const char ** arch, const char ** os)
52 { 52 {
@@ -59,7 +59,7 @@ index 483585ae4..ea858c290 100644
59 static struct utsname un; 59 static struct utsname un;
60 char * chptr; 60 char * chptr;
61 canonEntry canon; 61 canonEntry canon;
62@@ -1435,6 +1443,7 @@ static void defaultMachine(rpmrcCtx ctx, const char ** arch, const char ** os) 62@@ -1462,6 +1469,7 @@ static void defaultMachine(rpmrcCtx ctx, const char ** arch, const char ** os)
63 63
64 if (arch) *arch = un.machine; 64 if (arch) *arch = un.machine;
65 if (os) *os = un.sysname; 65 if (os) *os = un.sysname;
diff --git a/meta/recipes-devtools/rpm/files/0002-rpmio-rpmglob.c-avoid-using-GLOB_BRACE-if-undefined-.patch b/meta/recipes-devtools/rpm/files/0002-rpmio-rpmglob.c-avoid-using-GLOB_BRACE-if-undefined-.patch
index 23dce30086..00fe19108e 100644
--- a/meta/recipes-devtools/rpm/files/0002-rpmio-rpmglob.c-avoid-using-GLOB_BRACE-if-undefined-.patch
+++ b/meta/recipes-devtools/rpm/files/0002-rpmio-rpmglob.c-avoid-using-GLOB_BRACE-if-undefined-.patch
@@ -1,4 +1,4 @@
1From 29c2a0c18b0c773128bf62c611b4c53fe4471105 Mon Sep 17 00:00:00 2001 1From d8972ff7fa0a30e199144ba135223bf561874e01 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de> 2From: Alexander Kanavin <alex@linutronix.de>
3Date: Tue, 16 Jan 2024 09:59:26 +0100 3Date: Tue, 16 Jan 2024 09:59:26 +0100
4Subject: [PATCH] rpmio/rpmglob.c: avoid using GLOB_BRACE if undefined by C 4Subject: [PATCH] rpmio/rpmglob.c: avoid using GLOB_BRACE if undefined by C
@@ -16,7 +16,7 @@ Signed-off-by: Alexander Kanavin <alex@linutronix.de>
16 1 file changed, 6 insertions(+) 16 1 file changed, 6 insertions(+)
17 17
18diff --git a/rpmio/rpmglob.c b/rpmio/rpmglob.c 18diff --git a/rpmio/rpmglob.c b/rpmio/rpmglob.c
19index 243568766..43c27074a 100644 19index eb439cad8..1eef0b851 100644
20--- a/rpmio/rpmglob.c 20--- a/rpmio/rpmglob.c
21+++ b/rpmio/rpmglob.c 21+++ b/rpmio/rpmglob.c
22@@ -33,6 +33,12 @@ 22@@ -33,6 +33,12 @@
diff --git a/meta/recipes-devtools/rpm/files/0016-rpmscript.c-change-logging-level-around-scriptlets-t.patch b/meta/recipes-devtools/rpm/files/0016-rpmscript.c-change-logging-level-around-scriptlets-t.patch
index 732202c46f..bac2d6331c 100644
--- a/meta/recipes-devtools/rpm/files/0016-rpmscript.c-change-logging-level-around-scriptlets-t.patch
+++ b/meta/recipes-devtools/rpm/files/0016-rpmscript.c-change-logging-level-around-scriptlets-t.patch
@@ -1,4 +1,4 @@
1From f01d9c24bb86bc47ad2453483518dbb25953cac7 Mon Sep 17 00:00:00 2001 1From 452b696ea3e1975ea30cf7a92678aa4b316e6300 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Thu, 10 Jan 2019 18:14:18 +0100 3Date: Thu, 10 Jan 2019 18:14:18 +0100
4Subject: [PATCH] rpmscript.c: change logging level around scriptlets to INFO 4Subject: [PATCH] rpmscript.c: change logging level around scriptlets to INFO
@@ -9,15 +9,18 @@ irrelevant noise to rootfs logs.
9 9
10Upstream-Status: Inappropriate [oe-core specific] 10Upstream-Status: Inappropriate [oe-core specific]
11Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 11Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
12
13Rebased to 4.20.1
14Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
12--- 15---
13 lib/rpmscript.c | 8 ++++---- 16 lib/rpmscript.c | 8 ++++----
14 1 file changed, 4 insertions(+), 4 deletions(-) 17 1 file changed, 4 insertions(+), 4 deletions(-)
15 18
16diff --git a/lib/rpmscript.c b/lib/rpmscript.c 19diff --git a/lib/rpmscript.c b/lib/rpmscript.c
17index 7b7e26606..1dcd23be5 100644 20index e9f288ae0..f0c628708 100644
18--- a/lib/rpmscript.c 21--- a/lib/rpmscript.c
19+++ b/lib/rpmscript.c 22+++ b/lib/rpmscript.c
20@@ -291,7 +291,7 @@ static char * writeScript(const char *cmd, const char *script) 23@@ -299,7 +299,7 @@ static char * writeScript(const char *cmd, const char *script)
21 if (Ferror(fd)) 24 if (Ferror(fd))
22 goto exit; 25 goto exit;
23 26
@@ -26,30 +29,30 @@ index 7b7e26606..1dcd23be5 100644
26 static const char set_x[] = "set -x\n"; 29 static const char set_x[] = "set -x\n";
27 /* Assume failures will be caught by the write below */ 30 /* Assume failures will be caught by the write below */
28 Fwrite(set_x, sizeof(set_x[0]), sizeof(set_x)-1, fd); 31 Fwrite(set_x, sizeof(set_x[0]), sizeof(set_x)-1, fd);
29@@ -323,7 +323,7 @@ static rpmRC runExtScript(rpmPlugins plugins, ARGV_const_t prefixes, 32@@ -330,7 +330,7 @@ static rpmRC runExtScript(rpmPlugins plugins, ARGV_const_t prefixes,
30 char *mline = NULL; 33 char *mline = NULL;
31 rpmRC rc = RPMRC_FAIL; 34 rpmRC rc = RPMRC_FAIL;
32 35
33- rpmlog(RPMLOG_DEBUG, "%s: scriptlet start\n", sname); 36- rpmlog(RPMLOG_DEBUG, "%s: scriptlet start\n", script->descr);
34+ rpmlog(RPMLOG_INFO, "%s: scriptlet start\n", sname); 37+ rpmlog(RPMLOG_INFO, "%s: scriptlet start\n", script->descr);
35 38
36 if (script) { 39 if (script->body) {
37 fn = writeScript(*argvp[0], script); 40 fn = writeScript(*argvp[0], script->body);
38@@ -375,7 +375,7 @@ static rpmRC runExtScript(rpmPlugins plugins, ARGV_const_t prefixes, 41@@ -382,7 +382,7 @@ static rpmRC runExtScript(rpmPlugins plugins, ARGV_const_t prefixes,
39 sname, strerror(errno)); 42 script->descr, strerror(errno));
40 goto exit; 43 goto exit;
41 } else if (pid == 0) {/* Child */ 44 } else if (pid == 0) {/* Child */
42- rpmlog(RPMLOG_DEBUG, "%s: execv(%s) pid %d\n", 45- rpmlog(RPMLOG_DEBUG, "%s: execv(%s) pid %d\n",
43+ rpmlog(RPMLOG_INFO, "%s: execv(%s) pid %d\n", 46+ rpmlog(RPMLOG_INFO, "%s: execv(%s) pid %d\n",
44 sname, *argvp[0], (unsigned)getpid()); 47 script->descr, *argvp[0], (unsigned)getpid());
45 48
46 fclose(in); 49 fclose(in);
47@@ -418,7 +418,7 @@ static rpmRC runExtScript(rpmPlugins plugins, ARGV_const_t prefixes, 50@@ -426,7 +426,7 @@ static rpmRC runExtScript(rpmPlugins plugins, ARGV_const_t prefixes,
48 reaped = waitpid(pid, &status, 0); 51 reaped = waitpid(pid, &status, 0);
49 } while (reaped == -1 && errno == EINTR); 52 } while (reaped == -1 && errno == EINTR);
50 53
51- rpmlog(RPMLOG_DEBUG, "%s: waitpid(%d) rc %d status %x\n", 54- rpmlog(RPMLOG_DEBUG, "%s: waitpid(%d) rc %d status %x\n",
52+ rpmlog(RPMLOG_INFO, "%s: waitpid(%d) rc %d status %x\n", 55+ rpmlog(RPMLOG_INFO, "%s: waitpid(%d) rc %d status %x\n",
53 sname, (unsigned)pid, (unsigned)reaped, status); 56 script->descr, (unsigned)pid, (unsigned)reaped, status);
54 57
55 if (reaped < 0) { 58 if (reaped < 0) {
diff --git a/meta/recipes-devtools/rpm/rpm_4.19.1.1.bb b/meta/recipes-devtools/rpm/rpm_4.20.1.bb
index 0802f26295..dc4cfd4abb 100644
--- a/meta/recipes-devtools/rpm/rpm_4.19.1.1.bb
+++ b/meta/recipes-devtools/rpm/rpm_4.20.1.bb
@@ -22,9 +22,9 @@ HOMEPAGE = "http://www.rpm.org"
22 22
23# libraries are also LGPL - how to express this? 23# libraries are also LGPL - how to express this?
24LICENSE = "GPL-2.0-only" 24LICENSE = "GPL-2.0-only"
25LIC_FILES_CHKSUM = "file://COPYING;md5=c4eec0c20c6034b9407a09945b48a43f" 25LIC_FILES_CHKSUM = "file://COPYING;md5=066ecde17828e5c8911ec9eae8be78f4"
26 26
27SRC_URI = "git://github.com/rpm-software-management/rpm;branch=rpm-4.19.x;protocol=https \ 27SRC_URI = "git://github.com/rpm-software-management/rpm;branch=rpm-4.20.x;protocol=https \
28 file://0001-Do-not-add-an-unsatisfiable-dependency-when-building.patch \ 28 file://0001-Do-not-add-an-unsatisfiable-dependency-when-building.patch \
29 file://0001-Do-not-read-config-files-from-HOME.patch \ 29 file://0001-Do-not-read-config-files-from-HOME.patch \
30 file://0001-When-cross-installing-execute-package-scriptlets-wit.patch \ 30 file://0001-When-cross-installing-execute-package-scriptlets-wit.patch \
@@ -32,18 +32,17 @@ SRC_URI = "git://github.com/rpm-software-management/rpm;branch=rpm-4.19.x;protoc
32 file://0002-Add-support-for-prefixing-etc-from-RPM_ETCCONFIGDIR-.patch \ 32 file://0002-Add-support-for-prefixing-etc-from-RPM_ETCCONFIGDIR-.patch \
33 file://0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch \ 33 file://0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch \
34 file://0001-Add-a-color-setting-for-mips64_n32-binaries.patch \ 34 file://0001-Add-a-color-setting-for-mips64_n32-binaries.patch \
35 file://0001-perl-disable-auto-reqs.patch \
36 file://0016-rpmscript.c-change-logging-level-around-scriptlets-t.patch \ 35 file://0016-rpmscript.c-change-logging-level-around-scriptlets-t.patch \
37 file://0001-lib-transaction.c-fix-file-conflicts-for-MIPS64-N32.patch \ 36 file://0001-lib-transaction.c-fix-file-conflicts-for-MIPS64-N32.patch \
38 file://0001-build-pack.c-do-not-insert-payloadflags-into-.rpm-me.patch \ 37 file://0001-build-pack.c-do-not-insert-payloadflags-into-.rpm-me.patch \
39 file://0001-CMakeLists.txt-look-for-lua-with-pkg-config-rather-t.patch \ 38 file://0001-CMakeLists.txt-look-for-lua-with-pkg-config-rather-t.patch \
40 file://0002-rpmio-rpmglob.c-avoid-using-GLOB_BRACE-if-undefined-.patch \ 39 file://0002-rpmio-rpmglob.c-avoid-using-GLOB_BRACE-if-undefined-.patch \
40 file://0001-CMakeLists.txt-set-libdir-to-CMAKE_INSTALL_FULL_LIBD.patch \
41 file://0001-CMakeLists.txt-Fix-checking-for-CFLAGS.patch \
41 " 42 "
42 43
43PE = "1" 44PE = "1"
44SRCREV = "13b4521341781293c41ac898aa9c2d2f6bc1f21d" 45SRCREV = "c8dc5ea575a2e9c1488036d12f4b75f6a5a49120"
45
46S = "${WORKDIR}/git"
47 46
48DEPENDS = "lua libgcrypt file popt xz bzip2 elfutils python3 sqlite3 zstd" 47DEPENDS = "lua libgcrypt file popt xz bzip2 elfutils python3 sqlite3 zstd"
49DEPENDS:append:class-native = " file-replacement-native bzip2-replacement-native" 48DEPENDS:append:class-native = " file-replacement-native bzip2-replacement-native"
@@ -61,16 +60,20 @@ OECMAKE_GENERATOR = "Unix Makefiles"
61 60
62BBCLASSEXTEND = "native nativesdk" 61BBCLASSEXTEND = "native nativesdk"
63 62
64PACKAGECONFIG ??= "internal-openpgp" 63# Clang results in a reproducibility issue
64# https://github.com/llvm/llvm-project/issues/82541
65TOOLCHAIN = "gcc"
66
67PACKAGECONFIG ??= "archive"
65 68
66PACKAGECONFIG[plugins] = "-DENABLE_PLUGINS=ON,-DENABLE_PLUGINS=OFF" 69PACKAGECONFIG[plugins] = "-DENABLE_PLUGINS=ON,-DENABLE_PLUGINS=OFF"
67PACKAGECONFIG[testsuite] = "-DENABLE_TESTSUITE=ON,-DENABLE_TESTSUITE=OFF" 70PACKAGECONFIG[testsuite] = "-DENABLE_TESTSUITE=ON,-DENABLE_TESTSUITE=OFF"
68 71
69# Deprecated! https://fedoraproject.org/wiki/Changes/RpmSequoia 72# has replaced openpgp support and is written in rust: https://fedoraproject.org/wiki/Changes/RpmSequoia
70PACKAGECONFIG[internal-openpgp] = "-DWITH_INTERNAL_OPENPGP=ON,-DWITH_INTERNAL_OPENPGP=OFF" 73PACKAGECONFIG[sequoia] = "-DWITH_SEQUOIA=ON,-DWITH_SEQUOIA=OFF,rpm-sequoia"
71 74
72PACKAGECONFIG[cap] = "-DWITH_CAP=ON,-DWITH_CAP=OFF" 75PACKAGECONFIG[cap] = "-DWITH_CAP=ON,-DWITH_CAP=OFF,libcap"
73PACKAGECONFIG[acl] = "-DWITH_ACL=ON,-DWITH_ACL=OFF" 76PACKAGECONFIG[acl] = "-DWITH_ACL=ON,-DWITH_ACL=OFF,acl"
74PACKAGECONFIG[archive] = "-DWITH_ARCHIVE=ON,-DWITH_ARCHIVE=OFF,libarchive" 77PACKAGECONFIG[archive] = "-DWITH_ARCHIVE=ON,-DWITH_ARCHIVE=OFF,libarchive"
75PACKAGECONFIG[selinux] = "-DWITH_SELINUX=ON,-DWITH_SELINUX=OFF,libselinux" 78PACKAGECONFIG[selinux] = "-DWITH_SELINUX=ON,-DWITH_SELINUX=OFF,libselinux"
76PACKAGECONFIG[dbus] = "-DWITH_DBUS=ON,-DWITH_DBUS=OFF" 79PACKAGECONFIG[dbus] = "-DWITH_DBUS=ON,-DWITH_DBUS=OFF"
@@ -96,9 +99,12 @@ WRAPPER_TOOLS = " \
96 ${libdir}/rpm/rpmdeps \ 99 ${libdir}/rpm/rpmdeps \
97" 100"
98 101
102base_bindir_progs = "sed tar rm mv mkdir cp cat chown chmod gzip grep"
103
99do_install:append:class-native() { 104do_install:append:class-native() {
100 for tool in ${WRAPPER_TOOLS}; do 105 for tool in ${WRAPPER_TOOLS}; do
101 test -x ${D}$tool && create_wrapper ${D}$tool \ 106 test -x ${D}$tool && create_wrapper ${D}$tool \
107 SEQUOIA_CRYPTO_POLICY=${STAGING_DATADIR_NATIVE}/crypto-policies/back-ends/rpm-sequoia.config \
102 RPM_CONFIGDIR=${STAGING_LIBDIR_NATIVE}/rpm \ 108 RPM_CONFIGDIR=${STAGING_LIBDIR_NATIVE}/rpm \
103 RPM_ETCCONFIGDIR=${STAGING_DIR_NATIVE} \ 109 RPM_ETCCONFIGDIR=${STAGING_DIR_NATIVE} \
104 MAGIC=${STAGING_DIR_NATIVE}${datadir_native}/misc/magic.mgc \ 110 MAGIC=${STAGING_DIR_NATIVE}${datadir_native}/misc/magic.mgc \
@@ -117,9 +123,15 @@ do_install:append:class-nativesdk() {
117 EOF 123 EOF
118} 124}
119 125
120# Rpm's make install creates var/tmp which clashes with base-files packaging
121do_install:append:class-target() { 126do_install:append:class-target() {
127 # Rpm's make install creates var/tmp which clashes with base-files packaging
122 rm -rf ${D}/var 128 rm -rf ${D}/var
129
130 if [ "${base_bindir}" != "${bindir}" ]; then
131 for prog in ${base_bindir_progs}; do
132 sed -i "s|^%__${prog}.*|%__${prog} ${base_bindir}/${prog}|g" ${D}${libdir}/rpm/macros
133 done
134 fi
123} 135}
124do_install:append:class-nativesdk() { 136do_install:append:class-nativesdk() {
125 rm -rf ${D}${SDKPATHNATIVE}/var 137 rm -rf ${D}${SDKPATHNATIVE}/var
diff --git a/meta/recipes-devtools/rsync/files/0001-Add-missing-prototypes-to-function-declarations.patch b/meta/recipes-devtools/rsync/files/0001-Add-missing-prototypes-to-function-declarations.patch
index 2379de84f2..3011308c61 100644
--- a/meta/recipes-devtools/rsync/files/0001-Add-missing-prototypes-to-function-declarations.patch
+++ b/meta/recipes-devtools/rsync/files/0001-Add-missing-prototypes-to-function-declarations.patch
@@ -1,4 +1,4 @@
1From 2beb35c34c45320144f37b12ef4d72fb8734280e Mon Sep 17 00:00:00 2001 1From 073caa67f2aa221de113a21f8105940421a2da90 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 29 Aug 2022 19:53:28 -0700 3Date: Mon, 29 Aug 2022 19:53:28 -0700
4Subject: [PATCH] Add missing prototypes to function declarations 4Subject: [PATCH] Add missing prototypes to function declarations
@@ -15,21 +15,19 @@ Fixes errors like
15 15
16Upstream-Status: Submitted [https://lists.samba.org/archive/rsync/2022-August/032858.html] 16Upstream-Status: Submitted [https://lists.samba.org/archive/rsync/2022-August/032858.html]
17Signed-off-by: Khem Raj <raj.khem@gmail.com> 17Signed-off-by: Khem Raj <raj.khem@gmail.com>
18Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
18--- 19---
19 checksum.c | 2 +- 20 checksum.c | 2 +-
20 exclude.c | 2 +- 21 exclude.c | 2 +-
21 hlink.c | 3 +-- 22 log.c | 2 +-
22 lib/pool_alloc.c | 2 +- 23 main.c | 2 +-
23 log.c | 2 +- 24 zlib/crc32.c | 2 +-
24 main.c | 2 +- 25 zlib/trees.c | 2 +-
25 syscall.c | 4 ++-- 26 zlib/zutil.c | 4 ++--
26 zlib/crc32.c | 2 +- 27 7 files changed, 8 insertions(+), 8 deletions(-)
27 zlib/trees.c | 2 +-
28 zlib/zutil.c | 4 ++--
29 10 files changed, 12 insertions(+), 13 deletions(-)
30 28
31diff --git a/checksum.c b/checksum.c 29diff --git a/checksum.c b/checksum.c
32index cb21882..736818b 100644 30index 66e8089..b24b202 100644
33--- a/checksum.c 31--- a/checksum.c
34+++ b/checksum.c 32+++ b/checksum.c
35@@ -779,7 +779,7 @@ static void verify_digest(struct name_num_item *nni, BOOL check_auth_list) 33@@ -779,7 +779,7 @@ static void verify_digest(struct name_num_item *nni, BOOL check_auth_list)
@@ -54,33 +52,6 @@ index 87edbcf..ae0de2f 100644
54 { 52 {
55 if (partial_string_buf) { 53 if (partial_string_buf) {
56 if (partial_string_len) 54 if (partial_string_len)
57diff --git a/hlink.c b/hlink.c
58index 20291f2..5c26a6b 100644
59--- a/hlink.c
60+++ b/hlink.c
61@@ -117,8 +117,7 @@ static void match_gnums(int32 *ndx_list, int ndx_count)
62 struct ht_int32_node *node = NULL;
63 int32 gnum, gnum_next;
64
65- qsort(ndx_list, ndx_count, sizeof ndx_list[0], (int (*)()) hlink_compare_gnum);
66-
67+ qsort(ndx_list, ndx_count, sizeof ndx_list[0], (int (*)(const void *, const void *)) hlink_compare_gnum);
68 for (from = 0; from < ndx_count; from++) {
69 file = hlink_flist->sorted[ndx_list[from]];
70 gnum = F_HL_GNUM(file);
71diff --git a/lib/pool_alloc.c b/lib/pool_alloc.c
72index a1a7245..4eae062 100644
73--- a/lib/pool_alloc.c
74+++ b/lib/pool_alloc.c
75@@ -9,7 +9,7 @@ struct alloc_pool
76 size_t size; /* extent size */
77 size_t quantum; /* allocation quantum */
78 struct pool_extent *extents; /* top extent is "live" */
79- void (*bomb)(); /* called if malloc fails */
80+ void (*bomb)(const char *, const char *, int); /* called if malloc fails */
81 int flags;
82
83 /* statistical data */
84diff --git a/log.c b/log.c 55diff --git a/log.c b/log.c
85index e4ba1cc..8482b71 100644 56index e4ba1cc..8482b71 100644
86--- a/log.c 57--- a/log.c
@@ -95,7 +66,7 @@ index e4ba1cc..8482b71 100644
95 int options = LOG_PID; 66 int options = LOG_PID;
96 67
97diff --git a/main.c b/main.c 68diff --git a/main.c b/main.c
98index 0c60b86..4bc664a 100644 69index 4f070ac..f59eaec 100644
99--- a/main.c 70--- a/main.c
100+++ b/main.c 71+++ b/main.c
101@@ -246,7 +246,7 @@ void read_del_stats(int f) 72@@ -246,7 +246,7 @@ void read_del_stats(int f)
@@ -107,22 +78,6 @@ index 0c60b86..4bc664a 100644
107 { 78 {
108 char *gname; 79 char *gname;
109 uid_t uid; 80 uid_t uid;
110diff --git a/syscall.c b/syscall.c
111index d92074a..92ca86d 100644
112--- a/syscall.c
113+++ b/syscall.c
114@@ -389,9 +389,9 @@ OFF_T do_lseek(int fd, OFF_T offset, int whence)
115 {
116 #ifdef HAVE_LSEEK64
117 #if !SIZEOF_OFF64_T
118- OFF_T lseek64();
119+ OFF_T lseek64(int fd, OFF_T offset, int whence);
120 #else
121- off64_t lseek64();
122+ off64_t lseek64(int fd, off64_t offset, int whence);
123 #endif
124 return lseek64(fd, offset, whence);
125 #else
126diff --git a/zlib/crc32.c b/zlib/crc32.c 81diff --git a/zlib/crc32.c b/zlib/crc32.c
127index 05733f4..50c6c02 100644 82index 05733f4..50c6c02 100644
128--- a/zlib/crc32.c 83--- a/zlib/crc32.c
diff --git a/meta/recipes-devtools/rsync/files/determism.patch b/meta/recipes-devtools/rsync/files/determism.patch
index e3494fdded..f915d658c8 100644
--- a/meta/recipes-devtools/rsync/files/determism.patch
+++ b/meta/recipes-devtools/rsync/files/determism.patch
@@ -1,7 +1,12 @@
1From 41b859a9df9611b7b3f6cbe28af47118d947080f Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Sun, 21 Feb 2021 09:45:48 +0000
4Subject: [PATCH] rsync: Fix a file sorting determinism issue
5
1The Makefile calls awk on a "*.c" glob. The results of this glob are sorted 6The Makefile calls awk on a "*.c" glob. The results of this glob are sorted
2but the order depends on the locale settings, particularly whether 7but the order depends on the locale settings, particularly whether
3"util.c" and "util2.c" sort before or after each other. In en_US.UTF-8 8"util.c" and "util2.c" sort before or after each other. In en_US.UTF-8
4they sort one way, in C, they sort the other. The sorting order changes 9they sort one way, in C, they sort the other. The sorting order changes
5the output binaries. The behaviour also changes dependning on whether 10the output binaries. The behaviour also changes dependning on whether
6SHELL (/bin/sh) is dash or bash. 11SHELL (/bin/sh) is dash or bash.
7 12
@@ -15,12 +20,15 @@ Upstream-Status: Backport [ish, see below]
15After discussion upstream renamed util.c to util1.c which avoids the problem 20After discussion upstream renamed util.c to util1.c which avoids the problem
16in a different way. This patch can be dropped when we upgrade to include: 21in a different way. This patch can be dropped when we upgrade to include:
17https://github.com/WayneD/rsync/commit/d3085f7add38a5cf833a0b31cb0637ff46c80f8d 22https://github.com/WayneD/rsync/commit/d3085f7add38a5cf833a0b31cb0637ff46c80f8d
23---
24 Makefile.in | 5 +++++
25 1 file changed, 5 insertions(+)
18 26
19Index: rsync-3.2.3/Makefile.in 27diff --git a/Makefile.in b/Makefile.in
20=================================================================== 28index 1d13e8c..2c5cf99 100644
21--- rsync-3.2.3.orig/Makefile.in 29--- a/Makefile.in
22+++ rsync-3.2.3/Makefile.in 30+++ b/Makefile.in
23@@ -26,6 +26,11 @@ MKDIR_P=@MKDIR_P@ 31@@ -27,6 +27,11 @@ MKDIR_P=@MKDIR_P@
24 VPATH=$(srcdir) 32 VPATH=$(srcdir)
25 SHELL=/bin/sh 33 SHELL=/bin/sh
26 34
diff --git a/meta/recipes-devtools/rsync/files/makefile-no-rebuild.patch b/meta/recipes-devtools/rsync/files/makefile-no-rebuild.patch
index 0c9ce8b8e3..42af4c55d0 100644
--- a/meta/recipes-devtools/rsync/files/makefile-no-rebuild.patch
+++ b/meta/recipes-devtools/rsync/files/makefile-no-rebuild.patch
@@ -1,4 +1,4 @@
1From f446686c26c499e15ef17d495a93cfbc20e16090 Mon Sep 17 00:00:00 2001 1From 603e5862cca832ae925d0c92a8654a57caff5910 Mon Sep 17 00:00:00 2001
2From: Ross Burton <ross.burton@intel.com> 2From: Ross Burton <ross.burton@intel.com>
3Date: Tue, 12 Apr 2016 15:51:54 +0100 3Date: Tue, 12 Apr 2016 15:51:54 +0100
4Subject: [PATCH] rsync: remove upstream's rebuild logic 4Subject: [PATCH] rsync: remove upstream's rebuild logic
@@ -13,12 +13,12 @@ Signed-off-by: Ross Burton <ross.burton@intel.com>
13 1 file changed, 54 deletions(-) 13 1 file changed, 54 deletions(-)
14 14
15diff --git a/Makefile.in b/Makefile.in 15diff --git a/Makefile.in b/Makefile.in
16index a1253e5..a084935 100644 16index 7c75c26..1d13e8c 100644
17--- a/Makefile.in 17--- a/Makefile.in
18+++ b/Makefile.in 18+++ b/Makefile.in
19@@ -192,60 +192,6 @@ gensend: gen 19@@ -184,60 +184,6 @@ conf: configure.sh config.h.in
20 fi 20 .PHONY: gen
21 rsync -aic $(GENFILES) git-version.h $${SAMBA_HOST-samba.org}:/home/ftp/pub/rsync/generated-files/ || true 21 gen: conf proto.h man git-version.h
22 22
23-aclocal.m4: $(srcdir)/m4/*.m4 23-aclocal.m4: $(srcdir)/m4/*.m4
24- aclocal -I $(srcdir)/m4 24- aclocal -I $(srcdir)/m4
diff --git a/meta/recipes-devtools/rsync/rsync_3.3.0.bb b/meta/recipes-devtools/rsync/rsync_3.4.1.bb
index a90d2887bd..2cf87d379a 100644
--- a/meta/recipes-devtools/rsync/rsync_3.3.0.bb
+++ b/meta/recipes-devtools/rsync/rsync_3.4.1.bb
@@ -16,8 +16,9 @@ SRC_URI = "https://download.samba.org/pub/${BPN}/src/${BP}.tar.gz \
16 file://determism.patch \ 16 file://determism.patch \
17 file://0001-Add-missing-prototypes-to-function-declarations.patch \ 17 file://0001-Add-missing-prototypes-to-function-declarations.patch \
18 " 18 "
19SRC_URI[sha256sum] = "7399e9a6708c32d678a72a63219e96f23be0be2336e50fd1348498d07041df90" 19SRC_URI[sha256sum] = "2924bcb3a1ed8b551fc101f740b9f0fe0a202b115027647cf69850d65fd88c52"
20 20
21# Doesn't use automake
21inherit autotools-brokensep 22inherit autotools-brokensep
22 23
23PACKAGECONFIG ??= "acl attr \ 24PACKAGECONFIG ??= "acl attr \
@@ -49,14 +50,10 @@ EXTRA_OECONF = "--disable-md2man --with-nobody-group=nogroup"
49#| If you can't fix the issue, re-run ./configure with --disable-roll-simd. 50#| If you can't fix the issue, re-run ./configure with --disable-roll-simd.
50EXTRA_OECONF:append:libc-musl = " --disable-roll-simd" 51EXTRA_OECONF:append:libc-musl = " --disable-roll-simd"
51 52
52# rsync 3.0 uses configure.sh instead of configure, and 53# rsync uses configure.sh instead of configure, so delete that file
53# makefile checks the existence of configure.sh 54# to avoid confusion as we will generate configure.
54do_configure:prepend () { 55do_configure:prepend () {
55 rm -f ${S}/configure ${S}/configure.sh 56 rm -f ${S}/configure.sh
56}
57
58do_configure:append () {
59 cp -f ${S}/configure ${S}/configure.sh
60} 57}
61 58
62do_install:append() { 59do_install:append() {
diff --git a/meta/recipes-devtools/ruby/ruby/0001-extmk-fix-cross-compilation-of-external-gems.patch b/meta/recipes-devtools/ruby/ruby/0001-extmk-fix-cross-compilation-of-external-gems.patch
index 7402e76333..f17970e9c9 100644
--- a/meta/recipes-devtools/ruby/ruby/0001-extmk-fix-cross-compilation-of-external-gems.patch
+++ b/meta/recipes-devtools/ruby/ruby/0001-extmk-fix-cross-compilation-of-external-gems.patch
@@ -1,4 +1,4 @@
1From caa03f46a3204a7e0f0e5d9d9cc9113304dc0382 Mon Sep 17 00:00:00 2001 1From 03700ec256789e02de20b58bca080c6fef592336 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> 2From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com>
3Date: Mon, 30 Sep 2019 16:57:01 +0100 3Date: Mon, 30 Sep 2019 16:57:01 +0100
4Subject: [PATCH] extmk: fix cross-compilation of external gems 4Subject: [PATCH] extmk: fix cross-compilation of external gems
@@ -16,10 +16,10 @@ Signed-off-by: André Draszik <andre.draszik@jci.com>
16 1 file changed, 1 insertion(+), 1 deletion(-) 16 1 file changed, 1 insertion(+), 1 deletion(-)
17 17
18diff --git a/ext/extmk.rb b/ext/extmk.rb 18diff --git a/ext/extmk.rb b/ext/extmk.rb
19index 428ffc9..87eff71 100755 19index 8b6b365..3048f75 100755
20--- a/ext/extmk.rb 20--- a/ext/extmk.rb
21+++ b/ext/extmk.rb 21+++ b/ext/extmk.rb
22@@ -420,8 +420,8 @@ else 22@@ -434,8 +434,8 @@ else
23 end 23 end
24 $ruby = [$ruby] 24 $ruby = [$ruby]
25 $ruby << "-I'$(topdir)'" 25 $ruby << "-I'$(topdir)'"
diff --git a/meta/recipes-devtools/ruby/ruby/0001-vm_dump.c-Define-REG_S1-and-REG_S2-for-musl-riscv.patch b/meta/recipes-devtools/ruby/ruby/0001-vm_dump.c-Define-REG_S1-and-REG_S2-for-musl-riscv.patch
index 67054d6553..799324caea 100644
--- a/meta/recipes-devtools/ruby/ruby/0001-vm_dump.c-Define-REG_S1-and-REG_S2-for-musl-riscv.patch
+++ b/meta/recipes-devtools/ruby/ruby/0001-vm_dump.c-Define-REG_S1-and-REG_S2-for-musl-riscv.patch
@@ -1,4 +1,4 @@
1From 980dcc5380db6f03451357140ae1487117300156 Mon Sep 17 00:00:00 2001 1From f992d781e05b61489bdf5a2a9aee6cc616f1742a Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 25 Jan 2022 20:29:14 -0800 3Date: Tue, 25 Jan 2022 20:29:14 -0800
4Subject: [PATCH] vm_dump.c: Define REG_S1 and REG_S2 for musl/riscv 4Subject: [PATCH] vm_dump.c: Define REG_S1 and REG_S2 for musl/riscv
@@ -14,10 +14,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 1 file changed, 5 insertions(+) 14 1 file changed, 5 insertions(+)
15 15
16diff --git a/vm_dump.c b/vm_dump.c 16diff --git a/vm_dump.c b/vm_dump.c
17index 444be4a..8a081a7 100644 17index 5873e52..9eb4db1 100644
18--- a/vm_dump.c 18--- a/vm_dump.c
19+++ b/vm_dump.c 19+++ b/vm_dump.c
20@@ -39,6 +39,11 @@ 20@@ -40,6 +40,11 @@
21 21
22 #define MAX_POSBUF 128 22 #define MAX_POSBUF 128
23 23
diff --git a/meta/recipes-devtools/ruby/ruby/0002-Obey-LDFLAGS-for-the-link-of-libruby.patch b/meta/recipes-devtools/ruby/ruby/0002-Obey-LDFLAGS-for-the-link-of-libruby.patch
index f3a65e785d..84fe9aee3d 100644
--- a/meta/recipes-devtools/ruby/ruby/0002-Obey-LDFLAGS-for-the-link-of-libruby.patch
+++ b/meta/recipes-devtools/ruby/ruby/0002-Obey-LDFLAGS-for-the-link-of-libruby.patch
@@ -1,4 +1,4 @@
1From 7f7facb85bd65adec24230fe8ca7f6a9863a1fd0 Mon Sep 17 00:00:00 2001 1From 2625f6c155105d352d6a1ff3a722e7896431ff91 Mon Sep 17 00:00:00 2001
2From: Christopher Larson <chris_larson@mentor.com> 2From: Christopher Larson <chris_larson@mentor.com>
3Date: Thu, 5 May 2016 10:59:07 -0700 3Date: Thu, 5 May 2016 10:59:07 -0700
4Subject: [PATCH] Obey LDFLAGS for the link of libruby 4Subject: [PATCH] Obey LDFLAGS for the link of libruby
@@ -10,10 +10,10 @@ Upstream-Status: Pending
10 1 file changed, 1 insertion(+), 1 deletion(-) 10 1 file changed, 1 insertion(+), 1 deletion(-)
11 11
12diff --git a/template/Makefile.in b/template/Makefile.in 12diff --git a/template/Makefile.in b/template/Makefile.in
13index 8c462f2..2200c8c 100644 13index 8f996b8..c708b64 100644
14--- a/template/Makefile.in 14--- a/template/Makefile.in
15+++ b/template/Makefile.in 15+++ b/template/Makefile.in
16@@ -115,7 +115,7 @@ ENABLE_SHARED = @ENABLE_SHARED@ 16@@ -120,7 +120,7 @@ ENABLE_SHARED = @ENABLE_SHARED@
17 LDSHARED = @LIBRUBY_LDSHARED@ 17 LDSHARED = @LIBRUBY_LDSHARED@
18 DLDSHARED = @DLDSHARED@ 18 DLDSHARED = @DLDSHARED@
19 XDLDFLAGS = @DLDFLAGS@ 19 XDLDFLAGS = @DLDFLAGS@
diff --git a/meta/recipes-devtools/ruby/ruby/0003-rdoc-build-reproducible-documentation.patch b/meta/recipes-devtools/ruby/ruby/0003-rdoc-build-reproducible-documentation.patch
index e2d5b57c25..87a1e82516 100644
--- a/meta/recipes-devtools/ruby/ruby/0003-rdoc-build-reproducible-documentation.patch
+++ b/meta/recipes-devtools/ruby/ruby/0003-rdoc-build-reproducible-documentation.patch
@@ -1,4 +1,4 @@
1From 5079e678ce2a81416088c04f9123cd8207d5def2 Mon Sep 17 00:00:00 2001 1From 98071c0b28a45cd21a2cbe6746ce39067932b62f Mon Sep 17 00:00:00 2001
2From: Christian Hofstaedtler <zeha@debian.org> 2From: Christian Hofstaedtler <zeha@debian.org>
3Date: Tue, 10 Oct 2017 15:04:34 -0300 3Date: Tue, 10 Oct 2017 15:04:34 -0300
4Subject: [PATCH] rdoc: build reproducible documentation 4Subject: [PATCH] rdoc: build reproducible documentation
diff --git a/meta/recipes-devtools/ruby/ruby/0004-lib-mkmf.rb-sort-list-of-object-files-in-generated-M.patch b/meta/recipes-devtools/ruby/ruby/0004-lib-mkmf.rb-sort-list-of-object-files-in-generated-M.patch
index b14a731cfb..4b6771fd26 100644
--- a/meta/recipes-devtools/ruby/ruby/0004-lib-mkmf.rb-sort-list-of-object-files-in-generated-M.patch
+++ b/meta/recipes-devtools/ruby/ruby/0004-lib-mkmf.rb-sort-list-of-object-files-in-generated-M.patch
@@ -1,4 +1,4 @@
1From 99734381652602f76075017576a819c427ebb5f2 Mon Sep 17 00:00:00 2001 1From 0887facc4ca5bcb0280b025b35bbc18528e52914 Mon Sep 17 00:00:00 2001
2From: Reiner Herrmann <reiner@reiner-h.de> 2From: Reiner Herrmann <reiner@reiner-h.de>
3Date: Tue, 10 Oct 2017 15:06:13 -0300 3Date: Tue, 10 Oct 2017 15:06:13 -0300
4Subject: [PATCH] lib/mkmf.rb: sort list of object files in generated Makefile 4Subject: [PATCH] lib/mkmf.rb: sort list of object files in generated Makefile
@@ -17,10 +17,10 @@ Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>
17 1 file changed, 1 insertion(+), 1 deletion(-) 17 1 file changed, 1 insertion(+), 1 deletion(-)
18 18
19diff --git a/lib/mkmf.rb b/lib/mkmf.rb 19diff --git a/lib/mkmf.rb b/lib/mkmf.rb
20index 6da7dde..3af30a9 100644 20index 768a152..f16cdd8 100644
21--- a/lib/mkmf.rb 21--- a/lib/mkmf.rb
22+++ b/lib/mkmf.rb 22+++ b/lib/mkmf.rb
23@@ -2368,7 +2368,7 @@ LOCAL_LIBS = #{$LOCAL_LIBS} 23@@ -2480,7 +2480,7 @@ LOCAL_LIBS = #{$LOCAL_LIBS}
24 LIBS = #{$LIBRUBYARG} #{$libs} #{$LIBS} 24 LIBS = #{$LIBRUBYARG} #{$libs} #{$LIBS}
25 ORIG_SRCS = #{orig_srcs.collect(&File.method(:basename)).join(' ')} 25 ORIG_SRCS = #{orig_srcs.collect(&File.method(:basename)).join(' ')}
26 SRCS = $(ORIG_SRCS) #{(srcs - orig_srcs).collect(&File.method(:basename)).join(' ')} 26 SRCS = $(ORIG_SRCS) #{(srcs - orig_srcs).collect(&File.method(:basename)).join(' ')}
diff --git a/meta/recipes-devtools/ruby/ruby/0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch b/meta/recipes-devtools/ruby/ruby/0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch
index 24268625a2..190eb7d728 100644
--- a/meta/recipes-devtools/ruby/ruby/0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch
+++ b/meta/recipes-devtools/ruby/ruby/0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch
@@ -1,4 +1,4 @@
1From 3bc324379aa3e322bad9353da8c0064cd671cc74 Mon Sep 17 00:00:00 2001 1From 97051be9cb9317d2c4d61a82d6d953809e962f13 Mon Sep 17 00:00:00 2001
2From: Lucas Kanashiro <kanashiro@debian.org> 2From: Lucas Kanashiro <kanashiro@debian.org>
3Date: Fri, 1 Nov 2019 15:25:17 -0300 3Date: Fri, 1 Nov 2019 15:25:17 -0300
4Subject: [PATCH] Make gemspecs reproducible 4Subject: [PATCH] Make gemspecs reproducible
@@ -12,10 +12,10 @@ Upstream-Status: Backport [debian]
12 1 file changed, 3 insertions(+), 1 deletion(-) 12 1 file changed, 3 insertions(+), 1 deletion(-)
13 13
14diff --git a/lib/rubygems/specification.rb b/lib/rubygems/specification.rb 14diff --git a/lib/rubygems/specification.rb b/lib/rubygems/specification.rb
15index a0c7faa..f0722d9 100644 15index 0b905a7..a102e3c 100644
16--- a/lib/rubygems/specification.rb 16--- a/lib/rubygems/specification.rb
17+++ b/lib/rubygems/specification.rb 17+++ b/lib/rubygems/specification.rb
18@@ -1774,7 +1774,9 @@ class Gem::Specification < Gem::BasicSpecification 18@@ -1709,7 +1709,9 @@ class Gem::Specification < Gem::BasicSpecification
19 raise(Gem::InvalidSpecificationException, 19 raise(Gem::InvalidSpecificationException,
20 "invalid date format in specification: #{date.inspect}") 20 "invalid date format in specification: #{date.inspect}")
21 end 21 end
@@ -26,6 +26,3 @@ index a0c7faa..f0722d9 100644
26 Time.utc(date.year, date.month, date.day) 26 Time.utc(date.year, date.month, date.day)
27 else 27 else
28 TODAY 28 TODAY
29--
302.39.2
31
diff --git a/meta/recipes-devtools/ruby/ruby/0006-Make-gemspecs-reproducible.patch b/meta/recipes-devtools/ruby/ruby/0006-Make-gemspecs-reproducible.patch
index 21604dfc34..121bdcf3ab 100644
--- a/meta/recipes-devtools/ruby/ruby/0006-Make-gemspecs-reproducible.patch
+++ b/meta/recipes-devtools/ruby/ruby/0006-Make-gemspecs-reproducible.patch
@@ -1,4 +1,4 @@
1From 1dc7ef09c3c567c4adb09ccfd97e0e59c58edb9f Mon Sep 17 00:00:00 2001 1From d58bdaca3d5379afcb954bb57c690c7736807ec5 Mon Sep 17 00:00:00 2001
2From: Lucas Kanashiro <kanashiro@debian.org> 2From: Lucas Kanashiro <kanashiro@debian.org>
3Date: Fri, 1 Nov 2019 15:25:17 -0300 3Date: Fri, 1 Nov 2019 15:25:17 -0300
4Subject: [PATCH] Make gemspecs reproducible 4Subject: [PATCH] Make gemspecs reproducible
@@ -8,17 +8,17 @@ build unreproducible
8 8
9Upstream-Status: Backport [debian] 9Upstream-Status: Backport [debian]
10--- 10---
11 ext/bigdecimal/bigdecimal.gemspec | 1 + 11 .bundle/gems/bigdecimal-3.1.8/bigdecimal.gemspec | 1 +
12 ext/fiddle/fiddle.gemspec | 1 + 12 ext/fiddle/fiddle.gemspec | 1 +
13 ext/io/console/io-console.gemspec | 1 + 13 ext/io/console/io-console.gemspec | 1 +
14 lib/ipaddr.gemspec | 1 + 14 lib/ipaddr.gemspec | 1 +
15 lib/rdoc/rdoc.gemspec | 1 + 15 lib/rdoc/rdoc.gemspec | 1 +
16 5 files changed, 5 insertions(+) 16 5 files changed, 5 insertions(+)
17 17
18diff --git a/ext/bigdecimal/bigdecimal.gemspec b/ext/bigdecimal/bigdecimal.gemspec 18diff --git a/.bundle/gems/bigdecimal-3.1.8/bigdecimal.gemspec b/.bundle/gems/bigdecimal-3.1.8/bigdecimal.gemspec
19index f9f3b45..b9a469d 100644 19index b6ef8fd..596b8bb 100644
20--- a/ext/bigdecimal/bigdecimal.gemspec 20--- a/.bundle/gems/bigdecimal-3.1.8/bigdecimal.gemspec
21+++ b/ext/bigdecimal/bigdecimal.gemspec 21+++ b/.bundle/gems/bigdecimal-3.1.8/bigdecimal.gemspec
22@@ -14,6 +14,7 @@ Gem::Specification.new do |s| 22@@ -14,6 +14,7 @@ Gem::Specification.new do |s|
23 s.name = name 23 s.name = name
24 s.version = source_version 24 s.version = source_version
@@ -28,7 +28,7 @@ index f9f3b45..b9a469d 100644
28 28
29 s.summary = "Arbitrary-precision decimal floating-point number library." 29 s.summary = "Arbitrary-precision decimal floating-point number library."
30diff --git a/ext/fiddle/fiddle.gemspec b/ext/fiddle/fiddle.gemspec 30diff --git a/ext/fiddle/fiddle.gemspec b/ext/fiddle/fiddle.gemspec
31index 8781093..efdca32 100644 31index 0092f52..f77c224 100644
32--- a/ext/fiddle/fiddle.gemspec 32--- a/ext/fiddle/fiddle.gemspec
33+++ b/ext/fiddle/fiddle.gemspec 33+++ b/ext/fiddle/fiddle.gemspec
34@@ -8,6 +8,7 @@ end 34@@ -8,6 +8,7 @@ end
@@ -40,10 +40,10 @@ index 8781093..efdca32 100644
40 spec.email = ["aaron@tenderlovemaking.com", "hsbt@ruby-lang.org"] 40 spec.email = ["aaron@tenderlovemaking.com", "hsbt@ruby-lang.org"]
41 41
42diff --git a/ext/io/console/io-console.gemspec b/ext/io/console/io-console.gemspec 42diff --git a/ext/io/console/io-console.gemspec b/ext/io/console/io-console.gemspec
43index d4f5276..8f89611 100644 43index 0a19992..4a80529 100644
44--- a/ext/io/console/io-console.gemspec 44--- a/ext/io/console/io-console.gemspec
45+++ b/ext/io/console/io-console.gemspec 45+++ b/ext/io/console/io-console.gemspec
46@@ -4,6 +4,7 @@ _VERSION = "0.7.1" 46@@ -12,6 +12,7 @@ end
47 Gem::Specification.new do |s| 47 Gem::Specification.new do |s|
48 s.name = "io-console" 48 s.name = "io-console"
49 s.version = _VERSION 49 s.version = _VERSION
@@ -52,7 +52,7 @@ index d4f5276..8f89611 100644
52 s.email = "nobu@ruby-lang.org" 52 s.email = "nobu@ruby-lang.org"
53 s.description = "add console capabilities to IO instances." 53 s.description = "add console capabilities to IO instances."
54diff --git a/lib/ipaddr.gemspec b/lib/ipaddr.gemspec 54diff --git a/lib/ipaddr.gemspec b/lib/ipaddr.gemspec
55index 1f4798e..48743cf 100644 55index 5719f83..fe76260 100644
56--- a/lib/ipaddr.gemspec 56--- a/lib/ipaddr.gemspec
57+++ b/lib/ipaddr.gemspec 57+++ b/lib/ipaddr.gemspec
58@@ -18,6 +18,7 @@ end 58@@ -18,6 +18,7 @@ end
@@ -64,7 +64,7 @@ index 1f4798e..48743cf 100644
64 spec.email = ["knu@idaemons.org", "ume@mahoroba.org"] 64 spec.email = ["knu@idaemons.org", "ume@mahoroba.org"]
65 65
66diff --git a/lib/rdoc/rdoc.gemspec b/lib/rdoc/rdoc.gemspec 66diff --git a/lib/rdoc/rdoc.gemspec b/lib/rdoc/rdoc.gemspec
67index 93a281c..cc5c155 100644 67index 3144df5..65c313f 100644
68--- a/lib/rdoc/rdoc.gemspec 68--- a/lib/rdoc/rdoc.gemspec
69+++ b/lib/rdoc/rdoc.gemspec 69+++ b/lib/rdoc/rdoc.gemspec
70@@ -7,6 +7,7 @@ end 70@@ -7,6 +7,7 @@ end
diff --git a/meta/recipes-devtools/ruby/ruby_3.3.0.bb b/meta/recipes-devtools/ruby/ruby_3.4.4.bb
index 657fc31b4d..39e86fdd28 100644
--- a/meta/recipes-devtools/ruby/ruby_3.3.0.bb
+++ b/meta/recipes-devtools/ruby/ruby_3.4.4.bb
@@ -10,7 +10,7 @@ LICENSE = "Ruby | BSD-2-Clause | BSD-3-Clause | GPL-2.0-only | ISC | MIT"
10LIC_FILES_CHKSUM = "file://COPYING;md5=5b8c87559868796979806100db3f3805 \ 10LIC_FILES_CHKSUM = "file://COPYING;md5=5b8c87559868796979806100db3f3805 \
11 file://BSDL;md5=8b50bc6de8f586dc66790ba11d064d75 \ 11 file://BSDL;md5=8b50bc6de8f586dc66790ba11d064d75 \
12 file://GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ 12 file://GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
13 file://LEGAL;md5=81e6a4d81533b9263da4c3485a0ad883 \ 13 file://LEGAL;md5=cb14358b7821c054ae14128885170204 \
14 " 14 "
15 15
16DEPENDS = "zlib openssl libyaml libffi" 16DEPENDS = "zlib openssl libyaml libffi"
@@ -32,6 +32,7 @@ UPSTREAM_CHECK_URI = "https://www.ruby-lang.org/en/downloads/"
32 32
33inherit autotools ptest pkgconfig 33inherit autotools ptest pkgconfig
34 34
35EXTRA_AUTORECONF += "--exclude=aclocal"
35 36
36# This snippet lets compiled extensions which rely on external libraries, 37# This snippet lets compiled extensions which rely on external libraries,
37# such as zlib, compile properly. If we don't do this, then when extmk.rb 38# such as zlib, compile properly. If we don't do this, then when extmk.rb
@@ -47,7 +48,7 @@ do_configure:prepend() {
47 48
48DEPENDS:append:libc-musl = " libucontext" 49DEPENDS:append:libc-musl = " libucontext"
49 50
50SRC_URI[sha256sum] = "96518814d9832bece92a85415a819d4893b307db5921ae1f0f751a9a89a56b7d" 51SRC_URI[sha256sum] = "a0597bfdf312e010efd1effaa8d7f1d7833146fdc17950caa8158ffa3dcbfa85"
51 52
52PACKAGECONFIG ??= "" 53PACKAGECONFIG ??= ""
53PACKAGECONFIG += "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" 54PACKAGECONFIG += "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
@@ -67,6 +68,7 @@ EXTRA_OECONF = "\
67 --enable-load-relative \ 68 --enable-load-relative \
68 --with-pkg-config=pkg-config \ 69 --with-pkg-config=pkg-config \
69 --with-static-linked-ext \ 70 --with-static-linked-ext \
71 --with-mantype=man \
70" 72"
71 73
72EXTRA_OECONF:append:libc-musl = "\ 74EXTRA_OECONF:append:libc-musl = "\
@@ -77,8 +79,7 @@ EXTRA_OECONF:append:libc-musl = "\
77PARALLEL_MAKEINST = "" 79PARALLEL_MAKEINST = ""
78 80
79do_install:append:class-target () { 81do_install:append:class-target () {
80 # Find out rbconfig.rb from .installed.list 82 rbconfig_rb=`find ${D} -name rbconfig.rb`
81 rbconfig_rb=`grep rbconfig.rb ${B}/.installed.list`
82 # Remove build host directories 83 # Remove build host directories
83 sed -i -e 's:--sysroot=${STAGING_DIR_TARGET}::g' \ 84 sed -i -e 's:--sysroot=${STAGING_DIR_TARGET}::g' \
84 -e s:'--with-libtool-sysroot=${STAGING_DIR_TARGET}'::g \ 85 -e s:'--with-libtool-sysroot=${STAGING_DIR_TARGET}'::g \
@@ -87,7 +88,7 @@ do_install:append:class-target () {
87 -e 's:${RECIPE_SYSROOT_NATIVE}::g' \ 88 -e 's:${RECIPE_SYSROOT_NATIVE}::g' \
88 -e 's:${RECIPE_SYSROOT}::g' \ 89 -e 's:${RECIPE_SYSROOT}::g' \
89 -e 's:${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}::g' \ 90 -e 's:${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}::g' \
90 ${D}$rbconfig_rb 91 $rbconfig_rb
91 92
92 sed -i -e 's|${DEBUG_PREFIX_MAP}||g' \ 93 sed -i -e 's|${DEBUG_PREFIX_MAP}||g' \
93 ${D}${libdir}/pkgconfig/*.pc 94 ${D}${libdir}/pkgconfig/*.pc
@@ -98,7 +99,7 @@ do_install:append:class-target () {
98 99
99do_install_ptest () { 100do_install_ptest () {
100 cp -rf ${S}/test ${D}${PTEST_PATH}/ 101 cp -rf ${S}/test ${D}${PTEST_PATH}/
101 102 install -D ${S}/tool/test/init.rb ${D}${PTEST_PATH}/tool/test/init.rb
102 install -D ${S}/tool/test/runner.rb ${D}${PTEST_PATH}/tool/test/runner.rb 103 install -D ${S}/tool/test/runner.rb ${D}${PTEST_PATH}/tool/test/runner.rb
103 cp -r ${S}/tool/lib ${D}${PTEST_PATH}/tool/ 104 cp -r ${S}/tool/lib ${D}${PTEST_PATH}/tool/
104 mkdir -p ${D}${PTEST_PATH}/lib 105 mkdir -p ${D}${PTEST_PATH}/lib
diff --git a/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts.service b/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts.service
index b6b81d5c1a..1ce19abcaf 100644
--- a/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts.service
+++ b/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts.service
@@ -7,7 +7,7 @@ Before=sysinit.target
7[Service] 7[Service]
8Type=oneshot 8Type=oneshot
9ExecStart=#SBINDIR#/run-postinsts 9ExecStart=#SBINDIR#/run-postinsts
10ExecStartPost=#BASE_BINDIR#/systemctl --no-reload disable run-postinsts.service 10ExecStartPost=#BASE_BINDIR#/systemctl disable run-postinsts.service
11RemainAfterExit=yes 11RemainAfterExit=yes
12TimeoutSec=0 12TimeoutSec=0
13 13
diff --git a/meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb b/meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb
index e3d63df852..5486f89ae7 100644
--- a/meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb
+++ b/meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb
@@ -8,7 +8,7 @@ SRC_URI = "file://run-postinsts \
8 file://run-postinsts.init \ 8 file://run-postinsts.init \
9 file://run-postinsts.service" 9 file://run-postinsts.service"
10 10
11S = "${WORKDIR}" 11S = "${UNPACKDIR}"
12 12
13inherit allarch systemd update-rc.d 13inherit allarch systemd update-rc.d
14 14
diff --git a/meta/recipes-devtools/rust/README-rust.md b/meta/recipes-devtools/rust/README-rust.md
index 209836ab65..a7e19c506e 100644
--- a/meta/recipes-devtools/rust/README-rust.md
+++ b/meta/recipes-devtools/rust/README-rust.md
@@ -1,14 +1,14 @@
1## Introduction 1# Introduction
2 2
3This provides the Rust compiler, tools for building packages (cargo), and 3This provides the Rust compiler, tools for building packages (cargo), and
4a few example projects. 4a few example projects.
5 5
6## Building a rust package 6## Building a rust package
7 7
8When building a rust package in bitbake, it's usually easiest to build with 8When building a rust package in bitbake, it's usually easiest to build with
9cargo using cargo.bbclass. If the package already has a Cargo.toml file (most 9cargo using cargo.bbclass. If the package already has a Cargo.toml file (most
10rust packages do), then it's especially easy. Otherwise you should probably 10rust packages do), then it's especially easy. Otherwise you should probably
11get the code building in cargo first. 11get the code building in cargo first.
12 12
13Once your package builds in cargo, you can use 13Once your package builds in cargo, you can use
14[cargo-bitbake](https://github.com/cardoe/cargo-bitbake) to generate a bitbake 14[cargo-bitbake](https://github.com/cardoe/cargo-bitbake) to generate a bitbake
@@ -22,17 +22,19 @@ contained within it
22 22
23## Pitfalls 23## Pitfalls
24 24
25 - TARGET_SYS _must_ be different from BUILD_SYS. This is due to the way Rust 25`TARGET_SYS` _must_ be different from `BUILD_SYS`. This is due to the way Rust
26 configuration options are tracked for different targets. This is the reason 26configuration options are tracked for different targets. This is the reason
27 we use the Yocto triples instead of the native Rust triples. See rust-lang/cargo#3349. 27we use the Yocto triples instead of the native Rust triples. See
28[Add the ability to provide build flags for the build-script-build #3349](https://github.com/rust-lang/cargo/issues/3349)
28 29
29## Dependencies 30## Dependencies
30 31
31On the host: 32On the host:
32 - Any `-sys` packages your project might need must have RDEPENDs for 33
33 the native library. 34* Any `-sys` packages your project might need must have RDEPENDs for
35 the native library.
34 36
35On the target: 37On the target:
36 - Any `-sys` packages your project might need must have RDEPENDs for
37 the native library.
38 38
39* Any `-sys` packages your project might need must have RDEPENDs for
40 the native library.
diff --git a/meta/recipes-devtools/rust/cargo-c-crates.inc b/meta/recipes-devtools/rust/cargo-c-crates.inc
index f6da3e654e..ab0b0d09e1 100644
--- a/meta/recipes-devtools/rust/cargo-c-crates.inc
+++ b/meta/recipes-devtools/rust/cargo-c-crates.inc
@@ -2,653 +2,779 @@
2 2
3# from Cargo.lock 3# from Cargo.lock
4SRC_URI += " \ 4SRC_URI += " \
5 crate://crates.io/adler/1.0.2 \ 5 crate://crates.io/adler2/2.0.0 \
6 crate://crates.io/ahash/0.8.7 \ 6 crate://crates.io/ahash/0.8.12 \
7 crate://crates.io/aho-corasick/1.1.2 \ 7 crate://crates.io/aho-corasick/1.1.3 \
8 crate://crates.io/allocator-api2/0.2.16 \ 8 crate://crates.io/allocator-api2/0.2.21 \
9 crate://crates.io/anstream/0.6.11 \ 9 crate://crates.io/annotate-snippets/0.11.5 \
10 crate://crates.io/anstyle/1.0.6 \ 10 crate://crates.io/anstream/0.6.18 \
11 crate://crates.io/anstyle-parse/0.2.3 \ 11 crate://crates.io/anstyle/1.0.10 \
12 crate://crates.io/anstyle-query/1.0.2 \ 12 crate://crates.io/anstyle-parse/0.2.6 \
13 crate://crates.io/anstyle-wincon/3.0.2 \ 13 crate://crates.io/anstyle-query/1.1.2 \
14 crate://crates.io/anyhow/1.0.79 \ 14 crate://crates.io/anstyle-wincon/3.0.7 \
15 crate://crates.io/arc-swap/1.6.0 \ 15 crate://crates.io/anyhow/1.0.98 \
16 crate://crates.io/autocfg/1.1.0 \ 16 crate://crates.io/arc-swap/1.7.1 \
17 crate://crates.io/arrayref/0.3.9 \
18 crate://crates.io/arrayvec/0.7.6 \
19 crate://crates.io/autocfg/1.4.0 \
17 crate://crates.io/base16ct/0.2.0 \ 20 crate://crates.io/base16ct/0.2.0 \
18 crate://crates.io/base64/0.21.7 \ 21 crate://crates.io/base64/0.22.1 \
19 crate://crates.io/base64ct/1.6.0 \ 22 crate://crates.io/base64ct/1.7.3 \
20 crate://crates.io/bitflags/1.3.2 \ 23 crate://crates.io/bitflags/2.9.1 \
21 crate://crates.io/bitflags/2.4.2 \
22 crate://crates.io/bitmaps/2.1.0 \ 24 crate://crates.io/bitmaps/2.1.0 \
25 crate://crates.io/blake3/1.8.2 \
23 crate://crates.io/block-buffer/0.10.4 \ 26 crate://crates.io/block-buffer/0.10.4 \
24 crate://crates.io/bstr/1.9.0 \ 27 crate://crates.io/bstr/1.12.0 \
25 crate://crates.io/btoi/0.4.3 \ 28 crate://crates.io/bumpalo/3.17.0 \
26 crate://crates.io/bumpalo/3.14.0 \ 29 crate://crates.io/bytes/1.10.1 \
27 crate://crates.io/bytes/1.5.0 \ 30 crate://crates.io/cargo/0.88.0 \
28 crate://crates.io/bytesize/1.3.0 \ 31 crate://crates.io/cargo-credential/0.4.8 \
29 crate://crates.io/cargo/0.77.0 \ 32 crate://crates.io/cargo-credential-libsecret/0.4.13 \
30 crate://crates.io/cargo-credential/0.4.2 \ 33 crate://crates.io/cargo-credential-macos-keychain/0.4.13 \
31 crate://crates.io/cargo-credential-libsecret/0.4.2 \ 34 crate://crates.io/cargo-credential-wincred/0.4.13 \
32 crate://crates.io/cargo-credential-macos-keychain/0.4.2 \ 35 crate://crates.io/cargo-platform/0.2.0 \
33 crate://crates.io/cargo-credential-wincred/0.4.2 \ 36 crate://crates.io/cargo-util/0.2.20 \
34 crate://crates.io/cargo-platform/0.1.7 \ 37 crate://crates.io/cargo-util-schemas/0.8.1 \
35 crate://crates.io/cargo-util/0.2.9 \ 38 crate://crates.io/cbindgen/0.28.0 \
36 crate://crates.io/cbindgen/0.26.0 \ 39 crate://crates.io/cc/1.2.22 \
37 crate://crates.io/cc/1.0.83 \
38 crate://crates.io/cfg-if/1.0.0 \ 40 crate://crates.io/cfg-if/1.0.0 \
39 crate://crates.io/clap/4.5.0 \ 41 crate://crates.io/clap/4.5.38 \
40 crate://crates.io/clap_builder/4.5.0 \ 42 crate://crates.io/clap_builder/4.5.38 \
41 crate://crates.io/clap_derive/4.5.0 \ 43 crate://crates.io/clap_complete/4.5.50 \
42 crate://crates.io/clap_lex/0.7.0 \ 44 crate://crates.io/clap_derive/4.5.32 \
43 crate://crates.io/clru/0.6.1 \ 45 crate://crates.io/clap_lex/0.7.4 \
44 crate://crates.io/color-print/0.3.5 \ 46 crate://crates.io/clru/0.6.2 \
45 crate://crates.io/color-print-proc-macro/0.3.5 \ 47 crate://crates.io/color-print/0.3.7 \
46 crate://crates.io/colorchoice/1.0.0 \ 48 crate://crates.io/color-print-proc-macro/0.3.7 \
49 crate://crates.io/colorchoice/1.0.3 \
47 crate://crates.io/const-oid/0.9.6 \ 50 crate://crates.io/const-oid/0.9.6 \
48 crate://crates.io/core-foundation/0.9.4 \ 51 crate://crates.io/constant_time_eq/0.3.1 \
49 crate://crates.io/core-foundation-sys/0.8.6 \ 52 crate://crates.io/core-foundation/0.10.0 \
50 crate://crates.io/cpufeatures/0.2.12 \ 53 crate://crates.io/core-foundation-sys/0.8.7 \
51 crate://crates.io/crates-io/0.39.2 \ 54 crate://crates.io/cpufeatures/0.2.17 \
52 crate://crates.io/crc32fast/1.3.2 \ 55 crate://crates.io/crates-io/0.40.10 \
53 crate://crates.io/crossbeam-channel/0.5.11 \ 56 crate://crates.io/crc32fast/1.4.2 \
54 crate://crates.io/crossbeam-deque/0.8.5 \ 57 crate://crates.io/crossbeam-channel/0.5.15 \
58 crate://crates.io/crossbeam-deque/0.8.6 \
55 crate://crates.io/crossbeam-epoch/0.9.18 \ 59 crate://crates.io/crossbeam-epoch/0.9.18 \
56 crate://crates.io/crossbeam-utils/0.8.19 \ 60 crate://crates.io/crossbeam-utils/0.8.21 \
57 crate://crates.io/crypto-bigint/0.5.5 \ 61 crate://crates.io/crypto-bigint/0.5.5 \
58 crate://crates.io/crypto-common/0.1.6 \ 62 crate://crates.io/crypto-common/0.1.6 \
59 crate://crates.io/ct-codecs/1.1.1 \ 63 crate://crates.io/ct-codecs/1.1.5 \
60 crate://crates.io/curl/0.4.45 \ 64 crate://crates.io/curl/0.4.47 \
61 crate://crates.io/curl-sys/0.4.72+curl-8.6.0 \ 65 crate://crates.io/curl-sys/0.4.80+curl-8.12.1 \
62 crate://crates.io/der/0.7.8 \ 66 crate://crates.io/dbus/0.9.7 \
63 crate://crates.io/deranged/0.3.11 \ 67 crate://crates.io/der/0.7.10 \
68 crate://crates.io/deranged/0.4.0 \
64 crate://crates.io/digest/0.10.7 \ 69 crate://crates.io/digest/0.10.7 \
65 crate://crates.io/dunce/1.0.4 \ 70 crate://crates.io/displaydoc/0.2.5 \
71 crate://crates.io/dunce/1.0.5 \
66 crate://crates.io/ecdsa/0.16.9 \ 72 crate://crates.io/ecdsa/0.16.9 \
67 crate://crates.io/ed25519-compact/2.1.1 \ 73 crate://crates.io/ed25519-compact/2.1.1 \
68 crate://crates.io/either/1.9.0 \ 74 crate://crates.io/either/1.15.0 \
69 crate://crates.io/elliptic-curve/0.13.8 \ 75 crate://crates.io/elliptic-curve/0.13.8 \
70 crate://crates.io/encoding_rs/0.8.33 \ 76 crate://crates.io/encoding_rs/0.8.35 \
71 crate://crates.io/equivalent/1.0.1 \ 77 crate://crates.io/equivalent/1.0.2 \
72 crate://crates.io/erased-serde/0.4.2 \ 78 crate://crates.io/erased-serde/0.4.6 \
73 crate://crates.io/errno/0.3.8 \ 79 crate://crates.io/errno/0.3.12 \
74 crate://crates.io/fallible-iterator/0.3.0 \ 80 crate://crates.io/fallible-iterator/0.3.0 \
75 crate://crates.io/fallible-streaming-iterator/0.1.9 \ 81 crate://crates.io/fallible-streaming-iterator/0.1.9 \
76 crate://crates.io/faster-hex/0.9.0 \ 82 crate://crates.io/faster-hex/0.9.0 \
77 crate://crates.io/fastrand/2.0.1 \ 83 crate://crates.io/fastrand/2.3.0 \
78 crate://crates.io/ff/0.13.0 \ 84 crate://crates.io/ff/0.13.1 \
79 crate://crates.io/fiat-crypto/0.2.6 \ 85 crate://crates.io/fiat-crypto/0.2.9 \
80 crate://crates.io/filetime/0.2.23 \ 86 crate://crates.io/filetime/0.2.25 \
81 crate://crates.io/flate2/1.0.28 \ 87 crate://crates.io/flate2/1.1.1 \
88 crate://crates.io/fnv/1.0.7 \
89 crate://crates.io/foldhash/0.1.5 \
82 crate://crates.io/foreign-types/0.3.2 \ 90 crate://crates.io/foreign-types/0.3.2 \
83 crate://crates.io/foreign-types-shared/0.1.1 \ 91 crate://crates.io/foreign-types-shared/0.1.1 \
84 crate://crates.io/form_urlencoded/1.2.1 \ 92 crate://crates.io/form_urlencoded/1.2.1 \
85 crate://crates.io/generic-array/0.14.7 \ 93 crate://crates.io/generic-array/0.14.7 \
86 crate://crates.io/getrandom/0.2.12 \ 94 crate://crates.io/getrandom/0.2.16 \
87 crate://crates.io/git2/0.18.2 \ 95 crate://crates.io/getrandom/0.3.3 \
88 crate://crates.io/git2-curl/0.19.0 \ 96 crate://crates.io/git2/0.20.2 \
89 crate://crates.io/gix/0.56.0 \ 97 crate://crates.io/git2-curl/0.21.0 \
90 crate://crates.io/gix-actor/0.28.1 \ 98 crate://crates.io/gix/0.70.0 \
91 crate://crates.io/gix-attributes/0.20.1 \ 99 crate://crates.io/gix-actor/0.33.2 \
92 crate://crates.io/gix-bitmap/0.2.10 \ 100 crate://crates.io/gix-attributes/0.24.0 \
93 crate://crates.io/gix-chunk/0.4.7 \ 101 crate://crates.io/gix-bitmap/0.2.14 \
94 crate://crates.io/gix-command/0.3.4 \ 102 crate://crates.io/gix-chunk/0.4.11 \
95 crate://crates.io/gix-commitgraph/0.22.1 \ 103 crate://crates.io/gix-command/0.4.1 \
96 crate://crates.io/gix-config/0.32.1 \ 104 crate://crates.io/gix-commitgraph/0.26.0 \
97 crate://crates.io/gix-config-value/0.14.4 \ 105 crate://crates.io/gix-config/0.43.0 \
98 crate://crates.io/gix-credentials/0.22.0 \ 106 crate://crates.io/gix-config-value/0.14.12 \
99 crate://crates.io/gix-date/0.8.3 \ 107 crate://crates.io/gix-credentials/0.27.0 \
100 crate://crates.io/gix-diff/0.38.0 \ 108 crate://crates.io/gix-date/0.9.4 \
101 crate://crates.io/gix-discover/0.27.0 \ 109 crate://crates.io/gix-diff/0.50.0 \
102 crate://crates.io/gix-features/0.35.0 \ 110 crate://crates.io/gix-dir/0.12.0 \
103 crate://crates.io/gix-features/0.36.1 \ 111 crate://crates.io/gix-discover/0.38.0 \
104 crate://crates.io/gix-filter/0.7.0 \ 112 crate://crates.io/gix-features/0.40.0 \
105 crate://crates.io/gix-fs/0.8.1 \ 113 crate://crates.io/gix-filter/0.17.0 \
106 crate://crates.io/gix-glob/0.14.1 \ 114 crate://crates.io/gix-fs/0.13.0 \
107 crate://crates.io/gix-hash/0.13.3 \ 115 crate://crates.io/gix-glob/0.18.0 \
108 crate://crates.io/gix-hashtable/0.4.1 \ 116 crate://crates.io/gix-hash/0.16.0 \
109 crate://crates.io/gix-ignore/0.9.1 \ 117 crate://crates.io/gix-hashtable/0.7.0 \
110 crate://crates.io/gix-index/0.27.1 \ 118 crate://crates.io/gix-ignore/0.13.0 \
111 crate://crates.io/gix-lock/11.0.1 \ 119 crate://crates.io/gix-index/0.38.0 \
112 crate://crates.io/gix-macros/0.1.3 \ 120 crate://crates.io/gix-lock/16.0.0 \
113 crate://crates.io/gix-negotiate/0.10.0 \ 121 crate://crates.io/gix-negotiate/0.18.0 \
114 crate://crates.io/gix-object/0.39.0 \ 122 crate://crates.io/gix-object/0.47.0 \
115 crate://crates.io/gix-odb/0.55.0 \ 123 crate://crates.io/gix-odb/0.67.0 \
116 crate://crates.io/gix-pack/0.45.0 \ 124 crate://crates.io/gix-pack/0.57.0 \
117 crate://crates.io/gix-packetline/0.17.3 \ 125 crate://crates.io/gix-packetline/0.18.4 \
118 crate://crates.io/gix-packetline-blocking/0.17.3 \ 126 crate://crates.io/gix-packetline-blocking/0.18.3 \
119 crate://crates.io/gix-path/0.10.5 \ 127 crate://crates.io/gix-path/0.10.18 \
120 crate://crates.io/gix-pathspec/0.4.1 \ 128 crate://crates.io/gix-pathspec/0.9.0 \
121 crate://crates.io/gix-prompt/0.8.2 \ 129 crate://crates.io/gix-prompt/0.9.1 \
122 crate://crates.io/gix-protocol/0.42.0 \ 130 crate://crates.io/gix-protocol/0.48.0 \
123 crate://crates.io/gix-quote/0.4.10 \ 131 crate://crates.io/gix-quote/0.4.15 \
124 crate://crates.io/gix-ref/0.39.1 \ 132 crate://crates.io/gix-ref/0.50.0 \
125 crate://crates.io/gix-refspec/0.20.0 \ 133 crate://crates.io/gix-refspec/0.28.0 \
126 crate://crates.io/gix-revision/0.24.0 \ 134 crate://crates.io/gix-revision/0.32.0 \
127 crate://crates.io/gix-revwalk/0.10.0 \ 135 crate://crates.io/gix-revwalk/0.18.0 \
128 crate://crates.io/gix-sec/0.10.4 \ 136 crate://crates.io/gix-sec/0.10.12 \
129 crate://crates.io/gix-submodule/0.6.0 \ 137 crate://crates.io/gix-shallow/0.2.0 \
130 crate://crates.io/gix-tempfile/11.0.1 \ 138 crate://crates.io/gix-submodule/0.17.0 \
131 crate://crates.io/gix-trace/0.1.7 \ 139 crate://crates.io/gix-tempfile/16.0.0 \
132 crate://crates.io/gix-transport/0.39.0 \ 140 crate://crates.io/gix-trace/0.1.12 \
133 crate://crates.io/gix-traverse/0.35.0 \ 141 crate://crates.io/gix-transport/0.45.0 \
134 crate://crates.io/gix-url/0.25.2 \ 142 crate://crates.io/gix-traverse/0.44.0 \
135 crate://crates.io/gix-utils/0.1.9 \ 143 crate://crates.io/gix-url/0.29.0 \
136 crate://crates.io/gix-validate/0.8.3 \ 144 crate://crates.io/gix-utils/0.1.14 \
137 crate://crates.io/gix-worktree/0.28.0 \ 145 crate://crates.io/gix-validate/0.9.4 \
138 crate://crates.io/glob/0.3.1 \ 146 crate://crates.io/gix-validate/0.10.0 \
139 crate://crates.io/globset/0.4.14 \ 147 crate://crates.io/gix-worktree/0.39.0 \
148 crate://crates.io/glob/0.3.2 \
149 crate://crates.io/globset/0.4.16 \
140 crate://crates.io/group/0.13.0 \ 150 crate://crates.io/group/0.13.0 \
141 crate://crates.io/hashbrown/0.12.3 \ 151 crate://crates.io/hashbrown/0.14.5 \
142 crate://crates.io/hashbrown/0.14.3 \ 152 crate://crates.io/hashbrown/0.15.3 \
143 crate://crates.io/hashlink/0.8.4 \ 153 crate://crates.io/hashlink/0.10.0 \
144 crate://crates.io/heck/0.4.1 \ 154 crate://crates.io/heck/0.4.1 \
145 crate://crates.io/hermit-abi/0.3.5 \ 155 crate://crates.io/heck/0.5.0 \
146 crate://crates.io/hex/0.4.3 \ 156 crate://crates.io/hex/0.4.3 \
147 crate://crates.io/hkdf/0.12.4 \ 157 crate://crates.io/hkdf/0.12.4 \
148 crate://crates.io/hmac/0.12.1 \ 158 crate://crates.io/hmac/0.12.1 \
149 crate://crates.io/home/0.5.9 \ 159 crate://crates.io/home/0.5.11 \
150 crate://crates.io/http-auth/0.1.9 \ 160 crate://crates.io/http-auth/0.1.10 \
151 crate://crates.io/humantime/2.1.0 \ 161 crate://crates.io/icu_collections/2.0.0 \
152 crate://crates.io/idna/0.5.0 \ 162 crate://crates.io/icu_locale_core/2.0.0 \
153 crate://crates.io/ignore/0.4.22 \ 163 crate://crates.io/icu_normalizer/2.0.0 \
164 crate://crates.io/icu_normalizer_data/2.0.0 \
165 crate://crates.io/icu_properties/2.0.0 \
166 crate://crates.io/icu_properties_data/2.0.0 \
167 crate://crates.io/icu_provider/2.0.0 \
168 crate://crates.io/idna/1.0.3 \
169 crate://crates.io/idna_adapter/1.2.1 \
170 crate://crates.io/ignore/0.4.23 \
154 crate://crates.io/im-rc/15.1.0 \ 171 crate://crates.io/im-rc/15.1.0 \
155 crate://crates.io/indexmap/1.9.3 \ 172 crate://crates.io/implib/0.3.5 \
156 crate://crates.io/indexmap/2.2.2 \ 173 crate://crates.io/indexmap/2.9.0 \
157 crate://crates.io/is-terminal/0.4.11 \ 174 crate://crates.io/is_executable/1.0.4 \
158 crate://crates.io/itertools/0.12.1 \ 175 crate://crates.io/is_terminal_polyfill/1.70.1 \
159 crate://crates.io/itoa/1.0.10 \ 176 crate://crates.io/itertools/0.14.0 \
160 crate://crates.io/jobserver/0.1.28 \ 177 crate://crates.io/itoa/1.0.15 \
161 crate://crates.io/js-sys/0.3.68 \ 178 crate://crates.io/jiff/0.2.13 \
162 crate://crates.io/kstring/2.0.0 \ 179 crate://crates.io/jiff-static/0.2.13 \
163 crate://crates.io/lazy_static/1.4.0 \ 180 crate://crates.io/jiff-tzdb/0.1.4 \
181 crate://crates.io/jiff-tzdb-platform/0.1.3 \
182 crate://crates.io/jobserver/0.1.33 \
183 crate://crates.io/js-sys/0.3.77 \
184 crate://crates.io/kstring/2.0.2 \
185 crate://crates.io/lazy_static/1.5.0 \
164 crate://crates.io/lazycell/1.3.0 \ 186 crate://crates.io/lazycell/1.3.0 \
165 crate://crates.io/libc/0.2.153 \ 187 crate://crates.io/libc/0.2.172 \
166 crate://crates.io/libgit2-sys/0.16.2+1.7.2 \ 188 crate://crates.io/libdbus-sys/0.2.5 \
167 crate://crates.io/libloading/0.8.1 \ 189 crate://crates.io/libgit2-sys/0.18.1+1.9.0 \
168 crate://crates.io/libnghttp2-sys/0.1.9+1.58.0 \ 190 crate://crates.io/libloading/0.8.7 \
169 crate://crates.io/libsqlite3-sys/0.27.0 \ 191 crate://crates.io/libnghttp2-sys/0.1.11+1.64.0 \
170 crate://crates.io/libssh2-sys/0.3.0 \ 192 crate://crates.io/libredox/0.1.3 \
171 crate://crates.io/libz-sys/1.1.15 \ 193 crate://crates.io/libsqlite3-sys/0.31.0 \
172 crate://crates.io/linux-raw-sys/0.4.13 \ 194 crate://crates.io/libssh2-sys/0.3.1 \
173 crate://crates.io/lock_api/0.4.11 \ 195 crate://crates.io/libz-sys/1.1.22 \
174 crate://crates.io/log/0.4.20 \ 196 crate://crates.io/linux-raw-sys/0.4.15 \
197 crate://crates.io/linux-raw-sys/0.9.4 \
198 crate://crates.io/litemap/0.8.0 \
199 crate://crates.io/lock_api/0.4.12 \
200 crate://crates.io/log/0.4.27 \
175 crate://crates.io/matchers/0.1.0 \ 201 crate://crates.io/matchers/0.1.0 \
176 crate://crates.io/maybe-async/0.2.9 \ 202 crate://crates.io/maybe-async/0.2.10 \
177 crate://crates.io/memchr/2.7.1 \ 203 crate://crates.io/memchr/2.7.4 \
178 crate://crates.io/memmap2/0.9.4 \ 204 crate://crates.io/memmap2/0.9.5 \
205 crate://crates.io/memoffset/0.9.1 \
179 crate://crates.io/minimal-lexical/0.2.1 \ 206 crate://crates.io/minimal-lexical/0.2.1 \
180 crate://crates.io/miniz_oxide/0.7.2 \ 207 crate://crates.io/miniz_oxide/0.8.8 \
181 crate://crates.io/miow/0.6.0 \ 208 crate://crates.io/miow/0.6.0 \
182 crate://crates.io/nom/7.1.3 \ 209 crate://crates.io/nom/7.1.3 \
183 crate://crates.io/normpath/1.1.1 \ 210 crate://crates.io/normpath/1.3.0 \
184 crate://crates.io/nu-ansi-term/0.46.0 \ 211 crate://crates.io/nu-ansi-term/0.46.0 \
185 crate://crates.io/num-conv/0.1.0 \ 212 crate://crates.io/num-conv/0.1.0 \
186 crate://crates.io/num-traits/0.2.18 \ 213 crate://crates.io/num-traits/0.2.19 \
187 crate://crates.io/num_threads/0.1.6 \ 214 crate://crates.io/object/0.36.7 \
188 crate://crates.io/once_cell/1.19.0 \ 215 crate://crates.io/once_cell/1.21.3 \
189 crate://crates.io/opener/0.6.1 \ 216 crate://crates.io/opener/0.7.2 \
190 crate://crates.io/openssl/0.10.63 \ 217 crate://crates.io/openssl/0.10.57 \
191 crate://crates.io/openssl-macros/0.1.1 \ 218 crate://crates.io/openssl-macros/0.1.1 \
192 crate://crates.io/openssl-probe/0.1.5 \ 219 crate://crates.io/openssl-probe/0.1.6 \
193 crate://crates.io/openssl-src/300.2.2+3.2.1 \ 220 crate://crates.io/openssl-src/300.5.0+3.5.0 \
194 crate://crates.io/openssl-sys/0.9.99 \ 221 crate://crates.io/openssl-sys/0.9.108 \
195 crate://crates.io/ordered-float/2.10.1 \ 222 crate://crates.io/ordered-float/2.10.1 \
196 crate://crates.io/orion/0.17.6 \ 223 crate://crates.io/orion/0.17.10 \
197 crate://crates.io/os_info/3.7.0 \ 224 crate://crates.io/os_info/3.11.0 \
198 crate://crates.io/overload/0.1.1 \ 225 crate://crates.io/overload/0.1.1 \
199 crate://crates.io/p384/0.13.0 \ 226 crate://crates.io/p384/0.13.1 \
200 crate://crates.io/parking_lot/0.12.1 \ 227 crate://crates.io/parking_lot/0.12.3 \
201 crate://crates.io/parking_lot_core/0.9.9 \ 228 crate://crates.io/parking_lot_core/0.9.10 \
202 crate://crates.io/pasetors/0.6.8 \ 229 crate://crates.io/pasetors/0.7.4 \
203 crate://crates.io/pathdiff/0.2.1 \ 230 crate://crates.io/pathdiff/0.2.3 \
204 crate://crates.io/pem-rfc7468/0.7.0 \ 231 crate://crates.io/pem-rfc7468/0.7.0 \
205 crate://crates.io/percent-encoding/2.3.1 \ 232 crate://crates.io/percent-encoding/2.3.1 \
206 crate://crates.io/pin-project-lite/0.2.13 \ 233 crate://crates.io/pin-project-lite/0.2.16 \
207 crate://crates.io/pkcs8/0.10.2 \ 234 crate://crates.io/pkcs8/0.10.2 \
208 crate://crates.io/pkg-config/0.3.29 \ 235 crate://crates.io/pkg-config/0.3.32 \
236 crate://crates.io/portable-atomic/1.11.0 \
237 crate://crates.io/portable-atomic-util/0.2.4 \
238 crate://crates.io/potential_utf/0.1.2 \
209 crate://crates.io/powerfmt/0.2.0 \ 239 crate://crates.io/powerfmt/0.2.0 \
210 crate://crates.io/ppv-lite86/0.2.17 \ 240 crate://crates.io/ppv-lite86/0.2.21 \
211 crate://crates.io/primeorder/0.13.6 \ 241 crate://crates.io/primeorder/0.13.6 \
212 crate://crates.io/proc-macro2/1.0.78 \ 242 crate://crates.io/proc-macro2/1.0.95 \
213 crate://crates.io/prodash/26.2.2 \ 243 crate://crates.io/prodash/29.0.2 \
214 crate://crates.io/pulldown-cmark/0.9.6 \ 244 crate://crates.io/quote/1.0.40 \
215 crate://crates.io/quote/1.0.35 \ 245 crate://crates.io/r-efi/5.2.0 \
216 crate://crates.io/rand/0.8.5 \ 246 crate://crates.io/rand/0.9.1 \
217 crate://crates.io/rand_chacha/0.3.1 \ 247 crate://crates.io/rand_chacha/0.9.0 \
218 crate://crates.io/rand_core/0.6.4 \ 248 crate://crates.io/rand_core/0.6.4 \
249 crate://crates.io/rand_core/0.9.3 \
219 crate://crates.io/rand_xoshiro/0.6.0 \ 250 crate://crates.io/rand_xoshiro/0.6.0 \
220 crate://crates.io/redox_syscall/0.4.1 \ 251 crate://crates.io/redox_syscall/0.5.12 \
221 crate://crates.io/regex/1.10.3 \ 252 crate://crates.io/regex/1.11.1 \
222 crate://crates.io/regex-automata/0.1.10 \ 253 crate://crates.io/regex-automata/0.1.10 \
223 crate://crates.io/regex-automata/0.4.5 \ 254 crate://crates.io/regex-automata/0.4.9 \
224 crate://crates.io/regex-syntax/0.6.29 \ 255 crate://crates.io/regex-syntax/0.6.29 \
225 crate://crates.io/regex-syntax/0.8.2 \ 256 crate://crates.io/regex-syntax/0.8.5 \
226 crate://crates.io/rfc6979/0.4.0 \ 257 crate://crates.io/rfc6979/0.4.0 \
227 crate://crates.io/rusqlite/0.30.0 \ 258 crate://crates.io/rusqlite/0.33.0 \
228 crate://crates.io/rustfix/0.7.0 \ 259 crate://crates.io/rustc-hash/2.1.1 \
229 crate://crates.io/rustix/0.38.31 \ 260 crate://crates.io/rustc-stable-hash/0.1.2 \
230 crate://crates.io/ryu/1.0.16 \ 261 crate://crates.io/rustfix/0.9.0 \
262 crate://crates.io/rustix/0.38.44 \
263 crate://crates.io/rustix/1.0.7 \
264 crate://crates.io/ryu/1.0.20 \
231 crate://crates.io/same-file/1.0.6 \ 265 crate://crates.io/same-file/1.0.6 \
232 crate://crates.io/schannel/0.1.23 \ 266 crate://crates.io/schannel/0.1.27 \
233 crate://crates.io/scopeguard/1.2.0 \ 267 crate://crates.io/scopeguard/1.2.0 \
234 crate://crates.io/sec1/0.7.3 \ 268 crate://crates.io/sec1/0.7.3 \
235 crate://crates.io/security-framework/2.9.2 \ 269 crate://crates.io/security-framework/3.2.0 \
236 crate://crates.io/security-framework-sys/2.9.1 \ 270 crate://crates.io/security-framework-sys/2.14.0 \
237 crate://crates.io/semver/1.0.21 \ 271 crate://crates.io/semver/1.0.26 \
238 crate://crates.io/serde/1.0.196 \ 272 crate://crates.io/serde/1.0.219 \
239 crate://crates.io/serde-untagged/0.1.5 \ 273 crate://crates.io/serde-untagged/0.1.7 \
240 crate://crates.io/serde-value/0.7.0 \ 274 crate://crates.io/serde-value/0.7.0 \
241 crate://crates.io/serde_derive/1.0.196 \ 275 crate://crates.io/serde_derive/1.0.219 \
242 crate://crates.io/serde_ignored/0.1.10 \ 276 crate://crates.io/serde_ignored/0.1.12 \
243 crate://crates.io/serde_json/1.0.113 \ 277 crate://crates.io/serde_json/1.0.140 \
244 crate://crates.io/serde_spanned/0.6.5 \ 278 crate://crates.io/serde_spanned/0.6.8 \
245 crate://crates.io/sha1/0.10.6 \ 279 crate://crates.io/sha1/0.10.6 \
246 crate://crates.io/sha1_smol/1.0.0 \ 280 crate://crates.io/sha1_smol/1.0.1 \
247 crate://crates.io/sha2/0.10.8 \ 281 crate://crates.io/sha2/0.10.9 \
248 crate://crates.io/sharded-slab/0.1.7 \ 282 crate://crates.io/sharded-slab/0.1.7 \
249 crate://crates.io/shell-escape/0.1.5 \ 283 crate://crates.io/shell-escape/0.1.5 \
250 crate://crates.io/shell-words/1.1.0 \ 284 crate://crates.io/shell-words/1.1.0 \
285 crate://crates.io/shlex/1.3.0 \
251 crate://crates.io/signature/2.2.0 \ 286 crate://crates.io/signature/2.2.0 \
252 crate://crates.io/sized-chunks/0.6.5 \ 287 crate://crates.io/sized-chunks/0.6.5 \
253 crate://crates.io/smallvec/1.13.1 \ 288 crate://crates.io/smallvec/1.15.0 \
254 crate://crates.io/socket2/0.5.5 \ 289 crate://crates.io/socket2/0.5.9 \
255 crate://crates.io/spki/0.7.3 \ 290 crate://crates.io/spki/0.7.3 \
291 crate://crates.io/stable_deref_trait/1.2.0 \
256 crate://crates.io/static_assertions/1.1.0 \ 292 crate://crates.io/static_assertions/1.1.0 \
257 crate://crates.io/strsim/0.11.0 \ 293 crate://crates.io/strsim/0.11.1 \
258 crate://crates.io/subtle/2.5.0 \ 294 crate://crates.io/subtle/2.6.1 \
259 crate://crates.io/supports-hyperlinks/2.1.0 \ 295 crate://crates.io/supports-hyperlinks/3.1.0 \
260 crate://crates.io/syn/1.0.109 \ 296 crate://crates.io/supports-unicode/3.0.0 \
261 crate://crates.io/syn/2.0.48 \ 297 crate://crates.io/syn/2.0.101 \
262 crate://crates.io/tar/0.4.40 \ 298 crate://crates.io/synstructure/0.13.2 \
263 crate://crates.io/tempfile/3.10.0 \ 299 crate://crates.io/tar/0.4.44 \
264 crate://crates.io/terminal_size/0.3.0 \ 300 crate://crates.io/tempfile/3.20.0 \
265 crate://crates.io/thiserror/1.0.56 \ 301 crate://crates.io/terminal_size/0.4.2 \
266 crate://crates.io/thiserror-impl/1.0.56 \ 302 crate://crates.io/thiserror/1.0.69 \
267 crate://crates.io/thread_local/1.1.7 \ 303 crate://crates.io/thiserror/2.0.12 \
268 crate://crates.io/time/0.3.34 \ 304 crate://crates.io/thiserror-impl/1.0.69 \
269 crate://crates.io/time-core/0.1.2 \ 305 crate://crates.io/thiserror-impl/2.0.12 \
270 crate://crates.io/time-macros/0.2.17 \ 306 crate://crates.io/thread_local/1.1.8 \
271 crate://crates.io/tinyvec/1.6.0 \ 307 crate://crates.io/time/0.3.41 \
308 crate://crates.io/time-core/0.1.4 \
309 crate://crates.io/time-macros/0.2.22 \
310 crate://crates.io/tinystr/0.8.1 \
311 crate://crates.io/tinyvec/1.9.0 \
272 crate://crates.io/tinyvec_macros/0.1.1 \ 312 crate://crates.io/tinyvec_macros/0.1.1 \
273 crate://crates.io/toml/0.5.11 \ 313 crate://crates.io/toml/0.8.22 \
274 crate://crates.io/toml/0.8.10 \ 314 crate://crates.io/toml_datetime/0.6.9 \
275 crate://crates.io/toml_datetime/0.6.5 \ 315 crate://crates.io/toml_edit/0.22.26 \
276 crate://crates.io/toml_edit/0.21.1 \ 316 crate://crates.io/toml_write/0.1.1 \
277 crate://crates.io/toml_edit/0.22.4 \ 317 crate://crates.io/tracing/0.1.41 \
278 crate://crates.io/tracing/0.1.40 \ 318 crate://crates.io/tracing-attributes/0.1.28 \
279 crate://crates.io/tracing-attributes/0.1.27 \ 319 crate://crates.io/tracing-chrome/0.7.2 \
280 crate://crates.io/tracing-core/0.1.32 \ 320 crate://crates.io/tracing-core/0.1.33 \
281 crate://crates.io/tracing-log/0.2.0 \ 321 crate://crates.io/tracing-log/0.2.0 \
282 crate://crates.io/tracing-subscriber/0.3.18 \ 322 crate://crates.io/tracing-subscriber/0.3.19 \
283 crate://crates.io/typenum/1.17.0 \ 323 crate://crates.io/typeid/1.0.3 \
284 crate://crates.io/unicase/2.7.0 \ 324 crate://crates.io/typenum/1.18.0 \
285 crate://crates.io/unicode-bidi/0.3.15 \ 325 crate://crates.io/unicase/2.8.1 \
286 crate://crates.io/unicode-bom/2.0.3 \ 326 crate://crates.io/unicode-bom/2.0.3 \
287 crate://crates.io/unicode-ident/1.0.12 \ 327 crate://crates.io/unicode-ident/1.0.18 \
288 crate://crates.io/unicode-normalization/0.1.22 \ 328 crate://crates.io/unicode-normalization/0.1.24 \
289 crate://crates.io/unicode-width/0.1.11 \ 329 crate://crates.io/unicode-width/0.2.0 \
290 crate://crates.io/unicode-xid/0.2.4 \ 330 crate://crates.io/unicode-xid/0.2.6 \
291 crate://crates.io/url/2.5.0 \ 331 crate://crates.io/url/2.5.4 \
292 crate://crates.io/utf8parse/0.2.1 \ 332 crate://crates.io/utf8_iter/1.0.4 \
293 crate://crates.io/valuable/0.1.0 \ 333 crate://crates.io/utf8parse/0.2.2 \
334 crate://crates.io/valuable/0.1.1 \
294 crate://crates.io/vcpkg/0.2.15 \ 335 crate://crates.io/vcpkg/0.2.15 \
295 crate://crates.io/version_check/0.9.4 \ 336 crate://crates.io/version_check/0.9.5 \
296 crate://crates.io/walkdir/2.4.0 \ 337 crate://crates.io/walkdir/2.5.0 \
297 crate://crates.io/wasi/0.11.0+wasi-snapshot-preview1 \ 338 crate://crates.io/wasi/0.11.0+wasi-snapshot-preview1 \
298 crate://crates.io/wasm-bindgen/0.2.91 \ 339 crate://crates.io/wasi/0.14.2+wasi-0.2.4 \
299 crate://crates.io/wasm-bindgen-backend/0.2.91 \ 340 crate://crates.io/wasm-bindgen/0.2.100 \
300 crate://crates.io/wasm-bindgen-macro/0.2.91 \ 341 crate://crates.io/wasm-bindgen-backend/0.2.100 \
301 crate://crates.io/wasm-bindgen-macro-support/0.2.91 \ 342 crate://crates.io/wasm-bindgen-macro/0.2.100 \
302 crate://crates.io/wasm-bindgen-shared/0.2.91 \ 343 crate://crates.io/wasm-bindgen-macro-support/0.2.100 \
344 crate://crates.io/wasm-bindgen-shared/0.2.100 \
303 crate://crates.io/winapi/0.3.9 \ 345 crate://crates.io/winapi/0.3.9 \
304 crate://crates.io/winapi-i686-pc-windows-gnu/0.4.0 \ 346 crate://crates.io/winapi-i686-pc-windows-gnu/0.4.0 \
305 crate://crates.io/winapi-util/0.1.6 \ 347 crate://crates.io/winapi-util/0.1.9 \
306 crate://crates.io/winapi-x86_64-pc-windows-gnu/0.4.0 \ 348 crate://crates.io/winapi-x86_64-pc-windows-gnu/0.4.0 \
307 crate://crates.io/windows-sys/0.48.0 \ 349 crate://crates.io/windows-sys/0.48.0 \
308 crate://crates.io/windows-sys/0.52.0 \ 350 crate://crates.io/windows-sys/0.52.0 \
351 crate://crates.io/windows-sys/0.59.0 \
309 crate://crates.io/windows-targets/0.48.5 \ 352 crate://crates.io/windows-targets/0.48.5 \
310 crate://crates.io/windows-targets/0.52.0 \ 353 crate://crates.io/windows-targets/0.52.6 \
354 crate://crates.io/windows-targets/0.53.0 \
311 crate://crates.io/windows_aarch64_gnullvm/0.48.5 \ 355 crate://crates.io/windows_aarch64_gnullvm/0.48.5 \
312 crate://crates.io/windows_aarch64_gnullvm/0.52.0 \ 356 crate://crates.io/windows_aarch64_gnullvm/0.52.6 \
357 crate://crates.io/windows_aarch64_gnullvm/0.53.0 \
313 crate://crates.io/windows_aarch64_msvc/0.48.5 \ 358 crate://crates.io/windows_aarch64_msvc/0.48.5 \
314 crate://crates.io/windows_aarch64_msvc/0.52.0 \ 359 crate://crates.io/windows_aarch64_msvc/0.52.6 \
360 crate://crates.io/windows_aarch64_msvc/0.53.0 \
315 crate://crates.io/windows_i686_gnu/0.48.5 \ 361 crate://crates.io/windows_i686_gnu/0.48.5 \
316 crate://crates.io/windows_i686_gnu/0.52.0 \ 362 crate://crates.io/windows_i686_gnu/0.52.6 \
363 crate://crates.io/windows_i686_gnu/0.53.0 \
364 crate://crates.io/windows_i686_gnullvm/0.52.6 \
365 crate://crates.io/windows_i686_gnullvm/0.53.0 \
317 crate://crates.io/windows_i686_msvc/0.48.5 \ 366 crate://crates.io/windows_i686_msvc/0.48.5 \
318 crate://crates.io/windows_i686_msvc/0.52.0 \ 367 crate://crates.io/windows_i686_msvc/0.52.6 \
368 crate://crates.io/windows_i686_msvc/0.53.0 \
319 crate://crates.io/windows_x86_64_gnu/0.48.5 \ 369 crate://crates.io/windows_x86_64_gnu/0.48.5 \
320 crate://crates.io/windows_x86_64_gnu/0.52.0 \ 370 crate://crates.io/windows_x86_64_gnu/0.52.6 \
371 crate://crates.io/windows_x86_64_gnu/0.53.0 \
321 crate://crates.io/windows_x86_64_gnullvm/0.48.5 \ 372 crate://crates.io/windows_x86_64_gnullvm/0.48.5 \
322 crate://crates.io/windows_x86_64_gnullvm/0.52.0 \ 373 crate://crates.io/windows_x86_64_gnullvm/0.52.6 \
374 crate://crates.io/windows_x86_64_gnullvm/0.53.0 \
323 crate://crates.io/windows_x86_64_msvc/0.48.5 \ 375 crate://crates.io/windows_x86_64_msvc/0.48.5 \
324 crate://crates.io/windows_x86_64_msvc/0.52.0 \ 376 crate://crates.io/windows_x86_64_msvc/0.52.6 \
325 crate://crates.io/winnow/0.5.39 \ 377 crate://crates.io/windows_x86_64_msvc/0.53.0 \
326 crate://crates.io/zerocopy/0.7.32 \ 378 crate://crates.io/winnow/0.6.26 \
327 crate://crates.io/zerocopy-derive/0.7.32 \ 379 crate://crates.io/winnow/0.7.10 \
328 crate://crates.io/zeroize/1.7.0 \ 380 crate://crates.io/wit-bindgen-rt/0.39.0 \
381 crate://crates.io/writeable/0.6.1 \
382 crate://crates.io/yoke/0.8.0 \
383 crate://crates.io/yoke-derive/0.8.0 \
384 crate://crates.io/zerocopy/0.8.25 \
385 crate://crates.io/zerocopy-derive/0.8.25 \
386 crate://crates.io/zerofrom/0.1.6 \
387 crate://crates.io/zerofrom-derive/0.1.6 \
388 crate://crates.io/zeroize/1.8.1 \
389 crate://crates.io/zerotrie/0.2.2 \
390 crate://crates.io/zerovec/0.11.2 \
391 crate://crates.io/zerovec-derive/0.11.1 \
329" 392"
330 393
331SRC_URI[adler-1.0.2.sha256sum] = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" 394SRC_URI[adler2-2.0.0.sha256sum] = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627"
332SRC_URI[ahash-0.8.7.sha256sum] = "77c3a9648d43b9cd48db467b3f87fdd6e146bcc88ab0180006cef2179fe11d01" 395SRC_URI[ahash-0.8.12.sha256sum] = "5a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75"
333SRC_URI[aho-corasick-1.1.2.sha256sum] = "b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0" 396SRC_URI[aho-corasick-1.1.3.sha256sum] = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
334SRC_URI[allocator-api2-0.2.16.sha256sum] = "0942ffc6dcaadf03badf6e6a2d0228460359d5e34b57ccdc720b7382dfbd5ec5" 397SRC_URI[allocator-api2-0.2.21.sha256sum] = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923"
335SRC_URI[anstream-0.6.11.sha256sum] = "6e2e1ebcb11de5c03c67de28a7df593d32191b44939c482e97702baaaa6ab6a5" 398SRC_URI[annotate-snippets-0.11.5.sha256sum] = "710e8eae58854cdc1790fcb56cca04d712a17be849eeb81da2a724bf4bae2bc4"
336SRC_URI[anstyle-1.0.6.sha256sum] = "8901269c6307e8d93993578286ac0edf7f195079ffff5ebdeea6a59ffb7e36bc" 399SRC_URI[anstream-0.6.18.sha256sum] = "8acc5369981196006228e28809f761875c0327210a891e941f4c683b3a99529b"
337SRC_URI[anstyle-parse-0.2.3.sha256sum] = "c75ac65da39e5fe5ab759307499ddad880d724eed2f6ce5b5e8a26f4f387928c" 400SRC_URI[anstyle-1.0.10.sha256sum] = "55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9"
338SRC_URI[anstyle-query-1.0.2.sha256sum] = "e28923312444cdd728e4738b3f9c9cac739500909bb3d3c94b43551b16517648" 401SRC_URI[anstyle-parse-0.2.6.sha256sum] = "3b2d16507662817a6a20a9ea92df6652ee4f94f914589377d69f3b21bc5798a9"
339SRC_URI[anstyle-wincon-3.0.2.sha256sum] = "1cd54b81ec8d6180e24654d0b371ad22fc3dd083b6ff8ba325b72e00c87660a7" 402SRC_URI[anstyle-query-1.1.2.sha256sum] = "79947af37f4177cfead1110013d678905c37501914fba0efea834c3fe9a8d60c"
340SRC_URI[anyhow-1.0.79.sha256sum] = "080e9890a082662b09c1ad45f567faeeb47f22b5fb23895fbe1e651e718e25ca" 403SRC_URI[anstyle-wincon-3.0.7.sha256sum] = "ca3534e77181a9cc07539ad51f2141fe32f6c3ffd4df76db8ad92346b003ae4e"
341SRC_URI[arc-swap-1.6.0.sha256sum] = "bddcadddf5e9015d310179a59bb28c4d4b9920ad0f11e8e14dbadf654890c9a6" 404SRC_URI[anyhow-1.0.98.sha256sum] = "e16d2d3311acee920a9eb8d33b8cbc1787ce4a264e85f964c2404b969bdcd487"
342SRC_URI[autocfg-1.1.0.sha256sum] = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" 405SRC_URI[arc-swap-1.7.1.sha256sum] = "69f7f8c3906b62b754cd5326047894316021dcfe5a194c8ea52bdd94934a3457"
406SRC_URI[arrayref-0.3.9.sha256sum] = "76a2e8124351fda1ef8aaaa3bbd7ebbcb486bbcd4225aca0aa0d84bb2db8fecb"
407SRC_URI[arrayvec-0.7.6.sha256sum] = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50"
408SRC_URI[autocfg-1.4.0.sha256sum] = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
343SRC_URI[base16ct-0.2.0.sha256sum] = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf" 409SRC_URI[base16ct-0.2.0.sha256sum] = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf"
344SRC_URI[base64-0.21.7.sha256sum] = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" 410SRC_URI[base64-0.22.1.sha256sum] = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
345SRC_URI[base64ct-1.6.0.sha256sum] = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" 411SRC_URI[base64ct-1.7.3.sha256sum] = "89e25b6adfb930f02d1981565a6e5d9c547ac15a96606256d3b59040e5cd4ca3"
346SRC_URI[bitflags-1.3.2.sha256sum] = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" 412SRC_URI[bitflags-2.9.1.sha256sum] = "1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967"
347SRC_URI[bitflags-2.4.2.sha256sum] = "ed570934406eb16438a4e976b1b4500774099c13b8cb96eec99f620f05090ddf"
348SRC_URI[bitmaps-2.1.0.sha256sum] = "031043d04099746d8db04daf1fa424b2bc8bd69d92b25962dcde24da39ab64a2" 413SRC_URI[bitmaps-2.1.0.sha256sum] = "031043d04099746d8db04daf1fa424b2bc8bd69d92b25962dcde24da39ab64a2"
414SRC_URI[blake3-1.8.2.sha256sum] = "3888aaa89e4b2a40fca9848e400f6a658a5a3978de7be858e209cafa8be9a4a0"
349SRC_URI[block-buffer-0.10.4.sha256sum] = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" 415SRC_URI[block-buffer-0.10.4.sha256sum] = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
350SRC_URI[bstr-1.9.0.sha256sum] = "c48f0051a4b4c5e0b6d365cd04af53aeaa209e3cc15ec2cdb69e73cc87fbd0dc" 416SRC_URI[bstr-1.12.0.sha256sum] = "234113d19d0d7d613b40e86fb654acf958910802bcceab913a4f9e7cda03b1a4"
351SRC_URI[btoi-0.4.3.sha256sum] = "9dd6407f73a9b8b6162d8a2ef999fe6afd7cc15902ebf42c5cd296addf17e0ad" 417SRC_URI[bumpalo-3.17.0.sha256sum] = "1628fb46dfa0b37568d12e5edd512553eccf6a22a78e8bde00bb4aed84d5bdbf"
352SRC_URI[bumpalo-3.14.0.sha256sum] = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec" 418SRC_URI[bytes-1.10.1.sha256sum] = "d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a"
353SRC_URI[bytes-1.5.0.sha256sum] = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223" 419SRC_URI[cargo-0.88.0.sha256sum] = "e3266d7f10870d970f22fd244b5d4bb017f723247e6743f2283f6fe63a4f6084"
354SRC_URI[bytesize-1.3.0.sha256sum] = "a3e368af43e418a04d52505cf3dbc23dda4e3407ae2fa99fd0e4f308ce546acc" 420SRC_URI[cargo-credential-0.4.8.sha256sum] = "ac1ef5080adde1db190e901884d2c400990856c2a23201c5a181b910a6dbdf2a"
355SRC_URI[cargo-0.77.0.sha256sum] = "4a399e5bde59d144aa2c7ba643765e2f8c6c3c601daa2da03202caf66f2552b3" 421SRC_URI[cargo-credential-libsecret-0.4.13.sha256sum] = "02d4e8e593dd3967cf90d6ae8e0e820abbb9ba168c4015dc04d90abc80477b8b"
356SRC_URI[cargo-credential-0.4.2.sha256sum] = "ec27ad011c37339b865c765fa28096cd63d5b25fab680c04d9e410cb586c327d" 422SRC_URI[cargo-credential-macos-keychain-0.4.13.sha256sum] = "4037e5af4bd682580c82143a0a22d9fd2ae6e57ee8b9ea7110dabcf1160828cc"
357SRC_URI[cargo-credential-libsecret-0.4.2.sha256sum] = "26b0ff7a44dd0af0fcd8d09bb1a6d7f7652847cba10aad017a6ea0a25ba7f00f" 423SRC_URI[cargo-credential-wincred-0.4.13.sha256sum] = "320491fd2d43703fe8685cc844af75eba650d32f51a26a9f37ec8fd0d426a738"
358SRC_URI[cargo-credential-macos-keychain-0.4.2.sha256sum] = "4b7cf89a47dc2c20ae3a7c94335e151be32c20f85cc2790defdb1f5dac818de5" 424SRC_URI[cargo-platform-0.2.0.sha256sum] = "84982c6c0ae343635a3a4ee6dedef965513735c8b183caa7289fa6e27399ebd4"
359SRC_URI[cargo-credential-wincred-0.4.2.sha256sum] = "341df45dc893bdffa36e2f7cbe3da90b38c5c74e7f4c0088ac801fd055b6df5b" 425SRC_URI[cargo-util-0.2.20.sha256sum] = "d767bc85f367f6483a6072430b56f5c0d6ee7636751a21a800526d0711753d76"
360SRC_URI[cargo-platform-0.1.7.sha256sum] = "694c8807f2ae16faecc43dc17d74b3eb042482789fd0eb64b39a2e04e087053f" 426SRC_URI[cargo-util-schemas-0.8.1.sha256sum] = "ea8b01266e95c3cf839fe626e651fa36a9171033caa917a773d7a0ba1d5ce6be"
361SRC_URI[cargo-util-0.2.9.sha256sum] = "74862c3c6e53a1c1f8f0178f9d38ab41e49746cd3a7cafc239b3d0248fd4e342" 427SRC_URI[cbindgen-0.28.0.sha256sum] = "eadd868a2ce9ca38de7eeafdcec9c7065ef89b42b32f0839278d55f35c54d1ff"
362SRC_URI[cbindgen-0.26.0.sha256sum] = "da6bc11b07529f16944307272d5bd9b22530bc7d05751717c9d416586cedab49" 428SRC_URI[cc-1.2.22.sha256sum] = "32db95edf998450acc7881c932f94cd9b05c87b4b2599e8bab064753da4acfd1"
363SRC_URI[cc-1.0.83.sha256sum] = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0"
364SRC_URI[cfg-if-1.0.0.sha256sum] = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 429SRC_URI[cfg-if-1.0.0.sha256sum] = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
365SRC_URI[clap-4.5.0.sha256sum] = "80c21025abd42669a92efc996ef13cfb2c5c627858421ea58d5c3b331a6c134f" 430SRC_URI[clap-4.5.38.sha256sum] = "ed93b9805f8ba930df42c2590f05453d5ec36cbb85d018868a5b24d31f6ac000"
366SRC_URI[clap_builder-4.5.0.sha256sum] = "458bf1f341769dfcf849846f65dffdf9146daa56bcd2a47cb4e1de9915567c99" 431SRC_URI[clap_builder-4.5.38.sha256sum] = "379026ff283facf611b0ea629334361c4211d1b12ee01024eec1591133b04120"
367SRC_URI[clap_derive-4.5.0.sha256sum] = "307bc0538d5f0f83b8248db3087aa92fe504e4691294d0c96c0eabc33f47ba47" 432SRC_URI[clap_complete-4.5.50.sha256sum] = "c91d3baa3bcd889d60e6ef28874126a0b384fd225ab83aa6d8a801c519194ce1"
368SRC_URI[clap_lex-0.7.0.sha256sum] = "98cc8fbded0c607b7ba9dd60cd98df59af97e84d24e49c8557331cfc26d301ce" 433SRC_URI[clap_derive-4.5.32.sha256sum] = "09176aae279615badda0765c0c0b3f6ed53f4709118af73cf4655d85d1530cd7"
369SRC_URI[clru-0.6.1.sha256sum] = "b8191fa7302e03607ff0e237d4246cc043ff5b3cb9409d995172ba3bea16b807" 434SRC_URI[clap_lex-0.7.4.sha256sum] = "f46ad14479a25103f283c0f10005961cf086d8dc42205bb44c46ac563475dca6"
370SRC_URI[color-print-0.3.5.sha256sum] = "7a858372ff14bab9b1b30ea504f2a4bc534582aee3e42ba2d41d2a7baba63d5d" 435SRC_URI[clru-0.6.2.sha256sum] = "cbd0f76e066e64fdc5631e3bb46381254deab9ef1158292f27c8c57e3bf3fe59"
371SRC_URI[color-print-proc-macro-0.3.5.sha256sum] = "57e37866456a721d0a404439a1adae37a31be4e0055590d053dfe6981e05003f" 436SRC_URI[color-print-0.3.7.sha256sum] = "3aa954171903797d5623e047d9ab69d91b493657917bdfb8c2c80ecaf9cdb6f4"
372SRC_URI[colorchoice-1.0.0.sha256sum] = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" 437SRC_URI[color-print-proc-macro-0.3.7.sha256sum] = "692186b5ebe54007e45a59aea47ece9eb4108e141326c304cdc91699a7118a22"
438SRC_URI[colorchoice-1.0.3.sha256sum] = "5b63caa9aa9397e2d9480a9b13673856c78d8ac123288526c37d7839f2a86990"
373SRC_URI[const-oid-0.9.6.sha256sum] = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" 439SRC_URI[const-oid-0.9.6.sha256sum] = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8"
374SRC_URI[core-foundation-0.9.4.sha256sum] = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f" 440SRC_URI[constant_time_eq-0.3.1.sha256sum] = "7c74b8349d32d297c9134b8c88677813a227df8f779daa29bfc29c183fe3dca6"
375SRC_URI[core-foundation-sys-0.8.6.sha256sum] = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f" 441SRC_URI[core-foundation-0.10.0.sha256sum] = "b55271e5c8c478ad3f38ad24ef34923091e0548492a266d19b3c0b4d82574c63"
376SRC_URI[cpufeatures-0.2.12.sha256sum] = "53fe5e26ff1b7aef8bca9c6080520cfb8d9333c7568e1829cef191a9723e5504" 442SRC_URI[core-foundation-sys-0.8.7.sha256sum] = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
377SRC_URI[crates-io-0.39.2.sha256sum] = "6622f902c3c338eced1f000091f034846ae36aadaf35d0acd1ab0469a2d8ef1f" 443SRC_URI[cpufeatures-0.2.17.sha256sum] = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280"
378SRC_URI[crc32fast-1.3.2.sha256sum] = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d" 444SRC_URI[crates-io-0.40.10.sha256sum] = "9c15b946f2bbd53f5be858ed02fcacfeb3646f3ca67b24defc276a01edd10de6"
379SRC_URI[crossbeam-channel-0.5.11.sha256sum] = "176dc175b78f56c0f321911d9c8eb2b77a78a4860b9c19db83835fea1a46649b" 445SRC_URI[crc32fast-1.4.2.sha256sum] = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3"
380SRC_URI[crossbeam-deque-0.8.5.sha256sum] = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d" 446SRC_URI[crossbeam-channel-0.5.15.sha256sum] = "82b8f8f868b36967f9606790d1903570de9ceaf870a7bf9fbbd3016d636a2cb2"
447SRC_URI[crossbeam-deque-0.8.6.sha256sum] = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51"
381SRC_URI[crossbeam-epoch-0.9.18.sha256sum] = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" 448SRC_URI[crossbeam-epoch-0.9.18.sha256sum] = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e"
382SRC_URI[crossbeam-utils-0.8.19.sha256sum] = "248e3bacc7dc6baa3b21e405ee045c3047101a49145e7e9eca583ab4c2ca5345" 449SRC_URI[crossbeam-utils-0.8.21.sha256sum] = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
383SRC_URI[crypto-bigint-0.5.5.sha256sum] = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76" 450SRC_URI[crypto-bigint-0.5.5.sha256sum] = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76"
384SRC_URI[crypto-common-0.1.6.sha256sum] = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" 451SRC_URI[crypto-common-0.1.6.sha256sum] = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3"
385SRC_URI[ct-codecs-1.1.1.sha256sum] = "f3b7eb4404b8195a9abb6356f4ac07d8ba267045c8d6d220ac4dc992e6cc75df" 452SRC_URI[ct-codecs-1.1.5.sha256sum] = "dd0d274c65cbc1c34703d2fc2ce0fb892ff68f4516b677671a2f238a30b9b2b2"
386SRC_URI[curl-0.4.45.sha256sum] = "f8e5123ab8c31200ce725939049ecd4a090b242608f24048131dedf9dd195aed" 453SRC_URI[curl-0.4.47.sha256sum] = "d9fb4d13a1be2b58f14d60adba57c9834b78c62fd86c3e76a148f732686e9265"
387SRC_URI[curl-sys-0.4.72+curl-8.6.0.sha256sum] = "29cbdc8314c447d11e8fd156dcdd031d9e02a7a976163e396b548c03153bc9ea" 454SRC_URI[curl-sys-0.4.80+curl-8.12.1.sha256sum] = "55f7df2eac63200c3ab25bde3b2268ef2ee56af3d238e76d61f01c3c49bff734"
388SRC_URI[der-0.7.8.sha256sum] = "fffa369a668c8af7dbf8b5e56c9f744fbd399949ed171606040001947de40b1c" 455SRC_URI[dbus-0.9.7.sha256sum] = "1bb21987b9fb1613058ba3843121dd18b163b254d8a6e797e144cbac14d96d1b"
389SRC_URI[deranged-0.3.11.sha256sum] = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4" 456SRC_URI[der-0.7.10.sha256sum] = "e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb"
457SRC_URI[deranged-0.4.0.sha256sum] = "9c9e6a11ca8224451684bc0d7d5a7adbf8f2fd6887261a1cfc3c0432f9d4068e"
390SRC_URI[digest-0.10.7.sha256sum] = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" 458SRC_URI[digest-0.10.7.sha256sum] = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
391SRC_URI[dunce-1.0.4.sha256sum] = "56ce8c6da7551ec6c462cbaf3bfbc75131ebbfa1c944aeaa9dab51ca1c5f0c3b" 459SRC_URI[displaydoc-0.2.5.sha256sum] = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0"
460SRC_URI[dunce-1.0.5.sha256sum] = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813"
392SRC_URI[ecdsa-0.16.9.sha256sum] = "ee27f32b5c5292967d2d4a9d7f1e0b0aed2c15daded5a60300e4abb9d8020bca" 461SRC_URI[ecdsa-0.16.9.sha256sum] = "ee27f32b5c5292967d2d4a9d7f1e0b0aed2c15daded5a60300e4abb9d8020bca"
393SRC_URI[ed25519-compact-2.1.1.sha256sum] = "e9b3460f44bea8cd47f45a0c70892f1eff856d97cd55358b2f73f663789f6190" 462SRC_URI[ed25519-compact-2.1.1.sha256sum] = "e9b3460f44bea8cd47f45a0c70892f1eff856d97cd55358b2f73f663789f6190"
394SRC_URI[either-1.9.0.sha256sum] = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" 463SRC_URI[either-1.15.0.sha256sum] = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"
395SRC_URI[elliptic-curve-0.13.8.sha256sum] = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47" 464SRC_URI[elliptic-curve-0.13.8.sha256sum] = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47"
396SRC_URI[encoding_rs-0.8.33.sha256sum] = "7268b386296a025e474d5140678f75d6de9493ae55a5d709eeb9dd08149945e1" 465SRC_URI[encoding_rs-0.8.35.sha256sum] = "75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3"
397SRC_URI[equivalent-1.0.1.sha256sum] = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" 466SRC_URI[equivalent-1.0.2.sha256sum] = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
398SRC_URI[erased-serde-0.4.2.sha256sum] = "55d05712b2d8d88102bc9868020c9e5c7a1f5527c452b9b97450a1d006140ba7" 467SRC_URI[erased-serde-0.4.6.sha256sum] = "e004d887f51fcb9fef17317a2f3525c887d8aa3f4f50fed920816a688284a5b7"
399SRC_URI[errno-0.3.8.sha256sum] = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245" 468SRC_URI[errno-0.3.12.sha256sum] = "cea14ef9355e3beab063703aa9dab15afd25f0667c341310c1e5274bb1d0da18"
400SRC_URI[fallible-iterator-0.3.0.sha256sum] = "2acce4a10f12dc2fb14a218589d4f1f62ef011b2d0cc4b3cb1bba8e94da14649" 469SRC_URI[fallible-iterator-0.3.0.sha256sum] = "2acce4a10f12dc2fb14a218589d4f1f62ef011b2d0cc4b3cb1bba8e94da14649"
401SRC_URI[fallible-streaming-iterator-0.1.9.sha256sum] = "7360491ce676a36bf9bb3c56c1aa791658183a54d2744120f27285738d90465a" 470SRC_URI[fallible-streaming-iterator-0.1.9.sha256sum] = "7360491ce676a36bf9bb3c56c1aa791658183a54d2744120f27285738d90465a"
402SRC_URI[faster-hex-0.9.0.sha256sum] = "a2a2b11eda1d40935b26cf18f6833c526845ae8c41e58d09af6adeb6f0269183" 471SRC_URI[faster-hex-0.9.0.sha256sum] = "a2a2b11eda1d40935b26cf18f6833c526845ae8c41e58d09af6adeb6f0269183"
403SRC_URI[fastrand-2.0.1.sha256sum] = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" 472SRC_URI[fastrand-2.3.0.sha256sum] = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be"
404SRC_URI[ff-0.13.0.sha256sum] = "ded41244b729663b1e574f1b4fb731469f69f79c17667b5d776b16cda0479449" 473SRC_URI[ff-0.13.1.sha256sum] = "c0b50bfb653653f9ca9095b427bed08ab8d75a137839d9ad64eb11810d5b6393"
405SRC_URI[fiat-crypto-0.2.6.sha256sum] = "1676f435fc1dadde4d03e43f5d62b259e1ce5f40bd4ffb21db2b42ebe59c1382" 474SRC_URI[fiat-crypto-0.2.9.sha256sum] = "28dea519a9695b9977216879a3ebfddf92f1c08c05d984f8996aecd6ecdc811d"
406SRC_URI[filetime-0.2.23.sha256sum] = "1ee447700ac8aa0b2f2bd7bc4462ad686ba06baa6727ac149a2d6277f0d240fd" 475SRC_URI[filetime-0.2.25.sha256sum] = "35c0522e981e68cbfa8c3f978441a5f34b30b96e146b33cd3359176b50fe8586"
407SRC_URI[flate2-1.0.28.sha256sum] = "46303f565772937ffe1d394a4fac6f411c6013172fadde9dcdb1e147a086940e" 476SRC_URI[flate2-1.1.1.sha256sum] = "7ced92e76e966ca2fd84c8f7aa01a4aea65b0eb6648d72f7c8f3e2764a67fece"
477SRC_URI[fnv-1.0.7.sha256sum] = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
478SRC_URI[foldhash-0.1.5.sha256sum] = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2"
408SRC_URI[foreign-types-0.3.2.sha256sum] = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" 479SRC_URI[foreign-types-0.3.2.sha256sum] = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1"
409SRC_URI[foreign-types-shared-0.1.1.sha256sum] = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" 480SRC_URI[foreign-types-shared-0.1.1.sha256sum] = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
410SRC_URI[form_urlencoded-1.2.1.sha256sum] = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" 481SRC_URI[form_urlencoded-1.2.1.sha256sum] = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456"
411SRC_URI[generic-array-0.14.7.sha256sum] = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" 482SRC_URI[generic-array-0.14.7.sha256sum] = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
412SRC_URI[getrandom-0.2.12.sha256sum] = "190092ea657667030ac6a35e305e62fc4dd69fd98ac98631e5d3a2b1575a12b5" 483SRC_URI[getrandom-0.2.16.sha256sum] = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592"
413SRC_URI[git2-0.18.2.sha256sum] = "1b3ba52851e73b46a4c3df1d89343741112003f0f6f13beb0dfac9e457c3fdcd" 484SRC_URI[getrandom-0.3.3.sha256sum] = "26145e563e54f2cadc477553f1ec5ee650b00862f0a58bcd12cbdc5f0ea2d2f4"
414SRC_URI[git2-curl-0.19.0.sha256sum] = "78e26b61608c573ffd26fc79061a823aa5147449a1afe1f61679a21e2031f7c3" 485SRC_URI[git2-0.20.2.sha256sum] = "2deb07a133b1520dc1a5690e9bd08950108873d7ed5de38dcc74d3b5ebffa110"
415SRC_URI[gix-0.56.0.sha256sum] = "5b0dcdc9c60d66535897fa40a7ea2a635e72f99456b1d9ae86b7e170e80618cb" 486SRC_URI[git2-curl-0.21.0.sha256sum] = "be8dcabbc09ece4d30a9aa983d5804203b7e2f8054a171f792deff59b56d31fa"
416SRC_URI[gix-actor-0.28.1.sha256sum] = "2eadca029ef716b4378f7afb19f7ee101fde9e58ba1f1445971315ac866db417" 487SRC_URI[gix-0.70.0.sha256sum] = "736f14636705f3a56ea52b553e67282519418d9a35bb1e90b3a9637a00296b68"
417SRC_URI[gix-attributes-0.20.1.sha256sum] = "0f395469d38c76ec47cd1a6c5a53fbc3f13f737b96eaf7535f4e6b367e643381" 488SRC_URI[gix-actor-0.33.2.sha256sum] = "20018a1a6332e065f1fcc8305c1c932c6b8c9985edea2284b3c79dc6fa3ee4b2"
418SRC_URI[gix-bitmap-0.2.10.sha256sum] = "78b6cd0f246180034ddafac9b00a112f19178135b21eb031b3f79355891f7325" 489SRC_URI[gix-attributes-0.24.0.sha256sum] = "f151000bf662ef5f641eca6102d942ee31ace80f271a3ef642e99776ce6ddb38"
419SRC_URI[gix-chunk-0.4.7.sha256sum] = "003ec6deacf68076a0c157271a127e0bb2c031c1a41f7168cbe5d248d9b85c78" 490SRC_URI[gix-bitmap-0.2.14.sha256sum] = "b1db9765c69502650da68f0804e3dc2b5f8ccc6a2d104ca6c85bc40700d37540"
420SRC_URI[gix-command-0.3.4.sha256sum] = "c82b5e9494e61983e61049bbd15fe0fa6b70672dd236362bdb5b2b50fc428f10" 491SRC_URI[gix-chunk-0.4.11.sha256sum] = "0b1f1d8764958699dc764e3f727cef280ff4d1bd92c107bbf8acd85b30c1bd6f"
421SRC_URI[gix-commitgraph-0.22.1.sha256sum] = "85a7007ba021f059803afaf6f8a48872422abc20550ac12ede6ddea2936cec36" 492SRC_URI[gix-command-0.4.1.sha256sum] = "cb410b84d6575db45e62025a9118bdbf4d4b099ce7575a76161e898d9ca98df1"
422SRC_URI[gix-config-0.32.1.sha256sum] = "0341471d55d8676e98b88e121d7065dfa4c9c5acea4b6d6ecdd2846e85cce0c3" 493SRC_URI[gix-commitgraph-0.26.0.sha256sum] = "e23a8ec2d8a16026a10dafdb6ed51bcfd08f5d97f20fa52e200bc50cb72e4877"
423SRC_URI[gix-config-value-0.14.4.sha256sum] = "5b8a1e7bfb37a46ed0b8468db37a6d8a0a61d56bdbe4603ae492cb322e5f3958" 494SRC_URI[gix-config-0.43.0.sha256sum] = "377c1efd2014d5d469e0b3cd2952c8097bce9828f634e04d5665383249f1d9e9"
424SRC_URI[gix-credentials-0.22.0.sha256sum] = "513dac42450b27946bd0a0535a3a5a88e473d6522e5e3439a129cab779c88f3d" 495SRC_URI[gix-config-value-0.14.12.sha256sum] = "8dc2c844c4cf141884678cabef736fd91dd73068b9146e6f004ba1a0457944b6"
425SRC_URI[gix-date-0.8.3.sha256sum] = "fb7f3dfb72bebe3449b5e642be64e3c6ccbe9821c8b8f19f487cf5bfbbf4067e" 496SRC_URI[gix-credentials-0.27.0.sha256sum] = "cf950f9ee1690bb9c4388b5152baa8a9f41ad61e5cf1ba0ec8c207b08dab9e45"
426SRC_URI[gix-diff-0.38.0.sha256sum] = "8119a985887cfe68f4bdf92e51bd64bc758a73882d82fcfc03ebcb164441c85d" 497SRC_URI[gix-date-0.9.4.sha256sum] = "daa30058ec7d3511fbc229e4f9e696a35abd07ec5b82e635eff864a2726217e4"
427SRC_URI[gix-discover-0.27.0.sha256sum] = "6fad89416ebe0b3b7df78464124e2a02417b6cd3743d48ad93df86f4d2929c07" 498SRC_URI[gix-diff-0.50.0.sha256sum] = "62afb7f4ca0acdf4e9dad92065b2eb1bf2993bcc5014b57bc796e3a365b17c4d"
428SRC_URI[gix-features-0.35.0.sha256sum] = "9b9ff423ae4983f762659040d13dd7a5defbd54b6a04ac3cc7347741cec828cd" 499SRC_URI[gix-dir-0.12.0.sha256sum] = "c1d78db3927a12f7d1b788047b84efacaab03ef25738bd1c77856ad8966bd57b"
429SRC_URI[gix-features-0.36.1.sha256sum] = "4d46a4a5c6bb5bebec9c0d18b65ada20e6517dbd7cf855b87dd4bbdce3a771b2" 500SRC_URI[gix-discover-0.38.0.sha256sum] = "d0c2414bdf04064e0f5a5aa029dfda1e663cf9a6c4bfc8759f2d369299bb65d8"
430SRC_URI[gix-filter-0.7.0.sha256sum] = "6d6a5c9d8e55c364e7c226919c19c9a28be1392d6208b5008059fa94ff7e2bf0" 501SRC_URI[gix-features-0.40.0.sha256sum] = "8bfdd4838a8d42bd482c9f0cb526411d003ee94cc7c7b08afe5007329c71d554"
431SRC_URI[gix-fs-0.8.1.sha256sum] = "20e86eb040f5776a5ade092282e51cdcad398adb77d948b88d17583c2ae4e107" 502SRC_URI[gix-filter-0.17.0.sha256sum] = "bdcc36cd7dbc63ed0ec3558645886553d1afd3cd09daa5efb9cba9cceb942bbb"
432SRC_URI[gix-glob-0.14.1.sha256sum] = "5db19298c5eeea2961e5b3bf190767a2d1f09b8802aeb5f258e42276350aff19" 503SRC_URI[gix-fs-0.13.0.sha256sum] = "182e7fa7bfdf44ffb7cfe7451b373cdf1e00870ac9a488a49587a110c562063d"
433SRC_URI[gix-hash-0.13.3.sha256sum] = "1f8cf8c2266f63e582b7eb206799b63aa5fa68ee510ad349f637dfe2d0653de0" 504SRC_URI[gix-glob-0.18.0.sha256sum] = "4e9c7249fa0a78f9b363aa58323db71e0a6161fd69860ed6f48dedf0ef3a314e"
434SRC_URI[gix-hashtable-0.4.1.sha256sum] = "feb61880816d7ec4f0b20606b498147d480860ddd9133ba542628df2f548d3ca" 505SRC_URI[gix-hash-0.16.0.sha256sum] = "e81c5ec48649b1821b3ed066a44efb95f1a268b35c1d91295e61252539fbe9f8"
435SRC_URI[gix-ignore-0.9.1.sha256sum] = "a215cc8cf21645bca131fcf6329d3ebd46299c47dbbe27df71bb1ca9e328b879" 506SRC_URI[gix-hashtable-0.7.0.sha256sum] = "189130bc372accd02e0520dc5ab1cef318dcc2bc829b76ab8d84bbe90ac212d1"
436SRC_URI[gix-index-0.27.1.sha256sum] = "f3f308f5cd2992e96a274b0d1931e9a0e44fdcba87695ead3f6df30d8a697e9c" 507SRC_URI[gix-ignore-0.13.0.sha256sum] = "4f529dcb80bf9855c0a7c49f0ac588df6d6952d63a63fefc254b9c869d2cdf6f"
437SRC_URI[gix-lock-11.0.1.sha256sum] = "7e5c65e6a29830a435664891ced3f3c1af010f14900226019590ee0971a22f37" 508SRC_URI[gix-index-0.38.0.sha256sum] = "acd12e3626879369310fffe2ac61acc828613ef656b50c4ea984dd59d7dc85d8"
438SRC_URI[gix-macros-0.1.3.sha256sum] = "d75e7ab728059f595f6ddc1ad8771b8d6a231971ae493d9d5948ecad366ee8bb" 509SRC_URI[gix-lock-16.0.0.sha256sum] = "9739815270ff6940968441824d162df9433db19211ca9ba8c3fc1b50b849c642"
439SRC_URI[gix-negotiate-0.10.0.sha256sum] = "979f6accd9c051b3dd018b50adf29c0a2459edddf6105cc70b767976cd6f8014" 510SRC_URI[gix-negotiate-0.18.0.sha256sum] = "a6a8af1ef7bbe303d30b55312b7f4d33e955de43a3642ae9b7347c623d80ef80"
440SRC_URI[gix-object-0.39.0.sha256sum] = "febf79c5825720c1c63fe974c7bbe695d0cb54aabad73f45671c60ce0e501e33" 511SRC_URI[gix-object-0.47.0.sha256sum] = "ddc4b3a0044244f0fe22347fb7a79cca165e37829d668b41b85ff46a43e5fd68"
441SRC_URI[gix-odb-0.55.0.sha256sum] = "1fae5f971540c99c6ecc8d4368ecc9d18a9dc8b9391025c68c4399747dc93bac" 512SRC_URI[gix-odb-0.67.0.sha256sum] = "3e93457df69cd09573608ce9fa4f443fbd84bc8d15d8d83adecd471058459c1b"
442SRC_URI[gix-pack-0.45.0.sha256sum] = "4569491c92446fddf373456ff360aff9a9effd627b40a70f2d7914dcd75a3205" 513SRC_URI[gix-pack-0.57.0.sha256sum] = "fc13a475b3db735617017fb35f816079bf503765312d4b1913b18cf96f3fa515"
443SRC_URI[gix-packetline-0.17.3.sha256sum] = "09ff45eef7747bde4986429a3e813478d50c2688b8f239e57bd3aa81065b285f" 514SRC_URI[gix-packetline-0.18.4.sha256sum] = "123844a70cf4d5352441dc06bab0da8aef61be94ec239cb631e0ba01dc6d3a04"
444SRC_URI[gix-packetline-blocking-0.17.3.sha256sum] = "ca8ef6dd3ea50e26f3bf572e90c034d033c804d340cd1eb386392f184a9ba2f7" 515SRC_URI[gix-packetline-blocking-0.18.3.sha256sum] = "1ecf3ea2e105c7e45587bac04099824301262a6c43357fad5205da36dbb233b3"
445SRC_URI[gix-path-0.10.5.sha256sum] = "97e9ad649bf5e109562d6acba657ca428661ec08e77eaf3a755d8fa55485be9c" 516SRC_URI[gix-path-0.10.18.sha256sum] = "567f65fec4ef10dfab97ae71f26a27fd4d7fe7b8e3f90c8a58551c41ff3fb65b"
446SRC_URI[gix-pathspec-0.4.1.sha256sum] = "1dbbb92f75a38ef043c8bb830b339b38d0698d7f3746968b5fcbade7a880494d" 517SRC_URI[gix-pathspec-0.9.0.sha256sum] = "6430d3a686c08e9d59019806faa78c17315fe22ae73151a452195857ca02f86c"
447SRC_URI[gix-prompt-0.8.2.sha256sum] = "02bd89d058258e53e0fd6c57f13ee16c5673a83066a68e11f88626fc8cfda5f6" 518SRC_URI[gix-prompt-0.9.1.sha256sum] = "79f2185958e1512b989a007509df8d61dca014aa759a22bee80cfa6c594c3b6d"
448SRC_URI[gix-protocol-0.42.0.sha256sum] = "95736ef407db0bd15a5bdea791fbfcf523b9f13b96c852c240cd86a9ee0ef817" 519SRC_URI[gix-protocol-0.48.0.sha256sum] = "6c61bd61afc6b67d213241e2100394c164be421e3f7228d3521b04f48ca5ba90"
449SRC_URI[gix-quote-0.4.10.sha256sum] = "9f7dc10303d73a960d10fb82f81188b036ac3e6b11b5795b20b1a60b51d1321f" 520SRC_URI[gix-quote-0.4.15.sha256sum] = "e49357fccdb0c85c0d3a3292a9f6db32d9b3535959b5471bb9624908f4a066c6"
450SRC_URI[gix-ref-0.39.1.sha256sum] = "3b2069adc212cf7f3317ef55f6444abd06c50f28479dbbac5a86acf3b05cbbfe" 521SRC_URI[gix-ref-0.50.0.sha256sum] = "47adf4c5f933429f8554e95d0d92eee583cfe4b95d2bf665cd6fd4a1531ee20c"
451SRC_URI[gix-refspec-0.20.0.sha256sum] = "76d9d3b82e1ee78fc0dc1c37ea5ea76c2dbc73f407db155f0dfcea285e583bee" 522SRC_URI[gix-refspec-0.28.0.sha256sum] = "59650228d8f612f68e7f7a25f517fcf386c5d0d39826085492e94766858b0a90"
452SRC_URI[gix-revision-0.24.0.sha256sum] = "fe5dd51710ce5434bc315ea30394fab483c5377276494edd79222b321a5a9544" 523SRC_URI[gix-revision-0.32.0.sha256sum] = "3fe28bbccca55da6d66e6c6efc6bb4003c29d407afd8178380293729733e6b53"
453SRC_URI[gix-revwalk-0.10.0.sha256sum] = "69d4ed2493ca94a475fdf147138e1ef8bab3b6ebb56abf3d9bda1c05372ec1dd" 524SRC_URI[gix-revwalk-0.18.0.sha256sum] = "d4ecb80c235b1e9ef2b99b23a81ea50dd569a88a9eb767179793269e0e616247"
454SRC_URI[gix-sec-0.10.4.sha256sum] = "f8d9bf462feaf05f2121cba7399dbc6c34d88a9cad58fc1e95027791d6a3c6d2" 525SRC_URI[gix-sec-0.10.12.sha256sum] = "47aeb0f13de9ef2f3033f5ff218de30f44db827ac9f1286f9ef050aacddd5888"
455SRC_URI[gix-submodule-0.6.0.sha256sum] = "02a3d7f60a95bdcaeb8981663c99d1c9f4de42aab1169524c949e948989809f9" 526SRC_URI[gix-shallow-0.2.0.sha256sum] = "ab72543011e303e52733c85bef784603ef39632ddf47f69723def52825e35066"
456SRC_URI[gix-tempfile-11.0.1.sha256sum] = "388dd29114a86ec69b28d1e26d6d63a662300ecf61ab3f4cc578f7d7dc9e7e23" 527SRC_URI[gix-submodule-0.17.0.sha256sum] = "74972fe8d46ac8a09490ae1e843b4caf221c5b157c5ac17057e8e1c38417a3ac"
457SRC_URI[gix-trace-0.1.7.sha256sum] = "02b202d766a7fefc596e2cc6a89cda8ad8ad733aed82da635ac120691112a9b1" 528SRC_URI[gix-tempfile-16.0.0.sha256sum] = "2558f423945ef24a8328c55d1fd6db06b8376b0e7013b1bb476cc4ffdf678501"
458SRC_URI[gix-transport-0.39.0.sha256sum] = "f731cfefc4d62468c6dd2053f5c6707828256a6d2f5488c1811e3f42c178b144" 529SRC_URI[gix-trace-0.1.12.sha256sum] = "7c396a2036920c69695f760a65e7f2677267ccf483f25046977d87e4cb2665f7"
459SRC_URI[gix-traverse-0.35.0.sha256sum] = "df2112088122a0206592c84fbd42020db63b2ccaed66a0293779f2e5fbf80474" 530SRC_URI[gix-transport-0.45.0.sha256sum] = "11187418489477b1b5b862ae1aedbbac77e582f2c4b0ef54280f20cfe5b964d9"
460SRC_URI[gix-url-0.25.2.sha256sum] = "0c427a1a11ccfa53a4a2da47d9442c2241deee63a154bc15cc14b8312fbc4005" 531SRC_URI[gix-traverse-0.44.0.sha256sum] = "2bec70e53896586ef32a3efa7e4427b67308531ed186bb6120fb3eca0f0d61b4"
461SRC_URI[gix-utils-0.1.9.sha256sum] = "56e839f3d0798b296411263da6bee780a176ef8008a5dfc31287f7eda9266ab8" 532SRC_URI[gix-url-0.29.0.sha256sum] = "29218c768b53dd8f116045d87fec05b294c731a4b2bdd257eeca2084cc150b13"
462SRC_URI[gix-validate-0.8.3.sha256sum] = "ac7cc36f496bd5d96cdca0f9289bb684480725d40db60f48194aa7723b883854" 533SRC_URI[gix-utils-0.1.14.sha256sum] = "ff08f24e03ac8916c478c8419d7d3c33393da9bb41fa4c24455d5406aeefd35f"
463SRC_URI[gix-worktree-0.28.0.sha256sum] = "7f1d0ae01dee14abe8c8117d78d7518f9a507de2dc4522546fbf4c444e9860b4" 534SRC_URI[gix-validate-0.9.4.sha256sum] = "34b5f1253109da6c79ed7cf6e1e38437080bb6d704c76af14c93e2f255234084"
464SRC_URI[glob-0.3.1.sha256sum] = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" 535SRC_URI[gix-validate-0.10.0.sha256sum] = "77b9e00cacde5b51388d28ed746c493b18a6add1f19b5e01d686b3b9ece66d4d"
465SRC_URI[globset-0.4.14.sha256sum] = "57da3b9b5b85bd66f31093f8c408b90a74431672542466497dcbdfdc02034be1" 536SRC_URI[gix-worktree-0.39.0.sha256sum] = "6673512f7eaa57a6876adceca6978a501d6c6569a4f177767dc405f8b9778958"
537SRC_URI[glob-0.3.2.sha256sum] = "a8d1add55171497b4705a648c6b583acafb01d58050a51727785f0b2c8e0a2b2"
538SRC_URI[globset-0.4.16.sha256sum] = "54a1028dfc5f5df5da8a56a73e6c153c9a9708ec57232470703592a3f18e49f5"
466SRC_URI[group-0.13.0.sha256sum] = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" 539SRC_URI[group-0.13.0.sha256sum] = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63"
467SRC_URI[hashbrown-0.12.3.sha256sum] = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" 540SRC_URI[hashbrown-0.14.5.sha256sum] = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
468SRC_URI[hashbrown-0.14.3.sha256sum] = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" 541SRC_URI[hashbrown-0.15.3.sha256sum] = "84b26c544d002229e640969970a2e74021aadf6e2f96372b9c58eff97de08eb3"
469SRC_URI[hashlink-0.8.4.sha256sum] = "e8094feaf31ff591f651a2664fb9cfd92bba7a60ce3197265e9482ebe753c8f7" 542SRC_URI[hashlink-0.10.0.sha256sum] = "7382cf6263419f2d8df38c55d7da83da5c18aef87fc7a7fc1fb1e344edfe14c1"
470SRC_URI[heck-0.4.1.sha256sum] = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" 543SRC_URI[heck-0.4.1.sha256sum] = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
471SRC_URI[hermit-abi-0.3.5.sha256sum] = "d0c62115964e08cb8039170eb33c1d0e2388a256930279edca206fff675f82c3" 544SRC_URI[heck-0.5.0.sha256sum] = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
472SRC_URI[hex-0.4.3.sha256sum] = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" 545SRC_URI[hex-0.4.3.sha256sum] = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
473SRC_URI[hkdf-0.12.4.sha256sum] = "7b5f8eb2ad728638ea2c7d47a21db23b7b58a72ed6a38256b8a1849f15fbbdf7" 546SRC_URI[hkdf-0.12.4.sha256sum] = "7b5f8eb2ad728638ea2c7d47a21db23b7b58a72ed6a38256b8a1849f15fbbdf7"
474SRC_URI[hmac-0.12.1.sha256sum] = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" 547SRC_URI[hmac-0.12.1.sha256sum] = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e"
475SRC_URI[home-0.5.9.sha256sum] = "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5" 548SRC_URI[home-0.5.11.sha256sum] = "589533453244b0995c858700322199b2becb13b627df2851f64a2775d024abcf"
476SRC_URI[http-auth-0.1.9.sha256sum] = "643c9bbf6a4ea8a656d6b4cd53d34f79e3f841ad5203c1a55fb7d761923bc255" 549SRC_URI[http-auth-0.1.10.sha256sum] = "150fa4a9462ef926824cf4519c84ed652ca8f4fbae34cb8af045b5cbcaf98822"
477SRC_URI[humantime-2.1.0.sha256sum] = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" 550SRC_URI[icu_collections-2.0.0.sha256sum] = "200072f5d0e3614556f94a9930d5dc3e0662a652823904c3a75dc3b0af7fee47"
478SRC_URI[idna-0.5.0.sha256sum] = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6" 551SRC_URI[icu_locale_core-2.0.0.sha256sum] = "0cde2700ccaed3872079a65fb1a78f6c0a36c91570f28755dda67bc8f7d9f00a"
479SRC_URI[ignore-0.4.22.sha256sum] = "b46810df39e66e925525d6e38ce1e7f6e1d208f72dc39757880fcb66e2c58af1" 552SRC_URI[icu_normalizer-2.0.0.sha256sum] = "436880e8e18df4d7bbc06d58432329d6458cc84531f7ac5f024e93deadb37979"
553SRC_URI[icu_normalizer_data-2.0.0.sha256sum] = "00210d6893afc98edb752b664b8890f0ef174c8adbb8d0be9710fa66fbbf72d3"
554SRC_URI[icu_properties-2.0.0.sha256sum] = "2549ca8c7241c82f59c80ba2a6f415d931c5b58d24fb8412caa1a1f02c49139a"
555SRC_URI[icu_properties_data-2.0.0.sha256sum] = "8197e866e47b68f8f7d95249e172903bec06004b18b2937f1095d40a0c57de04"
556SRC_URI[icu_provider-2.0.0.sha256sum] = "03c80da27b5f4187909049ee2d72f276f0d9f99a42c306bd0131ecfe04d8e5af"
557SRC_URI[idna-1.0.3.sha256sum] = "686f825264d630750a544639377bae737628043f20d38bbc029e8f29ea968a7e"
558SRC_URI[idna_adapter-1.2.1.sha256sum] = "3acae9609540aa318d1bc588455225fb2085b9ed0c4f6bd0d9d5bcd86f1a0344"
559SRC_URI[ignore-0.4.23.sha256sum] = "6d89fd380afde86567dfba715db065673989d6253f42b88179abd3eae47bda4b"
480SRC_URI[im-rc-15.1.0.sha256sum] = "af1955a75fa080c677d3972822ec4bad316169ab1cfc6c257a942c2265dbe5fe" 560SRC_URI[im-rc-15.1.0.sha256sum] = "af1955a75fa080c677d3972822ec4bad316169ab1cfc6c257a942c2265dbe5fe"
481SRC_URI[indexmap-1.9.3.sha256sum] = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" 561SRC_URI[implib-0.3.5.sha256sum] = "598bf7096215f835b0f70c94d7b033da3cbf66181b619f25e54d65adaf825e62"
482SRC_URI[indexmap-2.2.2.sha256sum] = "824b2ae422412366ba479e8111fd301f7b5faece8149317bb81925979a53f520" 562SRC_URI[indexmap-2.9.0.sha256sum] = "cea70ddb795996207ad57735b50c5982d8844f38ba9ee5f1aedcfb708a2aa11e"
483SRC_URI[is-terminal-0.4.11.sha256sum] = "fe8f25ce1159c7740ff0b9b2f5cdf4a8428742ba7c112b9f20f22cd5219c7dab" 563SRC_URI[is_executable-1.0.4.sha256sum] = "d4a1b5bad6f9072935961dfbf1cced2f3d129963d091b6f69f007fe04e758ae2"
484SRC_URI[itertools-0.12.1.sha256sum] = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" 564SRC_URI[is_terminal_polyfill-1.70.1.sha256sum] = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf"
485SRC_URI[itoa-1.0.10.sha256sum] = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c" 565SRC_URI[itertools-0.14.0.sha256sum] = "2b192c782037fadd9cfa75548310488aabdbf3d2da73885b31bd0abd03351285"
486SRC_URI[jobserver-0.1.28.sha256sum] = "ab46a6e9526ddef3ae7f787c06f0f2600639ba80ea3eade3d8e670a2230f51d6" 566SRC_URI[itoa-1.0.15.sha256sum] = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
487SRC_URI[js-sys-0.3.68.sha256sum] = "406cda4b368d531c842222cf9d2600a9a4acce8d29423695379c6868a143a9ee" 567SRC_URI[jiff-0.2.13.sha256sum] = "f02000660d30638906021176af16b17498bd0d12813dbfe7b276d8bc7f3c0806"
488SRC_URI[kstring-2.0.0.sha256sum] = "ec3066350882a1cd6d950d055997f379ac37fd39f81cd4d8ed186032eb3c5747" 568SRC_URI[jiff-static-0.2.13.sha256sum] = "f3c30758ddd7188629c6713fc45d1188af4f44c90582311d0c8d8c9907f60c48"
489SRC_URI[lazy_static-1.4.0.sha256sum] = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" 569SRC_URI[jiff-tzdb-0.1.4.sha256sum] = "c1283705eb0a21404d2bfd6eef2a7593d240bc42a0bdb39db0ad6fa2ec026524"
570SRC_URI[jiff-tzdb-platform-0.1.3.sha256sum] = "875a5a69ac2bab1a891711cf5eccbec1ce0341ea805560dcd90b7a2e925132e8"
571SRC_URI[jobserver-0.1.33.sha256sum] = "38f262f097c174adebe41eb73d66ae9c06b2844fb0da69969647bbddd9b0538a"
572SRC_URI[js-sys-0.3.77.sha256sum] = "1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f"
573SRC_URI[kstring-2.0.2.sha256sum] = "558bf9508a558512042d3095138b1f7b8fe90c5467d94f9f1da28b3731c5dbd1"
574SRC_URI[lazy_static-1.5.0.sha256sum] = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
490SRC_URI[lazycell-1.3.0.sha256sum] = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" 575SRC_URI[lazycell-1.3.0.sha256sum] = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
491SRC_URI[libc-0.2.153.sha256sum] = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" 576SRC_URI[libc-0.2.172.sha256sum] = "d750af042f7ef4f724306de029d18836c26c1765a54a6a3f094cbd23a7267ffa"
492SRC_URI[libgit2-sys-0.16.2+1.7.2.sha256sum] = "ee4126d8b4ee5c9d9ea891dd875cfdc1e9d0950437179104b183d7d8a74d24e8" 577SRC_URI[libdbus-sys-0.2.5.sha256sum] = "06085512b750d640299b79be4bad3d2fa90a9c00b1fd9e1b46364f66f0485c72"
493SRC_URI[libloading-0.8.1.sha256sum] = "c571b676ddfc9a8c12f1f3d3085a7b163966a8fd8098a90640953ce5f6170161" 578SRC_URI[libgit2-sys-0.18.1+1.9.0.sha256sum] = "e1dcb20f84ffcdd825c7a311ae347cce604a6f084a767dec4a4929829645290e"
494SRC_URI[libnghttp2-sys-0.1.9+1.58.0.sha256sum] = "b57e858af2798e167e709b9d969325b6d8e9d50232fcbc494d7d54f976854a64" 579SRC_URI[libloading-0.8.7.sha256sum] = "6a793df0d7afeac54f95b471d3af7f0d4fb975699f972341a4b76988d49cdf0c"
495SRC_URI[libsqlite3-sys-0.27.0.sha256sum] = "cf4e226dcd58b4be396f7bd3c20da8fdee2911400705297ba7d2d7cc2c30f716" 580SRC_URI[libnghttp2-sys-0.1.11+1.64.0.sha256sum] = "1b6c24e48a7167cffa7119da39d577fa482e66c688a4aac016bee862e1a713c4"
496SRC_URI[libssh2-sys-0.3.0.sha256sum] = "2dc8a030b787e2119a731f1951d6a773e2280c660f8ec4b0f5e1505a386e71ee" 581SRC_URI[libredox-0.1.3.sha256sum] = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d"
497SRC_URI[libz-sys-1.1.15.sha256sum] = "037731f5d3aaa87a5675e895b63ddff1a87624bc29f77004ea829809654e48f6" 582SRC_URI[libsqlite3-sys-0.31.0.sha256sum] = "ad8935b44e7c13394a179a438e0cebba0fe08fe01b54f152e29a93b5cf993fd4"
498SRC_URI[linux-raw-sys-0.4.13.sha256sum] = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c" 583SRC_URI[libssh2-sys-0.3.1.sha256sum] = "220e4f05ad4a218192533b300327f5150e809b54c4ec83b5a1d91833601811b9"
499SRC_URI[lock_api-0.4.11.sha256sum] = "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45" 584SRC_URI[libz-sys-1.1.22.sha256sum] = "8b70e7a7df205e92a1a4cd9aaae7898dac0aa555503cc0a649494d0d60e7651d"
500SRC_URI[log-0.4.20.sha256sum] = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" 585SRC_URI[linux-raw-sys-0.4.15.sha256sum] = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab"
586SRC_URI[linux-raw-sys-0.9.4.sha256sum] = "cd945864f07fe9f5371a27ad7b52a172b4b499999f1d97574c9fa68373937e12"
587SRC_URI[litemap-0.8.0.sha256sum] = "241eaef5fd12c88705a01fc1066c48c4b36e0dd4377dcdc7ec3942cea7a69956"
588SRC_URI[lock_api-0.4.12.sha256sum] = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17"
589SRC_URI[log-0.4.27.sha256sum] = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94"
501SRC_URI[matchers-0.1.0.sha256sum] = "8263075bb86c5a1b1427b5ae862e8889656f126e9f77c484496e8b47cf5c5558" 590SRC_URI[matchers-0.1.0.sha256sum] = "8263075bb86c5a1b1427b5ae862e8889656f126e9f77c484496e8b47cf5c5558"
502SRC_URI[maybe-async-0.2.9.sha256sum] = "afc95a651c82daf7004c824405aa1019723644950d488571bd718e3ed84646ed" 591SRC_URI[maybe-async-0.2.10.sha256sum] = "5cf92c10c7e361d6b99666ec1c6f9805b0bea2c3bd8c78dc6fe98ac5bd78db11"
503SRC_URI[memchr-2.7.1.sha256sum] = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149" 592SRC_URI[memchr-2.7.4.sha256sum] = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
504SRC_URI[memmap2-0.9.4.sha256sum] = "fe751422e4a8caa417e13c3ea66452215d7d63e19e604f4980461212f3ae1322" 593SRC_URI[memmap2-0.9.5.sha256sum] = "fd3f7eed9d3848f8b98834af67102b720745c4ec028fcd0aa0239277e7de374f"
594SRC_URI[memoffset-0.9.1.sha256sum] = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
505SRC_URI[minimal-lexical-0.2.1.sha256sum] = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" 595SRC_URI[minimal-lexical-0.2.1.sha256sum] = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
506SRC_URI[miniz_oxide-0.7.2.sha256sum] = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7" 596SRC_URI[miniz_oxide-0.8.8.sha256sum] = "3be647b768db090acb35d5ec5db2b0e1f1de11133ca123b9eacf5137868f892a"
507SRC_URI[miow-0.6.0.sha256sum] = "359f76430b20a79f9e20e115b3428614e654f04fab314482fc0fda0ebd3c6044" 597SRC_URI[miow-0.6.0.sha256sum] = "359f76430b20a79f9e20e115b3428614e654f04fab314482fc0fda0ebd3c6044"
508SRC_URI[nom-7.1.3.sha256sum] = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" 598SRC_URI[nom-7.1.3.sha256sum] = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
509SRC_URI[normpath-1.1.1.sha256sum] = "ec60c60a693226186f5d6edf073232bfb6464ed97eb22cf3b01c1e8198fd97f5" 599SRC_URI[normpath-1.3.0.sha256sum] = "c8911957c4b1549ac0dc74e30db9c8b0e66ddcd6d7acc33098f4c63a64a6d7ed"
510SRC_URI[nu-ansi-term-0.46.0.sha256sum] = "77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84" 600SRC_URI[nu-ansi-term-0.46.0.sha256sum] = "77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84"
511SRC_URI[num-conv-0.1.0.sha256sum] = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" 601SRC_URI[num-conv-0.1.0.sha256sum] = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9"
512SRC_URI[num-traits-0.2.18.sha256sum] = "da0df0e5185db44f69b44f26786fe401b6c293d1907744beaa7fa62b2e5a517a" 602SRC_URI[num-traits-0.2.19.sha256sum] = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
513SRC_URI[num_threads-0.1.6.sha256sum] = "2819ce041d2ee131036f4fc9d6ae7ae125a3a40e97ba64d04fe799ad9dabbb44" 603SRC_URI[object-0.36.7.sha256sum] = "62948e14d923ea95ea2c7c86c71013138b66525b86bdc08d2dcc262bdb497b87"
514SRC_URI[once_cell-1.19.0.sha256sum] = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" 604SRC_URI[once_cell-1.21.3.sha256sum] = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
515SRC_URI[opener-0.6.1.sha256sum] = "6c62dcb6174f9cb326eac248f07e955d5d559c272730b6c03e396b443b562788" 605SRC_URI[opener-0.7.2.sha256sum] = "d0812e5e4df08da354c851a3376fead46db31c2214f849d3de356d774d057681"
516SRC_URI[openssl-0.10.63.sha256sum] = "15c9d69dd87a29568d4d017cfe8ec518706046a05184e5aea92d0af890b803c8" 606SRC_URI[openssl-0.10.57.sha256sum] = "bac25ee399abb46215765b1cb35bc0212377e58a061560d8b29b024fd0430e7c"
517SRC_URI[openssl-macros-0.1.1.sha256sum] = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" 607SRC_URI[openssl-macros-0.1.1.sha256sum] = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c"
518SRC_URI[openssl-probe-0.1.5.sha256sum] = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" 608SRC_URI[openssl-probe-0.1.6.sha256sum] = "d05e27ee213611ffe7d6348b942e8f942b37114c00cc03cec254295a4a17852e"
519SRC_URI[openssl-src-300.2.2+3.2.1.sha256sum] = "8bbfad0063610ac26ee79f7484739e2b07555a75c42453b89263830b5c8103bc" 609SRC_URI[openssl-src-300.5.0+3.5.0.sha256sum] = "e8ce546f549326b0e6052b649198487d91320875da901e7bd11a06d1ee3f9c2f"
520SRC_URI[openssl-sys-0.9.99.sha256sum] = "22e1bf214306098e4832460f797824c05d25aacdf896f64a985fb0fd992454ae" 610SRC_URI[openssl-sys-0.9.108.sha256sum] = "e145e1651e858e820e4860f7b9c5e169bc1d8ce1c86043be79fa7b7634821847"
521SRC_URI[ordered-float-2.10.1.sha256sum] = "68f19d67e5a2795c94e73e0bb1cc1a7edeb2e28efd39e2e1c9b7a40c1108b11c" 611SRC_URI[ordered-float-2.10.1.sha256sum] = "68f19d67e5a2795c94e73e0bb1cc1a7edeb2e28efd39e2e1c9b7a40c1108b11c"
522SRC_URI[orion-0.17.6.sha256sum] = "7abdb10181903c8c4b016ba45d6d6d5af1a1e2a461aa4763a83b87f5df4695e5" 612SRC_URI[orion-0.17.10.sha256sum] = "ccc95d369bc6b5cf404c562cd33de439ae9ca6dc4b044cd2625b2072ca0b81e4"
523SRC_URI[os_info-3.7.0.sha256sum] = "006e42d5b888366f1880eda20371fedde764ed2213dc8496f49622fa0c99cd5e" 613SRC_URI[os_info-3.11.0.sha256sum] = "41fc863e2ca13dc2d5c34fb22ea4a588248ac14db929616ba65c45f21744b1e9"
524SRC_URI[overload-0.1.1.sha256sum] = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" 614SRC_URI[overload-0.1.1.sha256sum] = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39"
525SRC_URI[p384-0.13.0.sha256sum] = "70786f51bcc69f6a4c0360e063a4cac5419ef7c5cd5b3c99ad70f3be5ba79209" 615SRC_URI[p384-0.13.1.sha256sum] = "fe42f1670a52a47d448f14b6a5c61dd78fce51856e68edaa38f7ae3a46b8d6b6"
526SRC_URI[parking_lot-0.12.1.sha256sum] = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" 616SRC_URI[parking_lot-0.12.3.sha256sum] = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27"
527SRC_URI[parking_lot_core-0.9.9.sha256sum] = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e" 617SRC_URI[parking_lot_core-0.9.10.sha256sum] = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8"
528SRC_URI[pasetors-0.6.8.sha256sum] = "6b36d47c66f2230dd1b7143d9afb2b4891879020210eddf2ccb624e529b96dba" 618SRC_URI[pasetors-0.7.4.sha256sum] = "cb798c661c80718af935bea17997928937822e7369cd087667ff4179f9146551"
529SRC_URI[pathdiff-0.2.1.sha256sum] = "8835116a5c179084a830efb3adc117ab007512b535bc1a21c991d3b32a6b44dd" 619SRC_URI[pathdiff-0.2.3.sha256sum] = "df94ce210e5bc13cb6651479fa48d14f601d9858cfe0467f43ae157023b938d3"
530SRC_URI[pem-rfc7468-0.7.0.sha256sum] = "88b39c9bfcfc231068454382784bb460aae594343fb030d46e9f50a645418412" 620SRC_URI[pem-rfc7468-0.7.0.sha256sum] = "88b39c9bfcfc231068454382784bb460aae594343fb030d46e9f50a645418412"
531SRC_URI[percent-encoding-2.3.1.sha256sum] = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" 621SRC_URI[percent-encoding-2.3.1.sha256sum] = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e"
532SRC_URI[pin-project-lite-0.2.13.sha256sum] = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58" 622SRC_URI[pin-project-lite-0.2.16.sha256sum] = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b"
533SRC_URI[pkcs8-0.10.2.sha256sum] = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" 623SRC_URI[pkcs8-0.10.2.sha256sum] = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7"
534SRC_URI[pkg-config-0.3.29.sha256sum] = "2900ede94e305130c13ddd391e0ab7cbaeb783945ae07a279c268cb05109c6cb" 624SRC_URI[pkg-config-0.3.32.sha256sum] = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c"
625SRC_URI[portable-atomic-1.11.0.sha256sum] = "350e9b48cbc6b0e028b0473b114454c6316e57336ee184ceab6e53f72c178b3e"
626SRC_URI[portable-atomic-util-0.2.4.sha256sum] = "d8a2f0d8d040d7848a709caf78912debcc3f33ee4b3cac47d73d1e1069e83507"
627SRC_URI[potential_utf-0.1.2.sha256sum] = "e5a7c30837279ca13e7c867e9e40053bc68740f988cb07f7ca6df43cc734b585"
535SRC_URI[powerfmt-0.2.0.sha256sum] = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" 628SRC_URI[powerfmt-0.2.0.sha256sum] = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391"
536SRC_URI[ppv-lite86-0.2.17.sha256sum] = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" 629SRC_URI[ppv-lite86-0.2.21.sha256sum] = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9"
537SRC_URI[primeorder-0.13.6.sha256sum] = "353e1ca18966c16d9deb1c69278edbc5f194139612772bd9537af60ac231e1e6" 630SRC_URI[primeorder-0.13.6.sha256sum] = "353e1ca18966c16d9deb1c69278edbc5f194139612772bd9537af60ac231e1e6"
538SRC_URI[proc-macro2-1.0.78.sha256sum] = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae" 631SRC_URI[proc-macro2-1.0.95.sha256sum] = "02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778"
539SRC_URI[prodash-26.2.2.sha256sum] = "794b5bf8e2d19b53dcdcec3e4bba628e20f5b6062503ba89281fa7037dd7bbcf" 632SRC_URI[prodash-29.0.2.sha256sum] = "f04bb108f648884c23b98a0e940ebc2c93c0c3b89f04dbaf7eb8256ce617d1bc"
540SRC_URI[pulldown-cmark-0.9.6.sha256sum] = "57206b407293d2bcd3af849ce869d52068623f19e1b5ff8e8778e3309439682b" 633SRC_URI[quote-1.0.40.sha256sum] = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d"
541SRC_URI[quote-1.0.35.sha256sum] = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef" 634SRC_URI[r-efi-5.2.0.sha256sum] = "74765f6d916ee2faa39bc8e68e4f3ed8949b48cccdac59983d287a7cb71ce9c5"
542SRC_URI[rand-0.8.5.sha256sum] = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" 635SRC_URI[rand-0.9.1.sha256sum] = "9fbfd9d094a40bf3ae768db9361049ace4c0e04a4fd6b359518bd7b73a73dd97"
543SRC_URI[rand_chacha-0.3.1.sha256sum] = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" 636SRC_URI[rand_chacha-0.9.0.sha256sum] = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb"
544SRC_URI[rand_core-0.6.4.sha256sum] = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" 637SRC_URI[rand_core-0.6.4.sha256sum] = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
638SRC_URI[rand_core-0.9.3.sha256sum] = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38"
545SRC_URI[rand_xoshiro-0.6.0.sha256sum] = "6f97cdb2a36ed4183de61b2f824cc45c9f1037f28afe0a322e9fff4c108b5aaa" 639SRC_URI[rand_xoshiro-0.6.0.sha256sum] = "6f97cdb2a36ed4183de61b2f824cc45c9f1037f28afe0a322e9fff4c108b5aaa"
546SRC_URI[redox_syscall-0.4.1.sha256sum] = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" 640SRC_URI[redox_syscall-0.5.12.sha256sum] = "928fca9cf2aa042393a8325b9ead81d2f0df4cb12e1e24cef072922ccd99c5af"
547SRC_URI[regex-1.10.3.sha256sum] = "b62dbe01f0b06f9d8dc7d49e05a0785f153b00b2c227856282f671e0318c9b15" 641SRC_URI[regex-1.11.1.sha256sum] = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191"
548SRC_URI[regex-automata-0.1.10.sha256sum] = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" 642SRC_URI[regex-automata-0.1.10.sha256sum] = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132"
549SRC_URI[regex-automata-0.4.5.sha256sum] = "5bb987efffd3c6d0d8f5f89510bb458559eab11e4f869acb20bf845e016259cd" 643SRC_URI[regex-automata-0.4.9.sha256sum] = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908"
550SRC_URI[regex-syntax-0.6.29.sha256sum] = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" 644SRC_URI[regex-syntax-0.6.29.sha256sum] = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1"
551SRC_URI[regex-syntax-0.8.2.sha256sum] = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" 645SRC_URI[regex-syntax-0.8.5.sha256sum] = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c"
552SRC_URI[rfc6979-0.4.0.sha256sum] = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2" 646SRC_URI[rfc6979-0.4.0.sha256sum] = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2"
553SRC_URI[rusqlite-0.30.0.sha256sum] = "a78046161564f5e7cd9008aff3b2990b3850dc8e0349119b98e8f251e099f24d" 647SRC_URI[rusqlite-0.33.0.sha256sum] = "1c6d5e5acb6f6129fe3f7ba0a7fc77bca1942cb568535e18e7bc40262baf3110"
554SRC_URI[rustfix-0.7.0.sha256sum] = "7ec10cbeb92a2e494ef354d66126882da8c0a244ad769e2a7193efc5de625175" 648SRC_URI[rustc-hash-2.1.1.sha256sum] = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d"
555SRC_URI[rustix-0.38.31.sha256sum] = "6ea3e1a662af26cd7a3ba09c0297a31af215563ecf42817c98df621387f4e949" 649SRC_URI[rustc-stable-hash-0.1.2.sha256sum] = "781442f29170c5c93b7185ad559492601acdc71d5bb0706f5868094f45cfcd08"
556SRC_URI[ryu-1.0.16.sha256sum] = "f98d2aa92eebf49b69786be48e4477826b256916e84a57ff2a4f21923b48eb4c" 650SRC_URI[rustfix-0.9.0.sha256sum] = "7f66156d7471ff4f12253cd7fd76dfe637a595a9418168154e8570f3947fe9a8"
651SRC_URI[rustix-0.38.44.sha256sum] = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154"
652SRC_URI[rustix-1.0.7.sha256sum] = "c71e83d6afe7ff64890ec6b71d6a69bb8a610ab78ce364b3352876bb4c801266"
653SRC_URI[ryu-1.0.20.sha256sum] = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f"
557SRC_URI[same-file-1.0.6.sha256sum] = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" 654SRC_URI[same-file-1.0.6.sha256sum] = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
558SRC_URI[schannel-0.1.23.sha256sum] = "fbc91545643bcf3a0bbb6569265615222618bdf33ce4ffbbd13c4bbd4c093534" 655SRC_URI[schannel-0.1.27.sha256sum] = "1f29ebaa345f945cec9fbbc532eb307f0fdad8161f281b6369539c8d84876b3d"
559SRC_URI[scopeguard-1.2.0.sha256sum] = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" 656SRC_URI[scopeguard-1.2.0.sha256sum] = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
560SRC_URI[sec1-0.7.3.sha256sum] = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc" 657SRC_URI[sec1-0.7.3.sha256sum] = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc"
561SRC_URI[security-framework-2.9.2.sha256sum] = "05b64fb303737d99b81884b2c63433e9ae28abebe5eb5045dcdd175dc2ecf4de" 658SRC_URI[security-framework-3.2.0.sha256sum] = "271720403f46ca04f7ba6f55d438f8bd878d6b8ca0a1046e8228c4145bcbb316"
562SRC_URI[security-framework-sys-2.9.1.sha256sum] = "e932934257d3b408ed8f30db49d85ea163bfe74961f017f405b025af298f0c7a" 659SRC_URI[security-framework-sys-2.14.0.sha256sum] = "49db231d56a190491cb4aeda9527f1ad45345af50b0851622a7adb8c03b01c32"
563SRC_URI[semver-1.0.21.sha256sum] = "b97ed7a9823b74f99c7742f5336af7be5ecd3eeafcb1507d1fa93347b1d589b0" 660SRC_URI[semver-1.0.26.sha256sum] = "56e6fa9c48d24d85fb3de5ad847117517440f6beceb7798af16b4a87d616b8d0"
564SRC_URI[serde-1.0.196.sha256sum] = "870026e60fa08c69f064aa766c10f10b1d62db9ccd4d0abb206472bee0ce3b32" 661SRC_URI[serde-1.0.219.sha256sum] = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6"
565SRC_URI[serde-untagged-0.1.5.sha256sum] = "6a160535368dfc353348e7eaa299156bd508c60c45a9249725f5f6d370d82a66" 662SRC_URI[serde-untagged-0.1.7.sha256sum] = "299d9c19d7d466db4ab10addd5703e4c615dec2a5a16dbbafe191045e87ee66e"
566SRC_URI[serde-value-0.7.0.sha256sum] = "f3a1a3341211875ef120e117ea7fd5228530ae7e7036a779fdc9117be6b3282c" 663SRC_URI[serde-value-0.7.0.sha256sum] = "f3a1a3341211875ef120e117ea7fd5228530ae7e7036a779fdc9117be6b3282c"
567SRC_URI[serde_derive-1.0.196.sha256sum] = "33c85360c95e7d137454dc81d9a4ed2b8efd8fbe19cee57357b32b9771fccb67" 664SRC_URI[serde_derive-1.0.219.sha256sum] = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00"
568SRC_URI[serde_ignored-0.1.10.sha256sum] = "a8e319a36d1b52126a0d608f24e93b2d81297091818cd70625fcf50a15d84ddf" 665SRC_URI[serde_ignored-0.1.12.sha256sum] = "b516445dac1e3535b6d658a7b528d771153dfb272ed4180ca4617a20550365ff"
569SRC_URI[serde_json-1.0.113.sha256sum] = "69801b70b1c3dac963ecb03a364ba0ceda9cf60c71cfe475e99864759c8b8a79" 666SRC_URI[serde_json-1.0.140.sha256sum] = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373"
570SRC_URI[serde_spanned-0.6.5.sha256sum] = "eb3622f419d1296904700073ea6cc23ad690adbd66f13ea683df73298736f0c1" 667SRC_URI[serde_spanned-0.6.8.sha256sum] = "87607cb1398ed59d48732e575a4c28a7a8ebf2454b964fe3f224f2afc07909e1"
571SRC_URI[sha1-0.10.6.sha256sum] = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" 668SRC_URI[sha1-0.10.6.sha256sum] = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba"
572SRC_URI[sha1_smol-1.0.0.sha256sum] = "ae1a47186c03a32177042e55dbc5fd5aee900b8e0069a8d70fba96a9375cd012" 669SRC_URI[sha1_smol-1.0.1.sha256sum] = "bbfa15b3dddfee50a0fff136974b3e1bde555604ba463834a7eb7deb6417705d"
573SRC_URI[sha2-0.10.8.sha256sum] = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" 670SRC_URI[sha2-0.10.9.sha256sum] = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283"
574SRC_URI[sharded-slab-0.1.7.sha256sum] = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6" 671SRC_URI[sharded-slab-0.1.7.sha256sum] = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6"
575SRC_URI[shell-escape-0.1.5.sha256sum] = "45bb67a18fa91266cc7807181f62f9178a6873bfad7dc788c42e6430db40184f" 672SRC_URI[shell-escape-0.1.5.sha256sum] = "45bb67a18fa91266cc7807181f62f9178a6873bfad7dc788c42e6430db40184f"
576SRC_URI[shell-words-1.1.0.sha256sum] = "24188a676b6ae68c3b2cb3a01be17fbf7240ce009799bb56d5b1409051e78fde" 673SRC_URI[shell-words-1.1.0.sha256sum] = "24188a676b6ae68c3b2cb3a01be17fbf7240ce009799bb56d5b1409051e78fde"
674SRC_URI[shlex-1.3.0.sha256sum] = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
577SRC_URI[signature-2.2.0.sha256sum] = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" 675SRC_URI[signature-2.2.0.sha256sum] = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de"
578SRC_URI[sized-chunks-0.6.5.sha256sum] = "16d69225bde7a69b235da73377861095455d298f2b970996eec25ddbb42b3d1e" 676SRC_URI[sized-chunks-0.6.5.sha256sum] = "16d69225bde7a69b235da73377861095455d298f2b970996eec25ddbb42b3d1e"
579SRC_URI[smallvec-1.13.1.sha256sum] = "e6ecd384b10a64542d77071bd64bd7b231f4ed5940fba55e98c3de13824cf3d7" 677SRC_URI[smallvec-1.15.0.sha256sum] = "8917285742e9f3e1683f0a9c4e6b57960b7314d0b08d30d1ecd426713ee2eee9"
580SRC_URI[socket2-0.5.5.sha256sum] = "7b5fac59a5cb5dd637972e5fca70daf0523c9067fcdc4842f053dae04a18f8e9" 678SRC_URI[socket2-0.5.9.sha256sum] = "4f5fd57c80058a56cf5c777ab8a126398ece8e442983605d280a44ce79d0edef"
581SRC_URI[spki-0.7.3.sha256sum] = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" 679SRC_URI[spki-0.7.3.sha256sum] = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d"
680SRC_URI[stable_deref_trait-1.2.0.sha256sum] = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
582SRC_URI[static_assertions-1.1.0.sha256sum] = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" 681SRC_URI[static_assertions-1.1.0.sha256sum] = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
583SRC_URI[strsim-0.11.0.sha256sum] = "5ee073c9e4cd00e28217186dbe12796d692868f432bf2e97ee73bed0c56dfa01" 682SRC_URI[strsim-0.11.1.sha256sum] = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
584SRC_URI[subtle-2.5.0.sha256sum] = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc" 683SRC_URI[subtle-2.6.1.sha256sum] = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"
585SRC_URI[supports-hyperlinks-2.1.0.sha256sum] = "f84231692eb0d4d41e4cdd0cabfdd2e6cd9e255e65f80c9aa7c98dd502b4233d" 684SRC_URI[supports-hyperlinks-3.1.0.sha256sum] = "804f44ed3c63152de6a9f90acbea1a110441de43006ea51bcce8f436196a288b"
586SRC_URI[syn-1.0.109.sha256sum] = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" 685SRC_URI[supports-unicode-3.0.0.sha256sum] = "b7401a30af6cb5818bb64852270bb722533397edcfc7344954a38f420819ece2"
587SRC_URI[syn-2.0.48.sha256sum] = "0f3531638e407dfc0814761abb7c00a5b54992b849452a0646b7f65c9f770f3f" 686SRC_URI[syn-2.0.101.sha256sum] = "8ce2b7fc941b3a24138a0a7cf8e858bfc6a992e7978a068a5c760deb0ed43caf"
588SRC_URI[tar-0.4.40.sha256sum] = "b16afcea1f22891c49a00c751c7b63b2233284064f11a200fc624137c51e2ddb" 687SRC_URI[synstructure-0.13.2.sha256sum] = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2"
589SRC_URI[tempfile-3.10.0.sha256sum] = "a365e8cd18e44762ef95d87f284f4b5cd04107fec2ff3052bd6a3e6069669e67" 688SRC_URI[tar-0.4.44.sha256sum] = "1d863878d212c87a19c1a610eb53bb01fe12951c0501cf5a0d65f724914a667a"
590SRC_URI[terminal_size-0.3.0.sha256sum] = "21bebf2b7c9e0a515f6e0f8c51dc0f8e4696391e6f1ff30379559f8365fb0df7" 689SRC_URI[tempfile-3.20.0.sha256sum] = "e8a64e3985349f2441a1a9ef0b853f869006c3855f2cda6862a94d26ebb9d6a1"
591SRC_URI[thiserror-1.0.56.sha256sum] = "d54378c645627613241d077a3a79db965db602882668f9136ac42af9ecb730ad" 690SRC_URI[terminal_size-0.4.2.sha256sum] = "45c6481c4829e4cc63825e62c49186a34538b7b2750b73b266581ffb612fb5ed"
592SRC_URI[thiserror-impl-1.0.56.sha256sum] = "fa0faa943b50f3db30a20aa7e265dbc66076993efed8463e8de414e5d06d3471" 691SRC_URI[thiserror-1.0.69.sha256sum] = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52"
593SRC_URI[thread_local-1.1.7.sha256sum] = "3fdd6f064ccff2d6567adcb3873ca630700f00b5ad3f060c25b5dcfd9a4ce152" 692SRC_URI[thiserror-2.0.12.sha256sum] = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708"
594SRC_URI[time-0.3.34.sha256sum] = "c8248b6521bb14bc45b4067159b9b6ad792e2d6d754d6c41fb50e29fefe38749" 693SRC_URI[thiserror-impl-1.0.69.sha256sum] = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
595SRC_URI[time-core-0.1.2.sha256sum] = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" 694SRC_URI[thiserror-impl-2.0.12.sha256sum] = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d"
596SRC_URI[time-macros-0.2.17.sha256sum] = "7ba3a3ef41e6672a2f0f001392bb5dcd3ff0a9992d618ca761a11c3121547774" 695SRC_URI[thread_local-1.1.8.sha256sum] = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c"
597SRC_URI[tinyvec-1.6.0.sha256sum] = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" 696SRC_URI[time-0.3.41.sha256sum] = "8a7619e19bc266e0f9c5e6686659d394bc57973859340060a69221e57dbc0c40"
697SRC_URI[time-core-0.1.4.sha256sum] = "c9e9a38711f559d9e3ce1cdb06dd7c5b8ea546bc90052da6d06bb76da74bb07c"
698SRC_URI[time-macros-0.2.22.sha256sum] = "3526739392ec93fd8b359c8e98514cb3e8e021beb4e5f597b00a0221f8ed8a49"
699SRC_URI[tinystr-0.8.1.sha256sum] = "5d4f6d1145dcb577acf783d4e601bc1d76a13337bb54e6233add580b07344c8b"
700SRC_URI[tinyvec-1.9.0.sha256sum] = "09b3661f17e86524eccd4371ab0429194e0d7c008abb45f7a7495b1719463c71"
598SRC_URI[tinyvec_macros-0.1.1.sha256sum] = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" 701SRC_URI[tinyvec_macros-0.1.1.sha256sum] = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
599SRC_URI[toml-0.5.11.sha256sum] = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234" 702SRC_URI[toml-0.8.22.sha256sum] = "05ae329d1f08c4d17a59bed7ff5b5a769d062e64a62d34a3261b219e62cd5aae"
600SRC_URI[toml-0.8.10.sha256sum] = "9a9aad4a3066010876e8dcf5a8a06e70a558751117a145c6ce2b82c2e2054290" 703SRC_URI[toml_datetime-0.6.9.sha256sum] = "3da5db5a963e24bc68be8b17b6fa82814bb22ee8660f192bb182771d498f09a3"
601SRC_URI[toml_datetime-0.6.5.sha256sum] = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1" 704SRC_URI[toml_edit-0.22.26.sha256sum] = "310068873db2c5b3e7659d2cc35d21855dbafa50d1ce336397c666e3cb08137e"
602SRC_URI[toml_edit-0.21.1.sha256sum] = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1" 705SRC_URI[toml_write-0.1.1.sha256sum] = "bfb942dfe1d8e29a7ee7fcbde5bd2b9a25fb89aa70caea2eba3bee836ff41076"
603SRC_URI[toml_edit-0.22.4.sha256sum] = "0c9ffdf896f8daaabf9b66ba8e77ea1ed5ed0f72821b398aba62352e95062951" 706SRC_URI[tracing-0.1.41.sha256sum] = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0"
604SRC_URI[tracing-0.1.40.sha256sum] = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" 707SRC_URI[tracing-attributes-0.1.28.sha256sum] = "395ae124c09f9e6918a2310af6038fba074bcf474ac352496d5910dd59a2226d"
605SRC_URI[tracing-attributes-0.1.27.sha256sum] = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" 708SRC_URI[tracing-chrome-0.7.2.sha256sum] = "bf0a738ed5d6450a9fb96e86a23ad808de2b727fd1394585da5cdd6788ffe724"
606SRC_URI[tracing-core-0.1.32.sha256sum] = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54" 709SRC_URI[tracing-core-0.1.33.sha256sum] = "e672c95779cf947c5311f83787af4fa8fffd12fb27e4993211a84bdfd9610f9c"
607SRC_URI[tracing-log-0.2.0.sha256sum] = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3" 710SRC_URI[tracing-log-0.2.0.sha256sum] = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3"
608SRC_URI[tracing-subscriber-0.3.18.sha256sum] = "ad0f048c97dbd9faa9b7df56362b8ebcaa52adb06b498c050d2f4e32f90a7a8b" 711SRC_URI[tracing-subscriber-0.3.19.sha256sum] = "e8189decb5ac0fa7bc8b96b7cb9b2701d60d48805aca84a238004d665fcc4008"
609SRC_URI[typenum-1.17.0.sha256sum] = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" 712SRC_URI[typeid-1.0.3.sha256sum] = "bc7d623258602320d5c55d1bc22793b57daff0ec7efc270ea7d55ce1d5f5471c"
610SRC_URI[unicase-2.7.0.sha256sum] = "f7d2d4dafb69621809a81864c9c1b864479e1235c0dd4e199924b9742439ed89" 713SRC_URI[typenum-1.18.0.sha256sum] = "1dccffe3ce07af9386bfd29e80c0ab1a8205a2fc34e4bcd40364df902cfa8f3f"
611SRC_URI[unicode-bidi-0.3.15.sha256sum] = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75" 714SRC_URI[unicase-2.8.1.sha256sum] = "75b844d17643ee918803943289730bec8aac480150456169e647ed0b576ba539"
612SRC_URI[unicode-bom-2.0.3.sha256sum] = "7eec5d1121208364f6793f7d2e222bf75a915c19557537745b195b253dd64217" 715SRC_URI[unicode-bom-2.0.3.sha256sum] = "7eec5d1121208364f6793f7d2e222bf75a915c19557537745b195b253dd64217"
613SRC_URI[unicode-ident-1.0.12.sha256sum] = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" 716SRC_URI[unicode-ident-1.0.18.sha256sum] = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512"
614SRC_URI[unicode-normalization-0.1.22.sha256sum] = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921" 717SRC_URI[unicode-normalization-0.1.24.sha256sum] = "5033c97c4262335cded6d6fc3e5c18ab755e1a3dc96376350f3d8e9f009ad956"
615SRC_URI[unicode-width-0.1.11.sha256sum] = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85" 718SRC_URI[unicode-width-0.2.0.sha256sum] = "1fc81956842c57dac11422a97c3b8195a1ff727f06e85c84ed2e8aa277c9a0fd"
616SRC_URI[unicode-xid-0.2.4.sha256sum] = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" 719SRC_URI[unicode-xid-0.2.6.sha256sum] = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853"
617SRC_URI[url-2.5.0.sha256sum] = "31e6302e3bb753d46e83516cae55ae196fc0c309407cf11ab35cc51a4c2a4633" 720SRC_URI[url-2.5.4.sha256sum] = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60"
618SRC_URI[utf8parse-0.2.1.sha256sum] = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" 721SRC_URI[utf8_iter-1.0.4.sha256sum] = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
619SRC_URI[valuable-0.1.0.sha256sum] = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" 722SRC_URI[utf8parse-0.2.2.sha256sum] = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
723SRC_URI[valuable-0.1.1.sha256sum] = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65"
620SRC_URI[vcpkg-0.2.15.sha256sum] = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" 724SRC_URI[vcpkg-0.2.15.sha256sum] = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
621SRC_URI[version_check-0.9.4.sha256sum] = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" 725SRC_URI[version_check-0.9.5.sha256sum] = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
622SRC_URI[walkdir-2.4.0.sha256sum] = "d71d857dc86794ca4c280d616f7da00d2dbfd8cd788846559a6813e6aa4b54ee" 726SRC_URI[walkdir-2.5.0.sha256sum] = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b"
623SRC_URI[wasi-0.11.0+wasi-snapshot-preview1.sha256sum] = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" 727SRC_URI[wasi-0.11.0+wasi-snapshot-preview1.sha256sum] = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
624SRC_URI[wasm-bindgen-0.2.91.sha256sum] = "c1e124130aee3fb58c5bdd6b639a0509486b0338acaaae0c84a5124b0f588b7f" 728SRC_URI[wasi-0.14.2+wasi-0.2.4.sha256sum] = "9683f9a5a998d873c0d21fcbe3c083009670149a8fab228644b8bd36b2c48cb3"
625SRC_URI[wasm-bindgen-backend-0.2.91.sha256sum] = "c9e7e1900c352b609c8488ad12639a311045f40a35491fb69ba8c12f758af70b" 729SRC_URI[wasm-bindgen-0.2.100.sha256sum] = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5"
626SRC_URI[wasm-bindgen-macro-0.2.91.sha256sum] = "b30af9e2d358182b5c7449424f017eba305ed32a7010509ede96cdc4696c46ed" 730SRC_URI[wasm-bindgen-backend-0.2.100.sha256sum] = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6"
627SRC_URI[wasm-bindgen-macro-support-0.2.91.sha256sum] = "642f325be6301eb8107a83d12a8ac6c1e1c54345a7ef1a9261962dfefda09e66" 731SRC_URI[wasm-bindgen-macro-0.2.100.sha256sum] = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407"
628SRC_URI[wasm-bindgen-shared-0.2.91.sha256sum] = "4f186bd2dcf04330886ce82d6f33dd75a7bfcf69ecf5763b89fcde53b6ac9838" 732SRC_URI[wasm-bindgen-macro-support-0.2.100.sha256sum] = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de"
733SRC_URI[wasm-bindgen-shared-0.2.100.sha256sum] = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d"
629SRC_URI[winapi-0.3.9.sha256sum] = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" 734SRC_URI[winapi-0.3.9.sha256sum] = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
630SRC_URI[winapi-i686-pc-windows-gnu-0.4.0.sha256sum] = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 735SRC_URI[winapi-i686-pc-windows-gnu-0.4.0.sha256sum] = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
631SRC_URI[winapi-util-0.1.6.sha256sum] = "f29e6f9198ba0d26b4c9f07dbe6f9ed633e1f3d5b8b414090084349e46a52596" 736SRC_URI[winapi-util-0.1.9.sha256sum] = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb"
632SRC_URI[winapi-x86_64-pc-windows-gnu-0.4.0.sha256sum] = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" 737SRC_URI[winapi-x86_64-pc-windows-gnu-0.4.0.sha256sum] = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
633SRC_URI[windows-sys-0.48.0.sha256sum] = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" 738SRC_URI[windows-sys-0.48.0.sha256sum] = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
634SRC_URI[windows-sys-0.52.0.sha256sum] = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" 739SRC_URI[windows-sys-0.52.0.sha256sum] = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
740SRC_URI[windows-sys-0.59.0.sha256sum] = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
635SRC_URI[windows-targets-0.48.5.sha256sum] = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" 741SRC_URI[windows-targets-0.48.5.sha256sum] = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"
636SRC_URI[windows-targets-0.52.0.sha256sum] = "8a18201040b24831fbb9e4eb208f8892e1f50a37feb53cc7ff887feb8f50e7cd" 742SRC_URI[windows-targets-0.52.6.sha256sum] = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
743SRC_URI[windows-targets-0.53.0.sha256sum] = "b1e4c7e8ceaaf9cb7d7507c974735728ab453b67ef8f18febdd7c11fe59dca8b"
637SRC_URI[windows_aarch64_gnullvm-0.48.5.sha256sum] = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" 744SRC_URI[windows_aarch64_gnullvm-0.48.5.sha256sum] = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
638SRC_URI[windows_aarch64_gnullvm-0.52.0.sha256sum] = "cb7764e35d4db8a7921e09562a0304bf2f93e0a51bfccee0bd0bb0b666b015ea" 745SRC_URI[windows_aarch64_gnullvm-0.52.6.sha256sum] = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
746SRC_URI[windows_aarch64_gnullvm-0.53.0.sha256sum] = "86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764"
639SRC_URI[windows_aarch64_msvc-0.48.5.sha256sum] = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" 747SRC_URI[windows_aarch64_msvc-0.48.5.sha256sum] = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
640SRC_URI[windows_aarch64_msvc-0.52.0.sha256sum] = "bbaa0368d4f1d2aaefc55b6fcfee13f41544ddf36801e793edbbfd7d7df075ef" 748SRC_URI[windows_aarch64_msvc-0.52.6.sha256sum] = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
749SRC_URI[windows_aarch64_msvc-0.53.0.sha256sum] = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c"
641SRC_URI[windows_i686_gnu-0.48.5.sha256sum] = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" 750SRC_URI[windows_i686_gnu-0.48.5.sha256sum] = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
642SRC_URI[windows_i686_gnu-0.52.0.sha256sum] = "a28637cb1fa3560a16915793afb20081aba2c92ee8af57b4d5f28e4b3e7df313" 751SRC_URI[windows_i686_gnu-0.52.6.sha256sum] = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
752SRC_URI[windows_i686_gnu-0.53.0.sha256sum] = "c1dc67659d35f387f5f6c479dc4e28f1d4bb90ddd1a5d3da2e5d97b42d6272c3"
753SRC_URI[windows_i686_gnullvm-0.52.6.sha256sum] = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
754SRC_URI[windows_i686_gnullvm-0.53.0.sha256sum] = "9ce6ccbdedbf6d6354471319e781c0dfef054c81fbc7cf83f338a4296c0cae11"
643SRC_URI[windows_i686_msvc-0.48.5.sha256sum] = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" 755SRC_URI[windows_i686_msvc-0.48.5.sha256sum] = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
644SRC_URI[windows_i686_msvc-0.52.0.sha256sum] = "ffe5e8e31046ce6230cc7215707b816e339ff4d4d67c65dffa206fd0f7aa7b9a" 756SRC_URI[windows_i686_msvc-0.52.6.sha256sum] = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
757SRC_URI[windows_i686_msvc-0.53.0.sha256sum] = "581fee95406bb13382d2f65cd4a908ca7b1e4c2f1917f143ba16efe98a589b5d"
645SRC_URI[windows_x86_64_gnu-0.48.5.sha256sum] = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" 758SRC_URI[windows_x86_64_gnu-0.48.5.sha256sum] = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
646SRC_URI[windows_x86_64_gnu-0.52.0.sha256sum] = "3d6fa32db2bc4a2f5abeacf2b69f7992cd09dca97498da74a151a3132c26befd" 759SRC_URI[windows_x86_64_gnu-0.52.6.sha256sum] = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
760SRC_URI[windows_x86_64_gnu-0.53.0.sha256sum] = "2e55b5ac9ea33f2fc1716d1742db15574fd6fc8dadc51caab1c16a3d3b4190ba"
647SRC_URI[windows_x86_64_gnullvm-0.48.5.sha256sum] = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" 761SRC_URI[windows_x86_64_gnullvm-0.48.5.sha256sum] = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
648SRC_URI[windows_x86_64_gnullvm-0.52.0.sha256sum] = "1a657e1e9d3f514745a572a6846d3c7aa7dbe1658c056ed9c3344c4109a6949e" 762SRC_URI[windows_x86_64_gnullvm-0.52.6.sha256sum] = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
763SRC_URI[windows_x86_64_gnullvm-0.53.0.sha256sum] = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57"
649SRC_URI[windows_x86_64_msvc-0.48.5.sha256sum] = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" 764SRC_URI[windows_x86_64_msvc-0.48.5.sha256sum] = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
650SRC_URI[windows_x86_64_msvc-0.52.0.sha256sum] = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04" 765SRC_URI[windows_x86_64_msvc-0.52.6.sha256sum] = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
651SRC_URI[winnow-0.5.39.sha256sum] = "5389a154b01683d28c77f8f68f49dea75f0a4da32557a58f68ee51ebba472d29" 766SRC_URI[windows_x86_64_msvc-0.53.0.sha256sum] = "271414315aff87387382ec3d271b52d7ae78726f5d44ac98b4f4030c91880486"
652SRC_URI[zerocopy-0.7.32.sha256sum] = "74d4d3961e53fa4c9a25a8637fc2bfaf2595b3d3ae34875568a5cf64787716be" 767SRC_URI[winnow-0.6.26.sha256sum] = "1e90edd2ac1aa278a5c4599b1d89cf03074b610800f866d4026dc199d7929a28"
653SRC_URI[zerocopy-derive-0.7.32.sha256sum] = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6" 768SRC_URI[winnow-0.7.10.sha256sum] = "c06928c8748d81b05c9be96aad92e1b6ff01833332f281e8cfca3be4b35fc9ec"
654SRC_URI[zeroize-1.7.0.sha256sum] = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d" 769SRC_URI[wit-bindgen-rt-0.39.0.sha256sum] = "6f42320e61fe2cfd34354ecb597f86f413484a798ba44a8ca1165c58d42da6c1"
770SRC_URI[writeable-0.6.1.sha256sum] = "ea2f10b9bb0928dfb1b42b65e1f9e36f7f54dbdf08457afefb38afcdec4fa2bb"
771SRC_URI[yoke-0.8.0.sha256sum] = "5f41bb01b8226ef4bfd589436a297c53d118f65921786300e427be8d487695cc"
772SRC_URI[yoke-derive-0.8.0.sha256sum] = "38da3c9736e16c5d3c8c597a9aaa5d1fa565d0532ae05e27c24aa62fb32c0ab6"
773SRC_URI[zerocopy-0.8.25.sha256sum] = "a1702d9583232ddb9174e01bb7c15a2ab8fb1bc6f227aa1233858c351a3ba0cb"
774SRC_URI[zerocopy-derive-0.8.25.sha256sum] = "28a6e20d751156648aa063f3800b706ee209a32c0b4d9f24be3d980b01be55ef"
775SRC_URI[zerofrom-0.1.6.sha256sum] = "50cc42e0333e05660c3587f3bf9d0478688e15d870fab3346451ce7f8c9fbea5"
776SRC_URI[zerofrom-derive-0.1.6.sha256sum] = "d71e5d6e06ab090c67b5e44993ec16b72dcbaabc526db883a360057678b48502"
777SRC_URI[zeroize-1.8.1.sha256sum] = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde"
778SRC_URI[zerotrie-0.2.2.sha256sum] = "36f0bbd478583f79edad978b407914f61b2972f5af6fa089686016be8f9af595"
779SRC_URI[zerovec-0.11.2.sha256sum] = "4a05eb080e015ba39cc9e23bbe5e7fb04d5fb040350f99f34e338d5fdd294428"
780SRC_URI[zerovec-derive-0.11.1.sha256sum] = "5b96237efa0c878c64bd89c436f661be4e46b2f3eff1ebb976f7ef2321d2f58f"
diff --git a/meta/recipes-devtools/rust/cargo-c-native_0.9.30+cargo-0.77.0.bb b/meta/recipes-devtools/rust/cargo-c_0.10.13+cargo-0.88.0.bb
index 8e17606b73..6777726072 100644
--- a/meta/recipes-devtools/rust/cargo-c-native_0.9.30+cargo-0.77.0.bb
+++ b/meta/recipes-devtools/rust/cargo-c_0.10.13+cargo-0.88.0.bb
@@ -6,12 +6,13 @@ LIC_FILES_CHKSUM = " \
6" 6"
7 7
8SRC_URI = "crate://crates.io/cargo-c/${PV};name=cargo-c" 8SRC_URI = "crate://crates.io/cargo-c/${PV};name=cargo-c"
9SRC_URI[cargo-c.sha256sum] = "ec77e3635cdb0d211f88f22d0460eef0ba031eb616ded57f2ffb98a90365c445" 9SRC_URI[cargo-c.sha256sum] = "bd11efb38aee5930cabfe8d41465f22859b2af9071fa04d3642814cf1cc2bc75"
10S = "${CARGO_VENDORING_DIRECTORY}/cargo-c-${PV}" 10S = "${CARGO_VENDORING_DIRECTORY}/cargo-c-${PV}"
11 11
12inherit cargo cargo-update-recipe-crates pkgconfig native 12inherit cargo cargo-update-recipe-crates pkgconfig
13 13
14DEPENDS = "openssl curl" 14DEPENDS = "openssl curl"
15 15
16require ${BPN}-crates.inc 16require ${BPN}-crates.inc
17 17
18BBCLASSEXTEND = "native"
diff --git a/meta/recipes-devtools/rust/cargo_1.75.0.bb b/meta/recipes-devtools/rust/cargo_1.87.0.bb
index 50b7e7c7b4..fc41a19a25 100644
--- a/meta/recipes-devtools/rust/cargo_1.75.0.bb
+++ b/meta/recipes-devtools/rust/cargo_1.87.0.bb
@@ -19,10 +19,10 @@ CARGO_VENDORING_DIRECTORY = "${RUSTSRC}/vendor"
19 19
20inherit cargo pkgconfig 20inherit cargo pkgconfig
21 21
22DEBUG_PREFIX_MAP += "-fdebug-prefix-map=${RUSTSRC}/vendor=${TARGET_DBGSRC_DIR}" 22DEBUG_PREFIX_MAP += "-ffile-prefix-map=${RUSTSRC}/vendor=${TARGET_DBGSRC_DIR}"
23 23
24do_cargo_setup_snapshot () { 24do_cargo_setup_snapshot () {
25 ${WORKDIR}/rust-snapshot-components/${CARGO_SNAPSHOT}/install.sh --prefix="${WORKDIR}/${CARGO_SNAPSHOT}" --disable-ldconfig 25 ${UNPACKDIR}/rust-snapshot-components/${CARGO_SNAPSHOT}/install.sh --prefix="${WORKDIR}/${CARGO_SNAPSHOT}" --disable-ldconfig
26 # Need to use uninative's loader if enabled/present since the library paths 26 # Need to use uninative's loader if enabled/present since the library paths
27 # are used internally by rust and result in symbol mismatches if we don't 27 # are used internally by rust and result in symbol mismatches if we don't
28 if [ ! -z "${UNINATIVE_LOADER}" -a -e "${UNINATIVE_LOADER}" ]; then 28 if [ ! -z "${UNINATIVE_LOADER}" -a -e "${UNINATIVE_LOADER}" ]; then
@@ -34,7 +34,6 @@ addtask cargo_setup_snapshot after do_unpack before do_configure
34do_cargo_setup_snapshot[dirs] += "${WORKDIR}/${CARGO_SNAPSHOT}" 34do_cargo_setup_snapshot[dirs] += "${WORKDIR}/${CARGO_SNAPSHOT}"
35do_cargo_setup_snapshot[vardepsexclude] += "UNINATIVE_LOADER" 35do_cargo_setup_snapshot[vardepsexclude] += "UNINATIVE_LOADER"
36 36
37
38do_compile:prepend () { 37do_compile:prepend () {
39 export RUSTC_BOOTSTRAP="1" 38 export RUSTC_BOOTSTRAP="1"
40} 39}
@@ -50,8 +49,21 @@ do_install:append:class-nativesdk() {
50 # sets to libdir but not base_libdir leading to symbol mismatches depending on the 49 # sets to libdir but not base_libdir leading to symbol mismatches depending on the
51 # host OS. Fully set LD_LIBRARY_PATH to contain both to avoid this. 50 # host OS. Fully set LD_LIBRARY_PATH to contain both to avoid this.
52 create_wrapper ${D}/${bindir}/cargo LD_LIBRARY_PATH=${libdir}:${base_libdir} 51 create_wrapper ${D}/${bindir}/cargo LD_LIBRARY_PATH=${libdir}:${base_libdir}
52
53 ENV_SETUP_DIR=${D}${base_prefix}/environment-setup.d
54 mkdir "${ENV_SETUP_DIR}"
55 CARGO_ENV_SETUP_SH="${ENV_SETUP_DIR}/cargo.sh"
56
57 cat <<- EOF > "${CARGO_ENV_SETUP_SH}"
58 # Keep the below off as long as HTTP/2 is disabled.
59 export CARGO_HTTP_MULTIPLEXING=false
60
61 export CARGO_HTTP_CAINFO="\$OECORE_NATIVE_SYSROOT/etc/ssl/certs/ca-certificates.crt"
62 EOF
53} 63}
54 64
65FILES:${PN} += "${base_prefix}/environment-setup.d"
66
55# Disabled due to incompatibility with libgit2 0.28.x (https://github.com/rust-lang/git2-rs/issues/458, https://bugs.gentoo.org/707746#c1) 67# Disabled due to incompatibility with libgit2 0.28.x (https://github.com/rust-lang/git2-rs/issues/458, https://bugs.gentoo.org/707746#c1)
56# as shipped by Yocto Dunfell. 68# as shipped by Yocto Dunfell.
57# According to https://github.com/rust-lang/git2-rs/issues/458#issuecomment-522567539, there are no compatibility guarantees between 69# According to https://github.com/rust-lang/git2-rs/issues/458#issuecomment-522567539, there are no compatibility guarantees between
diff --git a/meta/recipes-devtools/rust/files/0001-Define-more-ioctl-codes-on-riscv32gc-unknown-linux-g.patch b/meta/recipes-devtools/rust/files/0001-Define-more-ioctl-codes-on-riscv32gc-unknown-linux-g.patch
new file mode 100644
index 0000000000..82edd71206
--- /dev/null
+++ b/meta/recipes-devtools/rust/files/0001-Define-more-ioctl-codes-on-riscv32gc-unknown-linux-g.patch
@@ -0,0 +1,80 @@
1From d98ea9082af39ed003be8f1d96f7315de663e89f Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 6 Apr 2025 08:29:28 -0700
4Subject: [PATCH] Define more ioctl codes on riscv32gc-unknown-linux-gnu
5
6Define ioctl codes including `FICLONE` and `FS_IOC32_GETVERSION` on
7riscv32gc-unknown-linux-gnu.
8
9Upstream-Status: Submitted [https://github.com/rust-lang/libc/pull/4382]
10
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 vendor/libc-0.2.158/.cargo-checksum.json | 2 +-
14 .../src/unix/linux_like/linux/arch/generic/mod.rs | 6 +++++-
15 vendor/libc-0.2.167/.cargo-checksum.json | 2 +-
16 .../src/unix/linux_like/linux/arch/generic/mod.rs | 4 +++-
17 vendor/libc-0.2.169/.cargo-checksum.json | 2 +-
18 .../src/unix/linux_like/linux/arch/generic/mod.rs | 4 +++-
19 6 files changed, 14 insertions(+), 6 deletions(-)
20
21diff --git a/vendor/libc-0.2.167/.cargo-checksum.json b/vendor/libc-0.2.167/.cargo-checksum.json
22index 7ea5d4122..def87f4ef 100644
23--- a/vendor/libc-0.2.167/.cargo-checksum.json
24+++ b/vendor/libc-0.2.167/.cargo-checksum.json
25@@ -1 +1 @@
26-{"files":{"CHANGELOG.md":"ab0bd175d8a317894835d3bea1e1d78780adb818705bd77e230d6972c2ed3633","CONTRIBUTING.md":"155e7f4e96fafe9ee5c8adb5068be27a22de89a95ca9bfc7baf517b9850d20d6","Cargo.toml":"0912337103f997c684c700d066b62181c7f7b9a23e4e12faaf5c1a2b54a78757","LICENSE-APACHE":"62c7a1e35f56406896d7aa7ca52d0cc0d272ac022b5d2796e7d6905db8a3636a","LICENSE-MIT":"a8d47ff51ca256f56a8932dba07660672dbfe3004257ca8de708aac1415937a1","README.md":"38061c8bb600c2e01b48b662288cb11f38c0ec27bbe6d496e7f0acb1016991c4","build.rs":"bcbe11dc711029460fcc4f7fd8e38c487006ad0860007915ae6718bd90fb891a","rustfmt.toml":"e9321ff995242e8cb0a4984254f0748ef11a89ca4618cab8f047ee59a88768e7","src/fixed_width_ints.rs":"10eb30cf48390768f0167e1fa46ae99461968a05e93bd96aff721f54550ae66c","src/fuchsia/aarch64.rs":"d430586295c7eb022eb8202f7b18e483a9dd0e7de1857f7963453792c7161def","src/fuchsia/mod.rs":"f452b1cc842cc92c6c7676376adba83c1f5ccc2460e80626099ec520ba23a48b","src/fuchsia/riscv64.rs":"7efd6cbcbd2cb25d6380f6df69ad91cf62efd55fb9cb7cb85884c490b601743e","src/fuchsia/x86_64.rs":"e63daa4085c6f6ab35d9711df6d7e027247a8b3b2a6dc47fcb2b21e1f4820a2f","src/hermit.rs":"35c1e248f2b3608017f696a79d4a114c889176c9d281a1544916360c62be2301","src/lib.rs":"a8cd1626f2dd03c25242ce82856d04625ef0c3910de6ea2df729408831eeda38","src/macros.rs":"cb65803b265ba63ffe37375ae08703ab0b8b90972ed22da3cf7812eef421a6cd","src/psp.rs":"dcf53184a1ab06d18aa34431ca42644c5646fe78d05a53678ef9529607ba3ea7","src/sgx.rs":"f0f1a9fa864cd3dc94c4b3ce73f88e67f11453f63d8b4d52823de2ccbba7eb49","src/solid/aarch64.rs":"a726e47f324adf73a4a0b67a2c183408d0cad105ae66acf36db37a42ab7f8707","src/solid/arm.rs":"e39a4f74ebbef3b97b8c95758ad741123d84ed3eb48d9cf4f1f4872097fc27fe","src/solid/mod.rs":"01116b18b9be6791fdf4ff572d12154b64dfa43a18afc33940ea676e1884bdbb","src/switch.rs":"bb0ce1331c61a28caea7bd201e399d1e1127f303dcc7747b4f07f63d188ea49c","src/teeos/mod.rs":"7e0a8b550f1109c8247136cabb69308bd0ed2838f00ce0c99a695a3ef9afca22","src/trusty.rs":"2e829bfdaefbba31b907ee5ef577ebc9e8f2e2fee2cde2a4e608d5219a435390","src/unix/aix/mod.rs":"4fc9eb4d97b2496aff094754cf6417713b49ca8fea63f29c2bdadd5336cd842b","src/unix/aix/powerpc64.rs":"666146ac9e4cb01c49ba046ef470d93499d91c0948d86fdce65fcd6cff6ece14","src/unix/bsd/apple/b32/mod.rs":"9f20c77e86b812ff09d8193a48fe4f3afd6dae8a43d5a0d78b8592971cc3726e","src/unix/bsd/apple/b64/aarch64/mod.rs":"1ebe9f1a1e07318813da7e2a78195937533c22b51a23a4527b9404c948318f86","src/unix/bsd/apple/b64/mod.rs":"164e734befe87fa6e2d79fb856ce314282bd219ea4f2f357c6446dca6d2de359","src/unix/bsd/apple/b64/x86_64/mod.rs":"e03794fdeaaf4a86c7b12f41e490a7538c12d4a77743a5448237f73d5a8593f4","src/unix/bsd/apple/mod.rs":"c9f17938a9733a426e02f4c0951eec9987d231f9dac925d342fca049e548b17c","src/unix/bsd/freebsdlike/dragonfly/errno.rs":"07b19390b9ae8f541ac35fd4e14685d639b95152d6d7a33814bb749b8b927298","src/unix/bsd/freebsdlike/dragonfly/mod.rs":"f130937ac556080c77d7d1f011f2d2c964b65eb633bf6b7f1251a045670b9ec8","src/unix/bsd/freebsdlike/freebsd/aarch64.rs":"aea276451dca89f086d014b66e2e83e1eb948ab8dfbf920170c1b8338c9777c3","src/unix/bsd/freebsdlike/freebsd/arm.rs":"f70c76405a72754db37dff7de3fd586a19e1512b47f452493b430f295d7264af","src/unix/bsd/freebsdlike/freebsd/freebsd11/b32.rs":"8d9bef35f3e490d04755a59a99ad054ef20498beff979ae8b14acbec1097318a","src/unix/bsd/freebsdlike/freebsd/freebsd11/b64.rs":"45f718f556a8368f282944d9a14afae7261827ec4838d26719290466efc4f023","src/unix/bsd/freebsdlike/freebsd/freebsd11/mod.rs":"400f18465ef118e202ac9b1b9db47b1333fc17eb5841709082f2d1d5a5179391","src/unix/bsd/freebsdlike/freebsd/freebsd12/mod.rs":"fb999d55cf4f3403ac934dff1fc70c666087de234d7a91321bcfb5009bbafc6f","src/unix/bsd/freebsdlike/freebsd/freebsd12/x86_64.rs":"64c4bd82eaf30a2681417f982fce28de7d1b0743bfaa14004692a56cee44be21","src/unix/bsd/freebsdlike/freebsd/freebsd13/mod.rs":"e6f3430838d94dd17e359419f5de7d28a6b3adb8fcab7727d24e034bc6ed5d1e","src/unix/bsd/freebsdlike/freebsd/freebsd13/x86_64.rs":"64c4bd82eaf30a2681417f982fce28de7d1b0743bfaa14004692a56cee44be21","src/unix/bsd/freebsdlike/freebsd/freebsd14/mod.rs":"7d23d7d6b779265bca9c53c8b3e50b4dadb33f3911000ce88c8e09c9f0b60eab","src/unix/bsd/freebsdlike/freebsd/freebsd14/x86_64.rs":"d6e66809e109dc779efe5584b79d34fcd6fdba91973a415d64ae66f481f45940","src/unix/bsd/freebsdlike/freebsd/freebsd15/mod.rs":"45921502545212949a756d0edad2d861a5c6bc1925a4c13c8afc057ce6b4d8fe","src/unix/bsd/freebsdlike/freebsd/freebsd15/x86_64.rs":"d6e66809e109dc779efe5584b79d34fcd6fdba91973a415d64ae66f481f45940","src/unix/bsd/freebsdlike/freebsd/mod.rs":"10c26d1f6c09f797578980e0310978023ff14e4c05977a5748d9c7d65006cc12","src/unix/bsd/freebsdlike/freebsd/powerpc.rs":"36912b999e0571adccc06d9ebbd237e537a95c36ddb97d67a81e940ab28b36e7","src/unix/bsd/freebsdlike/freebsd/powerpc64.rs":"c1c13a3e7633ab6e84929ac3bfac96a67779e6cdac157d64b5b9f7c2b32b1691","src/unix/bsd/freebsdlike/freebsd/riscv64.rs":"b6bbfb556ed35c3897a98efffbafd5a07854dce1786643ffc1aaaa5a4e7dbe1e","src/unix/bsd/freebsdlike/freebsd/x86.rs":"8102bc641970bec32d4f2b93c8ba0e9c0432f84cef1442e3bf5438c3ba9c6c4d","src/unix/bsd/freebsdlike/freebsd/x86_64/mod.rs":"fab655006e7b0eded6e5a6db0b0cb1efd3dee9205b9a02f315c06093100883a1","src/unix/bsd/freebsdlike/mod.rs":"31adfff1db7bed60fa8044b37ef40fbabb929b055670cefe3bac88782de879f8","src/unix/bsd/mod.rs":"a776f9bf11ab5245bcddc37bde002f28f84ff8f0d919d2dbc37055b3a679d86b","src/unix/bsd/netbsdlike/mod.rs":"d089eef37c5888f59479c4961415b247470a662cd14a1ec65d1f3ebcd304cf31","src/unix/bsd/netbsdlike/netbsd/aarch64.rs":"1b526d8c7053d129548202faf3505033152d9c0a6682cefe2e8ae23a2a40b289","src/unix/bsd/netbsdlike/netbsd/arm.rs":"47abd680ddb4879648cac3d462e0daa7e980b5e6be7ba346f5f494ccdebee6e8","src/unix/bsd/netbsdlike/netbsd/mips.rs":"8420d476126ca2740ff2cbd1e85d0a31334e2c68dd0a70d3ac3e3d802b5b5782","src/unix/bsd/netbsdlike/netbsd/mod.rs":"742d6c0607ee20c81a2184a6378dc2d9c18f7180a0dc93aa91f830a0d1a06878","src/unix/bsd/netbsdlike/netbsd/powerpc.rs":"42f66be7650e95398a3687886db5053e55c77dc04eb139315bebf9668b2bed68","src/unix/bsd/netbsdlike/netbsd/riscv64.rs":"81664f910e884d70f0a758c42a17cc242db4811ce9dda1257fbd66b291cf0d52","src/unix/bsd/netbsdlike/netbsd/sparc64.rs":"78985b140b0337f6bb951f9db68e0db0b5a0a8131ac5c4426a342ed002e27a82","src/unix/bsd/netbsdlike/netbsd/x86.rs":"dda4e401f03084a87762fb68c483998756a07b7c5d4b86348fc3f79380024fb7","src/unix/bsd/netbsdlike/netbsd/x86_64.rs":"b60e896c10ba86a59b13a189fe2e6b94265244fa4b2bc3f89a46065e7d469dea","src/unix/bsd/netbsdlike/openbsd/aarch64.rs":"91b6ac97e6411261cf5206ab1951a4e4e1f1cc9ca26217d7144f000f8f7c8580","src/unix/bsd/netbsdlike/openbsd/arm.rs":"f8c975d4b94a8b8d11dcc5224db628997003a8d289f12fb12b398e9445c2f122","src/unix/bsd/netbsdlike/openbsd/mips64.rs":"8532a189ae10c7d668d9d4065da8b05d124e09bd39442c9f74a7f231c43eca48","src/unix/bsd/netbsdlike/openbsd/mod.rs":"2e6e0e94ae9dd802692bc7258deaf14a4f1b6544bc2dfa853ae753e7e4f27afb","src/unix/bsd/netbsdlike/openbsd/powerpc.rs":"f8c975d4b94a8b8d11dcc5224db628997003a8d289f12fb12b398e9445c2f122","src/unix/bsd/netbsdlike/openbsd/powerpc64.rs":"d53f6ccd830b8bbe94c9be8a92a719105ed29846d6a11ce6c972fa7ff142a001","src/unix/bsd/netbsdlike/openbsd/riscv64.rs":"21a90502854e1aab413700edc41bd7922bc6e0fc3d7240aa57f258bb4546fa9c","src/unix/bsd/netbsdlike/openbsd/sparc64.rs":"d04fd287afbaa2c5df9d48c94e8374a532a3ba491b424ddf018270c7312f4085","src/unix/bsd/netbsdlike/openbsd/x86.rs":"ebe65020c0d457af0458f549b8c44099a8c274d734bfa6c3362f0b6423fa3c7a","src/unix/bsd/netbsdlike/openbsd/x86_64.rs":"2aec823a0800d28fe546d35e98ae1dc671aa253663f9923d147548233def260a","src/unix/haiku/b32.rs":"c56aa69ed87dded0d297d44a9177577b1d2d4a79ed176e6768c7fc4dab90bfb4","src/unix/haiku/b64.rs":"d44daef26b89e75d58ac0204a169a66ba5fbc13fc40948f67f19700e6033a07e","src/unix/haiku/mod.rs":"2589765aa89ad146cf0cb942fe371340293f97a5aaecd2dfc0ac0f563eac86f3","src/unix/haiku/native.rs":"8dbd270e9e1d6409952709a5a37383bda2660008b745aa01adc02172a20bf939","src/unix/haiku/x86_64.rs":"8d8ef6b462bc32b3270440526f35c8dec572b502355c27ad451e64a816c4a176","src/unix/hurd/b32.rs":"3e79bb09b66d8a1d3b7589a4b2b2076e57bd7b51b747f5219f24d3bd2019ad6a","src/unix/hurd/b64.rs":"f61f0263a71f39a5130ac749bb0f146e5b95e7b054f4929197366f28e8c22815","src/unix/hurd/mod.rs":"37fe6e548eac4add081e157524d22de976dec369104a14da1e3b20a4396d45ec","src/unix/linux_like/android/b32/arm.rs":"75c57d6c70f74f44b00b803975d4e81e444189ea28c4f34dea8c0570fc947076","src/unix/linux_like/android/b32/mod.rs":"a94d3e03741ea30082411f0f858dd302b9a8b7b8a8f0d8325ecaf2f7ca70312e","src/unix/linux_like/android/b32/x86/mod.rs":"27fb796a7b202997ad83c2c23268cbbea3fa77cb8dfae8712501d4e5c9c9a5cf","src/unix/linux_like/android/b64/aarch64/mod.rs":"03a71c8e142e098486dbe6674158317bc2f90a3e27132d3e9549aee8f5e3b1d0","src/unix/linux_like/android/b64/mod.rs":"186edde6293b874c5ae96e10be760f38a967907fa9049bcaf8335aff51b3c6d1","src/unix/linux_like/android/b64/riscv64/mod.rs":"504de667a5e03f1a0e1cf4bcfc78bbdc1569037e039fafe00edda18cf7388365","src/unix/linux_like/android/b64/x86_64/mod.rs":"dd3f5db929900147f0d52bd23d4cd88886cd04148db99f6961d244106e06bcfb","src/unix/linux_like/android/mod.rs":"120f0df52ded5fd7d499f2254583e2bedd02adaaf27eb3409fe2a505a3a76198","src/unix/linux_like/emscripten/lfs64.rs":"3a1d1779bcf16525a578a68237f9854090eae4c9819e18ffb5a288f39be4afbe","src/unix/linux_like/emscripten/mod.rs":"358a82517c559c46906b751217eea5f918d793f8bf84c3451d472b2ed9a1cf77","src/unix/linux_like/linux/arch/generic/mod.rs":"695b717593cbd254bf8250521a261d87a39824333f35a50b7c75f252eae5a7d6","src/unix/linux_like/linux/arch/mips/mod.rs":"abcb98291a77d26f0c0792f1ee87763538559f1f9d7fcbf4e8e6401b4442515b","src/unix/linux_like/linux/arch/mod.rs":"8bc5898b03760a95dd4f124ac76ad92e5ae36b2d0644203d752ef2b37e487c3a","src/unix/linux_like/linux/arch/powerpc/mod.rs":"92c19d5f1ede9389f9044faf8f4f16fc5408b6fb04bbaa67c9bb1f69e32123e0","src/unix/linux_like/linux/arch/sparc/mod.rs":"dfd07a3a6d8b175678b180ff9903e0d5d529c8112d01bd135f53fce742f433a6","src/unix/linux_like/linux/gnu/b32/arm/mod.rs":"7ed85493e121e05d0d52a6751e744451548a390139a5ae947499fbfcff1910be","src/unix/linux_like/linux/gnu/b32/csky/mod.rs":"5fa98a93b92ae3336a0f6a279c0cd6a95c79ccb86443848fc96ddc1026279696","src/unix/linux_like/linux/gnu/b32/m68k/mod.rs":"c5717f5e2266a40144c236e05475ffb2d964c01d956745f29678b69170dd1a1f","src/unix/linux_like/linux/gnu/b32/mips/mod.rs":"5a19abd7401743cad8e6e03ddee15686bbaf7d1bd5b2710e8c2eb97224ed54f0","src/unix/linux_like/linux/gnu/b32/mod.rs":"a9033d128bc441cd970caa4f912d0f842ac169b573e3dfa5539b763609e87d70","src/unix/linux_like/linux/gnu/b32/powerpc.rs":"ee6e9a11848747e0a480407ba7379befef6e2abaffc91ef7906a84e585cd2440","src/unix/linux_like/linux/gnu/b32/riscv32/mod.rs":"e576a35240eff5e1d6bca073a78f57fe8190a723c47c81bea287ddbd4bba7237","src/unix/linux_like/linux/gnu/b32/sparc/mod.rs":"5e2e2d605ca74af943e539c8c1ba410715461870b314973c444eba0fee3039cd","src/unix/linux_like/linux/gnu/b32/x86/mod.rs":"4869c3fa80b115803adc0a5b77754077035fae36edea27c3abe1504e73f0e516","src/unix/linux_like/linux/gnu/b64/aarch64/ilp32.rs":"47cc25f28c4bea16c00cd6023c84d09bdc8056217f35744dfdfe27c7f2ea0ca5","src/unix/linux_like/linux/gnu/b64/aarch64/lp64.rs":"39593a2f8fd78fccbbd982734c0feb9d15cb3a6a9a6b029bb972ce5b89c78420","src/unix/linux_like/linux/gnu/b64/aarch64/mod.rs":"24f9ec2670ec41ae3c108c0c412b39daef9faf315e0d7c3a53f1ef05dcd6e027","src/unix/linux_like/linux/gnu/b64/loongarch64/mod.rs":"c0b4c6c252104151390dfc521ffd63e739da709dffbb5cb71a3aba6e270b6fc2","src/unix/linux_like/linux/gnu/b64/mips64/mod.rs":"dd6aeee535eb66b1286365119b7976dffee6216f6653a981963b1cc288fa7516","src/unix/linux_like/linux/gnu/b64/mod.rs":"66b8a981ff02176331f2402806e6ffd7d1a301fe23f285dd4e5dd2d9ed70ea1b","src/unix/linux_like/linux/gnu/b64/powerpc64/mod.rs":"450ad230da45da6ab33b4806db8ff24f6b1ca9b400fa2c5fb9187189a8545347","src/unix/linux_like/linux/gnu/b64/riscv64/mod.rs":"597c804422b1ea028f998d6c7ed61a9c54ae708b87456544597ab4f7a26a2579","src/unix/linux_like/linux/gnu/b64/s390x.rs":"bcac1400cad0226c7b8b8300d6cbab300cd98922545c88b1968206442501aaaf","src/unix/linux_like/linux/gnu/b64/sparc64/mod.rs":"006ce42969449eb5bb8cdd7c03422be2a436717b152b3982d267ed437be4d5e4","src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs":"bf75505d274e3185694c2d5a28fecbeff276faad5cb79c7ec2122ce024b8782f","src/unix/linux_like/linux/gnu/b64/x86_64/not_x32.rs":"fdb2d3b26336297d34c452633afc705bcaf9c1b4e4fda359f695c4f708d81f17","src/unix/linux_like/linux/gnu/b64/x86_64/x32.rs":"54c1ac9bd8d9fe13eeb9b27a92baf715c9d77af1229262fce93362da72f11fe5","src/unix/linux_like/linux/gnu/mod.rs":"a9356a442dc62dcfb6a6a586afea9fa47fd223f33cbd17f09a1dcaa243c5cc0a","src/unix/linux_like/linux/mod.rs":"0ad7afb4c32fe6c69882fbde2d7782338a30d652657a18c55f83392264bf4ed5","src/unix/linux_like/linux/musl/b32/arm/mod.rs":"64d2f81625dd6691ea81bc64a4a3ed88d41b125a7cd00ed347875b795d6a4905","src/unix/linux_like/linux/musl/b32/hexagon.rs":"b0247dd57999a4ddbbd7247a471255181e22458825c61b5464fafd36a31a8545","src/unix/linux_like/linux/musl/b32/mips/mod.rs":"b962ea54c35281131aaa990bf59949d54f24f9583c7191a7efc9c384d6159cfa","src/unix/linux_like/linux/musl/b32/mod.rs":"b9adac558a356cbaddb821588645590a7a11d22c1f11f6d2cc636c177f2e28e9","src/unix/linux_like/linux/musl/b32/powerpc.rs":"95295bd0e58668a204799a1b5f1a0f636c67be28a959e10ee1ab92631b53c82f","src/unix/linux_like/linux/musl/b32/riscv32/mod.rs":"738bc36f9a0f312cc2336cac38ecd5390a9d91b53da51d26afd2542449b54e7b","src/unix/linux_like/linux/musl/b32/x86/mod.rs":"0f6e1c0d5e7d650832da95cf7dce85dff82845876e53b6587154e546b09d3efc","src/unix/linux_like/linux/musl/b64/aarch64/mod.rs":"8e718cec34d53079e9c841084cb2eca7942a0a66139360a833a0e2ebf0bfe95a","src/unix/linux_like/linux/musl/b64/loongarch64/mod.rs":"a825259bb56e78a62f559dccfd1c35e686d8d15f781ce78f83c5266cc398fe82","src/unix/linux_like/linux/musl/b64/mips64.rs":"be1c8bd1f406d3fb1873075cf613ec17b545200ef514423a12190d6dbc42016c","src/unix/linux_like/linux/musl/b64/mod.rs":"db84391acba3ed3c9462ba899f0f1a88747bdb5207658343ba699505bc7d4f8c","src/unix/linux_like/linux/musl/b64/powerpc64.rs":"eb4d57a7201ffbfc8090bc8f97a62e1642a09d224cd70d4556d3c18cf63ac802","src/unix/linux_like/linux/musl/b64/riscv64/mod.rs":"a14269927d846288dadc72a12ff2182274cc0522abe48802b5e9e4563402b73b","src/unix/linux_like/linux/musl/b64/s390x.rs":"67d922c392d53c3928798d9725d3f4336a967d1ef20c5088e498cf331af17fd1","src/unix/linux_like/linux/musl/b64/x86_64/mod.rs":"9e958fbdb3cb6c3b48d2413a73961db7259fc34863f4c2f67afa2a17b7b1af05","src/unix/linux_like/linux/musl/lfs64.rs":"308c5b5c9b2f4b1ad17e5c2d02946f84ae83e8f5cb0e789d8d3e76c1923a5d31","src/unix/linux_like/linux/musl/mod.rs":"c7ee52da16396aea3a39573ae9a0ba071500d0e966a53b938793a5ef8b3bb25c","src/unix/linux_like/linux/uclibc/arm/mod.rs":"1b0ce2d0d4467cc32a1dd5e5c62f0d57fc1963354ae223bdc636b8d6d5d6fea3","src/unix/linux_like/linux/uclibc/mips/mips32/mod.rs":"73d70042db5148d5a789880100879541563fa1de8bf5feb792341b4270244968","src/unix/linux_like/linux/uclibc/mips/mips64/mod.rs":"0a6c13d1873d3f165171a69433bb9b2df1c9151cc1085735613791e603865a06","src/unix/linux_like/linux/uclibc/mips/mod.rs":"ead3f9c05e3bdd5d5b52f25dd4a2d154471555a6bae2d4cbd5c07e976513dcea","src/unix/linux_like/linux/uclibc/mod.rs":"1cc653e9ad8524408c9023cbd7245b53b81c105ee3b341cb3e98c435196d191e","src/unix/linux_like/linux/uclibc/x86_64/l4re.rs":"076ad477f0786a2e4944cc0550a4492b21d4b65d094006947ec40e0c7ee5365d","src/unix/linux_like/linux/uclibc/x86_64/mod.rs":"889f06553111d8bdcf6a0aff344d1c2320ec6c067a612b46441f9e817853b5c0","src/unix/linux_like/linux/uclibc/x86_64/other.rs":"12f8d4049862fc0c4d94b770f2d0341c1c7bf3da0619436169c12cadc4093def","src/unix/linux_like/mod.rs":"979205c66cd960da2506e3115a4950a8fe24ce963fdba3d5d05b9e19d8f077ea","src/unix/mod.rs":"eb23bc25b5e03276cf7c174386f5cbeefff1fd13a43a311d45a375a1fbf3a296","src/unix/newlib/aarch64/mod.rs":"e08ba9d6ac7f8b381f8699b3604cf460a5fcd5b8e68e139bba4f29bfba4781a4","src/unix/newlib/arm/mod.rs":"ddea29e7ce40756f2af4c9792d5cefdd0c634401aaeb146dc686f1f125e3bac8","src/unix/newlib/espidf/mod.rs":"d8f90d04b485eb31092ecaeb7fca3a27e8456c7bb8116074febb9e00ac5c96a8","src/unix/newlib/generic.rs":"182e584f14e0984934130425dd2be0781ca2c131449b3ae1734a07c72c3d43cd","src/unix/newlib/horizon/mod.rs":"a484d84f56fd5b49fed83d6d8a5e8ec5647f0bfa3d30b496a7fa6fe5e546a980","src/unix/newlib/mod.rs":"2f3e9c6217994ec34b0e3b49bf5ebe1335f3b12146f7f55a797ea7041cb1f44c","src/unix/newlib/powerpc/mod.rs":"1a161a27493adb2c3b47d60eebc8ac57b2f0ef0111abdcd5b4d55d11c36d37e5","src/unix/newlib/rtems/mod.rs":"239c90d1daf783ff95168a3fcbc5a0c3d1f9c4b5a0ef32a0e4a22b861f82713a","src/unix/newlib/vita/mod.rs":"fcf4400037d9a59d1c2d2cbab874f12c3b09fa968ffcaeb53315f67302c8f29d","src/unix/nto/aarch64.rs":"91d0448f932d0cf6af4f11e4f8c9d68a78100ed561e560665983359b7b943075","src/unix/nto/mod.rs":"01938d623e161fb8e20e28d86977403023bb1645c83cec2ffef3632d7ec29750","src/unix/nto/neutrino.rs":"039ab7b1ed702d515f3e06d7f3536709704715a49905024b6c520696a65086f9","src/unix/nto/x86_64.rs":"c8efb0f67811e440d798786911f51160c9d3d1c20fb3ca633b5e80ec05dff3ca","src/unix/nuttx/mod.rs":"f1f5529c96b2a3e6f1600a5bdcfea4dfb859b5e116de436ea24f9965df5c64f5","src/unix/redox/mod.rs":"5c0ba01e67bcdf076057dea7f893e14f8ee84b8b2b1a372d39f4d000ff4fc93c","src/unix/solarish/compat.rs":"c02a88918852b7a9c60e45a34f7b003901000380f5c1b2832b8bd79f84936c8b","src/unix/solarish/illumos.rs":"cc7104f002a5379f981c59a779ef4afad00c874e0be21dda339901cd5eea4af1","src/unix/solarish/mod.rs":"2b6c62850c168e7200955ba1f52464fa03c329df7a4e77a30054544280308dc1","src/unix/solarish/solaris.rs":"51b6bf12427319c9af9db4e1b2a984a4d75f994adcd4139f2fc878c9b92f6e1d","src/unix/solarish/x86.rs":"44261c1f1b300dac9fa0dab93ec85d0c3b3c48b15bc4515b9820c9421cff7427","src/unix/solarish/x86_64.rs":"768bfd0e1f4b2ac3fbbf1e2d8239ef58f21726540b9de5c72a9b1cd534ab0ea1","src/unix/solarish/x86_common.rs":"4ae02d88622f7f080f5e8cd328f13187edbc5e124fb3e05e4cf212597f6cce48","src/vxworks/aarch64.rs":"98f0afdc511cd02557e506c21fed6737585490a1dce7a9d4941d08c437762b99","src/vxworks/arm.rs":"acb7968ce99fe3f4abdf39d98f8133d21a4fba435b8ef7084777cb181d788e88","src/vxworks/mod.rs":"6d111d4dc3b6201fd2c45b247d0592e9403ee4b65a481afda727f7422223f9a9","src/vxworks/powerpc.rs":"acb7968ce99fe3f4abdf39d98f8133d21a4fba435b8ef7084777cb181d788e88","src/vxworks/powerpc64.rs":"98f0afdc511cd02557e506c21fed6737585490a1dce7a9d4941d08c437762b99","src/vxworks/riscv32.rs":"552f007f38317620b23889cb7c49d1d115841252439060122f52f434fbc6e5ba","src/vxworks/riscv64.rs":"018d92be3ad628a129eff9f2f5dfbc0883d8b8e5f2fa917b900a7f98ed6b514a","src/vxworks/x86.rs":"552f007f38317620b23889cb7c49d1d115841252439060122f52f434fbc6e5ba","src/vxworks/x86_64.rs":"018d92be3ad628a129eff9f2f5dfbc0883d8b8e5f2fa917b900a7f98ed6b514a","src/wasi/mod.rs":"f7b39137ce2c005367016a00e00f0affdce627d9165681c9dc9280534720640b","src/wasi/p2.rs":"feecc0485eabd2c32bc5d800df6ad1b9b4d282741342fb08792f2635204e1e08","src/windows/gnu/mod.rs":"320ddf761f731c24a27e061438ddbacb0630e3ad6f3bb39f6514c28dffd8ac9f","src/windows/mod.rs":"282daeacf420e36c5ba2f8129d045104e1172b29a9035e73c10739836a8af440","src/windows/msvc/mod.rs":"7bc0f1e7e73815296cd6b63b2700e12624e9f47b5c4113a1a87fae8e64549c00","src/xous.rs":"17b571c988119fe3f71dbcccfe722de5c772abc3ca20dc4b09b58780980b78e9","tests/const_fn.rs":"8ac3171d7bced3576a4e93f48570b3e00c553d7510ab85a7473ae3b716a812dc"},"package":"09d6582e104315a817dff97f75133544b2e094ee22447d2acf4a74e189ba06fc"}
27\ No newline at end of file
28+{"files":{"CHANGELOG.md":"ab0bd175d8a317894835d3bea1e1d78780adb818705bd77e230d6972c2ed3633","CONTRIBUTING.md":"155e7f4e96fafe9ee5c8adb5068be27a22de89a95ca9bfc7baf517b9850d20d6","Cargo.toml":"0912337103f997c684c700d066b62181c7f7b9a23e4e12faaf5c1a2b54a78757","LICENSE-APACHE":"62c7a1e35f56406896d7aa7ca52d0cc0d272ac022b5d2796e7d6905db8a3636a","LICENSE-MIT":"a8d47ff51ca256f56a8932dba07660672dbfe3004257ca8de708aac1415937a1","README.md":"38061c8bb600c2e01b48b662288cb11f38c0ec27bbe6d496e7f0acb1016991c4","build.rs":"bcbe11dc711029460fcc4f7fd8e38c487006ad0860007915ae6718bd90fb891a","rustfmt.toml":"e9321ff995242e8cb0a4984254f0748ef11a89ca4618cab8f047ee59a88768e7","src/fixed_width_ints.rs":"10eb30cf48390768f0167e1fa46ae99461968a05e93bd96aff721f54550ae66c","src/fuchsia/aarch64.rs":"d430586295c7eb022eb8202f7b18e483a9dd0e7de1857f7963453792c7161def","src/fuchsia/mod.rs":"f452b1cc842cc92c6c7676376adba83c1f5ccc2460e80626099ec520ba23a48b","src/fuchsia/riscv64.rs":"7efd6cbcbd2cb25d6380f6df69ad91cf62efd55fb9cb7cb85884c490b601743e","src/fuchsia/x86_64.rs":"e63daa4085c6f6ab35d9711df6d7e027247a8b3b2a6dc47fcb2b21e1f4820a2f","src/hermit.rs":"35c1e248f2b3608017f696a79d4a114c889176c9d281a1544916360c62be2301","src/lib.rs":"a8cd1626f2dd03c25242ce82856d04625ef0c3910de6ea2df729408831eeda38","src/macros.rs":"cb65803b265ba63ffe37375ae08703ab0b8b90972ed22da3cf7812eef421a6cd","src/psp.rs":"dcf53184a1ab06d18aa34431ca42644c5646fe78d05a53678ef9529607ba3ea7","src/sgx.rs":"f0f1a9fa864cd3dc94c4b3ce73f88e67f11453f63d8b4d52823de2ccbba7eb49","src/solid/aarch64.rs":"a726e47f324adf73a4a0b67a2c183408d0cad105ae66acf36db37a42ab7f8707","src/solid/arm.rs":"e39a4f74ebbef3b97b8c95758ad741123d84ed3eb48d9cf4f1f4872097fc27fe","src/solid/mod.rs":"01116b18b9be6791fdf4ff572d12154b64dfa43a18afc33940ea676e1884bdbb","src/switch.rs":"bb0ce1331c61a28caea7bd201e399d1e1127f303dcc7747b4f07f63d188ea49c","src/teeos/mod.rs":"7e0a8b550f1109c8247136cabb69308bd0ed2838f00ce0c99a695a3ef9afca22","src/trusty.rs":"2e829bfdaefbba31b907ee5ef577ebc9e8f2e2fee2cde2a4e608d5219a435390","src/unix/aix/mod.rs":"4fc9eb4d97b2496aff094754cf6417713b49ca8fea63f29c2bdadd5336cd842b","src/unix/aix/powerpc64.rs":"666146ac9e4cb01c49ba046ef470d93499d91c0948d86fdce65fcd6cff6ece14","src/unix/bsd/apple/b32/mod.rs":"9f20c77e86b812ff09d8193a48fe4f3afd6dae8a43d5a0d78b8592971cc3726e","src/unix/bsd/apple/b64/aarch64/mod.rs":"1ebe9f1a1e07318813da7e2a78195937533c22b51a23a4527b9404c948318f86","src/unix/bsd/apple/b64/mod.rs":"164e734befe87fa6e2d79fb856ce314282bd219ea4f2f357c6446dca6d2de359","src/unix/bsd/apple/b64/x86_64/mod.rs":"e03794fdeaaf4a86c7b12f41e490a7538c12d4a77743a5448237f73d5a8593f4","src/unix/bsd/apple/mod.rs":"c9f17938a9733a426e02f4c0951eec9987d231f9dac925d342fca049e548b17c","src/unix/bsd/freebsdlike/dragonfly/errno.rs":"07b19390b9ae8f541ac35fd4e14685d639b95152d6d7a33814bb749b8b927298","src/unix/bsd/freebsdlike/dragonfly/mod.rs":"f130937ac556080c77d7d1f011f2d2c964b65eb633bf6b7f1251a045670b9ec8","src/unix/bsd/freebsdlike/freebsd/aarch64.rs":"aea276451dca89f086d014b66e2e83e1eb948ab8dfbf920170c1b8338c9777c3","src/unix/bsd/freebsdlike/freebsd/arm.rs":"f70c76405a72754db37dff7de3fd586a19e1512b47f452493b430f295d7264af","src/unix/bsd/freebsdlike/freebsd/freebsd11/b32.rs":"8d9bef35f3e490d04755a59a99ad054ef20498beff979ae8b14acbec1097318a","src/unix/bsd/freebsdlike/freebsd/freebsd11/b64.rs":"45f718f556a8368f282944d9a14afae7261827ec4838d26719290466efc4f023","src/unix/bsd/freebsdlike/freebsd/freebsd11/mod.rs":"400f18465ef118e202ac9b1b9db47b1333fc17eb5841709082f2d1d5a5179391","src/unix/bsd/freebsdlike/freebsd/freebsd12/mod.rs":"fb999d55cf4f3403ac934dff1fc70c666087de234d7a91321bcfb5009bbafc6f","src/unix/bsd/freebsdlike/freebsd/freebsd12/x86_64.rs":"64c4bd82eaf30a2681417f982fce28de7d1b0743bfaa14004692a56cee44be21","src/unix/bsd/freebsdlike/freebsd/freebsd13/mod.rs":"e6f3430838d94dd17e359419f5de7d28a6b3adb8fcab7727d24e034bc6ed5d1e","src/unix/bsd/freebsdlike/freebsd/freebsd13/x86_64.rs":"64c4bd82eaf30a2681417f982fce28de7d1b0743bfaa14004692a56cee44be21","src/unix/bsd/freebsdlike/freebsd/freebsd14/mod.rs":"7d23d7d6b779265bca9c53c8b3e50b4dadb33f3911000ce88c8e09c9f0b60eab","src/unix/bsd/freebsdlike/freebsd/freebsd14/x86_64.rs":"d6e66809e109dc779efe5584b79d34fcd6fdba91973a415d64ae66f481f45940","src/unix/bsd/freebsdlike/freebsd/freebsd15/mod.rs":"45921502545212949a756d0edad2d861a5c6bc1925a4c13c8afc057ce6b4d8fe","src/unix/bsd/freebsdlike/freebsd/freebsd15/x86_64.rs":"d6e66809e109dc779efe5584b79d34fcd6fdba91973a415d64ae66f481f45940","src/unix/bsd/freebsdlike/freebsd/mod.rs":"10c26d1f6c09f797578980e0310978023ff14e4c05977a5748d9c7d65006cc12","src/unix/bsd/freebsdlike/freebsd/powerpc.rs":"36912b999e0571adccc06d9ebbd237e537a95c36ddb97d67a81e940ab28b36e7","src/unix/bsd/freebsdlike/freebsd/powerpc64.rs":"c1c13a3e7633ab6e84929ac3bfac96a67779e6cdac157d64b5b9f7c2b32b1691","src/unix/bsd/freebsdlike/freebsd/riscv64.rs":"b6bbfb556ed35c3897a98efffbafd5a07854dce1786643ffc1aaaa5a4e7dbe1e","src/unix/bsd/freebsdlike/freebsd/x86.rs":"8102bc641970bec32d4f2b93c8ba0e9c0432f84cef1442e3bf5438c3ba9c6c4d","src/unix/bsd/freebsdlike/freebsd/x86_64/mod.rs":"fab655006e7b0eded6e5a6db0b0cb1efd3dee9205b9a02f315c06093100883a1","src/unix/bsd/freebsdlike/mod.rs":"31adfff1db7bed60fa8044b37ef40fbabb929b055670cefe3bac88782de879f8","src/unix/bsd/mod.rs":"a776f9bf11ab5245bcddc37bde002f28f84ff8f0d919d2dbc37055b3a679d86b","src/unix/bsd/netbsdlike/mod.rs":"d089eef37c5888f59479c4961415b247470a662cd14a1ec65d1f3ebcd304cf31","src/unix/bsd/netbsdlike/netbsd/aarch64.rs":"1b526d8c7053d129548202faf3505033152d9c0a6682cefe2e8ae23a2a40b289","src/unix/bsd/netbsdlike/netbsd/arm.rs":"47abd680ddb4879648cac3d462e0daa7e980b5e6be7ba346f5f494ccdebee6e8","src/unix/bsd/netbsdlike/netbsd/mips.rs":"8420d476126ca2740ff2cbd1e85d0a31334e2c68dd0a70d3ac3e3d802b5b5782","src/unix/bsd/netbsdlike/netbsd/mod.rs":"742d6c0607ee20c81a2184a6378dc2d9c18f7180a0dc93aa91f830a0d1a06878","src/unix/bsd/netbsdlike/netbsd/powerpc.rs":"42f66be7650e95398a3687886db5053e55c77dc04eb139315bebf9668b2bed68","src/unix/bsd/netbsdlike/netbsd/riscv64.rs":"81664f910e884d70f0a758c42a17cc242db4811ce9dda1257fbd66b291cf0d52","src/unix/bsd/netbsdlike/netbsd/sparc64.rs":"78985b140b0337f6bb951f9db68e0db0b5a0a8131ac5c4426a342ed002e27a82","src/unix/bsd/netbsdlike/netbsd/x86.rs":"dda4e401f03084a87762fb68c483998756a07b7c5d4b86348fc3f79380024fb7","src/unix/bsd/netbsdlike/netbsd/x86_64.rs":"b60e896c10ba86a59b13a189fe2e6b94265244fa4b2bc3f89a46065e7d469dea","src/unix/bsd/netbsdlike/openbsd/aarch64.rs":"91b6ac97e6411261cf5206ab1951a4e4e1f1cc9ca26217d7144f000f8f7c8580","src/unix/bsd/netbsdlike/openbsd/arm.rs":"f8c975d4b94a8b8d11dcc5224db628997003a8d289f12fb12b398e9445c2f122","src/unix/bsd/netbsdlike/openbsd/mips64.rs":"8532a189ae10c7d668d9d4065da8b05d124e09bd39442c9f74a7f231c43eca48","src/unix/bsd/netbsdlike/openbsd/mod.rs":"2e6e0e94ae9dd802692bc7258deaf14a4f1b6544bc2dfa853ae753e7e4f27afb","src/unix/bsd/netbsdlike/openbsd/powerpc.rs":"f8c975d4b94a8b8d11dcc5224db628997003a8d289f12fb12b398e9445c2f122","src/unix/bsd/netbsdlike/openbsd/powerpc64.rs":"d53f6ccd830b8bbe94c9be8a92a719105ed29846d6a11ce6c972fa7ff142a001","src/unix/bsd/netbsdlike/openbsd/riscv64.rs":"21a90502854e1aab413700edc41bd7922bc6e0fc3d7240aa57f258bb4546fa9c","src/unix/bsd/netbsdlike/openbsd/sparc64.rs":"d04fd287afbaa2c5df9d48c94e8374a532a3ba491b424ddf018270c7312f4085","src/unix/bsd/netbsdlike/openbsd/x86.rs":"ebe65020c0d457af0458f549b8c44099a8c274d734bfa6c3362f0b6423fa3c7a","src/unix/bsd/netbsdlike/openbsd/x86_64.rs":"2aec823a0800d28fe546d35e98ae1dc671aa253663f9923d147548233def260a","src/unix/haiku/b32.rs":"c56aa69ed87dded0d297d44a9177577b1d2d4a79ed176e6768c7fc4dab90bfb4","src/unix/haiku/b64.rs":"d44daef26b89e75d58ac0204a169a66ba5fbc13fc40948f67f19700e6033a07e","src/unix/haiku/mod.rs":"2589765aa89ad146cf0cb942fe371340293f97a5aaecd2dfc0ac0f563eac86f3","src/unix/haiku/native.rs":"8dbd270e9e1d6409952709a5a37383bda2660008b745aa01adc02172a20bf939","src/unix/haiku/x86_64.rs":"8d8ef6b462bc32b3270440526f35c8dec572b502355c27ad451e64a816c4a176","src/unix/hurd/b32.rs":"3e79bb09b66d8a1d3b7589a4b2b2076e57bd7b51b747f5219f24d3bd2019ad6a","src/unix/hurd/b64.rs":"f61f0263a71f39a5130ac749bb0f146e5b95e7b054f4929197366f28e8c22815","src/unix/hurd/mod.rs":"37fe6e548eac4add081e157524d22de976dec369104a14da1e3b20a4396d45ec","src/unix/linux_like/android/b32/arm.rs":"75c57d6c70f74f44b00b803975d4e81e444189ea28c4f34dea8c0570fc947076","src/unix/linux_like/android/b32/mod.rs":"a94d3e03741ea30082411f0f858dd302b9a8b7b8a8f0d8325ecaf2f7ca70312e","src/unix/linux_like/android/b32/x86/mod.rs":"27fb796a7b202997ad83c2c23268cbbea3fa77cb8dfae8712501d4e5c9c9a5cf","src/unix/linux_like/android/b64/aarch64/mod.rs":"03a71c8e142e098486dbe6674158317bc2f90a3e27132d3e9549aee8f5e3b1d0","src/unix/linux_like/android/b64/mod.rs":"186edde6293b874c5ae96e10be760f38a967907fa9049bcaf8335aff51b3c6d1","src/unix/linux_like/android/b64/riscv64/mod.rs":"504de667a5e03f1a0e1cf4bcfc78bbdc1569037e039fafe00edda18cf7388365","src/unix/linux_like/android/b64/x86_64/mod.rs":"dd3f5db929900147f0d52bd23d4cd88886cd04148db99f6961d244106e06bcfb","src/unix/linux_like/android/mod.rs":"120f0df52ded5fd7d499f2254583e2bedd02adaaf27eb3409fe2a505a3a76198","src/unix/linux_like/emscripten/lfs64.rs":"3a1d1779bcf16525a578a68237f9854090eae4c9819e18ffb5a288f39be4afbe","src/unix/linux_like/emscripten/mod.rs":"358a82517c559c46906b751217eea5f918d793f8bf84c3451d472b2ed9a1cf77","src/unix/linux_like/linux/arch/generic/mod.rs":"74e073817b49261c7b9b194c6a7b2cb94adb7a66ee0449bfa4af169d2acbae47","src/unix/linux_like/linux/arch/mips/mod.rs":"abcb98291a77d26f0c0792f1ee87763538559f1f9d7fcbf4e8e6401b4442515b","src/unix/linux_like/linux/arch/mod.rs":"8bc5898b03760a95dd4f124ac76ad92e5ae36b2d0644203d752ef2b37e487c3a","src/unix/linux_like/linux/arch/powerpc/mod.rs":"92c19d5f1ede9389f9044faf8f4f16fc5408b6fb04bbaa67c9bb1f69e32123e0","src/unix/linux_like/linux/arch/sparc/mod.rs":"dfd07a3a6d8b175678b180ff9903e0d5d529c8112d01bd135f53fce742f433a6","src/unix/linux_like/linux/gnu/b32/arm/mod.rs":"7ed85493e121e05d0d52a6751e744451548a390139a5ae947499fbfcff1910be","src/unix/linux_like/linux/gnu/b32/csky/mod.rs":"5fa98a93b92ae3336a0f6a279c0cd6a95c79ccb86443848fc96ddc1026279696","src/unix/linux_like/linux/gnu/b32/m68k/mod.rs":"c5717f5e2266a40144c236e05475ffb2d964c01d956745f29678b69170dd1a1f","src/unix/linux_like/linux/gnu/b32/mips/mod.rs":"5a19abd7401743cad8e6e03ddee15686bbaf7d1bd5b2710e8c2eb97224ed54f0","src/unix/linux_like/linux/gnu/b32/mod.rs":"a9033d128bc441cd970caa4f912d0f842ac169b573e3dfa5539b763609e87d70","src/unix/linux_like/linux/gnu/b32/powerpc.rs":"ee6e9a11848747e0a480407ba7379befef6e2abaffc91ef7906a84e585cd2440","src/unix/linux_like/linux/gnu/b32/riscv32/mod.rs":"e576a35240eff5e1d6bca073a78f57fe8190a723c47c81bea287ddbd4bba7237","src/unix/linux_like/linux/gnu/b32/sparc/mod.rs":"5e2e2d605ca74af943e539c8c1ba410715461870b314973c444eba0fee3039cd","src/unix/linux_like/linux/gnu/b32/x86/mod.rs":"4869c3fa80b115803adc0a5b77754077035fae36edea27c3abe1504e73f0e516","src/unix/linux_like/linux/gnu/b64/aarch64/ilp32.rs":"47cc25f28c4bea16c00cd6023c84d09bdc8056217f35744dfdfe27c7f2ea0ca5","src/unix/linux_like/linux/gnu/b64/aarch64/lp64.rs":"39593a2f8fd78fccbbd982734c0feb9d15cb3a6a9a6b029bb972ce5b89c78420","src/unix/linux_like/linux/gnu/b64/aarch64/mod.rs":"24f9ec2670ec41ae3c108c0c412b39daef9faf315e0d7c3a53f1ef05dcd6e027","src/unix/linux_like/linux/gnu/b64/loongarch64/mod.rs":"c0b4c6c252104151390dfc521ffd63e739da709dffbb5cb71a3aba6e270b6fc2","src/unix/linux_like/linux/gnu/b64/mips64/mod.rs":"dd6aeee535eb66b1286365119b7976dffee6216f6653a981963b1cc288fa7516","src/unix/linux_like/linux/gnu/b64/mod.rs":"66b8a981ff02176331f2402806e6ffd7d1a301fe23f285dd4e5dd2d9ed70ea1b","src/unix/linux_like/linux/gnu/b64/powerpc64/mod.rs":"450ad230da45da6ab33b4806db8ff24f6b1ca9b400fa2c5fb9187189a8545347","src/unix/linux_like/linux/gnu/b64/riscv64/mod.rs":"597c804422b1ea028f998d6c7ed61a9c54ae708b87456544597ab4f7a26a2579","src/unix/linux_like/linux/gnu/b64/s390x.rs":"bcac1400cad0226c7b8b8300d6cbab300cd98922545c88b1968206442501aaaf","src/unix/linux_like/linux/gnu/b64/sparc64/mod.rs":"006ce42969449eb5bb8cdd7c03422be2a436717b152b3982d267ed437be4d5e4","src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs":"bf75505d274e3185694c2d5a28fecbeff276faad5cb79c7ec2122ce024b8782f","src/unix/linux_like/linux/gnu/b64/x86_64/not_x32.rs":"fdb2d3b26336297d34c452633afc705bcaf9c1b4e4fda359f695c4f708d81f17","src/unix/linux_like/linux/gnu/b64/x86_64/x32.rs":"54c1ac9bd8d9fe13eeb9b27a92baf715c9d77af1229262fce93362da72f11fe5","src/unix/linux_like/linux/gnu/mod.rs":"a9356a442dc62dcfb6a6a586afea9fa47fd223f33cbd17f09a1dcaa243c5cc0a","src/unix/linux_like/linux/mod.rs":"0ad7afb4c32fe6c69882fbde2d7782338a30d652657a18c55f83392264bf4ed5","src/unix/linux_like/linux/musl/b32/arm/mod.rs":"64d2f81625dd6691ea81bc64a4a3ed88d41b125a7cd00ed347875b795d6a4905","src/unix/linux_like/linux/musl/b32/hexagon.rs":"b0247dd57999a4ddbbd7247a471255181e22458825c61b5464fafd36a31a8545","src/unix/linux_like/linux/musl/b32/mips/mod.rs":"b962ea54c35281131aaa990bf59949d54f24f9583c7191a7efc9c384d6159cfa","src/unix/linux_like/linux/musl/b32/mod.rs":"b9adac558a356cbaddb821588645590a7a11d22c1f11f6d2cc636c177f2e28e9","src/unix/linux_like/linux/musl/b32/powerpc.rs":"95295bd0e58668a204799a1b5f1a0f636c67be28a959e10ee1ab92631b53c82f","src/unix/linux_like/linux/musl/b32/riscv32/mod.rs":"738bc36f9a0f312cc2336cac38ecd5390a9d91b53da51d26afd2542449b54e7b","src/unix/linux_like/linux/musl/b32/x86/mod.rs":"0f6e1c0d5e7d650832da95cf7dce85dff82845876e53b6587154e546b09d3efc","src/unix/linux_like/linux/musl/b64/aarch64/mod.rs":"8e718cec34d53079e9c841084cb2eca7942a0a66139360a833a0e2ebf0bfe95a","src/unix/linux_like/linux/musl/b64/loongarch64/mod.rs":"a825259bb56e78a62f559dccfd1c35e686d8d15f781ce78f83c5266cc398fe82","src/unix/linux_like/linux/musl/b64/mips64.rs":"be1c8bd1f406d3fb1873075cf613ec17b545200ef514423a12190d6dbc42016c","src/unix/linux_like/linux/musl/b64/mod.rs":"db84391acba3ed3c9462ba899f0f1a88747bdb5207658343ba699505bc7d4f8c","src/unix/linux_like/linux/musl/b64/powerpc64.rs":"eb4d57a7201ffbfc8090bc8f97a62e1642a09d224cd70d4556d3c18cf63ac802","src/unix/linux_like/linux/musl/b64/riscv64/mod.rs":"a14269927d846288dadc72a12ff2182274cc0522abe48802b5e9e4563402b73b","src/unix/linux_like/linux/musl/b64/s390x.rs":"67d922c392d53c3928798d9725d3f4336a967d1ef20c5088e498cf331af17fd1","src/unix/linux_like/linux/musl/b64/x86_64/mod.rs":"9e958fbdb3cb6c3b48d2413a73961db7259fc34863f4c2f67afa2a17b7b1af05","src/unix/linux_like/linux/musl/lfs64.rs":"308c5b5c9b2f4b1ad17e5c2d02946f84ae83e8f5cb0e789d8d3e76c1923a5d31","src/unix/linux_like/linux/musl/mod.rs":"c7ee52da16396aea3a39573ae9a0ba071500d0e966a53b938793a5ef8b3bb25c","src/unix/linux_like/linux/uclibc/arm/mod.rs":"1b0ce2d0d4467cc32a1dd5e5c62f0d57fc1963354ae223bdc636b8d6d5d6fea3","src/unix/linux_like/linux/uclibc/mips/mips32/mod.rs":"73d70042db5148d5a789880100879541563fa1de8bf5feb792341b4270244968","src/unix/linux_like/linux/uclibc/mips/mips64/mod.rs":"0a6c13d1873d3f165171a69433bb9b2df1c9151cc1085735613791e603865a06","src/unix/linux_like/linux/uclibc/mips/mod.rs":"ead3f9c05e3bdd5d5b52f25dd4a2d154471555a6bae2d4cbd5c07e976513dcea","src/unix/linux_like/linux/uclibc/mod.rs":"1cc653e9ad8524408c9023cbd7245b53b81c105ee3b341cb3e98c435196d191e","src/unix/linux_like/linux/uclibc/x86_64/l4re.rs":"076ad477f0786a2e4944cc0550a4492b21d4b65d094006947ec40e0c7ee5365d","src/unix/linux_like/linux/uclibc/x86_64/mod.rs":"889f06553111d8bdcf6a0aff344d1c2320ec6c067a612b46441f9e817853b5c0","src/unix/linux_like/linux/uclibc/x86_64/other.rs":"12f8d4049862fc0c4d94b770f2d0341c1c7bf3da0619436169c12cadc4093def","src/unix/linux_like/mod.rs":"979205c66cd960da2506e3115a4950a8fe24ce963fdba3d5d05b9e19d8f077ea","src/unix/mod.rs":"eb23bc25b5e03276cf7c174386f5cbeefff1fd13a43a311d45a375a1fbf3a296","src/unix/newlib/aarch64/mod.rs":"e08ba9d6ac7f8b381f8699b3604cf460a5fcd5b8e68e139bba4f29bfba4781a4","src/unix/newlib/arm/mod.rs":"ddea29e7ce40756f2af4c9792d5cefdd0c634401aaeb146dc686f1f125e3bac8","src/unix/newlib/espidf/mod.rs":"d8f90d04b485eb31092ecaeb7fca3a27e8456c7bb8116074febb9e00ac5c96a8","src/unix/newlib/generic.rs":"182e584f14e0984934130425dd2be0781ca2c131449b3ae1734a07c72c3d43cd","src/unix/newlib/horizon/mod.rs":"a484d84f56fd5b49fed83d6d8a5e8ec5647f0bfa3d30b496a7fa6fe5e546a980","src/unix/newlib/mod.rs":"2f3e9c6217994ec34b0e3b49bf5ebe1335f3b12146f7f55a797ea7041cb1f44c","src/unix/newlib/powerpc/mod.rs":"1a161a27493adb2c3b47d60eebc8ac57b2f0ef0111abdcd5b4d55d11c36d37e5","src/unix/newlib/rtems/mod.rs":"239c90d1daf783ff95168a3fcbc5a0c3d1f9c4b5a0ef32a0e4a22b861f82713a","src/unix/newlib/vita/mod.rs":"fcf4400037d9a59d1c2d2cbab874f12c3b09fa968ffcaeb53315f67302c8f29d","src/unix/nto/aarch64.rs":"91d0448f932d0cf6af4f11e4f8c9d68a78100ed561e560665983359b7b943075","src/unix/nto/mod.rs":"01938d623e161fb8e20e28d86977403023bb1645c83cec2ffef3632d7ec29750","src/unix/nto/neutrino.rs":"039ab7b1ed702d515f3e06d7f3536709704715a49905024b6c520696a65086f9","src/unix/nto/x86_64.rs":"c8efb0f67811e440d798786911f51160c9d3d1c20fb3ca633b5e80ec05dff3ca","src/unix/nuttx/mod.rs":"f1f5529c96b2a3e6f1600a5bdcfea4dfb859b5e116de436ea24f9965df5c64f5","src/unix/redox/mod.rs":"5c0ba01e67bcdf076057dea7f893e14f8ee84b8b2b1a372d39f4d000ff4fc93c","src/unix/solarish/compat.rs":"c02a88918852b7a9c60e45a34f7b003901000380f5c1b2832b8bd79f84936c8b","src/unix/solarish/illumos.rs":"cc7104f002a5379f981c59a779ef4afad00c874e0be21dda339901cd5eea4af1","src/unix/solarish/mod.rs":"2b6c62850c168e7200955ba1f52464fa03c329df7a4e77a30054544280308dc1","src/unix/solarish/solaris.rs":"51b6bf12427319c9af9db4e1b2a984a4d75f994adcd4139f2fc878c9b92f6e1d","src/unix/solarish/x86.rs":"44261c1f1b300dac9fa0dab93ec85d0c3b3c48b15bc4515b9820c9421cff7427","src/unix/solarish/x86_64.rs":"768bfd0e1f4b2ac3fbbf1e2d8239ef58f21726540b9de5c72a9b1cd534ab0ea1","src/unix/solarish/x86_common.rs":"4ae02d88622f7f080f5e8cd328f13187edbc5e124fb3e05e4cf212597f6cce48","src/vxworks/aarch64.rs":"98f0afdc511cd02557e506c21fed6737585490a1dce7a9d4941d08c437762b99","src/vxworks/arm.rs":"acb7968ce99fe3f4abdf39d98f8133d21a4fba435b8ef7084777cb181d788e88","src/vxworks/mod.rs":"6d111d4dc3b6201fd2c45b247d0592e9403ee4b65a481afda727f7422223f9a9","src/vxworks/powerpc.rs":"acb7968ce99fe3f4abdf39d98f8133d21a4fba435b8ef7084777cb181d788e88","src/vxworks/powerpc64.rs":"98f0afdc511cd02557e506c21fed6737585490a1dce7a9d4941d08c437762b99","src/vxworks/riscv32.rs":"552f007f38317620b23889cb7c49d1d115841252439060122f52f434fbc6e5ba","src/vxworks/riscv64.rs":"018d92be3ad628a129eff9f2f5dfbc0883d8b8e5f2fa917b900a7f98ed6b514a","src/vxworks/x86.rs":"552f007f38317620b23889cb7c49d1d115841252439060122f52f434fbc6e5ba","src/vxworks/x86_64.rs":"018d92be3ad628a129eff9f2f5dfbc0883d8b8e5f2fa917b900a7f98ed6b514a","src/wasi/mod.rs":"f7b39137ce2c005367016a00e00f0affdce627d9165681c9dc9280534720640b","src/wasi/p2.rs":"feecc0485eabd2c32bc5d800df6ad1b9b4d282741342fb08792f2635204e1e08","src/windows/gnu/mod.rs":"320ddf761f731c24a27e061438ddbacb0630e3ad6f3bb39f6514c28dffd8ac9f","src/windows/mod.rs":"282daeacf420e36c5ba2f8129d045104e1172b29a9035e73c10739836a8af440","src/windows/msvc/mod.rs":"7bc0f1e7e73815296cd6b63b2700e12624e9f47b5c4113a1a87fae8e64549c00","src/xous.rs":"17b571c988119fe3f71dbcccfe722de5c772abc3ca20dc4b09b58780980b78e9","tests/const_fn.rs":"8ac3171d7bced3576a4e93f48570b3e00c553d7510ab85a7473ae3b716a812dc"},"package":"09d6582e104315a817dff97f75133544b2e094ee22447d2acf4a74e189ba06fc"}
29diff --git a/vendor/libc-0.2.167/src/unix/linux_like/linux/arch/generic/mod.rs b/vendor/libc-0.2.167/src/unix/linux_like/linux/arch/generic/mod.rs
30index 10953fe78..e9fd7fcce 100644
31--- a/vendor/libc-0.2.167/src/unix/linux_like/linux/arch/generic/mod.rs
32+++ b/vendor/libc-0.2.167/src/unix/linux_like/linux/arch/generic/mod.rs
33@@ -122,6 +122,7 @@ cfg_if! {
34 target_arch = "x86_64",
35 target_arch = "arm",
36 target_arch = "aarch64",
37+ target_arch = "riscv32",
38 target_arch = "riscv64",
39 target_arch = "s390x",
40 target_arch = "csky",
41@@ -258,7 +259,8 @@ cfg_if! {
42 if #[cfg(any(
43 target_arch = "x86",
44 target_arch = "arm",
45- target_arch = "csky"
46+ target_arch = "csky",
47+ target_arch = "riscv32"
48 ))] {
49 pub const FS_IOC_GETFLAGS: Ioctl = 0x80046601;
50 pub const FS_IOC_SETFLAGS: Ioctl = 0x40046602;
51diff --git a/vendor/libc-0.2.169/.cargo-checksum.json b/vendor/libc-0.2.169/.cargo-checksum.json
52index 073f360a5..1e9c85b18 100644
53--- a/vendor/libc-0.2.169/.cargo-checksum.json
54+++ b/vendor/libc-0.2.169/.cargo-checksum.json
55@@ -1 +1 @@
56-{"files":{"CHANGELOG.md":"e48a795c934b4fbb91a59757a32b13c82c2dc9b71d6fc49da9bef3b8d85f5454","CONTRIBUTING.md":"155e7f4e96fafe9ee5c8adb5068be27a22de89a95ca9bfc7baf517b9850d20d6","Cargo.toml":"647ea80df57c844de63e49629b9e13d02e8dfdcb0e1ec3b301002e3ca5e6d461","LICENSE-APACHE":"62c7a1e35f56406896d7aa7ca52d0cc0d272ac022b5d2796e7d6905db8a3636a","LICENSE-MIT":"a8d47ff51ca256f56a8932dba07660672dbfe3004257ca8de708aac1415937a1","README.md":"38061c8bb600c2e01b48b662288cb11f38c0ec27bbe6d496e7f0acb1016991c4","build.rs":"bcbe11dc711029460fcc4f7fd8e38c487006ad0860007915ae6718bd90fb891a","rustfmt.toml":"e9321ff995242e8cb0a4984254f0748ef11a89ca4618cab8f047ee59a88768e7","src/fixed_width_ints.rs":"10eb30cf48390768f0167e1fa46ae99461968a05e93bd96aff721f54550ae66c","src/fuchsia/aarch64.rs":"d430586295c7eb022eb8202f7b18e483a9dd0e7de1857f7963453792c7161def","src/fuchsia/mod.rs":"2556b215558fc76d8337a8dac4d3ec8124aa442cc4676bcb2a85e248b23fb62b","src/fuchsia/riscv64.rs":"7efd6cbcbd2cb25d6380f6df69ad91cf62efd55fb9cb7cb85884c490b601743e","src/fuchsia/x86_64.rs":"e63daa4085c6f6ab35d9711df6d7e027247a8b3b2a6dc47fcb2b21e1f4820a2f","src/hermit.rs":"6d1d40c1473a73aae2d3a470fa623ea92a196a65468acd9373b20dc6dcbd5d31","src/lib.rs":"1171567598056a99dbce2ef1e5b61a6410d6ba1333cca113d50f75296688a565","src/macros.rs":"ce06d8677464669530a141269dea2cf4debb24ab3f53eb136f933bcf553a4fe3","src/psp.rs":"dcf53184a1ab06d18aa34431ca42644c5646fe78d05a53678ef9529607ba3ea7","src/sgx.rs":"f0f1a9fa864cd3dc94c4b3ce73f88e67f11453f63d8b4d52823de2ccbba7eb49","src/solid/aarch64.rs":"98f0afdc511cd02557e506c21fed6737585490a1dce7a9d4941d08c437762b99","src/solid/arm.rs":"acb7968ce99fe3f4abdf39d98f8133d21a4fba435b8ef7084777cb181d788e88","src/solid/mod.rs":"01116b18b9be6791fdf4ff572d12154b64dfa43a18afc33940ea676e1884bdbb","src/switch.rs":"bb0ce1331c61a28caea7bd201e399d1e1127f303dcc7747b4f07f63d188ea49c","src/teeos/mod.rs":"174e10b1e3cd37122b557a9e9f75205f1858a31cb62cbb83582da2661228babe","src/trusty.rs":"f4c8e60896f93759eea4fa5a146dd98dd21d818a4e54df391b14513a402212c2","src/unix/aix/mod.rs":"31dd168d5d06cc60bf1b1b6bb0665640fb082ff7b1f2e13c22a888fa8bdb1945","src/unix/aix/powerpc64.rs":"caf11cb47a1ac1c0316f72050f6fd82dbcbbc6258a9b51ff5a9842f2825e63d7","src/unix/bsd/apple/b32/mod.rs":"9f20c77e86b812ff09d8193a48fe4f3afd6dae8a43d5a0d78b8592971cc3726e","src/unix/bsd/apple/b64/aarch64/mod.rs":"1ebe9f1a1e07318813da7e2a78195937533c22b51a23a4527b9404c948318f86","src/unix/bsd/apple/b64/mod.rs":"164e734befe87fa6e2d79fb856ce314282bd219ea4f2f357c6446dca6d2de359","src/unix/bsd/apple/b64/x86_64/mod.rs":"e03794fdeaaf4a86c7b12f41e490a7538c12d4a77743a5448237f73d5a8593f4","src/unix/bsd/apple/mod.rs":"1ad08f5ca6becd37bab20bae5f3153a8fc8824e9123ec77237d37b64f133741a","src/unix/bsd/freebsdlike/dragonfly/errno.rs":"07b19390b9ae8f541ac35fd4e14685d639b95152d6d7a33814bb749b8b927298","src/unix/bsd/freebsdlike/dragonfly/mod.rs":"f130937ac556080c77d7d1f011f2d2c964b65eb633bf6b7f1251a045670b9ec8","src/unix/bsd/freebsdlike/freebsd/aarch64.rs":"aea276451dca89f086d014b66e2e83e1eb948ab8dfbf920170c1b8338c9777c3","src/unix/bsd/freebsdlike/freebsd/arm.rs":"f70c76405a72754db37dff7de3fd586a19e1512b47f452493b430f295d7264af","src/unix/bsd/freebsdlike/freebsd/freebsd11/b32.rs":"8d9bef35f3e490d04755a59a99ad054ef20498beff979ae8b14acbec1097318a","src/unix/bsd/freebsdlike/freebsd/freebsd11/b64.rs":"45f718f556a8368f282944d9a14afae7261827ec4838d26719290466efc4f023","src/unix/bsd/freebsdlike/freebsd/freebsd11/mod.rs":"400f18465ef118e202ac9b1b9db47b1333fc17eb5841709082f2d1d5a5179391","src/unix/bsd/freebsdlike/freebsd/freebsd12/mod.rs":"fb999d55cf4f3403ac934dff1fc70c666087de234d7a91321bcfb5009bbafc6f","src/unix/bsd/freebsdlike/freebsd/freebsd12/x86_64.rs":"64c4bd82eaf30a2681417f982fce28de7d1b0743bfaa14004692a56cee44be21","src/unix/bsd/freebsdlike/freebsd/freebsd13/mod.rs":"e6f3430838d94dd17e359419f5de7d28a6b3adb8fcab7727d24e034bc6ed5d1e","src/unix/bsd/freebsdlike/freebsd/freebsd13/x86_64.rs":"64c4bd82eaf30a2681417f982fce28de7d1b0743bfaa14004692a56cee44be21","src/unix/bsd/freebsdlike/freebsd/freebsd14/mod.rs":"7d23d7d6b779265bca9c53c8b3e50b4dadb33f3911000ce88c8e09c9f0b60eab","src/unix/bsd/freebsdlike/freebsd/freebsd14/x86_64.rs":"d6e66809e109dc779efe5584b79d34fcd6fdba91973a415d64ae66f481f45940","src/unix/bsd/freebsdlike/freebsd/freebsd15/mod.rs":"45921502545212949a756d0edad2d861a5c6bc1925a4c13c8afc057ce6b4d8fe","src/unix/bsd/freebsdlike/freebsd/freebsd15/x86_64.rs":"d6e66809e109dc779efe5584b79d34fcd6fdba91973a415d64ae66f481f45940","src/unix/bsd/freebsdlike/freebsd/mod.rs":"46d8ca655e0363676dfb9bcda60bc8f39f0f17b1d52eb9b5228dc912955ebcfc","src/unix/bsd/freebsdlike/freebsd/powerpc.rs":"36912b999e0571adccc06d9ebbd237e537a95c36ddb97d67a81e940ab28b36e7","src/unix/bsd/freebsdlike/freebsd/powerpc64.rs":"c1c13a3e7633ab6e84929ac3bfac96a67779e6cdac157d64b5b9f7c2b32b1691","src/unix/bsd/freebsdlike/freebsd/riscv64.rs":"b6bbfb556ed35c3897a98efffbafd5a07854dce1786643ffc1aaaa5a4e7dbe1e","src/unix/bsd/freebsdlike/freebsd/x86.rs":"8102bc641970bec32d4f2b93c8ba0e9c0432f84cef1442e3bf5438c3ba9c6c4d","src/unix/bsd/freebsdlike/freebsd/x86_64/mod.rs":"9ef5040678d489522ce44633643c23921a462ada95e93e7688344f72e92b3e9e","src/unix/bsd/freebsdlike/mod.rs":"31adfff1db7bed60fa8044b37ef40fbabb929b055670cefe3bac88782de879f8","src/unix/bsd/mod.rs":"a776f9bf11ab5245bcddc37bde002f28f84ff8f0d919d2dbc37055b3a679d86b","src/unix/bsd/netbsdlike/mod.rs":"d089eef37c5888f59479c4961415b247470a662cd14a1ec65d1f3ebcd304cf31","src/unix/bsd/netbsdlike/netbsd/aarch64.rs":"3b0dcde4999ed05d93b3415731a1f1218ae8ef6f963e7391ae266957c31878cb","src/unix/bsd/netbsdlike/netbsd/arm.rs":"47abd680ddb4879648cac3d462e0daa7e980b5e6be7ba346f5f494ccdebee6e8","src/unix/bsd/netbsdlike/netbsd/mips.rs":"8420d476126ca2740ff2cbd1e85d0a31334e2c68dd0a70d3ac3e3d802b5b5782","src/unix/bsd/netbsdlike/netbsd/mod.rs":"dc216609dfc6b2835e26f8c3e70f4c7c65425933eef04538de603f51e9429ec5","src/unix/bsd/netbsdlike/netbsd/powerpc.rs":"42f66be7650e95398a3687886db5053e55c77dc04eb139315bebf9668b2bed68","src/unix/bsd/netbsdlike/netbsd/riscv64.rs":"0b1936bad97b3a272c2d323d3435f6860fc355abe7603ca7ed8c4166cac75cc5","src/unix/bsd/netbsdlike/netbsd/sparc64.rs":"78985b140b0337f6bb951f9db68e0db0b5a0a8131ac5c4426a342ed002e27a82","src/unix/bsd/netbsdlike/netbsd/x86.rs":"dda4e401f03084a87762fb68c483998756a07b7c5d4b86348fc3f79380024fb7","src/unix/bsd/netbsdlike/netbsd/x86_64.rs":"b60e896c10ba86a59b13a189fe2e6b94265244fa4b2bc3f89a46065e7d469dea","src/unix/bsd/netbsdlike/openbsd/aarch64.rs":"91b6ac97e6411261cf5206ab1951a4e4e1f1cc9ca26217d7144f000f8f7c8580","src/unix/bsd/netbsdlike/openbsd/arm.rs":"f8c975d4b94a8b8d11dcc5224db628997003a8d289f12fb12b398e9445c2f122","src/unix/bsd/netbsdlike/openbsd/mips64.rs":"8532a189ae10c7d668d9d4065da8b05d124e09bd39442c9f74a7f231c43eca48","src/unix/bsd/netbsdlike/openbsd/mod.rs":"1e631105744b4509e528baa14bcdc0738d474941d85827a6def7d00f20f8a308","src/unix/bsd/netbsdlike/openbsd/powerpc.rs":"f8c975d4b94a8b8d11dcc5224db628997003a8d289f12fb12b398e9445c2f122","src/unix/bsd/netbsdlike/openbsd/powerpc64.rs":"d53f6ccd830b8bbe94c9be8a92a719105ed29846d6a11ce6c972fa7ff142a001","src/unix/bsd/netbsdlike/openbsd/riscv64.rs":"21a90502854e1aab413700edc41bd7922bc6e0fc3d7240aa57f258bb4546fa9c","src/unix/bsd/netbsdlike/openbsd/sparc64.rs":"d04fd287afbaa2c5df9d48c94e8374a532a3ba491b424ddf018270c7312f4085","src/unix/bsd/netbsdlike/openbsd/x86.rs":"ebe65020c0d457af0458f549b8c44099a8c274d734bfa6c3362f0b6423fa3c7a","src/unix/bsd/netbsdlike/openbsd/x86_64.rs":"2aec823a0800d28fe546d35e98ae1dc671aa253663f9923d147548233def260a","src/unix/haiku/b32.rs":"c56aa69ed87dded0d297d44a9177577b1d2d4a79ed176e6768c7fc4dab90bfb4","src/unix/haiku/b64.rs":"d44daef26b89e75d58ac0204a169a66ba5fbc13fc40948f67f19700e6033a07e","src/unix/haiku/mod.rs":"2589765aa89ad146cf0cb942fe371340293f97a5aaecd2dfc0ac0f563eac86f3","src/unix/haiku/native.rs":"fafc7daab134d37ed260373f9c3a8177cc0fd88ba147c1001b9867eb9bd0799b","src/unix/haiku/x86_64.rs":"8d8ef6b462bc32b3270440526f35c8dec572b502355c27ad451e64a816c4a176","src/unix/hurd/b32.rs":"3e79bb09b66d8a1d3b7589a4b2b2076e57bd7b51b747f5219f24d3bd2019ad6a","src/unix/hurd/b64.rs":"f61f0263a71f39a5130ac749bb0f146e5b95e7b054f4929197366f28e8c22815","src/unix/hurd/mod.rs":"37fe6e548eac4add081e157524d22de976dec369104a14da1e3b20a4396d45ec","src/unix/linux_like/android/b32/arm.rs":"b51bc534e9b5d31544207e4b0b9cadef023b41085cfa07dae33d46771775a22a","src/unix/linux_like/android/b32/mod.rs":"a94d3e03741ea30082411f0f858dd302b9a8b7b8a8f0d8325ecaf2f7ca70312e","src/unix/linux_like/android/b32/x86/mod.rs":"1ea74c06e3f9b1a0b52ba0fc8ed6527e68813bfe9fe931698af5554a4b2ee3c6","src/unix/linux_like/android/b64/aarch64/mod.rs":"03a71c8e142e098486dbe6674158317bc2f90a3e27132d3e9549aee8f5e3b1d0","src/unix/linux_like/android/b64/mod.rs":"186edde6293b874c5ae96e10be760f38a967907fa9049bcaf8335aff51b3c6d1","src/unix/linux_like/android/b64/riscv64/mod.rs":"ad47fa7c4dcdaa6593291b5c923c8769aed105170d1e71fe8443229aeb9e2430","src/unix/linux_like/android/b64/x86_64/mod.rs":"393fd4940dc44bddf3153fffc000cf1fbfe61313195879aafafd849b0b20bccf","src/unix/linux_like/android/mod.rs":"d300e2f5c65f8e59dcf792a2c56817c25a09db604f5ca00ef45f6477c4a5d02b","src/unix/linux_like/emscripten/lfs64.rs":"3a1d1779bcf16525a578a68237f9854090eae4c9819e18ffb5a288f39be4afbe","src/unix/linux_like/emscripten/mod.rs":"358a82517c559c46906b751217eea5f918d793f8bf84c3451d472b2ed9a1cf77","src/unix/linux_like/linux/arch/generic/mod.rs":"695b717593cbd254bf8250521a261d87a39824333f35a50b7c75f252eae5a7d6","src/unix/linux_like/linux/arch/mips/mod.rs":"abcb98291a77d26f0c0792f1ee87763538559f1f9d7fcbf4e8e6401b4442515b","src/unix/linux_like/linux/arch/mod.rs":"8bc5898b03760a95dd4f124ac76ad92e5ae36b2d0644203d752ef2b37e487c3a","src/unix/linux_like/linux/arch/powerpc/mod.rs":"92c19d5f1ede9389f9044faf8f4f16fc5408b6fb04bbaa67c9bb1f69e32123e0","src/unix/linux_like/linux/arch/sparc/mod.rs":"dfd07a3a6d8b175678b180ff9903e0d5d529c8112d01bd135f53fce742f433a6","src/unix/linux_like/linux/gnu/b32/arm/mod.rs":"7ed85493e121e05d0d52a6751e744451548a390139a5ae947499fbfcff1910be","src/unix/linux_like/linux/gnu/b32/csky/mod.rs":"5fa98a93b92ae3336a0f6a279c0cd6a95c79ccb86443848fc96ddc1026279696","src/unix/linux_like/linux/gnu/b32/m68k/mod.rs":"c5717f5e2266a40144c236e05475ffb2d964c01d956745f29678b69170dd1a1f","src/unix/linux_like/linux/gnu/b32/mips/mod.rs":"5a19abd7401743cad8e6e03ddee15686bbaf7d1bd5b2710e8c2eb97224ed54f0","src/unix/linux_like/linux/gnu/b32/mod.rs":"a9033d128bc441cd970caa4f912d0f842ac169b573e3dfa5539b763609e87d70","src/unix/linux_like/linux/gnu/b32/powerpc.rs":"ee6e9a11848747e0a480407ba7379befef6e2abaffc91ef7906a84e585cd2440","src/unix/linux_like/linux/gnu/b32/riscv32/mod.rs":"94d467ab2bacb907c039a099b81aa1ab6e79fadbc1fbc2a35f1efb092c725906","src/unix/linux_like/linux/gnu/b32/sparc/mod.rs":"5e2e2d605ca74af943e539c8c1ba410715461870b314973c444eba0fee3039cd","src/unix/linux_like/linux/gnu/b32/x86/mod.rs":"4869c3fa80b115803adc0a5b77754077035fae36edea27c3abe1504e73f0e516","src/unix/linux_like/linux/gnu/b64/aarch64/ilp32.rs":"47cc25f28c4bea16c00cd6023c84d09bdc8056217f35744dfdfe27c7f2ea0ca5","src/unix/linux_like/linux/gnu/b64/aarch64/lp64.rs":"39593a2f8fd78fccbbd982734c0feb9d15cb3a6a9a6b029bb972ce5b89c78420","src/unix/linux_like/linux/gnu/b64/aarch64/mod.rs":"24f9ec2670ec41ae3c108c0c412b39daef9faf315e0d7c3a53f1ef05dcd6e027","src/unix/linux_like/linux/gnu/b64/loongarch64/mod.rs":"c0b4c6c252104151390dfc521ffd63e739da709dffbb5cb71a3aba6e270b6fc2","src/unix/linux_like/linux/gnu/b64/mips64/mod.rs":"dd6aeee535eb66b1286365119b7976dffee6216f6653a981963b1cc288fa7516","src/unix/linux_like/linux/gnu/b64/mod.rs":"66b8a981ff02176331f2402806e6ffd7d1a301fe23f285dd4e5dd2d9ed70ea1b","src/unix/linux_like/linux/gnu/b64/powerpc64/mod.rs":"450ad230da45da6ab33b4806db8ff24f6b1ca9b400fa2c5fb9187189a8545347","src/unix/linux_like/linux/gnu/b64/riscv64/mod.rs":"fb3086756cc7aa87c8a8f2e59ea481968314e6abd3649f472dc55db8a542e032","src/unix/linux_like/linux/gnu/b64/s390x.rs":"bcac1400cad0226c7b8b8300d6cbab300cd98922545c88b1968206442501aaaf","src/unix/linux_like/linux/gnu/b64/sparc64/mod.rs":"006ce42969449eb5bb8cdd7c03422be2a436717b152b3982d267ed437be4d5e4","src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs":"bf75505d274e3185694c2d5a28fecbeff276faad5cb79c7ec2122ce024b8782f","src/unix/linux_like/linux/gnu/b64/x86_64/not_x32.rs":"fdb2d3b26336297d34c452633afc705bcaf9c1b4e4fda359f695c4f708d81f17","src/unix/linux_like/linux/gnu/b64/x86_64/x32.rs":"54c1ac9bd8d9fe13eeb9b27a92baf715c9d77af1229262fce93362da72f11fe5","src/unix/linux_like/linux/gnu/mod.rs":"850352f680643c600aaf68f7b6d0b1cf3f382a251cd2b6bb3c82cf3a65038c68","src/unix/linux_like/linux/mod.rs":"7ff1fc95cc66e398ff467c92fb0a642dd6076caf32ae52daec9316f66c6b68cf","src/unix/linux_like/linux/musl/b32/arm/mod.rs":"64d2f81625dd6691ea81bc64a4a3ed88d41b125a7cd00ed347875b795d6a4905","src/unix/linux_like/linux/musl/b32/hexagon.rs":"b0247dd57999a4ddbbd7247a471255181e22458825c61b5464fafd36a31a8545","src/unix/linux_like/linux/musl/b32/mips/mod.rs":"b962ea54c35281131aaa990bf59949d54f24f9583c7191a7efc9c384d6159cfa","src/unix/linux_like/linux/musl/b32/mod.rs":"b9adac558a356cbaddb821588645590a7a11d22c1f11f6d2cc636c177f2e28e9","src/unix/linux_like/linux/musl/b32/powerpc.rs":"95295bd0e58668a204799a1b5f1a0f636c67be28a959e10ee1ab92631b53c82f","src/unix/linux_like/linux/musl/b32/riscv32/mod.rs":"738bc36f9a0f312cc2336cac38ecd5390a9d91b53da51d26afd2542449b54e7b","src/unix/linux_like/linux/musl/b32/x86/mod.rs":"0f6e1c0d5e7d650832da95cf7dce85dff82845876e53b6587154e546b09d3efc","src/unix/linux_like/linux/musl/b64/aarch64/mod.rs":"8e718cec34d53079e9c841084cb2eca7942a0a66139360a833a0e2ebf0bfe95a","src/unix/linux_like/linux/musl/b64/loongarch64/mod.rs":"a825259bb56e78a62f559dccfd1c35e686d8d15f781ce78f83c5266cc398fe82","src/unix/linux_like/linux/musl/b64/mips64.rs":"be1c8bd1f406d3fb1873075cf613ec17b545200ef514423a12190d6dbc42016c","src/unix/linux_like/linux/musl/b64/mod.rs":"db84391acba3ed3c9462ba899f0f1a88747bdb5207658343ba699505bc7d4f8c","src/unix/linux_like/linux/musl/b64/powerpc64.rs":"eb4d57a7201ffbfc8090bc8f97a62e1642a09d224cd70d4556d3c18cf63ac802","src/unix/linux_like/linux/musl/b64/riscv64/mod.rs":"11b166d0b63ed6eb0f24820a0b9ccef9f68eb28e1bc57011ea701d57df63ed34","src/unix/linux_like/linux/musl/b64/s390x.rs":"67d922c392d53c3928798d9725d3f4336a967d1ef20c5088e498cf331af17fd1","src/unix/linux_like/linux/musl/b64/x86_64/mod.rs":"9e958fbdb3cb6c3b48d2413a73961db7259fc34863f4c2f67afa2a17b7b1af05","src/unix/linux_like/linux/musl/lfs64.rs":"308c5b5c9b2f4b1ad17e5c2d02946f84ae83e8f5cb0e789d8d3e76c1923a5d31","src/unix/linux_like/linux/musl/mod.rs":"c7ee52da16396aea3a39573ae9a0ba071500d0e966a53b938793a5ef8b3bb25c","src/unix/linux_like/linux/uclibc/arm/mod.rs":"1b0ce2d0d4467cc32a1dd5e5c62f0d57fc1963354ae223bdc636b8d6d5d6fea3","src/unix/linux_like/linux/uclibc/mips/mips32/mod.rs":"73d70042db5148d5a789880100879541563fa1de8bf5feb792341b4270244968","src/unix/linux_like/linux/uclibc/mips/mips64/mod.rs":"0a6c13d1873d3f165171a69433bb9b2df1c9151cc1085735613791e603865a06","src/unix/linux_like/linux/uclibc/mips/mod.rs":"ead3f9c05e3bdd5d5b52f25dd4a2d154471555a6bae2d4cbd5c07e976513dcea","src/unix/linux_like/linux/uclibc/mod.rs":"1cc653e9ad8524408c9023cbd7245b53b81c105ee3b341cb3e98c435196d191e","src/unix/linux_like/linux/uclibc/x86_64/l4re.rs":"076ad477f0786a2e4944cc0550a4492b21d4b65d094006947ec40e0c7ee5365d","src/unix/linux_like/linux/uclibc/x86_64/mod.rs":"cd37c37e03e399bb33723f984bebdcac54445d9841a0d57dcce83615add4d1d4","src/unix/linux_like/linux/uclibc/x86_64/other.rs":"12f8d4049862fc0c4d94b770f2d0341c1c7bf3da0619436169c12cadc4093def","src/unix/linux_like/mod.rs":"979205c66cd960da2506e3115a4950a8fe24ce963fdba3d5d05b9e19d8f077ea","src/unix/mod.rs":"d20b3b093cf2f1437bc5c18794a8e5bc296277daae6d0149aeac9b87860bb962","src/unix/newlib/aarch64/mod.rs":"e08ba9d6ac7f8b381f8699b3604cf460a5fcd5b8e68e139bba4f29bfba4781a4","src/unix/newlib/arm/mod.rs":"ddea29e7ce40756f2af4c9792d5cefdd0c634401aaeb146dc686f1f125e3bac8","src/unix/newlib/espidf/mod.rs":"f7e4ac40806d5aa2d941b3864acbc50dccebe2505f48f7997abaf6e8551c655e","src/unix/newlib/generic.rs":"182e584f14e0984934130425dd2be0781ca2c131449b3ae1734a07c72c3d43cd","src/unix/newlib/horizon/mod.rs":"a484d84f56fd5b49fed83d6d8a5e8ec5647f0bfa3d30b496a7fa6fe5e546a980","src/unix/newlib/mod.rs":"2f3e9c6217994ec34b0e3b49bf5ebe1335f3b12146f7f55a797ea7041cb1f44c","src/unix/newlib/powerpc/mod.rs":"1a161a27493adb2c3b47d60eebc8ac57b2f0ef0111abdcd5b4d55d11c36d37e5","src/unix/newlib/rtems/mod.rs":"239c90d1daf783ff95168a3fcbc5a0c3d1f9c4b5a0ef32a0e4a22b861f82713a","src/unix/newlib/vita/mod.rs":"927c36282a453a110e83786a5b9c31893411940d2e9b5d1ba6449cc4fec686ff","src/unix/nto/aarch64.rs":"91d0448f932d0cf6af4f11e4f8c9d68a78100ed561e560665983359b7b943075","src/unix/nto/mod.rs":"01938d623e161fb8e20e28d86977403023bb1645c83cec2ffef3632d7ec29750","src/unix/nto/neutrino.rs":"039ab7b1ed702d515f3e06d7f3536709704715a49905024b6c520696a65086f9","src/unix/nto/x86_64.rs":"3fdcc6f28787476df78cae8e166b2b7408373a5bafc32e68e7d79febe4e5c887","src/unix/nuttx/mod.rs":"e4c2625c04bfb3b54171208af68201d897c2e0b62f6d24af6470669ffa1b6425","src/unix/redox/mod.rs":"5f57cadca20a39430d9837824134023332b1cb6af1e8c66fa2dd9c4255439d52","src/unix/solarish/compat.rs":"c02a88918852b7a9c60e45a34f7b003901000380f5c1b2832b8bd79f84936c8b","src/unix/solarish/illumos.rs":"cc7104f002a5379f981c59a779ef4afad00c874e0be21dda339901cd5eea4af1","src/unix/solarish/mod.rs":"b5dae853ebfc3355b155f8c20f3a481517bce27e164e304f56dfff172e313098","src/unix/solarish/solaris.rs":"3a37167395881640117a37728ca848d1dbeb4286912025d86c57608e0ddc823f","src/unix/solarish/x86.rs":"44261c1f1b300dac9fa0dab93ec85d0c3b3c48b15bc4515b9820c9421cff7427","src/unix/solarish/x86_64.rs":"1601309baae50ccfd51b5d188668e6ac5dabc4e8d2ffde103592922ec15295ef","src/unix/solarish/x86_common.rs":"4ae02d88622f7f080f5e8cd328f13187edbc5e124fb3e05e4cf212597f6cce48","src/vxworks/aarch64.rs":"98f0afdc511cd02557e506c21fed6737585490a1dce7a9d4941d08c437762b99","src/vxworks/arm.rs":"acb7968ce99fe3f4abdf39d98f8133d21a4fba435b8ef7084777cb181d788e88","src/vxworks/mod.rs":"d02d216bf652e4a1d21f01e8455beae20db30981d5d630f7b6fc113fff798a1b","src/vxworks/powerpc.rs":"acb7968ce99fe3f4abdf39d98f8133d21a4fba435b8ef7084777cb181d788e88","src/vxworks/powerpc64.rs":"98f0afdc511cd02557e506c21fed6737585490a1dce7a9d4941d08c437762b99","src/vxworks/riscv32.rs":"2f018cdb5b6e9a2c0d3a2a34d9a6c095d8469272ca8f137e4336140962be3177","src/vxworks/riscv64.rs":"16bff4f1c4eb73df0a66a16718716340a3b541bf94aa3318065d9c627e4e3069","src/vxworks/x86.rs":"552f007f38317620b23889cb7c49d1d115841252439060122f52f434fbc6e5ba","src/vxworks/x86_64.rs":"018d92be3ad628a129eff9f2f5dfbc0883d8b8e5f2fa917b900a7f98ed6b514a","src/wasi/mod.rs":"f7b39137ce2c005367016a00e00f0affdce627d9165681c9dc9280534720640b","src/wasi/p2.rs":"feecc0485eabd2c32bc5d800df6ad1b9b4d282741342fb08792f2635204e1e08","src/windows/gnu/mod.rs":"320ddf761f731c24a27e061438ddbacb0630e3ad6f3bb39f6514c28dffd8ac9f","src/windows/mod.rs":"282daeacf420e36c5ba2f8129d045104e1172b29a9035e73c10739836a8af440","src/windows/msvc/mod.rs":"7bc0f1e7e73815296cd6b63b2700e12624e9f47b5c4113a1a87fae8e64549c00","src/xous.rs":"17b571c988119fe3f71dbcccfe722de5c772abc3ca20dc4b09b58780980b78e9","tests/const_fn.rs":"8ac3171d7bced3576a4e93f48570b3e00c553d7510ab85a7473ae3b716a812dc"},"package":"b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a"}
57\ No newline at end of file
58+{"files":{"CHANGELOG.md":"e48a795c934b4fbb91a59757a32b13c82c2dc9b71d6fc49da9bef3b8d85f5454","CONTRIBUTING.md":"155e7f4e96fafe9ee5c8adb5068be27a22de89a95ca9bfc7baf517b9850d20d6","Cargo.toml":"647ea80df57c844de63e49629b9e13d02e8dfdcb0e1ec3b301002e3ca5e6d461","LICENSE-APACHE":"62c7a1e35f56406896d7aa7ca52d0cc0d272ac022b5d2796e7d6905db8a3636a","LICENSE-MIT":"a8d47ff51ca256f56a8932dba07660672dbfe3004257ca8de708aac1415937a1","README.md":"38061c8bb600c2e01b48b662288cb11f38c0ec27bbe6d496e7f0acb1016991c4","build.rs":"bcbe11dc711029460fcc4f7fd8e38c487006ad0860007915ae6718bd90fb891a","rustfmt.toml":"e9321ff995242e8cb0a4984254f0748ef11a89ca4618cab8f047ee59a88768e7","src/fixed_width_ints.rs":"10eb30cf48390768f0167e1fa46ae99461968a05e93bd96aff721f54550ae66c","src/fuchsia/aarch64.rs":"d430586295c7eb022eb8202f7b18e483a9dd0e7de1857f7963453792c7161def","src/fuchsia/mod.rs":"2556b215558fc76d8337a8dac4d3ec8124aa442cc4676bcb2a85e248b23fb62b","src/fuchsia/riscv64.rs":"7efd6cbcbd2cb25d6380f6df69ad91cf62efd55fb9cb7cb85884c490b601743e","src/fuchsia/x86_64.rs":"e63daa4085c6f6ab35d9711df6d7e027247a8b3b2a6dc47fcb2b21e1f4820a2f","src/hermit.rs":"6d1d40c1473a73aae2d3a470fa623ea92a196a65468acd9373b20dc6dcbd5d31","src/lib.rs":"1171567598056a99dbce2ef1e5b61a6410d6ba1333cca113d50f75296688a565","src/macros.rs":"ce06d8677464669530a141269dea2cf4debb24ab3f53eb136f933bcf553a4fe3","src/psp.rs":"dcf53184a1ab06d18aa34431ca42644c5646fe78d05a53678ef9529607ba3ea7","src/sgx.rs":"f0f1a9fa864cd3dc94c4b3ce73f88e67f11453f63d8b4d52823de2ccbba7eb49","src/solid/aarch64.rs":"98f0afdc511cd02557e506c21fed6737585490a1dce7a9d4941d08c437762b99","src/solid/arm.rs":"acb7968ce99fe3f4abdf39d98f8133d21a4fba435b8ef7084777cb181d788e88","src/solid/mod.rs":"01116b18b9be6791fdf4ff572d12154b64dfa43a18afc33940ea676e1884bdbb","src/switch.rs":"bb0ce1331c61a28caea7bd201e399d1e1127f303dcc7747b4f07f63d188ea49c","src/teeos/mod.rs":"174e10b1e3cd37122b557a9e9f75205f1858a31cb62cbb83582da2661228babe","src/trusty.rs":"f4c8e60896f93759eea4fa5a146dd98dd21d818a4e54df391b14513a402212c2","src/unix/aix/mod.rs":"31dd168d5d06cc60bf1b1b6bb0665640fb082ff7b1f2e13c22a888fa8bdb1945","src/unix/aix/powerpc64.rs":"caf11cb47a1ac1c0316f72050f6fd82dbcbbc6258a9b51ff5a9842f2825e63d7","src/unix/bsd/apple/b32/mod.rs":"9f20c77e86b812ff09d8193a48fe4f3afd6dae8a43d5a0d78b8592971cc3726e","src/unix/bsd/apple/b64/aarch64/mod.rs":"1ebe9f1a1e07318813da7e2a78195937533c22b51a23a4527b9404c948318f86","src/unix/bsd/apple/b64/mod.rs":"164e734befe87fa6e2d79fb856ce314282bd219ea4f2f357c6446dca6d2de359","src/unix/bsd/apple/b64/x86_64/mod.rs":"e03794fdeaaf4a86c7b12f41e490a7538c12d4a77743a5448237f73d5a8593f4","src/unix/bsd/apple/mod.rs":"1ad08f5ca6becd37bab20bae5f3153a8fc8824e9123ec77237d37b64f133741a","src/unix/bsd/freebsdlike/dragonfly/errno.rs":"07b19390b9ae8f541ac35fd4e14685d639b95152d6d7a33814bb749b8b927298","src/unix/bsd/freebsdlike/dragonfly/mod.rs":"f130937ac556080c77d7d1f011f2d2c964b65eb633bf6b7f1251a045670b9ec8","src/unix/bsd/freebsdlike/freebsd/aarch64.rs":"aea276451dca89f086d014b66e2e83e1eb948ab8dfbf920170c1b8338c9777c3","src/unix/bsd/freebsdlike/freebsd/arm.rs":"f70c76405a72754db37dff7de3fd586a19e1512b47f452493b430f295d7264af","src/unix/bsd/freebsdlike/freebsd/freebsd11/b32.rs":"8d9bef35f3e490d04755a59a99ad054ef20498beff979ae8b14acbec1097318a","src/unix/bsd/freebsdlike/freebsd/freebsd11/b64.rs":"45f718f556a8368f282944d9a14afae7261827ec4838d26719290466efc4f023","src/unix/bsd/freebsdlike/freebsd/freebsd11/mod.rs":"400f18465ef118e202ac9b1b9db47b1333fc17eb5841709082f2d1d5a5179391","src/unix/bsd/freebsdlike/freebsd/freebsd12/mod.rs":"fb999d55cf4f3403ac934dff1fc70c666087de234d7a91321bcfb5009bbafc6f","src/unix/bsd/freebsdlike/freebsd/freebsd12/x86_64.rs":"64c4bd82eaf30a2681417f982fce28de7d1b0743bfaa14004692a56cee44be21","src/unix/bsd/freebsdlike/freebsd/freebsd13/mod.rs":"e6f3430838d94dd17e359419f5de7d28a6b3adb8fcab7727d24e034bc6ed5d1e","src/unix/bsd/freebsdlike/freebsd/freebsd13/x86_64.rs":"64c4bd82eaf30a2681417f982fce28de7d1b0743bfaa14004692a56cee44be21","src/unix/bsd/freebsdlike/freebsd/freebsd14/mod.rs":"7d23d7d6b779265bca9c53c8b3e50b4dadb33f3911000ce88c8e09c9f0b60eab","src/unix/bsd/freebsdlike/freebsd/freebsd14/x86_64.rs":"d6e66809e109dc779efe5584b79d34fcd6fdba91973a415d64ae66f481f45940","src/unix/bsd/freebsdlike/freebsd/freebsd15/mod.rs":"45921502545212949a756d0edad2d861a5c6bc1925a4c13c8afc057ce6b4d8fe","src/unix/bsd/freebsdlike/freebsd/freebsd15/x86_64.rs":"d6e66809e109dc779efe5584b79d34fcd6fdba91973a415d64ae66f481f45940","src/unix/bsd/freebsdlike/freebsd/mod.rs":"46d8ca655e0363676dfb9bcda60bc8f39f0f17b1d52eb9b5228dc912955ebcfc","src/unix/bsd/freebsdlike/freebsd/powerpc.rs":"36912b999e0571adccc06d9ebbd237e537a95c36ddb97d67a81e940ab28b36e7","src/unix/bsd/freebsdlike/freebsd/powerpc64.rs":"c1c13a3e7633ab6e84929ac3bfac96a67779e6cdac157d64b5b9f7c2b32b1691","src/unix/bsd/freebsdlike/freebsd/riscv64.rs":"b6bbfb556ed35c3897a98efffbafd5a07854dce1786643ffc1aaaa5a4e7dbe1e","src/unix/bsd/freebsdlike/freebsd/x86.rs":"8102bc641970bec32d4f2b93c8ba0e9c0432f84cef1442e3bf5438c3ba9c6c4d","src/unix/bsd/freebsdlike/freebsd/x86_64/mod.rs":"9ef5040678d489522ce44633643c23921a462ada95e93e7688344f72e92b3e9e","src/unix/bsd/freebsdlike/mod.rs":"31adfff1db7bed60fa8044b37ef40fbabb929b055670cefe3bac88782de879f8","src/unix/bsd/mod.rs":"a776f9bf11ab5245bcddc37bde002f28f84ff8f0d919d2dbc37055b3a679d86b","src/unix/bsd/netbsdlike/mod.rs":"d089eef37c5888f59479c4961415b247470a662cd14a1ec65d1f3ebcd304cf31","src/unix/bsd/netbsdlike/netbsd/aarch64.rs":"3b0dcde4999ed05d93b3415731a1f1218ae8ef6f963e7391ae266957c31878cb","src/unix/bsd/netbsdlike/netbsd/arm.rs":"47abd680ddb4879648cac3d462e0daa7e980b5e6be7ba346f5f494ccdebee6e8","src/unix/bsd/netbsdlike/netbsd/mips.rs":"8420d476126ca2740ff2cbd1e85d0a31334e2c68dd0a70d3ac3e3d802b5b5782","src/unix/bsd/netbsdlike/netbsd/mod.rs":"dc216609dfc6b2835e26f8c3e70f4c7c65425933eef04538de603f51e9429ec5","src/unix/bsd/netbsdlike/netbsd/powerpc.rs":"42f66be7650e95398a3687886db5053e55c77dc04eb139315bebf9668b2bed68","src/unix/bsd/netbsdlike/netbsd/riscv64.rs":"0b1936bad97b3a272c2d323d3435f6860fc355abe7603ca7ed8c4166cac75cc5","src/unix/bsd/netbsdlike/netbsd/sparc64.rs":"78985b140b0337f6bb951f9db68e0db0b5a0a8131ac5c4426a342ed002e27a82","src/unix/bsd/netbsdlike/netbsd/x86.rs":"dda4e401f03084a87762fb68c483998756a07b7c5d4b86348fc3f79380024fb7","src/unix/bsd/netbsdlike/netbsd/x86_64.rs":"b60e896c10ba86a59b13a189fe2e6b94265244fa4b2bc3f89a46065e7d469dea","src/unix/bsd/netbsdlike/openbsd/aarch64.rs":"91b6ac97e6411261cf5206ab1951a4e4e1f1cc9ca26217d7144f000f8f7c8580","src/unix/bsd/netbsdlike/openbsd/arm.rs":"f8c975d4b94a8b8d11dcc5224db628997003a8d289f12fb12b398e9445c2f122","src/unix/bsd/netbsdlike/openbsd/mips64.rs":"8532a189ae10c7d668d9d4065da8b05d124e09bd39442c9f74a7f231c43eca48","src/unix/bsd/netbsdlike/openbsd/mod.rs":"1e631105744b4509e528baa14bcdc0738d474941d85827a6def7d00f20f8a308","src/unix/bsd/netbsdlike/openbsd/powerpc.rs":"f8c975d4b94a8b8d11dcc5224db628997003a8d289f12fb12b398e9445c2f122","src/unix/bsd/netbsdlike/openbsd/powerpc64.rs":"d53f6ccd830b8bbe94c9be8a92a719105ed29846d6a11ce6c972fa7ff142a001","src/unix/bsd/netbsdlike/openbsd/riscv64.rs":"21a90502854e1aab413700edc41bd7922bc6e0fc3d7240aa57f258bb4546fa9c","src/unix/bsd/netbsdlike/openbsd/sparc64.rs":"d04fd287afbaa2c5df9d48c94e8374a532a3ba491b424ddf018270c7312f4085","src/unix/bsd/netbsdlike/openbsd/x86.rs":"ebe65020c0d457af0458f549b8c44099a8c274d734bfa6c3362f0b6423fa3c7a","src/unix/bsd/netbsdlike/openbsd/x86_64.rs":"2aec823a0800d28fe546d35e98ae1dc671aa253663f9923d147548233def260a","src/unix/haiku/b32.rs":"c56aa69ed87dded0d297d44a9177577b1d2d4a79ed176e6768c7fc4dab90bfb4","src/unix/haiku/b64.rs":"d44daef26b89e75d58ac0204a169a66ba5fbc13fc40948f67f19700e6033a07e","src/unix/haiku/mod.rs":"2589765aa89ad146cf0cb942fe371340293f97a5aaecd2dfc0ac0f563eac86f3","src/unix/haiku/native.rs":"fafc7daab134d37ed260373f9c3a8177cc0fd88ba147c1001b9867eb9bd0799b","src/unix/haiku/x86_64.rs":"8d8ef6b462bc32b3270440526f35c8dec572b502355c27ad451e64a816c4a176","src/unix/hurd/b32.rs":"3e79bb09b66d8a1d3b7589a4b2b2076e57bd7b51b747f5219f24d3bd2019ad6a","src/unix/hurd/b64.rs":"f61f0263a71f39a5130ac749bb0f146e5b95e7b054f4929197366f28e8c22815","src/unix/hurd/mod.rs":"37fe6e548eac4add081e157524d22de976dec369104a14da1e3b20a4396d45ec","src/unix/linux_like/android/b32/arm.rs":"b51bc534e9b5d31544207e4b0b9cadef023b41085cfa07dae33d46771775a22a","src/unix/linux_like/android/b32/mod.rs":"a94d3e03741ea30082411f0f858dd302b9a8b7b8a8f0d8325ecaf2f7ca70312e","src/unix/linux_like/android/b32/x86/mod.rs":"1ea74c06e3f9b1a0b52ba0fc8ed6527e68813bfe9fe931698af5554a4b2ee3c6","src/unix/linux_like/android/b64/aarch64/mod.rs":"03a71c8e142e098486dbe6674158317bc2f90a3e27132d3e9549aee8f5e3b1d0","src/unix/linux_like/android/b64/mod.rs":"186edde6293b874c5ae96e10be760f38a967907fa9049bcaf8335aff51b3c6d1","src/unix/linux_like/android/b64/riscv64/mod.rs":"ad47fa7c4dcdaa6593291b5c923c8769aed105170d1e71fe8443229aeb9e2430","src/unix/linux_like/android/b64/x86_64/mod.rs":"393fd4940dc44bddf3153fffc000cf1fbfe61313195879aafafd849b0b20bccf","src/unix/linux_like/android/mod.rs":"d300e2f5c65f8e59dcf792a2c56817c25a09db604f5ca00ef45f6477c4a5d02b","src/unix/linux_like/emscripten/lfs64.rs":"3a1d1779bcf16525a578a68237f9854090eae4c9819e18ffb5a288f39be4afbe","src/unix/linux_like/emscripten/mod.rs":"358a82517c559c46906b751217eea5f918d793f8bf84c3451d472b2ed9a1cf77","src/unix/linux_like/linux/arch/generic/mod.rs":"74e073817b49261c7b9b194c6a7b2cb94adb7a66ee0449bfa4af169d2acbae47","src/unix/linux_like/linux/arch/mips/mod.rs":"abcb98291a77d26f0c0792f1ee87763538559f1f9d7fcbf4e8e6401b4442515b","src/unix/linux_like/linux/arch/mod.rs":"8bc5898b03760a95dd4f124ac76ad92e5ae36b2d0644203d752ef2b37e487c3a","src/unix/linux_like/linux/arch/powerpc/mod.rs":"92c19d5f1ede9389f9044faf8f4f16fc5408b6fb04bbaa67c9bb1f69e32123e0","src/unix/linux_like/linux/arch/sparc/mod.rs":"dfd07a3a6d8b175678b180ff9903e0d5d529c8112d01bd135f53fce742f433a6","src/unix/linux_like/linux/gnu/b32/arm/mod.rs":"7ed85493e121e05d0d52a6751e744451548a390139a5ae947499fbfcff1910be","src/unix/linux_like/linux/gnu/b32/csky/mod.rs":"5fa98a93b92ae3336a0f6a279c0cd6a95c79ccb86443848fc96ddc1026279696","src/unix/linux_like/linux/gnu/b32/m68k/mod.rs":"c5717f5e2266a40144c236e05475ffb2d964c01d956745f29678b69170dd1a1f","src/unix/linux_like/linux/gnu/b32/mips/mod.rs":"5a19abd7401743cad8e6e03ddee15686bbaf7d1bd5b2710e8c2eb97224ed54f0","src/unix/linux_like/linux/gnu/b32/mod.rs":"a9033d128bc441cd970caa4f912d0f842ac169b573e3dfa5539b763609e87d70","src/unix/linux_like/linux/gnu/b32/powerpc.rs":"ee6e9a11848747e0a480407ba7379befef6e2abaffc91ef7906a84e585cd2440","src/unix/linux_like/linux/gnu/b32/riscv32/mod.rs":"94d467ab2bacb907c039a099b81aa1ab6e79fadbc1fbc2a35f1efb092c725906","src/unix/linux_like/linux/gnu/b32/sparc/mod.rs":"5e2e2d605ca74af943e539c8c1ba410715461870b314973c444eba0fee3039cd","src/unix/linux_like/linux/gnu/b32/x86/mod.rs":"4869c3fa80b115803adc0a5b77754077035fae36edea27c3abe1504e73f0e516","src/unix/linux_like/linux/gnu/b64/aarch64/ilp32.rs":"47cc25f28c4bea16c00cd6023c84d09bdc8056217f35744dfdfe27c7f2ea0ca5","src/unix/linux_like/linux/gnu/b64/aarch64/lp64.rs":"39593a2f8fd78fccbbd982734c0feb9d15cb3a6a9a6b029bb972ce5b89c78420","src/unix/linux_like/linux/gnu/b64/aarch64/mod.rs":"24f9ec2670ec41ae3c108c0c412b39daef9faf315e0d7c3a53f1ef05dcd6e027","src/unix/linux_like/linux/gnu/b64/loongarch64/mod.rs":"c0b4c6c252104151390dfc521ffd63e739da709dffbb5cb71a3aba6e270b6fc2","src/unix/linux_like/linux/gnu/b64/mips64/mod.rs":"dd6aeee535eb66b1286365119b7976dffee6216f6653a981963b1cc288fa7516","src/unix/linux_like/linux/gnu/b64/mod.rs":"66b8a981ff02176331f2402806e6ffd7d1a301fe23f285dd4e5dd2d9ed70ea1b","src/unix/linux_like/linux/gnu/b64/powerpc64/mod.rs":"450ad230da45da6ab33b4806db8ff24f6b1ca9b400fa2c5fb9187189a8545347","src/unix/linux_like/linux/gnu/b64/riscv64/mod.rs":"fb3086756cc7aa87c8a8f2e59ea481968314e6abd3649f472dc55db8a542e032","src/unix/linux_like/linux/gnu/b64/s390x.rs":"bcac1400cad0226c7b8b8300d6cbab300cd98922545c88b1968206442501aaaf","src/unix/linux_like/linux/gnu/b64/sparc64/mod.rs":"006ce42969449eb5bb8cdd7c03422be2a436717b152b3982d267ed437be4d5e4","src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs":"bf75505d274e3185694c2d5a28fecbeff276faad5cb79c7ec2122ce024b8782f","src/unix/linux_like/linux/gnu/b64/x86_64/not_x32.rs":"fdb2d3b26336297d34c452633afc705bcaf9c1b4e4fda359f695c4f708d81f17","src/unix/linux_like/linux/gnu/b64/x86_64/x32.rs":"54c1ac9bd8d9fe13eeb9b27a92baf715c9d77af1229262fce93362da72f11fe5","src/unix/linux_like/linux/gnu/mod.rs":"850352f680643c600aaf68f7b6d0b1cf3f382a251cd2b6bb3c82cf3a65038c68","src/unix/linux_like/linux/mod.rs":"7ff1fc95cc66e398ff467c92fb0a642dd6076caf32ae52daec9316f66c6b68cf","src/unix/linux_like/linux/musl/b32/arm/mod.rs":"64d2f81625dd6691ea81bc64a4a3ed88d41b125a7cd00ed347875b795d6a4905","src/unix/linux_like/linux/musl/b32/hexagon.rs":"b0247dd57999a4ddbbd7247a471255181e22458825c61b5464fafd36a31a8545","src/unix/linux_like/linux/musl/b32/mips/mod.rs":"b962ea54c35281131aaa990bf59949d54f24f9583c7191a7efc9c384d6159cfa","src/unix/linux_like/linux/musl/b32/mod.rs":"b9adac558a356cbaddb821588645590a7a11d22c1f11f6d2cc636c177f2e28e9","src/unix/linux_like/linux/musl/b32/powerpc.rs":"95295bd0e58668a204799a1b5f1a0f636c67be28a959e10ee1ab92631b53c82f","src/unix/linux_like/linux/musl/b32/riscv32/mod.rs":"738bc36f9a0f312cc2336cac38ecd5390a9d91b53da51d26afd2542449b54e7b","src/unix/linux_like/linux/musl/b32/x86/mod.rs":"0f6e1c0d5e7d650832da95cf7dce85dff82845876e53b6587154e546b09d3efc","src/unix/linux_like/linux/musl/b64/aarch64/mod.rs":"8e718cec34d53079e9c841084cb2eca7942a0a66139360a833a0e2ebf0bfe95a","src/unix/linux_like/linux/musl/b64/loongarch64/mod.rs":"a825259bb56e78a62f559dccfd1c35e686d8d15f781ce78f83c5266cc398fe82","src/unix/linux_like/linux/musl/b64/mips64.rs":"be1c8bd1f406d3fb1873075cf613ec17b545200ef514423a12190d6dbc42016c","src/unix/linux_like/linux/musl/b64/mod.rs":"db84391acba3ed3c9462ba899f0f1a88747bdb5207658343ba699505bc7d4f8c","src/unix/linux_like/linux/musl/b64/powerpc64.rs":"eb4d57a7201ffbfc8090bc8f97a62e1642a09d224cd70d4556d3c18cf63ac802","src/unix/linux_like/linux/musl/b64/riscv64/mod.rs":"11b166d0b63ed6eb0f24820a0b9ccef9f68eb28e1bc57011ea701d57df63ed34","src/unix/linux_like/linux/musl/b64/s390x.rs":"67d922c392d53c3928798d9725d3f4336a967d1ef20c5088e498cf331af17fd1","src/unix/linux_like/linux/musl/b64/x86_64/mod.rs":"9e958fbdb3cb6c3b48d2413a73961db7259fc34863f4c2f67afa2a17b7b1af05","src/unix/linux_like/linux/musl/lfs64.rs":"308c5b5c9b2f4b1ad17e5c2d02946f84ae83e8f5cb0e789d8d3e76c1923a5d31","src/unix/linux_like/linux/musl/mod.rs":"c7ee52da16396aea3a39573ae9a0ba071500d0e966a53b938793a5ef8b3bb25c","src/unix/linux_like/linux/uclibc/arm/mod.rs":"1b0ce2d0d4467cc32a1dd5e5c62f0d57fc1963354ae223bdc636b8d6d5d6fea3","src/unix/linux_like/linux/uclibc/mips/mips32/mod.rs":"73d70042db5148d5a789880100879541563fa1de8bf5feb792341b4270244968","src/unix/linux_like/linux/uclibc/mips/mips64/mod.rs":"0a6c13d1873d3f165171a69433bb9b2df1c9151cc1085735613791e603865a06","src/unix/linux_like/linux/uclibc/mips/mod.rs":"ead3f9c05e3bdd5d5b52f25dd4a2d154471555a6bae2d4cbd5c07e976513dcea","src/unix/linux_like/linux/uclibc/mod.rs":"1cc653e9ad8524408c9023cbd7245b53b81c105ee3b341cb3e98c435196d191e","src/unix/linux_like/linux/uclibc/x86_64/l4re.rs":"076ad477f0786a2e4944cc0550a4492b21d4b65d094006947ec40e0c7ee5365d","src/unix/linux_like/linux/uclibc/x86_64/mod.rs":"cd37c37e03e399bb33723f984bebdcac54445d9841a0d57dcce83615add4d1d4","src/unix/linux_like/linux/uclibc/x86_64/other.rs":"12f8d4049862fc0c4d94b770f2d0341c1c7bf3da0619436169c12cadc4093def","src/unix/linux_like/mod.rs":"979205c66cd960da2506e3115a4950a8fe24ce963fdba3d5d05b9e19d8f077ea","src/unix/mod.rs":"d20b3b093cf2f1437bc5c18794a8e5bc296277daae6d0149aeac9b87860bb962","src/unix/newlib/aarch64/mod.rs":"e08ba9d6ac7f8b381f8699b3604cf460a5fcd5b8e68e139bba4f29bfba4781a4","src/unix/newlib/arm/mod.rs":"ddea29e7ce40756f2af4c9792d5cefdd0c634401aaeb146dc686f1f125e3bac8","src/unix/newlib/espidf/mod.rs":"f7e4ac40806d5aa2d941b3864acbc50dccebe2505f48f7997abaf6e8551c655e","src/unix/newlib/generic.rs":"182e584f14e0984934130425dd2be0781ca2c131449b3ae1734a07c72c3d43cd","src/unix/newlib/horizon/mod.rs":"a484d84f56fd5b49fed83d6d8a5e8ec5647f0bfa3d30b496a7fa6fe5e546a980","src/unix/newlib/mod.rs":"2f3e9c6217994ec34b0e3b49bf5ebe1335f3b12146f7f55a797ea7041cb1f44c","src/unix/newlib/powerpc/mod.rs":"1a161a27493adb2c3b47d60eebc8ac57b2f0ef0111abdcd5b4d55d11c36d37e5","src/unix/newlib/rtems/mod.rs":"239c90d1daf783ff95168a3fcbc5a0c3d1f9c4b5a0ef32a0e4a22b861f82713a","src/unix/newlib/vita/mod.rs":"927c36282a453a110e83786a5b9c31893411940d2e9b5d1ba6449cc4fec686ff","src/unix/nto/aarch64.rs":"91d0448f932d0cf6af4f11e4f8c9d68a78100ed561e560665983359b7b943075","src/unix/nto/mod.rs":"01938d623e161fb8e20e28d86977403023bb1645c83cec2ffef3632d7ec29750","src/unix/nto/neutrino.rs":"039ab7b1ed702d515f3e06d7f3536709704715a49905024b6c520696a65086f9","src/unix/nto/x86_64.rs":"3fdcc6f28787476df78cae8e166b2b7408373a5bafc32e68e7d79febe4e5c887","src/unix/nuttx/mod.rs":"e4c2625c04bfb3b54171208af68201d897c2e0b62f6d24af6470669ffa1b6425","src/unix/redox/mod.rs":"5f57cadca20a39430d9837824134023332b1cb6af1e8c66fa2dd9c4255439d52","src/unix/solarish/compat.rs":"c02a88918852b7a9c60e45a34f7b003901000380f5c1b2832b8bd79f84936c8b","src/unix/solarish/illumos.rs":"cc7104f002a5379f981c59a779ef4afad00c874e0be21dda339901cd5eea4af1","src/unix/solarish/mod.rs":"b5dae853ebfc3355b155f8c20f3a481517bce27e164e304f56dfff172e313098","src/unix/solarish/solaris.rs":"3a37167395881640117a37728ca848d1dbeb4286912025d86c57608e0ddc823f","src/unix/solarish/x86.rs":"44261c1f1b300dac9fa0dab93ec85d0c3b3c48b15bc4515b9820c9421cff7427","src/unix/solarish/x86_64.rs":"1601309baae50ccfd51b5d188668e6ac5dabc4e8d2ffde103592922ec15295ef","src/unix/solarish/x86_common.rs":"4ae02d88622f7f080f5e8cd328f13187edbc5e124fb3e05e4cf212597f6cce48","src/vxworks/aarch64.rs":"98f0afdc511cd02557e506c21fed6737585490a1dce7a9d4941d08c437762b99","src/vxworks/arm.rs":"acb7968ce99fe3f4abdf39d98f8133d21a4fba435b8ef7084777cb181d788e88","src/vxworks/mod.rs":"d02d216bf652e4a1d21f01e8455beae20db30981d5d630f7b6fc113fff798a1b","src/vxworks/powerpc.rs":"acb7968ce99fe3f4abdf39d98f8133d21a4fba435b8ef7084777cb181d788e88","src/vxworks/powerpc64.rs":"98f0afdc511cd02557e506c21fed6737585490a1dce7a9d4941d08c437762b99","src/vxworks/riscv32.rs":"2f018cdb5b6e9a2c0d3a2a34d9a6c095d8469272ca8f137e4336140962be3177","src/vxworks/riscv64.rs":"16bff4f1c4eb73df0a66a16718716340a3b541bf94aa3318065d9c627e4e3069","src/vxworks/x86.rs":"552f007f38317620b23889cb7c49d1d115841252439060122f52f434fbc6e5ba","src/vxworks/x86_64.rs":"018d92be3ad628a129eff9f2f5dfbc0883d8b8e5f2fa917b900a7f98ed6b514a","src/wasi/mod.rs":"f7b39137ce2c005367016a00e00f0affdce627d9165681c9dc9280534720640b","src/wasi/p2.rs":"feecc0485eabd2c32bc5d800df6ad1b9b4d282741342fb08792f2635204e1e08","src/windows/gnu/mod.rs":"320ddf761f731c24a27e061438ddbacb0630e3ad6f3bb39f6514c28dffd8ac9f","src/windows/mod.rs":"282daeacf420e36c5ba2f8129d045104e1172b29a9035e73c10739836a8af440","src/windows/msvc/mod.rs":"7bc0f1e7e73815296cd6b63b2700e12624e9f47b5c4113a1a87fae8e64549c00","src/xous.rs":"17b571c988119fe3f71dbcccfe722de5c772abc3ca20dc4b09b58780980b78e9","tests/const_fn.rs":"8ac3171d7bced3576a4e93f48570b3e00c553d7510ab85a7473ae3b716a812dc"},"package":"b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a"}
59diff --git a/vendor/libc-0.2.169/src/unix/linux_like/linux/arch/generic/mod.rs b/vendor/libc-0.2.169/src/unix/linux_like/linux/arch/generic/mod.rs
60index 10953fe78..e9fd7fcce 100644
61--- a/vendor/libc-0.2.169/src/unix/linux_like/linux/arch/generic/mod.rs
62+++ b/vendor/libc-0.2.169/src/unix/linux_like/linux/arch/generic/mod.rs
63@@ -122,6 +122,7 @@ cfg_if! {
64 target_arch = "x86_64",
65 target_arch = "arm",
66 target_arch = "aarch64",
67+ target_arch = "riscv32",
68 target_arch = "riscv64",
69 target_arch = "s390x",
70 target_arch = "csky",
71@@ -258,7 +259,8 @@ cfg_if! {
72 if #[cfg(any(
73 target_arch = "x86",
74 target_arch = "arm",
75- target_arch = "csky"
76+ target_arch = "csky",
77+ target_arch = "riscv32"
78 ))] {
79 pub const FS_IOC_GETFLAGS: Ioctl = 0x80046601;
80 pub const FS_IOC_SETFLAGS: Ioctl = 0x40046602;
diff --git a/meta/recipes-devtools/rust/files/0001-Disable-libunwind-cross-architecture-unwinding.patch b/meta/recipes-devtools/rust/files/0001-Disable-libunwind-cross-architecture-unwinding.patch
new file mode 100644
index 0000000000..4a282032eb
--- /dev/null
+++ b/meta/recipes-devtools/rust/files/0001-Disable-libunwind-cross-architecture-unwinding.patch
@@ -0,0 +1,46 @@
1From 56b669cd7adcc413bb1e64c3d2d7c347a82ae35a Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 21 May 2025 18:47:09 -0700
4Subject: [PATCH] Disable libunwind cross-architecture unwinding
5
6Building with _LIBUNWIND_IS_NATIVE_ONLY disables code for cross-architecture unwinding
7it is disabled by default in LLVM [1], replicate the cmake behavior in bootstrap process
8
9It also enables some additional code that handles PAC-specific unwind info
10it helps compiling with the -mbranch-protection=pac or -mbranch-protection=standard flags
11
12This fixes build with clang/musl on aarch64
13
14[1] https://github.com/llvm/llvm-project/commit/85624c5de3e831ffa01fdc2d159e3d69c30de08d
15
16Upstream-Status: Submitted [https://github.com/rust-lang/rust/pull/141375]
17Signed-off-by: Khem Raj <raj.khem@gmail.com>
18---
19 src/bootstrap/src/core/build_steps/llvm.rs | 3 +--
20 1 file changed, 1 insertion(+), 2 deletions(-)
21
22diff --git a/src/bootstrap/src/core/build_steps/llvm.rs b/src/bootstrap/src/core/build_steps/llvm.rs
23index a3788197471..5e4a1c7d9f0 100644
24--- a/src/bootstrap/src/core/build_steps/llvm.rs
25+++ b/src/bootstrap/src/core/build_steps/llvm.rs
26@@ -1430,6 +1430,7 @@ fn run(self, builder: &Builder<'_>) -> Self::Output {
27 cfg.flag("-funwind-tables");
28 cfg.flag("-fvisibility=hidden");
29 cfg.define("_LIBUNWIND_DISABLE_VISIBILITY_ANNOTATIONS", None);
30+ cfg.define("_LIBUNWIND_IS_NATIVE_ONLY", "1");
31 cfg.include(root.join("include"));
32 cfg.cargo_metadata(false);
33 cfg.out_dir(&out_dir);
34@@ -1447,12 +1448,10 @@ fn run(self, builder: &Builder<'_>) -> Self::Output {
35 cfg.define("__NO_STRING_INLINES", None);
36 cfg.define("__NO_MATH_INLINES", None);
37 cfg.define("_LIBUNWIND_IS_BAREMETAL", None);
38- cfg.define("__LIBUNWIND_IS_NATIVE_ONLY", None);
39 cfg.define("NDEBUG", None);
40 }
41 if self.target.is_windows() {
42 cfg.define("_LIBUNWIND_HIDE_SYMBOLS", "1");
43- cfg.define("_LIBUNWIND_IS_NATIVE_ONLY", "1");
44 }
45 }
46
diff --git a/meta/recipes-devtools/rust/files/0001-Handle-vendored-sources-when-remapping-paths.patch b/meta/recipes-devtools/rust/files/0001-Handle-vendored-sources-when-remapping-paths.patch
deleted file mode 100644
index a46ee14402..0000000000
--- a/meta/recipes-devtools/rust/files/0001-Handle-vendored-sources-when-remapping-paths.patch
+++ /dev/null
@@ -1,46 +0,0 @@
1From 5e37ea7cb9d99d91f2c5ac6edf19ff777f95bb88 Mon Sep 17 00:00:00 2001
2From: Arlo Siemsen <arsiem@microsoft.com>
3Date: Thu, 4 Jan 2024 11:40:56 -0600
4Subject: [PATCH] Handle vendored sources when remapping paths
5
6Upstream-Status: Submitted [https://github.com/rust-lang/rust/pull/119582]
7Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
8---
9 src/bootstrap/src/core/builder.rs | 19 ++++++++++++-------
10 1 file changed, 12 insertions(+), 7 deletions(-)
11
12diff --git a/src/bootstrap/src/core/builder.rs b/src/bootstrap/src/core/builder.rs
13index cd276674dee6..48fdb2c7f7b7 100644
14--- a/src/bootstrap/src/core/builder.rs
15+++ b/src/bootstrap/src/core/builder.rs
16@@ -1789,15 +1789,20 @@ pub fn cargo(
17 }
18
19 if self.config.rust_remap_debuginfo {
20- // FIXME: handle vendored sources
21- let registry_src = t!(home::cargo_home()).join("registry").join("src");
22 let mut env_var = OsString::new();
23- for entry in t!(std::fs::read_dir(registry_src)) {
24- if !env_var.is_empty() {
25- env_var.push("\t");
26- }
27- env_var.push(t!(entry).path());
28+ if self.config.vendor {
29+ let vendor = self.build.src.join("vendor");
30+ env_var.push(vendor);
31 env_var.push("=/rust/deps");
32+ } else {
33+ let registry_src = t!(home::cargo_home()).join("registry").join("src");
34+ for entry in t!(std::fs::read_dir(registry_src)) {
35+ if !env_var.is_empty() {
36+ env_var.push("\t");
37+ }
38+ env_var.push(t!(entry).path());
39+ env_var.push("=/rust/deps");
40+ }
41 }
42 cargo.env("RUSTC_CARGO_REGISTRY_SRC_TO_REMAP", env_var);
43 }
44--
452.39.0
46
diff --git a/meta/recipes-devtools/rust/files/0001-Revert-Map-source-absolute-paths-to-OUT_DIR-as-relat.patch b/meta/recipes-devtools/rust/files/0001-Revert-Map-source-absolute-paths-to-OUT_DIR-as-relat.patch
deleted file mode 100644
index f75a75fa4e..0000000000
--- a/meta/recipes-devtools/rust/files/0001-Revert-Map-source-absolute-paths-to-OUT_DIR-as-relat.patch
+++ /dev/null
@@ -1,67 +0,0 @@
1From 8bf0c566387e6a48d854d5f69c43c8bfa45092f9 Mon Sep 17 00:00:00 2001
2From: Alex Kiernan <alexk@zuma.ai>
3Date: Sun, 24 Dec 2023 09:40:01 +0000
4Subject: [PATCH] Revert "Map source absolute paths to OUT_DIR as relative.
5 (#684)"
6
7This reverts commit c4f414f449bb7cffba3bc923f277704d1d08a8ec.
8
9Upstream-Status: Inappropriate [patches need rework]
10Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
11---
12 src/lib.rs | 22 ++--------------------
13 1 file changed, 2 insertions(+), 20 deletions(-)
14
15Index: rustc-1.72.0-src/vendor/cc/src/lib.rs
16===================================================================
17--- rustc-1.72.0-src.orig/vendor/cc/src/lib.rs
18+++ rustc-1.72.0-src/vendor/cc/src/lib.rs
19@@ -56,12 +56,11 @@
20 #![allow(deprecated)]
21 #![deny(missing_docs)]
22
23-use std::collections::{hash_map, HashMap};
24+use std::collections::HashMap;
25 use std::env;
26 use std::ffi::{OsStr, OsString};
27 use std::fmt::{self, Display, Formatter};
28 use std::fs;
29-use std::hash::Hasher;
30 use std::io::{self, BufRead, BufReader, Read, Write};
31 use std::path::{Component, Path, PathBuf};
32 use std::process::{Child, Command, Stdio};
33@@ -1037,24 +1036,7 @@ impl Build {
34
35 let mut objects = Vec::new();
36 for file in self.files.iter() {
37- let obj = if file.has_root() {
38- // If `file` is an absolute path, prefix the `basename`
39- // with the `dirname`'s hash to ensure name uniqueness.
40- let basename = file
41- .file_name()
42- .ok_or_else(|| Error::new(ErrorKind::InvalidArgument, "file_name() failure"))?
43- .to_string_lossy();
44- let dirname = file
45- .parent()
46- .ok_or_else(|| Error::new(ErrorKind::InvalidArgument, "parent() failure"))?
47- .to_string_lossy();
48- let mut hasher = hash_map::DefaultHasher::new();
49- hasher.write(dirname.to_string().as_bytes());
50- dst.join(format!("{:016x}-{}", hasher.finish(), basename))
51- .with_extension("o")
52- } else {
53- dst.join(file).with_extension("o")
54- };
55+ let obj = dst.join(file).with_extension("o");
56 let obj = if !obj.starts_with(&dst) {
57 dst.join(obj.file_name().ok_or_else(|| {
58 Error::new(ErrorKind::IOError, "Getting object file details failed.")
59Index: rustc-1.72.0-src/vendor/cc/.cargo-checksum.json
60===================================================================
61--- rustc-1.72.0-src.orig/vendor/cc/.cargo-checksum.json
62+++ rustc-1.72.0-src/vendor/cc/.cargo-checksum.json
63@@ -1 +1 @@
64-{"files":{"Cargo.lock":"dddb9c49058d411a098e98dc1c06e3bc89f859a2080d96c11b11aec67394bb8c","Cargo.toml":"1953a8bc4b98e351fe75917c151b1e08a46531d562aebba25a90add4aadecac2","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"378f5840b258e2779c39418f3f2d7b2ba96f1c7917dd6be0713f88305dbda397","README.md":"58af5106352aafa62175a90f8a5f25fa114028bf909220dc0735d79745999ec1","src/bin/gcc-shim.rs":"36dc4e447428e73c548cc7106ca1e8f282c098463b014e13a729a44445de4880","src/com.rs":"29d0dee08a656ab1a4cc3e5fe24542e0fab5c1373cbc9b05059f7572cf9b8313","src/lib.rs":"17a4659710aa290c4ed9c23063c7b202c5bcf2a84de33aa1f01fc6fded69a1f8","src/registry.rs":"98ae2b71781acc49297e5544fa0cf059f735636f8f1338edef8dbf7232443945","src/setup_config.rs":"72deaf1927c0b713fd5c2b2d5b8f0ea3a303a00fda1579427895cac26a94122d","src/vs_instances.rs":"2d3f8278a803b0e7052f4eeb1979b29f963dd0143f4458e2cb5f33c4e5f0963b","src/winapi.rs":"e128e95b2d39ae7a02f54a7e25d33c488c14759b9f1a50a449e10545856950c3","src/windows_registry.rs":"1f973f804b4b451e48ff6d98ce660355772f164dfdf79a6ae514645c7c764005","tests/cc_env.rs":"e02b3b0824ad039b47e4462c5ef6dbe6c824c28e7953af94a0f28f7b5158042e","tests/cflags.rs":"57f06eb5ce1557e5b4a032d0c4673e18fbe6f8d26c1deb153126e368b96b41b3","tests/cxxflags.rs":"c2c6c6d8a0d7146616fa1caed26876ee7bc9fcfffd525eb4743593cade5f3371","tests/support/mod.rs":"a3c8d116973bb16066bf6ec4de5143183f97de7aad085d85f8118a2eaac3e1e0","tests/test.rs":"61fb35ae6dd5cf506ada000bdd82c92e9f8eac9cc053b63e83d3f897436fbf8f"},"package":"50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f"}
65\ No newline at end of file
66+{"files":{"Cargo.lock":"dddb9c49058d411a098e98dc1c06e3bc89f859a2080d96c11b11aec67394bb8c","Cargo.toml":"1953a8bc4b98e351fe75917c151b1e08a46531d562aebba25a90add4aadecac2","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"378f5840b258e2779c39418f3f2d7b2ba96f1c7917dd6be0713f88305dbda397","README.md":"58af5106352aafa62175a90f8a5f25fa114028bf909220dc0735d79745999ec1","src/bin/gcc-shim.rs":"36dc4e447428e73c548cc7106ca1e8f282c098463b014e13a729a44445de4880","src/com.rs":"29d0dee08a656ab1a4cc3e5fe24542e0fab5c1373cbc9b05059f7572cf9b8313","src/lib.rs":"dfb36b17362e9a5b266cb19a229d982e8c0bba784b1e99769f690692b0cd5c4e","src/registry.rs":"98ae2b71781acc49297e5544fa0cf059f735636f8f1338edef8dbf7232443945","src/setup_config.rs":"72deaf1927c0b713fd5c2b2d5b8f0ea3a303a00fda1579427895cac26a94122d","src/vs_instances.rs":"2d3f8278a803b0e7052f4eeb1979b29f963dd0143f4458e2cb5f33c4e5f0963b","src/winapi.rs":"e128e95b2d39ae7a02f54a7e25d33c488c14759b9f1a50a449e10545856950c3","src/windows_registry.rs":"1f973f804b4b451e48ff6d98ce660355772f164dfdf79a6ae514645c7c764005","tests/cc_env.rs":"e02b3b0824ad039b47e4462c5ef6dbe6c824c28e7953af94a0f28f7b5158042e","tests/cflags.rs":"57f06eb5ce1557e5b4a032d0c4673e18fbe6f8d26c1deb153126e368b96b41b3","tests/cxxflags.rs":"c2c6c6d8a0d7146616fa1caed26876ee7bc9fcfffd525eb4743593cade5f3371","tests/support/mod.rs":"a3c8d116973bb16066bf6ec4de5143183f97de7aad085d85f8118a2eaac3e1e0","tests/test.rs":"61fb35ae6dd5cf506ada000bdd82c92e9f8eac9cc053b63e83d3f897436fbf8f"},"package":"50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f"}
67\ No newline at end of file
diff --git a/meta/recipes-devtools/rust/files/0001-libunwind-Use-gcs-instead-of-gcs-target-attribute.patch b/meta/recipes-devtools/rust/files/0001-libunwind-Use-gcs-instead-of-gcs-target-attribute.patch
new file mode 100644
index 0000000000..a704671fb9
--- /dev/null
+++ b/meta/recipes-devtools/rust/files/0001-libunwind-Use-gcs-instead-of-gcs-target-attribute.patch
@@ -0,0 +1,66 @@
1From e4f4094de8ddcbe6d5ff1cdf782d2b89e0563903 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 30 Apr 2025 19:51:19 -0700
4Subject: [PATCH] libunwind: Use +gcs instead of gcs target attribute
5
6__attribute__((target("gcs"))) does not work with gcc
7
8GCC-15 has added gcs intrinsics [1] but the syntax for enabling it is
9slightly different. This syntax works with clang too.
10
11With gcc15 compiler libunwind's check for this macros is succeeding and it
12ends up enabling 'gcs' by using function attribute, this works with clang
13but not with gcc but '+gcs' works with both
14
15We can see this in rust compiler bootstrap for aarch64/musl when system
16uses gcc15, it ends up with these errors
17
18Building libunwind.a for aarch64-poky-linux-musl
19cargo:warning=/mnt/b/yoe/master/sources/poky/build/tmp/work/cortexa57-poky-linux-musl/rust/1.85.1/rustc-1.85.1-src/src/llvm-project/libunwind/src/UnwindLevel1.c:191:1: error: arch extension 'gcs' should be prefixed by '+'
20cargo:warning= 191 | unwind_phase2(unw_context_t *uc, unw_cursor_t *cursor, _Unwind_Exception *exception_object) {
21cargo:warning= | ^~~~~~~~~~~~~
22cargo:warning=/mnt/b/yoe/master/sources/poky/build/tmp/work/cortexa57-poky-linux-musl/rust/1.85.1/rustc-1.85.1-src/src/llvm-project/libunwind/src/UnwindLevel1.c:337:22: error: arch extension 'gcs' should be prefixed by '+'
23cargo:warning= 337 | _Unwind_Stop_Fn stop, void *stop_parameter) {
24cargo:warning= | ^~~~~~~~~~~~~~~
25
26[1] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=5a6af707f0af
27
28Upstream-Status: Submitted [https://github.com/llvm/llvm-project/pull/138077]
29
30Signed-off-by: Khem Raj <raj.khem@gmail.com>
31---
32 src/llvm-project/libunwind/src/UnwindLevel1.c | 4 ++--
33 1 file changed, 2 insertions(+), 2 deletions(-)
34
35--- a/src/llvm-project/libunwind/src/UnwindLevel1.c
36+++ b/src/llvm-project/libunwind/src/UnwindLevel1.c
37@@ -185,7 +185,7 @@ extern int __unw_step_stage2(unw_cursor_
38
39 #if defined(_LIBUNWIND_USE_GCS)
40 // Enable the GCS target feature to permit gcspop instructions to be used.
41-__attribute__((target("gcs")))
42+__attribute__((target("+gcs")))
43 #endif
44 static _Unwind_Reason_Code
45 unwind_phase2(unw_context_t *uc, unw_cursor_t *cursor, _Unwind_Exception *exception_object) {
46@@ -329,7 +329,7 @@ unwind_phase2(unw_context_t *uc, unw_cur
47
48 #if defined(_LIBUNWIND_USE_GCS)
49 // Enable the GCS target feature to permit gcspop instructions to be used.
50-__attribute__((target("gcs")))
51+__attribute__((target("+gcs")))
52 #endif
53 static _Unwind_Reason_Code
54 unwind_phase2_forced(unw_context_t *uc, unw_cursor_t *cursor,
55--- a/src/llvm-project/libunwind/src/cet_unwind.h
56+++ b/src/llvm-project/libunwind/src/cet_unwind.h
57@@ -42,7 +42,8 @@
58 #include <arm_acle.h>
59
60 // We can only use GCS if arm_acle.h defines the GCS intrinsics.
61-#ifdef _CHKFEAT_GCS
62+// Enable gcs with clang for now, gcc does not build unwindlevel1.c correctly
63+#if defined(_CHKFEAT_GCS) && defined(__clang__)
64 #define _LIBUNWIND_USE_GCS 1
65 #endif
66
diff --git a/meta/recipes-devtools/rust/files/0001-src-core-build_steps-tool.rs-switch-off-lto-for-rust.patch b/meta/recipes-devtools/rust/files/0001-src-core-build_steps-tool.rs-switch-off-lto-for-rust.patch
new file mode 100644
index 0000000000..a7da69dce3
--- /dev/null
+++ b/meta/recipes-devtools/rust/files/0001-src-core-build_steps-tool.rs-switch-off-lto-for-rust.patch
@@ -0,0 +1,78 @@
1From ce68809d41291f671b440abce41f8f71c95428aa Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de>
3Date: Mon, 3 Feb 2025 20:06:46 +0100
4Subject: [PATCH] src/core/build_steps/tool.rs: switch off lto for rustdoc
5
6For reasons currently unknown, librustdoc binary ends up with
7non-reproducible .llvm.<number> suffixes in its symbols - but
8not any other binary.
9
10Disabling lto avoids creating these suffixes. More info about the option:
11https://doc.rust-lang.org/rustc/codegen-options/index.html#lto
12
13As seen below, there's a comment in the source tree saying not to tweak the options
14but this only creates a mix of lto and non-lto optimized binary objects from
15various crates, which should be safe to mix.
16
17Upstream-Status: Inappropriate [reported at https://github.com/rust-lang/rust/issues/134589]
18Signed-off-by: Alexander Kanavin <alex@linutronix.de>
19---
20 src/bootstrap/src/core/build_steps/tool.rs | 3 ++-
21 1 file changed, 2 insertions(+), 1 deletion(-)
22
23diff --git a/src/bootstrap/src/core/build_steps/tool.rs b/src/bootstrap/src/core/build_steps/tool.rs
24index 087df2f8a..00790affb 100644
25--- a/src/bootstrap/src/core/build_steps/tool.rs
26+++ b/src/bootstrap/src/core/build_steps/tool.rs
27@@ -15,14 +15,12 @@
28 #[cfg(feature = "tracing")]
29 use tracing::instrument;
30
31-use crate::core::build_steps::compile::is_lto_stage;
32 use crate::core::build_steps::toolstate::ToolState;
33 use crate::core::build_steps::{compile, llvm};
34 use crate::core::builder;
35-use crate::core::builder::{
36- Builder, Cargo as CargoCommand, RunConfig, ShouldRun, Step, cargo_profile_var,
37-};
38-use crate::core::config::{DebuginfoLevel, RustcLto, TargetSelection};
39+
40+use crate::core::builder::{Builder, Cargo as CargoCommand, RunConfig, ShouldRun, Step};
41+use crate::core::config::{DebuginfoLevel, TargetSelection};
42 use crate::utils::channel::GitInfo;
43 use crate::utils::exec::{BootstrapCommand, command};
44 use crate::utils::helpers::{add_dylib_path, exe, t};
45@@ -148,20 +146,7 @@
46 &self.extra_features,
47 );
48
49- if path.ends_with("/rustdoc") &&
50- // rustdoc is performance sensitive, so apply LTO to it.
51- is_lto_stage(&self.compiler)
52- {
53- let lto = match builder.config.rust_lto {
54- RustcLto::Off => Some("off"),
55- RustcLto::Thin => Some("thin"),
56- RustcLto::Fat => Some("fat"),
57- RustcLto::ThinLocal => None,
58- };
59- if let Some(lto) = lto {
60- cargo.env(cargo_profile_var("LTO", &builder.config), lto);
61- }
62- }
63+ cargo.rustflag("-Clto=off");
64
65 if !self.allow_features.is_empty() {
66 cargo.allow_features(self.allow_features);
67diff --git a/src/bootstrap/src/core/builder/mod.rs b/src/bootstrap/src/core/builder/mod.rs
68--- a/src/bootstrap/src/core/builder/mod.rs
69+++ b/src/bootstrap/src/core/builder/mod.rs
70@@ -13,7 +13,7 @@
71 #[cfg(feature = "tracing")]
72 use tracing::instrument;
73
74-pub use self::cargo::{Cargo, cargo_profile_var};
75+pub use self::cargo::Cargo;
76 pub use crate::Compiler;
77 use crate::core::build_steps::{
78 check, clean, clippy, compile, dist, doc, gcc, install, llvm, run, setup, test, tool, vendor,
diff --git a/meta/recipes-devtools/rust/files/cargo-path.patch b/meta/recipes-devtools/rust/files/cargo-path.patch
deleted file mode 100644
index 9a50c40220..0000000000
--- a/meta/recipes-devtools/rust/files/cargo-path.patch
+++ /dev/null
@@ -1,37 +0,0 @@
1Fix the cargo binary path error and ensure that it is fetched
2during rustc bootstrap in rust oe-selftest.
3
4======================================================================
5ERROR: test_cargoflags (bootstrap_test.BuildBootstrap)
6----------------------------------------------------------------------
7Traceback (most recent call last):
8 File "/home/build-st/tmp/work/cortexa57-poky-linux/rust/1.74.1/rustc-1.74.1-src/src/bootstrap/bootstrap_test.py", line 157, in test_cargoflags
9 args, _ = self.build_args(env={"CARGOFLAGS": "--timings"})
10 File "/home/build-st/tmp/work/cortexa57-poky-linux/rust/1.74.1/rustc-1.74.1-src/src/bootstrap/bootstrap_test.py", line 154, in build_args
11 return build.build_bootstrap_cmd(env), env
12 File "/home/build-st/tmp/work/cortexa57-poky-linux/rust/1.74.1/rustc-1.74.1-src/src/bootstrap/bootstrap.py", line 960, in build_bootstrap_cmd
13 raise Exception("no cargo executable found at `{}`".format(
14Exception: no cargo executable found at `/home/build-st/tmp/work/cortexa57-poky-linux/rust/1.74.1/rustc-1.74.1-src/build/x86_64-unknown-linux-gnu/stage0/bin/cargo`
15
16Upstream-Status: Submitted [https://github.com/rust-lang/rust/pull/120125]
17
18Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
19---
20diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py
21--- a/src/bootstrap/bootstrap.py
22+++ b/src/bootstrap/bootstrap.py
23@@ -954,9 +954,11 @@
24 if "RUSTFLAGS_BOOTSTRAP" in env:
25 env["RUSTFLAGS"] += " " + env["RUSTFLAGS_BOOTSTRAP"]
26
27- env["PATH"] = os.path.join(self.bin_root(), "bin") + \
28- os.pathsep + env["PATH"]
29- if not os.path.isfile(self.cargo()):
30+ cargo_bin_path = os.path.join(self.bin_root(), "bin", "cargo")
31+ if not os.path.isfile(cargo_bin_path):
32+ cargo_bin_path = os.getenv("RUST_TARGET_PATH") + "rust-snapshot/bin/cargo"
33+ env["PATH"] = os.path.dirname(cargo_bin_path) + os.pathsep + env["PATH"]
34+ else:
35 raise Exception("no cargo executable found at `{}`".format(
36 self.cargo()))
37 args = [self.cargo(), "build", "--manifest-path",
diff --git a/meta/recipes-devtools/rust/files/custom-target-cfg.patch b/meta/recipes-devtools/rust/files/custom-target-cfg.patch
deleted file mode 100644
index 15a7f252cc..0000000000
--- a/meta/recipes-devtools/rust/files/custom-target-cfg.patch
+++ /dev/null
@@ -1,90 +0,0 @@
1Detect and fetch custom target configurations when rustc is
2bootstrapped in rust oe-selftest.
3
4Upstream-Status: Backport [https://github.com/rust-lang/rust/pull/119619/commits/26c71cbcf1a9bce6ceb962d753c467d098f63cf6]
5
6Signed-off-by: onur-ozkan <work@onurozkan.dev>
7Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
8---
9diff --git a/src/tools/compiletest/src/common.rs b/src/tools/compiletest/src/common.rs
10index e85f6319936..c45c0b3c652 100644
11--- a/src/tools/compiletest/src/common.rs
12+++ b/src/tools/compiletest/src/common.rs
13@@ -479,6 +479,7 @@ fn new(config: &Config) -> TargetCfgs {
14 let mut targets: HashMap<String, TargetCfg> = serde_json::from_str(&rustc_output(
15 config,
16 &["--print=all-target-specs-json", "-Zunstable-options"],
17+ Default::default(),
18 ))
19 .unwrap();
20
21@@ -491,16 +492,33 @@ fn new(config: &Config) -> TargetCfgs {
22 let mut all_families = HashSet::new();
23 let mut all_pointer_widths = HashSet::new();
24
25- // Handle custom target specs, which are not included in `--print=all-target-specs-json`.
26- if config.target.ends_with(".json") {
27- targets.insert(
28- config.target.clone(),
29- serde_json::from_str(&rustc_output(
30- config,
31- &["--print=target-spec-json", "-Zunstable-options", "--target", &config.target],
32- ))
33- .unwrap(),
34- );
35+ // If current target is not included in the `--print=all-target-specs-json` output,
36+ // we check whether it is a custom target from the user or a synthetic target from bootstrap.
37+ if !targets.contains_key(&config.target) {
38+ let mut envs: HashMap<String, String> = HashMap::new();
39+
40+ if let Ok(t) = std::env::var("RUST_TARGET_PATH") {
41+ envs.insert("RUST_TARGET_PATH".into(), t);
42+ }
43+
44+ // This returns false only when the target is neither a synthetic target
45+ // nor a custom target from the user, indicating it is most likely invalid.
46+ if config.target.ends_with(".json") || !envs.is_empty() {
47+ targets.insert(
48+ config.target.clone(),
49+ serde_json::from_str(&rustc_output(
50+ config,
51+ &[
52+ "--print=target-spec-json",
53+ "-Zunstable-options",
54+ "--target",
55+ &config.target,
56+ ],
57+ envs,
58+ ))
59+ .unwrap(),
60+ );
61+ }
62 }
63
64 for (target, cfg) in targets.iter() {
65@@ -545,7 +563,9 @@ fn get_current_target_config(
66 // code below extracts them from `--print=cfg`: make sure to only override fields that can
67 // actually be changed with `-C` flags.
68 for config in
69- rustc_output(config, &["--print=cfg", "--target", &config.target]).trim().lines()
70+ rustc_output(config, &["--print=cfg", "--target", &config.target], Default::default())
71+ .trim()
72+ .lines()
73 {
74 let (name, value) = config
75 .split_once("=\"")
76@@ -624,11 +644,12 @@ pub enum Endian {
77 Big,
78 }
79
80-fn rustc_output(config: &Config, args: &[&str]) -> String {
81+fn rustc_output(config: &Config, args: &[&str], envs: HashMap<String, String>) -> String {
82 let mut command = Command::new(&config.rustc_path);
83 add_dylib_path(&mut command, iter::once(&config.compile_lib_path));
84 command.args(&config.target_rustcflags).args(args);
85 command.env("RUSTC_BOOTSTRAP", "1");
86+ command.envs(envs);
87
88 let output = match command.output() {
89 Ok(output) => output,
90
diff --git a/meta/recipes-devtools/rust/files/hardcodepaths.patch b/meta/recipes-devtools/rust/files/hardcodepaths.patch
deleted file mode 100644
index a043095f62..0000000000
--- a/meta/recipes-devtools/rust/files/hardcodepaths.patch
+++ /dev/null
@@ -1,59 +0,0 @@
1When building for the target, some build paths end up embedded in the binaries.
2These changes remove that. Further investigation is needed to work out the way
3to resolve these issues properly upstream.
4
5Upstream-Status: Inappropriate [patches need rework]
6Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
8
9diff --git a/compiler/rustc_codegen_llvm/src/context.rs b/compiler/rustc_codegen_llvm/src/context.rs
10index b4b2ab1e1f8a..8bb3e3f0557c 100644
11--- a/compiler/rustc_codegen_llvm/src/context.rs
12+++ b/compiler/rustc_codegen_llvm/src/context.rs
13@@ -158,46 +158,6 @@ pub unsafe fn create_module<'ll>(
14 }
15 }
16
17- // Ensure the data-layout values hardcoded remain the defaults.
18- if sess.target.is_builtin {
19- // tm is disposed by its drop impl
20- let tm = crate::back::write::create_informational_target_machine(tcx.sess);
21- llvm::LLVMRustSetDataLayoutFromTargetMachine(llmod, &tm);
22-
23- let llvm_data_layout = llvm::LLVMGetDataLayoutStr(llmod);
24- let llvm_data_layout = str::from_utf8(CStr::from_ptr(llvm_data_layout).to_bytes())
25- .expect("got a non-UTF8 data-layout from LLVM");
26-
27- // Unfortunately LLVM target specs change over time, and right now we
28- // don't have proper support to work with any more than one
29- // `data_layout` than the one that is in the rust-lang/rust repo. If
30- // this compiler is configured against a custom LLVM, we may have a
31- // differing data layout, even though we should update our own to use
32- // that one.
33- //
34- // As an interim hack, if CFG_LLVM_ROOT is not an empty string then we
35- // disable this check entirely as we may be configured with something
36- // that has a different target layout.
37- //
38- // Unsure if this will actually cause breakage when rustc is configured
39- // as such.
40- //
41- // FIXME(#34960)
42- let cfg_llvm_root = option_env!("CFG_LLVM_ROOT").unwrap_or("");
43- let custom_llvm_used = !cfg_llvm_root.trim().is_empty();
44-
45- if !custom_llvm_used && target_data_layout != llvm_data_layout {
46- bug!(
47- "data-layout for target `{rustc_target}`, `{rustc_layout}`, \
48- differs from LLVM target's `{llvm_target}` default layout, `{llvm_layout}`",
49- rustc_target = sess.opts.target_triple,
50- rustc_layout = target_data_layout,
51- llvm_target = sess.target.llvm_target,
52- llvm_layout = llvm_data_layout
53- );
54- }
55- }
56-
57 let data_layout = SmallCStr::new(&target_data_layout);
58 llvm::LLVMSetDataLayout(llmod, data_layout.as_ptr());
59
diff --git a/meta/recipes-devtools/rust/files/oeqa-selftest-Increase-timeout-in-process-sigpipe-ru.patch b/meta/recipes-devtools/rust/files/oeqa-selftest-Increase-timeout-in-process-sigpipe-ru.patch
new file mode 100644
index 0000000000..5bd1abffb4
--- /dev/null
+++ b/meta/recipes-devtools/rust/files/oeqa-selftest-Increase-timeout-in-process-sigpipe-ru.patch
@@ -0,0 +1,31 @@
1From b4524278985f517b0785b6f64a21380dcf1ff096 Mon Sep 17 00:00:00 2001
2From: Peter Tatrai <peter.tatrai.ext@siemens.com>
3Date: Mon, 4 Nov 2024 13:58:16 +0100
4Subject: [PATCH] oeqa/selftest: Increase timeout in process-sigpipe rust test
5
6This patch increases the timeout for the process-sigpipe rust test, which
7occasionally fails when the server is under heavy load. Increasing the timeout
8reduces the likelihood of false negatives under load.
9
10Fixes [YOCTO #15625]
11
12Upstream-Status: Inappropriate [OE testing specific]
13
14Signed-off-by: Peter Tatrai <peter.tatrai.ext@siemens.com>
15---
16 tests/ui/process/process-sigpipe.rs | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/tests/ui/process/process-sigpipe.rs b/tests/ui/process/process-sigpipe.rs
20index 11f363d62..c12d66016 100644
21--- a/tests/ui/process/process-sigpipe.rs
22+++ b/tests/ui/process/process-sigpipe.rs
23@@ -23,7 +23,7 @@ use std::thread;
24 fn main() {
25 // Just in case `yes` or `while-echo` doesn't check for EPIPE...
26 thread::spawn(|| {
27- thread::sleep_ms(5000);
28+ thread::sleep_ms(50000);
29 process::exit(1);
30 });
31 // QNX Neutrino does not have `yes`. Therefore, use `while-echo` for `nto`
diff --git a/meta/recipes-devtools/rust/files/repro-issue-fix-with-cc-crate-hashmap.patch b/meta/recipes-devtools/rust/files/repro-issue-fix-with-cc-crate-hashmap.patch
new file mode 100644
index 0000000000..911c5604b3
--- /dev/null
+++ b/meta/recipes-devtools/rust/files/repro-issue-fix-with-cc-crate-hashmap.patch
@@ -0,0 +1,168 @@
1rust: reproducibility issue fix with v1.84
2
3A few crates are using the updated version of the 'cc' crate and this is causing the generated object file names containing a unique hashmap id.
4By the following changes same hash values will be genarted even for diffrent build paths.
5
6Below are the links for detailed bug description & discusssion with upstream rust.
7https://github.com/rust-lang/cc-rs/pull/1277
8
9Upstream-Status: Submitted [https://github.com/rust-lang/cc-rs/pull/1277]
10Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
11diff --git a/vendor/cc-1.2.0/src/command_helpers.rs b/vendor/cc-1.2.0/src/command_helpers.rs
12index fe919a5239..2b1f442019 100644
13--- a/vendor/cc-1.2.0/src/command_helpers.rs
14+++ b/vendor/cc-1.2.0/src/command_helpers.rs
15@@ -289,6 +289,7 @@
16 /// and store them in the output Object.
17 pub(crate) fn objects_from_files(files: &[Arc<Path>], dst: &Path) -> Result<Vec<Object>, Error> {
18 let mut objects = Vec::with_capacity(files.len());
19+ let target_substring = ["rustc"];
20 for file in files {
21 let basename = file
22 .file_name()
23@@ -309,6 +310,26 @@
24 })?
25 .to_string_lossy();
26
27+ // Function to find the position of the first occurrence of the target substring
28+ fn find_target_position(s: &str, targets: &[&str]) -> Option<usize> {
29+ let mut pos = None;
30+ for target in targets {
31+ if let Some(index) = s.rfind(target) {
32+ //If a target is found and pos is None, set it
33+ if pos.is_none() || index < pos.unwrap() {
34+ pos = Some(index);
35+ }
36+ }
37+ }
38+ pos
39+ }
40+
41+ let filtered_dirname = if let Some(pos) = find_target_position(&dirname, &target_substring) {
42+ dirname[pos..].to_string() //Keep everything from the target substring onwards
43+ } else {
44+ dirname.to_string() //If target substring is not found, keep the original dirname
45+ };
46+
47 // Hash the dirname. This should prevent conflicts if we have multiple
48 // object files with the same filename in different subfolders.
49 let mut hasher = hash_map::DefaultHasher::new();
50@@ -326,7 +347,7 @@
51 dirname
52 };
53
54- hasher.write(dirname.as_bytes());
55+ hasher.write(filtered_dirname.as_bytes());
56 let obj = dst
57 .join(format!("{:016x}-{}", hasher.finish(), basename))
58 .with_extension("o");
59diff --git a/vendor/cc-1.2.0/.cargo-checksum.json b/vendor/cc-1.2.0/.cargo-checksum.json
60index b070eeb322..ba768ff86f 100644
61--- a/vendor/cc-1.2.0/.cargo-checksum.json
62+++ b/vendor/cc-1.2.0/.cargo-checksum.json
63@@ -1 +1 @@
64-{"files":{"CHANGELOG.md":"fb0a3bcb34301d2578bef86feabe93057068cb1906a7f10b584f58ff6123e8c6","Cargo.lock":"b661254fadca74408d53742755b371f7ae29e501e851aeae13bcd14a51883321","Cargo.toml":"50debe1b2fc050e8b305bdd514509d98cdbc59e96e5f10888df4b6fca19d3a75","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"378f5840b258e2779c39418f3f2d7b2ba96f1c7917dd6be0713f88305dbda397","README.md":"f1ddbede208a5b78333a25dac0a7598e678e9b601a7d99a791069bddaf180dfe","clippy.toml":"aa7850db4350883c8f373bd0d6b4d19bf3b75f13c1c238e24368c109cb52fb1d","src/command_helpers.rs":"b766a70e39b8ea7bb57afd288bcac205a23f6a26ac5619cb1d5b10f70c5dfdea","src/detect_compiler_family.c":"97ca4b021495611e828becea6187add37414186a16dfedd26c2947cbce6e8b2f","src/lib.rs":"221ba9475100303b5c694b2a02e5353452ee08a29e4e4d4d67ea8fcbd87605df","src/parallel/async_executor.rs":"4ce24435fff6b6555b43fee042c16bd65d4150d0346567f246b9190d85b45983","src/parallel/job_token.rs":"018a01cb00182270bbcb68e31e7a7c5c621a95f086e4c68cfa2bf557ac24e5f2","src/parallel/mod.rs":"bd9c1334d17d138c281961c690b8d8118a2d6295a7d6cd7296826255436fa063","src/parallel/stderr.rs":"74384d41198740a6fce0877f144262db09fb091225fa8fbfa771314bb11487c6","src/target.rs":"7313240db078ad85c1209a42a5fa96c3692b5d6e5093c7f366a1b99677247109","src/target/apple.rs":"6afbecac9f66aa72db55694413532f80b2753f28466a6213d1aa901a03c78bcd","src/target/generated.rs":"af067e1c291e895ddb591f92534eed0c48977cdb2b58f8239423e07c6de31cd3","src/target/llvm.rs":"e1db4a7fb8b905ee9853781f2fcc64a9d3b48154e4c8b6cb12f5373c5935da6e","src/target/parser.rs":"4f2129a24273d62bf8ab339098e7f758e4e42b0df369dd2b0eb1b20726be91f8","src/tempfile.rs":"ebafb5b0e5d08b0706916ed911d4245240e60c3e2d0c9a1630c520842988a2b3","src/tool.rs":"2e6550062e021f2b394388172bbb01e86fe6a94d2395bcb3c85a9e86690da1a9","src/utilities.rs":"52b30b24a1c31cdefb105309ee5220cfc9fca76eaf4e6d6509c3e19f431448fe","src/windows/com.rs":"a2800ddb81215fff2bf618336f5c4ff8e8bdb746dd18b795873c7304b3f2a5e3","src/windows/find_tools.rs":"0ff410bd71f08ee88e99609c15be5f1bc16ad7bd07a83918d13a70c8465642e2","src/windows/mod.rs":"34cfa201cfbcac7ccaa3ea5295d3e4200439af3cc5c6433baf81502596040a89","src/windows/registry.rs":"c521b72c825e8095843e73482ffa810ed066ad8bb9f86e6db0c5c143c171aba1","src/windows/setup_config.rs":"754439cbab492afd44c9755abcbec1a41c9b2c358131cee2df13c0e996dbbec8","src/windows/vs_instances.rs":"946527cf8fd32c3472f6a2884dcdec290763101097334c7478f9c24c3950db6b","src/windows/winapi.rs":"250d51c1826d1a2329e9889dd9f058cfce253dbf2a678b076147c6cdb5db046c","src/windows/windows_sys.rs":"e2714c8307bfa083b9745eb0e46cadd7f98d7b88abf45a7637172019324e34b8","src/windows/windows_targets.rs":"5b4648ebc22b028caca9f4b4bf8881fe2d094b7bec217264ba2e6e2c49d1ccee"},"package":"1aeb932158bd710538c73702db6945cb68a8fb08c519e6e12706b94263b36db8"}
65\ No newline at end of file
66+{"files":{"CHANGELOG.md":"fb0a3bcb34301d2578bef86feabe93057068cb1906a7f10b584f58ff6123e8c6","Cargo.lock":"b661254fadca74408d53742755b371f7ae29e501e851aeae13bcd14a51883321","Cargo.toml":"50debe1b2fc050e8b305bdd514509d98cdbc59e96e5f10888df4b6fca19d3a75","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"378f5840b258e2779c39418f3f2d7b2ba96f1c7917dd6be0713f88305dbda397","README.md":"f1ddbede208a5b78333a25dac0a7598e678e9b601a7d99a791069bddaf180dfe","clippy.toml":"aa7850db4350883c8f373bd0d6b4d19bf3b75f13c1c238e24368c109cb52fb1d","src/command_helpers.rs":"174101852b2633a2478cef20d063fb9c2f1b092eac47913a6e708c85663b8404","src/detect_compiler_family.c":"97ca4b021495611e828becea6187add37414186a16dfedd26c2947cbce6e8b2f","src/lib.rs":"221ba9475100303b5c694b2a02e5353452ee08a29e4e4d4d67ea8fcbd87605df","src/parallel/async_executor.rs":"4ce24435fff6b6555b43fee042c16bd65d4150d0346567f246b9190d85b45983","src/parallel/job_token.rs":"018a01cb00182270bbcb68e31e7a7c5c621a95f086e4c68cfa2bf557ac24e5f2","src/parallel/mod.rs":"bd9c1334d17d138c281961c690b8d8118a2d6295a7d6cd7296826255436fa063","src/parallel/stderr.rs":"74384d41198740a6fce0877f144262db09fb091225fa8fbfa771314bb11487c6","src/target.rs":"7313240db078ad85c1209a42a5fa96c3692b5d6e5093c7f366a1b99677247109","src/target/apple.rs":"6afbecac9f66aa72db55694413532f80b2753f28466a6213d1aa901a03c78bcd","src/target/generated.rs":"af067e1c291e895ddb591f92534eed0c48977cdb2b58f8239423e07c6de31cd3","src/target/llvm.rs":"e1db4a7fb8b905ee9853781f2fcc64a9d3b48154e4c8b6cb12f5373c5935da6e","src/target/parser.rs":"4f2129a24273d62bf8ab339098e7f758e4e42b0df369dd2b0eb1b20726be91f8","src/tempfile.rs":"ebafb5b0e5d08b0706916ed911d4245240e60c3e2d0c9a1630c520842988a2b3","src/tool.rs":"2e6550062e021f2b394388172bbb01e86fe6a94d2395bcb3c85a9e86690da1a9","src/utilities.rs":"52b30b24a1c31cdefb105309ee5220cfc9fca76eaf4e6d6509c3e19f431448fe","src/windows/com.rs":"a2800ddb81215fff2bf618336f5c4ff8e8bdb746dd18b795873c7304b3f2a5e3","src/windows/find_tools.rs":"0ff410bd71f08ee88e99609c15be5f1bc16ad7bd07a83918d13a70c8465642e2","src/windows/mod.rs":"34cfa201cfbcac7ccaa3ea5295d3e4200439af3cc5c6433baf81502596040a89","src/windows/registry.rs":"c521b72c825e8095843e73482ffa810ed066ad8bb9f86e6db0c5c143c171aba1","src/windows/setup_config.rs":"754439cbab492afd44c9755abcbec1a41c9b2c358131cee2df13c0e996dbbec8","src/windows/vs_instances.rs":"946527cf8fd32c3472f6a2884dcdec290763101097334c7478f9c24c3950db6b","src/windows/winapi.rs":"250d51c1826d1a2329e9889dd9f058cfce253dbf2a678b076147c6cdb5db046c","src/windows/windows_sys.rs":"e2714c8307bfa083b9745eb0e46cadd7f98d7b88abf45a7637172019324e34b8","src/windows/windows_targets.rs":"5b4648ebc22b028caca9f4b4bf8881fe2d094b7bec217264ba2e6e2c49d1ccee"},"package":"1aeb932158bd710538c73702db6945cb68a8fb08c519e6e12706b94263b36db8"}
67diff --git a/vendor/cc-1.0.99/src/command_helpers.rs b/vendor/cc-1.0.99/src/command_helpers.rs
68index fe919a5239..2b1f442019 100644
69--- a/vendor/cc-1.0.99/src/command_helpers.rs
70+++ b/vendor/cc-1.0.99/src/command_helpers.rs
71@@ -257,6 +257,7 @@ fn wait_on_child(
72 /// and store them in the output Object.
73 pub(crate) fn objects_from_files(files: &[Arc<Path>], dst: &Path) -> Result<Vec<Object>, Error> {
74 let mut objects = Vec::with_capacity(files.len());
75+ let target_substring = ["rustc"];
76 for file in files {
77 let basename = file
78 .file_name()
79@@ -277,10 +278,29 @@ pub(crate) fn objects_from_files(files: &[Arc<Path>], dst: &Path) -> Result<Vec<
80 })?
81 .to_string_lossy();
82
83+ // Function to find the position of the first occurrence of the target substring
84+ fn find_target_position(s: &str, targets: &[&str]) -> Option<usize> {
85+ let mut pos = None;
86+ for target in targets {
87+ if let Some(index) = s.rfind(target) {
88+ //If a target is found and pos is None, set it
89+ if pos.is_none() || index < pos.unwrap() {
90+ pos = Some(index);
91+ }
92+ }
93+ }
94+ pos
95+ }
96+
97+ let filtered_dirname = if let Some(pos) = find_target_position(&dirname, &target_substring) {
98+ dirname[pos..].to_string() //Keep everything from the target substring onwards
99+ } else {
100+ dirname.to_string() //If target substring is not found, keep the original dirname
101+ };
102 // Hash the dirname. This should prevent conflicts if we have multiple
103 // object files with the same filename in different subfolders.
104 let mut hasher = hash_map::DefaultHasher::new();
105- hasher.write(dirname.to_string().as_bytes());
106+ hasher.write(filtered_dirname.as_bytes());
107 let obj = dst
108 .join(format!("{:016x}-{}", hasher.finish(), basename))
109 .with_extension("o");
110diff --git a/vendor/cc-1.1.22/src/command_helpers.rs b/vendor/cc-1.1.22/src/command_helpers.rs
111index 07dfb80412..e01b62fa39 100644
112--- a/vendor/cc-1.1.22/src/command_helpers.rs
113+++ b/vendor/cc-1.1.22/src/command_helpers.rs
114@@ -285,6 +285,7 @@ fn wait_on_child(
115 /// and store them in the output Object.
116 pub(crate) fn objects_from_files(files: &[Arc<Path>], dst: &Path) -> Result<Vec<Object>, Error> {
117 let mut objects = Vec::with_capacity(files.len());
118+ let target_substring = ["rustc"];
119 for file in files {
120 let basename = file
121 .file_name()
122@@ -305,10 +306,29 @@ pub(crate) fn objects_from_files(files: &[Arc<Path>], dst: &Path) -> Result<Vec<
123 })?
124 .to_string_lossy();
125
126+ // Function to find the position of the first occurrence of the target substring
127+ fn find_target_position(s: &str, targets: &[&str]) -> Option<usize> {
128+ let mut pos = None;
129+ for target in targets {
130+ if let Some(index) = s.rfind(target) {
131+ //If a target is found and pos is None, set it
132+ if pos.is_none() || index < pos.unwrap() {
133+ pos = Some(index);
134+ }
135+ }
136+ }
137+ pos
138+ }
139+
140+ let filtered_dirname = if let Some(pos) = find_target_position(&dirname, &target_substring) {
141+ dirname[pos..].to_string() //Keep everything from the target substring onwards
142+ } else {
143+ dirname.to_string() //If target substring is not found, keep the original dirname
144+ };
145 // Hash the dirname. This should prevent conflicts if we have multiple
146 // object files with the same filename in different subfolders.
147 let mut hasher = hash_map::DefaultHasher::new();
148- hasher.write(dirname.to_string().as_bytes());
149+ hasher.write(filtered_dirname.as_bytes());
150 let obj = dst
151 .join(format!("{:016x}-{}", hasher.finish(), basename))
152 .with_extension("o");
153diff --git a/vendor/cc-1.0.99/.cargo-checksum.json b/vendor/cc-1.0.99/.cargo-checksum.json
154index b070eeb322..ba768ff86f 100644
155--- a/vendor/cc-1.0.99/.cargo-checksum.json
156+++ b/vendor/cc-1.0.99/.cargo-checksum.json
157@@ -1 +1 @@
158-{"files":{"Cargo.lock":"1dc698513383b70d5460f3f9668b670bc72ce51ff6be79d139acb515b39d35da","Cargo.toml":"3c555dbe1a698f12b66c8a5748ed52ff26ff7b8ebb12237c1a72a1cbe4b9392e","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"378f5840b258e2779c39418f3f2d7b2ba96f1c7917dd6be0713f88305dbda397","README.md":"f1ddbede208a5b78333a25dac0a7598e678e9b601a7d99a791069bddaf180dfe","src/command_helpers.rs":"15afbc35930a5a53f00d74a8910cff35caeb5511c26642cffe5630377aced901","src/detect_compiler_family.c":"72903b91d7a28f49b39e7d730f4c9c4bb39fb901948fa1279cd08abf392f5a29","src/lib.rs":"92440d3adb5cb6ea05596d9ca860a205d3937dbf0fc959e524bac5f2b748c1af","src/parallel/async_executor.rs":"4ce24435fff6b6555b43fee042c16bd65d4150d0346567f246b9190d85b45983","src/parallel/job_token.rs":"352a0295c965c684904329d334f3b9889db3a9c3f201701f8db44e4d00e00515","src/parallel/mod.rs":"bd9c1334d17d138c281961c690b8d8118a2d6295a7d6cd7296826255436fa063","src/parallel/stderr.rs":"a2d18ba3f2e04deb9047ece9ab7ca5452d9a76b515afbe20a76307e31597f34b","src/target_info.rs":"342be00f6215e161d8163e272a2945bb9f52f171648e15e11d46800a73186955","src/tempfile.rs":"47a58e904ac07da6682004b5b615dc83250b253a8d3e8ba1b9bcaf6cdf4fd142","src/tool.rs":"e13c439a96d8311ba8d37b9d5522cd6997d94261cbb95517c82df70525acaa7f","src/windows/com.rs":"a2800ddb81215fff2bf618336f5c4ff8e8bdb746dd18b795873c7304b3f2a5e3","src/windows/find_tools.rs":"4c350cddbce1557682b7f40cd917cc4f131ad89ff2e34c23d629014ed8d7203e","src/windows/mod.rs":"42f1ad7fee35a17686b003e6aa520d3d1940d47d2f531d626e9ae0c48ba49005","src/windows/registry.rs":"c521b72c825e8095843e73482ffa810ed066ad8bb9f86e6db0c5c143c171aba1","src/windows/setup_config.rs":"754439cbab492afd44c9755abcbec1a41c9b2c358131cee2df13c0e996dbbec8","src/windows/vs_instances.rs":"76e3cee74b5fd38ddaf533bba11fe401667c50dda5f9d064099840893eaa7587","src/windows/winapi.rs":"250d51c1826d1a2329e9889dd9f058cfce253dbf2a678b076147c6cdb5db046c","src/windows/windows_sys.rs":"5a440eb39d8a0c176b66177e8753186797793bc5d7896292c408fb44c12dfed3"},"package":"96c51067fd44124faa7f870b4b1c969379ad32b2ba805aa959430ceaa384f695"}
159\ No newline at end of file
160+{"files":{"Cargo.toml":"3c555dbe1a698f12b66c8a5748ed52ff26ff7b8ebb12237c1a72a1cbe4b9392e","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"378f5840b258e2779c39418f3f2d7b2ba96f1c7917dd6be0713f88305dbda397","README.md":"f1ddbede208a5b78333a25dac0a7598e678e9b601a7d99a791069bddaf180dfe","src/command_helpers.rs":"4c4a9ea55a109dbeada9e23d4ec963c257a56451b5fd16c7e4e8b97374f1a2ff","src/detect_compiler_family.c":"72903b91d7a28f49b39e7d730f4c9c4bb39fb901948fa1279cd08abf392f5a29","src/lib.rs":"92440d3adb5cb6ea05596d9ca860a205d3937dbf0fc959e524bac5f2b748c1af","src/parallel/async_executor.rs":"4ce24435fff6b6555b43fee042c16bd65d4150d0346567f246b9190d85b45983","src/parallel/job_token.rs":"352a0295c965c684904329d334f3b9889db3a9c3f201701f8db44e4d00e00515","src/parallel/mod.rs":"bd9c1334d17d138c281961c690b8d8118a2d6295a7d6cd7296826255436fa063","src/parallel/stderr.rs":"a2d18ba3f2e04deb9047ece9ab7ca5452d9a76b515afbe20a76307e31597f34b","src/target_info.rs":"342be00f6215e161d8163e272a2945bb9f52f171648e15e11d46800a73186955","src/tempfile.rs":"47a58e904ac07da6682004b5b615dc83250b253a8d3e8ba1b9bcaf6cdf4fd142","src/tool.rs":"e13c439a96d8311ba8d37b9d5522cd6997d94261cbb95517c82df70525acaa7f","src/windows/com.rs":"a2800ddb81215fff2bf618336f5c4ff8e8bdb746dd18b795873c7304b3f2a5e3","src/windows/find_tools.rs":"4c350cddbce1557682b7f40cd917cc4f131ad89ff2e34c23d629014ed8d7203e","src/windows/mod.rs":"42f1ad7fee35a17686b003e6aa520d3d1940d47d2f531d626e9ae0c48ba49005","src/windows/registry.rs":"c521b72c825e8095843e73482ffa810ed066ad8bb9f86e6db0c5c143c171aba1","src/windows/setup_config.rs":"754439cbab492afd44c9755abcbec1a41c9b2c358131cee2df13c0e996dbbec8","src/windows/vs_instances.rs":"76e3cee74b5fd38ddaf533bba11fe401667c50dda5f9d064099840893eaa7587","src/windows/winapi.rs":"250d51c1826d1a2329e9889dd9f058cfce253dbf2a678b076147c6cdb5db046c","src/windows/windows_sys.rs":"5a440eb39d8a0c176b66177e8753186797793bc5d7896292c408fb44c12dfed3"},"package":"96c51067fd44124faa7f870b4b1c969379ad32b2ba805aa959430ceaa384f695"}
161diff --git a/vendor/cc-1.1.22/.cargo-checksum.json b/vendor/cc-1.1.22/.cargo-checksum.json
162index 8c7be07836..473b5ad39c 100644
163--- a/vendor/cc-1.1.22/.cargo-checksum.json
164+++ b/vendor/cc-1.1.22/.cargo-checksum.json
165@@ -1 +1 @@
166-{"files":{"CHANGELOG.md":"92aeb6dec3e4b55e3951a4d00f6df20edc51545afca124d983454f7c05e37357","Cargo.lock":"565d86121026a1cade3014777f9a32c97dc76b843510f2c709cff3562ff04e1c","Cargo.toml":"1352b0476c28b89568e740579130ab017ad0f4b546083cf03ff61827d45361f3","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"378f5840b258e2779c39418f3f2d7b2ba96f1c7917dd6be0713f88305dbda397","README.md":"f1ddbede208a5b78333a25dac0a7598e678e9b601a7d99a791069bddaf180dfe","clippy.toml":"aa7850db4350883c8f373bd0d6b4d19bf3b75f13c1c238e24368c109cb52fb1d","src/command_helpers.rs":"0b54800fe5c89cd102a5f872fe1a843c1a58e026bc4bbc611e207914b8c84dda","src/detect_compiler_family.c":"97ca4b021495611e828becea6187add37414186a16dfedd26c2947cbce6e8b2f","src/lib.rs":"c80c94e82937980f711500cd3289842ab4bc42bcc4efd9febf64729e27410ecc","src/parallel/async_executor.rs":"4ce24435fff6b6555b43fee042c16bd65d4150d0346567f246b9190d85b45983","src/parallel/job_token.rs":"f4ed0a03d89a42bfd5527133d12b267af519b745f3f2b997ed293df15a2641b8","src/parallel/mod.rs":"55fb4c2d15e66677b2ed5ffa6d65ea161bcf1a1e1dc7910ee3bde06f2f67ab14","src/parallel/once_lock.rs":"d13e4cb82d6bca3297ca8671d83a40dd5affd7ac89191d733dd451867181bb02","src/parallel/stderr.rs":"74384d41198740a6fce0877f144262db09fb091225fa8fbfa771314bb11487c6","src/target_info.rs":"f939a570c99d897fdd37cd491a4ee0657e2c7480ec71acbd9cbee48732d4bfbc","src/tempfile.rs":"ebafb5b0e5d08b0706916ed911d4245240e60c3e2d0c9a1630c520842988a2b3","src/tool.rs":"2e6550062e021f2b394388172bbb01e86fe6a94d2395bcb3c85a9e86690da1a9","src/utilities.rs":"a13bb0a351fcef72823485b1b5dc4f514c533fa4feac95deb66ed9e5fbfe7b53","src/windows/com.rs":"a2800ddb81215fff2bf618336f5c4ff8e8bdb746dd18b795873c7304b3f2a5e3","src/windows/find_tools.rs":"dd6b2450909cd8334a2aa2ce856bcc72a9654d92422267d6345d5fabfcbf57c5","src/windows/mod.rs":"34cfa201cfbcac7ccaa3ea5295d3e4200439af3cc5c6433baf81502596040a89","src/windows/registry.rs":"c521b72c825e8095843e73482ffa810ed066ad8bb9f86e6db0c5c143c171aba1","src/windows/setup_config.rs":"754439cbab492afd44c9755abcbec1a41c9b2c358131cee2df13c0e996dbbec8","src/windows/vs_instances.rs":"946527cf8fd32c3472f6a2884dcdec290763101097334c7478f9c24c3950db6b","src/windows/winapi.rs":"250d51c1826d1a2329e9889dd9f058cfce253dbf2a678b076147c6cdb5db046c","src/windows/windows_sys.rs":"e2714c8307bfa083b9745eb0e46cadd7f98d7b88abf45a7637172019324e34b8","src/windows/windows_targets.rs":"5b4648ebc22b028caca9f4b4bf8881fe2d094b7bec217264ba2e6e2c49d1ccee"},"package":"9540e661f81799159abee814118cc139a2004b3a3aa3ea37724a1b66530b90e0"}
167\ No newline at end of file
168+{"files":{"CHANGELOG.md":"92aeb6dec3e4b55e3951a4d00f6df20edc51545afca124d983454f7c05e37357","Cargo.toml":"1352b0476c28b89568e740579130ab017ad0f4b546083cf03ff61827d45361f3","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"378f5840b258e2779c39418f3f2d7b2ba96f1c7917dd6be0713f88305dbda397","README.md":"f1ddbede208a5b78333a25dac0a7598e678e9b601a7d99a791069bddaf180dfe","clippy.toml":"aa7850db4350883c8f373bd0d6b4d19bf3b75f13c1c238e24368c109cb52fb1d","src/command_helpers.rs":"a2ee7ae686b9cb186bebfdd597438251536bcaa9815699c95eab349385b4b949","src/detect_compiler_family.c":"97ca4b021495611e828becea6187add37414186a16dfedd26c2947cbce6e8b2f","src/lib.rs":"c80c94e82937980f711500cd3289842ab4bc42bcc4efd9febf64729e27410ecc","src/parallel/async_executor.rs":"4ce24435fff6b6555b43fee042c16bd65d4150d0346567f246b9190d85b45983","src/parallel/job_token.rs":"f4ed0a03d89a42bfd5527133d12b267af519b745f3f2b997ed293df15a2641b8","src/parallel/mod.rs":"55fb4c2d15e66677b2ed5ffa6d65ea161bcf1a1e1dc7910ee3bde06f2f67ab14","src/parallel/once_lock.rs":"d13e4cb82d6bca3297ca8671d83a40dd5affd7ac89191d733dd451867181bb02","src/parallel/stderr.rs":"74384d41198740a6fce0877f144262db09fb091225fa8fbfa771314bb11487c6","src/target_info.rs":"f939a570c99d897fdd37cd491a4ee0657e2c7480ec71acbd9cbee48732d4bfbc","src/tempfile.rs":"ebafb5b0e5d08b0706916ed911d4245240e60c3e2d0c9a1630c520842988a2b3","src/tool.rs":"2e6550062e021f2b394388172bbb01e86fe6a94d2395bcb3c85a9e86690da1a9","src/utilities.rs":"a13bb0a351fcef72823485b1b5dc4f514c533fa4feac95deb66ed9e5fbfe7b53","src/windows/com.rs":"a2800ddb81215fff2bf618336f5c4ff8e8bdb746dd18b795873c7304b3f2a5e3","src/windows/find_tools.rs":"dd6b2450909cd8334a2aa2ce856bcc72a9654d92422267d6345d5fabfcbf57c5","src/windows/mod.rs":"34cfa201cfbcac7ccaa3ea5295d3e4200439af3cc5c6433baf81502596040a89","src/windows/registry.rs":"c521b72c825e8095843e73482ffa810ed066ad8bb9f86e6db0c5c143c171aba1","src/windows/setup_config.rs":"754439cbab492afd44c9755abcbec1a41c9b2c358131cee2df13c0e996dbbec8","src/windows/vs_instances.rs":"946527cf8fd32c3472f6a2884dcdec290763101097334c7478f9c24c3950db6b","src/windows/winapi.rs":"250d51c1826d1a2329e9889dd9f058cfce253dbf2a678b076147c6cdb5db046c","src/windows/windows_sys.rs":"e2714c8307bfa083b9745eb0e46cadd7f98d7b88abf45a7637172019324e34b8","src/windows/windows_targets.rs":"5b4648ebc22b028caca9f4b4bf8881fe2d094b7bec217264ba2e6e2c49d1ccee"},"package":"9540e661f81799159abee814118cc139a2004b3a3aa3ea37724a1b66530b90e0"}
diff --git a/meta/recipes-devtools/rust/files/repro-issue-fix-with-v175.patch b/meta/recipes-devtools/rust/files/repro-issue-fix-with-v175.patch
deleted file mode 100644
index fe0507c981..0000000000
--- a/meta/recipes-devtools/rust/files/repro-issue-fix-with-v175.patch
+++ /dev/null
@@ -1,36 +0,0 @@
1rust: reproducibility issue fix with v1.75
2
3With 1.75 rust release, the '.rustc' section of shared object libs are embedded with absolute path names which is casuing reproducibility issues.
4This change will fix the path name format back to '/rust/$hash' as in earlier versions.
5
6Below are the links for detailed bug description & discusssion with upstream rust.
7https://github.com/rust-lang/rust/issues/120825#issuecomment-1964307219
8https://github.com/rust-lang/rust/issues/120825#issuecomment-1964652656
9
10Upstream-Status: Backport [https://github.com/rust-lang/rust/pull/121959/commits/a9a979839bbdfec48c75d618ab0dce8a953589b8]
11Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@windriver.com>
12---
13--- a/compiler/rustc_session/src/session.rs 2023-12-21 08:55:28.000000000 -0800
14+++ b/compiler/rustc_session/src/session.rs 2024-02-26 07:29:15.527577022 -0800
15@@ -1260,19 +1260,6 @@
16 }
17
18 pub fn should_prefer_remapped_for_codegen(&self) -> bool {
19- // bail out, if any of the requested crate types aren't:
20- // "compiled executables or libraries"
21- for crate_type in &self.opts.crate_types {
22- match crate_type {
23- CrateType::Executable
24- | CrateType::Dylib
25- | CrateType::Rlib
26- | CrateType::Staticlib
27- | CrateType::Cdylib => continue,
28- CrateType::ProcMacro => return false,
29- }
30- }
31-
32 let has_split_debuginfo = match self.split_debuginfo() {
33 SplitDebuginfo::Off => false,
34 SplitDebuginfo::Packed => true,
35
36
diff --git a/meta/recipes-devtools/rust/files/revert-link-std-statically-in-rustc_driver-feature.patch b/meta/recipes-devtools/rust/files/revert-link-std-statically-in-rustc_driver-feature.patch
new file mode 100644
index 0000000000..9bbbce0182
--- /dev/null
+++ b/meta/recipes-devtools/rust/files/revert-link-std-statically-in-rustc_driver-feature.patch
@@ -0,0 +1,227 @@
1rust: oe-selftest issue fix with v1.82
2
3A new feature "Link std statically in rustc_driver" was introduced
4in rust_1.82 [https://github.com/rust-lang/rust/pull/122362],and
5which is causing the below failure in oe-selftest.
6
7Running unittests src/main.rs (build/x86_64-unknown-linux-gnu/stage1-rustc/
8x86_64-poky-linux-gnu/release/deps/rustc_main-92223b15c9f2d827)
9uploaded ".../build/x86_64-unknown-linux-gnu/stage1-rustc/x86_64-poky-linux-gnu/
10release/deps/rustc_main-92223b15c9f2d827", waiting for result
11/tmp/work/test4056/rustc_main-92223b15c9f2d827: error while loading shared
12libraries: librustc_driver-fb0866b1cd913c20.so: cannot open shared object file: No
13such file or directory
14
15The rustc_main binary depends on the librustc_driver-*.so file. However,
16this file has not been copied to QEMU. If we manually copy the file into
17QEMU and export the LD_LIBRARY_PATH, the issue does not occur. Issue
18reprorted to upstream and reverted the buggy code as a workaround.
19
20Upstream-Status: Inappropriate [reported at https://github.com/rust-lang/rust/issues/136237]
21
22Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
23diff --git a/compiler/rustc/src/main.rs b/compiler/rustc/src/main.rs
24index e9a7397557..29766fc9d8 100644
25--- a/compiler/rustc/src/main.rs
26+++ b/compiler/rustc/src/main.rs
27@@ -1,5 +1,3 @@
28-// We need this feature as it changes `dylib` linking behavior and allows us to link to `rustc_driver`.
29-#![feature(rustc_private)]
30 // Several crates are depended upon but unused so that they are present in the sysroot
31 #![expect(unused_crate_dependencies)]
32
33diff --git a/compiler/rustc_metadata/src/dependency_format.rs b/compiler/rustc_metadata/src/dependency_format.rs
34index 39fa23766b..51d86b4009 100644
35--- a/compiler/rustc_metadata/src/dependency_format.rs
36+++ b/compiler/rustc_metadata/src/dependency_format.rs
37@@ -51,7 +51,7 @@
38 //! Additionally, the algorithm is geared towards finding *any* solution rather
39 //! than finding a number of solutions (there are normally quite a few).
40
41-use rustc_data_structures::fx::{FxHashMap, FxHashSet};
42+use rustc_data_structures::fx::FxHashMap;
43 use rustc_hir::def_id::{CrateNum, LOCAL_CRATE};
44 use rustc_index::IndexVec;
45 use rustc_middle::bug;
46@@ -161,44 +161,19 @@ fn calculate_type(tcx: TyCtxt<'_>, ty: CrateType) -> DependencyList {
47 }
48 Linkage::Dynamic | Linkage::IncludedFromDylib => {}
49 }
50-
51- let all_dylibs = || {
52- tcx.crates(()).iter().filter(|&&cnum| {
53- !tcx.dep_kind(cnum).macros_only() && tcx.used_crate_source(cnum).dylib.is_some()
54- })
55- };
56-
57- let mut upstream_in_dylibs = FxHashSet::default();
58-
59- if tcx.features().rustc_private() {
60- // We need this to prevent users of `rustc_driver` from linking dynamically to `std`
61- // which does not work as `std` is also statically linked into `rustc_driver`.
62-
63- // Find all libraries statically linked to upstream dylibs.
64- for &cnum in all_dylibs() {
65- let deps = tcx.dylib_dependency_formats(cnum);
66- for &(depnum, style) in deps.iter() {
67- if let RequireStatic = style {
68- upstream_in_dylibs.insert(depnum);
69- }
70- }
71- }
72- }
73-
74 let mut formats = FxHashMap::default();
75
76 // Sweep all crates for found dylibs. Add all dylibs, as well as their
77 // dependencies, ensuring there are no conflicts. The only valid case for a
78 // dependency to be relied upon twice is for both cases to rely on a dylib.
79- for &cnum in all_dylibs() {
80- if upstream_in_dylibs.contains(&cnum) {
81- info!("skipping dylib: {}", tcx.crate_name(cnum));
82- // If this dylib is also available statically linked to another dylib
83- // we try to use that instead.
84+ for &cnum in tcx.crates(()).iter() {
85+ if tcx.dep_kind(cnum).macros_only() {
86 continue;
87 }
88
89 let name = tcx.crate_name(cnum);
90+ let src = tcx.used_crate_source(cnum);
91+ if src.dylib.is_some() {
92 info!("adding dylib: {}", name);
93 add_library(tcx, cnum, RequireDynamic, &mut formats, &mut unavailable_as_static);
94 let deps = tcx.dylib_dependency_formats(cnum);
95@@ -207,6 +182,7 @@ fn calculate_type(tcx: TyCtxt<'_>, ty: CrateType) -> DependencyList {
96 add_library(tcx, depnum, style, &mut formats, &mut unavailable_as_static);
97 }
98 }
99+ }
100
101 // Collect what we've got so far in the return vector.
102 let last_crate = tcx.crates(()).len();
103diff --git a/src/bootstrap/src/bin/rustc.rs b/src/bootstrap/src/bin/rustc.rs
104index d04e2fbeb7..011c289d93 100644
105--- a/src/bootstrap/src/bin/rustc.rs
106+++ b/src/bootstrap/src/bin/rustc.rs
107@@ -89,24 +89,6 @@ fn main() {
108 rustc_real
109 };
110
111- // Get the name of the crate we're compiling, if any.
112- let crate_name = parse_value_from_args(&orig_args, "--crate-name");
113-
114- // When statically linking `std` into `rustc_driver`, remove `-C prefer-dynamic`
115- if env::var("RUSTC_LINK_STD_INTO_RUSTC_DRIVER").unwrap() == "1"
116- && crate_name == Some("rustc_driver")
117- {
118- if let Some(pos) = args.iter().enumerate().position(|(i, a)| {
119- a == "-C" && args.get(i + 1).map(|a| a == "prefer-dynamic").unwrap_or(false)
120- }) {
121- args.remove(pos);
122- args.remove(pos);
123- }
124- if let Some(pos) = args.iter().position(|a| a == "-Cprefer-dynamic") {
125- args.remove(pos);
126- }
127- }
128-
129 let mut cmd = match env::var_os("RUSTC_WRAPPER_REAL") {
130 Some(wrapper) if !wrapper.is_empty() => {
131 let mut cmd = Command::new(wrapper);
132@@ -117,6 +99,9 @@ fn main() {
133 };
134 cmd.args(&args).env(dylib_path_var(), env::join_paths(&dylib_path).unwrap());
135
136+ // Get the name of the crate we're compiling, if any.
137+ let crate_name = parse_value_from_args(&orig_args, "--crate-name");
138+
139 if let Some(crate_name) = crate_name {
140 if let Some(target) = env::var_os("RUSTC_TIME") {
141 if target == "all"
142diff --git a/src/bootstrap/src/core/builder/cargo.rs b/src/bootstrap/src/core/builder/cargo.rs
143index 0688a1d689..066e6bf53f 100644
144--- a/src/bootstrap/src/core/builder/cargo.rs
145+++ b/src/bootstrap/src/core/builder/cargo.rs
146@@ -1146,7 +1146,7 @@ impl Builder<'_> {
147 // When we build Rust dylibs they're all intended for intermediate
148 // usage, so make sure we pass the -Cprefer-dynamic flag instead of
149 // linking all deps statically into the dylib.
150- if matches!(mode, Mode::Std) {
151+ if matches!(mode, Mode::Std | Mode::Rustc) {
152 rustflags.arg("-Cprefer-dynamic");
153 }
154 if matches!(mode, Mode::Rustc) && !self.link_std_into_rustc_driver(target) {
155diff --git a/src/tools/clippy/src/main.rs b/src/tools/clippy/src/main.rs
156index c9853e53f3..c9af2138a7 100644
157--- a/src/tools/clippy/src/main.rs
158+++ b/src/tools/clippy/src/main.rs
159@@ -1,6 +1,3 @@
160-// We need this feature as it changes `dylib` linking behavior and allows us to link to
161-// `rustc_driver`.
162-#![feature(rustc_private)]
163 // warn on lints, that are included in `rust-lang/rust`s bootstrap
164 #![warn(rust_2018_idioms, unused_lifetimes)]
165
166diff --git a/src/tools/clippy/tests/compile-test.rs b/src/tools/clippy/tests/compile-test.rs
167index 9754254cdd..dd95cc71cd 100644
168--- a/src/tools/clippy/tests/compile-test.rs
169+++ b/src/tools/clippy/tests/compile-test.rs
170@@ -1,4 +1,4 @@
171-#![feature(rustc_private, let_chains)]
172+#![feature(let_chains)]
173 #![warn(rust_2018_idioms, unused_lifetimes)]
174 #![allow(unused_extern_crates)]
175
176diff --git a/src/tools/rustdoc/main.rs b/src/tools/rustdoc/main.rs
177index d4099cafe5..5b499a1fa1 100644
178--- a/src/tools/rustdoc/main.rs
179+++ b/src/tools/rustdoc/main.rs
180@@ -1,6 +1,3 @@
181-// We need this feature as it changes `dylib` linking behavior and allows us to link to `rustc_driver`.
182-#![feature(rustc_private)]
183-
184 fn main() {
185 rustdoc::main()
186 }
187diff --git a/src/tools/rustfmt/src/git-rustfmt/main.rs b/src/tools/rustfmt/src/git-rustfmt/main.rs
188index b8b0432aa9..b5bd71e015 100644
189--- a/src/tools/rustfmt/src/git-rustfmt/main.rs
190+++ b/src/tools/rustfmt/src/git-rustfmt/main.rs
191@@ -1,7 +1,3 @@
192-// We need this feature as it changes `dylib` linking behavior and allows us to link to
193-// `rustc_driver`.
194-#![feature(rustc_private)]
195-
196 use std::env;
197 use std::io::stdout;
198 use std::path::{Path, PathBuf};
199diff --git a/src/bootstrap/src/core/build_steps/compile.rs b/src/bootstrap/src/core/build_steps/compile.rs
200index 27bbc8bd8f..a6fc4df2eb 100644
201--- a/src/bootstrap/src/core/build_steps/compile.rs
202+++ b/src/bootstrap/src/core/build_steps/compile.rs
203@@ -2158,23 +2158,7 @@
204 for f in builder.read_dir(&src_libdir) {
205 let filename = f.file_name().into_string().unwrap();
206
207- let is_proc_macro = proc_macros.contains(&filename);
208- let is_dylib_or_debug = is_dylib(&f.path()) || is_debug_info(&filename);
209-
210- // If we link statically to stdlib, do not copy the libstd dynamic library file
211- // FIXME: Also do this for Windows once incremental post-optimization stage0 tests
212- // work without std.dll (see https://github.com/rust-lang/rust/pull/131188).
213- let can_be_rustc_dynamic_dep = if builder
214- .link_std_into_rustc_driver(target_compiler.host)
215- && !target_compiler.host.is_windows()
216- {
217- let is_std = filename.starts_with("std-") || filename.starts_with("libstd-");
218- !is_std
219- } else {
220- true
221- };
222-
223- if is_dylib_or_debug && can_be_rustc_dynamic_dep && !is_proc_macro {
224+ if (is_dylib(Path::new(&filename)) || is_debug_info(&filename)) && !proc_macros.contains(&filename) {
225 builder.copy_link(&f.path(), &rustc_libdir.join(&filename), FileType::Regular);
226 }
227 }
diff --git a/meta/recipes-devtools/rust/files/rust-oe-selftest.patch b/meta/recipes-devtools/rust/files/rust-oe-selftest.patch
new file mode 100644
index 0000000000..b7ef806e65
--- /dev/null
+++ b/meta/recipes-devtools/rust/files/rust-oe-selftest.patch
@@ -0,0 +1,282 @@
1Add "[ignore]" tags to the failing unit tests to
2ignore them during rust oe-selftest.
3
4Upstream-Status: Inappropriate [OE testing specific]
5
6Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
7---
8diff --git a/compiler/rustc_errors/src/markdown/tests/term.rs b/compiler/rustc_errors/src/markdown/tests/term.rs
9--- a/compiler/rustc_errors/src/markdown/tests/term.rs
10+++ b/compiler/rustc_errors/src/markdown/tests/term.rs
11@@ -61,6 +61,7 @@ fn test_wrapping_write() {
12 }
13
14 #[test]
15+#[ignore]
16 fn test_output() {
17 // Capture `--bless` when run via ./x
18 let bless = std::env::var_os("RUSTC_BLESS").is_some_and(|v| v != "0");
19diff --git a/compiler/rustc_interface/src/tests.rs b/compiler/rustc_interface/src/tests.rs
20--- a/compiler/rustc_interface/src/tests.rs
21+++ b/compiler/rustc_interface/src/tests.rs
22@@ -137,6 +137,7 @@ fn assert_non_crate_hash_different(x: &Options, y: &Options) {
23
24 // When the user supplies --test we should implicitly supply --cfg test
25 #[test]
26+#[ignore]
27 fn test_switch_implies_cfg_test() {
28 sess_and_cfg(&["--test"], |_sess, cfg| {
29 assert!(cfg.contains(&(sym::test, None)));
30@@ -145,6 +146,7 @@ fn test_switch_implies_cfg_test() {
31
32 // When the user supplies --test and --cfg test, don't implicitly add another --cfg test
33 #[test]
34+#[ignore]
35 fn test_switch_implies_cfg_test_unless_cfg_test() {
36 sess_and_cfg(&["--test", "--cfg=test"], |_sess, cfg| {
37 let mut test_items = cfg.iter().filter(|&&(name, _)| name == sym::test);
38@@ -154,6 +156,7 @@ fn test_switch_implies_cfg_test_unless_cfg_test() {
39 }
40
41 #[test]
42+#[ignore]
43 fn test_can_print_warnings() {
44 sess_and_cfg(&["-Awarnings"], |sess, _cfg| {
45 assert!(!sess.dcx().can_emit_warnings());
46diff --git a/library/std/tests/sync/rwlock.rs b/library/std/tests/sync/rwlock.rs
47index 1a9d3d3f12f..0a9cfc48806 100644
48--- a/library/std/tests/sync/rwlock.rs
49+++ b/library/std/tests/sync/rwlock.rs
50@@ -74,6 +74,7 @@
51
52 #[test]
53 #[cfg_attr(not(panic = "unwind"), ignore = "test requires unwinding support")]
54+#[ignore]
55 fn test_rw_arc_poison_wr() {
56 let arc = Arc::new(RwLock::new(1));
57 let arc2 = arc.clone();
58@@ -87,6 +88,7 @@
59
60 #[test]
61 #[cfg_attr(not(panic = "unwind"), ignore = "test requires unwinding support")]
62+#[ignore]
63 fn test_rw_arc_poison_mapped_w_r() {
64 let arc = Arc::new(RwLock::new(1));
65 let arc2 = arc.clone();
66@@ -101,6 +103,7 @@
67
68 #[test]
69 #[cfg_attr(not(panic = "unwind"), ignore = "test requires unwinding support")]
70+#[ignore]
71 fn test_rw_arc_poison_ww() {
72 let arc = Arc::new(RwLock::new(1));
73 assert!(!arc.is_poisoned());
74@@ -115,6 +118,7 @@
75 }
76
77 #[test]
78+#[ignore]
79 #[cfg_attr(not(panic = "unwind"), ignore = "test requires unwinding support")]
80 fn test_rw_arc_poison_mapped_w_w() {
81 let arc = Arc::new(RwLock::new(1));
82@@ -131,6 +135,7 @@
83
84 #[test]
85 #[cfg_attr(not(panic = "unwind"), ignore = "test requires unwinding support")]
86+#[ignore]
87 fn test_rw_arc_no_poison_rr() {
88 let arc = Arc::new(RwLock::new(1));
89 let arc2 = arc.clone();
90@@ -160,6 +165,7 @@
91
92 #[test]
93 #[cfg_attr(not(panic = "unwind"), ignore = "test requires unwinding support")]
94+#[ignore]
95 fn test_rw_arc_no_poison_rw() {
96 let arc = Arc::new(RwLock::new(1));
97 let arc2 = arc.clone();
98@@ -227,6 +233,7 @@
99
100 #[test]
101 #[cfg_attr(not(panic = "unwind"), ignore = "test requires unwinding support")]
102+#[ignore]
103 fn test_rw_arc_access_in_unwind() {
104 let arc = Arc::new(RwLock::new(1));
105 let arc2 = arc.clone();
106@@ -326,6 +333,7 @@
107
108 #[test]
109 #[cfg_attr(not(panic = "unwind"), ignore = "test requires unwinding support")]
110+#[ignore]
111 fn test_into_inner_poison() {
112 let m = new_poisoned_rwlock(NonCopy(10));
113
114@@ -362,6 +370,7 @@
115
116 #[test]
117 #[cfg_attr(not(panic = "unwind"), ignore = "test requires unwinding support")]
118+#[ignore]
119 fn test_get_mut_poison() {
120 let mut m = new_poisoned_rwlock(NonCopy(10));
121
122@@ -567,6 +576,7 @@
123
124 #[test]
125 #[cfg_attr(not(panic = "unwind"), ignore = "test requires unwinding support")]
126+#[ignore]
127 fn panic_while_mapping_write_unlocked_poison() {
128 let lock = RwLock::new(());
129
130diff --git a/library/test/src/tests.rs b/library/test/src/tests.rs
131--- a/library/test/src/tests.rs
132+++ b/library/test/src/tests.rs
133@@ -424,6 +424,7 @@
134 }
135
136 #[test]
137+#[ignore]
138 fn test_time_options_threshold() {
139 let unit = TimeThreshold::new(Duration::from_millis(50), Duration::from_millis(100));
140 let integration = TimeThreshold::new(Duration::from_millis(500), Duration::from_millis(1000));
141diff --git a/library/std/tests/sync/mutex.rs b/library/std/tests/sync/mutex.rs
142--- a/library/std/tests/sync/mutex.rs
143+++ b/library/std/tests/sync/mutex.rs
144@@ -312,6 +312,7 @@
145
146 #[test]
147 #[cfg_attr(not(panic = "unwind"), ignore = "test requires unwinding support")]
148+#[ignore]
149 fn test_mutex_arc_poison_mapped() {
150 let arc = Arc::new(Mutex::new(1));
151 assert!(!arc.is_poisoned());
152@@ -391,6 +392,7 @@
153
154 #[test]
155 #[cfg_attr(not(panic = "unwind"), ignore = "test requires unwinding support")]
156+#[ignore]
157 fn panic_while_mapping_unlocked_poison() {
158 let lock = Mutex::new(());
159
160diff --git a/library/coretests/benches/num/int_log/mod.rs b/library/coretests/benches/num/int_log/mod.rs
161index 3807cd5d76c..018c5c04456 100644
162--- a/library/coretests/benches/num/int_log/mod.rs
163+++ b/library/coretests/benches/num/int_log/mod.rs
164@@ -98,6 +98,7 @@ fn $random_small(bench: &mut Bencher) {
165 }
166
167 #[bench]
168+ #[ignore]
169 fn $geometric(bench: &mut Bencher) {
170 let bases: [$t; 16] = [2, 3, 4, 5, 7, 8, 9, 15, 16, 17, 31, 32, 33, 63, 64, 65];
171 let base_and_numbers: Vec<($t, Vec<$t>)> = bases
172diff --git a/compiler/rustc_data_structures/src/tagged_ptr/tests.rs b/compiler/rustc_data_structures/src/tagged_ptr/tests.rs
173index 160af8a65d..686f4607bb 100644
174--- a/compiler/rustc_data_structures/src/tagged_ptr/tests.rs
175+++ b/compiler/rustc_data_structures/src/tagged_ptr/tests.rs
176@@ -5,6 +5,7 @@ use crate::stable_hasher::{HashStable, StableHasher};
177 }
178
179 #[test]
180+#[ignore]
181 fn smoke() {
182 let value = 12u32;
183 let reference = &value;
184diff --git a/library/std/tests/thread_local/tests.rs b/library/std/tests/thread_local/tests.rs
185index 9d4f52a092..d425e5f7b7 100644
186--- a/library/std/tests/thread_local/tests.rs
187+++ b/library/std/tests/thread_local/tests.rs
188@@ -346,6 +346,7 @@ fn join_orders_after_tls_destructors() {
189
190 // Test that thread::current is still available in TLS destructors.
191 #[test]
192+#[ignore]
193 fn thread_current_in_dtor() {
194 // Go through one round of TLS destruction first.
195 struct Defer;
196diff --git a/library/alloctests/tests/sort/tests.rs b/library/alloctests/tests/sort/tests.rs
197index 14e6013f96..b670f27ab4 100644
198--- a/library/alloctests/tests/sort/tests.rs
199+++ b/library/alloctests/tests/sort/tests.rs
200@@ -915,12 +915,14 @@ gen_sort_test_fns_with_default_patterns_3_ty!(
201 macro_rules! instantiate_sort_test_inner {
202 ($sort_impl:ty, miri_yes, $test_fn_name:ident) => {
203 #[test]
204+ #[ignore]
205 fn $test_fn_name() {
206 $crate::sort::tests::$test_fn_name::<$sort_impl>();
207 }
208 };
209 ($sort_impl:ty, miri_no, $test_fn_name:ident) => {
210 #[test]
211+ #[ignore]
212 #[cfg_attr(miri, ignore)]
213 fn $test_fn_name() {
214 $crate::sort::tests::$test_fn_name::<$sort_impl>();
215diff --git a/compiler/rustc_data_structures/src/vec_cache/tests.rs b/compiler/rustc_data_structures/src/vec_cache/tests.rs
216index a05f274136..0e69b4cb98 100644
217--- a/compiler/rustc_data_structures/src/vec_cache/tests.rs
218+++ b/compiler/rustc_data_structures/src/vec_cache/tests.rs
219@@ -17,6 +17,7 @@ fn vec_cache_insert_and_check() {
220 }
221
222 #[test]
223+#[ignore]
224 fn sparse_inserts() {
225 let cache: VecCache<u32, u8, u32> = VecCache::default();
226 let end = if cfg!(target_pointer_width = "64") && cfg!(target_os = "linux") {
227diff --git a/tests/assembly/dwarf-mixed-versions-lto.rs b/tests/assembly/dwarf-mixed-versions-lto.rs
228index 5b8e5ff4f4a..e558fbd7bd7 100644
229--- a/tests/assembly/dwarf-mixed-versions-lto.rs
230+++ b/tests/assembly/dwarf-mixed-versions-lto.rs
231@@ -2,6 +2,11 @@
232 // will choose the highest DWARF version for the final binary. This matches Clang's behavior.
233 // Note: `.2byte` directive is used on MIPS.
234
235+//@ only-x86
236+//@ only-x86_64
237+//@ only-arm
238+//@ only-aarch64
239+
240 //@ only-linux
241 //@ aux-build:dwarf-mixed-versions-lto-aux.rs
242 //@ compile-flags: -C lto -g -Zdwarf-version=5
243diff --git a/tests/codegen/dont-shuffle-bswaps.rs b/tests/codegen/dont-shuffle-bswaps.rs
244index 0e712bc3a4e..93965d990d0 100644
245--- a/tests/codegen/dont-shuffle-bswaps.rs
246+++ b/tests/codegen/dont-shuffle-bswaps.rs
247@@ -1,3 +1,8 @@
248+//@ only-x86
249+//@ only-x86_64
250+//@ only-arm
251+//@ only-aarch64
252+
253 //@ revisions: OPT2 OPT3
254 //@[OPT2] compile-flags: -Copt-level=2
255 //@[OPT3] compile-flags: -C opt-level=3
256diff --git a/tests/codegen/uninhabited-transparent-return-abi.rs b/tests/codegen/uninhabited-transparent-return-abi.rs
257index face1577c3f..d69e5e34a7b 100644
258--- a/tests/codegen/uninhabited-transparent-return-abi.rs
259+++ b/tests/codegen/uninhabited-transparent-return-abi.rs
260@@ -1,4 +1,8 @@
261 //@ compile-flags: -Copt-level=3
262+//@ only-x86
263+//@ only-x86_64
264+//@ only-arm
265+//@ only-aarch64
266
267 // See https://github.com/rust-lang/rust/issues/135802
268
269diff --git a/tests/ui/abi/rust-cold-works-with-rustic-args.rs b/tests/ui/abi/rust-cold-works-with-rustic-args.rs
270index 57027364699..3faa7ea035e 100644
271--- a/tests/ui/abi/rust-cold-works-with-rustic-args.rs
272+++ b/tests/ui/abi/rust-cold-works-with-rustic-args.rs
273@@ -1,5 +1,9 @@
274 //@build-pass
275 //@compile-flags: -Clink-dead-code=true --crate-type lib
276+//@ only-x86
277+//@ only-x86_64
278+//@ only-arm
279+//@ only-aarch64
280 // We used to not handle all "rustic" ABIs in a (relatively) uniform way,
281 // so we failed to fix up arguments for actually passing through the ABI...
282 #![feature(rust_cold_cc)]
diff --git a/meta/recipes-devtools/rust/files/rustc-bootstrap.patch b/meta/recipes-devtools/rust/files/rustc-bootstrap.patch
deleted file mode 100644
index 1271d75e60..0000000000
--- a/meta/recipes-devtools/rust/files/rustc-bootstrap.patch
+++ /dev/null
@@ -1,21 +0,0 @@
1When rust.channel is set to either beta or stable, we can't use
2nightly features on bootstrap without RUSTC_BOOTSTRAP. Set RUSTC_BOOTSTRAP=1
3to use nightly features on stable or beta.
4
5Upstream-Status: Backport [https://github.com/rust-lang/rust/pull/119619/commits/8aa7dd06f6e50621dc10f9f9490681be8a45876f]
6
7Signed-off-by: onur-ozkan <work@onurozkan.dev>
8Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
9---
10diff --git a/src/bootstrap/synthetic_targets.rs b/ src/bootstrap/synthetic_targets.rs
11index d2c65b740da..45baf56f46b 100644
12--- a/src/bootstrap/src/core/build_steps/synthetic_targets.rs
13+++ b/src/bootstrap/src/core/build_steps/synthetic_targets.rs
14@@ -59,6 +59,7 @@ fn create_synthetic_target(
15 let mut cmd = Command::new(builder.rustc(compiler));
16 cmd.arg("--target").arg(base.rustc_target_arg());
17 cmd.args(["-Zunstable-options", "--print", "target-spec-json"]);
18+ cmd.env("RUSTC_BOOTSTRAP", "1");
19 cmd.stdout(Stdio::piped());
20
21 let output = cmd.spawn().unwrap().wait_with_output().unwrap();
diff --git a/meta/recipes-devtools/rust/files/rv32-cargo-rustix-0.38.19-fix.patch b/meta/recipes-devtools/rust/files/rv32-cargo-rustix-0.38.19-fix.patch
deleted file mode 100644
index a7f3d11ede..0000000000
--- a/meta/recipes-devtools/rust/files/rv32-cargo-rustix-0.38.19-fix.patch
+++ /dev/null
@@ -1,70 +0,0 @@
1Fix cargo build on riscv32
2
3riscv32 support is added to latest rustix already
4therefore this patch is limited to rustix-0.38.19
5once cargo/rust moves beyond rustix-0.38.19 as dependency
6we can remove this patch
7
8Upstream-Status: Inappropriate [Specific to rustix-0.38.19]
9
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11
12--- a/vendor/rustix-0.38.19/src/backend/libc/termios/syscalls.rs
13+++ b/vendor/rustix-0.38.19/src/backend/libc/termios/syscalls.rs
14@@ -138,7 +138,7 @@ pub(crate) fn tcsetattr(
15 use crate::utils::default_array;
16 use linux_raw_sys::general::{termios2, BOTHER, CBAUD, IBSHIFT};
17
18- #[cfg(not(any(target_arch = "sparc", target_arch = "sparc64")))]
19+ #[cfg(not(any(target_arch = "sparc", target_arch = "sparc64", target_arch = "riscv32")))]
20 use linux_raw_sys::ioctl::{TCSETS, TCSETS2};
21
22 // linux-raw-sys' ioctl-generation script for sparc isn't working yet,
23@@ -147,6 +147,10 @@ pub(crate) fn tcsetattr(
24 const TCSETS: u32 = 0x80245409;
25 #[cfg(any(target_arch = "sparc", target_arch = "sparc64"))]
26 const TCSETS2: u32 = 0x802c540d;
27+ #[cfg(any(target_arch = "riscv32"))]
28+ const TCSETS: u32 = 0x5402;
29+ #[cfg(any(target_arch = "riscv32"))]
30+ const TCSETS2: u32 = 0x402C542B;
31
32 // Translate from `optional_actions` into an ioctl request code. On
33 // MIPS, `optional_actions` already has `TCGETS` added to it.
34--- a/vendor/rustix-0.38.19/.cargo-checksum.json
35+++ b/vendor/rustix-0.38.19/.cargo-checksum.json
36@@ -1 +1 @@
37-{"files":{"CODE_OF_CONDUCT.md":"f210602311e3f74b32f46237fd55f4ce36d798e85e3db1432ec667f63a7ffc44","CONTRIBUTING.md":"3fd57de5c678db1c972da676a8231d2fde9820695ef1f0d53f1e55a3e81d9de0","COPYRIGHT":"377c2e7c53250cc5905c0b0532d35973392af16ffb9596a41d99d202cf3617c9","Cargo.toml":"c994094b77085196394cd7cc03161f4810af7da799cfb40c696973e912929a8f","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-Apache-2.0_WITH_LLVM-exception":"268872b9816f90fd8e85db5a28d33f8150ebb8dd016653fb39ef1f94f2686bc5","LICENSE-MIT":"23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3","ORG_CODE_OF_CONDUCT.md":"a62b69bf86e605ee1bcbb2f0a12ba79e4cebb6983a7b6491949750aecc4f2178","README.md":"58d2ee38dad64ff142e98872860b282b36a09076df537af57aba39d675d84a28","SECURITY.md":"4d75afb09dd28eb5982e3a1f768ee398d90204669ceef3240a16b31dcf04148a","benches/mod.rs":"e260e67273aa0a37cffdc5cd451699335b8ee656c17275a0d0f2b4563c6018ca","build.rs":"5f93559819ca7fe233f01579d51ff5b58cb6e96ef9e7817a3358a9b410d5bbf6","src/backend/libc/c.rs":"63a6b16d4c13db9946c58ef643dd92ac4c81c4be8b5d2adf9bb0f5c797593d3b","src/backend/libc/conv.rs":"c4b4a6fdcf2f9295ab0498229a780942b031a2847ddf2466f90884bfb30255f8","src/backend/libc/event/epoll.rs":"f35eb0fddf9c4327551e1995f109a537f9899b9231e914671bdf26b616048370","src/backend/libc/event/mod.rs":"7f8547c599b8263eb791890bbe4a0b22fe2676d007ffdcc3e07b2e48d1c994db","src/backend/libc/event/poll_fd.rs":"06e2ce2fb30a45b90279ae753a67085e9f818a1b16d99cc92c525e2c46d61d51","src/backend/libc/event/syscalls.rs":"295a930521b345192caaf916b39189299f81f5f7c9f1aaed235baf3bf6f2f5fa","src/backend/libc/event/types.rs":"09e813690f44752708485e5a5ee59a43834a4a3e9577f2739b310c3ea8b4b64e","src/backend/libc/event/windows_syscalls.rs":"ebfac665c6676c4b803134ab8806be8aa2e96bdbc7799a19c544cd9069b35787","src/backend/libc/fs/dir.rs":"6f9526714c525e219399371d5acbe2666f0ac3ee88f73dc03fb31cf195ced95d","src/backend/libc/fs/inotify.rs":"f4e471484c4633dbb91c875ba8df87b687dd174cc45fdd2a1f717ffcb1591b00","src/backend/libc/fs/makedev.rs":"89c679a0ef18dd41b3c6223bce0f329ad35bf6cadbf16e47b33fad3f312ba4a6","src/backend/libc/fs/mod.rs":"576b6fcce723fcd5fc76637abd3b3565b00ca0bac309b63aecd6b8ee005fa81d","src/backend/libc/fs/syscalls.rs":"bba2a6a475fcd980f9352007f2b0b74b97abffe9d025e4c311e6f1f2f84eee3a","src/backend/libc/fs/types.rs":"20618e1a675fff5a8d2f08b4278425a3ec5c43d83518a5cbf3a934f135709a7a","src/backend/libc/io/errno.rs":"048d4350b9836fb9c9400127509705835a4992da86410e33a9e67cc43e22f35a","src/backend/libc/io/mod.rs":"746647bd864e4ec7717925b6d176cebdb392b7d015070244cc48d92780351dd6","src/backend/libc/io/syscalls.rs":"380d9be17ec7e46fdc24682aeae6410dcd8b10fd129090b479bb8ee405d9b5c6","src/backend/libc/io/types.rs":"8df53d41d72a39f334ed124707cb501e83b3624b769c80b78c62bd45179bc04a","src/backend/libc/io/windows_syscalls.rs":"fab3fa099aa89cea56a6edc651dd37750e581534f4f45b04a7e425f130b08468","src/backend/libc/io_uring/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/io_uring/syscalls.rs":"5af8146d5971c833e6fd657f652c618b31f854e1b0811864fba9b658cb633e19","src/backend/libc/mm/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/libc/mm/syscalls.rs":"9b7c383f8ef1e258800c9797abbcd45374b97b6680637b1a247cb93878213b5a","src/backend/libc/mm/types.rs":"a427ff490880e92f1ddaa4aea55bb3ff2f43bd29712a6af09b25be2984ecb3e1","src/backend/libc/mod.rs":"2b396834f47b8771d2274eaa2632fbecebc17316d20f26d5e94f060bb8796f7d","src/backend/libc/mount/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/libc/mount/syscalls.rs":"1bc87501a078616d0190d2e85de55f3f968b8cb79d49bd9eb839a350eed26089","src/backend/libc/mount/types.rs":"8e2b66822cd1148e5fe4023f5608f36afb0d47bad454db9560fbca4b0dbd2b6f","src/backend/libc/net/addr.rs":"b6644e0169c6681084704e9ca231863364d81e3d3cb5d3689e0df8acf7b4ec16","src/backend/libc/net/ext.rs":"0ec74196ace553c9bff355e2e35ad3b70cab46e32f8f7194715e4528fe1f54bc","src/backend/libc/net/mod.rs":"4e2d6c72bef19985a2935e7891288f0045d1ff1287ec50492882b4dfbaf0fea3","src/backend/libc/net/msghdr.rs":"f82825d40d8872e2e804cde32bbcc68bef43a5f48ad857fb1030550c4eb44838","src/backend/libc/net/read_sockaddr.rs":"af90cf19e2bebc04976b9ac97010c38db91dcd90fd81b48a14528d45be97fe20","src/backend/libc/net/send_recv.rs":"52ee998bc8422a074e5105607440631e569e531caa7d356157529c3ddb07b684","src/backend/libc/net/sockopt.rs":"c1e9974478f027d9053fed5b4f28e6dce49dd15f05e1ed574cb4eddf1be47b7c","src/backend/libc/net/syscalls.rs":"b876541609622003a9e8cd2787ecbb93b0a155cfd61914c043ac2401ed3fd923","src/backend/libc/net/write_sockaddr.rs":"14e941b5a11e4d7a17182860c47b1ee972b56ff7f0aadbcc6ab2c8740b13cea9","src/backend/libc/param/auxv.rs":"fdc85b7c33bcd05a16471e42eb4228c48c98c642443635ba5fc3e9a45438d6d3","src/backend/libc/param/mod.rs":"5234b8f1bcb886cca6ea003d411d75eaeebe58deedd80e3441354bf46ed85d4d","src/backend/libc/pid/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/pid/syscalls.rs":"49ea679b96c0741d048e82964038f9a931bc3cf3a0b59c7db3df89629b9c49e6","src/backend/libc/pipe/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/libc/pipe/syscalls.rs":"8affde100f6a9dfc762b79d1e48be5c1039be414f8ef7d5a6acaba882a68d259","src/backend/libc/pipe/types.rs":"1e797beb383bb2e4038f1de21bea204caec4a4922b25a6ef84dbbe6e953e78b0","src/backend/libc/prctl/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/prctl/syscalls.rs":"8a2684f444a7555098dce2b92270d81cefdae902716c6e5d59bd7b0657e8a29d","src/backend/libc/process/cpu_set.rs":"b3d36b01b53b0b6c61a20ed8a69d48eccdd90cc17f82f2926ef1e844f002d0b7","src/backend/libc/process/mod.rs":"d7dc401255bad2e55ffff365339cdc3aad306861d269ad727a817d3cd7763166","src/backend/libc/process/syscalls.rs":"17b7eab2e0ea2898d41ec4e0d2a84baf57eae9f6e3e016e6b74f0e174440cffb","src/backend/libc/process/types.rs":"c26796486e9f9e7bbc44715ecaac285eb808fd9a8c08d237b2ac19f34954d608","src/backend/libc/process/wait.rs":"0cc556aed976b4bbb3965f74fd76b8216c755fce25043b7b21ce54afa07c9773","src/backend/libc/pty/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/pty/syscalls.rs":"699a4c325fc590b8b5dabfe5a9ff386809be14dd24bf35aa6ef581b2bd75457b","src/backend/libc/rand/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/libc/rand/syscalls.rs":"78c7201e6bcb75e9cab9486d1878861319f865de2b2c46437be68690bd17bf13","src/backend/libc/rand/types.rs":"7763e6b40e4b9df825fdd2aa5ba1770da999137d04776561167116c58f8fa618","src/backend/libc/shm/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/libc/shm/syscalls.rs":"60d797d4e85e08e6330e6b8d80094356ce377e5484952f88ae2a6e49231c268c","src/backend/libc/shm/types.rs":"be4034353ab434568053260712fa5f55ed6d8a1a9fae64fa4fe1ea4f2e82120b","src/backend/libc/system/mod.rs":"38563ea68829ca5a4b1b0695ac8a5c05718e85bdc88a36dc805efdfce45d3909","src/backend/libc/system/syscalls.rs":"4c632a6d59fef0bb516d89f119f7f37aa18f8a75f63aeba73d71c464473874cb","src/backend/libc/system/types.rs":"6871e16aee14fe2ae03cea798c3e509ffe44778a9c0e5608fd73e2e015876d7e","src/backend/libc/termios/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/termios/syscalls.rs":"dbe38f61f52f78dabf39e35a2fed3fb5f958270afa102e6bc3a374dc2621faf4","src/backend/libc/thread/futex.rs":"b666828653b12634bbd7fd709acf69641b648ec40962a1d4f904c5db14d2eff5","src/backend/libc/thread/mod.rs":"fa710053974d7f16a6c49242ee6c10a3b9e1143452b9daeaed8837302a679fff","src/backend/libc/thread/syscalls.rs":"120cb13fe7ffdef7a52ca1d141d31bf189176e9f5862f87bb171d54370a682a9","src/backend/libc/time/mod.rs":"38563ea68829ca5a4b1b0695ac8a5c05718e85bdc88a36dc805efdfce45d3909","src/backend/libc/time/syscalls.rs":"f82e0725c5af8a52e61ee83aad2c77694f2f7a72ac1e6eb284109a70ac6edc38","src/backend/libc/time/types.rs":"d4e55d2b9fb8de772c8bf5bba157472c49a12c25502e62a9c599a2e6d3196a5b","src/backend/libc/ugid/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/ugid/syscalls.rs":"8edf91b8790add23902c9f5418da6b0723a371677f29f490e0c8af852f0f1a0c","src/backend/libc/winsock_c.rs":"3bf3884fd250eca806ffdf96da68e29c133a697810b78b333ea449e523e58562","src/backend/linux_raw/arch/aarch64.rs":"2a255c9135bc8a321c180f52b88eb2b158bc9170cd222149caeae63c24587d44","src/backend/linux_raw/arch/arm.rs":"165bccb5883d0136e55d42091183765f83d86e9d37a7cb2cec9ae8af32774db6","src/backend/linux_raw/arch/mips.rs":"24af364aa93fd4b9917639d473336490a143f0d1723b09f388e72d534160ee51","src/backend/linux_raw/arch/mips32r6.rs":"e436a2ade34f2f7c58b8924462b07a2499dfc951e1e1318d51759444fb8b658e","src/backend/linux_raw/arch/mips64.rs":"897da9ddc877963ad59464d7f81dc59df8a7e91251e6adea14cfd946e2740a1c","src/backend/linux_raw/arch/mips64r6.rs":"3c08aea13c1139fb0dfbe74ca3d0147f007c3aa2eda641afb82c46f6aa4f6cd1","src/backend/linux_raw/arch/mod.rs":"37eaeea601d39be00d170856a31a8ec6a27b0d3ac22ab3ee642ab0e45dee237d","src/backend/linux_raw/arch/powerpc64.rs":"dfb001f8636a5e46d728900b0804fe6c374e5e18a6f0e76d7d62e0c07da74477","src/backend/linux_raw/arch/riscv64.rs":"41d33242d941030f46077dc2b1bc4c7913fe7630d693a5a7eef966bcf38f9d8b","src/backend/linux_raw/arch/thumb.rs":"2fd979ab421248c0a4c592bc0cefee63edc26528f469b71b63eaed35356e42e8","src/backend/linux_raw/arch/x86.rs":"81c73c0a13925854b54db754f533dec565b1db2d9586e210a2450c6f5915171d","src/backend/linux_raw/arch/x86_64.rs":"e929036a1f3cf93ba538f4523b241605cc7b5e61f84ffe6d9d5cdbcb6f73e543","src/backend/linux_raw/c.rs":"74cdf34fcd5bba9628c04585fa13721073e2bffe6740315c7655d1a55150230f","src/backend/linux_raw/conv.rs":"3b452e19c6b8285df205baa790e19f32061952ae7c7c4e39ba01726de6beb4fb","src/backend/linux_raw/event/epoll.rs":"18980136ee6d3e327d6c46a33306fa934a80eaee609a329098935569507440d0","src/backend/linux_raw/event/mod.rs":"72e46b04637e2d1d2a6b97af616144995399e489d1fe916faf835d72fc8c64cd","src/backend/linux_raw/event/poll_fd.rs":"78d040f7ce0574fc18cebf6b7766c210a3254abdbafe175f51c6b460fa19c514","src/backend/linux_raw/event/syscalls.rs":"8782cdf978bff0773bf5f35c1056d5c29a40742cf6f99d9606d951b52596cd34","src/backend/linux_raw/event/types.rs":"2ffdcb728587dbc25d302527f4a52296b96013d5199c946291b059ba4f7d466f","src/backend/linux_raw/fs/dir.rs":"c675dc5413428d2defd6752e99d210da83639779e853db209de6a1c08d35e0e7","src/backend/linux_raw/fs/inotify.rs":"42a6ed7b091eee20d7fd9becfea240deb99d0b8ca3e8e083cf365d484d8eeeeb","src/backend/linux_raw/fs/makedev.rs":"c6b4505c4bcbbc2460e80f3097eb15e2c8ef38d6c6e7abd78e39c53c372139e2","src/backend/linux_raw/fs/mod.rs":"8689e46f9c4c3e1190ae5fe39176c573cccac10b3739472128ca237f41e2686a","src/backend/linux_raw/fs/syscalls.rs":"a4512f58e2ef01bf0799c96fa7821284866b6826594642565f46d93e566e2e12","src/backend/linux_raw/fs/types.rs":"c015cf3cde945ad4a42ec706c6e1140c7342041ace1da6e0ef1bbf5e9e019ce2","src/backend/linux_raw/io/errno.rs":"8f15d735435b722466696094aed8b612b8526658ab7e079f386037cf8a3b1a6e","src/backend/linux_raw/io/mod.rs":"7ae2324427892cca6f5ab53858d847b165f790a72ec25f3d99fb15f0506c9f27","src/backend/linux_raw/io/syscalls.rs":"026f99b397ae521ac4b2ba41acec6547018073a9da5fa355aa8f9ac61298c172","src/backend/linux_raw/io/types.rs":"0cfffdc2fc9c33faa4055f9686db5922676f17d5c069362bae3745f39da3594a","src/backend/linux_raw/io_uring/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/io_uring/syscalls.rs":"0f7c9cb7ccddf5687e4b9e5b23558871a452a29ac6095a0184a06c47b9b18eb6","src/backend/linux_raw/mm/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/mm/syscalls.rs":"7d43752e8abaa8cec02cd3329e08303c56a9e6ac97aec447293397b9953c3ba3","src/backend/linux_raw/mm/types.rs":"4407b4b54c4048bb1d4e702575e20037c24483a22f6a5cfcc940e4738fcff381","src/backend/linux_raw/mod.rs":"bb26fe4783f834a4624c99ecf9e4ea8fa4d1c7fe9adfb6d7310fac689e7797bc","src/backend/linux_raw/mount/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/mount/syscalls.rs":"3947261b5d46b9737f02dc5352c3a3a35c63c461fd75bcd8ae6619dfc0bfb54d","src/backend/linux_raw/mount/types.rs":"8d39c4d6e555c88de5da3115a301562fafdcb3942aa69a0e01d42de8edb1c78f","src/backend/linux_raw/net/addr.rs":"fbb6c071a8ebc2c557c7013d36d4b540c1ff6ed63103d0a8abcacd8977fbf5c8","src/backend/linux_raw/net/mod.rs":"904b2ccd4228ebcda25db0223b92fb03e4042bcc7b0a202f19410a8a5ff517a5","src/backend/linux_raw/net/msghdr.rs":"3198339ccd00224aefdba74e9144818fe387222066a387a9dfd95fd8c48cf9d9","src/backend/linux_raw/net/read_sockaddr.rs":"24075ac4c05fab5fe44aae4445cdd12ec7e474f047150baa9b768741d6b9693d","src/backend/linux_raw/net/send_recv.rs":"85b1a78ecc920e919ce7a0a9f7ad79cba5ad09af4f53018df8c46c7c112bd7a9","src/backend/linux_raw/net/sockopt.rs":"2ea8625ecd68a799c14ed48dec2f3e01f085222b6cc36f4916b20143e08ae575","src/backend/linux_raw/net/syscalls.rs":"eb897e0074ec53c5b18594c39cbb9ec5bd796c9120bf029f0b05145a7eee1804","src/backend/linux_raw/net/write_sockaddr.rs":"0eeeb7ec8dadf95503a2f89fdc933b8f9c7e45e03fdb343ce490b6cc8eec0f96","src/backend/linux_raw/param/auxv.rs":"c1b1a628d6c51ce8adc981f58c6e08abba4a151356ff98cdbc0b3e75abeadb8a","src/backend/linux_raw/param/init.rs":"a5024f9afe361884f22fb4d65e632ccd8a60f1138ff6bd526df600d40e0d9b7e","src/backend/linux_raw/param/libc_auxv.rs":"e567f471ab21068141acb9fb2f88b9ba553f630945bc8f01b689955b48414512","src/backend/linux_raw/param/mod.rs":"2e6a1a1c00351b9c88bd615aa923f71d76208df5626dd9bea03067f28f81dc31","src/backend/linux_raw/pid/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/pid/syscalls.rs":"eef6aa01830ddd510b83f507da2002c03e58318b73744be2c06ebbe33c4f194f","src/backend/linux_raw/pipe/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/pipe/syscalls.rs":"366c730fc3e991bddb9f5a15b8c3917a8e6ace6d1d5a9113b2749e476faf6f83","src/backend/linux_raw/pipe/types.rs":"9d4bd3da7cd078d42574ad7d6b7554e301a1a7e97b292a77993a6d263726ef1e","src/backend/linux_raw/prctl/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/prctl/syscalls.rs":"a18b224307e0d27bda9b7b85c75cd6c7ddfe39f5ce52efb7bb0bf0585b757343","src/backend/linux_raw/process/cpu_set.rs":"dfdcbdf35aff6a3e08e7d38193bf18c12ca8aa64eb0dc417667be82dcc0f7c55","src/backend/linux_raw/process/mod.rs":"fb393c70a9c63ef9a6bf1fb5a2dc94f07d6b0b6987cc5231c15c607015dafd68","src/backend/linux_raw/process/syscalls.rs":"3730c155663d727d5b239f57f220727ef33dd257e74a1b697274de0f94e1da79","src/backend/linux_raw/process/types.rs":"6811ba822bc12a1a6336649151b4adb1f5d3365684a31c07f01953ea9547743d","src/backend/linux_raw/process/wait.rs":"921aee4b0048746087f52615a98edc2aa0fb4b53d6df44be4533098df55d1b05","src/backend/linux_raw/pty/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/pty/syscalls.rs":"ae09c4aecc0ae87b1ca58d82efc58007b9dddaae78460d615f48da19d1cd0f89","src/backend/linux_raw/rand/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/rand/syscalls.rs":"a84f70251672e92f253838bf05e989434f67373233e88d21d8835cbb792b1fe3","src/backend/linux_raw/rand/types.rs":"b7217c98f2da4ecf89225f36eb52c396ba2a73debdeca739ba864a9030b6a23d","src/backend/linux_raw/reg.rs":"39b6234971122d247054bda8c2dc3b44493be30482635baa9e2fcbe048e78cbd","src/backend/linux_raw/runtime/mod.rs":"b2cae8cce3822c3c92942f06ea0b68464040dcac33c6f0f7ee392c6269993347","src/backend/linux_raw/runtime/syscalls.rs":"fc9c9edbe07dd7644ab75c51a1597a31467a3421301503a072bef93e6df07643","src/backend/linux_raw/runtime/tls.rs":"6316060560a112c2e9cd9807cdba6e8c91414113a04a739160929ae9a67bba1f","src/backend/linux_raw/shm/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/shm/syscalls.rs":"3ebf91610b02de0312e1f0f0cc5d56e12b4d93794540087b3182cbdf3cb9c8db","src/backend/linux_raw/shm/types.rs":"76f587e0edc78e3b780b66ddf9bdf56d5bcb57822111e9f8f66a7eec07c2c0fa","src/backend/linux_raw/system/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/system/syscalls.rs":"2af6c2672a6528b404b52f501d9803a63e9f47886d3b5d2d2dc5a71cefa7327a","src/backend/linux_raw/system/types.rs":"1ceab8d738a71043473b26e97fa3fd79d588a86d4774cbc9b9e1d4f1447a016e","src/backend/linux_raw/termios/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/termios/syscalls.rs":"01c4c8028595d8f53197ac3f2accb83057cb80fb5f78db63bbf85eb46d40e1c9","src/backend/linux_raw/thread/futex.rs":"0aa0f9f5be6a79de81e82c9f11f1bf8831f682a4b2f6cb29669e1591636f084e","src/backend/linux_raw/thread/mod.rs":"6ad4a4b90b9234e79900b27ebbe8837e3a7a36aec532912e3e253edce5225067","src/backend/linux_raw/thread/syscalls.rs":"0e3dca63be7322e1e9c58456b28eb8548abb9f08b4436b87b139e891c01c446d","src/backend/linux_raw/time/mod.rs":"672724f55b7b7be6a7452bb1cc2d28b5f0aaa840a2856fe363acce624e1beefc","src/backend/linux_raw/time/syscalls.rs":"451da0bbb66accdf58ee7f2f8746a93b22ee985907a08717a3d3b1650457d878","src/backend/linux_raw/time/types.rs":"56cb936dc36af759e06d0b7bcfa7db02818dff6084c1d1d9a538a6d5945032d5","src/backend/linux_raw/ugid/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/ugid/syscalls.rs":"8c86d251db33b399a1d1cbb8e87afe650b78db84f444d3251309b7a0480b54f7","src/backend/linux_raw/vdso.rs":"056314f72c71d4b041739337ca2098afb7fe070f844327f462c293f43481b75b","src/backend/linux_raw/vdso_wrappers.rs":"6bd4b8c15761e16defff7d2eed18c008c9f980ebee6c9bdc2e104b16b9b7c631","src/bitcast.rs":"e21c87c292c781b27256c6f5dcf9fd52dd69ed6e21016cbd67ac31a8219ebf8e","src/check_types.rs":"bc31f9b293bfbf272284ed4d0da24e941206a1ac3f18d3abb0b1a61f1ede1dae","src/clockid.rs":"1d2e1cfcf23160b55d6b046d235edf2eb2408f072a8bdef3e3a3871885abdd5a","src/cstr.rs":"41af2a4429fe6c67a8883f8a8f63d66c90df566abda74fd2b03bcef7b9f24218","src/event/eventfd.rs":"81cbd08f7bdf40a6ce1ca692b63da1dc8ba925282990668d9d68f1203e839fa1","src/event/kqueue.rs":"f13f40b97c4413902115408fc2f340e7c82bba42d2468015b007e8ac6ef23132","src/event/mod.rs":"326a7ddfeb33bb95dd31391d65f400fa622e5d0ab827c096cab16af4b6843b51","src/event/poll.rs":"0ee583dbd457a573a82a06c04a2a24bd2c76e751d27a435507d55338e2871327","src/event/port.rs":"4e51ff150e5d17cbd44aa64a38b99c15e26eaaf2e350768b5dcacdfde4fa5212","src/ffi.rs":"c2b8b38c02d72749aceb715c496726caba1f1fa989ad3856d0103a2fafed89ed","src/fs/abs.rs":"6f0b57878f61c009fd0a3698a3983aa8076ba4fe3b5c28feec0307d65a77891c","src/fs/at.rs":"9b5f35afcaca9dd19d501cee3ad305b1d1c1b588c5fd925b18b6d3b614f05011","src/fs/constants.rs":"24076a01f8bfc126b0905e9bc0521d2c3a3abc6c3b8c86ddb1e545070d097127","src/fs/copy_file_range.rs":"d3b644374390d482b2ff749a2459458872b57d0dcf9670368739b7833509a7c2","src/fs/cwd.rs":"9f429a79ace6e17455634da09216ee0ad3d067a4541518b3193ae6a8d9ff1e26","src/fs/dir.rs":"347a52f4ca9ac6321c52e802e97ec90d1b4c62ec955c8996fc17f8f5aed69966","src/fs/fadvise.rs":"beef66ebe1310fb92628240b2cde68f744c78e50f6ff61bb1404bd4868d9cae8","src/fs/fcntl.rs":"2085102d05d0ba963e100ab3e3f19dac4ff27d142fbf798626d20a2a596ba96d","src/fs/fcntl_apple.rs":"e2f23f038083621bcdecc98d02ce1023508afaecdb2ed0fba5c8b70f955301e5","src/fs/fcopyfile.rs":"ec95929cbbe02cf49233a785e5238931bb107b7903cc5bc95e4231de960995f2","src/fs/fd.rs":"68d19bb99da0444444acbafd27ba10a69fc2ac35ede4e0106ac2043c30ce4f8f","src/fs/file_type.rs":"fefd865f91011f66126213b0994773d99e373b468c31e866002228c98c64ad85","src/fs/getpath.rs":"28f6970fc1bbc37bb35c84724b59eac436ea7407a4522e18c2bdacb1fdd2edd9","src/fs/id.rs":"1b5c8a8baf9a9bb1f895f97189cea4e5982a0d35b192afeec6340a6c6222e0cb","src/fs/ioctl.rs":"e798eb41bbc201c375bc295ad2928c2467b45b4fbbff3c82236dccbc0d6391a5","src/fs/makedev.rs":"85520b484cb7c15ab71ea1c368578ea3b7e484d82f8510db92b6ce9f7ca341ae","src/fs/memfd_create.rs":"15a8f28e040cffd8c24c7903483440f88853b2e538ad48d80f3c00b4b2befdea","src/fs/mod.rs":"ecd20bf01d651b1866b198c4fc0dc8e7d681eb581e28708c8a0abd062de137ce","src/fs/mount.rs":"8f6ea2b997dd83c50c90291b9ada3ed77a9ce1ad701c9b0d533b5113b317be5b","src/fs/openat2.rs":"4a95c15dab533a41201b5fa25c8a212956b7571d58cad696bdaf45af8aef96db","src/fs/raw_dir.rs":"18ad797876d6230c38d4cacbed081c4028e03ace477d0520d9b226b40de942f0","src/fs/seek_from.rs":"a9efa0feb9ac789cf47667e91efee2e3f2dcde16cb3b7a928c99da640fa0e0d6","src/fs/sendfile.rs":"e3b2058741cf4b1698f34d84bb37130cf2b72806d522a16fe541e832cde136cb","src/fs/statx.rs":"c5192f54311faeb5a8e7ba7da1acd4fa5a8f69f6c15c4d78b4b7a495d21d0864","src/fs/sync.rs":"a3b23543834281f347b0f873bd38154d31d404871188ac08f2b20b9196234cfd","src/fs/xattr.rs":"b976eece822f69e768d91e61d86ee990ea18097b20f7ebeedaaf718c61b48962","src/io/close.rs":"0aa3cd05a8fed8e5244f97b8b6c2e7f65ed93a4e5435c6329852bb3da7514440","src/io/dup.rs":"a8a59c5d345dc54c57ded890720c33eb78c4d53917c71e8bb6317f7ed122cb87","src/io/errno.rs":"58a4d20ba0924e4d514e3c876fbe08982f1623187642ae14780815e65989c8c8","src/io/fcntl.rs":"c0f7bd7fce1119b0c1d0085b7ab77d5df02470ae3e06035428a2452dacbec296","src/io/ioctl.rs":"a47a5ec14607142f2c2ffcb93d016b8e86c8b15ba94b56b35382b545db62ea34","src/io/is_read_write.rs":"1bfb9ee5d58e0b29b44af12fe2668c7bccc841358698dcde47f1519ff9bb73b4","src/io/mod.rs":"75f1d0646be1d4c7c08b5887d8119b0103be8c25c43ccd4e0e97015508c0bb8f","src/io/read_write.rs":"54ba528b11601af1338bb0c71a41b256a0033076d30b3946c3fd0bdfa61dd021","src/io_uring.rs":"61e6dce7a53ce141604b5f577e20ec5aa73a20e2c2101825c7c52396ba221886","src/ioctl/bsd.rs":"e33772530b1b2d1e7d61ce53d9267e68d88f7f5df13301f90412d89a46c6faaa","src/ioctl/linux.rs":"256aef9fb51c67cd7f43a581b702aa62757e3bdd7c38f71bf849f818194c2285","src/ioctl/mod.rs":"739a4f6d4e9a816745e42133c1b4c51c1285bf5cde3e1ee3ea72ef0b802e3806","src/ioctl/patterns.rs":"26dda154aabf67d45362d9378875f95c1593391ecbc62be02d187b7e19e7f9da","src/lib.rs":"7430fd1db444a72dc8f9b762f2fb61226dd00c89c7c932481e94958f60678383","src/maybe_polyfill/no_std/io/mod.rs":"77889bb5c5a4f2e50e38379cdaa5d0fef4b0cafc3da056735df01f6deae75747","src/maybe_polyfill/no_std/mod.rs":"ec94a4aab4bc475785e469d10fd6bc95667e1d47d958e9cff3a19049d88c8c80","src/maybe_polyfill/no_std/net/ip_addr.rs":"046327ee244f758f2bc31d3be305d8cd0dfd8342aac1add8259e999b4b46c4a7","src/maybe_polyfill/no_std/net/mod.rs":"b0ee611c454679226a15bf647e7779995f3fe9c8e0507930a0d0613eb414b7c2","src/maybe_polyfill/no_std/net/socket_addr.rs":"bfeb32d32c176cde76323abcffebfc47e9898fb8d7ce3668c602dc8451086a2d","src/maybe_polyfill/no_std/os/fd/mod.rs":"27ef0afbcb0695cbb15101070f417eb51e0ef85ae66ec967d95e80771d507c47","src/maybe_polyfill/no_std/os/fd/owned.rs":"ab86ffa2693a04f3085770faf395f95e5303001711be8b19c44a47a0ac574091","src/maybe_polyfill/no_std/os/fd/raw.rs":"f3648c7bd4a6ff94bd823ed9e0d99d398e02f24875cf9b25962736999e7c6943","src/maybe_polyfill/no_std/os/mod.rs":"27dab639a765827644005d5f2fcc7c825310606b889cc8dd83f54c9528350dc0","src/maybe_polyfill/no_std/os/windows/io/mod.rs":"5bbcc05c83fee5026dd744a994e0458469466d5be39081baa62df07753b92fd2","src/maybe_polyfill/no_std/os/windows/io/raw.rs":"4c32609a489dd938a49328b5637cb3bafb96437f2f9f269ab66d7d3cb90247f6","src/maybe_polyfill/no_std/os/windows/io/socket.rs":"c658f42f24eff44a661f2adfd24a11af80fe9897f3e2af4dc5d2c64808308d65","src/maybe_polyfill/no_std/os/windows/mod.rs":"fdb416f8f231a4e778b5f985b9ae712ece5e1a1402963ad1a5f6a8b9843795f4","src/maybe_polyfill/std/mod.rs":"7c16c86cc73e226e65ead598e4018238b22000a345040b706bf1e1b3eba115fc","src/mm/madvise.rs":"3c262b3713a73fafcedf1b04bb12c048bb11d47ca43c959e5dfa48c27651f4f0","src/mm/mmap.rs":"28523bceb2b7e3bc1207f351d8a1771867159e1b9ff1d9c37fbdc05aeb696b50","src/mm/mod.rs":"b3a6cb838986d45825b912355cedead761211a494ca6f89b2367a2d2157e340e","src/mm/msync.rs":"9dcfe5f54235e9314a595edb8d548ac79d222bbcc58bb3263cf7e96d603b23ad","src/mm/userfaultfd.rs":"8073443bd181ff0b3ba4d0b1ae67370b4864035a0c8b4898cd709dc47c518ae7","src/mount/fsopen.rs":"160e384e9175fd98669cda1cf3590bb195c2ba7e1c724e9ea06e692595e58ba1","src/mount/mod.rs":"5f0c9df4727592695deb1cd63ae1de021b03dcd9d0d1b68e1f34d12a7136cb19","src/mount/mount_unmount.rs":"8ad11675e5d762d33fbefbed06a6a9f9e52a9b689bd06662446152614321ab77","src/mount/types.rs":"601ae3e10b7dc496fed7f3b40a80e81c6edd7bf13189d7be45c3212d4c684c39","src/net/mod.rs":"a6bc55f9e086caf46a7c00783498d73a328a66f2a991f1ec65d5f13931377b0f","src/net/send_recv/mod.rs":"f33e39c7b228cd8109823b0a0a1aa397cddad504d49e69b36f74c5b84e5070e5","src/net/send_recv/msg.rs":"6a73e4fd2b78fbeb683f48bcd8404a362245c6cd66e0d59e6378467600b44268","src/net/socket.rs":"bc825a94831557bf4c2cabd8ef5ae21ffe0986c24f9ada564eefa66270f69ae9","src/net/socket_addr_any.rs":"a9af81e967a91b45e51aec4f46a068fade7035c5d19dfaf05bfdcd3b3c32e9bf","src/net/socketpair.rs":"56f4885c31d2664cd16e18a9a88792a4912fedd953cec36dba67e8581fd57921","src/net/sockopt.rs":"58fbabf73ede7afaeac279241ff874dcee5604f63b3f38e4435a61a354da2196","src/net/types.rs":"5914e786d6a24a6efc355023fd71a28bc29fc85fb672e5388370243fe83e4191","src/net/wsa.rs":"6e546b42f50a851fc833c57cda76cfb347203ed4b0dea574a3d325bf5a2ebf80","src/param/auxv.rs":"886e57d52adf0199b8146f849c2db1e3136c07fc4ec61f60dc781fea11070604","src/param/init.rs":"a31c0e5cea61a1a999767fe74f87c0d59eeb6bce66578b842fe0e0c32be27a55","src/param/mod.rs":"25b10acd5b1da8faa6f5204e6b0379b38bfab667916e886cca64bea01a42dec2","src/path/arg.rs":"b1329485ad525e8d067792b0890a1241c20f6c08d29f0661f2a9f429581a7818","src/path/dec_int.rs":"fad9793b89eac526953b994cbed6b614f01c25108f9763e19fb98029feda93a4","src/path/mod.rs":"6b1b949c94bcc47e0f08a3f8e8db5b61ff497d0dfd3e0655f51c01d3e4b7dfd6","src/pid.rs":"f1c486000c5b1311b2d720cee88f089c17ef9a171709673dd06e6f35f4ff98a3","src/pipe.rs":"fd021deeacf78790886ae03f1e8f0fe5a13909c7532b2246581667eb3d0483d7","src/prctl.rs":"c9daa9397460a27ed6e31fc454fc40dff83720312a002b66f4c178fc005379ec","src/process/chdir.rs":"6947b80d468d906d528de328f30fe7509acfe4976a0de3fa600a7cc39618c049","src/process/chroot.rs":"2b5f6124eb19f26ad2705174f7ad50cdc0a5d15abd59ffcf55421228d82130b4","src/process/exit.rs":"48de66e5504a00cb375d8f415ce63b6225a3f5204268d40726a7d0fbba43f587","src/process/id.rs":"e4733f9e8e4b5f50e98ef7a23802e126f1f14ece8b3d7ae7446c6a66affc6bc1","src/process/ioctl.rs":"23ad0285671e8d7ca71a63c50655dbf732ccea8af11d754a0558e0236db37e76","src/process/kill.rs":"7b879e5cff8a064acd0e7488f4e21bd4e4a8506ce380688b72cc48d283ff9c89","src/process/membarrier.rs":"d6c8821ec73019040c926f4e1018f399c286e87074ab9c6692370c88772af044","src/process/mod.rs":"0ef104be820068409648ed83739a51a7dcf07612088f9a6ed6c7ebdb6ad54092","src/process/pidfd.rs":"4be2fba21430ba84244e11c636c91201bc1d1dffff3e63a4da84cc96f501786b","src/process/pidfd_getfd.rs":"cbc42a1548280ae76c3c66e851fd53cc2a3d4c089cb5798c17a2cdf654f0e229","src/process/prctl.rs":"3396b39a0f161385f02f6a4a17db0a3fcd2d70f4d6d2e1d8d1b9091b36d5704c","src/process/priority.rs":"f135482e71ea8aa0daf92b9f238051178a4c904070fa8409622f94155df3c544","src/process/procctl.rs":"0ca2f5fd4cd39335c141758cac132a3271e318c688f8882e527f58c02d5ab0e2","src/process/rlimit.rs":"10b79de3ced0e64059a94c879742d46a35a6176c776d8eed75031d5e6340283d","src/process/sched.rs":"7c3bfc5be624e7d7f5e043c3ee0b0566fcab3d684d61c272e7b4233410ab1c42","src/process/sched_yield.rs":"6565faa3928b66ddc74a65e893e15edfa4b9be4f7e5f5f68527501a7f6bc3350","src/process/umask.rs":"1a0f31a842303c978e3f05ec191e2b5e96104c09c6596473b42b1fac34898a50","src/process/wait.rs":"cef08e74f5d87df925fa6a6acc95e8de0e689fb420ba514b9fbf94a9ca403465","src/procfs.rs":"63b286dd3302be7f426841eb3b9261ef4785c3159ed78c24734bd5094c9b0b2e","src/pty.rs":"ee697b226230b65c0432a42cd82b2fad885ca70285dbb0a7b8ec0ff81d23e3a0","src/rand/getrandom.rs":"1c8166a02a74f5593bb4673ef907524df04cbc1568020a5ab2ff7f4aa1283f8b","src/rand/mod.rs":"cab59332aadd9b679f5b22cbb222d48ee028af5eb9fd4a4d43922da659b895d7","src/runtime.rs":"9aed98071bf8124c6913e8517b28ef63c7b88001042f0522d877ab65ac88099a","src/shm.rs":"b96fe8a05ee5d4536464a8843a776d43a938abaf22c772fc35b5373d95644a8d","src/signal.rs":"c071b4f011deef19a679d7a832d5408a3cd68627161d6510008d6312266a2611","src/static_assertions.rs":"39986672f489949be1d6469f0c30fb7d2eaa21bdaa2702a8c150b2b150bf5535","src/stdio.rs":"a5de2d7d9c3c5a901f88b6acf4754687c958a2f3a93c7945c2b8fcb948d468af","src/system.rs":"e594c16b4600a8ebea01c5850cd9e1521acf242f1a9f083403cfe95adcde4679","src/termios/ioctl.rs":"a1ac967f7811a482f8bb53847c37c8359f518cd26da9df7b816ba678a0139623","src/termios/mod.rs":"b44b7caa60b6f458657ed58a0e0eca41bb4e6d6be4b0f042bbb8ab7056cebe4b","src/termios/tc.rs":"e41312d15464b83b2457c2502fc3f3b9998cfb02ba68739026dd4285cc7130ac","src/termios/tty.rs":"906ee160ffb5ba3a92ea3a61374cf2cd617cebae51f5490073b6700c438d5eee","src/termios/types.rs":"8c4f029e8dbb9b2c59082bd13d628a741f6f0a31f5ecf485c93795b73c1daeca","src/thread/clock.rs":"469326c822dfb63405ee8537552cedde0b344978280e6645bbadd47dedc71e18","src/thread/futex.rs":"985f9a0dce1e2a4892ae7f26bd1bf119ceae3f9fa6b4707e166624fc1cee76d4","src/thread/id.rs":"ad72db4fea9fccb728310bbfd01ef8c00f6cc60fa2a750f6349646a134f7009b","src/thread/libcap.rs":"a3e316e6d0f58b075125fa939b9b824e1595de20a23d341a36999416b0d10d36","src/thread/mod.rs":"98634ece0b882f123ad887017692f2a4d94a23a1dec278ed660b3497cac5cceb","src/thread/prctl.rs":"10e2878ef856557bc5bd24c77f5699266e746f912e73690980371cc99c7417e8","src/thread/setns.rs":"730badd8db8ce7b905767b341211f1226eeeb38019727bf994eb64f2531b7b7f","src/time/clock.rs":"e59a29f1bed8c31c3d5b6fad60f2d4fa6cab8dd8e86148bb3693a5e3a1ce735f","src/time/mod.rs":"43afee938c80d124d04d4ba190c03f4d21d1e3bfc154fff309211e4f6eabe940","src/time/timerfd.rs":"f17092b84553741aa2d2b44c6992b5d2c8c96cc2c2007fc9a2c6b2064485e53f","src/timespec.rs":"32a4d930cbc0f6dbd23153290db920671cf4ce65a4a127e176f897c1cde42d7d","src/ugid.rs":"6616c6e35b7e43aee5b150f1efae7a50711e0947943c9a96833dbe214ad9e85f","src/utils.rs":"9ae76f8a41d6cc350cdd58c9084b5c3a5a708eeecd769783debdbcbaef442182","src/weak.rs":"c7cf03bf2aeba494b1999ab32183fa8c603ab72e254c0e312a67f168877e410d"},"package":"745ecfa778e66b2b63c88a61cb36e0eea109e803b0b86bf9879fbc77c70e86ed"}
38\ No newline at end of file
39+{"files":{"CODE_OF_CONDUCT.md":"f210602311e3f74b32f46237fd55f4ce36d798e85e3db1432ec667f63a7ffc44","CONTRIBUTING.md":"3fd57de5c678db1c972da676a8231d2fde9820695ef1f0d53f1e55a3e81d9de0","COPYRIGHT":"377c2e7c53250cc5905c0b0532d35973392af16ffb9596a41d99d202cf3617c9","Cargo.toml":"c994094b77085196394cd7cc03161f4810af7da799cfb40c696973e912929a8f","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-Apache-2.0_WITH_LLVM-exception":"268872b9816f90fd8e85db5a28d33f8150ebb8dd016653fb39ef1f94f2686bc5","LICENSE-MIT":"23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3","ORG_CODE_OF_CONDUCT.md":"a62b69bf86e605ee1bcbb2f0a12ba79e4cebb6983a7b6491949750aecc4f2178","README.md":"58d2ee38dad64ff142e98872860b282b36a09076df537af57aba39d675d84a28","SECURITY.md":"4d75afb09dd28eb5982e3a1f768ee398d90204669ceef3240a16b31dcf04148a","benches/mod.rs":"e260e67273aa0a37cffdc5cd451699335b8ee656c17275a0d0f2b4563c6018ca","build.rs":"5f93559819ca7fe233f01579d51ff5b58cb6e96ef9e7817a3358a9b410d5bbf6","src/backend/libc/c.rs":"22550be154471f160ebfdb9e7b45a1e06452ec426a8d70b23a648a069c0216f4","src/backend/libc/conv.rs":"c4b4a6fdcf2f9295ab0498229a780942b031a2847ddf2466f90884bfb30255f8","src/backend/libc/event/epoll.rs":"f35eb0fddf9c4327551e1995f109a537f9899b9231e914671bdf26b616048370","src/backend/libc/event/mod.rs":"7f8547c599b8263eb791890bbe4a0b22fe2676d007ffdcc3e07b2e48d1c994db","src/backend/libc/event/poll_fd.rs":"06e2ce2fb30a45b90279ae753a67085e9f818a1b16d99cc92c525e2c46d61d51","src/backend/libc/event/syscalls.rs":"295a930521b345192caaf916b39189299f81f5f7c9f1aaed235baf3bf6f2f5fa","src/backend/libc/event/types.rs":"09e813690f44752708485e5a5ee59a43834a4a3e9577f2739b310c3ea8b4b64e","src/backend/libc/event/windows_syscalls.rs":"ebfac665c6676c4b803134ab8806be8aa2e96bdbc7799a19c544cd9069b35787","src/backend/libc/fs/dir.rs":"6f9526714c525e219399371d5acbe2666f0ac3ee88f73dc03fb31cf195ced95d","src/backend/libc/fs/inotify.rs":"f4e471484c4633dbb91c875ba8df87b687dd174cc45fdd2a1f717ffcb1591b00","src/backend/libc/fs/makedev.rs":"89c679a0ef18dd41b3c6223bce0f329ad35bf6cadbf16e47b33fad3f312ba4a6","src/backend/libc/fs/mod.rs":"576b6fcce723fcd5fc76637abd3b3565b00ca0bac309b63aecd6b8ee005fa81d","src/backend/libc/fs/syscalls.rs":"bba2a6a475fcd980f9352007f2b0b74b97abffe9d025e4c311e6f1f2f84eee3a","src/backend/libc/fs/types.rs":"20618e1a675fff5a8d2f08b4278425a3ec5c43d83518a5cbf3a934f135709a7a","src/backend/libc/io/errno.rs":"048d4350b9836fb9c9400127509705835a4992da86410e33a9e67cc43e22f35a","src/backend/libc/io/mod.rs":"746647bd864e4ec7717925b6d176cebdb392b7d015070244cc48d92780351dd6","src/backend/libc/io/syscalls.rs":"380d9be17ec7e46fdc24682aeae6410dcd8b10fd129090b479bb8ee405d9b5c6","src/backend/libc/io/types.rs":"8df53d41d72a39f334ed124707cb501e83b3624b769c80b78c62bd45179bc04a","src/backend/libc/io/windows_syscalls.rs":"fab3fa099aa89cea56a6edc651dd37750e581534f4f45b04a7e425f130b08468","src/backend/libc/io_uring/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/io_uring/syscalls.rs":"5af8146d5971c833e6fd657f652c618b31f854e1b0811864fba9b658cb633e19","src/backend/libc/mm/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/libc/mm/syscalls.rs":"9b7c383f8ef1e258800c9797abbcd45374b97b6680637b1a247cb93878213b5a","src/backend/libc/mm/types.rs":"a427ff490880e92f1ddaa4aea55bb3ff2f43bd29712a6af09b25be2984ecb3e1","src/backend/libc/mod.rs":"2b396834f47b8771d2274eaa2632fbecebc17316d20f26d5e94f060bb8796f7d","src/backend/libc/mount/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/libc/mount/syscalls.rs":"1bc87501a078616d0190d2e85de55f3f968b8cb79d49bd9eb839a350eed26089","src/backend/libc/mount/types.rs":"8e2b66822cd1148e5fe4023f5608f36afb0d47bad454db9560fbca4b0dbd2b6f","src/backend/libc/net/addr.rs":"b6644e0169c6681084704e9ca231863364d81e3d3cb5d3689e0df8acf7b4ec16","src/backend/libc/net/ext.rs":"0ec74196ace553c9bff355e2e35ad3b70cab46e32f8f7194715e4528fe1f54bc","src/backend/libc/net/mod.rs":"4e2d6c72bef19985a2935e7891288f0045d1ff1287ec50492882b4dfbaf0fea3","src/backend/libc/net/msghdr.rs":"f82825d40d8872e2e804cde32bbcc68bef43a5f48ad857fb1030550c4eb44838","src/backend/libc/net/read_sockaddr.rs":"af90cf19e2bebc04976b9ac97010c38db91dcd90fd81b48a14528d45be97fe20","src/backend/libc/net/send_recv.rs":"52ee998bc8422a074e5105607440631e569e531caa7d356157529c3ddb07b684","src/backend/libc/net/sockopt.rs":"c1e9974478f027d9053fed5b4f28e6dce49dd15f05e1ed574cb4eddf1be47b7c","src/backend/libc/net/syscalls.rs":"b876541609622003a9e8cd2787ecbb93b0a155cfd61914c043ac2401ed3fd923","src/backend/libc/net/write_sockaddr.rs":"14e941b5a11e4d7a17182860c47b1ee972b56ff7f0aadbcc6ab2c8740b13cea9","src/backend/libc/param/auxv.rs":"fdc85b7c33bcd05a16471e42eb4228c48c98c642443635ba5fc3e9a45438d6d3","src/backend/libc/param/mod.rs":"5234b8f1bcb886cca6ea003d411d75eaeebe58deedd80e3441354bf46ed85d4d","src/backend/libc/pid/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/pid/syscalls.rs":"49ea679b96c0741d048e82964038f9a931bc3cf3a0b59c7db3df89629b9c49e6","src/backend/libc/pipe/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/libc/pipe/syscalls.rs":"8affde100f6a9dfc762b79d1e48be5c1039be414f8ef7d5a6acaba882a68d259","src/backend/libc/pipe/types.rs":"1e797beb383bb2e4038f1de21bea204caec4a4922b25a6ef84dbbe6e953e78b0","src/backend/libc/prctl/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/prctl/syscalls.rs":"8a2684f444a7555098dce2b92270d81cefdae902716c6e5d59bd7b0657e8a29d","src/backend/libc/process/cpu_set.rs":"b3d36b01b53b0b6c61a20ed8a69d48eccdd90cc17f82f2926ef1e844f002d0b7","src/backend/libc/process/mod.rs":"d7dc401255bad2e55ffff365339cdc3aad306861d269ad727a817d3cd7763166","src/backend/libc/process/syscalls.rs":"17b7eab2e0ea2898d41ec4e0d2a84baf57eae9f6e3e016e6b74f0e174440cffb","src/backend/libc/process/types.rs":"c26796486e9f9e7bbc44715ecaac285eb808fd9a8c08d237b2ac19f34954d608","src/backend/libc/process/wait.rs":"0cc556aed976b4bbb3965f74fd76b8216c755fce25043b7b21ce54afa07c9773","src/backend/libc/pty/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/pty/syscalls.rs":"699a4c325fc590b8b5dabfe5a9ff386809be14dd24bf35aa6ef581b2bd75457b","src/backend/libc/rand/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/libc/rand/syscalls.rs":"78c7201e6bcb75e9cab9486d1878861319f865de2b2c46437be68690bd17bf13","src/backend/libc/rand/types.rs":"7763e6b40e4b9df825fdd2aa5ba1770da999137d04776561167116c58f8fa618","src/backend/libc/shm/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/libc/shm/syscalls.rs":"60d797d4e85e08e6330e6b8d80094356ce377e5484952f88ae2a6e49231c268c","src/backend/libc/shm/types.rs":"be4034353ab434568053260712fa5f55ed6d8a1a9fae64fa4fe1ea4f2e82120b","src/backend/libc/system/mod.rs":"38563ea68829ca5a4b1b0695ac8a5c05718e85bdc88a36dc805efdfce45d3909","src/backend/libc/system/syscalls.rs":"4c632a6d59fef0bb516d89f119f7f37aa18f8a75f63aeba73d71c464473874cb","src/backend/libc/system/types.rs":"6871e16aee14fe2ae03cea798c3e509ffe44778a9c0e5608fd73e2e015876d7e","src/backend/libc/termios/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/termios/syscalls.rs":"19c3a0cfd146ada30e04bfc6b8bc8cc2319890851c803fa0024ff05085137151","src/backend/libc/thread/futex.rs":"b666828653b12634bbd7fd709acf69641b648ec40962a1d4f904c5db14d2eff5","src/backend/libc/thread/mod.rs":"fa710053974d7f16a6c49242ee6c10a3b9e1143452b9daeaed8837302a679fff","src/backend/libc/thread/syscalls.rs":"120cb13fe7ffdef7a52ca1d141d31bf189176e9f5862f87bb171d54370a682a9","src/backend/libc/time/mod.rs":"38563ea68829ca5a4b1b0695ac8a5c05718e85bdc88a36dc805efdfce45d3909","src/backend/libc/time/syscalls.rs":"f82e0725c5af8a52e61ee83aad2c77694f2f7a72ac1e6eb284109a70ac6edc38","src/backend/libc/time/types.rs":"d4e55d2b9fb8de772c8bf5bba157472c49a12c25502e62a9c599a2e6d3196a5b","src/backend/libc/ugid/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/ugid/syscalls.rs":"8edf91b8790add23902c9f5418da6b0723a371677f29f490e0c8af852f0f1a0c","src/backend/libc/winsock_c.rs":"3bf3884fd250eca806ffdf96da68e29c133a697810b78b333ea449e523e58562","src/backend/linux_raw/arch/aarch64.rs":"2a255c9135bc8a321c180f52b88eb2b158bc9170cd222149caeae63c24587d44","src/backend/linux_raw/arch/arm.rs":"165bccb5883d0136e55d42091183765f83d86e9d37a7cb2cec9ae8af32774db6","src/backend/linux_raw/arch/mips.rs":"24af364aa93fd4b9917639d473336490a143f0d1723b09f388e72d534160ee51","src/backend/linux_raw/arch/mips32r6.rs":"e436a2ade34f2f7c58b8924462b07a2499dfc951e1e1318d51759444fb8b658e","src/backend/linux_raw/arch/mips64.rs":"897da9ddc877963ad59464d7f81dc59df8a7e91251e6adea14cfd946e2740a1c","src/backend/linux_raw/arch/mips64r6.rs":"3c08aea13c1139fb0dfbe74ca3d0147f007c3aa2eda641afb82c46f6aa4f6cd1","src/backend/linux_raw/arch/mod.rs":"37eaeea601d39be00d170856a31a8ec6a27b0d3ac22ab3ee642ab0e45dee237d","src/backend/linux_raw/arch/powerpc64.rs":"dfb001f8636a5e46d728900b0804fe6c374e5e18a6f0e76d7d62e0c07da74477","src/backend/linux_raw/arch/riscv64.rs":"41d33242d941030f46077dc2b1bc4c7913fe7630d693a5a7eef966bcf38f9d8b","src/backend/linux_raw/arch/thumb.rs":"2fd979ab421248c0a4c592bc0cefee63edc26528f469b71b63eaed35356e42e8","src/backend/linux_raw/arch/x86.rs":"81c73c0a13925854b54db754f533dec565b1db2d9586e210a2450c6f5915171d","src/backend/linux_raw/arch/x86_64.rs":"e929036a1f3cf93ba538f4523b241605cc7b5e61f84ffe6d9d5cdbcb6f73e543","src/backend/linux_raw/c.rs":"74cdf34fcd5bba9628c04585fa13721073e2bffe6740315c7655d1a55150230f","src/backend/linux_raw/conv.rs":"3b452e19c6b8285df205baa790e19f32061952ae7c7c4e39ba01726de6beb4fb","src/backend/linux_raw/event/epoll.rs":"18980136ee6d3e327d6c46a33306fa934a80eaee609a329098935569507440d0","src/backend/linux_raw/event/mod.rs":"72e46b04637e2d1d2a6b97af616144995399e489d1fe916faf835d72fc8c64cd","src/backend/linux_raw/event/poll_fd.rs":"78d040f7ce0574fc18cebf6b7766c210a3254abdbafe175f51c6b460fa19c514","src/backend/linux_raw/event/syscalls.rs":"8782cdf978bff0773bf5f35c1056d5c29a40742cf6f99d9606d951b52596cd34","src/backend/linux_raw/event/types.rs":"2ffdcb728587dbc25d302527f4a52296b96013d5199c946291b059ba4f7d466f","src/backend/linux_raw/fs/dir.rs":"c675dc5413428d2defd6752e99d210da83639779e853db209de6a1c08d35e0e7","src/backend/linux_raw/fs/inotify.rs":"42a6ed7b091eee20d7fd9becfea240deb99d0b8ca3e8e083cf365d484d8eeeeb","src/backend/linux_raw/fs/makedev.rs":"c6b4505c4bcbbc2460e80f3097eb15e2c8ef38d6c6e7abd78e39c53c372139e2","src/backend/linux_raw/fs/mod.rs":"8689e46f9c4c3e1190ae5fe39176c573cccac10b3739472128ca237f41e2686a","src/backend/linux_raw/fs/syscalls.rs":"a4512f58e2ef01bf0799c96fa7821284866b6826594642565f46d93e566e2e12","src/backend/linux_raw/fs/types.rs":"c015cf3cde945ad4a42ec706c6e1140c7342041ace1da6e0ef1bbf5e9e019ce2","src/backend/linux_raw/io/errno.rs":"8f15d735435b722466696094aed8b612b8526658ab7e079f386037cf8a3b1a6e","src/backend/linux_raw/io/mod.rs":"7ae2324427892cca6f5ab53858d847b165f790a72ec25f3d99fb15f0506c9f27","src/backend/linux_raw/io/syscalls.rs":"026f99b397ae521ac4b2ba41acec6547018073a9da5fa355aa8f9ac61298c172","src/backend/linux_raw/io/types.rs":"0cfffdc2fc9c33faa4055f9686db5922676f17d5c069362bae3745f39da3594a","src/backend/linux_raw/io_uring/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/io_uring/syscalls.rs":"0f7c9cb7ccddf5687e4b9e5b23558871a452a29ac6095a0184a06c47b9b18eb6","src/backend/linux_raw/mm/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/mm/syscalls.rs":"7d43752e8abaa8cec02cd3329e08303c56a9e6ac97aec447293397b9953c3ba3","src/backend/linux_raw/mm/types.rs":"4407b4b54c4048bb1d4e702575e20037c24483a22f6a5cfcc940e4738fcff381","src/backend/linux_raw/mod.rs":"bb26fe4783f834a4624c99ecf9e4ea8fa4d1c7fe9adfb6d7310fac689e7797bc","src/backend/linux_raw/mount/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/mount/syscalls.rs":"3947261b5d46b9737f02dc5352c3a3a35c63c461fd75bcd8ae6619dfc0bfb54d","src/backend/linux_raw/mount/types.rs":"8d39c4d6e555c88de5da3115a301562fafdcb3942aa69a0e01d42de8edb1c78f","src/backend/linux_raw/net/addr.rs":"fbb6c071a8ebc2c557c7013d36d4b540c1ff6ed63103d0a8abcacd8977fbf5c8","src/backend/linux_raw/net/mod.rs":"904b2ccd4228ebcda25db0223b92fb03e4042bcc7b0a202f19410a8a5ff517a5","src/backend/linux_raw/net/msghdr.rs":"3198339ccd00224aefdba74e9144818fe387222066a387a9dfd95fd8c48cf9d9","src/backend/linux_raw/net/read_sockaddr.rs":"24075ac4c05fab5fe44aae4445cdd12ec7e474f047150baa9b768741d6b9693d","src/backend/linux_raw/net/send_recv.rs":"85b1a78ecc920e919ce7a0a9f7ad79cba5ad09af4f53018df8c46c7c112bd7a9","src/backend/linux_raw/net/sockopt.rs":"2ea8625ecd68a799c14ed48dec2f3e01f085222b6cc36f4916b20143e08ae575","src/backend/linux_raw/net/syscalls.rs":"eb897e0074ec53c5b18594c39cbb9ec5bd796c9120bf029f0b05145a7eee1804","src/backend/linux_raw/net/write_sockaddr.rs":"0eeeb7ec8dadf95503a2f89fdc933b8f9c7e45e03fdb343ce490b6cc8eec0f96","src/backend/linux_raw/param/auxv.rs":"c1b1a628d6c51ce8adc981f58c6e08abba4a151356ff98cdbc0b3e75abeadb8a","src/backend/linux_raw/param/init.rs":"a5024f9afe361884f22fb4d65e632ccd8a60f1138ff6bd526df600d40e0d9b7e","src/backend/linux_raw/param/libc_auxv.rs":"e567f471ab21068141acb9fb2f88b9ba553f630945bc8f01b689955b48414512","src/backend/linux_raw/param/mod.rs":"2e6a1a1c00351b9c88bd615aa923f71d76208df5626dd9bea03067f28f81dc31","src/backend/linux_raw/pid/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/pid/syscalls.rs":"eef6aa01830ddd510b83f507da2002c03e58318b73744be2c06ebbe33c4f194f","src/backend/linux_raw/pipe/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/pipe/syscalls.rs":"366c730fc3e991bddb9f5a15b8c3917a8e6ace6d1d5a9113b2749e476faf6f83","src/backend/linux_raw/pipe/types.rs":"9d4bd3da7cd078d42574ad7d6b7554e301a1a7e97b292a77993a6d263726ef1e","src/backend/linux_raw/prctl/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/prctl/syscalls.rs":"a18b224307e0d27bda9b7b85c75cd6c7ddfe39f5ce52efb7bb0bf0585b757343","src/backend/linux_raw/process/cpu_set.rs":"dfdcbdf35aff6a3e08e7d38193bf18c12ca8aa64eb0dc417667be82dcc0f7c55","src/backend/linux_raw/process/mod.rs":"fb393c70a9c63ef9a6bf1fb5a2dc94f07d6b0b6987cc5231c15c607015dafd68","src/backend/linux_raw/process/syscalls.rs":"3730c155663d727d5b239f57f220727ef33dd257e74a1b697274de0f94e1da79","src/backend/linux_raw/process/types.rs":"6811ba822bc12a1a6336649151b4adb1f5d3365684a31c07f01953ea9547743d","src/backend/linux_raw/process/wait.rs":"921aee4b0048746087f52615a98edc2aa0fb4b53d6df44be4533098df55d1b05","src/backend/linux_raw/pty/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/pty/syscalls.rs":"ae09c4aecc0ae87b1ca58d82efc58007b9dddaae78460d615f48da19d1cd0f89","src/backend/linux_raw/rand/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/rand/syscalls.rs":"a84f70251672e92f253838bf05e989434f67373233e88d21d8835cbb792b1fe3","src/backend/linux_raw/rand/types.rs":"b7217c98f2da4ecf89225f36eb52c396ba2a73debdeca739ba864a9030b6a23d","src/backend/linux_raw/reg.rs":"39b6234971122d247054bda8c2dc3b44493be30482635baa9e2fcbe048e78cbd","src/backend/linux_raw/runtime/mod.rs":"b2cae8cce3822c3c92942f06ea0b68464040dcac33c6f0f7ee392c6269993347","src/backend/linux_raw/runtime/syscalls.rs":"fc9c9edbe07dd7644ab75c51a1597a31467a3421301503a072bef93e6df07643","src/backend/linux_raw/runtime/tls.rs":"6316060560a112c2e9cd9807cdba6e8c91414113a04a739160929ae9a67bba1f","src/backend/linux_raw/shm/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/shm/syscalls.rs":"3ebf91610b02de0312e1f0f0cc5d56e12b4d93794540087b3182cbdf3cb9c8db","src/backend/linux_raw/shm/types.rs":"76f587e0edc78e3b780b66ddf9bdf56d5bcb57822111e9f8f66a7eec07c2c0fa","src/backend/linux_raw/system/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/system/syscalls.rs":"2af6c2672a6528b404b52f501d9803a63e9f47886d3b5d2d2dc5a71cefa7327a","src/backend/linux_raw/system/types.rs":"1ceab8d738a71043473b26e97fa3fd79d588a86d4774cbc9b9e1d4f1447a016e","src/backend/linux_raw/termios/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/termios/syscalls.rs":"01c4c8028595d8f53197ac3f2accb83057cb80fb5f78db63bbf85eb46d40e1c9","src/backend/linux_raw/thread/futex.rs":"0aa0f9f5be6a79de81e82c9f11f1bf8831f682a4b2f6cb29669e1591636f084e","src/backend/linux_raw/thread/mod.rs":"6ad4a4b90b9234e79900b27ebbe8837e3a7a36aec532912e3e253edce5225067","src/backend/linux_raw/thread/syscalls.rs":"0e3dca63be7322e1e9c58456b28eb8548abb9f08b4436b87b139e891c01c446d","src/backend/linux_raw/time/mod.rs":"672724f55b7b7be6a7452bb1cc2d28b5f0aaa840a2856fe363acce624e1beefc","src/backend/linux_raw/time/syscalls.rs":"451da0bbb66accdf58ee7f2f8746a93b22ee985907a08717a3d3b1650457d878","src/backend/linux_raw/time/types.rs":"56cb936dc36af759e06d0b7bcfa7db02818dff6084c1d1d9a538a6d5945032d5","src/backend/linux_raw/ugid/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/ugid/syscalls.rs":"8c86d251db33b399a1d1cbb8e87afe650b78db84f444d3251309b7a0480b54f7","src/backend/linux_raw/vdso.rs":"056314f72c71d4b041739337ca2098afb7fe070f844327f462c293f43481b75b","src/backend/linux_raw/vdso_wrappers.rs":"6bd4b8c15761e16defff7d2eed18c008c9f980ebee6c9bdc2e104b16b9b7c631","src/bitcast.rs":"e21c87c292c781b27256c6f5dcf9fd52dd69ed6e21016cbd67ac31a8219ebf8e","src/check_types.rs":"bc31f9b293bfbf272284ed4d0da24e941206a1ac3f18d3abb0b1a61f1ede1dae","src/clockid.rs":"1d2e1cfcf23160b55d6b046d235edf2eb2408f072a8bdef3e3a3871885abdd5a","src/cstr.rs":"41af2a4429fe6c67a8883f8a8f63d66c90df566abda74fd2b03bcef7b9f24218","src/event/eventfd.rs":"81cbd08f7bdf40a6ce1ca692b63da1dc8ba925282990668d9d68f1203e839fa1","src/event/kqueue.rs":"f13f40b97c4413902115408fc2f340e7c82bba42d2468015b007e8ac6ef23132","src/event/mod.rs":"326a7ddfeb33bb95dd31391d65f400fa622e5d0ab827c096cab16af4b6843b51","src/event/poll.rs":"0ee583dbd457a573a82a06c04a2a24bd2c76e751d27a435507d55338e2871327","src/event/port.rs":"4e51ff150e5d17cbd44aa64a38b99c15e26eaaf2e350768b5dcacdfde4fa5212","src/ffi.rs":"c2b8b38c02d72749aceb715c496726caba1f1fa989ad3856d0103a2fafed89ed","src/fs/abs.rs":"6f0b57878f61c009fd0a3698a3983aa8076ba4fe3b5c28feec0307d65a77891c","src/fs/at.rs":"9b5f35afcaca9dd19d501cee3ad305b1d1c1b588c5fd925b18b6d3b614f05011","src/fs/constants.rs":"24076a01f8bfc126b0905e9bc0521d2c3a3abc6c3b8c86ddb1e545070d097127","src/fs/copy_file_range.rs":"d3b644374390d482b2ff749a2459458872b57d0dcf9670368739b7833509a7c2","src/fs/cwd.rs":"9f429a79ace6e17455634da09216ee0ad3d067a4541518b3193ae6a8d9ff1e26","src/fs/dir.rs":"347a52f4ca9ac6321c52e802e97ec90d1b4c62ec955c8996fc17f8f5aed69966","src/fs/fadvise.rs":"beef66ebe1310fb92628240b2cde68f744c78e50f6ff61bb1404bd4868d9cae8","src/fs/fcntl.rs":"2085102d05d0ba963e100ab3e3f19dac4ff27d142fbf798626d20a2a596ba96d","src/fs/fcntl_apple.rs":"e2f23f038083621bcdecc98d02ce1023508afaecdb2ed0fba5c8b70f955301e5","src/fs/fcopyfile.rs":"ec95929cbbe02cf49233a785e5238931bb107b7903cc5bc95e4231de960995f2","src/fs/fd.rs":"68d19bb99da0444444acbafd27ba10a69fc2ac35ede4e0106ac2043c30ce4f8f","src/fs/file_type.rs":"fefd865f91011f66126213b0994773d99e373b468c31e866002228c98c64ad85","src/fs/getpath.rs":"28f6970fc1bbc37bb35c84724b59eac436ea7407a4522e18c2bdacb1fdd2edd9","src/fs/id.rs":"1b5c8a8baf9a9bb1f895f97189cea4e5982a0d35b192afeec6340a6c6222e0cb","src/fs/ioctl.rs":"71327efab1e73c7844c681ea7e822b5124738196b2fc687aabc786b90be9fe32","src/fs/makedev.rs":"85520b484cb7c15ab71ea1c368578ea3b7e484d82f8510db92b6ce9f7ca341ae","src/fs/memfd_create.rs":"15a8f28e040cffd8c24c7903483440f88853b2e538ad48d80f3c00b4b2befdea","src/fs/mod.rs":"ecd20bf01d651b1866b198c4fc0dc8e7d681eb581e28708c8a0abd062de137ce","src/fs/mount.rs":"8f6ea2b997dd83c50c90291b9ada3ed77a9ce1ad701c9b0d533b5113b317be5b","src/fs/openat2.rs":"4a95c15dab533a41201b5fa25c8a212956b7571d58cad696bdaf45af8aef96db","src/fs/raw_dir.rs":"18ad797876d6230c38d4cacbed081c4028e03ace477d0520d9b226b40de942f0","src/fs/seek_from.rs":"a9efa0feb9ac789cf47667e91efee2e3f2dcde16cb3b7a928c99da640fa0e0d6","src/fs/sendfile.rs":"e3b2058741cf4b1698f34d84bb37130cf2b72806d522a16fe541e832cde136cb","src/fs/statx.rs":"c5192f54311faeb5a8e7ba7da1acd4fa5a8f69f6c15c4d78b4b7a495d21d0864","src/fs/sync.rs":"a3b23543834281f347b0f873bd38154d31d404871188ac08f2b20b9196234cfd","src/fs/xattr.rs":"b976eece822f69e768d91e61d86ee990ea18097b20f7ebeedaaf718c61b48962","src/io/close.rs":"0aa3cd05a8fed8e5244f97b8b6c2e7f65ed93a4e5435c6329852bb3da7514440","src/io/dup.rs":"a8a59c5d345dc54c57ded890720c33eb78c4d53917c71e8bb6317f7ed122cb87","src/io/errno.rs":"58a4d20ba0924e4d514e3c876fbe08982f1623187642ae14780815e65989c8c8","src/io/fcntl.rs":"c0f7bd7fce1119b0c1d0085b7ab77d5df02470ae3e06035428a2452dacbec296","src/io/ioctl.rs":"a47a5ec14607142f2c2ffcb93d016b8e86c8b15ba94b56b35382b545db62ea34","src/io/is_read_write.rs":"1bfb9ee5d58e0b29b44af12fe2668c7bccc841358698dcde47f1519ff9bb73b4","src/io/mod.rs":"75f1d0646be1d4c7c08b5887d8119b0103be8c25c43ccd4e0e97015508c0bb8f","src/io/read_write.rs":"54ba528b11601af1338bb0c71a41b256a0033076d30b3946c3fd0bdfa61dd021","src/io_uring.rs":"61e6dce7a53ce141604b5f577e20ec5aa73a20e2c2101825c7c52396ba221886","src/ioctl/bsd.rs":"e33772530b1b2d1e7d61ce53d9267e68d88f7f5df13301f90412d89a46c6faaa","src/ioctl/linux.rs":"256aef9fb51c67cd7f43a581b702aa62757e3bdd7c38f71bf849f818194c2285","src/ioctl/mod.rs":"739a4f6d4e9a816745e42133c1b4c51c1285bf5cde3e1ee3ea72ef0b802e3806","src/ioctl/patterns.rs":"26dda154aabf67d45362d9378875f95c1593391ecbc62be02d187b7e19e7f9da","src/lib.rs":"7430fd1db444a72dc8f9b762f2fb61226dd00c89c7c932481e94958f60678383","src/maybe_polyfill/no_std/io/mod.rs":"77889bb5c5a4f2e50e38379cdaa5d0fef4b0cafc3da056735df01f6deae75747","src/maybe_polyfill/no_std/mod.rs":"ec94a4aab4bc475785e469d10fd6bc95667e1d47d958e9cff3a19049d88c8c80","src/maybe_polyfill/no_std/net/ip_addr.rs":"046327ee244f758f2bc31d3be305d8cd0dfd8342aac1add8259e999b4b46c4a7","src/maybe_polyfill/no_std/net/mod.rs":"b0ee611c454679226a15bf647e7779995f3fe9c8e0507930a0d0613eb414b7c2","src/maybe_polyfill/no_std/net/socket_addr.rs":"bfeb32d32c176cde76323abcffebfc47e9898fb8d7ce3668c602dc8451086a2d","src/maybe_polyfill/no_std/os/fd/mod.rs":"27ef0afbcb0695cbb15101070f417eb51e0ef85ae66ec967d95e80771d507c47","src/maybe_polyfill/no_std/os/fd/owned.rs":"ab86ffa2693a04f3085770faf395f95e5303001711be8b19c44a47a0ac574091","src/maybe_polyfill/no_std/os/fd/raw.rs":"f3648c7bd4a6ff94bd823ed9e0d99d398e02f24875cf9b25962736999e7c6943","src/maybe_polyfill/no_std/os/mod.rs":"27dab639a765827644005d5f2fcc7c825310606b889cc8dd83f54c9528350dc0","src/maybe_polyfill/no_std/os/windows/io/mod.rs":"5bbcc05c83fee5026dd744a994e0458469466d5be39081baa62df07753b92fd2","src/maybe_polyfill/no_std/os/windows/io/raw.rs":"4c32609a489dd938a49328b5637cb3bafb96437f2f9f269ab66d7d3cb90247f6","src/maybe_polyfill/no_std/os/windows/io/socket.rs":"c658f42f24eff44a661f2adfd24a11af80fe9897f3e2af4dc5d2c64808308d65","src/maybe_polyfill/no_std/os/windows/mod.rs":"fdb416f8f231a4e778b5f985b9ae712ece5e1a1402963ad1a5f6a8b9843795f4","src/maybe_polyfill/std/mod.rs":"7c16c86cc73e226e65ead598e4018238b22000a345040b706bf1e1b3eba115fc","src/mm/madvise.rs":"3c262b3713a73fafcedf1b04bb12c048bb11d47ca43c959e5dfa48c27651f4f0","src/mm/mmap.rs":"28523bceb2b7e3bc1207f351d8a1771867159e1b9ff1d9c37fbdc05aeb696b50","src/mm/mod.rs":"b3a6cb838986d45825b912355cedead761211a494ca6f89b2367a2d2157e340e","src/mm/msync.rs":"9dcfe5f54235e9314a595edb8d548ac79d222bbcc58bb3263cf7e96d603b23ad","src/mm/userfaultfd.rs":"8073443bd181ff0b3ba4d0b1ae67370b4864035a0c8b4898cd709dc47c518ae7","src/mount/fsopen.rs":"160e384e9175fd98669cda1cf3590bb195c2ba7e1c724e9ea06e692595e58ba1","src/mount/mod.rs":"5f0c9df4727592695deb1cd63ae1de021b03dcd9d0d1b68e1f34d12a7136cb19","src/mount/mount_unmount.rs":"8ad11675e5d762d33fbefbed06a6a9f9e52a9b689bd06662446152614321ab77","src/mount/types.rs":"601ae3e10b7dc496fed7f3b40a80e81c6edd7bf13189d7be45c3212d4c684c39","src/net/mod.rs":"a6bc55f9e086caf46a7c00783498d73a328a66f2a991f1ec65d5f13931377b0f","src/net/send_recv/mod.rs":"f33e39c7b228cd8109823b0a0a1aa397cddad504d49e69b36f74c5b84e5070e5","src/net/send_recv/msg.rs":"6a73e4fd2b78fbeb683f48bcd8404a362245c6cd66e0d59e6378467600b44268","src/net/socket.rs":"bc825a94831557bf4c2cabd8ef5ae21ffe0986c24f9ada564eefa66270f69ae9","src/net/socket_addr_any.rs":"a9af81e967a91b45e51aec4f46a068fade7035c5d19dfaf05bfdcd3b3c32e9bf","src/net/socketpair.rs":"56f4885c31d2664cd16e18a9a88792a4912fedd953cec36dba67e8581fd57921","src/net/sockopt.rs":"58fbabf73ede7afaeac279241ff874dcee5604f63b3f38e4435a61a354da2196","src/net/types.rs":"5914e786d6a24a6efc355023fd71a28bc29fc85fb672e5388370243fe83e4191","src/net/wsa.rs":"6e546b42f50a851fc833c57cda76cfb347203ed4b0dea574a3d325bf5a2ebf80","src/param/auxv.rs":"886e57d52adf0199b8146f849c2db1e3136c07fc4ec61f60dc781fea11070604","src/param/init.rs":"a31c0e5cea61a1a999767fe74f87c0d59eeb6bce66578b842fe0e0c32be27a55","src/param/mod.rs":"25b10acd5b1da8faa6f5204e6b0379b38bfab667916e886cca64bea01a42dec2","src/path/arg.rs":"b1329485ad525e8d067792b0890a1241c20f6c08d29f0661f2a9f429581a7818","src/path/dec_int.rs":"fad9793b89eac526953b994cbed6b614f01c25108f9763e19fb98029feda93a4","src/path/mod.rs":"6b1b949c94bcc47e0f08a3f8e8db5b61ff497d0dfd3e0655f51c01d3e4b7dfd6","src/pid.rs":"f1c486000c5b1311b2d720cee88f089c17ef9a171709673dd06e6f35f4ff98a3","src/pipe.rs":"fd021deeacf78790886ae03f1e8f0fe5a13909c7532b2246581667eb3d0483d7","src/prctl.rs":"c9daa9397460a27ed6e31fc454fc40dff83720312a002b66f4c178fc005379ec","src/process/chdir.rs":"6947b80d468d906d528de328f30fe7509acfe4976a0de3fa600a7cc39618c049","src/process/chroot.rs":"2b5f6124eb19f26ad2705174f7ad50cdc0a5d15abd59ffcf55421228d82130b4","src/process/exit.rs":"48de66e5504a00cb375d8f415ce63b6225a3f5204268d40726a7d0fbba43f587","src/process/id.rs":"e4733f9e8e4b5f50e98ef7a23802e126f1f14ece8b3d7ae7446c6a66affc6bc1","src/process/ioctl.rs":"23ad0285671e8d7ca71a63c50655dbf732ccea8af11d754a0558e0236db37e76","src/process/kill.rs":"7b879e5cff8a064acd0e7488f4e21bd4e4a8506ce380688b72cc48d283ff9c89","src/process/membarrier.rs":"d6c8821ec73019040c926f4e1018f399c286e87074ab9c6692370c88772af044","src/process/mod.rs":"0ef104be820068409648ed83739a51a7dcf07612088f9a6ed6c7ebdb6ad54092","src/process/pidfd.rs":"4be2fba21430ba84244e11c636c91201bc1d1dffff3e63a4da84cc96f501786b","src/process/pidfd_getfd.rs":"cbc42a1548280ae76c3c66e851fd53cc2a3d4c089cb5798c17a2cdf654f0e229","src/process/prctl.rs":"3396b39a0f161385f02f6a4a17db0a3fcd2d70f4d6d2e1d8d1b9091b36d5704c","src/process/priority.rs":"f135482e71ea8aa0daf92b9f238051178a4c904070fa8409622f94155df3c544","src/process/procctl.rs":"0ca2f5fd4cd39335c141758cac132a3271e318c688f8882e527f58c02d5ab0e2","src/process/rlimit.rs":"10b79de3ced0e64059a94c879742d46a35a6176c776d8eed75031d5e6340283d","src/process/sched.rs":"7c3bfc5be624e7d7f5e043c3ee0b0566fcab3d684d61c272e7b4233410ab1c42","src/process/sched_yield.rs":"6565faa3928b66ddc74a65e893e15edfa4b9be4f7e5f5f68527501a7f6bc3350","src/process/umask.rs":"1a0f31a842303c978e3f05ec191e2b5e96104c09c6596473b42b1fac34898a50","src/process/wait.rs":"cef08e74f5d87df925fa6a6acc95e8de0e689fb420ba514b9fbf94a9ca403465","src/procfs.rs":"63b286dd3302be7f426841eb3b9261ef4785c3159ed78c24734bd5094c9b0b2e","src/pty.rs":"ee697b226230b65c0432a42cd82b2fad885ca70285dbb0a7b8ec0ff81d23e3a0","src/rand/getrandom.rs":"1c8166a02a74f5593bb4673ef907524df04cbc1568020a5ab2ff7f4aa1283f8b","src/rand/mod.rs":"cab59332aadd9b679f5b22cbb222d48ee028af5eb9fd4a4d43922da659b895d7","src/runtime.rs":"9aed98071bf8124c6913e8517b28ef63c7b88001042f0522d877ab65ac88099a","src/shm.rs":"b96fe8a05ee5d4536464a8843a776d43a938abaf22c772fc35b5373d95644a8d","src/signal.rs":"c071b4f011deef19a679d7a832d5408a3cd68627161d6510008d6312266a2611","src/static_assertions.rs":"39986672f489949be1d6469f0c30fb7d2eaa21bdaa2702a8c150b2b150bf5535","src/stdio.rs":"a5de2d7d9c3c5a901f88b6acf4754687c958a2f3a93c7945c2b8fcb948d468af","src/system.rs":"e594c16b4600a8ebea01c5850cd9e1521acf242f1a9f083403cfe95adcde4679","src/termios/ioctl.rs":"a1ac967f7811a482f8bb53847c37c8359f518cd26da9df7b816ba678a0139623","src/termios/mod.rs":"b44b7caa60b6f458657ed58a0e0eca41bb4e6d6be4b0f042bbb8ab7056cebe4b","src/termios/tc.rs":"e41312d15464b83b2457c2502fc3f3b9998cfb02ba68739026dd4285cc7130ac","src/termios/tty.rs":"906ee160ffb5ba3a92ea3a61374cf2cd617cebae51f5490073b6700c438d5eee","src/termios/types.rs":"8c4f029e8dbb9b2c59082bd13d628a741f6f0a31f5ecf485c93795b73c1daeca","src/thread/clock.rs":"469326c822dfb63405ee8537552cedde0b344978280e6645bbadd47dedc71e18","src/thread/futex.rs":"985f9a0dce1e2a4892ae7f26bd1bf119ceae3f9fa6b4707e166624fc1cee76d4","src/thread/id.rs":"ad72db4fea9fccb728310bbfd01ef8c00f6cc60fa2a750f6349646a134f7009b","src/thread/libcap.rs":"a3e316e6d0f58b075125fa939b9b824e1595de20a23d341a36999416b0d10d36","src/thread/mod.rs":"98634ece0b882f123ad887017692f2a4d94a23a1dec278ed660b3497cac5cceb","src/thread/prctl.rs":"10e2878ef856557bc5bd24c77f5699266e746f912e73690980371cc99c7417e8","src/thread/setns.rs":"730badd8db8ce7b905767b341211f1226eeeb38019727bf994eb64f2531b7b7f","src/time/clock.rs":"e59a29f1bed8c31c3d5b6fad60f2d4fa6cab8dd8e86148bb3693a5e3a1ce735f","src/time/mod.rs":"43afee938c80d124d04d4ba190c03f4d21d1e3bfc154fff309211e4f6eabe940","src/time/timerfd.rs":"f17092b84553741aa2d2b44c6992b5d2c8c96cc2c2007fc9a2c6b2064485e53f","src/timespec.rs":"32a4d930cbc0f6dbd23153290db920671cf4ce65a4a127e176f897c1cde42d7d","src/ugid.rs":"6616c6e35b7e43aee5b150f1efae7a50711e0947943c9a96833dbe214ad9e85f","src/utils.rs":"9ae76f8a41d6cc350cdd58c9084b5c3a5a708eeecd769783debdbcbaef442182","src/weak.rs":"c7cf03bf2aeba494b1999ab32183fa8c603ab72e254c0e312a67f168877e410d"},"package":"745ecfa778e66b2b63c88a61cb36e0eea109e803b0b86bf9879fbc77c70e86ed"}
40--- a/vendor/rustix-0.38.19/src/fs/ioctl.rs
41+++ b/vendor/rustix-0.38.19/src/fs/ioctl.rs
42@@ -48,7 +48,7 @@ pub fn ioctl_blkpbszget<Fd: AsFd>(fd: Fd
43 /// - [Linux]
44 ///
45 /// [Linux]: https://man7.org/linux/man-pages/man2/ioctl_ficlone.2.html
46-#[cfg(all(linux_kernel, not(any(target_arch = "sparc", target_arch = "sparc64"))))]
47+#[cfg(all(linux_kernel, not(any(target_arch = "sparc", target_arch = "sparc64", target_arch = "riscv32"))))]
48 #[inline]
49 #[doc(alias = "FICLONE")]
50 pub fn ioctl_ficlone<Fd: AsFd, SrcFd: AsFd>(fd: Fd, src_fd: SrcFd) -> io::Result<()> {
51@@ -77,7 +77,7 @@ unsafe impl ioctl::Ioctl for Ficlone<'_>
52 type Output = ();
53
54 const IS_MUTATING: bool = false;
55- const OPCODE: ioctl::Opcode = ioctl::Opcode::old(c::FICLONE as ioctl::RawOpcode);
56+ const OPCODE: ioctl::Opcode = ioctl::Opcode::old(linux_raw_sys::ioctl::FICLONE as ioctl::RawOpcode);
57
58 fn as_ptr(&mut self) -> *mut c::c_void {
59 self.0.as_raw_fd() as *mut c::c_void
60--- a/vendor/rustix-0.38.19/src/backend/libc/c.rs
61+++ b/vendor/rustix-0.38.19/src/backend/libc/c.rs
62@@ -6,6 +6,8 @@
63 // things below.
64 pub(crate) use libc::*;
65
66+use linux_raw_sys::ioctl::FICLONE;
67+
68 /// `PROC_SUPER_MAGIC`—The magic number for the procfs filesystem.
69 #[cfg(all(linux_kernel, target_env = "musl"))]
70 pub(crate) const PROC_SUPER_MAGIC: u32 = 0x0000_9fa0;
diff --git a/meta/recipes-devtools/rust/files/rv32-missing-syscalls.patch b/meta/recipes-devtools/rust/files/rv32-missing-syscalls.patch
deleted file mode 100644
index ccadbb9b91..0000000000
--- a/meta/recipes-devtools/rust/files/rv32-missing-syscalls.patch
+++ /dev/null
@@ -1,1503 +0,0 @@
1Backport rv32 support
2
3Upstream-Status: Backport [https://github.com/sunfishcode/linux-raw-sys/commit/6f86540e73bd45c9d13730ba0121d1820db0eeee]
4Signed-off-by: Khem Raj <raj.khem@gmail.com>
5--- a/vendor/linux-raw-sys/src/riscv32/ioctl.rs
6+++ b/vendor/linux-raw-sys/src/riscv32/ioctl.rs
7@@ -1,3 +1,1489 @@
8 /* automatically generated by rust-bindgen 0.66.1 */
9
10-
11+pub const FIONREAD: u32 = 21531;
12+pub const FIONBIO: u32 = 21537;
13+pub const FIOCLEX: u32 = 21585;
14+pub const FIONCLEX: u32 = 21584;
15+pub const FIOASYNC: u32 = 21586;
16+pub const FIOQSIZE: u32 = 21600;
17+pub const TCXONC: u32 = 21514;
18+pub const TCFLSH: u32 = 21515;
19+pub const TIOCSCTTY: u32 = 21518;
20+pub const TIOCSPGRP: u32 = 21520;
21+pub const TIOCOUTQ: u32 = 21521;
22+pub const TIOCSTI: u32 = 21522;
23+pub const TIOCSWINSZ: u32 = 21524;
24+pub const TIOCMGET: u32 = 21525;
25+pub const TIOCMBIS: u32 = 21526;
26+pub const TIOCMBIC: u32 = 21527;
27+pub const TIOCMSET: u32 = 21528;
28+pub const TIOCSSOFTCAR: u32 = 21530;
29+pub const TIOCLINUX: u32 = 21532;
30+pub const TIOCCONS: u32 = 21533;
31+pub const TIOCSSERIAL: u32 = 21535;
32+pub const TIOCPKT: u32 = 21536;
33+pub const TIOCNOTTY: u32 = 21538;
34+pub const TIOCSETD: u32 = 21539;
35+pub const TIOCSBRK: u32 = 21543;
36+pub const TIOCCBRK: u32 = 21544;
37+pub const TIOCSRS485: u32 = 21551;
38+pub const TIOCSPTLCK: u32 = 1074025521;
39+pub const TIOCSIG: u32 = 1074025526;
40+pub const TIOCVHANGUP: u32 = 21559;
41+pub const TIOCSERCONFIG: u32 = 21587;
42+pub const TIOCSERGWILD: u32 = 21588;
43+pub const TIOCSERSWILD: u32 = 21589;
44+pub const TIOCSLCKTRMIOS: u32 = 21591;
45+pub const TIOCSERGSTRUCT: u32 = 21592;
46+pub const TIOCSERGETLSR: u32 = 21593;
47+pub const TIOCSERGETMULTI: u32 = 21594;
48+pub const TIOCSERSETMULTI: u32 = 21595;
49+pub const TIOCMIWAIT: u32 = 21596;
50+pub const TCGETS: u32 = 21505;
51+pub const TCGETA: u32 = 21509;
52+pub const TCSBRK: u32 = 21513;
53+pub const TCSBRKP: u32 = 21541;
54+pub const TCSETA: u32 = 21510;
55+pub const TCSETAF: u32 = 21512;
56+pub const TCSETAW: u32 = 21511;
57+pub const TIOCEXCL: u32 = 21516;
58+pub const TIOCNXCL: u32 = 21517;
59+pub const TIOCGDEV: u32 = 2147767346;
60+pub const TIOCGEXCL: u32 = 2147767360;
61+pub const TIOCGICOUNT: u32 = 21597;
62+pub const TIOCGLCKTRMIOS: u32 = 21590;
63+pub const TIOCGPGRP: u32 = 21519;
64+pub const TIOCGPKT: u32 = 2147767352;
65+pub const TIOCGPTLCK: u32 = 2147767353;
66+pub const TIOCGPTN: u32 = 2147767344;
67+pub const TIOCGPTPEER: u32 = 21569;
68+pub const TIOCGRS485: u32 = 21550;
69+pub const TIOCGSERIAL: u32 = 21534;
70+pub const TIOCGSID: u32 = 21545;
71+pub const TIOCGSOFTCAR: u32 = 21529;
72+pub const TIOCGWINSZ: u32 = 21523;
73+pub const TCGETS2: u32 = 2150388778;
74+pub const TCGETX: u32 = 21554;
75+pub const TCSETS: u32 = 21506;
76+pub const TCSETS2: u32 = 1076646955;
77+pub const TCSETSF: u32 = 21508;
78+pub const TCSETSF2: u32 = 1076646957;
79+pub const TCSETSW: u32 = 21507;
80+pub const TCSETSW2: u32 = 1076646956;
81+pub const TCSETX: u32 = 21555;
82+pub const TCSETXF: u32 = 21556;
83+pub const TCSETXW: u32 = 21557;
84+pub const TIOCGETD: u32 = 21540;
85+pub const MTIOCGET: u32 = 2150657282;
86+pub const BLKSSZGET: u32 = 4712;
87+pub const BLKPBSZGET: u32 = 4731;
88+pub const BLKROSET: u32 = 4701;
89+pub const BLKROGET: u32 = 4702;
90+pub const BLKRRPART: u32 = 4703;
91+pub const BLKGETSIZE: u32 = 4704;
92+pub const BLKFLSBUF: u32 = 4705;
93+pub const BLKRASET: u32 = 4706;
94+pub const BLKRAGET: u32 = 4707;
95+pub const BLKFRASET: u32 = 4708;
96+pub const BLKFRAGET: u32 = 4709;
97+pub const BLKSECTSET: u32 = 4710;
98+pub const BLKSECTGET: u32 = 4711;
99+pub const BLKPG: u32 = 4713;
100+pub const BLKBSZGET: u32 = 2148012656;
101+pub const BLKBSZSET: u32 = 1074270833;
102+pub const BLKGETSIZE64: u32 = 2148012658;
103+pub const BLKTRACESETUP: u32 = 3225948787;
104+pub const BLKTRACESTART: u32 = 4724;
105+pub const BLKTRACESTOP: u32 = 4725;
106+pub const BLKTRACETEARDOWN: u32 = 4726;
107+pub const BLKDISCARD: u32 = 4727;
108+pub const BLKIOMIN: u32 = 4728;
109+pub const BLKIOOPT: u32 = 4729;
110+pub const BLKALIGNOFF: u32 = 4730;
111+pub const BLKDISCARDZEROES: u32 = 4732;
112+pub const BLKSECDISCARD: u32 = 4733;
113+pub const BLKROTATIONAL: u32 = 4734;
114+pub const BLKZEROOUT: u32 = 4735;
115+pub const UFFDIO_REGISTER: u32 = 3223366144;
116+pub const UFFDIO_UNREGISTER: u32 = 2148575745;
117+pub const UFFDIO_WAKE: u32 = 2148575746;
118+pub const UFFDIO_COPY: u32 = 3223890435;
119+pub const UFFDIO_ZEROPAGE: u32 = 3223366148;
120+pub const UFFDIO_WRITEPROTECT: u32 = 3222841862;
121+pub const UFFDIO_API: u32 = 3222841919;
122+pub const NS_GET_USERNS: u32 = 46849;
123+pub const NS_GET_PARENT: u32 = 46850;
124+pub const NS_GET_NSTYPE: u32 = 46851;
125+pub const KDGETLED: u32 = 19249;
126+pub const KDSETLED: u32 = 19250;
127+pub const KDGKBLED: u32 = 19300;
128+pub const KDSKBLED: u32 = 19301;
129+pub const KDGKBTYPE: u32 = 19251;
130+pub const KDADDIO: u32 = 19252;
131+pub const KDDELIO: u32 = 19253;
132+pub const KDENABIO: u32 = 19254;
133+pub const KDDISABIO: u32 = 19255;
134+pub const KDSETMODE: u32 = 19258;
135+pub const KDGETMODE: u32 = 19259;
136+pub const KDMKTONE: u32 = 19248;
137+pub const KIOCSOUND: u32 = 19247;
138+pub const GIO_CMAP: u32 = 19312;
139+pub const PIO_CMAP: u32 = 19313;
140+pub const GIO_FONT: u32 = 19296;
141+pub const GIO_FONTX: u32 = 19307;
142+pub const PIO_FONT: u32 = 19297;
143+pub const PIO_FONTX: u32 = 19308;
144+pub const PIO_FONTRESET: u32 = 19309;
145+pub const GIO_SCRNMAP: u32 = 19264;
146+pub const GIO_UNISCRNMAP: u32 = 19305;
147+pub const PIO_SCRNMAP: u32 = 19265;
148+pub const PIO_UNISCRNMAP: u32 = 19306;
149+pub const GIO_UNIMAP: u32 = 19302;
150+pub const PIO_UNIMAP: u32 = 19303;
151+pub const PIO_UNIMAPCLR: u32 = 19304;
152+pub const KDGKBMODE: u32 = 19268;
153+pub const KDSKBMODE: u32 = 19269;
154+pub const KDGKBMETA: u32 = 19298;
155+pub const KDSKBMETA: u32 = 19299;
156+pub const KDGKBENT: u32 = 19270;
157+pub const KDSKBENT: u32 = 19271;
158+pub const KDGKBSENT: u32 = 19272;
159+pub const KDSKBSENT: u32 = 19273;
160+pub const KDGKBDIACR: u32 = 19274;
161+pub const KDGETKEYCODE: u32 = 19276;
162+pub const KDSETKEYCODE: u32 = 19277;
163+pub const KDSIGACCEPT: u32 = 19278;
164+pub const VT_OPENQRY: u32 = 22016;
165+pub const VT_GETMODE: u32 = 22017;
166+pub const VT_SETMODE: u32 = 22018;
167+pub const VT_GETSTATE: u32 = 22019;
168+pub const VT_RELDISP: u32 = 22021;
169+pub const VT_ACTIVATE: u32 = 22022;
170+pub const VT_WAITACTIVE: u32 = 22023;
171+pub const VT_DISALLOCATE: u32 = 22024;
172+pub const VT_RESIZE: u32 = 22025;
173+pub const VT_RESIZEX: u32 = 22026;
174+pub const FIOSETOWN: u32 = 35073;
175+pub const SIOCSPGRP: u32 = 35074;
176+pub const FIOGETOWN: u32 = 35075;
177+pub const SIOCGPGRP: u32 = 35076;
178+pub const SIOCATMARK: u32 = 35077;
179+pub const SIOCGSTAMP: u32 = 35078;
180+pub const TIOCINQ: u32 = 21531;
181+pub const SIOCADDRT: u32 = 35083;
182+pub const SIOCDELRT: u32 = 35084;
183+pub const SIOCGIFNAME: u32 = 35088;
184+pub const SIOCSIFLINK: u32 = 35089;
185+pub const SIOCGIFCONF: u32 = 35090;
186+pub const SIOCGIFFLAGS: u32 = 35091;
187+pub const SIOCSIFFLAGS: u32 = 35092;
188+pub const SIOCGIFADDR: u32 = 35093;
189+pub const SIOCSIFADDR: u32 = 35094;
190+pub const SIOCGIFDSTADDR: u32 = 35095;
191+pub const SIOCSIFDSTADDR: u32 = 35096;
192+pub const SIOCGIFBRDADDR: u32 = 35097;
193+pub const SIOCSIFBRDADDR: u32 = 35098;
194+pub const SIOCGIFNETMASK: u32 = 35099;
195+pub const SIOCSIFNETMASK: u32 = 35100;
196+pub const SIOCGIFMETRIC: u32 = 35101;
197+pub const SIOCSIFMETRIC: u32 = 35102;
198+pub const SIOCGIFMEM: u32 = 35103;
199+pub const SIOCSIFMEM: u32 = 35104;
200+pub const SIOCGIFMTU: u32 = 35105;
201+pub const SIOCSIFMTU: u32 = 35106;
202+pub const SIOCSIFHWADDR: u32 = 35108;
203+pub const SIOCGIFENCAP: u32 = 35109;
204+pub const SIOCSIFENCAP: u32 = 35110;
205+pub const SIOCGIFHWADDR: u32 = 35111;
206+pub const SIOCGIFSLAVE: u32 = 35113;
207+pub const SIOCSIFSLAVE: u32 = 35120;
208+pub const SIOCADDMULTI: u32 = 35121;
209+pub const SIOCDELMULTI: u32 = 35122;
210+pub const SIOCDARP: u32 = 35155;
211+pub const SIOCGARP: u32 = 35156;
212+pub const SIOCSARP: u32 = 35157;
213+pub const SIOCDRARP: u32 = 35168;
214+pub const SIOCGRARP: u32 = 35169;
215+pub const SIOCSRARP: u32 = 35170;
216+pub const SIOCGIFMAP: u32 = 35184;
217+pub const SIOCSIFMAP: u32 = 35185;
218+pub const SIOCRTMSG: u32 = 35085;
219+pub const SIOCSIFNAME: u32 = 35107;
220+pub const SIOCGIFINDEX: u32 = 35123;
221+pub const SIOGIFINDEX: u32 = 35123;
222+pub const SIOCSIFPFLAGS: u32 = 35124;
223+pub const SIOCGIFPFLAGS: u32 = 35125;
224+pub const SIOCDIFADDR: u32 = 35126;
225+pub const SIOCSIFHWBROADCAST: u32 = 35127;
226+pub const SIOCGIFCOUNT: u32 = 35128;
227+pub const SIOCGIFBR: u32 = 35136;
228+pub const SIOCSIFBR: u32 = 35137;
229+pub const SIOCGIFTXQLEN: u32 = 35138;
230+pub const SIOCSIFTXQLEN: u32 = 35139;
231+pub const SIOCADDDLCI: u32 = 35200;
232+pub const SIOCDELDLCI: u32 = 35201;
233+pub const SIOCDEVPRIVATE: u32 = 35312;
234+pub const SIOCPROTOPRIVATE: u32 = 35296;
235+pub const FIBMAP: u32 = 1;
236+pub const FIGETBSZ: u32 = 2;
237+pub const FIFREEZE: u32 = 3221510263;
238+pub const FITHAW: u32 = 3221510264;
239+pub const FITRIM: u32 = 3222820985;
240+pub const FICLONE: u32 = 1074041865;
241+pub const FICLONERANGE: u32 = 1075876877;
242+pub const FIDEDUPERANGE: u32 = 3222836278;
243+pub const FS_IOC_GETFLAGS: u32 = 2148034049;
244+pub const FS_IOC_SETFLAGS: u32 = 1074292226;
245+pub const FS_IOC_GETVERSION: u32 = 2148038145;
246+pub const FS_IOC_SETVERSION: u32 = 1074296322;
247+pub const FS_IOC_FIEMAP: u32 = 3223348747;
248+pub const FS_IOC32_GETFLAGS: u32 = 2147771905;
249+pub const FS_IOC32_SETFLAGS: u32 = 1074030082;
250+pub const FS_IOC32_GETVERSION: u32 = 2147776001;
251+pub const FS_IOC32_SETVERSION: u32 = 1074034178;
252+pub const FS_IOC_FSGETXATTR: u32 = 2149341215;
253+pub const FS_IOC_FSSETXATTR: u32 = 1075599392;
254+pub const FS_IOC_GETFSLABEL: u32 = 2164298801;
255+pub const FS_IOC_SETFSLABEL: u32 = 1090556978;
256+pub const EXT4_IOC_GETVERSION: u32 = 2148034051;
257+pub const EXT4_IOC_SETVERSION: u32 = 1074292228;
258+pub const EXT4_IOC_GETVERSION_OLD: u32 = 2148038145;
259+pub const EXT4_IOC_SETVERSION_OLD: u32 = 1074296322;
260+pub const EXT4_IOC_GETRSVSZ: u32 = 2148034053;
261+pub const EXT4_IOC_SETRSVSZ: u32 = 1074292230;
262+pub const EXT4_IOC_GROUP_EXTEND: u32 = 1074292231;
263+pub const EXT4_IOC_MIGRATE: u32 = 26121;
264+pub const EXT4_IOC_ALLOC_DA_BLKS: u32 = 26124;
265+pub const EXT4_IOC_RESIZE_FS: u32 = 1074292240;
266+pub const EXT4_IOC_SWAP_BOOT: u32 = 26129;
267+pub const EXT4_IOC_PRECACHE_EXTENTS: u32 = 26130;
268+pub const EXT4_IOC_CLEAR_ES_CACHE: u32 = 26152;
269+pub const EXT4_IOC_GETSTATE: u32 = 1074030121;
270+pub const EXT4_IOC_GET_ES_CACHE: u32 = 3223348778;
271+pub const EXT4_IOC_CHECKPOINT: u32 = 1074030123;
272+pub const EXT4_IOC_SHUTDOWN: u32 = 2147768445;
273+pub const EXT4_IOC32_GETVERSION: u32 = 2147771907;
274+pub const EXT4_IOC32_SETVERSION: u32 = 1074030084;
275+pub const EXT4_IOC32_GETRSVSZ: u32 = 2147771909;
276+pub const EXT4_IOC32_SETRSVSZ: u32 = 1074030086;
277+pub const EXT4_IOC32_GROUP_EXTEND: u32 = 1074030087;
278+pub const EXT4_IOC32_GETVERSION_OLD: u32 = 2147776001;
279+pub const EXT4_IOC32_SETVERSION_OLD: u32 = 1074034178;
280+pub const VIDIOC_SUBDEV_QUERYSTD: u32 = 2148030015;
281+pub const AUTOFS_DEV_IOCTL_CLOSEMOUNT: u32 = 3222836085;
282+pub const LIRC_SET_SEND_CARRIER: u32 = 1074030867;
283+pub const AUTOFS_IOC_PROTOSUBVER: u32 = 2147783527;
284+pub const PTP_SYS_OFFSET_PRECISE: u32 = 3225435400;
285+pub const FSI_SCOM_WRITE: u32 = 3223352066;
286+pub const ATM_GETCIRANGE: u32 = 1074815370;
287+pub const DMA_BUF_SET_NAME_B: u32 = 1074291201;
288+pub const RIO_CM_EP_GET_LIST_SIZE: u32 = 3221512961;
289+pub const TUNSETPERSIST: u32 = 1074025675;
290+pub const FS_IOC_GET_ENCRYPTION_POLICY: u32 = 1074554389;
291+pub const CEC_RECEIVE: u32 = 3224920326;
292+pub const MGSL_IOCGPARAMS: u32 = 2150657281;
293+pub const ENI_SETMULT: u32 = 1074815335;
294+pub const RIO_GET_EVENT_MASK: u32 = 2147773710;
295+pub const LIRC_GET_MAX_TIMEOUT: u32 = 2147772681;
296+pub const USBDEVFS_CLAIMINTERFACE: u32 = 2147767567;
297+pub const CHIOMOVE: u32 = 1075077889;
298+pub const SONYPI_IOCGBATFLAGS: u32 = 2147579399;
299+pub const BTRFS_IOC_SYNC: u32 = 37896;
300+pub const VIDIOC_TRY_FMT: u32 = 3234879040;
301+pub const LIRC_SET_REC_MODE: u32 = 1074030866;
302+pub const VIDIOC_DQEVENT: u32 = 2156418649;
303+pub const RPMSG_DESTROY_EPT_IOCTL: u32 = 46338;
304+pub const UVCIOC_CTRL_MAP: u32 = 3227546912;
305+pub const VHOST_SET_BACKEND_FEATURES: u32 = 1074310949;
306+pub const VHOST_VSOCK_SET_GUEST_CID: u32 = 1074311008;
307+pub const UI_SET_KEYBIT: u32 = 1074025829;
308+pub const LIRC_SET_REC_TIMEOUT: u32 = 1074030872;
309+pub const FS_IOC_GET_ENCRYPTION_KEY_STATUS: u32 = 3229640218;
310+pub const BTRFS_IOC_TREE_SEARCH_V2: u32 = 3228603409;
311+pub const VHOST_SET_VRING_BASE: u32 = 1074310930;
312+pub const RIO_ENABLE_DOORBELL_RANGE: u32 = 1074294025;
313+pub const VIDIOC_TRY_EXT_CTRLS: u32 = 3223344713;
314+pub const LIRC_GET_REC_MODE: u32 = 2147772674;
315+pub const PPGETTIME: u32 = 2148561045;
316+pub const BTRFS_IOC_RM_DEV: u32 = 1342215179;
317+pub const ATM_SETBACKEND: u32 = 1073897970;
318+pub const FSL_HV_IOCTL_PARTITION_START: u32 = 3222318851;
319+pub const FBIO_WAITEVENT: u32 = 18056;
320+pub const SWITCHTEC_IOCTL_PORT_TO_PFF: u32 = 3222034245;
321+pub const NVME_IOCTL_IO_CMD: u32 = 3225964099;
322+pub const IPMICTL_RECEIVE_MSG_TRUNC: u32 = 3224398091;
323+pub const FDTWADDLE: u32 = 601;
324+pub const NVME_IOCTL_SUBMIT_IO: u32 = 1076907586;
325+pub const NILFS_IOCTL_SYNC: u32 = 2148036234;
326+pub const VIDIOC_SUBDEV_S_DV_TIMINGS: u32 = 3229898327;
327+pub const ASPEED_LPC_CTRL_IOCTL_GET_SIZE: u32 = 3222319616;
328+pub const DM_DEV_STATUS: u32 = 3241737479;
329+pub const TEE_IOC_CLOSE_SESSION: u32 = 2147787781;
330+pub const NS_GETPSTAT: u32 = 3222298977;
331+pub const UI_SET_PROPBIT: u32 = 1074025838;
332+pub const TUNSETFILTEREBPF: u32 = 2147767521;
333+pub const RIO_MPORT_MAINT_COMPTAG_SET: u32 = 1074031874;
334+pub const AUTOFS_DEV_IOCTL_VERSION: u32 = 3222836081;
335+pub const WDIOC_SETOPTIONS: u32 = 2147768068;
336+pub const VHOST_SCSI_SET_ENDPOINT: u32 = 1088991040;
337+pub const MGSL_IOCGTXIDLE: u32 = 27907;
338+pub const ATM_ADDLECSADDR: u32 = 1074815374;
339+pub const FSL_HV_IOCTL_GETPROP: u32 = 3223891719;
340+pub const FDGETPRM: u32 = 2149581316;
341+pub const HIDIOCAPPLICATION: u32 = 18434;
342+pub const ENI_MEMDUMP: u32 = 1074815328;
343+pub const PTP_SYS_OFFSET2: u32 = 1128283406;
344+pub const VIDIOC_SUBDEV_G_DV_TIMINGS: u32 = 3229898328;
345+pub const DMA_BUF_SET_NAME_A: u32 = 1074029057;
346+pub const PTP_PIN_GETFUNC: u32 = 3227532550;
347+pub const PTP_SYS_OFFSET_EXTENDED: u32 = 3300932873;
348+pub const DFL_FPGA_PORT_UINT_SET_IRQ: u32 = 1074312776;
349+pub const RTC_EPOCH_READ: u32 = 2148036621;
350+pub const VIDIOC_SUBDEV_S_SELECTION: u32 = 3225441854;
351+pub const VIDIOC_QUERY_EXT_CTRL: u32 = 3236451943;
352+pub const ATM_GETLECSADDR: u32 = 1074815376;
353+pub const FSL_HV_IOCTL_PARTITION_STOP: u32 = 3221794564;
354+pub const SONET_GETDIAG: u32 = 2147770644;
355+pub const ATMMPC_DATA: u32 = 25049;
356+pub const IPMICTL_UNREGISTER_FOR_CMD_CHANS: u32 = 2148296989;
357+pub const HIDIOCGCOLLECTIONINDEX: u32 = 1075333136;
358+pub const RPMSG_CREATE_EPT_IOCTL: u32 = 1076409601;
359+pub const GPIOHANDLE_GET_LINE_VALUES_IOCTL: u32 = 3225465864;
360+pub const UI_DEV_SETUP: u32 = 1079792899;
361+pub const ISST_IF_IO_CMD: u32 = 1074331138;
362+pub const RIO_MPORT_MAINT_READ_REMOTE: u32 = 2149084423;
363+pub const VIDIOC_OMAP3ISP_HIST_CFG: u32 = 3224393412;
364+pub const BLKGETNRZONES: u32 = 2147750533;
365+pub const VIDIOC_G_MODULATOR: u32 = 3225703990;
366+pub const VBG_IOCTL_WRITE_CORE_DUMP: u32 = 3223082515;
367+pub const USBDEVFS_SETINTERFACE: u32 = 2148029700;
368+pub const PPPIOCGCHAN: u32 = 2147775543;
369+pub const EVIOCGVERSION: u32 = 2147763457;
370+pub const VHOST_NET_SET_BACKEND: u32 = 1074310960;
371+pub const USBDEVFS_REAPURBNDELAY: u32 = 1074287885;
372+pub const RNDZAPENTCNT: u32 = 20996;
373+pub const VIDIOC_G_PARM: u32 = 3234616853;
374+pub const TUNGETDEVNETNS: u32 = 21731;
375+pub const LIRC_SET_MEASURE_CARRIER_MODE: u32 = 1074030877;
376+pub const VHOST_SET_VRING_ERR: u32 = 1074310946;
377+pub const VDUSE_VQ_SETUP: u32 = 1075872020;
378+pub const AUTOFS_IOC_SETTIMEOUT: u32 = 3221787492;
379+pub const VIDIOC_S_FREQUENCY: u32 = 1076647481;
380+pub const F2FS_IOC_SEC_TRIM_FILE: u32 = 1075377428;
381+pub const FS_IOC_REMOVE_ENCRYPTION_KEY: u32 = 3225445912;
382+pub const WDIOC_GETPRETIMEOUT: u32 = 2147768073;
383+pub const USBDEVFS_DROP_PRIVILEGES: u32 = 1074025758;
384+pub const BTRFS_IOC_SNAP_CREATE_V2: u32 = 1342215191;
385+pub const VHOST_VSOCK_SET_RUNNING: u32 = 1074048865;
386+pub const STP_SET_OPTIONS: u32 = 1074275586;
387+pub const FBIO_RADEON_GET_MIRROR: u32 = 2148024323;
388+pub const IVTVFB_IOC_DMA_FRAME: u32 = 1075336896;
389+pub const IPMICTL_SEND_COMMAND: u32 = 2150131981;
390+pub const VIDIOC_G_ENC_INDEX: u32 = 2283296332;
391+pub const DFL_FPGA_FME_PORT_PR: u32 = 46720;
392+pub const CHIOSVOLTAG: u32 = 1076912914;
393+pub const ATM_SETESIF: u32 = 1074815373;
394+pub const FW_CDEV_IOC_SEND_RESPONSE: u32 = 1075323652;
395+pub const PMU_IOC_GET_MODEL: u32 = 2148024835;
396+pub const JSIOCGBTNMAP: u32 = 2214619700;
397+pub const USBDEVFS_HUB_PORTINFO: u32 = 2155894035;
398+pub const VBG_IOCTL_INTERRUPT_ALL_WAIT_FOR_EVENTS: u32 = 3222820363;
399+pub const FDCLRPRM: u32 = 577;
400+pub const BTRFS_IOC_SCRUB: u32 = 3288372251;
401+pub const USBDEVFS_DISCONNECT: u32 = 21782;
402+pub const TUNSETVNETBE: u32 = 1074025694;
403+pub const ATMTCP_REMOVE: u32 = 24975;
404+pub const VHOST_VDPA_GET_CONFIG: u32 = 2148052851;
405+pub const PPPIOCGNPMODE: u32 = 3221779532;
406+pub const FDGETDRVPRM: u32 = 2155872785;
407+pub const TUNSETVNETLE: u32 = 1074025692;
408+pub const PHN_SETREG: u32 = 1074294790;
409+pub const PPPIOCDETACH: u32 = 1074033724;
410+pub const MMTIMER_GETRES: u32 = 2148035841;
411+pub const VIDIOC_SUBDEV_ENUMSTD: u32 = 3225966105;
412+pub const PPGETFLAGS: u32 = 2147774618;
413+pub const VDUSE_DEV_GET_FEATURES: u32 = 2148040977;
414+pub const CAPI_MANUFACTURER_CMD: u32 = 3222291232;
415+pub const VIDIOC_G_TUNER: u32 = 3226752541;
416+pub const DM_TABLE_STATUS: u32 = 3241737484;
417+pub const DM_DEV_ARM_POLL: u32 = 3241737488;
418+pub const NE_CREATE_VM: u32 = 2148052512;
419+pub const MEDIA_IOC_ENUM_LINKS: u32 = 3223878658;
420+pub const F2FS_IOC_PRECACHE_EXTENTS: u32 = 62735;
421+pub const DFL_FPGA_PORT_DMA_MAP: u32 = 46659;
422+pub const MGSL_IOCGXCTRL: u32 = 27926;
423+pub const FW_CDEV_IOC_SEND_REQUEST: u32 = 1076372225;
424+pub const SONYPI_IOCGBLUE: u32 = 2147579400;
425+pub const F2FS_IOC_DECOMPRESS_FILE: u32 = 62743;
426+pub const I2OHTML: u32 = 3224398089;
427+pub const VFIO_GET_API_VERSION: u32 = 15204;
428+pub const IDT77105_GETSTATZ: u32 = 1074815283;
429+pub const I2OPARMSET: u32 = 3223873795;
430+pub const TEE_IOC_CANCEL: u32 = 2148049924;
431+pub const PTP_SYS_OFFSET_PRECISE2: u32 = 3225435409;
432+pub const DFL_FPGA_PORT_RESET: u32 = 46656;
433+pub const PPPIOCGASYNCMAP: u32 = 2147775576;
434+pub const EVIOCGKEYCODE_V2: u32 = 2150122756;
435+pub const DM_DEV_SET_GEOMETRY: u32 = 3241737487;
436+pub const HIDIOCSUSAGE: u32 = 1075333132;
437+pub const FW_CDEV_IOC_DEALLOCATE_ISO_RESOURCE_ONCE: u32 = 1075323664;
438+pub const PTP_EXTTS_REQUEST: u32 = 1074806018;
439+pub const SWITCHTEC_IOCTL_EVENT_CTL: u32 = 3223869251;
440+pub const WDIOC_SETPRETIMEOUT: u32 = 3221509896;
441+pub const VHOST_SCSI_CLEAR_ENDPOINT: u32 = 1088991041;
442+pub const JSIOCGAXES: u32 = 2147576337;
443+pub const HIDIOCSFLAG: u32 = 1074022415;
444+pub const PTP_PEROUT_REQUEST2: u32 = 1077427468;
445+pub const PPWDATA: u32 = 1073836166;
446+pub const PTP_CLOCK_GETCAPS: u32 = 2152742145;
447+pub const FDGETMAXERRS: u32 = 2148794894;
448+pub const TUNSETQUEUE: u32 = 1074025689;
449+pub const PTP_ENABLE_PPS: u32 = 1074019588;
450+pub const SIOCSIFATMTCP: u32 = 24960;
451+pub const CEC_ADAP_G_LOG_ADDRS: u32 = 2153537795;
452+pub const ND_IOCTL_ARS_CAP: u32 = 3223342593;
453+pub const NBD_SET_BLKSIZE: u32 = 43777;
454+pub const NBD_SET_TIMEOUT: u32 = 43785;
455+pub const VHOST_SCSI_GET_ABI_VERSION: u32 = 1074048834;
456+pub const RIO_UNMAP_INBOUND: u32 = 1074294034;
457+pub const ATM_QUERYLOOP: u32 = 1074815316;
458+pub const DFL_FPGA_GET_API_VERSION: u32 = 46592;
459+pub const USBDEVFS_WAIT_FOR_RESUME: u32 = 21795;
460+pub const FBIO_CURSOR: u32 = 3228059144;
461+pub const RNDCLEARPOOL: u32 = 20998;
462+pub const VIDIOC_QUERYSTD: u32 = 2148030015;
463+pub const DMA_BUF_IOCTL_SYNC: u32 = 1074291200;
464+pub const SCIF_RECV: u32 = 3222827783;
465+pub const PTP_PIN_GETFUNC2: u32 = 3227532559;
466+pub const FW_CDEV_IOC_ALLOCATE: u32 = 3223331586;
467+pub const CEC_ADAP_G_CAPS: u32 = 3226231040;
468+pub const VIDIOC_G_FBUF: u32 = 2150651402;
469+pub const PTP_ENABLE_PPS2: u32 = 1074019597;
470+pub const PCITEST_CLEAR_IRQ: u32 = 20496;
471+pub const IPMICTL_SET_GETS_EVENTS_CMD: u32 = 2147772688;
472+pub const BTRFS_IOC_DEVICES_READY: u32 = 2415957031;
473+pub const JSIOCGAXMAP: u32 = 2151705138;
474+pub const FW_CDEV_IOC_GET_CYCLE_TIMER: u32 = 2148541196;
475+pub const FW_CDEV_IOC_SET_ISO_CHANNELS: u32 = 1074799383;
476+pub const RTC_WIE_OFF: u32 = 28688;
477+pub const PPGETMODE: u32 = 2147774616;
478+pub const VIDIOC_DBG_G_REGISTER: u32 = 3224917584;
479+pub const PTP_SYS_OFFSET: u32 = 1128283397;
480+pub const BTRFS_IOC_SPACE_INFO: u32 = 3222311956;
481+pub const VIDIOC_SUBDEV_ENUM_FRAME_SIZE: u32 = 3225441866;
482+pub const ND_IOCTL_VENDOR: u32 = 3221769737;
483+pub const SCIF_VREADFROM: u32 = 3223876364;
484+pub const BTRFS_IOC_TRANS_START: u32 = 37894;
485+pub const INOTIFY_IOC_SETNEXTWD: u32 = 1074022656;
486+pub const SNAPSHOT_GET_IMAGE_SIZE: u32 = 2148021006;
487+pub const TUNDETACHFILTER: u32 = 1074812118;
488+pub const ND_IOCTL_CLEAR_ERROR: u32 = 3223342596;
489+pub const IOC_PR_CLEAR: u32 = 1074819277;
490+pub const SCIF_READFROM: u32 = 3223876362;
491+pub const PPPIOCGDEBUG: u32 = 2147775553;
492+pub const BLKGETZONESZ: u32 = 2147750532;
493+pub const HIDIOCGUSAGES: u32 = 3491514387;
494+pub const SONYPI_IOCGTEMP: u32 = 2147579404;
495+pub const UI_SET_MSCBIT: u32 = 1074025832;
496+pub const APM_IOC_SUSPEND: u32 = 16642;
497+pub const BTRFS_IOC_TREE_SEARCH: u32 = 3489698833;
498+pub const RTC_PLL_GET: u32 = 2149609489;
499+pub const RIO_CM_EP_GET_LIST: u32 = 3221512962;
500+pub const USBDEVFS_DISCSIGNAL: u32 = 2148553998;
501+pub const LIRC_GET_MIN_TIMEOUT: u32 = 2147772680;
502+pub const SWITCHTEC_IOCTL_EVENT_SUMMARY_LEGACY: u32 = 2174244674;
503+pub const DM_TARGET_MSG: u32 = 3241737486;
504+pub const SONYPI_IOCGBAT1REM: u32 = 2147644931;
505+pub const EVIOCSFF: u32 = 1076905344;
506+pub const TUNSETGROUP: u32 = 1074025678;
507+pub const EVIOCGKEYCODE: u32 = 2148025604;
508+pub const KCOV_REMOTE_ENABLE: u32 = 1075340134;
509+pub const ND_IOCTL_GET_CONFIG_SIZE: u32 = 3222031876;
510+pub const FDEJECT: u32 = 602;
511+pub const TUNSETOFFLOAD: u32 = 1074025680;
512+pub const PPPIOCCONNECT: u32 = 1074033722;
513+pub const ATM_ADDADDR: u32 = 1074815368;
514+pub const VDUSE_DEV_INJECT_CONFIG_IRQ: u32 = 33043;
515+pub const AUTOFS_DEV_IOCTL_ASKUMOUNT: u32 = 3222836093;
516+pub const VHOST_VDPA_GET_STATUS: u32 = 2147594097;
517+pub const CCISS_PASSTHRU: u32 = 3227009547;
518+pub const MGSL_IOCCLRMODCOUNT: u32 = 27919;
519+pub const TEE_IOC_SUPPL_SEND: u32 = 2148574215;
520+pub const ATMARPD_CTRL: u32 = 25057;
521+pub const UI_ABS_SETUP: u32 = 1075598596;
522+pub const UI_DEV_DESTROY: u32 = 21762;
523+pub const BTRFS_IOC_QUOTA_CTL: u32 = 3222311976;
524+pub const RTC_AIE_ON: u32 = 28673;
525+pub const AUTOFS_IOC_EXPIRE: u32 = 2165085029;
526+pub const PPPIOCSDEBUG: u32 = 1074033728;
527+pub const GPIO_V2_LINE_SET_VALUES_IOCTL: u32 = 3222320143;
528+pub const PPPIOCSMRU: u32 = 1074033746;
529+pub const CCISS_DEREGDISK: u32 = 16908;
530+pub const UI_DEV_CREATE: u32 = 21761;
531+pub const FUSE_DEV_IOC_CLONE: u32 = 2147804416;
532+pub const BTRFS_IOC_START_SYNC: u32 = 2148045848;
533+pub const NILFS_IOCTL_DELETE_CHECKPOINT: u32 = 1074294401;
534+pub const SNAPSHOT_AVAIL_SWAP_SIZE: u32 = 2148021011;
535+pub const DM_TABLE_CLEAR: u32 = 3241737482;
536+pub const CCISS_GETINTINFO: u32 = 2148024834;
537+pub const PPPIOCSASYNCMAP: u32 = 1074033751;
538+pub const I2OEVTGET: u32 = 2154326283;
539+pub const NVME_IOCTL_RESET: u32 = 20036;
540+pub const PPYIELD: u32 = 28813;
541+pub const NVME_IOCTL_IO64_CMD: u32 = 3226488392;
542+pub const TUNSETCARRIER: u32 = 1074025698;
543+pub const DM_DEV_WAIT: u32 = 3241737480;
544+pub const RTC_WIE_ON: u32 = 28687;
545+pub const MEDIA_IOC_DEVICE_INFO: u32 = 3238034432;
546+pub const RIO_CM_CHAN_CREATE: u32 = 3221381891;
547+pub const MGSL_IOCSPARAMS: u32 = 1076915456;
548+pub const RTC_SET_TIME: u32 = 1076129802;
549+pub const VHOST_RESET_OWNER: u32 = 44802;
550+pub const IOC_OPAL_PSID_REVERT_TPR: u32 = 1091072232;
551+pub const AUTOFS_DEV_IOCTL_OPENMOUNT: u32 = 3222836084;
552+pub const UDF_GETEABLOCK: u32 = 2148035649;
553+pub const VFIO_IOMMU_MAP_DMA: u32 = 15217;
554+pub const VIDIOC_SUBSCRIBE_EVENT: u32 = 1075861082;
555+pub const HIDIOCGFLAG: u32 = 2147764238;
556+pub const HIDIOCGUCODE: u32 = 3222816781;
557+pub const VIDIOC_OMAP3ISP_AF_CFG: u32 = 3226228421;
558+pub const DM_REMOVE_ALL: u32 = 3241737473;
559+pub const ASPEED_LPC_CTRL_IOCTL_MAP: u32 = 1074835969;
560+pub const CCISS_GETFIRMVER: u32 = 2147762696;
561+pub const ND_IOCTL_ARS_START: u32 = 3223342594;
562+pub const PPPIOCSMRRU: u32 = 1074033723;
563+pub const CEC_ADAP_S_LOG_ADDRS: u32 = 3227279620;
564+pub const RPROC_GET_SHUTDOWN_ON_RELEASE: u32 = 2147792642;
565+pub const DMA_HEAP_IOCTL_ALLOC: u32 = 3222816768;
566+pub const PPSETTIME: u32 = 1074819222;
567+pub const RTC_ALM_READ: u32 = 2149871624;
568+pub const VDUSE_SET_API_VERSION: u32 = 1074299137;
569+pub const RIO_MPORT_MAINT_WRITE_REMOTE: u32 = 1075342600;
570+pub const VIDIOC_SUBDEV_S_CROP: u32 = 3224917564;
571+pub const USBDEVFS_CONNECT: u32 = 21783;
572+pub const SYNC_IOC_FILE_INFO: u32 = 3224911364;
573+pub const ATMARP_MKIP: u32 = 25058;
574+pub const VFIO_IOMMU_SPAPR_TCE_GET_INFO: u32 = 15216;
575+pub const CCISS_GETHEARTBEAT: u32 = 2147762694;
576+pub const ATM_RSTADDR: u32 = 1074815367;
577+pub const NBD_SET_SIZE: u32 = 43778;
578+pub const UDF_GETVOLIDENT: u32 = 2148035650;
579+pub const GPIO_V2_LINE_GET_VALUES_IOCTL: u32 = 3222320142;
580+pub const MGSL_IOCSTXIDLE: u32 = 27906;
581+pub const FSL_HV_IOCTL_SETPROP: u32 = 3223891720;
582+pub const BTRFS_IOC_GET_DEV_STATS: u32 = 3288896564;
583+pub const PPRSTATUS: u32 = 2147577985;
584+pub const MGSL_IOCTXENABLE: u32 = 27908;
585+pub const UDF_GETEASIZE: u32 = 2147773504;
586+pub const NVME_IOCTL_ADMIN64_CMD: u32 = 3226488391;
587+pub const VHOST_SET_OWNER: u32 = 44801;
588+pub const RIO_ALLOC_DMA: u32 = 3222826259;
589+pub const RIO_CM_CHAN_ACCEPT: u32 = 3221775111;
590+pub const I2OHRTGET: u32 = 3222825217;
591+pub const ATM_SETCIRANGE: u32 = 1074815371;
592+pub const HPET_IE_ON: u32 = 26625;
593+pub const PERF_EVENT_IOC_ID: u32 = 2148017159;
594+pub const TUNSETSNDBUF: u32 = 1074025684;
595+pub const PTP_PIN_SETFUNC: u32 = 1080048903;
596+pub const PPPIOCDISCONN: u32 = 29753;
597+pub const VIDIOC_QUERYCTRL: u32 = 3225703972;
598+pub const PPEXCL: u32 = 28815;
599+pub const PCITEST_MSI: u32 = 1074024451;
600+pub const FDWERRORCLR: u32 = 598;
601+pub const AUTOFS_IOC_FAIL: u32 = 37729;
602+pub const USBDEVFS_IOCTL: u32 = 3222295826;
603+pub const VIDIOC_S_STD: u32 = 1074288152;
604+pub const F2FS_IOC_RESIZE_FS: u32 = 1074328848;
605+pub const SONET_SETDIAG: u32 = 3221512466;
606+pub const BTRFS_IOC_DEFRAG: u32 = 1342215170;
607+pub const CCISS_GETDRIVVER: u32 = 2147762697;
608+pub const IPMICTL_GET_TIMING_PARMS_CMD: u32 = 2148034839;
609+pub const HPET_IRQFREQ: u32 = 1074292742;
610+pub const ATM_GETESI: u32 = 1074815365;
611+pub const CCISS_GETLUNINFO: u32 = 2148286993;
612+pub const AUTOFS_DEV_IOCTL_ISMOUNTPOINT: u32 = 3222836094;
613+pub const TEE_IOC_SHM_ALLOC: u32 = 3222316033;
614+pub const PERF_EVENT_IOC_SET_BPF: u32 = 1074013192;
615+pub const UDMABUF_CREATE_LIST: u32 = 1074296131;
616+pub const VHOST_SET_LOG_BASE: u32 = 1074310916;
617+pub const ZATM_GETPOOL: u32 = 1074815329;
618+pub const BR2684_SETFILT: u32 = 1075601808;
619+pub const RNDGETPOOL: u32 = 2148028930;
620+pub const PPS_GETPARAMS: u32 = 2148036769;
621+pub const IOC_PR_RESERVE: u32 = 1074819273;
622+pub const VIDIOC_TRY_DECODER_CMD: u32 = 3225966177;
623+pub const RIO_CM_CHAN_CLOSE: u32 = 1073898244;
624+pub const VIDIOC_DV_TIMINGS_CAP: u32 = 3230684772;
625+pub const IOCTL_MEI_CONNECT_CLIENT_VTAG: u32 = 3222554628;
626+pub const PMU_IOC_GET_BACKLIGHT: u32 = 2148024833;
627+pub const USBDEVFS_GET_CAPABILITIES: u32 = 2147767578;
628+pub const SCIF_WRITETO: u32 = 3223876363;
629+pub const UDF_RELOCATE_BLOCKS: u32 = 3221777475;
630+pub const FSL_HV_IOCTL_PARTITION_RESTART: u32 = 3221794561;
631+pub const CCISS_REGNEWD: u32 = 16910;
632+pub const FAT_IOCTL_SET_ATTRIBUTES: u32 = 1074033169;
633+pub const VIDIOC_CREATE_BUFS: u32 = 3238024796;
634+pub const CAPI_GET_VERSION: u32 = 3222291207;
635+pub const SWITCHTEC_IOCTL_EVENT_SUMMARY: u32 = 2228770626;
636+pub const VFIO_EEH_PE_OP: u32 = 15225;
637+pub const FW_CDEV_IOC_CREATE_ISO_CONTEXT: u32 = 3223331592;
638+pub const F2FS_IOC_RELEASE_COMPRESS_BLOCKS: u32 = 2148070674;
639+pub const NBD_SET_SIZE_BLOCKS: u32 = 43783;
640+pub const IPMI_BMC_IOCTL_SET_SMS_ATN: u32 = 45312;
641+pub const ASPEED_P2A_CTRL_IOCTL_GET_MEMORY_CONFIG: u32 = 3222319873;
642+pub const VIDIOC_S_AUDOUT: u32 = 1077171762;
643+pub const VIDIOC_S_FMT: u32 = 3234878981;
644+pub const PPPIOCATTACH: u32 = 1074033725;
645+pub const VHOST_GET_VRING_BUSYLOOP_TIMEOUT: u32 = 1074310948;
646+pub const FS_IOC_MEASURE_VERITY: u32 = 3221513862;
647+pub const CCISS_BIG_PASSTHRU: u32 = 3227533842;
648+pub const IPMICTL_SET_MY_LUN_CMD: u32 = 2147772691;
649+pub const PCITEST_LEGACY_IRQ: u32 = 20482;
650+pub const USBDEVFS_SUBMITURB: u32 = 2151175434;
651+pub const AUTOFS_IOC_READY: u32 = 37728;
652+pub const BTRFS_IOC_SEND: u32 = 1078498342;
653+pub const VIDIOC_G_EXT_CTRLS: u32 = 3223344711;
654+pub const JSIOCSBTNMAP: u32 = 1140877875;
655+pub const PPPIOCSFLAGS: u32 = 1074033753;
656+pub const NVRAM_INIT: u32 = 28736;
657+pub const RFKILL_IOCTL_NOINPUT: u32 = 20993;
658+pub const BTRFS_IOC_BALANCE: u32 = 1342215180;
659+pub const FS_IOC_GETFSMAP: u32 = 3233830971;
660+pub const IPMICTL_GET_MY_CHANNEL_LUN_CMD: u32 = 2147772699;
661+pub const STP_POLICY_ID_GET: u32 = 2148541697;
662+pub const PPSETFLAGS: u32 = 1074032795;
663+pub const CEC_ADAP_S_PHYS_ADDR: u32 = 1073897730;
664+pub const ATMTCP_CREATE: u32 = 24974;
665+pub const IPMI_BMC_IOCTL_FORCE_ABORT: u32 = 45314;
666+pub const PPPIOCGXASYNCMAP: u32 = 2149610576;
667+pub const VHOST_SET_VRING_CALL: u32 = 1074310945;
668+pub const LIRC_GET_FEATURES: u32 = 2147772672;
669+pub const GSMIOC_DISABLE_NET: u32 = 18179;
670+pub const AUTOFS_IOC_CATATONIC: u32 = 37730;
671+pub const NBD_DO_IT: u32 = 43779;
672+pub const LIRC_SET_REC_CARRIER_RANGE: u32 = 1074030879;
673+pub const IPMICTL_GET_MY_CHANNEL_ADDRESS_CMD: u32 = 2147772697;
674+pub const EVIOCSCLOCKID: u32 = 1074021792;
675+pub const USBDEVFS_FREE_STREAMS: u32 = 2148029725;
676+pub const FSI_SCOM_RESET: u32 = 1074033411;
677+pub const PMU_IOC_GRAB_BACKLIGHT: u32 = 2148024838;
678+pub const VIDIOC_SUBDEV_S_FMT: u32 = 3227014661;
679+pub const FDDEFPRM: u32 = 1075839555;
680+pub const TEE_IOC_INVOKE: u32 = 2148574211;
681+pub const USBDEVFS_BULK: u32 = 3222820098;
682+pub const SCIF_VWRITETO: u32 = 3223876365;
683+pub const SONYPI_IOCSBRT: u32 = 1073837568;
684+pub const BTRFS_IOC_FILE_EXTENT_SAME: u32 = 3222836278;
685+pub const RTC_PIE_ON: u32 = 28677;
686+pub const BTRFS_IOC_SCAN_DEV: u32 = 1342215172;
687+pub const PPPIOCXFERUNIT: u32 = 29774;
688+pub const WDIOC_GETTIMEOUT: u32 = 2147768071;
689+pub const BTRFS_IOC_SET_RECEIVED_SUBVOL: u32 = 3234370597;
690+pub const DFL_FPGA_PORT_ERR_SET_IRQ: u32 = 1074312774;
691+pub const FBIO_WAITFORVSYNC: u32 = 1074021920;
692+pub const RTC_PIE_OFF: u32 = 28678;
693+pub const EVIOCGRAB: u32 = 1074021776;
694+pub const PMU_IOC_SET_BACKLIGHT: u32 = 1074283010;
695+pub const EVIOCGREP: u32 = 2148025603;
696+pub const PERF_EVENT_IOC_MODIFY_ATTRIBUTES: u32 = 1074275339;
697+pub const UFFDIO_CONTINUE: u32 = 3223366151;
698+pub const VDUSE_GET_API_VERSION: u32 = 2148040960;
699+pub const RTC_RD_TIME: u32 = 2149871625;
700+pub const FDMSGOFF: u32 = 582;
701+pub const IPMICTL_REGISTER_FOR_CMD_CHANS: u32 = 2148296988;
702+pub const CAPI_GET_ERRCODE: u32 = 2147631905;
703+pub const PCITEST_SET_IRQTYPE: u32 = 1074024456;
704+pub const VIDIOC_SUBDEV_S_EDID: u32 = 3223868969;
705+pub const MATROXFB_SET_OUTPUT_MODE: u32 = 1074294522;
706+pub const RIO_DEV_ADD: u32 = 1075866903;
707+pub const VIDIOC_ENUM_FREQ_BANDS: u32 = 3225441893;
708+pub const FBIO_RADEON_SET_MIRROR: u32 = 1074282500;
709+pub const PCITEST_GET_IRQTYPE: u32 = 20489;
710+pub const JSIOCGVERSION: u32 = 2147772929;
711+pub const SONYPI_IOCSBLUE: u32 = 1073837577;
712+pub const SNAPSHOT_PREF_IMAGE_SIZE: u32 = 13074;
713+pub const F2FS_IOC_GET_FEATURES: u32 = 2147808524;
714+pub const SCIF_REG: u32 = 3223876360;
715+pub const NILFS_IOCTL_CLEAN_SEGMENTS: u32 = 1081634440;
716+pub const FW_CDEV_IOC_INITIATE_BUS_RESET: u32 = 1074012933;
717+pub const RIO_WAIT_FOR_ASYNC: u32 = 1074294038;
718+pub const VHOST_SET_VRING_NUM: u32 = 1074310928;
719+pub const AUTOFS_DEV_IOCTL_PROTOVER: u32 = 3222836082;
720+pub const RIO_FREE_DMA: u32 = 1074294036;
721+pub const MGSL_IOCRXENABLE: u32 = 27909;
722+pub const IOCTL_VM_SOCKETS_GET_LOCAL_CID: u32 = 1977;
723+pub const IPMICTL_SET_TIMING_PARMS_CMD: u32 = 2148034838;
724+pub const PPPIOCGL2TPSTATS: u32 = 2152231990;
725+pub const PERF_EVENT_IOC_PERIOD: u32 = 1074275332;
726+pub const PTP_PIN_SETFUNC2: u32 = 1080048912;
727+pub const CHIOEXCHANGE: u32 = 1075602178;
728+pub const NILFS_IOCTL_GET_SUINFO: u32 = 2149084804;
729+pub const CEC_DQEVENT: u32 = 3226493191;
730+pub const UI_SET_SWBIT: u32 = 1074025837;
731+pub const VHOST_VDPA_SET_CONFIG: u32 = 1074311028;
732+pub const TUNSETIFF: u32 = 1074025674;
733+pub const CHIOPOSITION: u32 = 1074553603;
734+pub const IPMICTL_SET_MAINTENANCE_MODE_CMD: u32 = 1074030879;
735+pub const BTRFS_IOC_DEFAULT_SUBVOL: u32 = 1074304019;
736+pub const RIO_UNMAP_OUTBOUND: u32 = 1076391184;
737+pub const CAPI_CLR_FLAGS: u32 = 2147762981;
738+pub const FW_CDEV_IOC_ALLOCATE_ISO_RESOURCE_ONCE: u32 = 1075323663;
739+pub const MATROXFB_GET_OUTPUT_CONNECTION: u32 = 2148036344;
740+pub const EVIOCSMASK: u32 = 1074808211;
741+pub const BTRFS_IOC_FORGET_DEV: u32 = 1342215173;
742+pub const CXL_MEM_QUERY_COMMANDS: u32 = 2148060673;
743+pub const CEC_S_MODE: u32 = 1074028809;
744+pub const MGSL_IOCSIF: u32 = 27914;
745+pub const SWITCHTEC_IOCTL_PFF_TO_PORT: u32 = 3222034244;
746+pub const PPSETMODE: u32 = 1074032768;
747+pub const VFIO_DEVICE_SET_IRQS: u32 = 15214;
748+pub const VIDIOC_PREPARE_BUF: u32 = 3227014749;
749+pub const CEC_ADAP_G_CONNECTOR_INFO: u32 = 2151964938;
750+pub const IOC_OPAL_WRITE_SHADOW_MBR: u32 = 1092645098;
751+pub const VIDIOC_SUBDEV_ENUM_FRAME_INTERVAL: u32 = 3225441867;
752+pub const UDMABUF_CREATE: u32 = 1075344706;
753+pub const SONET_CLRDIAG: u32 = 3221512467;
754+pub const PHN_SET_REG: u32 = 1074294785;
755+pub const RNDADDTOENTCNT: u32 = 1074024961;
756+pub const VBG_IOCTL_CHECK_BALLOON: u32 = 3223344657;
757+pub const VIDIOC_OMAP3ISP_STAT_REQ: u32 = 3223869126;
758+pub const PPS_FETCH: u32 = 3221778596;
759+pub const RTC_AIE_OFF: u32 = 28674;
760+pub const VFIO_GROUP_SET_CONTAINER: u32 = 15208;
761+pub const FW_CDEV_IOC_RECEIVE_PHY_PACKETS: u32 = 1074275094;
762+pub const VFIO_IOMMU_SPAPR_TCE_REMOVE: u32 = 15224;
763+pub const VFIO_IOMMU_GET_INFO: u32 = 15216;
764+pub const DM_DEV_SUSPEND: u32 = 3241737478;
765+pub const F2FS_IOC_GET_COMPRESS_OPTION: u32 = 2147677461;
766+pub const FW_CDEV_IOC_STOP_ISO: u32 = 1074012939;
767+pub const GPIO_V2_GET_LINEINFO_IOCTL: u32 = 3238048773;
768+pub const ATMMPC_CTRL: u32 = 25048;
769+pub const PPPIOCSXASYNCMAP: u32 = 1075868751;
770+pub const CHIOGSTATUS: u32 = 1074815752;
771+pub const FW_CDEV_IOC_ALLOCATE_ISO_RESOURCE: u32 = 3222807309;
772+pub const RIO_MPORT_MAINT_PORT_IDX_GET: u32 = 2147773699;
773+pub const CAPI_SET_FLAGS: u32 = 2147762980;
774+pub const VFIO_GROUP_GET_DEVICE_FD: u32 = 15210;
775+pub const VHOST_SET_MEM_TABLE: u32 = 1074310915;
776+pub const MATROXFB_SET_OUTPUT_CONNECTION: u32 = 1074294520;
777+pub const DFL_FPGA_PORT_GET_REGION_INFO: u32 = 46658;
778+pub const VHOST_GET_FEATURES: u32 = 2148052736;
779+pub const LIRC_GET_REC_RESOLUTION: u32 = 2147772679;
780+pub const PACKET_CTRL_CMD: u32 = 3222820865;
781+pub const LIRC_SET_TRANSMITTER_MASK: u32 = 1074030871;
782+pub const BTRFS_IOC_ADD_DEV: u32 = 1342215178;
783+pub const JSIOCGCORR: u32 = 2149870114;
784+pub const VIDIOC_G_FMT: u32 = 3234878980;
785+pub const RTC_EPOCH_SET: u32 = 1074294798;
786+pub const CAPI_GET_PROFILE: u32 = 3225436937;
787+pub const ATM_GETLOOP: u32 = 1074815314;
788+pub const SCIF_LISTEN: u32 = 1074033410;
789+pub const NBD_CLEAR_QUE: u32 = 43781;
790+pub const F2FS_IOC_MOVE_RANGE: u32 = 3223385353;
791+pub const LIRC_GET_LENGTH: u32 = 2147772687;
792+pub const I8K_SET_FAN: u32 = 3221776775;
793+pub const FDSETMAXERRS: u32 = 1075053132;
794+pub const VIDIOC_SUBDEV_QUERYCAP: u32 = 2151699968;
795+pub const SNAPSHOT_SET_SWAP_AREA: u32 = 1074541325;
796+pub const LIRC_GET_REC_TIMEOUT: u32 = 2147772708;
797+pub const EVIOCRMFF: u32 = 1074021761;
798+pub const GPIO_GET_LINEEVENT_IOCTL: u32 = 3224417284;
799+pub const PPRDATA: u32 = 2147577989;
800+pub const RIO_MPORT_GET_PROPERTIES: u32 = 2150657284;
801+pub const TUNSETVNETHDRSZ: u32 = 1074025688;
802+pub const GPIO_GET_LINEINFO_IOCTL: u32 = 3225990146;
803+pub const GSMIOC_GETCONF: u32 = 2152482560;
804+pub const LIRC_GET_SEND_MODE: u32 = 2147772673;
805+pub const PPPIOCSACTIVE: u32 = 1074820166;
806+pub const SIOCGSTAMPNS_NEW: u32 = 2148567303;
807+pub const IPMICTL_RECEIVE_MSG: u32 = 3224398092;
808+pub const LIRC_SET_SEND_DUTY_CYCLE: u32 = 1074030869;
809+pub const UI_END_FF_ERASE: u32 = 1074550219;
810+pub const SWITCHTEC_IOCTL_FLASH_PART_INFO: u32 = 3222296385;
811+pub const FW_CDEV_IOC_SEND_PHY_PACKET: u32 = 3222807317;
812+pub const NBD_SET_FLAGS: u32 = 43786;
813+pub const VFIO_DEVICE_GET_REGION_INFO: u32 = 15212;
814+pub const REISERFS_IOC_UNPACK: u32 = 1074318593;
815+pub const FW_CDEV_IOC_REMOVE_DESCRIPTOR: u32 = 1074012935;
816+pub const RIO_SET_EVENT_MASK: u32 = 1074031885;
817+pub const SNAPSHOT_ALLOC_SWAP_PAGE: u32 = 2148021012;
818+pub const VDUSE_VQ_INJECT_IRQ: u32 = 1074037015;
819+pub const I2OPASSTHRU: u32 = 2148559116;
820+pub const IOC_OPAL_SET_PW: u32 = 1109422304;
821+pub const FSI_SCOM_READ: u32 = 3223352065;
822+pub const VHOST_VDPA_GET_DEVICE_ID: u32 = 2147790704;
823+pub const VIDIOC_QBUF: u32 = 3227014671;
824+pub const VIDIOC_S_TUNER: u32 = 1079268894;
825+pub const TUNGETVNETHDRSZ: u32 = 2147767511;
826+pub const CAPI_NCCI_GETUNIT: u32 = 2147762983;
827+pub const DFL_FPGA_PORT_UINT_GET_IRQ_NUM: u32 = 2147792455;
828+pub const VIDIOC_OMAP3ISP_STAT_EN: u32 = 3221771975;
829+pub const GPIO_V2_LINE_SET_CONFIG_IOCTL: u32 = 3239097357;
830+pub const TEE_IOC_VERSION: u32 = 2148312064;
831+pub const VIDIOC_LOG_STATUS: u32 = 22086;
832+pub const IPMICTL_SEND_COMMAND_SETTIME: u32 = 2150656277;
833+pub const VHOST_SET_LOG_FD: u32 = 1074048775;
834+pub const SCIF_SEND: u32 = 3222827782;
835+pub const VIDIOC_SUBDEV_G_FMT: u32 = 3227014660;
836+pub const NS_ADJBUFLEV: u32 = 24931;
837+pub const VIDIOC_DBG_S_REGISTER: u32 = 1077433935;
838+pub const NILFS_IOCTL_RESIZE: u32 = 1074294411;
839+pub const PHN_GETREG: u32 = 3221778437;
840+pub const I2OSWDL: u32 = 3224398085;
841+pub const VBG_IOCTL_VMMDEV_REQUEST_BIG: u32 = 22019;
842+pub const JSIOCGBUTTONS: u32 = 2147576338;
843+pub const VFIO_IOMMU_ENABLE: u32 = 15219;
844+pub const DM_DEV_RENAME: u32 = 3241737477;
845+pub const MEDIA_IOC_SETUP_LINK: u32 = 3224665091;
846+pub const VIDIOC_ENUMOUTPUT: u32 = 3225966128;
847+pub const STP_POLICY_ID_SET: u32 = 3222283520;
848+pub const VHOST_VDPA_SET_CONFIG_CALL: u32 = 1074048887;
849+pub const VIDIOC_SUBDEV_G_CROP: u32 = 3224917563;
850+pub const VIDIOC_S_CROP: u32 = 1075074620;
851+pub const WDIOC_GETTEMP: u32 = 2147768067;
852+pub const IOC_OPAL_ADD_USR_TO_LR: u32 = 1092120804;
853+pub const UI_SET_LEDBIT: u32 = 1074025833;
854+pub const NBD_SET_SOCK: u32 = 43776;
855+pub const BTRFS_IOC_SNAP_DESTROY_V2: u32 = 1342215231;
856+pub const HIDIOCGCOLLECTIONINFO: u32 = 3222292497;
857+pub const I2OSWUL: u32 = 3224398086;
858+pub const IOCTL_MEI_NOTIFY_GET: u32 = 2147764227;
859+pub const FDFMTTRK: u32 = 1074528840;
860+pub const MMTIMER_GETBITS: u32 = 27908;
861+pub const VIDIOC_ENUMSTD: u32 = 3225966105;
862+pub const VHOST_GET_VRING_BASE: u32 = 3221794578;
863+pub const VFIO_DEVICE_IOEVENTFD: u32 = 15220;
864+pub const ATMARP_SETENTRY: u32 = 25059;
865+pub const CCISS_REVALIDVOLS: u32 = 16906;
866+pub const MGSL_IOCLOOPTXDONE: u32 = 27913;
867+pub const RTC_VL_READ: u32 = 2147774483;
868+pub const ND_IOCTL_ARS_STATUS: u32 = 3224391171;
869+pub const RIO_DEV_DEL: u32 = 1075866904;
870+pub const VBG_IOCTL_ACQUIRE_GUEST_CAPABILITIES: u32 = 3223606797;
871+pub const VIDIOC_SUBDEV_DV_TIMINGS_CAP: u32 = 3230684772;
872+pub const SONYPI_IOCSFAN: u32 = 1073837579;
873+pub const SPIOCSTYPE: u32 = 1074295041;
874+pub const IPMICTL_REGISTER_FOR_CMD: u32 = 2147641614;
875+pub const I8K_GET_FAN: u32 = 3221776774;
876+pub const TUNGETVNETBE: u32 = 2147767519;
877+pub const AUTOFS_DEV_IOCTL_FAIL: u32 = 3222836087;
878+pub const UI_END_FF_UPLOAD: u32 = 1080579529;
879+pub const TOSH_SMM: u32 = 3222828176;
880+pub const SONYPI_IOCGBAT2REM: u32 = 2147644933;
881+pub const F2FS_IOC_GET_COMPRESS_BLOCKS: u32 = 2148070673;
882+pub const PPPIOCSNPMODE: u32 = 1074295883;
883+pub const USBDEVFS_CONTROL: u32 = 3222820096;
884+pub const HIDIOCGUSAGE: u32 = 3222816779;
885+pub const TUNSETTXFILTER: u32 = 1074025681;
886+pub const TUNGETVNETLE: u32 = 2147767517;
887+pub const VIDIOC_ENUM_DV_TIMINGS: u32 = 3230946914;
888+pub const BTRFS_IOC_INO_PATHS: u32 = 3224933411;
889+pub const MGSL_IOCGXSYNC: u32 = 27924;
890+pub const HIDIOCGFIELDINFO: u32 = 3224913930;
891+pub const VIDIOC_SUBDEV_G_STD: u32 = 2148029975;
892+pub const I2OVALIDATE: u32 = 2147772680;
893+pub const VIDIOC_TRY_ENCODER_CMD: u32 = 3223869006;
894+pub const NILFS_IOCTL_GET_CPINFO: u32 = 2149084802;
895+pub const VIDIOC_G_FREQUENCY: u32 = 3224131128;
896+pub const VFAT_IOCTL_READDIR_SHORT: u32 = 2184212994;
897+pub const ND_IOCTL_GET_CONFIG_DATA: u32 = 3222031877;
898+pub const F2FS_IOC_RESERVE_COMPRESS_BLOCKS: u32 = 2148070675;
899+pub const FDGETDRVSTAT: u32 = 2152727058;
900+pub const SYNC_IOC_MERGE: u32 = 3224387075;
901+pub const VIDIOC_S_DV_TIMINGS: u32 = 3229898327;
902+pub const PPPIOCBRIDGECHAN: u32 = 1074033717;
903+pub const LIRC_SET_SEND_MODE: u32 = 1074030865;
904+pub const RIO_ENABLE_PORTWRITE_RANGE: u32 = 1074818315;
905+pub const ATM_GETTYPE: u32 = 1074815364;
906+pub const PHN_GETREGS: u32 = 3223875591;
907+pub const FDSETEMSGTRESH: u32 = 586;
908+pub const NILFS_IOCTL_GET_VINFO: u32 = 3222826630;
909+pub const MGSL_IOCWAITEVENT: u32 = 3221515528;
910+pub const CAPI_INSTALLED: u32 = 2147631906;
911+pub const EVIOCGMASK: u32 = 2148550034;
912+pub const BTRFS_IOC_SUBVOL_GETFLAGS: u32 = 2148045849;
913+pub const FSL_HV_IOCTL_PARTITION_GET_STATUS: u32 = 3222056706;
914+pub const MEDIA_IOC_ENUM_ENTITIES: u32 = 3238034433;
915+pub const GSMIOC_GETFIRST: u32 = 2147763972;
916+pub const FW_CDEV_IOC_FLUSH_ISO: u32 = 1074012952;
917+pub const VIDIOC_DBG_G_CHIP_INFO: u32 = 3234354790;
918+pub const F2FS_IOC_RELEASE_VOLATILE_WRITE: u32 = 62724;
919+pub const CAPI_GET_SERIAL: u32 = 3221504776;
920+pub const FDSETDRVPRM: u32 = 1082131088;
921+pub const IOC_OPAL_SAVE: u32 = 1092120796;
922+pub const VIDIOC_G_DV_TIMINGS: u32 = 3229898328;
923+pub const TUNSETIFINDEX: u32 = 1074025690;
924+pub const CCISS_SETINTINFO: u32 = 1074283011;
925+pub const CM_IOSDBGLVL: u32 = 1074291706;
926+pub const RTC_VL_CLR: u32 = 28692;
927+pub const VIDIOC_REQBUFS: u32 = 3222558216;
928+pub const USBDEVFS_REAPURBNDELAY32: u32 = 1074025741;
929+pub const TEE_IOC_SHM_REGISTER: u32 = 3222840329;
930+pub const USBDEVFS_SETCONFIGURATION: u32 = 2147767557;
931+pub const CCISS_GETNODENAME: u32 = 2148549124;
932+pub const VIDIOC_SUBDEV_S_FRAME_INTERVAL: u32 = 3224393238;
933+pub const VIDIOC_ENUM_FRAMESIZES: u32 = 3224131146;
934+pub const VFIO_DEVICE_PCI_HOT_RESET: u32 = 15217;
935+pub const FW_CDEV_IOC_SEND_BROADCAST_REQUEST: u32 = 1076372242;
936+pub const LPSETTIMEOUT_NEW: u32 = 1074791951;
937+pub const RIO_CM_MPORT_GET_LIST: u32 = 3221512971;
938+pub const FW_CDEV_IOC_QUEUE_ISO: u32 = 3222807305;
939+pub const FDRAWCMD: u32 = 600;
940+pub const SCIF_UNREG: u32 = 3222303497;
941+pub const PPPIOCGIDLE64: u32 = 2148561983;
942+pub const USBDEVFS_RELEASEINTERFACE: u32 = 2147767568;
943+pub const VIDIOC_CROPCAP: u32 = 3224131130;
944+pub const DFL_FPGA_PORT_GET_INFO: u32 = 46657;
945+pub const PHN_SET_REGS: u32 = 1074294787;
946+pub const ATMLEC_DATA: u32 = 25041;
947+pub const PPPOEIOCDFWD: u32 = 45313;
948+pub const VIDIOC_S_SELECTION: u32 = 3225441887;
949+pub const SNAPSHOT_FREE_SWAP_PAGES: u32 = 13065;
950+pub const BTRFS_IOC_LOGICAL_INO: u32 = 3224933412;
951+pub const VIDIOC_S_CTRL: u32 = 3221771804;
952+pub const ZATM_SETPOOL: u32 = 1074815331;
953+pub const MTIOCPOS: u32 = 2148035843;
954+pub const PMU_IOC_SLEEP: u32 = 16896;
955+pub const AUTOFS_DEV_IOCTL_PROTOSUBVER: u32 = 3222836083;
956+pub const VBG_IOCTL_CHANGE_FILTER_MASK: u32 = 3223344652;
957+pub const NILFS_IOCTL_GET_SUSTAT: u32 = 2150657669;
958+pub const VIDIOC_QUERYCAP: u32 = 2154321408;
959+pub const HPET_INFO: u32 = 2149083139;
960+pub const VIDIOC_AM437X_CCDC_CFG: u32 = 1074288321;
961+pub const DM_LIST_DEVICES: u32 = 3241737474;
962+pub const TUNSETOWNER: u32 = 1074025676;
963+pub const VBG_IOCTL_CHANGE_GUEST_CAPABILITIES: u32 = 3223344654;
964+pub const RNDADDENTROPY: u32 = 1074287107;
965+pub const USBDEVFS_RESET: u32 = 21780;
966+pub const BTRFS_IOC_SUBVOL_CREATE: u32 = 1342215182;
967+pub const USBDEVFS_FORBID_SUSPEND: u32 = 21793;
968+pub const FDGETDRVTYP: u32 = 2148532751;
969+pub const PPWCONTROL: u32 = 1073836164;
970+pub const VIDIOC_ENUM_FRAMEINTERVALS: u32 = 3224655435;
971+pub const KCOV_DISABLE: u32 = 25445;
972+pub const IOC_OPAL_ACTIVATE_LSP: u32 = 1092120799;
973+pub const VHOST_VDPA_GET_IOVA_RANGE: u32 = 2148577144;
974+pub const PPPIOCSPASS: u32 = 1074820167;
975+pub const RIO_CM_CHAN_CONNECT: u32 = 1074291464;
976+pub const I2OSWDEL: u32 = 3224398087;
977+pub const FS_IOC_SET_ENCRYPTION_POLICY: u32 = 2148296211;
978+pub const IOC_OPAL_MBR_DONE: u32 = 1091596521;
979+pub const PPPIOCSMAXCID: u32 = 1074033745;
980+pub const PPSETPHASE: u32 = 1074032788;
981+pub const VHOST_VDPA_SET_VRING_ENABLE: u32 = 1074311029;
982+pub const USBDEVFS_GET_SPEED: u32 = 21791;
983+pub const SONET_GETFRAMING: u32 = 2147770646;
984+pub const VIDIOC_QUERYBUF: u32 = 3227014665;
985+pub const VIDIOC_S_EDID: u32 = 3223868969;
986+pub const BTRFS_IOC_QGROUP_ASSIGN: u32 = 1075352617;
987+pub const PPS_GETCAP: u32 = 2148036771;
988+pub const SNAPSHOT_PLATFORM_SUPPORT: u32 = 13071;
989+pub const LIRC_SET_REC_TIMEOUT_REPORTS: u32 = 1074030873;
990+pub const SCIF_GET_NODEIDS: u32 = 3222827790;
991+pub const NBD_DISCONNECT: u32 = 43784;
992+pub const VIDIOC_SUBDEV_G_FRAME_INTERVAL: u32 = 3224393237;
993+pub const VFIO_IOMMU_DISABLE: u32 = 15220;
994+pub const SNAPSHOT_CREATE_IMAGE: u32 = 1074017041;
995+pub const SNAPSHOT_POWER_OFF: u32 = 13072;
996+pub const APM_IOC_STANDBY: u32 = 16641;
997+pub const PPPIOCGUNIT: u32 = 2147775574;
998+pub const AUTOFS_IOC_EXPIRE_MULTI: u32 = 1074041702;
999+pub const SCIF_BIND: u32 = 3221779201;
1000+pub const IOC_WATCH_QUEUE_SET_SIZE: u32 = 22368;
1001+pub const NILFS_IOCTL_CHANGE_CPMODE: u32 = 1074818688;
1002+pub const IOC_OPAL_LOCK_UNLOCK: u32 = 1092120797;
1003+pub const F2FS_IOC_SET_PIN_FILE: u32 = 1074066701;
1004+pub const PPPIOCGRASYNCMAP: u32 = 2147775573;
1005+pub const MMTIMER_MMAPAVAIL: u32 = 27910;
1006+pub const I2OPASSTHRU32: u32 = 2148034828;
1007+pub const DFL_FPGA_FME_PORT_RELEASE: u32 = 1074050689;
1008+pub const VIDIOC_SUBDEV_QUERY_DV_TIMINGS: u32 = 2156156515;
1009+pub const UI_SET_SNDBIT: u32 = 1074025834;
1010+pub const VIDIOC_G_AUDOUT: u32 = 2150913585;
1011+pub const RTC_PLL_SET: u32 = 1075867666;
1012+pub const VIDIOC_ENUMAUDIO: u32 = 3224655425;
1013+pub const AUTOFS_DEV_IOCTL_TIMEOUT: u32 = 3222836090;
1014+pub const VBG_IOCTL_DRIVER_VERSION_INFO: u32 = 3224131072;
1015+pub const VHOST_SCSI_GET_EVENTS_MISSED: u32 = 1074048836;
1016+pub const VHOST_SET_VRING_ADDR: u32 = 1076408081;
1017+pub const VDUSE_CREATE_DEV: u32 = 1095794946;
1018+pub const FDFLUSH: u32 = 587;
1019+pub const VBG_IOCTL_WAIT_FOR_EVENTS: u32 = 3223344650;
1020+pub const DFL_FPGA_FME_ERR_SET_IRQ: u32 = 1074312836;
1021+pub const F2FS_IOC_GET_PIN_FILE: u32 = 2147808526;
1022+pub const SCIF_CONNECT: u32 = 3221779203;
1023+pub const BLKREPORTZONE: u32 = 3222278786;
1024+pub const AUTOFS_IOC_ASKUMOUNT: u32 = 2147783536;
1025+pub const ATM_ADDPARTY: u32 = 1074815476;
1026+pub const FDSETPRM: u32 = 1075839554;
1027+pub const ATM_GETSTATZ: u32 = 1074815313;
1028+pub const ISST_IF_MSR_COMMAND: u32 = 3221814788;
1029+pub const BTRFS_IOC_GET_SUBVOL_INFO: u32 = 2180551740;
1030+pub const VIDIOC_UNSUBSCRIBE_EVENT: u32 = 1075861083;
1031+pub const SEV_ISSUE_CMD: u32 = 3222295296;
1032+pub const GPIOHANDLE_SET_LINE_VALUES_IOCTL: u32 = 3225465865;
1033+pub const PCITEST_COPY: u32 = 1074286598;
1034+pub const IPMICTL_GET_MY_ADDRESS_CMD: u32 = 2147772690;
1035+pub const CHIOGPICKER: u32 = 2147771140;
1036+pub const CAPI_NCCI_OPENCOUNT: u32 = 2147762982;
1037+pub const CXL_MEM_SEND_COMMAND: u32 = 3224423938;
1038+pub const PERF_EVENT_IOC_SET_FILTER: u32 = 1074275334;
1039+pub const IOC_OPAL_REVERT_TPR: u32 = 1091072226;
1040+pub const CHIOGVPARAMS: u32 = 2154849043;
1041+pub const PTP_PEROUT_REQUEST: u32 = 1077427459;
1042+pub const FSI_SCOM_CHECK: u32 = 2147775232;
1043+pub const RTC_IRQP_READ: u32 = 2148036619;
1044+pub const RIO_MPORT_MAINT_READ_LOCAL: u32 = 2149084421;
1045+pub const HIDIOCGRDESCSIZE: u32 = 2147764225;
1046+pub const UI_GET_VERSION: u32 = 2147767597;
1047+pub const NILFS_IOCTL_GET_CPSTAT: u32 = 2149084803;
1048+pub const CCISS_GETBUSTYPES: u32 = 2147762695;
1049+pub const VFIO_IOMMU_SPAPR_TCE_CREATE: u32 = 15223;
1050+pub const VIDIOC_EXPBUF: u32 = 3225441808;
1051+pub const UI_SET_RELBIT: u32 = 1074025830;
1052+pub const VFIO_SET_IOMMU: u32 = 15206;
1053+pub const VIDIOC_S_MODULATOR: u32 = 1078220343;
1054+pub const TUNGETFILTER: u32 = 2148553947;
1055+pub const MEYEIOC_SYNC: u32 = 3221518019;
1056+pub const CCISS_SETNODENAME: u32 = 1074807301;
1057+pub const FBIO_GETCONTROL2: u32 = 2148025993;
1058+pub const TUNSETDEBUG: u32 = 1074025673;
1059+pub const DM_DEV_REMOVE: u32 = 3241737476;
1060+pub const HIDIOCSUSAGES: u32 = 1344030740;
1061+pub const FS_IOC_ADD_ENCRYPTION_KEY: u32 = 3226494487;
1062+pub const FBIOGET_VBLANK: u32 = 2149598738;
1063+pub const ATM_GETSTAT: u32 = 1074815312;
1064+pub const VIDIOC_G_JPEGCOMP: u32 = 2156680765;
1065+pub const TUNATTACHFILTER: u32 = 1074812117;
1066+pub const UI_SET_ABSBIT: u32 = 1074025831;
1067+pub const DFL_FPGA_PORT_ERR_GET_IRQ_NUM: u32 = 2147792453;
1068+pub const USBDEVFS_REAPURB32: u32 = 1074025740;
1069+pub const BTRFS_IOC_TRANS_END: u32 = 37895;
1070+pub const CAPI_REGISTER: u32 = 1074545409;
1071+pub const F2FS_IOC_COMPRESS_FILE: u32 = 62744;
1072+pub const USBDEVFS_DISCARDURB: u32 = 21771;
1073+pub const HE_GET_REG: u32 = 1074815328;
1074+pub const ATM_SETLOOP: u32 = 1074815315;
1075+pub const ATMSIGD_CTRL: u32 = 25072;
1076+pub const CIOC_KERNEL_VERSION: u32 = 3221775114;
1077+pub const BTRFS_IOC_CLONE_RANGE: u32 = 1075876877;
1078+pub const SNAPSHOT_UNFREEZE: u32 = 13058;
1079+pub const F2FS_IOC_START_VOLATILE_WRITE: u32 = 62723;
1080+pub const PMU_IOC_HAS_ADB: u32 = 2148024836;
1081+pub const I2OGETIOPS: u32 = 2149607680;
1082+pub const VIDIOC_S_FBUF: u32 = 1076909579;
1083+pub const PPRCONTROL: u32 = 2147577987;
1084+pub const CHIOSPICKER: u32 = 1074029317;
1085+pub const VFIO_IOMMU_SPAPR_REGISTER_MEMORY: u32 = 15221;
1086+pub const TUNGETSNDBUF: u32 = 2147767507;
1087+pub const GSMIOC_SETCONF: u32 = 1078740737;
1088+pub const IOC_PR_PREEMPT: u32 = 1075343563;
1089+pub const KCOV_INIT_TRACE: u32 = 2148033281;
1090+pub const SONYPI_IOCGBAT1CAP: u32 = 2147644930;
1091+pub const SWITCHTEC_IOCTL_FLASH_INFO: u32 = 2148554560;
1092+pub const MTIOCTOP: u32 = 1074294017;
1093+pub const VHOST_VDPA_SET_STATUS: u32 = 1073852274;
1094+pub const VHOST_SCSI_SET_EVENTS_MISSED: u32 = 1074048835;
1095+pub const VFIO_IOMMU_DIRTY_PAGES: u32 = 15221;
1096+pub const BTRFS_IOC_SCRUB_PROGRESS: u32 = 3288372253;
1097+pub const PPPIOCGMRU: u32 = 2147775571;
1098+pub const BTRFS_IOC_DEV_REPLACE: u32 = 3391657013;
1099+pub const PPPIOCGFLAGS: u32 = 2147775578;
1100+pub const NILFS_IOCTL_SET_SUINFO: u32 = 1075342989;
1101+pub const FW_CDEV_IOC_GET_CYCLE_TIMER2: u32 = 3222807316;
1102+pub const ATM_DELLECSADDR: u32 = 1074815375;
1103+pub const FW_CDEV_IOC_GET_SPEED: u32 = 8977;
1104+pub const PPPIOCGIDLE32: u32 = 2148037695;
1105+pub const VFIO_DEVICE_RESET: u32 = 15215;
1106+pub const GPIO_GET_LINEINFO_UNWATCH_IOCTL: u32 = 3221533708;
1107+pub const WDIOC_GETSTATUS: u32 = 2147768065;
1108+pub const BTRFS_IOC_SET_FEATURES: u32 = 1076925497;
1109+pub const IOCTL_MEI_CONNECT_CLIENT: u32 = 3222292481;
1110+pub const VIDIOC_OMAP3ISP_AEWB_CFG: u32 = 3223344835;
1111+pub const PCITEST_READ: u32 = 1074286597;
1112+pub const VFIO_GROUP_GET_STATUS: u32 = 15207;
1113+pub const MATROXFB_GET_ALL_OUTPUTS: u32 = 2148036347;
1114+pub const USBDEVFS_CLEAR_HALT: u32 = 2147767573;
1115+pub const VIDIOC_DECODER_CMD: u32 = 3225966176;
1116+pub const VIDIOC_G_AUDIO: u32 = 2150913569;
1117+pub const CCISS_RESCANDISK: u32 = 16912;
1118+pub const RIO_DISABLE_PORTWRITE_RANGE: u32 = 1074818316;
1119+pub const IOC_OPAL_SECURE_ERASE_LR: u32 = 1091596519;
1120+pub const USBDEVFS_REAPURB: u32 = 1074287884;
1121+pub const DFL_FPGA_CHECK_EXTENSION: u32 = 46593;
1122+pub const AUTOFS_IOC_PROTOVER: u32 = 2147783523;
1123+pub const FSL_HV_IOCTL_MEMCPY: u32 = 3223891717;
1124+pub const BTRFS_IOC_GET_FEATURES: u32 = 2149094457;
1125+pub const PCITEST_MSIX: u32 = 1074024455;
1126+pub const BTRFS_IOC_DEFRAG_RANGE: u32 = 1076925456;
1127+pub const UI_BEGIN_FF_ERASE: u32 = 3222033866;
1128+pub const DM_GET_TARGET_VERSION: u32 = 3241737489;
1129+pub const PPPIOCGIDLE: u32 = 2148561983;
1130+pub const NVRAM_SETCKS: u32 = 28737;
1131+pub const WDIOC_GETSUPPORT: u32 = 2150127360;
1132+pub const GSMIOC_ENABLE_NET: u32 = 1077167874;
1133+pub const GPIO_GET_CHIPINFO_IOCTL: u32 = 2151986177;
1134+pub const NE_ADD_VCPU: u32 = 3221532193;
1135+pub const EVIOCSKEYCODE_V2: u32 = 1076380932;
1136+pub const PTP_SYS_OFFSET_EXTENDED2: u32 = 3300932882;
1137+pub const SCIF_FENCE_WAIT: u32 = 3221517072;
1138+pub const RIO_TRANSFER: u32 = 3222826261;
1139+pub const FSL_HV_IOCTL_DOORBELL: u32 = 3221794566;
1140+pub const RIO_MPORT_MAINT_WRITE_LOCAL: u32 = 1075342598;
1141+pub const I2OEVTREG: u32 = 1074555146;
1142+pub const I2OPARMGET: u32 = 3223873796;
1143+pub const EVIOCGID: u32 = 2148025602;
1144+pub const BTRFS_IOC_QGROUP_CREATE: u32 = 1074828330;
1145+pub const AUTOFS_DEV_IOCTL_SETPIPEFD: u32 = 3222836088;
1146+pub const VIDIOC_S_PARM: u32 = 3234616854;
1147+pub const TUNSETSTEERINGEBPF: u32 = 2147767520;
1148+pub const ATM_GETNAMES: u32 = 1074815363;
1149+pub const VIDIOC_QUERYMENU: u32 = 3224131109;
1150+pub const DFL_FPGA_PORT_DMA_UNMAP: u32 = 46660;
1151+pub const I2OLCTGET: u32 = 3222825218;
1152+pub const FS_IOC_GET_ENCRYPTION_PWSALT: u32 = 1074816532;
1153+pub const NS_SETBUFLEV: u32 = 1074815330;
1154+pub const BLKCLOSEZONE: u32 = 1074795143;
1155+pub const SONET_GETFRSENSE: u32 = 2147901719;
1156+pub const UI_SET_EVBIT: u32 = 1074025828;
1157+pub const DM_LIST_VERSIONS: u32 = 3241737485;
1158+pub const HIDIOCGSTRING: u32 = 2164541444;
1159+pub const PPPIOCATTCHAN: u32 = 1074033720;
1160+pub const VDUSE_DEV_SET_CONFIG: u32 = 1074299154;
1161+pub const TUNGETFEATURES: u32 = 2147767503;
1162+pub const VFIO_GROUP_UNSET_CONTAINER: u32 = 15209;
1163+pub const IPMICTL_SET_MY_ADDRESS_CMD: u32 = 2147772689;
1164+pub const CCISS_REGNEWDISK: u32 = 1074020877;
1165+pub const VIDIOC_QUERY_DV_TIMINGS: u32 = 2156156515;
1166+pub const PHN_SETREGS: u32 = 1076391944;
1167+pub const FAT_IOCTL_GET_ATTRIBUTES: u32 = 2147774992;
1168+pub const FSL_MC_SEND_MC_COMMAND: u32 = 3225440992;
1169+pub const TUNGETIFF: u32 = 2147767506;
1170+pub const PTP_CLOCK_GETCAPS2: u32 = 2152742154;
1171+pub const BTRFS_IOC_RESIZE: u32 = 1342215171;
1172+pub const VHOST_SET_VRING_ENDIAN: u32 = 1074310931;
1173+pub const PPS_KC_BIND: u32 = 1074294949;
1174+pub const F2FS_IOC_WRITE_CHECKPOINT: u32 = 62727;
1175+pub const UI_SET_FFBIT: u32 = 1074025835;
1176+pub const IPMICTL_GET_MY_LUN_CMD: u32 = 2147772692;
1177+pub const CEC_ADAP_G_PHYS_ADDR: u32 = 2147639553;
1178+pub const CEC_G_MODE: u32 = 2147770632;
1179+pub const USBDEVFS_RESETEP: u32 = 2147767555;
1180+pub const MEDIA_REQUEST_IOC_QUEUE: u32 = 31872;
1181+pub const USBDEVFS_ALLOC_STREAMS: u32 = 2148029724;
1182+pub const MGSL_IOCSXCTRL: u32 = 27925;
1183+pub const MEDIA_IOC_G_TOPOLOGY: u32 = 3225975812;
1184+pub const PPPIOCUNBRIDGECHAN: u32 = 29748;
1185+pub const F2FS_IOC_COMMIT_ATOMIC_WRITE: u32 = 62722;
1186+pub const ISST_IF_GET_PLATFORM_INFO: u32 = 2148072960;
1187+pub const SCIF_FENCE_MARK: u32 = 3222303503;
1188+pub const USBDEVFS_RELEASE_PORT: u32 = 2147767577;
1189+pub const VFIO_CHECK_EXTENSION: u32 = 15205;
1190+pub const BTRFS_IOC_QGROUP_LIMIT: u32 = 2150667307;
1191+pub const FAT_IOCTL_GET_VOLUME_ID: u32 = 2147774995;
1192+pub const UI_SET_PHYS: u32 = 1074287980;
1193+pub const FDWERRORGET: u32 = 2150105623;
1194+pub const VIDIOC_SUBDEV_G_EDID: u32 = 3223868968;
1195+pub const MGSL_IOCGSTATS: u32 = 27911;
1196+pub const RPROC_SET_SHUTDOWN_ON_RELEASE: u32 = 1074050817;
1197+pub const SIOCGSTAMP_NEW: u32 = 2148567302;
1198+pub const RTC_WKALM_RD: u32 = 2150133776;
1199+pub const PHN_GET_REG: u32 = 3221778432;
1200+pub const DELL_WMI_SMBIOS_CMD: u32 = 3224655616;
1201+pub const PHN_NOT_OH: u32 = 28676;
1202+pub const PPGETMODES: u32 = 2147774615;
1203+pub const CHIOGPARAMS: u32 = 2148819718;
1204+pub const VFIO_DEVICE_GET_GFX_DMABUF: u32 = 15219;
1205+pub const VHOST_SET_VRING_BUSYLOOP_TIMEOUT: u32 = 1074310947;
1206+pub const VIDIOC_SUBDEV_G_SELECTION: u32 = 3225441853;
1207+pub const BTRFS_IOC_RM_DEV_V2: u32 = 1342215226;
1208+pub const MGSL_IOCWAITGPIO: u32 = 3222301970;
1209+pub const PMU_IOC_CAN_SLEEP: u32 = 2148024837;
1210+pub const KCOV_ENABLE: u32 = 25444;
1211+pub const BTRFS_IOC_CLONE: u32 = 1074041865;
1212+pub const F2FS_IOC_DEFRAGMENT: u32 = 3222336776;
1213+pub const FW_CDEV_IOC_DEALLOCATE_ISO_RESOURCE: u32 = 1074012942;
1214+pub const AGPIOC_ALLOCATE: u32 = 3221766406;
1215+pub const NE_SET_USER_MEMORY_REGION: u32 = 1075359267;
1216+pub const MGSL_IOCTXABORT: u32 = 27910;
1217+pub const MGSL_IOCSGPIO: u32 = 1074818320;
1218+pub const LIRC_SET_REC_CARRIER: u32 = 1074030868;
1219+pub const F2FS_IOC_FLUSH_DEVICE: u32 = 1074328842;
1220+pub const SNAPSHOT_ATOMIC_RESTORE: u32 = 13060;
1221+pub const RTC_UIE_OFF: u32 = 28676;
1222+pub const BT_BMC_IOCTL_SMS_ATN: u32 = 45312;
1223+pub const NVME_IOCTL_ID: u32 = 20032;
1224+pub const NE_START_ENCLAVE: u32 = 3222318628;
1225+pub const VIDIOC_STREAMON: u32 = 1074026002;
1226+pub const FDPOLLDRVSTAT: u32 = 2152727059;
1227+pub const AUTOFS_DEV_IOCTL_READY: u32 = 3222836086;
1228+pub const VIDIOC_ENUMAUDOUT: u32 = 3224655426;
1229+pub const VIDIOC_SUBDEV_S_STD: u32 = 1074288152;
1230+pub const WDIOC_GETTIMELEFT: u32 = 2147768074;
1231+pub const ATM_GETLINKRATE: u32 = 1074815361;
1232+pub const RTC_WKALM_SET: u32 = 1076391951;
1233+pub const VHOST_GET_BACKEND_FEATURES: u32 = 2148052774;
1234+pub const ATMARP_ENCAP: u32 = 25061;
1235+pub const CAPI_GET_FLAGS: u32 = 2147762979;
1236+pub const IPMICTL_SET_MY_CHANNEL_ADDRESS_CMD: u32 = 2147772696;
1237+pub const DFL_FPGA_FME_PORT_ASSIGN: u32 = 1074050690;
1238+pub const NS_GET_OWNER_UID: u32 = 46852;
1239+pub const VIDIOC_OVERLAY: u32 = 1074025998;
1240+pub const BTRFS_IOC_WAIT_SYNC: u32 = 1074304022;
1241+pub const GPIOHANDLE_SET_CONFIG_IOCTL: u32 = 3226776586;
1242+pub const VHOST_GET_VRING_ENDIAN: u32 = 1074310932;
1243+pub const ATM_GETADDR: u32 = 1074815366;
1244+pub const PHN_GET_REGS: u32 = 3221778434;
1245+pub const AUTOFS_DEV_IOCTL_REQUESTER: u32 = 3222836091;
1246+pub const AUTOFS_DEV_IOCTL_EXPIRE: u32 = 3222836092;
1247+pub const SNAPSHOT_S2RAM: u32 = 13067;
1248+pub const JSIOCSAXMAP: u32 = 1077963313;
1249+pub const F2FS_IOC_SET_COMPRESS_OPTION: u32 = 1073935638;
1250+pub const VBG_IOCTL_HGCM_DISCONNECT: u32 = 3223082501;
1251+pub const SCIF_FENCE_SIGNAL: u32 = 3223876369;
1252+pub const VFIO_DEVICE_GET_PCI_HOT_RESET_INFO: u32 = 15216;
1253+pub const VIDIOC_SUBDEV_ENUM_MBUS_CODE: u32 = 3224393218;
1254+pub const MMTIMER_GETOFFSET: u32 = 27904;
1255+pub const RIO_CM_CHAN_LISTEN: u32 = 1073898246;
1256+pub const ATM_SETSC: u32 = 1074029041;
1257+pub const F2FS_IOC_SHUTDOWN: u32 = 2147768445;
1258+pub const NVME_IOCTL_RESCAN: u32 = 20038;
1259+pub const BLKOPENZONE: u32 = 1074795142;
1260+pub const DM_VERSION: u32 = 3241737472;
1261+pub const CEC_TRANSMIT: u32 = 3224920325;
1262+pub const FS_IOC_GET_ENCRYPTION_POLICY_EX: u32 = 3221841430;
1263+pub const SIOCMKCLIP: u32 = 25056;
1264+pub const IPMI_BMC_IOCTL_CLEAR_SMS_ATN: u32 = 45313;
1265+pub const HIDIOCGVERSION: u32 = 2147764225;
1266+pub const VIDIOC_S_INPUT: u32 = 3221509671;
1267+pub const VIDIOC_G_CROP: u32 = 3222558267;
1268+pub const LIRC_SET_WIDEBAND_RECEIVER: u32 = 1074030883;
1269+pub const EVIOCGEFFECTS: u32 = 2147763588;
1270+pub const UVCIOC_CTRL_QUERY: u32 = 3222304033;
1271+pub const IOC_OPAL_GENERIC_TABLE_RW: u32 = 1094217963;
1272+pub const FS_IOC_READ_VERITY_METADATA: u32 = 3223873159;
1273+pub const ND_IOCTL_SET_CONFIG_DATA: u32 = 3221769734;
1274+pub const USBDEVFS_GETDRIVER: u32 = 1090802952;
1275+pub const IDT77105_GETSTAT: u32 = 1074815282;
1276+pub const HIDIOCINITREPORT: u32 = 18437;
1277+pub const VFIO_DEVICE_GET_INFO: u32 = 15211;
1278+pub const RIO_CM_CHAN_RECEIVE: u32 = 3222299402;
1279+pub const RNDGETENTCNT: u32 = 2147766784;
1280+pub const PPPIOCNEWUNIT: u32 = 3221517374;
1281+pub const BTRFS_IOC_INO_LOOKUP: u32 = 3489698834;
1282+pub const FDRESET: u32 = 596;
1283+pub const IOC_PR_REGISTER: u32 = 1075343560;
1284+pub const HIDIOCSREPORT: u32 = 1074546696;
1285+pub const TEE_IOC_OPEN_SESSION: u32 = 2148574210;
1286+pub const TEE_IOC_SUPPL_RECV: u32 = 2148574214;
1287+pub const BTRFS_IOC_BALANCE_CTL: u32 = 1074041889;
1288+pub const GPIO_GET_LINEINFO_WATCH_IOCTL: u32 = 3225990155;
1289+pub const HIDIOCGRAWINFO: u32 = 2148026371;
1290+pub const PPPIOCSCOMPRESS: u32 = 1074820173;
1291+pub const USBDEVFS_CONNECTINFO: u32 = 1074287889;
1292+pub const BLKRESETZONE: u32 = 1074795139;
1293+pub const CHIOINITELEM: u32 = 25361;
1294+pub const NILFS_IOCTL_SET_ALLOC_RANGE: u32 = 1074818700;
1295+pub const AUTOFS_DEV_IOCTL_CATATONIC: u32 = 3222836089;
1296+pub const RIO_MPORT_MAINT_HDID_SET: u32 = 1073900801;
1297+pub const PPGETPHASE: u32 = 2147774617;
1298+pub const USBDEVFS_DISCONNECT_CLAIM: u32 = 2164806939;
1299+pub const FDMSGON: u32 = 581;
1300+pub const VIDIOC_G_SLICED_VBI_CAP: u32 = 3228849733;
1301+pub const BTRFS_IOC_BALANCE_V2: u32 = 3288372256;
1302+pub const MEDIA_REQUEST_IOC_REINIT: u32 = 31873;
1303+pub const IOC_OPAL_ERASE_LR: u32 = 1091596518;
1304+pub const FDFMTBEG: u32 = 583;
1305+pub const RNDRESEEDCRNG: u32 = 20999;
1306+pub const ISST_IF_GET_PHY_ID: u32 = 3221814785;
1307+pub const TUNSETNOCSUM: u32 = 1074025672;
1308+pub const SONET_GETSTAT: u32 = 2149867792;
1309+pub const TFD_IOC_SET_TICKS: u32 = 1074287616;
1310+pub const PPDATADIR: u32 = 1074032784;
1311+pub const IOC_OPAL_ENABLE_DISABLE_MBR: u32 = 1091596517;
1312+pub const GPIO_V2_GET_LINE_IOCTL: u32 = 3260068871;
1313+pub const RIO_CM_CHAN_SEND: u32 = 1074815753;
1314+pub const PPWCTLONIRQ: u32 = 1073836178;
1315+pub const SONYPI_IOCGBRT: u32 = 2147579392;
1316+pub const IOC_PR_RELEASE: u32 = 1074819274;
1317+pub const PPCLRIRQ: u32 = 2147774611;
1318+pub const IPMICTL_SET_MY_CHANNEL_LUN_CMD: u32 = 2147772698;
1319+pub const MGSL_IOCSXSYNC: u32 = 27923;
1320+pub const HPET_IE_OFF: u32 = 26626;
1321+pub const IOC_OPAL_ACTIVATE_USR: u32 = 1091596513;
1322+pub const SONET_SETFRAMING: u32 = 1074028821;
1323+pub const PERF_EVENT_IOC_PAUSE_OUTPUT: u32 = 1074013193;
1324+pub const BTRFS_IOC_LOGICAL_INO_V2: u32 = 3224933435;
1325+pub const VBG_IOCTL_HGCM_CONNECT: u32 = 3231471108;
1326+pub const BLKFINISHZONE: u32 = 1074795144;
1327+pub const EVIOCREVOKE: u32 = 1074021777;
1328+pub const VFIO_DEVICE_FEATURE: u32 = 15221;
1329+pub const CCISS_GETPCIINFO: u32 = 2148024833;
1330+pub const ISST_IF_MBOX_COMMAND: u32 = 3221814787;
1331+pub const SCIF_ACCEPTREQ: u32 = 3222303492;
1332+pub const PERF_EVENT_IOC_QUERY_BPF: u32 = 3221758986;
1333+pub const VIDIOC_STREAMOFF: u32 = 1074026003;
1334+pub const VDUSE_DESTROY_DEV: u32 = 1090552067;
1335+pub const FDGETFDCSTAT: u32 = 2150105621;
1336+pub const CM_IOCGATR: u32 = 3221775105;
1337+pub const VIDIOC_S_PRIORITY: u32 = 1074026052;
1338+pub const SNAPSHOT_FREEZE: u32 = 13057;
1339+pub const VIDIOC_ENUMINPUT: u32 = 3226490394;
1340+pub const ZATM_GETPOOLZ: u32 = 1074815330;
1341+pub const RIO_DISABLE_DOORBELL_RANGE: u32 = 1074294026;
1342+pub const GPIO_V2_GET_LINEINFO_WATCH_IOCTL: u32 = 3238048774;
1343+pub const VIDIOC_G_STD: u32 = 2148029975;
1344+pub const USBDEVFS_ALLOW_SUSPEND: u32 = 21794;
1345+pub const SONET_GETSTATZ: u32 = 2149867793;
1346+pub const SCIF_ACCEPTREG: u32 = 3221779205;
1347+pub const VIDIOC_ENCODER_CMD: u32 = 3223869005;
1348+pub const PPPIOCSRASYNCMAP: u32 = 1074033748;
1349+pub const IOCTL_MEI_NOTIFY_SET: u32 = 1074022402;
1350+pub const BTRFS_IOC_QUOTA_RESCAN_STATUS: u32 = 2151715885;
1351+pub const F2FS_IOC_GARBAGE_COLLECT: u32 = 1074066694;
1352+pub const ATMLEC_CTRL: u32 = 25040;
1353+pub const MATROXFB_GET_AVAILABLE_OUTPUTS: u32 = 2148036345;
1354+pub const DM_DEV_CREATE: u32 = 3241737475;
1355+pub const VHOST_VDPA_GET_VRING_NUM: u32 = 2147659638;
1356+pub const VIDIOC_G_CTRL: u32 = 3221771803;
1357+pub const NBD_CLEAR_SOCK: u32 = 43780;
1358+pub const VFIO_DEVICE_QUERY_GFX_PLANE: u32 = 15218;
1359+pub const WDIOC_KEEPALIVE: u32 = 2147768069;
1360+pub const NVME_IOCTL_SUBSYS_RESET: u32 = 20037;
1361+pub const PTP_EXTTS_REQUEST2: u32 = 1074806027;
1362+pub const PCITEST_BAR: u32 = 20481;
1363+pub const MGSL_IOCGGPIO: u32 = 2148560145;
1364+pub const EVIOCSREP: u32 = 1074283779;
1365+pub const VFIO_DEVICE_GET_IRQ_INFO: u32 = 15213;
1366+pub const HPET_DPI: u32 = 26629;
1367+pub const VDUSE_VQ_SETUP_KICKFD: u32 = 1074299158;
1368+pub const ND_IOCTL_CALL: u32 = 3225439754;
1369+pub const HIDIOCGDEVINFO: u32 = 2149337091;
1370+pub const DM_TABLE_DEPS: u32 = 3241737483;
1371+pub const BTRFS_IOC_DEV_INFO: u32 = 3489698846;
1372+pub const VDUSE_IOTLB_GET_FD: u32 = 3223355664;
1373+pub const FW_CDEV_IOC_GET_INFO: u32 = 3223855872;
1374+pub const VIDIOC_G_PRIORITY: u32 = 2147767875;
1375+pub const ATM_NEWBACKENDIF: u32 = 1073897971;
1376+pub const VIDIOC_S_EXT_CTRLS: u32 = 3223344712;
1377+pub const VIDIOC_SUBDEV_ENUM_DV_TIMINGS: u32 = 3230946914;
1378+pub const VIDIOC_OMAP3ISP_CCDC_CFG: u32 = 3224917697;
1379+pub const VIDIOC_S_HW_FREQ_SEEK: u32 = 1076909650;
1380+pub const DM_TABLE_LOAD: u32 = 3241737481;
1381+pub const F2FS_IOC_START_ATOMIC_WRITE: u32 = 62721;
1382+pub const VIDIOC_G_OUTPUT: u32 = 2147767854;
1383+pub const ATM_DROPPARTY: u32 = 1074029045;
1384+pub const CHIOGELEM: u32 = 1080845072;
1385+pub const BTRFS_IOC_GET_SUPPORTED_FEATURES: u32 = 2152240185;
1386+pub const EVIOCSKEYCODE: u32 = 1074283780;
1387+pub const NE_GET_IMAGE_LOAD_INFO: u32 = 3222318626;
1388+pub const TUNSETLINK: u32 = 1074025677;
1389+pub const FW_CDEV_IOC_ADD_DESCRIPTOR: u32 = 3222807302;
1390+pub const BTRFS_IOC_SCRUB_CANCEL: u32 = 37916;
1391+pub const PPS_SETPARAMS: u32 = 1074294946;
1392+pub const IOC_OPAL_LR_SETUP: u32 = 1093169379;
1393+pub const FW_CDEV_IOC_DEALLOCATE: u32 = 1074012931;
1394+pub const WDIOC_SETTIMEOUT: u32 = 3221509894;
1395+pub const IOC_WATCH_QUEUE_SET_FILTER: u32 = 22369;
1396+pub const CAPI_GET_MANUFACTURER: u32 = 3221504774;
1397+pub const VFIO_IOMMU_SPAPR_UNREGISTER_MEMORY: u32 = 15222;
1398+pub const ASPEED_P2A_CTRL_IOCTL_SET_WINDOW: u32 = 1074836224;
1399+pub const VIDIOC_G_EDID: u32 = 3223868968;
1400+pub const F2FS_IOC_GARBAGE_COLLECT_RANGE: u32 = 1075377419;
1401+pub const RIO_MAP_INBOUND: u32 = 3223874833;
1402+pub const IOC_OPAL_TAKE_OWNERSHIP: u32 = 1091072222;
1403+pub const USBDEVFS_CLAIM_PORT: u32 = 2147767576;
1404+pub const VIDIOC_S_AUDIO: u32 = 1077171746;
1405+pub const FS_IOC_GET_ENCRYPTION_NONCE: u32 = 2148558363;
1406+pub const FW_CDEV_IOC_SEND_STREAM_PACKET: u32 = 1076372243;
1407+pub const BTRFS_IOC_SNAP_DESTROY: u32 = 1342215183;
1408+pub const SNAPSHOT_FREE: u32 = 13061;
1409+pub const I8K_GET_SPEED: u32 = 3221776773;
1410+pub const HIDIOCGREPORT: u32 = 1074546695;
1411+pub const HPET_EPI: u32 = 26628;
1412+pub const JSIOCSCORR: u32 = 1076128289;
1413+pub const IOC_PR_PREEMPT_ABORT: u32 = 1075343564;
1414+pub const RIO_MAP_OUTBOUND: u32 = 3223874831;
1415+pub const ATM_SETESI: u32 = 1074815372;
1416+pub const FW_CDEV_IOC_START_ISO: u32 = 1074799370;
1417+pub const ATM_DELADDR: u32 = 1074815369;
1418+pub const PPFCONTROL: u32 = 1073901710;
1419+pub const SONYPI_IOCGFAN: u32 = 2147579402;
1420+pub const RTC_IRQP_SET: u32 = 1074294796;
1421+pub const PCITEST_WRITE: u32 = 1074286596;
1422+pub const PPCLAIM: u32 = 28811;
1423+pub const VIDIOC_S_JPEGCOMP: u32 = 1082938942;
1424+pub const IPMICTL_UNREGISTER_FOR_CMD: u32 = 2147641615;
1425+pub const VHOST_SET_FEATURES: u32 = 1074310912;
1426+pub const TOSHIBA_ACPI_SCI: u32 = 3222828177;
1427+pub const VIDIOC_DQBUF: u32 = 3227014673;
1428+pub const BTRFS_IOC_BALANCE_PROGRESS: u32 = 2214630434;
1429+pub const BTRFS_IOC_SUBVOL_SETFLAGS: u32 = 1074304026;
1430+pub const ATMLEC_MCAST: u32 = 25042;
1431+pub const MMTIMER_GETFREQ: u32 = 2148035842;
1432+pub const VIDIOC_G_SELECTION: u32 = 3225441886;
1433+pub const RTC_ALM_SET: u32 = 1076129799;
1434+pub const PPPOEIOCSFWD: u32 = 1074311424;
1435+pub const IPMICTL_GET_MAINTENANCE_MODE_CMD: u32 = 2147772702;
1436+pub const FS_IOC_ENABLE_VERITY: u32 = 1082156677;
1437+pub const NILFS_IOCTL_GET_BDESCS: u32 = 3222826631;
1438+pub const FDFMTEND: u32 = 585;
1439+pub const DMA_BUF_SET_NAME: u32 = 1074291201;
1440+pub const UI_BEGIN_FF_UPLOAD: u32 = 3228063176;
1441+pub const RTC_UIE_ON: u32 = 28675;
1442+pub const PPRELEASE: u32 = 28812;
1443+pub const VFIO_IOMMU_UNMAP_DMA: u32 = 15218;
1444+pub const VIDIOC_OMAP3ISP_PRV_CFG: u32 = 3228587714;
1445+pub const GPIO_GET_LINEHANDLE_IOCTL: u32 = 3245126659;
1446+pub const VFAT_IOCTL_READDIR_BOTH: u32 = 2184212993;
1447+pub const NVME_IOCTL_ADMIN_CMD: u32 = 3225964097;
1448+pub const VHOST_SET_VRING_KICK: u32 = 1074310944;
1449+pub const BTRFS_IOC_SUBVOL_CREATE_V2: u32 = 1342215192;
1450+pub const BTRFS_IOC_SNAP_CREATE: u32 = 1342215169;
1451+pub const SONYPI_IOCGBAT2CAP: u32 = 2147644932;
1452+pub const PPNEGOT: u32 = 1074032785;
1453+pub const NBD_PRINT_DEBUG: u32 = 43782;
1454+pub const BTRFS_IOC_INO_LOOKUP_USER: u32 = 3489698878;
1455+pub const BTRFS_IOC_GET_SUBVOL_ROOTREF: u32 = 3489698877;
1456+pub const FS_IOC_REMOVE_ENCRYPTION_KEY_ALL_USERS: u32 = 3225445913;
1457+pub const BTRFS_IOC_FS_INFO: u32 = 2214630431;
1458+pub const VIDIOC_ENUM_FMT: u32 = 3225441794;
1459+pub const VIDIOC_G_INPUT: u32 = 2147767846;
1460+pub const VTPM_PROXY_IOC_NEW_DEV: u32 = 3222577408;
1461+pub const DFL_FPGA_FME_ERR_GET_IRQ_NUM: u32 = 2147792515;
1462+pub const ND_IOCTL_DIMM_FLAGS: u32 = 3221769731;
1463+pub const BTRFS_IOC_QUOTA_RESCAN: u32 = 1077974060;
1464+pub const MMTIMER_GETCOUNTER: u32 = 2148035849;
1465+pub const MATROXFB_GET_OUTPUT_MODE: u32 = 3221778170;
1466+pub const BTRFS_IOC_QUOTA_RESCAN_WAIT: u32 = 37934;
1467+pub const RIO_CM_CHAN_BIND: u32 = 1074291461;
1468+pub const HIDIOCGRDESC: u32 = 2416199682;
1469+pub const MGSL_IOCGIF: u32 = 27915;
1470+pub const VIDIOC_S_OUTPUT: u32 = 3221509679;
1471+pub const HIDIOCGREPORTINFO: u32 = 3222030345;
1472+pub const WDIOC_GETBOOTSTATUS: u32 = 2147768066;
1473+pub const VDUSE_VQ_GET_INFO: u32 = 3224404245;
1474+pub const ACRN_IOCTL_ASSIGN_PCIDEV: u32 = 1076142677;
1475+pub const BLKGETDISKSEQ: u32 = 2148012672;
1476+pub const ACRN_IOCTL_PM_GET_CPU_STATE: u32 = 3221791328;
1477+pub const ACRN_IOCTL_DESTROY_VM: u32 = 41489;
1478+pub const ACRN_IOCTL_SET_PTDEV_INTR: u32 = 1075094099;
1479+pub const ACRN_IOCTL_CREATE_IOREQ_CLIENT: u32 = 41522;
1480+pub const ACRN_IOCTL_IRQFD: u32 = 1075356273;
1481+pub const ACRN_IOCTL_CREATE_VM: u32 = 3224412688;
1482+pub const ACRN_IOCTL_INJECT_MSI: u32 = 1074831907;
1483+pub const ACRN_IOCTL_ATTACH_IOREQ_CLIENT: u32 = 41523;
1484+pub const ACRN_IOCTL_RESET_PTDEV_INTR: u32 = 1075094100;
1485+pub const ACRN_IOCTL_NOTIFY_REQUEST_FINISH: u32 = 1074307633;
1486+pub const ACRN_IOCTL_SET_IRQLINE: u32 = 1074307621;
1487+pub const ACRN_IOCTL_START_VM: u32 = 41490;
1488+pub const ACRN_IOCTL_SET_VCPU_REGS: u32 = 1093181974;
1489+pub const ACRN_IOCTL_SET_MEMSEG: u32 = 1075880513;
1490+pub const ACRN_IOCTL_PAUSE_VM: u32 = 41491;
1491+pub const ACRN_IOCTL_CLEAR_VM_IOREQ: u32 = 41525;
1492+pub const ACRN_IOCTL_UNSET_MEMSEG: u32 = 1075880514;
1493+pub const ACRN_IOCTL_IOEVENTFD: u32 = 1075880560;
1494+pub const ACRN_IOCTL_DEASSIGN_PCIDEV: u32 = 1076142678;
1495+pub const ACRN_IOCTL_RESET_VM: u32 = 41493;
1496+pub const ACRN_IOCTL_DESTROY_IOREQ_CLIENT: u32 = 41524;
1497+pub const ACRN_IOCTL_VM_INTR_MONITOR: u32 = 1074307620;
1498--- a/vendor/linux-raw-sys/.cargo-checksum.json
1499+++ b/vendor/linux-raw-sys/.cargo-checksum.json
1500@@ -1 +1 @@
1501-{"files":{"CODE_OF_CONDUCT.md":"ccd9e538ce44713a2486cc8e4c01b8c8b846d1ccff15de728d8d6fa9a7f846cd","COPYRIGHT":"3290ae0fbc9ddb77d2239121d710f0bb9d31b3b4744e6d97fe01e652b4c1870b","Cargo.toml":"0d02ea4bc018631a52900423cb7466bc905571bd1d767769739bde626360c123","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-Apache-2.0_WITH_LLVM-exception":"268872b9816f90fd8e85db5a28d33f8150ebb8dd016653fb39ef1f94f2686bc5","LICENSE-MIT":"23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3","ORG_CODE_OF_CONDUCT.md":"a62b69bf86e605ee1bcbb2f0a12ba79e4cebb6983a7b6491949750aecc4f2178","README.md":"3d4ae2ec9429adfd329b4506f7ca6faa84dca30d1c3b416f8f4e6f57bdb3aa96","src/aarch64/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/aarch64/general.rs":"0cc1ed00b1ef7efb16a7109138acdf679d591325458938cee150b221af063822","src/aarch64/if_ether.rs":"f558bfec1f5e80235db79f507e4afd3120647a5caddf17a87b7ad5540e5c1462","src/aarch64/io_uring.rs":"9ce4c9005b5b99e041b9d58be6866367605e4bee1e30a7096235cb234ed73e1b","src/aarch64/ioctl.rs":"f83af7f7cab6611c9f316b2289998d3276d844ac8f96111bc65f6c3340c3301a","src/aarch64/net.rs":"9c5fe44f91072b08899a6304cb22a51545034adde444740b67b8b310f3906a30","src/aarch64/netlink.rs":"f6642310b8bd37b5775ba1a52cfe638beddd7c880f8dfacab62c3180255fb75f","src/aarch64/prctl.rs":"a80e2f89aa978210d980538e1d9c5b922bb073d118ee51b1f14c1f397c7cd576","src/aarch64/system.rs":"851a95c0d1b76782970a28c373a313954eea0db35f6ebce562e6047095f587c4","src/arm/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/arm/general.rs":"bdbb40ba5630044c9555fe38a3640638f3ff7f437d94f82428e2bedad32e180f","src/arm/if_ether.rs":"3873beb1f57bdcc52da345608c5deda5937d7b92b114b414ce6161784173b925","src/arm/io_uring.rs":"5e2e254d5853ed30568e17fab184f8cc458607465d19dcee6c87ca1b565d6d2d","src/arm/ioctl.rs":"54cb9bdc5fe4ee7cff30e087bb0d04f1d811b55be7604bb056387f859120935a","src/arm/net.rs":"c79f443ab6585f81a71eff3350700ece82098264206eb79f78714153d6e43529","src/arm/netlink.rs":"2f98b8c0349c2d3d538164e4d06c28fa1fb9308f7691aa097526ce2fb3ac176f","src/arm/prctl.rs":"5477c74fec958d9f9d2028f58e95657840ead28445956e53fe0894e45922f8a5","src/arm/system.rs":"9aca94a4a553e09e6d2d43741fb8c120c05a193822e850951dc469bbd89cc703","src/csky/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/csky/general.rs":"94aba82d2a76a9ca272b4766f8d2f5f14e10bc2166e03d695a5b8b5d207e6755","src/csky/if_ether.rs":"aac7a069000195b9b18c6d25b2d7c338efb1062347a84e31cda7c93de374b3c6","src/csky/io_uring.rs":"bb7541d82f627cb681ea11f4e5c4162b0d0616ca08fcc6d31bcf22ef813f754d","src/csky/ioctl.rs":"77f30e67f9a4748bc31184454a0ff45fd821c3536cd98dc2411def8eeb59a268","src/csky/net.rs":"2796ca3744e82cecd816b4d1b1fba0bcb389fbc4603e0af7b6cdc562c666b512","src/csky/netlink.rs":"9fc99e88df0efc15d39b397c9d653c32b4729e31a2434e730435fbdfcb362da4","src/csky/prctl.rs":"8df2f33387d5b4865d9417f796cc4d43b3cf549cfa41d7ce7d41dd367ed8b6c9","src/csky/system.rs":"a2913685b359e60bbfae413b89a6fd37ea38fa448f980ffadef42d227b33ada5","src/elf.rs":"441bcf378b5603f957e053369d18d95c1efe981665846c220bca82123c04843a","src/lib.rs":"f3399ba35206764ac4e2d755cfc7e0c580464b8fcc76968f6c4b9f64523a1d02","src/loongarch64/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/loongarch64/general.rs":"fadd5884c6ad645300540dd30150984857819a986772fca4eba1e1fc0c3f4f1e","src/loongarch64/if_ether.rs":"a7b0918afc9dbf8e79490f83a809e4bd563af20ab2b3432d58b763ff31418daf","src/loongarch64/io_uring.rs":"ef851913c86bc2d629048e781edc76b59c63e659f8bd4bcd7fa7ff982186ed6d","src/loongarch64/ioctl.rs":"6f631e0ac37f2c2398168683a1523d1559b85369ffe4cdcc284ffe7455672c18","src/loongarch64/net.rs":"21add3f1bfa5898d9a5ef91342f6cd94ad4585df6525b9a4cf6cdf743345a9c7","src/loongarch64/netlink.rs":"789357343b94276e6f8fc8f3a32f06f3d3efd464c7850b2568dc609a49d1f305","src/loongarch64/prctl.rs":"624e4d3b8f3b4f1d6dcb1540c124ed03ce47f0580aa3425c0baed431dcd267ea","src/loongarch64/system.rs":"4cfcd4c28481b9ff5fc0330d5c713d637d3615c0184830d3a4391882eaed68f5","src/mips/errno.rs":"9ab1ed2bf371a27401745c2a6f9692f7e66dfd481d032cb40a354826d394ea8e","src/mips/general.rs":"1c16f4e0a015eaf27e9a30f4b74ec824220798f47c535d3aaf322ad799c054ab","src/mips/if_ether.rs":"1ecdc654cb3eda633bb7192829b1001a0a5ae5a126110b4208bbee5b41f87f5e","src/mips/io_uring.rs":"c69479bb1f862febe78e0989745c202146aaef7e8ceaa0d7bf291af584748992","src/mips/ioctl.rs":"f7464d2cd0548ab4735a1ca8deba47f13ea0946a9bf86adfec1a77feb3a0f475","src/mips/net.rs":"843204e91d8d6c34ddf4d29e1e822980b3e058ff7fc55ecc5f2b0fdf4a72825d","src/mips/netlink.rs":"5045dece259abaa5b5974500a20a9325e4cd6eb87c344dd7448056dff469994f","src/mips/prctl.rs":"cd59615adf6f561ef6c542df59cf25f75877693ca1c4c489f5e460eb7e798d4d","src/mips/system.rs":"acbc69a1fe7299860f8bd142bc2ff5595a410e1528994139062fc680d1a87e71","src/mips32r6/errno.rs":"9ab1ed2bf371a27401745c2a6f9692f7e66dfd481d032cb40a354826d394ea8e","src/mips32r6/general.rs":"1c16f4e0a015eaf27e9a30f4b74ec824220798f47c535d3aaf322ad799c054ab","src/mips32r6/if_ether.rs":"1ecdc654cb3eda633bb7192829b1001a0a5ae5a126110b4208bbee5b41f87f5e","src/mips32r6/io_uring.rs":"c69479bb1f862febe78e0989745c202146aaef7e8ceaa0d7bf291af584748992","src/mips32r6/ioctl.rs":"f7464d2cd0548ab4735a1ca8deba47f13ea0946a9bf86adfec1a77feb3a0f475","src/mips32r6/net.rs":"843204e91d8d6c34ddf4d29e1e822980b3e058ff7fc55ecc5f2b0fdf4a72825d","src/mips32r6/netlink.rs":"5045dece259abaa5b5974500a20a9325e4cd6eb87c344dd7448056dff469994f","src/mips32r6/prctl.rs":"cd59615adf6f561ef6c542df59cf25f75877693ca1c4c489f5e460eb7e798d4d","src/mips32r6/system.rs":"acbc69a1fe7299860f8bd142bc2ff5595a410e1528994139062fc680d1a87e71","src/mips64/errno.rs":"9ab1ed2bf371a27401745c2a6f9692f7e66dfd481d032cb40a354826d394ea8e","src/mips64/general.rs":"700b52614c604ce58aa8a5bb1ebd46221c0106ec2d8d6600d681d1594a89118a","src/mips64/if_ether.rs":"6d24518acba5bc8fa2a775d039ed9594de8349d6028621134626ccaa8ea18bcd","src/mips64/io_uring.rs":"18bd5d96c53aff44f4a37a71f16fa12c11b7c934b395bf841e47d98283146a50","src/mips64/ioctl.rs":"39f3276ec6f36ba78f5635bd418310b21bc228902d4da889fa01094c26f9b57d","src/mips64/net.rs":"e641379a7004ded90413b084504468148ecdbea4f753cbca83a4d22698cd7bab","src/mips64/netlink.rs":"18f139573337be18fb9bd56de4d0bd8af5c80828cdf68ef68751c18dcb39c761","src/mips64/prctl.rs":"a8d9ae240ce582d7b66e13937b99df73c7247ce9f69bfdd12109903d7c6dfb0e","src/mips64/system.rs":"95805c533a8eb8f53c28f138e6a2d12064681cc9db55d3042ee748c655a5d7cd","src/mips64r6/errno.rs":"9ab1ed2bf371a27401745c2a6f9692f7e66dfd481d032cb40a354826d394ea8e","src/mips64r6/general.rs":"700b52614c604ce58aa8a5bb1ebd46221c0106ec2d8d6600d681d1594a89118a","src/mips64r6/if_ether.rs":"6d24518acba5bc8fa2a775d039ed9594de8349d6028621134626ccaa8ea18bcd","src/mips64r6/io_uring.rs":"18bd5d96c53aff44f4a37a71f16fa12c11b7c934b395bf841e47d98283146a50","src/mips64r6/ioctl.rs":"39f3276ec6f36ba78f5635bd418310b21bc228902d4da889fa01094c26f9b57d","src/mips64r6/net.rs":"e641379a7004ded90413b084504468148ecdbea4f753cbca83a4d22698cd7bab","src/mips64r6/netlink.rs":"18f139573337be18fb9bd56de4d0bd8af5c80828cdf68ef68751c18dcb39c761","src/mips64r6/prctl.rs":"a8d9ae240ce582d7b66e13937b99df73c7247ce9f69bfdd12109903d7c6dfb0e","src/mips64r6/system.rs":"95805c533a8eb8f53c28f138e6a2d12064681cc9db55d3042ee748c655a5d7cd","src/powerpc/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/powerpc/general.rs":"7940ad742585d501f4742af51c6310ecf651863a8aaa0305193e9c8ee07aca90","src/powerpc/if_ether.rs":"56ab5fbf8c9d0dd0654412fabdca6759cbb421a876e5cebe2fec10e25728b55c","src/powerpc/io_uring.rs":"38ead79180c96e8af69929dacbc36e8cfbccec96875c61f094e531e6860639db","src/powerpc/ioctl.rs":"513a1dda33b2cd6c57212263c1bf0d8d443e54af6efe75e938fd700c1ca2b630","src/powerpc/net.rs":"b0228b15161fb750596d6e7e8e612381d9cf2acfed208715b93e8bb4b3340dc7","src/powerpc/netlink.rs":"4f10870fbd23de17efd4cba6d5a40ba85564effc5d0b71f9d7f928a42cb77b20","src/powerpc/prctl.rs":"f236987bc8ae993ab2b0e88b2eacbae51eee4da170ac075552070a76c717d803","src/powerpc/system.rs":"3e01e5e145adb87263f04c9e053faac0c0758689fd32917d2c7c2eec1d89f9e6","src/powerpc64/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/powerpc64/general.rs":"7862eb3dfac845331b624b3322bdeb3441bb86e914719e125dd5dc7b3860db43","src/powerpc64/if_ether.rs":"15e12d56b1367cb5c9d8fd1b9995acf1429a923bf603698bd732efe1acc30cd6","src/powerpc64/io_uring.rs":"50018e504d78c584beaec3b1a6d477d30d566d25cb1a40b0a2adfb23d726674f","src/powerpc64/ioctl.rs":"513a1dda33b2cd6c57212263c1bf0d8d443e54af6efe75e938fd700c1ca2b630","src/powerpc64/net.rs":"0a1468b8a270470a619e492fd6c50c59ea9eeaccd1c7827a0a0d55a0ae981cd4","src/powerpc64/netlink.rs":"352a06995f7de6e4fc1c2ff54c1eccb93a3d833a923e834ec75c6a4d30ea5051","src/powerpc64/prctl.rs":"1fcccc5b6dac472a30b7701b5c9e436c238410077cfe158d600b51d55bcc074a","src/powerpc64/system.rs":"500116b7613a504ebad028cec1ba37323310e29864d885ae62191ccb1f86d333","src/riscv32/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/riscv32/general.rs":"16ffe747a8f75ac6594dc7afddef4fbb89735da50af9f19f152fd2f04b509463","src/riscv32/if_ether.rs":"aac7a069000195b9b18c6d25b2d7c338efb1062347a84e31cda7c93de374b3c6","src/riscv32/io_uring.rs":"5c67dde8fdb3641407d4ebd744171606b82596176343fe6766afd3220eda2ab1","src/riscv32/ioctl.rs":"b2a4c7d649b18a4d2a1142400de687d48c195dcf8a86b58ac261413c33809d7b","src/riscv32/net.rs":"2796ca3744e82cecd816b4d1b1fba0bcb389fbc4603e0af7b6cdc562c666b512","src/riscv32/netlink.rs":"9fc99e88df0efc15d39b397c9d653c32b4729e31a2434e730435fbdfcb362da4","src/riscv32/prctl.rs":"8df2f33387d5b4865d9417f796cc4d43b3cf549cfa41d7ce7d41dd367ed8b6c9","src/riscv32/system.rs":"a2913685b359e60bbfae413b89a6fd37ea38fa448f980ffadef42d227b33ada5","src/riscv64/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/riscv64/general.rs":"8ec4907ac81b62e21451731a468e5f4fe7a37a46d80c56b33e0969d2d059d442","src/riscv64/if_ether.rs":"a7b0918afc9dbf8e79490f83a809e4bd563af20ab2b3432d58b763ff31418daf","src/riscv64/io_uring.rs":"ef851913c86bc2d629048e781edc76b59c63e659f8bd4bcd7fa7ff982186ed6d","src/riscv64/ioctl.rs":"6f631e0ac37f2c2398168683a1523d1559b85369ffe4cdcc284ffe7455672c18","src/riscv64/net.rs":"21add3f1bfa5898d9a5ef91342f6cd94ad4585df6525b9a4cf6cdf743345a9c7","src/riscv64/netlink.rs":"789357343b94276e6f8fc8f3a32f06f3d3efd464c7850b2568dc609a49d1f305","src/riscv64/prctl.rs":"624e4d3b8f3b4f1d6dcb1540c124ed03ce47f0580aa3425c0baed431dcd267ea","src/riscv64/system.rs":"4cfcd4c28481b9ff5fc0330d5c713d637d3615c0184830d3a4391882eaed68f5","src/s390x/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/s390x/general.rs":"687f6e3d4502d31aaec08a41335b6a368f0949049875d939065a66df86e06b8a","src/s390x/if_ether.rs":"2a6b2132be1aebe126eb64ea230a82c2ab18433ece37226c9dacd81392ad6ca2","src/s390x/io_uring.rs":"57790b4ce46a4a2a87a329ff935033dfb430117bcc2154fa066c5d681f115319","src/s390x/ioctl.rs":"f806407c91520bc994c7cd638576686710700a4cfa30c8ca3f81d55ce1d6ecdd","src/s390x/net.rs":"3f89cf2040475eb446daa3f54b5cd016ca8d2d3966f02efb3f0f2f425ccc7adb","src/s390x/netlink.rs":"c3c11102a55d15dfb534d748c8bc8ece58c9d56170b6afe07d1f2cc783fd6372","src/s390x/prctl.rs":"6fe9f5349f9a694b391f309f208235c1d4669430d3f051ef64467576e91df7a1","src/s390x/system.rs":"f68e8afbd02bc87a8fec2cae4e367f296873f2c1a651032da4ccc4f1c0ed4670","src/sparc/errno.rs":"b3c5e1a6c8378d613c6ef3dd44e2199ea7455da65e83d6bb19582a79de880f80","src/sparc/general.rs":"a38a371e8ceeecc4384999b4cc8ee6d65a35a20542c96c62e04c24b2b2953858","src/sparc/if_ether.rs":"c574c6d1ea11a8bb213b18928fe2d342c897d8ff04458991a5192eb401fbbc57","src/sparc/io_uring.rs":"d813aabc93f383c8522773ed431209627d810c78bcdb4dae931a702aae55e09f","src/sparc/ioctl.rs":"b2a4c7d649b18a4d2a1142400de687d48c195dcf8a86b58ac261413c33809d7b","src/sparc/net.rs":"00115a0deec75249c34bf61c76d4a95181be21ac3a1b5200875186d5ea501dac","src/sparc/netlink.rs":"0f176c24de7b2b19ac16dd95625947b8047d48bc7b871e12a3acd31f8e97c6f5","src/sparc/prctl.rs":"5f5686fe04d8cc5e746d789340331095044f244c123ecf1468dcb089bbb931cd","src/sparc/system.rs":"6f1f8ce9978693845621880031ac4805f00027315a691cfe1d466703c7a96e8d","src/sparc64/errno.rs":"b3c5e1a6c8378d613c6ef3dd44e2199ea7455da65e83d6bb19582a79de880f80","src/sparc64/general.rs":"d4138f0e663833811365fdc2e1008525df0f21044b5e31ab80d97d63fcb9f45f","src/sparc64/if_ether.rs":"e51661cb54922c3c01853617a61b3d141768adf5b94162c4aefb326d31ef55f5","src/sparc64/io_uring.rs":"688f4678c259eb940aa0216c0183843d436b918d214e13bed56a38ddb55132db","src/sparc64/ioctl.rs":"b2a4c7d649b18a4d2a1142400de687d48c195dcf8a86b58ac261413c33809d7b","src/sparc64/net.rs":"e1b51c9efe4a00b645100f2b4aa6f2349a50627521fa020370b1bf8ab0b3a575","src/sparc64/netlink.rs":"7cec2a77af7ec17cad96d63027fd4a9164f0e6503f2e6cc2a99e79aa1bba3147","src/sparc64/prctl.rs":"ff897312b99274ce4eefecccc9797e34accc69efce1299712ab631e9542cb8ca","src/sparc64/system.rs":"becb2e706ed6df77860a2a3884b28181dca606db22fcd604a8a1803f937e8baf","src/x32/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/x32/general.rs":"c2aeaf3096d559a86d3f72e0ec4a91245edfce35e85c51b50d13e115ec357974","src/x32/if_ether.rs":"859047581be4a3ae923b88516e86230a4f9a447a5203285dd8bcc539038c5c4f","src/x32/io_uring.rs":"40834d29cf819e43a23f9a2e075e2ea0c001be817f7200aa059c24eae6d29123","src/x32/ioctl.rs":"085227ec906237903b5e8b2e90b80fd078ddb4f9e44bbd6c9bee54ea7d5d6b1a","src/x32/net.rs":"e2d77e5bbae1fb298e48382204db55e4e49de2039369e3b2b77097029006c9d1","src/x32/netlink.rs":"f74042f6cf0eabccfa6b8008a89ee7ab347fb7eaa89499757a786b13b2403982","src/x32/prctl.rs":"2d1eb6873dc5b72a8252f12e695d98a045e01026f730302a6515f53a394bba7c","src/x32/system.rs":"69c125aea6b21f2c4981f3386602283a691524671fef1da7d67de3b67fffdc42","src/x86/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/x86/general.rs":"a9b002ea136dabb9fd1c489c999cd1bfeca62490202aab095221fc70c2b6e30e","src/x86/if_ether.rs":"3873beb1f57bdcc52da345608c5deda5937d7b92b114b414ce6161784173b925","src/x86/io_uring.rs":"3f60400dfc11a5eafa5a54466f7f9ca74a63219feda2278c388529bf40c0a6a3","src/x86/ioctl.rs":"8dd0afaa7c3017c3866e579705699be75acc1a095694232b2903a12b3c07a770","src/x86/net.rs":"c79f443ab6585f81a71eff3350700ece82098264206eb79f78714153d6e43529","src/x86/netlink.rs":"2f98b8c0349c2d3d538164e4d06c28fa1fb9308f7691aa097526ce2fb3ac176f","src/x86/prctl.rs":"5477c74fec958d9f9d2028f58e95657840ead28445956e53fe0894e45922f8a5","src/x86/system.rs":"9aca94a4a553e09e6d2d43741fb8c120c05a193822e850951dc469bbd89cc703","src/x86_64/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/x86_64/general.rs":"f0c763abb8d7e7bd594c674d2774b272844829ecee4e3ed42932004616a2380e","src/x86_64/if_ether.rs":"feb5362d90fbd5113b6f1f22fcc77a7b3bb7c8f5081be7eacb2e270d2f24a293","src/x86_64/io_uring.rs":"6c008c59b6905b7872b788e30d546efa3b5bb03a0fe17e33b90bfc8beec23f29","src/x86_64/ioctl.rs":"085227ec906237903b5e8b2e90b80fd078ddb4f9e44bbd6c9bee54ea7d5d6b1a","src/x86_64/net.rs":"0f81db11e3497486f0d2022a8302716816d2442bf7ffd25fa88a25a9bdc1ca83","src/x86_64/netlink.rs":"d47b8b117007b1c29db325dad68ed1b92562b98f90916b1b192f57a935a98038","src/x86_64/prctl.rs":"6d0f63fff8d76cc2f4678f38e40a68d072d7da4094d5217ce92872370bb4df9b","src/x86_64/system.rs":"6a415f104e7dd34829b36c19ad89e0cfcfbc69a846c87f81e202411386d46966"},"package":"da2479e8c062e40bf0066ffa0bc823de0a9368974af99c9f6df941d2c231e03f"}
1502\ No newline at end of file
1503+{"files":{"CODE_OF_CONDUCT.md":"ccd9e538ce44713a2486cc8e4c01b8c8b846d1ccff15de728d8d6fa9a7f846cd","COPYRIGHT":"3290ae0fbc9ddb77d2239121d710f0bb9d31b3b4744e6d97fe01e652b4c1870b","Cargo.toml":"0d02ea4bc018631a52900423cb7466bc905571bd1d767769739bde626360c123","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-Apache-2.0_WITH_LLVM-exception":"268872b9816f90fd8e85db5a28d33f8150ebb8dd016653fb39ef1f94f2686bc5","LICENSE-MIT":"23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3","ORG_CODE_OF_CONDUCT.md":"a62b69bf86e605ee1bcbb2f0a12ba79e4cebb6983a7b6491949750aecc4f2178","README.md":"3d4ae2ec9429adfd329b4506f7ca6faa84dca30d1c3b416f8f4e6f57bdb3aa96","src/aarch64/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/aarch64/general.rs":"0cc1ed00b1ef7efb16a7109138acdf679d591325458938cee150b221af063822","src/aarch64/if_ether.rs":"f558bfec1f5e80235db79f507e4afd3120647a5caddf17a87b7ad5540e5c1462","src/aarch64/io_uring.rs":"9ce4c9005b5b99e041b9d58be6866367605e4bee1e30a7096235cb234ed73e1b","src/aarch64/ioctl.rs":"f83af7f7cab6611c9f316b2289998d3276d844ac8f96111bc65f6c3340c3301a","src/aarch64/net.rs":"9c5fe44f91072b08899a6304cb22a51545034adde444740b67b8b310f3906a30","src/aarch64/netlink.rs":"f6642310b8bd37b5775ba1a52cfe638beddd7c880f8dfacab62c3180255fb75f","src/aarch64/prctl.rs":"a80e2f89aa978210d980538e1d9c5b922bb073d118ee51b1f14c1f397c7cd576","src/aarch64/system.rs":"851a95c0d1b76782970a28c373a313954eea0db35f6ebce562e6047095f587c4","src/arm/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/arm/general.rs":"bdbb40ba5630044c9555fe38a3640638f3ff7f437d94f82428e2bedad32e180f","src/arm/if_ether.rs":"3873beb1f57bdcc52da345608c5deda5937d7b92b114b414ce6161784173b925","src/arm/io_uring.rs":"5e2e254d5853ed30568e17fab184f8cc458607465d19dcee6c87ca1b565d6d2d","src/arm/ioctl.rs":"54cb9bdc5fe4ee7cff30e087bb0d04f1d811b55be7604bb056387f859120935a","src/arm/net.rs":"c79f443ab6585f81a71eff3350700ece82098264206eb79f78714153d6e43529","src/arm/netlink.rs":"2f98b8c0349c2d3d538164e4d06c28fa1fb9308f7691aa097526ce2fb3ac176f","src/arm/prctl.rs":"5477c74fec958d9f9d2028f58e95657840ead28445956e53fe0894e45922f8a5","src/arm/system.rs":"9aca94a4a553e09e6d2d43741fb8c120c05a193822e850951dc469bbd89cc703","src/csky/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/csky/general.rs":"94aba82d2a76a9ca272b4766f8d2f5f14e10bc2166e03d695a5b8b5d207e6755","src/csky/if_ether.rs":"aac7a069000195b9b18c6d25b2d7c338efb1062347a84e31cda7c93de374b3c6","src/csky/io_uring.rs":"bb7541d82f627cb681ea11f4e5c4162b0d0616ca08fcc6d31bcf22ef813f754d","src/csky/ioctl.rs":"77f30e67f9a4748bc31184454a0ff45fd821c3536cd98dc2411def8eeb59a268","src/csky/net.rs":"2796ca3744e82cecd816b4d1b1fba0bcb389fbc4603e0af7b6cdc562c666b512","src/csky/netlink.rs":"9fc99e88df0efc15d39b397c9d653c32b4729e31a2434e730435fbdfcb362da4","src/csky/prctl.rs":"8df2f33387d5b4865d9417f796cc4d43b3cf549cfa41d7ce7d41dd367ed8b6c9","src/csky/system.rs":"a2913685b359e60bbfae413b89a6fd37ea38fa448f980ffadef42d227b33ada5","src/elf.rs":"441bcf378b5603f957e053369d18d95c1efe981665846c220bca82123c04843a","src/lib.rs":"f3399ba35206764ac4e2d755cfc7e0c580464b8fcc76968f6c4b9f64523a1d02","src/loongarch64/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/loongarch64/general.rs":"fadd5884c6ad645300540dd30150984857819a986772fca4eba1e1fc0c3f4f1e","src/loongarch64/if_ether.rs":"a7b0918afc9dbf8e79490f83a809e4bd563af20ab2b3432d58b763ff31418daf","src/loongarch64/io_uring.rs":"ef851913c86bc2d629048e781edc76b59c63e659f8bd4bcd7fa7ff982186ed6d","src/loongarch64/ioctl.rs":"6f631e0ac37f2c2398168683a1523d1559b85369ffe4cdcc284ffe7455672c18","src/loongarch64/net.rs":"21add3f1bfa5898d9a5ef91342f6cd94ad4585df6525b9a4cf6cdf743345a9c7","src/loongarch64/netlink.rs":"789357343b94276e6f8fc8f3a32f06f3d3efd464c7850b2568dc609a49d1f305","src/loongarch64/prctl.rs":"624e4d3b8f3b4f1d6dcb1540c124ed03ce47f0580aa3425c0baed431dcd267ea","src/loongarch64/system.rs":"4cfcd4c28481b9ff5fc0330d5c713d637d3615c0184830d3a4391882eaed68f5","src/mips/errno.rs":"9ab1ed2bf371a27401745c2a6f9692f7e66dfd481d032cb40a354826d394ea8e","src/mips/general.rs":"1c16f4e0a015eaf27e9a30f4b74ec824220798f47c535d3aaf322ad799c054ab","src/mips/if_ether.rs":"1ecdc654cb3eda633bb7192829b1001a0a5ae5a126110b4208bbee5b41f87f5e","src/mips/io_uring.rs":"c69479bb1f862febe78e0989745c202146aaef7e8ceaa0d7bf291af584748992","src/mips/ioctl.rs":"f7464d2cd0548ab4735a1ca8deba47f13ea0946a9bf86adfec1a77feb3a0f475","src/mips/net.rs":"843204e91d8d6c34ddf4d29e1e822980b3e058ff7fc55ecc5f2b0fdf4a72825d","src/mips/netlink.rs":"5045dece259abaa5b5974500a20a9325e4cd6eb87c344dd7448056dff469994f","src/mips/prctl.rs":"cd59615adf6f561ef6c542df59cf25f75877693ca1c4c489f5e460eb7e798d4d","src/mips/system.rs":"acbc69a1fe7299860f8bd142bc2ff5595a410e1528994139062fc680d1a87e71","src/mips32r6/errno.rs":"9ab1ed2bf371a27401745c2a6f9692f7e66dfd481d032cb40a354826d394ea8e","src/mips32r6/general.rs":"1c16f4e0a015eaf27e9a30f4b74ec824220798f47c535d3aaf322ad799c054ab","src/mips32r6/if_ether.rs":"1ecdc654cb3eda633bb7192829b1001a0a5ae5a126110b4208bbee5b41f87f5e","src/mips32r6/io_uring.rs":"c69479bb1f862febe78e0989745c202146aaef7e8ceaa0d7bf291af584748992","src/mips32r6/ioctl.rs":"f7464d2cd0548ab4735a1ca8deba47f13ea0946a9bf86adfec1a77feb3a0f475","src/mips32r6/net.rs":"843204e91d8d6c34ddf4d29e1e822980b3e058ff7fc55ecc5f2b0fdf4a72825d","src/mips32r6/netlink.rs":"5045dece259abaa5b5974500a20a9325e4cd6eb87c344dd7448056dff469994f","src/mips32r6/prctl.rs":"cd59615adf6f561ef6c542df59cf25f75877693ca1c4c489f5e460eb7e798d4d","src/mips32r6/system.rs":"acbc69a1fe7299860f8bd142bc2ff5595a410e1528994139062fc680d1a87e71","src/mips64/errno.rs":"9ab1ed2bf371a27401745c2a6f9692f7e66dfd481d032cb40a354826d394ea8e","src/mips64/general.rs":"700b52614c604ce58aa8a5bb1ebd46221c0106ec2d8d6600d681d1594a89118a","src/mips64/if_ether.rs":"6d24518acba5bc8fa2a775d039ed9594de8349d6028621134626ccaa8ea18bcd","src/mips64/io_uring.rs":"18bd5d96c53aff44f4a37a71f16fa12c11b7c934b395bf841e47d98283146a50","src/mips64/ioctl.rs":"39f3276ec6f36ba78f5635bd418310b21bc228902d4da889fa01094c26f9b57d","src/mips64/net.rs":"e641379a7004ded90413b084504468148ecdbea4f753cbca83a4d22698cd7bab","src/mips64/netlink.rs":"18f139573337be18fb9bd56de4d0bd8af5c80828cdf68ef68751c18dcb39c761","src/mips64/prctl.rs":"a8d9ae240ce582d7b66e13937b99df73c7247ce9f69bfdd12109903d7c6dfb0e","src/mips64/system.rs":"95805c533a8eb8f53c28f138e6a2d12064681cc9db55d3042ee748c655a5d7cd","src/mips64r6/errno.rs":"9ab1ed2bf371a27401745c2a6f9692f7e66dfd481d032cb40a354826d394ea8e","src/mips64r6/general.rs":"700b52614c604ce58aa8a5bb1ebd46221c0106ec2d8d6600d681d1594a89118a","src/mips64r6/if_ether.rs":"6d24518acba5bc8fa2a775d039ed9594de8349d6028621134626ccaa8ea18bcd","src/mips64r6/io_uring.rs":"18bd5d96c53aff44f4a37a71f16fa12c11b7c934b395bf841e47d98283146a50","src/mips64r6/ioctl.rs":"39f3276ec6f36ba78f5635bd418310b21bc228902d4da889fa01094c26f9b57d","src/mips64r6/net.rs":"e641379a7004ded90413b084504468148ecdbea4f753cbca83a4d22698cd7bab","src/mips64r6/netlink.rs":"18f139573337be18fb9bd56de4d0bd8af5c80828cdf68ef68751c18dcb39c761","src/mips64r6/prctl.rs":"a8d9ae240ce582d7b66e13937b99df73c7247ce9f69bfdd12109903d7c6dfb0e","src/mips64r6/system.rs":"95805c533a8eb8f53c28f138e6a2d12064681cc9db55d3042ee748c655a5d7cd","src/powerpc/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/powerpc/general.rs":"7940ad742585d501f4742af51c6310ecf651863a8aaa0305193e9c8ee07aca90","src/powerpc/if_ether.rs":"56ab5fbf8c9d0dd0654412fabdca6759cbb421a876e5cebe2fec10e25728b55c","src/powerpc/io_uring.rs":"38ead79180c96e8af69929dacbc36e8cfbccec96875c61f094e531e6860639db","src/powerpc/ioctl.rs":"513a1dda33b2cd6c57212263c1bf0d8d443e54af6efe75e938fd700c1ca2b630","src/powerpc/net.rs":"b0228b15161fb750596d6e7e8e612381d9cf2acfed208715b93e8bb4b3340dc7","src/powerpc/netlink.rs":"4f10870fbd23de17efd4cba6d5a40ba85564effc5d0b71f9d7f928a42cb77b20","src/powerpc/prctl.rs":"f236987bc8ae993ab2b0e88b2eacbae51eee4da170ac075552070a76c717d803","src/powerpc/system.rs":"3e01e5e145adb87263f04c9e053faac0c0758689fd32917d2c7c2eec1d89f9e6","src/powerpc64/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/powerpc64/general.rs":"7862eb3dfac845331b624b3322bdeb3441bb86e914719e125dd5dc7b3860db43","src/powerpc64/if_ether.rs":"15e12d56b1367cb5c9d8fd1b9995acf1429a923bf603698bd732efe1acc30cd6","src/powerpc64/io_uring.rs":"50018e504d78c584beaec3b1a6d477d30d566d25cb1a40b0a2adfb23d726674f","src/powerpc64/ioctl.rs":"513a1dda33b2cd6c57212263c1bf0d8d443e54af6efe75e938fd700c1ca2b630","src/powerpc64/net.rs":"0a1468b8a270470a619e492fd6c50c59ea9eeaccd1c7827a0a0d55a0ae981cd4","src/powerpc64/netlink.rs":"352a06995f7de6e4fc1c2ff54c1eccb93a3d833a923e834ec75c6a4d30ea5051","src/powerpc64/prctl.rs":"1fcccc5b6dac472a30b7701b5c9e436c238410077cfe158d600b51d55bcc074a","src/powerpc64/system.rs":"500116b7613a504ebad028cec1ba37323310e29864d885ae62191ccb1f86d333","src/riscv32/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/riscv32/general.rs":"16ffe747a8f75ac6594dc7afddef4fbb89735da50af9f19f152fd2f04b509463","src/riscv32/if_ether.rs":"aac7a069000195b9b18c6d25b2d7c338efb1062347a84e31cda7c93de374b3c6","src/riscv32/io_uring.rs":"5c67dde8fdb3641407d4ebd744171606b82596176343fe6766afd3220eda2ab1","src/riscv32/ioctl.rs":"6f631e0ac37f2c2398168683a1523d1559b85369ffe4cdcc284ffe7455672c18","src/riscv32/net.rs":"2796ca3744e82cecd816b4d1b1fba0bcb389fbc4603e0af7b6cdc562c666b512","src/riscv32/netlink.rs":"9fc99e88df0efc15d39b397c9d653c32b4729e31a2434e730435fbdfcb362da4","src/riscv32/prctl.rs":"8df2f33387d5b4865d9417f796cc4d43b3cf549cfa41d7ce7d41dd367ed8b6c9","src/riscv32/system.rs":"a2913685b359e60bbfae413b89a6fd37ea38fa448f980ffadef42d227b33ada5","src/riscv64/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/riscv64/general.rs":"8ec4907ac81b62e21451731a468e5f4fe7a37a46d80c56b33e0969d2d059d442","src/riscv64/if_ether.rs":"a7b0918afc9dbf8e79490f83a809e4bd563af20ab2b3432d58b763ff31418daf","src/riscv64/io_uring.rs":"ef851913c86bc2d629048e781edc76b59c63e659f8bd4bcd7fa7ff982186ed6d","src/riscv64/ioctl.rs":"6f631e0ac37f2c2398168683a1523d1559b85369ffe4cdcc284ffe7455672c18","src/riscv64/net.rs":"21add3f1bfa5898d9a5ef91342f6cd94ad4585df6525b9a4cf6cdf743345a9c7","src/riscv64/netlink.rs":"789357343b94276e6f8fc8f3a32f06f3d3efd464c7850b2568dc609a49d1f305","src/riscv64/prctl.rs":"624e4d3b8f3b4f1d6dcb1540c124ed03ce47f0580aa3425c0baed431dcd267ea","src/riscv64/system.rs":"4cfcd4c28481b9ff5fc0330d5c713d637d3615c0184830d3a4391882eaed68f5","src/s390x/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/s390x/general.rs":"687f6e3d4502d31aaec08a41335b6a368f0949049875d939065a66df86e06b8a","src/s390x/if_ether.rs":"2a6b2132be1aebe126eb64ea230a82c2ab18433ece37226c9dacd81392ad6ca2","src/s390x/io_uring.rs":"57790b4ce46a4a2a87a329ff935033dfb430117bcc2154fa066c5d681f115319","src/s390x/ioctl.rs":"f806407c91520bc994c7cd638576686710700a4cfa30c8ca3f81d55ce1d6ecdd","src/s390x/net.rs":"3f89cf2040475eb446daa3f54b5cd016ca8d2d3966f02efb3f0f2f425ccc7adb","src/s390x/netlink.rs":"c3c11102a55d15dfb534d748c8bc8ece58c9d56170b6afe07d1f2cc783fd6372","src/s390x/prctl.rs":"6fe9f5349f9a694b391f309f208235c1d4669430d3f051ef64467576e91df7a1","src/s390x/system.rs":"f68e8afbd02bc87a8fec2cae4e367f296873f2c1a651032da4ccc4f1c0ed4670","src/sparc/errno.rs":"b3c5e1a6c8378d613c6ef3dd44e2199ea7455da65e83d6bb19582a79de880f80","src/sparc/general.rs":"a38a371e8ceeecc4384999b4cc8ee6d65a35a20542c96c62e04c24b2b2953858","src/sparc/if_ether.rs":"c574c6d1ea11a8bb213b18928fe2d342c897d8ff04458991a5192eb401fbbc57","src/sparc/io_uring.rs":"d813aabc93f383c8522773ed431209627d810c78bcdb4dae931a702aae55e09f","src/sparc/ioctl.rs":"b2a4c7d649b18a4d2a1142400de687d48c195dcf8a86b58ac261413c33809d7b","src/sparc/net.rs":"00115a0deec75249c34bf61c76d4a95181be21ac3a1b5200875186d5ea501dac","src/sparc/netlink.rs":"0f176c24de7b2b19ac16dd95625947b8047d48bc7b871e12a3acd31f8e97c6f5","src/sparc/prctl.rs":"5f5686fe04d8cc5e746d789340331095044f244c123ecf1468dcb089bbb931cd","src/sparc/system.rs":"6f1f8ce9978693845621880031ac4805f00027315a691cfe1d466703c7a96e8d","src/sparc64/errno.rs":"b3c5e1a6c8378d613c6ef3dd44e2199ea7455da65e83d6bb19582a79de880f80","src/sparc64/general.rs":"d4138f0e663833811365fdc2e1008525df0f21044b5e31ab80d97d63fcb9f45f","src/sparc64/if_ether.rs":"e51661cb54922c3c01853617a61b3d141768adf5b94162c4aefb326d31ef55f5","src/sparc64/io_uring.rs":"688f4678c259eb940aa0216c0183843d436b918d214e13bed56a38ddb55132db","src/sparc64/ioctl.rs":"b2a4c7d649b18a4d2a1142400de687d48c195dcf8a86b58ac261413c33809d7b","src/sparc64/net.rs":"e1b51c9efe4a00b645100f2b4aa6f2349a50627521fa020370b1bf8ab0b3a575","src/sparc64/netlink.rs":"7cec2a77af7ec17cad96d63027fd4a9164f0e6503f2e6cc2a99e79aa1bba3147","src/sparc64/prctl.rs":"ff897312b99274ce4eefecccc9797e34accc69efce1299712ab631e9542cb8ca","src/sparc64/system.rs":"becb2e706ed6df77860a2a3884b28181dca606db22fcd604a8a1803f937e8baf","src/x32/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/x32/general.rs":"c2aeaf3096d559a86d3f72e0ec4a91245edfce35e85c51b50d13e115ec357974","src/x32/if_ether.rs":"859047581be4a3ae923b88516e86230a4f9a447a5203285dd8bcc539038c5c4f","src/x32/io_uring.rs":"40834d29cf819e43a23f9a2e075e2ea0c001be817f7200aa059c24eae6d29123","src/x32/ioctl.rs":"085227ec906237903b5e8b2e90b80fd078ddb4f9e44bbd6c9bee54ea7d5d6b1a","src/x32/net.rs":"e2d77e5bbae1fb298e48382204db55e4e49de2039369e3b2b77097029006c9d1","src/x32/netlink.rs":"f74042f6cf0eabccfa6b8008a89ee7ab347fb7eaa89499757a786b13b2403982","src/x32/prctl.rs":"2d1eb6873dc5b72a8252f12e695d98a045e01026f730302a6515f53a394bba7c","src/x32/system.rs":"69c125aea6b21f2c4981f3386602283a691524671fef1da7d67de3b67fffdc42","src/x86/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/x86/general.rs":"a9b002ea136dabb9fd1c489c999cd1bfeca62490202aab095221fc70c2b6e30e","src/x86/if_ether.rs":"3873beb1f57bdcc52da345608c5deda5937d7b92b114b414ce6161784173b925","src/x86/io_uring.rs":"3f60400dfc11a5eafa5a54466f7f9ca74a63219feda2278c388529bf40c0a6a3","src/x86/ioctl.rs":"8dd0afaa7c3017c3866e579705699be75acc1a095694232b2903a12b3c07a770","src/x86/net.rs":"c79f443ab6585f81a71eff3350700ece82098264206eb79f78714153d6e43529","src/x86/netlink.rs":"2f98b8c0349c2d3d538164e4d06c28fa1fb9308f7691aa097526ce2fb3ac176f","src/x86/prctl.rs":"5477c74fec958d9f9d2028f58e95657840ead28445956e53fe0894e45922f8a5","src/x86/system.rs":"9aca94a4a553e09e6d2d43741fb8c120c05a193822e850951dc469bbd89cc703","src/x86_64/errno.rs":"db283e5ea7fb63e0f57acb241e6471a951b4218660c01ca37b80be9a53629b92","src/x86_64/general.rs":"f0c763abb8d7e7bd594c674d2774b272844829ecee4e3ed42932004616a2380e","src/x86_64/if_ether.rs":"feb5362d90fbd5113b6f1f22fcc77a7b3bb7c8f5081be7eacb2e270d2f24a293","src/x86_64/io_uring.rs":"6c008c59b6905b7872b788e30d546efa3b5bb03a0fe17e33b90bfc8beec23f29","src/x86_64/ioctl.rs":"085227ec906237903b5e8b2e90b80fd078ddb4f9e44bbd6c9bee54ea7d5d6b1a","src/x86_64/net.rs":"0f81db11e3497486f0d2022a8302716816d2442bf7ffd25fa88a25a9bdc1ca83","src/x86_64/netlink.rs":"d47b8b117007b1c29db325dad68ed1b92562b98f90916b1b192f57a935a98038","src/x86_64/prctl.rs":"6d0f63fff8d76cc2f4678f38e40a68d072d7da4094d5217ce92872370bb4df9b","src/x86_64/system.rs":"6a415f104e7dd34829b36c19ad89e0cfcfbc69a846c87f81e202411386d46966"},"package":"da2479e8c062e40bf0066ffa0bc823de0a9368974af99c9f6df941d2c231e03f"}
diff --git a/meta/recipes-devtools/rust/files/rv32-rustix-libc-backend.patch b/meta/recipes-devtools/rust/files/rv32-rustix-libc-backend.patch
deleted file mode 100644
index 7e99b50834..0000000000
--- a/meta/recipes-devtools/rust/files/rv32-rustix-libc-backend.patch
+++ /dev/null
@@ -1,32 +0,0 @@
1Use FICLONE from linux_raw_sys module
2
3Upstream-Status: Pending
4Signed-off-by: Khem Raj <raj.khem@gmail.com>
5--- a/vendor/rustix/src/backend/libc/c.rs
6+++ b/vendor/rustix/src/backend/libc/c.rs
7@@ -6,6 +6,8 @@
8 // things below.
9 pub(crate) use libc::*;
10
11+use linux_raw_sys::ioctl::FICLONE;
12+
13 /// `PROC_SUPER_MAGIC`—The magic number for the procfs filesystem.
14 #[cfg(all(linux_kernel, target_env = "musl"))]
15 pub(crate) const PROC_SUPER_MAGIC: u32 = 0x0000_9fa0;
16--- a/vendor/rustix/.cargo-checksum.json
17+++ b/vendor/rustix/.cargo-checksum.json
18@@ -1 +1 @@
19-{"files":{"CODE_OF_CONDUCT.md":"f210602311e3f74b32f46237fd55f4ce36d798e85e3db1432ec667f63a7ffc44","CONTRIBUTING.md":"3fd57de5c678db1c972da676a8231d2fde9820695ef1f0d53f1e55a3e81d9de0","COPYRIGHT":"377c2e7c53250cc5905c0b0532d35973392af16ffb9596a41d99d202cf3617c9","Cargo.toml":"5a6eafc41863c968362a1b8424dd0a5e1ce6502496b2999ef97ceac81f30fbcd","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-Apache-2.0_WITH_LLVM-exception":"268872b9816f90fd8e85db5a28d33f8150ebb8dd016653fb39ef1f94f2686bc5","LICENSE-MIT":"23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3","ORG_CODE_OF_CONDUCT.md":"a62b69bf86e605ee1bcbb2f0a12ba79e4cebb6983a7b6491949750aecc4f2178","README.md":"0acc443488c1d6f7a0a80a91385d06c7a1920c1f5c847214dd6c23a6bd027f75","SECURITY.md":"4d75afb09dd28eb5982e3a1f768ee398d90204669ceef3240a16b31dcf04148a","benches/mod.rs":"e260e67273aa0a37cffdc5cd451699335b8ee656c17275a0d0f2b4563c6018ca","build.rs":"5f93559819ca7fe233f01579d51ff5b58cb6e96ef9e7817a3358a9b410d5bbf6","src/backend/libc/c.rs":"9a929ab2bff99843e8c663b92b93def5c752e96d2e6228520cb50eeec483586b","src/backend/libc/conv.rs":"b66d080db3a4c2756fe722462b543982bf88e5bc8071b9dc98d28ec2aee3dbfc","src/backend/libc/event/epoll.rs":"b6f00ec602f9a6b9a2b7a66a242efda088b67ed66053692dcbba683df4fdaf19","src/backend/libc/event/mod.rs":"7f8547c599b8263eb791890bbe4a0b22fe2676d007ffdcc3e07b2e48d1c994db","src/backend/libc/event/poll_fd.rs":"1186dd69fc78d474975f1b8c55c9dd261229cb0c53a0dd2a88754ef62529a917","src/backend/libc/event/syscalls.rs":"295a930521b345192caaf916b39189299f81f5f7c9f1aaed235baf3bf6f2f5fa","src/backend/libc/event/types.rs":"e81130bc07e8f762ea2942bca1bde048ade0df24aac619907f3055d2dda7d522","src/backend/libc/event/windows_syscalls.rs":"ebfac665c6676c4b803134ab8806be8aa2e96bdbc7799a19c544cd9069b35787","src/backend/libc/fs/dir.rs":"71332c794f4e2438e7c700a0d2206fe0088cf98473030e3f8ccddf252ad7f5b2","src/backend/libc/fs/inotify.rs":"a027a718db8bf6ff9a778c2cfa706850b466240b0a2296d72b9834c0096968e8","src/backend/libc/fs/makedev.rs":"89c679a0ef18dd41b3c6223bce0f329ad35bf6cadbf16e47b33fad3f312ba4a6","src/backend/libc/fs/mod.rs":"3d28b803011b57da6315bb747daf0117218687c0cc610358f5dafddf0b7d44d3","src/backend/libc/fs/syscalls.rs":"229d1c27d53bfbd35310b05aaf8b3307d6b6e9948faf0655713bc662f901bd02","src/backend/libc/fs/types.rs":"ca25c8271e1fd2ff6c28082884ca112fd5e0523b2aa3cd289cd9a399c962a172","src/backend/libc/io/errno.rs":"d33978855c2e0e97d5e1f7a04ab10894f9f2c3e329e949f259a757f89942074e","src/backend/libc/io/mod.rs":"746647bd864e4ec7717925b6d176cebdb392b7d015070244cc48d92780351dd6","src/backend/libc/io/syscalls.rs":"cbd9e9db566597de0a709247c8ba3bd1e6ce266a128d639273353c706f0592b7","src/backend/libc/io/types.rs":"2efd39bb3df19a9db5496217284f3d2235ddb354fac81dd71861109a56bede0b","src/backend/libc/io/windows_syscalls.rs":"fab3fa099aa89cea56a6edc651dd37750e581534f4f45b04a7e425f130b08468","src/backend/libc/io_uring/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/io_uring/syscalls.rs":"5af8146d5971c833e6fd657f652c618b31f854e1b0811864fba9b658cb633e19","src/backend/libc/mm/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/libc/mm/syscalls.rs":"c04c61ad3d7f3b24d13f89144d7fa0a05658cea4763207f9250db4f9362de2fe","src/backend/libc/mm/types.rs":"48406d44d79b102ae9d17860749611d26c1f04e3630e9680dfcb20e2efc148a8","src/backend/libc/mod.rs":"778083f85aaca00aa5c8ec36b541e0e8a3e693660a6acf4722b4508f015c278c","src/backend/libc/mount/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/libc/mount/syscalls.rs":"1bc87501a078616d0190d2e85de55f3f968b8cb79d49bd9eb839a350eed26089","src/backend/libc/mount/types.rs":"1b0d527ae5a272ae441fa35192616a867090204404324a341a7864ae1f5ea3fd","src/backend/libc/net/addr.rs":"9bdc2febb20785bc26a820eaba52cb546c67c79cb547f08105087cd0f79d5861","src/backend/libc/net/ext.rs":"0dd64877abe1ba86b47a2ab34340e3f6cc7b53b22d0bb5e237daf6a82edd46b0","src/backend/libc/net/mod.rs":"5f0bd80a6575aba4a714443ca99af76ad15b053f1f8029aa1d9c7fa10e6d9242","src/backend/libc/net/msghdr.rs":"64825203c09cb60ac4e869cd27a44697f1efe53455c41684279d50d8f0a96701","src/backend/libc/net/read_sockaddr.rs":"b1a72b7bd56cd152ed0731f571e4d9411b2974f860fc045319dc74b5b077e569","src/backend/libc/net/send_recv.rs":"1450ca958431a5bf3a85cdeef88b387f30d5c1215de2c56d164ccda38f21b36c","src/backend/libc/net/sockopt.rs":"178a6622bab25bf1813d6c17151f48d820e238db8cbd05be3aae563902d6c53e","src/backend/libc/net/syscalls.rs":"1c703ea3d7a1d0bfa43ffe07425882f310260589d513e1a936de434fa653cf3a","src/backend/libc/net/write_sockaddr.rs":"6f06f6cf6089fbc43f93f4f3830468735c92277595769867cb6c89e1fe1c299a","src/backend/libc/param/auxv.rs":"fc9476c85482b1d44190289224ccf40c96fbf3a2fe3d8554ddb42acb2e97a8ae","src/backend/libc/param/mod.rs":"5234b8f1bcb886cca6ea003d411d75eaeebe58deedd80e3441354bf46ed85d4d","src/backend/libc/pid/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/pid/syscalls.rs":"49ea679b96c0741d048e82964038f9a931bc3cf3a0b59c7db3df89629b9c49e6","src/backend/libc/pipe/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/libc/pipe/syscalls.rs":"8affde100f6a9dfc762b79d1e48be5c1039be414f8ef7d5a6acaba882a68d259","src/backend/libc/pipe/types.rs":"bcf2751691748b5084a6d8d8851b496bc2ee9011fc1c717839b09b07d423eb7f","src/backend/libc/prctl/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/prctl/syscalls.rs":"8a2684f444a7555098dce2b92270d81cefdae902716c6e5d59bd7b0657e8a29d","src/backend/libc/process/cpu_set.rs":"b3d36b01b53b0b6c61a20ed8a69d48eccdd90cc17f82f2926ef1e844f002d0b7","src/backend/libc/process/mod.rs":"3f376060815d2ed78081ddf6fb0cddc97dff5dac2f4934f0672cb09736e16377","src/backend/libc/process/syscalls.rs":"278c87df6321cad2bd37049a7cfeecad7dd54f5e3a8449368da4c3409637e6af","src/backend/libc/process/types.rs":"c011d60d93130e1233ee1d69de1e834a6ce05628220a1c0bea9b5c6eb4c853a2","src/backend/libc/process/wait.rs":"0cc556aed976b4bbb3965f74fd76b8216c755fce25043b7b21ce54afa07c9773","src/backend/libc/pty/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/pty/syscalls.rs":"699a4c325fc590b8b5dabfe5a9ff386809be14dd24bf35aa6ef581b2bd75457b","src/backend/libc/rand/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/libc/rand/syscalls.rs":"78c7201e6bcb75e9cab9486d1878861319f865de2b2c46437be68690bd17bf13","src/backend/libc/rand/types.rs":"4eb0b4cdd0a9b089d1c9f6a25ad1ca97be28a38b7b07a705ec605b773f63f880","src/backend/libc/shm/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/libc/shm/syscalls.rs":"60d797d4e85e08e6330e6b8d80094356ce377e5484952f88ae2a6e49231c268c","src/backend/libc/shm/types.rs":"2206eac8ee74951b995e1e80f10bf235cc6b04e0a099f4adefce546378838233","src/backend/libc/system/mod.rs":"38563ea68829ca5a4b1b0695ac8a5c05718e85bdc88a36dc805efdfce45d3909","src/backend/libc/system/syscalls.rs":"abe1093f3495668d8576ae55073c74976cffb04d2e1bc20583d7ec12ac848b06","src/backend/libc/system/types.rs":"6871e16aee14fe2ae03cea798c3e509ffe44778a9c0e5608fd73e2e015876d7e","src/backend/libc/termios/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/termios/syscalls.rs":"77c4c6fdfe036251ee1540df5b398a38d87597a5e7e94abaf9b983419ae4ca24","src/backend/libc/thread/futex.rs":"b666828653b12634bbd7fd709acf69641b648ec40962a1d4f904c5db14d2eff5","src/backend/libc/thread/mod.rs":"fa710053974d7f16a6c49242ee6c10a3b9e1143452b9daeaed8837302a679fff","src/backend/libc/thread/syscalls.rs":"c8e84ad232ec1317be989529c24e204c51bb4e1e0212de2c1937b00bc92e5483","src/backend/libc/time/mod.rs":"38563ea68829ca5a4b1b0695ac8a5c05718e85bdc88a36dc805efdfce45d3909","src/backend/libc/time/syscalls.rs":"f82e0725c5af8a52e61ee83aad2c77694f2f7a72ac1e6eb284109a70ac6edc38","src/backend/libc/time/types.rs":"47ab4178a51c246ecc5f2a2fcca7f6ad9c8a1a45d11dadcb95ee0e4f82e8dfe2","src/backend/libc/ugid/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/ugid/syscalls.rs":"8edf91b8790add23902c9f5418da6b0723a371677f29f490e0c8af852f0f1a0c","src/backend/libc/winsock_c.rs":"3bf3884fd250eca806ffdf96da68e29c133a697810b78b333ea449e523e58562","src/backend/linux_raw/arch/aarch64.rs":"2a255c9135bc8a321c180f52b88eb2b158bc9170cd222149caeae63c24587d44","src/backend/linux_raw/arch/arm.rs":"165bccb5883d0136e55d42091183765f83d86e9d37a7cb2cec9ae8af32774db6","src/backend/linux_raw/arch/mips.rs":"24af364aa93fd4b9917639d473336490a143f0d1723b09f388e72d534160ee51","src/backend/linux_raw/arch/mips32r6.rs":"e436a2ade34f2f7c58b8924462b07a2499dfc951e1e1318d51759444fb8b658e","src/backend/linux_raw/arch/mips64.rs":"897da9ddc877963ad59464d7f81dc59df8a7e91251e6adea14cfd946e2740a1c","src/backend/linux_raw/arch/mips64r6.rs":"3c08aea13c1139fb0dfbe74ca3d0147f007c3aa2eda641afb82c46f6aa4f6cd1","src/backend/linux_raw/arch/mod.rs":"37eaeea601d39be00d170856a31a8ec6a27b0d3ac22ab3ee642ab0e45dee237d","src/backend/linux_raw/arch/powerpc64.rs":"dfb001f8636a5e46d728900b0804fe6c374e5e18a6f0e76d7d62e0c07da74477","src/backend/linux_raw/arch/riscv64.rs":"41d33242d941030f46077dc2b1bc4c7913fe7630d693a5a7eef966bcf38f9d8b","src/backend/linux_raw/arch/thumb.rs":"2fd979ab421248c0a4c592bc0cefee63edc26528f469b71b63eaed35356e42e8","src/backend/linux_raw/arch/x86.rs":"81c73c0a13925854b54db754f533dec565b1db2d9586e210a2450c6f5915171d","src/backend/linux_raw/arch/x86_64.rs":"e929036a1f3cf93ba538f4523b241605cc7b5e61f84ffe6d9d5cdbcb6f73e543","src/backend/linux_raw/c.rs":"74cdf34fcd5bba9628c04585fa13721073e2bffe6740315c7655d1a55150230f","src/backend/linux_raw/conv.rs":"fd339c2e78e6470cb03614540bea2958eec83f1b6cbecc68696a2d2061365f90","src/backend/linux_raw/event/epoll.rs":"4ae8f9de28c6875ab29cde7da9b4b01a6578e905c7a0e0b461d26025cb24ab52","src/backend/linux_raw/event/mod.rs":"72e46b04637e2d1d2a6b97af616144995399e489d1fe916faf835d72fc8c64cd","src/backend/linux_raw/event/poll_fd.rs":"fe1c289980384edf7334a4afe92f92cb6f51b7c0431ecb19930426a3bdb89fa5","src/backend/linux_raw/event/syscalls.rs":"8782cdf978bff0773bf5f35c1056d5c29a40742cf6f99d9606d951b52596cd34","src/backend/linux_raw/event/types.rs":"9538403f2e2c5ffcc939769d83fbfcc2db03874b45c36a2858ba07a05a3e3635","src/backend/linux_raw/fs/dir.rs":"c675dc5413428d2defd6752e99d210da83639779e853db209de6a1c08d35e0e7","src/backend/linux_raw/fs/inotify.rs":"9fc5edea36e347041a39e583cb473dd84af40c63fff3dfbb85a1a97d2833d8e5","src/backend/linux_raw/fs/makedev.rs":"c6b4505c4bcbbc2460e80f3097eb15e2c8ef38d6c6e7abd78e39c53c372139e2","src/backend/linux_raw/fs/mod.rs":"8689e46f9c4c3e1190ae5fe39176c573cccac10b3739472128ca237f41e2686a","src/backend/linux_raw/fs/syscalls.rs":"a4512f58e2ef01bf0799c96fa7821284866b6826594642565f46d93e566e2e12","src/backend/linux_raw/fs/types.rs":"ccbce0b7971064c71b16a341b7f39bf2c375262ea199d6fcf9d1b073b032ccf1","src/backend/linux_raw/io/errno.rs":"2681fe1f7da132414606a7c0dbc1c2cbc43e45f326f00d06cdff51d9724c8c5e","src/backend/linux_raw/io/mod.rs":"7ae2324427892cca6f5ab53858d847b165f790a72ec25f3d99fb15f0506c9f27","src/backend/linux_raw/io/syscalls.rs":"831ce424f0032e6891d46503e972313fd7a46f15cb2fbb1f87e40fb05a018e9a","src/backend/linux_raw/io/types.rs":"d0df5a62248e1ba19af0f89f86da7ba2312d97065c2814ddf6b08a4a0db23bad","src/backend/linux_raw/io_uring/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/io_uring/syscalls.rs":"0f7c9cb7ccddf5687e4b9e5b23558871a452a29ac6095a0184a06c47b9b18eb6","src/backend/linux_raw/mm/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/mm/syscalls.rs":"ac77ee94bb26bc959d3b077ef60e72863ef845c1438646b61755bdb861467bc6","src/backend/linux_raw/mm/types.rs":"46abdd2492301b7fe542ea3949eef2cfe28959cdd1f571ee1350e35b6517349b","src/backend/linux_raw/mod.rs":"bb26fe4783f834a4624c99ecf9e4ea8fa4d1c7fe9adfb6d7310fac689e7797bc","src/backend/linux_raw/mount/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/mount/syscalls.rs":"3947261b5d46b9737f02dc5352c3a3a35c63c461fd75bcd8ae6619dfc0bfb54d","src/backend/linux_raw/mount/types.rs":"af364e3f054b0fa55562827944235055beb752716347645cd1775d1a4d5615c1","src/backend/linux_raw/net/addr.rs":"fbb6c071a8ebc2c557c7013d36d4b540c1ff6ed63103d0a8abcacd8977fbf5c8","src/backend/linux_raw/net/mod.rs":"904b2ccd4228ebcda25db0223b92fb03e4042bcc7b0a202f19410a8a5ff517a5","src/backend/linux_raw/net/msghdr.rs":"a88e8395dd5a25c103dc2172d4e7013e5104a6d70091ad78efd286ebc8284acf","src/backend/linux_raw/net/read_sockaddr.rs":"4ab5d470f03f19a928327603e1d55de8b9e21cbe4bfc6ed65d856803092b1c90","src/backend/linux_raw/net/send_recv.rs":"6d5d2aec61a3c1b4a5fef1a8a487dc8e163da8988d1237541ed008baa01128cc","src/backend/linux_raw/net/sockopt.rs":"2ea8625ecd68a799c14ed48dec2f3e01f085222b6cc36f4916b20143e08ae575","src/backend/linux_raw/net/syscalls.rs":"b231754af1c94f61d206839b45f51516e0210761bbbcc1ef68c1fe6fc8a1bbbb","src/backend/linux_raw/net/write_sockaddr.rs":"a9374256cb47b3f4d5fec308986a109ce51a521abab31590df1f66c04c07d437","src/backend/linux_raw/param/auxv.rs":"c6a74c0b41aa28c850a80aad7cbad677df65c1f3eb78415872f6f3d1166716f4","src/backend/linux_raw/param/init.rs":"a5024f9afe361884f22fb4d65e632ccd8a60f1138ff6bd526df600d40e0d9b7e","src/backend/linux_raw/param/libc_auxv.rs":"167621c0b1bfd06c91c1201e9404d6624aa0a702ade17c6e37d9370c636be589","src/backend/linux_raw/param/mod.rs":"2e6a1a1c00351b9c88bd615aa923f71d76208df5626dd9bea03067f28f81dc31","src/backend/linux_raw/pid/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/pid/syscalls.rs":"eef6aa01830ddd510b83f507da2002c03e58318b73744be2c06ebbe33c4f194f","src/backend/linux_raw/pipe/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/pipe/syscalls.rs":"366c730fc3e991bddb9f5a15b8c3917a8e6ace6d1d5a9113b2749e476faf6f83","src/backend/linux_raw/pipe/types.rs":"caee78eaf13af02e5c4024c7459f23287dfd2c544ebab1dc5f728106fafe24da","src/backend/linux_raw/prctl/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/prctl/syscalls.rs":"a18b224307e0d27bda9b7b85c75cd6c7ddfe39f5ce52efb7bb0bf0585b757343","src/backend/linux_raw/process/cpu_set.rs":"dfdcbdf35aff6a3e08e7d38193bf18c12ca8aa64eb0dc417667be82dcc0f7c55","src/backend/linux_raw/process/mod.rs":"fb393c70a9c63ef9a6bf1fb5a2dc94f07d6b0b6987cc5231c15c607015dafd68","src/backend/linux_raw/process/syscalls.rs":"a2e446ba4e09727d11fc3b3d4bb316a659399aad186c08aa5bba80e62741265a","src/backend/linux_raw/process/types.rs":"6811ba822bc12a1a6336649151b4adb1f5d3365684a31c07f01953ea9547743d","src/backend/linux_raw/process/wait.rs":"921aee4b0048746087f52615a98edc2aa0fb4b53d6df44be4533098df55d1b05","src/backend/linux_raw/pty/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/pty/syscalls.rs":"ae09c4aecc0ae87b1ca58d82efc58007b9dddaae78460d615f48da19d1cd0f89","src/backend/linux_raw/rand/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/rand/syscalls.rs":"a84f70251672e92f253838bf05e989434f67373233e88d21d8835cbb792b1fe3","src/backend/linux_raw/rand/types.rs":"a21dbb1ab31eed6b59a57520be5a3c603c36d18ea74e67f7527f40835ba209a3","src/backend/linux_raw/reg.rs":"def5f88730bd625b2298c86559b5a378fce4bf6ce225204740ba087e034abce6","src/backend/linux_raw/runtime/mod.rs":"b2cae8cce3822c3c92942f06ea0b68464040dcac33c6f0f7ee392c6269993347","src/backend/linux_raw/runtime/syscalls.rs":"90849c8e429f215c225d430e7f550b5da0bb96054ef01745d3184f6c890ba8cf","src/backend/linux_raw/runtime/tls.rs":"6316060560a112c2e9cd9807cdba6e8c91414113a04a739160929ae9a67bba1f","src/backend/linux_raw/shm/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/shm/syscalls.rs":"3ebf91610b02de0312e1f0f0cc5d56e12b4d93794540087b3182cbdf3cb9c8db","src/backend/linux_raw/shm/types.rs":"b831b474aba7eb97167c9289f5257776a72b39134b44e67a0ecfcef2394dcd47","src/backend/linux_raw/system/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/system/syscalls.rs":"2af6c2672a6528b404b52f501d9803a63e9f47886d3b5d2d2dc5a71cefa7327a","src/backend/linux_raw/system/types.rs":"1ceab8d738a71043473b26e97fa3fd79d588a86d4774cbc9b9e1d4f1447a016e","src/backend/linux_raw/termios/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/termios/syscalls.rs":"151f03b938aec36a38fbf4e4b507ddc84d0999a246ee48abd5893464daa736a8","src/backend/linux_raw/thread/futex.rs":"0aa0f9f5be6a79de81e82c9f11f1bf8831f682a4b2f6cb29669e1591636f084e","src/backend/linux_raw/thread/mod.rs":"6ad4a4b90b9234e79900b27ebbe8837e3a7a36aec532912e3e253edce5225067","src/backend/linux_raw/thread/syscalls.rs":"0e3dca63be7322e1e9c58456b28eb8548abb9f08b4436b87b139e891c01c446d","src/backend/linux_raw/time/mod.rs":"672724f55b7b7be6a7452bb1cc2d28b5f0aaa840a2856fe363acce624e1beefc","src/backend/linux_raw/time/syscalls.rs":"451da0bbb66accdf58ee7f2f8746a93b22ee985907a08717a3d3b1650457d878","src/backend/linux_raw/time/types.rs":"028d2993df8fffe5581f7082b8849381bb21928930dc93e4a536a9c7a316c71d","src/backend/linux_raw/ugid/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/ugid/syscalls.rs":"8c86d251db33b399a1d1cbb8e87afe650b78db84f444d3251309b7a0480b54f7","src/backend/linux_raw/vdso.rs":"056314f72c71d4b041739337ca2098afb7fe070f844327f462c293f43481b75b","src/backend/linux_raw/vdso_wrappers.rs":"3bec7ee7daacc93b26c15e829e3ecdea62f9fc62244841ec80ee47a55806a69e","src/bitcast.rs":"e21c87c292c781b27256c6f5dcf9fd52dd69ed6e21016cbd67ac31a8219ebf8e","src/check_types.rs":"e52f710e1cfc12ca13a495f2b43c227b293ff295e1ce3ab332935b28a7579872","src/clockid.rs":"e41172c87401ef7b8ad37ec09b5b690c55c51b37009414a2089b34dcac9d93a9","src/cstr.rs":"41af2a4429fe6c67a8883f8a8f63d66c90df566abda74fd2b03bcef7b9f24218","src/event/eventfd.rs":"81cbd08f7bdf40a6ce1ca692b63da1dc8ba925282990668d9d68f1203e839fa1","src/event/kqueue.rs":"222842df22e66f41d93dacd3cba933810d9313d5ca9959fddabedda9c4312bf2","src/event/mod.rs":"326a7ddfeb33bb95dd31391d65f400fa622e5d0ab827c096cab16af4b6843b51","src/event/poll.rs":"0ee583dbd457a573a82a06c04a2a24bd2c76e751d27a435507d55338e2871327","src/event/port.rs":"4e51ff150e5d17cbd44aa64a38b99c15e26eaaf2e350768b5dcacdfde4fa5212","src/ffi.rs":"c2b8b38c02d72749aceb715c496726caba1f1fa989ad3856d0103a2fafed89ed","src/fs/abs.rs":"10e1a148a5b05476efbb591dcc969c1a6caf3d2d9592741eef22341a97c8f4a3","src/fs/at.rs":"a12f382f7b544ae4bbb7a967de43178dad796e05fd6eb8136e1a34236b48f9dc","src/fs/constants.rs":"23923e0fce3221bdac371fe2d05028f30a87dba4f9b4a573b69dc2d6d39320b2","src/fs/copy_file_range.rs":"d3b644374390d482b2ff749a2459458872b57d0dcf9670368739b7833509a7c2","src/fs/cwd.rs":"9f429a79ace6e17455634da09216ee0ad3d067a4541518b3193ae6a8d9ff1e26","src/fs/dir.rs":"347a52f4ca9ac6321c52e802e97ec90d1b4c62ec955c8996fc17f8f5aed69966","src/fs/fadvise.rs":"1220e2cf5cf58fc7cc950d48738050a052c504f745ca67130daa6410e248230a","src/fs/fcntl.rs":"1d1ee1e0bc962779e1cc1b8b76f39c820746240557daa9e14b47b1799120dc39","src/fs/fcntl_apple.rs":"e2f23f038083621bcdecc98d02ce1023508afaecdb2ed0fba5c8b70f955301e5","src/fs/fcopyfile.rs":"ce565f61e1fbf2e31086077c2f1d01b6bb3b048915edda87fe9a4a4f5e8ff7e4","src/fs/fd.rs":"fe53f211e91352d522ac4f3b553a9366506458e2158295a93c5e746618f7a5fe","src/fs/getpath.rs":"28f6970fc1bbc37bb35c84724b59eac436ea7407a4522e18c2bdacb1fdd2edd9","src/fs/id.rs":"1b5c8a8baf9a9bb1f895f97189cea4e5982a0d35b192afeec6340a6c6222e0cb","src/fs/ioctl.rs":"e798eb41bbc201c375bc295ad2928c2467b45b4fbbff3c82236dccbc0d6391a5","src/fs/makedev.rs":"85520b484cb7c15ab71ea1c368578ea3b7e484d82f8510db92b6ce9f7ca341ae","src/fs/memfd_create.rs":"00df492a3afdfc65a07d6849422596bf6cd4608a653d5d25ba54d6640eacda11","src/fs/mod.rs":"2192ea7f6f81a18d892d3526df00c43d83669f1a1734957ba94cf8269980792e","src/fs/mount.rs":"8f6ea2b997dd83c50c90291b9ada3ed77a9ce1ad701c9b0d533b5113b317be5b","src/fs/openat2.rs":"4a95c15dab533a41201b5fa25c8a212956b7571d58cad696bdaf45af8aef96db","src/fs/raw_dir.rs":"18ad797876d6230c38d4cacbed081c4028e03ace477d0520d9b226b40de942f0","src/fs/seek_from.rs":"a9efa0feb9ac789cf47667e91efee2e3f2dcde16cb3b7a928c99da640fa0e0d6","src/fs/sendfile.rs":"e3b2058741cf4b1698f34d84bb37130cf2b72806d522a16fe541e832cde136cb","src/fs/statx.rs":"f925be3d9a179a903549b3ac18038d004f4f2021e46dad4aa2757907aebefeca","src/fs/sync.rs":"a3b23543834281f347b0f873bd38154d31d404871188ac08f2b20b9196234cfd","src/fs/xattr.rs":"5e222adb52caf69d949ab3f944fb2a482dd6ca3a47200532ca6e72d44cbe8334","src/io/close.rs":"0aa3cd05a8fed8e5244f97b8b6c2e7f65ed93a4e5435c6329852bb3da7514440","src/io/dup.rs":"bbebf4633120e21c7c49ecb93576cffa7e908f8089deb260f8d97426b469a0d4","src/io/errno.rs":"58a4d20ba0924e4d514e3c876fbe08982f1623187642ae14780815e65989c8c8","src/io/fcntl.rs":"5b7696e40757615940745ecc7f33d84678d24f55eba978a8efdd0805cba7b1c1","src/io/ioctl.rs":"3dffbda413fd380f1580e2e75c531a5f4a0487417ea1c235c23fe46b70e46bd9","src/io/is_read_write.rs":"1bfb9ee5d58e0b29b44af12fe2668c7bccc841358698dcde47f1519ff9bb73b4","src/io/mod.rs":"75f1d0646be1d4c7c08b5887d8119b0103be8c25c43ccd4e0e97015508c0bb8f","src/io/read_write.rs":"77b8058769dc0bf5a88d73acd7ce70af1a89c549b00b790e281dc20364bcb6af","src/io_uring.rs":"4e641c9aaeba14890e4a354ad8b1fda8fe617923b4d3d685da22721d66a14bdf","src/ioctl/bsd.rs":"e33772530b1b2d1e7d61ce53d9267e68d88f7f5df13301f90412d89a46c6faaa","src/ioctl/linux.rs":"96df90bbc926783f387e8fe1656841d4c7a857fd4e9f41f95492f7dcece33074","src/ioctl/mod.rs":"d2233ba2a81738828d28d4297f8dafaf254c475174de48bd0fe3891d29a71bfe","src/ioctl/patterns.rs":"af24c47597e619a8e0fd3ca071f21db1963a629b511d9279ef9d36a8030a6fe8","src/lib.rs":"ee2b60b7b29c9f4e0f474534a76961c2ce5c9f3640eea67fa395e633b64efa6e","src/maybe_polyfill/no_std/io/mod.rs":"77889bb5c5a4f2e50e38379cdaa5d0fef4b0cafc3da056735df01f6deae75747","src/maybe_polyfill/no_std/mod.rs":"ec94a4aab4bc475785e469d10fd6bc95667e1d47d958e9cff3a19049d88c8c80","src/maybe_polyfill/no_std/net/ip_addr.rs":"046327ee244f758f2bc31d3be305d8cd0dfd8342aac1add8259e999b4b46c4a7","src/maybe_polyfill/no_std/net/mod.rs":"486555be5c56cf3e049e65a1ea73aa60839c6f6ca667833e88ee4f360f9606dd","src/maybe_polyfill/no_std/net/socket_addr.rs":"bfeb32d32c176cde76323abcffebfc47e9898fb8d7ce3668c602dc8451086a2d","src/maybe_polyfill/no_std/os/fd/mod.rs":"27ef0afbcb0695cbb15101070f417eb51e0ef85ae66ec967d95e80771d507c47","src/maybe_polyfill/no_std/os/fd/owned.rs":"ab86ffa2693a04f3085770faf395f95e5303001711be8b19c44a47a0ac574091","src/maybe_polyfill/no_std/os/fd/raw.rs":"f3648c7bd4a6ff94bd823ed9e0d99d398e02f24875cf9b25962736999e7c6943","src/maybe_polyfill/no_std/os/mod.rs":"27dab639a765827644005d5f2fcc7c825310606b889cc8dd83f54c9528350dc0","src/maybe_polyfill/no_std/os/windows/io/mod.rs":"5bbcc05c83fee5026dd744a994e0458469466d5be39081baa62df07753b92fd2","src/maybe_polyfill/no_std/os/windows/io/raw.rs":"4c32609a489dd938a49328b5637cb3bafb96437f2f9f269ab66d7d3cb90247f6","src/maybe_polyfill/no_std/os/windows/io/socket.rs":"c658f42f24eff44a661f2adfd24a11af80fe9897f3e2af4dc5d2c64808308d65","src/maybe_polyfill/no_std/os/windows/mod.rs":"fdb416f8f231a4e778b5f985b9ae712ece5e1a1402963ad1a5f6a8b9843795f4","src/maybe_polyfill/std/mod.rs":"7c16c86cc73e226e65ead598e4018238b22000a345040b706bf1e1b3eba115fc","src/mm/madvise.rs":"69481cd3354dbffe6cd93b234448e59de6d0fe6440bcf8b12f951f37745bc1dc","src/mm/mmap.rs":"8cd1a8278e138d0805726474bb3016fdaa09a8074bbc8f20d1e842e7fc17efa3","src/mm/mod.rs":"b3a6cb838986d45825b912355cedead761211a494ca6f89b2367a2d2157e340e","src/mm/msync.rs":"a9092be024ecbfa9c14edb935404513498b0da2ac6c99fc31fe4e58196a95f02","src/mm/userfaultfd.rs":"8073443bd181ff0b3ba4d0b1ae67370b4864035a0c8b4898cd709dc47c518ae7","src/mount/fsopen.rs":"160e384e9175fd98669cda1cf3590bb195c2ba7e1c724e9ea06e692595e58ba1","src/mount/mod.rs":"5f0c9df4727592695deb1cd63ae1de021b03dcd9d0d1b68e1f34d12a7136cb19","src/mount/mount_unmount.rs":"8ad11675e5d762d33fbefbed06a6a9f9e52a9b689bd06662446152614321ab77","src/mount/types.rs":"601ae3e10b7dc496fed7f3b40a80e81c6edd7bf13189d7be45c3212d4c684c39","src/net/mod.rs":"a6bc55f9e086caf46a7c00783498d73a328a66f2a991f1ec65d5f13931377b0f","src/net/send_recv/mod.rs":"7b77a70c0ad2601b5da30e8b202e34c6bfc9e10df4ce2b1a35b111522ae123a3","src/net/send_recv/msg.rs":"f100a88648b9eba88272aca77d76351432636022a1d4b0e9485e002a3489d05a","src/net/socket.rs":"1296706d964d110be7cd46b61a0a06dabf382a2377907ba41badfe94807cb50f","src/net/socket_addr_any.rs":"a9af81e967a91b45e51aec4f46a068fade7035c5d19dfaf05bfdcd3b3c32e9bf","src/net/socketpair.rs":"56f4885c31d2664cd16e18a9a88792a4912fedd953cec36dba67e8581fd57921","src/net/sockopt.rs":"4f00ff76d3cd3fd2e915f51eba59827fb60885d6b0c6d37b32ca4306cb8fe836","src/net/types.rs":"35878a8ff12cd7252ed735cb640bad03e4e13c6016769c2d154c0fab08505248","src/net/wsa.rs":"6e546b42f50a851fc833c57cda76cfb347203ed4b0dea574a3d325bf5a2ebf80","src/param/auxv.rs":"8602af47a39bb340d319807bdecdb9be8b467101a9ed96061277b90234801913","src/param/init.rs":"a31c0e5cea61a1a999767fe74f87c0d59eeb6bce66578b842fe0e0c32be27a55","src/param/mod.rs":"25b10acd5b1da8faa6f5204e6b0379b38bfab667916e886cca64bea01a42dec2","src/path/arg.rs":"d87117157ec21f61a5e50b2779b4284fd13dd7db11b20a6bc9e475d0e4a25357","src/path/dec_int.rs":"8ff8e14442c46f8e7a9b80d73973619b4271549b9defd538479bf8c2d93aa72e","src/path/mod.rs":"6b1b949c94bcc47e0f08a3f8e8db5b61ff497d0dfd3e0655f51c01d3e4b7dfd6","src/pid.rs":"f1c486000c5b1311b2d720cee88f089c17ef9a171709673dd06e6f35f4ff98a3","src/pipe.rs":"cec0a831237ab2652556b149767d1b382e9739a1bb21ea401a35b36df7f7a3e7","src/prctl.rs":"19aa584895874ea48b9bbe1bf695b81257b0281df64dfdd91e1b4bfa298661b7","src/process/chdir.rs":"911216459aa429fe9f125f1357d6900b43b0007835b85c719875d00f79a74664","src/process/chroot.rs":"2b5f6124eb19f26ad2705174f7ad50cdc0a5d15abd59ffcf55421228d82130b4","src/process/exit.rs":"48de66e5504a00cb375d8f415ce63b6225a3f5204268d40726a7d0fbba43f587","src/process/id.rs":"e4733f9e8e4b5f50e98ef7a23802e126f1f14ece8b3d7ae7446c6a66affc6bc1","src/process/ioctl.rs":"23ad0285671e8d7ca71a63c50655dbf732ccea8af11d754a0558e0236db37e76","src/process/kill.rs":"96d5ce432c19cf2b600d5248c681c117abf53ae94bbfca7e75ac533a40e3968e","src/process/membarrier.rs":"1c4c39b359d1d0e9bbe16352eedfca9278d9ef298ade8ec00e998617bbcbfed8","src/process/mod.rs":"70e7fc79e4edf3ffd56c20643707cafdc595330db68e4ff8f75dcb3756ad5b1d","src/process/pidfd.rs":"39de2dc7919eeeb53a5980622616140327671cd7e36bcf597aee1749df3a5b5b","src/process/pidfd_getfd.rs":"1faace75bdbcda57a296806dcfa5487811f8d11dad9e6199c98df72feae66724","src/process/prctl.rs":"0130d05362a17a9282f3391189095e1f4f51fb56d7a5205906a0011842df4576","src/process/priority.rs":"f135482e71ea8aa0daf92b9f238051178a4c904070fa8409622f94155df3c544","src/process/procctl.rs":"430ec397782772d5a028903c2813d3e11f7e577af144b9effd9c42629ac8d3d2","src/process/rlimit.rs":"10b79de3ced0e64059a94c879742d46a35a6176c776d8eed75031d5e6340283d","src/process/sched.rs":"b49ef463f44b5e90a04e9a08569d0ae20eecb8667f38f31c786df1eb099db466","src/process/sched_yield.rs":"6565faa3928b66ddc74a65e893e15edfa4b9be4f7e5f5f68527501a7f6bc3350","src/process/umask.rs":"1a0f31a842303c978e3f05ec191e2b5e96104c09c6596473b42b1fac34898a50","src/process/wait.rs":"612920489b5618bf82a9a615947e0acbed6eb310acbb9bb70e934d457dd1dd49","src/procfs.rs":"63b286dd3302be7f426841eb3b9261ef4785c3159ed78c24734bd5094c9b0b2e","src/pty.rs":"652c412e7280d0344b3f9bfe376c106a7f1b42b898b7af344e6e72da268e2bf0","src/rand/getrandom.rs":"1c8166a02a74f5593bb4673ef907524df04cbc1568020a5ab2ff7f4aa1283f8b","src/rand/mod.rs":"cab59332aadd9b679f5b22cbb222d48ee028af5eb9fd4a4d43922da659b895d7","src/runtime.rs":"695e60b9cc22755ce0e653fd63a0c73024a14eb8f576c6071dad6806c32f5552","src/shm.rs":"b96fe8a05ee5d4536464a8843a776d43a938abaf22c772fc35b5373d95644a8d","src/signal.rs":"a294b49d487dafaa42e534f8b1d93e87bec135087676b2ba2ef865cf2fccdaf2","src/static_assertions.rs":"504cf66f0d5b8e335be02f9ae8b0a355abc98c2c82eec0098bdf0988e662e260","src/stdio.rs":"a5de2d7d9c3c5a901f88b6acf4754687c958a2f3a93c7945c2b8fcb948d468af","src/system.rs":"4d7d1eff18094ec85a8ead70a7ccbe8ef78fd7f5705b7dfe3fa52541e9494887","src/termios/ioctl.rs":"a1ac967f7811a482f8bb53847c37c8359f518cd26da9df7b816ba678a0139623","src/termios/mod.rs":"b44b7caa60b6f458657ed58a0e0eca41bb4e6d6be4b0f042bbb8ab7056cebe4b","src/termios/tc.rs":"e41312d15464b83b2457c2502fc3f3b9998cfb02ba68739026dd4285cc7130ac","src/termios/tty.rs":"35a5fc2d26501e0e6dde1a755eeccf7b4f3b4702c5bac30e0953220808ef7034","src/termios/types.rs":"38167a38fb83e84f2845f86b373ecaaa3ebf6c2f91dccd07c10539201d6f5070","src/thread/clock.rs":"f49eb7271eb3e6831d9b0c3a01bfddbe4bd69dee237bbaa059884de452b29e79","src/thread/futex.rs":"985f9a0dce1e2a4892ae7f26bd1bf119ceae3f9fa6b4707e166624fc1cee76d4","src/thread/id.rs":"ad72db4fea9fccb728310bbfd01ef8c00f6cc60fa2a750f6349646a134f7009b","src/thread/libcap.rs":"4c51b7df566d38dd0f85f81ef53279a745a39f0f4e1154791fd38438e2ca7db1","src/thread/mod.rs":"98634ece0b882f123ad887017692f2a4d94a23a1dec278ed660b3497cac5cceb","src/thread/prctl.rs":"6caec7eb4fe122e80ba1ecafc56b710c79ab8b3c97529d5beba74d87af356875","src/thread/setns.rs":"ea9142b1f3a5b3f329683be185f960c50e5c1636149e91fbf59e88a897fc607d","src/time/clock.rs":"e59a29f1bed8c31c3d5b6fad60f2d4fa6cab8dd8e86148bb3693a5e3a1ce735f","src/time/mod.rs":"43afee938c80d124d04d4ba190c03f4d21d1e3bfc154fff309211e4f6eabe940","src/time/timerfd.rs":"f17092b84553741aa2d2b44c6992b5d2c8c96cc2c2007fc9a2c6b2064485e53f","src/timespec.rs":"32a4d930cbc0f6dbd23153290db920671cf4ce65a4a127e176f897c1cde42d7d","src/ugid.rs":"6616c6e35b7e43aee5b150f1efae7a50711e0947943c9a96833dbe214ad9e85f","src/utils.rs":"9ae76f8a41d6cc350cdd58c9084b5c3a5a708eeecd769783debdbcbaef442182","src/weak.rs":"c7cf03bf2aeba494b1999ab32183fa8c603ab72e254c0e312a67f168877e410d"},"package":"2b426b0506e5d50a7d8dafcf2e81471400deb602392c7dd110815afb4eaf02a3"}
20\ No newline at end of file
21+{"files":{"CODE_OF_CONDUCT.md":"f210602311e3f74b32f46237fd55f4ce36d798e85e3db1432ec667f63a7ffc44","CONTRIBUTING.md":"3fd57de5c678db1c972da676a8231d2fde9820695ef1f0d53f1e55a3e81d9de0","COPYRIGHT":"377c2e7c53250cc5905c0b0532d35973392af16ffb9596a41d99d202cf3617c9","Cargo.toml":"5a6eafc41863c968362a1b8424dd0a5e1ce6502496b2999ef97ceac81f30fbcd","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-Apache-2.0_WITH_LLVM-exception":"268872b9816f90fd8e85db5a28d33f8150ebb8dd016653fb39ef1f94f2686bc5","LICENSE-MIT":"23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3","ORG_CODE_OF_CONDUCT.md":"a62b69bf86e605ee1bcbb2f0a12ba79e4cebb6983a7b6491949750aecc4f2178","README.md":"0acc443488c1d6f7a0a80a91385d06c7a1920c1f5c847214dd6c23a6bd027f75","SECURITY.md":"4d75afb09dd28eb5982e3a1f768ee398d90204669ceef3240a16b31dcf04148a","benches/mod.rs":"e260e67273aa0a37cffdc5cd451699335b8ee656c17275a0d0f2b4563c6018ca","build.rs":"5f93559819ca7fe233f01579d51ff5b58cb6e96ef9e7817a3358a9b410d5bbf6","src/backend/libc/c.rs":"92d9c17e26569a9d09cd05a83a06df514ffbb02795765fc8bb0d74bda7711a51","src/backend/libc/conv.rs":"b66d080db3a4c2756fe722462b543982bf88e5bc8071b9dc98d28ec2aee3dbfc","src/backend/libc/event/epoll.rs":"b6f00ec602f9a6b9a2b7a66a242efda088b67ed66053692dcbba683df4fdaf19","src/backend/libc/event/mod.rs":"7f8547c599b8263eb791890bbe4a0b22fe2676d007ffdcc3e07b2e48d1c994db","src/backend/libc/event/poll_fd.rs":"1186dd69fc78d474975f1b8c55c9dd261229cb0c53a0dd2a88754ef62529a917","src/backend/libc/event/syscalls.rs":"295a930521b345192caaf916b39189299f81f5f7c9f1aaed235baf3bf6f2f5fa","src/backend/libc/event/types.rs":"e81130bc07e8f762ea2942bca1bde048ade0df24aac619907f3055d2dda7d522","src/backend/libc/event/windows_syscalls.rs":"ebfac665c6676c4b803134ab8806be8aa2e96bdbc7799a19c544cd9069b35787","src/backend/libc/fs/dir.rs":"71332c794f4e2438e7c700a0d2206fe0088cf98473030e3f8ccddf252ad7f5b2","src/backend/libc/fs/inotify.rs":"a027a718db8bf6ff9a778c2cfa706850b466240b0a2296d72b9834c0096968e8","src/backend/libc/fs/makedev.rs":"89c679a0ef18dd41b3c6223bce0f329ad35bf6cadbf16e47b33fad3f312ba4a6","src/backend/libc/fs/mod.rs":"3d28b803011b57da6315bb747daf0117218687c0cc610358f5dafddf0b7d44d3","src/backend/libc/fs/syscalls.rs":"229d1c27d53bfbd35310b05aaf8b3307d6b6e9948faf0655713bc662f901bd02","src/backend/libc/fs/types.rs":"ca25c8271e1fd2ff6c28082884ca112fd5e0523b2aa3cd289cd9a399c962a172","src/backend/libc/io/errno.rs":"d33978855c2e0e97d5e1f7a04ab10894f9f2c3e329e949f259a757f89942074e","src/backend/libc/io/mod.rs":"746647bd864e4ec7717925b6d176cebdb392b7d015070244cc48d92780351dd6","src/backend/libc/io/syscalls.rs":"cbd9e9db566597de0a709247c8ba3bd1e6ce266a128d639273353c706f0592b7","src/backend/libc/io/types.rs":"2efd39bb3df19a9db5496217284f3d2235ddb354fac81dd71861109a56bede0b","src/backend/libc/io/windows_syscalls.rs":"fab3fa099aa89cea56a6edc651dd37750e581534f4f45b04a7e425f130b08468","src/backend/libc/io_uring/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/io_uring/syscalls.rs":"5af8146d5971c833e6fd657f652c618b31f854e1b0811864fba9b658cb633e19","src/backend/libc/mm/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/libc/mm/syscalls.rs":"c04c61ad3d7f3b24d13f89144d7fa0a05658cea4763207f9250db4f9362de2fe","src/backend/libc/mm/types.rs":"48406d44d79b102ae9d17860749611d26c1f04e3630e9680dfcb20e2efc148a8","src/backend/libc/mod.rs":"778083f85aaca00aa5c8ec36b541e0e8a3e693660a6acf4722b4508f015c278c","src/backend/libc/mount/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/libc/mount/syscalls.rs":"1bc87501a078616d0190d2e85de55f3f968b8cb79d49bd9eb839a350eed26089","src/backend/libc/mount/types.rs":"1b0d527ae5a272ae441fa35192616a867090204404324a341a7864ae1f5ea3fd","src/backend/libc/net/addr.rs":"9bdc2febb20785bc26a820eaba52cb546c67c79cb547f08105087cd0f79d5861","src/backend/libc/net/ext.rs":"0dd64877abe1ba86b47a2ab34340e3f6cc7b53b22d0bb5e237daf6a82edd46b0","src/backend/libc/net/mod.rs":"5f0bd80a6575aba4a714443ca99af76ad15b053f1f8029aa1d9c7fa10e6d9242","src/backend/libc/net/msghdr.rs":"64825203c09cb60ac4e869cd27a44697f1efe53455c41684279d50d8f0a96701","src/backend/libc/net/read_sockaddr.rs":"b1a72b7bd56cd152ed0731f571e4d9411b2974f860fc045319dc74b5b077e569","src/backend/libc/net/send_recv.rs":"1450ca958431a5bf3a85cdeef88b387f30d5c1215de2c56d164ccda38f21b36c","src/backend/libc/net/sockopt.rs":"178a6622bab25bf1813d6c17151f48d820e238db8cbd05be3aae563902d6c53e","src/backend/libc/net/syscalls.rs":"1c703ea3d7a1d0bfa43ffe07425882f310260589d513e1a936de434fa653cf3a","src/backend/libc/net/write_sockaddr.rs":"6f06f6cf6089fbc43f93f4f3830468735c92277595769867cb6c89e1fe1c299a","src/backend/libc/param/auxv.rs":"fc9476c85482b1d44190289224ccf40c96fbf3a2fe3d8554ddb42acb2e97a8ae","src/backend/libc/param/mod.rs":"5234b8f1bcb886cca6ea003d411d75eaeebe58deedd80e3441354bf46ed85d4d","src/backend/libc/pid/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/pid/syscalls.rs":"49ea679b96c0741d048e82964038f9a931bc3cf3a0b59c7db3df89629b9c49e6","src/backend/libc/pipe/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/libc/pipe/syscalls.rs":"8affde100f6a9dfc762b79d1e48be5c1039be414f8ef7d5a6acaba882a68d259","src/backend/libc/pipe/types.rs":"bcf2751691748b5084a6d8d8851b496bc2ee9011fc1c717839b09b07d423eb7f","src/backend/libc/prctl/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/prctl/syscalls.rs":"8a2684f444a7555098dce2b92270d81cefdae902716c6e5d59bd7b0657e8a29d","src/backend/libc/process/cpu_set.rs":"b3d36b01b53b0b6c61a20ed8a69d48eccdd90cc17f82f2926ef1e844f002d0b7","src/backend/libc/process/mod.rs":"3f376060815d2ed78081ddf6fb0cddc97dff5dac2f4934f0672cb09736e16377","src/backend/libc/process/syscalls.rs":"278c87df6321cad2bd37049a7cfeecad7dd54f5e3a8449368da4c3409637e6af","src/backend/libc/process/types.rs":"c011d60d93130e1233ee1d69de1e834a6ce05628220a1c0bea9b5c6eb4c853a2","src/backend/libc/process/wait.rs":"0cc556aed976b4bbb3965f74fd76b8216c755fce25043b7b21ce54afa07c9773","src/backend/libc/pty/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/pty/syscalls.rs":"699a4c325fc590b8b5dabfe5a9ff386809be14dd24bf35aa6ef581b2bd75457b","src/backend/libc/rand/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/libc/rand/syscalls.rs":"78c7201e6bcb75e9cab9486d1878861319f865de2b2c46437be68690bd17bf13","src/backend/libc/rand/types.rs":"4eb0b4cdd0a9b089d1c9f6a25ad1ca97be28a38b7b07a705ec605b773f63f880","src/backend/libc/shm/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/libc/shm/syscalls.rs":"60d797d4e85e08e6330e6b8d80094356ce377e5484952f88ae2a6e49231c268c","src/backend/libc/shm/types.rs":"2206eac8ee74951b995e1e80f10bf235cc6b04e0a099f4adefce546378838233","src/backend/libc/system/mod.rs":"38563ea68829ca5a4b1b0695ac8a5c05718e85bdc88a36dc805efdfce45d3909","src/backend/libc/system/syscalls.rs":"abe1093f3495668d8576ae55073c74976cffb04d2e1bc20583d7ec12ac848b06","src/backend/libc/system/types.rs":"6871e16aee14fe2ae03cea798c3e509ffe44778a9c0e5608fd73e2e015876d7e","src/backend/libc/termios/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/termios/syscalls.rs":"77c4c6fdfe036251ee1540df5b398a38d87597a5e7e94abaf9b983419ae4ca24","src/backend/libc/thread/futex.rs":"b666828653b12634bbd7fd709acf69641b648ec40962a1d4f904c5db14d2eff5","src/backend/libc/thread/mod.rs":"fa710053974d7f16a6c49242ee6c10a3b9e1143452b9daeaed8837302a679fff","src/backend/libc/thread/syscalls.rs":"c8e84ad232ec1317be989529c24e204c51bb4e1e0212de2c1937b00bc92e5483","src/backend/libc/time/mod.rs":"38563ea68829ca5a4b1b0695ac8a5c05718e85bdc88a36dc805efdfce45d3909","src/backend/libc/time/syscalls.rs":"f82e0725c5af8a52e61ee83aad2c77694f2f7a72ac1e6eb284109a70ac6edc38","src/backend/libc/time/types.rs":"47ab4178a51c246ecc5f2a2fcca7f6ad9c8a1a45d11dadcb95ee0e4f82e8dfe2","src/backend/libc/ugid/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/libc/ugid/syscalls.rs":"8edf91b8790add23902c9f5418da6b0723a371677f29f490e0c8af852f0f1a0c","src/backend/libc/winsock_c.rs":"3bf3884fd250eca806ffdf96da68e29c133a697810b78b333ea449e523e58562","src/backend/linux_raw/arch/aarch64.rs":"2a255c9135bc8a321c180f52b88eb2b158bc9170cd222149caeae63c24587d44","src/backend/linux_raw/arch/arm.rs":"165bccb5883d0136e55d42091183765f83d86e9d37a7cb2cec9ae8af32774db6","src/backend/linux_raw/arch/mips.rs":"24af364aa93fd4b9917639d473336490a143f0d1723b09f388e72d534160ee51","src/backend/linux_raw/arch/mips32r6.rs":"e436a2ade34f2f7c58b8924462b07a2499dfc951e1e1318d51759444fb8b658e","src/backend/linux_raw/arch/mips64.rs":"897da9ddc877963ad59464d7f81dc59df8a7e91251e6adea14cfd946e2740a1c","src/backend/linux_raw/arch/mips64r6.rs":"3c08aea13c1139fb0dfbe74ca3d0147f007c3aa2eda641afb82c46f6aa4f6cd1","src/backend/linux_raw/arch/mod.rs":"37eaeea601d39be00d170856a31a8ec6a27b0d3ac22ab3ee642ab0e45dee237d","src/backend/linux_raw/arch/powerpc64.rs":"dfb001f8636a5e46d728900b0804fe6c374e5e18a6f0e76d7d62e0c07da74477","src/backend/linux_raw/arch/riscv64.rs":"41d33242d941030f46077dc2b1bc4c7913fe7630d693a5a7eef966bcf38f9d8b","src/backend/linux_raw/arch/thumb.rs":"2fd979ab421248c0a4c592bc0cefee63edc26528f469b71b63eaed35356e42e8","src/backend/linux_raw/arch/x86.rs":"81c73c0a13925854b54db754f533dec565b1db2d9586e210a2450c6f5915171d","src/backend/linux_raw/arch/x86_64.rs":"e929036a1f3cf93ba538f4523b241605cc7b5e61f84ffe6d9d5cdbcb6f73e543","src/backend/linux_raw/c.rs":"74cdf34fcd5bba9628c04585fa13721073e2bffe6740315c7655d1a55150230f","src/backend/linux_raw/conv.rs":"fd339c2e78e6470cb03614540bea2958eec83f1b6cbecc68696a2d2061365f90","src/backend/linux_raw/event/epoll.rs":"4ae8f9de28c6875ab29cde7da9b4b01a6578e905c7a0e0b461d26025cb24ab52","src/backend/linux_raw/event/mod.rs":"72e46b04637e2d1d2a6b97af616144995399e489d1fe916faf835d72fc8c64cd","src/backend/linux_raw/event/poll_fd.rs":"fe1c289980384edf7334a4afe92f92cb6f51b7c0431ecb19930426a3bdb89fa5","src/backend/linux_raw/event/syscalls.rs":"8782cdf978bff0773bf5f35c1056d5c29a40742cf6f99d9606d951b52596cd34","src/backend/linux_raw/event/types.rs":"9538403f2e2c5ffcc939769d83fbfcc2db03874b45c36a2858ba07a05a3e3635","src/backend/linux_raw/fs/dir.rs":"c675dc5413428d2defd6752e99d210da83639779e853db209de6a1c08d35e0e7","src/backend/linux_raw/fs/inotify.rs":"9fc5edea36e347041a39e583cb473dd84af40c63fff3dfbb85a1a97d2833d8e5","src/backend/linux_raw/fs/makedev.rs":"c6b4505c4bcbbc2460e80f3097eb15e2c8ef38d6c6e7abd78e39c53c372139e2","src/backend/linux_raw/fs/mod.rs":"8689e46f9c4c3e1190ae5fe39176c573cccac10b3739472128ca237f41e2686a","src/backend/linux_raw/fs/syscalls.rs":"a4512f58e2ef01bf0799c96fa7821284866b6826594642565f46d93e566e2e12","src/backend/linux_raw/fs/types.rs":"ccbce0b7971064c71b16a341b7f39bf2c375262ea199d6fcf9d1b073b032ccf1","src/backend/linux_raw/io/errno.rs":"2681fe1f7da132414606a7c0dbc1c2cbc43e45f326f00d06cdff51d9724c8c5e","src/backend/linux_raw/io/mod.rs":"7ae2324427892cca6f5ab53858d847b165f790a72ec25f3d99fb15f0506c9f27","src/backend/linux_raw/io/syscalls.rs":"831ce424f0032e6891d46503e972313fd7a46f15cb2fbb1f87e40fb05a018e9a","src/backend/linux_raw/io/types.rs":"d0df5a62248e1ba19af0f89f86da7ba2312d97065c2814ddf6b08a4a0db23bad","src/backend/linux_raw/io_uring/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/io_uring/syscalls.rs":"0f7c9cb7ccddf5687e4b9e5b23558871a452a29ac6095a0184a06c47b9b18eb6","src/backend/linux_raw/mm/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/mm/syscalls.rs":"ac77ee94bb26bc959d3b077ef60e72863ef845c1438646b61755bdb861467bc6","src/backend/linux_raw/mm/types.rs":"46abdd2492301b7fe542ea3949eef2cfe28959cdd1f571ee1350e35b6517349b","src/backend/linux_raw/mod.rs":"bb26fe4783f834a4624c99ecf9e4ea8fa4d1c7fe9adfb6d7310fac689e7797bc","src/backend/linux_raw/mount/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/mount/syscalls.rs":"3947261b5d46b9737f02dc5352c3a3a35c63c461fd75bcd8ae6619dfc0bfb54d","src/backend/linux_raw/mount/types.rs":"af364e3f054b0fa55562827944235055beb752716347645cd1775d1a4d5615c1","src/backend/linux_raw/net/addr.rs":"fbb6c071a8ebc2c557c7013d36d4b540c1ff6ed63103d0a8abcacd8977fbf5c8","src/backend/linux_raw/net/mod.rs":"904b2ccd4228ebcda25db0223b92fb03e4042bcc7b0a202f19410a8a5ff517a5","src/backend/linux_raw/net/msghdr.rs":"a88e8395dd5a25c103dc2172d4e7013e5104a6d70091ad78efd286ebc8284acf","src/backend/linux_raw/net/read_sockaddr.rs":"4ab5d470f03f19a928327603e1d55de8b9e21cbe4bfc6ed65d856803092b1c90","src/backend/linux_raw/net/send_recv.rs":"6d5d2aec61a3c1b4a5fef1a8a487dc8e163da8988d1237541ed008baa01128cc","src/backend/linux_raw/net/sockopt.rs":"2ea8625ecd68a799c14ed48dec2f3e01f085222b6cc36f4916b20143e08ae575","src/backend/linux_raw/net/syscalls.rs":"b231754af1c94f61d206839b45f51516e0210761bbbcc1ef68c1fe6fc8a1bbbb","src/backend/linux_raw/net/write_sockaddr.rs":"a9374256cb47b3f4d5fec308986a109ce51a521abab31590df1f66c04c07d437","src/backend/linux_raw/param/auxv.rs":"c6a74c0b41aa28c850a80aad7cbad677df65c1f3eb78415872f6f3d1166716f4","src/backend/linux_raw/param/init.rs":"a5024f9afe361884f22fb4d65e632ccd8a60f1138ff6bd526df600d40e0d9b7e","src/backend/linux_raw/param/libc_auxv.rs":"167621c0b1bfd06c91c1201e9404d6624aa0a702ade17c6e37d9370c636be589","src/backend/linux_raw/param/mod.rs":"2e6a1a1c00351b9c88bd615aa923f71d76208df5626dd9bea03067f28f81dc31","src/backend/linux_raw/pid/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/pid/syscalls.rs":"eef6aa01830ddd510b83f507da2002c03e58318b73744be2c06ebbe33c4f194f","src/backend/linux_raw/pipe/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/pipe/syscalls.rs":"366c730fc3e991bddb9f5a15b8c3917a8e6ace6d1d5a9113b2749e476faf6f83","src/backend/linux_raw/pipe/types.rs":"caee78eaf13af02e5c4024c7459f23287dfd2c544ebab1dc5f728106fafe24da","src/backend/linux_raw/prctl/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/prctl/syscalls.rs":"a18b224307e0d27bda9b7b85c75cd6c7ddfe39f5ce52efb7bb0bf0585b757343","src/backend/linux_raw/process/cpu_set.rs":"dfdcbdf35aff6a3e08e7d38193bf18c12ca8aa64eb0dc417667be82dcc0f7c55","src/backend/linux_raw/process/mod.rs":"fb393c70a9c63ef9a6bf1fb5a2dc94f07d6b0b6987cc5231c15c607015dafd68","src/backend/linux_raw/process/syscalls.rs":"a2e446ba4e09727d11fc3b3d4bb316a659399aad186c08aa5bba80e62741265a","src/backend/linux_raw/process/types.rs":"6811ba822bc12a1a6336649151b4adb1f5d3365684a31c07f01953ea9547743d","src/backend/linux_raw/process/wait.rs":"921aee4b0048746087f52615a98edc2aa0fb4b53d6df44be4533098df55d1b05","src/backend/linux_raw/pty/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/pty/syscalls.rs":"ae09c4aecc0ae87b1ca58d82efc58007b9dddaae78460d615f48da19d1cd0f89","src/backend/linux_raw/rand/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/rand/syscalls.rs":"a84f70251672e92f253838bf05e989434f67373233e88d21d8835cbb792b1fe3","src/backend/linux_raw/rand/types.rs":"a21dbb1ab31eed6b59a57520be5a3c603c36d18ea74e67f7527f40835ba209a3","src/backend/linux_raw/reg.rs":"def5f88730bd625b2298c86559b5a378fce4bf6ce225204740ba087e034abce6","src/backend/linux_raw/runtime/mod.rs":"b2cae8cce3822c3c92942f06ea0b68464040dcac33c6f0f7ee392c6269993347","src/backend/linux_raw/runtime/syscalls.rs":"90849c8e429f215c225d430e7f550b5da0bb96054ef01745d3184f6c890ba8cf","src/backend/linux_raw/runtime/tls.rs":"6316060560a112c2e9cd9807cdba6e8c91414113a04a739160929ae9a67bba1f","src/backend/linux_raw/shm/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/shm/syscalls.rs":"3ebf91610b02de0312e1f0f0cc5d56e12b4d93794540087b3182cbdf3cb9c8db","src/backend/linux_raw/shm/types.rs":"b831b474aba7eb97167c9289f5257776a72b39134b44e67a0ecfcef2394dcd47","src/backend/linux_raw/system/mod.rs":"8aa966faf3853d1a93d0ed91f7e5f4a53539b0287b25a5bfe489fa1d07f7cfd7","src/backend/linux_raw/system/syscalls.rs":"2af6c2672a6528b404b52f501d9803a63e9f47886d3b5d2d2dc5a71cefa7327a","src/backend/linux_raw/system/types.rs":"1ceab8d738a71043473b26e97fa3fd79d588a86d4774cbc9b9e1d4f1447a016e","src/backend/linux_raw/termios/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/termios/syscalls.rs":"151f03b938aec36a38fbf4e4b507ddc84d0999a246ee48abd5893464daa736a8","src/backend/linux_raw/thread/futex.rs":"0aa0f9f5be6a79de81e82c9f11f1bf8831f682a4b2f6cb29669e1591636f084e","src/backend/linux_raw/thread/mod.rs":"6ad4a4b90b9234e79900b27ebbe8837e3a7a36aec532912e3e253edce5225067","src/backend/linux_raw/thread/syscalls.rs":"0e3dca63be7322e1e9c58456b28eb8548abb9f08b4436b87b139e891c01c446d","src/backend/linux_raw/time/mod.rs":"672724f55b7b7be6a7452bb1cc2d28b5f0aaa840a2856fe363acce624e1beefc","src/backend/linux_raw/time/syscalls.rs":"451da0bbb66accdf58ee7f2f8746a93b22ee985907a08717a3d3b1650457d878","src/backend/linux_raw/time/types.rs":"028d2993df8fffe5581f7082b8849381bb21928930dc93e4a536a9c7a316c71d","src/backend/linux_raw/ugid/mod.rs":"2c6478857a0751625edabd61acb841819bfba1093b1faeded15693c805d84952","src/backend/linux_raw/ugid/syscalls.rs":"8c86d251db33b399a1d1cbb8e87afe650b78db84f444d3251309b7a0480b54f7","src/backend/linux_raw/vdso.rs":"056314f72c71d4b041739337ca2098afb7fe070f844327f462c293f43481b75b","src/backend/linux_raw/vdso_wrappers.rs":"3bec7ee7daacc93b26c15e829e3ecdea62f9fc62244841ec80ee47a55806a69e","src/bitcast.rs":"e21c87c292c781b27256c6f5dcf9fd52dd69ed6e21016cbd67ac31a8219ebf8e","src/check_types.rs":"e52f710e1cfc12ca13a495f2b43c227b293ff295e1ce3ab332935b28a7579872","src/clockid.rs":"e41172c87401ef7b8ad37ec09b5b690c55c51b37009414a2089b34dcac9d93a9","src/cstr.rs":"41af2a4429fe6c67a8883f8a8f63d66c90df566abda74fd2b03bcef7b9f24218","src/event/eventfd.rs":"81cbd08f7bdf40a6ce1ca692b63da1dc8ba925282990668d9d68f1203e839fa1","src/event/kqueue.rs":"222842df22e66f41d93dacd3cba933810d9313d5ca9959fddabedda9c4312bf2","src/event/mod.rs":"326a7ddfeb33bb95dd31391d65f400fa622e5d0ab827c096cab16af4b6843b51","src/event/poll.rs":"0ee583dbd457a573a82a06c04a2a24bd2c76e751d27a435507d55338e2871327","src/event/port.rs":"4e51ff150e5d17cbd44aa64a38b99c15e26eaaf2e350768b5dcacdfde4fa5212","src/ffi.rs":"c2b8b38c02d72749aceb715c496726caba1f1fa989ad3856d0103a2fafed89ed","src/fs/abs.rs":"10e1a148a5b05476efbb591dcc969c1a6caf3d2d9592741eef22341a97c8f4a3","src/fs/at.rs":"a12f382f7b544ae4bbb7a967de43178dad796e05fd6eb8136e1a34236b48f9dc","src/fs/constants.rs":"23923e0fce3221bdac371fe2d05028f30a87dba4f9b4a573b69dc2d6d39320b2","src/fs/copy_file_range.rs":"d3b644374390d482b2ff749a2459458872b57d0dcf9670368739b7833509a7c2","src/fs/cwd.rs":"9f429a79ace6e17455634da09216ee0ad3d067a4541518b3193ae6a8d9ff1e26","src/fs/dir.rs":"347a52f4ca9ac6321c52e802e97ec90d1b4c62ec955c8996fc17f8f5aed69966","src/fs/fadvise.rs":"1220e2cf5cf58fc7cc950d48738050a052c504f745ca67130daa6410e248230a","src/fs/fcntl.rs":"1d1ee1e0bc962779e1cc1b8b76f39c820746240557daa9e14b47b1799120dc39","src/fs/fcntl_apple.rs":"e2f23f038083621bcdecc98d02ce1023508afaecdb2ed0fba5c8b70f955301e5","src/fs/fcopyfile.rs":"ce565f61e1fbf2e31086077c2f1d01b6bb3b048915edda87fe9a4a4f5e8ff7e4","src/fs/fd.rs":"fe53f211e91352d522ac4f3b553a9366506458e2158295a93c5e746618f7a5fe","src/fs/getpath.rs":"28f6970fc1bbc37bb35c84724b59eac436ea7407a4522e18c2bdacb1fdd2edd9","src/fs/id.rs":"1b5c8a8baf9a9bb1f895f97189cea4e5982a0d35b192afeec6340a6c6222e0cb","src/fs/ioctl.rs":"18b44e1708c7160c3bb7efaf27eefb6d11671f91d5008144fc74695d75a226c6","src/fs/makedev.rs":"85520b484cb7c15ab71ea1c368578ea3b7e484d82f8510db92b6ce9f7ca341ae","src/fs/memfd_create.rs":"00df492a3afdfc65a07d6849422596bf6cd4608a653d5d25ba54d6640eacda11","src/fs/mod.rs":"2192ea7f6f81a18d892d3526df00c43d83669f1a1734957ba94cf8269980792e","src/fs/mount.rs":"8f6ea2b997dd83c50c90291b9ada3ed77a9ce1ad701c9b0d533b5113b317be5b","src/fs/openat2.rs":"4a95c15dab533a41201b5fa25c8a212956b7571d58cad696bdaf45af8aef96db","src/fs/raw_dir.rs":"18ad797876d6230c38d4cacbed081c4028e03ace477d0520d9b226b40de942f0","src/fs/seek_from.rs":"a9efa0feb9ac789cf47667e91efee2e3f2dcde16cb3b7a928c99da640fa0e0d6","src/fs/sendfile.rs":"e3b2058741cf4b1698f34d84bb37130cf2b72806d522a16fe541e832cde136cb","src/fs/statx.rs":"f925be3d9a179a903549b3ac18038d004f4f2021e46dad4aa2757907aebefeca","src/fs/sync.rs":"a3b23543834281f347b0f873bd38154d31d404871188ac08f2b20b9196234cfd","src/fs/xattr.rs":"5e222adb52caf69d949ab3f944fb2a482dd6ca3a47200532ca6e72d44cbe8334","src/io/close.rs":"0aa3cd05a8fed8e5244f97b8b6c2e7f65ed93a4e5435c6329852bb3da7514440","src/io/dup.rs":"bbebf4633120e21c7c49ecb93576cffa7e908f8089deb260f8d97426b469a0d4","src/io/errno.rs":"58a4d20ba0924e4d514e3c876fbe08982f1623187642ae14780815e65989c8c8","src/io/fcntl.rs":"5b7696e40757615940745ecc7f33d84678d24f55eba978a8efdd0805cba7b1c1","src/io/ioctl.rs":"3dffbda413fd380f1580e2e75c531a5f4a0487417ea1c235c23fe46b70e46bd9","src/io/is_read_write.rs":"1bfb9ee5d58e0b29b44af12fe2668c7bccc841358698dcde47f1519ff9bb73b4","src/io/mod.rs":"75f1d0646be1d4c7c08b5887d8119b0103be8c25c43ccd4e0e97015508c0bb8f","src/io/read_write.rs":"77b8058769dc0bf5a88d73acd7ce70af1a89c549b00b790e281dc20364bcb6af","src/io_uring.rs":"4e641c9aaeba14890e4a354ad8b1fda8fe617923b4d3d685da22721d66a14bdf","src/ioctl/bsd.rs":"e33772530b1b2d1e7d61ce53d9267e68d88f7f5df13301f90412d89a46c6faaa","src/ioctl/linux.rs":"96df90bbc926783f387e8fe1656841d4c7a857fd4e9f41f95492f7dcece33074","src/ioctl/mod.rs":"d2233ba2a81738828d28d4297f8dafaf254c475174de48bd0fe3891d29a71bfe","src/ioctl/patterns.rs":"af24c47597e619a8e0fd3ca071f21db1963a629b511d9279ef9d36a8030a6fe8","src/lib.rs":"ee2b60b7b29c9f4e0f474534a76961c2ce5c9f3640eea67fa395e633b64efa6e","src/maybe_polyfill/no_std/io/mod.rs":"77889bb5c5a4f2e50e38379cdaa5d0fef4b0cafc3da056735df01f6deae75747","src/maybe_polyfill/no_std/mod.rs":"ec94a4aab4bc475785e469d10fd6bc95667e1d47d958e9cff3a19049d88c8c80","src/maybe_polyfill/no_std/net/ip_addr.rs":"046327ee244f758f2bc31d3be305d8cd0dfd8342aac1add8259e999b4b46c4a7","src/maybe_polyfill/no_std/net/mod.rs":"486555be5c56cf3e049e65a1ea73aa60839c6f6ca667833e88ee4f360f9606dd","src/maybe_polyfill/no_std/net/socket_addr.rs":"bfeb32d32c176cde76323abcffebfc47e9898fb8d7ce3668c602dc8451086a2d","src/maybe_polyfill/no_std/os/fd/mod.rs":"27ef0afbcb0695cbb15101070f417eb51e0ef85ae66ec967d95e80771d507c47","src/maybe_polyfill/no_std/os/fd/owned.rs":"ab86ffa2693a04f3085770faf395f95e5303001711be8b19c44a47a0ac574091","src/maybe_polyfill/no_std/os/fd/raw.rs":"f3648c7bd4a6ff94bd823ed9e0d99d398e02f24875cf9b25962736999e7c6943","src/maybe_polyfill/no_std/os/mod.rs":"27dab639a765827644005d5f2fcc7c825310606b889cc8dd83f54c9528350dc0","src/maybe_polyfill/no_std/os/windows/io/mod.rs":"5bbcc05c83fee5026dd744a994e0458469466d5be39081baa62df07753b92fd2","src/maybe_polyfill/no_std/os/windows/io/raw.rs":"4c32609a489dd938a49328b5637cb3bafb96437f2f9f269ab66d7d3cb90247f6","src/maybe_polyfill/no_std/os/windows/io/socket.rs":"c658f42f24eff44a661f2adfd24a11af80fe9897f3e2af4dc5d2c64808308d65","src/maybe_polyfill/no_std/os/windows/mod.rs":"fdb416f8f231a4e778b5f985b9ae712ece5e1a1402963ad1a5f6a8b9843795f4","src/maybe_polyfill/std/mod.rs":"7c16c86cc73e226e65ead598e4018238b22000a345040b706bf1e1b3eba115fc","src/mm/madvise.rs":"69481cd3354dbffe6cd93b234448e59de6d0fe6440bcf8b12f951f37745bc1dc","src/mm/mmap.rs":"8cd1a8278e138d0805726474bb3016fdaa09a8074bbc8f20d1e842e7fc17efa3","src/mm/mod.rs":"b3a6cb838986d45825b912355cedead761211a494ca6f89b2367a2d2157e340e","src/mm/msync.rs":"a9092be024ecbfa9c14edb935404513498b0da2ac6c99fc31fe4e58196a95f02","src/mm/userfaultfd.rs":"8073443bd181ff0b3ba4d0b1ae67370b4864035a0c8b4898cd709dc47c518ae7","src/mount/fsopen.rs":"160e384e9175fd98669cda1cf3590bb195c2ba7e1c724e9ea06e692595e58ba1","src/mount/mod.rs":"5f0c9df4727592695deb1cd63ae1de021b03dcd9d0d1b68e1f34d12a7136cb19","src/mount/mount_unmount.rs":"8ad11675e5d762d33fbefbed06a6a9f9e52a9b689bd06662446152614321ab77","src/mount/types.rs":"601ae3e10b7dc496fed7f3b40a80e81c6edd7bf13189d7be45c3212d4c684c39","src/net/mod.rs":"a6bc55f9e086caf46a7c00783498d73a328a66f2a991f1ec65d5f13931377b0f","src/net/send_recv/mod.rs":"7b77a70c0ad2601b5da30e8b202e34c6bfc9e10df4ce2b1a35b111522ae123a3","src/net/send_recv/msg.rs":"f100a88648b9eba88272aca77d76351432636022a1d4b0e9485e002a3489d05a","src/net/socket.rs":"1296706d964d110be7cd46b61a0a06dabf382a2377907ba41badfe94807cb50f","src/net/socket_addr_any.rs":"a9af81e967a91b45e51aec4f46a068fade7035c5d19dfaf05bfdcd3b3c32e9bf","src/net/socketpair.rs":"56f4885c31d2664cd16e18a9a88792a4912fedd953cec36dba67e8581fd57921","src/net/sockopt.rs":"4f00ff76d3cd3fd2e915f51eba59827fb60885d6b0c6d37b32ca4306cb8fe836","src/net/types.rs":"35878a8ff12cd7252ed735cb640bad03e4e13c6016769c2d154c0fab08505248","src/net/wsa.rs":"6e546b42f50a851fc833c57cda76cfb347203ed4b0dea574a3d325bf5a2ebf80","src/param/auxv.rs":"8602af47a39bb340d319807bdecdb9be8b467101a9ed96061277b90234801913","src/param/init.rs":"a31c0e5cea61a1a999767fe74f87c0d59eeb6bce66578b842fe0e0c32be27a55","src/param/mod.rs":"25b10acd5b1da8faa6f5204e6b0379b38bfab667916e886cca64bea01a42dec2","src/path/arg.rs":"d87117157ec21f61a5e50b2779b4284fd13dd7db11b20a6bc9e475d0e4a25357","src/path/dec_int.rs":"8ff8e14442c46f8e7a9b80d73973619b4271549b9defd538479bf8c2d93aa72e","src/path/mod.rs":"6b1b949c94bcc47e0f08a3f8e8db5b61ff497d0dfd3e0655f51c01d3e4b7dfd6","src/pid.rs":"f1c486000c5b1311b2d720cee88f089c17ef9a171709673dd06e6f35f4ff98a3","src/pipe.rs":"cec0a831237ab2652556b149767d1b382e9739a1bb21ea401a35b36df7f7a3e7","src/prctl.rs":"19aa584895874ea48b9bbe1bf695b81257b0281df64dfdd91e1b4bfa298661b7","src/process/chdir.rs":"911216459aa429fe9f125f1357d6900b43b0007835b85c719875d00f79a74664","src/process/chroot.rs":"2b5f6124eb19f26ad2705174f7ad50cdc0a5d15abd59ffcf55421228d82130b4","src/process/exit.rs":"48de66e5504a00cb375d8f415ce63b6225a3f5204268d40726a7d0fbba43f587","src/process/id.rs":"e4733f9e8e4b5f50e98ef7a23802e126f1f14ece8b3d7ae7446c6a66affc6bc1","src/process/ioctl.rs":"23ad0285671e8d7ca71a63c50655dbf732ccea8af11d754a0558e0236db37e76","src/process/kill.rs":"96d5ce432c19cf2b600d5248c681c117abf53ae94bbfca7e75ac533a40e3968e","src/process/membarrier.rs":"1c4c39b359d1d0e9bbe16352eedfca9278d9ef298ade8ec00e998617bbcbfed8","src/process/mod.rs":"70e7fc79e4edf3ffd56c20643707cafdc595330db68e4ff8f75dcb3756ad5b1d","src/process/pidfd.rs":"39de2dc7919eeeb53a5980622616140327671cd7e36bcf597aee1749df3a5b5b","src/process/pidfd_getfd.rs":"1faace75bdbcda57a296806dcfa5487811f8d11dad9e6199c98df72feae66724","src/process/prctl.rs":"0130d05362a17a9282f3391189095e1f4f51fb56d7a5205906a0011842df4576","src/process/priority.rs":"f135482e71ea8aa0daf92b9f238051178a4c904070fa8409622f94155df3c544","src/process/procctl.rs":"430ec397782772d5a028903c2813d3e11f7e577af144b9effd9c42629ac8d3d2","src/process/rlimit.rs":"10b79de3ced0e64059a94c879742d46a35a6176c776d8eed75031d5e6340283d","src/process/sched.rs":"b49ef463f44b5e90a04e9a08569d0ae20eecb8667f38f31c786df1eb099db466","src/process/sched_yield.rs":"6565faa3928b66ddc74a65e893e15edfa4b9be4f7e5f5f68527501a7f6bc3350","src/process/umask.rs":"1a0f31a842303c978e3f05ec191e2b5e96104c09c6596473b42b1fac34898a50","src/process/wait.rs":"612920489b5618bf82a9a615947e0acbed6eb310acbb9bb70e934d457dd1dd49","src/procfs.rs":"63b286dd3302be7f426841eb3b9261ef4785c3159ed78c24734bd5094c9b0b2e","src/pty.rs":"652c412e7280d0344b3f9bfe376c106a7f1b42b898b7af344e6e72da268e2bf0","src/rand/getrandom.rs":"1c8166a02a74f5593bb4673ef907524df04cbc1568020a5ab2ff7f4aa1283f8b","src/rand/mod.rs":"cab59332aadd9b679f5b22cbb222d48ee028af5eb9fd4a4d43922da659b895d7","src/runtime.rs":"695e60b9cc22755ce0e653fd63a0c73024a14eb8f576c6071dad6806c32f5552","src/shm.rs":"b96fe8a05ee5d4536464a8843a776d43a938abaf22c772fc35b5373d95644a8d","src/signal.rs":"a294b49d487dafaa42e534f8b1d93e87bec135087676b2ba2ef865cf2fccdaf2","src/static_assertions.rs":"504cf66f0d5b8e335be02f9ae8b0a355abc98c2c82eec0098bdf0988e662e260","src/stdio.rs":"a5de2d7d9c3c5a901f88b6acf4754687c958a2f3a93c7945c2b8fcb948d468af","src/system.rs":"4d7d1eff18094ec85a8ead70a7ccbe8ef78fd7f5705b7dfe3fa52541e9494887","src/termios/ioctl.rs":"a1ac967f7811a482f8bb53847c37c8359f518cd26da9df7b816ba678a0139623","src/termios/mod.rs":"b44b7caa60b6f458657ed58a0e0eca41bb4e6d6be4b0f042bbb8ab7056cebe4b","src/termios/tc.rs":"e41312d15464b83b2457c2502fc3f3b9998cfb02ba68739026dd4285cc7130ac","src/termios/tty.rs":"35a5fc2d26501e0e6dde1a755eeccf7b4f3b4702c5bac30e0953220808ef7034","src/termios/types.rs":"38167a38fb83e84f2845f86b373ecaaa3ebf6c2f91dccd07c10539201d6f5070","src/thread/clock.rs":"f49eb7271eb3e6831d9b0c3a01bfddbe4bd69dee237bbaa059884de452b29e79","src/thread/futex.rs":"985f9a0dce1e2a4892ae7f26bd1bf119ceae3f9fa6b4707e166624fc1cee76d4","src/thread/id.rs":"ad72db4fea9fccb728310bbfd01ef8c00f6cc60fa2a750f6349646a134f7009b","src/thread/libcap.rs":"4c51b7df566d38dd0f85f81ef53279a745a39f0f4e1154791fd38438e2ca7db1","src/thread/mod.rs":"98634ece0b882f123ad887017692f2a4d94a23a1dec278ed660b3497cac5cceb","src/thread/prctl.rs":"6caec7eb4fe122e80ba1ecafc56b710c79ab8b3c97529d5beba74d87af356875","src/thread/setns.rs":"ea9142b1f3a5b3f329683be185f960c50e5c1636149e91fbf59e88a897fc607d","src/time/clock.rs":"e59a29f1bed8c31c3d5b6fad60f2d4fa6cab8dd8e86148bb3693a5e3a1ce735f","src/time/mod.rs":"43afee938c80d124d04d4ba190c03f4d21d1e3bfc154fff309211e4f6eabe940","src/time/timerfd.rs":"f17092b84553741aa2d2b44c6992b5d2c8c96cc2c2007fc9a2c6b2064485e53f","src/timespec.rs":"32a4d930cbc0f6dbd23153290db920671cf4ce65a4a127e176f897c1cde42d7d","src/ugid.rs":"6616c6e35b7e43aee5b150f1efae7a50711e0947943c9a96833dbe214ad9e85f","src/utils.rs":"9ae76f8a41d6cc350cdd58c9084b5c3a5a708eeecd769783debdbcbaef442182","src/weak.rs":"c7cf03bf2aeba494b1999ab32183fa8c603ab72e254c0e312a67f168877e410d"},"package":"2b426b0506e5d50a7d8dafcf2e81471400deb602392c7dd110815afb4eaf02a3"}
22--- a/vendor/rustix/src/fs/ioctl.rs
23+++ b/vendor/rustix/src/fs/ioctl.rs
24@@ -77,7 +77,7 @@ unsafe impl ioctl::Ioctl for Ficlone<'_>
25 type Output = ();
26
27 const IS_MUTATING: bool = false;
28- const OPCODE: ioctl::Opcode = ioctl::Opcode::old(c::FICLONE as ioctl::RawOpcode);
29+ const OPCODE: ioctl::Opcode = ioctl::Opcode::old(linux_raw_sys::ioctl::FICLONE as ioctl::RawOpcode);
30
31 fn as_ptr(&mut self) -> *mut c::c_void {
32 self.0.as_raw_fd() as *mut c::c_void
diff --git a/meta/recipes-devtools/rust/files/target-build-value.patch b/meta/recipes-devtools/rust/files/target-build-value.patch
deleted file mode 100644
index cf59afba5a..0000000000
--- a/meta/recipes-devtools/rust/files/target-build-value.patch
+++ /dev/null
@@ -1,26 +0,0 @@
1Add correct build value for cross-compiled targets on stage1 when
2bootstapping rustc.
3
4Upstream-Status: Backport [https://github.com/rust-lang/rust/pull/119619/commits/b888e2f82b9dbe81875f50d13adbc0271a9401ff]
5
6Signed-off-by: onur-ozkan <work@onurozkan.dev>
7Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
8---
9diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs
10--- a/src/bootstrap/src/core/build_steps/test.rs
11+++ b/src/bootstrap/src/core/build_steps/test.rs
12@@ -1489,8 +1489,12 @@
13 // NOTE: Only stage 1 is special cased because we need the rustc_private artifacts to match the
14 // running compiler in stage 2 when plugins run.
15 let stage_id = if suite == "ui-fulldeps" && compiler.stage == 1 {
16- compiler = builder.compiler(compiler.stage - 1, target);
17- format!("stage{}-{}", compiler.stage + 1, target)
18+ // At stage 0 (stage - 1) we are using the beta compiler. Using `self.target` can lead finding
19+ // an incorrect compiler path on cross-targets, as the stage 0 beta compiler is always equal
20+ // to `build.build` in the configuration.
21+ let build = builder.build.build;
22+ compiler = builder.compiler(compiler.stage - 1, build);
23+ format!("stage{}-{}", compiler.stage + 1, build)
24 } else {
25 format!("stage{}-{}", compiler.stage, target)
26 };
diff --git a/meta/recipes-devtools/rust/files/triagebot.patch b/meta/recipes-devtools/rust/files/triagebot.patch
new file mode 100644
index 0000000000..715664d081
--- /dev/null
+++ b/meta/recipes-devtools/rust/files/triagebot.patch
@@ -0,0 +1,32 @@
1Skip tidy triagebot linkcheck if triagebot.toml doesn't exist
2
3Distribution tarballs won't include triagebot.toml, which
4causes tidy checks to fail with the following error:
5
6 tidy error: triagebot.toml file not found
7 some tidy checks failed
8
9Drop the triagebot.toml check which is mostly to catch broken
10path filters *within* `triagebot.toml` and not enforce
11the existence of it.
12
13Upstream-Status: Backport [https://github.com/rust-lang/rust/pull/142666/commits]
14
15Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
16---
17diff --git a/src/tools/tidy/src/triagebot.rs b/src/tools/tidy/src/triagebot.rs
18--- a/src/tools/tidy/src/triagebot.rs
19+++ b/src/tools/tidy/src/triagebot.rs
20@@ -6,8 +6,11 @@
21
22 pub fn check(path: &Path, bad: &mut bool) {
23 let triagebot_path = path.join("triagebot.toml");
24+
25+ // This check is mostly to catch broken path filters *within* `triagebot.toml`, and not enforce
26+ // the existence of `triagebot.toml` itself (which is more obvious), as distribution tarballs
27+ // will not include non-essential bits like `triagebot.toml`.
28 if !triagebot_path.exists() {
29- tidy_error!(bad, "triagebot.toml file not found");
30 return;
31 }
32
diff --git a/meta/recipes-devtools/rust/files/zlib-off64_t.patch b/meta/recipes-devtools/rust/files/zlib-off64_t.patch
deleted file mode 100644
index 6c74da2435..0000000000
--- a/meta/recipes-devtools/rust/files/zlib-off64_t.patch
+++ /dev/null
@@ -1,36 +0,0 @@
1Do not undefine _FILE_OFFSET_BITS when
2_LARGEFILE64_SOURCE is defined. This ends up
3causing 64bit time_t to fail the build because
4it needs 64 bit off_t
5
6Upstream-Status: Submitted [https://github.com/madler/zlib/pull/764]
7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8Index: rustc-1.72.0-src/vendor/libz-sys/src/zlib/gzguts.h
9===================================================================
10--- rustc-1.72.0-src.orig/vendor/libz-sys/src/zlib/gzguts.h
11+++ rustc-1.72.0-src/vendor/libz-sys/src/zlib/gzguts.h
12@@ -3,15 +3,6 @@
13 * For conditions of distribution and use, see copyright notice in zlib.h
14 */
15
16-#ifdef _LARGEFILE64_SOURCE
17-# ifndef _LARGEFILE_SOURCE
18-# define _LARGEFILE_SOURCE 1
19-# endif
20-# ifdef _FILE_OFFSET_BITS
21-# undef _FILE_OFFSET_BITS
22-# endif
23-#endif
24-
25 #ifdef HAVE_HIDDEN
26 # define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
27 #else
28Index: rustc-1.72.0-src/vendor/libz-sys/.cargo-checksum.json
29===================================================================
30--- rustc-1.72.0-src.orig/vendor/libz-sys/.cargo-checksum.json
31+++ rustc-1.72.0-src/vendor/libz-sys/.cargo-checksum.json
32@@ -1 +1 @@
33-{"files":{"Cargo.toml":"5fc1259b26541f617473d6b741816705c91322db9740e347a8686e3c0b30ab2e","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"34c467b6945a22696d060b8fdd2379d464acb3408d4c599d3dc5fe4fa1b4c84f","README-zng.md":"2f9f34e6b388a401b8d8318b64997a7521e4198c5c314f8cea11433623628515","README.md":"75701bfcd7158e924f51ece8debb6d4425ccd6ad5d2806004b5f174423f4b2af","build.rs":"b383e60f71c9b40ecc807ac58473f9b85d7036e8359796634cba2701224493a3","build_zng.rs":"b7768e19f0bf876f29eabb6ad6511f530e61d8aa92bfbe89a7cf3818e4824ce7","src/lib.rs":"7c4a3394e17e6250c1f4f2067efecc56b1850827596432ad0ce75e5eea800446","src/smoke.c":"10607c81b73811bfcb9718767312bf97ba2ccf7048ea2f18a2085aa06ad7f91b","src/zlib-ng/CMakeLists.txt":"5840d2c44e335af0f58f8a2545da60be403946b1181641b35ea7425b2e0f44db","src/zlib-ng/FAQ.zlib":"c524f4f86d336b3de71dd6977afddffa9c02fda5c26db4dfefae44959e7614a2","src/zlib-ng/INDEX.md":"989545e90d8e9ac149034f762ce78ed8976ebf9324326228dea37ca190154609","src/zlib-ng/LICENSE.md":"d3c80be055d94d798eaa786116e84fa0b010bc11420b5d2060d978ea77845436","src/zlib-ng/Makefile.in":"1f56adbf5fac7fa36c6e4c11b5f061acb971984c941154cbf0344e2b68b99e7d","src/zlib-ng/PORTING.md":"4105267b5e00f8d608f31dcf4fe2cfede15cc94568211691419e6cba3d8e539e","src/zlib-ng/README.md":"ba04244ad8eea94d834d25aa75b40e7f849844a33c68ed180c2a631378e1f211","src/zlib-ng/adler32.c":"82ffa1b4fc4b198ba8004135f79b8819d9f2b28e851c30c0ab41e6d32dfbf70d","src/zlib-ng/adler32_p.h":"f56915c59a345baf4558374447385a317e29365a4db2fbb38af4de3e1a1a0201","src/zlib-ng/arch/arm/Makefile.in":"95464884ba75a7b12c9ceda5845d8d68d5a7d7dac8a8dc24b27beb2192e5b97b","src/zlib-ng/arch/arm/adler32_neon.c":"3990b8d5570b12c2162218fe0e9bc723a03f1c89b5ed3ba70a74a98976260ee7","src/zlib-ng/arch/arm/arm.h":"855adbb02d7b9a5714a17d9dcff493610e7cd2b9a1f4e58e1c99626ab536e868","src/zlib-ng/arch/arm/armfeature.c":"4800228414695b632b9ceca14409e782d6fc3b357ba7ab00858925fc66b5532e","src/zlib-ng/arch/arm/chunkset_neon.c":"95fc7917d1d30094e15a35c56d1e9c189c5ca3758553a3467d4da793eaed656f","src/zlib-ng/arch/arm/crc32_acle.c":"e2be53267a2a59fc79c4b3bab00e8b25bf64a8fc8bf2c6684e5b1b1fd1480f9d","src/zlib-ng/arch/arm/ctzl.h":"feb70d55e66025fff806e30e48002b35cfff79533d352585cfa5f118edbc90b1","src/zlib-ng/arch/arm/insert_string_acle.c":"d1b1dae5aeada70f2b03c2cbf3112ce55a92401c2d87709081b04dcf5992e1ad","src/zlib-ng/arch/arm/slide_neon.c":"19d8cf5c742ac6b82164c7a183538ad1129f9f17e9b8bce8b40daac3820fb6c4","src/zlib-ng/arch/generic/Makefile.in":"f41a34839986eac8dd52cf91fada0efff4171c059ab5d7db6347c91bd6d9db09","src/zlib-ng/arch/power/Makefile.in":"69644d1a0ff8e7f38005c0a55cdbaf3f0d87f42abf8fc4f4136271c4fedfb846","src/zlib-ng/arch/power/adler32_power8.c":"79b75e98ad3a62facbbdd8c0b178d3f993b57f6e34d320bf47eca33aa8c330a1","src/zlib-ng/arch/power/power.c":"0647afb3b3b7ce2a19b4815ec8fdeee0b37c759413e5ef0a668a2dba22d94803","src/zlib-ng/arch/power/power.h":"f3f15f94fed98a2f7dd5d4568c5172e597228be4141d6895062703c3f70024da","src/zlib-ng/arch/power/slide_hash_power8.c":"932ea533d25e2f5478afe0c47830e7ef24276cad0d75fd91f2d8c799bd4b5d36","src/zlib-ng/arch/s390/Makefile.in":"eef6c3169723f089b0b5f852423ec55bf0364caeddd7cda991f2e76bc1682107","src/zlib-ng/arch/s390/README.md":"730b9a0230609988fbd1bdd52a7abdaa1fa5c65253ac78163dd4a5eccb966abc","src/zlib-ng/arch/s390/dfltcc_common.c":"3d460448ad4c5b687da6b7c0ad8498ece92b771dc7ddd0189e096acca5a1cad4","src/zlib-ng/arch/s390/dfltcc_common.h":"de8902d3863c8a7a3f6ea27dec2ee5a4f17ef5d8646e48a586d0b29fe94c9a0b","src/zlib-ng/arch/s390/dfltcc_deflate.c":"d6941d3c5ada225ec39b98b35bce1d203aa1f2d994a47c8487d377d9ef2f6efc","src/zlib-ng/arch/s390/dfltcc_deflate.h":"5c90a812e2a2f2b842dba027e5640791e52206e74b8423cb78e0b8ea12ed29ad","src/zlib-ng/arch/s390/dfltcc_detail.h":"fe66cd700a1d017eba86c2c6e95f53e9a4d1cb491de9cb3963b2a2907098baa9","src/zlib-ng/arch/s390/dfltcc_inflate.c":"83643b5605cdc2d1d7780e1bdeb007f9dc6a1cca633157abbfb5d3232f2b8816","src/zlib-ng/arch/s390/dfltcc_inflate.h":"d7a4a5ae79abd1a5456521926b918becfe86c253a4fc23723fbc09f7c3303128","src/zlib-ng/arch/s390/self-hosted-builder/actions-runner.Dockerfile":"999c962c49508ebf61414e6f9ffea059926ac500d4c6d707ea1f9e77402f7374","src/zlib-ng/arch/s390/self-hosted-builder/actions-runner.service":"33a359eb58d76152f916b40ee1357f7edfda75e8dfb55a5b12ac83bcd6ed7055","src/zlib-ng/arch/s390/self-hosted-builder/fs/usr/bin/actions-runner":"f647e18728ea15fe927ac9f8cba83a5b343654a0e91b5ebe653bae7af7375110","src/zlib-ng/arch/s390/self-hosted-builder/fs/usr/bin/entrypoint":"add4ebdc4f06ed15bb1de12a8c9ceb370a60baebb0932a1026a75433940ad3df","src/zlib-ng/arch/s390/self-hosted-builder/qemu-user-static.service":"54551049f6181da88700a2a944a72b0af3b8abde876fa28e1348deb5eb96c91b","src/zlib-ng/arch/x86/INDEX.md":"c12f9bf0d66743a6472fb756bf46def8eea1dd235be7fca994dcb22f693a3524","src/zlib-ng/arch/x86/Makefile.in":"9f6fe7567a99e81aaa3bef8ccfa1ad40f524efc285cf8dfe0f497a1530f8016c","src/zlib-ng/arch/x86/adler32_avx.c":"99056732c7bd5d53dc108f282811a40bf21570926781af5dc7b17cb9218963de","src/zlib-ng/arch/x86/adler32_ssse3.c":"883a5520b4481225d097c90c5359106a3c8eb7b921499c94276e999b7c39adc5","src/zlib-ng/arch/x86/chunkset_avx.c":"13c83149146c408ffdc9358bcb5355259f6196e6cc6fe025b7ea3647e313cd0a","src/zlib-ng/arch/x86/chunkset_sse.c":"f14d0557634b53af8cd6e2a1ce9d57df50244a72e85ff3b100b5ca287d1cfa8a","src/zlib-ng/arch/x86/compare258_avx.c":"8b2838d168de4608327f25fe52d53763a82413ee911d87947d3fcd72c7f9bf26","src/zlib-ng/arch/x86/compare258_sse.c":"b5049722ffd4a43a96868eeba5e000271cfc5fcbf3c2657026ead15b1df28a10","src/zlib-ng/arch/x86/crc_folding.c":"defb5a7067562612651f693c910db53cf228b7cd7fef11991504767a7d84f224","src/zlib-ng/arch/x86/crc_folding.h":"939212546611917e9e066e8ed30cdda95680ec1f5fe0890cc4865b4e6d7fc215","src/zlib-ng/arch/x86/insert_string_sse.c":"9e84a75b6a565422eb105261b6729d2a02b89133bd14372c949d5381b5deed3e","src/zlib-ng/arch/x86/slide_avx.c":"5e448e439ac24e7cb10eee176ca37f2c63f73c135c0a2af040e232bad490997d","src/zlib-ng/arch/x86/slide_sse.c":"1946cabb634c905fddef0a22b2fad19dfd99110169567c3beceef71145b2e316","src/zlib-ng/arch/x86/x86.c":"1af56e27b2e951e1ad1344e62c2f7a8c49a776fcdd1cb0f4ea9d6152118a479e","src/zlib-ng/arch/x86/x86.h":"4d2d20ea0087089141e250e77bb3d419954b9092810028b151581b9115a5fe8c","src/zlib-ng/chunkset.c":"cbf26582fff56726cc28bee05ff0a1680c50308b8dd9bb8cfb57d7f0a587d0bd","src/zlib-ng/chunkset_tpl.h":"eaaf0804f6162ab26b2b6de263a478ffb111559e653372e96e400acba9c63563","src/zlib-ng/cmake/detect-arch.c":"e0da3d16195eefb54bef77163db737a66453f25ae16648aa8f6beeac70787662","src/zlib-ng/cmake/detect-arch.cmake":"27fa8da497b39ac70d881e2d345749611dae4c30f7b7a9c9e32f2c042672189a","src/zlib-ng/cmake/detect-coverage.cmake":"e4e372991ba80a16ad47df2716708a56013cc628aa7ed01573a2360c60610125","src/zlib-ng/cmake/detect-install-dirs.cmake":"87031a40428a104f5cf38ecdb8a5028d8c679cfa772a58adde8380c809b34eff","src/zlib-ng/cmake/detect-sanitizer.cmake":"a8f7a4515278532b251b567d82ed576fe1ca7e698992ed92d1beb8e8dd22237f","src/zlib-ng/cmake/run-and-compare.cmake":"13d85c12c9d6c7b1b148bd0c5a5b4faa6a4b56f3823bf03c4f8d914c9c5949d8","src/zlib-ng/cmake/run-and-redirect.cmake":"7f08d18c09aa58113882ec760735a62a1723a5bfcae9f73bd3713a4dbaeab898","src/zlib-ng/cmake/test-compress.cmake":"0d2d1595859ccfb6795bb98700a4f7c1652b025cc344a1291524601087957888","src/zlib-ng/cmake/test-tools.cmake":"63aabfffd53970b8e145870b2a1c03bffa3595f7df04bd86f94e97b6f2a387e7","src/zlib-ng/cmake/toolchain-aarch64.cmake":"46be0bf580a49a528c72005484655afad1de3705b39a66a7b0c213b0fa81cee6","src/zlib-ng/cmake/toolchain-arm.cmake":"05e38076fd6ffb9785ff9844ccecd26436c9dc4c25b7777b62e5f52e788c3882","src/zlib-ng/cmake/toolchain-armhf.cmake":"1a2029163a57415eec9a5dd5f45d3254d349e97b1beb5d16876b741717673341","src/zlib-ng/cmake/toolchain-mingw-i686.cmake":"df9000354b820d3713d1469edc9f94cd095389b0cca83965730b8e64857fdf3f","src/zlib-ng/cmake/toolchain-mingw-x86_64.cmake":"ee316e6e3202919da5d497f9e246466fd715fcf079cb5b4afc4774089d1fefad","src/zlib-ng/cmake/toolchain-powerpc.cmake":"9bd6fc58ce5b70603657f2c195c4a5cf52fae96ad63ac787978831c5858f762c","src/zlib-ng/cmake/toolchain-powerpc64.cmake":"917fc5eef84921d8b38f43c2b4f60870965b4eecc8f018c7b3499e1142c715af","src/zlib-ng/cmake/toolchain-powerpc64le.cmake":"5b2edd36d62de513db2d32bfbf779979d81ac527b981cc3379a4e933fc5a94d1","src/zlib-ng/cmake/toolchain-s390x.cmake":"cf52cecea7bd2a9d1ff5fd8edcb03c531e3b404bbcd15a15dec2e0e19936f2ac","src/zlib-ng/cmake/toolchain-sparc64.cmake":"e543062485d06a7e0fec8135887c5e73363517fa4babc23ef7b780916d75afda","src/zlib-ng/compare258.c":"56bfd48d5ff9ca422fbb728df7a373436c73796561dff118c7d4039fe70d29e2","src/zlib-ng/compress.c":"41df6eb62d6fb1334ecfe0a0c3e50a7ee89528719857f2b8297cbc512149759c","src/zlib-ng/configure":"160f69a1e51c49f6454ece92e4c5e08675ca5d90cf22b8f79cbe54c4381d93c2","src/zlib-ng/crc32.c":"98440be8a99381151a2d740f2e2228e8c1b23b9193c3642c52a4e34799506336","src/zlib-ng/crc32_comb.c":"11a36a6088fb520a58e0304fc99cf12fc8437519e8a70fe74dad58f00af696ec","src/zlib-ng/crc32_comb_tbl.h":"d6615d209d6c7d5248c6f7fe4e5dbded13c0eb87997b37693032c2902927407d","src/zlib-ng/crc32_p.h":"1fa91375a18e090c0a0dfda39de3df36346a0b1be36c808be6b6c29c32eba922","src/zlib-ng/crc32_tbl.h":"d629378ba38ff5775095b64e277bcd41c4b89fab9b5647a9fb29e15da0db0161","src/zlib-ng/deflate.c":"6fb8979ee8bc43f6e12a649708c7eb50e60bb9bdc2e55c45ce3b15aefe779179","src/zlib-ng/deflate.h":"7b3c649965c54446097d6157dd31d3685aa7df1082e9aa64cb3cdf6ac2c4d023","src/zlib-ng/deflate_fast.c":"d51e1368fc997673c64b5ab9a620439df25f313f8274529d974c5f80b89702b8","src/zlib-ng/deflate_medium.c":"1c3d95cbac76052d39595ea750c5536541c18302b9abb398c27b58955318bba8","src/zlib-ng/deflate_p.h":"2e739301e8c53038c2a958c8c8693584cd8dae464ffef05a22db6d6fa9985676","src/zlib-ng/deflate_quick.c":"280905a191d2b2a7274f2453ac537e01a0fb6e7540a0b212c1514bfb8c9415ea","src/zlib-ng/deflate_slow.c":"a2c66723e1e71ffd6ff856407459ab311a4c6546ecf50285081fc7afcd0ccd2e","src/zlib-ng/doc/algorithm.txt":"0d21a0a4c47e512743389628d1385a831a5e5ff716491095a382b923287f4223","src/zlib-ng/doc/rfc1950.txt":"8f0475a5c984657bf26277f73df9456c9b97f175084f0c1748f1eb1f0b9b10b9","src/zlib-ng/doc/rfc1951.txt":"5ebf4b5b7fe1c3a0c0ab9aa3ac8c0f3853a7dc484905e76e03b0b0f301350009","src/zlib-ng/doc/rfc1952.txt":"f7c810fd9d719d002d605207a9b880600f71d039b9626c5b4b03f2122438dd2d","src/zlib-ng/doc/txtvsbin.txt":"47c273bb22c9773248d380549a330e5c262266b1292154b0d3014f731cc73f47","src/zlib-ng/fallback_builtins.h":"1d2c2da88009a58f240bac33f562fe5a0a39c1e773813a2d75b45283ff1396cd","src/zlib-ng/functable.c":"d9db6530035a06f95982ff3d7680a84f4b54b8425874ccbe2ab10b906bd5708a","src/zlib-ng/functable.h":"e5a2d0c10411d23f04295bcb9ddb9889388974b723caef65aa5c4ea4739f4aa7","src/zlib-ng/gzguts.h":"7b69b2f35264169bc794d0d5c00247d93c203f751d226302966c33b524ed9fb0","src/zlib-ng/gzlib.c":"7e6ad5d9d32e6429d56a5303e2c6e6870d69c023d6647a52fb95902828de4011","src/zlib-ng/gzread.c":"d5d47d24dc463b978fe828320dab140494803fd86b511300f903c7c2eabd4d25","src/zlib-ng/gzwrite.c":"1685ad2c88239b3434cd2c4a9d66b67842310b2d1dfd01aec0fc293eef20e858","src/zlib-ng/infback.c":"4decaa412219fc8adb935754c54a4dedf3952aaf67107a12512451c65eadee23","src/zlib-ng/inffast.c":"a134d4aa6a46eebe975ca0cd5ef18894fc852b6a840be21ca7243ddbe6c9d8f9","src/zlib-ng/inffast.h":"42e74a92b496ab0726be317e8497a12bf3c3cf3d0d533440ce65befd3929c71c","src/zlib-ng/inffixed_tbl.h":"a94225335396245e9f0ccb2e9b4b334fe7ee0111ed8e32a26bcd52187f364314","src/zlib-ng/inflate.c":"f33e2e7eeaa4b33ba6a2c327f8c9939e6b847afbdad349da65c97bf81c6083b5","src/zlib-ng/inflate.h":"eb25527d1bdedaa45167926dce4c39d9aaa3147b0f4a95f38f5916528c30a09b","src/zlib-ng/inflate_p.h":"4a94c51194da119770cf662ef289994f0c78d95184d54d6ae5d50a393e8f5a62","src/zlib-ng/inftrees.c":"7a777f5ff02ce60fbad6cb843ceadd7b3a8a8a0476ae010c87a0377c2e88f780","src/zlib-ng/inftrees.h":"fa80eb11c2290b345470a03cb861843e2cb1365135233ea8243e9fd79d3618a1","src/zlib-ng/insert_string.c":"aa22ba53a1e75821499809277f9ca0e5ef92b07a618136dd11ae1734e233b7c9","src/zlib-ng/insert_string_tpl.h":"1ceba9903324d10aad6e1d83653c4d534a5b06fd09076414a06215482be00bac","src/zlib-ng/match_tpl.h":"eeab4c6eea8511a7579738e622af062ad16f4016312e93ad34bc5903d8b3c4a1","src/zlib-ng/test/CVE-2002-0059/test.gz":"60bf96b8f433bd7e057ce3496aceaccd70ec80f596a4aa8bcc7786056705ce66","src/zlib-ng/test/CVE-2003-0107.c":"6ed6fba710f8f2b898750f0ec17720fbf01e45c39e8adbba6409681b34914140","src/zlib-ng/test/CVE-2004-0797/test.gz":"38caae524705f676bde13a8df9fc8c7d2fe105ba6bdbab62a405b0276fd3aa2e","src/zlib-ng/test/CVE-2005-1849/test.gz":"e4d5a60617df4b5dd44eda94751ce1eacdb325792bba6e3cc4676719a3adf742","src/zlib-ng/test/CVE-2005-2096/test.gz":"8f702d4861aa3ec98ac03a59ff26b430939630cb5cd4266d2658d3b836d576f9","src/zlib-ng/test/CVE-2018-25032/default.txt":"d7f8278db331c47bd1208bf41e7903cbddee4f7b47c666c40afdd3c96237752e","src/zlib-ng/test/CVE-2018-25032/fixed.txt":"3b27a98edd2f3f580033f9add11d3469d7808c969a1128ee00c18ac7a12cef57","src/zlib-ng/test/GH-361/test.txt":"358497d0a7251ea42101dc77b02337f46fd89af09643a8288e2a3082e5d24128","src/zlib-ng/test/GH-364/test.bin":"af5570f5a1810b7af78caf4bc70a660f0df51e42baf91d4de5b2328de0e83dfc","src/zlib-ng/test/GH-382/defneg3.dat":"b22bef6b7392401c9e7b079402c4a4074053d7a914d050400e37fd7af6fe26d5","src/zlib-ng/test/GH-751/test.txt":"b83d833803b7bc3124fb2a0034081f0b999ad10c33a8dfa3bfd181dc078ae3ee","src/zlib-ng/test/GH-979/pigz-2.6.tar.gz":"2eed7b0d7449d1d70903f2a62cd6005d262eb3a8c9e98687bc8cbb5809db2a7d","src/zlib-ng/test/Makefile.in":"48d033f2dbb62635624bf2c9e3e7fe279b72afc3411d14cb7cfdbf40f5b80e19","src/zlib-ng/test/README.md":"d60ef4851222ebc2a9fbc23f292ab11bc7fee40ba6171ea768b2ffa005df5b1d","src/zlib-ng/test/abi/ignore":"02aa87f77656dbc1fbddd23f436cd15465a92df0722da4055cae1bc8bf013097","src/zlib-ng/test/abi/zlib-v1.2.11-arm-linux-gnueabihf.abi":"f5e91f25b558a891fecbeb6e2e9575698630ab700d055a38f3bc4fe66257f513","src/zlib-ng/test/abi/zlib-v1.2.11-x86_64-linux-gnu.abi":"038337383cf780587d810cf5400d632f3a1f8517e63ac4a71b6e5224db8b1413","src/zlib-ng/test/abicheck.md":"6b4a87d760b3848fb1ded6782e02a1d074d9e487bdabb29274a62b31cdf48772","src/zlib-ng/test/abicheck.sh":"7ca2884ff37c697d380f620554525f9b9dc7fa76b45f866d284b2ea5b98c65cc","src/zlib-ng/test/adler32_test.c":"db3e8ad9a4e2ecce0c052b0bfe19834d3ff2fb2e9239cc3438a2c95db00b1d21","src/zlib-ng/test/crc32_test.c":"8f1223d8aa4c52a5e7323f422023f6b892ce684eaf7439ad905b855293f40143","src/zlib-ng/test/data/fireworks.jpg":"93b986ce7d7e361f0d3840f9d531b5f40fb6ca8c14d6d74364150e255f126512","src/zlib-ng/test/data/lcet10.txt":"1eb5d7bddb1c3cb68064d5b5f7f27814949674b6702564ff7025ced60795a6d9","src/zlib-ng/test/data/paper-100k.pdf":"60f73a051b7ca35bfec44734b2eed7736cb5c0b7f728beb7b97ade6c5e44849b","src/zlib-ng/test/deflate_quick_bi_valid.c":"a36697e5779a645354823f14540bd60b9378c2f4c5f2bb981d86bb34f29fcbb0","src/zlib-ng/test/deflate_quick_block_open.c":"455bd347bb88debdfacb409846170274991ec9ba71c52b8fd0e526daf57265eb","src/zlib-ng/test/example.c":"1c8d9d14128da9fb5415683aa7318ae0aa94b743f75905288a2a9decd4ead98d","src/zlib-ng/test/fuzz/checksum_fuzzer.c":"65a96358c9a82efc4b251b4f322b02fade7b69f9bc6ac07294e641e3fe1ccdb1","src/zlib-ng/test/fuzz/compress_fuzzer.c":"1ab70608075c4bc60f89aa2f327cff88362ee7b1d31da88ed54ca51e5f99e5c9","src/zlib-ng/test/fuzz/example_dict_fuzzer.c":"be68f9eee3deae7f9163c6288742e5455bc28f659f80fdb276fafe215f028b97","src/zlib-ng/test/fuzz/example_flush_fuzzer.c":"f12246a184dcfe0a19a98cdc742a1fe8da388ad20b406635d63f1fa10d45b9ca","src/zlib-ng/test/fuzz/example_large_fuzzer.c":"f490abcd332fb4e7921292adf6876d38d7f71c8d2443212c781ba88957ff9303","src/zlib-ng/test/fuzz/example_small_fuzzer.c":"a9b3436b291ace821b6013311a1100e19a9e1c67fefd3f97dbd60688f9bf22b1","src/zlib-ng/test/fuzz/minigzip_fuzzer.c":"5faecfe9e6ecc47e746151bd1cc24a2e2dba8b7ffeb270d2c88cb126273ab446","src/zlib-ng/test/fuzz/standalone_fuzz_target_runner.c":"f25649ed35b8b7a3899c8d7ff52f9972dfc7bf274889e0a7a77fbfdf1c1cfef0","src/zlib-ng/test/gh1235.c":"8310ef780dc483a1708750cd7c120b8e9cc0e1614767d24c01869e529074e981","src/zlib-ng/test/hash_head_0.c":"448def3e8ea13fbcac86202e50b8a71b6cea585d7bdbca0bc6cf6056e4059f98","src/zlib-ng/test/infcover.c":"9c0e8068fdc614b1852e8d274231b41ce3ce975d4419ed31e700a0b05e702303","src/zlib-ng/test/inflate_adler32.c":"ab430c97ae8f569784710118038e8ebf53f4136d1a957e1277c0904f9218340b","src/zlib-ng/test/minideflate.c":"34fdce39628ffd173f7736d9fb65dfa40d0b0289def64b935075f6c6cffe1999","src/zlib-ng/test/minigzip.c":"7dbce6528601f7fdd586280885ed439cb539e15f36dd3974274729bfcdd41928","src/zlib-ng/test/pigz/CMakeLists.txt":"aa70f1025adc004985bfe0accee9b7a80e04786d82705e27c377a5e8d4ecbaaa","src/zlib-ng/test/pkgcheck.sh":"581b3de9c58e96038af94c73cbdb30eed32900f7abb8fa7692426fa68059b0ef","src/zlib-ng/test/switchlevels.c":"ceb6cc4d48a637562009d8f7f82635fa9942acd1bfd597acd99454a03a3a98e3","src/zlib-ng/test/testCVEinputs.sh":"5de6198444c16726f8e0a8f2beb5b89c5ae7e7e3736ce760b9fbc719493e7e4f","src/zlib-ng/tools/codecov-upload.sh":"ec7a8f1405820810e486e3d7e2fda7eb958c17877b0000b93abdf09d87732a2f","src/zlib-ng/tools/config.sub":"32186cfeb5db62c99e1dfbfb07f24c1a50977447b4c26d2907021c74422a70d2","src/zlib-ng/tools/makecrct.c":"55c8f7b8e29393e95988a29de8cb1a1bdf2738a69d53627bd0f9d7bf169bf0a8","src/zlib-ng/tools/makefixed.c":"bffd02540231304f9bcc755b8cb9ae5cfbc48975857bbb4547f1d6acce21ef57","src/zlib-ng/tools/maketrees.c":"30e9f70addf691d1241e594a7f31fc78b119b65e8af9ac8e20fe6da01635d3b3","src/zlib-ng/trees.c":"2cd9a1dc8d9231e9fc4e53e56b87307989c1b7f33212cde4ee434ef71c28af2a","src/zlib-ng/trees.h":"24174f3543b01ee1ef370bbf6d15551a21871cded18b2aadf09a71e7904b6f99","src/zlib-ng/trees_emit.h":"2e93093ae5362523a26877d6fd663bb05793795889d2bfb987cbada9a9dc4517","src/zlib-ng/trees_tbl.h":"35f4fd0ec080c1ade342e2dd1b0f5cdc7e9f18990faa48d7a8a69bc318ebe607","src/zlib-ng/uncompr.c":"4ebb486b27930f8a6ec4a3cc90a207d0bcf8a4779d1dbf3b2184a2b2a5735cd1","src/zlib-ng/win32/DLL_FAQ.txt":"f17fd3823726adbae63b91c00d5db1dccae2e289258edabbbbebde04bb6e7e8c","src/zlib-ng/win32/Makefile.a64":"775d6902373d1583430b5d7467f001746be323610c89be27e02bbfe0205994f3","src/zlib-ng/win32/Makefile.arm":"7535e022f482920c3fa7a267e84e39ad790d150f72e5c30414baa156c2fdd9b6","src/zlib-ng/win32/Makefile.msc":"d769a00c0ad4cb5fc624d2ae004dfa3785a2f4310324b03afd2156e759003a06","src/zlib-ng/win32/README-WIN32.txt":"cdcca6e7a5d2d23618a48fafb8eea347227f8ecf1f38a6aa90f0e7e455bc6574","src/zlib-ng/win32/zlib-ng.def":"f240276caf805a10d024fc6a66efe915c435734c69732818d92fb04d08ab350c","src/zlib-ng/win32/zlib-ng1.rc":"ea0ea4d116b583510b113a27fdec2ad4f0890206963f0e3838f275b8005dde5d","src/zlib-ng/win32/zlib.def":"d9c371ff2677567350386441a2e3d0258010d6502290bbac5ac42ea168bd5212","src/zlib-ng/win32/zlib1.rc":"ec5021dba35f9fae5f5f82ad6b6bd059928548e0608e4ede0bcffccf5c1210a1","src/zlib-ng/win32/zlibcompat.def":"73728b9df4379dc70ebd9b2a9f20d6e4ed7c031fa1f351cdeae1de7d1db05bd1","src/zlib-ng/zbuild.h":"d4d52d3296cc949a5d694e7349a8236854f2ec116c184a310e4e62b28caf5b63","src/zlib-ng/zconf-ng.h.in":"f206ac69c1fa48c670648d26028263372a539ed1243a9a26e5b35bf52e2363ff","src/zlib-ng/zconf.h.in":"dbf08736c3bc5e41242b09e13d0a523b440250410476dd58747c14e28984f1e5","src/zlib-ng/zendian.h":"f5cfa865281d2c5d0b097d318500f27daeec346e7882de68e279486d79c52e77","src/zlib-ng/zlib-ng.h":"d51896e8411868ed195d5cf41fda4f1c5a9c891832dfd16b559a5ed6beedd890","src/zlib-ng/zlib-ng.map":"03ef4439594619e215dbb1717f8c13e16159308ef3817761ba1a3cca7f7834df","src/zlib-ng/zlib.h":"7e3666971e08019fc7097f11d593aac9ff6824a1ecc945c48f76009f7c27d55a","src/zlib-ng/zlib.map":"9997aa913dec6da106ab2089d2a72ca5e1b7fafe0807ac0bc1318ce8c8defab9","src/zlib-ng/zlib.pc.cmakein":"17668e07edbe5971043bea26a2f2b92c4c7cf4724620f1156f3ea1436d2aac93","src/zlib-ng/zlib.pc.in":"cf94c9aa44878a62e27c2f75354c08326b3bb5250a9b11496855cf59691177bb","src/zlib-ng/zutil.c":"53418b23c7878e968b4d04df8ebac74f64f60d32277f2343d16da52059dbc782","src/zlib-ng/zutil.h":"a14c18dd4a96909aaf0aa016cb6df97d77cf5b735283527c906181eead22f0e9","src/zlib-ng/zutil_p.h":"c259b33614007463b41d4184e0bdf10d62325445ee9308e1e1885862d201657a","src/zlib/CMakeLists.txt":"d3ea46cd350c74c21c2dd97f6d0ad354db76b2b43cc91ec1144b88267f67a588","src/zlib/ChangeLog":"6933f4ab74360476bc80d9eda2afd98f93588a5d276e1197926267421dd6959e","src/zlib/FAQ":"1e8a0078be0ff1b60d57561a9e4a8cad72892318a8831946cba1abd30d65521c","src/zlib/INDEX":"3b4e325d47ae66456d43fcf143ba21ab67a02a4f81be7ef2da480ba30d774266","src/zlib/LICENSE":"845efc77857d485d91fb3e0b884aaa929368c717ae8186b66fe1ed2495753243","src/zlib/Makefile":"ef23b08ce01239843f1ded3f373bfc432627a477d62f945cbf63b2ac03db118a","src/zlib/Makefile.in":"77a662b885182111d7731eef75176b4c5061002f278b58bf9bf217e2fa16cadb","src/zlib/README":"4bb4d5664fb9d06ef0d47e8ef73104bd545a5a57eb7241be4f2e0be904966322","src/zlib/adler32.c":"d7f1b6e44fee20ab41cef1d650776a039a2348935eb96bcbd294a4096139be3a","src/zlib/amiga/Makefile.pup":"a65cb3cd40b1b8ec77e288974dd9dc53d91ed78bbe495e94ccc84ddd423edf1f","src/zlib/amiga/Makefile.sas":"0e63cf88b505a1a04327bb666af3a985c5e11835c0c00aed4058c0dcc315d60e","src/zlib/compress.c":"6d0f0d0784744acca2678ce325c8d7c4c030e86f057adb78adcee111d2248c0d","src/zlib/configure":"2d964a697f9060d3a8fc5b4272c9d07b22e5fe6f5cf327e5c29f62f67d935759","src/zlib/contrib/README.contrib":"b925ae08d371b33c4b5ffd67c707150729a476caf47cfe2eafc002291f23f931","src/zlib/contrib/ada/buffer_demo.adb":"469cf566a6965767fee6b987a239ed8cedcc66614940d45a9b434331fbb435ce","src/zlib/contrib/ada/mtest.adb":"41b6f31684770334afdc4375871eb1408542f37a823a073556fdbfdb63753160","src/zlib/contrib/ada/read.adb":"fa5b989aef0c5715a3fcb15de93985f7f10aeb0a7f5716745c95ed820eb9af9c","src/zlib/contrib/ada/readme.txt":"8fe9e5303f2e8e8b746c78250e74b7c4aeb7ce6212fdce751fc3a0ce56a47fe2","src/zlib/contrib/ada/test.adb":"5e3abe79b387e09a9a42bd0543105e228f39a335240cffc33d71f0ba66ff2511","src/zlib/contrib/ada/zlib-streams.adb":"f45988e2bac76eb25a0dc981f46576e7432c35dde1790bbc2b650f0090b7fa72","src/zlib/contrib/ada/zlib-streams.ads":"969e8edb0611810fb52159dcb7c40228f4e5da810a7a3576b778116a93038c6b","src/zlib/contrib/ada/zlib-thin.adb":"03d89244ee5ec9771d9b5050e586c609f851af551b2e64eb151f1d5be0b63ae9","src/zlib/contrib/ada/zlib-thin.ads":"631ef170bde16c3ca8d412b54a0e519815b80197d208f8f393e6fe017bb0968e","src/zlib/contrib/ada/zlib.adb":"c9ca5dc34fbcdf06e2dc777b7e9dcd0ba31085b772b440eb0e12421323ab672c","src/zlib/contrib/ada/zlib.ads":"02634bec0d5e4c69d8d2859124380074a57de8d8bd928398379bfacc514236d2","src/zlib/contrib/ada/zlib.gpr":"859bb69dce38dbe9dca06753cf7ae7bd16d48f4fece8b87582dab8e30681d3de","src/zlib/contrib/blast/Makefile":"17d5d26c24bf51cad51045a38ffb73cc3539d29e89885aa249fcfd45a8659d5c","src/zlib/contrib/blast/README":"baa763ae03d88ef7ece6eb80d9a099b43d0b57639d6d281e1c7c6ca79d81daba","src/zlib/contrib/blast/blast.c":"1ab3e479d342bfc144167b808fb00142264bc50f24a110ca88cc774e351c218e","src/zlib/contrib/blast/blast.h":"9c1c422b76311d4cb06863ffc056668b6240f3dd998bc02e89ee590d482bfdc2","src/zlib/contrib/blast/test.pk":"5f5c262c545574a5c221132d5ef832478d222d70b015341795b3860204140d7c","src/zlib/contrib/blast/test.txt":"9679b2c98e1283222d0782b25a1c198dc64ba9ebd1addd6dc6f643a45947cda3","src/zlib/contrib/delphi/ZLib.pas":"6dcc65866e3fb3d33d2a2328c547458156883a3e6749d52ded209357a49d61de","src/zlib/contrib/delphi/ZLibConst.pas":"84bcc580bdf397e570f86f3f5a5b8c7bf537828f30b4b72648b81911f6bf5095","src/zlib/contrib/delphi/readme.txt":"f7420ed2de77d4b498eefbbe6402a1d17dc2d411735289c78a265c7f10fdaee5","src/zlib/contrib/delphi/zlibd32.mak":"850e91b6c9ea05de61a411cbda16fa0f10118cd88bb32c4b7226988776f8d511","src/zlib/contrib/dotzlib/DotZLib.build":"b96137097669644ecb9f42cdd3399d1fce9c512788374609303f7e50abf597f0","src/zlib/contrib/dotzlib/DotZLib.chm":"20d0e3edd57f849143255a7f0df1cd59d41db464a72c0d5ab42846438a729579","src/zlib/contrib/dotzlib/DotZLib.sln":"a979198c5b8d144c1ac8f993bfb6f4085d135aa58ca9dcf63ebabf52b5c695f7","src/zlib/contrib/dotzlib/DotZLib/AssemblyInfo.cs":"314afcfb339ea95f5431047b7ab24631b11c3532c7ce5dc2094ed0cf80a7c16d","src/zlib/contrib/dotzlib/DotZLib/ChecksumImpl.cs":"e7c047a2c3bcf88d3d002ee3d2d05af414acf53cb4451efacc0f2e95a474ea0f","src/zlib/contrib/dotzlib/DotZLib/CircularBuffer.cs":"be84c9736fe7bdc2bfae70466d8fff582504e928d5b5e110fd758090090c8cb7","src/zlib/contrib/dotzlib/DotZLib/CodecBase.cs":"259bdda1b7d6052134e631fa24bfd9dca6e2362563496c8b85257b56c848908c","src/zlib/contrib/dotzlib/DotZLib/Deflater.cs":"06ba6696a3c15c53ba5fd5a1c2bf50b51f217010228fc1e4c8495ee578f480de","src/zlib/contrib/dotzlib/DotZLib/DotZLib.cs":"9837fe993fd631233cc5e53ff084d86754b97f05ec77c54b0764c2706f186134","src/zlib/contrib/dotzlib/DotZLib/DotZLib.csproj":"21606db31dfef6410dd438b73f1db68856eacabcce6c0f0411fc4f17e17001f3","src/zlib/contrib/dotzlib/DotZLib/GZipStream.cs":"8d1de9755c77046b4ac71340a0a54434ebf4fd11b085c44454d7663a9b4df1c5","src/zlib/contrib/dotzlib/DotZLib/Inflater.cs":"9016ca73818f5b6a28791abc3af6da7c4d2773b6a3804f593f6d5737a62b99ad","src/zlib/contrib/dotzlib/DotZLib/UnitTests.cs":"c95048d763c7e367ba0bb7c31981e0610131fa12356bbd9bfdb13376778e9a0c","src/zlib/contrib/dotzlib/LICENSE_1_0.txt":"36266a8fd073568394cb81cdb2b124f7fdae2c64c1a7ed09db34b4d22efa2951","src/zlib/contrib/dotzlib/readme.txt":"d04972a91b1563fb4b7acab4b9ff2b84e57368953cc0596d5f5ea17d97315fd0","src/zlib/contrib/gcc_gvmat64/gvmat64.S":"22ff411b8b1d1b04aeaa8418b68245400267dc43c6f44104f6ccd37f0daee89f","src/zlib/contrib/infback9/README":"890288f02bb3b1f9cc654b87a07fcea695f90f6b9bd672d25bf6be1da2ec1688","src/zlib/contrib/infback9/infback9.c":"0a715c85a1ce3bb8b5a18d60941ffabc0186a886bcc66ba2ee0c4115a8e274e9","src/zlib/contrib/infback9/infback9.h":"dda2302f28157fe43a6143f84802af1740393572c2766559593996fd7a5a3245","src/zlib/contrib/infback9/inffix9.h":"84a2ba4727767c18af6505f0e81d9c814489c8b9ed330a25dad433db72997e43","src/zlib/contrib/infback9/inflate9.h":"32a907676cc36e27d0fdc0d99adb83a0b23f20ab61896269216d40fecf08d349","src/zlib/contrib/infback9/inftree9.c":"1f262e5ae8094c9d8b172241e567c86be560327b840ca8fb771e98461bcb158a","src/zlib/contrib/infback9/inftree9.h":"145072793141cb313c91cdf9dee9d4b8e8a38d77099f87e9cd05c7b5ead8f099","src/zlib/contrib/iostream/test.cpp":"0f3c77e013949eb9c91e6b690ea894e19d97944d6b0885b82806fc3ad99680cf","src/zlib/contrib/iostream/zfstream.cpp":"8ebb9b3d521cc3392953f27658cf1f6dcb763216079f69a1518ec5ca0e42a63b","src/zlib/contrib/iostream/zfstream.h":"4369c35e66f63f52ca4a5e1759bf720507ccabb8f3f132e2f18e68686c812401","src/zlib/contrib/iostream2/zstream.h":"d0343e0c57ff58008b6f29643d289c72713aa2d653fe3dcd2e939fc77e7e20b6","src/zlib/contrib/iostream2/zstream_test.cpp":"f789df183cc58b78751985466380c656308490a9036eb48a7ef79704c3d3f229","src/zlib/contrib/iostream3/README":"43ec48ecbd95a8c45db20b107fac73b740bb11595a4737329188f06b713972cc","src/zlib/contrib/iostream3/TODO":"af5ebc83fb88f69706c8af896733784753dead147687e1c046f410c0997fd88b","src/zlib/contrib/iostream3/test.cc":"8e17fc48dfdbc6e268838b8b427491b5843b6d18bc97caa6924de9fad7abe3da","src/zlib/contrib/iostream3/zfstream.cc":"8cdd67ed0b13c192c11e5ea90e9d5782d6627eb303fbc4aa5ebda2531ec00ff8","src/zlib/contrib/iostream3/zfstream.h":"1bd74778fac45ee090dfc0f182a23e8a849152deb630606884b2635987b357b1","src/zlib/contrib/minizip/Makefile":"0f59cf07531cf34cb359f9dbe26d8207a2bbbdad618557894eb629925f7e8899","src/zlib/contrib/minizip/Makefile.am":"2313a3480a2c3745fa7ce216829cd0367058907d3a0902e5832c66c84a2fdfc6","src/zlib/contrib/minizip/MiniZip64_Changes.txt":"302c62b328647f5472fb7755249a83459be7f8ffb1fae07e8ba318fce8f4126c","src/zlib/contrib/minizip/MiniZip64_info.txt":"122719c32ef1763a5f6ba9c8cdefc1d78a76f7156b09e7b6f69b73f968e0dac3","src/zlib/contrib/minizip/configure.ac":"959e4762ddcb36dcf30512611ca9fbcbcd0c943228a6ac2975708798ae09a438","src/zlib/contrib/minizip/crypt.h":"1d25a0fab3189dc3c6ae43c7813e1e5d07d0d049bd32bd7bd0e9ccd752bfdd5e","src/zlib/contrib/minizip/ioapi.c":"f6878a3ecf6802f0f75cadb41a114fa274636c386bac794c66cbb27a24d9a29f","src/zlib/contrib/minizip/ioapi.h":"9f5448f8d5e8894d6f397dd09d24f7ff39cb818cd493a8bd90dda19553b814ea","src/zlib/contrib/minizip/iowin32.c":"103cdef91d57ceca7a1c1973772ff7e1d44c7b3e227a3640171957302bd9e974","src/zlib/contrib/minizip/iowin32.h":"586f22b9c3c64da253ce2b518e0fad61f19a7b47b289fc704cc9708242294c49","src/zlib/contrib/minizip/make_vms.com":"65736d9c4888f2373d3db0a13864d150c5040453f5bc2a5c8784379a7ea67590","src/zlib/contrib/minizip/miniunz.c":"b29dfb4cff9763497d8f0656c97027995e1ea0b4104e4a217ba7882337ae7a7a","src/zlib/contrib/minizip/miniunzip.1":"66d8684392167091ef0fe01598d6a0daa26e7e448e2df6c3cb257487735b83f7","src/zlib/contrib/minizip/minizip.1":"5404596e8e5587a52f563906119f32ceee30a6d97a966afa5c7afbe4d373e210","src/zlib/contrib/minizip/minizip.c":"b5b8f380297be0d90265356704df1e41bee0e903a2169263a2b50dc22cc3180a","src/zlib/contrib/minizip/minizip.pc.in":"8b6670b42d8e5e519e1cc89db093efc07ba23cb1ddfedd3c93ff2df08c3ce8ac","src/zlib/contrib/minizip/mztools.c":"cd887c4af6d20823bd15f24008b10acf01969b4165d7848656bde843a92428d7","src/zlib/contrib/minizip/mztools.h":"6f82c52279e8f79165f4446be652e5741a49992ac58632470335aa34c564072a","src/zlib/contrib/minizip/unzip.c":"fc9e8d752618a05c1f3a2ce61ebf76d0c8053dd5579458f836834a36e8690bbe","src/zlib/contrib/minizip/unzip.h":"20cdc47658a3e41db897d31650e46cd2c8cca3c83ddaaeb6c7a48dd8b7f18e03","src/zlib/contrib/minizip/zip.c":"bee2d6fa310c9451b24c036d5840a8c7c90b7cf8d12d5767175c207e56fefcc3","src/zlib/contrib/minizip/zip.h":"75b635dca8294790ab7ec1f72e9f1fd352d75b189c3c9b61c68f76bd7e612043","src/zlib/contrib/pascal/example.pas":"d842d456ecb6ff80e34cee2da31deb2072cc69ca837497bea8b8bee203403474","src/zlib/contrib/pascal/readme.txt":"02f997c37991ddae0cb986039f7b4f6fc816b3fd0ffd332cad371d04c12cf1b9","src/zlib/contrib/pascal/zlibd32.mak":"850e91b6c9ea05de61a411cbda16fa0f10118cd88bb32c4b7226988776f8d511","src/zlib/contrib/pascal/zlibpas.pas":"720346d2f40429de31bb16a895f42e878f259b1aff7d46c63e6616e629b3f7d5","src/zlib/contrib/puff/Makefile":"d9d738030464aaae354196c14fd928adf591832fce7d71ac1977c1d8d4923a4b","src/zlib/contrib/puff/README":"c5b9852fb11e0d6b6e916e5134cf034524d901b95368972133e0381e480eb479","src/zlib/contrib/puff/puff.c":"433f7f4495481dd95576dbb548b1bcfc5ca129d30421695fa609f5f6c14908b6","src/zlib/contrib/puff/puff.h":"969b7be2a930db0cdcb19b0e5b29ae6741f5a8f663b6dba6d647e12ec60cfa8e","src/zlib/contrib/puff/pufftest.c":"d24e31c1d277d07c268f34e9490050c6b53c68b128da3efbb1d05fc5b31004f7","src/zlib/contrib/puff/zeros.raw":"b7b0887089f7af1f6d1e0b4c0a1e8eddd10223b23554299455c6c9be71b653a3","src/zlib/contrib/testzlib/testzlib.c":"c6c37b35c6ecc9986a9041f86d879cc37a9e4d8315af9d725071eb3b2cade0c5","src/zlib/contrib/testzlib/testzlib.txt":"2359bbdc84eb8a04e0f1cd16cd81a2896e957f2ad58dab3ca78ef55b7d0dc577","src/zlib/contrib/untgz/Makefile":"8f5ab1564813e091cea8f1bb63da32fd80ac763d029277b0cabf50f60aceefe1","src/zlib/contrib/untgz/Makefile.msc":"d0f537de11d9e0e36e2a98b3971c537265f4b533b4c48797094365ad9ae8388b","src/zlib/contrib/untgz/untgz.c":"9a12d774301d252dcd38bba07ac369319da4c04c4fef8a50fcbf40aebf29c2a1","src/zlib/contrib/vstudio/readme.txt":"df5fe112bef3c23d5767602736f6d0ce43cbb49b584210fe57f6f59e634a49d0","src/zlib/contrib/vstudio/vc10/miniunz.vcxproj":"dd607d43c64581172c20c22112821924dfe862f56b2e5eb8780bdd0714d9527b","src/zlib/contrib/vstudio/vc10/miniunz.vcxproj.filters":"4b8466bf00c70b81c31cc903e756e04151fd90fdcbe102f3568a2c8b6190ea27","src/zlib/contrib/vstudio/vc10/minizip.vcxproj":"af73f2cf8ae51e65e85342faeb40849a2310c97bc77def42b38d7070460a6cf0","src/zlib/contrib/vstudio/vc10/minizip.vcxproj.filters":"f2815f9e3386c393d0a351632823b221ef9689da1f422ecaa561dba2a612fb0a","src/zlib/contrib/vstudio/vc10/testzlib.vcxproj":"c21e64259bf9efe97e1103212e7a6e1b7372b50067b4ba14cfa678e1f491095f","src/zlib/contrib/vstudio/vc10/testzlib.vcxproj.filters":"a7caddbac3ba90b5d482e6d926ef35cc40dc3553ed3776ef6b68a528fd5b0631","src/zlib/contrib/vstudio/vc10/testzlibdll.vcxproj":"3f317d8964f17901c3e68bff5deaec10b6ccc50a572235999e8097292692984c","src/zlib/contrib/vstudio/vc10/testzlibdll.vcxproj.filters":"29c9535775aa76320ee4efd001d41961faf6c58cedd8b29d3986e85f73d2f6fb","src/zlib/contrib/vstudio/vc10/zlib.rc":"6041a4727ea47520058a5b4bb8de87592883eb7f26dd39df62879c347f3888d1","src/zlib/contrib/vstudio/vc10/zlibstat.vcxproj":"50402ab8c63f746c034d6ce51d9612aff5b6af9aa27790cffa4b7deed4b30eb8","src/zlib/contrib/vstudio/vc10/zlibstat.vcxproj.filters":"eeb1de64c252c46b822f73f272127f6f9f0570ef22d234e093070ba95a4dde24","src/zlib/contrib/vstudio/vc10/zlibvc.def":"a228e521a561d4456c83c7081b4e9950cfce99133af7d5fdd27f12a8fd53efde","src/zlib/contrib/vstudio/vc10/zlibvc.sln":"e659860f705f31b87ea9139a3cb4ebe1561e120bce495383a54614fc82b49990","src/zlib/contrib/vstudio/vc10/zlibvc.vcxproj":"efad8cb150c0e5122f8c700d95c5de659dff92b171917c66bdbd082fff500b58","src/zlib/contrib/vstudio/vc10/zlibvc.vcxproj.filters":"c801732b7c7017796add50d2b71a228f99f95a46650baad307ff7e8358a2bfb0","src/zlib/contrib/vstudio/vc11/miniunz.vcxproj":"746e4c11fb8af4bcd6a9d68ba81ed1dc366a5de3bed56b291ee969ad733a7bb0","src/zlib/contrib/vstudio/vc11/minizip.vcxproj":"340617cae9cf4fcb003308021d3782ec3639e60d62d79a3aafc0a50bb55b061e","src/zlib/contrib/vstudio/vc11/testzlib.vcxproj":"99eadfdf2e41bc036141c174c4d0035d87572ce5795dcc28f39133f818a79d08","src/zlib/contrib/vstudio/vc11/testzlibdll.vcxproj":"583bdef522b0176829f0d8139ea2a88b9cbc14379d1334f3a863989ed3df9b67","src/zlib/contrib/vstudio/vc11/zlib.rc":"6041a4727ea47520058a5b4bb8de87592883eb7f26dd39df62879c347f3888d1","src/zlib/contrib/vstudio/vc11/zlibstat.vcxproj":"b07f792843d05ac883391075bc3b9625437490d8d40944ad359aa2134a09a3aa","src/zlib/contrib/vstudio/vc11/zlibvc.def":"a228e521a561d4456c83c7081b4e9950cfce99133af7d5fdd27f12a8fd53efde","src/zlib/contrib/vstudio/vc11/zlibvc.sln":"27389b515997defd080519f95aff87e89fcbe8b26d73c5ebb73c544cfef4d60e","src/zlib/contrib/vstudio/vc11/zlibvc.vcxproj":"d02d014ef957119a6fd0ab243c892b74d1592b117750b95fed21097c8ed922d9","src/zlib/contrib/vstudio/vc12/miniunz.vcxproj":"1494af54570f6e93852932956d49a8c25e57b5abc1ac979945605ca9143df9f8","src/zlib/contrib/vstudio/vc12/minizip.vcxproj":"9bf128ed6760ca5f019006f178b1c65f4c7ff122dba8d297b64b0eb72feeb120","src/zlib/contrib/vstudio/vc12/testzlib.vcxproj":"be88bc1220c0447c2379fdab3ac88055f58a8a788d3e9cec494342187e760eaf","src/zlib/contrib/vstudio/vc12/testzlibdll.vcxproj":"93416510256935d79625dc9fd349cfce6968c062d42a138bec404a26b2f92f5e","src/zlib/contrib/vstudio/vc12/zlib.rc":"90067be57a8c5df594a850352642f8b1dcb32e3d088d3805ebafe75a27412b74","src/zlib/contrib/vstudio/vc12/zlibstat.vcxproj":"faa229a851c76b77d65bb4742d8369efe566652bb6a1447d1e3539f289b5313d","src/zlib/contrib/vstudio/vc12/zlibvc.def":"a228e521a561d4456c83c7081b4e9950cfce99133af7d5fdd27f12a8fd53efde","src/zlib/contrib/vstudio/vc12/zlibvc.sln":"162e0faa80a56d89eea71a0b89377708eec2faa0dc72091cc0abb07fbdea49a0","src/zlib/contrib/vstudio/vc12/zlibvc.vcxproj":"8ac8cb2d29b880a738011d29d0511af9b14f321bed90f674109c446f4108d442","src/zlib/contrib/vstudio/vc14/miniunz.vcxproj":"0312511d4a30cea979c4e36edf994a537ed8a9d924f6b5c536cbcd094773c11f","src/zlib/contrib/vstudio/vc14/minizip.vcxproj":"9e7bb7a6ac723e4b2db900627c366f9bb93a351381995d9c69a50c0126f64233","src/zlib/contrib/vstudio/vc14/testzlib.vcxproj":"88667873d9d61d65016b9501ca925532eb55f56230e5911d3e2a01cd8a9fb2a4","src/zlib/contrib/vstudio/vc14/testzlibdll.vcxproj":"69f544898b4275cd3d8e19b8f1f8cb39c1cb98a30cdb033242e4b94c57bfa150","src/zlib/contrib/vstudio/vc14/zlib.rc":"90067be57a8c5df594a850352642f8b1dcb32e3d088d3805ebafe75a27412b74","src/zlib/contrib/vstudio/vc14/zlibstat.vcxproj":"5629eb0cc30674a39aa3636f1cdd190393b0dbd4c69a35e36ad85b6340055605","src/zlib/contrib/vstudio/vc14/zlibvc.def":"a228e521a561d4456c83c7081b4e9950cfce99133af7d5fdd27f12a8fd53efde","src/zlib/contrib/vstudio/vc14/zlibvc.sln":"47a50bbde8ca6336cecd8c0e4b65e515fc46ae84c7b61008ac9864162f777286","src/zlib/contrib/vstudio/vc14/zlibvc.vcxproj":"09f496a2ad3afdd5e3f36b7285440369dcac4559656edc00ed7a74c7ec9fa10f","src/zlib/contrib/vstudio/vc9/miniunz.vcproj":"7db9b2ef5ff05d3de4ba633feab10e85d45434c865d520ffa1974421904996f3","src/zlib/contrib/vstudio/vc9/minizip.vcproj":"7797a9ad3c0056f3a3cf8fcde7618acd1d151c65d15f841fccd8d9d878ae7bb0","src/zlib/contrib/vstudio/vc9/testzlib.vcproj":"8df405917800adccee6bad2116022c2c82d661b37ea40ea16405fe4dbcb4b69f","src/zlib/contrib/vstudio/vc9/testzlibdll.vcproj":"cde6806f5c81d1fc311f9921c17ba56f8e386d097783a6a90875d385837c47e7","src/zlib/contrib/vstudio/vc9/zlib.rc":"6041a4727ea47520058a5b4bb8de87592883eb7f26dd39df62879c347f3888d1","src/zlib/contrib/vstudio/vc9/zlibstat.vcproj":"d393d418d827ad9fb9c6516f1a7620371d15e3f5afef8ba60b51e50acc7199e9","src/zlib/contrib/vstudio/vc9/zlibvc.def":"a228e521a561d4456c83c7081b4e9950cfce99133af7d5fdd27f12a8fd53efde","src/zlib/contrib/vstudio/vc9/zlibvc.sln":"26e58d4b2cfcd941c367fb2a18537b3b9f002f2ac1278b700ea1129c50501452","src/zlib/contrib/vstudio/vc9/zlibvc.vcproj":"eaca98fcf166738b59fcdbd179dac9f98f985c6ba49212b186343a998816f081","src/zlib/crc32.c":"ec3ff0f97858b228513027a490e4330cbb23c6fbdd24d839902ffa89854f209c","src/zlib/crc32.h":"9a2223575183ac2ee8a247f20bf3ac066e8bd0140369556bdbdffc777435749e","src/zlib/deflate.c":"4470e36709ce7d6067fa3e8f60bb7f693b055bee42a0d6655ed71faa2db87fde","src/zlib/deflate.h":"0db1b5ef79ca6ba0f508b7b8bdaa11af45c5ebe2c89ab4f1086dc22b963a52fa","src/zlib/doc/algorithm.txt":"992590931e982c0765286c2d83f6e9ff0a95aabb08e28c30c52bae3e8c4bd5ad","src/zlib/doc/crc-doc.1.0.pdf":"064f9252d6e2e15ea56c2bd18e160e5c9c84bcd137c11a7af497aaa511ace998","src/zlib/doc/rfc1950.txt":"8f0475a5c984657bf26277f73df9456c9b97f175084f0c1748f1eb1f0b9b10b9","src/zlib/doc/rfc1951.txt":"5ebf4b5b7fe1c3a0c0ab9aa3ac8c0f3853a7dc484905e76e03b0b0f301350009","src/zlib/doc/rfc1952.txt":"164ef0897b4cbec63abf1b57f069f3599bd0fb7c72c2a4dee21bd7e03ec9af67","src/zlib/doc/txtvsbin.txt":"d1549fb75137f03102798f70fd34ff76285e717ddd520dd82274c1c0510eacf0","src/zlib/examples/README.examples":"1bc1c677bbebe1aa5e85015bb62f0cf3fcdbf95652d30494159bee6166c1854a","src/zlib/examples/enough.c":"c14a257c60bbe0d65bb54746dd97774a1853ef9e3f78db118a27d8bc0d26d738","src/zlib/examples/fitblk.c":"fd8aaaefd5eb3d9fc388bdc5b715d1c6993ecc9367f5432d3b120a0278904edc","src/zlib/examples/gun.c":"3bfd36b06284ba97d6105b8a6a5d18b2b34b75b3a1285f16d018680fb174915f","src/zlib/examples/gzappend.c":"6de91c8305e37560117bff44136abff72b16b028c0bda0bbac7ea07e4988b0ce","src/zlib/examples/gzjoin.c":"90b9d6c39a5fc91cf1cc9b96b025a508a8015dc502cd9374c754b44078593f57","src/zlib/examples/gzlog.c":"196872021c96099fd30c880ac2cccd1350fdbd81179731f3914153a26ebf72e9","src/zlib/examples/gzlog.h":"681f280437f867820bf39880e2f4fc641d402879e399ba2e6a31d73feefe8edc","src/zlib/examples/gznorm.c":"e5a8f5c3b107f27212f7d5fbfcf072a337a1b4ea32929ae31c168997438a5cc0","src/zlib/examples/zlib_how.html":"80fb647be8450bd7a07d8495244e1f061dfbdbdb53172ca24e7ffff8ace9c72f","src/zlib/examples/zpipe.c":"68140a82582ede938159630bca0fb13a93b4bf1cb2e85b08943c26242cf8f3a6","src/zlib/examples/zran.c":"10f9568b1f54cdb7474a38c5bc479aa0edb07a0eed2e999bdad4c521f6b25330","src/zlib/examples/zran.h":"9a0d4c15f898c43deae2c5e98a5c66c637a1b25573d662fe91a789c386eaf971","src/zlib/gzclose.c":"94446cf8cde67c30e64d0a335b0c941fd3fbad2e77f30180d12e61f9c2a5a6b8","src/zlib/gzguts.h":"fa85c9dabe24e42ba95c702870416ff67ecc58906321f8e74b72a50dfd7df400","src/zlib/gzlib.c":"635b7b6df79a5ce6e0f951669e4c82704d7972d8afb87278b9155c2cb4c5066f","src/zlib/gzread.c":"41c69d43fb3974bae58d9169aea3514221f70dc77bb7a35c79626dd3be01adf2","src/zlib/gzwrite.c":"c7454689751c8f41ec63a1381a0053fb149095abe1c3b89c8a996b2d7ac8adce","src/zlib/infback.c":"6a6cfe3d7e239d590692bc2664ac58d3ef92be30ff4cb3c6dbf5deed28f79eb5","src/zlib/inffast.c":"41d93aefdbfee5455809130af74fcc76cf7259b1aa8b34d0060d14e57463e8bb","src/zlib/inffast.h":"7d8c1c873ce9bc346ad6005bb9d75cce5c6352aaf7395385be216a9452a34908","src/zlib/inffixed.h":"237ba710f090e432b62ebf963bee8b302867e9691406b2d3f8ee89ee7bfef9b0","src/zlib/inflate.c":"f1679575fef1717d908dd09d7bfe8fff89c21941cadd7c255a2ccccfba3a287e","src/zlib/inflate.h":"e8d4a51b07694bf48cb91979c19974cf6a5ab0b8a09d26ec0d14df349230673e","src/zlib/inftrees.c":"b9db40bbb68b63dccbcdfa78d687751e33178af8669f1c1236309cfd5d2edc0e","src/zlib/inftrees.h":"44084a93673386db6282dcb61d739c84518e10dff66d1c6850715137c827464c","src/zlib/make_vms.com":"14ed54bdd391c1648cedfb69d8a73a26dcc7f1187d59b0f18d944b7665cec85b","src/zlib/msdos/Makefile.bor":"292ab363f7ffbc4ae84d37cd9bdffd2dac1003bee52d223a8489844870f20702","src/zlib/msdos/Makefile.dj2":"9208450c2ae6dcbfcc25560b5b9ca763f461e7246e37b0552474edf8fa898906","src/zlib/msdos/Makefile.emx":"c749d6ec7f88e8e639d4f03bdbdcbbe9d1c304210be4c4be621ceb22961d3d64","src/zlib/msdos/Makefile.msc":"0e021a6f42212415b060e4ad468eb415d0a8c1f343137fb9dff2cb8f9ead3027","src/zlib/msdos/Makefile.tc":"2ae12ee2a3e62f7c5a0520d0fbe4adee772bc07fe816002b07ccb43db3daa76a","src/zlib/nintendods/Makefile":"ea5823efe6830132294eddf2f56dbd7db8712244c210bb4968c431b1a91bd066","src/zlib/nintendods/README":"e362426c47b39ff6a7d6c75c6660b20abf076cdfa5e1e421716dc629a71aef95","src/zlib/old/Makefile.emx":"d811f032272aae50123a889297af3a02fbd60d1e42bbef11466462f627ff7b5b","src/zlib/old/Makefile.riscos":"d1a488b160fbfd53272b68a913283a4be08ba9d490796b196dddb2ba535b41e0","src/zlib/old/README":"551a0f4d91fe0f827a31cbdfbb4a71d1f3dc4d06564d80a3f526b749dd104d11","src/zlib/old/descrip.mms":"8ff08c35c056df9c986f23c09cf8936db63ccf12c3c42f7d18a48b36f060cff7","src/zlib/old/os2/Makefile.os2":"6ad247c00f00ff42fd2d62555e86251cef06e4079378241b5f320c227507d51d","src/zlib/old/os2/zlib.def":"ea9c61876d2e20b67ef2d9495991a32798eb40d13ede95859a2f4f03b65b9b61","src/zlib/old/visual-basic.txt":"1727650acbde9a9e6aec9438896377e46a12699cca5d46c5399cef524dedc614","src/zlib/os400/README400":"5eb702a0dd460e2bea59ee83014c3f975e892057850c639f793bb740044a38ba","src/zlib/os400/bndsrc":"3c36a17975eed5a8d33bc5443b39fead1e68c01393496be9c1f4a61444bcb0f6","src/zlib/os400/make.sh":"143394d1e3876c61c29078c0e47310e726e1f5bd42739fe92df9ece65711655f","src/zlib/os400/zlib.inc":"dede38961ae2e7a2590343bf1ff558c6f51e46714dec33f2d11d8c34899b3875","src/zlib/qnx/package.qpg":"d521336be75bdd145281c6d166241905751ec97093ecd6fec97a313f631ac0e1","src/zlib/test/example.c":"64ae90d60b40a8aec4700e5c4e7a71898ebb92948b7a07f939b3e763cb3e8b35","src/zlib/test/infcover.c":"f654f3fcc74b33bd95cda63d13fe0ce589bcfe965544e0c17ee597d75efbd090","src/zlib/test/minigzip.c":"f9777d1e8b337573e12daa8091dcf22e88a9b155fc0acad15b8224c377bfe027","src/zlib/treebuild.xml":"89b50165782643554a38d5c58c203d9648b540e5a455531dcb58b5676a019955","src/zlib/trees.c":"b338f1ec9038bd77efc09c8fdb99ef27b5db5b3da9baa301e544adc8e3b6a662","src/zlib/trees.h":"bb0a9d3ca88ee00c81adb7c636e73b97085f6ef1b52d6d58edbe2b6dc3adeb4d","src/zlib/uncompr.c":"7b3d8ca0f10ef7c74044c3172ca8f9f50389cd0f270ee4517f438e7e06be5623","src/zlib/watcom/watcom_f.mak":"7e039b912f9cffaa40835281430bb284fa9042b0a0d12f6b34700a06bca6576e","src/zlib/watcom/watcom_l.mak":"d11b4064604a034725860e63e3f6d347056372e4b1675b183e20a93533b20cc9","src/zlib/win32/DLL_FAQ.txt":"9e00778319381e6275691dd3a89410c99065b8c0c5db96473abe8c859cbdefd8","src/zlib/win32/Makefile.bor":"7d73a0d2c3e38b7c610bbc9c22f683a4fe1ab9b8b65649a3a8ac4ff7fcc14ba6","src/zlib/win32/Makefile.gcc":"97140c30506a8f6b2edb6b3d8a1b6b539d7929d4b957deba9950301090f579bf","src/zlib/win32/Makefile.msc":"235529bd529d4690d5d4b7871fdd0a1f118f2fe18862cbdec5f5ac674c55a60d","src/zlib/win32/README-WIN32.txt":"f414b3702f8d3bf1de42e0f41604bd78c44e537aae16b6107e3cdaa5759caa16","src/zlib/win32/VisualC.txt":"9ec0babd46eaa012371dee2d3a8a55d9c7130f7895512c3371c737e4a7f6a997","src/zlib/win32/zlib.def":"c00693a5c825f8bfbdb68124fd03cb2fa5269338071147bdaa14434aaf3962b9","src/zlib/win32/zlib1.rc":"54e161029b59e99a4f9cb2281b956f00ecfb1814318ddef9c741ff4f832c5c1d","src/zlib/zconf.h":"80e0a31a4c0e6f20d1bad0df99271b9d535aa9f7c4e62f1a54f643adb4c6dfa2","src/zlib/zconf.h.cmakein":"bb12900d39488e6a9ed67ebd7cf5599f3ced8937b7077d4d5001e470c7a1392e","src/zlib/zconf.h.in":"80e0a31a4c0e6f20d1bad0df99271b9d535aa9f7c4e62f1a54f643adb4c6dfa2","src/zlib/zlib.3":"aefd0162070fcb0379dc18e27b039253cd98c148104c1097dd60e0d0b435e564","src/zlib/zlib.3.pdf":"91343dffd2876dcf4af567f299ce99872b066232451093d6d12e02e4654873d8","src/zlib/zlib.h":"a980a0d104198a53cc220c51ab5856e5be901bec8a2d02e0ee79a8754219dfed","src/zlib/zlib.map":"33e2a7c4defd6222945bb0f7191b6380afb4f518e804af86a44aad4a9090bf9e","src/zlib/zlib.pc.cmakein":"2f1d0b18ce37c2af415a469857f02aee2c41a58877aff21d29e9c6db32b55cb7","src/zlib/zlib.pc.in":"04c01cc2e1a0ed123518b5855f585c93a24526dd88982c414111ea1fc9f07997","src/zlib/zlib2ansi":"b3f9c88abbdf16143e5d5110e44fff198bcda9ee1358e036c8d445e9d0cbce85","src/zlib/zutil.c":"8108af451ad14271065844736ac7c436275b92826c319318070508d769371428","src/zlib/zutil.h":"cf94d865e3a9162c0571cba7f74c8f01efbdca26b981d6cc9c545d4c3991e3c2"},"package":"56ee889ecc9568871456d42f603d6a0ce59ff328d291063a45cbdf0036baf6db"}
34\ No newline at end of file
35+{"files":{"Cargo.toml":"5fc1259b26541f617473d6b741816705c91322db9740e347a8686e3c0b30ab2e","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"34c467b6945a22696d060b8fdd2379d464acb3408d4c599d3dc5fe4fa1b4c84f","README-zng.md":"2f9f34e6b388a401b8d8318b64997a7521e4198c5c314f8cea11433623628515","README.md":"75701bfcd7158e924f51ece8debb6d4425ccd6ad5d2806004b5f174423f4b2af","build.rs":"b383e60f71c9b40ecc807ac58473f9b85d7036e8359796634cba2701224493a3","build_zng.rs":"b7768e19f0bf876f29eabb6ad6511f530e61d8aa92bfbe89a7cf3818e4824ce7","src/lib.rs":"7c4a3394e17e6250c1f4f2067efecc56b1850827596432ad0ce75e5eea800446","src/smoke.c":"10607c81b73811bfcb9718767312bf97ba2ccf7048ea2f18a2085aa06ad7f91b","src/zlib-ng/CMakeLists.txt":"5840d2c44e335af0f58f8a2545da60be403946b1181641b35ea7425b2e0f44db","src/zlib-ng/FAQ.zlib":"c524f4f86d336b3de71dd6977afddffa9c02fda5c26db4dfefae44959e7614a2","src/zlib-ng/INDEX.md":"989545e90d8e9ac149034f762ce78ed8976ebf9324326228dea37ca190154609","src/zlib-ng/LICENSE.md":"d3c80be055d94d798eaa786116e84fa0b010bc11420b5d2060d978ea77845436","src/zlib-ng/Makefile.in":"1f56adbf5fac7fa36c6e4c11b5f061acb971984c941154cbf0344e2b68b99e7d","src/zlib-ng/PORTING.md":"4105267b5e00f8d608f31dcf4fe2cfede15cc94568211691419e6cba3d8e539e","src/zlib-ng/README.md":"ba04244ad8eea94d834d25aa75b40e7f849844a33c68ed180c2a631378e1f211","src/zlib-ng/adler32.c":"82ffa1b4fc4b198ba8004135f79b8819d9f2b28e851c30c0ab41e6d32dfbf70d","src/zlib-ng/adler32_p.h":"f56915c59a345baf4558374447385a317e29365a4db2fbb38af4de3e1a1a0201","src/zlib-ng/arch/arm/Makefile.in":"95464884ba75a7b12c9ceda5845d8d68d5a7d7dac8a8dc24b27beb2192e5b97b","src/zlib-ng/arch/arm/adler32_neon.c":"3990b8d5570b12c2162218fe0e9bc723a03f1c89b5ed3ba70a74a98976260ee7","src/zlib-ng/arch/arm/arm.h":"855adbb02d7b9a5714a17d9dcff493610e7cd2b9a1f4e58e1c99626ab536e868","src/zlib-ng/arch/arm/armfeature.c":"4800228414695b632b9ceca14409e782d6fc3b357ba7ab00858925fc66b5532e","src/zlib-ng/arch/arm/chunkset_neon.c":"95fc7917d1d30094e15a35c56d1e9c189c5ca3758553a3467d4da793eaed656f","src/zlib-ng/arch/arm/crc32_acle.c":"e2be53267a2a59fc79c4b3bab00e8b25bf64a8fc8bf2c6684e5b1b1fd1480f9d","src/zlib-ng/arch/arm/ctzl.h":"feb70d55e66025fff806e30e48002b35cfff79533d352585cfa5f118edbc90b1","src/zlib-ng/arch/arm/insert_string_acle.c":"d1b1dae5aeada70f2b03c2cbf3112ce55a92401c2d87709081b04dcf5992e1ad","src/zlib-ng/arch/arm/slide_neon.c":"19d8cf5c742ac6b82164c7a183538ad1129f9f17e9b8bce8b40daac3820fb6c4","src/zlib-ng/arch/generic/Makefile.in":"f41a34839986eac8dd52cf91fada0efff4171c059ab5d7db6347c91bd6d9db09","src/zlib-ng/arch/power/Makefile.in":"69644d1a0ff8e7f38005c0a55cdbaf3f0d87f42abf8fc4f4136271c4fedfb846","src/zlib-ng/arch/power/adler32_power8.c":"79b75e98ad3a62facbbdd8c0b178d3f993b57f6e34d320bf47eca33aa8c330a1","src/zlib-ng/arch/power/power.c":"0647afb3b3b7ce2a19b4815ec8fdeee0b37c759413e5ef0a668a2dba22d94803","src/zlib-ng/arch/power/power.h":"f3f15f94fed98a2f7dd5d4568c5172e597228be4141d6895062703c3f70024da","src/zlib-ng/arch/power/slide_hash_power8.c":"932ea533d25e2f5478afe0c47830e7ef24276cad0d75fd91f2d8c799bd4b5d36","src/zlib-ng/arch/s390/Makefile.in":"eef6c3169723f089b0b5f852423ec55bf0364caeddd7cda991f2e76bc1682107","src/zlib-ng/arch/s390/README.md":"730b9a0230609988fbd1bdd52a7abdaa1fa5c65253ac78163dd4a5eccb966abc","src/zlib-ng/arch/s390/dfltcc_common.c":"3d460448ad4c5b687da6b7c0ad8498ece92b771dc7ddd0189e096acca5a1cad4","src/zlib-ng/arch/s390/dfltcc_common.h":"de8902d3863c8a7a3f6ea27dec2ee5a4f17ef5d8646e48a586d0b29fe94c9a0b","src/zlib-ng/arch/s390/dfltcc_deflate.c":"d6941d3c5ada225ec39b98b35bce1d203aa1f2d994a47c8487d377d9ef2f6efc","src/zlib-ng/arch/s390/dfltcc_deflate.h":"5c90a812e2a2f2b842dba027e5640791e52206e74b8423cb78e0b8ea12ed29ad","src/zlib-ng/arch/s390/dfltcc_detail.h":"fe66cd700a1d017eba86c2c6e95f53e9a4d1cb491de9cb3963b2a2907098baa9","src/zlib-ng/arch/s390/dfltcc_inflate.c":"83643b5605cdc2d1d7780e1bdeb007f9dc6a1cca633157abbfb5d3232f2b8816","src/zlib-ng/arch/s390/dfltcc_inflate.h":"d7a4a5ae79abd1a5456521926b918becfe86c253a4fc23723fbc09f7c3303128","src/zlib-ng/arch/s390/self-hosted-builder/actions-runner.Dockerfile":"999c962c49508ebf61414e6f9ffea059926ac500d4c6d707ea1f9e77402f7374","src/zlib-ng/arch/s390/self-hosted-builder/actions-runner.service":"33a359eb58d76152f916b40ee1357f7edfda75e8dfb55a5b12ac83bcd6ed7055","src/zlib-ng/arch/s390/self-hosted-builder/fs/usr/bin/actions-runner":"f647e18728ea15fe927ac9f8cba83a5b343654a0e91b5ebe653bae7af7375110","src/zlib-ng/arch/s390/self-hosted-builder/fs/usr/bin/entrypoint":"add4ebdc4f06ed15bb1de12a8c9ceb370a60baebb0932a1026a75433940ad3df","src/zlib-ng/arch/s390/self-hosted-builder/qemu-user-static.service":"54551049f6181da88700a2a944a72b0af3b8abde876fa28e1348deb5eb96c91b","src/zlib-ng/arch/x86/INDEX.md":"c12f9bf0d66743a6472fb756bf46def8eea1dd235be7fca994dcb22f693a3524","src/zlib-ng/arch/x86/Makefile.in":"9f6fe7567a99e81aaa3bef8ccfa1ad40f524efc285cf8dfe0f497a1530f8016c","src/zlib-ng/arch/x86/adler32_avx.c":"99056732c7bd5d53dc108f282811a40bf21570926781af5dc7b17cb9218963de","src/zlib-ng/arch/x86/adler32_ssse3.c":"883a5520b4481225d097c90c5359106a3c8eb7b921499c94276e999b7c39adc5","src/zlib-ng/arch/x86/chunkset_avx.c":"13c83149146c408ffdc9358bcb5355259f6196e6cc6fe025b7ea3647e313cd0a","src/zlib-ng/arch/x86/chunkset_sse.c":"f14d0557634b53af8cd6e2a1ce9d57df50244a72e85ff3b100b5ca287d1cfa8a","src/zlib-ng/arch/x86/compare258_avx.c":"8b2838d168de4608327f25fe52d53763a82413ee911d87947d3fcd72c7f9bf26","src/zlib-ng/arch/x86/compare258_sse.c":"b5049722ffd4a43a96868eeba5e000271cfc5fcbf3c2657026ead15b1df28a10","src/zlib-ng/arch/x86/crc_folding.c":"defb5a7067562612651f693c910db53cf228b7cd7fef11991504767a7d84f224","src/zlib-ng/arch/x86/crc_folding.h":"939212546611917e9e066e8ed30cdda95680ec1f5fe0890cc4865b4e6d7fc215","src/zlib-ng/arch/x86/insert_string_sse.c":"9e84a75b6a565422eb105261b6729d2a02b89133bd14372c949d5381b5deed3e","src/zlib-ng/arch/x86/slide_avx.c":"5e448e439ac24e7cb10eee176ca37f2c63f73c135c0a2af040e232bad490997d","src/zlib-ng/arch/x86/slide_sse.c":"1946cabb634c905fddef0a22b2fad19dfd99110169567c3beceef71145b2e316","src/zlib-ng/arch/x86/x86.c":"1af56e27b2e951e1ad1344e62c2f7a8c49a776fcdd1cb0f4ea9d6152118a479e","src/zlib-ng/arch/x86/x86.h":"4d2d20ea0087089141e250e77bb3d419954b9092810028b151581b9115a5fe8c","src/zlib-ng/chunkset.c":"cbf26582fff56726cc28bee05ff0a1680c50308b8dd9bb8cfb57d7f0a587d0bd","src/zlib-ng/chunkset_tpl.h":"eaaf0804f6162ab26b2b6de263a478ffb111559e653372e96e400acba9c63563","src/zlib-ng/cmake/detect-arch.c":"e0da3d16195eefb54bef77163db737a66453f25ae16648aa8f6beeac70787662","src/zlib-ng/cmake/detect-arch.cmake":"27fa8da497b39ac70d881e2d345749611dae4c30f7b7a9c9e32f2c042672189a","src/zlib-ng/cmake/detect-coverage.cmake":"e4e372991ba80a16ad47df2716708a56013cc628aa7ed01573a2360c60610125","src/zlib-ng/cmake/detect-install-dirs.cmake":"87031a40428a104f5cf38ecdb8a5028d8c679cfa772a58adde8380c809b34eff","src/zlib-ng/cmake/detect-sanitizer.cmake":"a8f7a4515278532b251b567d82ed576fe1ca7e698992ed92d1beb8e8dd22237f","src/zlib-ng/cmake/run-and-compare.cmake":"13d85c12c9d6c7b1b148bd0c5a5b4faa6a4b56f3823bf03c4f8d914c9c5949d8","src/zlib-ng/cmake/run-and-redirect.cmake":"7f08d18c09aa58113882ec760735a62a1723a5bfcae9f73bd3713a4dbaeab898","src/zlib-ng/cmake/test-compress.cmake":"0d2d1595859ccfb6795bb98700a4f7c1652b025cc344a1291524601087957888","src/zlib-ng/cmake/test-tools.cmake":"63aabfffd53970b8e145870b2a1c03bffa3595f7df04bd86f94e97b6f2a387e7","src/zlib-ng/cmake/toolchain-aarch64.cmake":"46be0bf580a49a528c72005484655afad1de3705b39a66a7b0c213b0fa81cee6","src/zlib-ng/cmake/toolchain-arm.cmake":"05e38076fd6ffb9785ff9844ccecd26436c9dc4c25b7777b62e5f52e788c3882","src/zlib-ng/cmake/toolchain-armhf.cmake":"1a2029163a57415eec9a5dd5f45d3254d349e97b1beb5d16876b741717673341","src/zlib-ng/cmake/toolchain-mingw-i686.cmake":"df9000354b820d3713d1469edc9f94cd095389b0cca83965730b8e64857fdf3f","src/zlib-ng/cmake/toolchain-mingw-x86_64.cmake":"ee316e6e3202919da5d497f9e246466fd715fcf079cb5b4afc4774089d1fefad","src/zlib-ng/cmake/toolchain-powerpc.cmake":"9bd6fc58ce5b70603657f2c195c4a5cf52fae96ad63ac787978831c5858f762c","src/zlib-ng/cmake/toolchain-powerpc64.cmake":"917fc5eef84921d8b38f43c2b4f60870965b4eecc8f018c7b3499e1142c715af","src/zlib-ng/cmake/toolchain-powerpc64le.cmake":"5b2edd36d62de513db2d32bfbf779979d81ac527b981cc3379a4e933fc5a94d1","src/zlib-ng/cmake/toolchain-s390x.cmake":"cf52cecea7bd2a9d1ff5fd8edcb03c531e3b404bbcd15a15dec2e0e19936f2ac","src/zlib-ng/cmake/toolchain-sparc64.cmake":"e543062485d06a7e0fec8135887c5e73363517fa4babc23ef7b780916d75afda","src/zlib-ng/compare258.c":"56bfd48d5ff9ca422fbb728df7a373436c73796561dff118c7d4039fe70d29e2","src/zlib-ng/compress.c":"41df6eb62d6fb1334ecfe0a0c3e50a7ee89528719857f2b8297cbc512149759c","src/zlib-ng/configure":"160f69a1e51c49f6454ece92e4c5e08675ca5d90cf22b8f79cbe54c4381d93c2","src/zlib-ng/crc32.c":"98440be8a99381151a2d740f2e2228e8c1b23b9193c3642c52a4e34799506336","src/zlib-ng/crc32_comb.c":"11a36a6088fb520a58e0304fc99cf12fc8437519e8a70fe74dad58f00af696ec","src/zlib-ng/crc32_comb_tbl.h":"d6615d209d6c7d5248c6f7fe4e5dbded13c0eb87997b37693032c2902927407d","src/zlib-ng/crc32_p.h":"1fa91375a18e090c0a0dfda39de3df36346a0b1be36c808be6b6c29c32eba922","src/zlib-ng/crc32_tbl.h":"d629378ba38ff5775095b64e277bcd41c4b89fab9b5647a9fb29e15da0db0161","src/zlib-ng/deflate.c":"6fb8979ee8bc43f6e12a649708c7eb50e60bb9bdc2e55c45ce3b15aefe779179","src/zlib-ng/deflate.h":"7b3c649965c54446097d6157dd31d3685aa7df1082e9aa64cb3cdf6ac2c4d023","src/zlib-ng/deflate_fast.c":"d51e1368fc997673c64b5ab9a620439df25f313f8274529d974c5f80b89702b8","src/zlib-ng/deflate_medium.c":"1c3d95cbac76052d39595ea750c5536541c18302b9abb398c27b58955318bba8","src/zlib-ng/deflate_p.h":"2e739301e8c53038c2a958c8c8693584cd8dae464ffef05a22db6d6fa9985676","src/zlib-ng/deflate_quick.c":"280905a191d2b2a7274f2453ac537e01a0fb6e7540a0b212c1514bfb8c9415ea","src/zlib-ng/deflate_slow.c":"a2c66723e1e71ffd6ff856407459ab311a4c6546ecf50285081fc7afcd0ccd2e","src/zlib-ng/doc/algorithm.txt":"0d21a0a4c47e512743389628d1385a831a5e5ff716491095a382b923287f4223","src/zlib-ng/doc/rfc1950.txt":"8f0475a5c984657bf26277f73df9456c9b97f175084f0c1748f1eb1f0b9b10b9","src/zlib-ng/doc/rfc1951.txt":"5ebf4b5b7fe1c3a0c0ab9aa3ac8c0f3853a7dc484905e76e03b0b0f301350009","src/zlib-ng/doc/rfc1952.txt":"f7c810fd9d719d002d605207a9b880600f71d039b9626c5b4b03f2122438dd2d","src/zlib-ng/doc/txtvsbin.txt":"47c273bb22c9773248d380549a330e5c262266b1292154b0d3014f731cc73f47","src/zlib-ng/fallback_builtins.h":"1d2c2da88009a58f240bac33f562fe5a0a39c1e773813a2d75b45283ff1396cd","src/zlib-ng/functable.c":"d9db6530035a06f95982ff3d7680a84f4b54b8425874ccbe2ab10b906bd5708a","src/zlib-ng/functable.h":"e5a2d0c10411d23f04295bcb9ddb9889388974b723caef65aa5c4ea4739f4aa7","src/zlib-ng/gzguts.h":"7b69b2f35264169bc794d0d5c00247d93c203f751d226302966c33b524ed9fb0","src/zlib-ng/gzlib.c":"7e6ad5d9d32e6429d56a5303e2c6e6870d69c023d6647a52fb95902828de4011","src/zlib-ng/gzread.c":"d5d47d24dc463b978fe828320dab140494803fd86b511300f903c7c2eabd4d25","src/zlib-ng/gzwrite.c":"1685ad2c88239b3434cd2c4a9d66b67842310b2d1dfd01aec0fc293eef20e858","src/zlib-ng/infback.c":"4decaa412219fc8adb935754c54a4dedf3952aaf67107a12512451c65eadee23","src/zlib-ng/inffast.c":"a134d4aa6a46eebe975ca0cd5ef18894fc852b6a840be21ca7243ddbe6c9d8f9","src/zlib-ng/inffast.h":"42e74a92b496ab0726be317e8497a12bf3c3cf3d0d533440ce65befd3929c71c","src/zlib-ng/inffixed_tbl.h":"a94225335396245e9f0ccb2e9b4b334fe7ee0111ed8e32a26bcd52187f364314","src/zlib-ng/inflate.c":"f33e2e7eeaa4b33ba6a2c327f8c9939e6b847afbdad349da65c97bf81c6083b5","src/zlib-ng/inflate.h":"eb25527d1bdedaa45167926dce4c39d9aaa3147b0f4a95f38f5916528c30a09b","src/zlib-ng/inflate_p.h":"4a94c51194da119770cf662ef289994f0c78d95184d54d6ae5d50a393e8f5a62","src/zlib-ng/inftrees.c":"7a777f5ff02ce60fbad6cb843ceadd7b3a8a8a0476ae010c87a0377c2e88f780","src/zlib-ng/inftrees.h":"fa80eb11c2290b345470a03cb861843e2cb1365135233ea8243e9fd79d3618a1","src/zlib-ng/insert_string.c":"aa22ba53a1e75821499809277f9ca0e5ef92b07a618136dd11ae1734e233b7c9","src/zlib-ng/insert_string_tpl.h":"1ceba9903324d10aad6e1d83653c4d534a5b06fd09076414a06215482be00bac","src/zlib-ng/match_tpl.h":"eeab4c6eea8511a7579738e622af062ad16f4016312e93ad34bc5903d8b3c4a1","src/zlib-ng/test/CVE-2002-0059/test.gz":"60bf96b8f433bd7e057ce3496aceaccd70ec80f596a4aa8bcc7786056705ce66","src/zlib-ng/test/CVE-2003-0107.c":"6ed6fba710f8f2b898750f0ec17720fbf01e45c39e8adbba6409681b34914140","src/zlib-ng/test/CVE-2004-0797/test.gz":"38caae524705f676bde13a8df9fc8c7d2fe105ba6bdbab62a405b0276fd3aa2e","src/zlib-ng/test/CVE-2005-1849/test.gz":"e4d5a60617df4b5dd44eda94751ce1eacdb325792bba6e3cc4676719a3adf742","src/zlib-ng/test/CVE-2005-2096/test.gz":"8f702d4861aa3ec98ac03a59ff26b430939630cb5cd4266d2658d3b836d576f9","src/zlib-ng/test/CVE-2018-25032/default.txt":"d7f8278db331c47bd1208bf41e7903cbddee4f7b47c666c40afdd3c96237752e","src/zlib-ng/test/CVE-2018-25032/fixed.txt":"3b27a98edd2f3f580033f9add11d3469d7808c969a1128ee00c18ac7a12cef57","src/zlib-ng/test/GH-361/test.txt":"358497d0a7251ea42101dc77b02337f46fd89af09643a8288e2a3082e5d24128","src/zlib-ng/test/GH-364/test.bin":"af5570f5a1810b7af78caf4bc70a660f0df51e42baf91d4de5b2328de0e83dfc","src/zlib-ng/test/GH-382/defneg3.dat":"b22bef6b7392401c9e7b079402c4a4074053d7a914d050400e37fd7af6fe26d5","src/zlib-ng/test/GH-751/test.txt":"b83d833803b7bc3124fb2a0034081f0b999ad10c33a8dfa3bfd181dc078ae3ee","src/zlib-ng/test/GH-979/pigz-2.6.tar.gz":"2eed7b0d7449d1d70903f2a62cd6005d262eb3a8c9e98687bc8cbb5809db2a7d","src/zlib-ng/test/Makefile.in":"48d033f2dbb62635624bf2c9e3e7fe279b72afc3411d14cb7cfdbf40f5b80e19","src/zlib-ng/test/README.md":"d60ef4851222ebc2a9fbc23f292ab11bc7fee40ba6171ea768b2ffa005df5b1d","src/zlib-ng/test/abi/ignore":"02aa87f77656dbc1fbddd23f436cd15465a92df0722da4055cae1bc8bf013097","src/zlib-ng/test/abi/zlib-v1.2.11-arm-linux-gnueabihf.abi":"f5e91f25b558a891fecbeb6e2e9575698630ab700d055a38f3bc4fe66257f513","src/zlib-ng/test/abi/zlib-v1.2.11-x86_64-linux-gnu.abi":"038337383cf780587d810cf5400d632f3a1f8517e63ac4a71b6e5224db8b1413","src/zlib-ng/test/abicheck.md":"6b4a87d760b3848fb1ded6782e02a1d074d9e487bdabb29274a62b31cdf48772","src/zlib-ng/test/abicheck.sh":"7ca2884ff37c697d380f620554525f9b9dc7fa76b45f866d284b2ea5b98c65cc","src/zlib-ng/test/adler32_test.c":"db3e8ad9a4e2ecce0c052b0bfe19834d3ff2fb2e9239cc3438a2c95db00b1d21","src/zlib-ng/test/crc32_test.c":"8f1223d8aa4c52a5e7323f422023f6b892ce684eaf7439ad905b855293f40143","src/zlib-ng/test/data/fireworks.jpg":"93b986ce7d7e361f0d3840f9d531b5f40fb6ca8c14d6d74364150e255f126512","src/zlib-ng/test/data/lcet10.txt":"1eb5d7bddb1c3cb68064d5b5f7f27814949674b6702564ff7025ced60795a6d9","src/zlib-ng/test/data/paper-100k.pdf":"60f73a051b7ca35bfec44734b2eed7736cb5c0b7f728beb7b97ade6c5e44849b","src/zlib-ng/test/deflate_quick_bi_valid.c":"a36697e5779a645354823f14540bd60b9378c2f4c5f2bb981d86bb34f29fcbb0","src/zlib-ng/test/deflate_quick_block_open.c":"455bd347bb88debdfacb409846170274991ec9ba71c52b8fd0e526daf57265eb","src/zlib-ng/test/example.c":"1c8d9d14128da9fb5415683aa7318ae0aa94b743f75905288a2a9decd4ead98d","src/zlib-ng/test/fuzz/checksum_fuzzer.c":"65a96358c9a82efc4b251b4f322b02fade7b69f9bc6ac07294e641e3fe1ccdb1","src/zlib-ng/test/fuzz/compress_fuzzer.c":"1ab70608075c4bc60f89aa2f327cff88362ee7b1d31da88ed54ca51e5f99e5c9","src/zlib-ng/test/fuzz/example_dict_fuzzer.c":"be68f9eee3deae7f9163c6288742e5455bc28f659f80fdb276fafe215f028b97","src/zlib-ng/test/fuzz/example_flush_fuzzer.c":"f12246a184dcfe0a19a98cdc742a1fe8da388ad20b406635d63f1fa10d45b9ca","src/zlib-ng/test/fuzz/example_large_fuzzer.c":"f490abcd332fb4e7921292adf6876d38d7f71c8d2443212c781ba88957ff9303","src/zlib-ng/test/fuzz/example_small_fuzzer.c":"a9b3436b291ace821b6013311a1100e19a9e1c67fefd3f97dbd60688f9bf22b1","src/zlib-ng/test/fuzz/minigzip_fuzzer.c":"5faecfe9e6ecc47e746151bd1cc24a2e2dba8b7ffeb270d2c88cb126273ab446","src/zlib-ng/test/fuzz/standalone_fuzz_target_runner.c":"f25649ed35b8b7a3899c8d7ff52f9972dfc7bf274889e0a7a77fbfdf1c1cfef0","src/zlib-ng/test/gh1235.c":"8310ef780dc483a1708750cd7c120b8e9cc0e1614767d24c01869e529074e981","src/zlib-ng/test/hash_head_0.c":"448def3e8ea13fbcac86202e50b8a71b6cea585d7bdbca0bc6cf6056e4059f98","src/zlib-ng/test/infcover.c":"9c0e8068fdc614b1852e8d274231b41ce3ce975d4419ed31e700a0b05e702303","src/zlib-ng/test/inflate_adler32.c":"ab430c97ae8f569784710118038e8ebf53f4136d1a957e1277c0904f9218340b","src/zlib-ng/test/minideflate.c":"34fdce39628ffd173f7736d9fb65dfa40d0b0289def64b935075f6c6cffe1999","src/zlib-ng/test/minigzip.c":"7dbce6528601f7fdd586280885ed439cb539e15f36dd3974274729bfcdd41928","src/zlib-ng/test/pigz/CMakeLists.txt":"aa70f1025adc004985bfe0accee9b7a80e04786d82705e27c377a5e8d4ecbaaa","src/zlib-ng/test/pkgcheck.sh":"581b3de9c58e96038af94c73cbdb30eed32900f7abb8fa7692426fa68059b0ef","src/zlib-ng/test/switchlevels.c":"ceb6cc4d48a637562009d8f7f82635fa9942acd1bfd597acd99454a03a3a98e3","src/zlib-ng/test/testCVEinputs.sh":"5de6198444c16726f8e0a8f2beb5b89c5ae7e7e3736ce760b9fbc719493e7e4f","src/zlib-ng/tools/codecov-upload.sh":"ec7a8f1405820810e486e3d7e2fda7eb958c17877b0000b93abdf09d87732a2f","src/zlib-ng/tools/config.sub":"32186cfeb5db62c99e1dfbfb07f24c1a50977447b4c26d2907021c74422a70d2","src/zlib-ng/tools/makecrct.c":"55c8f7b8e29393e95988a29de8cb1a1bdf2738a69d53627bd0f9d7bf169bf0a8","src/zlib-ng/tools/makefixed.c":"bffd02540231304f9bcc755b8cb9ae5cfbc48975857bbb4547f1d6acce21ef57","src/zlib-ng/tools/maketrees.c":"30e9f70addf691d1241e594a7f31fc78b119b65e8af9ac8e20fe6da01635d3b3","src/zlib-ng/trees.c":"2cd9a1dc8d9231e9fc4e53e56b87307989c1b7f33212cde4ee434ef71c28af2a","src/zlib-ng/trees.h":"24174f3543b01ee1ef370bbf6d15551a21871cded18b2aadf09a71e7904b6f99","src/zlib-ng/trees_emit.h":"2e93093ae5362523a26877d6fd663bb05793795889d2bfb987cbada9a9dc4517","src/zlib-ng/trees_tbl.h":"35f4fd0ec080c1ade342e2dd1b0f5cdc7e9f18990faa48d7a8a69bc318ebe607","src/zlib-ng/uncompr.c":"4ebb486b27930f8a6ec4a3cc90a207d0bcf8a4779d1dbf3b2184a2b2a5735cd1","src/zlib-ng/win32/DLL_FAQ.txt":"f17fd3823726adbae63b91c00d5db1dccae2e289258edabbbbebde04bb6e7e8c","src/zlib-ng/win32/Makefile.a64":"775d6902373d1583430b5d7467f001746be323610c89be27e02bbfe0205994f3","src/zlib-ng/win32/Makefile.arm":"7535e022f482920c3fa7a267e84e39ad790d150f72e5c30414baa156c2fdd9b6","src/zlib-ng/win32/Makefile.msc":"d769a00c0ad4cb5fc624d2ae004dfa3785a2f4310324b03afd2156e759003a06","src/zlib-ng/win32/README-WIN32.txt":"cdcca6e7a5d2d23618a48fafb8eea347227f8ecf1f38a6aa90f0e7e455bc6574","src/zlib-ng/win32/zlib-ng.def":"f240276caf805a10d024fc6a66efe915c435734c69732818d92fb04d08ab350c","src/zlib-ng/win32/zlib-ng1.rc":"ea0ea4d116b583510b113a27fdec2ad4f0890206963f0e3838f275b8005dde5d","src/zlib-ng/win32/zlib.def":"d9c371ff2677567350386441a2e3d0258010d6502290bbac5ac42ea168bd5212","src/zlib-ng/win32/zlib1.rc":"ec5021dba35f9fae5f5f82ad6b6bd059928548e0608e4ede0bcffccf5c1210a1","src/zlib-ng/win32/zlibcompat.def":"73728b9df4379dc70ebd9b2a9f20d6e4ed7c031fa1f351cdeae1de7d1db05bd1","src/zlib-ng/zbuild.h":"d4d52d3296cc949a5d694e7349a8236854f2ec116c184a310e4e62b28caf5b63","src/zlib-ng/zconf-ng.h.in":"f206ac69c1fa48c670648d26028263372a539ed1243a9a26e5b35bf52e2363ff","src/zlib-ng/zconf.h.in":"dbf08736c3bc5e41242b09e13d0a523b440250410476dd58747c14e28984f1e5","src/zlib-ng/zendian.h":"f5cfa865281d2c5d0b097d318500f27daeec346e7882de68e279486d79c52e77","src/zlib-ng/zlib-ng.h":"d51896e8411868ed195d5cf41fda4f1c5a9c891832dfd16b559a5ed6beedd890","src/zlib-ng/zlib-ng.map":"03ef4439594619e215dbb1717f8c13e16159308ef3817761ba1a3cca7f7834df","src/zlib-ng/zlib.h":"7e3666971e08019fc7097f11d593aac9ff6824a1ecc945c48f76009f7c27d55a","src/zlib-ng/zlib.map":"9997aa913dec6da106ab2089d2a72ca5e1b7fafe0807ac0bc1318ce8c8defab9","src/zlib-ng/zlib.pc.cmakein":"17668e07edbe5971043bea26a2f2b92c4c7cf4724620f1156f3ea1436d2aac93","src/zlib-ng/zlib.pc.in":"cf94c9aa44878a62e27c2f75354c08326b3bb5250a9b11496855cf59691177bb","src/zlib-ng/zutil.c":"53418b23c7878e968b4d04df8ebac74f64f60d32277f2343d16da52059dbc782","src/zlib-ng/zutil.h":"a14c18dd4a96909aaf0aa016cb6df97d77cf5b735283527c906181eead22f0e9","src/zlib-ng/zutil_p.h":"c259b33614007463b41d4184e0bdf10d62325445ee9308e1e1885862d201657a","src/zlib/CMakeLists.txt":"d3ea46cd350c74c21c2dd97f6d0ad354db76b2b43cc91ec1144b88267f67a588","src/zlib/ChangeLog":"6933f4ab74360476bc80d9eda2afd98f93588a5d276e1197926267421dd6959e","src/zlib/FAQ":"1e8a0078be0ff1b60d57561a9e4a8cad72892318a8831946cba1abd30d65521c","src/zlib/INDEX":"3b4e325d47ae66456d43fcf143ba21ab67a02a4f81be7ef2da480ba30d774266","src/zlib/LICENSE":"845efc77857d485d91fb3e0b884aaa929368c717ae8186b66fe1ed2495753243","src/zlib/Makefile":"ef23b08ce01239843f1ded3f373bfc432627a477d62f945cbf63b2ac03db118a","src/zlib/Makefile.in":"77a662b885182111d7731eef75176b4c5061002f278b58bf9bf217e2fa16cadb","src/zlib/README":"4bb4d5664fb9d06ef0d47e8ef73104bd545a5a57eb7241be4f2e0be904966322","src/zlib/adler32.c":"d7f1b6e44fee20ab41cef1d650776a039a2348935eb96bcbd294a4096139be3a","src/zlib/amiga/Makefile.pup":"a65cb3cd40b1b8ec77e288974dd9dc53d91ed78bbe495e94ccc84ddd423edf1f","src/zlib/amiga/Makefile.sas":"0e63cf88b505a1a04327bb666af3a985c5e11835c0c00aed4058c0dcc315d60e","src/zlib/compress.c":"6d0f0d0784744acca2678ce325c8d7c4c030e86f057adb78adcee111d2248c0d","src/zlib/configure":"2d964a697f9060d3a8fc5b4272c9d07b22e5fe6f5cf327e5c29f62f67d935759","src/zlib/contrib/README.contrib":"b925ae08d371b33c4b5ffd67c707150729a476caf47cfe2eafc002291f23f931","src/zlib/contrib/ada/buffer_demo.adb":"469cf566a6965767fee6b987a239ed8cedcc66614940d45a9b434331fbb435ce","src/zlib/contrib/ada/mtest.adb":"41b6f31684770334afdc4375871eb1408542f37a823a073556fdbfdb63753160","src/zlib/contrib/ada/read.adb":"fa5b989aef0c5715a3fcb15de93985f7f10aeb0a7f5716745c95ed820eb9af9c","src/zlib/contrib/ada/readme.txt":"8fe9e5303f2e8e8b746c78250e74b7c4aeb7ce6212fdce751fc3a0ce56a47fe2","src/zlib/contrib/ada/test.adb":"5e3abe79b387e09a9a42bd0543105e228f39a335240cffc33d71f0ba66ff2511","src/zlib/contrib/ada/zlib-streams.adb":"f45988e2bac76eb25a0dc981f46576e7432c35dde1790bbc2b650f0090b7fa72","src/zlib/contrib/ada/zlib-streams.ads":"969e8edb0611810fb52159dcb7c40228f4e5da810a7a3576b778116a93038c6b","src/zlib/contrib/ada/zlib-thin.adb":"03d89244ee5ec9771d9b5050e586c609f851af551b2e64eb151f1d5be0b63ae9","src/zlib/contrib/ada/zlib-thin.ads":"631ef170bde16c3ca8d412b54a0e519815b80197d208f8f393e6fe017bb0968e","src/zlib/contrib/ada/zlib.adb":"c9ca5dc34fbcdf06e2dc777b7e9dcd0ba31085b772b440eb0e12421323ab672c","src/zlib/contrib/ada/zlib.ads":"02634bec0d5e4c69d8d2859124380074a57de8d8bd928398379bfacc514236d2","src/zlib/contrib/ada/zlib.gpr":"859bb69dce38dbe9dca06753cf7ae7bd16d48f4fece8b87582dab8e30681d3de","src/zlib/contrib/blast/Makefile":"17d5d26c24bf51cad51045a38ffb73cc3539d29e89885aa249fcfd45a8659d5c","src/zlib/contrib/blast/README":"baa763ae03d88ef7ece6eb80d9a099b43d0b57639d6d281e1c7c6ca79d81daba","src/zlib/contrib/blast/blast.c":"1ab3e479d342bfc144167b808fb00142264bc50f24a110ca88cc774e351c218e","src/zlib/contrib/blast/blast.h":"9c1c422b76311d4cb06863ffc056668b6240f3dd998bc02e89ee590d482bfdc2","src/zlib/contrib/blast/test.pk":"5f5c262c545574a5c221132d5ef832478d222d70b015341795b3860204140d7c","src/zlib/contrib/blast/test.txt":"9679b2c98e1283222d0782b25a1c198dc64ba9ebd1addd6dc6f643a45947cda3","src/zlib/contrib/delphi/ZLib.pas":"6dcc65866e3fb3d33d2a2328c547458156883a3e6749d52ded209357a49d61de","src/zlib/contrib/delphi/ZLibConst.pas":"84bcc580bdf397e570f86f3f5a5b8c7bf537828f30b4b72648b81911f6bf5095","src/zlib/contrib/delphi/readme.txt":"f7420ed2de77d4b498eefbbe6402a1d17dc2d411735289c78a265c7f10fdaee5","src/zlib/contrib/delphi/zlibd32.mak":"850e91b6c9ea05de61a411cbda16fa0f10118cd88bb32c4b7226988776f8d511","src/zlib/contrib/dotzlib/DotZLib.build":"b96137097669644ecb9f42cdd3399d1fce9c512788374609303f7e50abf597f0","src/zlib/contrib/dotzlib/DotZLib.chm":"20d0e3edd57f849143255a7f0df1cd59d41db464a72c0d5ab42846438a729579","src/zlib/contrib/dotzlib/DotZLib.sln":"a979198c5b8d144c1ac8f993bfb6f4085d135aa58ca9dcf63ebabf52b5c695f7","src/zlib/contrib/dotzlib/DotZLib/AssemblyInfo.cs":"314afcfb339ea95f5431047b7ab24631b11c3532c7ce5dc2094ed0cf80a7c16d","src/zlib/contrib/dotzlib/DotZLib/ChecksumImpl.cs":"e7c047a2c3bcf88d3d002ee3d2d05af414acf53cb4451efacc0f2e95a474ea0f","src/zlib/contrib/dotzlib/DotZLib/CircularBuffer.cs":"be84c9736fe7bdc2bfae70466d8fff582504e928d5b5e110fd758090090c8cb7","src/zlib/contrib/dotzlib/DotZLib/CodecBase.cs":"259bdda1b7d6052134e631fa24bfd9dca6e2362563496c8b85257b56c848908c","src/zlib/contrib/dotzlib/DotZLib/Deflater.cs":"06ba6696a3c15c53ba5fd5a1c2bf50b51f217010228fc1e4c8495ee578f480de","src/zlib/contrib/dotzlib/DotZLib/DotZLib.cs":"9837fe993fd631233cc5e53ff084d86754b97f05ec77c54b0764c2706f186134","src/zlib/contrib/dotzlib/DotZLib/DotZLib.csproj":"21606db31dfef6410dd438b73f1db68856eacabcce6c0f0411fc4f17e17001f3","src/zlib/contrib/dotzlib/DotZLib/GZipStream.cs":"8d1de9755c77046b4ac71340a0a54434ebf4fd11b085c44454d7663a9b4df1c5","src/zlib/contrib/dotzlib/DotZLib/Inflater.cs":"9016ca73818f5b6a28791abc3af6da7c4d2773b6a3804f593f6d5737a62b99ad","src/zlib/contrib/dotzlib/DotZLib/UnitTests.cs":"c95048d763c7e367ba0bb7c31981e0610131fa12356bbd9bfdb13376778e9a0c","src/zlib/contrib/dotzlib/LICENSE_1_0.txt":"36266a8fd073568394cb81cdb2b124f7fdae2c64c1a7ed09db34b4d22efa2951","src/zlib/contrib/dotzlib/readme.txt":"d04972a91b1563fb4b7acab4b9ff2b84e57368953cc0596d5f5ea17d97315fd0","src/zlib/contrib/gcc_gvmat64/gvmat64.S":"22ff411b8b1d1b04aeaa8418b68245400267dc43c6f44104f6ccd37f0daee89f","src/zlib/contrib/infback9/README":"890288f02bb3b1f9cc654b87a07fcea695f90f6b9bd672d25bf6be1da2ec1688","src/zlib/contrib/infback9/infback9.c":"0a715c85a1ce3bb8b5a18d60941ffabc0186a886bcc66ba2ee0c4115a8e274e9","src/zlib/contrib/infback9/infback9.h":"dda2302f28157fe43a6143f84802af1740393572c2766559593996fd7a5a3245","src/zlib/contrib/infback9/inffix9.h":"84a2ba4727767c18af6505f0e81d9c814489c8b9ed330a25dad433db72997e43","src/zlib/contrib/infback9/inflate9.h":"32a907676cc36e27d0fdc0d99adb83a0b23f20ab61896269216d40fecf08d349","src/zlib/contrib/infback9/inftree9.c":"1f262e5ae8094c9d8b172241e567c86be560327b840ca8fb771e98461bcb158a","src/zlib/contrib/infback9/inftree9.h":"145072793141cb313c91cdf9dee9d4b8e8a38d77099f87e9cd05c7b5ead8f099","src/zlib/contrib/iostream/test.cpp":"0f3c77e013949eb9c91e6b690ea894e19d97944d6b0885b82806fc3ad99680cf","src/zlib/contrib/iostream/zfstream.cpp":"8ebb9b3d521cc3392953f27658cf1f6dcb763216079f69a1518ec5ca0e42a63b","src/zlib/contrib/iostream/zfstream.h":"4369c35e66f63f52ca4a5e1759bf720507ccabb8f3f132e2f18e68686c812401","src/zlib/contrib/iostream2/zstream.h":"d0343e0c57ff58008b6f29643d289c72713aa2d653fe3dcd2e939fc77e7e20b6","src/zlib/contrib/iostream2/zstream_test.cpp":"f789df183cc58b78751985466380c656308490a9036eb48a7ef79704c3d3f229","src/zlib/contrib/iostream3/README":"43ec48ecbd95a8c45db20b107fac73b740bb11595a4737329188f06b713972cc","src/zlib/contrib/iostream3/TODO":"af5ebc83fb88f69706c8af896733784753dead147687e1c046f410c0997fd88b","src/zlib/contrib/iostream3/test.cc":"8e17fc48dfdbc6e268838b8b427491b5843b6d18bc97caa6924de9fad7abe3da","src/zlib/contrib/iostream3/zfstream.cc":"8cdd67ed0b13c192c11e5ea90e9d5782d6627eb303fbc4aa5ebda2531ec00ff8","src/zlib/contrib/iostream3/zfstream.h":"1bd74778fac45ee090dfc0f182a23e8a849152deb630606884b2635987b357b1","src/zlib/contrib/minizip/Makefile":"0f59cf07531cf34cb359f9dbe26d8207a2bbbdad618557894eb629925f7e8899","src/zlib/contrib/minizip/Makefile.am":"2313a3480a2c3745fa7ce216829cd0367058907d3a0902e5832c66c84a2fdfc6","src/zlib/contrib/minizip/MiniZip64_Changes.txt":"302c62b328647f5472fb7755249a83459be7f8ffb1fae07e8ba318fce8f4126c","src/zlib/contrib/minizip/MiniZip64_info.txt":"122719c32ef1763a5f6ba9c8cdefc1d78a76f7156b09e7b6f69b73f968e0dac3","src/zlib/contrib/minizip/configure.ac":"959e4762ddcb36dcf30512611ca9fbcbcd0c943228a6ac2975708798ae09a438","src/zlib/contrib/minizip/crypt.h":"1d25a0fab3189dc3c6ae43c7813e1e5d07d0d049bd32bd7bd0e9ccd752bfdd5e","src/zlib/contrib/minizip/ioapi.c":"f6878a3ecf6802f0f75cadb41a114fa274636c386bac794c66cbb27a24d9a29f","src/zlib/contrib/minizip/ioapi.h":"9f5448f8d5e8894d6f397dd09d24f7ff39cb818cd493a8bd90dda19553b814ea","src/zlib/contrib/minizip/iowin32.c":"103cdef91d57ceca7a1c1973772ff7e1d44c7b3e227a3640171957302bd9e974","src/zlib/contrib/minizip/iowin32.h":"586f22b9c3c64da253ce2b518e0fad61f19a7b47b289fc704cc9708242294c49","src/zlib/contrib/minizip/make_vms.com":"65736d9c4888f2373d3db0a13864d150c5040453f5bc2a5c8784379a7ea67590","src/zlib/contrib/minizip/miniunz.c":"b29dfb4cff9763497d8f0656c97027995e1ea0b4104e4a217ba7882337ae7a7a","src/zlib/contrib/minizip/miniunzip.1":"66d8684392167091ef0fe01598d6a0daa26e7e448e2df6c3cb257487735b83f7","src/zlib/contrib/minizip/minizip.1":"5404596e8e5587a52f563906119f32ceee30a6d97a966afa5c7afbe4d373e210","src/zlib/contrib/minizip/minizip.c":"b5b8f380297be0d90265356704df1e41bee0e903a2169263a2b50dc22cc3180a","src/zlib/contrib/minizip/minizip.pc.in":"8b6670b42d8e5e519e1cc89db093efc07ba23cb1ddfedd3c93ff2df08c3ce8ac","src/zlib/contrib/minizip/mztools.c":"cd887c4af6d20823bd15f24008b10acf01969b4165d7848656bde843a92428d7","src/zlib/contrib/minizip/mztools.h":"6f82c52279e8f79165f4446be652e5741a49992ac58632470335aa34c564072a","src/zlib/contrib/minizip/unzip.c":"fc9e8d752618a05c1f3a2ce61ebf76d0c8053dd5579458f836834a36e8690bbe","src/zlib/contrib/minizip/unzip.h":"20cdc47658a3e41db897d31650e46cd2c8cca3c83ddaaeb6c7a48dd8b7f18e03","src/zlib/contrib/minizip/zip.c":"bee2d6fa310c9451b24c036d5840a8c7c90b7cf8d12d5767175c207e56fefcc3","src/zlib/contrib/minizip/zip.h":"75b635dca8294790ab7ec1f72e9f1fd352d75b189c3c9b61c68f76bd7e612043","src/zlib/contrib/pascal/example.pas":"d842d456ecb6ff80e34cee2da31deb2072cc69ca837497bea8b8bee203403474","src/zlib/contrib/pascal/readme.txt":"02f997c37991ddae0cb986039f7b4f6fc816b3fd0ffd332cad371d04c12cf1b9","src/zlib/contrib/pascal/zlibd32.mak":"850e91b6c9ea05de61a411cbda16fa0f10118cd88bb32c4b7226988776f8d511","src/zlib/contrib/pascal/zlibpas.pas":"720346d2f40429de31bb16a895f42e878f259b1aff7d46c63e6616e629b3f7d5","src/zlib/contrib/puff/Makefile":"d9d738030464aaae354196c14fd928adf591832fce7d71ac1977c1d8d4923a4b","src/zlib/contrib/puff/README":"c5b9852fb11e0d6b6e916e5134cf034524d901b95368972133e0381e480eb479","src/zlib/contrib/puff/puff.c":"433f7f4495481dd95576dbb548b1bcfc5ca129d30421695fa609f5f6c14908b6","src/zlib/contrib/puff/puff.h":"969b7be2a930db0cdcb19b0e5b29ae6741f5a8f663b6dba6d647e12ec60cfa8e","src/zlib/contrib/puff/pufftest.c":"d24e31c1d277d07c268f34e9490050c6b53c68b128da3efbb1d05fc5b31004f7","src/zlib/contrib/puff/zeros.raw":"b7b0887089f7af1f6d1e0b4c0a1e8eddd10223b23554299455c6c9be71b653a3","src/zlib/contrib/testzlib/testzlib.c":"c6c37b35c6ecc9986a9041f86d879cc37a9e4d8315af9d725071eb3b2cade0c5","src/zlib/contrib/testzlib/testzlib.txt":"2359bbdc84eb8a04e0f1cd16cd81a2896e957f2ad58dab3ca78ef55b7d0dc577","src/zlib/contrib/untgz/Makefile":"8f5ab1564813e091cea8f1bb63da32fd80ac763d029277b0cabf50f60aceefe1","src/zlib/contrib/untgz/Makefile.msc":"d0f537de11d9e0e36e2a98b3971c537265f4b533b4c48797094365ad9ae8388b","src/zlib/contrib/untgz/untgz.c":"9a12d774301d252dcd38bba07ac369319da4c04c4fef8a50fcbf40aebf29c2a1","src/zlib/contrib/vstudio/readme.txt":"df5fe112bef3c23d5767602736f6d0ce43cbb49b584210fe57f6f59e634a49d0","src/zlib/contrib/vstudio/vc10/miniunz.vcxproj":"dd607d43c64581172c20c22112821924dfe862f56b2e5eb8780bdd0714d9527b","src/zlib/contrib/vstudio/vc10/miniunz.vcxproj.filters":"4b8466bf00c70b81c31cc903e756e04151fd90fdcbe102f3568a2c8b6190ea27","src/zlib/contrib/vstudio/vc10/minizip.vcxproj":"af73f2cf8ae51e65e85342faeb40849a2310c97bc77def42b38d7070460a6cf0","src/zlib/contrib/vstudio/vc10/minizip.vcxproj.filters":"f2815f9e3386c393d0a351632823b221ef9689da1f422ecaa561dba2a612fb0a","src/zlib/contrib/vstudio/vc10/testzlib.vcxproj":"c21e64259bf9efe97e1103212e7a6e1b7372b50067b4ba14cfa678e1f491095f","src/zlib/contrib/vstudio/vc10/testzlib.vcxproj.filters":"a7caddbac3ba90b5d482e6d926ef35cc40dc3553ed3776ef6b68a528fd5b0631","src/zlib/contrib/vstudio/vc10/testzlibdll.vcxproj":"3f317d8964f17901c3e68bff5deaec10b6ccc50a572235999e8097292692984c","src/zlib/contrib/vstudio/vc10/testzlibdll.vcxproj.filters":"29c9535775aa76320ee4efd001d41961faf6c58cedd8b29d3986e85f73d2f6fb","src/zlib/contrib/vstudio/vc10/zlib.rc":"6041a4727ea47520058a5b4bb8de87592883eb7f26dd39df62879c347f3888d1","src/zlib/contrib/vstudio/vc10/zlibstat.vcxproj":"50402ab8c63f746c034d6ce51d9612aff5b6af9aa27790cffa4b7deed4b30eb8","src/zlib/contrib/vstudio/vc10/zlibstat.vcxproj.filters":"eeb1de64c252c46b822f73f272127f6f9f0570ef22d234e093070ba95a4dde24","src/zlib/contrib/vstudio/vc10/zlibvc.def":"a228e521a561d4456c83c7081b4e9950cfce99133af7d5fdd27f12a8fd53efde","src/zlib/contrib/vstudio/vc10/zlibvc.sln":"e659860f705f31b87ea9139a3cb4ebe1561e120bce495383a54614fc82b49990","src/zlib/contrib/vstudio/vc10/zlibvc.vcxproj":"efad8cb150c0e5122f8c700d95c5de659dff92b171917c66bdbd082fff500b58","src/zlib/contrib/vstudio/vc10/zlibvc.vcxproj.filters":"c801732b7c7017796add50d2b71a228f99f95a46650baad307ff7e8358a2bfb0","src/zlib/contrib/vstudio/vc11/miniunz.vcxproj":"746e4c11fb8af4bcd6a9d68ba81ed1dc366a5de3bed56b291ee969ad733a7bb0","src/zlib/contrib/vstudio/vc11/minizip.vcxproj":"340617cae9cf4fcb003308021d3782ec3639e60d62d79a3aafc0a50bb55b061e","src/zlib/contrib/vstudio/vc11/testzlib.vcxproj":"99eadfdf2e41bc036141c174c4d0035d87572ce5795dcc28f39133f818a79d08","src/zlib/contrib/vstudio/vc11/testzlibdll.vcxproj":"583bdef522b0176829f0d8139ea2a88b9cbc14379d1334f3a863989ed3df9b67","src/zlib/contrib/vstudio/vc11/zlib.rc":"6041a4727ea47520058a5b4bb8de87592883eb7f26dd39df62879c347f3888d1","src/zlib/contrib/vstudio/vc11/zlibstat.vcxproj":"b07f792843d05ac883391075bc3b9625437490d8d40944ad359aa2134a09a3aa","src/zlib/contrib/vstudio/vc11/zlibvc.def":"a228e521a561d4456c83c7081b4e9950cfce99133af7d5fdd27f12a8fd53efde","src/zlib/contrib/vstudio/vc11/zlibvc.sln":"27389b515997defd080519f95aff87e89fcbe8b26d73c5ebb73c544cfef4d60e","src/zlib/contrib/vstudio/vc11/zlibvc.vcxproj":"d02d014ef957119a6fd0ab243c892b74d1592b117750b95fed21097c8ed922d9","src/zlib/contrib/vstudio/vc12/miniunz.vcxproj":"1494af54570f6e93852932956d49a8c25e57b5abc1ac979945605ca9143df9f8","src/zlib/contrib/vstudio/vc12/minizip.vcxproj":"9bf128ed6760ca5f019006f178b1c65f4c7ff122dba8d297b64b0eb72feeb120","src/zlib/contrib/vstudio/vc12/testzlib.vcxproj":"be88bc1220c0447c2379fdab3ac88055f58a8a788d3e9cec494342187e760eaf","src/zlib/contrib/vstudio/vc12/testzlibdll.vcxproj":"93416510256935d79625dc9fd349cfce6968c062d42a138bec404a26b2f92f5e","src/zlib/contrib/vstudio/vc12/zlib.rc":"90067be57a8c5df594a850352642f8b1dcb32e3d088d3805ebafe75a27412b74","src/zlib/contrib/vstudio/vc12/zlibstat.vcxproj":"faa229a851c76b77d65bb4742d8369efe566652bb6a1447d1e3539f289b5313d","src/zlib/contrib/vstudio/vc12/zlibvc.def":"a228e521a561d4456c83c7081b4e9950cfce99133af7d5fdd27f12a8fd53efde","src/zlib/contrib/vstudio/vc12/zlibvc.sln":"162e0faa80a56d89eea71a0b89377708eec2faa0dc72091cc0abb07fbdea49a0","src/zlib/contrib/vstudio/vc12/zlibvc.vcxproj":"8ac8cb2d29b880a738011d29d0511af9b14f321bed90f674109c446f4108d442","src/zlib/contrib/vstudio/vc14/miniunz.vcxproj":"0312511d4a30cea979c4e36edf994a537ed8a9d924f6b5c536cbcd094773c11f","src/zlib/contrib/vstudio/vc14/minizip.vcxproj":"9e7bb7a6ac723e4b2db900627c366f9bb93a351381995d9c69a50c0126f64233","src/zlib/contrib/vstudio/vc14/testzlib.vcxproj":"88667873d9d61d65016b9501ca925532eb55f56230e5911d3e2a01cd8a9fb2a4","src/zlib/contrib/vstudio/vc14/testzlibdll.vcxproj":"69f544898b4275cd3d8e19b8f1f8cb39c1cb98a30cdb033242e4b94c57bfa150","src/zlib/contrib/vstudio/vc14/zlib.rc":"90067be57a8c5df594a850352642f8b1dcb32e3d088d3805ebafe75a27412b74","src/zlib/contrib/vstudio/vc14/zlibstat.vcxproj":"5629eb0cc30674a39aa3636f1cdd190393b0dbd4c69a35e36ad85b6340055605","src/zlib/contrib/vstudio/vc14/zlibvc.def":"a228e521a561d4456c83c7081b4e9950cfce99133af7d5fdd27f12a8fd53efde","src/zlib/contrib/vstudio/vc14/zlibvc.sln":"47a50bbde8ca6336cecd8c0e4b65e515fc46ae84c7b61008ac9864162f777286","src/zlib/contrib/vstudio/vc14/zlibvc.vcxproj":"09f496a2ad3afdd5e3f36b7285440369dcac4559656edc00ed7a74c7ec9fa10f","src/zlib/contrib/vstudio/vc9/miniunz.vcproj":"7db9b2ef5ff05d3de4ba633feab10e85d45434c865d520ffa1974421904996f3","src/zlib/contrib/vstudio/vc9/minizip.vcproj":"7797a9ad3c0056f3a3cf8fcde7618acd1d151c65d15f841fccd8d9d878ae7bb0","src/zlib/contrib/vstudio/vc9/testzlib.vcproj":"8df405917800adccee6bad2116022c2c82d661b37ea40ea16405fe4dbcb4b69f","src/zlib/contrib/vstudio/vc9/testzlibdll.vcproj":"cde6806f5c81d1fc311f9921c17ba56f8e386d097783a6a90875d385837c47e7","src/zlib/contrib/vstudio/vc9/zlib.rc":"6041a4727ea47520058a5b4bb8de87592883eb7f26dd39df62879c347f3888d1","src/zlib/contrib/vstudio/vc9/zlibstat.vcproj":"d393d418d827ad9fb9c6516f1a7620371d15e3f5afef8ba60b51e50acc7199e9","src/zlib/contrib/vstudio/vc9/zlibvc.def":"a228e521a561d4456c83c7081b4e9950cfce99133af7d5fdd27f12a8fd53efde","src/zlib/contrib/vstudio/vc9/zlibvc.sln":"26e58d4b2cfcd941c367fb2a18537b3b9f002f2ac1278b700ea1129c50501452","src/zlib/contrib/vstudio/vc9/zlibvc.vcproj":"eaca98fcf166738b59fcdbd179dac9f98f985c6ba49212b186343a998816f081","src/zlib/crc32.c":"ec3ff0f97858b228513027a490e4330cbb23c6fbdd24d839902ffa89854f209c","src/zlib/crc32.h":"9a2223575183ac2ee8a247f20bf3ac066e8bd0140369556bdbdffc777435749e","src/zlib/deflate.c":"4470e36709ce7d6067fa3e8f60bb7f693b055bee42a0d6655ed71faa2db87fde","src/zlib/deflate.h":"0db1b5ef79ca6ba0f508b7b8bdaa11af45c5ebe2c89ab4f1086dc22b963a52fa","src/zlib/doc/algorithm.txt":"992590931e982c0765286c2d83f6e9ff0a95aabb08e28c30c52bae3e8c4bd5ad","src/zlib/doc/crc-doc.1.0.pdf":"064f9252d6e2e15ea56c2bd18e160e5c9c84bcd137c11a7af497aaa511ace998","src/zlib/doc/rfc1950.txt":"8f0475a5c984657bf26277f73df9456c9b97f175084f0c1748f1eb1f0b9b10b9","src/zlib/doc/rfc1951.txt":"5ebf4b5b7fe1c3a0c0ab9aa3ac8c0f3853a7dc484905e76e03b0b0f301350009","src/zlib/doc/rfc1952.txt":"164ef0897b4cbec63abf1b57f069f3599bd0fb7c72c2a4dee21bd7e03ec9af67","src/zlib/doc/txtvsbin.txt":"d1549fb75137f03102798f70fd34ff76285e717ddd520dd82274c1c0510eacf0","src/zlib/examples/README.examples":"1bc1c677bbebe1aa5e85015bb62f0cf3fcdbf95652d30494159bee6166c1854a","src/zlib/examples/enough.c":"c14a257c60bbe0d65bb54746dd97774a1853ef9e3f78db118a27d8bc0d26d738","src/zlib/examples/fitblk.c":"fd8aaaefd5eb3d9fc388bdc5b715d1c6993ecc9367f5432d3b120a0278904edc","src/zlib/examples/gun.c":"3bfd36b06284ba97d6105b8a6a5d18b2b34b75b3a1285f16d018680fb174915f","src/zlib/examples/gzappend.c":"6de91c8305e37560117bff44136abff72b16b028c0bda0bbac7ea07e4988b0ce","src/zlib/examples/gzjoin.c":"90b9d6c39a5fc91cf1cc9b96b025a508a8015dc502cd9374c754b44078593f57","src/zlib/examples/gzlog.c":"196872021c96099fd30c880ac2cccd1350fdbd81179731f3914153a26ebf72e9","src/zlib/examples/gzlog.h":"681f280437f867820bf39880e2f4fc641d402879e399ba2e6a31d73feefe8edc","src/zlib/examples/gznorm.c":"e5a8f5c3b107f27212f7d5fbfcf072a337a1b4ea32929ae31c168997438a5cc0","src/zlib/examples/zlib_how.html":"80fb647be8450bd7a07d8495244e1f061dfbdbdb53172ca24e7ffff8ace9c72f","src/zlib/examples/zpipe.c":"68140a82582ede938159630bca0fb13a93b4bf1cb2e85b08943c26242cf8f3a6","src/zlib/examples/zran.c":"10f9568b1f54cdb7474a38c5bc479aa0edb07a0eed2e999bdad4c521f6b25330","src/zlib/examples/zran.h":"9a0d4c15f898c43deae2c5e98a5c66c637a1b25573d662fe91a789c386eaf971","src/zlib/gzclose.c":"94446cf8cde67c30e64d0a335b0c941fd3fbad2e77f30180d12e61f9c2a5a6b8","src/zlib/gzguts.h":"40d57fbcef5d4d849e416e03b680026b18302e4b0da5907a96a012d7ced91b8c","src/zlib/gzlib.c":"635b7b6df79a5ce6e0f951669e4c82704d7972d8afb87278b9155c2cb4c5066f","src/zlib/gzread.c":"41c69d43fb3974bae58d9169aea3514221f70dc77bb7a35c79626dd3be01adf2","src/zlib/gzwrite.c":"c7454689751c8f41ec63a1381a0053fb149095abe1c3b89c8a996b2d7ac8adce","src/zlib/infback.c":"6a6cfe3d7e239d590692bc2664ac58d3ef92be30ff4cb3c6dbf5deed28f79eb5","src/zlib/inffast.c":"41d93aefdbfee5455809130af74fcc76cf7259b1aa8b34d0060d14e57463e8bb","src/zlib/inffast.h":"7d8c1c873ce9bc346ad6005bb9d75cce5c6352aaf7395385be216a9452a34908","src/zlib/inffixed.h":"237ba710f090e432b62ebf963bee8b302867e9691406b2d3f8ee89ee7bfef9b0","src/zlib/inflate.c":"f1679575fef1717d908dd09d7bfe8fff89c21941cadd7c255a2ccccfba3a287e","src/zlib/inflate.h":"e8d4a51b07694bf48cb91979c19974cf6a5ab0b8a09d26ec0d14df349230673e","src/zlib/inftrees.c":"b9db40bbb68b63dccbcdfa78d687751e33178af8669f1c1236309cfd5d2edc0e","src/zlib/inftrees.h":"44084a93673386db6282dcb61d739c84518e10dff66d1c6850715137c827464c","src/zlib/make_vms.com":"14ed54bdd391c1648cedfb69d8a73a26dcc7f1187d59b0f18d944b7665cec85b","src/zlib/msdos/Makefile.bor":"292ab363f7ffbc4ae84d37cd9bdffd2dac1003bee52d223a8489844870f20702","src/zlib/msdos/Makefile.dj2":"9208450c2ae6dcbfcc25560b5b9ca763f461e7246e37b0552474edf8fa898906","src/zlib/msdos/Makefile.emx":"c749d6ec7f88e8e639d4f03bdbdcbbe9d1c304210be4c4be621ceb22961d3d64","src/zlib/msdos/Makefile.msc":"0e021a6f42212415b060e4ad468eb415d0a8c1f343137fb9dff2cb8f9ead3027","src/zlib/msdos/Makefile.tc":"2ae12ee2a3e62f7c5a0520d0fbe4adee772bc07fe816002b07ccb43db3daa76a","src/zlib/nintendods/Makefile":"ea5823efe6830132294eddf2f56dbd7db8712244c210bb4968c431b1a91bd066","src/zlib/nintendods/README":"e362426c47b39ff6a7d6c75c6660b20abf076cdfa5e1e421716dc629a71aef95","src/zlib/old/Makefile.emx":"d811f032272aae50123a889297af3a02fbd60d1e42bbef11466462f627ff7b5b","src/zlib/old/Makefile.riscos":"d1a488b160fbfd53272b68a913283a4be08ba9d490796b196dddb2ba535b41e0","src/zlib/old/README":"551a0f4d91fe0f827a31cbdfbb4a71d1f3dc4d06564d80a3f526b749dd104d11","src/zlib/old/descrip.mms":"8ff08c35c056df9c986f23c09cf8936db63ccf12c3c42f7d18a48b36f060cff7","src/zlib/old/os2/Makefile.os2":"6ad247c00f00ff42fd2d62555e86251cef06e4079378241b5f320c227507d51d","src/zlib/old/os2/zlib.def":"ea9c61876d2e20b67ef2d9495991a32798eb40d13ede95859a2f4f03b65b9b61","src/zlib/old/visual-basic.txt":"1727650acbde9a9e6aec9438896377e46a12699cca5d46c5399cef524dedc614","src/zlib/os400/README400":"5eb702a0dd460e2bea59ee83014c3f975e892057850c639f793bb740044a38ba","src/zlib/os400/bndsrc":"3c36a17975eed5a8d33bc5443b39fead1e68c01393496be9c1f4a61444bcb0f6","src/zlib/os400/make.sh":"143394d1e3876c61c29078c0e47310e726e1f5bd42739fe92df9ece65711655f","src/zlib/os400/zlib.inc":"dede38961ae2e7a2590343bf1ff558c6f51e46714dec33f2d11d8c34899b3875","src/zlib/qnx/package.qpg":"d521336be75bdd145281c6d166241905751ec97093ecd6fec97a313f631ac0e1","src/zlib/test/example.c":"64ae90d60b40a8aec4700e5c4e7a71898ebb92948b7a07f939b3e763cb3e8b35","src/zlib/test/infcover.c":"f654f3fcc74b33bd95cda63d13fe0ce589bcfe965544e0c17ee597d75efbd090","src/zlib/test/minigzip.c":"f9777d1e8b337573e12daa8091dcf22e88a9b155fc0acad15b8224c377bfe027","src/zlib/treebuild.xml":"89b50165782643554a38d5c58c203d9648b540e5a455531dcb58b5676a019955","src/zlib/trees.c":"b338f1ec9038bd77efc09c8fdb99ef27b5db5b3da9baa301e544adc8e3b6a662","src/zlib/trees.h":"bb0a9d3ca88ee00c81adb7c636e73b97085f6ef1b52d6d58edbe2b6dc3adeb4d","src/zlib/uncompr.c":"7b3d8ca0f10ef7c74044c3172ca8f9f50389cd0f270ee4517f438e7e06be5623","src/zlib/watcom/watcom_f.mak":"7e039b912f9cffaa40835281430bb284fa9042b0a0d12f6b34700a06bca6576e","src/zlib/watcom/watcom_l.mak":"d11b4064604a034725860e63e3f6d347056372e4b1675b183e20a93533b20cc9","src/zlib/win32/DLL_FAQ.txt":"9e00778319381e6275691dd3a89410c99065b8c0c5db96473abe8c859cbdefd8","src/zlib/win32/Makefile.bor":"7d73a0d2c3e38b7c610bbc9c22f683a4fe1ab9b8b65649a3a8ac4ff7fcc14ba6","src/zlib/win32/Makefile.gcc":"97140c30506a8f6b2edb6b3d8a1b6b539d7929d4b957deba9950301090f579bf","src/zlib/win32/Makefile.msc":"235529bd529d4690d5d4b7871fdd0a1f118f2fe18862cbdec5f5ac674c55a60d","src/zlib/win32/README-WIN32.txt":"f414b3702f8d3bf1de42e0f41604bd78c44e537aae16b6107e3cdaa5759caa16","src/zlib/win32/VisualC.txt":"9ec0babd46eaa012371dee2d3a8a55d9c7130f7895512c3371c737e4a7f6a997","src/zlib/win32/zlib.def":"c00693a5c825f8bfbdb68124fd03cb2fa5269338071147bdaa14434aaf3962b9","src/zlib/win32/zlib1.rc":"54e161029b59e99a4f9cb2281b956f00ecfb1814318ddef9c741ff4f832c5c1d","src/zlib/zconf.h":"80e0a31a4c0e6f20d1bad0df99271b9d535aa9f7c4e62f1a54f643adb4c6dfa2","src/zlib/zconf.h.cmakein":"bb12900d39488e6a9ed67ebd7cf5599f3ced8937b7077d4d5001e470c7a1392e","src/zlib/zconf.h.in":"80e0a31a4c0e6f20d1bad0df99271b9d535aa9f7c4e62f1a54f643adb4c6dfa2","src/zlib/zlib.3":"aefd0162070fcb0379dc18e27b039253cd98c148104c1097dd60e0d0b435e564","src/zlib/zlib.3.pdf":"91343dffd2876dcf4af567f299ce99872b066232451093d6d12e02e4654873d8","src/zlib/zlib.h":"a980a0d104198a53cc220c51ab5856e5be901bec8a2d02e0ee79a8754219dfed","src/zlib/zlib.map":"33e2a7c4defd6222945bb0f7191b6380afb4f518e804af86a44aad4a9090bf9e","src/zlib/zlib.pc.cmakein":"2f1d0b18ce37c2af415a469857f02aee2c41a58877aff21d29e9c6db32b55cb7","src/zlib/zlib.pc.in":"04c01cc2e1a0ed123518b5855f585c93a24526dd88982c414111ea1fc9f07997","src/zlib/zlib2ansi":"b3f9c88abbdf16143e5d5110e44fff198bcda9ee1358e036c8d445e9d0cbce85","src/zlib/zutil.c":"8108af451ad14271065844736ac7c436275b92826c319318070508d769371428","src/zlib/zutil.h":"cf94d865e3a9162c0571cba7f74c8f01efbdca26b981d6cc9c545d4c3991e3c2"},"package":"56ee889ecc9568871456d42f603d6a0ce59ff328d291063a45cbdf0036baf6db"}
36\ No newline at end of file
diff --git a/meta/recipes-devtools/rust/libstd-rs_1.75.0.bb b/meta/recipes-devtools/rust/libstd-rs_1.87.0.bb
index d2bf266f9d..b39ec0ab39 100644
--- a/meta/recipes-devtools/rust/libstd-rs_1.75.0.bb
+++ b/meta/recipes-devtools/rust/libstd-rs_1.87.0.bb
@@ -1,8 +1,8 @@
1SUMMARY = "Rust standard libaries" 1SUMMARY = "Rust standard libaries"
2HOMEPAGE = "http://www.rust-lang.org" 2HOMEPAGE = "http://www.rust-lang.org"
3SECTION = "devel" 3SECTION = "devel"
4LICENSE = "(MIT | Apache-2.0) & Unicode-TOU" 4LICENSE = "(MIT | Apache-2.0) & Unicode-3.0"
5LIC_FILES_CHKSUM = "file://../../COPYRIGHT;md5=c2cccf560306876da3913d79062a54b9" 5LIC_FILES_CHKSUM = "file://../../COPYRIGHT;md5=11a3899825f4376896e438c8c753f8dc"
6 6
7require rust-source.inc 7require rust-source.inc
8 8
@@ -15,6 +15,8 @@ S = "${RUSTSRC}/library/sysroot"
15RUSTLIB_DEP = "" 15RUSTLIB_DEP = ""
16inherit cargo 16inherit cargo
17 17
18CVE_PRODUCT = "rust"
19
18DEPENDS:append:libc-musl = " libunwind" 20DEPENDS:append:libc-musl = " libunwind"
19# rv32 does not have libunwind ported yet 21# rv32 does not have libunwind ported yet
20DEPENDS:remove:riscv32 = "libunwind" 22DEPENDS:remove:riscv32 = "libunwind"
@@ -22,6 +24,8 @@ DEPENDS:remove:riscv64 = "libunwind"
22 24
23# Embed bitcode in order to allow compiling both with and without LTO 25# Embed bitcode in order to allow compiling both with and without LTO
24RUSTFLAGS += "-Cembed-bitcode=yes" 26RUSTFLAGS += "-Cembed-bitcode=yes"
27# Ensure that user code can't access the dependencies of the standard library
28RUSTFLAGS += "-Zforce-unstable-if-unmarked"
25# Needed so cargo can find libbacktrace 29# Needed so cargo can find libbacktrace
26RUSTFLAGS += "-L ${STAGING_LIBDIR} -C link-arg=-Wl,-soname,libstd.so" 30RUSTFLAGS += "-L ${STAGING_LIBDIR} -C link-arg=-Wl,-soname,libstd.so"
27 31
@@ -46,8 +50,3 @@ do_install () {
46} 50}
47 51
48BBCLASSEXTEND = "nativesdk" 52BBCLASSEXTEND = "nativesdk"
49
50# Since 1.70.0 upgrade this fails to build with gold:
51# http://errors.yoctoproject.org/Errors/Details/708194/
52# ld: error: version script assignment of to symbol __rust_alloc_error_handler_should_panic failed: symbol not defined
53LDFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd', '', d)}"
diff --git a/meta/recipes-devtools/rust/rust-cross-canadian.inc b/meta/recipes-devtools/rust/rust-cross-canadian.inc
index f59fee7cdd..df8b78d326 100644
--- a/meta/recipes-devtools/rust/rust-cross-canadian.inc
+++ b/meta/recipes-devtools/rust/rust-cross-canadian.inc
@@ -1,5 +1,6 @@
1SUMMARY = "Rust compiler and runtime libaries (cross-canadian for ${TARGET_ARCH} target)" 1SUMMARY = "Rust compiler and runtime libaries (cross-canadian for ${TARGET_ARCH} target)"
2PN = "rust-cross-canadian-${TRANSLATED_TARGET_ARCH}" 2PN = "rust-cross-canadian-${TRANSLATED_TARGET_ARCH}"
3CVE_PRODUCT = "rust"
3 4
4inherit rust-target-config 5inherit rust-target-config
5inherit rust-common 6inherit rust-common
@@ -8,11 +9,11 @@ LICENSE = "MIT"
8 9
9MODIFYTOS = "0" 10MODIFYTOS = "0"
10 11
11DEPENDS += "virtual/${SDK_PREFIX}gcc virtual/nativesdk-libc virtual/nativesdk-${SDK_PREFIX}compilerlibs" 12DEPENDS += "virtual/nativesdk-cross-cc virtual/nativesdk-libc virtual/nativesdk-compilerlibs"
12 13
13SRC_URI += "file://target-rust-ccld.c" 14SRC_URI += "file://target-rust-ccld.c"
14LIC_FILES_CHKSUM = "file://target-rust-ccld.c;md5=af4e0e29f81a34cffe05aa07c89e93e9;endline=7" 15LIC_FILES_CHKSUM = "file://target-rust-ccld.c;md5=af4e0e29f81a34cffe05aa07c89e93e9;endline=7"
15S = "${WORKDIR}" 16S = "${UNPACKDIR}"
16 17
17# Need to use our SDK's sh here, see #14878 18# Need to use our SDK's sh here, see #14878
18create_sdk_wrapper () { 19create_sdk_wrapper () {
@@ -52,39 +53,17 @@ do_install () {
52 53
53 ENV_SETUP_DIR=${D}${base_prefix}/environment-setup.d 54 ENV_SETUP_DIR=${D}${base_prefix}/environment-setup.d
54 mkdir "${ENV_SETUP_DIR}" 55 mkdir "${ENV_SETUP_DIR}"
55 RUST_ENV_SETUP_SH="${ENV_SETUP_DIR}/rust.sh" 56 RUST_ENV_SETUP_SH="${ENV_SETUP_DIR}/${RUST_TARGET_SYS}_rust.sh"
56 57
57 RUST_TARGET_TRIPLE=`echo ${RUST_TARGET_SYS} | tr '[:lower:]' '[:upper:]' | sed 's/-/_/g'` 58 RUST_TARGET_TRIPLE=`echo ${RUST_TARGET_SYS} | tr '[:lower:]' '[:upper:]' | sed 's/-/_/g'`
58 RUST_HOST_TRIPLE=`echo ${RUST_HOST_SYS} | tr '[:lower:]' '[:upper:]' | sed 's/-/_/g'`
59 SDKLOADER=${@bb.utils.contains('SDK_ARCH', 'x86_64', 'ld-linux-x86-64.so.2', '', d)}${@bb.utils.contains('SDK_ARCH', 'i686', 'ld-linux.so.2', '', d)}${@bb.utils.contains('SDK_ARCH', 'aarch64', 'ld-linux-aarch64.so.1', '', d)}${@bb.utils.contains('SDK_ARCH', 'ppc64le', 'ld64.so.2', '', d)}${@bb.utils.contains('SDK_ARCH', 'riscv64', 'ld-linux-riscv64-lp64d.so.1', '', d)}
60 59
61 cat <<- EOF > "${RUST_ENV_SETUP_SH}" 60 cat <<- EOF > "${RUST_ENV_SETUP_SH}"
62 export CARGO_TARGET_${RUST_TARGET_TRIPLE}_RUSTFLAGS="--sysroot=\$OECORE_TARGET_SYSROOT/usr -C link-arg=--sysroot=\$OECORE_TARGET_SYSROOT" 61 export CARGO_TARGET_${RUST_TARGET_TRIPLE}_RUSTFLAGS="--sysroot=\$OECORE_TARGET_SYSROOT/usr -C link-arg=--sysroot=\$OECORE_TARGET_SYSROOT"
63 export CARGO_TARGET_${RUST_HOST_TRIPLE}_RUNNER="\$OECORE_NATIVE_SYSROOT/lib/${SDKLOADER}"
64 export RUST_TARGET_PATH="\$OECORE_NATIVE_SYSROOT/usr/lib/${TARGET_SYS}/rustlib" 62 export RUST_TARGET_PATH="\$OECORE_NATIVE_SYSROOT/usr/lib/${TARGET_SYS}/rustlib"
65 EOF 63 EOF
66 64
67 chown -R root.root ${D} 65 chown -R root.root ${D}
68 66
69 CARGO_ENV_SETUP_SH="${ENV_SETUP_DIR}/cargo.sh"
70 cat <<- EOF > "${CARGO_ENV_SETUP_SH}"
71 export CARGO_HOME="\$OECORE_TARGET_SYSROOT/home/cargo"
72 mkdir -p "\$CARGO_HOME"
73 # Init the default target once, it might be otherwise user modified.
74 if [ ! -f "\$CARGO_HOME/config" ]; then
75 touch "\$CARGO_HOME/config"
76 echo "[build]" >> "\$CARGO_HOME/config"
77 echo 'target = "'${RUST_TARGET_SYS}'"' >> "\$CARGO_HOME/config"
78 echo '# TARGET_SYS' >> "\$CARGO_HOME/config"
79 echo '[target.'${RUST_TARGET_SYS}']' >> "\$CARGO_HOME/config"
80 echo 'linker = "target-rust-ccld"' >> "\$CARGO_HOME/config"
81 fi
82
83 # Keep the below off as long as HTTP/2 is disabled.
84 export CARGO_HTTP_MULTIPLEXING=false
85
86 export CARGO_HTTP_CAINFO="\$OECORE_NATIVE_SYSROOT/etc/ssl/certs/ca-certificates.crt"
87 EOF
88} 67}
89 68
90FILES:${PN} += "${base_prefix}/environment-setup.d" 69FILES:${PN} += "${base_prefix}/environment-setup.d"
diff --git a/meta/recipes-devtools/rust/rust-cross-canadian_1.75.0.bb b/meta/recipes-devtools/rust/rust-cross-canadian_1.87.0.bb
index 55865238ab..55865238ab 100644
--- a/meta/recipes-devtools/rust/rust-cross-canadian_1.75.0.bb
+++ b/meta/recipes-devtools/rust/rust-cross-canadian_1.87.0.bb
diff --git a/meta/recipes-devtools/rust/rust-llvm/0003-llvm-fix-include-benchmarks.patch b/meta/recipes-devtools/rust/rust-llvm/0003-llvm-fix-include-benchmarks.patch
deleted file mode 100644
index ff31c0bc32..0000000000
--- a/meta/recipes-devtools/rust/rust-llvm/0003-llvm-fix-include-benchmarks.patch
+++ /dev/null
@@ -1,25 +0,0 @@
1Subject: LLVM_INCLUDE_BENCHMARKS with llvm 14.0.1 failing to build
2
3https://github.com/llvm/llvm-project/issues/54941
4
5The LLVM_INCLUDE_BENCHMARKS is turned OFF to fix the build error as
6per the discussions in the above link. We will work on the issue and
7replace the workaround with actual fix once committed in LLVM.
8
9Please refer the following link for more discussions on the issue:-
10https://github.com/rust-lang/rust/issues/96054
11
12Upstream-Status: Pending
13Signed-off-by: Pgowda <pgowda.cve@gmail.com>
14
15--- a/llvm/CMakeLists.txt 2022-04-22 00:45:30.543445478 -0700
16+++ b/llvm/CMakeLists.txt 2022-04-22 00:45:42.095232974 -0700
17@@ -615,7 +615,7 @@ option(LLVM_INCLUDE_GO_TESTS "Include th
18
19 option(LLVM_BUILD_BENCHMARKS "Add LLVM benchmark targets to the list of default
20 targets. If OFF, benchmarks still could be built using Benchmarks target." OFF)
21-option(LLVM_INCLUDE_BENCHMARKS "Generate benchmark targets. If OFF, benchmarks can't be built." ON)
22+option(LLVM_INCLUDE_BENCHMARKS "Generate benchmark targets. If OFF, benchmarks can't be built." OFF)
23
24 option (LLVM_BUILD_DOCS "Build the llvm documentation." OFF)
25 option (LLVM_INCLUDE_DOCS "Generate build targets for llvm documentation." ON)
diff --git a/meta/recipes-devtools/rust/rust-llvm_1.75.0.bb b/meta/recipes-devtools/rust/rust-llvm_1.87.0.bb
index 13bdadb5e7..d70aa350ab 100644
--- a/meta/recipes-devtools/rust/rust-llvm_1.75.0.bb
+++ b/meta/recipes-devtools/rust/rust-llvm_1.87.0.bb
@@ -4,13 +4,13 @@ HOMEPAGE = "http://www.rust-lang.org"
4 4
5# check src/llvm-project/llvm/CMakeLists.txt for llvm version in use 5# check src/llvm-project/llvm/CMakeLists.txt for llvm version in use
6# 6#
7LLVM_RELEASE = "17.0.6" 7LLVM_RELEASE = "20.1.1"
8 8
9require rust-source.inc 9require rust-source.inc
10 10
11SRC_URI += "file://0002-llvm-allow-env-override-of-exe-path.patch;striplevel=2 \ 11SRC_URI += "file://0002-llvm-allow-env-override-of-exe-path.patch;striplevel=2 \
12 file://0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch;striplevel=2 \ 12 file://0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch;striplevel=2 \
13 file://0003-llvm-fix-include-benchmarks.patch;striplevel=2" 13 "
14 14
15S = "${RUSTSRC}/src/llvm-project/llvm" 15S = "${RUSTSRC}/src/llvm-project/llvm"
16 16
@@ -41,11 +41,15 @@ EXTRA_OECMAKE = " \
41 -DLLVM_ENABLE_ZSTD=OFF \ 41 -DLLVM_ENABLE_ZSTD=OFF \
42 -DLLVM_ENABLE_LIBXML2=OFF \ 42 -DLLVM_ENABLE_LIBXML2=OFF \
43 -DLLVM_ENABLE_FFI=OFF \ 43 -DLLVM_ENABLE_FFI=OFF \
44 -DLLVM_ENABLE_LIBEDIT=OFF \
44 -DLLVM_INSTALL_UTILS=ON \ 45 -DLLVM_INSTALL_UTILS=ON \
45 -DLLVM_BUILD_EXAMPLES=OFF \ 46 -DLLVM_BUILD_EXAMPLES=OFF \
47 -DLLVM_BUILD_LLVM_DYLIB=ON \
48 -DLLVM_LINK_LLVM_DYLIB=ON \
46 -DLLVM_INCLUDE_EXAMPLES=OFF \ 49 -DLLVM_INCLUDE_EXAMPLES=OFF \
47 -DLLVM_BUILD_TESTS=OFF \ 50 -DLLVM_BUILD_TESTS=OFF \
48 -DLLVM_INCLUDE_TESTS=OFF \ 51 -DLLVM_INCLUDE_TESTS=OFF \
52 -DLLVM_INCLUDE_BENCHMARKS=OFF \
49 -DLLVM_TARGET_ARCH=${TARGET_ARCH} \ 53 -DLLVM_TARGET_ARCH=${TARGET_ARCH} \
50 -DCMAKE_INSTALL_PREFIX:PATH=${libdir}/llvm-rust \ 54 -DCMAKE_INSTALL_PREFIX:PATH=${libdir}/llvm-rust \
51" 55"
diff --git a/meta/recipes-devtools/rust/rust-snapshot.inc b/meta/recipes-devtools/rust/rust-snapshot.inc
index a52cb30c48..87b39a2cc2 100644
--- a/meta/recipes-devtools/rust/rust-snapshot.inc
+++ b/meta/recipes-devtools/rust/rust-snapshot.inc
@@ -1,50 +1,59 @@
1## This is information on the rust-snapshot (binary) used to build our current release. 1## This is information on the rust-snapshot (binary) used to build our current release.
2## snapshot info is taken from rust/src/stage0.json 2## snapshot info is taken from rust/src/stage0
3## Rust is self-hosting and bootstraps itself with a pre-built previous version of itself. 3## Rust is self-hosting and bootstraps itself with a pre-built previous version of itself.
4## The exact (previous) version that has been used is specified in the source tarball. 4## The exact (previous) version that has been used is specified in the source tarball.
5## The version is replicated here. 5## The version is replicated here.
6 6
7SNAPSHOT_VERSION = "1.74.0" 7SNAPSHOT_VERSION = "1.86.0"
8 8
9SRC_URI[cargo-snapshot-aarch64.sha256sum] = "a18dc9132cf76ccba90bcbb53b56a4d37ebfb34845f61e79f7b5d4710a269647" 9SRC_URI[rustc-snapshot-aarch64.sha256sum] = "ccece9e59546d2e6ff3fc3b8f4b033aab21631c271eefbe814b3cbace6628c6e"
10SRC_URI[rust-std-snapshot-aarch64.sha256sum] = "c5ad01692bc08ce6f4db2ac815be63498b45013380c71f22b3d33bf3be767270" 10SRC_URI[rust-std-snapshot-aarch64.sha256sum] = "176129577a5d560bbd94bcd2d24c0228bb495b73219df02556b4e4b4f0815bf7"
11SRC_URI[rustc-snapshot-aarch64.sha256sum] = "a49bb365481913ead305658e7e9dc621da7895036b840fb57b1bc85c721d07e6" 11SRC_URI[cargo-snapshot-aarch64.sha256sum] = "37156542b702e8b4ffd1c5c75017632582343e93ca378285cdc92196c85c77e3"
12SRC_URI[clippy-snapshot-aarch64.sha256sum] = "e70edcf560e6b50861618d7045d2b38cae9e2a555f489062570e2e7041563f42"
12 13
13SRC_URI[cargo-snapshot-i686.sha256sum] = "9f5b5226a69f95950a381ec5bb15dde7a90865a6df8aa0b470082a40d42d9f38" 14SRC_URI[rustc-snapshot-i686.sha256sum] = "976f4604d949d722738a9fe95313035226571128396e942b0fc678180be487b0"
14SRC_URI[rust-std-snapshot-i686.sha256sum] = "69757b72def9c433753e8bb575c817fc1ba389cf1a9c25276db1491ec025e495" 15SRC_URI[rust-std-snapshot-i686.sha256sum] = "ce9f0fa4b0760730e26bf315cebe099f0b883436e095c5fc4b94ba20bd9f121a"
15SRC_URI[rustc-snapshot-i686.sha256sum] = "7a2bc1bf7e51942d32e82f461eacebe7f929c3eec210dcb7dc6624efd997d7da" 16SRC_URI[cargo-snapshot-i686.sha256sum] = "24f20bdc1bb14f4ffbdc2f540488bebc3340437418725c3162215ae03cdad480"
17SRC_URI[clippy-snapshot-i686.sha256sum] = "6788449fa0eceebe4ea8c797bbaf27495dad152087b3085d58dc05cacab0617a"
16 18
17SRC_URI[cargo-snapshot-loongarch64.sha256sum] = "77d6d55122150d8fc56d31fb166fd1b2ae48bff7376459c1b0030727fc604998" 19SRC_URI[rustc-snapshot-loongarch64.sha256sum] = "970089ad61f8ca82017b59444aee483c1fc005e3f7a6af63cd5f146df8287cce"
18SRC_URI[rust-std-snapshot-loongarch64.sha256sum] = "13b85a882e912d0d8b3228feb5c263d34ec353d483c9defbd3e6bba38935553b" 20SRC_URI[rust-std-snapshot-loongarch64.sha256sum] = "2f528377f57fbf81da35e2f08ec7ba50daddabebdce2cc86b6ec909fee157a33"
19SRC_URI[rustc-snapshot-loongarch64.sha256sum] = "703e8c81f9ca3100fc459db92fd5899de62cf77393f334f98159cd97feb11633" 21SRC_URI[cargo-snapshot-loongarch64.sha256sum] = "c3b8ab03b64c824f2ea25db578b5760d44302be3fd1e4a78404c98cba39301f4"
22SRC_URI[clippy-snapshot-loongarch64.sha256sum] = "1ab711423497a1d02408a240da28ad366450574dd7f528ffaee80d1d5ed10550"
20 23
21SRC_URI[cargo-snapshot-powerpc.sha256sum] = "08ea8a345839f34d26f21b94ed6d458e6a38513999f7ddc05175c371983e6deb" 24SRC_URI[rustc-snapshot-powerpc.sha256sum] = "21ea61181ba7daa04f61bec6a295ad76ce34bfbd74ad1d679c4548977bd82eb9"
22SRC_URI[rust-std-snapshot-powerpc.sha256sum] = "458ee056fbeccf1cf96c20506654e5e9104c4e8f23d46cd4bb9b97ff5b3f4d55" 25SRC_URI[rust-std-snapshot-powerpc.sha256sum] = "e5ed58a861619bcc89fc3f969174c84fd6ed8a26b5d4b196f06efb868653c1c1"
23SRC_URI[rustc-snapshot-powerpc.sha256sum] = "d4095cbe26ec197274dae9409e68843653e8c08c0b79e8cd74e72d9907e99816" 26SRC_URI[cargo-snapshot-powerpc.sha256sum] = "fd832c269af81dd1ee9f3831991fccdc2c7312e9a9069908510eefe7c313d144"
27SRC_URI[clippy-snapshot-powerpc.sha256sum] = "c94578d31e4145a4169ab5761537a2a0133818278fb62ee76251ef8ef45228c8"
24 28
25SRC_URI[cargo-snapshot-powerpc64.sha256sum] = "696863642318f139634e6856f5e946ea970318ce79d4d9b1595871a70a662a89" 29SRC_URI[rustc-snapshot-powerpc64.sha256sum] = "a54bbe16e6a405f137a0dc51fd570140c80077ba769d29d885a60e74cb3196bb"
26SRC_URI[rust-std-snapshot-powerpc64.sha256sum] = "7ec56629b7d887753ce3a895fb73b77d2d395acac30207c2b69237ef63279872" 30SRC_URI[rust-std-snapshot-powerpc64.sha256sum] = "06538b41a9351c449d215498d4ec2f072f728bd18df8fac7ef8534a0d0f34e27"
27SRC_URI[rustc-snapshot-powerpc64.sha256sum] = "ca162463db262df9d646687386a1c19f15c8ca9bf1f29eea94f2a8a6d7a6102d" 31SRC_URI[cargo-snapshot-powerpc64.sha256sum] = "4d398cd8da17d1a5f26734b39cb17e791b243ac3570f8da2e5e5580a9dfad578"
32SRC_URI[clippy-snapshot-powerpc64.sha256sum] = "0abf31a8cb2762a7a81dbee8a5798e43e11a83326711ce00ad16c5587bcf5e49"
28 33
29SRC_URI[cargo-snapshot-powerpc64le.sha256sum] = "2eccd404aabe5137a8e45b6173c27d08862a0e674d5866be71aff1434f271d50" 34SRC_URI[rustc-snapshot-powerpc64le.sha256sum] = "7585a20b02b7dd497e393a2e7552a0c6aabb51556fcf7507c6f7ffde530f8c88"
30SRC_URI[rust-std-snapshot-powerpc64le.sha256sum] = "785956d68855de18546c87d6d06cd2505cb8a10edba84327bf2b448420a31d55" 35SRC_URI[rust-std-snapshot-powerpc64le.sha256sum] = "fcf940c0553a04cb9bd85cce524729c2f54b000b554fee95c7aa218d608b7e3d"
31SRC_URI[rustc-snapshot-powerpc64le.sha256sum] = "8727b1a92e88ac1ce05198ee185dac86553edd7f50b726781c9ab64544b59809" 36SRC_URI[cargo-snapshot-powerpc64le.sha256sum] = "8fefd2317023716a018986c4a62558a7b543ccf34e4e6d1104afc66edcae1c9c"
37SRC_URI[clippy-snapshot-powerpc64le.sha256sum] = "8cc65649396ccad73cecd17b972ab8d4c34837136cf374425be63d697b541469"
32 38
33SRC_URI[cargo-snapshot-riscv64gc.sha256sum] = "5b224e465e006b5fe959ad64d0df0540c4318ba4e39edd89794d520eef60b026" 39SRC_URI[rustc-snapshot-riscv64gc.sha256sum] = "4d1106b576221182f84412f3377a5148eab6950d20e45e4274cd8b58df46f26b"
34SRC_URI[rust-std-snapshot-riscv64gc.sha256sum] = "2a500156825dde03a53c965e5764a440b1ebce973b8a31f21e8bd8104271d56e" 40SRC_URI[rust-std-snapshot-riscv64gc.sha256sum] = "b28b9c2f183521a204f2899610253c11c86ee4aa903fe66d8410dfaa22c926e6"
35SRC_URI[rustc-snapshot-riscv64gc.sha256sum] = "f4f27f1c40208b61ea7e61f9edf2de1787aea78a1edb7fe15bceb20de5c7a4a3" 41SRC_URI[cargo-snapshot-riscv64gc.sha256sum] = "7825556908e10a48320cfb2d812851271d7cf549977173e028a0dd23af9d7eac"
42SRC_URI[clippy-snapshot-riscv64gc.sha256sum] = "c39c53a82fdaaa97413728a4f3f9feb5b31bdf3e3e563c64651bd01713e79166"
36 43
37SRC_URI[cargo-snapshot-s390x.sha256sum] = "06267377c811271d6e4ba6feea1d4b84a9f4c5c8d1dbd46092d0a0595f24e9b6" 44SRC_URI[rustc-snapshot-s390x.sha256sum] = "18caf22fbfc4d26c80b39b4c6b1cd5fb42dba3e32d5d3600c22eae6f688d7f4c"
38SRC_URI[rust-std-snapshot-s390x.sha256sum] = "35142541b88a1244c8225c64ee18585446d7e67841a9335ccaa95acf2d34dde5" 45SRC_URI[rust-std-snapshot-s390x.sha256sum] = "3919f6962d0aefdd2cd75d8dba749ed826936065b64c9a8d54d1d85c2685fd66"
39SRC_URI[rustc-snapshot-s390x.sha256sum] = "41eae7788549aec58a6980ae6222d3330a01a37d1e7856d087a4e9c8a19aa890" 46SRC_URI[cargo-snapshot-s390x.sha256sum] = "1c6eb1be254574881a611a3b8904cdcfe43c79a285875673e59c890dcd5766c2"
47SRC_URI[clippy-snapshot-s390x.sha256sum] = "c87183b52ddb4085ddf2524a775fd255d5fd11ad2fdd6424574f08750a8cf378"
40 48
41SRC_URI[cargo-snapshot-x86_64.sha256sum] = "f219386d4569c40b660518e99267afff428c13bf980bda7a614c8d4038d013f6" 49SRC_URI[rustc-snapshot-x86_64.sha256sum] = "4438b809ce4a083af31ed17aeeedcc8fc60ccffc0625bef1926620751b6989d7"
42SRC_URI[rust-std-snapshot-x86_64.sha256sum] = "548413213012e2f62b08ed8a913a51210ae7402619027224580176031f2789ea" 50SRC_URI[rust-std-snapshot-x86_64.sha256sum] = "67be7184ea388d8ce0feaf7fdea46f1775cfc2970930264343b3089898501d37"
43SRC_URI[rustc-snapshot-x86_64.sha256sum] = "7d464be2ae0d6ce69f056d1ea9a8ce2b3b1d537418caea216fdd303903972181" 51SRC_URI[cargo-snapshot-x86_64.sha256sum] = "c5c1590f7e9246ad9f4f97cfe26ffa92707b52a769726596a9ef81565ebd908b"
52SRC_URI[clippy-snapshot-x86_64.sha256sum] = "02aaff2c1407d2da8dba19aa4970dd873e311902b120a66cbcdbe51eb8836edf"
44 53
45SRC_URI[rust-std-snapshot-i586.sha256sum] = "bd4502462c5e2b2617b23f28862e544f14c4d02658f6d331f0cfbbba914aa4c0" 54SRC_URI[rust-std-snapshot-i586.sha256sum] = "f0bddc6dba7d719b8ba131bcd634a8379e00fc825a51c0f17abf424c9cb5c052"
46 55
47SRC_URI[rust-std-snapshot-sparc64.sha256sum] = "68e96875ca7fc6ed0e023fcf752f28b95e9cc7d9881af4e8e167259fdaec7168" 56SRC_URI[rust-std-snapshot-sparc64.sha256sum] = "722238ae13e6e101d1b698d2b3a7915d59bb7f485b594e8d833cce8b9460383b"
48 57
49SRC_URI += " \ 58SRC_URI += " \
50 ${RUST_DIST_SERVER}/dist/${RUST_STD_SNAPSHOT}.tar.xz;name=rust-std-snapshot-${RUST_BUILD_ARCH};subdir=rust-snapshot-components \ 59 ${RUST_DIST_SERVER}/dist/${RUST_STD_SNAPSHOT}.tar.xz;name=rust-std-snapshot-${RUST_BUILD_ARCH};subdir=rust-snapshot-components \
@@ -53,6 +62,7 @@ SRC_URI += " \
53" 62"
54 63
55RUST_DIST_SERVER = "https://static.rust-lang.org" 64RUST_DIST_SERVER = "https://static.rust-lang.org"
65
56RUST_STD_SNAPSHOT = "rust-std-${SNAPSHOT_VERSION}-${RUST_BUILD_ARCH}-unknown-linux-gnu" 66RUST_STD_SNAPSHOT = "rust-std-${SNAPSHOT_VERSION}-${RUST_BUILD_ARCH}-unknown-linux-gnu"
57RUSTC_SNAPSHOT = "rustc-${SNAPSHOT_VERSION}-${RUST_BUILD_ARCH}-unknown-linux-gnu" 67RUSTC_SNAPSHOT = "rustc-${SNAPSHOT_VERSION}-${RUST_BUILD_ARCH}-unknown-linux-gnu"
58CARGO_SNAPSHOT = "cargo-${SNAPSHOT_VERSION}-${RUST_BUILD_ARCH}-unknown-linux-gnu" 68CARGO_SNAPSHOT = "cargo-${SNAPSHOT_VERSION}-${RUST_BUILD_ARCH}-unknown-linux-gnu"
diff --git a/meta/recipes-devtools/rust/rust-source.inc b/meta/recipes-devtools/rust/rust-source.inc
index b14221b6cb..ed15d9c763 100644
--- a/meta/recipes-devtools/rust/rust-source.inc
+++ b/meta/recipes-devtools/rust/rust-source.inc
@@ -1,24 +1,22 @@
1RUST_VERSION ?= "${@d.getVar('PV').split('-')[0]}" 1RUST_VERSION ?= "${@d.getVar('PV').split('-')[0]}"
2 2
3SRC_URI += "https://static.rust-lang.org/dist/rustc-${RUST_VERSION}-src.tar.xz;name=rust \ 3SRC_URI += "https://static.rust-lang.org/dist/rustc-${RUST_VERSION}-src.tar.xz;name=rust \
4 file://hardcodepaths.patch;patchdir=${RUSTSRC} \ 4 file://0001-Define-more-ioctl-codes-on-riscv32gc-unknown-linux-g.patch;patchdir=${RUSTSRC} \
5 file://zlib-off64_t.patch;patchdir=${RUSTSRC} \ 5 file://rust-oe-selftest.patch;patchdir=${RUSTSRC} \
6 file://0001-Revert-Map-source-absolute-paths-to-OUT_DIR-as-relat.patch;patchdir=${RUSTSRC} \ 6 file://repro-issue-fix-with-cc-crate-hashmap.patch;patchdir=${RUSTSRC} \
7 file://rv32-missing-syscalls.patch;patchdir=${RUSTSRC} \ 7 file://oeqa-selftest-Increase-timeout-in-process-sigpipe-ru.patch;patchdir=${RUSTSRC} \
8 file://rv32-rustix-libc-backend.patch;patchdir=${RUSTSRC} \ 8 file://0001-src-core-build_steps-tool.rs-switch-off-lto-for-rust.patch;patchdir=${RUSTSRC} \
9 file://rv32-cargo-rustix-0.38.19-fix.patch;patchdir=${RUSTSRC} \ 9 file://revert-link-std-statically-in-rustc_driver-feature.patch;patchdir=${RUSTSRC} \
10 file://cargo-path.patch;patchdir=${RUSTSRC} \ 10 file://0001-libunwind-Use-gcs-instead-of-gcs-target-attribute.patch;patchdir=${RUSTSRC} \
11 file://custom-target-cfg.patch;patchdir=${RUSTSRC} \ 11 file://0001-Disable-libunwind-cross-architecture-unwinding.patch;patchdir=${RUSTSRC} \
12 file://rustc-bootstrap.patch;patchdir=${RUSTSRC} \ 12 file://triagebot.patch;patchdir=${RUSTSRC} \
13 file://target-build-value.patch;patchdir=${RUSTSRC} \
14 file://0001-Handle-vendored-sources-when-remapping-paths.patch;patchdir=${RUSTSRC} \
15 file://repro-issue-fix-with-v175.patch;patchdir=${RUSTSRC} \
16" 13"
17SRC_URI[rust.sha256sum] = "4526f786d673e4859ff2afa0bab2ba13c918b796519a25c1acce06dba9542340" 14SRC_URI[rust.sha256sum] = "8623b8651893e8c6aebfa45b6a90645a4f652f7b18189a0992a90d11ac2631f4"
18 15
19RUSTSRC = "${WORKDIR}/rustc-${RUST_VERSION}-src" 16RUSTSRC = "${UNPACKDIR}/rustc-${RUST_VERSION}-src"
20 17
21UPSTREAM_CHECK_URI = "https://forge.rust-lang.org/infra/other-installation-methods.html" 18UPSTREAM_CHECK_URI = "https://forge.rust-lang.org/infra/other-installation-methods.html"
22UPSTREAM_CHECK_REGEX = "rustc-(?P<pver>\d+(\.\d+)+)-src" 19UPSTREAM_CHECK_REGEX = "rustc-(?P<pver>\d+(\.\d+)+)-src"
23 20
24CVE_STATUS[CVE-2024-24576] = "not-applicable-platform: Issue only applies on Windows" 21CVE_STATUS[CVE-2024-24576] = "not-applicable-platform: Issue only applies on Windows"
22CVE_STATUS[CVE-2024-43402] = "not-applicable-platform: Issue only applies on Windows"
diff --git a/meta/recipes-devtools/rust/rust_1.75.0.bb b/meta/recipes-devtools/rust/rust_1.87.0.bb
index 76e1fe2d84..5d804c7398 100644
--- a/meta/recipes-devtools/rust/rust_1.75.0.bb
+++ b/meta/recipes-devtools/rust/rust_1.87.0.bb
@@ -1,17 +1,17 @@
1SUMMARY = "Rust compiler and runtime libaries" 1SUMMARY = "Rust compiler and runtime libaries"
2HOMEPAGE = "http://www.rust-lang.org" 2HOMEPAGE = "http://www.rust-lang.org"
3SECTION = "devel" 3SECTION = "devel"
4LICENSE = "(MIT | Apache-2.0) & Unicode-TOU" 4LICENSE = "(MIT | Apache-2.0) & Unicode-3.0"
5LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=c2cccf560306876da3913d79062a54b9" 5LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=11a3899825f4376896e438c8c753f8dc"
6 6
7inherit rust 7inherit rust
8inherit cargo_common 8inherit cargo_common
9 9
10DEPENDS += "file-native python3-native" 10DEPENDS += "rust-llvm"
11DEPENDS:append:class-native = " rust-llvm-native" 11# native rust uses cargo/rustc from binary snapshots to bootstrap
12DEPENDS:append:class-nativesdk = " nativesdk-rust-llvm" 12# but everything else should use our native builds
13 13DEPENDS:append:class-target = " cargo-native rust-native"
14DEPENDS += "rust-llvm (=${PV})" 14DEPENDS:append:class-nativesdk = " cargo-native rust-native"
15 15
16RDEPENDS:${PN}:append:class-target = " gcc g++ binutils" 16RDEPENDS:${PN}:append:class-target = " gcc g++ binutils"
17 17
@@ -26,7 +26,7 @@ S = "${RUSTSRC}"
26RUST_CHANNEL ?= "stable" 26RUST_CHANNEL ?= "stable"
27PV .= "${@bb.utils.contains('RUST_CHANNEL', 'stable', '', '-${RUST_CHANNEL}', d)}" 27PV .= "${@bb.utils.contains('RUST_CHANNEL', 'stable', '', '-${RUST_CHANNEL}', d)}"
28 28
29export FORCE_CRATE_HASH="${BB_TASKHASH}" 29export FORCE_CRATE_HASH = "${BB_TASKHASH}"
30 30
31RUST_ALTERNATE_EXE_PATH ?= "${STAGING_LIBDIR}/llvm-rust/bin/llvm-config" 31RUST_ALTERNATE_EXE_PATH ?= "${STAGING_LIBDIR}/llvm-rust/bin/llvm-config"
32RUST_ALTERNATE_EXE_PATH_NATIVE = "${STAGING_LIBDIR_NATIVE}/llvm-rust/bin/llvm-config" 32RUST_ALTERNATE_EXE_PATH_NATIVE = "${STAGING_LIBDIR_NATIVE}/llvm-rust/bin/llvm-config"
@@ -35,8 +35,6 @@ RUST_ALTERNATE_EXE_PATH_NATIVE = "${STAGING_LIBDIR_NATIVE}/llvm-rust/bin/llvm-co
35# own vendoring. 35# own vendoring.
36CARGO_DISABLE_BITBAKE_VENDORING = "1" 36CARGO_DISABLE_BITBAKE_VENDORING = "1"
37 37
38# We can't use RUST_BUILD_SYS here because that may be "musl" if
39# TCLIBC="musl". Snapshots are always -unknown-linux-gnu
40setup_cargo_environment () { 38setup_cargo_environment () {
41 # The first step is to build bootstrap and some early stage tools, 39 # The first step is to build bootstrap and some early stage tools,
42 # these are build for the same target as the snapshot, e.g. 40 # these are build for the same target as the snapshot, e.g.
@@ -48,20 +46,20 @@ setup_cargo_environment () {
48inherit rust-target-config 46inherit rust-target-config
49 47
50do_rust_setup_snapshot () { 48do_rust_setup_snapshot () {
51 for installer in "${WORKDIR}/rust-snapshot-components/"*"/install.sh"; do 49 for installer in "${UNPACKDIR}/rust-snapshot-components/"*"/install.sh"; do
52 "${installer}" --prefix="${WORKDIR}/rust-snapshot" --disable-ldconfig 50 "${installer}" --prefix="${WORKDIR}/rust-snapshot" --disable-ldconfig
53 done 51 done
54 52
55 # Some versions of rust (e.g. 1.18.0) tries to find cargo in stage0/bin/cargo 53 # Some versions of rust (e.g. 1.18.0) tries to find cargo in stage0/bin/cargo
56 # and fail without it there. 54 # and fail without it there.
57 mkdir -p ${RUSTSRC}/build/${BUILD_SYS} 55 mkdir -p ${RUSTSRC}/build/${RUST_BUILD_SYS}
58 ln -sf ${WORKDIR}/rust-snapshot/ ${RUSTSRC}/build/${BUILD_SYS}/stage0 56 ln -sf ${WORKDIR}/rust-snapshot/ ${RUSTSRC}/build/${RUST_BUILD_SYS}/stage0
59 57
60 # Need to use uninative's loader if enabled/present since the library paths 58 # Need to use uninative's loader if enabled/present since the library paths
61 # are used internally by rust and result in symbol mismatches if we don't 59 # are used internally by rust and result in symbol mismatches if we don't
62 if [ ! -z "${UNINATIVE_LOADER}" -a -e "${UNINATIVE_LOADER}" ]; then 60 if [ ! -z "${UNINATIVE_LOADER}" -a -e "${UNINATIVE_LOADER}" ]; then
63 for bin in cargo rustc rustdoc; do 61 for bin in cargo rustc rustdoc; do
64 patchelf-uninative ${WORKDIR}/rust-snapshot/bin/$bin --set-interpreter ${UNINATIVE_LOADER} 62 patchelf ${WORKDIR}/rust-snapshot/bin/$bin --set-interpreter ${UNINATIVE_LOADER}
65 done 63 done
66 fi 64 fi
67} 65}
@@ -69,6 +67,12 @@ addtask rust_setup_snapshot after do_unpack before do_configure
69addtask do_test_compile after do_configure do_rust_gen_targets 67addtask do_test_compile after do_configure do_rust_gen_targets
70do_rust_setup_snapshot[dirs] += "${WORKDIR}/rust-snapshot" 68do_rust_setup_snapshot[dirs] += "${WORKDIR}/rust-snapshot"
71do_rust_setup_snapshot[vardepsexclude] += "UNINATIVE_LOADER" 69do_rust_setup_snapshot[vardepsexclude] += "UNINATIVE_LOADER"
70do_rust_setup_snapshot[depends] += "patchelf-native:do_populate_sysroot"
71
72RUSTC_BOOTSTRAP = "${STAGING_BINDIR_NATIVE}/rustc"
73CARGO_BOOTSTRAP = "${STAGING_BINDIR_NATIVE}/cargo"
74RUSTC_BOOTSTRAP:class-native = "${WORKDIR}/rust-snapshot/bin/rustc"
75CARGO_BOOTSTRAP:class-native = "${WORKDIR}/rust-snapshot/bin/cargo"
72 76
73python do_configure() { 77python do_configure() {
74 import json 78 import json
@@ -121,6 +125,7 @@ python do_configure() {
121 # [llvm] 125 # [llvm]
122 config.add_section("llvm") 126 config.add_section("llvm")
123 config.set("llvm", "static-libstdcpp", e(False)) 127 config.set("llvm", "static-libstdcpp", e(False))
128 config.set("llvm", "download-ci-llvm", e(False))
124 if "llvm" in (d.getVar('TC_CXX_RUNTIME') or ""): 129 if "llvm" in (d.getVar('TC_CXX_RUNTIME') or ""):
125 config.set("llvm", "use-libcxx", e(True)) 130 config.set("llvm", "use-libcxx", e(True))
126 131
@@ -128,6 +133,10 @@ python do_configure() {
128 config.add_section("rust") 133 config.add_section("rust")
129 config.set("rust", "rpath", e(True)) 134 config.set("rust", "rpath", e(True))
130 config.set("rust", "remap-debuginfo", e(True)) 135 config.set("rust", "remap-debuginfo", e(True))
136 config.set("rust", "download-rustc", e(False))
137 config.set("rust", "llvm-tools", e(False))
138 config.set("rust", "lld", e(False))
139 config.set("rust", "use-lld", e(False))
131 config.set("rust", "channel", e(d.expand("${RUST_CHANNEL}"))) 140 config.set("rust", "channel", e(d.expand("${RUST_CHANNEL}")))
132 141
133 # Whether or not to optimize the compiler and standard library 142 # Whether or not to optimize the compiler and standard library
@@ -141,14 +150,15 @@ python do_configure() {
141 config.add_section("build") 150 config.add_section("build")
142 config.set("build", "submodules", e(False)) 151 config.set("build", "submodules", e(False))
143 config.set("build", "docs", e(False)) 152 config.set("build", "docs", e(False))
144 config.set("build", "tools", ["rust-demangler",])
145 153
146 rustc = d.expand("${WORKDIR}/rust-snapshot/bin/rustc") 154 rustc = d.getVar('RUSTC_BOOTSTRAP')
147 config.set("build", "rustc", e(rustc)) 155 config.set("build", "rustc", e(rustc))
148 156
149 cargo = d.expand("${WORKDIR}/rust-snapshot/bin/cargo") 157 cargo = d.getVar('CARGO_BOOTSTRAP')
150 config.set("build", "cargo", e(cargo)) 158 config.set("build", "cargo", e(cargo))
151 159
160 config.set("build", "extended", e(False))
161
152 config.set("build", "vendor", e(True)) 162 config.set("build", "vendor", e(True))
153 163
154 config.set("build", "target", e([d.getVar("RUST_TARGET_SYS")])) 164 config.set("build", "target", e([d.getVar("RUST_TARGET_SYS")]))
@@ -197,9 +207,9 @@ rust_runx () {
197 mkdir -p `dirname ${RUST_ALTERNATE_EXE_PATH}` 207 mkdir -p `dirname ${RUST_ALTERNATE_EXE_PATH}`
198 cp ${RUST_ALTERNATE_EXE_PATH_NATIVE} ${RUST_ALTERNATE_EXE_PATH} 208 cp ${RUST_ALTERNATE_EXE_PATH_NATIVE} ${RUST_ALTERNATE_EXE_PATH}
199 if [ -e ${STAGING_LIBDIR_NATIVE}/libc++.so.1 ]; then 209 if [ -e ${STAGING_LIBDIR_NATIVE}/libc++.so.1 ]; then
200 chrpath -r \$ORIGIN/../../../../../`basename ${STAGING_DIR_NATIVE}`${libdir_native} ${RUST_ALTERNATE_EXE_PATH} 210 patchelf --set-rpath \$ORIGIN/../../../../../`basename ${STAGING_DIR_NATIVE}`${libdir_native} ${RUST_ALTERNATE_EXE_PATH}
201 else 211 else
202 chrpath -d ${RUST_ALTERNATE_EXE_PATH} 212 patchelf --remove-rpath ${RUST_ALTERNATE_EXE_PATH}
203 fi 213 fi
204 fi 214 fi
205 215
@@ -231,6 +241,7 @@ PACKAGES =+ "${PN}-rustdoc ${PN}-tools-clippy ${PN}-tools-rustfmt"
231FILES:${PN}-rustdoc = "${bindir}/rustdoc" 241FILES:${PN}-rustdoc = "${bindir}/rustdoc"
232FILES:${PN}-tools-clippy = "${bindir}/cargo-clippy ${bindir}/clippy-driver" 242FILES:${PN}-tools-clippy = "${bindir}/cargo-clippy ${bindir}/clippy-driver"
233FILES:${PN}-tools-rustfmt = "${bindir}/rustfmt" 243FILES:${PN}-tools-rustfmt = "${bindir}/rustfmt"
244
234RDEPENDS:${PN}-rustdoc = "${PN}" 245RDEPENDS:${PN}-rustdoc = "${PN}"
235RDEPENDS:${PN}-tools-clippy = "${PN}" 246RDEPENDS:${PN}-tools-clippy = "${PN}"
236RDEPENDS:${PN}-tools-rustfmt = "${PN}" 247RDEPENDS:${PN}-tools-rustfmt = "${PN}"
@@ -255,16 +266,31 @@ rust_do_install:class-nativesdk() {
255 266
256 install -d ${D}${bindir} 267 install -d ${D}${bindir}
257 for i in cargo-clippy clippy-driver rustfmt; do 268 for i in cargo-clippy clippy-driver rustfmt; do
258 cp build/${RUST_BUILD_SYS}/stage2-tools/${RUST_HOST_SYS}/release/$i ${D}${bindir} 269 cp build/${RUST_BUILD_SYS}/stage1-tools/${RUST_HOST_SYS}/release/$i ${D}${bindir}
259 chrpath -r "\$ORIGIN/../lib" ${D}${bindir}/$i 270 patchelf --set-rpath "\$ORIGIN/../lib" ${D}${bindir}/$i
260 done 271 done
261 272
262 chown root:root ${D}/ -R 273 chown root:root ${D}/ -R
263 rm ${D}${libdir}/rustlib/uninstall.sh 274 rm ${D}${libdir}/rustlib/uninstall.sh
264 rm ${D}${libdir}/rustlib/install.log 275 rm ${D}${libdir}/rustlib/install.log
265 rm ${D}${libdir}/rustlib/manifest* 276 rm ${D}${libdir}/rustlib/manifest*
277 rm ${D}${libdir}/rustlib/${RUST_HOST_SYS}/lib/libstd*.so
278
279 ENV_SETUP_DIR=${D}${base_prefix}/environment-setup.d
280 mkdir "${ENV_SETUP_DIR}"
281 RUST_ENV_SETUP_SH="${ENV_SETUP_DIR}/rust.sh"
282 RUST_HOST_TRIPLE=`echo ${RUST_HOST_SYS} | tr '[:lower:]' '[:upper:]' | sed 's/-/_/g'`
283 RUST_HOST_CC=`echo ${RUST_HOST_SYS} | sed 's/-/_/g'`
284 SDKLOADER=${@bb.utils.contains('SDK_ARCH', 'x86_64', 'ld-linux-x86-64.so.2', '', d)}${@bb.utils.contains('SDK_ARCH', 'i686', 'ld-linux.so.2', '', d)}${@bb.utils.contains('SDK_ARCH', 'aarch64', 'ld-linux-aarch64.so.1', '', d)}${@bb.utils.contains('SDK_ARCH', 'ppc64le', 'ld64.so.2', '', d)}${@bb.utils.contains('SDK_ARCH', 'riscv64', 'ld-linux-riscv64-lp64d.so.1', '', d)}
285
286 cat <<- EOF > "${RUST_ENV_SETUP_SH}"
287 export CARGO_TARGET_${RUST_HOST_TRIPLE}_RUNNER="\$OECORE_NATIVE_SYSROOT/lib/${SDKLOADER}"
288 export CC_$RUST_HOST_CC="${CCACHE}${HOST_PREFIX}gcc"
289 EOF
266} 290}
267 291
292FILES:${PN} += "${base_prefix}/environment-setup.d"
293
268EXTRA_TOOLS ?= "cargo-clippy clippy-driver rustfmt" 294EXTRA_TOOLS ?= "cargo-clippy clippy-driver rustfmt"
269rust_do_install:class-target() { 295rust_do_install:class-target() {
270 export PSEUDO_UNLOAD=1 296 export PSEUDO_UNLOAD=1
@@ -275,8 +301,8 @@ rust_do_install:class-target() {
275 301
276 install -d ${D}${bindir} 302 install -d ${D}${bindir}
277 for i in ${EXTRA_TOOLS}; do 303 for i in ${EXTRA_TOOLS}; do
278 cp build/${RUST_BUILD_SYS}/stage2-tools/${RUST_HOST_SYS}/release/$i ${D}${bindir} 304 cp build/${RUST_BUILD_SYS}/stage1-tools/${RUST_HOST_SYS}/release/$i ${D}${bindir}
279 chrpath -r "\$ORIGIN/../lib" ${D}${bindir}/$i 305 patchelf --set-rpath "\$ORIGIN/../lib" ${D}${bindir}/$i
280 done 306 done
281 307
282 install -d ${D}${libdir}/rustlib/${RUST_HOST_SYS} 308 install -d ${D}${libdir}/rustlib/${RUST_HOST_SYS}
@@ -286,6 +312,7 @@ rust_do_install:class-target() {
286 rm ${D}${libdir}/rustlib/uninstall.sh 312 rm ${D}${libdir}/rustlib/uninstall.sh
287 rm ${D}${libdir}/rustlib/install.log 313 rm ${D}${libdir}/rustlib/install.log
288 rm ${D}${libdir}/rustlib/manifest* 314 rm ${D}${libdir}/rustlib/manifest*
315 rm ${D}${libdir}/rustlib/${RUST_HOST_SYS}/lib/libstd*.so
289} 316}
290 317
291addtask do_update_snapshot after do_patch 318addtask do_update_snapshot after do_patch
@@ -301,24 +328,37 @@ python do_update_snapshot() {
301 328
302 from collections import defaultdict 329 from collections import defaultdict
303 330
304 with open(os.path.join(d.getVar("S"), "src", "stage0.json")) as f: 331 key_value_pairs = {}
305 j = json.load(f) 332 with open(os.path.join(d.getVar("S"), "src", "stage0")) as f:
306 333 for line in f:
307 config_dist_server = j['config']['dist_server'] 334 # Skip empty lines or comments
308 compiler_date = j['compiler']['date'] 335 if not line.strip() or line.startswith("#"):
309 compiler_version = j['compiler']['version'] 336 continue
337 # Split the line into key and value using '=' as separator
338 match = re.match(r'(\S+)\s*=\s*(\S+)', line.strip())
339 if match:
340 key = match.group(1)
341 value = match.group(2)
342 key_value_pairs[key] = value
343 # Extract the required values from key_value_pairs
344 config_dist_server = key_value_pairs.get('dist_server', '')
345 compiler_date = key_value_pairs.get('compiler_date', '')
346 compiler_version = key_value_pairs.get('compiler_version', '')
310 347
311 src_uri = defaultdict(list) 348 src_uri = defaultdict(list)
312 for k, v in j['checksums_sha256'].items(): 349 # Assuming checksums_sha256 is now a key-value pair like: checksum_key = checksum_value
313 m = re.search(f"dist/{compiler_date}/(?P<component>.*)-{compiler_version}-(?P<arch>.*)-unknown-linux-gnu\\.tar\\.xz", k) 350 for k, v in key_value_pairs.items():
314 if m: 351 # Match the pattern for checksums
315 component = m.group('component') 352 if "dist" in k and "tar.xz" in k:
316 arch = m.group('arch') 353 m = re.search(f"dist/{compiler_date}/(?P<component>.*)-{compiler_version}-(?P<arch>.*)-unknown-linux-gnu\\.tar\\.xz", k)
317 src_uri[arch].append(f"SRC_URI[{component}-snapshot-{arch}.sha256sum] = \"{v}\"") 354 if m:
318 355 component = m.group('component')
356 arch = m.group('arch')
357 src_uri[arch].append(f"SRC_URI[{component}-snapshot-{arch}.sha256sum] = \"{v}\"")
358 # Create the snapshot string with the extracted values
319 snapshot = """\ 359 snapshot = """\
320## This is information on the rust-snapshot (binary) used to build our current release. 360## This is information on the rust-snapshot (binary) used to build our current release.
321## snapshot info is taken from rust/src/stage0.json 361## snapshot info is taken from rust/src/stage0
322## Rust is self-hosting and bootstraps itself with a pre-built previous version of itself. 362## Rust is self-hosting and bootstraps itself with a pre-built previous version of itself.
323## The exact (previous) version that has been used is specified in the source tarball. 363## The exact (previous) version that has been used is specified in the source tarball.
324## The version is replicated here. 364## The version is replicated here.
@@ -326,10 +366,10 @@ python do_update_snapshot() {
326SNAPSHOT_VERSION = "%s" 366SNAPSHOT_VERSION = "%s"
327 367
328""" % compiler_version 368""" % compiler_version
329 369 # Add the checksum components to the snapshot
330 for arch, components in src_uri.items(): 370 for arch, components in src_uri.items():
331 snapshot += "\n".join(components) + "\n\n" 371 snapshot += "\n".join(components) + "\n\n"
332 372 # Add the additional snapshot URIs
333 snapshot += """\ 373 snapshot += """\
334SRC_URI += " \\ 374SRC_URI += " \\
335 ${RUST_DIST_SERVER}/dist/${RUST_STD_SNAPSHOT}.tar.xz;name=rust-std-snapshot-${RUST_BUILD_ARCH};subdir=rust-snapshot-components \\ 375 ${RUST_DIST_SERVER}/dist/${RUST_STD_SNAPSHOT}.tar.xz;name=rust-std-snapshot-${RUST_BUILD_ARCH};subdir=rust-snapshot-components \\
@@ -343,7 +383,7 @@ RUST_STD_SNAPSHOT = "rust-std-${SNAPSHOT_VERSION}-${RUST_BUILD_ARCH}-unknown-lin
343RUSTC_SNAPSHOT = "rustc-${SNAPSHOT_VERSION}-${RUST_BUILD_ARCH}-unknown-linux-gnu" 383RUSTC_SNAPSHOT = "rustc-${SNAPSHOT_VERSION}-${RUST_BUILD_ARCH}-unknown-linux-gnu"
344CARGO_SNAPSHOT = "cargo-${SNAPSHOT_VERSION}-${RUST_BUILD_ARCH}-unknown-linux-gnu" 384CARGO_SNAPSHOT = "cargo-${SNAPSHOT_VERSION}-${RUST_BUILD_ARCH}-unknown-linux-gnu"
345""" % config_dist_server 385""" % config_dist_server
346 386 # Write the updated snapshot information to the rust-snapshot.inc file
347 with open(os.path.join(d.getVar("THISDIR"), "rust-snapshot.inc"), "w") as f: 387 with open(os.path.join(d.getVar("THISDIR"), "rust-snapshot.inc"), "w") as f:
348 f.write(snapshot) 388 f.write(snapshot)
349} 389}
@@ -354,8 +394,3 @@ RUSTLIB_DEP:class-nativesdk = ""
354INSANE_SKIP:${PN} = "staticdev" 394INSANE_SKIP:${PN} = "staticdev"
355 395
356BBCLASSEXTEND = "native nativesdk" 396BBCLASSEXTEND = "native nativesdk"
357
358# Since 1.70.0 upgrade this fails to build with gold:
359# http://errors.yoctoproject.org/Errors/Details/708196/
360# ld: error: version script assignment of to symbol __rust_alloc_error_handler_should_panic failed: symbol not defined
361LDFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd', '', d)}"
diff --git a/meta/recipes-devtools/squashfs-tools/squashfs-tools/pid.patch b/meta/recipes-devtools/squashfs-tools/squashfs-tools/pid.patch
new file mode 100644
index 0000000000..a15b621124
--- /dev/null
+++ b/meta/recipes-devtools/squashfs-tools/squashfs-tools/pid.patch
@@ -0,0 +1,40 @@
1From 05a895b3f996d1ac157d95b04980f5f047e7dbf7 Mon Sep 17 00:00:00 2001
2From: Ross Burton <ross.burton@arm.com>
3Date: Fri, 6 Jun 2025 15:23:07 +0100
4Subject: [PATCH] print_pager: add missing includes
5
6When building with musl:
7
8 print_pager.h:33:25: error: unknown type name 'pid_t'
9 33 | extern void wait_to_die(pid_t process);
10 | ^~~~~
11 print_pager.h:34:25: error: unknown type name 'pid_t'
12 34 | extern FILE *exec_pager(pid_t *process);
13 | ^~~~~
14
15print_pager.h uses pid_t and FILE, so add the required #includes to
16ensure that these are defined.
17
18Upstream-Status: Submitted [https://github.com/plougher/squashfs-tools/pull/314]
19Signed-off-by: Ross Burton <ross.burton@arm.com>
20---
21 squashfs-tools/print_pager.h | 3 +++
22 1 file changed, 3 insertions(+)
23
24diff --git a/squashfs-tools/print_pager.h b/squashfs-tools/print_pager.h
25index c33d4d2e..f3e0da6c 100644
26--- a/squashfs-tools/print_pager.h
27+++ b/squashfs-tools/print_pager.h
28@@ -30,6 +30,9 @@
29 #define MORE_PAGER 2
30 #define UNKNOWN_PAGER 3
31
32+#include <stdio.h>
33+#include <sys/types.h>
34+
35 extern void wait_to_die(pid_t process);
36 extern FILE *exec_pager(pid_t *process);
37 extern int get_column_width();
38--
392.43.0
40
diff --git a/meta/recipes-devtools/squashfs-tools/squashfs-tools/thread.patch b/meta/recipes-devtools/squashfs-tools/squashfs-tools/thread.patch
new file mode 100644
index 0000000000..01741639c0
--- /dev/null
+++ b/meta/recipes-devtools/squashfs-tools/squashfs-tools/thread.patch
@@ -0,0 +1,33 @@
1From b6e9f4b62cc3e762ceeddc0fc099f7d65f7b7361 Mon Sep 17 00:00:00 2001
2From: Shiji Yang <yangshiji66@outlook.com>
3Date: Wed, 4 Jun 2025 19:53:39 +0800
4Subject: [PATCH] thread: add the missing pthread.h header
5
6Fix build error on macos:
7
8In file included from mksquashfs_help.c:35:
9./thread.h:46:39: error: unknown type name 'pthread_mutex_t'; did you mean 'pthread_attr_t'?
10 46 | extern void wait_thread_idle(int tid, pthread_mutex_t *mutex);
11 | ^~~~~~~~~~~~~~~
12 | pthread_attr_t
13
14Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
15
16Upstream-Status: Backport [b6e9f4b62cc3e762ceeddc0fc099f7d65f7b7361]
17Signed-off-by: Ross Burton <ross.burton@arm.com>
18---
19 squashfs-tools/thread.h | 1 +
20 1 file changed, 1 insertion(+)
21
22diff --git a/squashfs-tools/thread.h b/squashfs-tools/thread.h
23index 5a22fc43..e56a58cf 100644
24--- a/squashfs-tools/thread.h
25+++ b/squashfs-tools/thread.h
26@@ -22,6 +22,7 @@
27 *
28 * thread.h
29 */
30+#include <pthread.h>
31
32 #define TRUE 1
33 #define FALSE 0
diff --git a/meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb b/meta/recipes-devtools/squashfs-tools/squashfs-tools_4.7.bb
index 982a43f889..8006f80aee 100644
--- a/meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb
+++ b/meta/recipes-devtools/squashfs-tools/squashfs-tools_4.7.bb
@@ -1,5 +1,3 @@
1# Note, we can probably remove the lzma option as it has be replaced with xz,
2# and I don't think the kernel supports it any more.
3SUMMARY = "Tools for manipulating SquashFS filesystems" 1SUMMARY = "Tools for manipulating SquashFS filesystems"
4HOMEPAGE = "https://github.com/plougher/squashfs-tools" 2HOMEPAGE = "https://github.com/plougher/squashfs-tools"
5DESCRIPTION = "Tools to create and extract Squashfs filesystems." 3DESCRIPTION = "Tools to create and extract Squashfs filesystems."
@@ -7,34 +5,32 @@ SECTION = "base"
7LICENSE = "GPL-2.0-only" 5LICENSE = "GPL-2.0-only"
8LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" 6LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
9 7
10PV = "4.6.1" 8SRC_URI = "git://github.com/plougher/squashfs-tools.git;protocol=https;branch=master;tag=${PV} \
11SRCREV = "d8cb82d9840330f9344ec37b992595b5d7b44184" 9 file://pid.patch \
12SRC_URI = "git://github.com/plougher/squashfs-tools.git;protocol=https;branch=v6.1.1" 10 file://thread.patch"
13UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))" 11SRCREV = "2e87d42ed089dc31990d83eeb07437b9d085d6d1"
14 12
15S = "${WORKDIR}/git" 13UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))"
16 14
17EXTRA_OEMAKE = "${PACKAGECONFIG_CONFARGS}" 15EXTRA_OEMAKE = "${PACKAGECONFIG_CONFARGS}"
18 16
19PACKAGECONFIG ??= "gzip xz lzo lz4 lzma xattr zstd reproducible" 17PACKAGECONFIG ??= "gzip lz4 xz zstd xattr"
20PACKAGECONFIG[gzip] = "GZIP_SUPPORT=1,GZIP_SUPPORT=0,zlib" 18PACKAGECONFIG[gzip] = "GZIP_SUPPORT=1,GZIP_SUPPORT=0,zlib"
21PACKAGECONFIG[xz] = "XZ_SUPPORT=1,XZ_SUPPORT=0,xz" 19PACKAGECONFIG[xz] = "XZ_SUPPORT=1,XZ_SUPPORT=0,xz"
22PACKAGECONFIG[lzo] = "LZO_SUPPORT=1,LZO_SUPPORT=0,lzo" 20PACKAGECONFIG[lzo] = "LZO_SUPPORT=1,LZO_SUPPORT=0,lzo"
23PACKAGECONFIG[lz4] = "LZ4_SUPPORT=1,LZ4_SUPPORT=0,lz4" 21PACKAGECONFIG[lz4] = "LZ4_SUPPORT=1,LZ4_SUPPORT=0,lz4"
24PACKAGECONFIG[lzma] = "LZMA_XZ_SUPPORT=1,LZMA_XZ_SUPPORT=0,xz" 22PACKAGECONFIG[lzma] = "LZMA_XZ_SUPPORT=1,LZMA_XZ_SUPPORT=0,xz"
25PACKAGECONFIG[xattr] = "XATTR_SUPPORT=1,XATTR_SUPPORT=0,attr"
26PACKAGECONFIG[zstd] = "ZSTD_SUPPORT=1,ZSTD_SUPPORT=0,zstd" 23PACKAGECONFIG[zstd] = "ZSTD_SUPPORT=1,ZSTD_SUPPORT=0,zstd"
27PACKAGECONFIG[reproducible] = "REPRODUCIBLE_DEFAULT=1,REPRODUCIBLE_DEFAULT=0," 24PACKAGECONFIG[xattr] = "XATTR_SUPPORT=1,XATTR_SUPPORT=0,attr"
28 25
29do_compile() { 26do_compile() {
30 cd ${S}/squashfs-tools 27 oe_runmake -C ${S}/squashfs-tools all
31 oe_runmake all
32} 28}
33 29
34do_install() { 30do_install() {
35 cd ${S}/squashfs-tools 31 oe_runmake -C ${S}/squashfs-tools install INSTALL_PREFIX=${D}${prefix} INSTALL_MANPAGES_DIR=${D}${datadir}/man/man1
32
36 install -d "${D}${includedir}" 33 install -d "${D}${includedir}"
37 oe_runmake install INSTALL_PREFIX=${D}${prefix} INSTALL_MANPAGES_DIR=${D}${datadir}/man/man1
38 install -m 0644 "${S}"/squashfs-tools/squashfs_fs.h "${D}${includedir}" 34 install -m 0644 "${S}"/squashfs-tools/squashfs_fs.h "${D}${includedir}"
39} 35}
40 36
diff --git a/meta/recipes-devtools/strace/strace/0001-configure-Use-autoconf-macro-to-detect-largefile-sup.patch b/meta/recipes-devtools/strace/strace/0001-configure-Use-autoconf-macro-to-detect-largefile-sup.patch
index 76ca7a76a8..86dcd97713 100644
--- a/meta/recipes-devtools/strace/strace/0001-configure-Use-autoconf-macro-to-detect-largefile-sup.patch
+++ b/meta/recipes-devtools/strace/strace/0001-configure-Use-autoconf-macro-to-detect-largefile-sup.patch
@@ -1,4 +1,4 @@
1From 470399f3636c412b74f9daf6ae430b13c3126f02 Mon Sep 17 00:00:00 2001 1From ec543417b8e1df7c71dfc4728313849d9ab669a6 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 15 Dec 2022 15:54:27 -0800 3Date: Thu, 15 Dec 2022 15:54:27 -0800
4Subject: [PATCH] configure: Use autoconf macro to detect largefile support 4Subject: [PATCH] configure: Use autoconf macro to detect largefile support
@@ -13,10 +13,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 1 file changed, 2 insertions(+) 13 1 file changed, 2 insertions(+)
14 14
15diff --git a/configure.ac b/configure.ac 15diff --git a/configure.ac b/configure.ac
16index 4797b42dd..7d57fb254 100644 16index 36fff90..9e40ab5 100644
17--- a/configure.ac 17--- a/configure.ac
18+++ b/configure.ac 18+++ b/configure.ac
19@@ -43,6 +43,8 @@ AC_PROG_INSTALL 19@@ -42,6 +42,8 @@ AC_PROG_INSTALL
20 AC_PROG_RANLIB 20 AC_PROG_RANLIB
21 AC_PROG_LN_S 21 AC_PROG_LN_S
22 22
diff --git a/meta/recipes-devtools/strace/strace/0001-strace-fix-reproducibilty-issues.patch b/meta/recipes-devtools/strace/strace/0001-strace-fix-reproducibilty-issues.patch
index c4c176e6bc..9cdb7c6134 100644
--- a/meta/recipes-devtools/strace/strace/0001-strace-fix-reproducibilty-issues.patch
+++ b/meta/recipes-devtools/strace/strace/0001-strace-fix-reproducibilty-issues.patch
@@ -1,4 +1,4 @@
1From 6309792c49ca900cec6a7f1dc5b51bf75b629e11 Mon Sep 17 00:00:00 2001 1From d5f681c2de834110de260f4d071c7bc1fb0d7564 Mon Sep 17 00:00:00 2001
2From: Jeremy Puhlman <jpuhlman@mvista.com> 2From: Jeremy Puhlman <jpuhlman@mvista.com>
3Date: Wed, 11 Mar 2020 19:56:55 +0000 3Date: Wed, 11 Mar 2020 19:56:55 +0000
4Subject: [PATCH] strace: fix reproducibilty issues 4Subject: [PATCH] strace: fix reproducibilty issues
@@ -13,7 +13,7 @@ Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
13 1 file changed, 2 insertions(+), 2 deletions(-) 13 1 file changed, 2 insertions(+), 2 deletions(-)
14 14
15diff --git a/tests/gen_tests.sh b/tests/gen_tests.sh 15diff --git a/tests/gen_tests.sh b/tests/gen_tests.sh
16index 5e1e7c9..1e65eac 100755 16index 8f47651..65267db 100755
17--- a/tests/gen_tests.sh 17--- a/tests/gen_tests.sh
18+++ b/tests/gen_tests.sh 18+++ b/tests/gen_tests.sh
19@@ -46,7 +46,7 @@ while read -r name arg0 args; do { 19@@ -46,7 +46,7 @@ while read -r name arg0 args; do {
@@ -25,7 +25,7 @@ index 5e1e7c9..1e65eac 100755
25 25
26 case "$arg0" in 26 case "$arg0" in
27 +*) 27 +*)
28@@ -80,7 +80,7 @@ while read -r name arg0 args; do { 28@@ -91,7 +91,7 @@ while read -r name arg0 args; do {
29 29
30 if [ -n "$names" ]; then 30 if [ -n "$names" ]; then
31 { 31 {
@@ -34,6 +34,3 @@ index 5e1e7c9..1e65eac 100755
34 printf 'GEN_TESTS =' 34 printf 'GEN_TESTS ='
35 printf ' %s.gen.test' $names 35 printf ' %s.gen.test' $names
36 echo 36 echo
37--
382.24.1
39
diff --git a/meta/recipes-devtools/strace/strace/0002-tests-Replace-off64_t-with-off_t.patch b/meta/recipes-devtools/strace/strace/0002-tests-Replace-off64_t-with-off_t.patch
index 0cabdfe99f..fc6ed7ac4d 100644
--- a/meta/recipes-devtools/strace/strace/0002-tests-Replace-off64_t-with-off_t.patch
+++ b/meta/recipes-devtools/strace/strace/0002-tests-Replace-off64_t-with-off_t.patch
@@ -1,4 +1,4 @@
1From 579b2ebe52d4b97f954e6188df2d07e137820075 Mon Sep 17 00:00:00 2001 1From 1891db87da3b204c512f47155aaa4e692008f1bf Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 15 Dec 2022 15:56:13 -0800 3Date: Thu, 15 Dec 2022 15:56:13 -0800
4Subject: [PATCH] tests: Replace off64_t with off_t 4Subject: [PATCH] tests: Replace off64_t with off_t
@@ -10,9 +10,12 @@ Upstream-Status: Submitted [https://github.com/strace/strace/pull/230]
10Signed-off-by: Khem Raj <raj.khem@gmail.com> 10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11--- 11---
12 tests/readahead.c | 2 +- 12 tests/readahead.c | 2 +-
13 tests/sync_file_range.c | 4 ++--
13 tests/sync_file_range2.c | 4 ++-- 14 tests/sync_file_range2.c | 4 ++--
14 2 files changed, 3 insertions(+), 3 deletions(-) 15 3 files changed, 5 insertions(+), 5 deletions(-)
15 16
17diff --git a/tests/readahead.c b/tests/readahead.c
18index 1072378..b9597e6 100644
16--- a/tests/readahead.c 19--- a/tests/readahead.c
17+++ b/tests/readahead.c 20+++ b/tests/readahead.c
18@@ -42,7 +42,7 @@ static const int fds[] = { 21@@ -42,7 +42,7 @@ static const int fds[] = {
@@ -24,29 +27,33 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
24 -0x8000000000000000LL, 27 -0x8000000000000000LL,
25 -0x5060708090a0b0c0LL, 28 -0x5060708090a0b0c0LL,
26 -1LL, 29 -1LL,
27--- a/tests/sync_file_range2.c 30diff --git a/tests/sync_file_range.c b/tests/sync_file_range.c
28+++ b/tests/sync_file_range2.c 31index e93ab6c..dc76865 100644
32--- a/tests/sync_file_range.c
33+++ b/tests/sync_file_range.c
29@@ -20,8 +20,8 @@ int 34@@ -20,8 +20,8 @@ int
30 main(void) 35 main(void)
31 { 36 {
32 const int fd = -1; 37 const int fd = -1;
33- const off64_t offset = 0xdeadbeefbadc0ded; 38- const off64_t offset = 0xdeadbeefbadc0dedULL;
34- const off64_t nbytes = 0xfacefeedcafef00d; 39- const off64_t nbytes = 0xfacefeedcafef00dULL;
35+ const off_t offset = 0xdeadbeefbadc0ded; 40+ const off_t offset = 0xdeadbeefbadc0dedULL;
36+ const off_t nbytes = 0xfacefeedcafef00d; 41+ const off_t nbytes = 0xfacefeedcafef00dULL;
37 const unsigned int flags = -1; 42 const unsigned int flags = -1;
38 43
39 int rc = sync_file_range(fd, offset, nbytes, flags); 44 int rc = sync_file_range(fd, offset, nbytes, flags);
40--- a/tests/sync_file_range.c 45diff --git a/tests/sync_file_range2.c b/tests/sync_file_range2.c
41+++ b/tests/sync_file_range.c 46index b8dc712..e4b003c 100644
47--- a/tests/sync_file_range2.c
48+++ b/tests/sync_file_range2.c
42@@ -20,8 +20,8 @@ int 49@@ -20,8 +20,8 @@ int
43 main(void) 50 main(void)
44 { 51 {
45 const int fd = -1; 52 const int fd = -1;
46- const off64_t offset = 0xdeadbeefbadc0dedULL; 53- const off64_t offset = 0xdeadbeefbadc0ded;
47- const off64_t nbytes = 0xfacefeedcafef00dULL; 54- const off64_t nbytes = 0xfacefeedcafef00d;
48+ const off_t offset = 0xdeadbeefbadc0dedULL; 55+ const off_t offset = 0xdeadbeefbadc0ded;
49+ const off_t nbytes = 0xfacefeedcafef00dULL; 56+ const off_t nbytes = 0xfacefeedcafef00d;
50 const unsigned int flags = -1; 57 const unsigned int flags = -1;
51 58
52 int rc = sync_file_range(fd, offset, nbytes, flags); 59 int rc = sync_file_range(fd, offset, nbytes, flags);
diff --git a/meta/recipes-devtools/strace/strace/Makefile-ptest.patch b/meta/recipes-devtools/strace/strace/Makefile-ptest.patch
index 9af7737662..9520aa8842 100644
--- a/meta/recipes-devtools/strace/strace/Makefile-ptest.patch
+++ b/meta/recipes-devtools/strace/strace/Makefile-ptest.patch
@@ -1,4 +1,4 @@
1From 1f50e0a09d828be8f5b1f28db9af0b12492a1553 Mon Sep 17 00:00:00 2001 1From 593bea35a044b55222a71737ca8455c2359817d1 Mon Sep 17 00:00:00 2001
2From: Gabriel Barbu <gabriel.barbu@enea.com> 2From: Gabriel Barbu <gabriel.barbu@enea.com>
3Date: Thu, 25 Jul 2013 15:28:33 +0200 3Date: Thu, 25 Jul 2013 15:28:33 +0200
4Subject: [PATCH] strace: Add ptest 4Subject: [PATCH] strace: Add ptest
@@ -8,24 +8,24 @@ Upstream-Status: Inappropriate
8Signed-off-by: Gabriel Barbu <gabriel.barbu@enea.com> 8Signed-off-by: Gabriel Barbu <gabriel.barbu@enea.com>
9Signed-off-by: Chong Lu <Chong.Lu@windriver.com> 9Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
10Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> 10Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
11
12--- 11---
13 tests/Makefile.am | 20 ++++++++++++++++++++ 12 tests/Makefile.am | 20 ++++++++++++++++++++
14 1 file changed, 20 insertions(+) 13 1 file changed, 20 insertions(+)
15 14
15
16diff --git a/tests/Makefile.am b/tests/Makefile.am 16diff --git a/tests/Makefile.am b/tests/Makefile.am
17index 55566ee..a7ae6f9 100644 17index b29471f..b8b66f0 100644
18--- a/tests/Makefile.am 18--- a/tests/Makefile.am
19+++ b/tests/Makefile.am 19+++ b/tests/Makefile.am
20@@ -16,6 +16,7 @@ SIZEOF_LONG = @SIZEOF_LONG@ 20@@ -18,6 +18,7 @@ SIZEOF_LONG = @SIZEOF_LONG@
21 MPERS_NAME = 21 MPERS_NAME =
22 MPERS_CC_FLAGS = 22 MPERS_CC_FLAGS =
23 ARCH_MFLAGS = 23 ARCH_MFLAGS =
24+TEST_SUITE_LOG = test-suite.log 24+TEST_SUITE_LOG = test-suite.log
25 AM_CFLAGS = $(WARN_CFLAGS) 25 AM_CFLAGS = $(WARN_CFLAGS) $(TEST_WARN_CFLAGS)
26 bundled_CPPFLAGS = 26 bundled_CPPFLAGS =
27 if USE_BUNDLED_HEADERS 27 if USE_BUNDLED_HEADERS
28@@ -703,3 +704,22 @@ BUILT_SOURCES = ksysent.h 28@@ -932,3 +933,22 @@ BUILT_SOURCES = ksysent.h
29 CLEANFILES = ksysent.h 29 CLEANFILES = ksysent.h
30 30
31 include ../src/scno.am 31 include ../src/scno.am
diff --git a/meta/recipes-devtools/strace/strace/ptest-spacesave.patch b/meta/recipes-devtools/strace/strace/ptest-spacesave.patch
index 4e86ccadc5..14ea469c59 100644
--- a/meta/recipes-devtools/strace/strace/ptest-spacesave.patch
+++ b/meta/recipes-devtools/strace/strace/ptest-spacesave.patch
@@ -1,4 +1,4 @@
1From 3fad4821d90cd264d1b94253b9cf4fdf5d4034b8 Mon Sep 17 00:00:00 2001 1From cf77d301faf96cc892c6df0e19fccbf5853f249d Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org> 2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Wed, 29 May 2019 00:10:32 +0100 3Date: Wed, 29 May 2019 00:10:32 +0100
4Subject: [PATCH] strace: Tweak ptest disk space management 4Subject: [PATCH] strace: Tweak ptest disk space management
@@ -9,16 +9,15 @@ using around 600MB of disk space and running our ptest images out of space.
9RP 2019/5/29 9RP 2019/5/29
10 10
11Upstream-Status: Inappropriate [specific to OE image space issues] 11Upstream-Status: Inappropriate [specific to OE image space issues]
12
13--- 12---
14 tests/gen_tests.sh | 1 + 13 tests/gen_tests.sh | 1 +
15 1 file changed, 1 insertion(+) 14 1 file changed, 1 insertion(+)
16 15
17diff --git a/tests/gen_tests.sh b/tests/gen_tests.sh 16diff --git a/tests/gen_tests.sh b/tests/gen_tests.sh
18index 3540204..5e1e7c9 100755 17index ce1467e..8f47651 100755
19--- a/tests/gen_tests.sh 18--- a/tests/gen_tests.sh
20+++ b/tests/gen_tests.sh 19+++ b/tests/gen_tests.sh
21@@ -62,6 +62,7 @@ while read -r name arg0 args; do { 20@@ -73,6 +73,7 @@ while read -r name arg0 args; do {
22 $hdr 21 $hdr
23 . "\${srcdir=.}/init.sh" 22 . "\${srcdir=.}/init.sh"
24 run_strace_match_diff $arg0 $args 23 run_strace_match_diff $arg0 $args
diff --git a/meta/recipes-devtools/strace/strace/run-ptest b/meta/recipes-devtools/strace/strace/run-ptest
index 1224229e8f..d9248df225 100755
--- a/meta/recipes-devtools/strace/strace/run-ptest
+++ b/meta/recipes-devtools/strace/strace/run-ptest
@@ -2,7 +2,7 @@
2 2
3set -u 3set -u
4 4
5export TIMEOUT_DURATION=240 5export TIMEOUT_DURATION=600
6make -j4 -B -C tests -k test-suite.log 6make -j4 -B -C tests -k test-suite.log
7res=$? 7res=$?
8if [ $res -ne 0 ]; then 8if [ $res -ne 0 ]; then
diff --git a/meta/recipes-devtools/strace/strace/skip-load.patch b/meta/recipes-devtools/strace/strace/skip-load.patch
index b1acfda5d8..fe737d8f9a 100644
--- a/meta/recipes-devtools/strace/strace/skip-load.patch
+++ b/meta/recipes-devtools/strace/strace/skip-load.patch
@@ -1,9 +1,13 @@
1From 3af7272a3435fc79e5da729155480a346ccf2d44 Mon Sep 17 00:00:00 2001
2From: Ross Burton <ross.burton@arm.com>
3Date: Mon, 31 Jan 2022 17:40:13 +0000
4Subject: [PATCH] strace: skip a number of load-sensitive tests
5
1Skip tests which are known to be unreliable under load, typically because they 6Skip tests which are known to be unreliable under load, typically because they
2care about timing. 7care about timing.
3 8
4Upstream-Status: Inappropriate 9Upstream-Status: Inappropriate
5Signed-off-by: Ross Burton <ross.burton@arm.com> 10Signed-off-by: Ross Burton <ross.burton@arm.com>
6
7--- 11---
8 tests/clock_nanosleep.gen.test | 1 + 12 tests/clock_nanosleep.gen.test | 1 +
9 tests/delay.test | 1 + 13 tests/delay.test | 1 +
@@ -44,6 +48,3 @@ index 8299737..d89c7df 100755
44 48
45 r_opt="${1:--r}" 49 r_opt="${1:--r}"
46 50
47--
482.25.1
49
diff --git a/meta/recipes-devtools/strace/strace/update-gawk-paths.patch b/meta/recipes-devtools/strace/strace/update-gawk-paths.patch
index a16ede95c2..429588d218 100644
--- a/meta/recipes-devtools/strace/strace/update-gawk-paths.patch
+++ b/meta/recipes-devtools/strace/strace/update-gawk-paths.patch
@@ -1,4 +1,4 @@
1From 4cd26cfaec255ec87f22abe886e0be89312a9671 Mon Sep 17 00:00:00 2001 1From 920ff2e0e838fae4fe49bf8e8fa093d5b2485677 Mon Sep 17 00:00:00 2001
2From: Andre McCurdy <armccurdy@gmail.com> 2From: Andre McCurdy <armccurdy@gmail.com>
3Date: Mon, 18 Jan 2016 11:01:00 -0800 3Date: Mon, 18 Jan 2016 11:01:00 -0800
4Subject: [PATCH] update gawk paths, /bin/gawk -> /usr/bin/gawk 4Subject: [PATCH] update gawk paths, /bin/gawk -> /usr/bin/gawk
@@ -11,22 +11,24 @@ from #!/bin/gawk to #!/usr/bin/gawk. Fixes missing RDPENDS QA tests:
11Upstream-Status: Inappropriate [configuration] 11Upstream-Status: Inappropriate [configuration]
12 12
13Signed-off-by: Andre McCurdy <armccurdy@gmail.com> 13Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
14
15--- 14---
16 src/mpers.awk | 2 +- 15 src/mpers.awk | 2 +-
16 tests-m32/caps-abbrev.awk | 2 +-
17 tests-m32/caps.awk | 2 +- 17 tests-m32/caps.awk | 2 +-
18 tests-m32/match.awk | 2 +- 18 tests-m32/match.awk | 2 +-
19 tests-m32/rt_sigaction.awk | 2 +- 19 tests-m32/rt_sigaction.awk | 2 +-
20 tests-mx32/caps-abbrev.awk | 2 +-
20 tests-mx32/caps.awk | 2 +- 21 tests-mx32/caps.awk | 2 +-
21 tests-mx32/match.awk | 2 +- 22 tests-mx32/match.awk | 2 +-
22 tests-mx32/rt_sigaction.awk | 2 +- 23 tests-mx32/rt_sigaction.awk | 2 +-
24 tests/caps-abbrev.awk | 2 +-
23 tests/caps.awk | 2 +- 25 tests/caps.awk | 2 +-
24 tests/match.awk | 2 +- 26 tests/match.awk | 2 +-
25 tests/rt_sigaction.awk | 2 +- 27 tests/rt_sigaction.awk | 2 +-
26 10 files changed, 10 insertions(+), 10 deletions(-) 28 13 files changed, 13 insertions(+), 13 deletions(-)
27 29
28diff --git a/src/mpers.awk b/src/mpers.awk 30diff --git a/src/mpers.awk b/src/mpers.awk
29index 25a212f..b2ff53f 100644 31index 425ab65..33ece5c 100644
30--- a/src/mpers.awk 32--- a/src/mpers.awk
31+++ b/src/mpers.awk 33+++ b/src/mpers.awk
32@@ -1,4 +1,4 @@ 34@@ -1,4 +1,4 @@
@@ -35,6 +37,16 @@ index 25a212f..b2ff53f 100644
35 # 37 #
36 # Copyright (c) 2015 Elvira Khabirova <lineprinter0@gmail.com> 38 # Copyright (c) 2015 Elvira Khabirova <lineprinter0@gmail.com>
37 # Copyright (c) 2015-2016 Dmitry V. Levin <ldv@strace.io> 39 # Copyright (c) 2015-2016 Dmitry V. Levin <ldv@strace.io>
40diff --git a/tests-m32/caps-abbrev.awk b/tests-m32/caps-abbrev.awk
41index e8393fd..76c4e51 100644
42--- a/tests-m32/caps-abbrev.awk
43+++ b/tests-m32/caps-abbrev.awk
44@@ -1,4 +1,4 @@
45-#!/bin/gawk
46+#!/usr/bin/gawk
47 #
48 # This file is part of caps strace test.
49 #
38diff --git a/tests-m32/caps.awk b/tests-m32/caps.awk 50diff --git a/tests-m32/caps.awk b/tests-m32/caps.awk
39index 69500ec..e5dfd87 100644 51index 69500ec..e5dfd87 100644
40--- a/tests-m32/caps.awk 52--- a/tests-m32/caps.awk
@@ -65,6 +77,16 @@ index dce78f5..573d9ea 100644
65 # 77 #
66 # Copyright (c) 2014-2015 Dmitry V. Levin <ldv@strace.io> 78 # Copyright (c) 2014-2015 Dmitry V. Levin <ldv@strace.io>
67 # Copyright (c) 2016 Elvira Khabirova <lineprinter0@gmail.com> 79 # Copyright (c) 2016 Elvira Khabirova <lineprinter0@gmail.com>
80diff --git a/tests-mx32/caps-abbrev.awk b/tests-mx32/caps-abbrev.awk
81index e8393fd..76c4e51 100644
82--- a/tests-mx32/caps-abbrev.awk
83+++ b/tests-mx32/caps-abbrev.awk
84@@ -1,4 +1,4 @@
85-#!/bin/gawk
86+#!/usr/bin/gawk
87 #
88 # This file is part of caps strace test.
89 #
68diff --git a/tests-mx32/caps.awk b/tests-mx32/caps.awk 90diff --git a/tests-mx32/caps.awk b/tests-mx32/caps.awk
69index 69500ec..e5dfd87 100644 91index 69500ec..e5dfd87 100644
70--- a/tests-mx32/caps.awk 92--- a/tests-mx32/caps.awk
@@ -95,6 +117,16 @@ index dce78f5..573d9ea 100644
95 # 117 #
96 # Copyright (c) 2014-2015 Dmitry V. Levin <ldv@strace.io> 118 # Copyright (c) 2014-2015 Dmitry V. Levin <ldv@strace.io>
97 # Copyright (c) 2016 Elvira Khabirova <lineprinter0@gmail.com> 119 # Copyright (c) 2016 Elvira Khabirova <lineprinter0@gmail.com>
120diff --git a/tests/caps-abbrev.awk b/tests/caps-abbrev.awk
121index e8393fd..76c4e51 100644
122--- a/tests/caps-abbrev.awk
123+++ b/tests/caps-abbrev.awk
124@@ -1,4 +1,4 @@
125-#!/bin/gawk
126+#!/usr/bin/gawk
127 #
128 # This file is part of caps strace test.
129 #
98diff --git a/tests/caps.awk b/tests/caps.awk 130diff --git a/tests/caps.awk b/tests/caps.awk
99index 69500ec..e5dfd87 100644 131index 69500ec..e5dfd87 100644
100--- a/tests/caps.awk 132--- a/tests/caps.awk
@@ -125,33 +157,3 @@ index dce78f5..573d9ea 100644
125 # 157 #
126 # Copyright (c) 2014-2015 Dmitry V. Levin <ldv@strace.io> 158 # Copyright (c) 2014-2015 Dmitry V. Levin <ldv@strace.io>
127 # Copyright (c) 2016 Elvira Khabirova <lineprinter0@gmail.com> 159 # Copyright (c) 2016 Elvira Khabirova <lineprinter0@gmail.com>
128diff --git a/tests-m32/caps-abbrev.awk b/tests-m32/caps-abbrev.awk
129index c00023b..a56cd56 100644
130--- a/tests-m32/caps-abbrev.awk
131+++ b/tests-m32/caps-abbrev.awk
132@@ -1,4 +1,4 @@
133-#!/bin/gawk
134+#!/usr/bin/gawk
135 #
136 # This file is part of caps strace test.
137 #
138diff --git a/tests-mx32/caps-abbrev.awk b/tests-mx32/caps-abbrev.awk
139index c00023b..a56cd56 100644
140--- a/tests-mx32/caps-abbrev.awk
141+++ b/tests-mx32/caps-abbrev.awk
142@@ -1,4 +1,4 @@
143-#!/bin/gawk
144+#!/usr/bin/gawk
145 #
146 # This file is part of caps strace test.
147 #
148diff --git a/tests/caps-abbrev.awk b/tests/caps-abbrev.awk
149index c00023b..a56cd56 100644
150--- a/tests/caps-abbrev.awk
151+++ b/tests/caps-abbrev.awk
152@@ -1,4 +1,4 @@
153-#!/bin/gawk
154+#!/usr/bin/gawk
155 #
156 # This file is part of caps strace test.
157 #
diff --git a/meta/recipes-devtools/strace/strace_6.8.bb b/meta/recipes-devtools/strace/strace_6.15.bb
index e1cc65e053..fdc79bcf85 100644
--- a/meta/recipes-devtools/strace/strace_6.8.bb
+++ b/meta/recipes-devtools/strace/strace_6.15.bb
@@ -3,9 +3,9 @@ HOMEPAGE = "http://strace.io"
3DESCRIPTION = "strace is a diagnostic, debugging and instructional userspace utility for Linux. It is used to monitor and tamper with interactions between processes and the Linux kernel, which include system calls, signal deliveries, and changes of process state." 3DESCRIPTION = "strace is a diagnostic, debugging and instructional userspace utility for Linux. It is used to monitor and tamper with interactions between processes and the Linux kernel, which include system calls, signal deliveries, and changes of process state."
4SECTION = "console/utils" 4SECTION = "console/utils"
5LICENSE = "LGPL-2.1-or-later & GPL-2.0-or-later" 5LICENSE = "LGPL-2.1-or-later & GPL-2.0-or-later"
6LIC_FILES_CHKSUM = "file://COPYING;md5=2433d82e1432a76dc3eadd9002bfe304" 6LIC_FILES_CHKSUM = "file://COPYING;md5=1efaf30bb0084b4a17a6f55f9cbcd25b"
7 7
8SRC_URI = "https://strace.io/files/${PV}/strace-${PV}.tar.xz \ 8SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/strace-${PV}.tar.xz \
9 file://update-gawk-paths.patch \ 9 file://update-gawk-paths.patch \
10 file://Makefile-ptest.patch \ 10 file://Makefile-ptest.patch \
11 file://run-ptest \ 11 file://run-ptest \
@@ -15,9 +15,9 @@ SRC_URI = "https://strace.io/files/${PV}/strace-${PV}.tar.xz \
15 file://0001-configure-Use-autoconf-macro-to-detect-largefile-sup.patch \ 15 file://0001-configure-Use-autoconf-macro-to-detect-largefile-sup.patch \
16 file://0002-tests-Replace-off64_t-with-off_t.patch \ 16 file://0002-tests-Replace-off64_t-with-off_t.patch \
17 " 17 "
18SRC_URI[sha256sum] = "ba6950a96824cdf93a584fa04f0a733896d2a6bc5f0ad9ffe505d9b41e970149" 18SRC_URI[sha256sum] = "8552dfab08abc22a0f2048c98fd9541fd4d71b6882507952780dab7c7c512f51"
19 19
20inherit autotools ptest 20inherit autotools github-releases ptest
21 21
22# Not yet ported to rv32 22# Not yet ported to rv32
23COMPATIBLE_HOST:riscv32 = "null" 23COMPATIBLE_HOST:riscv32 = "null"
@@ -44,7 +44,9 @@ do_install_ptest() {
44 mkdir -p ${D}${PTEST_PATH}/src 44 mkdir -p ${D}${PTEST_PATH}/src
45 install -m 755 ${S}/build-aux/test-driver ${D}${PTEST_PATH}/build-aux/ 45 install -m 755 ${S}/build-aux/test-driver ${D}${PTEST_PATH}/build-aux/
46 install -m 644 ${B}/src/config.h ${D}${PTEST_PATH}/src/ 46 install -m 644 ${B}/src/config.h ${D}${PTEST_PATH}/src/
47 sed -i -e '/^src/s/strace.*[0-9]/ptest/' ${D}/${PTEST_PATH}/${TESTDIR}/Makefile 47 sed -e 's/^srcdir = .*/srcdir = ..\/..\/ptest\/tests/' \
48 -e "/^TEST_LOG_DRIVER =/s|(top_srcdir)|(top_builddir)|" \
49 -i ${D}/${PTEST_PATH}/${TESTDIR}/Makefile
48} 50}
49 51
50RDEPENDS:${PN}-ptest += "make coreutils grep gawk sed locale-base-en-us" 52RDEPENDS:${PN}-ptest += "make coreutils grep gawk sed locale-base-en-us"
diff --git a/meta/recipes-devtools/subversion/subversion_1.14.3.bb b/meta/recipes-devtools/subversion/subversion_1.14.5.bb
index 1cf4e1734b..56ef1019fc 100644
--- a/meta/recipes-devtools/subversion/subversion_1.14.3.bb
+++ b/meta/recipes-devtools/subversion/subversion_1.14.5.bb
@@ -5,14 +5,14 @@ SECTION = "console/network"
5LICENSE = "Apache-2.0 & MIT" 5LICENSE = "Apache-2.0 & MIT"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=6487ae7094d359fa90fb9c4096e52e2b" 6LIC_FILES_CHKSUM = "file://LICENSE;md5=6487ae7094d359fa90fb9c4096e52e2b"
7 7
8DEPENDS = "apr-util serf sqlite3 file lz4" 8DEPENDS = "apr-util serf sqlite3 file lz4 expat"
9DEPENDS:append:class-native = " file-replacement-native" 9DEPENDS:append:class-native = " file-replacement-native"
10 10
11SRC_URI = "${APACHE_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \ 11SRC_URI = "${APACHE_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \
12 file://serfmacro.patch \ 12 file://serfmacro.patch \
13 " 13 "
14 14
15SRC_URI[sha256sum] = "949efd451a09435f7e8573574c71c7b71b194d844890fa49cd61d2262ea1a440" 15SRC_URI[sha256sum] = "e78a29e7766b8b7b354497d08f71a55641abc53675ce1875584781aae35644a1"
16 16
17inherit autotools pkgconfig gettext python3native 17inherit autotools pkgconfig gettext python3native
18 18
@@ -35,18 +35,19 @@ EXTRA_OECONF = " \
35 ac_cv_path_RUBY=none \ 35 ac_cv_path_RUBY=none \
36" 36"
37 37
38# Upstream puts the .pc in $datadir
38EXTRA_OEMAKE += "pkgconfig_dir=${libdir}/pkgconfig" 39EXTRA_OEMAKE += "pkgconfig_dir=${libdir}/pkgconfig"
39 40
40acpaths = "-I build/ -I build/ac-macros/"
41
42CPPFLAGS += "-P" 41CPPFLAGS += "-P"
43BUILD_CPPFLAGS += "-P" 42BUILD_CPPFLAGS += "-P"
44 43
44EXTRA_AUTORECONF += "--exclude=aclocal"
45
45do_configure:prepend () { 46do_configure:prepend () {
46 rm -f ${S}/libtool 47 # autogen.sh manually puts things in the right place, and libtoolize doesn't
47 rm -f ${S}/build/libtool.m4 ${S}/build/ltmain.sh ${S}/build/ltoptions.m4 ${S}/build/ltsugar.m4 ${S}/build/ltversion.m4 ${S}/build/lt~obsolete.m4 48 # work as they don't use aclocal
48 rm -f ${S}/aclocal.m4 49 cp -f ${S}/aclocal.m4.in ${S}/aclocal.m4
49 sed -i -e 's:with_sasl="/usr/local":with_sasl="${STAGING_DIR}":' ${S}/build/ac-macros/sasl.m4 50 cp -f ${STAGING_DATADIR}/aclocal/libtool.m4 ${STAGING_DATADIR}/aclocal/lt*.m4 ${S}/build/
50} 51}
51 52
52#| x86_64-linux-libtool: install: warning: `/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-logrotate/build/build/tmp/work/x86_64-linux/subversion-native/1.8.9-r0/build/subversion/libsvn_ra_local/libsvn_ra_local-1.la' has not been installed in `/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-logrotate/build/build/tmp/sysroots/x86_64-linux/usr/lib'| x86_64-linux-libtool: install: warning: `/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-logrotate/build/build/tmp/work/x86_64-linux/subversion-native/1.8.9-r0/build/subversion/libsvn_repos/libsvn_repos-1.la' has not been installed in `/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-logrotate/build/build/tmp/sysroots/x86_64-linux/usr/lib'| /usr/bin/ld: cannot find -lsvn_delta-1| collect2: ld returned 1 exit status| x86_64-linux-libtool: install: warning: `/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-logrotate/build/build/tmp/work/x86_64-linux/subversion-native/1.8.9-r0/build/subversion/libsvn_ra_svn/libsvn_ra_svn-1.la' has not been installed in `/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-logrotate/build/build/tmp/sysroots/x86_64-linux/usr/lib'| x86_64-linux-libtool: install: warning: `/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-logrotate/build/build/tmp/work/x86_64-linux/subversion-native/1.8.9-r0/build/subversion/libsvn_ra_serf/libsvn_ra_serf-1.la' has not been installed in `/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-logrotate/build/build/tmp/sysroots/x86_64-linux/usr/lib' 53#| x86_64-linux-libtool: install: warning: `/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-logrotate/build/build/tmp/work/x86_64-linux/subversion-native/1.8.9-r0/build/subversion/libsvn_ra_local/libsvn_ra_local-1.la' has not been installed in `/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-logrotate/build/build/tmp/sysroots/x86_64-linux/usr/lib'| x86_64-linux-libtool: install: warning: `/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-logrotate/build/build/tmp/work/x86_64-linux/subversion-native/1.8.9-r0/build/subversion/libsvn_repos/libsvn_repos-1.la' has not been installed in `/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-logrotate/build/build/tmp/sysroots/x86_64-linux/usr/lib'| /usr/bin/ld: cannot find -lsvn_delta-1| collect2: ld returned 1 exit status| x86_64-linux-libtool: install: warning: `/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-logrotate/build/build/tmp/work/x86_64-linux/subversion-native/1.8.9-r0/build/subversion/libsvn_ra_svn/libsvn_ra_svn-1.la' has not been installed in `/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-logrotate/build/build/tmp/sysroots/x86_64-linux/usr/lib'| x86_64-linux-libtool: install: warning: `/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-logrotate/build/build/tmp/work/x86_64-linux/subversion-native/1.8.9-r0/build/subversion/libsvn_ra_serf/libsvn_ra_serf-1.la' has not been installed in `/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-logrotate/build/build/tmp/sysroots/x86_64-linux/usr/lib'
diff --git a/meta/recipes-devtools/swig/swig/determinism.patch b/meta/recipes-devtools/swig/swig/determinism.patch
index 9c49414ad7..4359281bbb 100644
--- a/meta/recipes-devtools/swig/swig/determinism.patch
+++ b/meta/recipes-devtools/swig/swig/determinism.patch
@@ -1,4 +1,4 @@
1From 28648b3873d83e26bd19b64ce2c0a41ced9292d3 Mon Sep 17 00:00:00 2001 1From 1cd6f0cc21fc977a710e8d30c3d2ebfee3c72dc0 Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org> 2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Mon, 1 Mar 2021 00:11:10 +0000 3Date: Mon, 1 Mar 2021 00:11:10 +0000
4Subject: [PATCH] swig: Fix reproducibility issue 4Subject: [PATCH] swig: Fix reproducibility issue
@@ -13,12 +13,12 @@ RP 2021/3/1
13 1 file changed, 1 deletion(-) 13 1 file changed, 1 deletion(-)
14 14
15diff --git a/Source/Modules/main.cxx b/Source/Modules/main.cxx 15diff --git a/Source/Modules/main.cxx b/Source/Modules/main.cxx
16index de0a512..ac9e825 100644 16index f68b609..0c2aba3 100644
17--- a/Source/Modules/main.cxx 17--- a/Source/Modules/main.cxx
18+++ b/Source/Modules/main.cxx 18+++ b/Source/Modules/main.cxx
19@@ -638,7 +638,6 @@ static void getoptions(int argc, char *argv[]) { 19@@ -633,7 +633,6 @@ static void getoptions(int argc, char *argv[]) {
20 } 20 }
21 } else if (strcmp(argv[i], "-version") == 0) { 21 } else if (strcmp(argv[i], "-version") == 0 || strcmp(argv[1], "--version") == 0) {
22 fprintf(stdout, "\nSWIG Version %s\n", Swig_package_version()); 22 fprintf(stdout, "\nSWIG Version %s\n", Swig_package_version());
23- fprintf(stdout, "\nCompiled with %s [%s]\n", SWIG_CXX, SWIG_PLATFORM); 23- fprintf(stdout, "\nCompiled with %s [%s]\n", SWIG_CXX, SWIG_PLATFORM);
24 fprintf(stdout, "\nConfigured options: %cpcre\n", 24 fprintf(stdout, "\nConfigured options: %cpcre\n",
diff --git a/meta/recipes-devtools/swig/swig_4.2.1.bb b/meta/recipes-devtools/swig/swig_4.3.1.bb
index b564be9b36..dd979580a1 100644
--- a/meta/recipes-devtools/swig/swig_4.2.1.bb
+++ b/meta/recipes-devtools/swig/swig_4.3.1.bb
@@ -15,7 +15,7 @@ DEPENDS = "libpcre2 bison-native"
15SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \ 15SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \
16 file://determinism.patch \ 16 file://determinism.patch \
17 " 17 "
18SRC_URI[sha256sum] = "fa045354e2d048b2cddc69579e4256245d4676894858fcf0bab2290ecf59b7d8" 18SRC_URI[sha256sum] = "44fc829f70f1e17d635a2b4d69acab38896699ecc24aa023e516e0eabbec61b8"
19UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/swig/files/swig/" 19UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/swig/files/swig/"
20UPSTREAM_CHECK_REGEX = "swig-(?P<pver>\d+(\.\d+)+)" 20UPSTREAM_CHECK_REGEX = "swig-(?P<pver>\d+(\.\d+)+)"
21 21
diff --git a/meta/recipes-devtools/syslinux/syslinux/0001-Add-extra-sector-count-from-section-entry-for-EFI-ca.patch b/meta/recipes-devtools/syslinux/syslinux/0001-Add-extra-sector-count-from-section-entry-for-EFI-ca.patch
new file mode 100644
index 0000000000..5422d9b2de
--- /dev/null
+++ b/meta/recipes-devtools/syslinux/syslinux/0001-Add-extra-sector-count-from-section-entry-for-EFI-ca.patch
@@ -0,0 +1,104 @@
1From 79a26046d178ae132cb88ba75de7141bd169ff16 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Sat, 26 Apr 2025 10:45:08 +0800
4Subject: [PATCH] Add extra sector count from section entry for EFI catalogue
5
6According to page 11: `Figure 5 - Section Entry' in El Torito Bootable
7CD-ROM Format Specification [1]. The sector count tooks 2 byte which
8means max sector count is 0xffff (65535), for 512-byte sector, the
9size of bootable image is no more than 32MB (65536 * 512 / 1024 / 1024)
10
11If the size of efi.img > 32MB, the partition table will be truncated
12in ISO, which caused UEFI system or grub-efi read efi.img broken
13occasionally.
14
15This patch extend efi_count, mac_count and count to 4 byte int, if
16Yocto defines `Selection criteria type = 2', add extra sector count
17to original sector count as total count; for other situation, still use
18original sector count as usual
19
20[1]https://pdos.csail.mit.edu/6.828/2017/readings/boot-cdrom.pdf
21
22Upstream-Status: Inappropriate [Yocto specific]
23
24Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
25---
26 utils/isohybrid.c | 48 ++++++++++++++++++++++++++++++++++++++++++-----
27 1 file changed, 43 insertions(+), 5 deletions(-)
28
29diff --git a/utils/isohybrid.c b/utils/isohybrid.c
30index a9e38d4..1bbfd45 100644
31--- a/utils/isohybrid.c
32+++ b/utils/isohybrid.c
33@@ -76,7 +76,7 @@ uint32_t de_lba = 0;
34 uint16_t de_seg = 0, de_count = 0, de_mbz2 = 0;
35 uint8_t de_boot = 0, de_media = 0, de_sys = 0, de_mbz1 = 0;
36 uint32_t efi_lba = 0, mac_lba = 0;
37-uint16_t efi_count = 0, mac_count = 0;
38+uint32_t efi_count = 0, mac_count = 0;
39 uint8_t efi_boot = 0, efi_media = 0, efi_sys = 0;
40
41 int apm_parts = 3;
42@@ -552,17 +552,55 @@ read_efi_section(const uint8_t *buf)
43 }
44
45 int
46-read_efi_catalogue(const uint8_t *buf, uint16_t *count, uint32_t *lba)
47+read_efi_catalogue(const uint8_t *buf, uint32_t *count, uint32_t *lba)
48 {
49+ uint16_t _count = 0;
50+
51+ // Jump to offset 6 byte
52 buf += 6;
53
54- memcpy(count, buf, 2);
55- *count = lendian_short(*count);
56+ *count = 0;
57+
58+ // Offset : 6-7 byte
59+ // Type : Word
60+ // Description: Sector Count, the number of virtual/emulated sectors
61+ // the system will store at Load Segment during the initial boot procedure
62+ memcpy(&_count, buf, 2);
63+ _count = lendian_short(_count);
64 buf += 2;
65
66+ // Offset : 8-0B byte
67+ // Type : D Word
68+ // Description: Load RBA. This is the start address of the virtual disk. CD’s use
69+ // Relative/Logical block addressing.
70 memcpy(lba, buf, 4);
71 *lba = lendian_int(*lba);
72- buf += 6;
73+ buf += 4;
74+
75+ // Offset : 0C byte
76+ // Type : Byte
77+ // Description: Selection criteria type. This defines a vendor unique format
78+ // for bytes 0D-1F.
79+ // The following formats have currently been assigned:
80+ // 0 - No selection criteria
81+ // 1 - Language and Version Information (IBM)
82+ // 2 - Save extra sector count to vendor unique selection criteria (Yocto)
83+ // 3-FF - Reserved
84+ unsigned char slection_criteria_type = *buf;
85+ buf += 1;
86+
87+ // Offset : 0D-0E-0F-10 byte
88+ // Type : D Word
89+ // Description: Selection criteria type = 2, reserved by Yocto,
90+ // save extra sector count to vendor unique selection criteria
91+ if (slection_criteria_type == 2) {
92+ memcpy(count, buf, 4);
93+ *count = lendian_int(*count);
94+ buf += 4;
95+ }
96+
97+ // total count = sector count + extra sector count
98+ *count += _count;
99
100 return 0;
101 }
102--
1032.34.1
104
diff --git a/meta/recipes-devtools/syslinux/syslinux/0001-ext2_fs.h-do-not-carry-an-outdated-copy.patch b/meta/recipes-devtools/syslinux/syslinux/0001-ext2_fs.h-do-not-carry-an-outdated-copy.patch
new file mode 100644
index 0000000000..299423b5a3
--- /dev/null
+++ b/meta/recipes-devtools/syslinux/syslinux/0001-ext2_fs.h-do-not-carry-an-outdated-copy.patch
@@ -0,0 +1,1197 @@
1From daf017bc98276fecce1893c7e4db70cbd8c8f7a0 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de>
3Date: Fri, 16 Aug 2024 16:59:21 +0200
4Subject: [PATCH] ext2_fs.h: do not carry an outdated copy
5
6This copy is no longer compatible with latest e2fsprogs
7(which installs a correct version).
8
9Upstream-Status: Inactive-Upstream
10Signed-off-by: Alexander Kanavin <alex@linutronix.de>
11---
12 core/fs/ext2/ext2_fs.h | 312 -------------
13 libinstaller/ext2fs/ext2_fs.h | 856 ----------------------------------
14 2 files changed, 1168 deletions(-)
15 delete mode 100644 core/fs/ext2/ext2_fs.h
16 delete mode 100644 libinstaller/ext2fs/ext2_fs.h
17
18diff --git a/core/fs/ext2/ext2_fs.h b/core/fs/ext2/ext2_fs.h
19deleted file mode 100644
20index d8d07eb..0000000
21--- a/core/fs/ext2/ext2_fs.h
22+++ /dev/null
23@@ -1,312 +0,0 @@
24-#ifndef __EXT2_FS_H
25-#define __EXT2_FS_H
26-
27-#include <stdint.h>
28-
29-#define EXT2_SUPER_MAGIC 0xEF53
30-
31-#define EXT2_GOOD_OLD_REV 0 // The good old (original) format
32-#define EXT2_DYNAMIC_REV 1 // V2 format w/ dynamic inode sizes
33-#define EXT2_GOOD_OLD_INODE_SIZE 128
34-
35-// Special inode numbers
36-#define EXT2_BAD_INO 1 // Bad blocks inode
37-#define EXT2_ROOT_INO 2 // Root inode
38-#define EXT2_BOOT_LOADER_INO 5 // Boot loader inode
39-#define EXT2_UNDEL_DIR_INO 6 // Undelete directory inode
40-#define EXT3_RESIZE_INO 7 // Reserved group descriptors inode
41-#define EXT3_JOURNAL_INO 8 // Journal inode
42-
43-// We're readonly, so we only care about incompat features.
44-#define EXT2_FEATURE_INCOMPAT_COMPRESSION 0x0001
45-#define EXT2_FEATURE_INCOMPAT_FILETYPE 0x0002
46-#define EXT3_FEATURE_INCOMPAT_RECOVER 0x0004
47-#define EXT3_FEATURE_INCOMPAT_JOURNAL_DEV 0x0008
48-#define EXT2_FEATURE_INCOMPAT_META_BG 0x0010
49-#define EXT2_FEATURE_INCOMPAT_ANY 0xffffffff
50-
51-#define EXT2_NDIR_BLOCKS 12
52-#define EXT2_IND_BLOCK EXT2_NDIR_BLOCKS
53-#define EXT2_DIND_BLOCK (EXT2_IND_BLOCK+1)
54-#define EXT2_TIND_BLOCK (EXT2_DIND_BLOCK+1)
55-#define EXT2_N_BLOCKS (EXT2_TIND_BLOCK+1)
56-
57-
58-/* for EXT4 extent */
59-#define EXT4_EXT_MAGIC 0xf30a
60-#define EXT4_EXTENTS_FLAG 0x00080000
61-
62-/*
63- * File types and file modes
64- */
65-#define S_IFDIR 0040000 // Directory
66-#define S_IFCHR 0020000 // Character device
67-#define S_IFBLK 0060000 // Block device
68-#define S_IFREG 0100000 // Regular file
69-#define S_IFIFO 0010000 // FIFO
70-#define S_IFLNK 0120000 // Symbolic link
71-#define S_IFSOCK 0140000 // Socket
72-
73-#define S_IFSHIFT 12
74-
75-#define T_IFDIR (S_IFDIR >> S_IFSHIFT)
76-#define T_IFCHR (S_IFCHR >> S_IFSHIFT)
77-#define T_IFBLK (S_IFBLK >> S_IFSHIFT)
78-#define T_IFREG (S_IFREG >> S_IFSHIFT)
79-#define T_IFIFO (S_IFIFO >> S_IFSHIFT)
80-#define T_IFLNK (S_IFLNK >> S_IFSHIFT)
81-#define T_IFSOCK (S_IFSOCK >> S_IFSHIFT)
82-
83-
84-#define ext2_group_desc_lg2size 5
85-
86-
87-
88-/*
89- * super block structure:
90- * include/linux/ext2_fs.h
91- */
92-struct ext2_super_block {
93- uint32_t s_inodes_count; /* Inodes count */
94- uint32_t s_blocks_count; /* Blocks count */
95- uint32_t s_r_blocks_count; /* Reserved blocks count */
96- uint32_t s_free_blocks_count; /* Free blocks count */
97- uint32_t s_free_inodes_count; /* Free inodes count */
98- uint32_t s_first_data_block; /* First Data Block */
99- uint32_t s_log_block_size; /* Block size */
100- uint32_t s_log_frag_size; /* Fragment size */
101- uint32_t s_blocks_per_group; /* # Blocks per group */
102- uint32_t s_frags_per_group; /* # Fragments per group */
103- uint32_t s_inodes_per_group; /* # Inodes per group */
104- uint32_t s_mtime; /* Mount time */
105- uint32_t s_wtime; /* Write time */
106- uint16_t s_mnt_count; /* Mount count */
107- int16_t s_max_mnt_count; /* Maximal mount count */
108- uint16_t s_magic; /* Magic signature */
109- uint16_t s_state; /* File system state */
110- uint16_t s_errors; /* Behaviour when detecting errors */
111- uint16_t s_minor_rev_level;
112- uint32_t s_lastcheck; /* time of last check */
113- uint32_t s_checkinterval; /* max. time between checks */
114- uint32_t s_creator_os; /* OS */
115- uint32_t s_rev_level; /* Revision level */
116- uint16_t s_def_resuid; /* Default uid for reserved blocks */
117- uint16_t s_def_resgid; /* Default gid for reserved blocks */
118-
119- uint32_t s_first_ino; /* First non-reserved inode */
120- uint16_t s_inode_size; /* size of inode structure */
121- uint16_t s_block_group_nr; /* block group # of this superblock */
122- uint32_t s_feature_compat; /* compatible feature set */
123- uint32_t s_feature_incompat; /* incompatible feature set */
124- uint32_t s_feature_ro_compat; /* readonly-compatible feature set */
125- uint8_t s_uuid[16]; /* 128-bit uuid for volume */
126- char s_volume_name[16]; /* volume name */
127- char s_last_mounted[64]; /* directory where last mounted */
128- uint32_t s_algorithm_usage_bitmap; /* For compression */
129- uint8_t s_prealloc_blocks; /* Nr of blocks to try to preallocate*/
130- uint8_t s_prealloc_dir_blocks;
131- uint16_t s_reserved_gdt_blocks; /* Per group desc for online growth */
132- /*
133- * Journaling support valid if EXT4_FEATURE_COMPAT_HAS_JOURNAL set.
134- */
135- uint8_t s_journal_uuid[16]; /* uuid of journal superblock */
136- uint32_t s_journal_inum; /* inode number of journal file */
137- uint32_t s_journal_dev; /* device number of journal file */
138- uint32_t s_last_orphan; /* start of list of inodes to delete */
139- uint32_t s_hash_seed[4]; /* HTREE hash seed */
140- uint8_t s_def_hash_version; /* Default hash version to use */
141- uint8_t s_reserved_char_pad;
142- uint16_t s_desc_size; /* size of group descriptor */
143- uint32_t s_default_mount_opts;
144- uint32_t s_first_meta_bg; /* First metablock block group */
145- uint32_t s_mkfs_time; /* When the filesystem was created */
146- uint32_t s_jnl_blocks[17]; /* Backup of the journal inode */
147- /* 64bit support valid if EXT4_FEATURE_COMPAT_64BIT */
148- uint32_t s_blocks_count_hi; /* Blocks count */
149- uint32_t s_r_blocks_count_hi; /* Reserved blocks count */
150- uint32_t s_free_blocks_count_hi;/* Free blocks count */
151- uint16_t s_min_extra_isize; /* All inodes have at least # bytes */
152- uint16_t s_want_extra_isize; /* New inodes should reserve # bytes */
153- uint32_t s_flags; /* Miscellaneous flags */
154- uint16_t s_raid_stride; /* RAID stride */
155- uint16_t s_mmp_interval; /* # seconds to wait in MMP checking */
156- uint64_t s_mmp_block; /* Block for multi-mount protection */
157- uint32_t s_raid_stripe_width; /* blocks on all data disks (N*stride)*/
158- uint8_t s_log_groups_per_flex; /* FLEX_BG group size */
159- uint8_t s_reserved_char_pad2;
160- uint16_t s_reserved_pad;
161- uint32_t s_reserved[162]; /* Padding to the end of the block */
162-};
163-
164-/*******************************************************************************
165-#ifndef DEPEND
166-#if ext2_super_block_size != 1024
167-#error ext2_super_block definition bogus
168-#endif
169-#endif
170-*******************************************************************************/
171-
172-/*
173- * ext2 group desc structure:
174- */
175-struct ext2_group_desc {
176- uint32_t bg_block_bitmap; /* Blocks bitmap block */
177- uint32_t bg_inode_bitmap; /* Inodes bitmap block */
178- uint32_t bg_inode_table; /* Inodes table block */
179- uint16_t bg_free_blocks_count; /* Free blocks count */
180- uint16_t bg_free_inodes_count; /* Free inodes count */
181- uint16_t bg_used_dirs_count; /* Directories count */
182- uint16_t bg_pad;
183- uint32_t bg_reserved[3];
184-};
185-
186-/*******************************************************************************
187-#ifndef DEPEND
188-#if ext2_group_desc_size != 32
189-#error ext2_group_desc definition bogus
190-#endif
191-#endif
192-*******************************************************************************/
193-
194-
195-/*
196- * ext2 inode structure:
197- */
198-struct ext2_inode {
199- uint16_t i_mode; /* File mode */
200- uint16_t i_uid; /* Owner Uid */
201- uint32_t i_size; /* 4: Size in bytes */
202- uint32_t i_atime; /* Access time */
203- uint32_t i_ctime; /* 12: Creation time */
204- uint32_t i_mtime; /* Modification time */
205- uint32_t i_dtime; /* 20: Deletion Time */
206- uint16_t i_gid; /* Group Id */
207- uint16_t i_links_count; /* 24: Links count */
208- uint32_t i_blocks; /* Blocks count */
209- uint32_t i_flags; /* 32: File flags */
210- uint32_t l_i_reserved1;
211- uint32_t i_block[EXT2_N_BLOCKS]; /* 40: Pointers to blocks */
212- uint32_t i_version; /* File version (for NFS) */
213- uint32_t i_file_acl; /* File ACL */
214- uint32_t i_dir_acl; /* Directory ACL */
215- uint32_t i_faddr; /* Fragment address */
216- uint8_t l_i_frag; /* Fragment number */
217- uint8_t l_i_fsize; /* Fragment size */
218- uint16_t i_pad1;
219- uint32_t l_i_reserved2[2];
220-};
221-
222-/*******************************************************************************
223-#ifndef DEPEND
224-#if ext2_inode_size != 128
225-#error ext2_inode definition bogus
226-#endif
227-#endif
228-*******************************************************************************/
229-
230-
231-#define EXT2_NAME_LEN 255
232-struct ext2_dir_entry {
233- unsigned int d_inode; /* Inode number */
234- unsigned short d_rec_len; /* Directory entry length */
235- unsigned char d_name_len; /* Name length */
236- unsigned char d_file_type;
237- char d_name[EXT2_NAME_LEN]; /* File name */
238-};
239-
240-/*******************************************************************************
241-#define EXT2_DIR_PAD 4
242-#define EXT2_DIR_ROUND (EXT2_DIR_PAD - 1)
243-#define EXT2_DIR_REC_LEN(name_len) (((name_len) + 8 + EXT2_DIR_ROUND) & \
244- ~EXT2_DIR_ROUND)
245-*******************************************************************************/
246-
247-
248-
249-
250-
251-
252-/*
253- * This is the extent on-disk structure.
254- * It's used at the bottom of the tree.
255- */
256-struct ext4_extent {
257- uint32_t ee_block; /* first logical block extent covers */
258- uint16_t ee_len; /* number of blocks covered by extent */
259- uint16_t ee_start_hi; /* high 16 bits of physical block */
260- uint32_t ee_start_lo; /* low 32 bits of physical block */
261-};
262-
263-/*
264- * This is index on-disk structure.
265- * It's used at all the levels except the bottom.
266- */
267-struct ext4_extent_idx {
268- uint32_t ei_block; /* index covers logical blocks from 'block' */
269- uint32_t ei_leaf_lo; /* pointer to the physical block of the next *
270- * level. leaf or next index could be there */
271- uint16_t ei_leaf_hi; /* high 16 bits of physical block */
272- uint16_t ei_unused;
273-};
274-
275-/*
276- * Each block (leaves and indexes), even inode-stored has header.
277- */
278-struct ext4_extent_header {
279- uint16_t eh_magic; /* probably will support different formats */
280- uint16_t eh_entries; /* number of valid entries */
281- uint16_t eh_max; /* capacity of store in entries */
282- uint16_t eh_depth; /* has tree real underlying blocks? */
283- uint32_t eh_generation; /* generation of the tree */
284-};
285-
286-
287-
288-#define EXT4_FIRST_EXTENT(header) ( (struct ext4_extent *)(header + 1) )
289-#define EXT4_FIRST_INDEX(header) ( (struct ext4_extent_idx *) (header + 1) )
290-
291-
292-/*
293- * The ext2 super block information in memory
294- */
295-struct ext2_sb_info {
296- uint32_t s_inodes_per_block;/* Number of inodes per block */
297- uint32_t s_inodes_per_group;/* Number of inodes in a group */
298- uint32_t s_blocks_per_group;/* Number of blocks in a group */
299- uint32_t s_desc_per_block; /* Number of group descriptors per block */
300- uint32_t s_groups_count; /* Number of groups in the fs */
301- uint32_t s_first_data_block; /* First Data Block */
302- int s_inode_size;
303- uint8_t s_uuid[16]; /* 128-bit uuid for volume */
304- int s_desc_size; /* size of group descriptor */
305-};
306-
307-static inline struct ext2_sb_info *EXT2_SB(struct fs_info *fs)
308-{
309- return fs->fs_info;
310-}
311-
312-#define EXT2_BLOCKS_PER_GROUP(fs) (EXT2_SB(fs)->s_blocks_per_group)
313-#define EXT2_INODES_PER_GROUP(fs) (EXT2_SB(fs)->s_inodes_per_group)
314-#define EXT2_INODES_PER_BLOCK(fs) (EXT2_SB(fs)->s_inodes_per_block)
315-#define EXT2_DESC_PER_BLOCK(fs) (EXT2_SB(fs)->s_desc_per_block)
316-
317-/*
318- * ext2 private inode information
319- */
320-struct ext2_pvt_inode {
321- union {
322- uint32_t i_block[EXT2_N_BLOCKS];
323- struct ext4_extent_header i_extent_hdr;
324- };
325-};
326-
327-#define PVT(i) ((struct ext2_pvt_inode *)((i)->pvt))
328-
329-/*
330- * functions
331- */
332-block_t ext2_bmap(struct inode *, block_t, size_t *);
333-int ext2_next_extent(struct inode *, uint32_t);
334-
335-#endif /* ext2_fs.h */
336diff --git a/libinstaller/ext2fs/ext2_fs.h b/libinstaller/ext2fs/ext2_fs.h
337deleted file mode 100644
338index e52c9e1..0000000
339--- a/libinstaller/ext2fs/ext2_fs.h
340+++ /dev/null
341@@ -1,856 +0,0 @@
342-/*
343- * linux/include/linux/ext2_fs.h
344- *
345- * Copyright (C) 1992, 1993, 1994, 1995
346- * Remy Card (card@masi.ibp.fr)
347- * Laboratoire MASI - Institut Blaise Pascal
348- * Universite Pierre et Marie Curie (Paris VI)
349- *
350- * from
351- *
352- * linux/include/linux/minix_fs.h
353- *
354- * Copyright (C) 1991, 1992 Linus Torvalds
355- */
356-
357-#ifndef _EXT2FS_EXT2_FS_H
358-#define _EXT2FS_EXT2_FS_H
359-
360-#include <linux/types.h>
361-
362-/*
363- * The second extended filesystem constants/structures
364- */
365-
366-/*
367- * Define EXT2FS_DEBUG to produce debug messages
368- */
369-#undef EXT2FS_DEBUG
370-
371-/*
372- * Define EXT2_PREALLOCATE to preallocate data blocks for expanding files
373- */
374-#define EXT2_PREALLOCATE
375-#define EXT2_DEFAULT_PREALLOC_BLOCKS 8
376-
377-/*
378- * The second extended file system version
379- */
380-#define EXT2FS_DATE "95/08/09"
381-#define EXT2FS_VERSION "0.5b"
382-
383-/*
384- * Special inode numbers
385- */
386-#define EXT2_BAD_INO 1 /* Bad blocks inode */
387-#define EXT2_ROOT_INO 2 /* Root inode */
388-#define EXT4_USR_QUOTA_INO 3 /* User quota inode */
389-#define EXT4_GRP_QUOTA_INO 4 /* Group quota inode */
390-#define EXT2_BOOT_LOADER_INO 5 /* Boot loader inode */
391-#define EXT2_UNDEL_DIR_INO 6 /* Undelete directory inode */
392-#define EXT2_RESIZE_INO 7 /* Reserved group descriptors inode */
393-#define EXT2_JOURNAL_INO 8 /* Journal inode */
394-#define EXT2_EXCLUDE_INO 9 /* The "exclude" inode, for snapshots */
395-#define EXT4_REPLICA_INO 10 /* Used by non-upstream feature */
396-
397-/* First non-reserved inode for old ext2 filesystems */
398-#define EXT2_GOOD_OLD_FIRST_INO 11
399-
400-/*
401- * The second extended file system magic number
402- */
403-#define EXT2_SUPER_MAGIC 0xEF53
404-
405-#ifdef __KERNEL__
406-#define EXT2_SB(sb) (&((sb)->u.ext2_sb))
407-#else
408-/* Assume that user mode programs are passing in an ext2fs superblock, not
409- * a kernel struct super_block. This will allow us to call the feature-test
410- * macros from user land. */
411-#define EXT2_SB(sb) (sb)
412-#endif
413-
414-/*
415- * Maximal count of links to a file
416- */
417-#define EXT2_LINK_MAX 65000
418-
419-/*
420- * Macro-instructions used to manage several block sizes
421- */
422-#define EXT2_MIN_BLOCK_LOG_SIZE 10 /* 1024 */
423-#define EXT2_MAX_BLOCK_LOG_SIZE 16 /* 65536 */
424-#define EXT2_MIN_BLOCK_SIZE (1 << EXT2_MIN_BLOCK_LOG_SIZE)
425-#define EXT2_MAX_BLOCK_SIZE (1 << EXT2_MAX_BLOCK_LOG_SIZE)
426-#ifdef __KERNEL__
427-#define EXT2_BLOCK_SIZE(s) ((s)->s_blocksize)
428-#define EXT2_BLOCK_SIZE_BITS(s) ((s)->s_blocksize_bits)
429-#define EXT2_ADDR_PER_BLOCK_BITS(s) (EXT2_SB(s)->addr_per_block_bits)
430-#define EXT2_INODE_SIZE(s) (EXT2_SB(s)->s_inode_size)
431-#define EXT2_FIRST_INO(s) (EXT2_SB(s)->s_first_ino)
432-#else
433-#define EXT2_BLOCK_SIZE(s) (EXT2_MIN_BLOCK_SIZE << (s)->s_log_block_size)
434-#define EXT2_BLOCK_SIZE_BITS(s) ((s)->s_log_block_size + 10)
435-#define EXT2_INODE_SIZE(s) (((s)->s_rev_level == EXT2_GOOD_OLD_REV) ? \
436- EXT2_GOOD_OLD_INODE_SIZE : (s)->s_inode_size)
437-#define EXT2_FIRST_INO(s) (((s)->s_rev_level == EXT2_GOOD_OLD_REV) ? \
438- EXT2_GOOD_OLD_FIRST_INO : (s)->s_first_ino)
439-#endif
440-#define EXT2_ADDR_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / sizeof(__u32))
441-
442-/*
443- * Macro-instructions used to manage allocation clusters
444- */
445-#define EXT2_MIN_CLUSTER_LOG_SIZE EXT2_MIN_BLOCK_LOG_SIZE
446-#define EXT2_MAX_CLUSTER_LOG_SIZE 29 /* 512MB */
447-#define EXT2_MIN_CLUSTER_SIZE EXT2_MIN_BLOCK_SIZE
448-#define EXT2_MAX_CLUSTER_SIZE (1 << EXT2_MAX_CLUSTER_LOG_SIZE)
449-#define EXT2_CLUSTER_SIZE(s) (EXT2_MIN_BLOCK_SIZE << \
450- (s)->s_log_cluster_size)
451-#define EXT2_CLUSTER_SIZE_BITS(s) ((s)->s_log_cluster_size + 10)
452-
453-/*
454- * Macro-instructions used to manage fragments
455- *
456- * Note: for backwards compatibility only, for the dump program.
457- * Ext2/3/4 will never support fragments....
458- */
459-#define EXT2_MIN_FRAG_SIZE EXT2_MIN_BLOCK_SIZE
460-#define EXT2_MAX_FRAG_SIZE EXT2_MAX_BLOCK_SIZE
461-#define EXT2_MIN_FRAG_LOG_SIZE EXT2_MIN_BLOCK_LOG_SIZE
462-#define EXT2_FRAG_SIZE(s) EXT2_BLOCK_SIZE(s)
463-#define EXT2_FRAGS_PER_BLOCK(s) 1
464-
465-/*
466- * ACL structures
467- */
468-struct ext2_acl_header /* Header of Access Control Lists */
469-{
470- __u32 aclh_size;
471- __u32 aclh_file_count;
472- __u32 aclh_acle_count;
473- __u32 aclh_first_acle;
474-};
475-
476-struct ext2_acl_entry /* Access Control List Entry */
477-{
478- __u32 acle_size;
479- __u16 acle_perms; /* Access permissions */
480- __u16 acle_type; /* Type of entry */
481- __u16 acle_tag; /* User or group identity */
482- __u16 acle_pad1;
483- __u32 acle_next; /* Pointer on next entry for the */
484- /* same inode or on next free entry */
485-};
486-
487-/*
488- * Structure of a blocks group descriptor
489- */
490-struct ext2_group_desc
491-{
492- __u32 bg_block_bitmap; /* Blocks bitmap block */
493- __u32 bg_inode_bitmap; /* Inodes bitmap block */
494- __u32 bg_inode_table; /* Inodes table block */
495- __u16 bg_free_blocks_count; /* Free blocks count */
496- __u16 bg_free_inodes_count; /* Free inodes count */
497- __u16 bg_used_dirs_count; /* Directories count */
498- __u16 bg_flags;
499- __u32 bg_exclude_bitmap_lo; /* Exclude bitmap for snapshots */
500- __u16 bg_block_bitmap_csum_lo;/* crc32c(s_uuid+grp_num+bitmap) LSB */
501- __u16 bg_inode_bitmap_csum_lo;/* crc32c(s_uuid+grp_num+bitmap) LSB */
502- __u16 bg_itable_unused; /* Unused inodes count */
503- __u16 bg_checksum; /* crc16(s_uuid+grouo_num+group_desc)*/
504-};
505-
506-/*
507- * Structure of a blocks group descriptor
508- */
509-struct ext4_group_desc
510-{
511- __u32 bg_block_bitmap; /* Blocks bitmap block */
512- __u32 bg_inode_bitmap; /* Inodes bitmap block */
513- __u32 bg_inode_table; /* Inodes table block */
514- __u16 bg_free_blocks_count; /* Free blocks count */
515- __u16 bg_free_inodes_count; /* Free inodes count */
516- __u16 bg_used_dirs_count; /* Directories count */
517- __u16 bg_flags; /* EXT4_BG_flags (INODE_UNINIT, etc) */
518- __u32 bg_exclude_bitmap_lo; /* Exclude bitmap for snapshots */
519- __u16 bg_block_bitmap_csum_lo;/* crc32c(s_uuid+grp_num+bitmap) LSB */
520- __u16 bg_inode_bitmap_csum_lo;/* crc32c(s_uuid+grp_num+bitmap) LSB */
521- __u16 bg_itable_unused; /* Unused inodes count */
522- __u16 bg_checksum; /* crc16(sb_uuid+group+desc) */
523- __u32 bg_block_bitmap_hi; /* Blocks bitmap block MSB */
524- __u32 bg_inode_bitmap_hi; /* Inodes bitmap block MSB */
525- __u32 bg_inode_table_hi; /* Inodes table block MSB */
526- __u16 bg_free_blocks_count_hi;/* Free blocks count MSB */
527- __u16 bg_free_inodes_count_hi;/* Free inodes count MSB */
528- __u16 bg_used_dirs_count_hi; /* Directories count MSB */
529- __u16 bg_itable_unused_hi; /* Unused inodes count MSB */
530- __u32 bg_exclude_bitmap_hi; /* Exclude bitmap block MSB */
531- __u16 bg_block_bitmap_csum_hi;/* crc32c(s_uuid+grp_num+bitmap) MSB */
532- __u16 bg_inode_bitmap_csum_hi;/* crc32c(s_uuid+grp_num+bitmap) MSB */
533- __u32 bg_reserved;
534-};
535-
536-#define EXT2_BG_INODE_UNINIT 0x0001 /* Inode table/bitmap not initialized */
537-#define EXT2_BG_BLOCK_UNINIT 0x0002 /* Block bitmap not initialized */
538-#define EXT2_BG_INODE_ZEROED 0x0004 /* On-disk itable initialized to zero */
539-
540-/*
541- * Data structures used by the directory indexing feature
542- *
543- * Note: all of the multibyte integer fields are little endian.
544- */
545-
546-/*
547- * Note: dx_root_info is laid out so that if it should somehow get
548- * overlaid by a dirent the two low bits of the hash version will be
549- * zero. Therefore, the hash version mod 4 should never be 0.
550- * Sincerely, the paranoia department.
551- */
552-struct ext2_dx_root_info {
553- __u32 reserved_zero;
554- __u8 hash_version; /* 0 now, 1 at release */
555- __u8 info_length; /* 8 */
556- __u8 indirect_levels;
557- __u8 unused_flags;
558-};
559-
560-#define EXT2_HASH_LEGACY 0
561-#define EXT2_HASH_HALF_MD4 1
562-#define EXT2_HASH_TEA 2
563-#define EXT2_HASH_LEGACY_UNSIGNED 3 /* reserved for userspace lib */
564-#define EXT2_HASH_HALF_MD4_UNSIGNED 4 /* reserved for userspace lib */
565-#define EXT2_HASH_TEA_UNSIGNED 5 /* reserved for userspace lib */
566-
567-#define EXT2_HASH_FLAG_INCOMPAT 0x1
568-
569-struct ext2_dx_entry {
570- __u32 hash;
571- __u32 block;
572-};
573-
574-struct ext2_dx_countlimit {
575- __u16 limit;
576- __u16 count;
577-};
578-
579-
580-/*
581- * Macro-instructions used to manage group descriptors
582- */
583-#define EXT2_MIN_DESC_SIZE 32
584-#define EXT2_MIN_DESC_SIZE_64BIT 64
585-#define EXT2_MAX_DESC_SIZE EXT2_MIN_BLOCK_SIZE
586-#define EXT2_DESC_SIZE(s) \
587- ((EXT2_SB(s)->s_feature_incompat & EXT4_FEATURE_INCOMPAT_64BIT) ? \
588- (s)->s_desc_size : EXT2_MIN_DESC_SIZE)
589-
590-#define EXT2_BLOCKS_PER_GROUP(s) (EXT2_SB(s)->s_blocks_per_group)
591-#define EXT2_INODES_PER_GROUP(s) (EXT2_SB(s)->s_inodes_per_group)
592-#define EXT2_CLUSTERS_PER_GROUP(s) (EXT2_SB(s)->s_clusters_per_group)
593-#define EXT2_INODES_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s)/EXT2_INODE_SIZE(s))
594-/* limits imposed by 16-bit value gd_free_{blocks,inode}_count */
595-#define EXT2_MAX_BLOCKS_PER_GROUP(s) ((((unsigned) 1 << 16) - 8) * \
596- (EXT2_CLUSTER_SIZE(s) / \
597- EXT2_BLOCK_SIZE(s)))
598-#define EXT2_MAX_CLUSTERS_PER_GROUP(s) (((unsigned) 1 << 16) - 8)
599-#define EXT2_MAX_INODES_PER_GROUP(s) (((unsigned) 1 << 16) - \
600- EXT2_INODES_PER_BLOCK(s))
601-#ifdef __KERNEL__
602-#define EXT2_DESC_PER_BLOCK(s) (EXT2_SB(s)->s_desc_per_block)
603-#define EXT2_DESC_PER_BLOCK_BITS(s) (EXT2_SB(s)->s_desc_per_block_bits)
604-#else
605-#define EXT2_DESC_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / EXT2_DESC_SIZE(s))
606-#endif
607-
608-/*
609- * Constants relative to the data blocks
610- */
611-#define EXT2_NDIR_BLOCKS 12
612-#define EXT2_IND_BLOCK EXT2_NDIR_BLOCKS
613-#define EXT2_DIND_BLOCK (EXT2_IND_BLOCK + 1)
614-#define EXT2_TIND_BLOCK (EXT2_DIND_BLOCK + 1)
615-#define EXT2_N_BLOCKS (EXT2_TIND_BLOCK + 1)
616-
617-/*
618- * Inode flags
619- */
620-#define EXT2_SECRM_FL 0x00000001 /* Secure deletion */
621-#define EXT2_UNRM_FL 0x00000002 /* Undelete */
622-#define EXT2_COMPR_FL 0x00000004 /* Compress file */
623-#define EXT2_SYNC_FL 0x00000008 /* Synchronous updates */
624-#define EXT2_IMMUTABLE_FL 0x00000010 /* Immutable file */
625-#define EXT2_APPEND_FL 0x00000020 /* writes to file may only append */
626-#define EXT2_NODUMP_FL 0x00000040 /* do not dump file */
627-#define EXT2_NOATIME_FL 0x00000080 /* do not update atime */
628-/* Reserved for compression usage... */
629-#define EXT2_DIRTY_FL 0x00000100
630-#define EXT2_COMPRBLK_FL 0x00000200 /* One or more compressed clusters */
631-#define EXT2_NOCOMPR_FL 0x00000400 /* Access raw compressed data */
632-#define EXT2_ECOMPR_FL 0x00000800 /* Compression error */
633-/* End compression flags --- maybe not all used */
634-#define EXT2_BTREE_FL 0x00001000 /* btree format dir */
635-#define EXT2_INDEX_FL 0x00001000 /* hash-indexed directory */
636-#define EXT2_IMAGIC_FL 0x00002000
637-#define EXT3_JOURNAL_DATA_FL 0x00004000 /* file data should be journaled */
638-#define EXT2_NOTAIL_FL 0x00008000 /* file tail should not be merged */
639-#define EXT2_DIRSYNC_FL 0x00010000 /* Synchronous directory modifications */
640-#define EXT2_TOPDIR_FL 0x00020000 /* Top of directory hierarchies*/
641-#define EXT4_HUGE_FILE_FL 0x00040000 /* Set to each huge file */
642-#define EXT4_EXTENTS_FL 0x00080000 /* Inode uses extents */
643-#define EXT4_EA_INODE_FL 0x00200000 /* Inode used for large EA */
644-/* EXT4_EOFBLOCKS_FL 0x00400000 was here */
645-#define EXT4_SNAPFILE_FL 0x01000000 /* Inode is a snapshot */
646-#define EXT4_SNAPFILE_DELETED_FL 0x04000000 /* Snapshot is being deleted */
647-#define EXT4_SNAPFILE_SHRUNK_FL 0x08000000 /* Snapshot shrink has completed */
648-#define EXT2_RESERVED_FL 0x80000000 /* reserved for ext2 lib */
649-
650-#define EXT2_FL_USER_VISIBLE 0x004BDFFF /* User visible flags */
651-#define EXT2_FL_USER_MODIFIABLE 0x004B80FF /* User modifiable flags */
652-
653-/*
654- * ioctl commands
655- */
656-
657-/* Used for online resize */
658-struct ext2_new_group_input {
659- __u32 group; /* Group number for this data */
660- __u32 block_bitmap; /* Absolute block number of block bitmap */
661- __u32 inode_bitmap; /* Absolute block number of inode bitmap */
662- __u32 inode_table; /* Absolute block number of inode table start */
663- __u32 blocks_count; /* Total number of blocks in this group */
664- __u16 reserved_blocks; /* Number of reserved blocks in this group */
665- __u16 unused; /* Number of reserved GDT blocks in group */
666-};
667-
668-struct ext4_new_group_input {
669- __u32 group; /* Group number for this data */
670- __u64 block_bitmap; /* Absolute block number of block bitmap */
671- __u64 inode_bitmap; /* Absolute block number of inode bitmap */
672- __u64 inode_table; /* Absolute block number of inode table start */
673- __u32 blocks_count; /* Total number of blocks in this group */
674- __u16 reserved_blocks; /* Number of reserved blocks in this group */
675- __u16 unused;
676-};
677-
678-#ifdef __GNU__ /* Needed for the Hurd */
679-#define _IOT_ext2_new_group_input _IOT (_IOTS(__u32), 5, _IOTS(__u16), 2, 0, 0)
680-#endif
681-
682-#define EXT2_IOC_GETFLAGS _IOR('f', 1, long)
683-#define EXT2_IOC_SETFLAGS _IOW('f', 2, long)
684-#define EXT2_IOC_GETVERSION _IOR('v', 1, long)
685-#define EXT2_IOC_SETVERSION _IOW('v', 2, long)
686-#define EXT2_IOC_GETVERSION_NEW _IOR('f', 3, long)
687-#define EXT2_IOC_SETVERSION_NEW _IOW('f', 4, long)
688-#define EXT2_IOC_GROUP_EXTEND _IOW('f', 7, unsigned long)
689-#define EXT2_IOC_GROUP_ADD _IOW('f', 8,struct ext2_new_group_input)
690-#define EXT4_IOC_GROUP_ADD _IOW('f', 8,struct ext4_new_group_input)
691-#define EXT4_IOC_RESIZE_FS _IOW('f', 16, __u64)
692-
693-/*
694- * Structure of an inode on the disk
695- */
696-struct ext2_inode {
697- __u16 i_mode; /* File mode */
698- __u16 i_uid; /* Low 16 bits of Owner Uid */
699- __u32 i_size; /* Size in bytes */
700- __u32 i_atime; /* Access time */
701- __u32 i_ctime; /* Inode change time */
702- __u32 i_mtime; /* Modification time */
703- __u32 i_dtime; /* Deletion Time */
704- __u16 i_gid; /* Low 16 bits of Group Id */
705- __u16 i_links_count; /* Links count */
706- __u32 i_blocks; /* Blocks count */
707- __u32 i_flags; /* File flags */
708- union {
709- struct {
710- __u32 l_i_version; /* was l_i_reserved1 */
711- } linux1;
712- struct {
713- __u32 h_i_translator;
714- } hurd1;
715- } osd1; /* OS dependent 1 */
716- __u32 i_block[EXT2_N_BLOCKS];/* Pointers to blocks */
717- __u32 i_generation; /* File version (for NFS) */
718- __u32 i_file_acl; /* File ACL */
719- __u32 i_size_high; /* Formerly i_dir_acl, directory ACL */
720- __u32 i_faddr; /* Fragment address */
721- union {
722- struct {
723- __u16 l_i_blocks_hi;
724- __u16 l_i_file_acl_high;
725- __u16 l_i_uid_high; /* these 2 fields */
726- __u16 l_i_gid_high; /* were reserved2[0] */
727- __u16 l_i_checksum_lo; /* crc32c(uuid+inum+inode) */
728- __u16 l_i_reserved;
729- } linux2;
730- struct {
731- __u8 h_i_frag; /* Fragment number */
732- __u8 h_i_fsize; /* Fragment size */
733- __u16 h_i_mode_high;
734- __u16 h_i_uid_high;
735- __u16 h_i_gid_high;
736- __u32 h_i_author;
737- } hurd2;
738- } osd2; /* OS dependent 2 */
739-};
740-
741-/*
742- * Permanent part of an large inode on the disk
743- */
744-struct ext2_inode_large {
745- __u16 i_mode; /* File mode */
746- __u16 i_uid; /* Low 16 bits of Owner Uid */
747- __u32 i_size; /* Size in bytes */
748- __u32 i_atime; /* Access time */
749- __u32 i_ctime; /* Inode Change time */
750- __u32 i_mtime; /* Modification time */
751- __u32 i_dtime; /* Deletion Time */
752- __u16 i_gid; /* Low 16 bits of Group Id */
753- __u16 i_links_count; /* Links count */
754- __u32 i_blocks; /* Blocks count */
755- __u32 i_flags; /* File flags */
756- union {
757- struct {
758- __u32 l_i_version; /* was l_i_reserved1 */
759- } linux1;
760- struct {
761- __u32 h_i_translator;
762- } hurd1;
763- } osd1; /* OS dependent 1 */
764- __u32 i_block[EXT2_N_BLOCKS];/* Pointers to blocks */
765- __u32 i_generation; /* File version (for NFS) */
766- __u32 i_file_acl; /* File ACL */
767- __u32 i_size_high; /* Formerly i_dir_acl, directory ACL */
768- __u32 i_faddr; /* Fragment address */
769- union {
770- struct {
771- __u16 l_i_blocks_hi;
772- __u16 l_i_file_acl_high;
773- __u16 l_i_uid_high; /* these 2 fields */
774- __u16 l_i_gid_high; /* were reserved2[0] */
775- __u16 l_i_checksum_lo; /* crc32c(uuid+inum+inode) */
776- __u16 l_i_reserved;
777- } linux2;
778- struct {
779- __u8 h_i_frag; /* Fragment number */
780- __u8 h_i_fsize; /* Fragment size */
781- __u16 h_i_mode_high;
782- __u16 h_i_uid_high;
783- __u16 h_i_gid_high;
784- __u32 h_i_author;
785- } hurd2;
786- } osd2; /* OS dependent 2 */
787- __u16 i_extra_isize;
788- __u16 i_checksum_hi; /* crc32c(uuid+inum+inode) */
789- __u32 i_ctime_extra; /* extra Change time (nsec << 2 | epoch) */
790- __u32 i_mtime_extra; /* extra Modification time (nsec << 2 | epoch) */
791- __u32 i_atime_extra; /* extra Access time (nsec << 2 | epoch) */
792- __u32 i_crtime; /* File creation time */
793- __u32 i_crtime_extra; /* extra File creation time (nsec << 2 | epoch)*/
794- __u32 i_version_hi; /* high 32 bits for 64-bit version */
795-};
796-
797-#define i_dir_acl i_size_high
798-
799-#if defined(__KERNEL__) || defined(__linux__)
800-#define i_reserved1 osd1.linux1.l_i_reserved1
801-#define i_frag osd2.linux2.l_i_frag
802-#define i_fsize osd2.linux2.l_i_fsize
803-#define i_uid_low i_uid
804-#define i_gid_low i_gid
805-#define i_uid_high osd2.linux2.l_i_uid_high
806-#define i_gid_high osd2.linux2.l_i_gid_high
807-#else
808-#if defined(__GNU__)
809-
810-#define i_translator osd1.hurd1.h_i_translator
811-#define i_frag osd2.hurd2.h_i_frag;
812-#define i_fsize osd2.hurd2.h_i_fsize;
813-#define i_uid_high osd2.hurd2.h_i_uid_high
814-#define i_gid_high osd2.hurd2.h_i_gid_high
815-#define i_author osd2.hurd2.h_i_author
816-
817-#endif /* __GNU__ */
818-#endif /* defined(__KERNEL__) || defined(__linux__) */
819-
820-#define inode_uid(inode) ((inode).i_uid | (inode).osd2.linux2.l_i_uid_high << 16)
821-#define inode_gid(inode) ((inode).i_gid | (inode).osd2.linux2.l_i_gid_high << 16)
822-#define ext2fs_set_i_uid_high(inode,x) ((inode).osd2.linux2.l_i_uid_high = (x))
823-#define ext2fs_set_i_gid_high(inode,x) ((inode).osd2.linux2.l_i_gid_high = (x))
824-
825-/*
826- * File system states
827- */
828-#define EXT2_VALID_FS 0x0001 /* Unmounted cleanly */
829-#define EXT2_ERROR_FS 0x0002 /* Errors detected */
830-#define EXT3_ORPHAN_FS 0x0004 /* Orphans being recovered */
831-
832-/*
833- * Misc. filesystem flags
834- */
835-#define EXT2_FLAGS_SIGNED_HASH 0x0001 /* Signed dirhash in use */
836-#define EXT2_FLAGS_UNSIGNED_HASH 0x0002 /* Unsigned dirhash in use */
837-#define EXT2_FLAGS_TEST_FILESYS 0x0004 /* OK for use on development code */
838-#define EXT2_FLAGS_IS_SNAPSHOT 0x0010 /* This is a snapshot image */
839-#define EXT2_FLAGS_FIX_SNAPSHOT 0x0020 /* Snapshot inodes corrupted */
840-#define EXT2_FLAGS_FIX_EXCLUDE 0x0040 /* Exclude bitmaps corrupted */
841-
842-/*
843- * Mount flags
844- */
845-#define EXT2_MOUNT_CHECK 0x0001 /* Do mount-time checks */
846-#define EXT2_MOUNT_GRPID 0x0004 /* Create files with directory's group */
847-#define EXT2_MOUNT_DEBUG 0x0008 /* Some debugging messages */
848-#define EXT2_MOUNT_ERRORS_CONT 0x0010 /* Continue on errors */
849-#define EXT2_MOUNT_ERRORS_RO 0x0020 /* Remount fs ro on errors */
850-#define EXT2_MOUNT_ERRORS_PANIC 0x0040 /* Panic on errors */
851-#define EXT2_MOUNT_MINIX_DF 0x0080 /* Mimics the Minix statfs */
852-#define EXT2_MOUNT_NO_UID32 0x0200 /* Disable 32-bit UIDs */
853-
854-#define clear_opt(o, opt) o &= ~EXT2_MOUNT_##opt
855-#define set_opt(o, opt) o |= EXT2_MOUNT_##opt
856-#define test_opt(sb, opt) (EXT2_SB(sb)->s_mount_opt & \
857- EXT2_MOUNT_##opt)
858-/*
859- * Maximal mount counts between two filesystem checks
860- */
861-#define EXT2_DFL_MAX_MNT_COUNT 20 /* Allow 20 mounts */
862-#define EXT2_DFL_CHECKINTERVAL 0 /* Don't use interval check */
863-
864-/*
865- * Behaviour when detecting errors
866- */
867-#define EXT2_ERRORS_CONTINUE 1 /* Continue execution */
868-#define EXT2_ERRORS_RO 2 /* Remount fs read-only */
869-#define EXT2_ERRORS_PANIC 3 /* Panic */
870-#define EXT2_ERRORS_DEFAULT EXT2_ERRORS_CONTINUE
871-
872-#if (__GNUC__ >= 4)
873-#define ext4_offsetof(TYPE,MEMBER) __builtin_offsetof(TYPE,MEMBER)
874-#else
875-#define ext4_offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
876-#endif
877-
878-/*
879- * Structure of the super block
880- */
881-struct ext2_super_block {
882- __u32 s_inodes_count; /* Inodes count */
883- __u32 s_blocks_count; /* Blocks count */
884- __u32 s_r_blocks_count; /* Reserved blocks count */
885- __u32 s_free_blocks_count; /* Free blocks count */
886- __u32 s_free_inodes_count; /* Free inodes count */
887- __u32 s_first_data_block; /* First Data Block */
888- __u32 s_log_block_size; /* Block size */
889- __u32 s_log_cluster_size; /* Allocation cluster size */
890- __u32 s_blocks_per_group; /* # Blocks per group */
891- __u32 s_clusters_per_group; /* # Fragments per group */
892- __u32 s_inodes_per_group; /* # Inodes per group */
893- __u32 s_mtime; /* Mount time */
894- __u32 s_wtime; /* Write time */
895- __u16 s_mnt_count; /* Mount count */
896- __s16 s_max_mnt_count; /* Maximal mount count */
897- __u16 s_magic; /* Magic signature */
898- __u16 s_state; /* File system state */
899- __u16 s_errors; /* Behaviour when detecting errors */
900- __u16 s_minor_rev_level; /* minor revision level */
901- __u32 s_lastcheck; /* time of last check */
902- __u32 s_checkinterval; /* max. time between checks */
903- __u32 s_creator_os; /* OS */
904- __u32 s_rev_level; /* Revision level */
905- __u16 s_def_resuid; /* Default uid for reserved blocks */
906- __u16 s_def_resgid; /* Default gid for reserved blocks */
907- /*
908- * These fields are for EXT2_DYNAMIC_REV superblocks only.
909- *
910- * Note: the difference between the compatible feature set and
911- * the incompatible feature set is that if there is a bit set
912- * in the incompatible feature set that the kernel doesn't
913- * know about, it should refuse to mount the filesystem.
914- *
915- * e2fsck's requirements are more strict; if it doesn't know
916- * about a feature in either the compatible or incompatible
917- * feature set, it must abort and not try to meddle with
918- * things it doesn't understand...
919- */
920- __u32 s_first_ino; /* First non-reserved inode */
921- __u16 s_inode_size; /* size of inode structure */
922- __u16 s_block_group_nr; /* block group # of this superblock */
923- __u32 s_feature_compat; /* compatible feature set */
924- __u32 s_feature_incompat; /* incompatible feature set */
925- __u32 s_feature_ro_compat; /* readonly-compatible feature set */
926- __u8 s_uuid[16]; /* 128-bit uuid for volume */
927- char s_volume_name[16]; /* volume name */
928- char s_last_mounted[64]; /* directory where last mounted */
929- __u32 s_algorithm_usage_bitmap; /* For compression */
930- /*
931- * Performance hints. Directory preallocation should only
932- * happen if the EXT2_FEATURE_COMPAT_DIR_PREALLOC flag is on.
933- */
934- __u8 s_prealloc_blocks; /* Nr of blocks to try to preallocate*/
935- __u8 s_prealloc_dir_blocks; /* Nr to preallocate for dirs */
936- __u16 s_reserved_gdt_blocks; /* Per group table for online growth */
937- /*
938- * Journaling support valid if EXT2_FEATURE_COMPAT_HAS_JOURNAL set.
939- */
940- __u8 s_journal_uuid[16]; /* uuid of journal superblock */
941- __u32 s_journal_inum; /* inode number of journal file */
942- __u32 s_journal_dev; /* device number of journal file */
943- __u32 s_last_orphan; /* start of list of inodes to delete */
944- __u32 s_hash_seed[4]; /* HTREE hash seed */
945- __u8 s_def_hash_version; /* Default hash version to use */
946- __u8 s_jnl_backup_type; /* Default type of journal backup */
947- __u16 s_desc_size; /* Group desc. size: INCOMPAT_64BIT */
948- __u32 s_default_mount_opts;
949- __u32 s_first_meta_bg; /* First metablock group */
950- __u32 s_mkfs_time; /* When the filesystem was created */
951- __u32 s_jnl_blocks[17]; /* Backup of the journal inode */
952- __u32 s_blocks_count_hi; /* Blocks count high 32bits */
953- __u32 s_r_blocks_count_hi; /* Reserved blocks count high 32 bits*/
954- __u32 s_free_blocks_hi; /* Free blocks count */
955- __u16 s_min_extra_isize; /* All inodes have at least # bytes */
956- __u16 s_want_extra_isize; /* New inodes should reserve # bytes */
957- __u32 s_flags; /* Miscellaneous flags */
958- __u16 s_raid_stride; /* RAID stride */
959- __u16 s_mmp_update_interval; /* # seconds to wait in MMP checking */
960- __u64 s_mmp_block; /* Block for multi-mount protection */
961- __u32 s_raid_stripe_width; /* blocks on all data disks (N*stride)*/
962- __u8 s_log_groups_per_flex; /* FLEX_BG group size */
963- __u8 s_reserved_char_pad;
964- __u16 s_reserved_pad; /* Padding to next 32bits */
965- __u64 s_kbytes_written; /* nr of lifetime kilobytes written */
966- __u32 s_snapshot_inum; /* Inode number of active snapshot */
967- __u32 s_snapshot_id; /* sequential ID of active snapshot */
968- __u64 s_snapshot_r_blocks_count; /* reserved blocks for active
969- snapshot's future use */
970- __u32 s_snapshot_list; /* inode number of the head of the on-disk snapshot list */
971-#define EXT4_S_ERR_START ext4_offsetof(struct ext2_super_block, s_error_count)
972- __u32 s_error_count; /* number of fs errors */
973- __u32 s_first_error_time; /* first time an error happened */
974- __u32 s_first_error_ino; /* inode involved in first error */
975- __u64 s_first_error_block; /* block involved of first error */
976- __u8 s_first_error_func[32]; /* function where the error happened */
977- __u32 s_first_error_line; /* line number where error happened */
978- __u32 s_last_error_time; /* most recent time of an error */
979- __u32 s_last_error_ino; /* inode involved in last error */
980- __u32 s_last_error_line; /* line number where error happened */
981- __u64 s_last_error_block; /* block involved of last error */
982- __u8 s_last_error_func[32]; /* function where the error happened */
983-#define EXT4_S_ERR_END ext4_offsetof(struct ext2_super_block, s_mount_opts)
984- __u8 s_mount_opts[64];
985- __u32 s_usr_quota_inum; /* inode number of user quota file */
986- __u32 s_grp_quota_inum; /* inode number of group quota file */
987- __u32 s_overhead_blocks; /* overhead blocks/clusters in fs */
988- __u32 s_reserved[108]; /* Padding to the end of the block */
989- __u32 s_checksum; /* crc32c(superblock) */
990-};
991-
992-#define EXT4_S_ERR_LEN (EXT4_S_ERR_END - EXT4_S_ERR_START)
993-
994-/*
995- * Codes for operating systems
996- */
997-#define EXT2_OS_LINUX 0
998-#define EXT2_OS_HURD 1
999-#define EXT2_OBSO_OS_MASIX 2
1000-#define EXT2_OS_FREEBSD 3
1001-#define EXT2_OS_LITES 4
1002-
1003-/*
1004- * Revision levels
1005- */
1006-#define EXT2_GOOD_OLD_REV 0 /* The good old (original) format */
1007-#define EXT2_DYNAMIC_REV 1 /* V2 format w/ dynamic inode sizes */
1008-
1009-#define EXT2_CURRENT_REV EXT2_GOOD_OLD_REV
1010-#define EXT2_MAX_SUPP_REV EXT2_DYNAMIC_REV
1011-
1012-#define EXT2_GOOD_OLD_INODE_SIZE 128
1013-
1014-/*
1015- * Journal inode backup types
1016- */
1017-#define EXT3_JNL_BACKUP_BLOCKS 1
1018-
1019-/*
1020- * Feature set definitions
1021- */
1022-
1023-#define EXT2_HAS_COMPAT_FEATURE(sb,mask) \
1024- ( EXT2_SB(sb)->s_feature_compat & (mask) )
1025-#define EXT2_HAS_RO_COMPAT_FEATURE(sb,mask) \
1026- ( EXT2_SB(sb)->s_feature_ro_compat & (mask) )
1027-#define EXT2_HAS_INCOMPAT_FEATURE(sb,mask) \
1028- ( EXT2_SB(sb)->s_feature_incompat & (mask) )
1029-
1030-#define EXT2_FEATURE_COMPAT_DIR_PREALLOC 0x0001
1031-#define EXT2_FEATURE_COMPAT_IMAGIC_INODES 0x0002
1032-#define EXT3_FEATURE_COMPAT_HAS_JOURNAL 0x0004
1033-#define EXT2_FEATURE_COMPAT_EXT_ATTR 0x0008
1034-#define EXT2_FEATURE_COMPAT_RESIZE_INODE 0x0010
1035-#define EXT2_FEATURE_COMPAT_DIR_INDEX 0x0020
1036-#define EXT2_FEATURE_COMPAT_LAZY_BG 0x0040
1037-/* #define EXT2_FEATURE_COMPAT_EXCLUDE_INODE 0x0080 not used, legacy */
1038-#define EXT2_FEATURE_COMPAT_EXCLUDE_BITMAP 0x0100
1039-
1040-
1041-#define EXT2_FEATURE_RO_COMPAT_SPARSE_SUPER 0x0001
1042-#define EXT2_FEATURE_RO_COMPAT_LARGE_FILE 0x0002
1043-/* #define EXT2_FEATURE_RO_COMPAT_BTREE_DIR 0x0004 not used */
1044-#define EXT4_FEATURE_RO_COMPAT_HUGE_FILE 0x0008
1045-#define EXT4_FEATURE_RO_COMPAT_GDT_CSUM 0x0010
1046-#define EXT4_FEATURE_RO_COMPAT_DIR_NLINK 0x0020
1047-#define EXT4_FEATURE_RO_COMPAT_EXTRA_ISIZE 0x0040
1048-#define EXT4_FEATURE_RO_COMPAT_HAS_SNAPSHOT 0x0080
1049-#define EXT4_FEATURE_RO_COMPAT_QUOTA 0x0100
1050-#define EXT4_FEATURE_RO_COMPAT_BIGALLOC 0x0200
1051-#define EXT4_FEATURE_RO_COMPAT_METADATA_CSUM 0x0400
1052-#define EXT4_FEATURE_RO_COMPAT_REPLICA 0x0800
1053-
1054-#define EXT2_FEATURE_INCOMPAT_COMPRESSION 0x0001
1055-#define EXT2_FEATURE_INCOMPAT_FILETYPE 0x0002
1056-#define EXT3_FEATURE_INCOMPAT_RECOVER 0x0004 /* Needs recovery */
1057-#define EXT3_FEATURE_INCOMPAT_JOURNAL_DEV 0x0008 /* Journal device */
1058-#define EXT2_FEATURE_INCOMPAT_META_BG 0x0010
1059-#define EXT3_FEATURE_INCOMPAT_EXTENTS 0x0040
1060-#define EXT4_FEATURE_INCOMPAT_64BIT 0x0080
1061-#define EXT4_FEATURE_INCOMPAT_MMP 0x0100
1062-#define EXT4_FEATURE_INCOMPAT_FLEX_BG 0x0200
1063-#define EXT4_FEATURE_INCOMPAT_EA_INODE 0x0400
1064-#define EXT4_FEATURE_INCOMPAT_DIRDATA 0x1000
1065-
1066-#define EXT2_FEATURE_COMPAT_SUPP 0
1067-#define EXT2_FEATURE_INCOMPAT_SUPP (EXT2_FEATURE_INCOMPAT_FILETYPE| \
1068- EXT4_FEATURE_INCOMPAT_MMP)
1069-#define EXT2_FEATURE_RO_COMPAT_SUPP (EXT2_FEATURE_RO_COMPAT_SPARSE_SUPER| \
1070- EXT2_FEATURE_RO_COMPAT_LARGE_FILE| \
1071- EXT4_FEATURE_RO_COMPAT_DIR_NLINK| \
1072- EXT2_FEATURE_RO_COMPAT_BTREE_DIR)
1073-
1074-/*
1075- * Default values for user and/or group using reserved blocks
1076- */
1077-#define EXT2_DEF_RESUID 0
1078-#define EXT2_DEF_RESGID 0
1079-
1080-/*
1081- * Default mount options
1082- */
1083-#define EXT2_DEFM_DEBUG 0x0001
1084-#define EXT2_DEFM_BSDGROUPS 0x0002
1085-#define EXT2_DEFM_XATTR_USER 0x0004
1086-#define EXT2_DEFM_ACL 0x0008
1087-#define EXT2_DEFM_UID16 0x0010
1088-#define EXT3_DEFM_JMODE 0x0060
1089-#define EXT3_DEFM_JMODE_DATA 0x0020
1090-#define EXT3_DEFM_JMODE_ORDERED 0x0040
1091-#define EXT3_DEFM_JMODE_WBACK 0x0060
1092-#define EXT4_DEFM_NOBARRIER 0x0100
1093-#define EXT4_DEFM_BLOCK_VALIDITY 0x0200
1094-#define EXT4_DEFM_DISCARD 0x0400
1095-#define EXT4_DEFM_NODELALLOC 0x0800
1096-
1097-/*
1098- * Structure of a directory entry
1099- */
1100-#define EXT2_NAME_LEN 255
1101-
1102-struct ext2_dir_entry {
1103- __u32 inode; /* Inode number */
1104- __u16 rec_len; /* Directory entry length */
1105- __u16 name_len; /* Name length */
1106- char name[EXT2_NAME_LEN]; /* File name */
1107-};
1108-
1109-/*
1110- * The new version of the directory entry. Since EXT2 structures are
1111- * stored in intel byte order, and the name_len field could never be
1112- * bigger than 255 chars, it's safe to reclaim the extra byte for the
1113- * file_type field.
1114- */
1115-struct ext2_dir_entry_2 {
1116- __u32 inode; /* Inode number */
1117- __u16 rec_len; /* Directory entry length */
1118- __u8 name_len; /* Name length */
1119- __u8 file_type;
1120- char name[EXT2_NAME_LEN]; /* File name */
1121-};
1122-
1123-/*
1124- * Ext2 directory file types. Only the low 3 bits are used. The
1125- * other bits are reserved for now.
1126- */
1127-#define EXT2_FT_UNKNOWN 0
1128-#define EXT2_FT_REG_FILE 1
1129-#define EXT2_FT_DIR 2
1130-#define EXT2_FT_CHRDEV 3
1131-#define EXT2_FT_BLKDEV 4
1132-#define EXT2_FT_FIFO 5
1133-#define EXT2_FT_SOCK 6
1134-#define EXT2_FT_SYMLINK 7
1135-
1136-#define EXT2_FT_MAX 8
1137-
1138-/*
1139- * EXT2_DIR_PAD defines the directory entries boundaries
1140- *
1141- * NOTE: It must be a multiple of 4
1142- */
1143-#define EXT2_DIR_PAD 4
1144-#define EXT2_DIR_ROUND (EXT2_DIR_PAD - 1)
1145-#define EXT2_DIR_REC_LEN(name_len) (((name_len) + 8 + EXT2_DIR_ROUND) & \
1146- ~EXT2_DIR_ROUND)
1147-
1148-/*
1149- * This structure is used for multiple mount protection. It is written
1150- * into the block number saved in the s_mmp_block field in the superblock.
1151- * Programs that check MMP should assume that if SEQ_FSCK (or any unknown
1152- * code above SEQ_MAX) is present then it is NOT safe to use the filesystem,
1153- * regardless of how old the timestamp is.
1154- *
1155- * The timestamp in the MMP structure will be updated by e2fsck at some
1156- * arbitary intervals (start of passes, after every few groups of inodes
1157- * in pass1 and pass1b). There is no guarantee that e2fsck is updating
1158- * the MMP block in a timely manner, and the updates it does are purely
1159- * for the convenience of the sysadmin and not for automatic validation.
1160- *
1161- * Note: Only the mmp_seq value is used to determine whether the MMP block
1162- * is being updated. The mmp_time, mmp_nodename, and mmp_bdevname
1163- * fields are only for informational purposes for the administrator,
1164- * due to clock skew between nodes and hostname HA service takeover.
1165- */
1166-#define EXT4_MMP_MAGIC 0x004D4D50U /* ASCII for MMP */
1167-#define EXT4_MMP_SEQ_CLEAN 0xFF4D4D50U /* mmp_seq value for clean unmount */
1168-#define EXT4_MMP_SEQ_FSCK 0xE24D4D50U /* mmp_seq value when being fscked */
1169-#define EXT4_MMP_SEQ_MAX 0xE24D4D4FU /* maximum valid mmp_seq value */
1170-
1171-struct mmp_struct {
1172- __u32 mmp_magic; /* Magic number for MMP */
1173- __u32 mmp_seq; /* Sequence no. updated periodically */
1174- __u64 mmp_time; /* Time last updated */
1175- char mmp_nodename[64]; /* Node which last updated MMP block */
1176- char mmp_bdevname[32]; /* Bdev which last updated MMP block */
1177- __u16 mmp_check_interval; /* Changed mmp_check_interval */
1178- __u16 mmp_pad1;
1179- __u32 mmp_pad2[227];
1180-};
1181-
1182-/*
1183- * Default interval for MMP update in seconds.
1184- */
1185-#define EXT4_MMP_UPDATE_INTERVAL 5
1186-
1187-/*
1188- * Maximum interval for MMP update in seconds.
1189- */
1190-#define EXT4_MMP_MAX_UPDATE_INTERVAL 300
1191-
1192-/*
1193- * Minimum interval for MMP checking in seconds.
1194- */
1195-#define EXT4_MMP_MIN_CHECK_INTERVAL 5
1196-
1197-#endif /* _EXT2FS_EXT2_FS_H */
diff --git a/meta/recipes-devtools/syslinux/syslinux_6.04-pre2.bb b/meta/recipes-devtools/syslinux/syslinux_6.04-pre2.bb
index c8e7f25d2b..449a75ebf8 100644
--- a/meta/recipes-devtools/syslinux/syslinux_6.04-pre2.bb
+++ b/meta/recipes-devtools/syslinux/syslinux_6.04-pre2.bb
@@ -22,9 +22,10 @@ SRC_URI = "https://www.zytor.com/pub/syslinux/Testing/6.04/syslinux-${PV}.tar.xz
22 file://0012-libinstaller-Fix-build-with-glibc-2.36.patch \ 22 file://0012-libinstaller-Fix-build-with-glibc-2.36.patch \
23 file://0013-remove-clean-script.patch \ 23 file://0013-remove-clean-script.patch \
24 file://0014-Fix-reproducibility-issues.patch \ 24 file://0014-Fix-reproducibility-issues.patch \
25" 25 file://0001-ext2_fs.h-do-not-carry-an-outdated-copy.patch \
26 file://0001-Add-extra-sector-count-from-section-entry-for-EFI-ca.patch \
27 "
26 28
27SRC_URI[md5sum] = "2b31c78f087f99179feb357da312d7ec"
28SRC_URI[sha256sum] = "4441a5d593f85bb6e8d578cf6653fb4ec30f9e8f4a2315a3d8f2d0a8b3fadf94" 29SRC_URI[sha256sum] = "4441a5d593f85bb6e8d578cf6653fb4ec30f9e8f4a2315a3d8f2d0a8b3fadf94"
29 30
30# remove at next version upgrade or when output changes 31# remove at next version upgrade or when output changes
@@ -48,7 +49,7 @@ TARGET_LDFLAGS = ""
48SECURITY_LDFLAGS = "" 49SECURITY_LDFLAGS = ""
49LDFLAGS_SECTION_REMOVAL = "" 50LDFLAGS_SECTION_REMOVAL = ""
50 51
51CFLAGS:append = " -DNO_INLINE_FUNCS -Wno-error=implicit-function-declaration" 52CFLAGS += "-DNO_INLINE_FUNCS -Wno-error=implicit-function-declaration -idirafter ${STAGING_INCDIR}"
52 53
53EXTRA_OEMAKE = " \ 54EXTRA_OEMAKE = " \
54 BINDIR=${bindir} SBINDIR=${sbindir} LIBDIR=${libdir} \ 55 BINDIR=${bindir} SBINDIR=${sbindir} LIBDIR=${libdir} \
@@ -129,3 +130,8 @@ FILES:${PN}-staticdev += "${datadir}/${BPN}/com32/lib*.a ${libdir}/${BPN}/com32/
129FILES:${PN}-misc = "${datadir}/${BPN}/* ${libdir}/${BPN}/* ${bindir}/*" 130FILES:${PN}-misc = "${datadir}/${BPN}/* ${libdir}/${BPN}/* ${bindir}/*"
130 131
131BBCLASSEXTEND = "native nativesdk" 132BBCLASSEXTEND = "native nativesdk"
133
134# com32/lib/../include/stdarg.h:9:15: fatal error: 'stdarg.h' file not found
135# 9 | #include_next <stdarg.h>
136# | ^~~~~~~~~~
137TOOLCHAIN = "gcc"
diff --git a/meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0001-Add-riscv32-support.patch b/meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0001-Add-riscv32-support.patch
new file mode 100644
index 0000000000..80f0b6d378
--- /dev/null
+++ b/meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0001-Add-riscv32-support.patch
@@ -0,0 +1,48 @@
1From da22e9f4eec22163feab5a0a4488627ea992daa9 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 16 Sep 2024 23:58:36 +0000
4Subject: [PATCH] Add riscv32 support
5
6Add missing definitions for the RISC-V 32-bit architecture.
7
8Upstream-Status: Submitted [https://github.com/systemd/systemd-bootchart/pull/54]
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 configure.ac | 1 +
12 src/architecture.h | 4 ++++
13 2 files changed, 5 insertions(+)
14
15diff --git a/configure.ac b/configure.ac
16index 5c9c20f..f977c78 100644
17--- a/configure.ac
18+++ b/configure.ac
19@@ -45,6 +45,7 @@ SET_ARCH(IA32, i*86*)
20 SET_ARCH(MIPS, mips*)
21 SET_ARCH(AARCH64, aarch64*)
22 SET_ARCH(RISCV64, riscv64*)
23+SET_ARCH(RISCV32, riscv32*)
24
25 AC_CHECK_SIZEOF(pid_t)
26 AC_CHECK_SIZEOF(uid_t)
27diff --git a/src/architecture.h b/src/architecture.h
28index cbf1795..f33cd00 100644
29--- a/src/architecture.h
30+++ b/src/architecture.h
31@@ -58,6 +58,7 @@ enum {
32 ARCHITECTURE_TILEGX,
33 ARCHITECTURE_CRIS,
34 ARCHITECTURE_RISCV64,
35+ ARCHITECTURE_RISCV32,
36 ARCHITECTURE_LOONGARCH,
37 _ARCHITECTURE_MAX,
38 _ARCHITECTURE_INVALID = -1
39@@ -151,6 +152,9 @@ int uname_architecture(void);
40 #elif defined(__riscv) && __riscv_xlen == 64
41 # define native_architecture() ARCHITECTURE_RISCV64
42 # define define LIB_ARCH_TUPLE "riscv64-linux-gnu"
43+#elif defined(__riscv) && __riscv_xlen == 32
44+# define native_architecture() ARCHITECTURE_RISCV32
45+# define define LIB_ARCH_TUPLE "riscv32-linux-gnu"
46 #elif defined(__loongarch__) && __loongarch_grlen == 64
47 # define native_architecture() ARCHITECTURE_LOONGARCH
48 # define define LIB_ARCH_TUPLE "loongarch64-linux-gnu"
diff --git a/meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0001-Define-portable-basename-function.patch b/meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0001-Define-portable-basename-function.patch
new file mode 100644
index 0000000000..dc4c44c6af
--- /dev/null
+++ b/meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0001-Define-portable-basename-function.patch
@@ -0,0 +1,59 @@
1From 4b19c32791fb8a8663b3335f8a3675a2bbabe688 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 20 May 2024 18:40:36 -0700
4Subject: [PATCH] Define portable basename function
5
6Newer version of musl have removed prototype for basename in string.h [1]
7which now makes it fail to compile with GCC14+ compiler therefore
8define local basename utility function.
9
10[1] https://git.musl-libc.org/cgit/musl/commit/?id=725e17ed6dff4d0cd22487bb64470881e86a92e7
11
12Upstream-Status: Submitted [https://github.com/systemd/systemd-bootchart/pull/53]
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14---
15 src/conf-files.c | 14 ++++++++++++--
16 1 file changed, 12 insertions(+), 2 deletions(-)
17
18diff --git a/src/conf-files.c b/src/conf-files.c
19index 5dd2d7d..b932bb2 100644
20--- a/src/conf-files.c
21+++ b/src/conf-files.c
22@@ -35,6 +35,16 @@
23 #include "strv.h"
24 #include "util.h"
25
26+/***
27+ * basename is implemented differently across different C libraries. This
28+ * implementation matches the one provided by the GNU libc, and does not
29+ * modify its input parameter.
30+***/
31+static const char *sbc_basename(const char *path) {
32+ const char *base = strrchr(path, '/');
33+ return base ? base + 1 : path;
34+}
35+
36 static int files_add(Hashmap *h, const char *root, const char *path, const char *suffix) {
37 _cleanup_closedir_ DIR *dir = NULL;
38 const char *dirpath;
39@@ -63,7 +73,7 @@ static int files_add(Hashmap *h, const char *root, const char *path, const char
40 if (!p)
41 return -ENOMEM;
42
43- r = hashmap_put(h, basename(p), p);
44+ r = hashmap_put(h, sbc_basename(p), p);
45 if (r == -EEXIST) {
46 log_debug("Skipping overridden file: %s.", p);
47 free(p);
48@@ -84,7 +94,7 @@ static int base_cmp(const void *a, const void *b) {
49
50 s1 = *(char * const *)a;
51 s2 = *(char * const *)b;
52- return strcmp(basename(s1), basename(s2));
53+ return strcmp(sbc_basename(s1), sbc_basename(s2));
54 }
55
56 static int conf_files_list_strv_internal(char ***strv, const char *suffix, const char *root, char **dirs) {
57--
582.45.1
59
diff --git a/meta/recipes-devtools/systemd-bootchart/systemd-bootchart_235.bb b/meta/recipes-devtools/systemd-bootchart/systemd-bootchart_235.bb
index 25544029d5..31f3add89f 100644
--- a/meta/recipes-devtools/systemd-bootchart/systemd-bootchart_235.bb
+++ b/meta/recipes-devtools/systemd-bootchart/systemd-bootchart_235.bb
@@ -11,19 +11,18 @@ LIC_FILES_CHKSUM = "file://LICENSE.LGPL2.1;md5=4fbd65380cdd255951079008b364516c
11SRC_URI = "git://github.com/systemd/systemd-bootchart.git;protocol=https;branch=main \ 11SRC_URI = "git://github.com/systemd/systemd-bootchart.git;protocol=https;branch=main \
12 file://mips64.patch \ 12 file://mips64.patch \
13 file://no_lto.patch \ 13 file://no_lto.patch \
14 file://0001-Add-riscv32-support.patch \
14" 15"
15 16
16SRC_URI:append:libc-musl = " \ 17SRC_URI:append:libc-musl = " \
17 file://0001-comparison_fn_t-is-glibc-specific-use-raw-signature-.patch \ 18 file://0001-comparison_fn_t-is-glibc-specific-use-raw-signature-.patch \
18 file://0002-musl-does-not-provide-printf-h.patch \ 19 file://0002-musl-does-not-provide-printf-h.patch \
19 file://0003-musl-does-not-provide-canonicalize_file_name.patch \ 20 file://0003-musl-does-not-provide-canonicalize_file_name.patch \
21 file://0001-Define-portable-basename-function.patch \
20 " 22 "
21 23
22
23SRCREV = "8ab9680a1bd5eb8fe7a7dcc44897af7ee41e56e7" 24SRCREV = "8ab9680a1bd5eb8fe7a7dcc44897af7ee41e56e7"
24 25
25S = "${WORKDIR}/git"
26
27DEPENDS = "systemd libxslt-native xmlto-native docbook-xml-dtd4-native docbook-xsl-stylesheets-native intltool" 26DEPENDS = "systemd libxslt-native xmlto-native docbook-xml-dtd4-native docbook-xsl-stylesheets-native intltool"
28 27
29inherit pkgconfig autotools systemd features_check 28inherit pkgconfig autotools systemd features_check
diff --git a/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb b/meta/recipes-devtools/tcf-agent/tcf-agent_1.8.0.bb
index 214dd4b2a8..f008c0c6de 100644
--- a/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb
+++ b/meta/recipes-devtools/tcf-agent/tcf-agent_1.8.0.bb
@@ -3,14 +3,13 @@ HOMEPAGE = "http://wiki.eclipse.org/TCF"
3DESCRIPTION = "TCF is a vendor-neutral, lightweight, extensible network protocol mainly for communicating with embedded systems (targets)." 3DESCRIPTION = "TCF is a vendor-neutral, lightweight, extensible network protocol mainly for communicating with embedded systems (targets)."
4BUGTRACKER = "https://bugs.eclipse.org/bugs/" 4BUGTRACKER = "https://bugs.eclipse.org/bugs/"
5 5
6LICENSE = "EPL-1.0 | EDL-1.0" 6LICENSE = "EPL-1.0 | BSD-3-Clause"
7LIC_FILES_CHKSUM = "file://edl-v10.html;md5=522a390a83dc186513f0500543ad3679" 7LIC_FILES_CHKSUM = "file://edl-v10.html;md5=522a390a83dc186513f0500543ad3679"
8 8
9SRCREV = "1f11747e83ebf4f53e8d17f430136f92ec378709" 9SRCREV = "1f11747e83ebf4f53e8d17f430136f92ec378709"
10PV = "1.8.0+git"
11 10
12UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))" 11UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))"
13SRC_URI = "git://git.eclipse.org/r/tcf/org.eclipse.tcf.agent.git;protocol=https;branch=master \ 12SRC_URI = "git://gitlab.eclipse.org/eclipse/tcf/tcf.agent.git;protocol=https;branch=master \
14 file://ldflags.patch \ 13 file://ldflags.patch \
15 file://tcf-agent.init \ 14 file://tcf-agent.init \
16 file://tcf-agent.service \ 15 file://tcf-agent.service \
@@ -19,7 +18,7 @@ SRC_URI = "git://git.eclipse.org/r/tcf/org.eclipse.tcf.agent.git;protocol=https;
19DEPENDS = "util-linux openssl" 18DEPENDS = "util-linux openssl"
20RDEPENDS:${PN} = "bash" 19RDEPENDS:${PN} = "bash"
21 20
22S = "${WORKDIR}/git/agent" 21S = "${UNPACKDIR}/${BP}/agent"
23 22
24inherit update-rc.d systemd 23inherit update-rc.d systemd
25 24
@@ -38,7 +37,6 @@ LCL_STOP_SERVICES = "-DSERVICE_RunControl=0 -DSERVICE_Breakpoints=0 \
38 -DSERVICE_Memory=0 -DSERVICE_Registers=0 -DSERVICE_MemoryMap=0 \ 37 -DSERVICE_Memory=0 -DSERVICE_Registers=0 -DSERVICE_MemoryMap=0 \
39 -DSERVICE_StackTrace=0 -DSERVICE_Expressions=0" 38 -DSERVICE_StackTrace=0 -DSERVICE_Expressions=0"
40 39
41
42# These features don't compile for several cases. 40# These features don't compile for several cases.
43# 41#
44CFLAGS:append:arc = " ${LCL_STOP_SERVICES}" 42CFLAGS:append:arc = " ${LCL_STOP_SERVICES}"
@@ -51,6 +49,12 @@ CFLAGS:append:riscv64 = " ${LCL_STOP_SERVICES}"
51CFLAGS:append:riscv32 = " ${LCL_STOP_SERVICES}" 49CFLAGS:append:riscv32 = " ${LCL_STOP_SERVICES}"
52CFLAGS:append:loongarch64 = " ${LCL_STOP_SERVICES}" 50CFLAGS:append:loongarch64 = " ${LCL_STOP_SERVICES}"
53 51
52# This works with gcc-ranlib wrapper only because it exists without error if nothing
53# is passed as argument but binutils ranlib and llvm ranlib do not and expect an input
54# passing $@ ensures that Makefile default target which is the archive name in tcf makefiles
55# is passed to RANLIB, ensures that whichever ranlib is used, the behavior is identical
56RANLIB:append = " $@"
57
54do_install() { 58do_install() {
55 oe_runmake install INSTALLROOT=${D} 59 oe_runmake install INSTALLROOT=${D}
56 install -d ${D}${sysconfdir}/init.d/ 60 install -d ${D}${sysconfdir}/init.d/
diff --git a/meta/recipes-devtools/tcltk/tcl/0001-tcl-Add-tcltk-from-OE.dev-but-with-legacy-staging-fu.patch b/meta/recipes-devtools/tcltk/tcl/0001-tcl-Add-tcltk-from-OE.dev-but-with-legacy-staging-fu.patch
new file mode 100644
index 0000000000..cefcb24433
--- /dev/null
+++ b/meta/recipes-devtools/tcltk/tcl/0001-tcl-Add-tcltk-from-OE.dev-but-with-legacy-staging-fu.patch
@@ -0,0 +1,47 @@
1From 822a73a5dec13549cb20e6c7338b059ece2ea95a Mon Sep 17 00:00:00 2001
2From: Richard Purdie <rpurdie@linux.intel.com>
3Date: Wed, 9 Dec 2009 23:59:44 +0000
4Subject: [PATCH] tcl: add .0 to libtcl.so filename
5
6This patch is fixing the issue after the fact; the issue
7is that upstream defines the shared library filename as
8libtcl.so (without version) for all platforms in unix/tcl.m4,
9and I (AlexK) suspect they won't be interested in
10changing that.
11
12Upstream-Status: Inappropriate [see above]
13---
14 unix/Makefile.in | 5 ++++-
15 unix/tcl.m4 | 3 +++
16 2 files changed, 7 insertions(+), 1 deletion(-)
17
18diff --git a/unix/Makefile.in b/unix/Makefile.in
19index b72b0da..2de7b2f 100644
20--- a/unix/Makefile.in
21+++ b/unix/Makefile.in
22@@ -1021,7 +1021,10 @@ install-binaries: binaries
23 done
24 @echo "Installing $(LIB_FILE) to $(DLL_INSTALL_DIR)/"
25 @@INSTALL_LIB@
26- @chmod 555 "$(DLL_INSTALL_DIR)/$(LIB_FILE)"
27+ mv "$(DLL_INSTALL_DIR)"/$(LIB_FILE) "$(DLL_INSTALL_DIR)"/$(LIB_FILE).0
28+ ln -sf $(LIB_FILE).0 "$(DLL_INSTALL_DIR)"/$(LIB_FILE)
29+ ln -sf "$(DLL_INSTALL_DIR)"/$(LIB_FILE).0 ./
30+ @chmod 555 "$(DLL_INSTALL_DIR)"/$(LIB_FILE).0
31 @echo "Installing ${TCL_EXE} as $(BIN_INSTALL_DIR)/tclsh$(VERSION)${EXE_SUFFIX}"
32 @$(INSTALL_PROGRAM) ${TCL_EXE} "$(BIN_INSTALL_DIR)/tclsh$(VERSION)${EXE_SUFFIX}"
33 @echo "Installing tclConfig.sh to $(CONFIG_INSTALL_DIR)/"
34diff --git a/unix/tcl.m4 b/unix/tcl.m4
35index 4265832..49ad5ab 100644
36--- a/unix/tcl.m4
37+++ b/unix/tcl.m4
38@@ -1269,6 +1269,9 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
39 # get rid of the warnings.
40 #CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES"
41
42+ # following line added by CW for Debian GNU/Linux
43+ TCL_SHLIB_LD_EXTRAS="-Wl,-soname,\${TCL_LIB_FILE}.0"
44+
45 SHLIB_LD='${CC} ${CFLAGS} ${LDFLAGS} -shared'
46 DL_OBJS="tclLoadDl.o"
47 DL_LIBS="-ldl"
diff --git a/meta/recipes-devtools/tcltk/tcl/0002-tcl-fix-a-build-issue.patch b/meta/recipes-devtools/tcltk/tcl/0002-tcl-fix-a-build-issue.patch
new file mode 100644
index 0000000000..a2d5622528
--- /dev/null
+++ b/meta/recipes-devtools/tcltk/tcl/0002-tcl-fix-a-build-issue.patch
@@ -0,0 +1,79 @@
1From 363d9d8fb329b26d1e59ece7f269a7a28e6722c5 Mon Sep 17 00:00:00 2001
2From: Nitin A Kamble <nitin.a.kamble@intel.com>
3Date: Fri, 13 Aug 2010 12:24:00 -0700
4Subject: [PATCH] tcl: fix a build issue
5
6Upstream-Status: Inappropriate [upstream does not support installed tests]
7---
8 unix/Makefile.in | 19 +++++++++----------
9 1 file changed, 9 insertions(+), 10 deletions(-)
10
11diff --git a/unix/Makefile.in b/unix/Makefile.in
12index 2de7b2f..b5f9ab7 100644
13--- a/unix/Makefile.in
14+++ b/unix/Makefile.in
15@@ -912,7 +912,7 @@ tcltest-real:
16 test: test-tcl test-packages
17
18 test-tcl: ${TCLTEST_EXE}
19- $(SHELL_ENV) ./${TCLTEST_EXE} $(TOP_DIR)/tests/all.tcl $(TESTFLAGS)
20+ $(SHELL_ENV) ${TCLTEST_EXE} $(TOP_DIR)/tests/all.tcl $(TESTFLAGS)
21
22 gdb-test: ${TCLTEST_EXE}
23 $(SHELL_ENV) $(GDB) --args ./${TCLTEST_EXE} $(TOP_DIR)/tests/all.tcl \
24@@ -922,15 +922,14 @@ lldb-test: ${TCLTEST_EXE}
25 $(SHELL_ENV) $(LLDB) -- ./${TCLTEST_EXE} $(TOP_DIR)/tests/all.tcl \
26 $(TESTFLAGS) -singleproc 1
27
28-
29 # Useful target to launch a built tcltest with the proper path,...
30 runtest: ${TCLTEST_EXE}
31- $(SHELL_ENV) ./${TCLTEST_EXE}
32+ $(SHELL_ENV) ${TCLTEST_EXE}
33
34 # Useful target for running the test suite with an unwritable current
35 # directory...
36 ro-test: ${TCLTEST_EXE}
37- echo 'exec chmod -w .;package require tcltest;tcltest::temporaryDirectory /tmp;source ../tests/all.tcl;exec chmod +w .' | $(SHELL_ENV) ./${TCLTEST_EXE}
38+ echo 'exec chmod -w .;package require tcltest;tcltest::temporaryDirectory /tmp;source ../tests/all.tcl;exec chmod +w .' | $(SHELL_ENV) ${TCLTEST_EXE}
39
40 # The following target generates the shared libraries in dltest/ that are used
41 # for testing; they are included as part of the "tcltest" target (via the
42@@ -948,17 +947,17 @@ dltest.marker: ${STUB_LIB_FILE}
43 # This target can be used to run tclsh from the build directory
44 # via `make shell SCRIPT=/tmp/foo.tcl`
45 shell: ${TCL_EXE}
46- $(SHELL_ENV) ./${TCL_EXE} $(SCRIPT)
47+ $(SHELL_ENV) ${TCL_EXE} $(SCRIPT)
48
49 # This target can be used to run tclsh inside either gdb or insight
50 gdb: ${TCL_EXE}
51- $(SHELL_ENV) $(GDB) ./${TCL_EXE}
52+ $(SHELL_ENV) $(GDB) ${TCL_EXE}
53
54 lldb: ${TCL_EXE}
55 $(SHELL_ENV) $(LLDB) ./${TCL_EXE}
56
57 valgrind: ${TCL_EXE} ${TCLTEST_EXE}
58- $(SHELL_ENV) $(VALGRIND) $(VALGRINDARGS) ./${TCLTEST_EXE} \
59+ $(SHELL_ENV) $(VALGRIND) $(VALGRINDARGS) ${TCLTEST_EXE} \
60 $(TOP_DIR)/tests/all.tcl -singleproc 1 -constraints valgrind \
61 $(TESTFLAGS)
62
63@@ -984,13 +983,13 @@ valgrind_each: $(addprefix testresults/valgrind/,$(addsuffix .success,$(notdir\
64
65
66 valgrindshell: ${TCL_EXE}
67- $(SHELL_ENV) $(VALGRIND) $(VALGRINDARGS) ./${TCL_EXE} $(SCRIPT)
68+ $(SHELL_ENV) $(VALGRIND) $(VALGRINDARGS) ${TCL_EXE} $(SCRIPT)
69
70 trace-shell: ${TCL_EXE}
71- $(SHELL_ENV) ${TRACE} $(TRACE_OPTS) ./${TCL_EXE} $(SCRIPT)
72+ $(SHELL_ENV) ${TRACE} $(TRACE_OPTS) ${TCL_EXE} $(SCRIPT)
73
74 trace-test: ${TCLTEST_EXE}
75- $(SHELL_ENV) ${TRACE} $(TRACE_OPTS) ./${TCLTEST_EXE} $(TOP_DIR)/tests/all.tcl -singleproc 1 $(TESTFLAGS)
76+ $(SHELL_ENV) ${TRACE} $(TRACE_OPTS) ${TCLTEST_EXE} $(TOP_DIR)/tests/all.tcl -singleproc 1 $(TESTFLAGS)
77
78 #--------------------------------------------------------------------------
79 # Installation rules
diff --git a/meta/recipes-devtools/tcltk/tcl/0003-tcl-install-tcl-to-lib64-instead-of-lib-on-64bit-tar.patch b/meta/recipes-devtools/tcltk/tcl/0003-tcl-install-tcl-to-lib64-instead-of-lib-on-64bit-tar.patch
new file mode 100644
index 0000000000..8a425637c6
--- /dev/null
+++ b/meta/recipes-devtools/tcltk/tcl/0003-tcl-install-tcl-to-lib64-instead-of-lib-on-64bit-tar.patch
@@ -0,0 +1,31 @@
1From 964b9649f8d044d38fdc8c4201075692e5f537a0 Mon Sep 17 00:00:00 2001
2From: "Song.Li" <Song.Li@windriver.com>
3Date: Wed, 1 Aug 2012 19:05:51 +0800
4Subject: [PATCH] tcl:install tcl to lib64 instead of lib on 64bit target
5
6Remove hardcoded library install path. Change $(prefix)/lib/ to ${libdir}.
7
8[YOCTO #2876]
9
10Upstream-Status: Pending
11
12Signed-off-by: Song.Li <Song.Li@windriver.com>
13Signed-off-by: Kai Kang <kai.kang@windriver.com>
14Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
15---
16 unix/configure.ac | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/unix/configure.ac b/unix/configure.ac
20index 7f012d4..43ec7e4 100644
21--- a/unix/configure.ac
22+++ b/unix/configure.ac
23@@ -725,7 +725,7 @@ eval "TCL_LIB_FILE=libtcl${LIB_SUFFIX}"
24
25 eval "TCL_LIB_FILE=${TCL_LIB_FILE}"
26
27-test -z "$TCL_LIBRARY" && TCL_LIBRARY='$(prefix)/lib/tcl$(VERSION)'
28+test -z "$TCL_LIBRARY" && TCL_LIBRARY='$(libdir)/tcl$(VERSION)'
29 PRIVATE_INCLUDE_DIR='$(includedir)'
30 HTML_DIR='$(DISTDIR)/html'
31
diff --git a/meta/recipes-devtools/tcltk/tcl/0004-tcl-update-the-header-location.patch b/meta/recipes-devtools/tcltk/tcl/0004-tcl-update-the-header-location.patch
new file mode 100644
index 0000000000..50a4a27256
--- /dev/null
+++ b/meta/recipes-devtools/tcltk/tcl/0004-tcl-update-the-header-location.patch
@@ -0,0 +1,75 @@
1From d2fa5a1efa5e4f07b294660c2513766c168137ce Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Tue, 22 Nov 2022 18:48:27 +0800
4Subject: [PATCH] tcl: update the header location
5
6Lets install the include header and private header files into
7usr/include/tcl8.6 when version of tcl is 8.6.x
8
9Upstream-Status: Inappropriate [Configuration Specific]
10
11Signed-off-by: Khem Raj <raj.khem@gmai.com>
12
13Fixed the TCL_INCLUDE_SPEC
14
15Also update the header location in tcl.pc to correct the header
16location in case some package such python3 which use pkg-config
17to detect tcl doesn't find the header.
18
19Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
20Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
21Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
22---
23 unix/Makefile.in | 2 +-
24 unix/configure.ac | 4 ++--
25 unix/tcl.pc.in | 2 +-
26 3 files changed, 4 insertions(+), 4 deletions(-)
27
28diff --git a/unix/Makefile.in b/unix/Makefile.in
29index b5f9ab7..fbc87a2 100644
30--- a/unix/Makefile.in
31+++ b/unix/Makefile.in
32@@ -57,7 +57,7 @@ SCRIPT_INSTALL_DIR = $(INSTALL_ROOT)$(TCL_LIBRARY)
33 MODULE_INSTALL_DIR = $(SCRIPT_INSTALL_DIR)/../tcl9
34
35 # Directory in which to install the include file tcl.h:
36-INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(includedir)
37+INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(includedir)/tcl$(VERSION)
38
39 # Path to the private tcl header dir:
40 PRIVATE_INCLUDE_DIR = @PRIVATE_INCLUDE_DIR@
41diff --git a/unix/configure.ac b/unix/configure.ac
42index 43ec7e4..19524d1 100644
43--- a/unix/configure.ac
44+++ b/unix/configure.ac
45@@ -726,7 +726,7 @@ eval "TCL_LIB_FILE=libtcl${LIB_SUFFIX}"
46 eval "TCL_LIB_FILE=${TCL_LIB_FILE}"
47
48 test -z "$TCL_LIBRARY" && TCL_LIBRARY='$(libdir)/tcl$(VERSION)'
49-PRIVATE_INCLUDE_DIR='$(includedir)'
50+PRIVATE_INCLUDE_DIR='$(includedir)/tcl$(VERSION)'
51 HTML_DIR='$(DISTDIR)/html'
52
53 # Note: in the following variable, it's important to use the absolute
54@@ -893,7 +893,7 @@ TCL_BUILD_STUB_LIB_PATH="`pwd`/${TCL_STUB_LIB_FILE}"
55 TCL_STUB_LIB_PATH="${TCL_STUB_LIB_DIR}/${TCL_STUB_LIB_FILE}"
56
57 # Install time header dir can be set via --includedir
58-eval "TCL_INCLUDE_SPEC=\"-I${includedir}\""
59+eval "TCL_INCLUDE_SPEC=\"-I${includedir}/tcl${VERSION}\""
60
61 #------------------------------------------------------------------------
62 # tclConfig.sh refers to this by a different name
63diff --git a/unix/tcl.pc.in b/unix/tcl.pc.in
64index 9c6da82..8aa5ae8 100644
65--- a/unix/tcl.pc.in
66+++ b/unix/tcl.pc.in
67@@ -3,7 +3,7 @@
68 prefix=@prefix@
69 exec_prefix=@exec_prefix@
70 libdir=@libdir@
71-includedir=@includedir@
72+includedir=@includedir@/tcl@PACKAGE_VERSION@
73 libfile=@TCL_LIB_FILE@
74
75 Name: Tool Command Language
diff --git a/meta/recipes-devtools/tcltk/tcl/0005-tcl-fix-race-in-interp.test.patch b/meta/recipes-devtools/tcltk/tcl/0005-tcl-fix-race-in-interp.test.patch
new file mode 100644
index 0000000000..07912da5b3
--- /dev/null
+++ b/meta/recipes-devtools/tcltk/tcl/0005-tcl-fix-race-in-interp.test.patch
@@ -0,0 +1,40 @@
1From fd75e3613613726786c54a25ee611c5176b33510 Mon Sep 17 00:00:00 2001
2From: Ross Burton <ross.burton@arm.com>
3Date: Mon, 12 Jul 2021 14:50:13 +0100
4Subject: [PATCH] tcl: fix race in interp.test
5
6The interp-36.7 patch has race conditions and is missing cleanup. This patch by
7a Tcl maintainer should improve matters.
8
9Upstream-Status: Pending
10Signed-off-by: Ross Burton <ross.burton@arm.com>
11---
12 tests/interp.test | 7 ++++---
13 1 file changed, 4 insertions(+), 3 deletions(-)
14
15diff --git a/tests/interp.test b/tests/interp.test
16index 0092a03..eecfd3b 100644
17--- a/tests/interp.test
18+++ b/tests/interp.test
19@@ -3614,17 +3614,18 @@ test interp-36.7 {ChildBgerror sets error handler of child [1999035]} -setup {
20 variable result
21 set result [lindex $args 0]
22 }
23+ set tout [after 5000 {set result timeout}]
24 } -body {
25 child eval {
26 variable done {}
27 after 0 error foo
28- after 10 [list ::set [namespace which -variable done] {}]
29- vwait [namespace which -variable done]
30 }
31+ vwait result
32 set result
33 } -cleanup {
34+ after cancel $tout
35 variable result {}
36- unset -nocomplain result
37+ unset -nocomplain result tout
38 interp delete child
39 } -result foo
40
diff --git a/meta/recipes-devtools/tcltk/tcl/run-ptest b/meta/recipes-devtools/tcltk/tcl/run-ptest
index a403a74bb6..be067f13ea 100644
--- a/meta/recipes-devtools/tcltk/tcl/run-ptest
+++ b/meta/recipes-devtools/tcltk/tcl/run-ptest
@@ -1,9 +1,8 @@
1#!/bin/sh 1#!/bin/sh
2 2
3# clock.test needs a timezone to be set 3export TCL_LIBRARY=@libdir@/tcl/ptest/library
4export TZ="Europe/London"
5export TCL_LIBRARY=library
6export ERROR_ON_FAILURES=1 4export ERROR_ON_FAILURES=1
5export LANG=en-US.UTF-8
7 6
8# Some tests are overly strict with timings and fail on loaded systems. 7# Some tests are overly strict with timings and fail on loaded systems.
9SKIP="" 8SKIP=""
@@ -15,8 +14,12 @@ SKIP="$SKIP cmdMZ-6.6"
15SKIP="$SKIP exit-1.\*" 14SKIP="$SKIP exit-1.\*"
16# 15407 15421 15# 15407 15421
17SKIP="$SKIP \*io-46.1" 16SKIP="$SKIP \*io-46.1"
17# io-13.6 explicitly says it can fail on slow/loaded machines
18SKIP="$SKIP io-13.6"
18# 14825 19# 14825
19SKIP="$SKIP socket-\* socket_inet-\*" 20SKIP="$SKIP socket-\* socket_inet-\*"
21# tries to access google.com
22SKIP="$SKIP httpProxy-\*"
20 23
21for i in tests/*.test; do 24for i in tests/*.test; do
22 i=$(basename $i) 25 i=$(basename $i)
diff --git a/meta/recipes-devtools/tcltk/tcl_8.6.14.bb b/meta/recipes-devtools/tcltk/tcl_9.0.1.bb
index de4f5b878f..70aa9b606c 100644
--- a/meta/recipes-devtools/tcltk/tcl_8.6.14.bb
+++ b/meta/recipes-devtools/tcltk/tcl_9.0.1.bb
@@ -15,30 +15,29 @@ LIC_FILES_CHKSUM = "file://license.terms;md5=058f6229798281bbcac4239c788cfa38 \
15 15
16DEPENDS = "tcl-native zlib" 16DEPENDS = "tcl-native zlib"
17 17
18BASE_SRC_URI = "${SOURCEFORGE_MIRROR}/tcl/tcl-core${PV}-src.tar.gz \ 18SRC_URI = "${SOURCEFORGE_MIRROR}/tcl/tcl-core${PV}-src.tar.gz \
19 file://tcl-add-soname.patch"
20SRC_URI = "${BASE_SRC_URI} \
21 file://fix_non_native_build_issue.patch \
22 file://tcl-remove-hardcoded-install-path.patch \
23 file://alter-includedir.patch \
24 file://interp.patch \
25 file://run-ptest \ 19 file://run-ptest \
20 file://0001-tcl-Add-tcltk-from-OE.dev-but-with-legacy-staging-fu.patch \
21 file://0002-tcl-fix-a-build-issue.patch \
22 file://0003-tcl-install-tcl-to-lib64-instead-of-lib-on-64bit-tar.patch \
23 file://0004-tcl-update-the-header-location.patch \
24 file://0005-tcl-fix-race-in-interp.test.patch \
26 " 25 "
27SRC_URI[sha256sum] = "ff604f43862a778827d7ecd1ad7686950ac2ef48d9cf69d3424cea9de08d9a72" 26SRC_URI[sha256sum] = "488fcb6c875a1762e9e8478319b20fbad9a31de475f056aeed94cc54b44cf221"
28
29SRC_URI:class-native = "${BASE_SRC_URI}"
30 27
31UPSTREAM_CHECK_URI = "https://www.tcl.tk/software/tcltk/download.html" 28UPSTREAM_CHECK_URI = "https://www.tcl.tk/software/tcltk/download.html"
32UPSTREAM_CHECK_REGEX = "tcl(?P<pver>\d+(\.\d+)+)-src" 29UPSTREAM_CHECK_REGEX = "tcl(?P<pver>\d+(\.\d+)+)-src"
33 30
34S = "${WORKDIR}/${BPN}${PV}" 31S = "${UNPACKDIR}/${BPN}${PV}"
35 32
36VER = "${PV}" 33VER = "${PV}"
37 34
38inherit autotools ptest binconfig 35inherit autotools ptest binconfig
39 36
40AUTOTOOLS_SCRIPT_PATH = "${S}/unix" 37AUTOTOOLS_SCRIPT_PATH = "${S}/unix"
41EXTRA_OECONF = "--enable-threads --disable-rpath --enable-man-suffix" 38EXTRA_AUTORECONF = "--exclude=aclocal"
39
40EXTRA_OECONF = "--disable-rpath --enable-man-suffix=tcl9 --disable-zipfs"
42 41
43# Prevent installing copy of tzdata based on tzdata installation on the build host 42# Prevent installing copy of tzdata based on tzdata installation on the build host
44# It doesn't install tzdata if one of the following files exist on the host: 43# It doesn't install tzdata if one of the following files exist on the host:
@@ -50,7 +49,7 @@ do_install() {
50 autotools_do_install 49 autotools_do_install
51 oe_runmake 'DESTDIR=${D}' install-private-headers 50 oe_runmake 'DESTDIR=${D}' install-private-headers
52 ln -sf ./tclsh${VER} ${D}${bindir}/tclsh 51 ln -sf ./tclsh${VER} ${D}${bindir}/tclsh
53 ln -sf tclsh8.6 ${D}${bindir}/tclsh${VER} 52 ln -sf tclsh9.0 ${D}${bindir}/tclsh${VER}
54 sed -i "s;-L${B};-L${STAGING_LIBDIR};g" tclConfig.sh 53 sed -i "s;-L${B};-L${STAGING_LIBDIR};g" tclConfig.sh
55 sed -i "s;'${WORKDIR};'${STAGING_INCDIR};g" tclConfig.sh 54 sed -i "s;'${WORKDIR};'${STAGING_INCDIR};g" tclConfig.sh
56 install -d ${D}${bindir_crossscripts} 55 install -d ${D}${bindir_crossscripts}
@@ -65,13 +64,13 @@ do_install() {
65SYSROOT_DIRS += "${bindir_crossscripts}" 64SYSROOT_DIRS += "${bindir_crossscripts}"
66 65
67PACKAGES =+ "tcl-lib" 66PACKAGES =+ "tcl-lib"
68FILES:tcl-lib = "${libdir}/libtcl8.6.so.*" 67FILES:tcl-lib = "${libdir}/libtcl9.0.so.*"
69FILES:${PN} += "${libdir}/tcl${VER} ${libdir}/tcl8.6 ${libdir}/tcl8" 68FILES:${PN} += "${libdir}/tcl${VER} ${libdir}/tcl9.0 ${libdir}/tcl9"
70FILES:${PN}-dev += "${libdir}/tclConfig.sh ${libdir}/tclooConfig.sh" 69FILES:${PN}-dev += "${libdir}/tclConfig.sh ${libdir}/tclooConfig.sh"
71 70
72# isn't getting picked up by shlibs code 71# isn't getting picked up by shlibs code
73RDEPENDS:${PN} += "tcl-lib" 72RDEPENDS:${PN} += "tcl-lib"
74RDEPENDS:${PN}-ptest += "libgcc" 73RDEPENDS:${PN}-ptest += "libgcc locale-base-en-us tzdata"
75 74
76BBCLASSEXTEND = "native nativesdk" 75BBCLASSEXTEND = "native nativesdk"
77 76
@@ -83,6 +82,8 @@ do_install_ptest() {
83 cp ${B}/tcltest ${D}${PTEST_PATH} 82 cp ${B}/tcltest ${D}${PTEST_PATH}
84 cp -r ${S}/library ${D}${PTEST_PATH} 83 cp -r ${S}/library ${D}${PTEST_PATH}
85 cp -r ${S}/tests ${D}${PTEST_PATH} 84 cp -r ${S}/tests ${D}${PTEST_PATH}
85 # handle multilib
86 sed -i s:@libdir@:${libdir}:g ${D}${PTEST_PATH}/run-ptest
86} 87}
87 88
88do_install_ptest:append:libc-musl () { 89do_install_ptest:append:libc-musl () {
diff --git a/meta/recipes-devtools/tcltk8/tcl8/0001-generic-tcl.h-use-Tcl_WideInt-for-seconds-in-Tcl_Tim.patch b/meta/recipes-devtools/tcltk8/tcl8/0001-generic-tcl.h-use-Tcl_WideInt-for-seconds-in-Tcl_Tim.patch
new file mode 100644
index 0000000000..1859992838
--- /dev/null
+++ b/meta/recipes-devtools/tcltk8/tcl8/0001-generic-tcl.h-use-Tcl_WideInt-for-seconds-in-Tcl_Tim.patch
@@ -0,0 +1,33 @@
1From ff508f2e6786df697876140f21855ecb92a3ed36 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de>
3Date: Fri, 18 Aug 2023 12:25:11 +0200
4Subject: [PATCH] generic/tcl.h: use Tcl_WideInt for seconds in Tcl_Time
5
6This ensures the value will not overflow, particularly on 32 bit systems
7in 2038, where long will.
8
9This patch was proposed at https://core.tcl-lang.org/tcl/tktview/86dd172271
10Upstream was generally supportive of the fix, but they merged a much more
11elaborate version of it for tcl 9.x (released in 9.0.0), and declined
12to merge it into 8.x due to ABI breakage (sadly this change is in a public header).
13But we can carry the fix downstream.
14
15Upstream-Status: Inappropriate [see above]
16Signed-off-by: Alexander Kanavin <alex@linutronix.de>
17---
18 generic/tcl.h | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
20
21diff --git a/generic/tcl.h b/generic/tcl.h
22index 3a4622e..6204c57 100644
23--- a/generic/tcl.h
24+++ b/generic/tcl.h
25@@ -1418,7 +1418,7 @@ typedef enum {
26 */
27
28 typedef struct Tcl_Time {
29- long sec; /* Seconds. */
30+ Tcl_WideInt sec; /* Seconds. */
31 long usec; /* Microseconds. */
32 } Tcl_Time;
33
diff --git a/meta/recipes-devtools/tcltk/tcl/alter-includedir.patch b/meta/recipes-devtools/tcltk8/tcl8/alter-includedir.patch
index bfc718cfd3..6ceb297cea 100644
--- a/meta/recipes-devtools/tcltk/tcl/alter-includedir.patch
+++ b/meta/recipes-devtools/tcltk8/tcl8/alter-includedir.patch
@@ -1,4 +1,4 @@
1From 3130dca60636dc12d0d12df75b002fd123349e21 Mon Sep 17 00:00:00 2001 1From 8bb8174e13c1c0e3b27fdf96a393f9fb1b7e14be Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com> 2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Tue, 22 Nov 2022 18:48:27 +0800 3Date: Tue, 22 Nov 2022 18:48:27 +0800
4Subject: [PATCH] tcl: update the header location 4Subject: [PATCH] tcl: update the header location
@@ -26,7 +26,7 @@ Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
26 3 files changed, 4 insertions(+), 4 deletions(-) 26 3 files changed, 4 insertions(+), 4 deletions(-)
27 27
28diff --git a/unix/Makefile.in b/unix/Makefile.in 28diff --git a/unix/Makefile.in b/unix/Makefile.in
29index a3b7d69..969ddb8 100644 29index c3b75e3..60ed93e 100644
30--- a/unix/Makefile.in 30--- a/unix/Makefile.in
31+++ b/unix/Makefile.in 31+++ b/unix/Makefile.in
32@@ -57,7 +57,7 @@ SCRIPT_INSTALL_DIR = $(INSTALL_ROOT)$(TCL_LIBRARY) 32@@ -57,7 +57,7 @@ SCRIPT_INSTALL_DIR = $(INSTALL_ROOT)$(TCL_LIBRARY)
@@ -39,10 +39,10 @@ index a3b7d69..969ddb8 100644
39 # Path to the private tcl header dir: 39 # Path to the private tcl header dir:
40 PRIVATE_INCLUDE_DIR = @PRIVATE_INCLUDE_DIR@ 40 PRIVATE_INCLUDE_DIR = @PRIVATE_INCLUDE_DIR@
41diff --git a/unix/configure.in b/unix/configure.in 41diff --git a/unix/configure.in b/unix/configure.in
42index 4974fb6..a72934f 100644 42index 8e6726b..2345689 100644
43--- a/unix/configure.in 43--- a/unix/configure.in
44+++ b/unix/configure.in 44+++ b/unix/configure.in
45@@ -776,7 +776,7 @@ eval "TCL_LIB_FILE=libtcl${LIB_SUFFIX}" 45@@ -775,7 +775,7 @@ eval "TCL_LIB_FILE=libtcl${LIB_SUFFIX}"
46 eval "TCL_LIB_FILE=${TCL_LIB_FILE}" 46 eval "TCL_LIB_FILE=${TCL_LIB_FILE}"
47 47
48 test -z "$TCL_LIBRARY" && TCL_LIBRARY='$(libdir)/tcl$(VERSION)' 48 test -z "$TCL_LIBRARY" && TCL_LIBRARY='$(libdir)/tcl$(VERSION)'
@@ -51,7 +51,7 @@ index 4974fb6..a72934f 100644
51 HTML_DIR='$(DISTDIR)/html' 51 HTML_DIR='$(DISTDIR)/html'
52 52
53 # Note: in the following variable, it's important to use the absolute 53 # Note: in the following variable, it's important to use the absolute
54@@ -897,7 +897,7 @@ TCL_BUILD_STUB_LIB_PATH="`pwd`/${TCL_STUB_LIB_FILE}" 54@@ -898,7 +898,7 @@ TCL_BUILD_STUB_LIB_PATH="`pwd`/${TCL_STUB_LIB_FILE}"
55 TCL_STUB_LIB_PATH="${TCL_STUB_LIB_DIR}/${TCL_STUB_LIB_FILE}" 55 TCL_STUB_LIB_PATH="${TCL_STUB_LIB_DIR}/${TCL_STUB_LIB_FILE}"
56 56
57 # Install time header dir can be set via --includedir 57 # Install time header dir can be set via --includedir
diff --git a/meta/recipes-devtools/tcltk/tcl/fix_non_native_build_issue.patch b/meta/recipes-devtools/tcltk8/tcl8/fix_non_native_build_issue.patch
index 09c49daa2c..61153878fe 100644
--- a/meta/recipes-devtools/tcltk/tcl/fix_non_native_build_issue.patch
+++ b/meta/recipes-devtools/tcltk8/tcl8/fix_non_native_build_issue.patch
@@ -1,18 +1,19 @@
1From 371aa300369e9ea3234cba22d5c0babc7d40dfdf Mon Sep 17 00:00:00 2001 1From 3d11e7fd9aba6251974d990286347c06582e87b9 Mon Sep 17 00:00:00 2001
2From: Nitin A Kamble <nitin.a.kamble@intel.com> 2From: Nitin A Kamble <nitin.a.kamble@intel.com>
3Date: Fri, 13 Aug 2010 12:24:00 -0700 3Date: Fri, 13 Aug 2010 12:24:00 -0700
4Subject: [PATCH] tcl: fix a build issue 4Subject: [PATCH] tcl: fix a build issue
5 5
6Upstream-Status: Inappropriate [upstream does not support installed tests] 6Upstream-Status: Inappropriate [upstream does not support installed tests]
7Signed-off-by: Alexander Kanavin <alex@linutronix.de>
7--- 8---
8 unix/Makefile.in | 20 ++++++++++---------- 9 unix/Makefile.in | 20 ++++++++++----------
9 1 file changed, 10 insertions(+), 10 deletions(-) 10 1 file changed, 10 insertions(+), 10 deletions(-)
10 11
11diff --git a/unix/Makefile.in b/unix/Makefile.in 12diff --git a/unix/Makefile.in b/unix/Makefile.in
12index 9dd053d..a3b7d69 100644 13index a2f9e21..c3b75e3 100644
13--- a/unix/Makefile.in 14--- a/unix/Makefile.in
14+++ b/unix/Makefile.in 15+++ b/unix/Makefile.in
15@@ -815,7 +815,7 @@ tcltest-real: 16@@ -723,7 +723,7 @@ tcltest-real:
16 test: test-tcl test-packages 17 test: test-tcl test-packages
17 18
18 test-tcl: ${TCLTEST_EXE} 19 test-tcl: ${TCLTEST_EXE}
@@ -21,7 +22,7 @@ index 9dd053d..a3b7d69 100644
21 22
22 gdb-test: ${TCLTEST_EXE} 23 gdb-test: ${TCLTEST_EXE}
23 @printf '%s ' set env @LD_LIBRARY_PATH_VAR@=\"`pwd`$${@LD_LIBRARY_PATH_VAR@:+:$${@LD_LIBRARY_PATH_VAR}}\" > gdb.run 24 @printf '%s ' set env @LD_LIBRARY_PATH_VAR@=\"`pwd`$${@LD_LIBRARY_PATH_VAR@:+:$${@LD_LIBRARY_PATH_VAR}}\" > gdb.run
24@@ -824,17 +824,17 @@ gdb-test: ${TCLTEST_EXE} 25@@ -732,17 +732,17 @@ gdb-test: ${TCLTEST_EXE}
25 @printf '\n' >>gdb.run 26 @printf '\n' >>gdb.run
26 @printf '%s ' set args $(call shquotequote,$(TOP_DIR))/tests/all.tcl\ 27 @printf '%s ' set args $(call shquotequote,$(TOP_DIR))/tests/all.tcl\
27 $(call shquotequote,$(TESTFLAGS)) -singleproc 1 >> gdb.run 28 $(call shquotequote,$(TESTFLAGS)) -singleproc 1 >> gdb.run
@@ -37,12 +38,12 @@ index 9dd053d..a3b7d69 100644
37 # Useful target for running the test suite with an unwritable current 38 # Useful target for running the test suite with an unwritable current
38 # directory... 39 # directory...
39 ro-test: ${TCLTEST_EXE} 40 ro-test: ${TCLTEST_EXE}
40- echo 'exec chmod -w .;package require tcltest;tcltest::temporaryDirectory /tmp;source ../tests/all.tcl;exec chmod +w .' | $(SHELL_ENV) ./${TCLTEST_EXE} 41- echo 'exec chmod -w .;package require tcltest;tcltest::temporaryDirectory /tmp;source -encoding utf-8 ../tests/all.tcl;exec chmod +w .' | $(SHELL_ENV) ./${TCLTEST_EXE}
41+ echo 'exec chmod -w .;package require tcltest;tcltest::temporaryDirectory /tmp;source ../tests/all.tcl;exec chmod +w .' | $(SHELL_ENV) ${TCLTEST_EXE} 42+ echo 'exec chmod -w .;package require tcltest;tcltest::temporaryDirectory /tmp;source -encoding utf-8 ../tests/all.tcl;exec chmod +w .' | $(SHELL_ENV) ${TCLTEST_EXE}
42 43
43 # The following target generates the shared libraries in dltest/ that are used 44 # The following target generates the shared libraries in dltest/ that are used
44 # for testing; they are included as part of the "tcltest" target (via the 45 # for testing; they are included as part of the "tcltest" target (via the
45@@ -852,28 +852,28 @@ dltest.marker: ${STUB_LIB_FILE} 46@@ -760,28 +760,28 @@ dltest.marker: ${STUB_LIB_FILE}
46 # This target can be used to run tclsh from the build directory 47 # This target can be used to run tclsh from the build directory
47 # via `make shell SCRIPT=/tmp/foo.tcl` 48 # via `make shell SCRIPT=/tmp/foo.tcl`
48 shell: ${TCL_EXE} 49 shell: ${TCL_EXE}
diff --git a/meta/recipes-devtools/tcltk/tcl/interp.patch b/meta/recipes-devtools/tcltk8/tcl8/interp.patch
index 2e0dc94cff..aeebb038e3 100644
--- a/meta/recipes-devtools/tcltk/tcl/interp.patch
+++ b/meta/recipes-devtools/tcltk8/tcl8/interp.patch
@@ -1,4 +1,4 @@
1From 426aa2ff62dda77fd011e8f630b9d4ea17984817 Mon Sep 17 00:00:00 2001 1From 09049beed723243d092ffaa37939dfe0f2ed6828 Mon Sep 17 00:00:00 2001
2From: Ross Burton <ross.burton@arm.com> 2From: Ross Burton <ross.burton@arm.com>
3Date: Mon, 12 Jul 2021 14:50:13 +0100 3Date: Mon, 12 Jul 2021 14:50:13 +0100
4Subject: [PATCH] tcl: fix race in interp.test 4Subject: [PATCH] tcl: fix race in interp.test
@@ -6,17 +6,17 @@ Subject: [PATCH] tcl: fix race in interp.test
6The interp-36.7 patch has race conditions and is missing cleanup. This patch by 6The interp-36.7 patch has race conditions and is missing cleanup. This patch by
7a Tcl maintainer should improve matters. 7a Tcl maintainer should improve matters.
8 8
9Upstream-Status: Pending 9Upstream-Status: Inappropriate [tcl 8.x is obsolete; upstream submission should be for 9.x patches]
10Signed-off-by: Ross Burton <ross.burton@arm.com> 10Signed-off-by: Ross Burton <ross.burton@arm.com>
11--- 11---
12 tests/interp.test | 7 ++++--- 12 tests/interp.test | 7 ++++---
13 1 file changed, 4 insertions(+), 3 deletions(-) 13 1 file changed, 4 insertions(+), 3 deletions(-)
14 14
15diff --git a/tests/interp.test b/tests/interp.test 15diff --git a/tests/interp.test b/tests/interp.test
16index d742484..fc90990 100644 16index 24ffb1b..c6460ad 100644
17--- a/tests/interp.test 17--- a/tests/interp.test
18+++ b/tests/interp.test 18+++ b/tests/interp.test
19@@ -3595,17 +3595,18 @@ test interp-36.7 {ChildBgerror sets error handler of child [1999035]} -setup { 19@@ -3614,17 +3614,18 @@ test interp-36.7 {ChildBgerror sets error handler of child [1999035]} -setup {
20 variable result 20 variable result
21 set result [lindex $args 0] 21 set result [lindex $args 0]
22 } 22 }
diff --git a/meta/recipes-devtools/tcltk8/tcl8/run-ptest b/meta/recipes-devtools/tcltk8/tcl8/run-ptest
new file mode 100644
index 0000000000..bea9d9ccfd
--- /dev/null
+++ b/meta/recipes-devtools/tcltk8/tcl8/run-ptest
@@ -0,0 +1,31 @@
1#!/bin/sh
2
3# clock.test needs a timezone to be set
4export TZ="Europe/London"
5export TCL_LIBRARY=@libdir@/tcl8/ptest/library
6export ERROR_ON_FAILURES=1
7
8# Some tests are overly strict with timings and fail on loaded systems.
9SKIP=""
10# 15321
11SKIP="$SKIP async-\* event-\*"
12# 14882
13SKIP="$SKIP cmdMZ-6.6"
14# 15081
15SKIP="$SKIP exit-1.\*"
16# 15407 15421
17SKIP="$SKIP \*io-46.1"
18# io-13.6 explicitly says it can fail on slow/loaded machines
19SKIP="$SKIP io-13.6"
20# 14825
21SKIP="$SKIP socket-\* socket_inet-\*"
22
23for i in tests/*.test; do
24 i=$(basename $i)
25 ./tcltest tests/all.tcl -file $i -skip "$SKIP"
26 if [ $? -eq 0 ]; then
27 echo "PASS: $i"
28 else
29 echo "FAIL: $i"
30 fi
31done
diff --git a/meta/recipes-devtools/tcltk/tcl/tcl-add-soname.patch b/meta/recipes-devtools/tcltk8/tcl8/tcl-add-soname.patch
index a0195e263c..898e8241fc 100644
--- a/meta/recipes-devtools/tcltk/tcl/tcl-add-soname.patch
+++ b/meta/recipes-devtools/tcltk8/tcl8/tcl-add-soname.patch
@@ -1,19 +1,20 @@
1From b89fd73daf9b3eb2f889f65baba5f90d8a930c82 Mon Sep 17 00:00:00 2001 1From 0d8e567d132e050c5d4a8d8d9257417e0679483c Mon Sep 17 00:00:00 2001
2From: Richard Purdie <rpurdie@linux.intel.com> 2From: Richard Purdie <rpurdie@linux.intel.com>
3Date: Wed, 9 Dec 2009 23:59:44 +0000 3Date: Wed, 9 Dec 2009 23:59:44 +0000
4Subject: [PATCH] tcl: Add tcltk from OE.dev but with legacy staging function 4Subject: [PATCH] tcl: Add tcltk from OE.dev but with legacy staging function
5 5
6Upstream-Status: Pending 6Upstream-Status: Inappropriate [tcl 8.x is obsolete; upstream submission should be for 9.x patches]
7Signed-off-by: Alexander Kanavin <alex@linutronix.de>
7--- 8---
8 unix/Makefile.in | 5 ++++- 9 unix/Makefile.in | 5 ++++-
9 unix/tcl.m4 | 3 +++ 10 unix/tcl.m4 | 3 +++
10 2 files changed, 7 insertions(+), 1 deletion(-) 11 2 files changed, 7 insertions(+), 1 deletion(-)
11 12
12diff --git a/unix/Makefile.in b/unix/Makefile.in 13diff --git a/unix/Makefile.in b/unix/Makefile.in
13index 7619afc..9dd053d 100644 14index bc743b3..a2f9e21 100644
14--- a/unix/Makefile.in 15--- a/unix/Makefile.in
15+++ b/unix/Makefile.in 16+++ b/unix/Makefile.in
16@@ -904,7 +904,10 @@ install-binaries: binaries 17@@ -812,7 +812,10 @@ install-binaries: binaries
17 done 18 done
18 @echo "Installing $(LIB_FILE) to $(DLL_INSTALL_DIR)/" 19 @echo "Installing $(LIB_FILE) to $(DLL_INSTALL_DIR)/"
19 @@INSTALL_LIB@ 20 @@INSTALL_LIB@
@@ -26,7 +27,7 @@ index 7619afc..9dd053d 100644
26 @$(INSTALL_PROGRAM) ${TCL_EXE} "$(BIN_INSTALL_DIR)/tclsh$(VERSION)${EXE_SUFFIX}" 27 @$(INSTALL_PROGRAM) ${TCL_EXE} "$(BIN_INSTALL_DIR)/tclsh$(VERSION)${EXE_SUFFIX}"
27 @echo "Installing tclConfig.sh to $(CONFIG_INSTALL_DIR)/" 28 @echo "Installing tclConfig.sh to $(CONFIG_INSTALL_DIR)/"
28diff --git a/unix/tcl.m4 b/unix/tcl.m4 29diff --git a/unix/tcl.m4 b/unix/tcl.m4
29index 0307a06..37c4d67 100644 30index 7f5464e..cd8d929 100644
30--- a/unix/tcl.m4 31--- a/unix/tcl.m4
31+++ b/unix/tcl.m4 32+++ b/unix/tcl.m4
32@@ -1378,6 +1378,9 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [ 33@@ -1378,6 +1378,9 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
diff --git a/meta/recipes-devtools/tcltk/tcl/tcl-remove-hardcoded-install-path.patch b/meta/recipes-devtools/tcltk8/tcl8/tcl-remove-hardcoded-install-path.patch
index 93e7877256..f2a37add7d 100644
--- a/meta/recipes-devtools/tcltk/tcl/tcl-remove-hardcoded-install-path.patch
+++ b/meta/recipes-devtools/tcltk8/tcl8/tcl-remove-hardcoded-install-path.patch
@@ -1,4 +1,4 @@
1From 050fc597fbfa4da2c31bd0df58c871892a490470 Mon Sep 17 00:00:00 2001 1From 6e3cbc3600ac474776e92eb9a88abcb74299c321 Mon Sep 17 00:00:00 2001
2From: "Song.Li" <Song.Li@windriver.com> 2From: "Song.Li" <Song.Li@windriver.com>
3Date: Wed, 1 Aug 2012 19:05:51 +0800 3Date: Wed, 1 Aug 2012 19:05:51 +0800
4Subject: [PATCH] tcl:install tcl to lib64 instead of lib on 64bit target 4Subject: [PATCH] tcl:install tcl to lib64 instead of lib on 64bit target
@@ -7,7 +7,7 @@ Remove hardcoded library install path. Change $(prefix)/lib/ to ${libdir}.
7 7
8[YOCTO #2876] 8[YOCTO #2876]
9 9
10Upstream-Status: Pending 10Upstream-Status: Inappropriate [tcl 8.x is obsolete; upstream submission should be for 9.x patches]
11 11
12Signed-off-by: Song.Li <Song.Li@windriver.com> 12Signed-off-by: Song.Li <Song.Li@windriver.com>
13Signed-off-by: Kai Kang <kai.kang@windriver.com> 13Signed-off-by: Kai Kang <kai.kang@windriver.com>
@@ -17,10 +17,10 @@ Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
17 1 file changed, 1 insertion(+), 1 deletion(-) 17 1 file changed, 1 insertion(+), 1 deletion(-)
18 18
19diff --git a/unix/configure.in b/unix/configure.in 19diff --git a/unix/configure.in b/unix/configure.in
20index 4f62510..4974fb6 100644 20index e88ec3c..8e6726b 100644
21--- a/unix/configure.in 21--- a/unix/configure.in
22+++ b/unix/configure.in 22+++ b/unix/configure.in
23@@ -775,7 +775,7 @@ eval "TCL_LIB_FILE=libtcl${LIB_SUFFIX}" 23@@ -774,7 +774,7 @@ eval "TCL_LIB_FILE=libtcl${LIB_SUFFIX}"
24 24
25 eval "TCL_LIB_FILE=${TCL_LIB_FILE}" 25 eval "TCL_LIB_FILE=${TCL_LIB_FILE}"
26 26
diff --git a/meta/recipes-devtools/tcltk8/tcl8_8.6.16.bb b/meta/recipes-devtools/tcltk8/tcl8_8.6.16.bb
new file mode 100644
index 0000000000..225f04be48
--- /dev/null
+++ b/meta/recipes-devtools/tcltk8/tcl8_8.6.16.bb
@@ -0,0 +1,122 @@
1SUMMARY = "Tool Command Language"
2HOMEPAGE = "http://tcl.sourceforge.net"
3DESCRIPTION = "Tool Command Language, is an open-source multi-purpose C library which includes a powerful dynamic scripting language. Together they provide ideal cross-platform development environment for any programming project."
4SECTION = "devel/tcltk"
5
6# http://www.tcl.tk/software/tcltk/license.html
7LICENSE = "TCL & BSD-3-Clause"
8LIC_FILES_CHKSUM = "file://license.terms;md5=058f6229798281bbcac4239c788cfa38 \
9 file://compat/license.terms;md5=058f6229798281bbcac4239c788cfa38 \
10 file://library/license.terms;md5=058f6229798281bbcac4239c788cfa38 \
11 file://macosx/license.terms;md5=058f6229798281bbcac4239c788cfa38 \
12 file://tests/license.terms;md5=058f6229798281bbcac4239c788cfa38 \
13 file://win/license.terms;md5=058f6229798281bbcac4239c788cfa38 \
14"
15
16DEPENDS = "tcl8-native zlib"
17
18BASE_SRC_URI = "${SOURCEFORGE_MIRROR}/tcl/tcl-core${PV}-src.tar.gz \
19 file://tcl-add-soname.patch"
20SRC_URI = "${BASE_SRC_URI} \
21 file://fix_non_native_build_issue.patch \
22 file://tcl-remove-hardcoded-install-path.patch \
23 file://alter-includedir.patch \
24 file://interp.patch \
25 file://run-ptest \
26 file://0001-generic-tcl.h-use-Tcl_WideInt-for-seconds-in-Tcl_Tim.patch \
27 "
28SRC_URI[sha256sum] = "3b371386a9a928eecdbf263bcab7d6a531e620ca3fbab4fdeeb3d6a9a56f38e9"
29
30SRC_URI:class-native = "${BASE_SRC_URI}"
31
32UPSTREAM_CHECK_URI = "https://www.tcl.tk/software/tcltk/download.html"
33UPSTREAM_CHECK_REGEX = "tcl(?P<pver>8(\.\d+)+)-src"
34
35S = "${UNPACKDIR}/tcl${PV}"
36
37VER = "${PV}"
38
39inherit autotools ptest binconfig
40
41AUTOTOOLS_SCRIPT_PATH = "${S}/unix"
42EXTRA_AUTORECONF = "--exclude=aclocal"
43
44EXTRA_OECONF = "--enable-threads --disable-rpath --enable-man-suffix=tcl8"
45
46# Prevent installing copy of tzdata based on tzdata installation on the build host
47# It doesn't install tzdata if one of the following files exist on the host:
48# /usr/share/zoneinfo/UTC /usr/share/zoneinfo/GMT /usr/share/lib/zoneinfo/UTC /usr/share/lib/zoneinfo/GMT /usr/lib/zoneinfo/UTC /usr/lib/zoneinfo/GMT
49# otherwise "/usr/lib/tcl8.6/tzdata" is included in tcl package
50EXTRA_OECONF += "--with-tzdata=no"
51
52do_install() {
53 autotools_do_install
54 oe_runmake 'DESTDIR=${D}' install-private-headers
55 ln -sf ./tclsh${VER} ${D}${bindir}/tclsh8
56 ln -sf tclsh8.6 ${D}${bindir}/tclsh${VER}
57 sed -i "s;-L${B};-L${STAGING_LIBDIR};g" tclConfig.sh
58 sed -i "s;'${WORKDIR};'${STAGING_INCDIR};g" tclConfig.sh
59 install -d ${D}${bindir_crossscripts}
60 install -m 0755 tclConfig.sh ${D}${bindir_crossscripts}
61 install -m 0755 tclConfig.sh ${D}${libdir}
62 for dir in compat generic unix; do
63 install -d ${D}${includedir}/tcl${VER}/$dir
64 install -m 0644 ${S}/$dir/*.h ${D}${includedir}/tcl${VER}/$dir/
65 done
66}
67
68SYSROOT_DIRS += "${bindir_crossscripts}"
69
70PACKAGES =+ "tcl8-lib"
71FILES:tcl8-lib = "${libdir}/libtcl8.6.so.*"
72FILES:${PN} += "${libdir}/tcl${VER} ${libdir}/tcl8.6 ${libdir}/tcl8"
73FILES:${PN}-dev += "${libdir}/tcl8Config.sh ${libdir}/tcl8ooConfig.sh"
74
75# isn't getting picked up by shlibs code
76RDEPENDS:${PN} += "tcl8-lib"
77RDEPENDS:${PN}-ptest += "libgcc"
78
79BBCLASSEXTEND = "native nativesdk"
80
81do_compile_ptest() {
82 oe_runmake tcltest
83}
84
85do_install_ptest() {
86 cp ${B}/tcltest ${D}${PTEST_PATH}
87 cp -r ${S}/library ${D}${PTEST_PATH}
88 cp -r ${S}/tests ${D}${PTEST_PATH}
89 sed -i s:@libdir@:${libdir}:g ${D}${PTEST_PATH}/run-ptest
90}
91
92do_install_ptest:append:libc-musl () {
93 # Assumes locales other than provided by musl-locales
94 sed -i '/SKIP="$SKIP socket.*$/a # unixInit-3* is suppressed due to hardcoded locale assumptions\nSKIP="$SKIP unixInit-3\\\*"' ${D}${PTEST_PATH}/run-ptest
95}
96
97# Fix some paths that might be used by Tcl extensions
98BINCONFIG_GLOB = "*Config.sh"
99
100# Fix the path in sstate
101SSTATE_SCAN_FILES += "*Config.sh"
102
103# Cleanup host path from ${libdir}/tclConfig.sh and remove the
104# ${bindir_crossscripts}/tclConfig.sh from target
105#
106# Also rename development files which conflict with tcl 9.x to
107# have tcl8-specific filenames.
108PACKAGE_PREPROCESS_FUNCS += "tcl_package_preprocess"
109tcl_package_preprocess() {
110 sed -i -e "s;${DEBUG_PREFIX_MAP};;g" \
111 -e "s;-L${STAGING_LIBDIR};-L${libdir};g" \
112 -e "s;${STAGING_INCDIR};${includedir};g" \
113 -e "s;--sysroot=${RECIPE_SYSROOT};;g" \
114 ${PKGD}${libdir}/tclConfig.sh
115
116 rm -f ${PKGD}${bindir_crossscripts}/tclConfig.sh
117
118 # development files
119 mv ${PKGD}${libdir}/pkgconfig/tcl.pc ${PKGD}${libdir}/pkgconfig/tcl8.pc
120 mv ${PKGD}${libdir}/tclConfig.sh ${PKGD}${libdir}/tcl8Config.sh
121 mv ${PKGD}${libdir}/tclooConfig.sh ${PKGD}${libdir}/tcl8ooConfig.sh
122}
diff --git a/meta/recipes-devtools/unfs3/unfs3/0001-Alias-off64_t-to-off_t-on-linux-if-not-defined.patch b/meta/recipes-devtools/unfs3/unfs3/0001-Alias-off64_t-to-off_t-on-linux-if-not-defined.patch
deleted file mode 100644
index 91909fa236..0000000000
--- a/meta/recipes-devtools/unfs3/unfs3/0001-Alias-off64_t-to-off_t-on-linux-if-not-defined.patch
+++ /dev/null
@@ -1,28 +0,0 @@
1From 949db882e487d728c44bb68139682b38396dd275 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 14 Dec 2022 14:50:10 -0800
4Subject: [PATCH] Alias off64_t to off_t on linux if not defined
5
6Musl C library does not define off64_t and has 64-bit default off_t
7therefore define off64_t as an alias on linux as well when configure
8detects that off64_t is not provided by a linux system
9
10Upstream-Status: Submitted [https://github.com/unfs3/unfs3/pull/29]
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 nfs.h | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/nfs.h b/nfs.h
17index aded011..7996c67 100644
18--- a/nfs.h
19+++ b/nfs.h
20@@ -62,7 +62,7 @@ typedef int32_t int32;
21 #endif
22
23 #ifndef HAVE_OFF64_T
24-#ifdef __APPLE__
25+#if defined(__APPLE__) || defined(__linux__)
26 typedef off_t off64_t;
27 #endif
28 #endif
diff --git a/meta/recipes-devtools/unfs3/unfs3/0001-attr-fix-utime-for-symlink.patch b/meta/recipes-devtools/unfs3/unfs3/0001-attr-fix-utime-for-symlink.patch
deleted file mode 100644
index a0f3740d6a..0000000000
--- a/meta/recipes-devtools/unfs3/unfs3/0001-attr-fix-utime-for-symlink.patch
+++ /dev/null
@@ -1,88 +0,0 @@
1From 7e789895919d57d573ebb8faa147d1286104cd01 Mon Sep 17 00:00:00 2001
2From: Rui Wang <rui.wang@windriver.com>
3Date: Mon, 24 Apr 2023 02:57:57 -0700
4Subject: [PATCH] attr: fix utime for symlink
5
6unfs3 has an old defect that it can not change the timestamps of a
7symlink file because it only uses utime(), which will follow the
8symlink. This will not cause an error if the symlink points to an
9existent file. But under some special situation, such as installing
10a rpm package, rpm tool will create the symlink first and try to
11modify the timestamps of it, when the target file is non-existent.
12This will cause an ESTALE error. Making rpm tool ignore this error
13is a solution, but not the best one. An acceptable approach is
14Making unfs3 support lutimes(), which can modify the symlink file
15itself. Considering not every system support this function, so a
16function checking is necessary.
17
18Upstream-Status: Submitted [https://github.com/unfs3/unfs3/pull/35]
19
20Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
21---
22 attr.c | 15 +++++++++++----
23 backend_unix.h | 2 ++
24 configure.ac | 1 +
25 3 files changed, 14 insertions(+), 4 deletions(-)
26
27diff --git a/attr.c b/attr.c
28index 0ce9375..930ce6e 100644
29--- a/attr.c
30+++ b/attr.c
31@@ -285,7 +285,7 @@ post_op_attr get_post_cached(struct svc_req * req)
32 static nfsstat3 set_time(const char *path, backend_statstruct buf, sattr3 new)
33 {
34 time_t new_atime, new_mtime;
35- struct utimbuf utim;
36+ struct timeval stamps[2];
37 int res;
38
39 /* set atime and mtime */
40@@ -307,10 +307,17 @@ static nfsstat3 set_time(const char *path, backend_statstruct buf, sattr3 new)
41 else /* DONT_CHANGE */
42 new_mtime = buf.st_mtime;
43
44- utim.actime = new_atime;
45- utim.modtime = new_mtime;
46+ stamps[0].tv_sec = new_atime;
47+ stamps[0].tv_usec = 0;
48+ stamps[1].tv_sec = new_mtime;
49+ stamps[1].tv_usec = 0;
50+
51+#if HAVE_LUTIMES
52+ res = backend_lutimes(path, stamps);
53+#else
54+ res = backend_utimes(path, stamps);
55+#endif
56
57- res = backend_utime(path, &utim);
58 if (res == -1)
59 return setattr_err();
60 }
61diff --git a/backend_unix.h b/backend_unix.h
62index 4db72ae..9cce9ab 100644
63--- a/backend_unix.h
64+++ b/backend_unix.h
65@@ -61,6 +61,8 @@
66 #define backend_symlink symlink
67 #define backend_truncate truncate
68 #define backend_utime utime
69+#define backend_utimes utimes
70+#define backend_lutimes lutimes
71 #define backend_statstruct struct stat
72 #define backend_dirstream DIR
73 #define backend_statvfsstruct struct statvfs
74diff --git a/configure.ac b/configure.ac
75index d46c905..c21afe3 100644
76--- a/configure.ac
77+++ b/configure.ac
78@@ -32,6 +32,7 @@ AC_CHECK_FUNCS(setresuid setresgid)
79 AC_CHECK_FUNCS(vsyslog)
80 AC_CHECK_FUNCS(lchown)
81 AC_CHECK_FUNCS(setgroups)
82+AC_CHECK_FUNCS(lutimes)
83 UNFS3_COMPILE_WARNINGS
84
85 PKG_CHECK_MODULES([TIRPC], [libtirpc])
86--
872.40.0
88
diff --git a/meta/recipes-devtools/unfs3/unfs3/0001-daemon.c-Fix-race-window-for-writing-of-the-pid-file.patch b/meta/recipes-devtools/unfs3/unfs3/0001-daemon.c-Fix-race-window-for-writing-of-the-pid-file.patch
deleted file mode 100644
index 20bbee90a0..0000000000
--- a/meta/recipes-devtools/unfs3/unfs3/0001-daemon.c-Fix-race-window-for-writing-of-the-pid-file.patch
+++ /dev/null
@@ -1,68 +0,0 @@
1From 212a947e776e7a25c1f2259615f461179bcb3663 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de>
3Date: Wed, 23 Nov 2022 21:38:38 +0100
4Subject: [PATCH] daemon.c: Fix race window for writing of the pid file
5
6The parent process should write the pid file such that the pid file
7will can be checked immediately following exit of the fork from the
8parent.
9
10This allows external monitoring applications to watch the daemon
11without having to add sleep calls to wait for the pid file be written
12on a busy system.
13
14Upstream-Status: Submitted [https://github.com/unfs3/unfs3/pull/28]
15Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
16Signed-off-by: Alexander Kanavin <alex@linutronix.de>
17---
18 daemon.c | 12 +++++++++---
19 1 file changed, 9 insertions(+), 3 deletions(-)
20
21diff --git a/daemon.c b/daemon.c
22index ff53b7a..13b06a4 100644
23--- a/daemon.c
24+++ b/daemon.c
25@@ -166,7 +166,7 @@ int get_socket_type(struct svc_req *rqstp)
26 /*
27 * write current pid to a file
28 */
29-static void create_pid_file(void)
30+static void create_pid_file(int pid)
31 {
32 char buf[16];
33 int fd, res, len;
34@@ -188,7 +188,7 @@ static void create_pid_file(void)
35 }
36 #endif
37
38- sprintf(buf, "%i\n", backend_getpid());
39+ sprintf(buf, "%i\n", pid);
40 len = strlen(buf);
41
42 res = backend_pwrite(fd, buf, len, 0);
43@@ -1122,6 +1122,10 @@ int main(int argc, char **argv)
44 fprintf(stderr, "could not fork into background\n");
45 daemon_exit(0);
46 }
47+ if (pid)
48+ create_pid_file(pid);
49+ } else {
50+ create_pid_file(backend_getpid());
51 }
52 #endif /* WIN32 */
53
54@@ -1161,8 +1165,10 @@ int main(int argc, char **argv)
55 /* no umask to not screw up create modes */
56 umask(0);
57
58+#ifdef WIN32
59 /* create pid file if wanted */
60- create_pid_file();
61+ create_pid_file(backend_getpid());
62+#endif
63
64 /* initialize internal stuff */
65 fh_cache_init();
66--
672.30.2
68
diff --git a/meta/recipes-devtools/unfs3/unfs3/0001-fix-building-on-macOS.patch b/meta/recipes-devtools/unfs3/unfs3/0001-fix-building-on-macOS.patch
deleted file mode 100644
index f18ffd3711..0000000000
--- a/meta/recipes-devtools/unfs3/unfs3/0001-fix-building-on-macOS.patch
+++ /dev/null
@@ -1,27 +0,0 @@
1From 989b87ae46b3183a742031373fbb3e912ab9b666 Mon Sep 17 00:00:00 2001
2From: Andrey Filipenkov <decapitator@ukr.net>
3Date: Wed, 2 Nov 2022 13:38:40 +0300
4Subject: [PATCH] fix building on macOS
5
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7Upstream-Status: Backport [https://github.com/unfs3/unfs3/commit/989b87ae46b3183a742031373fbb3e912ab9b666]
8---
9 attr.c | 2 ++
10 1 file changed, 2 insertions(+)
11
12diff --git a/attr.c b/attr.c
13index 6253e84..0ce9375 100644
14--- a/attr.c
15+++ b/attr.c
16@@ -18,6 +18,8 @@
17 #include <utime.h>
18 #include <errno.h>
19 #include <dirent.h>
20+#include <stdlib.h>
21+#include <string.h>
22
23 #include "backend.h"
24 #include "nfs.h"
25--
262.39.1
27
diff --git a/meta/recipes-devtools/unfs3/unfs3/0001-locate.c-Include-attr.h.patch b/meta/recipes-devtools/unfs3/unfs3/0001-locate.c-Include-attr.h.patch
deleted file mode 100644
index 076e08fadc..0000000000
--- a/meta/recipes-devtools/unfs3/unfs3/0001-locate.c-Include-attr.h.patch
+++ /dev/null
@@ -1,28 +0,0 @@
1From 63e0785bb379a8f2c41f34f5cd938ca38555e605 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 13 Jan 2023 23:41:01 -0800
4Subject: [PATCH] locate.c: Include attr.h
5
6Its needed for fix_dir_times() API declarations
7
8Upstream-Status: Submitted [https://github.com/unfs3/unfs3/pull/32]
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 locate.c | 1 +
12 1 file changed, 1 insertion(+)
13
14diff --git a/locate.c b/locate.c
15index 6bbe71f..84e0fe5 100644
16--- a/locate.c
17+++ b/locate.c
18@@ -27,6 +27,7 @@
19 #include "nfs.h"
20 #include "fh.h"
21 #include "daemon.h"
22+#include "attr.h"
23
24 /*
25 * these are the brute-force file searching routines that are used
26--
272.39.0
28
diff --git a/meta/recipes-devtools/unfs3/unfs3_0.11.0.bb b/meta/recipes-devtools/unfs3/unfs3_0.11.0.bb
new file mode 100644
index 0000000000..b8c235fb7c
--- /dev/null
+++ b/meta/recipes-devtools/unfs3/unfs3_0.11.0.bb
@@ -0,0 +1,20 @@
1SUMMARY = "Userspace NFS server v3 protocol"
2DESCRIPTION = "UNFS3 is a user-space implementation of the NFSv3 server \
3specification. It provides a daemon for the MOUNT and NFS protocols, which \
4are used by NFS clients for accessing files on the server."
5HOMEPAGE = "https://github.com/unfs3/unfs3"
6SECTION = "console/network"
7LICENSE = "BSD-3-Clause"
8LIC_FILES_CHKSUM = "file://LICENSE;md5=c1c621cd2786a3a1344a60a0d608c910"
9
10DEPENDS = "bison-native flex-native libtirpc"
11
12SRC_URI = "git://github.com/unfs3/unfs3.git;protocol=https;branch=master;tag=${BP}"
13SRCREV = "ec1660ba33c80d5c67131e163e68834c1a10e243"
14UPSTREAM_CHECK_GITTAGREGEX = "unfs3\-(?P<pver>\d+(\.\d+)+)"
15
16inherit autotools pkgconfig
17
18EXTRA_OECONF:append:class-native = " --sbindir=${bindir}"
19
20BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/unfs3/unfs3_git.bb b/meta/recipes-devtools/unfs3/unfs3_git.bb
deleted file mode 100644
index c5b7898b3c..0000000000
--- a/meta/recipes-devtools/unfs3/unfs3_git.bb
+++ /dev/null
@@ -1,30 +0,0 @@
1SUMMARY = "Userspace NFS server v3 protocol"
2DESCRIPTION = "UNFS3 is a user-space implementation of the NFSv3 server \
3specification. It provides a daemon for the MOUNT and NFS protocols, which \
4are used by NFS clients for accessing files on the server."
5HOMEPAGE = "https://github.com/unfs3/unfs3"
6SECTION = "console/network"
7LICENSE = "unfs3"
8LIC_FILES_CHKSUM = "file://LICENSE;md5=9475885294e17c0cc0067820d042792e"
9
10DEPENDS = "flex-native bison-native flex"
11DEPENDS += "libtirpc"
12DEPENDS:append:class-nativesdk = " flex-nativesdk"
13
14S = "${WORKDIR}/git"
15SRC_URI = "git://github.com/unfs3/unfs3.git;protocol=https;branch=master \
16 file://0001-daemon.c-Fix-race-window-for-writing-of-the-pid-file.patch \
17 file://0001-Alias-off64_t-to-off_t-on-linux-if-not-defined.patch \
18 file://0001-locate.c-Include-attr.h.patch \
19 file://0001-fix-building-on-macOS.patch \
20 file://0001-attr-fix-utime-for-symlink.patch \
21 "
22SRCREV = "c8f2d2cd4529955419bad0e163f88d47ff176b8d"
23UPSTREAM_CHECK_GITTAGREGEX = "unfs3\-(?P<pver>\d+(\.\d+)+)"
24
25PV = "0.10.0"
26
27BBCLASSEXTEND = "native nativesdk"
28
29inherit autotools pkgconfig
30EXTRA_OECONF:append:class-native = " --sbindir=${bindir}"
diff --git a/meta/recipes-devtools/unifdef/unifdef/0001-Don-t-use-C23-constexpr-keyword.patch b/meta/recipes-devtools/unifdef/unifdef/0001-Don-t-use-C23-constexpr-keyword.patch
new file mode 100644
index 0000000000..9d02183930
--- /dev/null
+++ b/meta/recipes-devtools/unifdef/unifdef/0001-Don-t-use-C23-constexpr-keyword.patch
@@ -0,0 +1,57 @@
1From ca1ac9c8bde84dbdea972299b1a6e30e78c2d785 Mon Sep 17 00:00:00 2001
2From: Sam James <sam@gentoo.org>
3Date: Sun, 17 Nov 2024 01:26:27 +0000
4Subject: [PATCH] Don't use C23 constexpr keyword
5
6This fixes building with upcoming GCC 15 which defaults to -std=gnu23.
7
8Upstream-Status: Submitted [https://github.com/fanf2/unifdef/pull/19]
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 unifdef.c | 10 +++++-----
12 1 file changed, 5 insertions(+), 5 deletions(-)
13
14diff --git a/unifdef.c b/unifdef.c
15index dc145a2..4bd3bda 100644
16--- a/unifdef.c
17+++ b/unifdef.c
18@@ -202,7 +202,7 @@ static int depth; /* current #if nesting */
19 static int delcount; /* count of deleted lines */
20 static unsigned blankcount; /* count of blank lines */
21 static unsigned blankmax; /* maximum recent blankcount */
22-static bool constexpr; /* constant #if expression */
23+static bool is_constexpr; /* constant #if expression */
24 static bool zerosyms; /* to format symdepth output */
25 static bool firstsym; /* ditto */
26
27@@ -1086,7 +1086,7 @@ eval_unary(const struct ops *ops, long *valp, const char **cpp)
28 *valp = (value[sym] != NULL);
29 lt = *valp ? LT_TRUE : LT_FALSE;
30 }
31- constexpr = false;
32+ is_constexpr = false;
33 } else if (!endsym(*cp)) {
34 debug("eval%d symbol", prec(ops));
35 sym = findsym(&cp);
36@@ -1103,7 +1103,7 @@ eval_unary(const struct ops *ops, long *valp, const char **cpp)
37 lt = *valp ? LT_TRUE : LT_FALSE;
38 cp = skipargs(cp);
39 }
40- constexpr = false;
41+ is_constexpr = false;
42 } else {
43 debug("eval%d bad expr", prec(ops));
44 return (LT_ERROR);
45@@ -1170,10 +1170,10 @@ ifeval(const char **cpp)
46 long val = 0;
47
48 debug("eval %s", *cpp);
49- constexpr = killconsts ? false : true;
50+ is_constexpr = killconsts ? false : true;
51 ret = eval_table(eval_ops, &val, cpp);
52 debug("eval = %d", val);
53- return (constexpr ? LT_IF : ret == LT_ERROR ? LT_IF : ret);
54+ return (is_constexpr ? LT_IF : ret == LT_ERROR ? LT_IF : ret);
55 }
56
57 /*
diff --git a/meta/recipes-devtools/unifdef/unifdef_2.12.bb b/meta/recipes-devtools/unifdef/unifdef_2.12.bb
index 3e08b3a0a4..e3bd4eb0f9 100644
--- a/meta/recipes-devtools/unifdef/unifdef_2.12.bb
+++ b/meta/recipes-devtools/unifdef/unifdef_2.12.bb
@@ -8,8 +8,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3498caf346f6b77934882101749ada23 \
8 file://unifdef.c;endline=32;md5=6f4ee8085d6e6ab0f7cb4390e1a9c497 \ 8 file://unifdef.c;endline=32;md5=6f4ee8085d6e6ab0f7cb4390e1a9c497 \
9 " 9 "
10 10
11SRC_URI = "http://dotat.at/prog/${BPN}/${BP}.tar.xz" 11SRC_URI = "http://dotat.at/prog/${BPN}/${BP}.tar.xz \
12SRC_URI[md5sum] = "ae8c0b3b4c43c1f6bc5f32412a820818" 12 file://0001-Don-t-use-C23-constexpr-keyword.patch"
13SRC_URI[sha256sum] = "43ce0f02ecdcdc723b2475575563ddb192e988c886d368260bc0a63aee3ac400" 13SRC_URI[sha256sum] = "43ce0f02ecdcdc723b2475575563ddb192e988c886d368260bc0a63aee3ac400"
14 14
15UPSTREAM_CHECK_REGEX = "unifdef-(?P<pver>((\d+\.*)+)(?![a-f0-9]{6,})).tar" 15UPSTREAM_CHECK_REGEX = "unifdef-(?P<pver>((\d+\.*)+)(?![a-f0-9]{6,})).tar"
diff --git a/meta/recipes-devtools/vala/vala_0.56.17.bb b/meta/recipes-devtools/vala/vala_0.56.18.bb
index acd6c43096..32105a3c23 100644
--- a/meta/recipes-devtools/vala/vala_0.56.17.bb
+++ b/meta/recipes-devtools/vala/vala_0.56.18.bb
@@ -19,7 +19,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
19SHRT_VER = "${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}" 19SHRT_VER = "${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}"
20 20
21SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/${BPN}/${SHRT_VER}/${BP}.tar.xz" 21SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/${BPN}/${SHRT_VER}/${BP}.tar.xz"
22SRC_URI[sha256sum] = "26100c4e4ef0049c619275f140d97cf565883d00c7543c82bcce5a426934ed6a" 22SRC_URI[sha256sum] = "f2affe7d40ab63db8e7b9ecc3f6bdc9c2fc7e3134c84ff2d795f482fe926a382"
23 23
24inherit autotools pkgconfig upstream-version-is-even 24inherit autotools pkgconfig upstream-version-is-even
25 25
diff --git a/meta/recipes-devtools/valgrind/valgrind/0001-Return-a-valid-exit_code-from-vg_regtest.patch b/meta/recipes-devtools/valgrind/valgrind/0001-Return-a-valid-exit_code-from-vg_regtest.patch
deleted file mode 100644
index e7af5efecc..0000000000
--- a/meta/recipes-devtools/valgrind/valgrind/0001-Return-a-valid-exit_code-from-vg_regtest.patch
+++ /dev/null
@@ -1,27 +0,0 @@
1From 5eebdefd2251803e7d21081745018fcb16b2ba71 Mon Sep 17 00:00:00 2001
2From: Randy MacLeod <Randy.MacLeod@windriver.com>
3Date: Wed, 8 May 2019 20:16:52 -0400
4Subject: [PATCH] Return a valid exit_code from vg_regtest
5
6Upstream-Status: Pending
7
8Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
9---
10 tests/vg_regtest.in | 1 +
11 1 file changed, 1 insertion(+)
12
13diff --git a/tests/vg_regtest.in b/tests/vg_regtest.in
14index 909af3be8..f2799c4e3 100755
15--- a/tests/vg_regtest.in
16+++ b/tests/vg_regtest.in
17@@ -403,6 +403,7 @@ sub mysystem($)
18 exit 1;
19 }
20 }
21+ return $exit_code;
22 }
23 # if $keepunfiltered, copies $1 to $1.unfiltered.out
24 # renames $0 tp $1
25--
262.17.0
27
diff --git a/meta/recipes-devtools/valgrind/valgrind/0001-Use-portable-syntax-for-pushsection-directive-in-inl.patch b/meta/recipes-devtools/valgrind/valgrind/0001-Use-portable-syntax-for-pushsection-directive-in-inl.patch
new file mode 100644
index 0000000000..b59c544223
--- /dev/null
+++ b/meta/recipes-devtools/valgrind/valgrind/0001-Use-portable-syntax-for-pushsection-directive-in-inl.patch
@@ -0,0 +1,31 @@
1From 2089383a0e3a50f527337ea05188b3e302069888 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 14 May 2025 09:29:33 -0700
4Subject: [PATCH] Use portable syntax for pushsection directive in inline
5 assembly
6
7'@' does not work with clang inline assembler, but '%' works with both
8gcc and clang. Therefore use '%' to make it more portable
9
10Fixes
11<inline asm>:1:41: error: expected '%<type>' or "<type>"
12
13Upstream-Status: Submitted [https://bugs.kde.org/show_bug.cgi?id=504222]
14Signed-off-by: Khem Raj <raj.khem@gmail.com>
15---
16 coregrind/vg_preloaded.c | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/coregrind/vg_preloaded.c b/coregrind/vg_preloaded.c
20index 5bec51d..e4c2dbc 100644
21--- a/coregrind/vg_preloaded.c
22+++ b/coregrind/vg_preloaded.c
23@@ -55,7 +55,7 @@
24 /* Note: The "MS" section flags are to remove duplicates. */
25 #define DEFINE_GDB_PY_SCRIPT(script_name) \
26 asm("\
27-.pushsection \".debug_gdb_scripts\", \"MS\",@progbits,1\n\
28+.pushsection \".debug_gdb_scripts\", \"MS\",%progbits,1\n\
29 .byte 1 /* Python */\n\
30 .asciz \"" script_name "\"\n\
31 .popsection \n\
diff --git a/meta/recipes-devtools/valgrind/valgrind/0001-configure-Drop-setting-mcpu-cortex-a8-on-arm.patch b/meta/recipes-devtools/valgrind/valgrind/0001-configure-Drop-setting-mcpu-cortex-a8-on-arm.patch
new file mode 100644
index 0000000000..3c8bec82b3
--- /dev/null
+++ b/meta/recipes-devtools/valgrind/valgrind/0001-configure-Drop-setting-mcpu-cortex-a8-on-arm.patch
@@ -0,0 +1,37 @@
1From 5a776e61af5ab7f0cfd10cde55c796189686916f Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 10 May 2024 16:27:34 -0700
4Subject: [PATCH] configure: Drop setting mcpu=cortex-a8 on arm
5
6The -march settings from environment expresses the flags
7appropriately, moreover, this conflicts when using armhf
8without neon [1]
9
10[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=928224
11
12Upstream-Status: Submitted [https://bugs.kde.org/show_bug.cgi?id=454346]
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14---
15 configure.ac | 4 ++--
16 1 file changed, 2 insertions(+), 2 deletions(-)
17
18diff --git a/configure.ac b/configure.ac
19index 2dfbd1c..b42fdd4 100755
20--- a/configure.ac
21+++ b/configure.ac
22@@ -251,13 +251,13 @@ case "${host_cpu}" in
23
24 armv8*)
25 AC_MSG_RESULT([ok (${host_cpu})])
26- VGCONF_PLATFORM_ARM_ARCH="-marm -mcpu=cortex-a8"
27+ VGCONF_PLATFORM_ARM_ARCH="-marm"
28 ARCH_MAX="arm"
29 ;;
30
31 armv7*)
32 AC_MSG_RESULT([ok (${host_cpu})])
33- VGCONF_PLATFORM_ARM_ARCH="-marm -mcpu=cortex-a8"
34+ VGCONF_PLATFORM_ARM_ARCH="-marm"
35 ARCH_MAX="arm"
36 ;;
37
diff --git a/meta/recipes-devtools/valgrind/valgrind/0001-docs-Disable-manual-validation.patch b/meta/recipes-devtools/valgrind/valgrind/0001-docs-Disable-manual-validation.patch
index 256ddb0c34..fbd799eeea 100644
--- a/meta/recipes-devtools/valgrind/valgrind/0001-docs-Disable-manual-validation.patch
+++ b/meta/recipes-devtools/valgrind/valgrind/0001-docs-Disable-manual-validation.patch
@@ -1,4 +1,4 @@
1From 99fc6fe9b66becac3c94068129e84217330a71a6 Mon Sep 17 00:00:00 2001 1From 4f674f458b1f0675abdc0ced01239e99bfa40de8 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 13 Jan 2022 18:26:02 -0800 3Date: Thu, 13 Jan 2022 18:26:02 -0800
4Subject: [PATCH] docs: Disable manual validation 4Subject: [PATCH] docs: Disable manual validation
@@ -19,11 +19,11 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
19 1 file changed, 1 insertion(+), 1 deletion(-) 19 1 file changed, 1 insertion(+), 1 deletion(-)
20 20
21diff --git a/docs/Makefile.am b/docs/Makefile.am 21diff --git a/docs/Makefile.am b/docs/Makefile.am
22index d4250e8..c500306 100644 22index 68a3da5..9833d5c 100644
23--- a/docs/Makefile.am 23--- a/docs/Makefile.am
24+++ b/docs/Makefile.am 24+++ b/docs/Makefile.am
25@@ -192,7 +192,7 @@ valid-manpages: $(MANPAGES_XML_FILES) 25@@ -202,7 +202,7 @@ valid-manpages: $(MANPAGES_XML_FILES)
26 touch $@; \ 26 fi \
27 fi 27 fi
28 28
29-check-local: valid-manual valid-manpages 29-check-local: valid-manual valid-manpages
@@ -31,6 +31,3 @@ index d4250e8..c500306 100644
31 31
32 # The text version of the FAQ. 32 # The text version of the FAQ.
33 FAQ.txt: 33 FAQ.txt:
34--
352.34.1
36
diff --git a/meta/recipes-devtools/valgrind/valgrind/0001-makefiles-Drop-setting-mcpu-to-cortex-a8-on-arm-arch.patch b/meta/recipes-devtools/valgrind/valgrind/0001-makefiles-Drop-setting-mcpu-to-cortex-a8-on-arm-arch.patch
index 073713c139..f8d1e87ba9 100644
--- a/meta/recipes-devtools/valgrind/valgrind/0001-makefiles-Drop-setting-mcpu-to-cortex-a8-on-arm-arch.patch
+++ b/meta/recipes-devtools/valgrind/valgrind/0001-makefiles-Drop-setting-mcpu-to-cortex-a8-on-arm-arch.patch
@@ -1,4 +1,4 @@
1From 715cf122388f3527afa5649cebf9f1522c240693 Mon Sep 17 00:00:00 2001 1From c878aaacadf8ec723be882f9335cb33240df13d6 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 20 Apr 2017 10:11:16 -0700 3Date: Thu, 20 Apr 2017 10:11:16 -0700
4Subject: [PATCH] makefiles: Drop setting -mcpu to cortex-a8 on arm 4Subject: [PATCH] makefiles: Drop setting -mcpu to cortex-a8 on arm
@@ -14,35 +14,15 @@ Upstream-Status: Submitted [https://bugs.kde.org/show_bug.cgi?id=454346]
14 14
15Signed-off-by: Khem Raj <raj.khem@gmail.com> 15Signed-off-by: Khem Raj <raj.khem@gmail.com>
16--- 16---
17 Makefile.all.am | 6 +++---
18 helgrind/tests/Makefile.am | 6 +++--- 17 helgrind/tests/Makefile.am | 6 +++---
19 none/tests/arm/Makefile.am | 18 +++++++++--------- 18 none/tests/arm/Makefile.am | 18 +++++++++---------
20 3 files changed, 15 insertions(+), 15 deletions(-) 19 2 files changed, 12 insertions(+), 12 deletions(-)
21 20
22diff --git a/Makefile.all.am b/Makefile.all.am
23index 02059a3..c7c4700 100644
24--- a/Makefile.all.am
25+++ b/Makefile.all.am
26@@ -197,11 +197,11 @@ AM_CCASFLAGS_PPC64LE_LINUX = @FLAG_M64@ -g
27
28 AM_FLAG_M3264_ARM_LINUX = @FLAG_M32@
29 AM_CFLAGS_ARM_LINUX = @FLAG_M32@ \
30- $(AM_CFLAGS_BASE) -marm -mcpu=cortex-a8
31+ $(AM_CFLAGS_BASE) -marm
32 AM_CFLAGS_PSO_ARM_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) \
33- -marm -mcpu=cortex-a8 $(AM_CFLAGS_PSO_BASE)
34+ -marm $(AM_CFLAGS_PSO_BASE)
35 AM_CCASFLAGS_ARM_LINUX = @FLAG_M32@ \
36- -marm -mcpu=cortex-a8 -g
37+ -marm -g
38
39 AM_FLAG_M3264_ARM64_LINUX = @FLAG_M64@
40 AM_CFLAGS_ARM64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE)
41diff --git a/helgrind/tests/Makefile.am b/helgrind/tests/Makefile.am 21diff --git a/helgrind/tests/Makefile.am b/helgrind/tests/Makefile.am
42index df82169..07eb66a 100644 22index 7adc5c6..cac23c9 100755
43--- a/helgrind/tests/Makefile.am 23--- a/helgrind/tests/Makefile.am
44+++ b/helgrind/tests/Makefile.am 24+++ b/helgrind/tests/Makefile.am
45@@ -189,9 +189,9 @@ if ! VGCONF_PLATFORMS_INCLUDE_X86_DARWIN 25@@ -226,9 +226,9 @@ if ! VGCONF_PLATFORMS_INCLUDE_X86_DARWIN
46 endif 26 endif
47 27
48 if VGCONF_PLATFORMS_INCLUDE_ARM_LINUX 28 if VGCONF_PLATFORMS_INCLUDE_ARM_LINUX
@@ -56,10 +36,10 @@ index df82169..07eb66a 100644
56 annotate_hbefore_CFLAGS = $(AM_CFLAGS) 36 annotate_hbefore_CFLAGS = $(AM_CFLAGS)
57 tc07_hbl1_CFLAGS = $(AM_CFLAGS) 37 tc07_hbl1_CFLAGS = $(AM_CFLAGS)
58diff --git a/none/tests/arm/Makefile.am b/none/tests/arm/Makefile.am 38diff --git a/none/tests/arm/Makefile.am b/none/tests/arm/Makefile.am
59index 024eb6d..ccecb90 100644 39index 41a5a03..a76981e 100644
60--- a/none/tests/arm/Makefile.am 40--- a/none/tests/arm/Makefile.am
61+++ b/none/tests/arm/Makefile.am 41+++ b/none/tests/arm/Makefile.am
62@@ -52,10 +52,10 @@ allexec_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_NONNULL@ 42@@ -56,10 +56,10 @@ allexec_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_NONNULL@
63 # need special helping w.r.t -mfpu and -mfloat-abi, though. 43 # need special helping w.r.t -mfpu and -mfloat-abi, though.
64 # Also force -O0 since -O takes hundreds of MB of memory 44 # Also force -O0 since -O takes hundreds of MB of memory
65 # for v6intThumb.c. 45 # for v6intThumb.c.
@@ -71,11 +51,11 @@ index 024eb6d..ccecb90 100644
71-v6media_CFLAGS = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a8 -mthumb 51-v6media_CFLAGS = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a8 -mthumb
72+v6media_CFLAGS = $(AM_CFLAGS) -g -O0 -mthumb 52+v6media_CFLAGS = $(AM_CFLAGS) -g -O0 -mthumb
73 53
74 v8crypto_a_CFLAGS = $(AM_CFLAGS) -g -O0 -mfpu=crypto-neon-fp-armv8 -marm 54 v8crypto_a_CFLAGS = $(AM_CFLAGS) -g -O0 -mfpu=crypto-neon-fp-armv8 -marm -march=armv8-a
75 v8crypto_t_CFLAGS = $(AM_CFLAGS) -g -O0 -mfpu=crypto-neon-fp-armv8 -mthumb 55 v8crypto_t_CFLAGS = $(AM_CFLAGS) -g -O0 -mfpu=crypto-neon-fp-armv8 -mthumb -march=armv8-a
76@@ -65,23 +65,23 @@ v8memory_a_CFLAGS = $(AM_CFLAGS) -g -O0 \ 56@@ -74,23 +74,23 @@ v8memory_t_CFLAGS = $(AM_CFLAGS) -g -O0 \
77 v8memory_t_CFLAGS = $(AM_CFLAGS) -g -O0 \ 57
78 -march=armv8-a -mfpu=crypto-neon-fp-armv8 -mthumb 58 vcvt_fixed_float_VFP_CFLAGS = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a8 -mfpu=neon
79 59
80-vfp_CFLAGS = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a8 \ 60-vfp_CFLAGS = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a8 \
81+vfp_CFLAGS = $(AM_CFLAGS) -g -O0 \ 61+vfp_CFLAGS = $(AM_CFLAGS) -g -O0 \
@@ -103,6 +83,3 @@ index 024eb6d..ccecb90 100644
103+vcvt_fixed_float_VFP_CFLAGS = $(AM_CFLAGS) -g -mfpu=vfpv3 83+vcvt_fixed_float_VFP_CFLAGS = $(AM_CFLAGS) -g -mfpu=vfpv3
104 84
105 vfpv4_fma_CFLAGS = $(AM_CFLAGS) -g -O0 -march=armv7ve -mcpu=cortex-a15 -mfpu=vfpv4 -marm 85 vfpv4_fma_CFLAGS = $(AM_CFLAGS) -g -O0 -march=armv7ve -mcpu=cortex-a15 -mfpu=vfpv4 -marm
106--
1072.12.2
108
diff --git a/meta/recipes-devtools/valgrind/valgrind/0001-memcheck-tests-Fix-timerfd-syscall-test.patch b/meta/recipes-devtools/valgrind/valgrind/0001-memcheck-tests-Fix-timerfd-syscall-test.patch
index 15fbbe954f..200b2602cb 100644
--- a/meta/recipes-devtools/valgrind/valgrind/0001-memcheck-tests-Fix-timerfd-syscall-test.patch
+++ b/meta/recipes-devtools/valgrind/valgrind/0001-memcheck-tests-Fix-timerfd-syscall-test.patch
@@ -1,4 +1,4 @@
1From 5d411fd147d652e9d7bb259f4048693c6e4742aa Mon Sep 17 00:00:00 2001 1From 3a51ed107f67732910dec12279a9279e158afbe7 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 9 Mar 2020 16:30:19 -0700 3Date: Mon, 9 Mar 2020 16:30:19 -0700
4Subject: [PATCH] memcheck/tests: Fix timerfd syscall test 4Subject: [PATCH] memcheck/tests: Fix timerfd syscall test
@@ -10,14 +10,16 @@ have the implementation or syscall is not defined
10Upstream-Status: Submitted [https://sourceforge.net/p/valgrind/mailman/message/36943897/] 10Upstream-Status: Submitted [https://sourceforge.net/p/valgrind/mailman/message/36943897/]
11Signed-off-by: Khem Raj <raj.khem@gmail.com> 11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12--- 12---
13 config.h.in | 9 +++++++++ 13 config.h.in | 3 +++
14 configure.ac | 3 +++ 14 configure.ac | 1 +
15 memcheck/tests/linux/timerfd-syscall.c | 10 ++++++++-- 15 memcheck/tests/linux/timerfd-syscall.c | 14 +++++++++++---
16 5 files changed, 32 insertions(+), 2 deletions(-) 16 3 files changed, 15 insertions(+), 3 deletions(-)
17 17
18diff --git a/config.h.in b/config.h.in
19index 00db1a6..23fd77a 100644
18--- a/config.h.in 20--- a/config.h.in
19+++ b/config.h.in 21+++ b/config.h.in
20@@ -301,6 +301,9 @@ 22@@ -409,6 +409,9 @@
21 /* Define to 1 if you have the <sys/sysnvl.h> header file. */ 23 /* Define to 1 if you have the <sys/sysnvl.h> header file. */
22 #undef HAVE_SYS_SYSNVL_H 24 #undef HAVE_SYS_SYSNVL_H
23 25
@@ -27,9 +29,11 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
27 /* Define to 1 if you have the <sys/time.h> header file. */ 29 /* Define to 1 if you have the <sys/time.h> header file. */
28 #undef HAVE_SYS_TIME_H 30 #undef HAVE_SYS_TIME_H
29 31
32diff --git a/configure.ac b/configure.ac
33index b42fdd4..ec95146 100755
30--- a/configure.ac 34--- a/configure.ac
31+++ b/configure.ac 35+++ b/configure.ac
32@@ -4098,6 +4098,7 @@ AC_CHECK_HEADERS([ \ 36@@ -4892,6 +4892,7 @@ AC_CHECK_HEADERS([ \
33 sys/syscall.h \ 37 sys/syscall.h \
34 sys/sysnvl.h \ 38 sys/sysnvl.h \
35 sys/time.h \ 39 sys/time.h \
@@ -37,9 +41,11 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
37 sys/types.h \ 41 sys/types.h \
38 ]) 42 ])
39 43
44diff --git a/memcheck/tests/linux/timerfd-syscall.c b/memcheck/tests/linux/timerfd-syscall.c
45index 61d75b5..1ba888a 100644
40--- a/memcheck/tests/linux/timerfd-syscall.c 46--- a/memcheck/tests/linux/timerfd-syscall.c
41+++ b/memcheck/tests/linux/timerfd-syscall.c 47+++ b/memcheck/tests/linux/timerfd-syscall.c
42@@ -45,6 +45,9 @@ 48@@ -42,6 +42,9 @@
43 #if defined(HAVE_SYS_TIME_H) 49 #if defined(HAVE_SYS_TIME_H)
44 #include <sys/time.h> 50 #include <sys/time.h>
45 #endif 51 #endif
@@ -49,7 +55,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
49 #if defined(HAVE_SYS_TYPES_H) 55 #if defined(HAVE_SYS_TYPES_H)
50 #include <sys/types.h> 56 #include <sys/types.h>
51 #endif 57 #endif
52@@ -54,7 +57,8 @@ 58@@ -51,7 +54,8 @@
53 * timerfd_* system call numbers introduced in 2.6.23. These constants are 59 * timerfd_* system call numbers introduced in 2.6.23. These constants are
54 * not yet in the glibc 2.7 headers, that is why they are defined here. 60 * not yet in the glibc 2.7 headers, that is why they are defined here.
55 */ 61 */
@@ -59,7 +65,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
59 #if defined(__x86_64__) 65 #if defined(__x86_64__)
60 #define __NR_timerfd_create 283 66 #define __NR_timerfd_create 283
61 #elif defined(__i386__) 67 #elif defined(__i386__)
62@@ -67,8 +71,10 @@ 68@@ -64,8 +68,10 @@
63 #error Cannot detect your architecture! 69 #error Cannot detect your architecture!
64 #endif 70 #endif
65 #endif 71 #endif
@@ -71,7 +77,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
71 #if defined(__x86_64__) 77 #if defined(__x86_64__)
72 #define __NR_timerfd_settime 286 78 #define __NR_timerfd_settime 286
73 #define __NR_timerfd_gettime 287 79 #define __NR_timerfd_gettime 287
74@@ -85,7 +91,7 @@ 80@@ -82,7 +88,7 @@
75 #error Cannot detect your architecture! 81 #error Cannot detect your architecture!
76 #endif 82 #endif
77 #endif 83 #endif
@@ -80,7 +86,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
80 86
81 87
82 /* Definitions from include/linux/timerfd.h */ 88 /* Definitions from include/linux/timerfd.h */
83@@ -127,6 +133,7 @@ void set_timespec(struct timespec *tmr, 89@@ -124,6 +130,7 @@ void set_timespec(struct timespec *tmr, unsigned long long ustime)
84 tmr->tv_nsec = (long) (1000ULL * (ustime % 1000000ULL)); 90 tmr->tv_nsec = (long) (1000ULL * (ustime % 1000000ULL));
85 } 91 }
86 92
@@ -88,7 +94,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
88 int timerfd_create(int clockid, int flags) 94 int timerfd_create(int clockid, int flags)
89 { 95 {
90 return syscall(__NR_timerfd_create, clockid, flags); 96 return syscall(__NR_timerfd_create, clockid, flags);
91@@ -142,6 +149,7 @@ int timerfd_gettime(int ufc, struct itim 97@@ -139,6 +146,7 @@ int timerfd_gettime(int ufc, struct itimerspec *otmr)
92 { 98 {
93 return syscall(__NR_timerfd_gettime, ufc, otmr); 99 return syscall(__NR_timerfd_gettime, ufc, otmr);
94 } 100 }
diff --git a/meta/recipes-devtools/valgrind/valgrind/0001-memcheck-vgtests-remove-fullpath-after-flags.patch b/meta/recipes-devtools/valgrind/valgrind/0001-memcheck-vgtests-remove-fullpath-after-flags.patch
index dce8b52ba3..9a3596cac1 100644
--- a/meta/recipes-devtools/valgrind/valgrind/0001-memcheck-vgtests-remove-fullpath-after-flags.patch
+++ b/meta/recipes-devtools/valgrind/valgrind/0001-memcheck-vgtests-remove-fullpath-after-flags.patch
@@ -1,4 +1,4 @@
1From 3ff82dcb844f98dbf67c69f11f6516bc234725a9 Mon Sep 17 00:00:00 2001 1From b703b0d11adc9147a7d97817bd771ac40b8c4d39 Mon Sep 17 00:00:00 2001
2From: Stacy Gaikovaia <Stacy.Gaikovaia@windriver.com> 2From: Stacy Gaikovaia <Stacy.Gaikovaia@windriver.com>
3Date: Wed, 16 Sep 2020 13:45:07 -0400 3Date: Wed, 16 Sep 2020 13:45:07 -0400
4Subject: [PATCH] memcheck vgtests remove fullpath-after flags 4Subject: [PATCH] memcheck vgtests remove fullpath-after flags
@@ -20,7 +20,7 @@ Signed-off-by: Stacy Gaikovaia <Stacy.Gaikovaia@windriver.com>
20 2 files changed, 2 insertions(+), 2 deletions(-) 20 2 files changed, 2 insertions(+), 2 deletions(-)
21 21
22diff --git a/memcheck/tests/badfree3.vgtest b/memcheck/tests/badfree3.vgtest 22diff --git a/memcheck/tests/badfree3.vgtest b/memcheck/tests/badfree3.vgtest
23index 3dfc5fd8a..4ee03f00a 100644 23index 3dfc5fd..4ee03f0 100644
24--- a/memcheck/tests/badfree3.vgtest 24--- a/memcheck/tests/badfree3.vgtest
25+++ b/memcheck/tests/badfree3.vgtest 25+++ b/memcheck/tests/badfree3.vgtest
26@@ -1,3 +1,3 @@ 26@@ -1,3 +1,3 @@
@@ -29,7 +29,7 @@ index 3dfc5fd8a..4ee03f00a 100644
29+vgopts: -q 29+vgopts: -q
30 stderr_filter_args: badfree.c 30 stderr_filter_args: badfree.c
31diff --git a/memcheck/tests/varinfo5.vgtest b/memcheck/tests/varinfo5.vgtest 31diff --git a/memcheck/tests/varinfo5.vgtest b/memcheck/tests/varinfo5.vgtest
32index 063d00dce..79c4a72a4 100644 32index 063d00d..79c4a72 100644
33--- a/memcheck/tests/varinfo5.vgtest 33--- a/memcheck/tests/varinfo5.vgtest
34+++ b/memcheck/tests/varinfo5.vgtest 34+++ b/memcheck/tests/varinfo5.vgtest
35@@ -1,3 +1,3 @@ 35@@ -1,3 +1,3 @@
@@ -37,6 +37,3 @@ index 063d00dce..79c4a72a4 100644
37-vgopts: --fullpath-after=memcheck/ --fullpath-after=coregrind/ --read-var-info=yes --read-inline-info=yes -q 37-vgopts: --fullpath-after=memcheck/ --fullpath-after=coregrind/ --read-var-info=yes --read-inline-info=yes -q
38+vgopts: --read-var-info=yes --read-inline-info=yes -q 38+vgopts: --read-var-info=yes --read-inline-info=yes -q
39 stderr_filter: filter_varinfo3 39 stderr_filter: filter_varinfo3
40--
412.25.1
42
diff --git a/meta/recipes-devtools/valgrind/valgrind/0001-none-tests-fdleak_cmsg.stderr.exp-adjust-tmp-paths.patch b/meta/recipes-devtools/valgrind/valgrind/0001-none-tests-fdleak_cmsg.stderr.exp-adjust-tmp-paths.patch
index e421ac6c80..7deca99202 100644
--- a/meta/recipes-devtools/valgrind/valgrind/0001-none-tests-fdleak_cmsg.stderr.exp-adjust-tmp-paths.patch
+++ b/meta/recipes-devtools/valgrind/valgrind/0001-none-tests-fdleak_cmsg.stderr.exp-adjust-tmp-paths.patch
@@ -1,4 +1,4 @@
1From f405297d3382cd98391d02f397e2387da1f42879 Mon Sep 17 00:00:00 2001 1From bbb5e8a6fc5eec178f8077ab006ab42c009528d4 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Fri, 24 Jan 2020 17:55:39 +0100 3Date: Fri, 24 Jan 2020 17:55:39 +0100
4Subject: [PATCH] none/tests/fdleak_cmsg.stderr.exp: adjust /tmp paths 4Subject: [PATCH] none/tests/fdleak_cmsg.stderr.exp: adjust /tmp paths
@@ -13,13 +13,13 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
13 1 file changed, 2 insertions(+), 2 deletions(-) 13 1 file changed, 2 insertions(+), 2 deletions(-)
14 14
15diff --git a/none/tests/fdleak_cmsg.stderr.exp b/none/tests/fdleak_cmsg.stderr.exp 15diff --git a/none/tests/fdleak_cmsg.stderr.exp b/none/tests/fdleak_cmsg.stderr.exp
16index 6e5a797b9..0ede1ab18 100644 16index 6b3b53f..45e7e2f 100644
17--- a/none/tests/fdleak_cmsg.stderr.exp 17--- a/none/tests/fdleak_cmsg.stderr.exp
18+++ b/none/tests/fdleak_cmsg.stderr.exp 18+++ b/none/tests/fdleak_cmsg.stderr.exp
19@@ -25,10 +25,10 @@ Open file descriptor ...: /dev/null 19@@ -25,10 +25,10 @@ Open file descriptor ...: /dev/null
20 20
21 21
22 FILE DESCRIPTORS: 6 open (3 std) at exit. 22 FILE DESCRIPTORS: 6 open (3 inherited) at exit.
23-Open file descriptor ...: /tmp/data2 23-Open file descriptor ...: /tmp/data2
24+Open file descriptor ...: ... 24+Open file descriptor ...: ...
25 ... 25 ...
@@ -29,6 +29,3 @@ index 6e5a797b9..0ede1ab18 100644
29 ... 29 ...
30 30
31 Open AF_UNIX socket ...: <unknown> 31 Open AF_UNIX socket ...: <unknown>
32--
332.17.1
34
diff --git a/meta/recipes-devtools/valgrind/valgrind/0001-sigqueue-Rename-_sifields-to-__si_fields-on-musl.patch b/meta/recipes-devtools/valgrind/valgrind/0001-sigqueue-Rename-_sifields-to-__si_fields-on-musl.patch
index 27366153f7..efa6c2c895 100644
--- a/meta/recipes-devtools/valgrind/valgrind/0001-sigqueue-Rename-_sifields-to-__si_fields-on-musl.patch
+++ b/meta/recipes-devtools/valgrind/valgrind/0001-sigqueue-Rename-_sifields-to-__si_fields-on-musl.patch
@@ -1,7 +1,7 @@
1From 64ad2744acfb4fa40b1c114633a053f87125a203 Mon Sep 17 00:00:00 2001 1From c287382a1f3dd9f2db3df54dde54b4b266791bb9 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 10 Jun 2017 00:46:39 -0700 3Date: Sat, 10 Jun 2017 00:46:39 -0700
4Subject: [PATCH 1/6] sigqueue: Rename _sifields to __si_fields on musl 4Subject: [PATCH] sigqueue: Rename _sifields to __si_fields on musl
5 5
6Upstream-Status: Pending 6Upstream-Status: Pending
7 7
@@ -11,7 +11,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
11 1 file changed, 5 insertions(+) 11 1 file changed, 5 insertions(+)
12 12
13diff --git a/memcheck/tests/linux/sigqueue.c b/memcheck/tests/linux/sigqueue.c 13diff --git a/memcheck/tests/linux/sigqueue.c b/memcheck/tests/linux/sigqueue.c
14index d18bd72..acb7cba 100644 14index 4b6fb0f..d37fe93 100644
15--- a/memcheck/tests/linux/sigqueue.c 15--- a/memcheck/tests/linux/sigqueue.c
16+++ b/memcheck/tests/linux/sigqueue.c 16+++ b/memcheck/tests/linux/sigqueue.c
17@@ -8,6 +8,11 @@ 17@@ -8,6 +8,11 @@
@@ -26,6 +26,3 @@ index d18bd72..acb7cba 100644
26 int main(int argc, char **argv) 26 int main(int argc, char **argv)
27 { 27 {
28 siginfo_t *si; 28 siginfo_t *si;
29--
302.13.1
31
diff --git a/meta/recipes-devtools/valgrind/valgrind/0001-tests-arm-Use-O-instead-of-O0.patch b/meta/recipes-devtools/valgrind/valgrind/0001-tests-arm-Use-O-instead-of-O0.patch
new file mode 100644
index 0000000000..3eea195579
--- /dev/null
+++ b/meta/recipes-devtools/valgrind/valgrind/0001-tests-arm-Use-O-instead-of-O0.patch
@@ -0,0 +1,36 @@
1From 8087ae8dcc46f3f81af58ed9b7176761b988ee61 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 10 May 2024 17:44:47 -0700
4Subject: [PATCH] tests/arm: Use -O instead of -O0
5
6GCC-14 fails to compile the testcase with -O2 [1]
7therefore workaround it by using -O1, which works
8and for OE/cross-compiling it is fine, -O0 is used
9to make these tests compile natively on an arm target
10and gcc would take less memory compiling with -O0
11-O would take a bit more memory but in cross compiling
12we have enough of it on build host.
13
14[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115042
15Upstream-Status: Inappropriate [WORKAROUND]
16Signed-off-by: Khem Raj <raj.khem@gmail.com>
17---
18 none/tests/arm/Makefile.am | 4 ++--
19 1 file changed, 2 insertions(+), 2 deletions(-)
20
21diff --git a/none/tests/arm/Makefile.am b/none/tests/arm/Makefile.am
22index a76981e..a198f73 100644
23--- a/none/tests/arm/Makefile.am
24+++ b/none/tests/arm/Makefile.am
25@@ -57,9 +57,9 @@ allexec_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_NONNULL@
26 # Also force -O0 since -O takes hundreds of MB of memory
27 # for v6intThumb.c.
28 v6intARM_CFLAGS = $(AM_CFLAGS) -g -O0 -marm
29-v6intThumb_CFLAGS = $(AM_CFLAGS) -g -O0 -mthumb
30+v6intThumb_CFLAGS = $(AM_CFLAGS) -g -O -mthumb
31
32-v6media_CFLAGS = $(AM_CFLAGS) -g -O0 -mthumb
33+v6media_CFLAGS = $(AM_CFLAGS) -g -O -mthumb
34
35 v8crypto_a_CFLAGS = $(AM_CFLAGS) -g -O0 -mfpu=crypto-neon-fp-armv8 -marm -march=armv8-a
36 v8crypto_t_CFLAGS = $(AM_CFLAGS) -g -O0 -mfpu=crypto-neon-fp-armv8 -mthumb -march=armv8-a
diff --git a/meta/recipes-devtools/valgrind/valgrind/0001-valgrind-filter_xml_frames-do-not-filter-usr.patch b/meta/recipes-devtools/valgrind/valgrind/0001-valgrind-filter_xml_frames-do-not-filter-usr.patch
index bf0f0ded21..c64c2afd3f 100644
--- a/meta/recipes-devtools/valgrind/valgrind/0001-valgrind-filter_xml_frames-do-not-filter-usr.patch
+++ b/meta/recipes-devtools/valgrind/valgrind/0001-valgrind-filter_xml_frames-do-not-filter-usr.patch
@@ -1,7 +1,7 @@
1From d1dea3c2bcf1e22baab39e2c0b8ca59db8a5bc37 Mon Sep 17 00:00:00 2001 1From f8fbebcf69e4a8bf2122b7c55f2ce372377af1bc Mon Sep 17 00:00:00 2001
2From: Randy MacLeod <Randy.MacLeod@windriver.com> 2From: Randy MacLeod <Randy.MacLeod@windriver.com>
3Date: Mon, 13 May 2019 17:12:21 -0400 3Date: Mon, 13 May 2019 17:12:21 -0400
4Subject: [PATCH 1/2] valgrind: filter_xml_frames: do not filter /usr 4Subject: [PATCH] valgrind: filter_xml_frames: do not filter /usr
5 5
6filter_xml_frames is intended to filter system paths under 6filter_xml_frames is intended to filter system paths under
7'/usr' that vary from platform to platform. In the ptest case 7'/usr' that vary from platform to platform. In the ptest case
@@ -21,7 +21,7 @@ Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
21 1 file changed, 2 insertions(+), 1 deletion(-) 21 1 file changed, 2 insertions(+), 1 deletion(-)
22 22
23diff --git a/tests/filter_xml_frames b/tests/filter_xml_frames 23diff --git a/tests/filter_xml_frames b/tests/filter_xml_frames
24index f1fa3f070..04fbc82de 100755 24index f1fa3f0..04fbc82 100755
25--- a/tests/filter_xml_frames 25--- a/tests/filter_xml_frames
26+++ b/tests/filter_xml_frames 26+++ b/tests/filter_xml_frames
27@@ -47,7 +47,8 @@ while (my $line = <>) 27@@ -47,7 +47,8 @@ while (my $line = <>)
@@ -34,6 +34,3 @@ index f1fa3f070..04fbc82de 100755
34 } 34 }
35 } 35 }
36 36
37--
382.17.0
39
diff --git a/meta/recipes-devtools/valgrind/valgrind/0001-valgrind-monitor.py-regular-expressions-should-use-r.patch b/meta/recipes-devtools/valgrind/valgrind/0001-valgrind-monitor.py-regular-expressions-should-use-r.patch
deleted file mode 100644
index 80a8e3a10b..0000000000
--- a/meta/recipes-devtools/valgrind/valgrind/0001-valgrind-monitor.py-regular-expressions-should-use-r.patch
+++ /dev/null
@@ -1,64 +0,0 @@
1From 027b649fdb831868e71be01cafdacc49a5f419ab Mon Sep 17 00:00:00 2001
2From: Mark Wielaard <mark@klomp.org>
3Date: Fri, 17 Nov 2023 14:01:21 +0100
4Subject: [PATCH 1/4] valgrind-monitor.py regular expressions should use raw
5 strings
6
7With python 3.12 gdb will produce the following SyntaxWarning when
8loading valgrind-monitor-def.py:
9
10 /usr/share/gdb/auto-load/valgrind-monitor-def.py:214:
11 SyntaxWarning: invalid escape sequence '\['
12 if re.fullmatch("^0x[0123456789ABCDEFabcdef]+\[[^\[\]]+\]$", arg_str):
13
14In a future python version this will become an SyntaxError.
15
16Use a raw strings for the regular expression.
17
18https://bugs.kde.org/show_bug.cgi?id=476708
19(cherry picked from commit 0fbfbe05028ad18efda786a256a2738d2c231ed4)
20
21Upstream-Status: Backport [https://sourceware.org/git/?p=valgrind.git;a=commit;h=027b649fdb831868e71be01cafdacc49a5f419ab]
22Signed-off-by: Khem Raj <raj.khem@gmail.com>
23---
24 NEWS | 13 +++++++++++++
25 coregrind/m_gdbserver/valgrind-monitor-def.py | 2 +-
26 2 files changed, 14 insertions(+), 1 deletion(-)
27
28diff --git a/NEWS b/NEWS
29index f11da4be8..ee5b4ff11 100644
30--- a/NEWS
31+++ b/NEWS
32@@ -1,3 +1,16 @@
33+Branch 3.22
34+~~~~~~~~~~~
35+
36+* ==================== FIXED BUGS ====================
37+
38+The following bugs have been fixed or resolved on this branch.
39+
40+476708 valgrind-monitor.py regular expressions should use raw strings
41+
42+To see details of a given bug, visit
43+ https://bugs.kde.org/show_bug.cgi?id=XXXXXX
44+where XXXXXX is the bug number as listed above.
45+
46 Release 3.22.0 (31 Oct 2023)
47 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
48
49diff --git a/coregrind/m_gdbserver/valgrind-monitor-def.py b/coregrind/m_gdbserver/valgrind-monitor-def.py
50index b4e7b992d..d74b1590c 100644
51--- a/coregrind/m_gdbserver/valgrind-monitor-def.py
52+++ b/coregrind/m_gdbserver/valgrind-monitor-def.py
53@@ -211,7 +211,7 @@ class Valgrind_ADDR_LEN_opt(Valgrind_Command):
54 For compatibility reason with the Valgrind gdbserver monitor command,
55 we detect and accept usages such as 0x1234ABCD[10]."""
56 def invoke(self, arg_str : str, from_tty : bool) -> None:
57- if re.fullmatch("^0x[0123456789ABCDEFabcdef]+\[[^\[\]]+\]$", arg_str):
58+ if re.fullmatch(r"^0x[0123456789ABCDEFabcdef]+\[[^\[\]]+\]$", arg_str):
59 arg_str = arg_str.replace("[", " ")
60 arg_str = arg_str.replace("]", " ")
61 eval_execute_2(self, arg_str,
62--
632.44.0
64
diff --git a/meta/recipes-devtools/valgrind/valgrind/0002-Bug-476548-valgrind-3.22.0-fails-on-assertion-when-l.patch b/meta/recipes-devtools/valgrind/valgrind/0002-Bug-476548-valgrind-3.22.0-fails-on-assertion-when-l.patch
deleted file mode 100644
index 5759fa039a..0000000000
--- a/meta/recipes-devtools/valgrind/valgrind/0002-Bug-476548-valgrind-3.22.0-fails-on-assertion-when-l.patch
+++ /dev/null
@@ -1,147 +0,0 @@
1From 1d00e5ce0fb069911c4b525ec38289fb5d9021b0 Mon Sep 17 00:00:00 2001
2From: Paul Floyd <pjfloyd@wanadoo.fr>
3Date: Sat, 18 Nov 2023 08:49:34 +0100
4Subject: [PATCH 2/4] Bug 476548 - valgrind 3.22.0 fails on assertion when
5 loading debuginfo file produced by mold
6
7(cherry picked from commit 9ea4ae66707a4dcc6f4328e11911652e4418c585)
8
9Upstream-Status: Backport [https://sourceware.org/git/?p=valgrind.git;a=commit;h=1d00e5ce0fb069911c4b525ec38289fb5d9021b0]
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 NEWS | 2 ++
13 coregrind/m_debuginfo/image.c | 14 +++++++++
14 coregrind/m_debuginfo/priv_image.h | 4 +++
15 coregrind/m_debuginfo/readelf.c | 49 ++++++++++++++++++++++++++++--
16 4 files changed, 66 insertions(+), 3 deletions(-)
17
18diff --git a/NEWS b/NEWS
19index ee5b4ff11..6cd13429a 100644
20--- a/NEWS
21+++ b/NEWS
22@@ -5,6 +5,8 @@ Branch 3.22
23
24 The following bugs have been fixed or resolved on this branch.
25
26+476548 valgrind 3.22.0 fails on assertion when loading debuginfo
27+ file produced by mold
28 476708 valgrind-monitor.py regular expressions should use raw strings
29
30 To see details of a given bug, visit
31diff --git a/coregrind/m_debuginfo/image.c b/coregrind/m_debuginfo/image.c
32index 02e509071..445f95555 100644
33--- a/coregrind/m_debuginfo/image.c
34+++ b/coregrind/m_debuginfo/image.c
35@@ -1221,6 +1221,20 @@ Int ML_(img_strcmp_c)(DiImage* img, DiOffT off1, const HChar* str2)
36 }
37 }
38
39+Int ML_(img_strcmp_n)(DiImage* img, DiOffT off1, const HChar* str2, Word n)
40+{
41+ ensure_valid(img, off1, 1, "ML_(img_strcmp_c)");
42+ while (n) {
43+ UChar c1 = get(img, off1);
44+ UChar c2 = *(const UChar*)str2;
45+ if (c1 < c2) return -1;
46+ if (c1 > c2) return 1;
47+ if (c1 == 0) return 0;
48+ off1++; str2++; --n;
49+ }
50+ return 0;
51+}
52+
53 UChar ML_(img_get_UChar)(DiImage* img, DiOffT offset)
54 {
55 ensure_valid(img, offset, 1, "ML_(img_get_UChar)");
56diff --git a/coregrind/m_debuginfo/priv_image.h b/coregrind/m_debuginfo/priv_image.h
57index a49846f14..c91e49f01 100644
58--- a/coregrind/m_debuginfo/priv_image.h
59+++ b/coregrind/m_debuginfo/priv_image.h
60@@ -115,6 +115,10 @@ Int ML_(img_strcmp)(DiImage* img, DiOffT off1, DiOffT off2);
61 cast to HChar before comparison. */
62 Int ML_(img_strcmp_c)(DiImage* img, DiOffT off1, const HChar* str2);
63
64+/* Do strncmp of a C string in the image vs a normal one. Chars are
65+ cast to HChar before comparison. */
66+Int ML_(img_strcmp_n)(DiImage* img, DiOffT off1, const HChar* str2, Word n);
67+
68 /* Do strlen of a C string in the image. */
69 SizeT ML_(img_strlen)(DiImage* img, DiOffT off);
70
71diff --git a/coregrind/m_debuginfo/readelf.c b/coregrind/m_debuginfo/readelf.c
72index fb64ed976..46f8c8343 100644
73--- a/coregrind/m_debuginfo/readelf.c
74+++ b/coregrind/m_debuginfo/readelf.c
75@@ -2501,8 +2501,7 @@ Bool ML_(read_elf_object) ( struct _DebugInfo* di )
76 di->rodata_avma += inrw1->bias;
77 di->rodata_bias = inrw1->bias;
78 di->rodata_debug_bias = inrw1->bias;
79- }
80- else {
81+ } else {
82 BAD(".rodata"); /* should not happen? */
83 }
84 di->rodata_present = True;
85@@ -2977,6 +2976,46 @@ Bool ML_(read_elf_object) ( struct _DebugInfo* di )
86 return retval;
87 }
88
89+static void find_rodata(Word i, Word shnum, DiImage* dimg, struct _DebugInfo* di, DiOffT shdr_dioff,
90+ UWord shdr_dent_szB, DiOffT shdr_strtab_dioff, PtrdiffT rw_dbias)
91+{
92+ ElfXX_Shdr a_shdr;
93+ ElfXX_Shdr a_extra_shdr;
94+ ML_(img_get)(&a_shdr, dimg,
95+ INDEX_BIS(shdr_dioff, i, shdr_dent_szB),
96+ sizeof(a_shdr));
97+ if (di->rodata_present &&
98+ 0 == ML_(img_strcmp_c)(dimg, shdr_strtab_dioff
99+ + a_shdr.sh_name, ".rodata")) {
100+ Word sh_size = a_shdr.sh_size;
101+ Word j;
102+ Word next_addr = a_shdr.sh_addr + a_shdr.sh_size;
103+ for (j = i + 1; j < shnum; ++j) {
104+ ML_(img_get)(&a_extra_shdr, dimg,
105+ INDEX_BIS(shdr_dioff, j, shdr_dent_szB),
106+ sizeof(a_shdr));
107+ if (0 == ML_(img_strcmp_n)(dimg, shdr_strtab_dioff
108+ + a_extra_shdr.sh_name, ".rodata", 7)) {
109+ if (a_extra_shdr.sh_addr ==
110+ VG_ROUNDUP(next_addr, a_extra_shdr.sh_addralign)) {
111+ sh_size = VG_ROUNDUP(sh_size, a_extra_shdr.sh_addralign) + a_extra_shdr.sh_size;
112+ }
113+ next_addr = a_extra_shdr.sh_addr + a_extra_shdr.sh_size;
114+ } else {
115+ break;
116+ }
117+ }
118+ vg_assert(di->rodata_size == sh_size);
119+ vg_assert(di->rodata_avma + a_shdr.sh_addr + rw_dbias);
120+ di->rodata_debug_svma = a_shdr.sh_addr;
121+ di->rodata_debug_bias = di->rodata_bias +
122+ di->rodata_svma - di->rodata_debug_svma;
123+ TRACE_SYMTAB("acquiring .rodata debug svma = %#lx .. %#lx\n",
124+ di->rodata_debug_svma,
125+ di->rodata_debug_svma + di->rodata_size - 1);
126+ TRACE_SYMTAB("acquiring .rodata debug bias = %#lx\n", (UWord)di->rodata_debug_bias);
127+ }
128+}
129 Bool ML_(read_elf_debug) ( struct _DebugInfo* di )
130 {
131 Word i, j;
132@@ -3391,7 +3430,11 @@ Bool ML_(read_elf_debug) ( struct _DebugInfo* di )
133 FIND(text, rx)
134 FIND(data, rw)
135 FIND(sdata, rw)
136- FIND(rodata, rw)
137+ // https://bugs.kde.org/show_bug.cgi?id=476548
138+ // special handling for rodata as adjacent
139+ // rodata sections may have been merged in ML_(read_elf_object)
140+ //FIND(rodata, rw)
141+ find_rodata(i, ehdr_dimg.e_shnum, dimg, di, shdr_dioff, shdr_dent_szB, shdr_strtab_dioff, rw_dbias);
142 FIND(bss, rw)
143 FIND(sbss, rw)
144
145--
1462.44.0
147
diff --git a/meta/recipes-devtools/valgrind/valgrind/0003-Add-fchmodat2-syscall-on-linux.patch b/meta/recipes-devtools/valgrind/valgrind/0003-Add-fchmodat2-syscall-on-linux.patch
deleted file mode 100644
index 2a09ca52b7..0000000000
--- a/meta/recipes-devtools/valgrind/valgrind/0003-Add-fchmodat2-syscall-on-linux.patch
+++ /dev/null
@@ -1,221 +0,0 @@
1From a43e62dddcf51ec6578a90c5988a41e856b44b05 Mon Sep 17 00:00:00 2001
2From: Mark Wielaard <mark@klomp.org>
3Date: Sat, 18 Nov 2023 21:17:02 +0100
4Subject: [PATCH 3/4] Add fchmodat2 syscall on linux
5
6fchmodat2 is a new syscall on linux 6.6. It is a variant of fchmodat
7that takes an extra flags argument.
8
9https://bugs.kde.org/show_bug.cgi?id=477198
10
11(cherry picked from commit 372d09fd9a8d76847c81092ebff71c80fd6c145d)
12
13Upstream-Status: Backport [https://sourceware.org/git/?p=valgrind.git;a=commit;h=a43e62dddcf51ec6578a90c5988a41e856b44b05]
14Signed-off-by: Khem Raj <raj.khem@gmail.com>
15---
16 NEWS | 1 +
17 coregrind/m_syswrap/priv_syswrap-linux.h | 3 +++
18 coregrind/m_syswrap/syswrap-amd64-linux.c | 2 ++
19 coregrind/m_syswrap/syswrap-arm-linux.c | 2 ++
20 coregrind/m_syswrap/syswrap-arm64-linux.c | 2 ++
21 coregrind/m_syswrap/syswrap-linux.c | 11 +++++++++++
22 coregrind/m_syswrap/syswrap-mips32-linux.c | 2 ++
23 coregrind/m_syswrap/syswrap-mips64-linux.c | 1 +
24 coregrind/m_syswrap/syswrap-nanomips-linux.c | 1 +
25 coregrind/m_syswrap/syswrap-ppc32-linux.c | 2 ++
26 coregrind/m_syswrap/syswrap-ppc64-linux.c | 2 ++
27 coregrind/m_syswrap/syswrap-s390x-linux.c | 2 ++
28 coregrind/m_syswrap/syswrap-x86-linux.c | 2 ++
29 include/vki/vki-scnums-shared-linux.h | 2 ++
30 14 files changed, 35 insertions(+)
31
32diff --git a/NEWS b/NEWS
33index 6cd13429a..da0f8c1aa 100644
34--- a/NEWS
35+++ b/NEWS
36@@ -8,6 +8,7 @@ The following bugs have been fixed or resolved on this branch.
37 476548 valgrind 3.22.0 fails on assertion when loading debuginfo
38 file produced by mold
39 476708 valgrind-monitor.py regular expressions should use raw strings
40+477198 Add fchmodat2 syscall on linux
41
42 To see details of a given bug, visit
43 https://bugs.kde.org/show_bug.cgi?id=XXXXXX
44diff --git a/coregrind/m_syswrap/priv_syswrap-linux.h b/coregrind/m_syswrap/priv_syswrap-linux.h
45index 7c9decf5a..798c456c9 100644
46--- a/coregrind/m_syswrap/priv_syswrap-linux.h
47+++ b/coregrind/m_syswrap/priv_syswrap-linux.h
48@@ -331,6 +331,9 @@ DECL_TEMPLATE(linux, sys_openat2);
49 // Linux-specific (new in Linux 5.14)
50 DECL_TEMPLATE(linux, sys_memfd_secret);
51
52+// Since Linux 6.6
53+DECL_TEMPLATE(linux, sys_fchmodat2);
54+
55 /* ---------------------------------------------------------------------
56 Wrappers for sockets and ipc-ery. These are split into standalone
57 procedures because x86-linux hides them inside multiplexors
58diff --git a/coregrind/m_syswrap/syswrap-amd64-linux.c b/coregrind/m_syswrap/syswrap-amd64-linux.c
59index 008600798..fe17d118b 100644
60--- a/coregrind/m_syswrap/syswrap-amd64-linux.c
61+++ b/coregrind/m_syswrap/syswrap-amd64-linux.c
62@@ -886,6 +886,8 @@ static SyscallTableEntry syscall_table[] = {
63 LINXY(__NR_epoll_pwait2, sys_epoll_pwait2), // 441
64
65 LINXY(__NR_memfd_secret, sys_memfd_secret), // 447
66+
67+ LINX_(__NR_fchmodat2, sys_fchmodat2), // 452
68 };
69
70 SyscallTableEntry* ML_(get_linux_syscall_entry) ( UInt sysno )
71diff --git a/coregrind/m_syswrap/syswrap-arm-linux.c b/coregrind/m_syswrap/syswrap-arm-linux.c
72index 9a7a1e0d2..811931d3b 100644
73--- a/coregrind/m_syswrap/syswrap-arm-linux.c
74+++ b/coregrind/m_syswrap/syswrap-arm-linux.c
75@@ -1059,6 +1059,8 @@ static SyscallTableEntry syscall_main_table[] = {
76 LINX_(__NR_faccessat2, sys_faccessat2), // 439
77
78 LINXY(__NR_epoll_pwait2, sys_epoll_pwait2), // 441
79+
80+ LINX_(__NR_fchmodat2, sys_fchmodat2), // 452
81 };
82
83
84diff --git a/coregrind/m_syswrap/syswrap-arm64-linux.c b/coregrind/m_syswrap/syswrap-arm64-linux.c
85index 6af7bab83..3307bc2ca 100644
86--- a/coregrind/m_syswrap/syswrap-arm64-linux.c
87+++ b/coregrind/m_syswrap/syswrap-arm64-linux.c
88@@ -840,6 +840,8 @@ static SyscallTableEntry syscall_main_table[] = {
89 LINXY(__NR_epoll_pwait2, sys_epoll_pwait2), // 441
90
91 LINXY(__NR_memfd_secret, sys_memfd_secret), // 447
92+
93+ LINX_(__NR_fchmodat2, sys_fchmodat2), // 452
94 };
95
96
97diff --git a/coregrind/m_syswrap/syswrap-linux.c b/coregrind/m_syswrap/syswrap-linux.c
98index d571fc327..efa47f2e6 100644
99--- a/coregrind/m_syswrap/syswrap-linux.c
100+++ b/coregrind/m_syswrap/syswrap-linux.c
101@@ -6059,6 +6059,17 @@ PRE(sys_fchmodat)
102 PRE_MEM_RASCIIZ( "fchmodat(path)", ARG2 );
103 }
104
105+PRE(sys_fchmodat2)
106+{
107+ PRINT("sys_fchmodat2 ( %ld, %#" FMT_REGWORD "x(%s), %" FMT_REGWORD "u, %"
108+ FMT_REGWORD "u )",
109+ SARG1, ARG2, (HChar*)(Addr)ARG2, ARG3, ARG4);
110+ PRE_REG_READ4(long, "fchmodat2",
111+ int, dfd, const char *, path, vki_mode_t, mode,
112+ unsigned int, flags);
113+ PRE_MEM_RASCIIZ( "fchmodat2(pathname)", ARG2 );
114+}
115+
116 PRE(sys_faccessat)
117 {
118 PRINT("sys_faccessat ( %ld, %#" FMT_REGWORD "x(%s), %ld )",
119diff --git a/coregrind/m_syswrap/syswrap-mips32-linux.c b/coregrind/m_syswrap/syswrap-mips32-linux.c
120index 6268a00dd..74a1f6eac 100644
121--- a/coregrind/m_syswrap/syswrap-mips32-linux.c
122+++ b/coregrind/m_syswrap/syswrap-mips32-linux.c
123@@ -1143,6 +1143,8 @@ static SyscallTableEntry syscall_main_table[] = {
124 LINX_ (__NR_faccessat2, sys_faccessat2), // 439
125
126 LINXY(__NR_epoll_pwait2, sys_epoll_pwait2), // 441
127+
128+ LINX_(__NR_fchmodat2, sys_fchmodat2), // 452
129 };
130
131 SyscallTableEntry* ML_(get_linux_syscall_entry) (UInt sysno)
132diff --git a/coregrind/m_syswrap/syswrap-mips64-linux.c b/coregrind/m_syswrap/syswrap-mips64-linux.c
133index 6cdf25893..4e8508b7a 100644
134--- a/coregrind/m_syswrap/syswrap-mips64-linux.c
135+++ b/coregrind/m_syswrap/syswrap-mips64-linux.c
136@@ -820,6 +820,7 @@ static SyscallTableEntry syscall_main_table[] = {
137 LINXY (__NR_close_range, sys_close_range),
138 LINX_ (__NR_faccessat2, sys_faccessat2),
139 LINXY(__NR_epoll_pwait2, sys_epoll_pwait2),
140+ LINX_ (__NR_fchmodat2, sys_fchmodat2),
141 };
142
143 SyscallTableEntry * ML_(get_linux_syscall_entry) ( UInt sysno )
144diff --git a/coregrind/m_syswrap/syswrap-nanomips-linux.c b/coregrind/m_syswrap/syswrap-nanomips-linux.c
145index d724cde74..7859900c1 100644
146--- a/coregrind/m_syswrap/syswrap-nanomips-linux.c
147+++ b/coregrind/m_syswrap/syswrap-nanomips-linux.c
148@@ -829,6 +829,7 @@ static SyscallTableEntry syscall_main_table[] = {
149 LINXY (__NR_close_range, sys_close_range),
150 LINX_ (__NR_faccessat2, sys_faccessat2),
151 LINXY (__NR_epoll_pwait2, sys_epoll_pwait2),
152+ LINX_ (__NR_fchmodat2, sys_fchmodat2),
153 };
154
155 SyscallTableEntry* ML_(get_linux_syscall_entry) (UInt sysno)
156diff --git a/coregrind/m_syswrap/syswrap-ppc32-linux.c b/coregrind/m_syswrap/syswrap-ppc32-linux.c
157index c0cfef235..1e19116ee 100644
158--- a/coregrind/m_syswrap/syswrap-ppc32-linux.c
159+++ b/coregrind/m_syswrap/syswrap-ppc32-linux.c
160@@ -1063,6 +1063,8 @@ static SyscallTableEntry syscall_table[] = {
161 LINX_(__NR_faccessat2, sys_faccessat2), // 439
162
163 LINXY (__NR_epoll_pwait2, sys_epoll_pwait2), // 441
164+
165+ LINX_ (__NR_fchmodat2, sys_fchmodat2), // 452
166 };
167
168 SyscallTableEntry* ML_(get_linux_syscall_entry) ( UInt sysno )
169diff --git a/coregrind/m_syswrap/syswrap-ppc64-linux.c b/coregrind/m_syswrap/syswrap-ppc64-linux.c
170index f5976f30c..1097212a4 100644
171--- a/coregrind/m_syswrap/syswrap-ppc64-linux.c
172+++ b/coregrind/m_syswrap/syswrap-ppc64-linux.c
173@@ -1032,6 +1032,8 @@ static SyscallTableEntry syscall_table[] = {
174 LINX_(__NR_faccessat2, sys_faccessat2), // 439
175
176 LINXY (__NR_epoll_pwait2, sys_epoll_pwait2), // 441
177+
178+ LINX_ (__NR_fchmodat2, sys_fchmodat2), // 452
179 };
180
181 SyscallTableEntry* ML_(get_linux_syscall_entry) ( UInt sysno )
182diff --git a/coregrind/m_syswrap/syswrap-s390x-linux.c b/coregrind/m_syswrap/syswrap-s390x-linux.c
183index afba154e7..3588672c7 100644
184--- a/coregrind/m_syswrap/syswrap-s390x-linux.c
185+++ b/coregrind/m_syswrap/syswrap-s390x-linux.c
186@@ -873,6 +873,8 @@ static SyscallTableEntry syscall_table[] = {
187 LINX_(__NR_faccessat2, sys_faccessat2), // 439
188
189 LINXY(__NR_epoll_pwait2, sys_epoll_pwait2), // 441
190+
191+ LINX_ (__NR_fchmodat2, sys_fchmodat2), // 452
192 };
193
194 SyscallTableEntry* ML_(get_linux_syscall_entry) ( UInt sysno )
195diff --git a/coregrind/m_syswrap/syswrap-x86-linux.c b/coregrind/m_syswrap/syswrap-x86-linux.c
196index da4fd8fa2..58badc6b0 100644
197--- a/coregrind/m_syswrap/syswrap-x86-linux.c
198+++ b/coregrind/m_syswrap/syswrap-x86-linux.c
199@@ -1658,6 +1658,8 @@ static SyscallTableEntry syscall_table[] = {
200 LINXY(__NR_epoll_pwait2, sys_epoll_pwait2), // 441
201
202 LINXY(__NR_memfd_secret, sys_memfd_secret), // 447
203+
204+ LINX_(__NR_fchmodat2, sys_fchmodat2), // 452
205 };
206
207 SyscallTableEntry* ML_(get_linux_syscall_entry) ( UInt sysno )
208diff --git a/include/vki/vki-scnums-shared-linux.h b/include/vki/vki-scnums-shared-linux.h
209index 542382b53..a4cd87149 100644
210--- a/include/vki/vki-scnums-shared-linux.h
211+++ b/include/vki/vki-scnums-shared-linux.h
212@@ -50,4 +50,6 @@
213
214 #define __NR_memfd_secret 447
215
216+#define __NR_fchmodat2 452
217+
218 #endif
219--
2202.44.0
221
diff --git a/meta/recipes-devtools/valgrind/valgrind/0003-correct-include-directive-path-for-config.h.patch b/meta/recipes-devtools/valgrind/valgrind/0003-correct-include-directive-path-for-config.h.patch
index c2965c40df..3acb5a28f4 100644
--- a/meta/recipes-devtools/valgrind/valgrind/0003-correct-include-directive-path-for-config.h.patch
+++ b/meta/recipes-devtools/valgrind/valgrind/0003-correct-include-directive-path-for-config.h.patch
@@ -1,7 +1,7 @@
1From ecbdea7bd8b08205f1bc3f6b72d4b4a80f313fcb Mon Sep 17 00:00:00 2001 1From de4d7e478515b63f049b211266d9b946c15cc0b9 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 10 Jun 2017 01:03:17 -0700 3Date: Sat, 10 Jun 2017 01:03:17 -0700
4Subject: [PATCH 3/6] correct include directive path for config.h 4Subject: [PATCH] correct include directive path for config.h
5 5
6when building out of source tree, it can not find 6when building out of source tree, it can not find
7the generated config.h otherwise 7the generated config.h otherwise
@@ -15,7 +15,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
15 2 files changed, 2 insertions(+), 2 deletions(-) 15 2 files changed, 2 insertions(+), 2 deletions(-)
16 16
17diff --git a/memcheck/tests/linux/syscalls-2007.c b/memcheck/tests/linux/syscalls-2007.c 17diff --git a/memcheck/tests/linux/syscalls-2007.c b/memcheck/tests/linux/syscalls-2007.c
18index b61c6d5..cc3fd62 100644 18index b91df82..c15c3eb 100644
19--- a/memcheck/tests/linux/syscalls-2007.c 19--- a/memcheck/tests/linux/syscalls-2007.c
20+++ b/memcheck/tests/linux/syscalls-2007.c 20+++ b/memcheck/tests/linux/syscalls-2007.c
21@@ -10,7 +10,7 @@ 21@@ -10,7 +10,7 @@
@@ -40,6 +40,3 @@ index 1143722..21e758b 100644
40 #include <stdio.h> 40 #include <stdio.h>
41 #if defined(HAVE_SYS_KLOG_H) 41 #if defined(HAVE_SYS_KLOG_H)
42 #include <sys/klog.h> 42 #include <sys/klog.h>
43--
442.13.1
45
diff --git a/meta/recipes-devtools/valgrind/valgrind/0004-Bug-478624-Valgrind-incompatibility-with-binutils-2..patch b/meta/recipes-devtools/valgrind/valgrind/0004-Bug-478624-Valgrind-incompatibility-with-binutils-2..patch
deleted file mode 100644
index 4e9185508a..0000000000
--- a/meta/recipes-devtools/valgrind/valgrind/0004-Bug-478624-Valgrind-incompatibility-with-binutils-2..patch
+++ /dev/null
@@ -1,137 +0,0 @@
1From 41ff9aa49f6c54c66d0e6b37f265fd9cb0176057 Mon Sep 17 00:00:00 2001
2From: Paul Floyd <pjfloyd@wanadoo.fr>
3Date: Sun, 17 Dec 2023 14:18:51 +0100
4Subject: [PATCH 4/4] Bug 478624 - Valgrind incompatibility with binutils-2.42
5 on x86 with new nop patterns (unhandled instruction bytes: 0x2E 0x8D 0xB4
6 0x26)
7
8It was a bit of a struggle to get the testcase to build
9with both clang and gcc (oddly enough gcc was more difficult) so
10I just resorted to using .byte arrays.
11
12(cherry picked from commit d35005cef8ad8207542738812705ceabf137d7e0)
13
14Upstream-Status: Backport [https://sourceware.org/git/?p=valgrind.git;a=commit;h=41ff9aa49f6c54c66d0e6b37f265fd9cb0176057]
15Signed-off-by: Khem Raj <raj.khem@gmail.com>
16---
17 .gitignore | 1 +
18 NEWS | 2 ++
19 VEX/priv/guest_x86_toIR.c | 22 +++++++++++++-
20 none/tests/x86/Makefile.am | 2 ++
21 none/tests/x86/gnu_binutils_nop.c | 34 ++++++++++++++++++++++
22 none/tests/x86/gnu_binutils_nop.stderr.exp | 0
23 none/tests/x86/gnu_binutils_nop.vgtest | 2 ++
24 7 files changed, 62 insertions(+), 1 deletion(-)
25 create mode 100644 none/tests/x86/gnu_binutils_nop.c
26 create mode 100644 none/tests/x86/gnu_binutils_nop.stderr.exp
27 create mode 100644 none/tests/x86/gnu_binutils_nop.vgtest
28
29--- a/NEWS
30+++ b/NEWS
31@@ -9,6 +9,8 @@ The following bugs have been fixed or re
32 file produced by mold
33 476708 valgrind-monitor.py regular expressions should use raw strings
34 477198 Add fchmodat2 syscall on linux
35+478624 Valgrind incompatibility with binutils-2.42 on x86 with new nop patterns
36+ (unhandled instruction bytes: 0x2E 0x8D 0xB4 0x26)
37
38 To see details of a given bug, visit
39 https://bugs.kde.org/show_bug.cgi?id=XXXXXX
40--- a/VEX/priv/guest_x86_toIR.c
41+++ b/VEX/priv/guest_x86_toIR.c
42@@ -8198,7 +8198,7 @@ DisResult disInstr_X86_WRK (
43 delta += 5;
44 goto decode_success;
45 }
46- /* Don't barf on recent binutils padding,
47+ /* Don't barf on recent (2010) binutils padding,
48 all variants of which are: nopw %cs:0x0(%eax,%eax,1)
49 66 2e 0f 1f 84 00 00 00 00 00
50 66 66 2e 0f 1f 84 00 00 00 00 00
51@@ -8222,6 +8222,26 @@ DisResult disInstr_X86_WRK (
52 goto decode_success;
53 }
54 }
55+
56+ /* bug478624 GNU binutils uses a leal of esi into itself with
57+ a zero offset and CS prefix as an 8 byte no-op (Dec 2023).
58+ Since the CS prefix is hardly ever used we don't do much
59+ to decode it, just a few cases for conditional branches.
60+ So add handling here with other pseudo-no-ops.
61+ */
62+ if (code[0] == 0x2E && code[1] == 0x8D) {
63+ if (code[2] == 0x74 && code[3] == 0x26 && code[4] == 0x00) {
64+ DIP("leal %%cs:0(%%esi,%%eiz,1),%%esi\n");
65+ delta += 5;
66+ goto decode_success;
67+ }
68+ if (code[2] == 0xB4 && code[3] == 0x26 && code[4] == 0x00
69+ && code[5] == 0x00 && code[6] == 0x00 && code[7] == 0x00) {
70+ DIP("leal %%cs:0(%%esi,%%eiz,1),%%esi\n");
71+ delta += 8;
72+ goto decode_success;
73+ }
74+ }
75
76 // Intel CET requires the following opcodes to be treated as NOPs
77 // with any prefix and ModRM, SIB and disp combination:
78--- a/none/tests/x86/Makefile.am
79+++ b/none/tests/x86/Makefile.am
80@@ -52,6 +52,7 @@ EXTRA_DIST = \
81 fxtract.stdout.exp fxtract.stderr.exp fxtract.vgtest \
82 fxtract.stdout.exp-older-glibc \
83 getseg.stdout.exp getseg.stderr.exp getseg.vgtest \
84+ gnu_binutils_nop.stderr.exp gnu_binutils_nop.vgtest \
85 incdec_alt.stdout.exp incdec_alt.stderr.exp incdec_alt.vgtest \
86 int.stderr.exp int.stdout.exp int.disabled \
87 $(addsuffix .stderr.exp,$(INSN_TESTS)) \
88@@ -100,6 +101,7 @@ check_PROGRAMS = \
89 fpu_lazy_eflags \
90 fxtract \
91 getseg \
92+ gnu_binutils_nop \
93 incdec_alt \
94 $(INSN_TESTS) \
95 int \
96--- /dev/null
97+++ b/none/tests/x86/gnu_binutils_nop.c
98@@ -0,0 +1,34 @@
99+int main(void)
100+{
101+ // GNU binutils uses various opcodes as alternatives for nop
102+ // the idea is that it is faster to execute one large opcode
103+ // with no side-effects than multiple repetitions of the
104+ // single byte 'nop'. This gives more choice when code
105+ // needs to be padded.
106+
107+ // the following is based on
108+ // https://sourceware.org/cgit/binutils-gdb/tree/gas/config/tc-i386.c#n1256
109+
110+ // one byte
111+ __asm__ __volatile__("nop");
112+ // two bytes
113+ __asm__ __volatile__("xchg %ax,%ax");
114+ // three bytes
115+ //__asm__ __volatile__("leal 0(%esi),%esi");
116+ __asm__ __volatile__(".byte 0x8d,0x76,0x00");
117+ // four bytes
118+ //__asm__ __volatile__("leal 0(%esi,%eiz),%esi");
119+ __asm__ __volatile__(".byte 0x8d,0x74,0x26,0x00");
120+ // five bytes
121+ //__asm__ __volatile__("leal %cs:0(%esi,%eiz),%esi");
122+ __asm__ __volatile__(".byte 0x2e,0x8d,0x74,0x26,0x00");
123+ // six bytes
124+ //__asm__ __volatile__("leal 0L(%esi),%esi");
125+ __asm__ __volatile__(".byte 0x8d,0xb6,0x00,0x00,0x00,0x00");
126+ // seven bytes
127+ //__asm__ __volatile__("leal 0L(%esi,%eiz),%esi");
128+ __asm__ __volatile__(".byte 0x8d,0xb4,0x26,0x00,0x00,0x00,0x00");
129+ // eight bytes
130+ //__asm__ __volatile__("leal %cs:0L(%esi,%eiz),%esi");
131+ __asm__ __volatile__(".byte 0x2e,0x8d,0xb4,0x26,0x00,0x00,0x00,0x00");
132+}
133--- /dev/null
134+++ b/none/tests/x86/gnu_binutils_nop.vgtest
135@@ -0,0 +1,2 @@
136+prog: gnu_binutils_nop
137+vgopts: -q
diff --git a/meta/recipes-devtools/valgrind/valgrind/0005-Modify-vg_test-wrapper-to-support-PTEST-formats.patch b/meta/recipes-devtools/valgrind/valgrind/0005-Modify-vg_test-wrapper-to-support-PTEST-formats.patch
deleted file mode 100644
index fea3b00f62..0000000000
--- a/meta/recipes-devtools/valgrind/valgrind/0005-Modify-vg_test-wrapper-to-support-PTEST-formats.patch
+++ /dev/null
@@ -1,257 +0,0 @@
1From e244a72c6f8803550f37e81f72bbae039651013b Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Tue, 15 Dec 2015 15:50:44 +0200
4Subject: [PATCH] Modify vg_test wrapper to support PTEST formats
5
6Change the valgrind regression test script vg_regtest to
7support the yocto ptest stdout reporting format. The commit adds
8'--yocto-ptest' as an optional argument to vg_regtest, which alters
9the output to use the ptest infrastructure reporting format:
10 "[PASS|SKIP|FAIL]: testname"
11instead of valgrind's internal test reporting format. Without the added
12option, --yocto-ptest, the valgrind regression test output is unchanged.
13
14Enforce 30 seconds limit for the test.
15This resume execution of the remaining tests when valgrind hangs.
16
17Upstream-Status: Inappropriate [oe-core specific]
18
19Signed-off-by: Dave Lerner <dave.lerner@windriver.com>
20Signed-off-by: Tudor Florea <tudor.florea@enea.com>
21Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
22
23Increase time limit to 90 s.
24(double of the expected time of drd/tests/std_list on qemuarm64)
25
26Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
27---
28 tests/vg_regtest.in | 75 +++++++++++++++++++++++++++++++++------------
29 1 file changed, 55 insertions(+), 20 deletions(-)
30
31diff --git a/tests/vg_regtest.in b/tests/vg_regtest.in
32index ad18800..e4bd8cb 100755
33--- a/tests/vg_regtest.in
34+++ b/tests/vg_regtest.in
35@@ -47,6 +47,7 @@
36 # --loop-till-fail: loops on the test(s) till one fail, then exit
37 # This is useful to obtain detailed trace or --keep-unfiltered
38 # output of a non deterministic test failure
39+# --yocto-ptest: output in yocto ptest format
40 #
41 # The easiest way is to run all tests in valgrind/ with (assuming you installed
42 # in $PREFIX):
43@@ -139,7 +140,7 @@ my $usage="\n"
44 . "Usage:\n"
45 . " vg_regtest [--all, --valgrind, --valgrind-lib, --keep-unfiltered\n"
46 . " --outer-valgrind, --outer-tool, --outer-args\n"
47- . " --loop-till-fail]\n"
48+ . " --loop-till-fail, --yocto-ptest]\n"
49 . " Use EXTRA_REGTEST_OPTS to supply extra args for all tests\n"
50 . "\n";
51
52@@ -187,6 +188,7 @@ my $run_outer_args = "";
53 my $valgrind_lib = "$tests_dir/.in_place";
54 my $keepunfiltered = 0;
55 my $looptillfail = 0;
56+my $yoctoptest = 0;
57
58 # default filter is the one named "filter_stderr" in the test's directory
59 my $default_stderr_filter = "filter_stderr";
60@@ -245,6 +247,8 @@ sub process_command_line()
61 $keepunfiltered = 1;
62 } elsif ($arg =~ /^--loop-till-fail$/) {
63 $looptillfail = 1;
64+ } elsif ($arg =~ /^--yocto-ptest$/) {
65+ $yoctoptest = 1;
66 } else {
67 die $usage;
68 }
69@@ -376,13 +380,28 @@ sub read_vgtest_file($)
70 #----------------------------------------------------------------------------
71 # Since most of the program time is spent in system() calls, need this to
72 # propagate a Ctrl-C enabling us to quit.
73-sub mysystem($)
74+# Enforce 90 seconds limit for the test.
75+# This resume execution of the remaining tests if valgrind hangs.
76+sub mysystem($)
77 {
78- my $exit_code = system($_[0]);
79- ($exit_code == 2) and exit 1; # 2 is SIGINT
80- return $exit_code;
81+ my $exit_code=0;
82+ eval {
83+ local $SIG{'ALRM'} = sub { die "timed out\n" };
84+ alarm(90);
85+ $exit_code = system($_[0]);
86+ alarm (0);
87+ ($exit_code == 2) and die "SIGINT\n"; # 2 is SIGINT
88+ };
89+ if ($@) {
90+ if ($@ eq "timed out\n") {
91+ print "timed out\n";
92+ return 1;
93+ }
94+ if ($@ eq "SIGINT\n") {
95+ exit 1;
96+ }
97+ }
98 }
99-
100 # if $keepunfiltered, copies $1 to $1.unfiltered.out
101 # renames $0 tp $1
102 sub filtered_rename($$)
103@@ -430,23 +449,25 @@ sub do_diffs($$$$)
104 # A match; remove .out and any previously created .diff files.
105 unlink("$name.$mid.out");
106 unlink(<$name.$mid.diff*>);
107- return;
108+ return 0;
109 }
110 }
111 }
112 # If we reach here, none of the .exp files matched.
113- print "*** $name failed ($mid) ***\n";
114+ print "*** $name failed ($mid) ***\n" if ($yoctoptest == 0) ;
115 push(@failures, sprintf("%-40s ($mid)", "$fullname"));
116 $num_failures{$mid}++;
117 if ($looptillfail == 1) {
118 print "Failure encountered, stopping to loop\n";
119 exit 1
120 }
121+ return 1;
122 }
123
124 sub do_one_test($$)
125 {
126 my ($dir, $vgtest) = @_;
127+ my $diffStatus = 0;
128 $vgtest =~ /^(.*)\.vgtest/;
129 my $name = $1;
130 my $fullname = "$dir/$name";
131@@ -465,7 +486,11 @@ sub do_one_test($$)
132 } elsif (256 == $prereq_res) {
133 # Nb: weird Perl-ism -- exit code of '1' is seen by Perl as 256...
134 # Prereq failed, skip.
135- printf("%-16s (skipping, prereq failed: $prereq)\n", "$name:");
136+ if ($yoctoptest == 0) {
137+ printf("%-16s (skipping, prereq failed: $prereq)\n", "$name:");
138+ } else {
139+ printf("SKIP: $fullname\n");
140+ }
141 return;
142 } else {
143 # Bad prereq; abort.
144@@ -483,7 +508,7 @@ sub do_one_test($$)
145 }
146 # If there is a progB, let's start it in background:
147 printf("%-16s valgrind $extraopts $vgopts $prog $args (progB: $progB $argsB)\n",
148- "$name:");
149+ "$name:") if ($yoctoptest == 0);
150 # progB.done used to detect child has finished. See below.
151 # Note: redirection of stdout and stderr is before $progB to allow argsB
152 # to e.g. redirect stdoutB to stderrB
153@@ -499,7 +524,8 @@ sub do_one_test($$)
154 . "touch progB.done) &");
155 }
156 } else {
157- printf("%-16s valgrind $extraopts $vgopts $prog $args\n", "$name:");
158+ printf("%-16s valgrind $extraopts $vgopts $prog $args\n", "$name:")
159+ if ($yoctoptest == 0);
160 }
161
162 # Collect environment variables, if any.
163@@ -540,7 +566,7 @@ sub do_one_test($$)
164 # Find all the .stdout.exp files. If none, use /dev/null.
165 my @stdout_exps = <$name.stdout.exp*>;
166 @stdout_exps = ( "/dev/null" ) if (0 == scalar @stdout_exps);
167- do_diffs($fullname, $name, "stdout", \@stdout_exps);
168+ $diffStatus |= do_diffs($fullname, $name, "stdout", \@stdout_exps);
169
170 # Filter stderr
171 $stderr_filter_args = $name if (! defined $stderr_filter_args);
172@@ -549,7 +575,7 @@ sub do_one_test($$)
173 # Find all the .stderr.exp files. At least one must exist.
174 my @stderr_exps = <$name.stderr.exp*>;
175 (0 != scalar @stderr_exps) or die "Could not find `$name.stderr.exp*'\n";
176- do_diffs($fullname, $name, "stderr", \@stderr_exps);
177+ $diffStatus |= do_diffs($fullname, $name, "stderr", \@stderr_exps);
178
179 if (defined $progB) {
180 # wait for the child to be finished
181@@ -573,7 +599,7 @@ sub do_one_test($$)
182 # Find all the .stdoutB.exp files. If none, use /dev/null.
183 my @stdoutB_exps = <$name.stdoutB.exp*>;
184 @stdoutB_exps = ( "/dev/null" ) if (0 == scalar @stdoutB_exps);
185- do_diffs($fullname, $name, "stdoutB", \@stdoutB_exps);
186+ $diffStatus |= do_diffs($fullname, $name, "stdoutB", \@stdoutB_exps);
187
188 # Filter stderr
189 $stderrB_filter_args = $name if (! defined $stderrB_filter_args);
190@@ -582,7 +608,7 @@ sub do_one_test($$)
191 # Find all the .stderrB.exp files. At least one must exist.
192 my @stderrB_exps = <$name.stderrB.exp*>;
193 (0 != scalar @stderrB_exps) or die "Could not find `$name.stderrB.exp*'\n";
194- do_diffs($fullname, $name, "stderrB", \@stderrB_exps);
195+ $diffStatus |= do_diffs($fullname, $name, "stderrB", \@stderrB_exps);
196 }
197
198 # Maybe do post-test check
199@@ -594,7 +620,7 @@ sub do_one_test($$)
200 # Find all the .post.exp files. If none, use /dev/null.
201 my @post_exps = <$name.post.exp*>;
202 @post_exps = ( "/dev/null" ) if (0 == scalar @post_exps);
203- do_diffs($fullname, $name, "post", \@post_exps);
204+ $diffStatus |= do_diffs($fullname, $name, "post", \@post_exps);
205 }
206 }
207
208@@ -603,6 +629,13 @@ sub do_one_test($$)
209 print("(cleanup operation failed: $cleanup)\n");
210 }
211
212+ if ($yoctoptest == 1) {
213+ if ($diffStatus == 0) {
214+ print("PASS: $fullname\n");
215+ } else {
216+ print("FAIL: $fullname\n");
217+ }
218+ }
219 $num_tests_done++;
220 }
221
222@@ -643,7 +676,7 @@ sub test_one_dir($$)
223
224 my $tests_start_time = time;
225 if ($found_tests) {
226- print "-- Running tests in $full_dir $dashes\n";
227+ print "-- Running tests in $full_dir $dashes\n" if ($yoctoptest == 0);
228 }
229 foreach my $f (@fs) {
230 if (-d $f) {
231@@ -657,7 +690,7 @@ sub test_one_dir($$)
232 my $end_time = "(in $tests_cost_time sec)";
233 my $end_dashes = "-" x (50 - (length $full_dir)
234 - (length $end_time) - 1);
235- print "-- Finished tests in $full_dir $end_time $end_dashes\n";
236+ print "-- Finished tests in $full_dir $dashes\n" if ($yoctoptest == 0);
237 }
238
239 chdir("..");
240@@ -683,10 +716,12 @@ sub summarise_results
241 $num_failures{"stdout"}, plural($num_failures{"stdout"}),
242 $num_failures{"stderrB"}, plural($num_failures{"stderrB"}),
243 $num_failures{"stdoutB"}, plural($num_failures{"stdoutB"}),
244- $num_failures{"post"}, plural($num_failures{"post"}));
245+ $num_failures{"post"}, plural($num_failures{"post"}))
246+ if ($yoctoptest == 0);
247
248 foreach my $failure (@failures) {
249- print "$failure\n";
250+ print "$failure\n"
251+ if ($yoctoptest == 0);
252 }
253 print "\n";
254 }
255--
2562.30.2
257
diff --git a/meta/recipes-devtools/valgrind/valgrind/Added-support-for-PPC-instructions-mfatbu-mfatbl.patch b/meta/recipes-devtools/valgrind/valgrind/Added-support-for-PPC-instructions-mfatbu-mfatbl.patch
index 51cd3532d3..109caf76ab 100644
--- a/meta/recipes-devtools/valgrind/valgrind/Added-support-for-PPC-instructions-mfatbu-mfatbl.patch
+++ b/meta/recipes-devtools/valgrind/valgrind/Added-support-for-PPC-instructions-mfatbu-mfatbl.patch
@@ -1,4 +1,4 @@
1From 0bf4b0ac18d1ea41b32ad781d214b295ca1998f3 Mon Sep 17 00:00:00 2001 1From 85bff993087cd7367ffc35de525c2bf6162398d2 Mon Sep 17 00:00:00 2001
2From: Aneesh Bansal <aneesh.bansal@freescale.com> 2From: Aneesh Bansal <aneesh.bansal@freescale.com>
3Date: Mon, 21 Nov 2011 17:31:39 +0530 3Date: Mon, 21 Nov 2011 17:31:39 +0530
4Subject: [PATCH] Added support for PPC instructions mfatbu, mfatbl. 4Subject: [PATCH] Added support for PPC instructions mfatbu, mfatbl.
@@ -11,17 +11,16 @@ Upstream-Status: Submitted [https://bugs.kde.org/show_bug.cgi?id=289836]
11 11
12Signed-off-by: Aneesh Bansal <aneesh.bansal@freescale.com> 12Signed-off-by: Aneesh Bansal <aneesh.bansal@freescale.com>
13--- 13---
14 14 VEX/priv/guest_ppc_defs.h | 2 ++
15 VEX/priv/guest_ppc_defs.h | 2 ++ 15 VEX/priv/guest_ppc_helpers.c | 18 ++++++++++++++++++
16 VEX/priv/guest_ppc_helpers.c | 18 ++++++++++++++++++ 16 VEX/priv/guest_ppc_toIR.c | 22 ++++++++++++++++++++++
17 VEX/priv/guest_ppc_toIR.c | 22 ++++++++++++++++++++++ 17 3 files changed, 42 insertions(+)
18 3 files changed, 42 insertions(+), 0 deletions(-)
19 18
20diff --git a/VEX/priv/guest_ppc_defs.h b/VEX/priv/guest_ppc_defs.h 19diff --git a/VEX/priv/guest_ppc_defs.h b/VEX/priv/guest_ppc_defs.h
21index dd3c62e..11a34aa 100644 20index 220fbf1..cd259f3 100644
22--- a/VEX/priv/guest_ppc_defs.h 21--- a/VEX/priv/guest_ppc_defs.h
23+++ b/VEX/priv/guest_ppc_defs.h 22+++ b/VEX/priv/guest_ppc_defs.h
24@@ -146,6 +146,8 @@ extern UInt ppc32g_dirtyhelper_MFSPR_268_269 ( UInt ); 23@@ -233,6 +233,8 @@ extern UInt ppc32g_dirtyhelper_MFSPR_268_269 ( UInt );
25 24
26 extern UInt ppc32g_dirtyhelper_MFSPR_287 ( void ); 25 extern UInt ppc32g_dirtyhelper_MFSPR_287 ( void );
27 26
@@ -31,10 +30,10 @@ index dd3c62e..11a34aa 100644
31 UInt vD_idx, UInt sh, 30 UInt vD_idx, UInt sh,
32 UInt shift_right ); 31 UInt shift_right );
33diff --git a/VEX/priv/guest_ppc_helpers.c b/VEX/priv/guest_ppc_helpers.c 32diff --git a/VEX/priv/guest_ppc_helpers.c b/VEX/priv/guest_ppc_helpers.c
34index 11aa428..b49ea3f 100644 33index 2611e52..72c349b 100644
35--- a/VEX/priv/guest_ppc_helpers.c 34--- a/VEX/priv/guest_ppc_helpers.c
36+++ b/VEX/priv/guest_ppc_helpers.c 35+++ b/VEX/priv/guest_ppc_helpers.c
37@@ -119,6 +119,24 @@ UInt ppc32g_dirtyhelper_MFSPR_287 ( void ) 36@@ -118,6 +118,24 @@ UInt ppc32g_dirtyhelper_MFSPR_287 ( void )
38 # endif 37 # endif
39 } 38 }
40 39
@@ -60,10 +59,10 @@ index 11aa428..b49ea3f 100644
60 /* CALLED FROM GENERATED CODE */ 59 /* CALLED FROM GENERATED CODE */
61 /* DIRTY HELPER (reads guest state, writes guest mem) */ 60 /* DIRTY HELPER (reads guest state, writes guest mem) */
62diff --git a/VEX/priv/guest_ppc_toIR.c b/VEX/priv/guest_ppc_toIR.c 61diff --git a/VEX/priv/guest_ppc_toIR.c b/VEX/priv/guest_ppc_toIR.c
63index f8d220d..37c8974 100644 62index 18716dd..b2e72a0 100644
64--- a/VEX/priv/guest_ppc_toIR.c 63--- a/VEX/priv/guest_ppc_toIR.c
65+++ b/VEX/priv/guest_ppc_toIR.c 64+++ b/VEX/priv/guest_ppc_toIR.c
66@@ -5657,6 +5657,28 @@ static Bool dis_proc_ctl ( VexAbiInfo* vbi, UInt theInstr ) 65@@ -11875,6 +11875,28 @@ static Bool dis_proc_ctl ( const VexAbiInfo* vbi, UInt prefix, UInt theInstr )
67 break; 66 break;
68 } 67 }
69 68
@@ -92,5 +91,3 @@ index f8d220d..37c8974 100644
92 default: 91 default:
93 vex_printf("dis_proc_ctl(ppc)(mfspr,SPR)(0x%x)\n", SPR); 92 vex_printf("dis_proc_ctl(ppc)(mfspr,SPR)(0x%x)\n", SPR);
94 return False; 93 return False;
95--
961.7.0.4
diff --git a/meta/recipes-devtools/valgrind/valgrind/avoid-neon-for-targets-which-don-t-support-it.patch b/meta/recipes-devtools/valgrind/valgrind/avoid-neon-for-targets-which-don-t-support-it.patch
index 82b8344279..1597b3a021 100644
--- a/meta/recipes-devtools/valgrind/valgrind/avoid-neon-for-targets-which-don-t-support-it.patch
+++ b/meta/recipes-devtools/valgrind/valgrind/avoid-neon-for-targets-which-don-t-support-it.patch
@@ -1,4 +1,4 @@
1From 8facc29c3c56e6cf9cfef70986cf73876044a3fb Mon Sep 17 00:00:00 2001 1From 596372bc9b4d31bc9811881cfa747d99a8c25141 Mon Sep 17 00:00:00 2001
2From: Andre McCurdy <armccurdy@gmail.com> 2From: Andre McCurdy <armccurdy@gmail.com>
3Date: Tue, 19 Jan 2016 16:42:36 -0800 3Date: Tue, 19 Jan 2016 16:42:36 -0800
4Subject: [PATCH] avoid neon for targets which don't support it 4Subject: [PATCH] avoid neon for targets which don't support it
@@ -16,7 +16,7 @@ Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
16 1 file changed, 1 insertion(+), 1 deletion(-) 16 1 file changed, 1 insertion(+), 1 deletion(-)
17 17
18diff --git a/memcheck/tests/sh-mem-random.c b/memcheck/tests/sh-mem-random.c 18diff --git a/memcheck/tests/sh-mem-random.c b/memcheck/tests/sh-mem-random.c
19index ae82248..816e139 100644 19index 0e01684..e41957e 100644
20--- a/memcheck/tests/sh-mem-random.c 20--- a/memcheck/tests/sh-mem-random.c
21+++ b/memcheck/tests/sh-mem-random.c 21+++ b/memcheck/tests/sh-mem-random.c
22@@ -191,7 +191,7 @@ void do_test_at ( U1* arr ) 22@@ -191,7 +191,7 @@ void do_test_at ( U1* arr )
@@ -28,6 +28,3 @@ index ae82248..816e139 100644
28 /* On arm32, many compilers generate a 64-bit float move 28 /* On arm32, many compilers generate a 64-bit float move
29 using two 32 bit integer registers, which completely 29 using two 32 bit integer registers, which completely
30 defeats this test. Hence force a 64-bit NEON load and 30 defeats this test. Hence force a 64-bit NEON load and
31--
321.9.1
33
diff --git a/meta/recipes-devtools/valgrind/valgrind/fixed-perl-path.patch b/meta/recipes-devtools/valgrind/valgrind/fixed-perl-path.patch
index b9804e7451..6bfc6035ed 100644
--- a/meta/recipes-devtools/valgrind/valgrind/fixed-perl-path.patch
+++ b/meta/recipes-devtools/valgrind/valgrind/fixed-perl-path.patch
@@ -1,4 +1,4 @@
1From beaa5b64c60d501fa9cd59fdc563e5f5bccf6882 Mon Sep 17 00:00:00 2001 1From 408f9b39ca4f5709b668f13829a94c4cae855006 Mon Sep 17 00:00:00 2001
2From: Qing He <qing.he@intel.com> 2From: Qing He <qing.he@intel.com>
3Date: Tue, 31 Aug 2010 22:51:58 +0800 3Date: Tue, 31 Aug 2010 22:51:58 +0800
4Subject: [PATCH] valgrind: fix perl scripts 4Subject: [PATCH] valgrind: fix perl scripts
@@ -17,7 +17,6 @@ a better fix would need:
17Upstream-Status: Inappropriate [configuration] 17Upstream-Status: Inappropriate [configuration]
18 18
19Signed-off-by: Maxin B. John <maxin.john@intel.com> 19Signed-off-by: Maxin B. John <maxin.john@intel.com>
20
21--- 20---
22 massif/ms_print.in | 2 +- 21 massif/ms_print.in | 2 +-
23 perf/vg_perf.in | 2 +- 22 perf/vg_perf.in | 2 +-
@@ -45,7 +44,7 @@ index 90ee1d2..c585096 100644
45 ##--- Valgrind performance testing script vg_perf ---## 44 ##--- Valgrind performance testing script vg_perf ---##
46 ##--------------------------------------------------------------------## 45 ##--------------------------------------------------------------------##
47diff --git a/tests/vg_regtest.in b/tests/vg_regtest.in 46diff --git a/tests/vg_regtest.in b/tests/vg_regtest.in
48index 7152765..ad18800 100755 47index 3471322..49e1114 100755
49--- a/tests/vg_regtest.in 48--- a/tests/vg_regtest.in
50+++ b/tests/vg_regtest.in 49+++ b/tests/vg_regtest.in
51@@ -1,4 +1,4 @@ 50@@ -1,4 +1,4 @@
diff --git a/meta/recipes-devtools/valgrind/valgrind/remove-for-aarch64 b/meta/recipes-devtools/valgrind/valgrind/remove-for-aarch64
deleted file mode 100644
index 5bfba1c8d3..0000000000
--- a/meta/recipes-devtools/valgrind/valgrind/remove-for-aarch64
+++ /dev/null
@@ -1,32 +0,0 @@
1drd/tests/annotate_sem
2gdbserver_tests/hgtls
3helgrind/tests/hg05_race2
4helgrind/tests/tc20_verifywrap
5memcheck/tests/dw4
6memcheck/tests/varinfo1
7memcheck/tests/varinfo2
8memcheck/tests/varinfo3
9memcheck/tests/varinfo4
10memcheck/tests/varinfo5
11memcheck/tests/varinfo6
12memcheck/tests/varinforestrict
13memcheck/tests/atomic_incs
14memcheck/tests/bug464969_d_demangle
15memcheck/tests/cxx17_aligned_new
16memcheck/tests/demangle
17memcheck/tests/long_namespace_xml
18memcheck/tests/mismatches
19memcheck/tests/mismatches_xml
20memcheck/tests/new_aligned_delete_default
21memcheck/tests/new_delete_mismatch_size
22memcheck/tests/new_nothrow
23memcheck/tests/realloc_size_zero_mismatch
24memcheck/tests/sized_aligned_new_delete_args
25memcheck/tests/sized_aligned_new_delete_misaligned1
26memcheck/tests/sized_aligned_new_delete_misaligned1_xml
27memcheck/tests/sized_aligned_new_delete_misaligned2
28memcheck/tests/sized_aligned_new_delete_misaligned2_xml
29memcheck/tests/sized_aligned_new_delete_misaligned3
30memcheck/tests/sized_aligned_new_delete_misaligned3_xml
31memcheck/tests/sized_delete
32none/tests/bigcode
diff --git a/meta/recipes-devtools/valgrind/valgrind/remove-for-all b/meta/recipes-devtools/valgrind/valgrind/remove-for-all
deleted file mode 100644
index 8435a6d41d..0000000000
--- a/meta/recipes-devtools/valgrind/valgrind/remove-for-all
+++ /dev/null
@@ -1,29 +0,0 @@
1cachegrind/tests/wrap5
2drd/tests/boost_thread
3none/tests/amd64/fb_test_amd64
4none/tests/tls
5gdbserver_tests/hginfo
6gdbserver_tests/mcinvokeRU
7memcheck/tests/linux/dlclose_leak-no-keep
8memcheck/tests/linux/dlclose_leak
9memcheck/tests/linux/timerfd-syscall
10memcheck/tests/supp_unknown
11memcheck/tests/wrap1
12memcheck/tests/wrap2
13memcheck/tests/wrap3
14memcheck/tests/wrap4
15memcheck/tests/wrap5
16memcheck/tests/wrap6
17memcheck/tests/wrap7
18memcheck/tests/wrap8
19helgrind/tests/tls_threads
20helgrind/tests/pth_mempcpy_false_races
21drd/tests/bar_bad
22drd/tests/bar_bad_xml
23drd/tests/pth_barrier_thr_cr
24drd/tests/std_thread2
25drd/tests/thread_name_xml
26massif/tests/deep-D
27massif/tests/bug469146
28massif/tests/new-cpp
29massif/tests/overloaded-new
diff --git a/meta/recipes-devtools/valgrind/valgrind/s390x_vec_op_t.patch b/meta/recipes-devtools/valgrind/valgrind/s390x_vec_op_t.patch
index bde1241dc7..19690e5ebb 100644
--- a/meta/recipes-devtools/valgrind/valgrind/s390x_vec_op_t.patch
+++ b/meta/recipes-devtools/valgrind/valgrind/s390x_vec_op_t.patch
@@ -1,7 +1,7 @@
1From 8154d38bac5cdb3675cfdaf562ab9da01988b263 Mon Sep 17 00:00:00 2001 1From 8c92089741d809cfd18354f1b4df18cd28398a20 Mon Sep 17 00:00:00 2001
2From: Yi Fan Yu <yifan.yu@windriver.com> 2From: Yi Fan Yu <yifan.yu@windriver.com>
3Date: Wed, 17 Mar 2021 12:16:31 -0400 3Date: Wed, 17 Mar 2021 12:16:31 -0400
4Subject: [PATCH 19/20] remove s390x_vec_op_t 4Subject: [PATCH] remove s390x_vec_op_t
5 5
6s390x_vec_op_t is not needed anywhere, only elements of enum are accessed 6s390x_vec_op_t is not needed anywhere, only elements of enum are accessed
7removing it ensures that valgrind can be built with -fno-common option 7removing it ensures that valgrind can be built with -fno-common option
@@ -18,18 +18,15 @@ Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
18 1 file changed, 1 insertion(+), 1 deletion(-) 18 1 file changed, 1 insertion(+), 1 deletion(-)
19 19
20diff --git a/VEX/priv/guest_s390_defs.h b/VEX/priv/guest_s390_defs.h 20diff --git a/VEX/priv/guest_s390_defs.h b/VEX/priv/guest_s390_defs.h
21index 9054290..dab8002 100644 21index 29efa01..3a8f0a0 100644
22--- a/VEX/priv/guest_s390_defs.h 22--- a/VEX/priv/guest_s390_defs.h
23+++ b/VEX/priv/guest_s390_defs.h 23+++ b/VEX/priv/guest_s390_defs.h
24@@ -284,7 +284,7 @@ typedef enum { 24@@ -285,7 +285,7 @@ typedef enum {
25 S390_VEC_OP_VBPERM, 25 S390_VEC_OP_VCLFNL,
26 S390_VEC_OP_VMSL, 26 S390_VEC_OP_VCRNF,
27 S390_VEC_OP_LAST // supposed to be the last element in enum 27 S390_VEC_OP_LAST // supposed to be the last element in enum
28-} s390x_vec_op_t; 28-} s390x_vec_op_t;
29+}; 29+};
30 30
31 /* Arguments of s390x_dirtyhelper_vec_op(...) which are packed into one 31 /* Arguments of s390x_dirtyhelper_vec_op(...) which are packed into one
32 ULong variable. 32 ULong variable.
33--
342.29.2
35
diff --git a/meta/recipes-devtools/valgrind/valgrind/use-appropriate-march-mcpu-mfpu-for-ARM-test-apps.patch b/meta/recipes-devtools/valgrind/valgrind/use-appropriate-march-mcpu-mfpu-for-ARM-test-apps.patch
index f15d04b173..0c18a63c2b 100644
--- a/meta/recipes-devtools/valgrind/valgrind/use-appropriate-march-mcpu-mfpu-for-ARM-test-apps.patch
+++ b/meta/recipes-devtools/valgrind/valgrind/use-appropriate-march-mcpu-mfpu-for-ARM-test-apps.patch
@@ -1,4 +1,4 @@
1From d134dafc2f11e0d247420a0ba360bcdef77b4093 Mon Sep 17 00:00:00 2001 1From a5cd00f1c2d78e2a15f4a0c595f5ac10ca4c3290 Mon Sep 17 00:00:00 2001
2From: Andre McCurdy <armccurdy@gmail.com> 2From: Andre McCurdy <armccurdy@gmail.com>
3Date: Tue, 19 Jan 2016 16:00:00 -0800 3Date: Tue, 19 Jan 2016 16:00:00 -0800
4Subject: [PATCH] use appropriate -march/-mcpu/-mfpu for ARM test apps 4Subject: [PATCH] use appropriate -march/-mcpu/-mfpu for ARM test apps
@@ -23,10 +23,10 @@ Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
23 1 file changed, 4 insertions(+), 2 deletions(-) 23 1 file changed, 4 insertions(+), 2 deletions(-)
24 24
25diff --git a/none/tests/arm/Makefile.am b/none/tests/arm/Makefile.am 25diff --git a/none/tests/arm/Makefile.am b/none/tests/arm/Makefile.am
26index 4507a20..825290f 100644 26index 79b957c..41a5a03 100644
27--- a/none/tests/arm/Makefile.am 27--- a/none/tests/arm/Makefile.am
28+++ b/none/tests/arm/Makefile.am 28+++ b/none/tests/arm/Makefile.am
29@@ -62,8 +62,10 @@ neon64_CFLAGS = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a8 \ 29@@ -87,8 +87,10 @@ neon64_CFLAGS = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a8 \
30 -mfpu=neon \ 30 -mfpu=neon \
31 -mthumb 31 -mthumb
32 32
@@ -39,6 +39,3 @@ index 4507a20..825290f 100644
39+vcvt_fixed_float_VFP_CFLAGS = $(AM_CFLAGS) -g -mcpu=cortex-a8 -mfpu=vfpv3 39+vcvt_fixed_float_VFP_CFLAGS = $(AM_CFLAGS) -g -mcpu=cortex-a8 -mfpu=vfpv3
40+ 40+
41+vfpv4_fma_CFLAGS = $(AM_CFLAGS) -g -O0 -march=armv7ve -mcpu=cortex-a15 -mfpu=vfpv4 -marm 41+vfpv4_fma_CFLAGS = $(AM_CFLAGS) -g -O0 -march=armv7ve -mcpu=cortex-a15 -mfpu=vfpv4 -marm
42--
431.9.1
44
diff --git a/meta/recipes-devtools/valgrind/valgrind/valgrind-make-ld-XXX.so-strlen-intercept-optional.patch b/meta/recipes-devtools/valgrind/valgrind/valgrind-make-ld-XXX.so-strlen-intercept-optional.patch
index d04297dca8..ca7f721d9c 100644
--- a/meta/recipes-devtools/valgrind/valgrind/valgrind-make-ld-XXX.so-strlen-intercept-optional.patch
+++ b/meta/recipes-devtools/valgrind/valgrind/valgrind-make-ld-XXX.so-strlen-intercept-optional.patch
@@ -1,4 +1,4 @@
1From 005bd11809a1ce65e9f2c28e884354a4741650b9 Mon Sep 17 00:00:00 2001 1From b407514aa1a4fd3667b30527260e271da34ce4a7 Mon Sep 17 00:00:00 2001
2From: Andre McCurdy <armccurdy@gmail.com> 2From: Andre McCurdy <armccurdy@gmail.com>
3Date: Tue, 13 Dec 2016 11:29:55 +0800 3Date: Tue, 13 Dec 2016 11:29:55 +0800
4Subject: [PATCH] make ld-XXX.so strlen intercept optional 4Subject: [PATCH] make ld-XXX.so strlen intercept optional
@@ -17,10 +17,10 @@ Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
17 1 file changed, 12 insertions(+), 1 deletion(-) 17 1 file changed, 12 insertions(+), 1 deletion(-)
18 18
19diff --git a/coregrind/m_redir.c b/coregrind/m_redir.c 19diff --git a/coregrind/m_redir.c b/coregrind/m_redir.c
20index ff35009..d7d6816 100644 20index 63172b9..1b5bf95 100644
21--- a/coregrind/m_redir.c 21--- a/coregrind/m_redir.c
22+++ b/coregrind/m_redir.c 22+++ b/coregrind/m_redir.c
23@@ -1275,7 +1275,18 @@ static void add_hardwired_spec (const HChar* sopatt, const HChar* fnpatt, 23@@ -1321,7 +1321,18 @@ static void add_hardwired_spec (const HChar* sopatt, const HChar* fnpatt,
24 spec->to_addr = to_addr; 24 spec->to_addr = to_addr;
25 spec->isWrap = False; 25 spec->isWrap = False;
26 spec->isGlobal = False; 26 spec->isGlobal = False;
@@ -40,6 +40,3 @@ index ff35009..d7d6816 100644
40 /* VARIABLE PARTS */ 40 /* VARIABLE PARTS */
41 spec->mark = False; /* not significant */ 41 spec->mark = False; /* not significant */
42 spec->done = False; /* not significant */ 42 spec->done = False; /* not significant */
43--
441.9.1
45
diff --git a/meta/recipes-devtools/valgrind/valgrind_3.22.0.bb b/meta/recipes-devtools/valgrind/valgrind_3.22.0.bb
deleted file mode 100644
index 563d99f0e2..0000000000
--- a/meta/recipes-devtools/valgrind/valgrind_3.22.0.bb
+++ /dev/null
@@ -1,276 +0,0 @@
1SUMMARY = "Valgrind memory debugger and instrumentation framework"
2HOMEPAGE = "http://valgrind.org/"
3DESCRIPTION = "Valgrind is an instrumentation framework for building dynamic analysis tools. There are Valgrind tools that can automatically detect many memory management and threading bugs, and profile your programs in detail."
4BUGTRACKER = "http://valgrind.org/support/bug_reports.html"
5LICENSE = "GPL-2.0-only & GPL-2.0-or-later & BSD-3-Clause"
6LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
7 file://include/pub_tool_basics.h;beginline=6;endline=29;md5=41c410e8d3f305aee7aaa666b2e4f366 \
8 file://include/valgrind.h;beginline=1;endline=56;md5=ad3b317f3286b6b704575d9efe6ca5df \
9 file://COPYING.DOCS;md5=24ea4c7092233849b4394699333b5c56"
10
11DEPENDS = " \
12 ${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'boost', '', d)} \
13 "
14
15SRC_URI = "https://sourceware.org/pub/valgrind/valgrind-${PV}.tar.bz2 \
16 file://fixed-perl-path.patch \
17 file://Added-support-for-PPC-instructions-mfatbu-mfatbl.patch \
18 file://run-ptest \
19 file://remove-for-aarch64 \
20 file://remove-for-all \
21 file://taskset_nondeterministic_tests \
22 file://0005-Modify-vg_test-wrapper-to-support-PTEST-formats.patch \
23 file://use-appropriate-march-mcpu-mfpu-for-ARM-test-apps.patch \
24 file://avoid-neon-for-targets-which-don-t-support-it.patch \
25 file://valgrind-make-ld-XXX.so-strlen-intercept-optional.patch \
26 file://0001-makefiles-Drop-setting-mcpu-to-cortex-a8-on-arm-arch.patch \
27 file://0001-sigqueue-Rename-_sifields-to-__si_fields-on-musl.patch \
28 file://0003-correct-include-directive-path-for-config.h.patch \
29 file://0001-Return-a-valid-exit_code-from-vg_regtest.patch \
30 file://0001-valgrind-filter_xml_frames-do-not-filter-usr.patch \
31 file://0001-memcheck-vgtests-remove-fullpath-after-flags.patch \
32 file://s390x_vec_op_t.patch \
33 file://0001-none-tests-fdleak_cmsg.stderr.exp-adjust-tmp-paths.patch \
34 file://0001-memcheck-tests-Fix-timerfd-syscall-test.patch \
35 file://0001-docs-Disable-manual-validation.patch \
36 file://0001-valgrind-monitor.py-regular-expressions-should-use-r.patch \
37 file://0002-Bug-476548-valgrind-3.22.0-fails-on-assertion-when-l.patch \
38 file://0003-Add-fchmodat2-syscall-on-linux.patch \
39 file://0004-Bug-478624-Valgrind-incompatibility-with-binutils-2..patch \
40 "
41SRC_URI[sha256sum] = "c811db5add2c5f729944caf47c4e7a65dcaabb9461e472b578765dd7bf6d2d4c"
42UPSTREAM_CHECK_REGEX = "valgrind-(?P<pver>\d+(\.\d+)+)\.tar"
43
44COMPATIBLE_HOST = '(i.86|x86_64|arm|aarch64|mips|powerpc|powerpc64).*-linux'
45
46# patch 0001-memcheck-vgtests-remove-fullpath-after-flags.patch removes relative path
47# argument. Change expected stderr files accordingly.
48do_patch:append() {
49 bb.build.exec_func('do_sed_paths', d)
50}
51
52do_sed_paths() {
53 sed -i -e 's|tests/||' ${S}/memcheck/tests/badfree3.stderr.exp
54 sed -i -e 's|tests/||' ${S}/memcheck/tests/varinfo5.stderr.exp
55}
56
57# valgrind supports armv7 and above
58COMPATIBLE_HOST:armv4 = 'null'
59COMPATIBLE_HOST:armv5 = 'null'
60COMPATIBLE_HOST:armv6 = 'null'
61
62# valgrind fails with powerpc soft-float
63COMPATIBLE_HOST:powerpc = "${@bb.utils.contains('TARGET_FPU', 'soft', 'null', '.*-linux', d)}"
64
65# X32 isn't supported by valgrind at this time
66COMPATIBLE_HOST:linux-gnux32 = 'null'
67COMPATIBLE_HOST:linux-muslx32 = 'null'
68
69# Disable for some MIPS variants
70COMPATIBLE_HOST:mipsarchr6 = 'null'
71COMPATIBLE_HOST:linux-gnun32 = 'null'
72
73# Disable for powerpc64 with musl
74COMPATIBLE_HOST:libc-musl:powerpc64 = 'null'
75
76# brokenseip is unfortunately required by ptests to pass
77inherit autotools-brokensep ptest multilib_header
78
79EXTRA_OECONF = "--enable-tls --without-mpicc"
80EXTRA_OECONF += "${@['--enable-only32bit','--enable-only64bit'][d.getVar('SITEINFO_BITS') != '32']}"
81
82# valgrind checks host_cpu "armv7*)", so we need to over-ride the autotools.bbclass default --host option
83EXTRA_OECONF:append:arm = " --host=armv7${HOST_VENDOR}-${HOST_OS}"
84
85EXTRA_OEMAKE = "-w"
86
87CACHED_CONFIGUREVARS += "ac_cv_path_PERL='/usr/bin/env perl'"
88
89# valgrind likes to control its own optimisation flags. It generally defaults
90# to -O2 but uses -O0 for some specific test apps etc. Passing our own flags
91# (via CFLAGS) means we interfere with that. Only pass DEBUG_FLAGS to it
92# which fixes build path issue in DWARF.
93SELECTED_OPTIMIZATION = "${DEBUG_FLAGS}"
94
95# Split out various helper scripts to separate packages to avoid the
96# main package depending on perl and python.
97PACKAGES =+ "${PN}-cachegrind ${PN}-massif ${PN}-callgrind"
98
99FILES:${PN}-cachegrind = "${bindir}/cg_*"
100FILES:${PN}-massif = "${bindir}/ms_*"
101FILES:${PN}-callgrind = "${bindir}/callgrind_*"
102
103RDEPENDS:${PN}-cachegrind = "${PN} python3-core"
104RDEPENDS:${PN}-massif = "${PN} perl"
105RDEPENDS:${PN}-callgrind = "${PN} perl"
106
107do_configure:prepend () {
108 rm -rf ${S}/config.h
109 sed -i -e 's:$(abs_top_builddir):$(pkglibdir)/ptest:g' ${S}/none/tests/Makefile.am
110 sed -i -e 's:$(top_builddir):$(pkglibdir)/ptest:g' ${S}/memcheck/tests/Makefile.am
111}
112
113do_install:append () {
114 install -m 644 ${B}/default.supp ${D}/${libexecdir}/valgrind/
115 oe_multilib_header valgrind/config.h
116}
117
118VALGRINDARCH ?= "${TARGET_ARCH}"
119VALGRINDARCH:aarch64 = "arm64"
120VALGRINDARCH:x86-64 = "amd64"
121VALGRINDARCH:x86 = "x86"
122VALGRINDARCH:mips = "mips32"
123VALGRINDARCH:mipsel = "mips32"
124VALGRINDARCH:mips64el = "mips64"
125VALGRINDARCH:powerpc = "ppc"
126VALGRINDARCH:powerpc64 = "ppc64"
127VALGRINDARCH:powerpc64le = "ppc64le"
128
129INHIBIT_PACKAGE_STRIP_FILES = "${PKGD}${libexecdir}/valgrind/vgpreload_memcheck-${VALGRINDARCH}-linux.so"
130
131# valgrind needs debug information for ld.so at runtime in order to
132# redirect functions like strlen.
133RRECOMMENDS:${PN} += "${TCLIBC}-dbg"
134
135RDEPENDS:${PN}-ptest += " bash coreutils curl file \
136 gdb \
137 ${TCLIBC}-src gcc-runtime-dbg \
138 libgomp \
139 perl \
140 perl-module-file-basename perl-module-file-glob perl-module-getopt-long \
141 perl-module-overloading perl-module-cwd perl-module-ipc-open3 \
142 perl-module-carp perl-module-symbol \
143 procps \
144 python3-compile \
145 sed \
146 util-linux-taskset \
147 ${PN}-dbg ${PN}-src \
148 ${PN}-cachegrind ${PN}-massif ${PN}-callgrind \
149"
150RDEPENDS:${PN}-ptest:append:libc-glibc = " glibc-utils glibc-gconv-utf-32"
151
152# One of the tests contains a bogus interpreter path on purpose.
153# Skip file dependency check
154SKIP_FILEDEPS:${PN}-ptest = '1'
155INSANE_SKIP:${PN}-ptest = "debug-deps"
156
157do_compile_ptest() {
158 oe_runmake check
159}
160
161
162do_install_ptest() {
163 chmod +x ${B}/tests/vg_regtest
164
165 # The test application binaries are not automatically installed.
166 # Grab them from the build directory.
167 #
168 # The regression tests require scripts and data files that are not
169 # copied to the build directory. They must be copied from the
170 # source directory.
171 saved_dir=$PWD
172 for parent_dir in ${S} ${B} ; do
173 cd $parent_dir
174
175 subdirs=" \
176 .in_place \
177 cachegrind/tests \
178 callgrind/tests \
179 dhat/tests \
180 drd/tests \
181 gdbserver_tests \
182 helgrind/tests \
183 lackey/tests \
184 massif/tests \
185 memcheck/tests \
186 none/tests \
187 tests \
188 exp-bbv/tests \
189 "
190 # Get the vg test scripts, filters, and expected files
191 for dir in $subdirs ; do
192 find $dir | cpio -pvdu ${D}${PTEST_PATH}
193 done
194 cd $saved_dir
195 done
196
197 # The scripts reference config.h so add it to the top ptest dir.
198 cp ${B}/config.h ${D}${PTEST_PATH}
199 install -D ${WORKDIR}/remove-for-aarch64 ${D}${PTEST_PATH}
200 install -D ${WORKDIR}/remove-for-all ${D}${PTEST_PATH}
201 install -D ${WORKDIR}/taskset_nondeterministic_tests ${D}${PTEST_PATH}
202
203 # Add an executable need by none/tests/bigcode
204 mkdir ${D}${PTEST_PATH}/perf
205 cp ${B}/perf/bigcode ${D}${PTEST_PATH}/perf
206
207 # Add an executable needed by memcheck/tests/vcpu_bz2
208 cp ${B}/perf/bz2 ${D}${PTEST_PATH}/perf
209
210 # Make the ptest dir look like the top level valgrind src dir
211 # This is checked by the gdbserver_tests/make_local_links script
212 mkdir ${D}${PTEST_PATH}/coregrind
213 cp ${B}/coregrind/vgdb ${D}${PTEST_PATH}/coregrind
214
215 # Add an executable needed by massif tests
216 cp ${B}/massif/ms_print ${D}${PTEST_PATH}/massif/ms_print
217
218 find ${D}${PTEST_PATH} \
219 \( \
220 -name "Makefile*" \
221 -o -name "*.o" \
222 \) \
223 -exec rm {} \;
224
225 sed -i s:\.\./\.\./callgrind/callgrind_annotate:${bindir}/callgrind_annotate: ${D}${PTEST_PATH}/callgrind/tests/ann1.vgtest
226 sed -i s:\.\./\.\./callgrind/callgrind_annotate:${bindir}/callgrind_annotate: ${D}${PTEST_PATH}/callgrind/tests/ann2.vgtest
227
228 # point the expanded @abs_top_builddir@ of the host to PTEST_PATH
229 sed -i s:${S}:${PTEST_PATH}:g \
230 ${D}${PTEST_PATH}/memcheck/tests/linux/debuginfod-check.vgtest
231
232 # handle multilib
233 sed -i s:@libdir@:${libdir}:g ${D}${PTEST_PATH}/run-ptest
234 sed -i s:@libexecdir@:${libexecdir}:g ${D}${PTEST_PATH}/run-ptest
235 sed -i s:@bindir@:${bindir}:g ${D}${PTEST_PATH}/run-ptest
236
237 # enable cachegrind ptests
238 ln -s ${bindir}/cg_annotate ${D}/${PTEST_PATH}/cachegrind/cg_annotate
239 ln -s ${bindir}/cg_diff ${D}/${PTEST_PATH}/cachegrind/cg_diff
240 ln -s ${bindir}/cg_merge ${D}/${PTEST_PATH}/cachegrind/cg_merge
241
242 # This test fails on the host as well, using both 3.15 and git master (as of Jan 24 2020)
243 # https://bugs.kde.org/show_bug.cgi?id=402833
244 rm ${D}${PTEST_PATH}/memcheck/tests/overlap.vgtest
245
246 # This is known failure see https://bugs.kde.org/show_bug.cgi?id=435732
247 rm ${D}${PTEST_PATH}/memcheck/tests/leak_cpp_interior.vgtest
248
249 # https://bugs.kde.org/show_bug.cgi?id=445743
250 rm ${D}${PTEST_PATH}/drd/tests/pth_mutex_signal
251
252 # As the binary isn't stripped or debug-splitted, the source file isn't fetched
253 # via dwarfsrcfiles either, so it needs to be installed manually.
254 mkdir -p ${D}${TARGET_DBGSRC_DIR}/none/tests/
255 install ${S}/none/tests/tls.c ${D}${TARGET_DBGSRC_DIR}/none/tests/
256}
257
258do_install_ptest:append:x86-64 () {
259 # https://bugs.kde.org/show_bug.cgi?id=463456
260 rm ${D}${PTEST_PATH}/memcheck/tests/origin6-fp.vgtest
261 # https://bugs.kde.org/show_bug.cgi?id=463458
262 rm ${D}${PTEST_PATH}/memcheck/tests/vcpu_fnfns.vgtest
263 # https://bugs.kde.org/show_bug.cgi?id=463463
264 rm ${D}${PTEST_PATH}/none/tests/amd64/fma.vgtest
265}
266
267# avoid stripping some generated binaries otherwise some of the tests will fail
268# run-strip-reloc.sh, run-strip-strmerge.sh and so on will fail
269INHIBIT_PACKAGE_STRIP_FILES += "\
270 ${PKGD}${PTEST_PATH}/none/tests/tls \
271 ${PKGD}${PTEST_PATH}/none/tests/tls.so \
272 ${PKGD}${PTEST_PATH}/none/tests/tls2.so \
273 ${PKGD}${PTEST_PATH}/helgrind/tests/tc09_bad_unlock \
274 ${PKGD}${PTEST_PATH}/memcheck/tests/manuel1 \
275 ${PKGD}${PTEST_PATH}/drd/tests/pth_detached3 \
276"
diff --git a/meta/recipes-devtools/valgrind/valgrind_3.25.1.bb b/meta/recipes-devtools/valgrind/valgrind_3.25.1.bb
new file mode 100644
index 0000000000..a8b0be5767
--- /dev/null
+++ b/meta/recipes-devtools/valgrind/valgrind_3.25.1.bb
@@ -0,0 +1,116 @@
1SUMMARY = "Valgrind memory debugger and instrumentation framework"
2HOMEPAGE = "http://valgrind.org/"
3DESCRIPTION = "Valgrind is an instrumentation framework for building dynamic analysis tools. There are Valgrind tools that can automatically detect many memory management and threading bugs, and profile your programs in detail."
4BUGTRACKER = "http://valgrind.org/support/bug_reports.html"
5LICENSE = "GPL-2.0-only & GPL-2.0-or-later & BSD-3-Clause"
6LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
7 file://include/pub_tool_basics.h;beginline=6;endline=29;md5=41c410e8d3f305aee7aaa666b2e4f366 \
8 file://include/valgrind.h;beginline=1;endline=56;md5=ad3b317f3286b6b704575d9efe6ca5df \
9 file://COPYING.DOCS;md5=24ea4c7092233849b4394699333b5c56"
10
11SRC_URI = "https://sourceware.org/pub/valgrind/valgrind-${PV}.tar.bz2 \
12 file://fixed-perl-path.patch \
13 file://Added-support-for-PPC-instructions-mfatbu-mfatbl.patch \
14 file://use-appropriate-march-mcpu-mfpu-for-ARM-test-apps.patch \
15 file://avoid-neon-for-targets-which-don-t-support-it.patch \
16 file://0001-configure-Drop-setting-mcpu-cortex-a8-on-arm.patch \
17 file://valgrind-make-ld-XXX.so-strlen-intercept-optional.patch \
18 file://0001-makefiles-Drop-setting-mcpu-to-cortex-a8-on-arm-arch.patch \
19 file://0001-sigqueue-Rename-_sifields-to-__si_fields-on-musl.patch \
20 file://0003-correct-include-directive-path-for-config.h.patch \
21 file://0001-valgrind-filter_xml_frames-do-not-filter-usr.patch \
22 file://0001-memcheck-vgtests-remove-fullpath-after-flags.patch \
23 file://s390x_vec_op_t.patch \
24 file://0001-none-tests-fdleak_cmsg.stderr.exp-adjust-tmp-paths.patch \
25 file://0001-memcheck-tests-Fix-timerfd-syscall-test.patch \
26 file://0001-docs-Disable-manual-validation.patch \
27 file://0001-tests-arm-Use-O-instead-of-O0.patch \
28 file://0001-Use-portable-syntax-for-pushsection-directive-in-inl.patch \
29 "
30SRC_URI[sha256sum] = "61deb8d0727b45c268efdc1b3b6c9e679cd97cbf5ee4b28d1dead7c8b7a271af"
31UPSTREAM_CHECK_REGEX = "valgrind-(?P<pver>\d+(\.\d+)+)\.tar"
32
33COMPATIBLE_HOST = '(i.86|x86_64|arm|aarch64|mips|powerpc|powerpc64|riscv64).*-linux'
34
35# valgrind supports armv7 and above
36COMPATIBLE_HOST:armv4 = 'null'
37COMPATIBLE_HOST:armv5 = 'null'
38COMPATIBLE_HOST:armv6 = 'null'
39
40# valgrind fails with powerpc soft-float
41COMPATIBLE_HOST:powerpc = "${@bb.utils.contains('TARGET_FPU', 'soft', 'null', '.*-linux', d)}"
42
43# X32 isn't supported by valgrind at this time
44COMPATIBLE_HOST:linux-gnux32 = 'null'
45COMPATIBLE_HOST:linux-muslx32 = 'null'
46
47# Disable for some MIPS variants
48COMPATIBLE_HOST:mipsarchr6 = 'null'
49COMPATIBLE_HOST:linux-gnun32 = 'null'
50
51# Disable for powerpc64 with musl
52COMPATIBLE_HOST:libc-musl:powerpc64 = 'null'
53
54inherit autotools-brokensep multilib_header
55
56EXTRA_OECONF = "--enable-tls --without-mpicc"
57EXTRA_OECONF += "${@['--enable-only32bit','--enable-only64bit'][d.getVar('SITEINFO_BITS') != '32']}"
58
59# valgrind checks host_cpu "armv7*)", so we need to over-ride the autotools.bbclass default --host option
60EXTRA_OECONF:append:arm = " --host=armv7${HOST_VENDOR}-${HOST_OS}"
61
62EXTRA_OEMAKE = "-w"
63
64CACHED_CONFIGUREVARS += "ac_cv_path_PERL='/usr/bin/env perl'"
65
66# valgrind likes to control its own optimisation flags. It generally defaults
67# to -O2 but uses -O0 for some specific test apps etc. Passing our own flags
68# (via CFLAGS) means we interfere with that. Only pass DEBUG_FLAGS to it
69# which fixes build path issue in DWARF.
70SELECTED_OPTIMIZATION = "${DEBUG_LEVELFLAG}"
71
72# Split out various helper scripts to separate packages to avoid the
73# main package depending on perl and python.
74PACKAGES =+ "${PN}-cachegrind ${PN}-massif ${PN}-callgrind"
75
76FILES:${PN}-cachegrind = "${bindir}/cg_*"
77FILES:${PN}-massif = "${bindir}/ms_*"
78FILES:${PN}-callgrind = "${bindir}/callgrind_*"
79
80RDEPENDS:${PN}-cachegrind = "${PN} python3-core"
81RDEPENDS:${PN}-massif = "${PN} perl"
82RDEPENDS:${PN}-callgrind = "${PN} perl"
83
84do_configure:prepend () {
85 rm -rf ${S}/config.h
86}
87
88do_install:append () {
89 install -m 644 ${B}/default.supp ${D}/${libexecdir}/valgrind/
90 oe_multilib_header valgrind/config.h
91}
92
93VALGRINDARCH ?= "${TARGET_ARCH}"
94VALGRINDARCH:aarch64 = "arm64"
95VALGRINDARCH:x86-64 = "amd64"
96VALGRINDARCH:x86 = "x86"
97VALGRINDARCH:mips = "mips32"
98VALGRINDARCH:mipsel = "mips32"
99VALGRINDARCH:mips64el = "mips64"
100VALGRINDARCH:powerpc = "ppc"
101VALGRINDARCH:powerpc64 = "ppc64"
102VALGRINDARCH:powerpc64le = "ppc64le"
103
104INHIBIT_PACKAGE_STRIP_FILES = "${PKGD}${libexecdir}/valgrind/vgpreload_memcheck-${VALGRINDARCH}-linux.so"
105
106# valgrind needs debug information for ld.so at runtime in order to
107# redirect functions like strlen.
108RRECOMMENDS:${PN} += "${TCLIBC}-dbg"
109
110# Valgrind needs intrinsics which are not provided by clang
111# m_signals.c:2213:7: error: __builtin_longjmp is not supported for the current target
112# 2213 | VG_MINIMAL_LONGJMP(tst->sched_jmpbuf);
113# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114#
115# It needs something like - https://bugs.kde.org/show_bug.cgi?id=369723
116TOOLCHAIN:riscv64 = "gcc"
diff --git a/meta/recipes-devtools/xmlto/xmlto_0.0.28.bb b/meta/recipes-devtools/xmlto/xmlto_0.0.29.bb
index d5a0e69849..613d7973ec 100644
--- a/meta/recipes-devtools/xmlto/xmlto_0.0.28.bb
+++ b/meta/recipes-devtools/xmlto/xmlto_0.0.29.bb
@@ -6,12 +6,8 @@ LICENSE = "GPL-2.0-only"
6 6
7LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" 7LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
8 8
9SRCREV = "6fa6a0e07644f20abf2596f78a60112713e11cbe" 9SRCREV = "74862a684907ada3d4ed2ce0f8111adf626e1456"
10UPSTREAM_CHECK_COMMITS = "1"
11SRC_URI = "git://pagure.io/xmlto.git;protocol=https;branch=master" 10SRC_URI = "git://pagure.io/xmlto.git;protocol=https;branch=master"
12S = "${WORKDIR}/git"
13
14PV .= "+0.0.29+git"
15 11
16inherit autotools 12inherit autotools
17 13
@@ -35,7 +31,7 @@ CACHED_CONFIGUREVARS += "ac_cv_path_TAIL=tail ac_cv_path_GREP=grep ac_cv_path_XM
35 31
36BBCLASSEXTEND = "native" 32BBCLASSEXTEND = "native"
37 33
38EXTRA_OECONF:append = " BASH=/bin/bash GCP=/bin/cp" 34EXTRA_OECONF:append = " XMLTO_BASH_PATH=/bin/bash GCP=/bin/cp"
39 35
40do_configure:prepend() { 36do_configure:prepend() {
41 (cd ${S} && flex -o xmlif/xmlif.c xmlif/xmlif.l) 37 (cd ${S} && flex -o xmlif/xmlif.c xmlif/xmlif.l)