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

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

[Octave-bug-tracker] [bug #50398] jit no longer compiles with Octave 4.2


From: Rik
Subject: [Octave-bug-tracker] [bug #50398] jit no longer compiles with Octave 4.2.1
Date: Thu, 2 Mar 2017 14:12:25 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #9, bug #50398 (project octave):

I cleared things with 'make distclean' and then re-configured after setting my
environment variables to


setenv CFLAGS "-O2 -pipe"
setenv CXXFLAGS "${CFLAGS} -I/usr/lib/llvm-3.4/include"
setenv FFLAGS "${CFLAGS}"
setenv LDFLAGS "-L/usr/lib/llvm-3.4/lib -lLLVM-3.4"


As you can see below, the link still fails despite the fact that the library
and directory are included in the path.


/bin/bash ./libtool  --tag=CXX   --mode=link g++ -std=gnu++11 -fPIC -pthread
-fopenmp -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith
-Wwrite-strings -Wcast-align -Wcast-qual -O2 -pipe -I/usr/lib/llvm-3.4/include
-O2 -pipe -no-undefined   -L/usr/lib/llvm-3.4/lib -lLLVM-3.4 -o src/octave-cli
src/src_octave_cli-main-cli.o src/src_octave_cli-octave-build-info.o
libinterp/liboctinterp.la liboctave/liboctave.la libgnu/libgnu.la  -lutil -lm 

libtool: link: g++ -std=gnu++11 -fPIC -pthread -fopenmp -Wall -W -Wshadow
-Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align
-Wcast-qual -O2 -pipe -I/usr/lib/llvm-3.4/include -O2 -pipe -o
src/.libs/octave-cli src/src_octave_cli-main-cli.o
src/src_octave_cli-octave-build-info.o  -L/usr/lib/llvm-3.4/lib
libinterp/.libs/liboctinterp.so liboctave/.libs/liboctave.so
libgnu/.libs/libgnu.a -lLLVM-3.4 -lutil -lm -fopenmp -pthread -Wl,-rpath
-Wl,/home/rik/local/lib/octave/4.2.1
libinterp/.libs/liboctinterp.so: undefined reference to
`llvm::verifyModule(llvm::Module const&, llvm::raw_ostream*)'
libinterp/.libs/liboctinterp.so: undefined reference to
`llvm::verifyFunction(llvm::Function const&, llvm::raw_ostream*)'
collect2: error: ld returned 1 exit status


Is the verifyModule only included if I use '-g' somehow?



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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