Package: octave
Version: 3.8.0-4
Severity: important
Forwarded: https://savannah.gnu.org/bugs/?41061
octave fails to build with llvm 3.4 default, this is currently the case
in ubuntu. Full log is attached.
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 -D_FORTIFY_SOURCE=2 -Wall -W -Wshadow -Wold-style-cast
-Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -g -O2
-fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security -pthread -fopenmp -c operators/op-b-sbm.cc
-fPIC -DPIC -o operators/.libs/liboctinterp_la-op-b-sbm.o
In file included from corefcn/pt-jit.cc:55:0:
/usr/include/llvm-3.4/llvm/PassManager.h:34:15: error: 'PassManager' is
already declared in this scope
using legacy::PassManager;
^
/usr/include/llvm-3.4/llvm/PassManager.h:35:15: error:
'FunctionPassManager' is already declared in this scope
using legacy::FunctionPassManager;
^
corefcn/pt-jit.cc: In member function 'bool tree_jit::initialize()':
corefcn/pt-jit.cc:1891:23: error: cannot convert
'llvm::legacy::PassManager*' to 'llvm::PassManager*' in assignment
module_pass_manager = new llvm::PassManager ();
^
corefcn/pt-jit.cc:1892:22: error: invalid use of incomplete type 'class
llvm::PassManager'
module_pass_manager->add (llvm::createAlwaysInlinerPass ());
^
...
Attachment:
octave_3.8.0-4.log.xz
Description: application/xz