Skip to content

Conversation

@etwoo
Copy link
Contributor

@etwoo etwoo commented Aug 23, 2025

I hit some issues building Infer from source in my Arch Linux dev environment. The problem seems to be specific to compiling against glibc 2.42, which Arch recently accepted into its official repositories.

The fix in this PR is to backport fixes from LLVM upstream for llvm/llvm-project#137321

Upstream LLVM recently gained support for building with glibc 2.42:

    llvm/llvm-project@59978b2
    llvm/llvm-project@c99b1bc

Backport these fixes to this project's vendored copy of clang. This
allows us to build Infer on Arch Linux, which recently upgraded its
glibc to 2.42:

    https://gitlab.archlinux.org/archlinux/packaging/packages/glibc/-/commit/3543edc0a9e583f9c3880c197d83409c5e8d4020
@etwoo etwoo force-pushed the bugfix/backport-llvm-struct-termio-glibc-2.42 branch from 2a0ddb8 to 0e4d6ce Compare September 18, 2025 06:48
@etwoo
Copy link
Contributor Author

etwoo commented Sep 18, 2025

Assuming the feedback from #1939 (comment) would also apply here, I've rebased this bugfix branch onto HEAD of main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants