octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #41061] LLVM problem


From: Albert
Subject: [Octave-bug-tracker] [bug #41061] LLVM problem
Date: Wed, 01 Jan 2014 22:28:04 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0

URL:
  <http://savannah.gnu.org/bugs/?41061>

                 Summary: LLVM problem
                 Project: GNU Octave
            Submitted by: aaahaaah
            Submitted on: Wed 01 Jan 2014 10:28:03 PM GMT
                Category: Configuration and Build System
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Build Failure
                  Status: None
             Assigned to: None
         Originator Name: Albert
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.0
        Operating System: GNU/Linux

    _______________________________________________________

Details:

This is the first time I cannot build Octave on RedHat/Fedora system. The
problem resides in LLVM/JIT related files.
RedHat 6.4, 64 bit
The very fresh LLVM/CLang distribution (3.5) compiled from the source (the
version compiled few months ago had the same failure).
./configure --prefix=/home/albert/soft/octave
make
...
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../liboctave/cruft/misc
-I../liboctave/array -I../liboctave/numeric -I../liboctave/numeric
-I../liboctave/operators -I../liboctave/operators -I../liboctave/system
-I../liboctave/util -I./octave-value -I./operators -Iparse-tree -I./parse-tree
-Icorefcn -I./corefcn -I../libgnu -I../libgnu -I/usr/include/freetype2
-isystem /usr/local/include -Wall -W -Wshadow -Wold-style-cast -Wformat
-Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -pthread -MT
corefcn/corefcn_libcorefcn_la-pt-jit.lo -MD -MP -MF
corefcn/.deps/corefcn_libcorefcn_la-pt-jit.Tpo -c corefcn/pt-jit.cc  -fPIC
-DPIC -o corefcn/.libs/corefcn_libcorefcn_la-pt-jit.o
In file included from corefcn/pt-jit.cc:55:
/usr/local/include/llvm/PassManager.h:34: error: 'PassManager' is already
declared in this scope
/usr/local/include/llvm/PassManager.h:35: error: 'FunctionPassManager' is
already declared in this scope
corefcn/pt-jit.cc: In member function 'bool tree_jit::initialize()':
corefcn/pt-jit.cc:1891: error: cannot convert 'llvm::legacy::PassManager*' to
'llvm::PassManager*' in assignment
corefcn/pt-jit.cc:1892: error: invalid use of incomplete type 'struct
llvm::PassManager'
corefcn/jit-util.h:46: error: forward declaration of 'struct
llvm::PassManager'
corefcn/pt-jit.cc:1894: error: cannot convert
'llvm::legacy::FunctionPassManager*' to 'llvm::FunctionPassManager*' in
assignment
corefcn/pt-jit.cc:1896: error: invalid use of incomplete type 'struct
llvm::FunctionPassManager'
corefcn/jit-util.h:45: error: forward declaration of 'struct
llvm::FunctionPassManager'
corefcn/pt-jit.cc:1900: error: invalid use of incomplete type 'struct
llvm::FunctionPassManager'
corefcn/jit-util.h:45: error: forward declaration of 'struct
llvm::FunctionPassManager'
corefcn/pt-jit.cc:1901: error: invalid use of incomplete type 'struct
llvm::FunctionPassManager'
corefcn/jit-util.h:45: error: forward declaration of 'struct
llvm::FunctionPassManager'
corefcn/pt-jit.cc:1902: error: invalid use of incomplete type 'struct
llvm::FunctionPassManager'
corefcn/jit-util.h:45: error: forward declaration of 'struct
llvm::FunctionPassManager'
corefcn/pt-jit.cc:1903: error: invalid use of incomplete type 'struct
llvm::FunctionPassManager'
corefcn/jit-util.h:45: error: forward declaration of 'struct
llvm::FunctionPassManager'
corefcn/pt-jit.cc:1904: error: invalid use of incomplete type 'struct
llvm::FunctionPassManager'
corefcn/jit-util.h:45: error: forward declaration of 'struct
llvm::FunctionPassManager'
corefcn/pt-jit.cc:1905: error: invalid use of incomplete type 'struct
llvm::FunctionPassManager'
corefcn/jit-util.h:45: error: forward declaration of 'struct
llvm::FunctionPassManager'
corefcn/pt-jit.cc:1906: error: invalid use of incomplete type 'struct
llvm::FunctionPassManager'
corefcn/jit-util.h:45: error: forward declaration of 'struct
llvm::FunctionPassManager'
corefcn/pt-jit.cc:1907: error: invalid use of incomplete type 'struct
llvm::FunctionPassManager'
corefcn/jit-util.h:45: error: forward declaration of 'struct
llvm::FunctionPassManager'
corefcn/pt-jit.cc: In member function 'void
tree_jit::optimize(llvm::Function*)':
corefcn/pt-jit.cc:2003: error: invalid use of incomplete type 'struct
llvm::PassManager'
corefcn/jit-util.h:46: error: forward declaration of 'struct
llvm::PassManager'
corefcn/pt-jit.cc:2004: error: invalid use of incomplete type 'struct
llvm::FunctionPassManager'
corefcn/jit-util.h:45: error: forward declaration of 'struct
llvm::FunctionPassManager'
corefcn/pt-jit.cc:2010: error: 'F_Binary' is not a member of
'llvm::raw_fd_ostream'
make[3]: *** [corefcn/corefcn_libcorefcn_la-pt-jit.lo] Error 1
make[3]: Leaving directory `/home/albert/Downloads/octave-3.8.0/libinterp'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/albert/Downloads/octave-3.8.0/libinterp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/albert/Downloads/octave-3.8.0'
make: *** [all] Error 2




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 01 Jan 2014 10:28:03 PM GMT  Name: config.output.txt  Size: 68kB  
By: aaahaaah
Output of configuration script
<http://savannah.gnu.org/bugs/download.php?file_id=30144>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?41061>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]