Skip to content

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

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++

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions