Skip to content
Snippets Groups Projects
Select Git revision
  • 1d69d4e3c0ea91fb368c96eb5ec3eb92af9e214a
  • 2023 default protected
2 results

OpenBLAS-0.3.15_workaround-gcc-miscompilation.patch

Blame
  • OpenBLAS-0.3.15_workaround-gcc-miscompilation.patch 605 B
    Workaround optimizer bug in GCC on POWER9.
    See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100799
    
    Author: Alexander Grund (TU Dresden)
    
    diff --git a/Makefile.power b/Makefile.power
    index 946f5523..96b14dca 100644
    --- a/Makefile.power
    +++ b/Makefile.power
    @@ -35,6 +35,7 @@ endif
     ifneq ($(F_COMPILER), PGI)
     FCOMMON_OPT += -O2 -frecursive -fno-fast-math
     ifeq ($(C_COMPILER), GCC)
    +FCOMMON_OPT += -fstack-protector-strong
     ifneq ($(GCCVERSIONGT4), 1)
     $(warning your compiler is too old to fully support POWER9, getting a newer version of gcc is recommended)
     FCOMMON_OPT += -mcpu=power8 -mtune=power8