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: error about build toolchain with crosstool-ng-1.8.0


hi:

2010/9/3 Arnaud Lacombe <lacombar@gmail.com>:
> Hi,
>
> On Thu, Sep 2, 2010 at 12:13 PM, loody <miloody@gmail.com> wrote:
>> hi yann:
>>
>> 2010/9/1 Yann E. MORIN <yann.morin.1998@anciens.enib.fr>:
>>> Loody, All,
>>>
>>> On Thursday 26 August 2010 17:33:32 loody wrote:
>>>> i know what you mean targets directory, the place that crosstool-ng to
>>>> put objs and src tarballs.
>>>
>>> Yes.
>>>
>>>> But, would you please tell me how to "remove that patch"?
>>>
>>> The patch is in patches/binutils/2.20/210-generate-gnu-hash.patch, in
>>> the source of crosstool-NG, and will be installed in:
>>> ${prefix}/lib/ct-ng-1.8.0/patches/[...]
>>>
>>>> if I have already remove all the tarballs, targets/tarballs, it
>>>> doesn't mean I remove the patch also?
>>>
>>> Nope, because the next time crosstool-NG re-extracts the tarballs, it will
>>> again apply the patch.
>>>
>>> The patch has now been removed from the repos.
>> The error still happened.
>> BTW, I try to change another combination and it is still fail.
>> The error shows as below:
>>
>> [INFO ] ?Installing C library headers
>> [ERROR] ? ?extra/scripts/unifdef.c:209: error: conflicting types for 'getline'
>> [ERROR] ? ?make[1]: *** [extra/scripts/unifdef] Error 1
> this is a known uClibc issue:
>
> http://linux.derkeiler.com/Mailing-Lists/Kernel/2009-03/msg04460.html
>
> uClibc 0.9.31 should not be affected.
>
>> [ERROR] ? ?Build failed in step 'Installing C library headers'
>> [ERROR] ? ?Error happened in
>> '/media/sdb1/toolchain/crosstool-ng-1.8.0/build/lib/ct-ng-1.8.0/scripts/functions'
>> in function 'CT_DoExecLog' (line unknown, sorry)
>> [ERROR] ? ? ? ? ?called from
>> '/media/sdb1/toolchain/crosstool-ng-1.8.0/build/lib/ct-ng-1.8.0/scripts/build/libc/uClibc.sh'
>> at line # 127 in function 'do_libc_headers'
>> [ERROR] ? ? ? ? ?called from
>> '/media/sdb1/toolchain/crosstool-ng-1.8.0/build/lib/ct-ng-1.8.0/scripts/crosstool-NG.sh'
>> at line # 586 in function 'main'
>> [ERROR] ? ?Look at
>> '/media/sdb1/toolchain/x-tools/i386-unknown-linux-uclibc/build.log'
>> for more info on this error.
>> [ERROR] ?(elapsed: 7:39.41)
>> [07:40] / make: *** [build] Error 2
>>
>> BTW, is there any cmd that can compile from the last time fail point
>> instead run the whole process again?
> Yes, select the following in the config:
>
> "Paths and misc options" ->
> ? ?[X] "Debug crosstool-NG"
> ? ? ? ?[X] "Save intermediate steps"
> ? ? ? ? ? ?[X] "gzip saved states"
>
> Then, "ct-ng list-steps" to get all the steps and the calling convention.
>
i see the configs you mentioned.
It seems I have to save it step by step by hand.
since the message show below:
     / Press 'Enter' to continue, or Ctrl-C to stop...
is it possible to save them automatically and when i found failure, I
just re-run the last step.
Appreciate your kind help :)
miloody

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