This is the mail archive of the cygwin mailing list for the Cygwin project.


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: Error building PowerPC Toolchain with Crosstool-NG in Cygwin


Here is an extract of the build.log file:

[ALL ] mkdir -p -- powerpc-405-linux-gnu/libjava
[ALL ] Configuring in powerpc-405-linux-gnu/libjava
[ALL ] configure: creating cache ./config.cache
[ALL ] checking build system type... i686-build_pc-cygwin
[ALL ] checking host system type... powerpc-405-linux-gnu
[ALL ] checking target system type... powerpc-405-linux-gnu
[ALL ] checking whether ln -s works... yes
[ALL ] checking for powerpc-405-linux-gnu-gcc... /home/jeff/powerpc_tools/crosstool-ng/crosstool-ng-1.7.0/targets/powerpc-405-linux-gnu/build/build-cc/./gcc/xgcc -B/home/jeff/powerpc_tools/crosstool-ng/crosstool-ng-1.7.0/targets/powerpc-405-linux-gnu/build/build-cc/./gcc/ -B/home/jeff/x-tools/powerpc-405-linux-gnu/powerpc-405-linux-gnu/bin/ -B/home/jeff/x-tools/powerpc-405-linux-gnu/powerpc-405-linux-gnu/lib/ -isystem/home/jeff/x-tools/powerpc-405-linux-gnu/powerpc-405-linux-gnu/include -isystem/home/jeff/x-tools/powerpc-405-linux-gnu/powerpc-405-linux-gnu/sys-include[ALL ] checking for C compiler default output file name... a.out[ALL ] checking whether the C compiler works... yes[ALL ] checking whether we are cross compiling... yes[ALL ] checking for suffix of executables...[ALL ] checking for suffix of object files... o[ALL ] checking whether we are using the GNU C compiler... yes[ALL ] checking whether/home/jeff/powerpc_tools/crosstool-ng/crosstool-ng-1.7.0/targets/powerpc-405-linux-gnu/build/build-cc/./gcc/xgcc -B/home/jeff/powerpc_tools/crosstool-ng/crosstool-ng-1.7.0/targets/powerpc-405-linux-gnu/build/build-cc/./gcc/ -B/home/jeff/x-tools/powerpc-405-linux-gnu/powerpc-405-linux-gnu/bin/ -B/home/jeff/x-tools/powerpc-405-linux-gnu/powerpc-405-linux-gnu/lib/ -isystem/home/jeff/x-tools/powerpc-405-linux-gnu/powerpc-405-linux-gnu/include -isystem/home/jeff/x-tools/powerpc-405-linux-gnu/powerpc-405-linux-gnu/sys-includeaccepts -g... yes[ALL ] checking for/home/jeff/powerpc_tools/crosstool-ng/crosstool-ng-1.7.0/targets/powerpc-405-linux-gnu/build/build-cc/./gcc/xgcc -B/home/jeff/powerpc_tools/crosstool-ng/crosstool-ng-1.7.0/targets/powerpc-405-linux-gnu/build/build-cc/./gcc/ -B/home/jeff/x-tools/powerpc-405-linux-gnu/powerpc-405-linux-gnu/bin/ -B/home/jeff/x-tools/powerpc-405-linux-gnu/powerpc-405-linux-gnu/lib/ -isystem/home/jeff/x-tools/powerpc-405-linux-gnu/powerpc-405-linux-gnu/include -isystem/home/jeff/x-tools/powerpc-405-linux-gnu/powerpc-405-linux-gnu/sys-includeoption to accept ANSI C... none needed[ALL ] checking for powerpc-405-linux-gnu-g++.../home/jeff/powerpc_tools/crosstool-ng/crosstool-ng-1.7.0/targets/powerpc-405-linux-gnu/build/build-cc/./gcc/xgcc -shared-libgcc -B/home/jeff/powerpc_tools/crosstool-ng/crosstool-ng-1.7.0/targets/powerpc-405-linux-gnu/build/build-cc/./gcc -nostdinc++ -L/home/jeff/powerpc_tools/crosstool-ng/crosstool-ng-1.7.0/targets/powerpc-405-linux-gnu/build/build-cc/powerpc-405-linux-gnu/libstdc++-v3/src -L/home/jeff/powerpc_tools/crosstool-ng/crosstool-ng-1.7.0/targets/powerpc-405-linux-gnu/build/build-cc/powerpc-405-linux-gnu/libstdc++-v3/src/.libs -B/home/jeff/x-tools/powerpc-405-linux-gnu/powerpc-405-linux-gnu/bin/ -B/home/jeff/x-tools/powerpc-405-linux-gnu/powerpc-405-linux-gnu/lib/ -isystem/home/jeff/x-tools/powerpc-405-linux-gnu/powerpc-405-linux-gnu/include -isystem/home/jeff/x-tools/powerpc-405-linux-gnu/powerpc-405-linux-gnu/sys-include[ALL ] checking whether we are using the GNU C++ compiler... yes[ALL ] checking whether/home/jeff/powerpc_tools/crosstool-ng/crosstool-ng-1.7.0/targets/powerpc-405-linux-gnu/build/build-cc/./gcc/xgcc -shared-libgcc -B/home/jeff/powerpc_tools/crosstool-ng/crosstool-ng-1.7.0/targets/powerpc-405-linux-gnu/build/build-cc/./gcc -nostdinc++ -L/home/jeff/powerpc_tools/crosstool-ng/crosstool-ng-1.7.0/targets/powerpc-405-linux-gnu/build/build-cc/powerpc-405-linux-gnu/libstdc++-v3/src -L/home/jeff/powerpc_tools/crosstool-ng/crosstool-ng-1.7.0/targets/powerpc-405-linux-gnu/build/build-cc/powerpc-405-linux-gnu/libstdc++-v3/src/.libs -B/home/jeff/x-tools/powerpc-405-linux-gnu/powerpc-405-linux-gnu/bin/ -B/home/jeff/x-tools/powerpc-405-linux-gnu/powerpc-405-linux-gnu/lib/ -isystem/home/jeff/x-tools/powerpc-405-linux-gnu/powerpc-405-linux-gnu/include -isystem/home/jeff/x-tools/powerpc-405-linux-gnu/powerpc-405-linux-gnu/sys-includeaccepts -g... yes[ALL ] checking for a BSD-compatible install.../home/jeff/powerpc_tools/crosstool-ng/crosstool-ng-1.7.0/targets/tools/bin/install -c[ALL ] checking whether build environment is sane... yes[ALL ] checking for gawk... gawk[ALL ] checking whether /usr/bin/make sets $(MAKE)... yes[ALL ] checking for style of include used by /usr/bin/make... GNU[ALL ] checking for powerpc-405-linux-gnu-strip.../home/jeff/x-tools/powerpc-405-linux-gnu/powerpc-405-linux-gnu/bin/strip[ALL ] checking dependency style of/home/jeff/powerpc_tools/crosstool-ng/crosstool-ng-1.7.0/targets/powerpc-405-linux-gnu/build/build-cc/./gcc/xgcc -B/home/jeff/powerpc_tools/crosstool-ng/crosstool-ng-1.7.0/targets/powerpc-405-linux-gnu/build/build-cc/./gcc/ -B/home/jeff/x-tools/powerpc-405-linux-gnu/powerpc-405-linux-gnu/bin/ -B/home/jeff/x-tools/powerpc-405-linux-gnu/powerpc-405-linux-gnu/lib/ -isystem/home/jeff/x-tools/powerpc-405-linux-gnu/powerpc-405-linux-gnu/include -isystem/home/jeff/x-tools/powerpc-405-linux-gnu/powerpc-405-linux-gnu/sys-include... gcc3[ALL ] checking dependency style of/home/jeff/powerpc_tools/crosstool-ng/crosstool-ng-1.7.0/targets/powerpc-405-linux-gnu/build/build-cc/./gcc/xgcc -shared-libgcc -B/home/jeff/powerpc_tools/crosstool-ng/crosstool-ng-1.7.0/targets/powerpc-405-linux-gnu/build/build-cc/./gcc -nostdinc++ -L/home/jeff/powerpc_tools/crosstool-ng/crosstool-ng-1.7.0/targets/powerpc-405-linux-gnu/build/build-cc/powerpc-405-linux-gnu/libstdc++-v3/src -L/home/jeff/powerpc_tools/crosstool-ng/crosstool-ng-1.7.0/targets/powerpc-405-linux-gnu/build/build-cc/powerpc-405-linux-gnu/libstdc++-v3/src/.libs -B/home/jeff/x-tools/powerpc-405-linux-gnu/powerpc-405-linux-gnu/bin/ -B/home/jeff/x-tools/powerpc-405-linux-gnu/powerpc-405-linux-gnu/lib/ -isystem/home/jeff/x-tools/powerpc-405-linux-gnu/powerpc-405-linux-gnu/include -isystem/home/jeff/x-tools/powerpc-405-linux-gnu/powerpc-405-linux-gnu/sys-include... gcc3[ALL ] checking for powerpc-405-linux-gnu-as.../home/jeff/powerpc_tools/crosstool-ng/crosstool-ng-1.7.0/targets/powerpc-405-linux-gnu/build/build-cc/./gcc/as[ALL ] checking for powerpc-405-linux-gnu-ld.../home/jeff/powerpc_tools/crosstool-ng/crosstool-ng-1.7.0/targets/powerpc-405-linux-gnu/build/build-cc/./gcc/collect-ld[ALL ] checking for powerpc-405-linux-gnu-ar.../home/jeff/x-tools/powerpc-405-linux-gnu/powerpc-405-linux-gnu/bin/ar[ALL ] checking for powerpc-405-linux-gnu-ranlib.../home/jeff/x-tools/powerpc-405-linux-gnu/powerpc-405-linux-gnu/bin/ranlib[ALL ] checking for gawk... (cached) gawk[ALL ] checking for jar... no[ALL ] checking for fastjar... no[ALL ] checking for gjar... gjar[ALL ] checking for zip... no[ALL ] checking for unzip... /usr/bin/unzip[ALL ] Exception in thread "main" java.lang.ExceptionInInitializerError[ALL ] at java.lang.Class.initializeClass(Unknown Source)[ALL ] at gnu.classpath.tools.common.Messages.getString(UnknownSource)[ALL ] atgnu.classpath.tools.common.ClasspathToolParser.getVersionString(UnknownSource)[ALL ] atgnu.classpath.tools.common.ClasspathToolParser.<init>(Unknown Source)[ALL ] atgnu.classpath.tools.common.ClasspathToolParser.<init>(Unknown Source)[ALL ] at gnu.classpath.tools.jar.Main$JarParser.<init>(UnknownSource)[ALL ] at gnu.classpath.tools.jar.Main.initializeParser(UnknownSource)[ALL ] at gnu.classpath.tools.jar.Main.run(Unknown Source)[ALL ] at gnu.classpath.tools.jar.Main.main(Unknown Source)[ALL ] Caused by: java.util.MissingResourceException: Bundlegnu.classpath.tools.common.Messages not found for locale en_US byclassloader gnu.gcj.runtime.SystemClassLoader{urls=[file:./],parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}[ALL ] at java.util.ResourceBundle.getBundle(Unknown Source)[ALL ] at java.util.ResourceBundle.getBundle(Unknown Source)[ALL ] at gnu.classpath.tools.common.Messages.<clinit>(UnknownSource)[ALL ] at java.lang.Class.initializeClass(Unknown Source)[ALL ] ...8 more[ERROR] configure: error: cannot find neither zip nor jar, cannotcontinue[ERROR] make[2]: *** [configure-target-libjava] Error 1[ALL ] make[2]: Leaving directory`/home/jeff/powerpc_tools/crosstool-ng/crosstool-ng-1.7.0/targets/powerpc-405-linux-gnu/build/build-cc'[ERROR] make[1]: *** [all] Error 2[ALL ] make[1]: Leaving directory`/home/jeff/powerpc_tools/crosstool-ng/crosstool-ng-1.7.0/targets/powerpc-405-linux-gnu/build/build-cc'[ERROR] Build failed in step 'Installing final compiler'[ERROR] Error happened in'/home/jeff/powerpc_tools/crosstool-ng/crosstool-ng-1.7.0/scripts/functions'in function 'CT_DoExecLog' (line unknown, sorry)[ERROR] called from'/home/jeff/powerpc_tools/crosstool-ng/crosstool-ng-1.7.0/scripts/build/cc/gcc.sh' at line # 392 in function 'do_cc'[ERROR] called from'/home/jeff/powerpc_tools/crosstool-ng/crosstool-ng-1.7.0/scripts-verbose/crosstool-NG.sh' at line # 578 in function 'main'[ERROR] Look at '/home/jeff/x-tools/powerpc-405-linux-gnu/build.log' formore info on this error.[ERROR] (elapsed: 642:23.71)I have the full build.log file. It's over 600K. I'd rather not filleveryone's mailbox with a big file. If you would like to see it, send me apersonal message and I will send it to you.In response to a couple other posts, I did try crosstool. Crosstool waslast updated in 2006 while crosstool-NG is being maintained currently. Ihave been in contact with the maintainer of crosstool-NG but I figured thatthe people on the Cygwin list would be more familiar with the quirks ofCygwin. Building the same target on Linux does not have the problem.Thanks for the responses so far. I have a project that requires crossdevelopment tools in a Windows environment with no budget for licenses forcommercial tools so I need to get these working.Jeff--------------------------------------------------From: "Jeff Gilton" <jgilton@cinci.rr.com>Sent: Saturday, May 08, 2010 8:30 PMTo: <yann.morin.1998@anciens.enib.fr>Cc: <crossgcc@sourceware.org>; <cygwin@cygwin.com>Subject: Error building PowerPC Toolchain with Crosstool-NG in Cygwin> I am trying to build a PowerPC toolchain with Crosstool-NG version 1.7.0.It gets most of the way through then fails installing the final C compilerin CT_DoExecLog. It looks like it's trying to build in the Java support soI disable Java and it gets farther. Then it fails installing DUMA so Idisable that. Then it fails building ncurses but I could find no way todisable that.>> I was able to successfully build the toolchain on Linux but I need aversion that will run in Windows. I have tried to build it in Cygwin onWindows 7, Windows 7 in XP compatibility mode, and Windows XP. In allcases, I have the latest version of Cygwin.>> I am not quite sure how to troubleshoot this. Right now, I've modifiedcrosstool-NG-sh to run bash in verbose mode to see if it can tell me wherethe build is really failing. I know it's not an error in CT_DoExecLogitself because that is used extensively and the build gets over 3/4 of theway through.>> Any pointers on how to troubleshoot this will be greatly appreciated.>> Jeff Gilton> jgilton@cinci.rr.com>> --> For unsubscribe information see http://sourceware.org/lists.html#faq>


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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