public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* PPL doesn’t compile
@ 2012-04-25 13:17 Colona
  2012-04-25 14:54 ` Martin Guy
  0 siblings, 1 reply; 3+ messages in thread
From: Colona @ 2012-04-25 13:17 UTC (permalink / raw)
  To: crossgcc

Hi,

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]
[ERROR]    /data/crosstools/crosstool-ng-1.14.1/.build/src/ppl-0.10.2/src/Interval.defs.hh:390: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]
[ERROR]    /data/crosstools/crosstool-ng-1.14.1/.build/src/ppl-0.10.2/src/Interval.defs.hh:432:5: error: 'f_info' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
[ERROR]    /data/crosstools/crosstool-ng-1.14.1/.build/src/ppl-0.10.2/src/Interval.defs.hh:492:5: error: 'f_info' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
[ERROR]    /data/crosstools/crosstool-ng-1.14.1/.build/src/ppl-0.10.2/src/Interval.defs.hh:390: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]
[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]
[ERROR]    make[4]: *** [Polyhedron_widenings.lo] Error 1
[ERROR]    make[3]: *** [all] Error 2
[ERROR]    make[2]: *** [all-recursive] Error 1
[ERROR]    make[1]: *** [all] Error 2
[ERROR]   
[ERROR]  >>
[ERROR]  >>  Build failed in step 'Installing PPL'
[ERROR]  >>        called in step '(top-level)'
[ERROR]  >>
[ERROR]  >>  Error happened in: CT_DoExecLog[scripts/functions@172]
[ERROR]  >>        called from: do_ppl[scripts/build/companion_libs/ppl.sh@58]
[ERROR]  >>        called from: main[scripts/crosstool-NG.sh@597]

The build.log is available here :
http://paste.pocoo.org/show/yc5rGpC83IquO3WmOQxC/

Is there a way to make it compile ?
Thank you,
-- 
Ivan « Colona » Delalande

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: PPL doesn’t compile
  2012-04-25 13:17 PPL doesn’t compile Colona
@ 2012-04-25 14:54 ` Martin Guy
  2012-04-25 18:05   ` Colona
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Guy @ 2012-04-25 14:54 UTC (permalink / raw)
  To: Colona; +Cc: crossgcc

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

cheers

   M

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: PPL doesn’t compile
  2012-04-25 14:54 ` Martin Guy
@ 2012-04-25 18:05   ` Colona
  0 siblings, 0 replies; 3+ messages in thread
From: Colona @ 2012-04-25 18:05 UTC (permalink / raw)
  To: Martin Guy; +Cc: crossgcc

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-04-25 18:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-25 13:17 PPL doesn’t compile Colona
2012-04-25 14:54 ` Martin Guy
2012-04-25 18:05   ` Colona

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).