i have found a fix, apperantly distcc dosen't like the default -march=native so i have found this guide
( https://blogs.gentoo.org/mgorny/2014/06/23/inlining-marchnative-for-distcc/ )
and used this command gcc -### -march=native -x c - which gives all of the cpu information and i have put it into the make.conf files under CFLAGS="{insert here}" and distcc has installed with no problems