storypku / bazel_iwyu

IWYU Support for Bazel
Apache License 2.0
42 stars 12 forks source link

Error for mismatched glibc #11

Open simonhgao opened 11 months ago

simonhgao commented 11 months ago

I met error like that recently:

bazel-out/k8-fastbuild/bin/external/com_github_storypku_bazel_iwyu/bazel/iwyu/run_iwyu.runfiles/iwyu_prebuilt_pkg/bin/include-what-you-use: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by bazel-out/k8-fastbuild/bin/external/com_github_storypku_bazel_iwyu/bazel/iwyu/run_iwyu.runfiles/iwyu_prebuilt_pkg/bin/include-what-you-use)
bazel-out/k8-fastbuild/bin/external/com_github_storypku_bazel_iwyu/bazel/iwyu/run_iwyu.runfiles/iwyu_prebuilt_pkg/bin/include-what-you-use: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by bazel-out/k8-fastbuild/bin/external/com_github_storypku_bazel_iwyu/bazel/iwyu/run_iwyu.runfiles/iwyu_prebuilt_pkg/bin/include-what-you-use)
bazel-out/k8-fastbuild/bin/external/com_github_storypku_bazel_iwyu/bazel/iwyu/run_iwyu.runfiles/iwyu_prebuilt_pkg/bin/include-what-you-use: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by bazel-out/k8-fastbuild/bin/external/com_github_storypku_bazel_iwyu/bazel/iwyu/run_iwyu.runfiles/iwyu_prebuilt_pkg/bin/include-what-you-use)
Aspect @com_github_storypku_bazel_iwyu//bazel/iwyu:iwyu.bzl%iwyu_aspect of //infra/xpm/archiver/dao:package_dao failed to build

Is there any way that let us use iwyu and clang in our toolchain?

FBorowiec commented 3 months ago

I'm facing the same issue