package/openmpi: fix build failure due to Gcc Bug 68485
PATCH 1/1 package/openmpi: fix build failure due to Gcc Bug 68485
Package openmpi manifests Microblaze Gcc Bug 68485 resulting in a build failure due to an Internal Compiler Error.
As done for other packages in Buildroot work around this Gcc Bug by setting optimization to -O0 if BR2_TOOLCHAIN_HAS_GCC_BUG_68485=y.
Fixes:
http://autobuild.buildroot.net/results/8f3/8f334427e7475154d69469f8ee4efab6df80e403/
--- package/openmpi/openmpi.mk | 8 ++++++++ 1 file changed, 8 insertions(+)
package/openmpi/openmpi.mk +8 -0
@@ -38,4 +38,12 @@ else OPENMPI_CONF_OPTS += --enable-mpi-fortran=no endif +OPENMPI_CFLAGS = $(TARGET_CFLAGS) + +ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_68485),y) +OPENMPI_CFLAGS += -O0 +endif + +OPENMPI_CONF_ENV = CFLAGS="$(OPENMPI_CFLAGS)" + $(eval $(autotools-package))
Signature · 1 line
2.17.1
Thomas Petazzoni
AppliedPATCH 1/1 package/openmpi: fix build failure due to Gcc Bug 68485
Quoted 6 lines · On Thu, 30 May 2019 15:23:41 +0200 Giulio Benetti…
Package openmpi manifests Microblaze Gcc Bug 68485 resulting in a build failure due to an Internal Compiler Error.
As done for other packages in Buildroot work around this Gcc Bug by setting optimization to -O0 if BR2_TOOLCHAIN_HAS_GCC_BUG_68485=y.
Quoted 7 lines
Fixes:
http://autobuild.buildroot.net/results/8f3/8f334427e7475154d69469f8ee4efab6df80e403/Signed-off-by Giulio Benetti <[email protected]>--- package/openmpi/openmpi.mk | 8 ++++++++ 1 file changed, 8 insertions(+)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com