the solution to the problem i had with that missing __dl_iterate_phdr is to delete the whole block about using unwind-dw2-fde-glibc or to comment it out in gcc/Makefile.