bugGNU Octave - Bugs: bug #37050, JIT build fails

 
 

bug #37050: JIT build fails

Submitter:  Michael Godfrey <godfrey>
Submitted:  Tue 07 Aug 2012 06:05:57 PM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Fixed Assigned to:  None
Originator Name:  godfrey Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 25 Aug 2012 06:44:45 PM UTC, comment #2: 

I added a check for llvm/Support/TargetSelect.h which does not exist in llvm-2.9 (e5a86de6023c).

Max Brister <fisheater>
Sat 11 Aug 2012 12:44:36 AM UTC, comment #1: 

The failing compile on Fedora 16 is due to
llvm-2.9-10.fc16.x86_64

Compiling on fc17 using
llvm-3.0-13.fc17.x86_64
works correctly.

This indicates that attention needs to be
given to which levels of llvm are supported.
The test for llvm should fail if the version
of llvm which is found is not capable of
generating a working jit system.

Michael Godfrey <godfrey>
Group Member
Tue 07 Aug 2012 06:05:57 PM UTC, original submission:  

Fails at:

interp-core/jit-typeinfo.cc: In member function 'void jit_typeinfo::create_int(size_t)':
interp-core/jit-typeinfo.cc:2065:75: error: invalid conversion from 'const llvm::Type*' to 'llvm::Type*' [-fpermissive]
interp-core/jit-typeinfo.cc:1802:1: error:   initializing argument 3 of 'jit_type* jit_typeinfo::new_type(const string&, jit_type*, llvm::Type*)' [-fpermissive]
make[3]: * [interp-core/jit-typeinfo.lo] Error 1
make[3]: Leaving directory `/home/godfrey/octave/hg/octave/src'
make[2]: * [all] Error 2
make[2]: Leaving directory `/home/godfrey/octave/hg/octave/src'
make[1]: * [all-recursive] Error 1
make[1]: Leaving directory `/home/godfrey/octave/hg/octave'
make: * [all] Error 2
=================================

System is Fedora 16 x86_64
Build without JIT completes OK.

Michael Godfrey <godfrey>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by fisheater (Posted a comment)
  • -email is unavailable- added by godfrey (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-08-25 fisheater StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code