Changelogs: v1.5.5: https://github.com/xdp-project/xdp-tools/releases/tag/v1.5.5 v1.5.6: https://github.com/xdp-project/xdp-tools/releases/tag/v1.5.6 v1.5.7: https://github.com/xdp-project/xdp-tools/releases/tag/v1.5.7 v1.5.8: https://github.com/xdp-project/xdp-tools/releases/tag/v1.5.8 v1.6.0: https://github.com/xdp-project/xdp-tools/releases/tag/v1.6.0 v1.6.1: https://github.com/xdp-project/xdp-tools/releases/tag/v1.6.1
Signed-off-by: Ryan Eatmon <[email protected]> --- v2: Added patch for 32bit compile errors. ...0001-xdpsock-Fix-32bit-compile-error.patch | 42 +++++++++++++++++++ ...rago_1.5.4.bb => xdp-tools-arago_1.6.1.bb} | 3 +- 2 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 meta-arago-test/recipes-support/xdp-tools/xdp-tools-arago/0001-xdpsock-Fix-32bit-compile-error.patch rename meta-arago-test/recipes-support/xdp-tools/{xdp-tools-arago_1.5.4.bb => xdp-tools-arago_1.6.1.bb} (94%) diff --git a/meta-arago-test/recipes-support/xdp-tools/xdp-tools-arago/0001-xdpsock-Fix-32bit-compile-error.patch b/meta-arago-test/recipes-support/xdp-tools/xdp-tools-arago/0001-xdpsock-Fix-32bit-compile-error.patch new file mode 100644 index 00000000..da439bf1 --- /dev/null +++ b/meta-arago-test/recipes-support/xdp-tools/xdp-tools-arago/0001-xdpsock-Fix-32bit-compile-error.patch @@ -0,0 +1,42 @@ +From 9b649be4876a3e42c44e57013840904006530e52 Mon Sep 17 00:00:00 2001 +From: Ryan Eatmon <[email protected]> +Date: Tue, 17 Feb 2026 15:11:18 -0600 +Subject: [PATCH] xdpsock: Fix 32bit compile error + +Using UINT64_MAX on a 32bit machine results in a compile error where +unsigned long cannot be cast to an unsigned long long. Since this is +trying to handle an error case and return a big number, switch to +ULONG_MAX to match the type being returned regardless of the compiler +bits (32/64). + +Upstream-Status: Submitted [https://github.com/xdp-project/xdp-tools/pull/553] + +Signed-off-by: Ryan Eatmon <[email protected]> +--- + lib/util/xdpsock.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/lib/util/xdpsock.c b/lib/util/xdpsock.c +index 5d71e6a..899c3a3 100644 +--- a/lib/util/xdpsock.c ++++ b/lib/util/xdpsock.c +@@ -35,6 +35,7 @@ + #include <time.h> + #include <unistd.h> + #include <sched.h> ++#include <limits.h> + + #include <xdp/xsk.h> + #include <xdp/libxdp.h> +@@ -171,7 +172,7 @@ static unsigned long get_nsecs(clockid_t clock) + res = clock_gettime(clock, &ts); + if (res < 0) { + pr_warn("Error with gettimeofday! (%i)\n", res); +- return UINT64_MAX; ++ return ULONG_MAX; + } + return ts.tv_sec * 1000000000UL + ts.tv_nsec; + } +-- +2.43.0 + diff --git a/meta-arago-test/recipes-support/xdp-tools/xdp-tools-arago_1.5.4.bb b/meta-arago-test/recipes-support/xdp-tools/xdp-tools-arago_1.6.1.bb similarity index 94% rename from meta-arago-test/recipes-support/xdp-tools/xdp-tools-arago_1.5.4.bb rename to meta-arago-test/recipes-support/xdp-tools/xdp-tools-arago_1.6.1.bb index 12b42c90..e25ae146 100644 --- a/meta-arago-test/recipes-support/xdp-tools/xdp-tools-arago_1.5.4.bb +++ b/meta-arago-test/recipes-support/xdp-tools/xdp-tools-arago_1.6.1.bb @@ -15,9 +15,10 @@ SRC_URI = "git://github.com/xdp-project/xdp-tools.git;protocol=https;branch=main file://0003-Makefile-fix-KeyError-failure.patch \ file://0004-Makefile-fix-libxdp.pc-error.patch \ file://0001-defines.mk-Add-missing-prefix-map-settings-for-OE-bu.patch \ + file://0001-xdpsock-Fix-32bit-compile-error.patch \ " -SRCREV = "e78d8d23bb80f221dd6b6970ff5a44aaf4717114" +SRCREV = "84906a0fe98cbb5e5eaa2c888c50a1ab32d5d0b7" inherit pkgconfig -- 2.43.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#17112): https://lists.yoctoproject.org/g/meta-arago/message/17112 Mute This Topic: https://lists.yoctoproject.org/mt/117865158/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
