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: crosstool-ng 1.10.0; powerpc e500v2; gcc 4.3.2; glibc 2.8 problem


On Thu, Apr 7, 2011 at 2:44 AM, Vladimir A. Petrov <vaporg@gmail.com> wrote:
> Hello,
>
> I've got a problem while trying to create toolchain for powerpc e500v2
> platform based on gcc 4.3.2 and glibc 2.8 using crosstool-ng 1.10.0.
> Build procedure fails on 'Installing C library headers & start files'
> stage claiming
>
> [INFO ] ?=================================================================
> [INFO ] ?Installing C library headers & start files
> [ERROR] ? ?configure: error: forced unwind support is required
> [ERROR] ? ?Build failed in step 'Installing C library headers & start files'
>

Vladimir, the build failed so you won't be able to correctly use the
cross compiler.
When you are configuring crosstool-ng, under "C-library" menu, there
is an option "Force unwind support" which you need to enable.

> Actually root cause of issue is static gcc can't find crt1.o file
> while linking one of configure test programs.
>
> configure:27: checking for forced unwind support
> configure:56: /var/tmp/vap/ct-ng-linux-ppc-e500v2/.build/powerpc-e500v2-linux-gnuspe/build/gcc-core-static/bin/powerpc-e500v2-linux-gnuspe-gcc
> -o conftest -g -O2 ? conftest.c ?>&5
> /var/tmp/vap/ct-ng-linux-ppc-e500v2/.build/powerpc-e500v2-linux-gnuspe/build/gcc-core-static/lib/gcc/powerpc-e500v2-linux-gnuspe/4.3.2/../../../../powerpc-e500v2-linux-gnuspe/bin/ld:
> crt1.o: No such file: No such file or directory
> collect2: ld returned 1 exit status
>
> File crt1.o actually does not exist in crosstool-ng working directory.
>
> Could anybody help me to resolve this issue?
> Please find complete logs and crosstool-ng config in attached archive.
> If you do need addition information regarding my case, please do not
> hesitate to ask.
> Any help are greatly appreciated.
>
> Thank you!
> --
> /vap/
>
> --
> For unsubscribe information see http://sourceware.org/lists.html#faq
>



-- 
Xun Li
Computer Architecture Lab
Department of Computer Science
University of California, Santa Barbara

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