Vapor build crash swift:5.6.2-centos7

I also faced this problem using centos 7. Solved it by updating gcc:

sudo yum install centos-release-scl
sudo yum install devtoolset-7-gcc*
scl enable devtoolset-7 bash
which gcc
gcc --version

1 Like