kou commented on pull request #11268:
URL: https://github.com/apache/arrow/pull/11268#issuecomment-934052709


   Oh, arm64 build on Travis CI is failed:
   
   https://app.travis-ci.com/github/apache/arrow/jobs/541265250#L2124
   
   ```text
   FAILED: CMakeFiles/crc32c.dir/src/crc32c.cc.o 
   
   /usr/bin/c++   -Iinclude -I/build/cpp/crc32c_ep-prefix/src/crc32c_ep/include 
-fdiagnostics-color=always -ggdb -O0 -g -fPIC -Wall -Wextra -Werror 
-fno-exceptions -fno-rtti   -fdiagnostics-color=always -ggdb -O0 -g -fPIC   
-std=gnu++11 -MD -MT CMakeFiles/crc32c.dir/src/crc32c.cc.o -MF 
CMakeFiles/crc32c.dir/src/crc32c.cc.o.d -o 
CMakeFiles/crc32c.dir/src/crc32c.cc.o -c 
/build/cpp/crc32c_ep-prefix/src/crc32c_ep/src/crc32c.cc
   
   In file included from 
/build/cpp/crc32c_ep-prefix/src/crc32c_ep/src/crc32c.cc:11:
   
   /build/cpp/crc32c_ep-prefix/src/crc32c_ep/src/./crc32c_arm64_linux_check.h: 
In function 'bool crc32c::CanUseArm64Linux()':
   
   
/build/cpp/crc32c_ep-prefix/src/crc32c_ep/src/./crc32c_arm64_linux_check.h:36:37:
 error: the address of 'long unsigned int getauxval(long unsigned int)' will 
never be NULL [-Werror=address]
   
      36 |   unsigned long hwcap = (&getauxval != nullptr) ? 
getauxval(AT_HWCAP) : 0;
   
         |                          ~~~~~~~~~~~^~~~~~~~~~
   
   cc1plus: all warnings being treated as errors
   ```


-- 
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