Skip to content

[VL] Fix dynamic link on rhel#12359

Merged
zhouyuan merged 1 commit into
apache:mainfrom
marin-ma:fix-link-rhel
Jun 25, 2026
Merged

[VL] Fix dynamic link on rhel#12359
zhouyuan merged 1 commit into
apache:mainfrom
marin-ma:fix-link-rhel

Conversation

@marin-ma

Copy link
Copy Markdown
Contributor

Resolves the undefined symbol error

[2026-06-23T21:38:52.046Z] #9 47.28 [132/132] Linking CXX shared library releases/libvelox.so
[2026-06-23T21:38:52.046Z] #9 47.28 ld: warning: cannot find entry symbol _start; not setting start address
[2026-06-23T21:38:52.046Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type_system::detail::TypeIdWrapper<apache::thrift::type_system::TypeIdUnion>::TypeIdWrapper(apache::thrift::type_system::detail::PrimitiveTypeIdWrapper<apache::thrift::type_system::AnyTypeIdStruct>)'
[2026-06-23T21:38:52.046Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::transport::THeader::setHeader(std::basic_string_view<char, std::char_traits<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&)'
[2026-06-23T21:38:52.046Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `folly::observer_detail::Core::getData()'
[2026-06-23T21:38:52.046Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type::SemiAnyStruct::~SemiAnyStruct()'
[2026-06-23T21:38:52.046Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::CodecConfig::__fbthrift_get_class_name()'
[2026-06-23T21:38:52.046Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type_system::I32TypeIdStruct::__fbthrift_get_class_name()'
[2026-06-23T21:38:52.046Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::transport::THeader::setHeader(std::basic_string_view<char, std::char_traits<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
[2026-06-23T21:38:52.046Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type_system::TypeIdUnion::__fbthrift_get_class_name()'
[2026-06-23T21:38:52.046Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type_system::ByteTypeIdStruct::__fbthrift_get_class_name()'
[2026-06-23T21:38:52.046Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type::ProtocolUnion::__fbthrift_clear()'
[2026-06-23T21:38:52.046Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::transport::THeader::transform(std::unique_ptr<folly::IOBuf, std::default_delete<folly::IOBuf> >, std::vector<unsigned short, std::allocator<unsigned short> >&, unsigned long)'
[2026-06-23T21:38:52.046Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::CodecConfig::__fbthrift_clear()'
[2026-06-23T21:38:52.046Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type::AnyStruct::~AnyStruct()'
[2026-06-23T21:38:52.046Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::CodecConfig::~CodecConfig()'
[2026-06-23T21:38:52.046Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type_system::StringTypeIdStruct::__fbthrift_get_class_name()'
[2026-06-23T21:38:52.046Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type::ProtocolUnion::operator=(apache::thrift::type::ProtocolUnion const&)'
[2026-06-23T21:38:52.046Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type::TypeUri::__fbthrift_get_class_name()'
[2026-06-23T21:38:52.046Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type::ProtocolUnion::~ProtocolUnion()'
[2026-06-23T21:38:52.046Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type_system::BoolTypeIdStruct::__fbthrift_get_class_name()'
[2026-06-23T21:38:52.047Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type_system::detail::TypeIdWrapper<apache::thrift::type_system::TypeIdUnion>::TypeIdWrapper(apache::thrift::type_system::detail::PrimitiveTypeIdWrapper<apache::thrift::type_system::I16TypeIdStruct>)'
[2026-06-23T21:38:52.047Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `folly::coro::Baton::waitImpl(folly::coro::Baton::WaitOperation*) const'
[2026-06-23T21:38:52.047Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::CustomCompressionCodecConfig::CustomCompressionCodecConfig()'
[2026-06-23T21:38:52.047Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type_system::MapTypeIdStruct::__fbthrift_get_class_name()'
[2026-06-23T21:38:52.047Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type_system::I64TypeIdStruct::__fbthrift_get_class_name()'
[2026-06-23T21:38:52.047Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type::detail::getGeneratedTypeRegistry()'
[2026-06-23T21:38:52.047Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type_system::detail::TypeIdWrapper<apache::thrift::type_system::TypeIdUnion>::TypeIdWrapper(apache::thrift::type_system::detail::PrimitiveTypeIdWrapper<apache::thrift::type_system::ByteTypeIdStruct>)'
[2026-06-23T21:38:52.047Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type::TypeStruct::operator=(apache::thrift::type::TypeStruct&&)'
[2026-06-23T21:38:52.047Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type_system::I16TypeIdStruct::__fbthrift_get_class_name()'
[2026-06-23T21:38:52.047Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type::SemiAnyStruct::SemiAnyStruct()'
[2026-06-23T21:38:52.047Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `folly_coro_async_free'
[2026-06-23T21:38:52.047Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type::AnyData::AnyData(apache::thrift::type::SemiAnyStruct)'
[2026-06-23T21:38:52.047Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type::TypeUri::__fbthrift_clear()'
[2026-06-23T21:38:52.047Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type_system::detail::TypeIdWrapper<apache::thrift::type_system::TypeIdUnion>::TypeIdWrapper(apache::thrift::type_system::detail::PrimitiveTypeIdWrapper<apache::thrift::type_system::BinaryTypeIdStruct>)'
[2026-06-23T21:38:52.047Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type_system::SetTypeIdStruct::__fbthrift_get_field_name(apache::thrift::type::Ordinal)'
[2026-06-23T21:38:52.047Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type_system::detail::TypeIdWrapper<apache::thrift::type_system::TypeIdUnion>::TypeIdWrapper(apache::thrift::type_system::detail::PrimitiveTypeIdWrapper<apache::thrift::type_system::I32TypeIdStruct>)'
[2026-06-23T21:38:52.047Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `folly::observer_detail::ObserverManager::inManagerThread_'
[2026-06-23T21:38:52.047Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type::ProtocolUnion::__fbthrift_get_class_name()'
[2026-06-23T21:38:52.047Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `folly::observer_detail::ObserverManager::DependencyRecorder::currentDependencies_'
[2026-06-23T21:38:52.047Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type_system::AnyTypeIdStruct::__fbthrift_get_class_name()'
[2026-06-23T21:38:52.047Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type_system::detail::TypeIdWrapper<apache::thrift::type_system::TypeIdUnion>::TypeIdWrapper(apache::thrift::type_system::detail::PrimitiveTypeIdWrapper<apache::thrift::type_system::DoubleTypeIdStruct>)'
[2026-06-23T21:38:52.047Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type_system::detail::TypeIdWrapper<apache::thrift::type_system::TypeIdUnion>::TypeIdWrapper(apache::thrift::type_system::detail::PrimitiveTypeIdWrapper<apache::thrift::type_system::I64TypeIdStruct>)'
[2026-06-23T21:38:52.047Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::ContextStack::~ContextStack()'
[2026-06-23T21:38:52.047Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type::TypeStruct::TypeStruct()'
[2026-06-23T21:38:52.047Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::ContextStack::handlerErrorWrapped(folly::exception_wrapper const&)'
[2026-06-23T21:38:52.047Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type_system::FloatTypeIdStruct::__fbthrift_get_class_name()'
[2026-06-23T21:38:52.047Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type::TypeStruct::TypeStruct(apache::thrift::type::TypeStruct&&)'
[2026-06-23T21:38:52.047Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type_system::TypeIdUnion::__fbthrift_get_field_name(apache::thrift::type::Ordinal)'
[2026-06-23T21:38:52.047Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type_system::detail::TypeIdWrapper<apache::thrift::type_system::TypeIdUnion>::TypeIdWrapper(apache::thrift::type_system::detail::PrimitiveTypeIdWrapper<apache::thrift::type_system::FloatTypeIdStruct>)'
[2026-06-23T21:38:52.048Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type::TypeStruct::~TypeStruct()'
[2026-06-23T21:38:52.048Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `folly::observer_detail::Core::refresh(unsigned long)'
[2026-06-23T21:38:52.048Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type_system::ListTypeIdStruct::__fbthrift_get_field_name(apache::thrift::type::Ordinal)'
[2026-06-23T21:38:52.048Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type_system::BinaryTypeIdStruct::__fbthrift_get_class_name()'
[2026-06-23T21:38:52.048Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type::Type::checkName(folly::basic_cstring_view<char, std::char_traits<char> >)'
[2026-06-23T21:38:52.048Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type_system::detail::TypeIdWrapper<apache::thrift::type_system::TypeIdUnion>::TypeIdWrapper(apache::thrift::type_system::detail::PrimitiveTypeIdWrapper<apache::thrift::type_system::StringTypeIdStruct>)'
[2026-06-23T21:38:52.048Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type::TypeName::__fbthrift_clear()'
[2026-06-23T21:38:52.048Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type_system::detail::TypeIdWrapper<apache::thrift::type_system::TypeIdUnion>::TypeIdWrapper(apache::thrift::type_system::detail::PrimitiveTypeIdWrapper<apache::thrift::type_system::BoolTypeIdStruct>)'
[2026-06-23T21:38:52.048Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type::SemiAnyStruct::SemiAnyStruct(apache::thrift::type::SemiAnyStruct const&)'
[2026-06-23T21:38:52.048Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `folly::observer_detail::ObserverManager::scheduleNext(folly::Function<std::shared_ptr<folly::observer_detail::Core> ()>)'
[2026-06-23T21:38:52.048Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `folly::observer_detail::ObserverManager::getInstance()'
[2026-06-23T21:38:52.048Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `folly::observer_detail::Core::create(folly::Function<std::shared_ptr<void const> ()>, folly::observer_detail::Core::CreatorContext)'
[2026-06-23T21:38:52.048Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type_system::MapTypeIdStruct::__fbthrift_get_field_name(apache::thrift::type::Ordinal)'
[2026-06-23T21:38:52.048Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type::TypeName::__fbthrift_get_class_name()'
[2026-06-23T21:38:52.048Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type_system::DoubleTypeIdStruct::__fbthrift_get_class_name()'
[2026-06-23T21:38:52.048Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type_system::SetTypeIdStruct::__fbthrift_get_class_name()'
[2026-06-23T21:38:52.048Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type_system::TypeIdUnion::~TypeIdUnion()'
[2026-06-23T21:38:52.048Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type_system::ListTypeIdStruct::__fbthrift_get_class_name()'
[2026-06-23T21:38:52.048Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `folly_coro_async_malloc'
[2026-06-23T21:38:52.048Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::CompressionConfig::CompressionConfig(apache::thrift::CompressionConfig const&)'
[2026-06-23T21:38:52.048Z] #9 47.28 ld: /incubator-gluten/cpp/build/releases/libvelox.so: undefined reference to `apache::thrift::type::TypeRegistry::load(apache::thrift::type::AnyData const&) const'
[2026-06-23T21:38:52.048Z] #9 47.28 	linux-vdso.so.1 (0x0000ffff8958d000)
[2026-06-23T21:38:52.048Z] #9 47.28 	libgluten.so => /incubator-gluten/cpp/build/releases/libgluten.so (0x0000ffff7e9e2000)
[2026-06-23T21:38:52.048Z] #9 47.28 	libgeos.so.3.10.7 => /usr/local/lib64/libgeos.so.3.10.7 (0x0000ffff7e77b000)
[2026-06-23T21:38:52.048Z] #9 47.28 	libicui18n.so.67 => /lib64/libicui18n.so.67 (0x0000ffff7e479000)
[2026-06-23T21:38:52.048Z] #9 47.28 	libicuuc.so.67 => /lib64/libicuuc.so.67 (0x0000ffff7e286000)
[2026-06-23T21:38:52.048Z] #9 47.28 	libicudata.so.67 => /lib64/libicudata.so.67 (0x0000ffff7c755000)
[2026-06-23T21:38:52.048Z] #9 47.28 	libboost_context.so.1.84.0 => /usr/local/lib/libboost_context.so.1.84.0 (0x0000ffff7c734000)
[2026-06-23T21:38:52.048Z] #9 47.28 	libboost_filesystem.so.1.84.0 => /usr/local/lib/libboost_filesystem.so.1.84.0 (0x0000ffff7c703000)
[2026-06-23T21:38:52.048Z] #9 47.28 	libboost_program_options.so.1.84.0 => /usr/local/lib/libboost_program_options.so.1.84.0 (0x0000ffff7c692000)
[2026-06-23T21:38:52.048Z] #9 47.28 	libboost_regex.so.1.84.0 => /usr/local/lib/libboost_regex.so.1.84.0 (0x0000ffff7c631000)
[2026-06-23T21:38:52.048Z] #9 47.28 	libboost_thread.so.1.84.0 => /usr/local/lib/libboost_thread.so.1.84.0 (0x0000ffff7c600000)
[2026-06-23T21:38:52.048Z] #9 47.28 	libboost_atomic.so.1.84.0 => /usr/local/lib/libboost_atomic.so.1.84.0 (0x0000ffff7c5db000)
[2026-06-23T21:38:52.048Z] #9 47.28 	libglog.so.1 => /usr/local/lib64/libglog.so.1 (0x0000ffff7c58a000)
[2026-06-23T21:38:52.048Z] #9 47.28 	libevent-2.1.so.7 => /lib64/libevent-2.1.so.7 (0x0000ffff7c519000)
[2026-06-23T21:38:52.048Z] #9 47.28 	libz.so.1 => /lib64/libz.so.1 (0x0000ffff7c4e8000)
[2026-06-23T21:38:52.048Z] #9 47.28 	libssl.so.3 => /lib64/libssl.so.3 (0x0000ffff7c3f4000)
[2026-06-23T21:38:52.048Z] #9 47.28 	libcrypto.so.3 => /lib64/libcrypto.so.3 (0x0000ffff7bf2e000)
[2026-06-23T21:38:52.048Z] #9 47.28 	liblzma.so.5 => /lib64/liblzma.so.5 (0x0000ffff7beed000)
[2026-06-23T21:38:52.048Z] #9 47.28 	liblz4.so.1 => /lib64/liblz4.so.1 (0x0000ffff7bebc000)
[2026-06-23T21:38:52.048Z] #9 47.28 	libzstd.so.1 => /usr/local/lib/libzstd.so.1 (0x0000ffff7bd3b000)
[2026-06-23T21:38:52.048Z] #9 47.28 	libsodium.so.26 => /usr/local/lib/libsodium.so.26 (0x0000ffff7bcaa000)
[2026-06-23T21:38:52.049Z] #9 47.28 	libcurl.so.4 => /lib64/libcurl.so.4 (0x0000ffff7bc27000)
[2026-06-23T21:38:52.049Z] #9 47.28 	libxml2.so.2 => /lib64/libxml2.so.2 (0x0000ffff7ba95000)
[2026-06-23T21:38:52.049Z] #9 47.28 	libstdc++.so.6 => /lib64/libstdc++.so.6 (0x0000ffff7b871000)
[2026-06-23T21:38:52.049Z] #9 47.28 	libm.so.6 => /lib64/libm.so.6 (0x0000ffff7b7d0000)
[2026-06-23T21:38:52.049Z] #9 47.28 	libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000ffff7b79f000)
[2026-06-23T21:38:52.049Z] #9 47.28 	libc.so.6 => /lib64/libc.so.6 (0x0000ffff7b5f1000)
[2026-06-23T21:38:52.049Z] #9 47.28 	libgflags.so.2.2 => /usr/local/lib64/libgflags.so.2.2 (0x0000ffff7b59f000)
[2026-06-23T21:38:52.049Z] #9 47.28 	/lib/ld-linux-aarch64.so.1 (0x0000ffff89550000)
[2026-06-23T21:38:52.049Z] #9 47.28 	libnghttp2.so.14 => /lib64/libnghttp2.so.14 (0x0000ffff7b55c000)
[2026-06-23T21:38:52.049Z] #9 47.28 	libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x0000ffff7b4fb000)
[2026-06-23T21:38:52.049Z] #9 47.28 	libkrb5.so.3 => /lib64/libkrb5.so.3 (0x0000ffff7b419000)
[2026-06-23T21:38:52.049Z] #9 47.28 	libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x0000ffff7b3e8000)
[2026-06-23T21:38:52.049Z] #9 47.28 	libcom_err.so.2 => /lib64/libcom_err.so.2 (0x0000ffff7b3c7000)
[2026-06-23T21:38:52.049Z] #9 47.28 	libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x0000ffff7b3a4000)
[2026-06-23T21:38:52.049Z] #9 47.28 	libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x0000ffff7b383000)
[2026-06-23T21:38:52.049Z] #9 47.28 	libresolv.so.2 => /lib64/libresolv.so.2 (0x0000ffff7b360000)
[2026-06-23T21:38:52.049Z] #9 47.28 	libselinux.so.1 => /lib64/libselinux.so.1 (0x0000ffff7b31d000)
[2026-06-23T21:38:52.049Z] #9 47.28 	libpcre2-8.so.0 => /lib64/libpcre2-8.so.0 (0x0000ffff7b27c000)
[2026-06-23T21:38:52.049Z] #9 DONE 48.4s

Copilot AI review requested due to automatic review settings June 24, 2026 13:34
@github-actions github-actions Bot added the VELOX label Jun 24, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adjusts the Velox backend CMake linking to address undefined-symbol failures on RHEL by changing where Folly is discovered/linked relative to Velox/Thrift components.

Changes:

  • Moves find_package(Folly REQUIRED CONFIG) and target_link_libraries(... Folly::folly) to a later point in cpp/velox/CMakeLists.txt.
  • Removes the earlier Folly link line so Folly is linked closer to external::veloxthrift / thrift-related linkage.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread cpp/velox/CMakeLists.txt
# `-DCMAKE_PREFIX_PATH="${folly lib path}" to cmake arguments. It is also
# applicable to other dependencies.
find_package(Folly REQUIRED CONFIG)
target_link_libraries(velox PUBLIC Folly::folly)
Comment thread cpp/velox/CMakeLists.txt
Comment on lines +385 to +387
# If folly is not installed in system lib paths, please add
# `-DCMAKE_PREFIX_PATH="${folly lib path}" to cmake arguments. It is also
# applicable to other dependencies.
@zhouyuan zhouyuan merged commit 4566fe0 into apache:main Jun 25, 2026
153 of 156 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants