bugGNU Octave - Bugs: bug #52414, llvm 4.0.1 fails on ./configure...


bug #52414: llvm 4.0.1 fails on ./configure --enable-jit

Submitted by:  Michael Godfrey <godfrey>
Submitted on:  Wed 15 Nov 2017 05:18:54 PM UTC  
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  None Assigned to:  None
Originator Name:  Godfrey Open/Closed:  Open
Release:  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.


Wed 15 Nov 2017 11:44:46 PM UTC, comment #1:

I looked at: https://llvm.org/devmtg/2017-10/

They are on a six month major release schedule:

5.0.0: Sep 2017
4.0.1: Jul 2017
4.0.0: Mar 2017
3.9.1: Dec 2016
3.9.0: Sep 2016

And, they seem to make major compatibility changes
in each release as they did before. Is there some way
that we can keep this under control? I did not find
any obvious advice on their web page.

Fedora seems to just accept their "current" release with
some months delay.

Michael Godfrey <godfrey>
Project Member
Wed 15 Nov 2017 05:18:54 PM UTC, original submission:

In Fedora 26 and 27 the current llvm is: llvm-4.0.1
and with JWT's latest push (HG ID f74678605da9)
./configure --enable-jit gives:

configure: using -isystem for LLVM headers
checking for LLVMBuildAdd in -lLLVM-4.0.1... yes
checking llvm/Support/TargetSelect.h usability... yes
checking llvm/Support/TargetSelect.h presence... yes
checking for llvm/Support/TargetSelect.h... yes
checking llvm/IR/Function.h usability... no
checking llvm/IR/Function.h presence... no
checking for llvm/IR/Function.h... no
checking llvm/Function.h usability... no
checking llvm/Function.h presence... no
checking for llvm/Function.h... no
checking llvm/Support/IRBuilder.h usability... no
checking llvm/Support/IRBuilder.h presence... no
checking for llvm/Support/IRBuilder.h... no
checking llvm/IR/IRBuilder.h usability... no
checking llvm/IR/IRBuilder.h presence... no
checking for llvm/IR/IRBuilder.h... no
checking llvm/IRBuilder.h usability... no
checking llvm/IRBuilder.h presence... no
checking for llvm/IRBuilder.h... no
checking llvm/Target/TargetData.h usability... no
checking llvm/Target/TargetData.h presence... no
checking for llvm/Target/TargetData.h... no
checking llvm/IR/DataLayout.h usability... no
checking llvm/IR/DataLayout.h presence... no
checking for llvm/IR/DataLayout.h... no
checking llvm/DataLayout.h usability... no
checking llvm/DataLayout.h presence... no
checking for llvm/DataLayout.h... no
checking llvm/IR/Verifier.h usability... no
checking llvm/IR/Verifier.h presence... no
checking for llvm/IR/Verifier.h... no
checking check llvm::Function::addAttribute arg type is llvm::Attributes... no
checking check LLVM::Function::addFnAttr arg type is llvm::Attributes... no
checking check LLVM::CallInst::addAttribute arg type is llvm::Attributes... no
checking check LLVM::raw_fd_ostream arg type is llvm::sys:fs... no
checking check for LLVM::legacy::PassManager... no
configure: WARNING: Missing LLVM file TargetData.h. JIT compiler is disabled.

It appears that the llvm folks are still making version
incompatible changes...

Michael Godfrey <godfrey>
Project Member


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

Attach Files:

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 doronbehar
  • -email is unavailable- added by godfrey (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.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-11-06 doronbehar Carbon-Copy- => Added -email is unavailable-

    Back to the top

    Powered by Savane 3.3