huangtianhua created IMPALA-9237: ------------------------------------ Summary: Make package binutils work on aarch64 Key: IMPALA-9237 URL: https://issues.apache.org/jira/browse/IMPALA-9237 Project: IMPALA Issue Type: Sub-task Affects Versions: Impala 3.4.0 Reporter: huangtianhua
Run ./buildall.sh on aarch64 instance, errors raised when configure binutils: checking build system type... aarch64-unknown-linux-gnu checking host system type... aarch64-unknown-linux-gnu checking target system type... aarch64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether ln works... yes checking whether ln -s works... yes checking for a sed that does not truncate output... /bin/sed checking for gawk... gawk checking for gcc... /tmp/tmp.cyR1NfqD1D-impala-toolchain/gcc checking for C compiler default output file name... {color:#de350b}configure: error: in `/home/jenkins/workspace/native-toolchain/source/binutils/binutils-2.26.1':{color} configure: error: C compiler cannot create executables See `config.log' for more details. ###########config.log############ Thread model: posix gcc version 4.9.2 (GCC) configure:4387: $? = 0 configure:4376: /tmp/tmp.cyR1NfqD1D-impala-toolchain/gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:4387: $? = 1 configure:4376: /tmp/tmp.cyR1NfqD1D-impala-toolchain/gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion' gcc: fatal error: no input files compilation terminated. configure:4387: $? = 1 configure:4407: checking for C compiler default output file name configure:4429: /tmp/tmp.cyR1NfqD1D-impala-toolchain/gcc -fPIC -O3 -m64 -mno-avx2 -Wl,-rpath,'$ORIGIN/../lib64',-rpath,'$$ORIGIN/../lib64',-rpath,'$ORIGIN/../lib',-rpath,'$$ORIGIN/../lib' -L/home/jenkins/workspace/native-toolchain/build/gcc-4.9.2/lib64 conftest.c >&5 {color:#de350b}gcc: error: unrecognized command line option '-m64'{color} {color:#de350b}gcc: error: unrecognized command line option '-mno-avx2'{color} configure:4433: $? = 1 configure:4470: result: configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ -- This message was sent by Atlassian Jira (v8.3.4#803005)