Giter VIP home page Giter VIP logo

llvm-lua's Introduction

README for Lua 5.1

See INSTALL for installation instructions.
See HISTORY for a summary of changes since the last released version.

* What is Lua?
  ------------
  Lua is a powerful, light-weight programming language designed for extending
  applications. Lua is also frequently used as a general-purpose, stand-alone
  language. Lua is free software.

  For complete information, visit Lua's web site at http://www.lua.org/ .
  For an executive summary, see http://www.lua.org/about.html .

  Lua has been used in many different projects around the world.
  For a short list, see http://www.lua.org/uses.html .

* Availability
  ------------
  Lua is freely available for both academic and commercial purposes.
  See COPYRIGHT and http://www.lua.org/license.html for details.
  Lua can be downloaded at http://www.lua.org/download.html .

* Installation
  ------------
  Lua is implemented in pure ANSI C, and compiles unmodified in all known
  platforms that have an ANSI C compiler. In most Unix-like platforms, simply
  do "make" with a suitable target. See INSTALL for detailed instructions.

* Origin
  ------
  Lua is developed at Lua.org, a laboratory of the Department of Computer
  Science of PUC-Rio (the Pontifical Catholic University of Rio de Janeiro
  in Brazil).
  For more information about the authors, see http://www.lua.org/authors.html .

(end of README)

llvm-lua's People

Contributors

devurandom avatar neopallium avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

forked-llvm

llvm-lua's Issues

Make error : make: *** [ llvm-lua_binary ] Error 2

What steps will reproduce the problem?
1. cmake ..
2. make
3. error

What is the expected output? What do you see instead?
LLVM compiles

What version of the product are you using? On what operating system?
LLVM_lua-1.3.1 or LLVM-GIT : Debian Wheezy O.S.

Please provide any additional information below.
I see that all binaries, using cmake-gui, point to LLVM-3.1 version while the 
-L flag states a path to /usr/lib/llvm-3.0/include/llvm/... 

I could not find how to correct this just yet


Original issue reported on code.google.com by [email protected] on 24 Jun 2013 at 2:27

llvm-lua compilation in Ubuntu

I was trying to compile llvm-lua in Ubuntu 10.10 and got these errors:
/home/christophe/Downloads/llvm_lua-1.3.1/llvm-lua/llvm-lua.cpp: In function 
‘void print_version()’:
/home/christophe/Downloads/llvm_lua-1.3.1/llvm-lua/llvm-lua.cpp:68: error: 
‘printf’ was not declared in this scope
make[2]: *** [build/CMakeFiles/llvm-lua_binary.dir/llvm-lua.o] Error 1
make[1]: *** [build/CMakeFiles/llvm-lua_binary.dir/all] Error 2
make: *** [all] Error 2
(...)
home/christophe/Downloads/llvm_lua-1.3.1/llvm-lua/llvm-luac.cpp: In function 
‘void print_version()’:
/home/christophe/Downloads/llvm_lua-1.3.1/llvm-lua/llvm-luac.cpp:95: error: 
‘printf’ was not declared in this scope
make[2]: *** [build/CMakeFiles/llvm-luac.dir/llvm-luac.o] Error 1
make[1]: *** [build/CMakeFiles/llvm-luac.dir/all] Error 2
make: *** [all] Error 2

To fix this I added '#include <stdio.h>' at the beginning of llvm-lua.cpp and 
llvm-luac.cpp.

Is this the proper way to fix this? Should I pass a configuration to cmake to 
avoid these errors?

Kind regards,

Christophe

Original issue reported on code.google.com by [email protected] on 16 Dec 2010 at 3:54

lua-compiler for standalone executables do not work

helloworld.lua:
print("Hello World")

I'm trying to compile this script as a standalone application using 
lua-compiler and I get this error:

christophe@christophe-laptop:~/lua_tests$ lua-compiler helloworld.lua 
/usr/local/bin/llvm-luac -O3 -s -bc -o helloworld.bc helloworld.lua
Failed to parse embedded 'liblua_main_bc' file: Invalid bitcode signature
llvm-luac: failed to compile Lua code into LLVM bitcode.

Any idea of what might be happening?

My system info is:
christophe@christophe-laptop:~/lua_tests$ uname -a
Linux christophe-laptop 2.6.35-23-generic #41-Ubuntu SMP Wed Nov 24 10:18:49 
UTC 2010 i686 GNU/Linux

Original issue reported on code.google.com by [email protected] on 16 Dec 2010 at 4:38

make fails

What steps will reproduce the problem?
1. mkdir build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release &&  make 

Here's the complete log of my actions:

mkdir build
Valerios-iMac% cd build 
Valerios-iMac% less ../README.llvm-lua 
Valerios-iMac% ls
Valerios-iMac% pwd
/Users/veleno/Downloads/llvm_lua-1.3.1/build
Valerios-iMac% cmake .. -DCMAKE_BUILD_TYPE=Release 
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
llvm jit libs: -lLLVMipo -lLLVMBitWriter -lLLVMLinker -lLLVMArchive 
-lLLVMBitReader -lLLVMX86Disassembler -lLLVMX86AsmParser -lLLVMX86CodeGen 
-lLLVMSelectionDAG -lLLVMAsmPrinter -lLLVMMCParser -lLLVMX86AsmPrinter 
-lLLVMX86Info -lLLVMJIT -lLLVMExecutionEngine -lLLVMCodeGen -lLLVMScalarOpts 
-lLLVMInstCombine -lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis -lLLVMTarget 
-lLLVMMC -lLLVMCore -lLLVMSupport -lLLVMSystem
llvm all libs: -lLLVMpic16passes -lLLVMMCDisassembler -lLLVMXCoreCodeGen 
-lLLVMXCoreAsmPrinter -lLLVMXCoreInfo -lLLVMSystemZCodeGen 
-lLLVMSystemZAsmPrinter -lLLVMSystemZInfo -lLLVMSparcCodeGen 
-lLLVMSparcAsmPrinter -lLLVMSparcInfo -lLLVMPowerPCCodeGen 
-lLLVMPowerPCAsmPrinter -lLLVMPowerPCInfo -lLLVMPIC16AsmPrinter 
-lLLVMPIC16CodeGen -lLLVMPIC16Info -lLLVMMipsAsmPrinter -lLLVMMipsCodeGen 
-lLLVMMipsInfo -lLLVMMSP430CodeGen -lLLVMMSP430AsmPrinter -lLLVMMSP430Info 
-lLLVMMBlazeAsmPrinter -lLLVMMBlazeCodeGen -lLLVMMBlazeInfo -lLLVMLinker 
-lLLVMipo -lLLVMInterpreter -lLLVMInstrumentation -lLLVMJIT 
-lLLVMExecutionEngine -lLLVMCppBackend -lLLVMCppBackendInfo 
-lLLVMCellSPUCodeGen -lLLVMCellSPUAsmPrinter -lLLVMCellSPUInfo -lLLVMCBackend 
-lLLVMCBackendInfo -lLLVMBlackfinCodeGen -lLLVMBlackfinAsmPrinter 
-lLLVMBlackfinInfo -lLLVMBitWriter -lLLVMX86Disassembler -lLLVMX86AsmParser 
-lLLVMX86CodeGen -lLLVMX86AsmPrinter -lLLVMX86Info -lLLVMAsmParser 
-lLLVMARMDisassembler -lLLVMARMAsmParser -lLLVMARMCodeGen -lLLVMARMAsmPrinter 
-lLLVMARMInfo -lLLVMArchive -lLLVMBitReader -lLLVMAlphaCodeGen 
-lLLVMSelectionDAG -lLLVMAlphaAsmPrinter -lLLVMAsmPrinter -lLLVMMCParser 
-lLLVMCodeGen -lLLVMScalarOpts -lLLVMInstCombine -lLLVMTransformUtils -lLLVMipa 
-lLLVMAnalysis -lLLVMTarget -lLLVMMC -lLLVMCore -lLLVMAlphaInfo -lLLVMSupport 
-lLLVMSystem
-- Found Curses: /usr/lib/libcurses.dylib 
-- Configuring done
-- Generating done
-- Build files have been written to: 
/Users/veleno/Downloads/llvm_lua-1.3.1/build
Valerios-iMac% make
Scanning dependencies of target bin2c
[  2%] Building C object build/CMakeFiles/bin2c.dir/bin2c.o
Linking C executable bin2c
[  2%] Built target bin2c
[  4%] Generating lua_vm_ops.bc
[  6%] Generating lua_vm_ops_bc.h
Scanning dependencies of target llvm-lua_dynamic
[  8%] Building C object build/CMakeFiles/llvm-lua_dynamic.dir/lua_interpreter.o
[ 10%] Building CXX object build/CMakeFiles/llvm-lua_dynamic.dir/LLVMCompiler.o
[ 12%] Building CXX object build/CMakeFiles/llvm-lua_dynamic.dir/llvm_compiler.o
[ 14%] Building CXX object 
build/CMakeFiles/llvm-lua_dynamic.dir/load_embedded_bc.o
[ 16%] Building CXX object build/CMakeFiles/llvm-lua_dynamic.dir/load_vm_ops.o
[ 18%] Building C object build/CMakeFiles/llvm-lua_dynamic.dir/lua_core.o
[ 20%] Building C object 
build/CMakeFiles/llvm-lua_dynamic.dir/lua_vm_ops_static.o
[ 22%] Building C object build/CMakeFiles/llvm-lua_dynamic.dir/load_jit_proto.o
Linking CXX shared library llvm-lua.framework/Versions/1.3/llvm-lua
Command line tools
Static lib
[ 22%] Built target llvm-lua_dynamic
Scanning dependencies of target llvm-lua_binary
[ 25%] Building CXX object build/CMakeFiles/llvm-lua_binary.dir/llvm-lua.o
[ 27%] Building C object build/CMakeFiles/llvm-lua_binary.dir/lua_interpreter.o
Linking CXX executable llvm-lua
Command line tools
Error copying file "/Users/veleno/Downloads/llvm_lua-1.3.1/build/llvm-lua" to 
"/Users/veleno/Downloads/llvm_lua-1.3.1/build/llvm-lua.framework/Versions/1.3/Ma
cOS/llvm-lua".
make[2]: *** [build/llvm-lua] Error 1
make[1]: *** [build/CMakeFiles/llvm-lua_binary.dir/all] Error 2
make: *** [all] Error 2


What version of the product are you using? On what operating system?
llvm-lua 1.3.1
llvm 2.8

Mac OSX 10.6.7 


Original issue reported on code.google.com by [email protected] on 11 May 2011 at 2:47

Mac OS X Framework compilation fails on Leopard

What steps will reproduce the problem?
1. open a console
2. get the latest SVN sources (with the cmake fix)
3. enter the directory
4. type 'cmake .'
5. type 'make'

What is the expected output? What do you see instead?
The compilation of the Framework fails at link time, complaining about
undefined symbols (see attached file for details). 


What version of the product are you using? On what operating system?
Latest SVN sources (revision 112) on Mac OS X Leopard.

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 16 Nov 2009 at 12:18

Attachments:

LLVM 3.1 support

llvm-lua-1.3.1 does not compile with llvm-3.1 - it would be nice if that could 
be supported.

(Only one version of llvm can be installed at the same time on Gentoo. Mesa 8.0 
requires llvm-3.1 or newer, so that version is used.)

Original issue reported on code.google.com by [email protected] on 31 May 2012 at 6:28

The built llvm-lua.exe on Windows is broken.

What steps will reproduce the problem?
  1. Fresh clean build of llvm from source
  2. Fresh clean build of clang-3.1 from source
  3. Build llvm-lua from trunk using above dependencies
  4. Run the produced "llvm-lua.exe -O0"

What is the expected output? What do you see instead?

  Running "llvm-lua.exe -O0" produces the following:

    $ llvm-lua -O0
    Lua 5.1.4  Copyright (C) 1994-2008 Lua.org, PUC-Rio
    > f = 1
    LLVM ERROR: Program used external function 'luaV_settable' which could not be re
    solved!
    Stack dump:
    0.      Running pass 'X86 Machine Code Emitter' on function '@vm_OP_SETGLOBAL'


What version of the product are you using? On what operating system?

  Built llvm-lua from latest trunk with CMake under Windows 7 64-bit using Mingw gcc 4.6.3 + MSYS, clang-3.1 as bitcode emitter.

Please provide any additional information below.

It seems like there is something wrong with how llvm-lua's build is setup. 
There are various problems when it tries to piece itself together during build. 
For example, if you try to build it with just lua-dynamic then the linking step 
fails with unresolved symbols to lua functions that should be private to lua's 
internal implementation.

The above error is coming from a llvm-lua.exe linked with lua-static. Again, we 
see here that it cannot resolve yet another internal lua function 
`luaV_settable`.

Furthermore, running the interpreter without the `-O0` switch would outright 
crash when it attempts to evaluate any lua statements:

    $ llvm-lua
    Lua 5.1.4  Copyright (C) 1994-2008 Lua.org, PUC-Rio
    > print 'test'
    pseudo instructions should be removed before code emission
    UNREACHABLE executed at g:/OSS/llvm.src3.1/lib/Target/X86/X86CodeEmitter.cpp:736!

    This application has requested the Runtime to terminate it in an unusual way.
    Please contact the application's support team for more information.

I'm not sure why this is happening but there seems to be a common theme that 
surrounds all these errors. Namely, all those problems seem to point back to 
x86 machine code emitter in llvm.

I am unfamiliar the llvm framework so I can't really diagnose this problem 
further. If there's any other piece of info you need me to provide please let 
me know.

Original issue reported on code.google.com by [email protected] on 20 Sep 2013 at 8:56

How can I compile lua-llvm for iPhone development

I know there is a Wiki entry how to cross-compile lua-llvm for arm target. 
But I'm struggling with several parameters for CMAKE to compile it correctly. 

CROSS_CPU=arm1136j-s  <- is this correct for iPhone?
CROSS_ISYSTEM=/path/to/arm-target/system/includes <- any advice to a concret 
path on MAC 
OS X (10.5) ?
CROSS_TRIPLE=arm-linux

What version of the product are you using? On what operating system?

Using lua-llvm 1.1.0 release, on MAC OS X 10.5.8

I would appreciate any advice.

Volker


Original issue reported on code.google.com by [email protected] on 5 Jan 2010 at 12:55

llvm lua 1.1.0 pre2 compile problems on Mac OS X Leopard

What steps will reproduce the problem?
1. Install cmake-2.8.0-Darwin-universal.dmg
2. Install llvm-2.6-i386-darwin9.tar.gz
3. Open a console
4. Uncompress llvm_lua-1.1.0_pre2.tar.gz
5. Enter the llvm_lua-1.1.0_pre2 directory
6. Type "cmake ."

What is the expected output? What do you see instead?

cmake .
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found Curses: /usr/lib/libcurses.dylib
CMake Error at llvm-lua/CMakeLists.txt:268 (install):
  install TARGETS given target "llvm-lua" which does not exist in this
  directory.


CMake Warning (dev) at CMakeLists.txt:292 (add_subdirectory):
  The source directory

    /Users/NiCoX/Desktop/LUA_LLVM/llvm-lua-read-only/test

  does not contain a CMakeLists.txt file.

  CMake does not support this case but it used to work accidentally and is
  being allowed for compatibility.

  Policy CMP0014 is not set: Input directories must have CMakeLists.txt.  Run
  "cmake --help-policy CMP0014" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!


What version of the product are you using? On what operating system?
llvm lua 1.1.0 pre2 on Mac OS X Leopard

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 15 Nov 2009 at 1:58

Performance Benchmarks

Publish LLV Lua Performance Benchmarks. E.g. see LuaJIT performance
benchmarks: http://luajit.org/performance.html

Original issue reported on code.google.com by [email protected] on 28 Apr 2010 at 5:38

Use llvm::raw_fd_ostream instead of std::ofstream

Compilation llvm-lua with llvm-svn HEAD results in an error because
WriteBitcodeFile no longer takes std::ofstream as a parameter.

The attached patch fixes this problem - could you check whether its valid.
It should be backwards compatible with LLVM 2.6 as well because the
std:ofstream parameter was deprecated (I believe).

Original issue reported on code.google.com by [email protected] on 13 Dec 2009 at 3:45

Attachments:

/usr/bin/ld: cannot find -lffi (64bit linux)

I do have llvm and clang, and it's satisfied when running cmake - but the 
make itself fails:

vadi@vadi-laptop:~/Programs/llvm_lua-1.2.0$ cd build
vadi@vadi-laptop:~/Programs/llvm_lua-1.2.0/build$ cmake .. -
DCMAKE_BUILD_TYPE=Release
llvm jit libs: -lLLVMipo -lLLVMBitWriter -lLLVMLinker -lLLVMArchive -
lLLVMBitReader -lLLVMX86Disassembler -lLLVMX86AsmParser -lLLVMMCParser -
lLLVMX86AsmPrinter -lLLVMX86CodeGen -lLLVMSelectionDAG -lLLVMAsmPrinter -
lLLVMX86Info -lLLVMJIT -lLLVMExecutionEngine -lLLVMCodeGen -lLLVMScalarOpts 
-lLLVMInstCombine -lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis -
lLLVMTarget -lLLVMMC -lLLVMCore -lLLVMSupport -lLLVMSystem -
L/usr/lib/llvm/lib
llvm all libs: -lLLVMXCoreCodeGen -lLLVMXCoreAsmPrinter -lLLVMXCoreInfo -
lLLVMSystemZCodeGen -lLLVMSystemZAsmPrinter -lLLVMSystemZInfo -
lLLVMSparcCodeGen -lLLVMSparcAsmPrinter -lLLVMSparcInfo -
lLLVMPowerPCCodeGen -lLLVMPowerPCAsmPrinter -lLLVMPowerPCInfo -
lLLVMpic16passes -lLLVMPIC16AsmPrinter -lLLVMPIC16CodeGen -lLLVMPIC16Info -
lLLVMMSP430CodeGen -lLLVMMSP430AsmPrinter -lLLVMMSP430Info -lLLVMMSIL -
lLLVMMSILInfo -lLLVMMipsAsmPrinter -lLLVMMipsCodeGen -lLLVMMipsInfo -
lLLVMMBlazeAsmPrinter -lLLVMMBlazeCodeGen -lLLVMMBlazeInfo -lLLVMLinker -
lLLVMipo -lLLVMInterpreter -lLLVMInstrumentation -lLLVMJIT -
lLLVMExecutionEngine -lLLVMCppBackend -lLLVMCppBackendInfo -
lLLVMCellSPUCodeGen -lLLVMCellSPUAsmPrinter -lLLVMCellSPUInfo -
lLLVMCBackend -lLLVMCBackendInfo -lLLVMBlackfinCodeGen -
lLLVMBlackfinAsmPrinter -lLLVMBlackfinInfo -lLLVMBitWriter -
lLLVMX86Disassembler -lLLVMX86AsmParser -lLLVMX86AsmPrinter -
lLLVMX86CodeGen -lLLVMX86Info -lLLVMAsmParser -lLLVMARMAsmParser -
lLLVMMCParser -lLLVMARMAsmPrinter -lLLVMARMCodeGen -lLLVMARMInfo -
lLLVMArchive -lLLVMBitReader -lLLVMAlphaCodeGen -lLLVMSelectionDAG -
lLLVMAlphaAsmPrinter -lLLVMAsmPrinter -lLLVMCodeGen -lLLVMScalarOpts -
lLLVMInstCombine -lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis -lLLVMTarget 
-lLLVMMC -lLLVMCore -lLLVMAlphaInfo -lLLVMSupport -lLLVMSystem -
L/usr/lib/llvm/lib
-- Configuring done
-- Generating done
-- Build files have been written to: /home/vadi/Programs/llvm_lua-1.2.0
vadi@vadi-laptop:~/Programs/llvm_lua-1.2.0/build$ make
[  2%] Building C object build/CMakeFiles/bin2c.dir/bin2c.o
Linking C executable bin2c
[  2%] Built target bin2c
[  4%] Generating lua_vm_ops_bc.h
Scanning dependencies of target llvm-lua_dynamic
[  6%] Building C object build/CMakeFiles/llvm-
lua_dynamic.dir/lua_interpreter.o
[  8%] Building CXX object build/CMakeFiles/llvm-
lua_dynamic.dir/LLVMCompiler.o
[ 10%] Building CXX object build/CMakeFiles/llvm-
lua_dynamic.dir/llvm_compiler.o
[ 12%] Building CXX object build/CMakeFiles/llvm-
lua_dynamic.dir/load_embedded_bc.o
[ 14%] Building CXX object build/CMakeFiles/llvm-
lua_dynamic.dir/load_vm_ops.o
[ 16%] Building C object build/CMakeFiles/llvm-lua_dynamic.dir/lua_core.o
[ 18%] Building C object build/CMakeFiles/llvm-
lua_dynamic.dir/lua_vm_ops_static.o
[ 20%] Building C object build/CMakeFiles/llvm-
lua_dynamic.dir/load_jit_proto.o
Linking CXX shared library libllvm-lua.so
[ 22%] Built target llvm-lua_dynamic
[ 25%] Building CXX object build/CMakeFiles/llvm-lua_binary.dir/llvm-lua.o
[ 27%] Building C object build/CMakeFiles/llvm-
lua_binary.dir/lua_interpreter.o
Linking CXX executable llvm-lua
/usr/bin/ld: cannot find -lffi
collect2: ld returned 1 exit status
make[2]: *** [build/llvm-lua] Error 1
make[1]: *** [build/CMakeFiles/llvm-lua_binary.dir/all] Error 2
make: *** [all] Error 2
vadi@vadi-laptop:~/Programs/llvm_lua-1.2.0/build$ 

Original issue reported on code.google.com by [email protected] on 27 May 2010 at 12:58

llvm-lua 1.3.0 fails to compile to native machine code

What steps will reproduce the problem?
1. lua-compiler hello.lua

What is the expected output? What do you see instead?

$ lua-compiler hello.lua 
/usr/bin/lua-compiler: line 5: realpath: command not found
dirname: missing operand
Try `dirname --help' for more information.
/usr/bin/llvm-luac -O3 -s -bc -o hello.bc hello.lua
Two passes with the same argument (-preverify) attempted to be registered!
UNREACHABLE executed!
/usr/bin/lua-compiler: line 40: 28376 Aborted                 $CMD "$@"
llvm-luac: failed to compile Lua code into LLVM bitcode.

What version of the product are you using? On what operating system?

LLVM-lua 1.3.0, LLVM 2.8, Slackware 13.1



Original issue reported on code.google.com by [email protected] on 26 Oct 2010 at 12:21

can't compile with g++

On Ubuntu 9.04, with gcc/g++ 4.3.3, 
the compilation fails with the following message :

$ make linux
cd llvm-lua && make linux
make[1]: Entering directory `/home/user/checkout/llvm-lua-0.5/llvm-lua'
make all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-rdynamic -Wl,-E -ldl "
make[2]: Entering directory `/home/user/checkout/llvm-lua-0.5/llvm-lua'
g++ -c -I../src -O3 -fomit-frame-pointer -pipe -Wall -DLUA_NODEBUG
-DUSE_BITCODE_FILE -DLUA_USE_LINUX  `llvm-config --cppflags` -o
load_vm_ops.o load_vm_ops.cpp
load_vm_ops.cpp: In function ‘llvm::ModuleProvider* load_vm_ops(bool)’:
load_vm_ops.cpp:74: error: ‘exit’ was not declared in this scope
load_vm_ops.cpp:84: error: ‘exit’ was not declared in this scope
load_vm_ops.cpp:91: error: ‘exit’ was not declared in this scope
make[2]: *** [load_vm_ops.o] Error 1


Original issue reported on code.google.com by [email protected] on 15 May 2009 at 5:28

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.