From: Thomas Petazzoni Date: Thu, 17 Apr 2014 21:43:51 +0000 (+0200) Subject: dmalloc: disable on Microblaze with debugging symbols X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=656cdc367e6f2bfba4316d605a5de27c82880473;p=buildroot.git 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 --- 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