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/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.

-Tom


_______________________________________________
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

_______________________________________________
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