search for: clang_linux

Displaying 20 results from an estimated 36 matches for "clang_linux".

2014 Mar 11
2
[LLVMdev] build issue
...#39;s C++ source files. Can anyone suggest a workaround? I do not have root on this system nor is it likely that I can convince anyone to update system packages. Burlen make[5]: Entering directory `/global/common/hopper2/graphics/llvm/builds/llvm-3.4.src/projects/compiler-rt' ARCHIVE: clang_linux/full-x86_64/x86_64: /global/common/hopper2/graphics/llvm/builds/3.4-static-build/tools/clang/runtime/compiler-rt/clang_linux/full-x86_64/x86_64/libcompiler_rt.a FINAL-ARCHIVE: clang_linux/full-x86_64: /global/common/hopper2/graphics/llvm/builds/3.4-static-build/tools/clang/runtime/compiler-rt/...
2014 May 28
3
[LLVMdev] Compiler-RT on Buildbots
Folks, I realised there's a "checkout_compiler_rt" option on ClangBuilder, which does checkout the sources, but couldn't build them on ARM. I also don't build them during releases (yet) because the configure script doesn't prepare the Makefiles for compiler-rt. A while ago I got it running on ARM with CMake files, but since these are buildbots, I'm not sure
2012 Apr 24
1
[LLVMdev] unwind.h, header file doesnt exist ??
I want to make svn access about compiler-rt. But, after running make clang_linux, I got this error result saying about: /home/user-compiler-rtllvm/projects/compiler-rt/lib/asan/asan_linux.cc:31:10: fatal error: 'unwind.h' file not found #include <unwind.h> ^ 1 error generated. make: *** [/home/u-one/Downloads/llvm-3.0-ioc.install/bin/clang-ru/l...
2013 Jul 15
0
[LLVMdev] libcompiler_rt.a, No such file or directory
Trying to compile llvm-3.3 and I get this: llvm[4]: Copying runtime library linux/asan-i386 to build dir cp: cannot stat «/pkg/llvm-3.3.src/tools/clang/runtime/compiler-rt/clang_linux/full-i386/libcompiler_rt.a»: Ingen slik fil eller filkatalog llvm[4]: Copying runtime library linux/ubsan-i386 to build dir llvm[4]: Copying runtime library linux/ubsan_cxx-i386 to build dir make[4]: *** [/pkg/llvm-3.3.src/Release/lib/clang/3.3/lib/linux/libclang_rt.full-i386.a] Error 1 make[4]: **...
2014 Jun 10
4
[LLVMdev] use of undeclared identifier '__NR_*' error while building clang
...ing built successfully. [1] http://clang.llvm.org/get_started.html ==================== warning: clang_darwin.mk: dropping arch 'x86_64h' from lib 'ubsan_osx' (ld does not support it) make[5]: Entering directory `/home/sandeep/llvm_clang/llvm/projects/compiler-rt' COMPILE: clang_linux/san-i386/i386: /home/sandeep/llvm_clang/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux.cc /home/sandeep/llvm_clang/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux.cc:123:27: error: use of undeclared identifier '__NR_open' return internal_syscall(SYSCALL(open...
2013 Aug 01
2
[LLVMdev] Error building compiler-rt
...le compiler-rt compilation is: /home/pranav/smack-project/llvm/build/Release+Asserts/bin/clang -fPIC -Wall -Werror -O3 -fomit-frame-pointer -m64 --sysroot=/home/pranav/smack-project/llvm/src/projects/compiler-rt/SDKs/linux -c -o /home/pranav/smack-project/llvm/build/tools/clang/runtime/compiler-rt/clang_linux/full-x86_64/x86_64/SubDir.lib/enable_execute_stack.o /home/pranav/smack-project/llvm/src/projects/compiler-rt/lib/enable_execute_stack.c /home/pranav/smack-project/llvm/src/projects/compiler-rt/lib/enable_execute_stack.c:53:29: error: cast to 'unsigned char *' from smaller integer type '...
2013 Jul 31
2
[LLVMdev] Error building compiler-rt
...l -Werror -Werror=sign-compare) lib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc:177: _(FDWERRORCLR, NONE, 0); lib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc:178: _(FDWERRORGET, WRITE, struct_floppy_write_errors_sz); make/options.mk:10:CFLAGS := -Wall -Werror make/platform/clang_linux.mk:85:CFLAGS := -Wall -Werror -O3 -fomit-frame-pointer make/platform/clang_darwin.mk:109:CFLAGS := -Wall -Werror -O3 -fomit-frame-pointer make/platform/multi_arch.mk:10:CFLAGS := -Wall -Werror make/platform/darwin_fat.mk:42:CFLAGS := -Wall -Werror I see that -DLLVM_ENABLE_WERROR is being set in th...
2013 Aug 01
2
[LLVMdev] Error building compiler-rt
...e/pranav/smack-project/llvm/build/Release+Asserts/bin/clang -fPIC >> -Wall -Werror -O3 -fomit-frame-pointer -m64 >> --sysroot=/home/pranav/smack-project/llvm/src/projects/compiler-rt/SDKs/linux >> -c -o >> /home/pranav/smack-project/llvm/build/tools/clang/runtime/compiler-rt/clang_linux/full-x86_64/x86_64/SubDir.lib/enable_execute_stack.o >> /home/pranav/smack-project/llvm/src/projects/compiler-rt/lib/enable_execute_stack.c >> >> /home/pranav/smack-project/llvm/src/projects/compiler-rt/lib/enable_execute_stack.c:53:29: >> error: cast to 'unsigned char *...
2013 Aug 01
0
[LLVMdev] Error building compiler-rt
...: > > /home/pranav/smack-project/llvm/build/Release+Asserts/bin/clang -fPIC > -Wall -Werror -O3 -fomit-frame-pointer -m64 > --sysroot=/home/pranav/smack-project/llvm/src/projects/compiler-rt/SDKs/linux > -c -o > /home/pranav/smack-project/llvm/build/tools/clang/runtime/compiler-rt/clang_linux/full-x86_64/x86_64/SubDir.lib/enable_execute_stack.o > /home/pranav/smack-project/llvm/src/projects/compiler-rt/lib/enable_execute_stack.c > > /home/pranav/smack-project/llvm/src/projects/compiler-rt/lib/enable_execute_stack.c:53:29: > error: cast to 'unsigned char *' from small...
2012 Jul 15
3
[LLVMdev] Compiling llvm and Clang on Linux
In order to isolate the problem I am now running on a machine whose only installation of gcc/g++ is gcc44, g++44 For this installation I am getting the following error: COMPILE: clang_linux/asan-i386/i386: /gpfs/haifa-p4/00/pincette/sitvanit/LLVM/llvm/projects/compiler-rt/lib/asan/asan_new_delete.cc /.../sitvanit/LLVM/llvm/projects/compiler-rt/lib/asan/asan_new_delete.cc:19:10: fatal error: 'new' file not found #include <new> ^ 1 error generated. make[5]:...
2013 Jul 31
2
[LLVMdev] Error building compiler-rt
Hi, I am trying to build llvm along with clang and compiler-rt. When I run make, I am getting the following compilation error (I tried compiling llvm-3.2, which is what I need for my project, but also tried llvm-3.3 and the current llvm source from the git repository). ... COMPILE: clang_linux/full-x86_64/x86_64: /home/pranav/smack-project/llvm/src/projects/compiler-rt/lib/enable_execute_stack.c /home/pranav/smack-project/llvm/src/projects/compiler-rt/lib/enable_execute_stack.c:53:29: error: cast to 'unsigned char *' from smaller integer type 'unsigned int' [-Werror...
2013 Aug 01
0
[LLVMdev] Error building compiler-rt
...) > lib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc:177: > _(FDWERRORCLR, NONE, 0); > lib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc:178: > _(FDWERRORGET, WRITE, struct_floppy_write_errors_sz); > make/options.mk:10:CFLAGS := -Wall -Werror > make/platform/clang_linux.mk:85:CFLAGS := -Wall -Werror -O3 > -fomit-frame-pointer > make/platform/clang_darwin.mk:109:CFLAGS := -Wall -Werror -O3 > -fomit-frame-pointer > make/platform/multi_arch.mk:10:CFLAGS := -Wall -Werror > make/platform/darwin_fat.mk:42:CFLAGS := -Wall -Werror > > I see that -DLLV...
2012 Jul 15
0
[LLVMdev] Compiling llvm and Clang on Linux
...host, CentOS5. ...Takumi 2012/7/15 Sitvanit Ruah <RUAH at il.ibm.com>: > In order to isolate the problem I am now running on a machine whose only > installation of gcc/g++ is gcc44, g++44 > > For this installation I am getting the following error: > > > COMPILE: > clang_linux/asan-i386/i386: /gpfs/haifa-p4/00/pincette/sitvanit/LLVM/llvm/projects/compiler-rt/lib/asan/asan_new_delete.cc > /.../sitvanit/LLVM/llvm/projects/compiler-rt/lib/asan/asan_new_delete.cc:19:10: > fatal error: > 'new' file not found > #include <new> > ^ &g...
2013 Feb 26
0
[LLVMdev] make error building llvm/clang 3.2 on Linux
...ng directory `/home/youngmj/DevTools/LLVM/Version_3.2/build/tools/clang/runtime/compiler-rt' > make[5]: Entering directory `/home/youngmj/DevTools/LLVM/Version_3.2/source/compiler-rt-3.2.src' > MKDIR: /home/youngmj/DevTools/LLVM/Version_3.2/build/tools/clang/runtime/compiler-rt/clang_linux/full-i386/i386/SubDir.lib > COMPILE: clang_linux/full-i386/i386: /home/youngmj/DevTools/LLVM/Version_3.2/source/llvm-3.2.src/projects/compiler-rt/lib/absvdi2.c > <* SNIP *> > COMPILE: clang_linux/full-i386/i386: /home/youngmj/DevTools/LLVM/Version_3.2/source/llvm-3.2.src/...
2012 Jun 06
2
[LLVMdev] Compile-rt throw error undeclared identifier 'O_CLOEXEC'
...er I > build source code of LLVM include "compiler-rt"(Compiler-rt at revision > 158057. > ) and "clang" are represent an error as below. > > make[5]: Entering directory > `/san01/home/chatsiri/workspacecpp/llvm-svn/projects/compiler-rt' > COMPILE: clang_linux/asan-x86_64/x86_64: > /san01/home/chatsiri/workspacecpp/llvm-svn/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux.cc > /san01/home/chatsiri/workspacecpp/llvm-svn/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux.cc:47:36: > error: use of > undeclared identifier ...
2013 Jul 31
0
[LLVMdev] Error building compiler-rt
...I am trying to build llvm along with clang and compiler-rt. When I run make, I am getting the following compilation error (I tried compiling llvm-3.2, which is what I need for my project, but also tried llvm-3.3 and the current llvm source from the git repository). > > ... > COMPILE: clang_linux/full-x86_64/x86_64: /home/pranav/smack-project/llvm/src/projects/compiler-rt/lib/enable_execute_stack.c > /home/pranav/smack-project/llvm/src/projects/compiler-rt/lib/enable_execute_stack.c:53:29: error: cast to 'unsigned char *' from smaller integer type 'unsigned int' >...
2013 Feb 21
4
[LLVMdev] make error building llvm/clang 3.2 on Linux
...[4]: Entering directory `/home/youngmj/DevTools/LLVM/Version_3.2/build/tools/clang/runtime/compiler-rt' make[5]: Entering directory `/home/youngmj/DevTools/LLVM/Version_3.2/source/compiler-rt-3.2.src' MKDIR: /home/youngmj/DevTools/LLVM/Version_3.2/build/tools/clang/runtime/compiler-rt/clang_linux/full-i386/i386/SubDir.lib COMPILE: clang_linux/full-i386/i386: /home/youngmj/DevTools/LLVM/Version_3.2/source/llvm-3.2.src/projects/compiler-rt/lib/absvdi2.c <* SNIP *> COMPILE: clang_linux/full-i386/i386: /home/youngmj/DevTools/LLVM/Version_3.2/source/llvm-3.2.src/projects/compiler-...
2015 Mar 29
2
[LLVMdev] How to Cross Compile libcompiler_rt Static Library?
Hi, I've cross-compiled musl-libc to arm binaries with clang. It needs functions from static runtime library "libcompiler_rt.a". I tried to build compile_rt outside the llvm source tree. Using command like "make clang_linux", I can easily build "libcompiler_rt.a" for my host machine, which is X86_64. But how can I *cross-compile* the compiler_rt runtime libraries? According to the following websites: https://www.bountysource.com/issues/5139020-linux-arm-platform-support-missing-for-compiler-rt-cross-co...
2012 Jun 06
0
[LLVMdev] Compile-rt throw error undeclared identifier 'O_CLOEXEC'
...LVM include "compiler-rt"(Compiler-rt at revision >> 158057. >> ) and "clang" are represent an error as below. >> > > >> make[5]: Entering directory >> `/san01/home/chatsiri/workspacecpp/llvm-svn/projects/compiler-rt' >> COMPILE: clang_linux/asan-x86_64/x86_64: >> /san01/home/chatsiri/workspacecpp/llvm-svn/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux.cc >> /san01/home/chatsiri/workspacecpp/llvm-svn/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux.cc:47:36: >> error: use of >> undeclar...
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