使用arm compiler 5.05u04版本偶现报错:
“Scatter-loading of execution region RAM_RW to [0x81e00000,0x81f2cc78] will cause the contents of execution region RAM_RW at [0x81cd5c30,0x81e028a8] to be corrupted at run-time”
而实际从map文件看,code和RAM_RW均没有重叠。通过查询发现是arm工具链的bug,有如此解释:
“With ARM Compiler V5.06u1(and older),the linker is displays this error when it doesn't have any information about compressed size, and mistakenly checks the uncompressed sizes which fails.”
Resolution为“This is fixed with ARM Compiler V5.06u2”。所以彻底解决问题需要升级工具链。
armcc5 遇到的链接错误L6788E
最新推荐文章于 2024-04-05 16:11:53 发布