[ 
https://issues.apache.org/jira/browse/IMPALA-9417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

huangtianhua updated IMPALA-9417:
---------------------------------
    Description: 
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 binutils 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.

  was:
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 gcc and configure gcc with --enable-gold as 
same as binutils does, 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.


> native-toolchain/build/binutils-2.26.1/bin/ld.gold: internal error in global, 
> at aarch64.cc:6213 
> -------------------------------------------------------------------------------------------------
>
>                 Key: IMPALA-9417
>                 URL: https://issues.apache.org/jira/browse/IMPALA-9417
>             Project: IMPALA
>          Issue Type: Bug
>            Reporter: huangtianhua
>            Assignee: huangtianhua
>            Priority: Major
>
> 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 binutils 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to