Displaying 20 results from an estimated 300 matches similar to: "[LLVMdev] unwind.h, header file doesnt exist ??"
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:
2012 Jul 15
0
[LLVMdev] Compiling llvm and Clang on Linux
Ok, I got. You should install libstdc++44-devel, too.
Please try to install gcc44-c++ and libstdc++44-devel.
Note: gcc44-c++ depends on gcc44, but gcc44-c++ and libstdc++44-devel
are independent each other, at least on my 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
2014 Mar 11
2
[LLVMdev] build issue
Hi,
I'm trying to build llvm 3.4 on one of our Cray systems, note: 3.2
builds fine. The following error occurs, it looks like a system header,
intended for C only judging by the fact that there's a variable named
"new", is being used in one of llvm'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
2012 Jul 15
0
[LLVMdev] Compiling llvm and Clang on Linux
PS: Do you actually have gcc-4.4 installed and in your path? What do the
commands
gcc44 -v
and
g++44 -v
output?
On 15/07/12 10:59, Duncan Sands wrote:
> Hi Sitvanit,
>
>> I tried
>>
>> CC=gcc44 CXX=g++44 ../llvm/configure
>>
>> and got
>>
>> CC=gcc44: Command not found
>>
>> So the syntax is indeed as wriiten in the help.
>
2012 Jul 15
2
[LLVMdev] Compiling llvm and Clang on Linux
Hi Sitvanit,
> I tried
>
> CC=gcc44 CXX=g++44 ../llvm/configure
>
> and got
>
> CC=gcc44: Command not found
>
> So the syntax is indeed as wriiten in the help.
actually, no, this just means that you are using a shell that doesn't support
this syntax. What shell are you using? Try
export CC=gcc44
export CXX=g++44
../llvm/configure
Ciao, Duncan.
>
2013 Aug 01
2
[LLVMdev] Error building compiler-rt
Dear Alexey,
Yes I am sure that the llvm, clang and compiler-rt are synced to the same
version. I downloaded them all from git
http://llvm.org/docs/GettingStarted.html#git-mirror
I think I need compiler-rt for my project but I'll verify it again to see
if I can proceed without it.
You are correct that compiler-rt is compiled with the just built clang. The
complete command that gives an error
2013 Feb 27
2
[LLVMdev] [PATCH] [Embtk] [compiler-rt] ASAN: Add mips support
This simple patch makes asan compile for mips (tested on mips32r2el).
The following test code:
int main()
{
char *x = (char*)malloc(10 * sizeof(char*));
free(x);
return x[5];
}
leads to the following output at runtime:
=================================================================
==267== ERROR: AddressSanitizer: heap-use-after-free on address 0x77900fd5 at pc 0x409e1c bp 0x7fb781d8 sp
2014 Jun 10
4
[LLVMdev] use of undeclared identifier '__NR_*' error while building clang
Hi guys,
I am following this[1] tutorial to install clang. However, I have made a
small change in the configure command, and I am running it with
'--enable-optimized' option to avoid the debug build.
I am getting the errors (given at the end) related to *undeclared
identifiers '__NR_*'*. Can someone please provide some input about how to
tackle this issue?
On my other machine, I
2013 Aug 01
2
[LLVMdev] Error building compiler-rt
yes I think that is correct. I wrote a simple program to print if
sizeof(uintptr_t) != sizeof(unsigned char *) and when I compile with gcc
-m64 and execute it on a 64-bit host (that is different from the 32-bit
laptop on which I originally compiled the program), it says the sizes are
not equal.
Thanks
Pranav
On Thu, Aug 1, 2013 at 9:29 AM, Alexey Samsonov <samsonov at google.com> wrote:
2013 Aug 01
0
[LLVMdev] Error building compiler-rt
On Thu, Aug 1, 2013 at 5:32 PM, Pranav Garg <pranav.garg2107 at gmail.com>wrote:
> Dear Alexey,
>
> Yes I am sure that the llvm, clang and compiler-rt are synced to the same
> version. I downloaded them all from git
> http://llvm.org/docs/GettingStarted.html#git-mirror
> I think I need compiler-rt for my project but I'll verify it again to see
> if I can proceed
2013 Jul 31
2
[LLVMdev] Error building compiler-rt
Hi,
I see that ENABLE_WERROR is being set to off (the default value) in the
config.log in the llvm build. However on grepping for WERROR in the
compiler-rt folder I get the following output:
pranav at pranav:~/smack-project/llvm-3.4/src/projects/compiler-rt$ grep -Rin
WERROR *
lib/asan/tests/CMakeLists.txt:38: -Werror
lib/asan/asan_malloc_mac.cc:253:// This function is currently unused, and
we
2013 Aug 01
0
[LLVMdev] Error building compiler-rt
Hi Pranav,
On Thu, Aug 1, 2013 at 1:54 AM, Pranav Garg <pranav.garg2107 at gmail.com>wrote:
> Hi,
>
> I see that ENABLE_WERROR is being set to off (the default value) in the
> config.log in the llvm build. However on grepping for WERROR in the
> compiler-rt folder I get the following output:
>
> pranav at pranav:~/smack-project/llvm-3.4/src/projects/compiler-rt$ grep
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:
2012 Jun 06
2
[LLVMdev] Compile-rt throw error undeclared identifier 'O_CLOEXEC'
Hi, Chatsiri!
> ---------- Forwarded message ----------
> From: Chatsiri Ratana <insiderboy at gmail.com>
> Date: Wed, Jun 6, 2012 at 2:15 PM
> Subject: [LLVMdev] Compile-rt throw error undeclared identifier 'O_CLOEXEC'
> To: llvmdev at cs.uiuc.edu
>
>
> Hello All,
>
> I build LLVM source code version 3.2 from SVN repository. After I
> build
2013 Feb 21
4
[LLVMdev] make error building llvm/clang 3.2 on Linux
I'm attempting to build a native build of clang from the 3.2 source
distribution tarballs, but I ran into this build error that's got me
really puzzled. My platform is Linux - 32-bit Ubuntu (12.04) running
on a PC. Here's the (abbreviated) output from make:
***************************************
...
make[3]: Entering directory
2013 Jul 31
0
[LLVMdev] Error building compiler-rt
You can disable -Werror by adding the cmake flag -DLLVM_ENABLE_WERROR=OFF, which should let it just ignore that (that's also the default, so you must have turned it on somewhere)
On Jul 31, 2013, at 13:09 , Pranav Garg <pranav.garg2107 at gmail.com> wrote:
> Hi,
>
> I am trying to build llvm along with clang and compiler-rt. When I run make, I am getting the following
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
2012 Jun 06
0
[LLVMdev] Compile-rt throw error undeclared identifier 'O_CLOEXEC'
On Wed, Jun 6, 2012 at 5:33 PM, Alexey Samsonov <samsonov at google.com> wrote:
> Hi, Chatsiri!
>
>
>> ---------- Forwarded message ----------
>> From: Chatsiri Ratana <insiderboy at gmail.com>
>> Date: Wed, Jun 6, 2012 at 2:15 PM
>> Subject: [LLVMdev] Compile-rt throw error undeclared identifier
>> 'O_CLOEXEC'
>> To: llvmdev at
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
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]: ***