From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 514 invoked by alias); 30 Sep 2009 12:04:14 -0000 Received: (qmail 504 invoked by uid 22791); 30 Sep 2009 12:04:14 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org Received: from static-213.50.114.146.addr.tdcsong.se (HELO mail.icomera.com) (213.50.114.146) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 30 Sep 2009 12:04:08 +0000 Received: from [192.168.0.9] (80.229.223.150) by mail.icomera.com (192.168.64.17) with Microsoft SMTP Server (TLS) id 8.1.240.5; Wed, 30 Sep 2009 14:04:05 +0200 Message-ID: <4AC3492E.3070106@icomera.com> Date: Wed, 30 Sep 2009 12:04:00 -0000 From: Richard Strand User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: Oron Peled CC: "crossgcc@sourceware.org" , "Yann E. MORIN" Subject: Re: Success building seemingly native toolchain References: <4AAFC7B0.20605@icomera.com> <200909282209.56222.yann.morin.1998@anciens.enib.fr> <4AC23A57.3060406@icomera.com> <200909300107.04449.oron@mailhub.home.il> In-Reply-To: <200909300107.04449.oron@mailhub.home.il> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org X-SW-Source: 2009-09/txt/msg00070.txt.bz2 Oron Peled wrote: > On Tuesday, 29 בSeptember 2009 18:48:23 Richard Strand wrote: > >> The toolchain is working perfectly for me and I've not run into any >> problems yet. Changing to -O2 sounds like a good idea as long as it >> doesn't break builds for any other architectures. >> > > I'm not sure if it's related, but AFAIR g++ only consider inline > of C++ methods with -O2 or more (maybe some of the inline methods > are crucial for g++ or glibc itself). > It seems that if no CFLAGS are specified when compiling glibc then it automatically uses -O2. Hopefully this means that -O2 is safe, and is probably preferable to using -O. Regards, --Richard Strand -- For unsubscribe information see http://sourceware.org/lists.html#faq