From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 85FAE1382C5 for ; Tue, 15 Dec 2020 07:50:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 72B30E0943; Tue, 15 Dec 2020 07:50:02 +0000 (UTC) Received: from gw1.antarean.org (gw1.antarean.org [194.145.200.214]) by pigeon.gentoo.org (Postfix) with ESMTP id 0ADD1E08DD for ; Tue, 15 Dec 2020 07:50:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by gw1.antarean.org (Postfix) with ESMTP id 4Cw92r17hbz10jk for ; Tue, 15 Dec 2020 08:32:52 +0100 (CET) X-Virus-Scanned: amavisd-new at antarean.org Received: from gw1.antarean.org ([127.0.0.1]) by localhost (gw1.antarean.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4zklw1vXcXIE for ; Tue, 15 Dec 2020 08:32:51 +0100 (CET) Received: from mailstore1.adm.antarean.org (localhost [127.0.0.1]) by gw1.antarean.org (Postfix) with ESMTP id 4Cw92q649VzyVJ for ; Tue, 15 Dec 2020 08:32:51 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mailstore1.adm.antarean.org (Postfix) with ESMTP id 4Cw9Qc4zGwz15 for ; Tue, 15 Dec 2020 08:50:00 +0100 (CET) X-Virus-Scanned: amavisd-new at antarean.org Received: from mailstore1.adm.antarean.org ([127.0.0.1]) by localhost (mailstore1.adm.antarean.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tC8HtdSWyLA1 for ; Tue, 15 Dec 2020 08:50:00 +0100 (CET) Received: from iris.localnet (iris.adm.antarean.org [10.55.16.47]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailstore1.adm.antarean.org (Postfix) with ESMTPSA id 4Cw9Qc2t7Zz13 for ; Tue, 15 Dec 2020 08:50:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=antarean.org; s=default; t=1608018600; bh=dDtJgXrj+hwvVFKivfWGjvyayi6UV5RNzhXOO7bzE0g=; h=From:To:Subject:Date:In-Reply-To:References; b=IchVJA7a94EeH6TPVsMvi6AUEtY2EkeRNHCMGav950u5kPtgzeHRKqa/g4dXaupp8 0tK056NXsYTM6CKmMWVZmMZuIFlFrW/0WuVZVwixIIar1rzgeDUsvM/W5Z6CP+gEXH sxleTcCwrTO8PwpsIB2hSM2yrUKv+GMWl4g6gTzI= From: "J. Roeleveld" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] CPU you selected does not support x86-64 instruction set Date: Tue, 15 Dec 2020 08:50:00 +0100 Message-ID: <4630823.31r3eYUQgx@iris> In-Reply-To: <1b916915-08c1-bc11-6638-dd7d976807c8@88.com> References: <6eac706b-9c8c-e510-5e2b-7ae2dce86434@sys-concept.com> <1b916915-08c1-bc11-6638-dd7d976807c8@88.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Archives-Salt: 1f463db4-c3ec-47ba-8e94-2533c4e36580 X-Archives-Hash: 9165d86e45806ed093c4656004c629f1 On Tuesday, December 15, 2020 8:08:46 AM CET bobwxc wrote: > =E5=9C=A8 2020/12/15 =E4=B8=8B=E5=8D=882:59, thelma@sys-concept.com =E5= =86=99=E9=81=93: > > On 12/14/2020 11:50 PM, J. Roeleveld wrote: > >> On Tuesday, December 15, 2020 7:17:57 AM CET thelma@sys-concept.com=20 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 > >>>>=20 > >>>> during kernel compiling I got: > >>>> cc1: error: CPU you selected does not support x86-64 instruction set > >>>>=20 > >>>> Is it possible to untar new stage-3 (i686) over current one, or I ne= ed > >>>> to delete all the folders? > >>>=20 > >>> After selecting stage-3 (i686) I still get the same error message when > >>> trying to compile kernel: > >>>=20 > >>> 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 > >>>=20 > >>> The CPU I have: > >>> AMD FX(tm)-8150 Eight-Core Processor > >>=20 > >> 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. > >>=20 > >> -- > >> Joost > >=20 > > I'm confused as well, setting from make.conf on this CPU with previous > > kernel was: > > CHOST=3D"x86_64-pc-linux-gnu" >=20 > As Joost says, maybe you can try boot from a 64bit install image to test > that. >=20 > If you can, you may re-install your system to use 64bit. >=20 > 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=3D...path...to....iso of=3D/dev/=20 Took a little bit (as USB-stick is old...) =2D- Joost