Displaying 12 results from an estimated 12 matches for "gnutoolchain".
Did you mean:
gettoolchain
2009 Nov 16
3
[LLVMdev] Compilation error while cross compiling LLVM for ARM - the __clear_cache issue - now the __sync_val_compare_and_swap issue - now the internal compiler error issue.
...eteLoopFromQueue(llvm::Loop*)':
> /home/prasanth/LLVM_ARM/llvm-with-armgcc433/llvm/lib/Analysis/LoopPass.cpp:100:
> internal compiler error: Segmentation fault
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <https://support.codesourcery.com/GNUToolchain/> for instructions.
> /bin/rm: cannot remove
> `/home/prasanth/LLVM_ARM/llvm-with-armgcc441/llvm-obj/lib/Analysis/Release/LoopPass.d.tmp':
> No such file or directory
> make[2]: ***
> [/home/prasanth/LLVM_ARM/llvm-with-armgcc441/llvm-obj/lib/Analysis/Release/LoopPass.o]
> E...
2012 Feb 24
2
[LLVMdev] Generate Executable to Mips
You will need to install a cross compiler.
I think you can find one somewhere in this link:
https://sourcery.mentor.com/GNUToolchain/
Once you have a cross compiler, this should do what you want (if you
want little-endian code):
clang -target mipsel-unknown-linux -ccc-clang-archs mipsel -O3
hello.c -o hello.bc -emit-llvm
llc -march=mipsel hello.bc -o hello.s
mips-linux-gnu-gcc hello.s -o hello -mips32 -EL
You can also gener...
2009 Nov 14
0
[LLVMdev] Compilation error while cross compiling LLVM for ARM - the __clear_cache issue - now the __sync_val_compare_and_swap issue
...llvm::LPPassManager::deleteLoopFromQueue(llvm::Loop*)':
/home/prasanth/LLVM_ARM/llvm-with-armgcc433/llvm/lib/Analysis/LoopPass.cpp:100:
internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://support.codesourcery.com/GNUToolchain/> for instructions.
/bin/rm: cannot remove
`/home/prasanth/LLVM_ARM/llvm-with-armgcc441/llvm-obj/lib/Analysis/Release/LoopPass.d.tmp':
No such file or directory
make[2]: ***
[/home/prasanth/LLVM_ARM/llvm-with-armgcc441/llvm-obj/lib/Analysis/Release/LoopPass.o]
Error 1
make[2]: Leaving direct...
2012 Feb 28
3
[LLVMdev] Generate Executable to Mips
...worked!
>
> On Thu, Feb 23, 2012 at 10:01 PM, Akira Hatanaka <ahatanak at gmail.com
> <mailto:ahatanak at gmail.com>> wrote:
>
> You will need to install a cross compiler.
> I think you can find one somewhere in this link:
> https://sourcery.mentor.com/GNUToolchain/
>
> Once you have a cross compiler, this should do what you want (if you
> want little-endian code):
>
> clang -target mipsel-unknown-linux -ccc-clang-archs mipsel -O3
> hello.c -o hello.bc -emit-llvm
> llc -march=mipsel hello.bc -o hello.s
> mips-...
2012 Feb 27
0
[LLVMdev] Generate Executable to Mips
Thanks Akira,
it worked!
On Thu, Feb 23, 2012 at 10:01 PM, Akira Hatanaka <ahatanak at gmail.com> wrote:
> You will need to install a cross compiler.
> I think you can find one somewhere in this link:
> https://sourcery.mentor.com/GNUToolchain/
>
> Once you have a cross compiler, this should do what you want (if you
> want little-endian code):
>
> clang -target mipsel-unknown-linux -ccc-clang-archs mipsel -O3
> hello.c -o hello.bc -emit-llvm
> llc -march=mipsel hello.bc -o hello.s
> mips-linux-gnu-gcc hello.s -o...
2009 Nov 13
2
[LLVMdev] Compilation error while cross compiling LLVM for ARM - the __clear_cache issue - now the __sync_val_compare_and_swap issue
Prasanth J wrote:
>
> Hi all,
> with reference to the reply below, I downloaded toolchain from
> codesourcery (arm-2009q1-203-arm-none-linux-gnueabi) with gcc 4.3.3...
> when i compile llvm+clang with this toolchain i am getting the
> following error
>
> make[4]: Entering directory
>
2012 Feb 28
0
[LLVMdev] Generate Executable to Mips
...wrote:
>
> Thanks Akira,
> it worked!
>
> On Thu, Feb 23, 2012 at 10:01 PM, Akira Hatanaka <ahatanak at gmail.com> wrote:
>>
>> You will need to install a cross compiler.
>> I think you can find one somewhere in this link:
>> https://sourcery.mentor.com/GNUToolchain/
>>
>> Once you have a cross compiler, this should do what you want (if you
>> want little-endian code):
>>
>> clang -target mipsel-unknown-linux -ccc-clang-archs mipsel -O3
>> hello.c -o hello.bc -emit-llvm
>> llc -march=mipsel hello.bc -o hello.s
>&g...
2009 Nov 16
0
[LLVMdev] Compilation error while cross compiling LLVM for ARM - the __clear_cache issue - now the __sync_val_compare_and_swap issue - now the internal compiler error issue.
...#39;:
> >
> /home/prasanth/LLVM_ARM/llvm-with-armgcc433/llvm/lib/Analysis/LoopPass.cpp:100:
> > internal compiler error: Segmentation fault
> > Please submit a full bug report,
> > with preprocessed source if appropriate.
> > See <https://support.codesourcery.com/GNUToolchain/> for instructions.
> > /bin/rm: cannot remove
> >
> `/home/prasanth/LLVM_ARM/llvm-with-armgcc441/llvm-obj/lib/Analysis/Release/LoopPass.d.tmp':
> > No such file or directory
> > make[2]: ***
> >
> [/home/prasanth/LLVM_ARM/llvm-with-armgcc441/llvm-obj/lib/...
2012 Jul 06
0
[LLVMdev] how to change a compiler from a host to a target in Clang's assembler and linker
...ux-gnu-as mips64-linux-gnu-as
If you use integrated assembler (turned on by -integrated-as option)
you can skip mips-linux-gnu-as links creation.
Exact command line options depends on used toolchain. Examples below
work for Mentor Graphics Toolchain version 2011.09-75
(https://sourcery.mentor.com/GNUToolchain/subscription3130?lite=MIPS).
* Little-endian 32-bit
$ clang -target mipsel-linux-gnu main.c -static \
--sysroot $MIPS/mips-linux-gnu/libc/el \
-I$MIPS/mips-linux-gnu/libc/usr/include \
-B$MIPS/lib/gcc/mips-linux-gnu/4.5.2/el \
-L$MIPS/lib/gcc/mips-linux-gnu/4.5.2/el \
-integrat...
2012 Feb 24
0
[LLVMdev] Generate Executable to Mips
This is true?
*clang*/*llvm* *cannot* produce *mips* object *code* or executable (yet).
from:
http://old.nabble.com/How-to-get-MIPS-from-clang-%2B-llvm---td32822926.html
On Thu, Feb 23, 2012 at 8:37 PM, Rafael BP <parizi.computacao at gmail.com>wrote:
> Hi,
> How can I generate executable to mips with llvm-gcc.
> I'm using Ilvm-2.9, X86PC and the following commands:
>
>
2012 Feb 23
2
[LLVMdev] Generate Executable to Mips
Hi,
How can I generate executable to mips with llvm-gcc.
I'm using Ilvm-2.9, X86PC and the following commands:
llvm-gcc -emit-llvm hello.c -c -o hello.bc (OK)
llc -march=mips hello.bc -o hello.s (OK)
gcc hello.s -o hello (does not work).
Thanks,
--
*Rafael Parizi*
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2012 Jul 04
6
[LLVMdev] how to change a compiler from a host to a target in Clang's assembler and linker
Hi,
I would like to ask you how to use Clang in cross-compile environment. My environment is as follows:
------
HOST: 32-bit Fedora 16 with Intel Core i7
gcc/g++ compiler available
TARGET: 32-bit mips-typed linux
gnu gcc/g++ for 32-bit mips-typed linux available
------
As Clang's option is "-c" in use, my programs are compiled and linked under a host