delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/05/09/13:10:28

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
X-Authority-Analysis: v=1.1 cv=OMZqYO3L41gFG4eI735GctFZkIqa2t9YKv4cWfI71LE= c=1 sm=0 a=36kp03sIUkwA:10 a=8nJEP1OIZ-IA:10 a=fvawE18eGI/ltQWmdMGOJg==:17 a=ayC55rCoAAAA:8 a=CCpqsmhAAAAA:8 a=w_pzkKWiAAAA:8 a=5UJ-YmQy0ekLPovZhn4A:9 a=Ddzx27hMetuguQ7eAoQA:7 a=m7N8gF4IUwX-cKJU_Il-9g9e7_QA:4 a=wPNLvfGTeEIA:10 a=2wkYanB4cVUA:10 a=4t78-hnhQh4A:10 a=66msUWWtX2wA:10 a=fvawE18eGI/ltQWmdMGOJg==:117
Message-ID: <446A395AFC20436299FEDB2C948930A8@jeffPC>
From: "Jeff Gilton" <jgilton AT cinci DOT rr DOT com>
To: <yann DOT morin DOT 1998 AT anciens DOT enib DOT fr>, <crossgcc AT sourceware DOT org>,
<cygwin AT cygwin DOT com>
References: <900C9A0E015B4755A763C4D4C0E60136 AT jeffPC>
In-Reply-To: <900C9A0E015B4755A763C4D4C0E60136@jeffPC>
Subject: Re: Error building PowerPC Toolchain with Crosstool-NG in Cygwin
Date: Sun, 9 May 2010 13:08:46 -0400
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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 AT cinci DOT rr DOT com>Sent: Saturday, May 08, 2010 8:30 PMTo: <yann DOT morin DOT 1998 AT anciens DOT enib DOT fr>Cc: <crossgcc AT sourceware DOT org>; <cygwin AT cygwin DOT 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 AT cinci DOT rr DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019