Skip to content

Can't build with LLVM_BUILD_STATIC=ON #121754

@dustdfg

Description

@dustdfg

When I start building I get following error:

CMake Error at cmake/modules/CheckCompilerVersion.cmake:88 (message):
  libstdc++ version must be at least 7.4.
Call Stack (most recent call first):
  cmake/config-ix.cmake:16 (include)
  CMakeLists.txt:949 (include)

But I use Fedora 41 and installed libstdc++-static libstdc++-devel libstdc++ packages. Trying to compile LLVM 19.1.16. As compiler use system provided clang clang++ lld

Metadata

Metadata

Assignees

No one assigned

    Labels

    build-problemplatform:linuxquestionA question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions