similar to: [LLVMdev] unable to build clang/llvm

Displaying 20 results from an estimated 11000 matches similar to: "[LLVMdev] unable to build clang/llvm"

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
2011 Mar 10
3
[LLVMdev] Building VMKit
I tried to build VMKit on an ARM device today (a Sheevaplug - armv5te) (native, not cross compiled), and got this error: llvm[3]: Building LLVM assembly with /home/debio/build/vmkit-build/vmkit/lib/Mvm/Runtime/LLVMAssembly.ll /home/debio/build/vmkit-build/vmkit/lib/Mvm/Runtime/LLVMAssembly64.ll ExpandIntegerResult #0: 0x16fbf88: i64,ch = AtomicCmpSwap 0x16e8d84, 0x16fbf00, 0x16fc3c8,
2012 Jul 09
0
[LLVMdev] Unable to do even basic Clang tutorial
I downloaded the 3.1 LLVM and Clang sources. I followed the directions at: http://clang.llvm.org/get_started.html I am able to use Clang to compile stuff, but I could already do that with GCC. I'm trying to use Clang for parsing code, but I can't even get started. Can you tell me how to "include the installed location of  clang/llvm headers directories in your include path"?
2012 Jul 09
3
[LLVMdev] Unable to do even basic Clang tutorial
On 7/9/2012 1:42 PM, Chad Rosier wrote: > Have you looked here: http://clang.llvm.org/get_started.html > > Chad > > > On Jul 9, 2012, at 11:33 AM, NY Knicks Fan wrote: > >> I'm trying to do the tutorials at: >> >> https://github.com/loarabia/Clang-tu...i/TutorialOrig >> <https://github.com/loarabia/Clang-tutorial/wiki/TutorialOrig> >>
2012 Jul 10
0
[LLVMdev] Unable to do even basic Clang tutorial
Hi Ashok, As I mentioned in my earlier e-mail, my /usr/local/include does not have clang/ or clang-c/. I'm unable to do a make or make install in the Clang build directory.  How do I fix this? Thanks! ________________________________ From: Ashok Nalkund <ashoknn at qualcomm.com> To: NY Knicks Fan <nyknicksfan92009 at yahoo.com>; "llvmdev at cs.uiuc.edu" <llvmdev
2016 Mar 16
3
Trunk: LLVM build is failing with a lot of `undefined reference` errors
Hello I'm trying to compile LLVM, Clang and LLDB on Ubuntu 14.04 LTS as described on llvm.org [1][2]: ``` sudo apt-get install subversion cmake ninja-build doxygen \ swig libedit-dev libncurses5-dev libxml2-dev mkdir llvm-src cd llvm-src svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm cd llvm/tools svn co http://llvm.org/svn/llvm-project/cfe/trunk clang svn co
2012 Jul 09
4
[LLVMdev] Unable to do even basic Clang tutorial
Use the -I<install path>/include . This directory <install path>/include should look something like: clang/ clang-c/ llvm/ llvm-c/ HTH ashok On 7/9/2012 3:15 PM, NY Knicks Fan wrote: > I downloaded the 3.1 LLVM and Clang sources. > > I followed the directions at: http://clang.llvm.org/get_started.html > > I am able to use Clang to compile stuff, but I could
2012 Jul 09
0
[LLVMdev] Unable to do even basic Clang tutorial
Hi Ashok, The documentation suggests that I put clang inside of llvm/tools and so I have two separate include directories.  I tried both of them and neither worked: $ clang++ -I llvm/include tutorial1.cpp  In file included from tutorial1.cpp:5: In file included from llvm/include/llvm/Support/raw_ostream.h:17: In file included from llvm/include/llvm/ADT/StringRef.h:13:
2013 Feb 12
2
[LLVMdev] [vmkit] Errors compiling vmkt
Hi all, I hope this is the correct place to post such questions? I am building vmkit for the first time, following the instructions on the get_started page (with one deviation: in step 4 I ran ./configure in my vmkit directory and therefore did not need to cd at the start of step 5. Is this correct?). Build platform is 64-bit CrunchBang Linux 11 "Waldorf", based on Debian Wheezy. I
2012 Jul 09
3
[LLVMdev] Unable to do even basic Clang tutorial
The "make install" should collect everything into your <install path>. The <install path> will then have bin, lib and include dirs. On 7/9/2012 3:52 PM, NY Knicks Fan wrote: > Hi Ashok, > > The documentation suggests that I put clang inside of llvm/tools and so > I have two separate include directories. I tried both of them and > neither worked: > > $
2012 Jul 09
0
[LLVMdev] Unable to do even basic Clang tutorial
Have you looked here: http://clang.llvm.org/get_started.html Chad On Jul 9, 2012, at 11:33 AM, NY Knicks Fan wrote: > I'm trying to do the tutorials at: > > https://github.com/loarabia/Clang-tu...i/TutorialOrig > > and I can't even do the first tutorial. I installed LLVM 3.1 and Clang 3.1 and when I do: > > ~/loarabia-Clang-tutorial-3d79443$ clang++
2012 Jul 09
0
[LLVMdev] Unable to do even basic Clang tutorial
On Jul 9, 2012, at 4:00 PM, Ashok Nalkund wrote: > The "make install" should collect everything into your <install path>. > The <install path> will then have bin, lib and include dirs. And you should be able to specify the install path with the --prefix option when configuring. I believe the default is /usr/local (see: configure --help to verify). Chad > On
2012 Jul 10
2
[LLVMdev] Unable to do even basic Clang tutorial
Looks like your make/install is incomplete wrt clang. I follow the instuctions for checking out the sources but build using cmake instead of configure: > cmake -G ""Unix Makefiles" -DLLVM_TARGETS_TO_BUILD="X86" -DCMAKE_BUILD_TYPE="Release" -DCMAKE_INSTALL_PREFIX="../bin" ../llvm > make install This builds and installs llvm+clang in the bin
2013 Jan 10
1
[LLVMdev] clang 3.2 build error
See attachments: config.log Error on command line: llvm[4]: Compiling InitHeaderSearch.cpp for Release+Asserts build /home/jamitch/Downloads/llvm-3.2.src/tools/clang/lib/Frontend/InitHeaderSearch.cpp: In member function ‘void<unnamed>::InitHeaderSearch::AddMinGWCPlusPlusIncludePaths(llvm::StringRef, llvm::StringRef, llvm::StringRef)’:
2014 May 02
2
[LLVMdev] clang build (Debug+Asserts) fails with Cygwin and Mingw (ASTContext.o: File too big)
Hello, After switching from a Linux development host to Windows7 with Cygwin, I notice the following problem when building clang (trunk, HEAD): (also happens with Mingw) ... llvm[4]: Compiling ParseInit.cpp for Debug+Asserts build as: /cygdrive/d/Projects/Cpp/llvm/cfgCygwin/tools/clang/lib/AST/Debug+Asserts/ASTContext.o: too many sections (33066) /tmp/ccmtDH7w.s: Assembler messages:
2012 Jul 10
0
[LLVMdev] Unable to do even basic Clang tutorial
Hi Ashok, I created a new Ubuntu 12.04 virtual machine and followed directions except that I know use your cmake command instead of configure, and I got the error below. Any help is very much appreciated. $ /home/ubuntu/bin/bin/clang++ -I /home/ubuntu/bin/include/ tutorial1.cpp In file included from tutorial1.cpp:5: In file included from /home/ubuntu/bin/include/llvm/Support/raw_ostream.h:17:
2012 Sep 06
1
[LLVMdev] Cross-compiling llvm/clang osx -> win32
Hi, I'm trying to compile llvm/clang so that: it is compiled on osx 10.6, it runs on osx, but it outputs win32 objects. More exactly, I'm building an app which generates a .c file that doesn't include or link with anything, and I'd like to be able to make a win32 .dll of it on osx. Below is what I'm getting. Full log is here: http://pastebin.com/KsPGvAfW It fails while
2014 Aug 03
2
[LLVMdev] Can't build clang 3.4.2
I can build llvm 3.4.2 fine, using instructions in GettingStarted.html, and making assumptions to account for my using tar files instead of svn. Although I had downloaded and extracted both llvm-3.4.2.src.tar.gz and cfe-3.4.2.src.tar.gz, giving directories llvm-3.4.2.src and cfe-3.4.2.src, clang apparently did not get built. The only files with names starting with "clang" anywhere
2023 Mar 14
1
[V2V PATCH v3 5/6] v2v, in-place: introduce --block-driver command line option
On Tue, Mar 14, 2023 at 04:06:18PM +0200, Andrey Drobyshev wrote: > Speaking of "make check": could you point out, for future reference, > which particular sub-target you're referring to here? I can see these: > check-am, check-recursive, check-slow, check-TESTS, check-valgrind. And > none of them seems to refer to checking docs integrity. Yet running > entire
2008 Nov 02
0
[LLVMdev] clang (was Re: 2.4 Pre-release (v2))
Hello, Thorsten >>A checkout of clang r58548 does not build with the prerelease, >>seems to require a newer version of llvm-current. That's correct. > Any suggestions? Please do read http://clang.llvm.org/get_started.html about correct way of building clang. -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University