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: Building crosstool-ng for MIPS on Mac OS X


Re-sending as I noticed I didn't send the answer to the list. And as I hope to get an answer, here you go:

Titus, thank you for your answer.

at a first glance it might be the Makefile showing the error
cannot handle the number of parallel make jobs correctly.
At least, for some reason not shown ".deps/matrix.Tpo" does not exist
but to my understanding it just should have been created.
Try to reduce the job count in the ct-ng .config file for your tool chain.

I changed the number of parallel jobs from 7 to 1:


[CFG ] /*-----------------------------------------------*
[CFG ] * CLooG configuration is OK *
[CFG ] *-----------------------------------------------*/
[CFG ] It appears that your system is OK to start CLooG compilation. You need
[CFG ] now to type "make". After compilation, you should check CLooG by typing
[CFG ] "make check". If no problem occur, you can type "make uninstall" if
[CFG ] you are upgrading an old version. Lastly type "make install" to install
[CFG ] CLooG on your system (log as root if necessary).
[EXTRA] Building CLooG/ppl
[DEBUG] ==> Executing: 'make -j1 libcloog.la'
[ALL ] /bin/bash ./libtool --tag=CC --mode=compile x86_64-build_apple-darwin10.7.1-gcc -DHAVE_CONFIG_H -I. -I/Volumes/CrossCompilation/.build/src/cloog-ppl-0.15.10 -I./include/cloog -I./include -I/Volumes/CrossCompilation/.build/src/cloog-ppl-0.15.10/include -I/Volumes/CrossCompilation/.build/mips-unknown-elf/build/static/include -I/Volumes/CrossCompilation/.build/mips-unknown-elf/build/static/include -Wall -fomit-frame-pointer -pipe -MT block.lo -MD -MP -MF .deps/block.Tpo -c -o block.lo `test -f 'source/block.c' || echo '/Volumes/CrossCompilation/.build/src/cloog-ppl-0.15.10/'`source/block.c
[ALL ] mv -f .deps/block.Tpo .deps/block.Plo
[ALL ] mv: rename .deps/block.Tpo to .deps/block.Plo: No such file or directory
[ERROR] make[1]: *** [block.lo] Error 1
[ERROR] Build failed in step 'Installing CLooG/ppl'
[ERROR] Error happened in '/Volumes/CrossCompilation//lib/ct-ng-1.10.0/scripts/functions' in function 'CT_DoExecLog' (line unknown, sorry)
[ERROR] called from '/Volumes/CrossCompilation//lib/ct-ng-1.10.0/scripts/build/companion_libs/cloog.sh' at line # 78 in function 'do_cloog'
[ERROR] called from '/Volumes/CrossCompilation//lib/ct-ng-1.10.0/scripts/crosstool-NG.sh' at line # 606 in function 'main'
[ERROR] Look at '/Volumes/CrossCompilation/mips-unknown-elf/build.log' for more info on this error.
[ERROR] (elapsed: 9:45.00)


Which version of ct-ng do you use?

I downloaded the latest one, 1.10.0.


Which tool chain components and versions are you trying to build?

Well I'm trying to build a tool chain for MIPS but didn't go too far into the configuration. I used ct-mg menuconfig.


Did you use a sample configuration?

Does my previous answer, answers this ?


Thank you very much for your time!

p

--
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]