Git Product home page Git Product logo

jllvm's People

Stargazers

 avatar

Watchers

 avatar

jllvm's Issues

include could not find load file: LLVMConfig

When trying to install jllvm-3.1.2 on my ~amd64 linux system, which has 
llvm-3.1-r2 installed, I issue the following command and get an error message:

$ llvm-config --version --components --cppflags --ldflags --libs core
3.1
 all all-targets analysis archive asmparser asmprinter bitreader bitwriter codegen core cppbackend cppbackendcodegen cppbackendinfo debuginfo engine executionengine instcombine instrumentation interpreter ipa ipo jit linker mc mcdisassembler mcjit mcparser native nativecodegen object runtimedyld scalaropts selectiondag support tablegen target transformutils vectorize x86 x86asmparser x86asmprinter x86codegen x86desc x86disassembler x86info x86utils
-I/usr/include  -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS 
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-L/usr/lib64/llvm  -lpthread -lffi -ldl -lm 
-lLLVMCore -lLLVMSupport

$ ant build
Buildfile: /var/tmp/jllvm-3.1.2/build.xml

build:
     [exec] -- The C compiler identification is GNU 4.7.2
     [exec] -- The CXX compiler identification is GNU 4.7.2
     [exec] -- Check for working C compiler: /usr/bin/gcc
     [exec] -- Check for working C compiler: /usr/bin/gcc -- works
     [exec] -- Detecting C compiler ABI info
     [exec] -- Detecting C compiler ABI info - done
     [exec] -- Check for working CXX compiler: /usr/bin/c++
     [exec] -- Check for working CXX compiler: /usr/bin/c++ -- works
     [exec] -- Detecting CXX compiler ABI info
     [exec] -- Detecting CXX compiler ABI info - done
     [exec] CMake Error at CMakeLists.txt:16 (include):
     [exec]   include could not find load file:
     [exec] 
     [exec]     LLVMConfig
     [exec] 
     [exec] 
     [exec] -- Found Java: /opt/oracle-jdk-bin-1.7.0.9/bin/java (found version "1.7.0.09") 
     [exec] -- Found JNI: /opt/oracle-jdk-bin-1.7.0.9/jre/lib/amd64/libjawt.so  
     [exec] -- Configuring incomplete, errors occurred!
     [exec] CMake Error at CMakeLists.txt:29 (llvm_map_components_to_libraries):
     [exec]   Unknown CMake command "llvm_map_components_to_libraries".
     [exec] 
     [exec] 
     [exec] Result: 1
     [exec] make: *** No targets specified and no makefile found.  Stop.
     [exec] Result: 2
    [mkdir] Created dir: /var/tmp/jllvm-3.1.2/build
    [javac] Compiling 197 source files to /var/tmp/jllvm-3.1.2/build
      [jar] Building jar: /var/tmp/jllvm-3.1.2/jllvm.jar

BUILD FAILED
/var/tmp/jllvm-3.1.2/build.xml:10: Warning: Could not find file 
/var/tmp/jllvm-3.1.2/src/org/jllvm/bindings/libjllvm.so to copy.

Total time: 13 seconds

Original issue reported on code.google.com by [email protected] on 19 Nov 2012 at 10:09

Errors building

I checked out LLVM and built according to the instructions on their Getting 
Started pages. This did not require cmake. I ran cmake anyway, but even so, no 
LLVMConfig file was created.

EclipseSSD:jllvm-3.1.2 rmann$ ant build
Buildfile: /Users/rmann/Projects/HomeAutomation/jllvm/jllvm-3.1.2/build.xml

build:
     [exec] CMake Error at CMakeLists.txt:16 (include):
     [exec]   include could not find load file:
     [exec] 
     [exec]     LLVMConfig
     [exec] 
     [exec] 
     [exec] -- Configuring incomplete, errors occurred!
     [exec] CMake Error at CMakeLists.txt:29 (llvm_map_components_to_libraries):
     [exec]   Unknown CMake command "llvm_map_components_to_libraries".
     [exec] 
     [exec] 
     [exec] Result: 1
     [exec] make: *** No targets specified and no makefile found.  Stop.
     [exec] Result: 2
    [javac] Compiling 197 source files to /Users/rmann/Projects/HomeAutomation/jllvm/jllvm-3.1.2/build
      [jar] Building jar: /Users/rmann/Projects/HomeAutomation/jllvm/jllvm-3.1.2/jllvm.jar

BUILD FAILED
/Users/rmann/Projects/HomeAutomation/jllvm/jllvm-3.1.2/build.xml:10: Warning: 
Could not find file 
/Users/rmann/Projects/HomeAutomation/jllvm/jllvm-3.1.2/src/org/jllvm/bindings/li
bjllvm.so to copy.

Original issue reported on code.google.com by [email protected] on 25 Dec 2012 at 7:47

Change of license

The current GPLv3 license requires all projects using these bindings to have a 
compatible license. A weak copy left license would be less restrictive.

Original issue reported on code.google.com by [email protected] on 19 Feb 2013 at 5:37

Incorrect generation of 'ptrotint' instruction

What steps will reproduce the problem?
1. Create new LLVMPtrIntCast instance of 
LLVMPtrIntCast.PtrIntCastType.PTR_TO_INT type
2. Generate it's LLVM IR

What is the expected output? What do you see instead?
Expected:
 %ptr_to_int_cast = ptrtoint %__node* %empty_node to i32
Got:
 %ptr_to_int_cast = ptrtoint %__node* %empty_node to i32
 %ptr_to_int_cast1 = inttoptr %__node* %empty_node to i32

What version of the product are you using? On what operating system?
jllvm 3.2.2, Xubuntu 13.04


Please provide any additional information below.

In constructor of org.jllvm.LLVMPtrIntCast there should be 'break' after first 
case.

Fix file version in attachment.

Original issue reported on code.google.com by [email protected] on 30 Mar 2014 at 7:02

Attachments:

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.