On 11/10/20 6:24 PM, Will Crawford wrote:


On Tue, 10 Nov 2020 at 11:56, Sandro Mani <[email protected] <mailto:[email protected]>> 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 -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]

_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]

Reply via email to