your words reminder me,the default setting is use prebuilt libc,
when I change to eglibc, everything is fine,I will try to download
eglibc-linaro and build with prebuilt libc again,Thank you for your help.
 
Cheers,Rick
 
From: Zhenqiang Chen
Date: 2013-10-10 14:26
To: Rick
CC: linaro-toolchain
Subject: Re: Re: Error
NO fail for me with the similar steps on Ubuntu 12.04.
Do you use prebuilt libc or build by yourself? Can you show me the
detail log of the "collect2: error"?
 
Thanks!
-Zhenqiang
 
On 10 October 2013 13:57, Rick <banma.gw@gmail.com> wrote:
> Hi Zhenqiang
>
> I havd disable multilib and try again,but error again at same step
>
> [ERROR]    collect2: error: ld returned 1 exit status
> [ERROR]    make[2]: *** [libgcc_s.so] Error 1
> [ALL  ]    make[2]: Leaving directory
> `/work/software/cortexa9-linaro-build/.build/arm-linux-gnueabihf/build/build-cc-core-shared/arm-linux-gnueabihf/libgcc'
> [ERROR]    make[1]: *** [all-target-libgcc] Error 2
> [ALL  ]    make[1]: Leaving directory
> `/work/software/cortexa9-linaro-build/.build/arm-linux-gnueabihf/build/build-cc-core-shared'
>
> any idea?
> Regards
> ________________________________
> banma.gw@gmail.com
>
> From: Zhenqiang Chen
> Date: 2013-10-10 12:52
> To: Rick
> CC: linaro-toolchain
> Subject: Re: Error
> Please try to disable multilib.
>
>
> On 10 October 2013 11:34, Rick <banma.gw@gmail.com> wrote:
>> Hi Term,
>>
>> I have try to us "crosstool-ng-linaro-1.13.1-4.8 "to build myself cross
>> tool
>> chain,
>> but some problem happened,just before I have used crosstool-ng offcial
>> version,
>> every thing is fine,I have got my toolchain, my operation system is Ubuntu
>> 12.10,
>> when I change to crosstool-ng-linaro,
>> I am follow these steps.
>> ct-ng list-samples,
>> ct-ng linaro-arm-linux-gnueabihf
>> ct-ng menuconfig
>> I just change Local tarballs directory ,Prefix directory ,and change
>> target
>> os from
>> prebuilt to linux,
>> then,I build it,first time error happened at step "cc_core_pass_1 ",I
>> google
>> it
>> and found out it is about multilib,I need to install gcc-multilib and
>> g++-multilib,
>> then,I continue,this time,error happened at step"cc_core_pass_2 ".
>> related messages in build.log:
>>
>> [ALL  ]    Supported emulations: armelf_linux armelf armelfb armelfb_linux
>> [ERROR]    collect2: error: ld returned 1 exit status
>> [ERROR]    make[4]: *** [libgcc_s.so] Error 1
>> [ALL  ]    make[4]: Leaving directory
>>
>> `/work/software/cortexa9-linaro-build/.build/arm-linux-gnueabihf/build/build-cc-core-shared/arm-linux-gnueabihf/arm-linux-gnueabi/libgcc'
>> [ERROR]    make[3]: *** [multi-do] Error 1
>> [ALL  ]    make[3]: Leaving directory
>>
>> `/work/software/cortexa9-linaro-build/.build/arm-linux-gnueabihf/build/build-cc-core-shared/arm-linux-gnueabihf/libgcc'
>> [ERROR]    make[2]: *** [all-multi] Error 2
>> [ALL  ]    make[2]: Leaving directory
>>
>> `/work/software/cortexa9-linaro-build/.build/arm-linux-gnueabihf/build/build-cc-core-shared/arm-linux-gnueabihf/libgcc'
>> [ERROR]    make[1]: *** [all-target-libgcc] Error 2
>> [ALL  ]    make[1]: Leaving directory
>>
>> `/work/software/cortexa9-linaro-build/.build/arm-linux-gnueabihf/build/build-cc-core-shared'
>> [ERROR]
>> [ERROR]    >>
>> [ERROR]    >>  Error happened in: main[scripts/crosstool-NG.sh]
>>
>> so,I really don't know how to do now,any help is welcome.Thank you
>>
>> Cheers,Rick
>>
>>
>>
>> _______________________________________________
>> linaro-toolchain mailing list
>> linaro-toolchain@lists.linaro.org
>> http://lists.linaro.org/mailman/listinfo/linaro-toolchain
>>