* [Buildroot] [PATCH] package/liburing: Configure liburing with --use-libc
@ 2025-04-01 1:13 Charlie Jenkins
2026-05-30 20:27 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Charlie Jenkins @ 2025-04-01 1:13 UTC (permalink / raw)
To: buildroot; +Cc: Fabrice Fontaine, 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 <charlie@rivosinc.com>
Fixes: 70e3b5a800f8 ("package/liburing: bump to version 2.5")
---
package/liburing/liburing.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/liburing/liburing.mk b/package/liburing/liburing.mk
index fc3993b38cdd32f589a47c16d6963e87c175a7f8..0bdcc79ee85167788c03ecfc4545777c49d37ac9 100644
--- a/package/liburing/liburing.mk
+++ b/package/liburing/liburing.mk
@@ -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
--
- Charlie
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH] package/liburing: Configure liburing with --use-libc
2025-04-01 1:13 [Buildroot] [PATCH] package/liburing: Configure liburing with --use-libc Charlie Jenkins
@ 2026-05-30 20:27 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-05-30 20:27 UTC (permalink / raw)
To: Charlie Jenkins; +Cc: buildroot, Fabrice Fontaine
Hello Charlie,
On Mon, Mar 31, 2025 at 06:13:16PM -0700, Charlie Jenkins wrote:
> 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 <charlie@rivosinc.com>
> 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
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-05-30 20:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-01 1:13 [Buildroot] [PATCH] package/liburing: Configure liburing with --use-libc Charlie Jenkins
2026-05-30 20:27 ` Thomas Petazzoni via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox