Skip to content

[C++] Abseil bundled static libraries are registered in build_protobuf() instead of build_absl() #50637

Closed

Description

@Reranko05

Describe the bug, including details regarding any error messages, version, and platform.

The Abseil bundled static library targets are currently appended to ARROW_BUNDLED_STATIC_LIBS inside build_protobuf() even though they are provided by build_absl().

As a result, the registration of the bundled Abseil libraries depends on the Protobuf build logic rather than the component that defines them.

This was discovered while investigating a Windows linker failure in the Arrow Java JNI build:

apache/arrow-java#1243

To Reproduce

The issue was observed while reproducing the linker failure reported in apache/arrow-java#1243.

Expected behavior

Abseil bundled static libraries should be registered in build_absl(), where they are defined, instead of build_protobuf().

Component(s)

C++

Activity

  1. KHARSHAVARDHAN-eng commented on Jul 26, 2026

    @KHARSHAVARDHAN-eng

    Hi! I'd like to investigate and work on this issue.

  2. Reranko05 commented on Jul 26, 2026

    @Reranko05
    CollaboratorAuthor

    @KHARSHAVARDHAN-eng Thanks for your interest! A PR for this issue has already been opened (#50638) and is currently under review. You may want to check if there are any other open issues that need attention.

  3. tadeja commented on Jul 26, 2026

    @tadeja
    Member

    I re-assigned this issue as I see @Reranko05 opened PR #50638 yesterday but for some reason linking to this issue failed.

  4. Reranko05 commented on Aug 7, 2026

    @Reranko05
    CollaboratorAuthor

    Since this issue is fixed by #50650, I'm closing this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions