On Tue, Sep 15, 2020 at 12:56 PM Monsees, Steven C (US) via
lists.yoctoproject.org
<[email protected]> wrote:
>
>
>
> I am building meta-clang (sumo based 6.0.1), with cmake (3.8.2), all under a 
> standard SDK “rocko based” (2.4.1)…
>
>
>
> Are the following routines accessible/supported under meta-clang ?
>
>
>
> libgbe.so: undefined reference to `clang::DiagnosticIDs::~DiagnosticIDs()'
>
> libgbe.so: undefined reference to 
> `clang::TextDiagnosticPrinter::TextDiagnosticPrinter(llvm::raw_ostream&, 
> clang::DiagnosticOptions*, bool)'
>
> libgbe.so: undefined reference to 
> `clang::DiagnosticsEngine::~DiagnosticsEngine()'
>
> libgbe.so: undefined reference to 
> `clang::CompilerInvocation::CreateFromArgs(clang::CompilerInvocation&, char 
> const* const*, char const* const*, clang::DiagnosticsEngine&)'
>
> libgbe.so: undefined reference to 
> `clang::CompilerInvocationBase::~CompilerInvocationBase()'
>
> libgbe.so: undefined reference to 
> `clang::PCHContainerOperations::PCHContainerOperations()'
>
> libgbe.so: undefined reference to 
> `clang::CompilerInstance::createDiagnostics(clang::DiagnosticConsumer*, bool)'
>
> libgbe.so: undefined reference to 
> `clang::DiagnosticsEngine::DiagnosticsEngine(llvm::IntrusiveRefCntPtr<clang::DiagnosticIDs>,
>  clang::DiagnosticOptions*, clang::DiagnosticConsumer*, bool)'
>
> libgbe.so: undefined reference to `clang::CodeGenOptions::CodeGenOptions()'
>
> libgbe.so: undefined reference to 
> `clang::CompilerInstance::~CompilerInstance()'
>
> libgbe.so: undefined reference to 
> `clang::CompilerInstance::CompilerInstance(std::shared_ptr<clang::PCHContainerOperations>,
>  clang::MemoryBufferCache*)'
>
> libgbe.so: undefined reference to 
> `clang::EmitLLVMOnlyAction::EmitLLVMOnlyAction(llvm::LLVMContext*)'
>
> libgbe.so: undefined reference to 
> `clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)'
>
> libgbe.so: undefined reference to 
> `clang::CompilerInvocationBase::CompilerInvocationBase()'
>
> libgbe.so: undefined reference to 
> `clang::CompilerInstance::setInvocation(std::shared_ptr<clang::CompilerInvocation>)'
>
> libgbe.so: undefined reference to `clang::CodeGenAction::takeModule()'
>
> libgbe.so: undefined reference to `clang::DiagnosticIDs::DiagnosticIDs()'
>

are you linking this library with libclang ? secondly, also check that
its not emitting bunch of libraries which needs to then individually
linked

>
>
> thanks,
>
> Steve
>
> 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#50689): https://lists.yoctoproject.org/g/yocto/message/50689
Mute This Topic: https://lists.yoctoproject.org/mt/76873225/21656
Mute #yocto: https://lists.yoctoproject.org/g/yocto+yocto/mutehashtag/yocto
Mute #sdk: https://lists.yoctoproject.org/g/yocto+yocto/mutehashtag/sdk
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to