From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 51D8B138480 for ; Mon, 14 Jan 2013 11:18:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B019221C081; Mon, 14 Jan 2013 11:18:35 +0000 (UTC) Received: from mail-oa0-f46.google.com (mail-oa0-f46.google.com [209.85.219.46]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E0B3821C00D for ; Mon, 14 Jan 2013 11:18:33 +0000 (UTC) Received: by mail-oa0-f46.google.com with SMTP id h16so3822127oag.19 for ; Mon, 14 Jan 2013 03:18:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=tgwl3wXQ5y6kUGgGmo5VJnzSpM9Jrm2esgW1KfJ2lQY=; b=JBAIbjm7PbAFW0qwvyGoZgqRMUePq3O2amurssROXnaKFihdXTGSQ7QLkw/hqgb/do ntrBMOZWMJnvxUiLH4PT/k739ckrLKoKYtv/IErDNj+XWnfLS6/1OgQzgr4PKSLlcJUv gbpxrUVQTmqJl/naU+1YtW4ZEBR3KuHqdWYC2WExpMQ0Lfz/r+2PKrvbaDJtvmDQzK4l x7PmKzoHOAXoRftoRpB2+zCNb1IXv6dwIlH+gk+gfCmPRllkIAHhyZbMEeVhzV+cGmvZ BPtWcNiBo1MhnFqYAOMaHsgjCn65ZA0sLLClnXRbNykLb2u+s+fxuv0hdK0O/PsW//a7 sBvw== 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.60.172.209 with SMTP id be17mr16486012oec.51.1358162313106; Mon, 14 Jan 2013 03:18:33 -0800 (PST) Received: by 10.60.20.234 with HTTP; Mon, 14 Jan 2013 03:18:32 -0800 (PST) Date: Mon, 14 Jan 2013 22:18:32 +1100 Message-ID: Subject: [gentoo-user] How reliable is emerge --info output? From: Adam Carter To: "gentoo-user@lists.gentoo.org" Content-Type: multipart/alternative; boundary=bcaec550b33c38562f04d33dceaf X-Archives-Salt: ece6606f-e52b-4fed-9c4c-3e26d9026223 X-Archives-Hash: 181a5779736d8238864a94933397ce41 --bcaec550b33c38562f04d33dceaf Content-Type: text/plain; charset=ISO-8859-1 The first CFLAGS (or CXXFLAGS) line below appears to be taken from the environment setting, and the second is from the " was built with the following" section of the emerge --info output. Squid looks as it should (the -flto is added to that package only) but for firefox it appears that -O2 has been stripped, and not replaced with -O3, which IIRC is the default for that package. # grep ^CFL /etc/make.conf CFLAGS="-march=amdfam10 -mcx16 -msahf -mpopcnt -mabm -O2 -pipe" # emerge --info squid | grep ^CFL CFLAGS="-march=amdfam10 -mcx16 -msahf -mpopcnt -mabm -O2 -pipe" CFLAGS="-march=amdfam10 -mcx16 -msahf -mpopcnt -mabm -O2 -pipe -flto" # emerge --info firefox | grep ^CFL CFLAGS="-march=amdfam10 -mcx16 -msahf -mpopcnt -mabm -O2 -pipe" CFLAGS="-march=amdfam10 -pipe -mno-avx" Is anyone getting O2 or O3 in their emerge --info firefox output? --bcaec550b33c38562f04d33dceaf Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
The first CFLAGS (or CXXFLAGS) line below appears to = be taken from the environment setting, and the second is from the "<= ;packagename> was built with the following" section of the emerge -= -info output.

Squid looks as it should (the -flto is added to that package only= ) but for firefox it appears that -O2 has been stripped, and not replaced w= ith -O3, which IIRC is the default for that package.

# gre= p ^CFL /etc/make.conf
CFLAGS=3D"-march=3Damdfam10 -mcx16 -msahf -mpopcnt -mabm -O2 -pipe&quo= t;

# emerge --info squid | grep ^CFL
CFLAGS=3D"-march=3Damdf= am10 -mcx16 -msahf -mpopcnt -mabm -O2 -pipe"
CFLAGS=3D"-march= =3Damdfam10 -mcx16 -msahf -mpopcnt -mabm -O2 -pipe -flto"

# emerge --info firefox | grep ^CFL
CFLAGS=3D"-march=3Damdfam10= -mcx16 -msahf -mpopcnt -mabm -O2 -pipe"
CFLAGS=3D"-march=3Dam= dfam10 -pipe -mno-avx"

Is anyone getting O2 or O3 in= their emerge --info firefox output?

--bcaec550b33c38562f04d33dceaf--