bazelbuild / bazelbuild/bazel

Handling `boringssl` vs. `openssl` in the module graph

Open
#26,827 18 comments 0 reactions 0 assignees View on GitHub
P2 team-ExternalDeps type: bug
Dominant language
Java
Stars
25.8k
Forks
4.6k
Avg merge
2d 18h
Merged PRs (30d)
75

Description

We are facing ODR violations for `boringssl` vs `openssl`.

Some of our (transitive) dependencies depend on the former while others depend on the latter and this causes linker issues when both are used within some dependency closure.

How is this supposed to be solved in the Bazel ecosystem?

Contributor guide

Open the contributing guide

Research direction

Start by tracing Bazel's module graph handling for transitive dependencies that bring in boringssl and openssl, then examine how the resulting dependency closure reaches the linker. Reproduce the reported ODR violation and determine what Bazel behavior or guidance would prevent both libraries from conflicting; the issue is done when that resolution is implemented or clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.