您尚未登录。

楼主 #1 2021-04-29 18:30:45

clj578
会员
注册时间: 2021-04-29
已发帖子: 2
积分: 1

buildroot-2017.08 编译时遇到 relocation R_X86_64_32S against `.rodata' can

/usr/bin/ld: cmListFileLexer.o: relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: ProcessUNIX.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: Terminal.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
Makefile:2: recipe for target 'cmake' failed
make[2]: *** [cmake] Error 1
---------------------------------------------
Error when bootstrapping CMake:
Problem while running make
---------------------------------------------

离线

#2 2021-05-06 11:14:19

哇酷小二
管理员
所在地: 你猜
注册时间: 2020-04-22
已发帖子: 3,387
积分: 1902
个人网站

Re: buildroot-2017.08 编译时遇到 relocation R_X86_64_32S against `.rodata' can

日志贴全一点





离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn