Displaying 5 results from an estimated 5 matches for "__aeabi_memset".
2015 Mar 12
2
[LLVMdev] Customize Standard C Library Using LLVM (to support llvm backend optimization)
...ocal/arm-2009q3/bin/arm-none-linux-gnueabi-ld: warning: library
search path "/usr/lib" is unsafe for cross-compilation
/home/yanchao/research/musl-1.1.6/lib//libc.a(__libc_start_main.o): In
function `__libc_start_main':
src/env/__libc_start_main.c:(.text+0x30): undefined reference to
`__aeabi_memset'
/home/yanchao/research/musl-1.1.6/lib//libc.a(vfprintf.o): In function
`vfprintf':
src/stdio/vfprintf.c:(.text+0x28): undefined reference to `__aeabi_memset'
/usr/local/arm-2009q3/lib/gcc/arm-none-linux-gnueabi/4.4.1//libgcc.a(_dvmd_lnx.o):
In function `__aeabi_ldiv0':
(.text+0x8):...
2015 Mar 12
3
[LLVMdev] Customize Standard C Library Using LLVM (to support llvm backend optimization)
...folders from
> /usr/local/arm-2009q, then use `--sysroot` instead of the `-I`s and `-L's.
I copied everything from the lib in musl-1.1.6
to arm-2009q3/arm-none-linux-gnueabi/libc/usr/lib but there is still an
error message:
src/env/__libc_start_main.c:(.text+0x40): undefined reference to
`__aeabi_memset'
collect2: ld returned 1 exit status
it seems that I need an arm-none-linux-gcc-4.9 (current version from
arm-2009q3 is gcc-4.4) to support the `__aeabi_memset' function?
Regards,
Chao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.o...
2015 Mar 29
2
[LLVMdev] How to Cross Compile libcompiler_rt Static Library?
I need to correct myself. It is possible to cross compile it on Windows,
but not using the provided build systems.
On Sun, Mar 29, 2015 at 12:52 PM, Daniel Dilts <diltsman at gmail.com> wrote:
> I asked about this same question in the past (month or three ago). It is
> not possible to cross compile compiler-rt on Windows. If you want to cross
> compile you should use the make
2015 Mar 11
4
[LLVMdev] Customize Standard C Library Using LLVM (to support llvm backend optimization)
>
> FWIW, I build baremetal newlib for arm-eabi using clang, and it works. I
>> had to patch a few of the __attribute__((naked)) functions because they
>> were using pre-UAL asm syntax, but for the most part it "just works".
>>
>
I build the baremetal newlib using arm-none-eabi-gcc as well, but after
linking with the hello world program, it failed to run on
2015 Mar 29
2
[LLVMdev] How to Cross Compile libcompiler_rt Static Library?
...bined the compiler_rt/make/platform/
> clang_linux.mk and the compiler_rt/make/platform/clang_macho_embedded.mk.
> So far it could cross-compile all of the files in
> "compiler-rt/lib/builtins/" (*.c files). However, the libcompiler_rt.a
> still missing functions such as "__aeabi_memset", "__aeabi_memcpy". These
> functions were in "compiler_rt/lib/biltins/arm/" (*.S) files. They are not
> included in any of the *.mk files. Do you have any idea on how to add these
> assembly sources to the build list? BTW, did you build the complete
> libcompil...