fix clang build with glibc 2.42 re: struct termio#1938
fix clang build with glibc 2.42 re: struct termio#1938etwoo wants to merge 1 commit intofacebook:mainfrom
Conversation
2a0ddb8 to
0e4d6ce
Compare
|
Assuming the feedback from #1939 (comment) would also apply here, I've rebased this bugfix branch onto HEAD of main. |
|
thanks for the patch, worked for me on Fedora 43 |
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
0e4d6ce to
11a1c92
Compare
|
This repo's CI workflow appears to have changed since the last discussion on this PR 5-6 months ago. Accordingly, I've rebased this bugfix branch onto HEAD of main to get an up-to-date, successful CI run:
@ngorogiannis : please let me know if you have any feedback. When I originally opened this PR, I was not sure if only people building |
|
@ngorogiannis has imported this pull request. If you are a Meta employee, you can view this in D95171884. |
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