similar to: [LLVMdev] Using LLVM to compile system programs

Displaying 20 results from an estimated 20000 matches similar to: "[LLVMdev] Using LLVM to compile system programs"

2005 Nov 07
0
[LLVMdev] Using LLVM to compile system programs
On Mon, 7 Nov 2005, Sean Peisert wrote: > I'm having a bit of difficulty using LLVM to compile system programs > (e.g. rsh) on FreeBSD 5.x. Basically 'lli' is bombing out with > "ERROR: Program used external function 'blah' which could not be > resolved!" I was hoping that you could please point me to a sample > Makefile that might both use external
2005 Nov 09
3
[LLVMdev] Using LLVM to compile system programs
Thanks, Chris. > > I'm having a bit of difficulty using LLVM to compile system programs > > (e.g. rsh) on FreeBSD 5.x. > There are three basic options here: > > 1. Build all your code with LLVM. > 2. Build the non-llvm parts into a dynamic library, and use "lli -load > x.so <other options>" to load it. > 3. Link the non-llvm parts into LLI.
2005 Nov 09
0
[LLVMdev] Using LLVM to compile system programs
On Wed, 9 Nov 2005, Sean Peisert wrote: > libraries due to inline assembly. Do my assumptions seem correct? yes > Has an OS (or at least the sytem applications on it) ever been > compiled with LLVM? I'm not aware of anyone who has built a whole os with LLVM yet, e.g. due to inline asm issues. However, many system utils (e.g. finger and core utils) have been built with LLVM.
2005 Nov 09
1
[LLVMdev] Using LLVM to compile system programs
> I'm not aware of anyone who has built a whole os with LLVM yet, e.g. due > to inline asm issues. However, many system utils (e.g. finger and core > utils) have been built with LLVM. The key difference is that we didn't > try to use the JIT, so native code was no problem. :) Though unfortunately, this still requires customizing all the Makefiles to be LLVM-style, unless
2005 Feb 25
0
[LLVMdev]Linker error building (modified) lli
Linking lli debug executable (without symbols) /mounts/zion/disks/0/localhome/pmeredit/llvm/lib/Debug/lli-interpreter.o(.te xt+0x643a): In function `llvm::Interpreter::callExternalFunction(llvm::Function*, std::vector<llvm::GenericValue, std::allocator<llvm::GenericValue> > const&)': /localhome/pmeredit/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.c pp:98: undefined
2011 Nov 21
3
Confusing Generic USB UPS cannot be matched
I was dropping off junk at the waste transfer station and scarfed a UPS out of the pile of old TV's and VCR's. It was in good physical condition and as I expected, the battery was toast. A new RBC-2 battery restored it to working condition. Then I tried to get it to talk to some software. And I am having no luck. The unit is branded as a Nexxtech Model 6118507 650VA imported into
2004 Apr 01
3
[LLVMdev] 134.perl
Hi Chris, It did compile when I gave that option. But it gives me an error when I try to run the executable on an Intel machine. ----- 1513158 is not prime. Exception handler needed, but not enabled. Recompile program with -enable-correct-eh-support. lli[0x8429bb4] lli[0x8429dc0] /lib/libc.so.6[0x40128c18] /lib/libc.so.6(abort+0x161)[0x40129cb5] [0x403da922] ../../../i386: line 4: 27606
2014 Mar 21
3
[LLVMdev] lli crashes when running cpp programs
Hi all, I need to run c++ prgrams using lli. However, I find lli cannot handle the alias instruction correctly. Following is an example: ------------ example.cc ------------- #include <iostream> using namespace std; class cls { public: cls(); ~cls(); }; cls::cls() { cout << "constructor" << endl; }; cls::~cls() { cout <<
2005 Jun 28
3
[LLVMdev] LLVM 1.5 C Front-End Binaries for FreeBSD?
Might anyone have a FreeBSD binary or suggested modifications to the source to compile one? Thanks, Sean
2009 Oct 08
5
[LLVMdev] strace for whole-program bitcodes (was: RE: building whole-program bitcode with LLVM)
Hi, It would be nice if it were easier for relative novices to build whole-program bitcodes for large, complex applications with hairy build systems. Several readers of this list have been trying various approaches for a few months but as far as I know we haven't yet found a good general solution. Approaches that have been tried include 1) placing wrappers for the usual tools (gcc, ar, as,
2005 Aug 13
1
[LLVMdev] Adding instructions to loop
I am attempting to add instructions before and after all loops. To do this, I've added a simple function as follows: void addToAllLoops(Loop * IL) { addToAllLoops(IL); BasicBlock * PH = IL->getLoopPreheader(); Instruction *InstrCallPre = new CallInst(PrintLoopBegin, "", PH->getPrev()); return; } The function added is trivial: void
2005 Feb 24
4
[LLVMdev] LLVM CygWin build error ?
There do not seem to be any binaries for CygWin only Linux and the Mac :( I tried building the frontend on CygWin but ended up with a makeinfo error then a build error that I could not do anything about. I will have to get my Linux Laptop from home and use that. Many thanks, Aaron
2005 May 19
0
[LLVMdev] [Cygwin] llvm 'make install' build errors
The rules for building llvm-ar and llvm-ranlib are identical to the rules for building all other tools so I don't know why the makefiles would single those two out. Reid On Thu, 2005-05-19 at 21:31 +0100, Aaron Gray wrote: > >No, I don't think so. The "bin" directory definitely gets created first > >as there is a rule for it in Makefile.rules and appropriate >
2005 Feb 25
3
[LLVMdev]Linker error building (modified) lli
Hi Patrick, You need to modify your makefile for building your version of lli so that it includes the LLVMBCWriter.o library. You can do this with a line like: LLVM_LIBS=LLVMBCWriter if you're using the LLVM Makefile system. Otherwise you just need to make sure that {Debug,Release}/lib/LLVMBCWriter.o gets added to the link line. Reid. On Thu, 2005-02-24 at 16:37, Patrick Meredith wrote:
2003 Jul 22
2
Supplementing Current phone system
Has anyone used * in conjunction with an existing phone system to add certain features or to expand a department? Currently we have an existing nortel phone system. We would like to have the * server stand behind it and just handle VoIP services for our remote sales and technical people. We would like them to act as normal extensions (being able to dial them by extension from the existing phone
2005 May 19
2
[LLVMdev] [Cygwin] llvm 'make install' build errors
>No, I don't think so. The "bin" directory definitely gets created first >as there is a rule for it in Makefile.rules and appropriate >dependencies. Also, the error message seems to indicate that "install" >wants to create a directory, not create a file as it should. There's no >such directory as <install_path>/bin/llvm-ar ! Ah, I see. What I am
2004 Dec 31
4
[LLVMdev] Primer with LLVM
Hi again, and thanks (Reid) for your fast response: Yes, it works!!! Only changing the order of libraries in the Makefile. Nowaday I have my software with the capability of compile assembly, bytecode (from buffer and file) and link them with a set of libraries. It seems to work perfectly (I don't generate code yet). My real aim is to have a process (host) with execute several no-jit
2005 May 25
5
[LLVMdev] LLVM Cygwin Run Errors
Hi, I installed the cfrontend 1.5 and LLVM 1.5 from source in cygwin successfully using GCC3.4.3 and binutils2.15 (as in makefiles do not complain errors except some warnings). However when I do this, there are some errors like, *************************************************************** u0201201 at 9nnvf2ay /home/cfrontend/install/lib $ llvm-ranlib libiberty.a llvm-ranlib: Error opening
2013 Sep 22
2
Problem wit glusterfs-server 3.4
Hi at all! i'm trying to use glusterfs for the first time and have the following problem: I want to have two nodes. On node1 I have a raid1-sytem running in /raid/storage Both nodes see the other and now I try to create a volume. While I create the first volume on a fresh system (node1) for the first time, gluster said: volume create: glustervolume: failed: /raid/storage/ or a prefix of it
2016 Mar 03
2
EH failures in MCJIT
Hi Lang, I am on Ubuntu 14.04. I am building ToT: llvm, clang, polly, lld, compiler-rt, libcxx, libcxxabi. The build compiler is: clang+llvm-3.7.0-x86_64-linux-gnu-ubuntu-14.04 The failures show up during "make check-all". My cmake command was: cmake -G 'Unix Makefiles' -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/w/c/org -DLLVM_TARGETS_TO_BUILD:STRING=all