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 1Qjp6a-0002Wy-SA for garchives@archives.gentoo.org; Thu, 21 Jul 2011 08:59:41 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E87E221C1F1; Thu, 21 Jul 2011 08:59:25 +0000 (UTC) Received: from mail-iy0-f181.google.com (mail-iy0-f181.google.com [209.85.210.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 14B0521C1E6 for ; Thu, 21 Jul 2011 08:57:52 +0000 (UTC) Received: by iyf40 with SMTP id 40so775785iyf.40 for ; Thu, 21 Jul 2011 01:57:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:from:reply-to:to:subject:date:message-id:x-mailer :mime-version:content-language:content-type :content-transfer-encoding; bh=sPT3xYvq8lWKksPU8ZQ9ax6O+iJpSOXNPXeNmwbQZ5I=; b=XPa1zfBpHpT4pHuvrVw8hojzRq6OVlgLDJ4IyrUg9EnE4+b01QxQ7ciGZ1u3eVmj+m X/fM7s22fEw2OIlc6BWZmJaj+EvbwsVlFzmxSDkFuJxrrN7V6OxlFCxupl0xr2LvKwQ0 bj2j1L/6cOkMuNmM3q7uRW1oiyQAjQuKYbd+E= Received: by 10.231.51.4 with SMTP id b4mr11796ibg.64.1311238672324; Thu, 21 Jul 2011 01:57:52 -0700 (PDT) Received: from [10.16.85.227] ([223.255.226.129]) by mx.google.com with ESMTPS id hq1sm1589158icc.2.2011.07.21.01.57.46 (version=SSLv3 cipher=OTHER); Thu, 21 Jul 2011 01:57:51 -0700 (PDT) Sender: Pandu Poluan From: Pandu Poluan To: gentoo-user@lists.gentoo.org Subject: RE: [gentoo-user] New computer and Gentoo Date: Thu, 21 Jul 2011 15:57:13 +0700 Message-ID: X-Mailer: EPOC Email Version 2.10 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-Language: i-default Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: bf09ffa5269b7dd412b523299f510116 -original message- Subject: Re: [gentoo-user] New computer and Gentoo From: Bill Kenworthy Date: 2011-07-21 12:54 >On Thu, 2011-07-21 at 06:26 +0100, Mick wrote: >> On Thursday 21 Jul 2011 03:29:17 Adam Carter wrote: >> > amd64 means any x86 64bit platform, so Intel too. >> >=20 >> > march=3Dnative is good if you're not using distcc, or if you're = only >> > using distcc on core2 boxes. Otherwise be specific. >>=20 >> I recommend using the "64 bit profile (amd64) for >=3D GCC 4.3" which = shows - >> march=3Dcore2. This is what I use here with multilib and had no = problems. > >Ive just stumbled on something weird with march=3Dnative: > >At some point I had march=3Dprescott on a core2 E4600 running 32bit = - >worked well. Changed to march=3Dnative and did some upgrades with a = few >odd things like asterisk segfaulting in a glibc library afterwards, = and >some things not building. Then to add confusion, I changed to an >pentium Duo E6600 (flies!) and added another stick of ram. More odd >things happening such as reiserfs oopsing on shutdown. > >Last night the penny dropped and I looked the new processor up and >changed to march=3Dcore2 and have mostly corrected (recompiled) the >damage. > >So not sure about march=3Dnative now as it is only what was built = with >native thats been problematic. With 20-20 hindsight it was perhaps >predictable ... IMO you're not supposed to compile part of the system with = -march=3D and the rest with -march=3Dnative. The instructions = (and optimizations) emitted by -march=3Dnative might not be compatible with = your previous -march. I had deployed more than 10 Gentoo servers using -march=3Dnative without = any problem. CMIIW Rgds, -- FdS Pandu E Poluan ~ IT Optimizer ~ Sent from Nokia E72-1