On 10.11.20 12:56, Sandro Mani wrote:
Hi
I'm stuck at rebuilding vtk, which I need to move ahead with the proj
rebuilds. (The error being unrelated to proj.) I get
/usr/bin/ld:
CMakeFiles/vtkIOXMLCxxTests.dir/TestXMLHyperTreeGridIO.cxx.o (symbol
from plugin): undefined reference to symbol
'_ZZNSt8__detail18__to_chars_10_implIjEEvPcjT_E8__digits@@LLVM_11'
/usr/bin/ld: /usr/lib64/libLLVM-11.so: error adding symbols: DSO
missing from command line
Now, nm tells me
$ nm TestXMLHyperTreeGridIO.cxx.o | grep
_ZZNSt8__detail18__to_chars_10_implIjEEvPcjT_E8__digits
00000000 W _ZZNSt8__detail18__to_chars_10_implIjEEvPcjT_E8__digits
resp, unmangled the symbol is
std::__detail::__to_chars_10_impl<unsigned int>(char*, unsigned int,
unsigned int)::__digits
I'm not sure why ld thinks LLVM is involved, vtk does not pull in LLVM
in any way.
I'm pretty much clueless, any ideas?
I could add the command line which leads to this error (exploded for
readability):
/usr/lib64/ccache/g++
-O2
-flto=auto
-ffat-lto-objects
-fexceptions
-g
-grecord-gcc-switches
-pipe
-Wall
-Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2
-Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1
-m64
-mtune=generic
-fasynchronous-unwind-tables
-fstack-clash-protection
-fcf-protection
-D_UNICODE
-DHAVE_UINTPTR_T
-g
-Wl,-lc
-Wl,-lc
-Wl,-z,relro
-Wl,--as-needed
-Wl,-z,now
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld
CMakeFiles/vtkIOXMLCxxTests.dir/vtkIOXMLCxxTests.cxx.o
CMakeFiles/vtkIOXMLCxxTests.dir/TestAMRXMLIO.cxx.o
CMakeFiles/vtkIOXMLCxxTests.dir/TestDataObjectXMLIO.cxx.o
CMakeFiles/vtkIOXMLCxxTests.dir/TestMultiBlockXMLIOWithPartialArrays.cxx.o
CMakeFiles/vtkIOXMLCxxTests.dir/TestReadDuplicateDataArrayNames.cxx.o
CMakeFiles/vtkIOXMLCxxTests.dir/TestXML.cxx.o
CMakeFiles/vtkIOXMLCxxTests.dir/TestXMLGhostCellsImport.cxx.o
CMakeFiles/vtkIOXMLCxxTests.dir/TestXMLHierarchicalBoxDataFileConverter.cxx.o
CMakeFiles/vtkIOXMLCxxTests.dir/TestXMLHyperTreeGridIO.cxx.o
CMakeFiles/vtkIOXMLCxxTests.dir/TestXMLMappedUnstructuredGridIO.cxx.o
CMakeFiles/vtkIOXMLCxxTests.dir/TestXMLToString.cxx.o
CMakeFiles/vtkIOXMLCxxTests.dir/TestXMLUnstructuredGridReader.cxx.o
CMakeFiles/vtkIOXMLCxxTests.dir/TestXMLWriterWithDataArrayFallback.cxx.o
CMakeFiles/vtkIOXMLCxxTests.dir/TestXMLWriteRead.cxx.o
CMakeFiles/vtkIOXMLCxxTests.dir/TestXMLCompositeDataReaderDistribution.cxx.o
CMakeFiles/vtkIOXMLCxxTests.dir/TestXMLReaderBadData.cxx.o
-o ../../../../bin/vtkIOXMLCxxTests
-L/usr/lib/jvm/java/lib/server
-Wl,-rpath,/usr/lib/jvm/java/lib/server:/home/sandro/rpmbuild/BUILD/VTK-8.2.0/build/lib
../../../../lib/libvtkFiltersAMR.so.1
/usr/lib64/libdouble-conversion.so
/usr/lib64/liblz4.so
/usr/lib64/liblzma.so
/usr/lib64/libz.so
/usr/lib64/libexpat.so
../../../../lib/libvtkFiltersHyperTree.so.1
../../../../lib/libvtkIOParallelXML.so.1
../../../../lib/libvtkImagingSources.so.1
../../../../lib/libvtkInfovisCore.so.1
../../../../lib/libvtkInteractionStyle.so.1
../../../../lib/libvtkRenderingOpenGL2.so.1
/usr/lib64/libGLEW.so
../../../../lib/libvtkTestingRendering.so.1
../../../../lib/libvtkIOImage.so.1
../../../../lib/libvtkDICOMParser.so.1
../../../../lib/libvtkmetaio.so.1
/usr/lib64/libjpeg.so
/usr/lib64/libpng.so
/usr/lib64/libtiff.so
../../../../lib/libvtkIOXML.so.1
../../../../lib/libvtkIOXMLParser.so.1
../../../../lib/libvtkParallelCore.so.1
../../../../lib/libvtkIOLegacy.so.1
../../../../lib/libvtkIOCore.so.1
../../../../lib/libvtkFiltersExtraction.so.1
../../../../lib/libvtkFiltersStatistics.so.1
../../../../lib/libvtkImagingFourier.so.1
/usr/lib64/libSM.so
/usr/lib64/libICE.so
/usr/lib64/libX11.so
/usr/lib64/libXext.so
/usr/lib64/libXt.so
../../../../lib/libvtkImagingCore.so.1
../../../../lib/libvtkRenderingCore.so.1
../../../../lib/libvtkFiltersSources.so.1
../../../../lib/libvtkFiltersGeneral.so.1
../../../../lib/libvtkCommonComputationalGeometry.so.1
../../../../lib/libvtkCommonColor.so.1
../../../../lib/libvtkFiltersGeometry.so.1
../../../../lib/libvtkFiltersCore.so.1
../../../../lib/libvtkCommonExecutionModel.so.1
../../../../lib/libvtkCommonDataModel.so.1
../../../../lib/libvtkCommonTransforms.so.1
../../../../lib/libvtkCommonMisc.so.1
../../../../lib/libvtkCommonMath.so.1
../../../../lib/libvtkCommonSystem.so.1
../../../../lib/libvtkCommonCore.so.1
../../../../lib/libvtksys.so.1
-ldl
/usr/lib64/libz.so
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx