OpenBLAS: OpenBLAS-0.3.11 fails to compile on ppc64le
Updating the Fedora package of OpenBLAS to version 0.3.11 fails, since the package does not build on ppc64le. I’m getting a bunch of errors like
../kernel/power/sgemm_kernel_power10.c:131:11: error: '__builtin_mma_xvf32gerpp' requires the '-mmma' option
  131 |           __builtin_mma_xvf32gerpp (&acc2, rowB[i], rowA[j+1]); \
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
which means you should probably add this option to the makefiles.
Also, I noticed a bunch of macro redefinitions in the power8 kernels, e.g.
../kernel/power/dtrmm_kernel_16x4_power8.S:85: note: this is the location of the previous definition
   85 | #define STACKSIZE 320
      | 
../kernel/power/dtrsm_kernel_LT_16x4_power8.S:51: warning: "STACKSIZE" redefined
   51 | #define STACKSIZE 520
      | 
../kernel/power/dtrsm_kernel_LT_16x4_power8.S:50: note: this is the location of the previous definition
   50 | #define STACKSIZE 320
      | 
which you may want to address.
About this issue
- Original URL
 - State: closed
 - Created 4 years ago
 - Comments: 40 (5 by maintainers)
 
Yes, thinking about that at least, as we cannot be sure that gcc and binutils are updated together.