package/rdma-core: needs NPTL
PATCH 1/1 package/rdma-core: needs NPTL
rdma-core unconditionally uses pthread_spin_lock since its addition in commit ea47e177f093d7378e8e8e1f50d6f4e3fce0a088 resulting in the following build failure:
/home/autobuild/autobuild/instance-9/output-1/host/lib/gcc/sh4-buildroot-linux-uclibc/12.2.0/../../../../sh4-buildroot-linux-uclibc/bin/ld: CMakeFiles/hfi1verbs-rdmav34.dir/verbs.c.o: in function `post_recv':
verbs.c:(.text+0xc4): undefined reference to `pthread_spin_lock'
Fixes:
- http://autobuild.buildroot.org/results/a943e03b79c4cc328b7712046ecff09706045f81
--- package/rdma-core/Config.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
package/rdma-core/Config.in +3 -3
@@ -4,7 +4,7 @@ config BR2_PACKAGE_RDMA_CORE depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 # iproute2 depends on !BR2_STATIC_LIBS # dlopen() - depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL select BR2_PACKAGE_IPROUTE2 # runtime select BR2_PACKAGE_LIBNL help
@@ -13,8 +13,8 @@ config BR2_PACKAGE_RDMA_CORE https://github.com/linux-rdma/rdma-core -comment "rdma-core needs a toolchain w/ headers >= 3.4, threads, dynamic library" +comment "rdma-core needs a toolchain w/ headers >= 3.4, NPTL, dynamic library" depends on BR2_USE_MMU depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 \ - || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS + || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
Signature · 6 lines
2.39.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Arnout Vandecappelle
AppliedQuoted 11 lines · Fabrice Fontaine
rdma-core unconditionally uses
pthread_spin_locksince its addition in commitea47e177f093d7378e8e8e1f50d6f4e3fce0a088resulting in the following build failure:
/home/autobuild/autobuild/instance-9/output-1/host/lib/gcc/sh4-buildroot-linux-uclibc/12.2.0/../../../../sh4-buildroot-linux-uclibc/bin/ld:CMakeFiles/hfi1verbs-rdmav34.dir/verbs.c.o: in function `post_recv':
verbs.c:(.text+0xc4): undefined reference to `pthread_spin_lock'Fixes:
- http://autobuild.buildroot.org/results/a943e03b79c4cc328b7712046ecff09706045f81Signed-off-by Fabrice Fontaine <[email protected]>
Applied to master, thanks.
Regards,
Arnout
Quoted 18 lines
--- package/rdma-core/Config.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)package/rdma-core/Config.in +1
-1@@ -4,7 +4,7 @@ config BR2_PACKAGE_RDMA_CORE depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 # iproute2 depends on !BR2_STATIC_LIBS # dlopen() - depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL select BR2_PACKAGE_IPROUTE2 # runtime select BR2_PACKAGE_LIBNL help
package/rdma-core/Config.in config BR2_PACKAGE_RDMA_CORE · line 20
Quoted 10 lines
package/rdma-core/Config.in +2
-2@@ -13,8 +13,8 @@ config BR2_PACKAGE_RDMA_CORE https://github.com/linux-rdma/rdma-core -comment "rdma-core needs a toolchain w/ headers >= 3.4, threads, dynamic library" +comment "rdma-core needs a toolchain w/ headers >= 3.4, NPTL, dynamic library" depends on BR2_USE_MMU depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 \ - || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS + || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot