This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PPL doesnât compile


On Wed, Apr 25, 2012 at 04:53:55PM +0200, Martin Guy wrote:
> On 25 April 2012 15:17, Colona <colona@ycc.fr> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]