Commit 656cdc36 authored by Thomas Petazzoni's avatar Thomas Petazzoni
Browse files

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: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 6f9fbfdd
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
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