issues building PPL 0.11.2
Yann E. MORIN
yann.morin.1998@anciens.enib.fr
Sat May 14 22:18:00 GMT 2011
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. |
'------------------------------^-------^------------------^--------------------'
More information about the crossgcc
mailing list