kumquat-buildroot/toolchain
Giulio Benetti 4adc06b4f8 toolchain: introduce BR2_TOOLCHAIN_HAS_GCC_BUG_63261
dmalloc and fxload fail to build for the Microblaze architecture with
optimization enabled with gcc < 8.x, with the following failure:

  Error: PC relative branch to label logerror which is not in the instruction space
  Error: operation combines symbols in different segments

The following defconfig allows to reproduce the issue:

BR2_microblazeel=y
BR2_OPTIMIZE_2=y
BR2_KERNEL_HEADERS_5_0=y
BR2_GCC_VERSION_7_X=y
BR2_PACKAGE_FXLOAD=y

The gcc bug was reported at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63261 and is fixed as of
gcc 8.x.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-06-22 19:31:52 +02:00
..
toolchain toolchain: move glibc nsswitch.conf handling to a post-target hook 2018-10-21 01:50:35 +02:00
toolchain-buildroot package/glibc: add C-SKY specific version 2019-05-31 23:00:42 +02:00
toolchain-external toolchain-external: update Arm AArch64-BE toolchain 8.3-2019.03 2019-06-18 14:53:25 +02:00
Config.in toolchain: introduce BR2_TOOLCHAIN_HAS_GCC_BUG_63261 2019-06-22 19:31:52 +02:00
helpers.mk toolchain-external: add a check for OpenMP support 2019-03-28 19:49:51 +01:00
toolchain-wrapper.c toolchain: set the ssp gcc option in kconfig 2019-03-13 00:01:55 +01:00
toolchain-wrapper.mk toolchain: set the ssp gcc option in kconfig 2019-03-13 00:01:55 +01:00
toolchain.mk toolchain: move glibc nsswitch.conf handling to a post-target hook 2018-10-21 01:50:35 +02:00