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

Update abseil-cpp to fix build with Clang >=16 #237

Merged
merged 1 commit into from
Oct 19, 2023

Conversation

robinlinden
Copy link
Contributor

NOTE: abseil-cpp started requiring C++14 in the 2023 January LTS release, so if this is merged, users on old compilers may have to override abseil-cpp to an older version.

This fixes a build error in newer Clang caused by a
feature=layering_check violation:

In file included from external/com_google_absl/absl/debugging/stacktrace.cc:46:
external/com_google_absl/absl/debugging/internal/stacktrace_x86-inl.inc:38:10: error: module @com_google_absl//absl/debugging:stacktrace does not depend on a module exporting 'absl/base/internal/raw_logging.h'
         ^
1 error generated.

This commit in abseil-cpp fixing the error is https://github.com/abseil/abseil-cpp/commit/f753eb27d03c9900aa65c4568c0420334cd28aab.

This fixes a build error in newer Clang caused by a
feature=layering_check violation:

```
In file included from external/com_google_absl/absl/debugging/stacktrace.cc:46:
external/com_google_absl/absl/debugging/internal/stacktrace_x86-inl.inc:38:10: error: module @com_google_absl//absl/debugging:stacktrace does not depend on a module exporting 'absl/base/internal/raw_logging.h'
         ^
1 error generated.
```
@robinlinden robinlinden changed the title Update abseil-cpp to fix build with newer Clang Update abseil-cpp to fix build with Clang >=16 Oct 18, 2023
Copy link
Collaborator

@stefanbucur stefanbucur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@stefanbucur stefanbucur merged commit 3504079 into bazel-contrib:master Oct 19, 2023
20 checks passed
@robinlinden robinlinden deleted the update-abseil-cpp branch October 19, 2023 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants