Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » 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 15:55 Go to next message
Brian Cruickshank is currently offline Brian CruickshankFriend
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 15: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 16:52 Go to previous messageGo to next message
Sasha Slijepcevic is currently offline Sasha SlijepcevicFriend
Messages: 115
Registered: July 2009
Senior 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 19:21 Go to previous message
Brian Cruickshank is currently offline Brian CruickshankFriend
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 Apr 25 13:37:57 GMT 2024

Powered by FUDForum. Page generated in 0.03438 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top