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

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

[Octave-bug-tracker] [bug #41061] Octave fails to build with LLVM 3.4 an


From: Michael Godfrey
Subject: [Octave-bug-tracker] [bug #41061] Octave fails to build with LLVM 3.4 and 3.5-pre-release
Date: Thu, 01 Jan 2015 21:08:05 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:34.0) Gecko/20100101 Firefox/34.0

Follow-up Comment #23, bug #41061 (project octave):

A bit more information: After setting,
CPPFLAGS=-std=c++11
./configure --enable-jit
make
gets to:

                 from corefcn/jit-typeinfo.cc:46:
/usr/include/llvm/ADT/Twine.h: In constructor
'jit_typeinfo::jit_typeinfo(llvm::Module*, llvm::ExecutionEngine*)':
/usr/include/llvm/ADT/Twine.h:187:12: error: 'llvm::Twine&
llvm::Twine::operator=(const llvm::Twine&)' is private
     Twine &operator=(const Twine &Other) LLVM_DELETED_FUNCTION;
            ^
corefcn/jit-typeinfo.cc:1211:15: error: within this context
       fn_name = fn_name + llvm::Twine (op);
               ^
corefcn/jit-typeinfo.cc:1211:15: error: use of deleted function 'llvm::Twine&
llvm::Twine::operator=(const llvm::Twine&)'
In file included from /usr/include/llvm/IR/GlobalVariable.h:23:0,
                 from corefcn/jit-typeinfo.cc:46:
/usr/include/llvm/ADT/Twine.h:187:12: note: declared here
     Twine &operator=(const Twine &Other) LLVM_DELETED_FUNCTION;
  ===============================
So, a code change is needed.


    _______________________________________________________

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]