[转]symbian rodata overlap errors

2024-01-01 19:18
文章标签 symbian errors overlap rodata

本文主要是介绍[转]symbian rodata overlap errors,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

原文地址:

http://blog.csdn.net/wulongtiantang/archive/2010/01/28/5265267.aspx

 

error description:

arm-none-symbianelf-ld: section .rodata [002c8ed0 -> 004488f7] overlaps section .data [00400000 -> 00400083]
arm-none-symbianelf-ld: section .bss [00400084 -> 00400993] overlaps section .rodata [002c8ed0 -> 004488f7]
arm-none-symbianelf-ld: C:/proj/group/Proj_Data/GCCE_UREL/Proj.exe: section .data lma 0x400000 overlaps
previous sections

查询网上资料:

Your code size (.rodata) is too large so it overlaps the hard coded .data section begining at 0x400000.

I've changed these hard coded .data section in /epoc32/tools/cl_bpabi.pm line 793 & 799 :

"/$(CODE_SEGMENT_START) ", "/$(DATA_SEGMENT_START) 0x400000 ", "/$(SYMVER_OPTION) ","/$(SO_NAME_OPTION) ","$LinkAs"

I replaced 0x400000 by 0xA00000 and I get my app properly linked linked, and it works fine on phone.

我改了以后好像没什么用,看到这个:For UREL static solution everything is fine as the size is much more less then 4mb, but for UDEB (to be able to debug on hardware) the size goes beyond...

和我情况一样,我也是编译gcce udeb才不成功

然后我改MMP文件:

EPOCSTACKSIZE                           0x10000
EPOCHEAPSIZE                             0x100000 0x40000000

变为

EPOCSTACKSIZE                           0x100000
EPOCHEAPSIZE                             0x100000 0x4000000

再编译,搞定

 

/

//

补充:

我按照上面的方法,将heap最大值改成4M,重新链接,发现还是有同样的错误。再到/epoc32/tools/cl_bpabi.pm,将0x400000改成0xA00000,再编译链接,这次就真的搞定了。不知道是不是要两处都改才行。没有再去试不改heap大小能否链接成功了。各位有兴趣的话可以自己去试试。o(∩_∩)o

 

这篇关于[转]symbian rodata overlap errors的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/560242

相关文章

myEclipse刚打开启动报Errors running builder 'DeploymentBuilder' on project '工程名' xxxNullpointException 的错误

 早上打开myEclipse就会报 Errors running builder 'DeploymentBuilder' on project '工程名' xxxNullpointException 的错误。找了半天,也没有解决方法。终于找到一个看似靠谱的博客 http://5666522.blog.51cto.com/5656522/1238898    解决了该问题 解决方法如

Host '10.10.120.174' is blocked beacuse of many connection errors;

Host '10.10.120.174' is blocked beacuse of many connection errors;unblock with 'mysqldamin flush-hosts' #使用清楚缓存的方法,这样就会把计数清理掉,进入mysql控制台,执行:flush hosts; /usr/bin/mysqladmin  -u jiaobo -puukkgg  flus

pandas errors Pattern matched multiple keys

Set some Pandas options as you like old version #pd.set_option(‘max_columns’, 40) #pd.set_option(‘max_rows’, 30) new version pd.options.display.max_rows=30 pd.options.display.max_columns=40

caffe errors

Caffe 1、caffe相信大家都很熟悉了,下面是一些基础依赖库 sudo apt-get install libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libhdf5-serial-dev protobuf-compiler sudo apt-get install --no-install-recommends

cocos2dx,elipse,Errors occurred during the build,java.lang.NullPointerException打包Android错误

把COCOS2DX导入Android工程以后,发现报如下错误: Errors occurred during the build. Errors running builder 'Scanner Configuration Builder' on project 'GamePlay'. java.lang.NullPointerException 像这种情况,我用

MyEclipse:Errors occurred during the build. Errors running builder 'DeploymentBuilder' on project。

Errors occurred during the build. Errors running builder 'DeploymentBuilder' on project 'myf'. java.lang.NullPointerException 此问题一般发生在Myeclipse 保存文件并自动部署时候。 Errors occurred during the buil

WPF Text=“{Binding AdornedElement.(Validation.Errors)[0].ErrorContent 报绑定错误

WPF  Text="{Binding AdornedElement.(Validation.Errors)[0].ErrorContent 报绑定错误 完整报错信息如下:System.Windows.Data Error: 17 : Cannot get 'Item[]' value (type 'ValidationError') from '(Validation.Errors)'(typ

reason: the Java file contained parse errors

今天用Maven打包项目是发生一个错误: file: D:\workspace\echoo2.0-xxx-xxx-portal\src\main\java\com\echoo\service\impl\DecDataServiceImpl.java; reason: the Java file contained parse errors 打包报错显示这个类解析错误 在ide中没有任何错误提示

[Vue-常见错误]浏览器显示Uncaught runtime errors

文章目录 错误描述正确写法具体如下 错误描述 当前端代码发生错误时,浏览器中出现以下错误提示。 正确写法 显然这不是我们所期望的,在vue.config.js中配置如下设置关闭Uncaught runtime errors显示 devServer: {client: {overlay: false} 具体如下 const {defineConfig} =

MySQL无法连接[MySql Host is blocked because of many connection errors]

测试环境,发现数据库(MySQL数据库)无法登录,报错如下: Host is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts' 上网查到解决方案,转载如下:http://www.cnblogs.com/susuyu/archive/2013/05/28/3104249.htm