[LLVMdev] LLVM-gcc for ARM

corina s corina_fff at yahoo.com
Mon Jan 18 09:26:31 PST 2010


OK. Now I have obtained some other errors, I think that they are generated due to the operating system.


/home/LLVM/install/bin/../lib/gcc/arm-elf/4.2.1/../../../../arm-elf/bin/ld:
ERROR:
/home/LLVM/install/bin/../lib/gcc/arm-elf/4.2.1/../../../../arm-elf/lib/crt0.o
uses FPA instructions, whereas a.out does not
/home/LLVM/install/bin/../lib/gcc/arm-elf/4.2.1/../../../../arm-elf/bin/ld:
ERROR:
/home/LLVM/install/bin/../lib/gcc/arm-elf/4.2.1/../../../../arm-elf/lib/crt0.o
uses hardware FP, whereas a.out uses software FP
/home/LLVM/install/bin/../lib/gcc/arm-elf/4.2.1/../../../../arm-elf/bin/ld:
failed to merge target specific data of file
/home/LLVM/install/bin/../lib/gcc/arm-elf/4.2.1/../../../../arm-elf/lib/crt0.o
/home/LLVM/install/bin/../lib/gcc/arm-elf/4.2.1/../../../../arm-elf/bin/ld:
ERROR:
/home/LLVM/install/bin/../lib/gcc/arm-elf/4.2.1/../../../../arm-elf/lib/libc.a(lib_a-atexit.o)
uses FPA instructions, whereas a.out does not
/home/LLVM/install/bin/../lib/gcc/arm-elf/4.2.1/../../../../arm-elf/bin/ld:
ERROR:
/home/LLVM/install/bin/../lib/gcc/arm-elf/4.2.1/../../../../arm-elf/lib/libc.a(lib_a-atexit.o)
uses hardware FP, whereas a.out uses software FP
/home/LLVM/install/bin/../lib/gcc/arm-elf/4.2.1/../../../../arm-elf/bin/ld:
failed to merge target specific data of file
/home/LLVM/install/bin/../lib/gcc/arm-elf/4.2.1/../../../../arm-elf/lib/libc.a(lib_a-atexit.o)
/home/LLVM/install/bin/../lib/gcc/arm-elf/4.2.1/../../../../arm-elf/bin/ld:
ERROR:
/home/LLVM/install/bin/../lib/gcc/arm-elf/4.2.1/../../../../arm-elf/lib/libc.a(lib_a-exit.o)
uses FPA instructions, whereas a.out does not
/home/LLVM/install/bin/../lib/gcc/arm-elf/4.2.1/../../../../arm-elf/bin/ld:
ERROR:
/home/LLVM/install/bin/../lib/gcc/arm-elf/4.2.1/../../../../arm-elf/lib/libc.a(lib_a-exit.o)
uses hardware FP, whereas a.out uses software FP

Can you tell me how can I fix this last(hopefully) problem?
Thanks.

--- On Mon, 1/18/10, Rafael Espindola <espindola at google.com> wrote:

From: Rafael Espindola <espindola at google.com>
Subject: Re: [LLVMdev] LLVM-gcc for ARM
To: "corina s" <corina_fff at yahoo.com>
Cc: anton at korobeynikov.info, llvmdev at cs.uiuc.edu
Date: Monday, January 18, 2010, 4:26 AM

> What I am supposed to do next? you said that I have to recompile binutils with --with-sysroot option?

It is not an extra step. You have to add --with-sysroot to step 1.

> Thank you.

Cheers,
--
Rafael Ávila de Espíndola



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100118/3681f0e0/attachment.html>


More information about the llvm-dev mailing list