Skip to content

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

@huangtianhua

Description

@huangtianhua

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.

选项附件

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions