Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 343468

Summary: targets should provide methods to get compiler options used
Product: [Technology] RTSC Reporter: Chris Ring <cring>
Component: ToolsAssignee: Sasha Slijepcevic <sascha>
Status: ASSIGNED --- QA Contact:
Severity: major    
Priority: P1 CC: arnier, d-russo, dfriedland
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Chris Ring CLA 2011-04-20 20:00:17 EDT
A whole_program_debug user of configuro's --generationOnly flag reported build errors when moving from TI's ARM cgtools 4.6.* to 4.9.*.  They didn't realize they needed to throw --diags_suppress=23000.

This --diags_suppress=23000 is thrown for free when
   * using Pkg.addExecutable()
   * using configuro _without_ --generationOnly

But this user must add it explicitly to their link line.

A few discussion topics:
   1.  Why is --diags_suppress=23000 thrown?  Is it masking any real issues?  Was this a temp workaround that can be removed?
   2.  If it's needed, perhaps others are for other targets, too.  How can the user know what they have to throw?  RTFM probably won't suffice.
   3.  How about if configuro add these target-specific options to the generated linker.cmd that's already on the user's link line?
Comment 1 Dave Russo CLA 2011-06-15 20:15:55 EDT
Moved to 3.22.02