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]

issues building PPL 0.11.2


Yann, all --

I ran into a variety of odd issues trying to build a toolchain on my
Fedora 14 (x86-64) system with the latest PPL release (0.11.2).

Here's the patch I'm currently using, and it seems to be working fine.
 If you really need me to, I can reformulate it as a proper mailed
patch with signed-off-by etc, but I feel it's minor enough to not
warrant it. Whatever. (Also, I still seem unable to really drive
'hg' properly, so my reformulating it would take me a few hours of
cloning and polishing, whee.)

Anyway, the issues I found:

1. a java test lib doesn't get a makefile rule if PPL is not built
shared. I first tried building shared, then eventually just build only
C and C++ 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.

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

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}"ÂÂÂÂÂ \
ÂÂÂÂÂÂÂÂ --enable-cxxÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ \
ÂÂÂÂÂÂÂÂ --enable-watchdogÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ \
ÂÂÂÂÂÂÂÂ --disable-debuggingÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ \
@@ -48,6 +49,7 @@
ÂÂÂÂÂÂÂÂ --disable-ppl_lcddÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ \
ÂÂÂÂÂÂÂÂ --disable-ppl_lpsolÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ \
ÂÂÂÂÂÂÂÂ --disable-sharedÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ \
+ÂÂÂÂÂÂÂ --enable-interfaces='c c++'ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ \
ÂÂÂÂÂÂÂÂ --enable-static

ÂÂÂÂ # Maybe-options:
@@ -55,11 +57,11 @@
 # --enable-optimization=speed or sspeed (yes, with 2 's')

ÂÂÂÂ CT_DoLog EXTRA "Building PPL"
-ÂÂÂ CT_DoExecLog ALL make ${JOBSFLAGS}
+ÂÂÂ CT_DoExecLog ALL make

ÂÂÂÂ if [ "${CT_COMPLIBS_CHECK}" = "y" ]; then
ÂÂÂÂÂÂÂÂ CT_DoLog EXTRA "Checking PPL"
-ÂÂÂÂÂÂÂ CT_DoExecLog ALL make ${JOBSFLAGS} -s check
+ÂÂÂÂÂÂÂ CT_DoExecLog ALL make -s check
ÂÂÂÂ fi

ÂÂÂÂ CT_DoLog EXTRA "Installing PPL"

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