From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from hermes.mlbassoc.com ([64.234.241.98] helo=mail.chez-thomas.org) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1Q4tTC-0005TZ-7M for openembedded-core@lists.openembedded.org; Wed, 30 Mar 2011 13:21:50 +0200 Received: by mail.chez-thomas.org (Postfix, from userid 999) id 7AE041660186; Wed, 30 Mar 2011 05:11:37 -0600 (MDT) X-Spam-Checker-Version: SpamAssassin 3.3.2-r929478 (2010-03-31) on hermes.chez-thomas.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED,BAYES_00 autolearn=unavailable version=3.3.2-r929478 Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by mail.chez-thomas.org (Postfix) with ESMTP id 9F24616600A3; Wed, 30 Mar 2011 05:11:13 -0600 (MDT) Message-ID: <4D930FD1.7060402@mlbassoc.com> Date: Wed, 30 Mar 2011 05:11:13 -0600 From: Gary Thomas User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc13 Thunderbird/3.1.7 MIME-Version: 1.0 To: Khem Raj References: <00f980d5a81d4cd6273ec10b67e4d288b8fd64de.1300730825.git.raj.khem@gmail.com> <1301405666.24596.27.camel@rex> <20110329150018.GB4529@sakrah.homelinux.org> <4D9270F4.3080004@mlbassoc.com> In-Reply-To: Cc: Patches and discussions about the oe-core layer Subject: Re: [PATCH 1/3] bitbake.conf: Prune global OPTIMIZATION flags X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2011 11:21:50 -0000 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 03/29/2011 07:31 PM, Khem Raj wrote: > On Tue, Mar 29, 2011 at 4:53 PM, Gary Thomas wrote: >> On 03/29/2011 09:00 AM, Khem Raj wrote: >>> >>> On (29/03/11 14:34), Richard Purdie wrote: >>>> >>>> On Mon, 2011-03-21 at 11:11 -0700, Khem Raj wrote: >>>>> >>>>> -fexpensive-optimizations is enabled by default at -O2 >>>>> >>>>> -fomit-frame-pointer is enabled at -O2 selectively by gcc depending upon >>>>> architecture if debug info is not hurt >>>>> >>>>> -frename-registers - This might have some performance advantage on top >>>>> of O2 on architectures which have more registers and registers are left >>>>> after scheduling but it affects debuggability quite a bit so as a i >>>>> tradeoff we do not use it. >>>>> >>>>> -feliminate-dwarf2-dups - We use this option to reduce the size of debug >>>>> information by removing duplicates this is only valid for dwarf2+ and >>>>> we >>>>> use dwarf2 by default >>>> >>>> I've disabled this flag for now as it was causing too many failures >>>> across the board (various apps, prelinker). We can add it back when this >>>> has been tested more extensively and its been confirmed to work with the >>>> prelinker. >>> >>> It would have been better to disable one by one we would be able to >>> utilize current testing. Most probaly the prelink issue is due to >>> -feliminate-dwarf2-dups did you try to remove that out ? >> >> This change, in particular adding -feliminate-dwarf2-dups, breaks my >> build of chromium(*) (in strange ways, it ends up building .a libraries >> which the linker can't parse). Everything else I've tried to build >> seems OK though. For now, I've just dropped this option in my DISTRO.conf > > You dont have to after Richard already dropped it from bitbake.conf > its better to stay close enough to defaults Absolutely. Thanks, Richard, for moving quickly on this. >> >> (*) It took quite some time to isolate this as the problem as it is a royal >> pain to test BTW as it takes more than an hour to build this one package on >> my >> hefty build server! > > hmmm I wonder if its disabling PARALLE_MAKE ? Nah, it's just *HUGE* - the tmp/work build tree is ~8GB -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------