* [gentoo-user] CPU you selected does not support x86-64 instruction set
@ 2020-12-15 1:21 thelma
2020-12-15 4:38 ` J. Roeleveld
` (2 more replies)
0 siblings, 3 replies; 12+ messages in thread
From: thelma @ 2020-12-15 1:21 UTC (permalink / raw
To: Gentoo mailing list
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?
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] CPU you selected does not support x86-64 instruction set
2020-12-15 1:21 [gentoo-user] CPU you selected does not support x86-64 instruction set thelma
@ 2020-12-15 4:38 ` J. Roeleveld
2020-12-15 5:44 ` thelma
2020-12-15 6:17 ` thelma
2020-12-15 6:58 ` [gentoo-user] " Nikos Chantziaras
2 siblings, 1 reply; 12+ messages in thread
From: J. Roeleveld @ 2020-12-15 4:38 UTC (permalink / raw
To: gentoo-user
On 15 December 2020 02:21:22 CET, thelma@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?
To avoid any leftover files causing issues, I would start over.
--
Joost
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] CPU you selected does not support x86-64 instruction set
2020-12-15 4:38 ` J. Roeleveld
@ 2020-12-15 5:44 ` thelma
0 siblings, 0 replies; 12+ messages in thread
From: thelma @ 2020-12-15 5:44 UTC (permalink / raw
To: gentoo-user
On 12/14/2020 09:38 PM, J. Roeleveld wrote:
> On 15 December 2020 02:21:22 CET, thelma@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?
>
> To avoid any leftover files causing issues, I would start over.
>
> --
> Joost
You are correct, it is easier to start over.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] CPU you selected does not support x86-64 instruction set
2020-12-15 1:21 [gentoo-user] CPU you selected does not support x86-64 instruction set thelma
2020-12-15 4:38 ` J. Roeleveld
@ 2020-12-15 6:17 ` thelma
2020-12-15 6:33 ` thelma
2020-12-15 6:50 ` J. Roeleveld
2020-12-15 6:58 ` [gentoo-user] " Nikos Chantziaras
2 siblings, 2 replies; 12+ messages in thread
From: thelma @ 2020-12-15 6:17 UTC (permalink / raw
To: Gentoo mailing list
On 12/14/2020 06:21 PM, thelma@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
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"
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] CPU you selected does not support x86-64 instruction set
2020-12-15 6:17 ` thelma
@ 2020-12-15 6:33 ` thelma
2020-12-15 6:47 ` bobwxc
2020-12-15 6:50 ` J. Roeleveld
1 sibling, 1 reply; 12+ messages in thread
From: thelma @ 2020-12-15 6:33 UTC (permalink / raw
To: Gentoo mailing list
On 12/14/2020 11:17 PM, thelma@sys-concept.com wrote:
> On 12/14/2020 06:21 PM, thelma@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
>
> 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.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] CPU you selected does not support x86-64 instruction set
2020-12-15 6:33 ` thelma
@ 2020-12-15 6:47 ` bobwxc
0 siblings, 0 replies; 12+ messages in thread
From: bobwxc @ 2020-12-15 6:47 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1.1.1: Type: text/plain, Size: 1335 bytes --]
在 2020/12/15 下午2:33, thelma@sys-concept.com 写道:
> On 12/14/2020 11:17 PM, thelma@sys-concept.com wrote:
>> On 12/14/2020 06:21 PM, thelma@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
>>
>> 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.
AMD FX-8150 should support x86-64 according to the it data, very confused.
--
bobwxc
[-- Attachment #1.1.2: Type: text/html, Size: 2244 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] CPU you selected does not support x86-64 instruction set
2020-12-15 6:17 ` thelma
2020-12-15 6:33 ` thelma
@ 2020-12-15 6:50 ` J. Roeleveld
2020-12-15 6:59 ` thelma
1 sibling, 1 reply; 12+ messages in thread
From: J. Roeleveld @ 2020-12-15 6:50 UTC (permalink / raw
To: gentoo-user
On Tuesday, December 15, 2020 7:17:57 AM CET thelma@sys-concept.com wrote:
> On 12/14/2020 06:21 PM, thelma@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
^ permalink raw reply [flat|nested] 12+ messages in thread
* [gentoo-user] Re: CPU you selected does not support x86-64 instruction set
2020-12-15 1:21 [gentoo-user] CPU you selected does not support x86-64 instruction set thelma
2020-12-15 4:38 ` J. Roeleveld
2020-12-15 6:17 ` thelma
@ 2020-12-15 6:58 ` Nikos Chantziaras
2 siblings, 0 replies; 12+ messages in thread
From: Nikos Chantziaras @ 2020-12-15 6:58 UTC (permalink / raw
To: gentoo-user
On 15/12/2020 03:21, thelma@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?
Your problem is somewhere else. Your CPU is 64-bit, as are all desktop
CPUs made in the last 15 years.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] CPU you selected does not support x86-64 instruction set
2020-12-15 6:50 ` J. Roeleveld
@ 2020-12-15 6:59 ` thelma
2020-12-15 7:08 ` bobwxc
0 siblings, 1 reply; 12+ messages in thread
From: thelma @ 2020-12-15 6:59 UTC (permalink / raw
To: gentoo-user
On 12/14/2020 11:50 PM, J. Roeleveld wrote:
> On Tuesday, December 15, 2020 7:17:57 AM CET thelma@sys-concept.com wrote:
>> On 12/14/2020 06:21 PM, thelma@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"
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] CPU you selected does not support x86-64 instruction set
2020-12-15 6:59 ` thelma
@ 2020-12-15 7:08 ` bobwxc
2020-12-15 7:50 ` J. Roeleveld
0 siblings, 1 reply; 12+ messages in thread
From: bobwxc @ 2020-12-15 7:08 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1.1: Type: text/plain, Size: 1511 bytes --]
在 2020/12/15 下午2:59, thelma@sys-concept.com 写道:
> On 12/14/2020 11:50 PM, J. Roeleveld wrote:
>> On Tuesday, December 15, 2020 7:17:57 AM CET thelma@sys-concept.com wrote:
>>> On 12/14/2020 06:21 PM, thelma@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.
--
bobwxc
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] CPU you selected does not support x86-64 instruction set
2020-12-15 7:08 ` bobwxc
@ 2020-12-15 7:50 ` J. Roeleveld
2020-12-15 9:51 ` Michael
0 siblings, 1 reply; 12+ messages in thread
From: J. Roeleveld @ 2020-12-15 7:50 UTC (permalink / raw
To: gentoo-user
On Tuesday, December 15, 2020 8:08:46 AM CET bobwxc wrote:
> 在 2020/12/15 下午2:59, thelma@sys-concept.com 写道:
> > On 12/14/2020 11:50 PM, J. Roeleveld wrote:
> >> On Tuesday, December 15, 2020 7:17:57 AM CET thelma@sys-concept.com
wrote:
> >>> On 12/14/2020 06:21 PM, thelma@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
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] CPU you selected does not support x86-64 instruction set
2020-12-15 7:50 ` J. Roeleveld
@ 2020-12-15 9:51 ` Michael
0 siblings, 0 replies; 12+ messages in thread
From: Michael @ 2020-12-15 9:51 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2381 bytes --]
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, thelma@sys-concept.com 写道:
> > > On 12/14/2020 11:50 PM, J. Roeleveld wrote:
> > >> On Tuesday, December 15, 2020 7:17:57 AM CET thelma@sys-concept.com
>
> wrote:
> > >>> On 12/14/2020 06:21 PM, thelma@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 #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2020-12-15 9:52 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-15 1:21 [gentoo-user] CPU you selected does not support x86-64 instruction set thelma
2020-12-15 4:38 ` J. Roeleveld
2020-12-15 5:44 ` thelma
2020-12-15 6:17 ` thelma
2020-12-15 6:33 ` thelma
2020-12-15 6:47 ` bobwxc
2020-12-15 6:50 ` J. Roeleveld
2020-12-15 6:59 ` thelma
2020-12-15 7:08 ` bobwxc
2020-12-15 7:50 ` J. Roeleveld
2020-12-15 9:51 ` Michael
2020-12-15 6:58 ` [gentoo-user] " Nikos Chantziaras
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox