Displaying 20 results from an estimated 421 matches for "gnueabi".
2009 Aug 07
1
cross compile dovecot for armv5t fails
..._inotify_works=no i_cv_posix_fallocate_works=no
i_cv_signed_size_t=no i_cv_gmtime_max_time_t=32 i_cv_signed_time_t=yes
i_cv_mmap_plays_with_write=yes i_cv_fd_passing=yes
i_cv_c99_vsnprintf=yes lib_cv_va_copy=yes lib_cv___va_copy=yes
lib_cv_va_val_copy=yes
SSL_LIBS='/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/aes.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/asn1.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/asn1_mac.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/asn1t.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/bio.h
/usr/armv...
2012 Aug 29
0
[LLVMdev] Is cross-compiling for ARM on x86 with llvm/Clang possible?
Hi Journeyer
First, thank you so much for your updates on your experiments.
I am currently following your steps but have found myself stuck with the
following error:
/usr/lib/gcc/arm-linux-gnueabi/4.6/../../../../arm-linux-gnueabi/bin/ld:
this linker was not configured to use sysroots
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
I used the command string you wrote :
./clang -v --save-temps -ccc-host-triple arm-linux-gnueabi
--sysroot=/usr/arm-linux-gnueabi...
2012 Jun 28
3
[LLVMdev] Is cross-compiling for ARM on x86 with llvm/Clang possible?
...ocumentation for someone who may concern for the
same issue with me.
- Target : TOSHIBA AC100 / Ubuntu 12.04 (https://wiki.ubuntu.com/ARM/**
TEGRA/AC100 <https://wiki.ubuntu.com/ARM/TEGRA/AC100>)
- Host : i386 Desktop PC / Ubuntu 12.04
- Toolchain on host : sudo apt-get install gcc-arm-linux-gnueabi
- Clang/llvm compile : http://clang.llvm.org/get_started.html
- Command string for crossbuild : ./clang -v --save-temps -ccc-host-triple
arm-linux-gnueabi --sysroot=/usr/arm-linux-gnueabi -gcc-toolchain /usr/
-Wl,-dynamic-linker,/lib/ld-linux-armhf.so.3 hello.c -o hello
During this testing I foun...
2012 Jun 20
3
[LLVMdev] Is cross-compiling for ARM on x86 with llvm/Clang possible?
...em.
Using --sysroot doesn't make clang use linker(ld) in the cross tool.
Most important question is how I can make clang use cross tool linker.
Let me show you my experiment and questions below.
There are two questions.
[Run]
./clang -v --save-temps -emit-llvm -ccc-host-triple arm-none-linux-gnueabi
--sysroot=/home/hum/Documents/Projects/arm_toolchain/arm-2010.09/arm-none-linux-gnueabi/libc
hello.c
[Question]
1. How am I supposed to use --sysroot? Though I used "--sysroot" above,
Clang uses native linker, "/usr/bin/ld" not the one in the tool chain,
"/home/hum/Documen...
2011 Jan 24
0
[LLVMdev] Error in cross-compiling "Hello World"
...ello
as: unrecognized option `-meabi=4'
I know that the reason is not to get proper cross assembler. It tries to use the native assembler but I am unable to fix the problem. I use
llvm-gcc -### hello.c -o hello and see the following going on:
Using built-in specs.
Target: arm-none-linux-gnueabi
Configured with: /MinGW/llvm-project/src/llvm-gcc-4.2/configure --enable-languag
es=c --enable-bindings=none --disable-threads --enable-llvm=/usr/local/crosstool
/arm-none-linux-gnueabi/llvm --disable-gold --disable-multilib --prefix=/usr/loc
al/crosstool/arm-none-linux-gnueabi/llvm-gcc-4.2 --disab...
2011 Jan 24
0
[LLVMdev] Error in compiling "Hello World" in a LLVM-GCC cross crosscompiler
...ello
as: unrecognized option `-meabi=4'
I know that the reason is not to get proper cross assembler. It tries to use the native assembler but I am unable to fix the problem. I use
llvm-gcc -### hello.c -o hello and see the following going on:
Using built-in specs.
Target: arm-none-linux-gnueabi
Configured with: /MinGW/llvm-project/src/llvm-gcc-4.2/configure --enable-languag
es=c --enable-bindings=none --disable-threads --enable-llvm=/usr/local/crosstool
/arm-none-linux-gnueabi/llvm --disable-gold --disable-multilib --prefix=/usr/loc
al/crosstool/arm-none-linux-gnueabi/llvm-gcc-4.2 --disab...
2009 Jul 03
1
[LLVMdev] llvm-gcc cross compiler for ARM Linux failing
...ot good. What assembler is it supposed to use? The one in
CodeSourcery?
> But how's assembler actually called? Just try to compile something
> with extra -v option added
Did: llvm-gcc -v simple.c
-------------------------------------------
Using built-in specs.
Target: arm-none-linux-gnueabi
Configured with: /home/neel/xllvm/build-xl/src/llvm-gcc-4.2/configure
--enable-languages=c,c++
--enable-llvm=/home/neel/xllvm/install-xl/llvm-project/x86_64-unknown-linux-gnu/arm-none-linux-gnueabi/llvm
--prefix=/home/neel/xllvm/install-xl/llvm-project/x86_64-unknown-linux-gnu/arm-none-linux-gnueab...
2012 Jun 19
0
[LLVMdev] Is cross-compiling for ARM on x86 with llvm/Clang possible?
Hello
> ./clang -v -emit-llvm -ccc-host-triple arm-none-linux-gnueabi
> -I/home/hum/Documents/Projects/llvm_clang/gnuarm-4.0.2/arm-elf/include
> -L/home/hum/Documents/Projects/llvm_clang/gnuarm-4.0.2/arm-elf/bin hello.c
You forgot about sysroot here.
> /home/hum/Documents/Projects/llvm_clang/gnuarm-4.0.2/arm-elf/bin/ld:
> unrecognised emulation mode: arm...
2018 Jul 01
2
Cross Compilation Problem
...tep. I write a hello world as test.c. I
refer to your document and download the newest version of arm toolchain.
I use the following command to try to compile the code to binary.
sudo /home/jmh/Downloads/llvm/build/bin/clang
--sysroot=/home/jmh/Downloads/gcc-linaro-7.3.1-2018.05-x86_64_arm-linux-gnueabi/arm-linux-gnueabi/libc
--gcc-toolchain=/home/jmh/Downloads/gcc-linaro-7.3.1-2018.05-x86_64_arm-linux-gnueabi/lib/gcc/arm-linux-gnueabi/
-target arm-linux-gnueabi -fuse-ld=lld -L
/home/jmh/Downloads/llvm/build/lib
-I/home/jmh/Downloads/llvm/build/include/ --rtlib=compiler-rt -o test test.c
However,...
2012 Jul 18
3
[LLVMdev] Setting up a cross-compiler for cortex-m3
On 18 July 2012 15:46, salvatore benedetto
<salvatore.benedetto at gmail.com> wrote:
> $ clang++ -ccc-host-triple thumbv7m-none-gnueabi noInclude.cpp -c
> --sysroot=/home/emitrax/CodeSourcery/Sourcery_G++_Lite/arm-none-linux-gnueabi/libc/
Try -ccc-gcc-name arm-none-linux-gnueabi-g++ -ccc-host-triple
thumbv7m-none-linux-gnueabi
Sometimes it's better than sysroot, as it finds it all by itself.
--
cheers,
--renato
http://s...
2015 Mar 12
2
[LLVMdev] Customize Standard C Library Using LLVM (to support llvm backend optimization)
...hat musl builds and works correctly with clang/llvm. We
> are using musl as a libc for our architecture.
> It has a much smaller code footprint than newlib or glibc.
>
I successfully cross-compile the must-libc using clang, with the
configuration:
C=clang CFLAGS=--target=arm-none-linux-gnueabi\
--sysroot=/usr/local/arm-2009q\ -I\
/usr/local/arm-2009q3/arm-none-linux-gnueabi/libc/usr/include/ LIBCC=
./configure --target=arm
But how to force clang to use musl-libc rather than its default one? I
tried
clang --target arm-none-linux-gnueabi -nostdlib -static hello.c
~/research/musl-1.1.6/l...
2020 Jul 21
0
Errors observing when talloc-2.3.1 is cross compiled
Hi Team,
We need freeradius-server-3.0.21 to be cross compiled for armv7 based
Marvell switch.
Toolchain: armv7-marvell-linux-gnueabi-LE_i686_20160226
host : arm-none-linux-gnueabi
CC : arm-marvell-linux-gnueabi-gcc
For that talloc is dependent library.
Trying to cross compile talloc-2.3.1 to for our architecture with below
command.
./configure --disable-python --enable-gccdeps --show-deps=SHOWDEPS
--why-needed=WHYNEEDED --show...
2011 Jul 27
3
[LLVMdev] Problem with llvm-gcc 'make' and arm-none-linux-gnueabi-as
...wanted to revert back to my initial
configuration. I reconfigured/make/make install'ed my llvm which executed
fine, and then cleared out my llvm-gcc obj and install folders, and
reconfigured gcc from within llvm-gcc/obj as follows:
../llvm-gcc-4.2-2.9.source/configure --target=arm-none-linux-gnueabi
--program-prefix=llvm-
--prefix=/net/coldwater/w/grwright/Research/llvm/llvm-gcc/install
-with-sysroot=/net/coldwater/w/grwright/Research/llvm/arm-2011.03/arm-none-linux-gnueabi/libc
--with-gnu-ld=/net/coldwater/w/grwright/Research/llvm/arm-2011.03/bin/arm-none-linux-gnueabi-ld
--with-gnu-as=/net/c...
2009 Jul 03
0
[LLVMdev] llvm-gcc cross compiler for ARM Linux failing
Hi, Neel
> I suspect it is using the wrong assembler. But when I do llvm-gcc -v I
> can see it has:
>
> --with-gnu-as=/home/neel/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-as
But how's assembler actually called? Just try to compile something
with extra -v option added
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
2008 Oct 20
1
compile klibc problem (EABI version error)
...working on marvell pxa310 (bought from Intel), and with
the tools chain from marvell, I comple klibc as follows:
klibc-1.5> ln -s
/home/zjujoe/svn/mhlv_2.6/working/songlixin/20081007_kernel_tflashupdate/
linux
klibc-1.5>cat 1.sh
export KLIBCARCH=arm
export CROSS_COMPILE=arm-iwmmxt-linux-gnueabi-
klibc-1.5>. ./1.sh
klibc-1.5>make
KLIBCCC usr/klibc/__static_init.o
KLIBCCC usr/klibc/vsnprintf.o
?
LIST usr/klibc/syscalls/klib.list
LIST usr/klibc/klib.list
KLIBCAR usr/klibc/libc.a
KLIBCLD usr/klibc/libc.so
arm-iwmmxt-linux-gnueabi-ld: ERROR: Source object
/opt...
2012 Jul 18
0
[LLVMdev] Setting up a cross-compiler for cortex-m3
On Wed, Jul 18, 2012 at 5:45 PM, Renato Golin <rengolin at systemcall.org> wrote:
> On 18 July 2012 15:46, salvatore benedetto
> <salvatore.benedetto at gmail.com> wrote:
>> $ clang++ -ccc-host-triple thumbv7m-none-gnueabi noInclude.cpp -c
>> --sysroot=/home/emitrax/CodeSourcery/Sourcery_G++_Lite/arm-none-linux-gnueabi/libc/
>
> Try -ccc-gcc-name arm-none-linux-gnueabi-g++ -ccc-host-triple
> thumbv7m-none-linux-gnueabi
>
> Sometimes it's better than sysroot, as it finds it all by itself.
And...
2012 Jun 19
2
[LLVMdev] Is cross-compiling for ARM on x86 with llvm/Clang possible?
Hello Gergö, Joerg and people on our list
With your kind answer, I tried to build a hello world program for
ARM(arm-none-linux-gnueabi) on my x86-64 PC.
Thank you we verified the generated bitcode. The only thing remained is
linking.
Let me brief what I did so far.
1. Built Clang/llvm in a way explained in
http://clang.llvm.org/get_started.html on Ubuntu 11.10 x86-64 PC
2. Downloaded gcc-4.0 toolchain binaries for x86-64 from
h...
2011 Nov 29
0
[LLVMdev] LLVM on ARM testing.
...rnallyGlobalIsntEmitted
LLVM-Unit ::
ExecutionEngine/JIT/Release/JITTests/JITTest.FunctionPointersOutliveTheirCreator
Expected Passes : 3239
Expected Failures : 46
Unsupported Tests : 2352
Unexpected Failures: 7
$ gcc -v
Using built-in specs.
COLLECT_GCC=/usr/armv7a-unknown-linux-gnueabi/gcc-bin/4.5.3/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/armv7a-unknown-linux-gnueabi/4.5.3/lto-wrapper
Target: armv7a-unknown-linux-gnueabi
Configured with:
/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/configure
--prefix=/usr --bindir=/usr/armv7a-unknown-linux-gnueabi/gcc-bin/4.5.3
--inclu...
2013 Feb 04
2
[LLVMdev] ARM c++ exceptions handling not working with clang/llvm-3.2?
...cc
with the following test code:
#include <stdio.h>
#include <exception>
# test.cpp
int main()
{
try {
throw 20;
} catch (int e) {
printf("Exception Nr %d occurred\n", e);
}
return 0;
}
tools-armel-linux-arm920t/bin/armel-unknown-linux-gnueabi-clang++ -v -save-temps -mcpu=arm920t -std=c++11 test.cpp -o test
clang version 3.2 (tags/RELEASE_32/final)
Target: armel-unknown-linux-gnueabi
Thread model: posix
"/home/walsimou/embtoolkit.git/tools-armel-linux-arm920t/bin/armel-unknown-linux-gnueabi-clang" -cc1 -triple armv4t-unknown-...
2009 Jun 29
0
[LLVMdev] CROSS COMPILING LLVM
...son at apple.com>
> Thanks, this should be useful. What problem did you have with svn
> revisions after 70786?
/tmp/llvm-project.p28262/obj/llvm-gcc-4.2/./gcc/xgcc
-B/tmp/llvm-project.p28262/obj/llvm-gcc-4.2/./gcc/
-B/tmp/llvm-73246/llvm-project/x86_64-unknown-linux-gnu/arm-none-linux-gnueabi/llvm-gcc-4.2/arm-none-linux-gnueabi/bin/
-B/tmp/llvm-73246/llvm-project/x86_64-unknown-linux-gnu/arm-none-linux-gnueabi/llvm-gcc-4.2/arm-none-linux-gnueabi/lib/
-isystem /tmp/llvm-73246/llvm-project/x86_64-unknown-linux-gnu/arm-none-linux-gnueabi/llvm-gcc-4.2/arm-none-linux-gnueabi/include
-isystem...