My 2 cents regarding versions using for building LFS,
In the past I used Ubuntu as a host to build on, moved away towards Debian (stretch) and later Devuan (ascii) because with a lower version of gcc you get a faster build (lower SBU).
The needed commands before starting a build of LFS are
Code:
sudo dpkg-reconfigure dash
sudo apt update && sudo apt install binutils make gawk texinfo patch sed tar gcc m4 bison g++ --yes
When this is done version-check.sh will run without errors and you can start at chapter 2.1
Last tip: After chapter 3 disconnect the building host from the internet
Good luck and enjoy the building of LFS