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 29CE6138334 for ; Wed, 3 Oct 2018 09:50:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4D88AE09DD; Wed, 3 Oct 2018 09:50:05 +0000 (UTC) Received: from pmta21.teksavvy.com (pmta21.teksavvy.com [76.10.157.36]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E6807E09BE for ; Wed, 3 Oct 2018 09:50:04 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2EZAQCBj7Rb/xabSC1aGgEBAQEBAgEBA?= =?us-ascii?q?QEHAgEBAQGDX4FTEiiIJINLpx0eGAGEQAKEGyE4FAEDAQEBAQEBAgICaSiFOgY?= =?us-ascii?q?dHU8LDRQTEg8FXIUjpgsaAoRbhRaLHxc/gQI/hCSFS4JlgiYCiD+VCgkCgguOJ?= =?us-ascii?q?SKJAhcMA4Y6lyYigVV9CIMngk2OIyMweQGNYwEB?= X-IPAS-Result: =?us-ascii?q?A2EZAQCBj7Rb/xabSC1aGgEBAQEBAgEBAQEHAgEBAQGDX4F?= =?us-ascii?q?TEiiIJINLpx0eGAGEQAKEGyE4FAEDAQEBAQEBAgICaSiFOgYdHU8LDRQTEg8FX?= =?us-ascii?q?IUjpgsaAoRbhRaLHxc/gQI/hCSFS4JlgiYCiD+VCgkCgguOJSKJAhcMA4Y6lyY?= =?us-ascii?q?igVV9CIMngk2OIyMweQGNYwEB?= X-IronPort-AV: E=Sophos;i="5.54,335,1534824000"; d="scan'208";a="47180567" Received: from unknown (HELO waltdnes.org) ([45.72.155.22]) by smtp.teksavvy.com with SMTP; 03 Oct 2018 05:50:03 -0400 Received: by waltdnes.org (sSMTP sendmail emulation); Wed, 03 Oct 2018 05:49:52 -0400 From: "Walter Dnes" Date: Wed, 3 Oct 2018 05:49:52 -0400 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] march cflag for Intel Pentium Dual-Core E2160 SLA8Z Malay processor Message-ID: <20181003094951.GA2572@waltdnes.org> References: <20180919083722.GA31111@waltdnes.org> 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Archives-Salt: 398b55a8-40e2-45e5-b658-0f1e0ab0e701 X-Archives-Hash: a3ca2ddab71d9d9a97d85ecf3b433475 What's happening is that the ebuild is going through a lookup table of CPU flags, and saying... "if you invoke a certain advanced feature, then you also have to invoke the base version of that feature". If you ask for the advanced feature, but not the base feature, it's like trying to build the top 4 storeys of a 10-storey building without the bottom 6 storeys. From your output... If you're calling for avx2, then you also need avx > cpu_flags_x86_avx2? ( cpu_flags_x86_avx ) If you're calling for sse4_2, then you also need sse4_1 > cpu_flags_x86_sse4_2? ( cpu_flags_x86_sse4_1 ) If you're calling for sse4_1, then you also need ssse3 > cpu_flags_x86_sse4_1? ( cpu_flags_x86_ssse3 ) If you're calling for ssse3, then you also need sse3 (count the "s") > cpu_flags_x86_ssse3? ( cpu_flags_x86_sse3 ) If you're calling for sse3, then you also need sse2 > cpu_flags_x86_sse3? ( cpu_flags_x86_sse2 ) If you're calling for sse2, then you also need sse > cpu_flags_x86_sse2? ( cpu_flags_x86_sse ) If you're calling for sse, then you also need mmxext > cpu_flags_x86_sse? ( cpu_flags_x86_mmxext ) If you're calling for mmxext, then you also need mmx > cpu_flags_x86_mmxext? ( cpu_flags_x86_mmx ) AMD If you're calling for 3dnowext, then you also need 3dnow > cpu_flags_x86_3dnowext? ( cpu_flags_x86_3dnow ) AMD If you're calling for 3dnow, then you also need mmx > cpu_flags_x86_3dnow? ( cpu_flags_x86_mmx ) Basically, if flag B is an extension of flag A and builds on it, then calling flag B requires calling flag A. Think of it as a "march flag dependency tree". -- Walter Dnes I don't run "desktop environments"; I run useful applications