Skip to content

homebrew and llvm 10 packages in apt.llvm.org are broken with undefined reference to getPollyPluginInfo #4799

Closed
@heidezomp

Description

@heidezomp

Building with the shiny new llvm10 fails:

[ 98%] Linking CXX executable zig0
/usr/lib/llvm-10/lib/libclangCodeGen.a(BackendUtil.cpp.o): In function `(anonymous namespace)::EmitAssemblyHelper::EmitAssemblyWithNewPassManager(clang::BackendAction, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream> >)':
BackendUtil.cpp:(.text._ZN12_GLOBAL__N_118EmitAssemblyHelper30EmitAssemblyWithNewPassManagerEN5clang13BackendActionESt10unique_ptrIN4llvm17raw_pwrite_streamESt14default_deleteIS5_EE+0x16df): undefined reference to `getPollyPluginInfo()'
collect2: error: ld returned 1 exit status
CMakeFiles/zig0.dir/build.make:163: recipe for target 'zig0' failed

I have installed llvm10 from the official apt repository:

deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-10 main

Might this be a problem with my installation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    upstreamAn issue with a third party project that Zig uses.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions