Displaying 20 results from an estimated 72 matches for "clang_rt".
2016 Feb 28
4
[cfe-dev] [3.8 Release] We have branched
...angStaticAnalyzerCheckers
[ 72%] Built target clangStaticAnalyzerCore
[ 72%] Built target clangStaticAnalyzerFrontend
[ 72%] Built target clang
[ 74%] Built target RTSanitizerCommon.x86_64
[ 74%] Built target RTInterception.x86_64
[ 74%] Built target RTSanitizerCommonLibc.x86_64
[ 74%] Built target clang_rt.cfi-x86_64
[ 74%] Built target cfi_blacklist
[ 74%] Built target RTUbsan.x86_64
[ 74%] Built target clang_rt.cfi_diag-x86_64
[ 74%] Built target cfi
[ 75%] Built target compiler-rt-headers
[ 83%] Built target clang_rt.builtins-x86_64
[ 83%] Built target builtins
[ 83%] Built target RTLSanCommon.x86...
2016 Feb 29
0
[cfe-dev] [3.8 Release] We have branched
...angStaticAnalyzerCheckers
[ 72%] Built target clangStaticAnalyzerCore
[ 72%] Built target clangStaticAnalyzerFrontend
[ 72%] Built target clang
[ 74%] Built target RTSanitizerCommon.x86_64
[ 74%] Built target RTInterception.x86_64
[ 74%] Built target RTSanitizerCommonLibc.x86_64
[ 74%] Built target clang_rt.cfi-x86_64
[ 74%] Built target cfi_blacklist
[ 74%] Built target RTUbsan.x86_64
[ 74%] Built target clang_rt.cfi_diag-x86_64
[ 74%] Built target cfi
[ 75%] Built target compiler-rt-headers
[ 83%] Built target clang_rt.builtins-x86_64
[ 83%] Built target builtins
[ 83%] Built target RTLSanCommon.x86...
2017 Nov 26
5
Compilation issue "unsupported relocation on symbol" with clang 3.7.1
Hi List,
I'm trying to build llvm-5.0.0 with clang-3.7.1 on ARM (native building). At some point I have the following issue :
----
[1588/5024] Building C object projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.builtins-arm.dir/cpu_model.c.o
../projects/compiler-rt/lib/builtins/cpu_model.c:596:7: warning: ISO C requires a translation unit to contain at least one declaration [-Wempty-translation-unit]
#endif
^
1 warning generated.
[1786/5024] Building C object projects/compiler-rt/lib/builtins/CMakeFiles/...
2016 Feb 29
0
[cfe-dev] [3.8 Release] We have branched
...angStaticAnalyzerCheckers
[ 72%] Built target clangStaticAnalyzerCore
[ 72%] Built target clangStaticAnalyzerFrontend
[ 72%] Built target clang
[ 74%] Built target RTSanitizerCommon.x86_64
[ 74%] Built target RTInterception.x86_64
[ 74%] Built target RTSanitizerCommonLibc.x86_64
[ 74%] Built target clang_rt.cfi-x86_64
[ 74%] Built target cfi_blacklist
[ 74%] Built target RTUbsan.x86_64
[ 74%] Built target clang_rt.cfi_diag-x86_64
[ 74%] Built target cfi
[ 75%] Built target compiler-rt-headers
[ 83%] Built target clang_rt.builtins-x86_64
[ 83%] Built target builtins
[ 83%] Built target RTLSanCommon.x86...
2014 Jul 08
2
[LLVMdev] [compiler-rt] clang_rt.builtins-${arch} library on windows
Is there any specific reason why the clang_rt.builtins-${arch} library is
disabled for windows builds?
if (NOT WIN32)
foreach(arch x86_64 i386 arm)
if(CAN_TARGET_${arch})
set_source_files_properties(${${arch}_SOURCES} PROPERTIES
LANGUAGE C)
add_compiler_rt_runtime(clang_rt.builtins-${arch} ${arch} STATIC...
2015 Dec 08
3
compiler-rt fails to find <stdarg.h> on FreeBSD
I'm unsure why this is failing this week, but when I build for FreeBSD
HEAD, I now get a failure to find <stdarg.h>. Very strange. Maybe its
missing a -I /usr/include somewhere?
[1950/2811] Building CXX object
projects/compiler-rt/lib/tsan/CMakeFiles/clang_rt.tsan-x86_64.dir/rtl/tsan_interceptors.cc.o
FAILED: /usr/bin/CC -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-D__STDC_LIMIT_MACROS -fPIC -fvisibility-inlines-hidden -Wall -W
-Wno-unused-parameter -Wwrite-strings -Wcast-qual
-Wmissing-field-initializers -pedantic -Wno-long-long
-Wcovered-switch-...
2013 Jul 22
4
[LLVMdev] Build Clang and LLVM on Win 8
...hat it is not
possible to find the stdbool.h file + a few others.
Example:
error C1083: Impossibile aprire il file inclusione 'stdbool.h': No such
file or directory (<my
path>\llvm\projects\compiler-rt\lib\floatuntisf.c) <my
path>\llvm\projects\compiler-rt\lib\int_lib.h 37 1 clang_rt.x86_64
error C2061: errore di sintassi: identificatore '__attribute__' (<my
path>\llvm\projects\compiler-rt\lib\int_util.c) <my
path>\llvm\projects\compiler-rt\lib\int_util.h 27 1 clang_rt.x86_64
error C2059: errore di sintassi: ';' (<my
path>\llvm\projects\comp...
2014 Jul 08
2
[LLVMdev] [compiler-rt] clang_rt.builtins-aarch64 library
I believe the C source files in builtins directory are generic enough.
Why not build a clang_rt.builtins-aarch64 library?
--Sumanth G
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140708/969ee15b/attachment.html>
2014 Jul 08
1
[LLVMdev] [compiler-rt] clang_rt.builtins-aarch64 library
Sure, we can build libclang_rt.builtins-aarch64.a, if there are users for
it and, ideally, someone able to setup a buildbot and keep it in a working
state.
On Tue, Jul 8, 2014 at 11:32 AM, sgundapa <sgundapa at codeaurora.org> wrote:
> I believe the C source files in builtins directory are generic enough.
>
> W...
2018 Dec 07
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...Configuring done
-- Generating done
-- Build files have been written to: /home/llvm_all/buildrtonly
--------------------------------------
ninja output:
root at christian-forschung-virtual-machine:/home/llvm_all/buildrtonly#
ninja builtins
[1/207] Building ASM object
lib/builtins/CMakeFiles/clang_rt.builtins-armhf.dir/arm/bswapsi2.S.o
FAILED:
lib/builtins/CMakeFiles/clang_rt.builtins-armhf.dir/arm/bswapsi2.S.o
/usr/local/myclang/bin/clang -DVISIBILITY_HIDDEN -fno-lto -std=c11
-fPIC -fno-builtin -fvisibility=hidden -fomit-frame-pointer
-fomit-frame-pointer -DCOMPILER_RT_ARMHF_TARGET -MD -MT...
2013 Jul 23
0
[LLVMdev] Build Clang and LLVM on Win 8
...e stdbool.h file + a few others.
> Example:
> error C1083: Impossibile aprire il file inclusione 'stdbool.h': No such
> file or directory (<my
> path>\llvm\projects\compiler-rt\lib\floatuntisf.c) <my
> path>\llvm\projects\compiler-rt\lib\int_lib.h 37 1 clang_rt.x86_64
> error C2061: errore di sintassi: identificatore '__attribute__' (<my
> path>\llvm\projects\compiler-rt\lib\int_util.c) <my
> path>\llvm\projects\compiler-rt\lib\int_util.h 27 1
> clang_rt.x86_64
> error C2059: errore di sintassi: ';' (<...
2015 Dec 01
2
Compilation errors
While doing a make on the recently checkout version:
I got the following errors:
[ 68%] Built target dd
[ 68%] Built target compiler-rt-headers
[ 68%] Building C object
projects/compiler-rt/lib/builtins/CMakeFiles/clang_rt.builtins-x86_64.dir/x86_64/floatdidf.c.o
In file included from
/home/tthtlc/llvm/llvm/projects/compiler-rt/lib/builtins/x86_64/floatdidf.c:9:0:
/home/tthtlc/llvm/llvm/projects/compiler-rt/lib/builtins/x86_64/../int_lib.h:131:8:
error: C++ style comments are not allowed in ISO C90 [-Werror]
#endif...
2018 Dec 10
2
Compiling for baremetal ARMv4 on Ubuntu Linux
....html to
me, so it might still be some variant of the problem from before: Using
a x86-header where an ARM one would be needed.
The ninja builtins output:
root at christian-forschung-virtual-machine:/home/llvm_all/buildrtonly#
ninja builtins
[147/207] Building C object
lib/builtins/CMakeFiles/clang_rt.builtins-armhf.dir/emutls.c.o
FAILED: lib/builtins/CMakeFiles/clang_rt.builtins-armhf.dir/emutls.c.o
/usr/local/myclang/bin/clang --target=arm-linux-gnueabihf
-DVISIBILITY_HIDDEN --target=arm-linux-gnueabihf -march=armv7a -Wall
-Wno-unused-parameter -fno-lto -std=c11 -fPIC -fno-builtin
-fvis...
2019 Mar 11
2
llvm compiled error
...K2019: unresolved external symbol "void * __cdecl MemalignFromLocalPool(unsigned __int64,unsigned __int64)" (?MemalignFromLocalPool@@YAPEAX_K0 at Z), "void * __cdecl operator new(unsigned __int64)" (??2 at YAPEAX_K@Z)
80>D:\program\llvm\build\Debug\lib\clang\9.0.0\lib\windows\clang_rt.asan_dynamic-x86_64.dll : fatal error LNK1120
80>“clang_rt.asan-dynamic-x86_64.vcxproj” fail.
env:
cmake x64
win10, visualstudio2017 15.9.8
please help,
Best wishes,
Dian Chen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/piperma...
2018 Dec 13
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...chter/arm-linux-gnueabihf/sysroot-glibc/"
where sysroot-glibc/ contains sysroot-glibc-8.2-x86_64 and
/arm-linux-gnueabihf/gcc-arm contains gcc-arm-8.2 for Aarch32 hard float
from
https://developer.arm.com/open-source/gnu-toolchain/gnu-a/downloads.
This resulted in successfully building libclang_rt.builtins-armhf.a
So next, I tried to use the cmake recipe for BaremetalARM as in the
documentation. Therefore, I moved the compiler-rt directory from
llvm/projects to llvm/runtimes. I downloaded the latest updates of
gcc-arm-none-eabi6/7/8 from
https://developer.arm.com/open-source/gnu-toolcha...
2018 Dec 14
3
Compiling for baremetal ARMv4 on Ubuntu Linux
...gnueabihf/sysroot-glibc/"
> >
> > where sysroot-glibc/ contains sysroot-glibc-8.2-x86_64 and /arm-linux-gnueabihf/gcc-arm contains gcc-arm-8.2 for Aarch32 hard float from https://developer.arm.com/open-source/gnu-toolchain/gnu-a/downloads. This resulted in successfully building libclang_rt.builtins-armhf.a
> >
> > So next, I tried to use the cmake recipe for BaremetalARM as in the documentation. Therefore, I moved the compiler-rt directory from llvm/projects to llvm/runtimes. I downloaded the latest updates of gcc-arm-none-eabi6/7/8 from https://developer.arm.com/open-sou...
2018 Dec 04
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...//git.llvm.org/git/llvm.git/
1959ce6f3e01241919968ac1911fd45660239d23)
Target: arm-none-unknown-eabi
Thread model: posix
InstalledDir: /usr/local/my_clang/bin
"/usr/local/my_clang/bin/ld.lld" barehelloCLANG.o io.o -Bstatic
-L/usr/local/my_clang/lib/clang/8.0.0/lib/baremetal -lc -lm
-lclang_rt.builtins-arm.a -o helloCLANGstatic
ld.lld: error: unable to find library -lc
ld.lld: error: unable to find library -lm
ld.lld: error: unable to find library -lclang_rt.builtins-arm.a
clang-8: error: ld.lld command failed with exit code 1 (use -v to see
invocation)
on the linking part. I downloade...
2019 Feb 04
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...nsisting of barehelloCLANG.c and a small io.h + io.c) , but the
> linking part of the compilation resulted in this:
>
> root at christian-forschung-virtual-machine:/home/progs# clang -v
> --target=armv6-none-eabi -L
> /home/llvm_all/buildrecipe/lib/clang/8.0.0/armv6m-none-eabi
> -lclang_rt.builtins.arm barehelloCLANG.o io.o -o helloCLANGstatic
> -static -fuse-ld=lld
> clang version 8.0.0 (https://git.llvm.org/git/clang.git/
> a152c7a4b7ba8f4cb9532ead9a38a7121db43d50)
> (https://git.llvm.org/git/llvm.git/
> 1959ce6f3e01241919968ac1911fd45660239d23)
> Target: armv6-no...
2014 Mar 06
2
[LLVMdev] Install Problem of Compiler-rt with Visual Studio Express 2013 for Windows Desktop
...The compiling is fine. However, the installing gives the following errors:
62> CMake Error at
projects/compiler-rt/lib/asan/cmake_install.cmake:34 (FILE):
62> file INSTALL cannot find
62>
"C:/llvm/build/$(Configuration)/lib/clang/3.5.0/lib/windows/Release/clang_rt.asan-i386.lib".
62> Call Stack (most recent call first):
62> projects/compiler-rt/lib/cmake_install.cmake:32 (INCLUDE)
62> projects/compiler-rt/cmake_install.cmake:33 (INCLUDE)
62> projects/cmake_install.cmake:32 (INCLUDE)
62>...
2019 Mar 04
2
Compiling for baremetal ARMv4 on Ubuntu Linux
Hello Christian,
I'd expect that adding the library paths (-L) from gcc -v should fix
the unable to find -lc, -lm but it won't fix the
-lclang_rt.builtins-armv6m.a . To get clang_rt.builtins-armv6m.a you
will need to cross compile compiler-rt for v6m and copy it to
/usr/local/myclang/lib/clang/8.0.0/lib/baremetal . Beware that
building compiler-rt for v6m does need quite a bit of fighting cmake
(https://llvm.org/docs/HowToCrossCompileBuiltin...