On Sun, Nov 22, 2020 at 6:39 PM <the...@sys-concept.com> wrote: > > make menuconfig > HOSTCC script/kconfig/mconf.o > <build-in> : internal compiler error: Illegal instruction > > Even if I try to run: emerge --info I get: > Illegal instruction >
Is this running on the same CPU, or are you migrating to a different system? If the CPU changes then you need to make sure that everything on your system was built with a -march compatible with your new system. When you plan on migrating between systems it is a good idea to set -march very conservatively, such as -march=x86-64. It is safe to set -mtune to whatever you want, but -march produces code that only runs on that particular CPU. Of course if the new CPU supports EVERY instruction that the previous CPU has then you're fine, but you'd be surprised how many oddball instructions aren't on various CPUs. -- Rich