A-little-bit-of-data commented on issue #10102:
URL: 
https://github.com/apache/incubator-gluten/issues/10102#issuecomment-3112739909

   > [@A-little-bit-of-data](https://github.com/A-little-bit-of-data) Have you 
tried export `CPU_TARGET="aarch64"` and `VCPKG_FORCE_SYSTEM_BINARIES=1`? Also, 
If all CPU cores are used for compilation, ARM is more likely to crash than 
x86. The reason is still unclear for now, but you can try reducing the value of 
`NUM_THREADS`.
   
   @kevinw66  Hello, I have a question. I have used the images of 
`vcpkg-centos-8, centos-8-jdk11, and 1.4-vcpkg-centos-8`, but there are these 
errors.
   ```
   [137/647] Building CXX object 
velox/buffer/CMakeFiles/velox.dir/__/vector/VectorStream.cpp.o
   In file included from 
/incubator-gluten/dev/vcpkg/vcpkg_installed/arm64-linux-release/include/xsimd/xsimd.hpp:55,
                    from 
/incubator-gluten/ep/build-velox/build/velox_ep/./velox/common/base/SimdUtil.h:24,
                    from 
/incubator-gluten/ep/build-velox/build/velox_ep/./velox/common/memory/RawVector.h:21,
                    from 
/incubator-gluten/ep/build-velox/build/velox_ep/./velox/common/memory/Scratch.h:19,
                    from 
/incubator-gluten/ep/build-velox/build/velox_ep/./velox/common/memory/ByteStream.h:18,
                    from 
/incubator-gluten/ep/build-velox/build/velox_ep/./velox/vector/VectorStream.h:22,
                    from 
/incubator-gluten/ep/build-velox/build/velox_ep/velox/vector/VectorStream.cpp:16:
   
/incubator-gluten/dev/vcpkg/vcpkg_installed/arm64-linux-release/include/xsimd/arch/xsimd_scalar.hpp:
 In function ‘std::pair<float, float> xsimd::sincos(float)’:
   
/incubator-gluten/dev/vcpkg/vcpkg_installed/arm64-linux-release/include/xsimd/arch/xsimd_scalar.hpp:981:54:
 note: parameter passing for argument of type ‘std::pair<float, float>’ when 
C++17 is enabled changed to match C++14 in GCC 10.1
     981 |     inline std::pair<float, float> sincos(float val) noexcept
         |                                                      ^~~~~~~~
   
/incubator-gluten/dev/vcpkg/vcpkg_installed/arm64-linux-release/include/xsimd/arch/xsimd_scalar.hpp:
 In function ‘std::pair<double, double> xsimd::sincos(double)’:
   
/incubator-gluten/dev/vcpkg/vcpkg_installed/arm64-linux-release/include/xsimd/arch/xsimd_scalar.hpp:988:57:
 note: parameter passing for argument of type ‘std::pair<double, double>’ when 
C++17 is enabled changed to match C++14 in GCC 10.1
     988 |     inline std::pair<double, double> sincos(double val) noexcept
   ```
   
   What needs to be adjusted to compile properly? The following variables have 
been used,
   ```
   export VCPKG_FORCE_SYSTEM_BINARIES=1
   export CPU_TARGET="aarch64"
   export NUM_THREADS=4
   ```
   My compiling machine is 8C


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to