summaryrefslogtreecommitdiffstats
path: root/package/dmalloc
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-04-17 23:43:51 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-04-17 23:43:51 +0200
commit656cdc367e6f2bfba4316d605a5de27c82880473 (patch)
tree0c613b4cf70704d5b3d87be9cbb34bbc41793e08 /package/dmalloc
parent6f9fbfdd7ff8791c121aecabca0590e6d8c69441 (diff)
downloadbuildroot-656cdc367e6f2bfba4316d605a5de27c82880473.tar.gz
buildroot-656cdc367e6f2bfba4316d605a5de27c82880473.zip
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 <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/dmalloc')
-rw-r--r--package/dmalloc/Config.in4
1 files changed, 4 insertions, 0 deletions
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
OpenPOWER on IntegriCloud