ceb51d1463
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>
12 lines
340 B
Plaintext
12 lines
340 B
Plaintext
config BR2_PACKAGE_BDWGC
|
|
bool "bdwgc"
|
|
depends on BR2_USE_MMU # madvise()
|
|
depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS
|
|
select BR2_PACKAGE_LIBATOMIC_OPS
|
|
help
|
|
The Boehm-Demers-Weiser conservative garbage collector can
|
|
be used as a garbage collecting replacement for C 'malloc'
|
|
or C++ 'new'.
|
|
|
|
https://www.hboehm.info/gc/
|