From 656cdc367e6f2bfba4316d605a5de27c82880473 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Thu, 17 Apr 2014 23:43:51 +0200 Subject: [PATCH] dmalloc: disable on Microblaze with debugging symbols There is a Microblaze compiler issue when debugging symbols are enabled, causing assembler errors "Error: operation combines symbols in different segments". This commit prevents this situation from happening. Fixes: http://autobuild.buildroot.org/results/d97/d9727e453d7c7c982ce32db5efd455496966e211/ Signed-off-by: Thomas Petazzoni --- package/dmalloc/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/dmalloc/Config.in b/package/dmalloc/Config.in index 315f6cab66..03d9f975f3 100644 --- a/package/dmalloc/Config.in +++ b/package/dmalloc/Config.in @@ -1,5 +1,9 @@ config BR2_PACKAGE_DMALLOC bool "dmalloc" + # On some packages, Microblaze gcc has issues when debugging + # symbols are enabled: "Error: operation combines symbols in + # different segments". + depends on !(BR2_microblaze && BR2_ENABLE_DEBUG) help A debug memory allocation library which is a drop in replacement for the system's malloc, realloc, calloc, free and other memory management -- 2.30.2