https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111084 --- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Also buildroot uses sysroots and chroot/containers instead. Containers/chroot is the better approach anyways.