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


Am 18.03.2011 um 14:40 schrieb Pierrick Brossin:

> Dear List,
> 
> I am trying to build a MIPS cross compiler on Mac OS X 10.6.6. I saw there are some issue but does it prevent from building the whole stuff ?
> 
> Please find below the error I get after a few minutes.
> Let me know if you need to know anything else!
> 
> Thank you!
> 
> [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 matrix.lo -MD -MP -MF .deps/matrix.Tpo -c -o matrix.lo `test -f 'source/ppl/matrix.c' || echo '/Volumes/CrossCompilation/.build/src/cloog-ppl-0.15.10/'`source/ppl/matrix.c
> [ALL  ]    mv -f .deps/loop.Tpo .deps/loop.Plo
> [ALL  ]    mv -f .deps/block.Tpo .deps/block.Plo
> [ALL  ]    mv -f .deps/names.Tpo .deps/names.Plo
> [ALL  ]    mv -f .deps/options.Tpo .deps/options.Plo
> [ALL  ]    mv -f .deps/clast.Tpo .deps/clast.Plo
> [ALL  ]    mv: rename .deps/block.Tpo to .deps/block.Plo: No such file or directory
> [ALL  ]    mv: rename .deps/loop.Tpo to .deps/loop.Plo: No such file or directory
> [ERROR]    make[1]: *** [block.lo] Error 1
> [ALL  ]    make[1]: *** Waiting for unfinished jobs....
> [ERROR]    make[1]: *** [loop.lo] Error 1
> [ALL  ]    mv -f .deps/domain.Tpo .deps/domain.Plo
> [ALL  ]    mv: rename .deps/options.Tpo to .deps/options.Plo: No such file or directory
> [ALL  ]    mv: rename .deps/names.Tpo to .deps/names.Plo: No such file or directory
> [ERROR]    make[1]: *** [options.lo] Error 1
> [ALL  ]    mv -f .deps/matrix.Tpo .deps/matrix.Plo
> [ERROR]    make[1]: *** [names.lo] Error 1
> [ALL  ]    mv: rename .deps/domain.Tpo to .deps/domain.Plo: No such file or directory
> [ALL  ]    mv: rename .deps/clast.Tpo to .deps/clast.Plo: No such file or directory
> [ERROR]    make[1]: *** [domain.lo] Error 1
> [ERROR]    make[1]: *** [clast.lo] Error 1
> [ALL  ]    mv: rename .deps/matrix.Tpo to .deps/matrix.Plo: No such file or directory
> [ERROR]    make[1]: *** [matrix.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: 5:14.00)
Pierrick,

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.

Which version of ct-ng do you use?
Which tool chain components and versions are you trying to build?
Did you use a sample configuration?

Regards
Titus


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