mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-19 16:40:46 -09:00
package/liburing: needs MMU
liburing needs MMU since its addition in commit03ca6f4e39: setup.c: In function 'io_uring_ring_dontfork': setup.c:119:8: warning: implicit declaration of function 'madvise'; did you mean 'raise'? [-Wimplicit-function-declaration] 119 | ret = madvise(ring->sq.sqes, len, MADV_DONTFORK); | ^~~~~~~ | raise Fixes: - http://autobuild.buildroot.org/results/33f3c58e98daab07139b4f400b85f87c0e314240 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com> (cherry picked from commitb5f07f62eb) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
5f5d54f0cf
commit
74ebf87011
@@ -1,5 +1,6 @@
|
|||||||
config BR2_PACKAGE_LIBURING
|
config BR2_PACKAGE_LIBURING
|
||||||
bool "liburing"
|
bool "liburing"
|
||||||
|
depends on BR2_USE_MMU # madvise()
|
||||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C11/stdatomic.h
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C11/stdatomic.h
|
||||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1
|
||||||
help
|
help
|
||||||
@@ -11,5 +12,6 @@ config BR2_PACKAGE_LIBURING
|
|||||||
https://git.kernel.dk/cgit/liburing
|
https://git.kernel.dk/cgit/liburing
|
||||||
|
|
||||||
comment "liburing needs a toolchain w/ gcc >= 4.9, headers >= 5.1"
|
comment "liburing needs a toolchain w/ gcc >= 4.9, headers >= 5.1"
|
||||||
|
depends on BR2_USE_MMU
|
||||||
depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
|
depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
|
||||||
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1
|
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1
|
||||||
|
|||||||
Reference in New Issue
Block a user