Compilation of tensorflow-2.8.0 fails with the following error message: /usr/include/absl/container/internal/inlined_vector.h: In member function ‘void absl::lts_20211102::inlined_vector_internal::Storage<T, N, A>::Swap(absl::lts_20211102::inlined_vector_internal::Storage<T, N, A>*)’: /usr/include/absl/container/internal/inlined_vector.h:907:97: error: expected ‘;’ before ‘}’ token 907 | allocated_ptr->SetAllocation( | ^ | ; /usr/include/absl/container/internal/inlined_vector.h:915:95: error: expected ‘;’ before ‘}’ token 915 | inlined_ptr->SetAllocation( | ^ | ; Reproducible: Always
Created attachment 765758 [details] emerge --info
Created attachment 765759 [details] build.log of tensorflow
What version of abseil-cpp do you have installed? this is an issue with CUDA+abseil that is fixed in dev-cpp/abseil-cpp-20211102.0-r1 which should be pulled in automatically
Oh, thank you! I had abseil-cpp-20211102.0 (without r1) installed, due to r1 being unstable. After unmasking everything works.