as also seen with 8.1.0 on #6296, the solution there was to add GCC 6.4.0 as builddependency
(the issue seems to be with mpfr 4.x, where Link Time Optimization is enabled by default but not supported by the system GCC in CentOS 6.x, so an alternative solution could patch mpfr to disable LTO on CentOS 6.x)