From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13853 invoked by alias); 9 Mar 2012 00:40:52 -0000 Received: (qmail 13844 invoked by uid 22791); 9 Mar 2012 00:40:50 -0000 X-SWARE-Spam-Status: No, hits=0.3 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from IP-173-231-106-39.static.fibrenoire.ca (HELO mail.dtisoft.com) (173.231.106.39) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 09 Mar 2012 00:40:37 +0000 Received: from LUXOR.DTI-SOFT.dtisoft.com ([192.168.3.200]) by luxor ([192.168.3.200]) with mapi; Thu, 8 Mar 2012 19:40:36 -0500 From: Van Rafelghem Dominique To: "crossgcc@sourceware.org" Date: Fri, 09 Mar 2012 00:40:00 -0000 Subject: RE: Build Failure for PowerPC using crosstool-ng 1.9.3 Message-ID: Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org X-SW-Source: 2012-03/txt/msg00025.txt.bz2 Hi everyone, I just started using crosstool-ng to try and build a newer toolchain for a = PowerPC platform.=A0=A0=20 The first question I have is if what I'm trying to do is at all possible.= =A0 I have a PowerPC platform that is running an older Linux kernel 2.4.18 = for which I downloaded the tar.gz file. I executed "ct-ng menubuild" and left all setting at default except for the= target being changed to ppc and I pointed to the tarball for the kernel on= my development machine. Next, I executed "ct-ng build".=A0 The build started but then it error'd ou= t with the following messages on the console: [INFO ]=A0 Performing some trivial sanity checks [INFO ]=A0 Build started 20120308.152529 [INFO ]=A0 Building environment variables [INFO ]=A0 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D [INFO ]=A0 Retrieving needed toolchain components' tarballs [INFO ]=A0 Retrieving needed toolchain components' tarballs: done in 152.51= s (at 02:33) [INFO ]=A0 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D [INFO ]=A0 Extracting and patching toolchain components [INFO ]=A0 Extracting and patching toolchain components: done in 90.92s (at= 04:04) [INFO ]=A0 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D [INFO ]=A0 Installing kernel headers [ERROR]=A0=A0=A0 Build failed in step 'Installing kernel headers' [ERROR]=A0=A0=A0 Error happened in '/usr/local/lib/ct-ng-1.9.3/scripts/func= tions' in function 'CT_DoExecLog' (line unknown, sorry) [ERROR]=A0=A0=A0=A0=A0=A0=A0=A0=A0 called from '/usr/local/lib/ct-ng-1.9.3/= scripts/build/kernel/linux.sh' at line # 98 in function 'do_kernel_install' [ERROR]=A0=A0=A0=A0=A0=A0=A0=A0=A0 called from '/usr/local/lib/ct-ng-1.9.3/= scripts/build/kernel/linux.sh' at line # 75 in function 'do_kernel_headers' [ERROR]=A0=A0=A0=A0=A0=A0=A0=A0=A0 called from '/usr/local/lib/ct-ng-1.9.3/= scripts/crosstool-NG.sh' at line # 597 in function 'main' [ERROR]=A0=A0=A0 Look at '/home/dtitest/x-tools/powerpc-unknown-linux-gnu/b= uild.log' for more info on this error. [ERROR]=A0 (elapsed: 4:05.22) [04:05] / make: *** [build] Error 2 The end of the build.log file has the following information: [INFO ]=A0 Extracting and patching toolchain components: done in 90.92s (at= 04:04) [INFO ]=A0 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D [INFO ]=A0 Installing kernel headers [DEBUG]=A0=A0=A0 Using kernel's headers_install [EXTRA]=A0=A0=A0 Installing kernel headers [DEBUG]=A0=A0=A0 =3D=3D> Executing: 'make -C /home/dtitest/powerpc/.build/s= rc/linux-custom O=3D/home/dtitest/powerpc/.build/powerpc-unknown-linux-gnu/= build/build-kernel-headers ARCH=3Dpowerpc INSTALL_HDR_PATH=3D/home/dtitest/= x-tools/powerpc-unknown-linux-gnu/powerpc-unknown-linux-gnu//sys-root/usr V= =3D0 headers_install' [ALL=A0 ]=A0=A0=A0 make[1]: Entering directory `/home/dtitest/powerpc/.buil= d/src/linux-custom' [ALL=A0 ]=A0=A0=A0 Makefile:244: arch/powerpc/Makefile: No such file or dir= ectory [ALL=A0 ]=A0=A0=A0 make[1]: *** No rule to make target `arch/powerpc/Makefi= le'.=A0 Stop. [ALL=A0 ]=A0=A0=A0 make[1]: Leaving directory `/home/dtitest/powerpc/.build= /src/linux-custom' [ERROR]=A0=A0=A0 Build failed in step 'Installing kernel headers' [ERROR]=A0=A0=A0 Error happened in '/usr/local/lib/ct-ng-1.9.3/scripts/func= tions' in function 'CT_DoExecLog' (line unknown, sorry) [ERROR]=A0=A0=A0=A0=A0=A0=A0=A0=A0 called from '/usr/local/lib/ct-ng-1.9.3/= scripts/build/kernel/linux.sh' at line # 98 in function 'do_kernel_install' [ERROR]=A0=A0=A0=A0=A0=A0=A0=A0=A0 called from '/usr/local/lib/ct-ng-1.9.3/= scripts/build/kernel/linux.sh' at line # 75 in function 'do_kernel_headers' [ERROR]=A0=A0=A0=A0=A0=A0=A0=A0=A0 called from '/usr/local/lib/ct-ng-1.9.3/= scripts/crosstool-NG.sh' at line # 597 in function 'main' [ERROR]=A0=A0=A0 Look at '/home/dtitest/x-tools/powerpc-unknown-linux-gnu/b= uild.log' for more info on this error. [ERROR]=A0 (elapsed: 4:05.22) I'm using Ubuntu 10.10 as my build machine.=A0 I saw another post on the ma= iling list which was similar to this but that person had a different proble= m which was that the version of make needed to be 3.81 instead of 3.82 as t= here is a bug in make 3.82.=A0 This is not the case for me as my Ubuntu wor= kstation has make 3.81.=A0 Here is a link to that thread http://sourceware.= org/ml/crossgcc/2011-01/msg00041.html. Any help would be greatly appreciated. Dominique Dominique Van Rafelghem DTI Software Inc. Lake Forest, CA -- For unsubscribe information see http://sourceware.org/lists.html#faq