Re: Help needed: vtk FTBFS, undefined reference to std::__detail::__to_chars_10_impl<unsigned int>(char*, unsigned int, unsigned int)::__digits

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

 




On 11.11.20 00:42, Tom Stellard wrote:
On 11/10/20 6:24 PM, Will Crawford wrote:


On Tue, 10 Nov 2020 at 11:56, Sandro Mani <manisandro@xxxxxxxxx <mailto:manisandro@xxxxxxxxx>> wrote:

    /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

...

    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?


That looks like the object file requires a symbol from libLLVM, and gcc isn't linking against it (hence the "DSO missing from command line" part).

If you have a log of the whole build you should be able to check how that object (the test) is being built; LLVM suggests maybe it was built using clang?


Compiling using clang wouldn't cause an object to link against libLLVM.so.  However, as Will said, we really need the whole log to
understand better what is happening.


Thanks for your replies. Here is the full log [1]. While clang/llvm are pulled into the buildroot as dependencies of other BRs, nothing else in the build log mentions either LLVM nor clang. Atteched below is the snipped related to building TestXMLHyperTreeGridIO.o. What I find particularly strange is the @@LLVM_11 decorated symbol, while nm on TestXMLHyperTreeGridIO.cxx.o gives me the undecorated symbol.

Thanks
Sandro

[1] http://smani.fedorapeople.org/tmp/builder-live.log

/usr/bin/g++
-DVTK_IN_VTK
-DvtkRenderingCore_AUTOINIT="2(vtkInteractionStyle,vtkRenderingOpenGL2)"
-I/builddir/build/BUILD/VTK-8.2.0/build/Filters/AMR
-I/builddir/build/BUILD/VTK-8.2.0/Filters/AMR
-I/builddir/build/BUILD/VTK-8.2.0/build/Common/Core
-I/builddir/build/BUILD/VTK-8.2.0/Common/Core
-I/builddir/build/BUILD/VTK-8.2.0/build/Utilities/KWIML
-I/builddir/build/BUILD/VTK-8.2.0/Utilities/KWIML
-I/builddir/build/BUILD/VTK-8.2.0/build/Utilities/KWSys
-I/builddir/build/BUILD/VTK-8.2.0/Utilities/KWSys
-I/builddir/build/BUILD/VTK-8.2.0/build/ThirdParty/utf8
-I/builddir/build/BUILD/VTK-8.2.0/ThirdParty/utf8
-I/builddir/build/BUILD/VTK-8.2.0/build/Common/DataModel
-I/builddir/build/BUILD/VTK-8.2.0/Common/DataModel
-I/builddir/build/BUILD/VTK-8.2.0/build/Common/Math
-I/builddir/build/BUILD/VTK-8.2.0/Common/Math
-I/builddir/build/BUILD/VTK-8.2.0/build/Common/Misc
-I/builddir/build/BUILD/VTK-8.2.0/Common/Misc
-I/builddir/build/BUILD/VTK-8.2.0/build/Common/System
-I/builddir/build/BUILD/VTK-8.2.0/Common/System
-I/builddir/build/BUILD/VTK-8.2.0/build/Common/Transforms
-I/builddir/build/BUILD/VTK-8.2.0/Common/Transforms
-I/builddir/build/BUILD/VTK-8.2.0/build/Common/ExecutionModel
-I/builddir/build/BUILD/VTK-8.2.0/Common/ExecutionModel
-I/builddir/build/BUILD/VTK-8.2.0/build/Filters/Core
-I/builddir/build/BUILD/VTK-8.2.0/Filters/Core
-I/builddir/build/BUILD/VTK-8.2.0/build/IO/XML
-I/builddir/build/BUILD/VTK-8.2.0/IO/XML
-I/builddir/build/BUILD/VTK-8.2.0/build/IO/Core
-I/builddir/build/BUILD/VTK-8.2.0/IO/Core
-I/builddir/build/BUILD/VTK-8.2.0/build/ThirdParty/doubleconversion
-I/builddir/build/BUILD/VTK-8.2.0/ThirdParty/doubleconversion
-I/usr/include/double-conversion
-I/builddir/build/BUILD/VTK-8.2.0/build/ThirdParty/lz4
-I/builddir/build/BUILD/VTK-8.2.0/ThirdParty/lz4
-I/builddir/build/BUILD/VTK-8.2.0/build/ThirdParty/lzma
-I/builddir/build/BUILD/VTK-8.2.0/ThirdParty/lzma
-I/builddir/build/BUILD/VTK-8.2.0/build/ThirdParty/zlib
-I/builddir/build/BUILD/VTK-8.2.0/ThirdParty/zlib
-I/builddir/build/BUILD/VTK-8.2.0/build/IO/XMLParser
-I/builddir/build/BUILD/VTK-8.2.0/IO/XMLParser
-I/builddir/build/BUILD/VTK-8.2.0/build/ThirdParty/expat
-I/builddir/build/BUILD/VTK-8.2.0/ThirdParty/expat
-I/builddir/build/BUILD/VTK-8.2.0/build/Parallel/Core
-I/builddir/build/BUILD/VTK-8.2.0/Parallel/Core
-I/builddir/build/BUILD/VTK-8.2.0/build/IO/Legacy
-I/builddir/build/BUILD/VTK-8.2.0/IO/Legacy
-I/builddir/build/BUILD/VTK-8.2.0/build/Filters/HyperTree
-I/builddir/build/BUILD/VTK-8.2.0/Filters/HyperTree
-I/builddir/build/BUILD/VTK-8.2.0/build/Filters/General
-I/builddir/build/BUILD/VTK-8.2.0/Filters/General
-I/builddir/build/BUILD/VTK-8.2.0/build/Common/ComputationalGeometry
-I/builddir/build/BUILD/VTK-8.2.0/Common/ComputationalGeometry
-I/builddir/build/BUILD/VTK-8.2.0/build/Filters/Sources
-I/builddir/build/BUILD/VTK-8.2.0/Filters/Sources
-I/builddir/build/BUILD/VTK-8.2.0/build/IO/ParallelXML
-I/builddir/build/BUILD/VTK-8.2.0/IO/ParallelXML
-I/builddir/build/BUILD/VTK-8.2.0/build/Imaging/Sources
-I/builddir/build/BUILD/VTK-8.2.0/Imaging/Sources
-I/builddir/build/BUILD/VTK-8.2.0/build/Imaging/Core
-I/builddir/build/BUILD/VTK-8.2.0/Imaging/Core
-I/builddir/build/BUILD/VTK-8.2.0/build/Infovis/Core
-I/builddir/build/BUILD/VTK-8.2.0/Infovis/Core
-I/builddir/build/BUILD/VTK-8.2.0/build/Filters/Extraction
-I/builddir/build/BUILD/VTK-8.2.0/Filters/Extraction
-I/builddir/build/BUILD/VTK-8.2.0/build/Filters/Statistics
-I/builddir/build/BUILD/VTK-8.2.0/Filters/Statistics
-I/builddir/build/BUILD/VTK-8.2.0/build/Imaging/Fourier
-I/builddir/build/BUILD/VTK-8.2.0/Imaging/Fourier
-I/builddir/build/BUILD/VTK-8.2.0/build/ThirdParty/eigen
-I/builddir/build/BUILD/VTK-8.2.0/ThirdParty/eigen
-I/usr/include/eigen3
-I/builddir/build/BUILD/VTK-8.2.0/build/Interaction/Style
-I/builddir/build/BUILD/VTK-8.2.0/Interaction/Style
-I/builddir/build/BUILD/VTK-8.2.0/build/Rendering/Core
-I/builddir/build/BUILD/VTK-8.2.0/Rendering/Core
-I/builddir/build/BUILD/VTK-8.2.0/build/Common/Color
-I/builddir/build/BUILD/VTK-8.2.0/Common/Color
-I/builddir/build/BUILD/VTK-8.2.0/build/Filters/Geometry
-I/builddir/build/BUILD/VTK-8.2.0/Filters/Geometry
-I/builddir/build/BUILD/VTK-8.2.0/build/Rendering/OpenGL2
-I/builddir/build/BUILD/VTK-8.2.0/Rendering/OpenGL2
-I/builddir/build/BUILD/VTK-8.2.0/build/ThirdParty/glew
-I/builddir/build/BUILD/VTK-8.2.0/ThirdParty/glew
-I/builddir/build/BUILD/VTK-8.2.0/build/Testing/Core
-I/builddir/build/BUILD/VTK-8.2.0/Testing/Core
-I/builddir/build/BUILD/VTK-8.2.0/build/Testing/Rendering
-I/builddir/build/BUILD/VTK-8.2.0/Testing/Rendering
-I/builddir/build/BUILD/VTK-8.2.0/build/IO/Image
-I/builddir/build/BUILD/VTK-8.2.0/IO/Image
-I/builddir/build/BUILD/VTK-8.2.0/build/Utilities/DICOMParser
-I/builddir/build/BUILD/VTK-8.2.0/Utilities/DICOMParser
-I/builddir/build/BUILD/VTK-8.2.0/build/Utilities/MetaIO/vtkmetaio
-I/builddir/build/BUILD/VTK-8.2.0/build/Utilities/MetaIO
-I/builddir/build/BUILD/VTK-8.2.0/Utilities/MetaIO
-I/builddir/build/BUILD/VTK-8.2.0/build/ThirdParty/jpeg
-I/builddir/build/BUILD/VTK-8.2.0/ThirdParty/jpeg
-I/builddir/build/BUILD/VTK-8.2.0/build/ThirdParty/png
-I/builddir/build/BUILD/VTK-8.2.0/ThirdParty/png
-I/builddir/build/BUILD/VTK-8.2.0/build/ThirdParty/tiff
-I/builddir/build/BUILD/VTK-8.2.0/ThirdParty/tiff
-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
-std=c++11
-o
CMakeFiles/vtkIOXMLCxxTests.dir/TestXMLHyperTreeGridIO.cxx.o
-c /builddir/build/BUILD/VTK-8.2.0/IO/XML/Testing/Cxx/TestXMLHyperTreeGridIO.cxx


_______________________________________________
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




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux