Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Real-Time Software Components (RTSC) » whole_program compilation failure - invalid intermediate file (ti.targets.rts6000.a64P)(compile error)
whole_program compilation failure - invalid intermediate file (ti.targets.rts6000.a64P) [message #488655] Tue, 29 September 2009 11:55 Go to next message
Brian Cruickshank is currently offline Brian Cruickshank
Messages: 19
Registered: September 2009
Junior Member
I've created a package that builds properly in both debug and release modes, but when I try to run configuro with whole_program optimization enabled, I get a compilation error.

This happens in both CCSv4 and from the command line.

The command line I'm using is:
xs xdc.tools.configuro -t ti.targets.C64P -p ti.platforms.sim64Pxx -r whole_program -b config.bld myconfig.cfg

>> Compilation failure

>> Invalid intermediate file: C:\Program Files\Texas Instruments\xdctools_3_15_02_62\packages\ti\targets\rts6000\ lib\ti.targets.rts6000.a64P, abortingerror: failed to recompile


Compilation works properly if I remove the "-r whole_program" option or replace it with e.g. "-r debug".
Running "xdc clean" first does not help.

Any help on how to overcome this would be appreciated.

Brian

[Updated on: Tue, 29 September 2009 11:58]

Report message to a moderator

Re: whole_program compilation failure - invalid intermediate file (ti.targets.rts6000.a64P) [message #488668 is a reply to message #488655] Tue, 29 September 2009 12:52 Go to previous messageGo to next message
Sasha Slijepcevic is currently offline Sasha Slijepcevic
Messages: 86
Registered: July 2009
Member
Brian,
that error indicates that the 64P library in the package ti.targets.rts6000 contains i-code incompatible with CodeGen tools you are using.
In 3.15.00.62, the 64P library was built with 6.0.16 tools.

This link explains more and offers a possible solution:
http://rtsc.eclipse.org/docs-tip/Trouble_Shooting#The_TI_C60 00_linker_fails_with_.22Invalid_intermediate_file:....22_and _.22Compilation_failure.22
Re: whole_program compilation failure - invalid intermediate file (ti.targets.rts6000.a64P) [message #488692 is a reply to message #488668] Tue, 29 September 2009 15:21 Go to previous message
Brian Cruickshank is currently offline Brian Cruickshank
Messages: 19
Registered: September 2009
Junior Member
Thanks Sasha - rebuilding the ti.targets.rts6000 library solved the problem (and was much easier than I thought it would be!)

Thanks also for pointing out the Trouble Shooting FAQ at http://rtsc.eclipse.org/docs-tip/Trouble_Shooting

Brian

Previous Topic:Object & Target Specific Build Options?
Next Topic:Best way to inline target-specific code?
Goto Forum:
  


Current Time: Thu Aug 28 03:20:59 EDT 2014

Powered by FUDForum. Page generated in 0.14486 seconds