pybind / pybind/pybind11_abseil

Python bindings for absl::Status cause ODR violation

Open
#20 0 comments 1 reaction 1 assignee View on GitHub

@Mizux is already working on this.

Since Oct 20, 2025.

bazel bug
Dominant language
C++
Stars
27
Forks
21
PR merge metrics
No merged PRs in 30d

Description

The issue can manifest itself in multiple ways. One of the most straightforward examples is that returning an absl::Status with a payload from C++ to Python can cause the process to crash (approximately 1 in 50k times; code that reproduces the issue: https://github.com/apronchenkov/pybind11_absl_cord_odr_issue).

It appears that the root cause of the issue seems is that pybind11_abseil includes statically linked components of Abseil, which may conflict with Abseil usages within the Python extensions.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.