Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Impala 4.0.0
-
None
-
aarch64
-
ghx-label-9
Description
While building on ARM platform, bin/bootstrap_system.sh will compile native-toolchain:
if [[ $ARCH_NAME == 'aarch64' ]]; then echo -e "\nexport SKIP_TOOLCHAIN_BOOTSTRAP=true" >> \ "${IMPALA_HOME}/bin/impala-config-local.sh" SET_TOOLCHAIN_HOME="export NATIVE_TOOLCHAIN_HOME=${IMPALA_HOME}/../native-toolchain" echo -e "\n$SET_TOOLCHAIN_HOME" >> ~/.bashrc echo -e "\n$SET_TOOLCHAIN_HOME" >> "${IMPALA_HOME}/bin/impala-config-local.sh" eval "$SET_TOOLCHAIN_HOME" if ! [[ -d "$NATIVE_TOOLCHAIN_HOME" ]]; then time -p git clone https://github.com/cloudera/native-toolchain/ \ "$NATIVE_TOOLCHAIN_HOME" fi cd "$NATIVE_TOOLCHAIN_HOME" git pull echo "Begin build tool chain, may need several hours, please be patient...." sudo chmod 755 ~/.cache ./buildall.sh cd - mkdir -p ${IMPALA_HOME}/toolchain fi
However, it checks out the master branch of native-toolchain, which will result in compile errors. The corresponding commit should be 701500a90f2539a1d3f4ef3fe7546135b670f0a5.