[Pkg-octave-devel] Bug#739903: octave: ftbs with llvm 3.4

Julian Taylor jtaylor.debian at googlemail.com
Sun Feb 23 18:06:10 UTC 2014


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 ());
                      ^

...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: octave_3.8.0-4.log.xz
Type: application/x-xz
Size: 75692 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-octave-devel/attachments/20140223/403afdbf/attachment-0001.bin>


More information about the Pkg-octave-devel mailing list