Gentoo Archives: gentoo-user

From: thelma@×××××××××××.com
To: Gentoo mailing list <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] CPU you selected does not support x86-64 instruction set
Date: Tue, 15 Dec 2020 06:33:30
Message-Id: 153e6deb-43d2-30f2-2119-3566351044c3@sys-concept.com
In Reply to: Re: [gentoo-user] CPU you selected does not support x86-64 instruction set by thelma@sys-concept.com
1 On 12/14/2020 11:17 PM, thelma@×××××××××××.com wrote:
2 > On 12/14/2020 06:21 PM, thelma@×××××××××××.com wrote:
3 >>
4 >> By mistake on new installation I untar wrong: stage-3 x86_64 instead of
5 >> i686
6 >>
7 >> during kernel compiling I got:
8 >> cc1: error: CPU you selected does not support x86-64 instruction set
9 >>
10 >> Is it possible to untar new stage-3 (i686) over current one, or I need
11 >> to delete all the folders?
12 >
13 > After selecting stage-3 (i686) I still get the same error message when
14 > trying to compile kernel:
15 >
16 > CC scripts/mod/empty.o
17 > cc1: error: CPU you selected does not support x86-64 instruction set
18 > make[1]: *** [scripts/Makefile.build:266: scripts/mod/empty.o] Error 1
19 > make: *** [Makefile:1137: prepare0] Error 2
20 >
21 > The CPU I have:
22 > AMD FX(tm)-8150 Eight-Core Processor
23 >
24 > make.conf
25 > COMMON_FLAGS="-march=native -O2 -pipe"
26 > #COMMON_FLAGS="-O2 -march=i686 -pipe"
27 > CFLAGS="${COMMON_FLAGS}"
28 > CXXFLAGS="${COMMON_FLAGS}"
29 > FCFLAGS="${COMMON_FLAGS}"
30 > FFLAGS="${COMMON_FLAGS}"
31 > CPU_FLAGS_X86="mmx mmxext sse sse2 sse3"
32
33 SOLVED:
34 One need to disable "64-bit kernel" in the root of the menuconfig.

Replies