$ sudo crossdev -C armv7a-unknown-linux-gnueabihf * Uninstalling target 'armv7a-unknown-linux-gnueabihf' ... <<< cross-armv7a-unknown-linux-gnueabihf/binutils-2.33.1-r1 <<< cross-armv7a-unknown-linux-gnueabihf/linux-headers-4.19 <<< cross-armv7a-unknown-linux-gnueabihf/glibc-2.29-r7 <<< cross-armv7a-unknown-linux-gnueabihf/gcc-9.2.0-r2 * gcc-config: Could not locate profile # ! ... $ I think this is due to do_gcc_config() calls gcc-config with an empty argument as the code assume that it should always be at least one version of gcc installed. This is a wrong assumption for cross-gcc. ... else ... target=$(gcc-config -l 2>/dev/null | grep " ${CTARGET}-[0-9]" | tail -1 | awk '{print $2}') fi gcc-config "${target}" ...
It's probably a side-effect of bug #680360: https://gitweb.gentoo.org/repo/gentoo.git/commit/eclass/toolchain.eclass?id=bbc72dc75013128bb0a235010690db8b5cac7e30