Gentoo Archives: gentoo-user

From: Michael <confabulate@××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] CPU you selected does not support x86-64 instruction set
Date: Tue, 15 Dec 2020 09:52:26
Message-Id: 12666964.uLZWGnKmhe@lenovo.localdomain
In Reply to: Re: [gentoo-user] CPU you selected does not support x86-64 instruction set by "J. Roeleveld"
1 On Tuesday, 15 December 2020 07:50:00 GMT J. Roeleveld wrote:
2 > On Tuesday, December 15, 2020 8:08:46 AM CET bobwxc wrote:
3 > > 在 2020/12/15 下午2:59, thelma@×××××××××××.com 写道:
4 > > > On 12/14/2020 11:50 PM, J. Roeleveld wrote:
5 > > >> On Tuesday, December 15, 2020 7:17:57 AM CET thelma@×××××××××××.com
6 >
7 > wrote:
8 > > >>> On 12/14/2020 06:21 PM, thelma@×××××××××××.com wrote:
9 > > >>>> By mistake on new installation I untar wrong: stage-3 x86_64 instead
10 > > >>>> of
11 > > >>>> i686
12 > > >>>>
13 > > >>>> during kernel compiling I got:
14 > > >>>> cc1: error: CPU you selected does not support x86-64 instruction set
15 > > >>>>
16 > > >>>> Is it possible to untar new stage-3 (i686) over current one, or I
17 > > >>>> need
18 > > >>>> to delete all the folders?
19 > > >>>
20 > > >>> After selecting stage-3 (i686) I still get the same error message when
21 > > >>> trying to compile kernel:
22 > > >>>
23 > > >>> CC scripts/mod/empty.o
24 > > >>> cc1: error: CPU you selected does not support x86-64 instruction set
25 > > >>> make[1]: *** [scripts/Makefile.build:266: scripts/mod/empty.o] Error 1
26 > > >>> make: *** [Makefile:1137: prepare0] Error 2
27 > > >>>
28 > > >>> The CPU I have:
29 > > >>> AMD FX(tm)-8150 Eight-Core Processor
30 > > >>
31 > > >> Isn't this a 64-bit CPU?
32 > > >> If you boot using a 64bit live-image (the gentoo-admin ISO as an
33 > > >> example), you should be able to actually use 64bit.
34 > > >>
35 > > >> --
36 > > >> Joost
37 > > >
38 > > > I'm confused as well, setting from make.conf on this CPU with previous
39 > > > kernel was:
40 > > > CHOST="x86_64-pc-linux-gnu"
41 > >
42 > > As Joost says, maybe you can try boot from a 64bit install image to test
43 > > that.
44 > >
45 > > If you can, you may re-install your system to use 64bit.
46 > >
47 > > Only a little chance that your cpu has some problem with x64 module.
48 >
49 > I did a fresh install last weekend and using the 64-bit version from:
50 > https://www.gentoo.org/downloads/
51 >
52 > actually worked.
53 >
54 > I copied it to a USB-stick using dd:
55 > # dd if=...path...to....iso of=/dev/<whatever your usb-stick is>
56 >
57 > Took a little bit (as USB-stick is old...)
58 >
59 > --
60 > Joost
61
62 The CPU is 64-bit and as has already been suggested using a 64-bit LiveCD/USB
63 to boot with and install will work fine. For requisite CFLAGS in /etc/
64 portage/make.conf, take a look here:
65
66 https://wiki.gentoo.org/wiki/Safe_CFLAGS

Attachments

File name MIME type
signature.asc application/pgp-signature