Build Failure for PPC405 using crosstool-ng 1.9.2

Bryan Hundven bryanhundven@gmail.com
Thu Jan 13 19:53:00 GMT 2011


On Thu, Jan 13, 2011 at 11:52 AM, Bryan Hundven <bryanhundven@gmail.com> wrote:
> On Thu, Jan 13, 2011 at 11:46 AM, Kerios, Chris (KSC-ASRC-466)[ASRC
> AEROSPACE CORP] <chris.kerios@nasa.gov> wrote:
>> OK I've done it but I've never used pastebin.com before so I don't know how you find it out there.  I've also attached a copy of the log file.
>
> [ALL  ]    make[1]: Entering directory
> `/home/chris/Embedded/crosstool-ng-1.9.2/.build/src/linux-2.6.27.55'
>
> [ALL  ]    /home/chris/Embedded/crosstool-ng-1.9.2/.build/src/linux-2.6.27.55/arch/powerpc/Makefile:164:
> *** mixed implicit and normal rules.  Stop.
>
> Do you happen to be building on fedora or redhat?
>
> There is a known issue with Make 3.82.

Ok, it's not an 'issue' it just changed the way make works, and not
everyone has caught up with the change.

> Maybe build 3.81 and install it to ${HOME}/make
> and add:
>
> export PATH="${HOME}/make/bin:$PATH"
>
> to your bash profile.
>
>>
>> -----Original Message-----
>> From: Bryan Hundven [mailto:bryanhundven@gmail.com]
>> Sent: Thursday, January 13, 2011 2:27 PM
>> To: Kerios, Chris (KSC-ASRC-466)[ASRC AEROSPACE CORP]
>> Cc: crossgcc@sourceware.org
>> Subject: Re: Build Failure for PPC405 using crosstool-ng 1.9.2
>>
>> On Thu, Jan 13, 2011 at 11:20 AM, Kerios, Chris (KSC-ASRC-466)[ASRC
>> AEROSPACE CORP] <chris.kerios@nasa.gov> wrote:
>>> Hello,
>>> I am new to crosstool-ng so please forgive me if my question is redundant or stupid.  I have been through the mail list archive and Google and can't find anything on this.  I am trying to build a cross toolchain for a PPC405 embedded SBC.  I have gone through and installed the software correctly and went with a config created by the following commands:
>>>
>>> ./configure -local
>>> make
>>> make install
>>> ./ct-ng powerpc-405-linux-gnu
>>> ./ct-ng build
>>>
>>> The software goes out and downloads the software and then begins/completes patching the software packages.  It is blowing up on the Installing Linux headers with the following error:
>>>
>>> [INFO ]  Extracting and patching toolchain components
>>> [EXTRA]    Extracting 'linux-2.6.27.55'
>>> [EXTRA]    Patching 'linux-2.6.27.55'
>>> [EXTRA]    Extracting 'gmp-4.3.2'
>>> [EXTRA]    Patching 'gmp-4.3.2'
>>> [EXTRA]    Extracting 'mpfr-2.4.2'
>>> [EXTRA]    Patching 'mpfr-2.4.2'
>>> [EXTRA]    Extracting 'binutils-2.19.1'
>>> [EXTRA]    Patching 'binutils-2.19.1'
>>> [EXTRA]    Extracting 'gcc-4.3.2'
>>> [EXTRA]    Patching 'gcc-4.3.2'
>>> [EXTRA]    Extracting 'glibc-2.9'
>>> [EXTRA]    Patching 'glibc-2.9'
>>> [EXTRA]    Extracting 'glibc-ports-2.9'
>>> [EXTRA]    Patching 'glibc-ports-2.9'
>>> [EXTRA]    Extracting 'dmalloc-5.5.2'
>>> [EXTRA]    Patching 'dmalloc-5.5.2'
>>> [EXTRA]    Extracting 'duma_2_5_15'
>>> [EXTRA]    Patching 'duma-2_5_15'
>>> [EXTRA]    Extracting 'gdb-6.8'
>>> [EXTRA]    Patching 'gdb-6.8'
>>> [EXTRA]    Extracting 'ncurses-5.7'
>>> [EXTRA]    Patching 'ncurses-5.7'
>>> [EXTRA]    Extracting 'expat-2.0.1'
>>> [EXTRA]    Patching 'expat-2.0.1'
>>> [INFO ]  Extracting and patching toolchain components: done in 165.79s (at 08:10)
>>> [INFO ]  =================================================================
>>> [INFO ]  Installing kernel headers
>>> [EXTRA]    Installing kernel headers
>>> [ERROR]    make[1]: *** [sub-make] Error 2
>>> [ERROR]    Build failed in step 'Installing kernel headers'
>>> [ERROR]    Error happened in '/home/chris/Embedded/crosstool-ng-1.9.2/scripts/functions' in function 'CT_DoExecLog' (line unknown, sorry)
>>> [ERROR]          called from '/home/chris/Embedded/crosstool-ng-1.9.2/scripts/build/kernel/linux.sh' at line # 98 in function 'do_kernel_install'
>>> [ERROR]          called from '/home/chris/Embedded/crosstool-ng-1.9.2/scripts/build/kernel/linux.sh' at line # 75 in function 'do_kernel_headers'
>>> [ERROR]          called from '/home/chris/Embedded/crosstool-ng-1.9.2/scripts/crosstool-NG.sh' at line # 597 in function 'main'
>>> [ERROR]    Look at '/home/chris/x-tools/powerpc-405-linux-gnu/build.log' for more info on this error.
>>> [ERROR]  (elapsed: 8:10.67)
>>> [08:12] / make: *** [build] Error 2
>>>
>>> Is there something about PowerPC I am not aware of?  Seems pretty early in the build to blow up on standard setup/config for GNU builds.  Any help would be appreciated.
>>
>> If you could post
>> '/home/chris/x-tools/powerpc-405-linux-gnu/build.log' and your config
>> to http://pastebin.com/ , it would better help us help you ;)
>>
>>> Thanks,
>>> Chris
>>>
>>>
>>> --
>>> For unsubscribe information see http://sourceware.org/lists.html#faq
>>>
>>>
>>
>>
>> -Bryan
>>
>
>
>

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list