mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-23 13:33:28 +08:00
package/bdwgc: needs MMU
Fix the following build failure raise since bump to version 8.2.2 in commitd761968255
and9d8c196268
: os_dep.c: In function 'block_unmap_inner': os_dep.c:2668:17: warning: implicit declaration of function 'madvise'; did you mean 'raise'? [-Wimplicit-function-declaration] 2668 | if (madvise(start_addr, len, MADV_DONTNEED) == -1) | ^~~~~~~ | raise Fixes: - http://autobuild.buildroot.org/results/2b9924cb8c36a75e1ca7aefe83e95dc11c10ded6 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
94e47000c2
commit
ceb51d1463
@ -1,5 +1,6 @@
|
|||||||
config BR2_PACKAGE_BDWGC
|
config BR2_PACKAGE_BDWGC
|
||||||
bool "bdwgc"
|
bool "bdwgc"
|
||||||
|
depends on BR2_USE_MMU # madvise()
|
||||||
depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS
|
depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS
|
||||||
select BR2_PACKAGE_LIBATOMIC_OPS
|
select BR2_PACKAGE_LIBATOMIC_OPS
|
||||||
help
|
help
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
config BR2_PACKAGE_GUILE
|
config BR2_PACKAGE_GUILE
|
||||||
bool "guile"
|
bool "guile"
|
||||||
|
depends on BR2_USE_MMU # bdwgc
|
||||||
depends on !BR2_TOOLCHAIN_USES_MUSL # no strtol_l
|
depends on !BR2_TOOLCHAIN_USES_MUSL # no strtol_l
|
||||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||||
depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS # bdwgc
|
depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS # bdwgc
|
||||||
@ -17,5 +18,6 @@ config BR2_PACKAGE_GUILE
|
|||||||
http://www.gnu.org/software/guile
|
http://www.gnu.org/software/guile
|
||||||
|
|
||||||
comment "guile needs a uClibc or glibc toolchain w/ threads, wchar, dynamic library"
|
comment "guile needs a uClibc or glibc toolchain w/ threads, wchar, dynamic library"
|
||||||
|
depends on BR2_USE_MMU
|
||||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \
|
||||||
BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL
|
BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL
|
||||||
|
@ -3,6 +3,7 @@ config BR2_PACKAGE_POKE
|
|||||||
depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS # bdwgc
|
depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS # bdwgc
|
||||||
depends on BR2_USE_WCHAR # needs wctomb
|
depends on BR2_USE_WCHAR # needs wctomb
|
||||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||||
|
depends on BR2_USE_MMU # bdwgc
|
||||||
select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # less
|
select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # less
|
||||||
select BR2_PACKAGE_BDWGC
|
select BR2_PACKAGE_BDWGC
|
||||||
select BR2_PACKAGE_LESS # runtime
|
select BR2_PACKAGE_LESS # runtime
|
||||||
@ -25,4 +26,5 @@ config BR2_PACKAGE_POKE
|
|||||||
|
|
||||||
comment "poke needs a toolchain w/ NPTL, wchar"
|
comment "poke needs a toolchain w/ NPTL, wchar"
|
||||||
depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS
|
depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS
|
||||||
|
depends on BR2_USE_MMU
|
||||||
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_USE_WCHAR
|
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_USE_WCHAR
|
||||||
|
Loading…
Reference in New Issue
Block a user