From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28146 invoked by alias); 25 Apr 2012 18:05:32 -0000 Received: (qmail 28137 invoked by uid 22791); 25 Apr 2012 18:05:31 -0000 X-SWARE-Spam-Status: No, hits=0.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_BRBL_LASTEXT,SARE_HEAD_8BIT_SPAM,SARE_SUB_ENC_UTF8,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from colona.ycc.fr (HELO mx1.ycc.fr) (88.184.60.174) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 25 Apr 2012 18:05:18 +0000 Received: by mx1.ycc.fr (Postfix, from userid 1001) id 15C1C9A7C4; Wed, 25 Apr 2012 20:05:14 +0200 (CEST) Date: Wed, 25 Apr 2012 18:05:00 -0000 From: Colona To: Martin Guy Cc: crossgcc@sourceware.org Subject: Re: PPL =?utf-8?B?ZG9lc27igJl0?= compile Message-ID: <20120425180514.GJ24202@ycc.fr> References: <20120425131709.GI24202@ycc.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) 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: 2012-04/txt/msg00040.txt.bz2 On Wed, Apr 25, 2012 at 04:53:55PM +0200, Martin Guy wrote: > On 25 April 2012 15:17, Colona wrote: > > I’m trying to build a toolchain for ARM on an ArchLinux on x86_64, using > > gcc 4.7.0 and binutils 2.22-5. Both crosstool-ng 1.14.1 and hg head fail > > during the compilation of PPL with the following errors : > > [INFO ]  Installing PPL > > [ERROR]    /data/crosstools/crosstool-ng-1.14.1/.build/src/ppl-0.10.2/src/Interval.defs.hh:451:86: error: 'f_info' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] > > Searching the error message on google, this seems to be a gcc-4.7 > issue, suggesting that > it now tolerates sloppy code less than it did before. > > I'd suggest using gcc-4.6 or try adding -fpermissive to the > compile flags in your crosstool config wherever gcc-4.7 is used in > thie hope that this restores the old behaviour Adding -fpermissive to the compile flags fixed the problem. I was then able to build the whole toolchain without any problem. Thanks a lot! -- Ivan « Colona » Delalande -- For unsubscribe information see http://sourceware.org/lists.html#faq