bugGNU Octave - Bugs: bug #55382, Octave's public API changes...


bug #55382: Octave's public API changes depending on HAVE_LLVM

Submitted by:  Julien Bect <jbect>
Submitted on:  Fri 04 Jan 2019 10:11:36 AM UTC  
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  Confirmed Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  dev Operating System:  Any

Add a New Comment (Rich Markup)

You are not logged in

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


Mon 28 Jan 2019 11:35:46 PM UTC, comment #2: 

Using grep -n HAVE_LLVM on the .h files in libinterp returns the following list.

octave-value/ov-usr-fcn.h:52:#if defined (HAVE_LLVM)
octave-value/ov-usr-fcn.h:391:#if defined (HAVE_LLVM)
octave-value/ov-usr-fcn.h:461:#if defined (HAVE_LLVM)
parse-tree/jit-ir.h:30:#if defined (HAVE_LLVM)
parse-tree/jit-typeinfo.h:30:#if defined (HAVE_LLVM)
parse-tree/jit-util.h:32:#if defined (HAVE_LLVM)
parse-tree/jit-util.h:36:#if defined (HAVE_LLVM_IR_DATALAYOUT_H) || defined (HAVE_LLVM_DATALAYOUT_H)
parse-tree/jit-util.h:37:#  define HAVE_LLVM_DATALAYOUT
parse-tree/pt-jit.h:30:#if defined (HAVE_LLVM)
parse-tree/pt-loop.h:50:#if defined (HAVE_LLVM)
parse-tree/pt-loop.h:61:#if defined (HAVE_LLVM)
parse-tree/pt-loop.h:72:#if defined (HAVE_LLVM)
parse-tree/pt-loop.h:98:#if defined (HAVE_LLVM)
parse-tree/pt-loop.h:121:#if defined (HAVE_LLVM)
parse-tree/pt-loop.h:175:#if defined (HAVE_LLVM)
parse-tree/pt-loop.h:190:#if defined (HAVE_LLVM)
parse-tree/pt-loop.h:222:#if defined (HAVE_LLVM)
parse-tree/pt-loop.h:259:#if defined (HAVE_LLVM)

(file #46117)

Rik <rik5>
Project Administrator
Mon 14 Jan 2019 06:17:57 AM UTC, comment #1: 

A first (small) step has been made here:


by removing some #ifdef's from jit-util.h and jt-jit.h.

Julien Bect <jbect>
Fri 04 Jan 2019 10:11:36 AM UTC, original submission:  

As observed by Mike Miller (https://savannah.gnu.org/patch/?9741#comment1), Octave's public API changes depending on whether HAVE_LLVM is defined or not.

This ticket is meant to track progress on the resolution of this issue.

Julien Bect <jbect>


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

Attach Files:

Attached Files
file #46117:  llvm.list added by rik5 (951B - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by rik5 (Updated the item)
  • -email is unavailable- added by jbect (Submitted the item)

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

    Only project members can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-01-28 rik5 Attached File- => Added llvm.list, #46117
        StatusNone => Confirmed

    Back to the top

    Powered by Savane 3.5