ubuntu编译错误:unsupported reloc 43

  1. compile erro:unsupported reloc 43 against global symbol stderr

compile erro:unsupported reloc 43 against global symbol stderr

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
It works to me:
in file /art/build/Android.common_build.mk, find out:

# Host.
ART_HOST_CLANG := false
ifneq ($(WITHOUT_HOST_CLANG),true)
# By default, host builds use clang for better warnings.
ART_HOST_CLANG := true
endif
change to :

# Host.
ART_HOST_CLANG := false
ifeq ($(WITHOUT_HOST_CLANG),false)
# By default, host builds use clang for better warnings.
ART_HOST_CLANG := true
endif
If it still not works,try this in your android root path:
cp /usr/bin/ld.gold prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/x86_64-linux/bin/ld

https://stackoverflow.com/questions/36048358/building-android-from-sources-unsupported-reloc-43/36073635


转载请注明来源,欢迎对文章中的引用来源进行考证,欢迎指出任何有错误或不够清晰的表达。可以在下面评论区评论,也可以邮件至 wilber_bai@hotmail.com

文章标题:ubuntu编译错误:unsupported reloc 43

文章字数:124

本文作者:风沉殇史

发布时间:2017-12-12, 12:12:12

最后更新:2020-01-03, 10:47:14

原始链接:http://wilber.win/posts/edd29552/

版权声明: "署名-非商用-相同方式共享 4.0" 转载请保留原文链接及作者。

目录
×

喜欢就点赞,疼爱就打赏