barracuda156 opened a new issue, #2737:
URL: https://github.com/apache/orc/issues/2737

   ```
   [ 80%] Building CXX object 
tools/src/CMakeFiles/orc-contents.dir/ToolsHelper.cc.o
   cd /opt/local/var/macports/build/apache-orc-13cc6bc0/work/build/tools/src && 
/opt/local/bin/g++-mp-16 -DENABLE_METRICS=0 
-I/opt/local/var/macports/build/apache-orc-13cc6bc0/work/build/c++/include 
-I/opt/local/var/macports/build/apache-orc-13cc6bc0/work/orc-2.3.1/c++/include 
-I/opt/local/var/macports/build/apache-orc-13cc6bc0/work/build/c++/src 
-I/opt/local/var/macports/build/apache-orc-13cc6bc0/work/orc-2.3.1/c++/src 
-isystem /opt/local/include -pipe -Os -Wno-error=unused-parameter -DNDEBUG 
-isystem/opt/local/include/LegacySupport -I/opt/local/include 
-D_GLIBCXX_USE_CXX11_ABI=0 -std=gnu++20 -arch ppc -mmacosx-version-min=10.6 -g 
-MD -MT tools/src/CMakeFiles/orc-contents.dir/ToolsHelper.cc.o -MF 
CMakeFiles/orc-contents.dir/ToolsHelper.cc.o.d -o 
CMakeFiles/orc-contents.dir/ToolsHelper.cc.o -c 
/opt/local/var/macports/build/apache-orc-13cc6bc0/work/orc-2.3.1/tools/src/ToolsHelper.cc
   [ 82%] Linking CXX executable orc-scan
   cd /opt/local/var/macports/build/apache-orc-13cc6bc0/work/build/tools/src && 
/opt/local/bin/cmake -E cmake_link_script CMakeFiles/orc-scan.dir/link.txt 
--verbose=ON
   [ 83%] Linking CXX executable orc-contents
   cd /opt/local/var/macports/build/apache-orc-13cc6bc0/work/build/tools/src && 
/opt/local/bin/cmake -E cmake_link_script CMakeFiles/orc-contents.dir/link.txt 
--verbose=ON
   Undefined symbols for architecture ppc:
     "___atomic_fetch_add_8", referenced from:
         
orc::SargsApplier::evaluateStripeStatistics(orc::proto::StripeStatistics 
const&, unsigned long long) in liborc.a(SargsApplier.cc.o)
         orc::SargsApplier::evaluateFileStatistics(orc::proto::Footer const&, 
unsigned long long) in liborc.a(SargsApplier.cc.o)
         orc::SargsApplier::pickRowGroups(unsigned long long, 
std::unordered_map<unsigned long long, orc::proto::RowIndex, std::hash<unsigned 
long long>, std::equal_to<unsigned long long>, 
std::allocator<std::pair<unsigned long long const, orc::proto::RowIndex> > > 
const&, std::map<unsigned int, orc::BloomFilterIndex, std::less<unsigned int>, 
std::allocator<std::pair<unsigned int const, orc::BloomFilterIndex> > > const&) 
in liborc.a(SargsApplier.cc.o)
         orc::ReadRangeCache::read(orc::ReadRange const&) in 
liborc.a(Cache.cc.o)
         orc::BlockBuffer::writeTo(orc::OutputStream*, orc::WriterMetrics*) in 
liborc.a(BlockBuffer.cc.o)
     "___atomic_load_8", referenced from:
         std::__atomic_base<unsigned long long>::operator unsigned long long() 
const in ToolsHelper.cc.o
   ld: symbol(s) not found for architecture ppc
   Undefined symbols for architecture ppc:
     "___atomic_fetch_add_8", referenced from:
         
orc::SargsApplier::evaluateStripeStatistics(orc::proto::StripeStatistics 
const&, unsigned long long) in liborc.a(SargsApplier.cc.o)
         orc::SargsApplier::evaluateFileStatistics(orc::proto::Footer const&, 
unsigned long long) in liborc.a(SargsApplier.cc.o)
         orc::SargsApplier::pickRowGroups(unsigned long long, 
std::unordered_map<unsigned long long, orc::proto::RowIndex, std::hash<unsigned 
long long>, std::equal_to<unsigned long long>, 
std::allocator<std::pair<unsigned long long const, orc::proto::RowIndex> > > 
const&, std::map<unsigned int, orc::BloomFilterIndex, std::less<unsigned int>, 
std::allocator<std::pair<unsigned int const, orc::BloomFilterIndex> > > const&) 
in liborc.a(SargsApplier.cc.o)
         orc::ReadRangeCache::read(orc::ReadRange const&) in 
liborc.a(Cache.cc.o)
         orc::BlockBuffer::writeTo(orc::OutputStream*, orc::WriterMetrics*) in 
liborc.a(BlockBuffer.cc.o)
   collect2: error: ld returned 1 exit status
     "___atomic_load_8", referenced from:
         std::__atomic_base<unsigned long long>::operator unsigned long long() 
const in ToolsHelper.cc.o
   /opt/local/bin/g++-mp-16 -pipe -Os -Wno-error=unused-parameter -DNDEBUG 
-isystem/opt/local/include/LegacySupport -I/opt/local/include 
-D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -mmacosx-version-min=10.6 
-Wl,-search_paths_first -Wl,-headerpad_max_install_names 
-Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport 
"CMakeFiles/orc-scan.dir/FileScan.cc.o" 
"CMakeFiles/orc-scan.dir/ToolsHelper.cc.o" -o orc-scan  ../../c++/src/liborc.a 
/opt/local/lib/libprotobuf.dylib /opt/local/lib/libz.dylib 
/opt/local/lib/libsnappy.dylib /opt/local/lib/liblz4.dylib 
/opt/local/lib/libzstd.dylib
   ld: symbol(s) not found for architecture ppc
   make[2]: *** [tools/src/orc-scan] Error 1
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to