diff options
Diffstat (limited to 'meta-oe/recipes-devtools')
29 files changed, 309 insertions, 180 deletions
diff --git a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20250814.1.bb b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20260107.1.bb index 0394f36cdb..4f75ed605c 100644 --- a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20250814.1.bb +++ b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20260107.1.bb | |||
| @@ -11,7 +11,7 @@ SRC_URI = "https://github.com/abseil/${BPN}/releases/download/${PV}/${BP}.tar.gz | |||
| 11 | file://0001-absl-always-use-asm-sgidefs.h.patch \ | 11 | file://0001-absl-always-use-asm-sgidefs.h.patch \ |
| 12 | file://0002-abseil-ppc-fixes.patch \ | 12 | file://0002-abseil-ppc-fixes.patch \ |
| 13 | " | 13 | " |
| 14 | SRC_URI[sha256sum] = "1692f77d1739bacf3f94337188b78583cf09bab7e420d2dc6c5605a4f86785a1" | 14 | SRC_URI[sha256sum] = "4314e2a7cbac89cac25a2f2322870f343d81579756ceff7f431803c2c9090195" |
| 15 | 15 | ||
| 16 | UPSTREAM_CHECK_URI = "https://github.com/abseil/abseil-cpp/releases" | 16 | UPSTREAM_CHECK_URI = "https://github.com/abseil/abseil-cpp/releases" |
| 17 | UPSTREAM_CHECK_REGEX = "releases/tag/(?P<pver>\d+(\.\d+)+)" | 17 | UPSTREAM_CHECK_REGEX = "releases/tag/(?P<pver>\d+(\.\d+)+)" |
| @@ -21,6 +21,7 @@ inherit cmake | |||
| 21 | EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON \ | 21 | EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON \ |
| 22 | -DBUILD_TESTING=OFF \ | 22 | -DBUILD_TESTING=OFF \ |
| 23 | -DABSL_ENABLE_INSTALL=ON \ | 23 | -DABSL_ENABLE_INSTALL=ON \ |
| 24 | -DCMAKE_CXX_STANDARD=17 \ | ||
| 24 | " | 25 | " |
| 25 | # riscv32-yoe-linux-ld.lld: error: undefined reference: __atomic_store_8 | 26 | # riscv32-yoe-linux-ld.lld: error: undefined reference: __atomic_store_8 |
| 26 | # >>> referenced by <recipe-sysroot>/usr/lib/libabsl_flags_internal.so.2505.0.0 (disallowed by --no-allow-shlib-undefined) | 27 | # >>> referenced by <recipe-sysroot>/usr/lib/libabsl_flags_internal.so.2505.0.0 (disallowed by --no-allow-shlib-undefined) |
diff --git a/meta-oe/recipes-devtools/ctags/ctags_6.2.20260104.0.bb b/meta-oe/recipes-devtools/ctags/ctags_6.2.20260222.0.bb index 71ba0eda74..5dafe54062 100644 --- a/meta-oe/recipes-devtools/ctags/ctags_6.2.20260104.0.bb +++ b/meta-oe/recipes-devtools/ctags/ctags_6.2.20260222.0.bb | |||
| @@ -14,7 +14,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" | |||
| 14 | 14 | ||
| 15 | inherit autotools-brokensep pkgconfig manpages | 15 | inherit autotools-brokensep pkgconfig manpages |
| 16 | 16 | ||
| 17 | SRCREV = "743e71b21f504fcea2f9c19b814b3d8b36cb8c81" | 17 | SRCREV = "b4fdb901fc4930eebcf06ef72bfd67cec606eb4c" |
| 18 | SRC_URI = "git://github.com/universal-ctags/ctags;branch=master;protocol=https;tag=p${PV}" | 18 | SRC_URI = "git://github.com/universal-ctags/ctags;branch=master;protocol=https;tag=p${PV}" |
| 19 | 19 | ||
| 20 | 20 | ||
diff --git a/meta-oe/recipes-devtools/doxygen/doxygen_1.15.0.bb b/meta-oe/recipes-devtools/doxygen/doxygen_1.16.1.bb index 494e92f768..3d0cfaed80 100644 --- a/meta-oe/recipes-devtools/doxygen/doxygen_1.15.0.bb +++ b/meta-oe/recipes-devtools/doxygen/doxygen_1.16.1.bb | |||
| @@ -10,7 +10,7 @@ SRC_URI = "\ | |||
| 10 | git://github.com/doxygen/doxygen.git;branch=master;protocol=https \ | 10 | git://github.com/doxygen/doxygen.git;branch=master;protocol=https \ |
| 11 | " | 11 | " |
| 12 | 12 | ||
| 13 | SRCREV = "7cca38ba5185457e6d9495bf963d4cdeacebc25a" | 13 | SRCREV = "669aeeefca743c148e2d935b3d3c69535c7491e6" |
| 14 | 14 | ||
| 15 | 15 | ||
| 16 | UPSTREAM_CHECK_GITTAGREGEX = "Release_(?P<pver>\d+(\_\d+)+)" | 16 | UPSTREAM_CHECK_GITTAGREGEX = "Release_(?P<pver>\d+(\_\d+)+)" |
diff --git a/meta-oe/recipes-devtools/grpc/grpc/0001-build-add-missing-includes-41351.patch b/meta-oe/recipes-devtools/grpc/grpc/0001-build-add-missing-includes-41351.patch new file mode 100644 index 0000000000..bf1f22b906 --- /dev/null +++ b/meta-oe/recipes-devtools/grpc/grpc/0001-build-add-missing-includes-41351.patch | |||
| @@ -0,0 +1,58 @@ | |||
| 1 | From a976f66ac7d1b9f43a3071e22b5014fcfeab04b3 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: "Mark D. Roth" <roth@google.com> | ||
| 3 | Date: Tue, 6 Jan 2026 10:09:45 -0800 | ||
| 4 | Subject: [PATCH] [build] add missing includes (#41351) | ||
| 5 | |||
| 6 | Fixes #41305. | ||
| 7 | |||
| 8 | Closes #41351 | ||
| 9 | |||
| 10 | COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/41351 from markdroth:add_missing_includes 223be6932adb00d085149c53167c1b0318745f6c | ||
| 11 | PiperOrigin-RevId: 852829597 | ||
| 12 | |||
| 13 | Upstream-Status: Backport [https://github.com/grpc/grpc/commit/d54219b508423f0a2ff6a0b98c16fb6dafd44b84] | ||
| 14 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 15 | --- | ||
| 16 | include/grpc/event_engine/memory_request.h | 2 ++ | ||
| 17 | src/core/channelz/v2tov1/property_list.cc | 1 + | ||
| 18 | src/core/util/glob.cc | 2 ++ | ||
| 19 | 3 files changed, 5 insertions(+) | ||
| 20 | |||
| 21 | diff --git a/include/grpc/event_engine/memory_request.h b/include/grpc/event_engine/memory_request.h | ||
| 22 | index 76bcbb2036..ad8cab842e 100644 | ||
| 23 | --- a/include/grpc/event_engine/memory_request.h | ||
| 24 | +++ b/include/grpc/event_engine/memory_request.h | ||
| 25 | @@ -17,6 +17,8 @@ | ||
| 26 | #include <grpc/support/port_platform.h> | ||
| 27 | #include <stddef.h> | ||
| 28 | |||
| 29 | +#include <string> | ||
| 30 | + | ||
| 31 | #include "absl/strings/string_view.h" | ||
| 32 | |||
| 33 | namespace grpc_event_engine { | ||
| 34 | diff --git a/src/core/channelz/v2tov1/property_list.cc b/src/core/channelz/v2tov1/property_list.cc | ||
| 35 | index 64bbb6307c..03367cce7c 100644 | ||
| 36 | --- a/src/core/channelz/v2tov1/property_list.cc | ||
| 37 | +++ b/src/core/channelz/v2tov1/property_list.cc | ||
| 38 | @@ -15,6 +15,7 @@ | ||
| 39 | #include "src/core/channelz/v2tov1/property_list.h" | ||
| 40 | |||
| 41 | #include <cstdint> | ||
| 42 | +#include <limits> | ||
| 43 | #include <optional> | ||
| 44 | #include <string> | ||
| 45 | |||
| 46 | diff --git a/src/core/util/glob.cc b/src/core/util/glob.cc | ||
| 47 | index 1b1c16e23d..22e54259f0 100644 | ||
| 48 | --- a/src/core/util/glob.cc | ||
| 49 | +++ b/src/core/util/glob.cc | ||
| 50 | @@ -12,6 +12,8 @@ | ||
| 51 | // See the License for the specific language governing permissions and | ||
| 52 | // limitations under the License. | ||
| 53 | |||
| 54 | +#include <algorithm> | ||
| 55 | + | ||
| 56 | #include "absl/strings/string_view.h" | ||
| 57 | |||
| 58 | namespace grpc_core { | ||
diff --git a/meta-oe/recipes-devtools/grpc/grpc_1.71.0.bb b/meta-oe/recipes-devtools/grpc/grpc_1.76.0.bb index 53867b8fe6..39c9fb98de 100644 --- a/meta-oe/recipes-devtools/grpc/grpc_1.71.0.bb +++ b/meta-oe/recipes-devtools/grpc/grpc_1.76.0.bb | |||
| @@ -23,10 +23,11 @@ RDEPENDS:${PN}-dev:append:class-native = " ${PN}-compiler" | |||
| 23 | # Both dependencies are mutually exclusive | 23 | # Both dependencies are mutually exclusive |
| 24 | # RDEPENDS:${PN}-dev += "${PN}-compiler" | 24 | # RDEPENDS:${PN}-dev += "${PN}-compiler" |
| 25 | 25 | ||
| 26 | SRCREV_grpc = "4e9357bca1408596663a218c0c608a4c0560a867" | 26 | SRCREV = "f5ffb68d8a2fd603dff16287e90a4ac571e1fec6" |
| 27 | BRANCH = "v1.71.x" | 27 | BRANCH = "v1.76.x" |
| 28 | SRC_URI = "gitsm://github.com/grpc/grpc.git;protocol=https;name=grpc;branch=${BRANCH} \ | 28 | SRC_URI = "gitsm://github.com/grpc/grpc.git;protocol=https;branch=${BRANCH};tag=v${PV} \ |
| 29 | file://0001-cmake-Link-with-libatomic-on-rv32-rv64.patch \ | 29 | file://0001-cmake-Link-with-libatomic-on-rv32-rv64.patch \ |
| 30 | file://0001-build-add-missing-includes-41351.patch \ | ||
| 30 | " | 31 | " |
| 31 | 32 | ||
| 32 | inherit cmake pkgconfig | 33 | inherit cmake pkgconfig |
diff --git a/meta-oe/recipes-devtools/jwt-cpp/jwt-cpp_0.7.1.bb b/meta-oe/recipes-devtools/jwt-cpp/jwt-cpp_0.7.2.bb index 5ad953d260..fa4698b2b3 100644 --- a/meta-oe/recipes-devtools/jwt-cpp/jwt-cpp_0.7.1.bb +++ b/meta-oe/recipes-devtools/jwt-cpp/jwt-cpp_0.7.2.bb | |||
| @@ -4,10 +4,10 @@ SECTION = "libs" | |||
| 4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8325a5ce4414c65ffdda392e0d96a9ff" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8325a5ce4414c65ffdda392e0d96a9ff" |
| 6 | 6 | ||
| 7 | SRC_URI = "git://github.com/Thalhammer/jwt-cpp.git;branch=master;protocol=https \ | 7 | SRC_URI = "git://github.com/Thalhammer/jwt-cpp.git;branch=master;protocol=https;tag=v${PV} \ |
| 8 | " | 8 | " |
| 9 | 9 | ||
| 10 | SRCREV = "e71e0c2d584baff06925bbb3aad683f677e4d498" | 10 | SRCREV = "b0ea29a58fc852a67d4e896d266880c2c63b0c4c" |
| 11 | 11 | ||
| 12 | 12 | ||
| 13 | DEPENDS = "openssl" | 13 | DEPENDS = "openssl" |
| @@ -16,4 +16,4 @@ inherit cmake | |||
| 16 | 16 | ||
| 17 | EXTRA_OECMAKE += "-DJWT_BUILD_EXAMPLES=OFF -DJWT_CMAKE_FILES_INSTALL_DIR=${libdir}/cmake/${BPN}" | 17 | EXTRA_OECMAKE += "-DJWT_BUILD_EXAMPLES=OFF -DJWT_CMAKE_FILES_INSTALL_DIR=${libdir}/cmake/${BPN}" |
| 18 | 18 | ||
| 19 | BBCLASSEXTEND = "nativesdk" | 19 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta-oe/recipes-devtools/libtoml11/files/0001-Remove-whitespace-in-operator.patch b/meta-oe/recipes-devtools/libtoml11/files/0001-Remove-whitespace-in-operator.patch index c8c9922d55..9516ee5cb1 100644 --- a/meta-oe/recipes-devtools/libtoml11/files/0001-Remove-whitespace-in-operator.patch +++ b/meta-oe/recipes-devtools/libtoml11/files/0001-Remove-whitespace-in-operator.patch | |||
| @@ -11,7 +11,7 @@ include/toml11/impl/../fwd/literal_fwd.hpp:22:26: error: identifier '_toml' prec | |||
| 11 | | | ~~~~~~~~~~~^~~~~ | 11 | | | ~~~~~~~~~~~^~~~~ |
| 12 | | | operator""_toml | 12 | | | operator""_toml |
| 13 | 13 | ||
| 14 | Upstream-Status: Submitted [https://github.com/ToruNiina/toml11/pull/285] | 14 | Upstream-Status: Backport [https://github.com/ToruNiina/toml11/commit/dee78f822d8a5b985e565e5c1ef42a59557aa8fc] |
| 15 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 15 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 16 | --- | 16 | --- |
| 17 | include/toml11/fwd/literal_fwd.hpp | 2 +- | 17 | include/toml11/fwd/literal_fwd.hpp | 2 +- |
diff --git a/meta-oe/recipes-devtools/libtoml11/files/run-ptest b/meta-oe/recipes-devtools/libtoml11/files/run-ptest index 9bc480aa7f..4da9e68cc5 100755 --- a/meta-oe/recipes-devtools/libtoml11/files/run-ptest +++ b/meta-oe/recipes-devtools/libtoml11/files/run-ptest | |||
| @@ -1,10 +1,11 @@ | |||
| 1 | #!/bin/sh | 1 | #!/usr/bin/env sh |
| 2 | |||
| 3 | cd tests || exit 1 | ||
| 4 | |||
| 5 | rm -rf tests.log | ||
| 2 | 6 | ||
| 3 | cd tests | ||
| 4 | for atest in test_* ; do | 7 | for atest in test_* ; do |
| 5 | rm -rf tests.log | 8 | if ./"${atest}" >> tests.log 2>&1; then |
| 6 | ./${atest} > tests.log 2>&1 | ||
| 7 | if [ $? = 0 ] ; then | ||
| 8 | echo "PASS: ${atest}" | 9 | echo "PASS: ${atest}" |
| 9 | else | 10 | else |
| 10 | echo "FAIL: ${atest}" | 11 | echo "FAIL: ${atest}" |
diff --git a/meta-oe/recipes-devtools/libtoml11/libtoml11_4.4.0.bb b/meta-oe/recipes-devtools/libtoml11/libtoml11_4.4.0.bb index 38786b79ed..7e097e4612 100644 --- a/meta-oe/recipes-devtools/libtoml11/libtoml11_4.4.0.bb +++ b/meta-oe/recipes-devtools/libtoml11/libtoml11_4.4.0.bb | |||
| @@ -3,6 +3,8 @@ DESCRIPTION = "toml11 is a feature-rich TOML language library for \ | |||
| 3 | C++11/14/17/20." | 3 | C++11/14/17/20." |
| 4 | 4 | ||
| 5 | HOMEPAGE = "https://github.com/ToruNiina/toml11" | 5 | HOMEPAGE = "https://github.com/ToruNiina/toml11" |
| 6 | BUGTRACKER = "https://github.com/ToruNiina/toml11/issues" | ||
| 7 | CVE_PRODUCT = "libtoml11" | ||
| 6 | 8 | ||
| 7 | SECTION = "libs" | 9 | SECTION = "libs" |
| 8 | 10 | ||
| @@ -11,23 +13,17 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=44d1fcf70c7aa6991533c38daf7befa3" | |||
| 11 | 13 | ||
| 12 | PE = "1" | 14 | PE = "1" |
| 13 | 15 | ||
| 14 | SRCREV = "be08ba2be2a964edcdb3d3e3ea8d100abc26f286" | 16 | SRC_URI = "\ |
| 15 | SRCREV_json = "8c391e04fe4195d8be862c97f38cfe10e2a3472e" | 17 | gitsm://github.com/ToruNiina/toml11.git;protocol=https;branch=main;tag=v${PV} \ |
| 16 | SRCREV_doctest = "ae7a13539fb71f270b87eb2e874fbac80bc8dda2" | 18 | file://0001-Remove-whitespace-in-operator.patch \ |
| 17 | 19 | file://run-ptest \ | |
| 18 | SRC_URI = "git://github.com/ToruNiina/toml11;branch=main;protocol=https \ | ||
| 19 | git://github.com/nlohmann/json;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/tests/extlib/json;name=json;branch=develop;protocol=https \ | ||
| 20 | git://github.com/doctest/doctest;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/tests/extlib/doctest;name=doctest;branch=master;protocol=https \ | ||
| 21 | file://0001-Remove-whitespace-in-operator.patch \ | ||
| 22 | file://run-ptest \ | ||
| 23 | " | 20 | " |
| 24 | SRCREV_FORMAT = "json_doctest" | 21 | SRCREV = "be08ba2be2a964edcdb3d3e3ea8d100abc26f286" |
| 25 | |||
| 26 | 22 | ||
| 27 | inherit cmake ptest | 23 | inherit cmake ptest |
| 28 | 24 | ||
| 29 | EXTRA_OECMAKE += "-DTOML11_PRECOMPILE=ON \ | 25 | EXTRA_OECMAKE += "-DTOML11_PRECOMPILE=ON \ |
| 30 | -DTOML11_BUILD_TESTS=${@bb.utils.contains("DISTRO_FEATURES", "ptest", "ON", "OFF", d)} \ | 26 | -DTOML11_BUILD_TESTS=${@bb.utils.contains("PTEST_ENABLED", "1", "ON", "OFF", d)} \ |
| 31 | " | 27 | " |
| 32 | 28 | ||
| 33 | ALLOW_EMPTY:${PN} = "1" | 29 | ALLOW_EMPTY:${PN} = "1" |
| @@ -36,3 +32,5 @@ do_install_ptest () { | |||
| 36 | install -d ${D}${PTEST_PATH}/tests | 32 | install -d ${D}${PTEST_PATH}/tests |
| 37 | cp -r ${B}/tests/test_* ${D}${PTEST_PATH}/tests | 33 | cp -r ${B}/tests/test_* ${D}${PTEST_PATH}/tests |
| 38 | } | 34 | } |
| 35 | |||
| 36 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-oe/recipes-devtools/memstat/memstat/0001-makefile-Do-not-override-cflags.patch b/meta-oe/recipes-devtools/memstat/memstat/0001-makefile-Do-not-override-cflags.patch new file mode 100644 index 0000000000..8ac7a8ff54 --- /dev/null +++ b/meta-oe/recipes-devtools/memstat/memstat/0001-makefile-Do-not-override-cflags.patch | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | From a0806283da1b82b511aa879fa2f71deb01f849bd Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Mon, 26 Jan 2026 22:22:54 -0800 | ||
| 4 | Subject: [PATCH] makefile: Do not override cflags | ||
| 5 | |||
| 6 | bitbake environment passes correct clfags for OE env | ||
| 7 | overriding it means some important flags for cross-compiling | ||
| 8 | go missing and causes | ||
| 9 | |||
| 10 | memstat-1.0-r0 do_package_qa: QA Issue: File /usr/bin/.debug/memstat in package memstat-dbg contains reference to TMPDIR [buildpaths] | ||
| 11 | |||
| 12 | Upstream-Status: Inappropriate [OE-specific] | ||
| 13 | |||
| 14 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 15 | --- | ||
| 16 | Makefile | 1 - | ||
| 17 | 1 file changed, 1 deletion(-) | ||
| 18 | |||
| 19 | diff --git a/Makefile b/Makefile | ||
| 20 | index 29f8129..5426bf4 100644 | ||
| 21 | --- a/Makefile | ||
| 22 | +++ b/Makefile | ||
| 23 | @@ -3,7 +3,6 @@ | ||
| 24 | # Copyright 1998, by Bernd Eckenfels <ecki@debian.org> | ||
| 25 | # This file is under the GPL. | ||
| 26 | # | ||
| 27 | -CFLAGS = -g -Wall -O2 | ||
| 28 | prefix = $(DESTDIR)/ | ||
| 29 | exec_prefix = $(prefix)/usr | ||
| 30 | |||
diff --git a/meta-oe/recipes-devtools/memstat/memstat_1.0.bb b/meta-oe/recipes-devtools/memstat/memstat_1.0.bb index a65782d017..a0b4d0b9cc 100644 --- a/meta-oe/recipes-devtools/memstat/memstat_1.0.bb +++ b/meta-oe/recipes-devtools/memstat/memstat_1.0.bb | |||
| @@ -14,10 +14,13 @@ LIC_FILES_CHKSUM = "file://debian/copyright;md5=87be186443b1ac2cfa466f475e1ee0cb | |||
| 14 | 14 | ||
| 15 | SRC_URI = "http://sourceforge.net/projects/memstattool/files/memstat_${PV}.tar.gz \ | 15 | SRC_URI = "http://sourceforge.net/projects/memstattool/files/memstat_${PV}.tar.gz \ |
| 16 | file://0001-Include-limits.h-for-PATH_MAX-definition.patch \ | 16 | file://0001-Include-limits.h-for-PATH_MAX-definition.patch \ |
| 17 | file://0001-makefile-Do-not-override-cflags.patch \ | ||
| 17 | " | 18 | " |
| 18 | 19 | ||
| 19 | SRC_URI[sha256sum] = "245d5fc7fb87bcfd14486cd34917cae2856e799559ac568434af12c4852bce94" | 20 | SRC_URI[sha256sum] = "245d5fc7fb87bcfd14486cd34917cae2856e799559ac568434af12c4852bce94" |
| 20 | 21 | ||
| 22 | TARGET_LDFLAGS:append = " ${DEBUG_PREFIX_MAP}" | ||
| 23 | |||
| 21 | do_install:append(){ | 24 | do_install:append(){ |
| 22 | install -d ${D}${bindir} | 25 | install -d ${D}${bindir} |
| 23 | install -m 0755 memstat ${D}${bindir} | 26 | install -m 0755 memstat ${D}${bindir} |
diff --git a/meta-oe/recipes-devtools/mpich/mpich_4.3.2.bb b/meta-oe/recipes-devtools/mpich/mpich_5.0.0.bb index f1ac212023..505fc6f92b 100644 --- a/meta-oe/recipes-devtools/mpich/mpich_4.3.2.bb +++ b/meta-oe/recipes-devtools/mpich/mpich_5.0.0.bb | |||
| @@ -6,7 +6,7 @@ LICENSE = "BSD-2-Clause" | |||
| 6 | LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=3a296dfb961b957b0e8adf67d8478d3d" | 6 | LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=3a296dfb961b957b0e8adf67d8478d3d" |
| 7 | 7 | ||
| 8 | SRC_URI = "http://www.mpich.org/static/downloads/${PV}/mpich-${PV}.tar.gz" | 8 | SRC_URI = "http://www.mpich.org/static/downloads/${PV}/mpich-${PV}.tar.gz" |
| 9 | SRC_URI[sha256sum] = "47d774587a7156a53752218c811c852e70ac44db9c502dc3f399b4cb817e3818" | 9 | SRC_URI[sha256sum] = "e9350e32224283e95311f22134f36c98e3cd1c665d17fae20a6cc92ed3cffe11" |
| 10 | 10 | ||
| 11 | RDEPENDS:${PN} += "bash perl libxml2" | 11 | RDEPENDS:${PN} += "bash perl libxml2" |
| 12 | 12 | ||
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-22.21/oe-npm-cache b/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-22.22/oe-npm-cache index eb0f143eae..eb0f143eae 100755 --- a/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-22.21/oe-npm-cache +++ b/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-22.22/oe-npm-cache | |||
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_22.21.bb b/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_22.22.bb index 1dcd1f7926..1dcd1f7926 100644 --- a/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_22.21.bb +++ b/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_22.22.bb | |||
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs/0001-detect-aarch64-Neon-correctly.patch b/meta-oe/recipes-devtools/nodejs/nodejs/0001-detect-aarch64-Neon-correctly.patch new file mode 100644 index 0000000000..15de2c1119 --- /dev/null +++ b/meta-oe/recipes-devtools/nodejs/nodejs/0001-detect-aarch64-Neon-correctly.patch | |||
| @@ -0,0 +1,51 @@ | |||
| 1 | From 41ec2d5302b77be27ca972102c29ce12471ed4b0 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Gyorgy Sarvari <skandigraun@gmail.com> | ||
| 3 | Date: Thu, 12 Feb 2026 11:09:44 +0100 | ||
| 4 | Subject: [PATCH 2/2] detect aarch64 Neon correctly | ||
| 5 | |||
| 6 | The llhttp vendored dependency of nodejs takes advantage of Arm NEON | ||
| 7 | instructions when they are available, however they are detected by | ||
| 8 | checking for an outdated CPU feature macro: it checks for __ARM_NEON__, | ||
| 9 | however it is not defined by new compilers for aarch64, rather they | ||
| 10 | set __ARM_NEON. The Arm C extension guide[1] refers to __ARM_NEON macro | ||
| 11 | aswell. | ||
| 12 | |||
| 13 | This patch changes the detection to check for both macros when detecting | ||
| 14 | the availability of NEON instructions. | ||
| 15 | |||
| 16 | The code this patch modifies is generated, so the patch itself isn't | ||
| 17 | suitable for upstream submission, as the root cause of the error is | ||
| 18 | in the generator itself. A PR has been submitted[2] to the generator | ||
| 19 | project to rectify this issue. | ||
| 20 | |||
| 21 | [1]: https://developer.arm.com/documentation/ihi0053/d/ - pdf, section 6.9 | ||
| 22 | [2]: https://github.com/nodejs/llparse/pull/84 | ||
| 23 | |||
| 24 | Upstream-Status: Inappropriate [see above] | ||
| 25 | Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> | ||
| 26 | --- | ||
| 27 | deps/llhttp/src/llhttp.c | 4 ++-- | ||
| 28 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
| 29 | |||
| 30 | diff --git a/deps/llhttp/src/llhttp.c b/deps/llhttp/src/llhttp.c | ||
| 31 | index a0e59e50..b069bbbb 100644 | ||
| 32 | --- a/deps/llhttp/src/llhttp.c | ||
| 33 | +++ b/deps/llhttp/src/llhttp.c | ||
| 34 | @@ -10,7 +10,7 @@ | ||
| 35 | #endif /* _MSC_VER */ | ||
| 36 | #endif /* __SSE4_2__ */ | ||
| 37 | |||
| 38 | -#ifdef __ARM_NEON__ | ||
| 39 | +#if defined(__ARM_NEON__) || defined(__ARM_NEON) | ||
| 40 | #include <arm_neon.h> | ||
| 41 | #endif /* __ARM_NEON__ */ | ||
| 42 | |||
| 43 | @@ -2625,7 +2625,7 @@ static llparse_state_t llhttp__internal__run( | ||
| 44 | goto s_n_llhttp__internal__n_header_value_otherwise; | ||
| 45 | } | ||
| 46 | #endif /* __SSE4_2__ */ | ||
| 47 | - #ifdef __ARM_NEON__ | ||
| 48 | + #if defined(__ARM_NEON__) || defined(__ARM_NEON) | ||
| 49 | while (endp - p >= 16) { | ||
| 50 | uint8x16_t input; | ||
| 51 | uint8x16_t single; | ||
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs/0001-fix-arm-Neon-intrinsics-types.patch b/meta-oe/recipes-devtools/nodejs/nodejs/0001-fix-arm-Neon-intrinsics-types.patch new file mode 100644 index 0000000000..ddbad575f0 --- /dev/null +++ b/meta-oe/recipes-devtools/nodejs/nodejs/0001-fix-arm-Neon-intrinsics-types.patch | |||
| @@ -0,0 +1,59 @@ | |||
| 1 | From 3f4283dac7d88a89b42f1f2966a862cee5afe486 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Gyorgy Sarvari <skandigraun@gmail.com> | ||
| 3 | Date: Thu, 12 Feb 2026 11:03:53 +0100 | ||
| 4 | Subject: [PATCH 1/2] fix arm Neon intrinsics types | ||
| 5 | |||
| 6 | The current code calls these intrinsics with incorrect datatypes | ||
| 7 | (it uses a vector of uint16 instead of uint8), causing compilation | ||
| 8 | to fail with the following error: | ||
| 9 | |||
| 10 | | ../deps/llhttp/src/llhttp.c: In function 'llhttp__internal__run': | ||
| 11 | | ../deps/llhttp/src/llhttp.c:2645:9: note: use '-flax-vector-conversions' to permit conversions between vectors with differing element types or numbers of subparts | ||
| 12 | | 2645 | ); | ||
| 13 | | | ^ | ||
| 14 | | ../deps/llhttp/src/llhttp.c:2643:11: error: incompatible type for argument 1 of 'vandq_u16' | ||
| 15 | | 2643 | vcgeq_u8(input, vdupq_n_u8(' ')), | ||
| 16 | |||
| 17 | To avoid this, set the correct intrinsics call that matches the | ||
| 18 | actual arguments. | ||
| 19 | |||
| 20 | The code that this patch modifies is generated code, so in itself | ||
| 21 | this change isn't appropriate for upstream. The actual problem | ||
| 22 | is in the code generator itself, for which a PR is already pending | ||
| 23 | for merging[1]. This patch is a port of that PR. | ||
| 24 | |||
| 25 | [1]: https://github.com/nodejs/llparse/pull/79 | ||
| 26 | |||
| 27 | Upstream-Status: Inappropriate [see above] | ||
| 28 | Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> | ||
| 29 | --- | ||
| 30 | deps/llhttp/src/llhttp.c | 12 ++++++------ | ||
| 31 | 1 file changed, 6 insertions(+), 6 deletions(-) | ||
| 32 | |||
| 33 | diff --git a/deps/llhttp/src/llhttp.c b/deps/llhttp/src/llhttp.c | ||
| 34 | index aa4c4682..887603fd 100644 | ||
| 35 | --- a/deps/llhttp/src/llhttp.c | ||
| 36 | +++ b/deps/llhttp/src/llhttp.c | ||
| 37 | @@ -2639,17 +2639,17 @@ static llparse_state_t llhttp__internal__run( | ||
| 38 | /* Find first character that does not match `ranges` */ | ||
| 39 | single = vceqq_u8(input, vdupq_n_u8(0x9)); | ||
| 40 | mask = single; | ||
| 41 | - single = vandq_u16( | ||
| 42 | + single = vandq_u8( | ||
| 43 | vcgeq_u8(input, vdupq_n_u8(' ')), | ||
| 44 | vcleq_u8(input, vdupq_n_u8('~')) | ||
| 45 | ); | ||
| 46 | - mask = vorrq_u16(mask, single); | ||
| 47 | - single = vandq_u16( | ||
| 48 | + mask = vorrq_u8(mask, single); | ||
| 49 | + single = vandq_u8( | ||
| 50 | vcgeq_u8(input, vdupq_n_u8(0x80)), | ||
| 51 | vcleq_u8(input, vdupq_n_u8(0xff)) | ||
| 52 | ); | ||
| 53 | - mask = vorrq_u16(mask, single); | ||
| 54 | - narrow = vshrn_n_u16(mask, 4); | ||
| 55 | + mask = vorrq_u8(mask, single); | ||
| 56 | + narrow = vshrn_n_u16(vreinterpretq_u16_u8(mask), 4); | ||
| 57 | match_mask = ~vget_lane_u64(vreinterpret_u64_u8(narrow), 0); | ||
| 58 | match_len = __builtin_ctzll(match_mask) >> 2; | ||
| 59 | if (match_len != 16) { | ||
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs/libatomic.patch b/meta-oe/recipes-devtools/nodejs/nodejs/libatomic.patch index d987ac50be..835c7018de 100644 --- a/meta-oe/recipes-devtools/nodejs/nodejs/libatomic.patch +++ b/meta-oe/recipes-devtools/nodejs/nodejs/libatomic.patch | |||
| @@ -17,6 +17,10 @@ Fix: | |||
| 17 | Upstream-Status: Inappropriate [OE specific] | 17 | Upstream-Status: Inappropriate [OE specific] |
| 18 | 18 | ||
| 19 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | 19 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> |
| 20 | |||
| 21 | Added libatomic library explicitly to x86 targets. | ||
| 22 | |||
| 23 | Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> | ||
| 20 | --- | 24 | --- |
| 21 | node.gyp | 13 ++++++++++++- | 25 | node.gyp | 13 ++++++++++++- |
| 22 | tools/v8_gypfiles/v8.gyp | 15 ++++++++++++--- | 26 | tools/v8_gypfiles/v8.gyp | 15 ++++++++++++--- |
| @@ -26,7 +30,7 @@ diff --git a/node.gyp b/node.gyp | |||
| 26 | index b425f443..f296f35c 100644 | 30 | index b425f443..f296f35c 100644 |
| 27 | --- a/node.gyp | 31 | --- a/node.gyp |
| 28 | +++ b/node.gyp | 32 | +++ b/node.gyp |
| 29 | @@ -487,7 +487,18 @@ | 33 | @@ -503,7 +503,18 @@ |
| 30 | ], | 34 | ], |
| 31 | }], | 35 | }], |
| 32 | ['OS=="linux" and clang==1', { | 36 | ['OS=="linux" and clang==1', { |
| @@ -50,7 +54,7 @@ diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp | |||
| 50 | index b23263cf..dcabf4ca 100644 | 54 | index b23263cf..dcabf4ca 100644 |
| 51 | --- a/tools/v8_gypfiles/v8.gyp | 55 | --- a/tools/v8_gypfiles/v8.gyp |
| 52 | +++ b/tools/v8_gypfiles/v8.gyp | 56 | +++ b/tools/v8_gypfiles/v8.gyp |
| 53 | @@ -1100,9 +1100,18 @@ | 57 | @@ -1348,9 +1348,18 @@ |
| 54 | # Platforms that don't have Compare-And-Swap (CAS) support need to link atomic library | 58 | # Platforms that don't have Compare-And-Swap (CAS) support need to link atomic library |
| 55 | # to implement atomic memory access | 59 | # to implement atomic memory access |
| 56 | ['v8_current_cpu in ["mips64", "mips64el", "ppc", "arm", "riscv64", "loong64"]', { | 60 | ['v8_current_cpu in ["mips64", "mips64el", "ppc", "arm", "riscv64", "loong64"]', { |
| @@ -72,6 +76,21 @@ index b23263cf..dcabf4ca 100644 | |||
| 72 | }], | 76 | }], |
| 73 | ], | 77 | ], |
| 74 | }, # v8_base_without_compiler | 78 | }, # v8_base_without_compiler |
| 75 | -- | 79 | diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp |
| 76 | 2.35.5 | 80 | index cb82d4f15bc..65cb123b7bf 100644 |
| 77 | 81 | --- a/tools/v8_gypfiles/v8.gyp | |
| 82 | +++ b/tools/v8_gypfiles/v8.gyp | ||
| 83 | @@ -1820,6 +1820,13 @@ | ||
| 84 | ['enable_lto=="true"', { | ||
| 85 | 'ldflags': [ '-fno-lto' ], | ||
| 86 | }], | ||
| 87 | + # For future patch-rebases: this hunk is in mksnapshot target. | ||
| 88 | + # ia32 includes x86 also | ||
| 89 | + ['v8_target_arch=="ia32"', { | ||
| 90 | + 'link_settings': { | ||
| 91 | + 'libraries': ['-latomic'] | ||
| 92 | + } | ||
| 93 | + }], | ||
| 94 | ], | ||
| 95 | }, # mksnapshot | ||
| 96 | { | ||
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_22.21.1.bb b/meta-oe/recipes-devtools/nodejs/nodejs_22.22.0.bb index ccaf9f7bb2..05fa608047 100644 --- a/meta-oe/recipes-devtools/nodejs/nodejs_22.21.1.bb +++ b/meta-oe/recipes-devtools/nodejs/nodejs_22.22.0.bb | |||
| @@ -31,6 +31,8 @@ SRC_URI = "https://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz \ | |||
| 31 | file://0001-positional-args.patch \ | 31 | file://0001-positional-args.patch \ |
| 32 | file://0001-custom-env.patch \ | 32 | file://0001-custom-env.patch \ |
| 33 | file://0001-build-remove-redundant-mXX-flags-for-V8.patch \ | 33 | file://0001-build-remove-redundant-mXX-flags-for-V8.patch \ |
| 34 | file://0001-fix-arm-Neon-intrinsics-types.patch \ | ||
| 35 | file://0001-detect-aarch64-Neon-correctly.patch \ | ||
| 34 | file://run-ptest \ | 36 | file://run-ptest \ |
| 35 | " | 37 | " |
| 36 | SRC_URI:append:class-target = " \ | 38 | SRC_URI:append:class-target = " \ |
| @@ -39,17 +41,13 @@ SRC_URI:append:class-target = " \ | |||
| 39 | SRC_URI:append:toolchain-clang:powerpc64le = " \ | 41 | SRC_URI:append:toolchain-clang:powerpc64le = " \ |
| 40 | file://0001-ppc64-Do-not-use-mminimal-toc-with-clang.patch \ | 42 | file://0001-ppc64-Do-not-use-mminimal-toc-with-clang.patch \ |
| 41 | " | 43 | " |
| 42 | SRC_URI[sha256sum] = "487d73fd4db00dc2420d659a8221b181a7937fbc5bc73f31c30b1680ad6ded6a" | 44 | SRC_URI[sha256sum] = "4c138012bb5352f49822a8f3e6d1db71e00639d0c36d5b6756f91e4c6f30b683" |
| 43 | 45 | ||
| 44 | S = "${UNPACKDIR}/node-v${PV}" | 46 | S = "${UNPACKDIR}/node-v${PV}" |
| 45 | 47 | ||
| 46 | # v8 errors out if you have set CCACHE | 48 | # v8 errors out if you have set CCACHE |
| 47 | CCACHE = "" | 49 | CCACHE = "" |
| 48 | 50 | ||
| 49 | # Use '-flax-vector-conversions' to permit conversions between vectors | ||
| 50 | # with differing element types or numbers of subparts | ||
| 51 | CFLAGS:append:toolchain-gcc:arm = " -flax-vector-conversions" | ||
| 52 | |||
| 53 | def map_nodejs_arch(a, d): | 51 | def map_nodejs_arch(a, d): |
| 54 | import re | 52 | import re |
| 55 | 53 | ||
| @@ -74,8 +72,8 @@ PACKAGECONFIG ??= "ares brotli icu zlib" | |||
| 74 | PACKAGECONFIG[ares] = "--shared-cares,,c-ares c-ares-native" | 72 | PACKAGECONFIG[ares] = "--shared-cares,,c-ares c-ares-native" |
| 75 | PACKAGECONFIG[brotli] = "--shared-brotli,,brotli brotli-native" | 73 | PACKAGECONFIG[brotli] = "--shared-brotli,,brotli brotli-native" |
| 76 | PACKAGECONFIG[icu] = "--with-intl=system-icu,--without-intl,icu icu-native" | 74 | PACKAGECONFIG[icu] = "--with-intl=system-icu,--without-intl,icu icu-native" |
| 77 | PACKAGECONFIG[libuv] = "--shared-libuv,,libuv" | 75 | PACKAGECONFIG[libuv] = "--shared-libuv,,libuv libuv-native" |
| 78 | PACKAGECONFIG[nghttp2] = "--shared-nghttp2,,nghttp2" | 76 | PACKAGECONFIG[nghttp2] = "--shared-nghttp2,,nghttp2 nghttp2-native" |
| 79 | PACKAGECONFIG[shared] = "--shared" | 77 | PACKAGECONFIG[shared] = "--shared" |
| 80 | PACKAGECONFIG[zlib] = "--shared-zlib,,zlib" | 78 | PACKAGECONFIG[zlib] = "--shared-zlib,,zlib" |
| 81 | 79 | ||
| @@ -96,7 +94,7 @@ python prune_sources() { | |||
| 96 | if 'zlib' in d.getVar('PACKAGECONFIG'): | 94 | if 'zlib' in d.getVar('PACKAGECONFIG'): |
| 97 | shutil.rmtree(d.getVar('S') + '/deps/zlib') | 95 | shutil.rmtree(d.getVar('S') + '/deps/zlib') |
| 98 | } | 96 | } |
| 99 | do_unpack[postfuncs] += "prune_sources" | 97 | do_patch[postfuncs] += "prune_sources" |
| 100 | 98 | ||
| 101 | # V8's JIT infrastructure requires binaries such as mksnapshot and | 99 | # V8's JIT infrastructure requires binaries such as mksnapshot and |
| 102 | # mkpeephole to be run in the host during the build. However, these | 100 | # mkpeephole to be run in the host during the build. However, these |
| @@ -133,8 +131,6 @@ python do_create_v8_qemu_wrapper () { | |||
| 133 | do_create_v8_qemu_wrapper[dirs] = "${B}" | 131 | do_create_v8_qemu_wrapper[dirs] = "${B}" |
| 134 | addtask create_v8_qemu_wrapper after do_configure before do_compile | 132 | addtask create_v8_qemu_wrapper after do_configure before do_compile |
| 135 | 133 | ||
| 136 | LDFLAGS:append:x86 = " -latomic" | ||
| 137 | |||
| 138 | export CC_host | 134 | export CC_host |
| 139 | export CFLAGS_host | 135 | export CFLAGS_host |
| 140 | export CXX_host | 136 | export CXX_host |
diff --git a/meta-oe/recipes-devtools/pahole/files/0001-btf_encoder-Fix-elf_functions-cleanup-on-error.patch b/meta-oe/recipes-devtools/pahole/files/0001-btf_encoder-Fix-elf_functions-cleanup-on-error.patch deleted file mode 100644 index dad5a9646a..0000000000 --- a/meta-oe/recipes-devtools/pahole/files/0001-btf_encoder-Fix-elf_functions-cleanup-on-error.patch +++ /dev/null | |||
| @@ -1,54 +0,0 @@ | |||
| 1 | From 6fa2b7de3e647e64c5d693aea7f3bacbfa964f53 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Ihor Solodari <ihor.solodrai@linux.dev> | ||
| 3 | Date: Wed, 20 Aug 2025 09:00:03 +0100 | ||
| 4 | Subject: [PATCH] btf_encoder: Fix elf_functions cleanup on error | ||
| 5 | |||
| 6 | When elf_functions__new() errors out and jumps to | ||
| 7 | elf_functions__delete(), pahole segfaults on attempt to list_del() the | ||
| 8 | elf_functions instance from a list, to which it was never added. | ||
| 9 | |||
| 10 | Fix this by moving list_del() call out of elf_functions__delete(). | ||
| 11 | Remove from the list only on normal cleanup in | ||
| 12 | elf_functions_list__clear(). | ||
| 13 | |||
| 14 | v1: | ||
| 15 | https://lore.kernel.org/dwarves/979a1ac4-21d3-4384-8ce4-d10f41887088@linux.dev/ | ||
| 16 | |||
| 17 | Closes: | ||
| 18 | https://lore.kernel.org/dwarves/24bcc853-533c-42ab-bc37-0c13e0baa217@windriver.com/ | ||
| 19 | Reported-by: Changqing Li <changqing.li@windriver.com> | ||
| 20 | Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev> | ||
| 21 | Reviewed-by: Arnaldo Carvalho de Melo <acme@redhat.com> | ||
| 22 | Link: https://lore.kernel.org/dwarves/acef4a0e-7d3b-4e05-b3ca-1007580f2754@linux.dev/ | ||
| 23 | Signed-off-by: Alan Maguire <alan.maguire@oracle.com> | ||
| 24 | |||
| 25 | Upstream-Status: Backport [https://git.kernel.org/pub/scm/devel/pahole/pahole.git/commit/?h=next&id=fe6738f4b46b63dcdc5b15b252a014b3eaba16a4] | ||
| 26 | |||
| 27 | Signed-off-by: Changqing Li <changqing.li@windriver.com> | ||
| 28 | --- | ||
| 29 | btf_encoder.c | 2 +- | ||
| 30 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 31 | |||
| 32 | diff --git a/btf_encoder.c b/btf_encoder.c | ||
| 33 | index 511c1ea..2f8c6bb 100644 | ||
| 34 | --- a/btf_encoder.c | ||
| 35 | +++ b/btf_encoder.c | ||
| 36 | @@ -162,7 +162,6 @@ static inline void elf_functions__delete(struct elf_functions *funcs) | ||
| 37 | free(funcs->entries[i].alias); | ||
| 38 | free(funcs->entries); | ||
| 39 | elf_symtab__delete(funcs->symtab); | ||
| 40 | - list_del(&funcs->node); | ||
| 41 | free(funcs); | ||
| 42 | } | ||
| 43 | |||
| 44 | @@ -204,6 +203,7 @@ static inline void elf_functions_list__clear(struct list_head *elf_functions_lis | ||
| 45 | |||
| 46 | list_for_each_safe(pos, tmp, elf_functions_list) { | ||
| 47 | funcs = list_entry(pos, struct elf_functions, node); | ||
| 48 | + list_del(&funcs->node); | ||
| 49 | elf_functions__delete(funcs); | ||
| 50 | } | ||
| 51 | } | ||
| 52 | -- | ||
| 53 | 2.34.1 | ||
| 54 | |||
diff --git a/meta-oe/recipes-devtools/pahole/pahole_1.29.bb b/meta-oe/recipes-devtools/pahole/pahole_1.31.bb index 4f2737767b..62f053b6aa 100644 --- a/meta-oe/recipes-devtools/pahole/pahole_1.29.bb +++ b/meta-oe/recipes-devtools/pahole/pahole_1.31.bb | |||
| @@ -9,10 +9,10 @@ DEPENDS = "elfutils zlib libbpf" | |||
| 9 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 9 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 10 | COMPATIBLE_HOST = "(x86_64|i.86|arm|aarch64|riscv64|powerpc|powerpc64|mips64).*-linux" | 10 | COMPATIBLE_HOST = "(x86_64|i.86|arm|aarch64|riscv64|powerpc|powerpc64|mips64).*-linux" |
| 11 | 11 | ||
| 12 | SRCREV = "b9cc7963051b2099795129450f9b70c81950d02f" | 12 | SRCREV = "1f2805b6eef104df3125143c949b391f6122e5b9" |
| 13 | SRC_URI = "git://git.kernel.org/pub/scm/devel/pahole/pahole.git;branch=master \ | 13 | SRC_URI = "git://git.kernel.org/pub/scm/devel/pahole/pahole.git;branch=master;tag=v${PV} \ |
| 14 | file://0001-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch \ | 14 | file://0001-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch \ |
| 15 | file://0001-btf_encoder-Fix-elf_functions-cleanup-on-error.patch" | 15 | " |
| 16 | 16 | ||
| 17 | 17 | ||
| 18 | inherit cmake pkgconfig | 18 | inherit cmake pkgconfig |
diff --git a/meta-oe/recipes-devtools/pax-utils/pax-utils_1.3.10.bb b/meta-oe/recipes-devtools/pax-utils/pax-utils_1.3.10.bb new file mode 100644 index 0000000000..08dfcb7545 --- /dev/null +++ b/meta-oe/recipes-devtools/pax-utils/pax-utils_1.3.10.bb | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | SUMMARY = "Security-focused ELF files checking tool" | ||
| 2 | DESCRIPTION = "This is a small set of various PaX aware and related \ | ||
| 3 | utilities for ELF binaries. It can check ELF binary files and running \ | ||
| 4 | processes for issues that might be relevant when using ELF binaries \ | ||
| 5 | along with PaX, such as non-PIC code or executable stack and heap." | ||
| 6 | HOMEPAGE = "https://wiki.gentoo.org/wiki/Hardened/PaX_Utilities" | ||
| 7 | LICENSE = "GPL-2.0-or-later" | ||
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a" | ||
| 9 | |||
| 10 | SRC_URI = "git://github.com/gentoo/pax-utils;protocol=https;branch=master;tag=v${PV}" | ||
| 11 | SRCREV = "d279ca563775105859f1f8c8467b8244d758cc62" | ||
| 12 | |||
| 13 | RDEPENDS:${PN} += "bash" | ||
| 14 | |||
| 15 | BBCLASSEXTEND = "native" | ||
| 16 | |||
| 17 | inherit meson pkgconfig | ||
| 18 | |||
| 19 | PACKAGECONFIG ??= "" | ||
| 20 | |||
| 21 | PACKAGECONFIG[libcap] = "-Duse_libcap=enabled, -Duse_libcap=disabled, libcap" | ||
| 22 | PACKAGECONFIG[libseccomp] = "-Duse_seccomp=true, -Duse_seccomp=false, libseccomp" | ||
| 23 | PACKAGECONFIG[pyelftools] = "-Dlddtree_implementation=python, -Dlddtree_implementation=sh,, python3-pyelftools" | ||
| 24 | |||
| 25 | do_install:append(){ | ||
| 26 | if ${@bb.utils.contains('PACKAGECONFIG', 'pyelftools', 'true', 'false', d)}; then | ||
| 27 | sed -i 's,#!/usr/bin/env python,#!/usr/bin/env python3,' ${D}${bindir}/lddtree | ||
| 28 | fi | ||
| 29 | } | ||
| 30 | |||
diff --git a/meta-oe/recipes-devtools/pax-utils/pax-utils_1.3.3.bb b/meta-oe/recipes-devtools/pax-utils/pax-utils_1.3.3.bb deleted file mode 100644 index 4e80ca87ee..0000000000 --- a/meta-oe/recipes-devtools/pax-utils/pax-utils_1.3.3.bb +++ /dev/null | |||
| @@ -1,35 +0,0 @@ | |||
| 1 | SUMMARY = "Security-focused ELF files checking tool" | ||
| 2 | DESCRIPTION = "This is a small set of various PaX aware and related \ | ||
| 3 | utilities for ELF binaries. It can check ELF binary files and running \ | ||
| 4 | processes for issues that might be relevant when using ELF binaries \ | ||
| 5 | along with PaX, such as non-PIC code or executable stack and heap." | ||
| 6 | HOMEPAGE = "http://www.gentoo.org/proj/en/hardened/pax-utils.xml" | ||
| 7 | LICENSE = "GPL-2.0-or-later" | ||
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a" | ||
| 9 | |||
| 10 | SRC_URI = "https://dev.gentoo.org/~vapier/dist/pax-utils-${PV}.tar.xz" | ||
| 11 | SRC_URI[sha256sum] = "eeca7fbd98bc66bead4a77000c2025d9f17ea8201b84245882406ce00b9b6b14" | ||
| 12 | |||
| 13 | RDEPENDS:${PN} += "bash" | ||
| 14 | |||
| 15 | export GNULIB_OVERRIDES_WINT_T = "0" | ||
| 16 | |||
| 17 | do_configure:prepend() { | ||
| 18 | touch ${S}/NEWS ${S}/AUTHORS ${S}/ChangeLog ${S}/README | ||
| 19 | } | ||
| 20 | |||
| 21 | do_install() { | ||
| 22 | oe_runmake PREFIX=${D}${prefix} DESTDIR=${D} install | ||
| 23 | } | ||
| 24 | |||
| 25 | BBCLASSEXTEND = "native" | ||
| 26 | |||
| 27 | inherit autotools pkgconfig | ||
| 28 | |||
| 29 | PACKAGECONFIG ??= "" | ||
| 30 | |||
| 31 | PACKAGECONFIG[libcap] = "--with-caps, --without-caps, libcap" | ||
| 32 | PACKAGECONFIG[libseccomp] = "--with-seccomp, --without-seccomp, libseccomp" | ||
| 33 | PACKAGECONFIG[pyelftools] = "--with-python, --without-python,, python3-pyelftools" | ||
| 34 | |||
| 35 | EXTRA_OECONF += "--enable-largefile" | ||
diff --git a/meta-oe/recipes-devtools/perl/exiftool_13.45.bb b/meta-oe/recipes-devtools/perl/exiftool_13.48.bb index 9feaeb10b1..0ace1e10eb 100644 --- a/meta-oe/recipes-devtools/perl/exiftool_13.45.bb +++ b/meta-oe/recipes-devtools/perl/exiftool_13.48.bb | |||
| @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://perl-Image-ExifTool.spec;beginline=5;endline=5;md5=ff | |||
| 7 | 7 | ||
| 8 | inherit cpan | 8 | inherit cpan |
| 9 | 9 | ||
| 10 | SRCREV = "6219b531484ad790d7fcfa5732d5a9f42ff9e5b7" | 10 | SRCREV = "5a760372fadf23effe370ab5e9ca8e2df9448411" |
| 11 | SRC_URI = "git://github.com/exiftool/exiftool;protocol=https;branch=master;tag=${PV}" | 11 | SRC_URI = "git://github.com/exiftool/exiftool;protocol=https;branch=master;tag=${PV}" |
| 12 | 12 | ||
| 13 | RDEPENDS:${PN} = " \ | 13 | RDEPENDS:${PN} = " \ |
diff --git a/meta-oe/recipes-devtools/php/php_8.5.1.bb b/meta-oe/recipes-devtools/php/php_8.5.3.bb index c3abf58ad5..f4d02dbf22 100644 --- a/meta-oe/recipes-devtools/php/php_8.5.1.bb +++ b/meta-oe/recipes-devtools/php/php_8.5.3.bb | |||
| @@ -12,7 +12,7 @@ DEPENDS:class-native = "zlib-native libxml2-native" | |||
| 12 | 12 | ||
| 13 | PHP_MAJOR_VERSION = "${@d.getVar('PV').split('.')[0]}" | 13 | PHP_MAJOR_VERSION = "${@d.getVar('PV').split('.')[0]}" |
| 14 | 14 | ||
| 15 | SRC_URI = "http://php.net/distributions/php-${PV}.tar.bz2 \ | 15 | SRC_URI = "https://php.net/distributions/php-${PV}.tar.bz2 \ |
| 16 | file://0001-configure.ac-don-t-include-build-libtool.m4.patch \ | 16 | file://0001-configure.ac-don-t-include-build-libtool.m4.patch \ |
| 17 | file://0002-ext-phar-Makefile.frag-Fix-phar-packaging.patch \ | 17 | file://0002-ext-phar-Makefile.frag-Fix-phar-packaging.patch \ |
| 18 | " | 18 | " |
| @@ -32,7 +32,7 @@ UPSTREAM_CHECK_REGEX = "releases/tag/php-(?P<pver>\d+(\.\d+)+)" | |||
| 32 | 32 | ||
| 33 | S = "${UNPACKDIR}/php-${PV}" | 33 | S = "${UNPACKDIR}/php-${PV}" |
| 34 | 34 | ||
| 35 | SRC_URI[sha256sum] = "55f428c426e7241752ea9afff160bb64c32a9321cbd6d17d1c145b8df8823737" | 35 | SRC_URI[sha256sum] = "fc5ecabc183ceb64d9fca3dcd387bd29b2b67448326af998fde003124916823b" |
| 36 | 36 | ||
| 37 | CVE_STATUS_GROUPS += "CVE_STATUS_PHP" | 37 | CVE_STATUS_GROUPS += "CVE_STATUS_PHP" |
| 38 | CVE_STATUS_PHP[status] = "fixed-version: The name of this product is exactly the same as github.com/emlog/emlog. CVE can be safely ignored." | 38 | CVE_STATUS_PHP[status] = "fixed-version: The name of this product is exactly the same as github.com/emlog/emlog. CVE can be safely ignored." |
diff --git a/meta-oe/recipes-devtools/protobuf/protobuf/0001-Fix-build-on-mips-clang.patch b/meta-oe/recipes-devtools/protobuf/protobuf/0001-Fix-build-on-mips-clang.patch deleted file mode 100644 index 1f5c9127de..0000000000 --- a/meta-oe/recipes-devtools/protobuf/protobuf/0001-Fix-build-on-mips-clang.patch +++ /dev/null | |||
| @@ -1,34 +0,0 @@ | |||
| 1 | From cd6c5f36c0dc38e4734b74b03923489b7bfb9aba Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Mon, 10 Mar 2025 19:59:19 -0700 | ||
| 4 | Subject: [PATCH] Fix build on mips/clang | ||
| 5 | |||
| 6 | clang20 crashes on mips, until its fixed upstream disable tailcall on | ||
| 7 | mips | ||
| 8 | |||
| 9 | https://github.com/llvm/llvm-project/issues/51709 | ||
| 10 | |||
| 11 | Upstream-Status: Inappropriate [Clang workaround] | ||
| 12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 13 | |||
| 14 | Rebase to v5.29.4 | ||
| 15 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
| 16 | --- | ||
| 17 | src/google/protobuf/port_def.inc | 1 + | ||
| 18 | 1 file changed, 1 insertion(+) | ||
| 19 | |||
| 20 | diff --git a/src/google/protobuf/port_def.inc b/src/google/protobuf/port_def.inc | ||
| 21 | index 56f995e45..428d096b3 100644 | ||
| 22 | --- a/src/google/protobuf/port_def.inc | ||
| 23 | +++ b/src/google/protobuf/port_def.inc | ||
| 24 | @@ -227,6 +227,7 @@ static_assert(PROTOBUF_ABSL_MIN(20230125, 3), | ||
| 25 | #error PROTOBUF_TAILCALL was previously defined | ||
| 26 | #endif | ||
| 27 | #if ABSL_HAVE_CPP_ATTRIBUTE(clang::musttail) && !defined(__arm__) && \ | ||
| 28 | + !defined(__mips__) && \ | ||
| 29 | !defined(_ARCH_PPC) && !defined(__wasm__) && \ | ||
| 30 | !(defined(_MSC_VER) && defined(_M_IX86)) && !defined(__i386__) | ||
| 31 | // Compilation fails on ARM32: b/195943306 | ||
| 32 | -- | ||
| 33 | 2.25.1 | ||
| 34 | |||
diff --git a/meta-oe/recipes-devtools/protobuf/protobuf/0001-fix-protobuf-native-build-failure-with-gcc-10.patch b/meta-oe/recipes-devtools/protobuf/protobuf/0001-fix-protobuf-native-build-failure-with-gcc-10.patch index 2edba6b7eb..788db3e406 100644 --- a/meta-oe/recipes-devtools/protobuf/protobuf/0001-fix-protobuf-native-build-failure-with-gcc-10.patch +++ b/meta-oe/recipes-devtools/protobuf/protobuf/0001-fix-protobuf-native-build-failure-with-gcc-10.patch | |||
| @@ -30,9 +30,9 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt | |||
| 30 | index e90cb8aa2..3ffac1307 100644 | 30 | index e90cb8aa2..3ffac1307 100644 |
| 31 | --- a/CMakeLists.txt | 31 | --- a/CMakeLists.txt |
| 32 | +++ b/CMakeLists.txt | 32 | +++ b/CMakeLists.txt |
| 33 | @@ -14,6 +14,10 @@ endif() | 33 | @@ -18,6 +18,10 @@ if(CMAKE_CXX_STANDARD AND CMAKE_CXX_STANDARD LESS 17) |
| 34 | # Project | 34 | message(FATAL_ERROR "The minimum supported C++ standard is C++ 17") |
| 35 | project(protobuf C CXX) | 35 | endif() |
| 36 | 36 | ||
| 37 | +set(CMAKE_CXX_STANDARD 17) | 37 | +set(CMAKE_CXX_STANDARD 17) |
| 38 | +set(CMAKE_CXX_STANDARD_REQUIRED ON) | 38 | +set(CMAKE_CXX_STANDARD_REQUIRED ON) |
diff --git a/meta-oe/recipes-devtools/protobuf/protobuf_6.31.1.bb b/meta-oe/recipes-devtools/protobuf/protobuf_6.33.5.bb index 37b26b610d..66c9c24473 100644 --- a/meta-oe/recipes-devtools/protobuf/protobuf_6.31.1.bb +++ b/meta-oe/recipes-devtools/protobuf/protobuf_6.33.5.bb | |||
| @@ -10,22 +10,26 @@ LIC_FILES_CHKSUM = " \ | |||
| 10 | file://third_party/utf8_range/LICENSE;md5=d4974d297231477b2ff507c35d61c13c \ | 10 | file://third_party/utf8_range/LICENSE;md5=d4974d297231477b2ff507c35d61c13c \ |
| 11 | " | 11 | " |
| 12 | 12 | ||
| 13 | PROTOC_VERSION = "v${@d.getVar('PV').split('.', 1)[1]}" | ||
| 14 | PROTOC_BRANCH = "${@d.getVar('PV').split('.', 2)[1]}.x" | ||
| 15 | |||
| 13 | DEPENDS = "zlib abseil-cpp jsoncpp" | 16 | DEPENDS = "zlib abseil-cpp jsoncpp" |
| 14 | DEPENDS:append:class-target = " protobuf-native" | 17 | DEPENDS:append:class-target = " protobuf-native" |
| 15 | 18 | ||
| 16 | SRCREV = "74211c0dfc2777318ab53c2cd2c317a2ef9012de" | 19 | SRCREV = "b6f9284da830b69be787732ffdaa35049d20a088" |
| 17 | 20 | ||
| 18 | SRC_URI = "git://github.com/protocolbuffers/protobuf.git;branch=31.x;protocol=https \ | 21 | SRC_URI = "git://github.com/protocolbuffers/protobuf.git;branch=${PROTOC_BRANCH};protocol=https;tag=${PROTOC_VERSION} \ |
| 19 | file://run-ptest \ | 22 | file://run-ptest \ |
| 20 | file://0001-examples-Makefile-respect-CXX-LDFLAGS-variables-fix-.patch \ | 23 | file://0001-examples-Makefile-respect-CXX-LDFLAGS-variables-fix-.patch \ |
| 21 | file://0001-fix-protobuf-native-build-failure-with-gcc-10.patch \ | 24 | file://0001-fix-protobuf-native-build-failure-with-gcc-10.patch \ |
| 22 | " | 25 | " |
| 23 | SRC_URI:append:mipsarcho32:toolchain-clang = " file://0001-Fix-build-on-mips-clang.patch " | ||
| 24 | 26 | ||
| 25 | UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d\.\d+\.\d+)" | 27 | UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d\.\d+\.\d+)" |
| 26 | 28 | ||
| 27 | CVE_PRODUCT = "google:protobuf protobuf:protobuf google-protobuf protobuf-cpp" | 29 | CVE_PRODUCT = "google:protobuf protobuf:protobuf google-protobuf protobuf-cpp" |
| 28 | 30 | ||
| 31 | CVE_STATUS[CVE-2026-0994] = "cpe-incorrect: the vulnerability affects only python3-protobuf recipe" | ||
| 32 | |||
| 29 | inherit cmake pkgconfig ptest | 33 | inherit cmake pkgconfig ptest |
| 30 | 34 | ||
| 31 | PACKAGECONFIG ??= "" | 35 | PACKAGECONFIG ??= "" |
| @@ -70,6 +74,7 @@ do_compile_ptest() { | |||
| 70 | # Adapt uf8_range.pc | 74 | # Adapt uf8_range.pc |
| 71 | cp "${B}/third_party/utf8_range/utf8_range.pc" "${B}/${TEST_SRC_DIR}/utf8_range.pc" | 75 | cp "${B}/third_party/utf8_range/utf8_range.pc" "${B}/${TEST_SRC_DIR}/utf8_range.pc" |
| 72 | sed -e 's|libdir=|libdir=${PKG_CONFIG_SYSROOT_DIR}|' -i "${B}/${TEST_SRC_DIR}/utf8_range.pc" | 76 | sed -e 's|libdir=|libdir=${PKG_CONFIG_SYSROOT_DIR}|' -i "${B}/${TEST_SRC_DIR}/utf8_range.pc" |
| 77 | sed -e 's|includedir=.*|includedir=${S}/third_party/utf8_range|' -i "${B}/${TEST_SRC_DIR}/utf8_range.pc" | ||
| 73 | sed -e 's|Libs:|Libs= -L${B}/third_party/utf8_range |' -i "${B}/${TEST_SRC_DIR}/utf8_range.pc" | 78 | sed -e 's|Libs:|Libs= -L${B}/third_party/utf8_range |' -i "${B}/${TEST_SRC_DIR}/utf8_range.pc" |
| 74 | # Until out-of-tree build of examples is supported, we have to use this approach | 79 | # Until out-of-tree build of examples is supported, we have to use this approach |
| 75 | sed -e 's|../src/google/protobuf/.libs/timestamp.pb.o|${B}/CMakeFiles/libprotobuf.dir/src/google/protobuf/timestamp.pb.cc.o|' -i "${B}/${TEST_SRC_DIR}/Makefile" | 80 | sed -e 's|../src/google/protobuf/.libs/timestamp.pb.o|${B}/CMakeFiles/libprotobuf.dir/src/google/protobuf/timestamp.pb.cc.o|' -i "${B}/${TEST_SRC_DIR}/Makefile" |
diff --git a/meta-oe/recipes-devtools/python/python3-psycopg_3.3.2.bb b/meta-oe/recipes-devtools/python/python3-psycopg_3.3.3.bb index 5ca565504a..d6df529686 100644 --- a/meta-oe/recipes-devtools/python/python3-psycopg_3.3.2.bb +++ b/meta-oe/recipes-devtools/python/python3-psycopg_3.3.3.bb | |||
| @@ -7,7 +7,7 @@ features offered by PostgreSQL." | |||
| 7 | LICENSE = "LGPL-3.0-only" | 7 | LICENSE = "LGPL-3.0-only" |
| 8 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3000208d539ec061b899bce1d9ce9404" | 8 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3000208d539ec061b899bce1d9ce9404" |
| 9 | 9 | ||
| 10 | SRC_URI[sha256sum] = "707a67975ee214d200511177a6a80e56e654754c9afca06a7194ea6bbfde9ca7" | 10 | SRC_URI[sha256sum] = "5e9a47458b3c1583326513b2556a2a9473a1001a56c9efe9e587245b43148dd9" |
| 11 | 11 | ||
| 12 | inherit pypi python_setuptools_build_meta | 12 | inherit pypi python_setuptools_build_meta |
| 13 | 13 | ||
diff --git a/meta-oe/recipes-devtools/valijson/valijson_1.0.6.bb b/meta-oe/recipes-devtools/valijson/valijson_1.1.0.bb index 4e5f02746c..b7e45c3057 100644 --- a/meta-oe/recipes-devtools/valijson/valijson_1.0.6.bb +++ b/meta-oe/recipes-devtools/valijson/valijson_1.1.0.bb | |||
| @@ -4,7 +4,7 @@ LICENSE = "BSD-2-Clause" | |||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=5c4583a434195e4f3b418e17c8ca2daf" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=5c4583a434195e4f3b418e17c8ca2daf" |
| 5 | 5 | ||
| 6 | SRC_URI = "git://github.com/tristanpenman/valijson.git;branch=master;protocol=https;tag=v${PV}" | 6 | SRC_URI = "git://github.com/tristanpenman/valijson.git;branch=master;protocol=https;tag=v${PV}" |
| 7 | SRCREV = "4edda758546436462da479bb8c8514f8a95c35ad" | 7 | SRCREV = "b12841e3fa23a8cc477179face0a5ce5f80b64ab" |
| 8 | 8 | ||
| 9 | 9 | ||
| 10 | inherit cmake | 10 | inherit cmake |
