package/liburing: Configure liburing with --use-libc
PATCH 1/1 package/liburing: Configure liburing with --use-libc
liburing requires libc when building for any architecture that doesn't have built-in syscall support (that is currently any architecture other than x86 and aarch64). Configure liburing with --use-libc to allow these other architectures to compile.
--- package/liburing/liburing.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/liburing/liburing.mk +1 -1
@@ -22,7 +22,7 @@ LIBURING_MAKE_OPTS += ENABLE_SHARED=1 endif define LIBURING_CONFIGURE_CMDS - (cd $(@D); $(TARGET_CONFIGURE_OPTS) ./configure) + (cd $(@D); $(TARGET_CONFIGURE_OPTS) ./configure --use-libc) endef define LIBURING_BUILD_CMDS
---
base-commit: 696703dc5ae7c2a5fa637c76190665791869692a
change-id: 20250331-fix_liburing_arch-046088894564
Signature · 6 lines
- Charlie _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Hello Charlie,
Quoted 7 lines · Charlie Jenkins
liburing requires libc when building for any architecture that doesn't have built-in syscall support (that is currently any architecture other than x86 and aarch64). Configure liburing with --use-libc to allow these other architectures to compile.
Signed-off-by Charlie Jenkins <[email protected]>Fixes 70e3b5a800f8 ("package/liburing: bump to version 2.5")
Sorry for the super long delay in getting back to you. However, it seems like the issue doesn't exist anymore. First the nolibc mode exists for RISC-V 64-bit now, and enabling libc seems to be done automatically on other architectures. I can happily build liburing on say PowerPC 64 for example. Also our autobuilders are not reporting any issues.
Building on RISC-V 64-bit, which has nolibc support shows:
nolibc yes
during the configure step.
Building for PowerPC 64 build:
nolibc no
So I believe your patch is no longer needed.
Best regards,
Thomas
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot