https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: sci-libs/rocBLAS-5.0.2-r1 fails to compile. Discovered on: amd64 (internal ref: ci)
Error(s) that match a know pattern in addition to what has been reported in the summary: FAILED: library/src/CMakeFiles/rocblas.dir/blas_ex/rocblas_axpy_batched_ex.cpp.o FAILED: library/src/CMakeFiles/rocblas.dir/blas_ex/rocblas_axpy_ex.cpp.o FAILED: library/src/CMakeFiles/rocblas.dir/blas_ex/rocblas_axpy_ex_kernels.cpp.o FAILED: library/src/CMakeFiles/rocblas.dir/blas_ex/rocblas_axpy_strided_batched_ex.cpp.o FAILED: library/src/CMakeFiles/rocblas.dir/blas_ex/rocblas_dot_batched_ex.cpp.o FAILED: library/src/CMakeFiles/rocblas.dir/blas_ex/rocblas_dot_ex.cpp.o FAILED: library/src/CMakeFiles/rocblas.dir/blas_ex/rocblas_dot_strided_batched_ex.cpp.o FAILED: library/src/CMakeFiles/rocblas.dir/blas_ex/rocblas_gemm_batched_ex.cpp.o FAILED: library/src/CMakeFiles/rocblas.dir/blas_ex/rocblas_gemm_ex.cpp.o FAILED: library/src/CMakeFiles/rocblas.dir/blas_ex/rocblas_gemm_ext2.cpp.o FAILED: library/src/CMakeFiles/rocblas.dir/blas_ex/rocblas_gemm_strided_batched_ex.cpp.o FAILED: library/src/CMakeFiles/rocblas.dir/blas_ex/rocblas_nrm2_batched_ex.cpp.o FAILED: library/src/CMakeFiles/rocblas.dir/blas_ex/rocblas_nrm2_ex.cpp.o FAILED: library/src/CMakeFiles/rocblas.dir/blas_ex/rocblas_nrm2_strided_batched_ex.cpp.o FAILED: library/src/CMakeFiles/rocblas.dir/blas_ex/rocblas_rot_batched_ex.cpp.o FAILED: library/src/CMakeFiles/rocblas.dir/blas_ex/rocblas_rot_ex.cpp.o FAILED: library/src/CMakeFiles/rocblas.dir/blas_ex/rocblas_rot_ex_kernels.cpp.o FAILED: library/src/CMakeFiles/rocblas.dir/blas_ex/rocblas_rot_strided_batched_ex.cpp.o FAILED: library/src/CMakeFiles/rocblas.dir/blas_ex/rocblas_scal_batched_ex.cpp.o FAILED: library/src/CMakeFiles/rocblas.dir/blas_ex/rocblas_scal_ex.cpp.o FAILED: library/src/CMakeFiles/rocblas.dir/blas_ex/rocblas_scal_ex_kernels.cpp.o FAILED: library/src/CMakeFiles/rocblas.dir/blas_ex/rocblas_scal_strided_batched_ex.cpp.o FAILED: library/src/CMakeFiles/rocblas.dir/blas_ex/rocblas_trmm_outofplace_batched.cpp.o FAILED: library/src/CMakeFiles/rocblas.dir/blas_ex/rocblas_trmm_outofplace.cpp.o FAILED: library/src/CMakeFiles/rocblas.dir/blas_ex/rocblas_trsv_batched_ex.cpp.o FAILED: library/src/CMakeFiles/rocblas.dir/blas_ex/rocblas_trsv_ex.cpp.o FAILED: library/src/CMakeFiles/rocblas.dir/blas_ex/rocblas_trsv_strided_batched_ex.cpp.o FAILED: Tensile/lib/CMakeFiles/TensileHost.dir/source/hip/HipSolutionAdapter.cpp.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/bits/shared_ptr_base.h:196:22: error: use of undeclared identifier 'noinline'; did you mean 'inline'?
https://dev.gentoo.org/~ago/rocBLAS-5.0.2-r1_20220711.tar.xz
This is caused by using gcc-12. I was able to install rocBLAS-5.0.2-r1 by masking gcc-12 as mentioned in a similar bug report here: https://bugs.gentoo.org/857126
Thank you Robert for pointing this out! *** This bug has been marked as a duplicate of bug 857126 ***