kumquat-buildroot/package/bdwgc/Config.in
Fabrice Fontaine ceb51d1463 package/bdwgc: needs MMU
Fix the following build failure raise since bump to version 8.2.2 in
commit d761968255 and
9d8c196268:

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>
2022-11-05 22:47:12 +01:00

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/