Skip to content

Conversation

@Jozott00
Copy link
Collaborator

Subsystem
gRPC/Native

Problem Description
After the recent upgrade to Koltin 2.2.21 compilation for Linux failed because a LLVM 19 Konan dependency path changed.

Solution
The Bazel toolchain now uses the correct, updated dependency path to include header files.

Unfortunately we will have to update this path everytime we upgrade the Kotlin compiler version. I couldn't find a way to automatically determine the dependency paths.

@Jozott00 Jozott00 self-assigned this Oct 27, 2025
@Jozott00 Jozott00 added the bug Something isn't working label Oct 27, 2025
@Jozott00 Jozott00 requested a review from Mr3zee October 27, 2025 13:40
Copy link
Member

@Mr3zee Mr3zee left a comment

Choose a reason for hiding this comment

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

Great, thanks for the speed!
One question: do we need to do that every time we update Kotlin?
I yes, can we automate it somehow?

Nvm, I read the description 😓
Can you point out in the comments how do we find a new dependency version?

@Jozott00
Copy link
Collaborator Author

Yes, I will add it. It's basically running it, getting the error including the path, comparing it to the currently used one, replacing the path from the error with the current one xD

@Jozott00 Jozott00 merged commit 9240163 into grpc-common Oct 27, 2025
6 of 7 checks passed
@Mr3zee Mr3zee deleted the grpc/fix-linux branch October 27, 2025 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants