Quanlong Huang created IMPALA-10828:
---------------------------------------
Summary: Impala 4.0 should pin to a specifit toolchain commit when
building on ARM
Key: IMPALA-10828
URL: https://issues.apache.org/jira/browse/IMPALA-10828
Project: IMPALA
Issue Type: Bug
Components: Infrastructure
Affects Versions: Impala 4.0
Environment: aarch64
Reporter: Quanlong Huang
Assignee: Quanlong Huang
While building on ARM platform, bin/bootstrap_system.sh will compile
native-toolchain:
{code:bash}
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 {code}
However, it checks out the master branch of native-toolchain, which will result
in compile errors. The corresponding commit should be
701500a90f2539a1d3f4ef3fe7546135b670f0a5.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]