scilab build failure C++ ABI?

Orion Poplawski orion at cora.nwra.com
Sun May 17 21:52:21 UTC 2015


Trying to rebuild scilab with the new hdf5 I get:

libtool: link: g++ -DNDEBUG -fno-stack-protector -msse -O2 -g -pipe 
-Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches 
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 
-mtune=atom -fasynchronous-unwind-tables -Wl,-z -Wl,relro 
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--no-as-needed -o 
.libs/scilab-bin modules/startup/src/c/scilab_bin-mainscic.o 
./modules/.libs/libscilab.so 
-L/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.45-38.b14.fc23.i386/jre/lib/i386 
-L/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.45-38.b14.fc23.i386/jre/lib/i386/server 
-L/lib /builddir/build/BUILD/scilab-5.5.2/modules/gui/.libs/libscigui.so 
/builddir/build/BUILD/scilab-5.5.2/modules/renderer/.libs/libscirenderer.so 
/builddir/build/BUILD/scilab-5.5.2/modules/graphics/.libs/libscigraphics.so 
/builddir/build/BUILD/scilab-5.5.2/modules/graphic_export/.libs/libscigraphic_export.so 
/builddir/build/BUILD/scilab-5.5.2/modules/console/.libs/libsciconsole.so /builddir/build/BUILD/scilab-5.5.2/modules/action_binding/.libs/libsciaction_binding.so 
/builddir/build/BUILD/scilab-5.5.2/modules/graphic_objects/.libs/libscigraphic_objects.so 
/builddir/build/BUILD/scilab-5.5.2/modules/scinotes/.libs/libsciscinotes.so 
/builddir/build/BUILD/scilab-5.5.2/modules/ui_data/.libs/libsciui_data.so /builddir/build/BUILD/scilab-5.5.2/modules/history_browser/.libs/libscihistory_browser.so 
/builddir/build/BUILD/scilab-5.5.2/modules/tclsci/.libs/libscitclsci.so 
-ltk8.6 -ltcl8.6 
/builddir/build/BUILD/scilab-5.5.2/modules/preferences/.libs/libscipreferences.so 
/builddir/build/BUILD/scilab-5.5.2/modules/external_objects_java/.libs/libsciexternal_objects_java.so 
/builddir/build/BUILD/scilab-5.5.2/modules/helptools/.libs/libscihelptools.so 
/builddir/build/BUILD/scilab-5.5.2/modules/types/.libs/libscitypes.so 
/builddir/build/BUILD/scilab-5.5.2/modules/commons/.libs/libscicommons.so /builddir/build/BUILD/scilab-5.5.2/modules/jvm/.libs/libscijvm.so 
/builddir/build/BUILD/scilab-5.5.2/modules/.libs/libscilab-cli.so 
./modules/.libs/libscilab-cli.so -lcurl 
/builddir/build/BUILD/scilab-5.5.2/modules/functions/.libs/libscifunctions.so 
/builddir/build/BUILD/scilab-5.5.2/modules/call_scilab/.libs/libscicall_scilab.so 
/builddir/build/BUILD/scilab-5.5.2/modules/localization/.libs/libscilocalization.so 
/builddir/build/BUILD/scilab-5.5.2/modules/special_functions/.libs/libscispecial_functions.so 
/builddir/build/BUILD/scilab-5.5.2/modules/completion/.libs/libscicompletion.so 
/builddir/build/BUILD/scilab-5.5.2/modules/history_manager/.libs/libscihistory_manager.so 
-lpcreposix -lpcre 
/builddir/build/BUILD/scilab-5.5.2/modules/hdf5/.libs/libscihdf5.so 
-lhdf5 -lhdf5_hl -lfftw3 
/builddir/build/BUILD/scilab-5.5.2/modules/statistics/.libs/libscistatistics.so 
/builddir/build/BUILD/scilab-5.5.2/modules/xml/.libs/libscixml.so 
/builddir/build/BUILD/scilab-5.5.2/modules/external_objects/.libs/libsciexternal_objects.so 
/builddir/build/BUILD/scilab-5.5.2/modules/preferences/.libs/libscipreferences-cli.so 
/builddir/build/BUILD/scilab-5.5.2/modules/gui/.libs/libscigui-disable.so /builddir/build/BUILD/scilab-5.5.2/modules/graphics/.libs/libscigraphics-disable.so 
/builddir/build/BUILD/scilab-5.5.2/modules/graphic_export/.libs/libscigraphic_export-disable.so 
/builddir/build/BUILD/scilab-5.5.2/modules/action_binding/.libs/libsciaction_binding-disable.so 
/builddir/build/BUILD/scilab-5.5.2/modules/jvm/.libs/libscijvm-disable.so /builddir/build/BUILD/scilab-5.5.2/modules/xcos/.libs/libscixcos-disable.so 
/builddir/build/BUILD/scilab-5.5.2/modules/graphic_objects/.libs/libscigraphic_objects-disable.so 
/builddir/build/BUILD/scilab-5.5.2/modules/scinotes/.libs/libsciscinotes-disable.so 
/builddir/build/BUILD/scilab-5.5.2/modules/ui_data/.libs/libsciui_data-disable.so 
/builddir/build/BUILD/scilab-5.5.2/modules/history_browser/.libs/libscihistory_browser-disable.so 
/builddir/build/BUILD/scilab-5.5.2/modules/commons/.libs/libscicommons-disable.so 
-llapack -lblas -L/usr/lib/gcc/i686-redhat-linux/5.1.1 
-L/usr/lib/gcc/i686-redhat-linux/5.1.1/../../.. -lgfortran -lquadmath 
./modules/console/.libs/libsciconsole.so 
/builddir/build/BUILD/scilab-5.5.2/modules/console/.libs/libsciconsole-minimal.so 
./modules/jvm/.libs/libscijvm.so -lxml2 -lz -ljava -lverify -ljvm 
./modules/commons/.libs/libscicommons.so -lstdc++ -lpthread -ldl 
-lcurses -lm -pthread -Wl,-rpath -Wl,/usr/lib/scilab
/builddir/build/BUILD/scilab-5.5.2/modules/hdf5/.libs/libscihdf5.so: 
undefined reference to 
`org_modules_hdf5::H5Object::getCompletePath[abi:cxx11]() const'

I don't understand this.  libscihdf5.so is a scilab library built 
earlier so I can't be out of sync:

libtool: link: g++  -fPIC -DPIC -shared -nostdlib 
/usr/lib/gcc/i686-redhat-linux/5.1.1/../../../crti.o 
/usr/lib/gcc/i686-redhat-linux/5.1.1/crtbeginS.o 
sci_gateway/cpp/.libs/libscihdf5_la-sci_export_to_hdf5.o 
sci_gateway/cpp/.libs/libscihdf5_la-sci_import_from_hdf5.o 
sci_gateway/cpp/.libs/libscihdf5_la-sci_is_hdf5_file.o 
sci_gateway/cpp/.libs/libscihdf5_la-sci_listvar_in_hdf5.o 
sci_gateway/cpp/.libs/libscihdf5_la-sci_h5dump.o 
sci_gateway/cpp/.libs/libscihdf5_la-sci_h5open.o 
sci_gateway/cpp/.libs/libscihdf5_la-sci_h5close.o 
sci_gateway/cpp/.libs/libscihdf5_la-sci_h5read.o 
sci_gateway/cpp/.libs/libscihdf5_la-sci_h5ls.o 
sci_gateway/cpp/.libs/libscihdf5_la-sci_percent_H5Object_p.o 
sci_gateway/cpp/.libs/libscihdf5_la-sci_percent_H5Object_e.o 
sci_gateway/cpp/.libs/libscihdf5_la-sci_h5group.o 
sci_gateway/cpp/.libs/libscihdf5_la-sci_h5rm.o 
sci_gateway/cpp/.libs/libscihdf5_la-sci_h5dataset.o 
sci_gateway/cpp/.libs/libscihdf5_la-sci_h5write.o 
sci_gateway/cpp/.libs/libscihdf5_la-sci_h5attr.o 
sci_gateway/cpp/.libs/libscihdf5_la-sci_h5ln.o 
sci_gateway/cpp/.libs/libscihdf5_la-sci_h5readattr.o 
sci_gateway/cpp/.libs/libscihdf5_la-sci_h5flush.o 
sci_gateway/cpp/.libs/libscihdf5_la-sci_h5cp.o 
sci_gateway/cpp/.libs/libscihdf5_la-sci_h5isfoo.o 
sci_gateway/cpp/.libs/libscihdf5_la-sci_h5mount.o 
sci_gateway/cpp/.libs/libscihdf5_la-sci_h5umount.o 
sci_gateway/cpp/.libs/libscihdf5_la-sci_h5mv.o 
sci_gateway/cpp/.libs/libscihdf5_la-sci_h5get.o 
sci_gateway/cpp/.libs/libscihdf5_la-sci_h5label.o 
sci_gateway/cpp/.libs/libscihdf5_la-sci_h5exists.o 
sci_gateway/cpp/.libs/libscihdf5_la-sci_percent_H5Object_fieldnames.o 
sci_gateway/c/.libs/libscihdf5_la-gw_hdf5.o  -Wl,--whole-archive 
./.libs/libscihdf5-algo.a -Wl,--no-whole-archive  -lhdf5 -lhdf5_hl 
-lpthread -ldl -lcurses -L/usr/lib/gcc/i686-redhat-linux/5.1.1 
-L/usr/lib/gcc/i686-redhat-linux/5.1.1/../../.. -lm -lc -lgcc_s 
/usr/lib/gcc/i686-redhat-linux/5.1.1/crtendS.o 
/usr/lib/gcc/i686-redhat-linux/5.1.1/../../../crtn.o 
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld -msse -O2 -m32 -march=i686 
-mtune=atom -Wl,-z -Wl,relro -Wl,--no-as-needed   -Wl,-soname 
-Wl,libscihdf5.so.5 -o .libs/libscihdf5.so.5.5.2

and it's linked into other libraries in the build okay.  What else could 
be going on?

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion at cora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com


More information about the devel mailing list