I am currently trying to builde a huge application (over 2 M lines of code) with ARMv5 compiler using Raptor + Carbide.c++ 3.4. The SDKs are Symbian Belle 0.6 and Symbian Anna.
I am building it regularly it with older Nokia SDKs and SBSv1 (ABLD), for S60 3rd Ed, 5th Ed and Symbian Anna. The ABLD build runs well, though I had to modify the files cl_bpabi.pm and set DATA_SEGMENT_START to 0x400000. The .exe links successfully with ABLD.
Nevertheless, when attempting to build it with Raptor, I get the following errors during the final linking stage:
The compilation itself is OK and, but the linker step fails. It seems that armlink.exe receives bad parameters regarding the EXE layout. The application is huge and thus contains a lot of symbols etc.
Error: L6221E: Load region LR_1 overlaps with Load region LR_2.
Error: L6221E: Execution region ER_RO overlaps with Execution region ER_RW.
Error: L6221E: Execution region ER_RO overlaps with Execution region ER_ZI.
I tried to fool around with the Raptor configuration (rvct.xml), to alter the flags to armlink.exe, but to no avail. I dug around the makefiles generated by ABLD and Raptor, experimented with their alterations, to no avail.
Can anybody help me?
Note that there was a similar problem on ABLD (see the thread http://www.developer.nokia.com/Commu...ot-yet-created), but it could be solved by tinkering with cl_bpabi.pm.
There is no direct equivalent of this file in SBSv2, though. Only rvct.xml, where I didn't find the real magic.
Should I try altering CODE_SEGMENT_START? Never done that before.