Skip to content

libclc/amdgcn: prepare-builtins.cpp.o: undefined reference to symbol '_ZN4llvm2cl6Option11addArgumentEv' #62018

@illwieckz

Description

@illwieckz

I get this while building libclc AMD GCN targets with LLVM 17-git (e58a493), 16.0.1 and 16.0.0 (I haven't tried to build older Git references):

/usr/bin/ld: CMakeFiles/prepare_builtins.dir/utils/prepare-builtins.cpp.o:
  undefined reference to symbol '_ZN4llvm2cl6Option11addArgumentEv'

I completely deleted the build and install directories on each attempt.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cmakeBuild system in general and CMake in particular

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions