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

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

[Octave-bug-tracker] [bug #48443] Incompatibility between 4.1.0+ and ima


From: ederag
Subject: [Octave-bug-tracker] [bug #48443] Incompatibility between 4.1.0+ and image package
Date: Fri, 8 Jul 2016 13:42:11 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0

Follow-up Comment #4, bug #48443 (project octave):

Following comment #3, it looks like the issue is different here,
since it happens even without any package installed.

Here is the bisection outcome:

The first bad revision is:
changeset:   21750:6720e5a220ba
user:        John W. Eaton <address@hidden>
date:        Thu May 19 19:42:57 2016 -0400
files:       libinterp/corefcn/defun-int.h libinterp/corefcn/defun.cc
libinterp/corefcn/dynamic-ld.cc libinterp/corefcn/dynamic-ld.h
libinterp/octave-value/ov-dld-fcn.cc libinterp/octave-value/ov-dld-fcn.h
libinterp/octave-value/ov-java.cc libinterp/octave-value/ov-mex-fcn.cc
libinterp/octave-value/ov-mex-fcn.h liboctave/util/oct-shlib.cc
liboctave/util/oct-shlib.h
description:
use namespace for octave_shlib class

* oct-shlib.h, oct-shlib.cc: Put octave_shlib in octave namespace and
rename to dyamic_library.  Change all uses.


The test used was:

./bootstrap
cd build-
make distclean
../configure --disable-docs
--with-blas="/usr/local/openblas-mt-gcc4.8.3/lib64/libopenblas.so"
CPPFLAGS="-I/usr/local/openblas-mt-gcc4.8.3/include" CFLAGS="-O2 -march=native
-L/usr/local/openblas-mt-gcc4.8.3/lib64" CXXFLAGS="-O2 -march=native
-L/usr/local/openblas-mt-gcc4.8.3/lib64" FFLAGS="-O2 -march=native
-L/usr/local/openblas-mt-gcc4.8.3/lib64"
LDFLAGS=-Wl,-rpath,/usr/local/openblas-mt-gcc4.8.3/lib64
--prefix=/usr/local/openblas-mt-gcc4.8.3
make -j 6

./run-octave
# first make sure struct is not installed
pkg uninstall struct
pkg install -forge -verbose struct
# when "bad", the process ends with this error:
/home/ederag/octave-pkg/4.1.0+/struct-1.0.13/x86_64-pc-linux-gnu-api-v50+/cell2fields.oct:
failed to load:
/home/ederag/octave-pkg/4.1.0+/struct-1.0.13/x86_64-pc-linux-gnu-api-v50+/cell2fields.oct:
undefined symbol:
_ZN19octave_dld_function6createEPF17octave_value_listRKS0_iERK12octave_shlibRKSsS9_
error: called from
    install at line 242 column 5
    pkg at line 397 column 9


The package building process (seen with -verbose) went fine though. (logs
attached)

The tip (cs 22076:d9643bc3792a) is bad too.

On Linux OpenSUSE 13.2 64bit.


(file #37769, file #37770)
    _______________________________________________________

Additional Item Attachment:

File name: bad.log                        Size:6 KB
File name: good.log                       Size:6 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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