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

See the CrossGCC FAQ 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: issues building PPL 0.11.2


Anthony, All,

On Saturday 14 May 2011 21:03:41 Anthony Foiani wrote:
> 1. a java test lib doesn't get a makefile rule if PPL is not built
> shared.

You mean, when building gcc, or when building ppl itself?
If in gcc, then this is to be considered a bug in gcc.

> I first tried building shared, then eventually just build only
> C and C++ interfaces.

So, what does that mean? You need to both set static *and* specify the
interfaces?

> 2. PPL build was failing randomly, and it looked like it's not
> entirely safe under parallel building; as such, I removed the parallel
> build flag from the ppl.sh script.

PPL takes very long to build... I never ever saw it fail here (building
with 6-8 jobs).

And the check takes ages to complete, even in parallel. For example, on my
machine, building PPL takes roughly 1'40", while checking it takes 1h40'.
And I never dared to test in no-parallel... :-/

I'll have a look here with a lot of jobs ( hey I just got a hyperthreaded
hexa core Core i7 just for this kind stuff! Let's put it into action! ;-) )

> I know that both of these issues should probably be pushed to upstream.

Yes, please.

> Thanks,
> t.
> 
> Patch follows:
> 
> $ hg diff scripts/build/companion_libs/ppl.sh -r 2447
> diff -r 0888b073743d scripts/build/companion_libs/ppl.sh
> --- a/scripts/build/companion_libs/ppl.shÂÂÂ Fri Jan 21 19:53:06 2011 -0700
> +++ b/scripts/build/companion_libs/ppl.shÂÂÂ Sat May 14 12:57:14 2011 -0600
> @@ -41,6 +41,7 @@
> ÂÂÂÂÂÂÂÂ --prefix="${CT_COMPLIBS_DIR}"ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ \
> ÂÂÂÂÂÂÂÂ --with-libgmp-prefix="${CT_COMPLIBS_DIR}"ÂÂ \
> ÂÂÂÂÂÂÂÂ --with-libgmpxx-prefix="${CT_COMPLIBS_DIR}" \
> +ÂÂÂÂÂÂÂ --with-gmp-prefix="${CT_COMPLIBS_DIR}"ÂÂÂÂÂ \

Did 0.11 changed the confgure options? --with-libgmp-prefix is here just
to say where GMP has been installed.

> ÂÂÂÂÂÂÂÂ --enable-cxxÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ \
> ÂÂÂÂÂÂÂÂ --enable-watchdogÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ \
> ÂÂÂÂÂÂÂÂ --disable-debuggingÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ \
> @@ -48,6 +49,7 @@
> ÂÂÂÂÂÂÂÂ --disable-ppl_lcddÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ \
> ÂÂÂÂÂÂÂÂ --disable-ppl_lpsolÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ \
> ÂÂÂÂÂÂÂÂ --disable-sharedÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ \
> +ÂÂÂÂÂÂÂ --enable-interfaces='c c++'ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ \

What about the --enable-cxx, just above? Or is it just 0.11 changing this
configure option as well?

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

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