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


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