bugGNU Octave - Bugs: bug #46191, Build error with jit-util

 
 

bug #46191: Build error with jit-util

Submitted by:  None
Submitted on:  Mon 12 Oct 2015 10:15:10 PM UTC  
 
Category: Configuration and Build SystemSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build Failure
Status: FixedAssigned to: None
Originator Name: Originator Email: -unavailable-
Open/Closed: ClosedRelease: dev
Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Tue 13 Oct 2015 11:45:03 AM UTC, comment #6:

John: This seems reasonable, but I do no know how
different the gcc and llvm implementations are.
For Fedora systems, the gccjit libraries are
available as: libgccjit and libgccjit-devel
(current version 5.1.1-4). But this is also
described as "alpha" code.

Of course, what is also needed is someone to spend
some time on more details.

Michael Godfrey <godfrey>
Project Member
Tue 13 Oct 2015 11:19:03 AM UTC, comment #5:

Maybe we should add the gcjit code to Octave? That would help to avoid future merge problems.

John W. Eaton <jwe>
Project Administrator
Tue 13 Oct 2015 11:05:15 AM UTC, comment #4:

There's already a gccjit implementation: http://savannah.gnu.org/patch/?8395

Sometimes I rebase the patch to latest commit: http://hg.octave.org/octave-nkf (bookmark gccjit)

I did not try to compile within the last months and there was a runtime failure during JIT compilation last time I tried.

Anonymous
Tue 13 Oct 2015 09:13:13 AM UTC, comment #3:

I thought that it did some good when last it was
functional on Fedora systems, but that was long
ago. It does not compile using the current (3.5) llvm.
So, it does not really make sense to try it until
someone decides to do substantial work on it, or
implement an alternative, such as libgccjit:
https://gcc.gnu.org/wiki/JIT

An advantage of libgccjit is that it is a part
of gcc and therefore may get better support?

Michael Godfrey <godfrey>
Project Member
Tue 13 Oct 2015 02:15:16 AM UTC, comment #2:

But you should also be aware that the JIT compiler doesn't really do anything useful, so unless you are working on it to improve it, you might as well just disable it, which is I think the default configure option anyway.

John W. Eaton <jwe>
Project Administrator
Mon 12 Oct 2015 11:09:33 PM UTC, comment #1:

See this cset from 10 days ago (http://hg.savannah.gnu.org/hgweb/octave/rev/dd6345fd8a97). It removed support for the 0-argument form of gripe_invalid_index.

I pushed a quick fix here http://hg.savannah.gnu.org/hgweb/octave/rev/d35201e5ce5d. You should be able to just do another 'hg pull; hg update' and then re-compile.

Rik <rik5>
Project Administrator
Mon 12 Oct 2015 10:15:10 PM UTC, original submission:

Hi all.

Thank you very much for Octave. I am installing Octave for the first time on a compute server running Ubuntu 64-bit. Mercurial id is:

The build errors out with the following message. It looks like the JIT compilation fails. The LLVM version on the machine is 3.4.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by godfrey (Posted a comment)
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by rik5 (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 12 Oct 2015 11:09:33 PM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1