Open huangtianhua opened 4 years ago
I was trying to build native-toolchain with kudu modified for arm64 and based on 5c610bf40, then there is an error raise:
native-toolchain/build/binutils-2.26.1/bin/ld.gold: internal error in global, at aarch64.cc:6213
collected2: error: ld returned 1 exit status
Then I tried to change build.sh of binutiils and configure binutils without --enable-gold, and then kudu built completely and the native-toolchain built completely, maybe it's relate with the commits of kudu: https://github.com/liusheng/kudu/commits/aarch64-support/cmake_modules/KuduLinker.cmake
Can someone confirm this? and I will propose a patch if needed, thanks.
选项附件
@timarmstrong could you have a look for this, thanks.
I was trying to build native-toolchain with kudu modified for arm64 and based on 5c610bf40, then there is an error raise:
native-toolchain/build/binutils-2.26.1/bin/ld.gold: internal error in global, at aarch64.cc:6213
collected2: error: ld returned 1 exit status
Then I tried to change build.sh of binutiils and configure binutils without --enable-gold, and then kudu built completely and the native-toolchain built completely, maybe it's relate with the commits of kudu: https://github.com/liusheng/kudu/commits/aarch64-support/cmake_modules/KuduLinker.cmake
Can someone confirm this? and I will propose a patch if needed, thanks.
选项附件