From 5e491661402db061dc8c2f276ea7b895ef589592 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Mon, 28 Nov 2016 23:40:37 -0800 Subject: Disallow dmalloc for bare metal. In case of bare metal, newlib is built without any syscalls, and dmalloc fails to link with undefined references to _exit, fstat, open, sbrk and so on. Same for DUMA: depends on , not available with newlib. Signed-off-by: Alexey Neyman diff --git a/config/debug/dmalloc.in b/config/debug/dmalloc.in index fd3b49a..aae0e6e 100644 --- a/config/debug/dmalloc.in +++ b/config/debug/dmalloc.in @@ -1,6 +1,7 @@ # dmalloc debug facility ## depends on ! BACKEND +## depends on ! BARE_METAL ## ## help dmalloc helps tracking memory allocation mis-usage ## help such as double-free, use-after-free... diff --git a/config/debug/duma.in b/config/debug/duma.in index 35f9e09..5f08087 100644 --- a/config/debug/duma.in +++ b/config/debug/duma.in @@ -1,6 +1,7 @@ # D.U.M.A. - Detect Unintended Memory Access - Memory checker ## depends on ! BACKEND +## depends on ! BARE_METAL ## help D.U.M.A. - Detect Unintended Memory Access ## help A memory bound checker, with additional features. -- cgit v0.10.2-6-g49f6