Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 #64

Open
huangtianhua opened this issue Feb 24, 2020 · 1 comment

Comments

@huangtianhua
Copy link
Contributor

huangtianhua commented Feb 24, 2020

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.

选项附件

@huangtianhua
Copy link
Contributor Author

@timarmstrong could you have a look for this, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant