bugGNU Octave - Bugs: bug #39973, compilation failure with LLVM 3.3...

 
 

bug #39973: compilation failure with LLVM 3.3 and 3.4

Submitter:  Mike Miller <mtmiller>
Submitted:  Sat 07 Sep 2013 12:26:12 AM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 09 Oct 2013 05:43:34 AM UTC, comment #2: 

Not sure why this worked for you with LLVM 3.3, but I pushed the following change to fix this on my system:

http://hg.savannah.gnu.org/hgweb/octave/rev/3a7d5d655749

The configure test for the llvm::Function::addFnAttr function was giving me the wrong result leading to this build failure.

Mike Miller <mtmiller>
Group Member
Sat 07 Sep 2013 05:37:35 AM UTC, comment #1: 

The Fedora levels that work correctly with the patch are:

llvm-3.3-0.6.rc3.fc19.x86_64
llvm-libs-3.3-0.6.rc3.fc19.x86_64

Debian is, obviously, different.

Michael Godfrey <godfrey>
Group Member
Sat 07 Sep 2013 12:26:12 AM UTC, original submission:  

Following the recent LLVM fixes to support 3.2 and to support dynamic libraries, I tried to compile against LLVM 3.3 and 3.4 and failed in both cases. The changeset that claims to add support for LLVM 3.3 does not in my case.

Debian package versions:

  • llvm-3.3-dev 1:3.3-4
  • llvm-3.4-dev 1:3.4~svn183914-1


The error is the same in both cases:


../../libinterp/corefcn/jit-typeinfo.cc: In constructor 'jit_function::jit_function(llvm::Module*, jit_convention::type, const llvm::Twine&, jit_type*, const std::vector<jit_type*>&)':
../../libinterp/corefcn/jit-typeinfo.cc:612:37: error: 'llvm::Attributes' has not been declared


Mike Miller <mtmiller>
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 godfrey (Posted a comment)
  • -email is unavailable- added by mtmiller (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
    2013-10-09 mtmiller StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code