facebook/fbthrift

libthriftcpp2.so: error: undefined reference to 'apache::thrift::RequestPileBase::onDequeued(apache::thrift::ServerRequest&)'

donsbot opened this issue · 1 comments

Recently introduced: likely here: 123915f

Causes linker failures building hsthrift against fbthrift. Example: https://github.com/donsbot/Glean/runs/5326409803?check_suite_focus=true

error: /github/home/.hsthrift/lib/libthriftcpp2.so: error: undefined reference to 'apache::thrift::RequestPileBase::onEnqueued(apache::thrift::ServerRequest&)'
/github/home/.hsthrift/lib/libthriftcpp2.so: error: undefined reference to 'apache::thrift::RequestPileBase::RequestPileBase(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)'
/github/home/.hsthrift/lib/libthriftcpp2.so: error: undefined reference to 'apache::thrift::RequestPileBase::onDequeued(apache::thrift::ServerRequest&)'

C.f. 123915f#commitcomment-67426122

Fixed in c913736