Update: Still with Build failure for PPC405 using crosstool-ng-1.9.2

Kerios, Chris (KSC-ASRC-466)[ASRC AEROSPACE CORP] chris.kerios@nasa.gov
Wed Jan 19 18:55:00 GMT 2011


Done, the new link is http://pastebin.com/fEKjf9sB and it looks ok.
Thanks

-----Original Message-----
From: Bryan Hundven [mailto:bryanhundven@gmail.com] 
Sent: Wednesday, January 19, 2011 1:51 PM
To: Kerios, Chris (KSC-ASRC-466)[ASRC AEROSPACE CORP]
Cc: Khem Raj; crossgcc@sourceware.org
Subject: Re: Update: Still with Build failure for PPC405 using crosstool-ng-1.9.2

On Wed, Jan 19, 2011 at 10:39 AM, Kerios, Chris (KSC-ASRC-466)[ASRC
AEROSPACE CORP] <chris.kerios@nasa.gov> wrote:
> Hi Bryan,
> I have pasted my config file on pastebin.com at http://pastebin.com/rBbJkjh3.  When I go back and look at it, it looks all jumbled.  I've used their plugin from firefox to submit it so I don't know if I need to redo it. Does it look that way to you as well? Let me know.

Chris,

Yes, it is all jumbled.
My suggestion would be to open the config file in gedit and copy-paste
it into pastebin.com.

Also, Please don't top-post.

> Regards,
> Chris
>
> -----Original Message-----
> From: Bryan Hundven [mailto:bryanhundven@gmail.com]
> Sent: Wednesday, January 19, 2011 1:27 PM
> To: Kerios, Chris (KSC-ASRC-466)[ASRC AEROSPACE CORP]
> Cc: Khem Raj; crossgcc@sourceware.org
> Subject: Re: Update: Still with Build failure for PPC405 using crosstool-ng-1.9.2
>
> On Wed, Jan 19, 2011 at 10:15 AM, Kerios, Chris (KSC-ASRC-466)[ASRC
> AEROSPACE CORP] <chris.kerios@nasa.gov> wrote:
>> OK, let's see if I can get all this for you:
>> On my host machine that I am trying to build for:
>> x86 - Fedora 14
>> gcc 4.5.1
>> binutils 2.20
>> linux 2.6.35
>>
>> For my target/embedded host I am trying to build a cross toolchain which I am pasting in the beginning of the build.log:
>> [INFO ]  Performing some trivial sanity checks
>> [INFO ]  Build started 20110119.130036
>> [INFO ]  Building environment variables
>> [WARN ]  Directory '/home/chris/src' does not exist.
>> [WARN ]  Will not save downloaded tarballs to local storage.
>> [EXTRA]  Preparing working directories
>> [EXTRA]  Installing user-supplied crosstool-NG configuration
>> [EXTRA]  =================================================================
>> [EXTRA]  Dumping internal crosstool-NG configuration
>> [EXTRA]    Building a toolchain for:
>> [EXTRA]      build  = i686-pc-linux-gnu
>> [EXTRA]      host   = i686-pc-linux-gnu
>> [EXTRA]      target = powerpc-405-linux-gnu
>> [EXTRA]  Dumping internal crosstool-NG configuration: done in 0.46s (at 00:05)
>> [INFO ]  =================================================================
>> [INFO ]  Retrieving needed toolchain components' tarballs
>> [EXTRA]    Retrieving 'linux-2.6.31.14'
>> [EXTRA]    Retrieving 'gmp-4.3.2'
>> [EXTRA]    Retrieving 'mpfr-2.4.2'
>> [EXTRA]    Retrieving 'binutils-2.19.1'
>> [EXTRA]    Retrieving 'gcc-4.3.2'
>> [EXTRA]    Retrieving 'eglibc-2_10'
>> [EXTRA]    Retrieving 'dmalloc-5.5.2'
>> [EXTRA]    Retrieving 'duma_2_5_15'
>> [EXTRA]    Retrieving 'gdb-6.8'
>> [EXTRA]    Retrieving 'ncurses-5.7'
>> [EXTRA]    Retrieving 'expat-2.0.1'
>> [INFO ]  Retrieving needed toolchain components' tarballs: done in 601.03s (at 10:07)
>> [INFO ]  =================================================================
>
> Chris,
>
> Could you post your config somewhere? Preferably on pastbin.com.
> I want to try installing fc14 and see if I can reproduce your issue.
>
>> -----Original Message-----
>> From: Khem Raj [mailto:raj.khem@gmail.com]
>> Sent: Wednesday, January 19, 2011 12:55 PM
>> To: Kerios, Chris (KSC-ASRC-466)[ASRC AEROSPACE CORP]
>> Cc: crossgcc@sourceware.org
>> Subject: Re: Update: Still with Build failure for PPC405 using crosstool-ng-1.9.2
>>
>> On Wed, Jan 19, 2011 at 9:49 AM, Kerios, Chris (KSC-ASRC-466)[ASRC
>> AEROSPACE CORP] <chris.kerios@nasa.gov> wrote:
>>> Hi Raj,
>>> Hmmm...I just tried rebuilding 1.9.2 with eglibc 2.10 and it stopped and errored out at the same spot with the same error.
>>> 2.10 is the only other release offered in the 1.9.2 menuconfig.  I would send you my build.log except that is over 16MB
>
> bzip2 build.log
>
> If you want, you can send the bzip'd log file to me directly,
> bypassing the list.
>
> Khem, if you would like the bzip'd log as well, I will forward it to you.
> Just trying to save space on the ml-server.
>
>>> and my email system won't transfer it.  I also tried pastebin.com but they will only take up to 1MB.  Is there anything
>>> specific in the build log I can send you?  Currently, the debug level is set to EXTRA.  I can back this down and it should
>>> cut down on some of the file size.
>>
>> hmmm ok. What version of gcc and binutils are you using ? btw can you
>> run <cross>-gcc -v -xc /dev/null
>> and post the output ?
>
> Khem,
>
> Either build that Chris has ran have not produced the final toolchain.
> Did you mean: <host>-gcc -v -xc /dev/null
> ?
>
>>
>>> Regards,
>>> Chris
>>>
>>>
>>> -----Original Message-----
>>> From: Khem Raj [mailto:raj.khem@gmail.com]
>>> Sent: Tuesday, January 18, 2011 11:44 PM
>>> To: Kerios, Chris (KSC-ASRC-466)[ASRC AEROSPACE CORP]
>>> Cc: crossgcc@sourceware.org
>>> Subject: Re: Update: Still with Build failure for PPC405 using crosstool-ng-1.9.2
>>>
>>> On (18/01/11 14:45), Kerios, Chris (KSC-ASRC-466)[ASRC AEROSPACE CORP] wrote:
>>>> Hello again,
>>>> I think I have worked my way through enough builds, etc. to form a coherent email regarding my cross tool build effort and problem.  I have attached two files of the  build logs that show where the builds are breaking. I cannot send the whole log as my email system won't pass it.  As I am not a gnu tools expert I can only pursue the most elementary fixes of which I can't decipher these.  I've looked through the mailing list as well.
>>>> First the configuration:
>>>> Host build machine: x86, Fedora Core 14 with most recent updates applied.
>>>> Target machine: MPL powerpc-405gp
>>>>
>>>> Per my email from last week I received a suggestion to back port my make version from the Fedora 14 version of make 3.82 to make 3.81.  I have done this and the build goes significantly further than before.  The build is now breaking during "Installing C library".  It appears to be looking for -lgcc and not finding it.  In looking at the gcc command above it there is a section after the 4.3.2 which looks wrong as it has a bunch of ../../.. but I can't be sure and I don't know where all these paths are defined.  The make 3.82 build breaks immediately at the "Installing kernel headers" phase.
>>>>
>>>> As another data point I have built crosstool successfully on the 1.6.[0-2] versions.  Starting on versions 1.7 and beyond these problems appear.  I don't know if anyone has built for PPC 405 in a while so this may be why these problems cropped up and weren't identified.  Anyway, any help on this would be appreciated as I'm not all that keen on running 1.6.2 if I don't have to.  I would like to stay current.
>>>>
>>>
>>> If you really do not need to stick to eglibc 2.9 then I would suggest to
>>> use 2.12 if possible.
>>>
>>> Can you post all logs somewhere I could not infer what could be wrong from
>>> the  attached logs
>>>
>>> -Khem
>>>
>>
>
> -Bryan
>

-Bryan


More information about the crossgcc mailing list