buildroot/package/dmalloc
Giulio Benetti 4d8e5be0b4 package/dmalloc: re-enable package on microblaze
Building dmalloc on Microblaze with optimization enabled and gcc < 8.x
fails with:

  Error: operation combines symbols in different segments

This is due to gcc bug 63261 (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63261).

To avoid this, the dmalloc package has a !BR2_microblaze
dependency. However, gcc bug 63261 only triggers when optimization is
enabled, so we can work around the issue by passing -O0, which is what
we do in other Buildroot packages to work around this bug.

So, this commit passes -O0 when BR2_TOOLCHAIN_HAS_GCC_BUG_63261, and
re-enables dmalloc on Microblaze.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-06-22 19:50:21 +02:00
..
0001-add-fpic.patch
0002-mips.patch
0003-fix-parallel-build.patch
0004-fix-shlibs.patch
0005-fix-strdup.patch
0006-fix-strndup.patch
Config.in package/dmalloc: re-enable package on microblaze 2019-06-22 19:50:21 +02:00
dmalloc.hash
dmalloc.mk package/dmalloc: re-enable package on microblaze 2019-06-22 19:50:21 +02:00