Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/build: upgrade libc on our LUCI machine images to enable newer versions of clang #65356

Open
mknyszek opened this issue Jan 29, 2024 · 1 comment
Assignees
Labels
Builders x/build issues (builders, bots, dashboards) NeedsFix The path to resolution is known, but the work has not been done.
Milestone

Comments

@mknyszek
Copy link
Contributor

I tried to set up a clang builder for 16.0.4, but ran into errors like:

        ../../../../cache/tools/clang/bin/clang: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ../../../../cache/tools/clang/bin/clang)
        ../../../../cache/tools/clang/bin/clang: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ../../../../cache/tools/clang/bin/clang)
        ../../../../cache/tools/clang/bin/clang: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ../../../../cache/tools/clang/bin/clang)
        ../../../../cache/tools/clang/bin/clang: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by ../../../../cache/tools/clang/bin/clang)
        ../../../../cache/tools/clang/bin/clang: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by ../../../../cache/tools/clang/bin/clang)
        ../../../../cache/tools/clang/bin/clang: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.13' not found (required by ../../../../cache/tools/clang/bin/clang)

Turns out our libc is just too old on those builders. 15.0.4 works fine, so I put that in CIPD and renamed the builders. This issue tracks upgrading our machine images so we can build against newer versions of clang.

@gopherbot gopherbot added the Builders x/build issues (builders, bots, dashboards) label Jan 29, 2024
@gopherbot gopherbot added this to the Unreleased milestone Jan 29, 2024
@mknyszek
Copy link
Contributor Author

This issue is blocking #64563.

@mknyszek mknyszek self-assigned this Jan 30, 2024
@mknyszek mknyszek added the NeedsFix The path to resolution is known, but the work has not been done. label Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Builders x/build issues (builders, bots, dashboards) NeedsFix The path to resolution is known, but the work has not been done.
Projects
None yet
Development

No branches or pull requests

2 participants