Displaying 20 results from an estimated 700 matches similar to: "[LLVMdev] build issue"
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
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 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
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 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 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:
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
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]: ***
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
2013 Oct 31
3
[releng_10 tinderbox] failure on i386/pc98
TB --- 2013-10-31 19:50:43 - tinderbox 2.20 running on worker01.tb.des.no
TB --- 2013-10-31 19:50:43 - FreeBSD worker01.tb.des.no 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #0: Mon Jun 17 11:42:37 UTC 2013 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
TB --- 2013-10-31 19:50:43 - starting RELENG_10 tinderbox run for i386/pc98
TB --- 2013-10-31 19:50:43 - cleaning the
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
2015 Mar 12
3
[LLVMdev] Customize Standard C Library Using LLVM (to support llvm backend optimization)
2015-03-12 10:49 GMT-05:00 Jonathan Roelofs <jonathan at codesourcery.com>:
> You need to build a sysroot from the lib and include directories in
> ~/research/musl-1.1.6 combined with the same 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
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 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
2015 Mar 29
2
[LLVMdev] How to Cross Compile libcompiler_rt Static Library?
I was attempting to cross compile on Windows. I ended up having to find
the list in the CMake build system (not very hard) and manually creating a
makefile to compile them. Took maybe 2 hours total.
On Sun, Mar 29, 2015 at 1:28 PM, Chao Yan <yanchao2012 at gmail.com> wrote:
>
> 2015-03-29 15:11 GMT-05:00 Daniel Dilts <diltsman at gmail.com>:
>
>> I need to correct
2013 May 17
2
[LLVMdev] linux build fix
Hello,
I tried to compile revision 182096 of compile-rt on linux. An include missied. I attached the patch and changelog.
by:
Antal Tatrai
-------------- next part --------------
A non-text attachment was scrubbed...
Name: changelog
Type: application/octet-stream
Size: 53 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130517/c743da76/attachment.obj>
2015 Mar 09
5
[LLVMdev] Build failure with compiler-rt on trunk under linux
I've been building clang on linux for a couple of years now,
contributing to the testing on Ubuntu, but this one has me stumped:
fatal error: 'asm/socket.h' file not found
#include <asm/socket.h>
[1556/4006] Building CXX object
projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.i386.dir/sanitizer_platform_limits_posix.cc.o
FAILED:
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
2016 Dec 16
2
libcompiler_rt.so and libcompiler_rt.a are not being built
I want to build LLVM-based toolchain with Musl, I have LLVM sources with clang and lld (under `tools` directory) and libunwind, compiler-rt, libcxx and libcxxabi (under `projects` directory). All are the latest versions cloned from GitHub mirror, branch `master`.
I'm trying to configure with the following options:
CLANG_DEFAULT_CXX_STDLIB = libc++
CLANG_DEFAULT_RTLIB = compiler-rt