Question & Answer
Question
WTX Error 0x10034 (LOADER_RELOCATION_OFFSET_TOO_LARGE) message while downloading modules to processor
Answer
When trying to download Rhapsody generated code onto Champ AV IV processor that is using VxWorks RTOS, the error WTX Error 0x10034 (LOADER_RELOCATION_OFFSET_TOO_LARGE).
To overcome this error, the project has to be built with -mlongcall option:
- Add the switch to the makefile in the tornado\target\h\make directory of the Tornado installation, for example make.PPCxxxgnu file
- Add the switch to the line: CC_ARCH_SPEC = -mstrict-align
- So that you now have: CC_ARCH_SPEC = -mstrict-align –mlongcall
-
- Rebuild the framework:
- Call the file <Tornado_dir>\host\x86-win32\bin\torVars.bat. For example: D:\Tornado\host\x86-win32\bin\torVars.bat
- Navigate to the <Rhapsody_install>\Share\Lang<lang> directory and execute the following command:
- make -f vxbuild.mak CPU=PPC860 PATH_SEP=\\ all
-
- Change the CPU environment variable to the desired CPU.
-
Please also refer to VxWorks under the RTOS Adapters section from the Rhapsody Help Manual for more information.
[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"Version Independent","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Historical Number
11083
Product Synonym
Rational Rhapsody
Was this topic helpful?
Document Information
Modified date:
27 May 2022
UID
swg21324073