小编Rah*_*tay的帖子

使用 gcc 访问超出合并部分末尾的内容

在为我的构建环境在 AWS 环境上进行 POC 时,我发现以下错误

[703/704] Linking build/unittest/ut/deps/UnitTestDeps.o
[704/704] Linking build/unittest/ut/CaiFrameLssTest_Linux
/bin/ld: ColorCodeMacMsg.cpp.1.o: access beyond end of merged section (1503501432)
/bin/ld: ColorCodeMacMsg.cpp.1.o: access beyond end of merged section (4199896184)
/bin/ld: ColorCodeMacMsg.cpp.1.o: access beyond end of merged section (558823358)
/bin/ld: ColorCodeMacMsg.cpp.1.o: access beyond end of merged section (541297024)
/bin/ld: ColorCodeMacMsg.cpp.1.o: access beyond end of merged section (2437239330)
/bin/ld: ColorCodeMacMsg.cpp.1.o: access beyond end of merged section (1549026642)
<<Cropped>>
error 2
/bin/ld: final link failed: Nonrepresentable section on output
   collect2: error: ld returned …
Run Code Online (Sandbox Code Playgroud)

linux gcc

5
推荐指数
0
解决办法
770
查看次数

标签 统计

gcc ×1

linux ×1