RVCT 编译链接出错 :L6000U: Linker Out Of Memory
0赞[Description]
This is ARM linker bug, the bug is still there even build version later than 1021
(included).
Seems that ARM is not intended to fix this bug.
[Keyword]
L6000U
[Solution]来自半导体社区
1. 尽量减少debug 减少debug symbol,仅仅是打开需要的debug symbol
2.
Apply DWARF3 debug info format
Edit make/$project.mak: add RVCT_DEBUG_FORMAT = DWARF3, then clean&remake all
DWARF2
Bigger size but populate, supported by many JTAG debugger, MTK default.
DWARF3
More compact but much newer, not all JTAG debugger support it.
For example, Lauterbach Trace32, it is supported in version later than 2007 Jan.
3.
Edit make/$project.mak: turn on RVCT_PARTIAL_LINK = TRUE, then remake verno.
Be noticed
Since not all source code could be partial linked, build process needs to
take time to scan over. In other words, enabling partial link will extend the build
time.
详细可以参考DMS 文档MTK_RVCT3 1_DeploymentNote_20110218.pptx
path:
2G Phone Data/Feature Phone/SW_Customer/Standard Package/System Platform (TrustViewEncrypted)/Compiling Tool Chain/RVCT V3.1 Migration
