From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1M9FwD-0006HQ-IN for garchives@archives.gentoo.org; Wed, 27 May 2009 10:00:45 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 83F34E0582; Wed, 27 May 2009 10:00:44 +0000 (UTC) Received: from mail-fx0-f219.google.com (mail-fx0-f219.google.com [209.85.220.219]) by pigeon.gentoo.org (Postfix) with ESMTP id 4984CE0582 for ; Wed, 27 May 2009 10:00:44 +0000 (UTC) Received: by fxm19 with SMTP id 19so4042559fxm.34 for ; Wed, 27 May 2009 03:00:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=w3mM7NFCv6sa3ByQLHQguCCfSVUkCyLgDfhUl92zVSE=; b=qPTJPP6i/CHWOgYEoMjcwcZkxDv/46q9qkAr7QqVd+oN+FBJ4yo7OUvqqWaNOLV6XH 4PZM2oxvj6VExnUOZxIUiH4stbObsWq9LmU+OABMaEa6yqswu9rV3SbFFLKzlVLr9E4p oidHMarKEKg9TjJs4ylft8d8ygBosZJbV9IRs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=iunjeoA8ZuaK0vUWQnzTsxjyyns1y8F2mcC3l50c+3TsvMlm7p65aBHgslJiWBqkAU B+451ruZMDpPjTEjTROU2xSiXbkfvUchHWeqkTMPYKTkWobQQHxMF7O8yzhvpw+q8RkO U7o0rt7ho9xkEa/7Qje3+89DWfLZF6TJKTmeI= Received: by 10.102.228.10 with SMTP id a10mr4966217muh.26.1243418443726; Wed, 27 May 2009 03:00:43 -0700 (PDT) Received: from ilievnet.com ([84.21.204.200]) by mx.google.com with ESMTPS id g1sm1246621muf.26.2009.05.27.03.00.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 27 May 2009 03:00:42 -0700 (PDT) Date: Wed, 27 May 2009 13:00:41 +0300 From: Daniel Iliev To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] USE="mmx mmxext sse sse2 ssse3 3dnow 3dnowext" Message-ID: <20090527130041.214f5aa9@ilievnet.com> In-Reply-To: <208DD9E9-EDD3-4E85-A8DE-6B08B08EDCEA@stellar.eclipse.co.uk> References: <4E38BD16-0410-4A31-839C-290364A8D735@stellar.eclipse.co.uk> <200905260637.49384.volkerarmin@googlemail.com> <195F8064-21ED-4FBB-8C2D-78F45FBAF59A@stellar.eclipse.co.uk> <20090526173123.6af2881a@ilievnet.com> <51F59246-9E2D-42D1-9AC6-BB5E41BDAAF3@stellar.eclipse.co.uk> <20090527034704.49154a6f@ilievnet.com> <208DD9E9-EDD3-4E85-A8DE-6B08B08EDCEA@stellar.eclipse.co.uk> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.14.7; x86_64-pc-linux-gnu) 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-Transfer-Encoding: 7bit X-Archives-Salt: 512ec21c-0b9e-41cc-97a0-73a468976683 X-Archives-Hash: 2209e29001f673db512066636c3ce600 On Wed, 27 May 2009 09:14:03 +0100 Stroller wrote: > > On 27 May 2009, at 01:47, Daniel Iliev wrote: > > > > There could be problems if you had enabled all the EIS flags > > globally (in make.conf) instead only for mplayer, because other > > programs don't have the "run-time cpu detection" feature and will > > fail in their attempts to use for example 3dnow! on an Intel CPU. > > > > I hope I was clear enough, apologies for my Englush. > > Hi there, > > The thing is that run-time CPU detection is unnecessary, if you're > always going to be using this mplayer binary you've just built on > the same system. mplayer will be built correctly without this > cpudetection flag (just put all the USE flags corresponding to EIS > instructions in package.use as previously discussed, but without > cpudetection). > I'm afraid the common sense says disabling the "cpudetection" USE flag could lead to the problem I described in my previous message. Please, don't get me wrong - I'm not arguing and I've never tried to build mplayer with EIS that is unsupported by the CPU. It may work if the build system detects and corrects such errors when cpudetection is disabled. I personally set the correct EIS USE flags for my CPU globally and disable the cpudetection flag. This has the advantage that all programs supporting one or another EIS would be built with the EIS code included. I didn't suggest you this approach because I believe somewhere in this thread you mentioned you wanted to use the same settings on several different systems. -- Best regards, Daniel