Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 343468 - targets should provide methods to get compiler options used
Summary: targets should provide methods to get compiler options used
Status: ASSIGNED
Alias: None
Product: RTSC
Classification: Technology
Component: Tools (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P1 major (vote)
Target Milestone: ---   Edit
Assignee: Sasha Slijepcevic CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-20 20:00 EDT by Chris Ring CLA
Modified: 2012-02-21 13:06 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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