The default CMake version in Ubuntu 22.04 is 3.22. On this version of CMake, if PRESTO_ENABLE_PARQUETU is turned on in presto-native-execution/CMakeLists, ld reports the following error when linking libThriftProtocol.a to the presto_server executable binary:
...relocation R_X86_64_PC32 against undefined ... hidden symbol can not be used when making a PIE object.
The problem does not exist if I use a manually installed CMake 3.16.9. The problem also does not exist on Ubuntu 20.04 (default CMake version=3.16.3).
The default CMake version in Ubuntu 22.04 is 3.22. On this version of CMake, if
PRESTO_ENABLE_PARQUETU
is turned on inpresto-native-execution/CMakeLists
, ld reports the following error when linking libThriftProtocol.a to thepresto_server
executable binary:...relocation R_X86_64_PC32 against undefined ... hidden symbol can not be used when making a PIE object
.The problem does not exist if I use a manually installed CMake 3.16.9. The problem also does not exist on Ubuntu 20.04 (default CMake version=3.16.3).