Skip to content

THRIFT-6379: Link libboost_system only when Boost ships it - #3959

Open
slachiewicz wants to merge 1 commit into
apache:masterfrom
slachiewicz:THRIFT-6379
Open

slachiewicz wants to merge 1 commit into
apache:masterfrom
slachiewicz:THRIFT-6379

Conversation

@slachiewicz

@slachiewicz slachiewicz commented Sep 27, 2026 •

Copy link
Copy Markdown
Member

configure links libboost_system.a only where Boost still ships it, and test/cpp uses that variable instead of a hard-coded -lboost_system.

Verified: configure against Homebrew Boost 1.92 leaves BOOST_SYSTEM_LDADD empty, and the lib/cpp tests and the test/cpp cross-test binaries link.

@mergeable mergeable Bot added the build and general CI cmake, automake and build system changes label Sep 27, 2026
Client: cpp

Boost.System is header-only since 1.69, and 1.89 stopped shipping the stub
library, so the C++ tests and the cross-test client and server failed to link
against current Boost. configure still links it where it exists, for Boost 1.56 to
1.68, and test/cpp now uses the same variable instead of -lboost_system.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mergeable mergeable Bot added the c++ Pull requests that update C++ code label Sep 27, 2026
@slachiewicz slachiewicz changed the title THRIFT-6379: Link libboost_system only when Boost ships it Client: cpp THRIFT-6379: Link libboost_system only when Boost ships it Sep 27, 2026
@slachiewicz
slachiewicz marked this pull request as ready for review September 27, 2026 16:27

This branch has not been deployed

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

Labels

build and general CI cmake, automake and build system changes c++ Pull requests that update C++ code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant