Cytnx icon indicating copy to clipboard operation
Cytnx copied to clipboard

HPTT fails to build with gcc-15

Open pcchen opened this issue 3 months ago • 0 comments

If I use gcc-15, I got this internal compiler error

during GIMPLE pass: vect
/Users/pcchen/github/Cytnx-dev/Cytnx/build/hptt/src/hptt/src/transpose.cpp: In function 'void hptt::transpose_int(const floatType*, const floatType*, floatType*, const floatType*, floatType, floatType, const ComputeNode*) [with int blockingA = 2; int blockingB = 2; int betaIsZero = 1; floatType = std::complex<double>; bool useStreamingStores = false; bool conjA = true]':
/Users/pcchen/github/Cytnx-dev/Cytnx/build/hptt/src/hptt/src/transpose.cpp:603:6: internal compiler error: Segmentation fault: 11
  603 | void transpose_int( const floatType* __restrict__ A, const floatType* __restrict__ Anext,
      |      ^~~~~~~~~~~~~
during GIMPLE pass: vect
/Users/pcchen/github/Cytnx-dev/Cytnx/build/hptt/src/hptt/src/transpose.cpp: In function 'void hptt::transpose_int(const floatType*, const floatType*, floatType*, const floatType*, floatType, floatType, const ComputeNode*) [with int blockingA = 2; int blockingB = 2; int betaIsZero = 1; floatType = std::complex<double>; bool useStreamingStores = false; bool conjA = true]':
/Users/pcchen/github/Cytnx-dev/Cytnx/build/hptt/src/hptt/src/transpose.cpp:603:6: internal compiler error: Segmentation fault: 11
  603 | void transpose_int( const floatType* __restrict__ A, const floatType* __restrict__ Anext,
      |      ^~~~~~~~~~~~~
Please submit a full bug report, with preprocessed source (by using -freport-bug).
See <https://github.com/Homebrew/homebrew-core/issues> for instructions.
Please submit a full bug report, with preprocessed source (by using -freport-bug).
See <https://github.com/Homebrew/homebrew-core/issues> for instructions.

I am installing gcc-15 on ubuntu24 to see if the same internal compiler error occurs.

pcchen avatar Sep 07 '25 03:09 pcchen