1 |
On 12/14/2020 06:21 PM, thelma@×××××××××××.com wrote: |
2 |
> |
3 |
> By mistake on new installation I untar wrong: stage-3 x86_64 instead of |
4 |
> i686 |
5 |
> |
6 |
> during kernel compiling I got: |
7 |
> cc1: error: CPU you selected does not support x86-64 instruction set |
8 |
> |
9 |
> Is it possible to untar new stage-3 (i686) over current one, or I need |
10 |
> to delete all the folders? |
11 |
|
12 |
After selecting stage-3 (i686) I still get the same error message when |
13 |
trying to compile kernel: |
14 |
|
15 |
CC scripts/mod/empty.o |
16 |
cc1: error: CPU you selected does not support x86-64 instruction set |
17 |
make[1]: *** [scripts/Makefile.build:266: scripts/mod/empty.o] Error 1 |
18 |
make: *** [Makefile:1137: prepare0] Error 2 |
19 |
|
20 |
The CPU I have: |
21 |
AMD FX(tm)-8150 Eight-Core Processor |
22 |
|
23 |
make.conf |
24 |
COMMON_FLAGS="-march=native -O2 -pipe" |
25 |
#COMMON_FLAGS="-O2 -march=i686 -pipe" |
26 |
CFLAGS="${COMMON_FLAGS}" |
27 |
CXXFLAGS="${COMMON_FLAGS}" |
28 |
FCFLAGS="${COMMON_FLAGS}" |
29 |
FFLAGS="${COMMON_FLAGS}" |
30 |
CPU_FLAGS_X86="mmx mmxext sse sse2 sse3" |