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 A59F013832E for ; Thu, 21 Jul 2016 02:56:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 097DA21C2A9; Thu, 21 Jul 2016 02:56:18 +0000 (UTC) Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9E41421C038 for ; Thu, 21 Jul 2016 02:56:16 +0000 (UTC) Received: by mail-wm0-f67.google.com with SMTP id o80so785575wme.0 for ; Wed, 20 Jul 2016 19:56:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=hqIFN3DCfaTTDqTN8fsin/8gkkz0WR3Tl+YfvX5Q/nI=; b=GcFBH8yhmxDOprjBwmX9AQp/VeTmNe0FYPYcyWq06+kydKGlFbJYVhII2kU9/MG7ZA gwScuZGw1ZgWliKkvTO5tb03FR/P0Kl2TibseQ1f00p7/TAm7hyzGqYVUTF6zAH3VpW9 F4RN7pRxUPnel1R/8258t2dQF/9P4/1gtbjjHdr0LzYo3RyamEO/6nfRwFnG9qeMVTbQ /3kFbguGQMETinE6Fdm2E7U043L3WZCP3FeOBFurRthefsMpB1s1GyGAAf9mojHS/RTj Z5JbWkRr+kes2/3s5Hfh5fcHlFfwEyvq7ze1SyJPP3A1tfx+bj42Kzu+ed+S3c4WyBnb 9HZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=hqIFN3DCfaTTDqTN8fsin/8gkkz0WR3Tl+YfvX5Q/nI=; b=UbMz4xtHHu/MOJrkOCtb0ny7SAGgv/rtw4Eu5IoxJ6SfonJRMSOKkgaFzaMwoa2TKO 7xINPHlGkZi7zZczBV4sI5/qZpqDCQ7VtdECn0Z8RFbTH0ZetDGaRSqxG1iY1DN20bxd tthjQPX7FprFOpB5B4g7f7WqMkcgoyt/BTHs3yiVES4BkqOPMczsP2TASb3c6PzwI+Lc CClQtqmhLoAN61X5XQmmL+/8kGfq4bVTiq03GXST8zF0k6HidolePln9s9za/vGhnIUj q57+f9vxh3eP1wJPdnj7xGBWyieiZaD+DQDheg9YauvENs2QDlsUohpg2XWg8conQ5k5 WdOQ== X-Gm-Message-State: ALyK8tJCsvgkS+hj46h7/f1K3ZN8jPH1FpNn4VM4pt6/aajiaNM1A6qLIZy8QsXdXgZQc3hTWXpqf37BcYtPPw== X-Received: by 10.194.85.104 with SMTP id g8mr4360393wjz.105.1469069775141; Wed, 20 Jul 2016 19:56:15 -0700 (PDT) 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 MIME-Version: 1.0 Received: by 10.194.142.162 with HTTP; Wed, 20 Jul 2016 19:56:14 -0700 (PDT) In-Reply-To: <478808c6-5aba-53d3-704d-a67ce606dca5@gmail.com> References: <20160720185056.3039771a@hactar.digimed.co.uk> <0a215487-ad19-9a8f-54a4-44b2decf93c7@gmail.com> <20160720195425.2291d4f9@digimed.co.uk> <9e1b9583-b68a-197a-7b4c-541d59ddf1e3@gmail.com> <478808c6-5aba-53d3-704d-a67ce606dca5@gmail.com> From: Adam Carter Date: Thu, 21 Jul 2016 12:56:14 +1000 Message-ID: Subject: Re: [gentoo-user] Missing CPU options in make menuconfig To: "gentoo-user@lists.gentoo.org" Content-Type: multipart/alternative; boundary=047d7bfcfa0c19012105381c7642 X-Archives-Salt: 028d7eb8-6397-4cf3-8a44-afd97aec1e60 X-Archives-Hash: 5b6b75edb85739361078eb77bec624b0 --047d7bfcfa0c19012105381c7642 Content-Type: text/plain; charset=UTF-8 The experimental use flag turns on the other arch's in gentoo-sources. Perhaps that will help identify which is the relevant patch? On Thu, Jul 21, 2016 at 11:07 AM, Fernando Rodriguez wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > On 07/20/2016 07:38 PM, Fernando Rodriguez wrote: > > On 07/20/2016 02:54 PM, Neil Bothwick wrote: > >> On Wed, 20 Jul 2016 14:33:04 -0400, Fernando Rodriguez wrote: > > > >>> I don't use gentoo sources but I remember reading about gentoo patches > >>> for processor specific optimizations and being tempted to try them. Is > >>> it possible that is what you're refering to? > >>> > >>> The vanilla sources only shows 5 choices for me on amd64: > >>> (X) Opteron/Athlon64/Hammer/K8 > >>> ( ) Intel P4 / older Netburst based Xeon > >>> ( ) Core 2/newer Xeon > >>> ( ) Intel Atom > >>> ( ) Generic-x86-64 > >>> > >>> And it shows a different set of options when I run it on an x86 > machine. > > > >> That's what I get here, but help lists all the ones I get in > >> gentoo-sources, apart from MNATIVE, which indicates to me that those > >> options should be available, once I work out how to switch them on. > > > > Disable CONFIG_64BIT and you'll get them all. > > And for future references, here's how I found out: > > 1. On the sources where you have the options highlight one of them and > press ? (help). You'll see X86_32 under "Depends on:". > > 2. Hit ESC twice and then twice again to return to a menu with > search functionality. Then type /X86_32 and hit enter. You'lll see that > the option depends on !64BIT, so you need to disable CONFIG_64BIT for > X86_32 to be available. > > 3. After disabling CONFIG_64BIT on the kernel where the options where > missing > I searched X86_32 again and this time it has [=y] next to it so it came > on automatically and the options showed up but for some options you > need to > enable manually after enabling the dependencies. > > - -- > > Fernando Rodriguez > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2 > > iQIcBAEBCAAGBQJXkCBTAAoJEPbOFX/5UlwcR8sP/2kwuumtlSymDTyPj4CFS0Q7 > noRYWAzutRKDb6GTrobwB5zDVwJTUORuoRE+XXQFeVWRQhjSI2wsaRGL/Cn8duhW > QTdgtvrV8T6bdcjftVbeExFvKTDrMXUAEbd+XyRObj7r13454GtYdgOIpktxwDrH > D2a3bR2NX7fMxFfSBk4osv3UkoL3xM201MXwUhZgOtTaX/DAw12gSg1ljTJ8UV7O > snu+Td9YHcoohrmBpN4yX7uaBL4LnZZnBv59TZekXDv6DGyc70QZO97gNGOvG2SC > www7wsM28/hrKqeQI5CNcpl6UvibQGndThld7y1Y5YeByHEBHt31yZp97g1Ira5T > 2iadpgoSFiMaCy2+BXfIjktLbIe9E5vH15dVMKxuWazrf7Zf9XszxuU6nZE3RiN5 > J9ytAwL/RESjQwB11p3LLf/1zgyYAtIzt/N7QrbvJmHmjj7WyRMK6QCLJsew7izl > g/Hjsqvq73QvNdRfjbxTK19sOO1clpJfAdvyHELR+TVvJDAooWFj/8KBfSGCimkv > 6bVnDFKIB/ov/o3ZhX121FHq/zH6SH/CxbVozIuTTiowumgftgPMapEiXRIvp/+S > ar8dcUF+xiRcKOmx4mBctOxQQ6R0z0o1oWItyjioyB0Rb09kMVjNCQuvq9IpPzLn > kl+C7ndrh4etobK9nv2A > =fojV > -----END PGP SIGNATURE----- > > --047d7bfcfa0c19012105381c7642 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
The experimental use flag turns on the other arch's in= gentoo-sources. Perhaps that will help identify which is the relevant patc= h?

On Th= u, Jul 21, 2016 at 11:07 AM, Fernando Rodriguez <cyklonite@gmail.com= > wrote:
-----= BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 07/20/2016 07:38 PM, Fernando Rodriguez wrote: > On 07/20/2016 02:54 PM, Neil Bothwick wrote:
>> On Wed, 20 Jul 2016 14:33:04 -0400, Fernando Rodriguez wrote:
>
>>> I don't use gentoo sources but I remember reading about ge= ntoo patches
>>> for processor specific optimizations and being tempted to try = them. Is
>>> it possible that is what you're refering to?
>>>
>>> The vanilla sources only shows 5 choices for me on amd64:
>>> (X) Opteron/Athlon64/Hammer/K8
>>> ( ) Intel P4 / older Netburst based Xeon
>>> ( ) Core 2/newer Xeon
>>> ( ) Intel Atom
>>> ( ) Generic-x86-64
>>>
>>> And it shows a different set of options when I run it on an x8= 6 machine.
>
>> That's what I get here, but help lists all the ones I get in >> gentoo-sources, apart from MNATIVE, which indicates to me that tho= se
>> options should be available, once I work out how to switch them on= .
>
> Disable CONFIG_64BIT and you'll get them all.

And for future references, here's how I found out:

1. On the sources where you have the options highlight one of them and
=C2=A0 =C2=A0press ? (help). You'll see X86_32 under "Depends on:&= quot;.

2. Hit ESC twice and then twice again to return to a menu with
=C2=A0 =C2=A0search functionality. Then type /X86_32 and hit enter. You'= ;lll see that
=C2=A0 =C2=A0the option depends on !64BIT, so you need to disable CONFIG_64= BIT for
=C2=A0 =C2=A0X86_32 to be available.

3. After disabling CONFIG_64BIT on the kernel where the options where missi= ng
=C2=A0 =C2=A0I searched X86_32 again and this time it has [=3Dy] next to it= so it came
=C2=A0 =C2=A0on automatically and the options showed up but for some option= s you need to
=C2=A0 =C2=A0enable manually after enabling the dependencies.

- --

Fernando Rodriguez
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJXkCBTAAoJEPbOFX/5UlwcR8sP/2kwuumtlSymDTyPj4CFS0Q7
noRYWAzutRKDb6GTrobwB5zDVwJTUORuoRE+XXQFeVWRQhjSI2wsaRGL/Cn8duhW
QTdgtvrV8T6bdcjftVbeExFvKTDrMXUAEbd+XyRObj7r13454GtYdgOIpktxwDrH
D2a3bR2NX7fMxFfSBk4osv3UkoL3xM201MXwUhZgOtTaX/DAw12gSg1ljTJ8UV7O
snu+Td9YHcoohrmBpN4yX7uaBL4LnZZnBv59TZekXDv6DGyc70QZO97gNGOvG2SC
www7wsM28/hrKqeQI5CNcpl6UvibQGndThld7y1Y5YeByHEBHt31yZp97g1Ira5T
2iadpgoSFiMaCy2+BXfIjktLbIe9E5vH15dVMKxuWazrf7Zf9XszxuU6nZE3RiN5
J9ytAwL/RESjQwB11p3LLf/1zgyYAtIzt/N7QrbvJmHmjj7WyRMK6QCLJsew7izl
g/Hjsqvq73QvNdRfjbxTK19sOO1clpJfAdvyHELR+TVvJDAooWFj/8KBfSGCimkv
6bVnDFKIB/ov/o3ZhX121FHq/zH6SH/CxbVozIuTTiowumgftgPMapEiXRIvp/+S
ar8dcUF+xiRcKOmx4mBctOxQQ6R0z0o1oWItyjioyB0Rb09kMVjNCQuvq9IpPzLn
kl+C7ndrh4etobK9nv2A
=3DfojV
-----END PGP SIGNATURE-----


--047d7bfcfa0c19012105381c7642--