Control: tags 1139198 + patch
Control: tags 1139198 + pending
Control: tags 1140611 + pending

Dear maintainer,

I've prepared an NMU for rdma-core (versioned as 63.0-1.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should cancel it.

Cheers
-- 
Sebastian Ramacher
diffstat for rdma-core-63.0 rdma-core-63.0

 changelog                                     |   10 +++++++
 patches/fix-arm-lfs64-duplicate-symbols.patch |   37 ++++++++++++++++++++++++++
 patches/series                                |    1 
 3 files changed, 48 insertions(+)

diff -Nru rdma-core-63.0/debian/changelog rdma-core-63.0/debian/changelog
--- rdma-core-63.0/debian/changelog	2026-05-06 17:26:34.000000000 +0200
+++ rdma-core-63.0/debian/changelog	2026-06-24 22:02:48.000000000 +0200
@@ -1,3 +1,13 @@
+rdma-core (63.0-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload
+
+  [ Sascha Steinbiss ]
+  * Fix duplicate symbols for fcntl64/sendfile64 when building for ARM
+    with _TIME_BITS=64 (Closes: #1139198, #1140611).
+
+ -- Sebastian Ramacher <[email protected]>  Wed, 24 Jun 2026 22:02:48 +0200
+
 rdma-core (63.0-1) unstable; urgency=medium
 
   [ Benjamin Drung ]
diff -Nru rdma-core-63.0/debian/patches/fix-arm-lfs64-duplicate-symbols.patch rdma-core-63.0/debian/patches/fix-arm-lfs64-duplicate-symbols.patch
--- rdma-core-63.0/debian/patches/fix-arm-lfs64-duplicate-symbols.patch	1970-01-01 01:00:00.000000000 +0100
+++ rdma-core-63.0/debian/patches/fix-arm-lfs64-duplicate-symbols.patch	2026-06-24 22:01:24.000000000 +0200
@@ -0,0 +1,37 @@
+Description: Fix duplicate symbols for fcntl64/sendfile64 on ARM with _TIME_BITS=64
+Author: Sascha Steinbiss <[email protected]>
+
+--- a/librdmacm/preload.c
++++ b/librdmacm/preload.c
+@@ -1186,6 +1186,7 @@
+ }
+ 
+ #if RDMA_PRELOAD_WRAP_LFS64
++#if !RDMA_PRELOAD_FCNTL64_IN_HEADER
+ int fcntl64(int socket, int cmd, ... /* arg */)
+ {
+ 	va_list args;
+@@ -1226,6 +1227,7 @@
+ 	return ret;
+ }
+ #endif
++#endif
+ 
+ int dup(int oldfd)
+ {
+@@ -1311,6 +1313,7 @@
+ }
+ 
+ #if RDMA_PRELOAD_WRAP_LFS64
++#if !RDMA_PRELOAD_SENDFILE64_IN_HEADER
+ ssize_t sendfile64(int out_fd, int in_fd, off64_t *offset64, size_t count)
+ {
+ 	void *file_addr;
+@@ -1331,6 +1334,7 @@
+ 	return ret;
+ }
+ #endif
++#endif
+ 
+ int __fxstat(int ver, int socket, struct stat *buf)
+ {
diff -Nru rdma-core-63.0/debian/patches/series rdma-core-63.0/debian/patches/series
--- rdma-core-63.0/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ rdma-core-63.0/debian/patches/series	2026-06-24 22:01:24.000000000 +0200
@@ -0,0 +1 @@
+fix-arm-lfs64-duplicate-symbols.patch

Reply via email to