On Tuesday, 15 December 2020 07:50:00 GMT J. Roeleveld wrote:
> On Tuesday, December 15, 2020 8:08:46 AM CET bobwxc wrote:
> > 在 2020/12/15 下午2:59, the...@sys-concept.com 写道:
> > > On 12/14/2020 11:50 PM, J. Roeleveld wrote:
> > >> On Tuesday, December 15, 2020 7:17:57 AM CET the...@sys-concept.com
> 
> wrote:
> > >>> On 12/14/2020 06:21 PM, the...@sys-concept.com 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
> > >> 
> > >> Isn't this a 64-bit CPU?
> > >> If you boot using a 64bit live-image (the gentoo-admin ISO as an
> > >> example), you should be able to actually use 64bit.
> > >> 
> > >> --
> > >> Joost
> > > 
> > > I'm confused as well, setting from make.conf on this CPU with previous
> > > kernel was:
> > > CHOST="x86_64-pc-linux-gnu"
> > 
> > As Joost says, maybe you can try boot from a 64bit install image to test
> > that.
> > 
> > If you can, you may re-install your system to use 64bit.
> > 
> > Only a little chance that your cpu has some problem with x64 module.
> 
> I did a fresh install last weekend and using the 64-bit version from:
> https://www.gentoo.org/downloads/
> 
> actually worked.
> 
> I copied it to a USB-stick using dd:
> # dd if=...path...to....iso  of=/dev/<whatever your usb-stick is>
> 
> Took a little bit (as USB-stick is old...)
> 
> --
> Joost

The CPU is 64-bit and as has already been suggested using a 64-bit LiveCD/USB 
to boot with and install will work fine.  For requisite CFLAGS in /etc/
portage/make.conf, take a look here:

https://wiki.gentoo.org/wiki/Safe_CFLAGS

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to