Skip to content

Failed to link libclangTesting.so.21.0git: undefined symbol: llvm::Triple::Triple #130112

Closed
@carlosgalvezp

Description

@carlosgalvezp
Contributor

Hi!

I'm bumping by local clone of the repo since ~700 commits ago, and now when trying to ninja check-clang-tools, I get:

ld.lld: error: undefined symbol: llvm::Triple::Triple(llvm::Twine const&)
>>> referenced by CommandLineArgs.cpp
>>>               tools/clang/lib/Testing/CMakeFiles/clangTesting.dir/CommandLineArgs.cpp.o:(clang::getAnyTargetForTesting[abi:cxx11]())

I've tried a clean build and get the same result. Is this issue known?

Platform: Ubuntu 20.04, compiling with clang 20

Activity

carlosgalvezp

carlosgalvezp commented on Mar 6, 2025

@carlosgalvezp
ContributorAuthor

Bisecting leads me here: 979c275
@nikic

nikic

nikic commented on Mar 6, 2025

@nikic
Contributor

There is a fix here: #130105

added a commit that references this issue on Mar 7, 2025
c95dc2d
added a commit that references this issue on Mar 18, 2025
0474344
added a commit that references this issue on Mar 21, 2025
945b3ab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @nikic@carlosgalvezp@llvmbot

      Issue actions

        Failed to link libclangTesting.so.21.0git: undefined symbol: llvm::Triple::Triple · Issue #130112 · llvm/llvm-project