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>
This commit is contained in:
Thomas Petazzoni 2014-04-17 23:43:51 +02:00
parent 6f9fbfdd7f
commit 656cdc367e

View File

@ -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