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 --- config/debug/dmalloc.in | 1 + 1 file changed, 1 insertion(+) (limited to 'config/debug/dmalloc.in') diff --git a/config/debug/dmalloc.in b/config/debug/dmalloc.in index fd3b49aa..aae0e6ed 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... -- cgit v1.2.3