On 12/14/2020 11:17 PM, [email protected] wrote: > On 12/14/2020 06:21 PM, [email protected] wrote: >> >> By mistake on new installation I untar wrong: stage-3 x86_64 instead of >> i686 >> >> during kernel compiling I got: >> cc1: error: CPU you selected does not support x86-64 instruction set >> >> Is it possible to untar new stage-3 (i686) over current one, or I need >> to delete all the folders? > > After selecting stage-3 (i686) I still get the same error message when > trying to compile kernel: > > CC scripts/mod/empty.o > cc1: error: CPU you selected does not support x86-64 instruction set > make[1]: *** [scripts/Makefile.build:266: scripts/mod/empty.o] Error 1 > make: *** [Makefile:1137: prepare0] Error 2 > > The CPU I have: > AMD FX(tm)-8150 Eight-Core Processor > > make.conf > COMMON_FLAGS="-march=native -O2 -pipe" > #COMMON_FLAGS="-O2 -march=i686 -pipe" > CFLAGS="${COMMON_FLAGS}" > CXXFLAGS="${COMMON_FLAGS}" > FCFLAGS="${COMMON_FLAGS}" > FFLAGS="${COMMON_FLAGS}" > CPU_FLAGS_X86="mmx mmxext sse sse2 sse3"
SOLVED: One need to disable "64-bit kernel" in the root of the menuconfig.

